/* Cycles Blain — accueil 1.4.2 (maquette validée le 30 oct. 2026) : Pierre-Louis avec son visage et ses exemples, « Nos actus du moment ». */
.cba-as-carte { max-width: 860px; padding: 28px 32px; border: 1px solid #eadfce; border-radius: 28px; box-shadow: 0 18px 50px rgba(29, 29, 31, .07); }
.cba-as-av.cba-as-mascotte { width: 72px; height: 72px; background: #eef4fb; color: inherit; overflow: visible; }
.cba-as-av.cba-as-mascotte svg { width: 66px; height: 66px; display: block; }
.cba-as-av.cba-as-mascotte::after { right: 1px; bottom: 1px; width: 15px; height: 15px; border-width: 3px; }
.cba-as-txt strong { font-size: 26px; letter-spacing: -.01em; }
.cba-as-enligne { font-size: 13.5px !important; font-weight: 600 !important; color: #1f7a43 !important; }
.cba-oeil { animation: cbaCligne 4s infinite; transform-origin: center; transform-box: fill-box; }
.cba-parle { animation: cbaParle 1.4s ease-in-out infinite; }
@keyframes cbaCligne { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes cbaParle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.cba-as-phrase { margin: 14px 0 16px; font-size: 17px; font-weight: 500; line-height: 1.55; color: #3a3a3f; }
.cba-as-phrase strong { color: #1d1d1f; }
.cba-assistant .cba-cherche { height: 64px; border: 2px solid #0b5cad; box-shadow: 0 6px 18px rgba(11, 92, 173, .12); }
.cba-as-exemples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.cba-as-exemples > span { font-size: 13px; font-weight: 600; color: #6e6e73; }
.cba-as-ex { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #eef4fb; color: #0b4a8c; font: 700 13px Montserrat, Arial, sans-serif; cursor: pointer; }
.cba-as-ex:hover { background: #dbe9f8; }

/* Nos actus du moment */
.cba-actus-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 22px; }
.cba-actu { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px; border: 0;
  border-radius: 26px; text-align: left; font: inherit; color: #1d1d1f; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.cba-actu:hover { transform: translateY(-2px); }
.cba-actu-mille { background: linear-gradient(135deg, #fff1ec 0%, #ffe3dc 100%); box-shadow: 0 10px 28px rgba(192, 38, 45, .10); }
.cba-actu-glagla { background: linear-gradient(135deg, #eaf6ff 0%, #cdeafe 100%); box-shadow: 0 10px 28px rgba(47, 134, 224, .12); }
.cba-actu-1000 { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 200px; height: 200px; border-radius: 20px; background: #c0262d; color: #fff; text-align: center; }
.cba-actu-1000 strong { font-size: 76px; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.cba-actu-1000 span { margin-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cba-actu-1000 i { margin-top: 6px; font-size: 26px; font-style: normal; }
.cba-actu-texte { display: flex; flex-direction: column; gap: 8px; }
.cba-actu-texte strong { font-size: 23px; font-weight: 800; line-height: 1.2; }
.cba-actu-texte > span { font-size: 15px; font-weight: 500; line-height: 1.5; color: #3a3a3f; }
.cba-actu-quand { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 12px !important; font-weight: 800 !important; }
.cba-actu-mille .cba-actu-quand, .cba-actu-mille .cba-actu-plus { color: #c0262d !important; }
.cba-actu-glagla .cba-actu-quand, .cba-actu-glagla .cba-actu-plus { color: #2f86e0 !important; }
.cba-actu-plus { font-size: 15px !important; font-weight: 800 !important; }
.cba-actu-image { width: 190px; height: 210px; object-fit: cover; object-position: top; border-radius: 18px; display: block; }

/* La fenêtre « Tout savoir » */
.cba-actu-fenetre { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(29, 29, 31, .5); }
.cba-actu-fenetre[hidden] { display: none; }
.cba-actu-boite { position: relative; display: grid; grid-template-columns: 320px minmax(0, 1fr); width: 980px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto;
  border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: cbaOuvre .3s ease-out; }
.cba-actu-glagla .cba-actu-boite { background: linear-gradient(135deg, #eaf6ff, #d6eefc); }
@keyframes cbaOuvre { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.cba-actu-fermer { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.cba-actu-cote { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: top; display: block; }
.cba-actu-cote.cba-actu-1000 { width: auto; height: auto; border-radius: 0; padding: 40px 24px; gap: 10px; }
.cba-actu-cote.cba-actu-1000 strong { font-size: 96px; }
.cba-actu-cote.cba-actu-1000 p { margin: 8px 0 0; font-size: 15px; font-weight: 600; line-height: 1.6; opacity: .95; }
.cba-actu-detail { padding: 34px 36px; display: flex; flex-direction: column; gap: 14px; }
.cba-actu-detail h3 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; }
.cba-actu-detail > p { margin: 0; font-size: 16px; line-height: 1.55; color: #3a3a3f; }
.cba-actu-etapes { margin: 0; padding: 0; list-style: none; counter-reset: e; display: flex; flex-direction: column; gap: 10px; }
.cba-actu-etapes li { counter-increment: e; display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.cba-actu-etapes li::before { content: counter(e); flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #c0262d; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.cba-actu-paliers { padding: 4px 16px; border-radius: 16px; background: #fff; }
.cba-actu-paliers > span { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid #cfe6f7; font-weight: 700; }
.cba-actu-paliers > span:last-child { border-bottom: 0; }
.cba-actu-paliers strong { font-size: 22px; }
.cba-actu-code { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #8fd6fb; font-weight: 700; }
.cba-actu-code strong { font-size: 30px; font-weight: 800; letter-spacing: .06em; }
.cba-actu-encadre { padding: 12px 14px; border-radius: 14px; background: #fff1ec; font-weight: 600; }
.cba-actu-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.cba-actu-bouton { height: 46px; padding: 0 20px; border-radius: 999px; background: #0b5cad; color: #fff !important; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 700; text-decoration: none !important; }
.cba-actu-mille .cba-actu-bouton:first-child { background: #c0262d; }
.cba-actu-bouton-2 { background: #fff; color: #1d1d1f !important; border: 1px solid #dcd2c2; }
.cba-actu-conditions { margin: 0; font-size: 11.5px !important; line-height: 1.5; color: #8a8178 !important; }
html.cba-fenetre-ouverte, html.cba-fenetre-ouverte body { overflow: hidden; }
@media (max-width: 767px) {
  .cba-as-carte { padding: 20px 18px; }
  .cba-as-av.cba-as-mascotte { width: 56px; height: 56px; } .cba-as-av.cba-as-mascotte svg { width: 52px; height: 52px; }
  .cba-as-txt strong { font-size: 21px; }
  .cba-as-phrase { font-size: 15.5px; }
  .cba-actus-grille { grid-template-columns: 1fr; }
  .cba-actu { grid-template-columns: minmax(0, 1fr); }
  .cba-actu-1000 { width: 100%; height: 120px; } .cba-actu-1000 strong { font-size: 54px; }
  .cba-actu-image { width: 100%; height: 160px; }
  .cba-actu-fenetre { padding: 0; align-items: flex-end; }
  .cba-actu-boite { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 92vh; }
  .cba-actu-cote { min-height: 0; height: 200px; }
  .cba-actu-detail { padding: 24px 20px; }
  .cba-actu-detail h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .cba-oeil, .cba-parle, .cba-actu-boite { animation: none; } }
