/* Learnovate — section « Pourquoi Learnovate ? » (#pourquoi) : un parcours en 4 étapes, fond de section inchangé (var(--cream)).
   Chargé après styles.css et v2.css ; tout est limité à #pourquoi.
   - Grand écran : ligne de parcours horizontale qui se remplit (vert → or) quand la section apparaît, médaillons numérotés posés
     sur la ligne, reliés à leur carte ; étiquettes des outils sous chaque étape.
   - Tablette : deux colonnes, médaillon dans le coin de la carte. Téléphone : ligne verticale, médaillons à gauche.
   - « Ce que Learnovate est / n'est pas » : tout en bas, sous « Prêt à prendre le contrôle… » (.final-cta), deux cartes, icônes dessinées (aucun emoji). */

/* ── Cartes ── */
:is(#pourquoi, #howit) .why-pillars { position: relative; gap: 22px; }
:is(#pourquoi, #howit) .why-pillars::before, :is(#pourquoi, #howit) .why-pillars::after { z-index: 0; }
:is(#pourquoi, #howit) .why-pillar {
  z-index: 1; /* les cartes (et leurs médaillons) passent au-dessus de la ligne de parcours */
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%);
  border: 1px solid rgba(76,175,118,0.20);
  border-radius: 18px;
  padding: 30px 24px 24px;
  box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 10px 26px rgba(17,17,17,0.05);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, border-color 0.35s;
}
:is(#pourquoi, #howit) .why-pillar::before {
  /* barre vert-or révélée au survol */
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
:is(#pourquoi, #howit) .why-pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(76,175,118,0.45);
  box-shadow: 0 2px 4px rgba(17,17,17,0.05), 0 22px 48px rgba(17,17,17,0.12);
}
:is(#pourquoi, #howit) .why-pillar:hover::before { transform: scaleX(1); }
:is(#pourquoi, #howit) .why-ic {
  background: linear-gradient(145deg, #23261F 0%, #0F100E 100%);
  box-shadow: inset 0 0 0 1px rgba(76,175,118,0.30), 0 8px 18px rgba(17,17,17,0.18);
}
:is(#pourquoi, #howit) .why-pillar h3 { margin-bottom: 8px; }
:is(#pourquoi, #howit) .why-pillar p { color: #5E5A52; }

/* étiquettes des outils */
:is(#pourquoi, #howit) .why-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
:is(#pourquoi, #howit) .why-tags span {
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3;
  color: var(--green-d); background: rgba(76,175,118,0.08); border: 1px solid rgba(76,175,118,0.22);
}

/* médaillon numéroté (base : coin de la carte) */
:is(#pourquoi, #howit) .why-num {
  top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 15px; line-height: 1; color: var(--green-d);
  background: #FFFFFF; border: 2px solid rgba(76,175,118,0.55);
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
:is(#pourquoi, #howit) .why-pillar:hover .why-num { background: var(--green); border-color: var(--green); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(76,175,118,0.16); }

/* ── Grand écran : ligne de parcours horizontale ── */
@media (min-width: 1025px) {
  :is(#pourquoi, #howit) .why-pillars { padding-top: 72px; }
  :is(#pourquoi, #howit) .why-pillars::before,
  :is(#pourquoi, #howit) .why-pillars::after {
    content: ''; position: absolute; top: 21px; height: 3px; border-radius: 3px;
    left: calc(12.5% - 8.25px); right: calc(12.5% - 8.25px);
  }
  :is(#pourquoi, #howit) .why-pillars::before { background: rgba(17,17,17,0.08); }
  :is(#pourquoi, #howit) .why-pillars::after {
    background: linear-gradient(90deg, var(--green) 0%, #9BB65A 55%, var(--gold) 100%);
    transform-origin: left; transform: scaleX(1);
  }
  :is(#pourquoi, #howit) .why-pillar { text-align: center; }
  :is(#pourquoi, #howit) .why-ic { margin-left: auto; margin-right: auto; }
  :is(#pourquoi, #howit) .why-tags { justify-content: center; }
  :is(#pourquoi, #howit) .why-num {
    top: -73px; right: auto; left: 50%; transform: translateX(-50%);
    width: 46px; height: 46px; font-size: 17px; z-index: 2;
    box-shadow: 0 0 0 7px var(--why-fond, var(--cream)), 0 6px 16px rgba(17,17,17,0.10);
  }
  :is(#pourquoi, #howit) .why-pillar:hover .why-num { box-shadow: 0 0 0 7px var(--why-fond, var(--cream)), 0 0 0 13px rgba(76,175,118,0.16); }
  :is(#pourquoi, #howit) .why-pillar::after {
    /* trait entre le médaillon et la carte */
    content: ''; position: absolute; top: -27px; left: 50%; width: 2px; height: 27px; transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(76,175,118,0.55), rgba(76,175,118,0));
  }
}
/* remplissage animé de la ligne quand la première carte apparaît (navigateurs récents) */
@supports selector(:has(a)) {
  @media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    :is(#pourquoi, #howit) .why-pillars::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1) 0.25s; }
    :is(#pourquoi, #howit) .why-pillars:has(.why-pillar.visible)::after { transform: scaleX(1); }
  }
}

/* ── Téléphone : ligne verticale, médaillons à gauche ── */
@media (max-width: 640px) {
  :is(#pourquoi, #howit) .why-pillars { padding-left: 40px; gap: 14px; }
  :is(#pourquoi, #howit) .why-pillars::before,
  :is(#pourquoi, #howit) .why-pillars::after {
    content: ''; position: absolute; left: 16px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px;
  }
  :is(#pourquoi, #howit) .why-pillars::before { background: rgba(17,17,17,0.08); }
  :is(#pourquoi, #howit) .why-pillars::after { background: linear-gradient(180deg, var(--green) 0%, #9BB65A 55%, var(--gold) 100%); }
  :is(#pourquoi, #howit) .why-num {
    top: 22px; right: auto; left: -41px;
    width: 32px; height: 32px; font-size: 13px; z-index: 2;
    box-shadow: 0 0 0 5px var(--why-fond, var(--cream));
  }
  :is(#pourquoi, #howit) .why-pillar { padding: 20px 18px 18px; }
  :is(#pourquoi, #howit) .why-tags { grid-column: 2; margin-top: 12px; }
}

/* ── Espacement du simulateur (sous les 4 cartes) : un peu d'air au-dessus et au-dessous ── */
#pourquoi { padding-bottom: 0; }
#simulator { padding-top: clamp(40px, 4.4vw, 64px); padding-bottom: clamp(56px, 6vw, 88px); }
/* le grand encadré du simulateur prend exactement la largeur des 4 cartes (1120 px) */
#simulator .sim-cta-inner { max-width: 1120px; margin-left: auto; margin-right: auto; }

/* ── « Ce que Learnovate est / n'est pas » : tout en bas, sous « Prêt à prendre le contrôle de votre patrimoine ? » (.final-cta),
      même largeur que ce bloc ── */
.final-cta .why-trust { max-width: none; }
.final-cta .why-trust {
  gap: 18px; overflow: visible;
  background: none; border: 0; border-radius: 0;
}
.final-cta .why-trust-col {
  position: relative;
  border-radius: 18px; padding: 26px 28px 24px;
  box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 10px 26px rgba(17,17,17,0.05);
}
.final-cta .why-trust-col.is {
  background: linear-gradient(180deg, #F2FAF5 0%, #FFFFFF 55%);
  border: 1px solid rgba(76,175,118,0.25);
}
.final-cta .why-trust-col.isnot {
  background: linear-gradient(180deg, #FAF3E8 0%, #FFFDF9 55%);
  border: 1px solid rgba(197,154,90,0.30);
}
.final-cta .why-trust-col h3 { gap: 10px; margin-bottom: 14px; }
.final-cta .why-trust-col h3::before {
  content: ''; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background-position: center; background-repeat: no-repeat; background-size: 14px 14px;
}
.final-cta .why-trust-col.is h3::before {
  background-color: #E3F3E9; box-shadow: inset 0 0 0 1px rgba(76,175,118,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.final-cta .why-trust-col.isnot h3::before {
  background-color: #F6EADA; box-shadow: inset 0 0 0 1px rgba(197,154,90,0.40);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23A0692E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.final-cta .why-trust-col ul { gap: 9px; }
.final-cta .why-trust-col li { color: #2E2E2E; padding-left: 24px; }
.final-cta .why-trust-col li::before {
  top: 3px; width: 15px; height: 15px; border-radius: 0; background: none;
  background-position: center; background-repeat: no-repeat; background-size: 15px 15px;
}
.final-cta .why-trust-col.is li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%234CAF76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.final-cta .why-trust-col.isnot li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='%23C59A5A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.final-cta .why-trust-link { color: #8A5A2B; margin-top: 14px; }
@media (max-width: 640px) {
  .final-cta .why-trust { gap: 12px; }
  .final-cta .why-trust-col.isnot { border-top: 1px solid rgba(197,154,90,0.30); }
  .final-cta .why-trust-col { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  :is(#pourquoi, #howit) .why-pillar, :is(#pourquoi, #howit) .why-pillar::before, :is(#pourquoi, #howit) .why-num { transition: none; }
  :is(#pourquoi, #howit) .why-pillar:hover { transform: none; }
}

/* « De débutant à investisseur autonome » (#howit, 5 nov. 2026) : même parcours que #pourquoi, sur son fond beige foncé.
   Section du fondateur : icônes dessinées à la place des emojis. */
#howit { --why-fond: var(--cream-dark); }
.founder-cred-ic { color: var(--green-d, #2f7d52); }
.founder-cred-ic svg { width: 20px; height: 20px; display: block; }

/* ── « De débutant à investisseur autonome » (#howit) : une TRAJECTOIRE qui monte (5 nov. 2026).
   4 jalons de plus en plus hauts, posés sur une courbe (le trait vert → or se dessine à l'apparition) ;
   « Débutant » au départ, « Investisseur autonome » (or) à l'arrivée. Téléphone : ligne verticale. ── */
#howit .traj { position: relative; max-width: 1120px; margin: 64px auto 0; padding-top: 34px; }
#howit .traj-courbe { position: absolute; left: 0; top: 34px; width: 100%; height: 148px; overflow: visible; pointer-events: none; }
#howit .traj-courbe path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
#howit .traj-fond { stroke: rgba(17, 17, 17, 0.16); stroke-width: 2; stroke-dasharray: 2 8; }
#howit .traj-trait { stroke: url(#trajDeg); stroke-width: 3; }
#howit .traj-courbe.trait { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.3, .6, .2, 1) 0.2s; }
#howit .traj.visible .traj-courbe.trait { clip-path: inset(0 0 0 0); }
#howit .traj-bout {
  position: absolute; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap; line-height: 1;
}
#howit .traj-bout.debut { left: 0; top: 112px; color: #6f6a5c; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(17, 17, 17, 0.08); }
#howit .traj-bout.fin { right: 0; top: -6px; color: #5e4710; background: linear-gradient(135deg, #f8ebc2, #e6c972); box-shadow: 0 8px 22px rgba(201, 168, 76, 0.32); }
#howit .traj-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
#howit .traj-etape { --i: 0; --c: #4CAF76; margin-top: calc((3 - var(--i)) * 34px); padding: 0 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
#howit .traj-etape:nth-child(2) { --i: 1; --c: #6FAF5C; }
#howit .traj-etape:nth-child(3) { --i: 2; --c: #9FA94E; }
#howit .traj-etape:nth-child(4) { --i: 3; --c: #C9A84C; }
#howit .traj-point {
  position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #FFFFFF; border: 2px solid var(--c); color: var(--c);
  box-shadow: 0 0 0 6px var(--cream-dark), 0 8px 20px rgba(17, 17, 17, 0.10);
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), background 0.35s, color 0.35s;
}
#howit .traj-point svg { width: 22px; height: 22px; display: block; }
#howit .traj-etape:hover .traj-point { transform: translateY(-3px); background: var(--c); color: #FFFFFF; }
#howit .traj-etape:nth-child(4) .traj-point { background: linear-gradient(135deg, #ecd387, #C9A84C); color: #FFFFFF; box-shadow: 0 0 0 6px var(--cream-dark), 0 10px 26px rgba(201, 168, 76, 0.42); }
#howit .traj-num { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
#howit .traj-etape h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; margin: 6px 0 8px; }
#howit .traj-etape p { font-size: 14px; line-height: 1.6; color: #5E5A52; max-width: 250px; }
#howit .traj-temps {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: #3f3b33;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(17, 17, 17, 0.07); padding: 5px 11px; border-radius: 999px;
}
#howit .traj-temps::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
#howit .traj-cta { text-align: center; margin-top: 48px; }
#howit .traj-cta .btn-primary { display: inline-flex; align-items: center; gap: 10px; }
/* apparition des jalons, l'un après l'autre */
@media (prefers-reduced-motion: no-preference) {
  #howit .traj-etape { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(0.35s + var(--i) * 0.28s); }
  #howit .traj.visible .traj-etape { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #howit .traj-courbe.trait { clip-path: none; transition: none; }
  #howit .traj-point { transition: none; }
}
/* tablette et téléphone : ligne verticale, du « Débutant » (haut) à l'« Investisseur autonome » (bas) */
@media (max-width: 900px) {
  #howit .traj { max-width: 560px; margin-top: 40px; padding-top: 0; }
  #howit .traj-courbe { display: none; }
  #howit .traj-bout { position: static; display: inline-block; }
  #howit .traj-bout.debut { margin-bottom: 20px; }
  #howit .traj-bout.fin { margin-top: 22px; }
  #howit .traj-etapes { grid-template-columns: 1fr; gap: 28px; }
  #howit .traj-etapes::before { content: ''; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #4CAF76, #9BB65A 55%, #C9A84C); }
  #howit .traj-etape { margin-top: 0; padding: 0; display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  #howit .traj-point { grid-row: 1 / span 4; }
  #howit .traj-etape > :not(.traj-point) { grid-column: 2; }
  #howit .traj-num { margin-top: 2px; }
  #howit .traj-etape h3 { margin-top: 2px; }
  #howit .traj-etape p { max-width: none; }
  #howit .traj-temps { justify-self: start; }
  #howit .traj-cta { margin-top: 36px; }
}

/* ── #howit sur fond SOMBRE (5 nov. 2026) : même dynamique que « Entrez dans l'univers Learnovate », en plus foncé ── */
#howit {
  position: relative; overflow: hidden; --why-fond: #0b0e0c;
  background:
    radial-gradient(ellipse 55% 45% at 14% 18%, rgba(76, 175, 118, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 88% 14%, rgba(201, 168, 76, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(124, 108, 242, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #080a09 0%, #0b0e0c 55%, #070908 100%);
}
#howit::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.8), transparent 60%), radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 34%, rgba(255,255,255,0.7), transparent 60%), radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 58%, rgba(255,255,255,0.55), transparent 60%), radial-gradient(1.5px 1.5px at 88% 28%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1px 1px at 92% 82%, rgba(255,255,255,0.5), transparent 60%), radial-gradient(1px 1px at 6% 88%, rgba(255,255,255,0.55), transparent 60%);
}
#howit > .container { position: relative; z-index: 1; }
#howit .section-title { color: #FFFFFF; }
#howit .section-desc { color: rgba(255, 255, 255, 0.62); }
#howit .traj-fond { stroke: rgba(255, 255, 255, 0.22); }
#howit .traj-bout.debut { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
#howit .traj-point { background: #111613; box-shadow: 0 0 0 6px #0b0e0c, 0 0 22px rgba(76, 175, 118, 0.2); }
#howit .traj-etape:nth-child(4) .traj-point { box-shadow: 0 0 0 6px #0b0e0c, 0 0 30px rgba(201, 168, 76, 0.5); }
#howit .traj-num { color: rgba(255, 255, 255, 0.42); }
#howit .traj-etape h3 { color: #FFFFFF; }
#howit .traj-etape p { color: rgba(255, 255, 255, 0.66); }

/* ── Questions fréquentes (#faq) : même fond sombre que #howit (5 nov. 2026). Le fond s'arrête avec la section,
   juste après la dernière question ; la section finale qui suit reste beige. ── */
#faq {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 14% 18%, rgba(76, 175, 118, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 88% 14%, rgba(201, 168, 76, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(124, 108, 242, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #080a09 0%, #0b0e0c 55%, #070908 100%);
}
#faq::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.8), transparent 60%), radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 34%, rgba(255,255,255,0.7), transparent 60%), radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 58%, rgba(255,255,255,0.55), transparent 60%), radial-gradient(1.5px 1.5px at 88% 28%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1px 1px at 92% 82%, rgba(255,255,255,0.5), transparent 60%), radial-gradient(1px 1px at 6% 88%, rgba(255,255,255,0.55), transparent 60%);
}
#faq > .container { position: relative; z-index: 1; }
#faq .section-title { color: #FFFFFF; }
#faq .faq-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.10); }
#faq .faq-item:hover { border-color: rgba(76, 175, 118, 0.45); }
#faq .faq-item.open { background: rgba(255, 255, 255, 0.06); border-color: rgba(76, 175, 118, 0.5); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
#faq .faq-question { color: #FFFFFF; }
#faq .faq-arrow { color: rgba(255, 255, 255, 0.6); }
#faq .faq-answer-inner { color: rgba(255, 255, 255, 0.72); }
#faq .faq-answer-inner strong { color: #FFFFFF; }
#faq .faq-answer-inner a { color: #7fd3a2; }

/* ── Fondus en bas des sections sombres (5 nov. 2026) : comme sous la section d'accueil, le noir se fond
   doucement dans le beige de la section suivante (toutes sur var(--cream)). Un peu plus d'espace en bas
   pour que le fondu reste derrière l'espace vide, jamais derrière les textes. ── */
#learning::after, #univers::after, .stats-band::after, #faq::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none; z-index: 0;
  background: linear-gradient(to top, var(--cream) 0%, rgba(245, 240, 232, 0.55) 45%, rgba(245, 240, 232, 0) 100%);
}
.stats-band::after { height: 100px; }
#learning > .container, #univers > .container, .stats-band > .container, #faq > .container { position: relative; z-index: 1; }
#learning { padding-bottom: calc(var(--space-section) + 70px); }
#univers, #faq { padding-bottom: calc(var(--space-section) + 60px); }
.stats-band { padding-bottom: 150px; }

/* ── Lueur qui suit la souris dans les sections sombres (js/spots.js, 5 nov. 2026) : comme dans l'accueil,
   mais la couleur s'adapte à l'endroit et change en douceur (--spot-c est une couleur animable). ── */
@property --spot-c { syntax: '<color>'; inherits: true; initial-value: rgba(76, 175, 118, 0.16); }
.spot-couleur {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 40%), var(--spot-c), transparent 62%);
  transition: opacity 0.6s ease, --spot-c 0.7s ease;
}
:is(#learning, #univers, #howit, #faq):hover .spot-couleur { opacity: 1; }

/* #learning (6 nov. 2026) : le fondu commence plus bas — environ 60 px de noir de plus sous « Guides éclairs » et « Parcours DuoLearny ». */
#learning { padding-bottom: calc(var(--space-section) + 120px); }
#learning::after { height: 120px; }

/* #univers (6 nov. 2026) : comme #learning, le fondu commence plus bas (plus de noir sous les cartes et la bande de l'écosystème). */
#univers { padding-bottom: calc(var(--space-section) + 120px); }
#univers::after { height: 120px; }

/* Bande des chiffres (6 nov. 2026) : mini fondu en haut — le noir du bas de « De débutant à investisseur autonome »
   (#070908) se fond dans le vert de la bande, au lieu d'une coupure nette. */
.stats-band::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 44px; pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom, #070908 0%, rgba(7, 9, 8, 0.55) 40%, rgba(7, 9, 8, 0) 100%); }

/* Bande des chiffres (6 nov. 2026) : même fond que #howit (au lieu du mini fondu du haut), pour que les deux
   ne fassent qu'un. Le fondu du bas vers le beige (.stats-band::after) reste. */
.stats-band {
  background:
    radial-gradient(ellipse 55% 45% at 14% 18%, rgba(76, 175, 118, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 88% 14%, rgba(201, 168, 76, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(124, 108, 242, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #080a09 0%, #0b0e0c 55%, #070908 100%);
}
.stats-band-orb { display: none; }
.stats-band::before {
  top: 0; bottom: 0; height: auto; opacity: 0.45; background: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.8), transparent 60%), radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 34%, rgba(255,255,255,0.7), transparent 60%), radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 58%, rgba(255,255,255,0.55), transparent 60%), radial-gradient(1.5px 1.5px at 88% 28%, rgba(255,255,255,0.75), transparent 60%);
}

/* 6 nov. 2026 (2) : #howit et la bande des chiffres ne font plus qu'un, sans couture. Le bas de #howit n'a plus
   de lueur mauve (elle marquait la jonction) et la bande reprend exactement sa couleur du bas (#070908), avec étoiles. */
#howit {
  background:
    radial-gradient(ellipse 55% 45% at 14% 18%, rgba(76, 175, 118, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 88% 14%, rgba(201, 168, 76, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #080a09 0%, #0b0e0c 50%, #070908 100%);
}
.stats-band { background: #070908; }
