/* Noweiz Academy, le nouveau style (aperçu du 22/11).
   Le parti pris : la nuit, et deux lumières qui bougent. Le vert citron est celle de Nojah (order flow), le blanc celle
   de Weizix (ICT). Elles sont dessinées par assets/rubans.js sur une toile fixe, derrière la page. Tout le reste se tait :
   du verre sombre posé sur la lumière, à plusieurs profondeurs, du blanc sur noir, une seule police.
   Le vert ne sert que de lumière : les rubans, les lueurs, ce qui se clique, ce qui est en cours. Jamais en fond. */
@font-face {
  font-family: "Nojah Sans";
  src: url("fonts/nojah-sans.woff2") format("woff2");
  font-weight: 380 700; font-stretch: 100% 125%; font-style: normal; font-display: swap;
}

:root {
  --nuit: #050606;
  --encre: #FFFFFF; --gris: #A7AAA8; --gris-2: #7C807E;
  --citron: #C6F432; --citron-vif: #D7FA66; --argent: #E6ECF5;
  --noir: #0B0B0C;                                   /* le texte posé sur le vert */
  --filet: rgba(255, 255, 255, .10); --filet-2: rgba(255, 255, 255, .17);
  --verre: rgba(12, 15, 13, .56);
  --sans: "Nojah Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --marge: clamp(16px, 4vw, 64px);
  --large: 1312px;
  --haut: 68px;                                      /* la hauteur du haut de page */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--nuit); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--nuit); color: var(--encre);
  font-family: var(--sans); font-size: 17px; font-weight: 420; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--citron); outline-offset: 3px; border-radius: 6px; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--citron); color: var(--noir); font-weight: 600; text-decoration: none; }
.saut:focus { top: 12px; }
.cadre { width: 100%; max-width: var(--large); margin-inline: auto; padding-left: max(var(--marge), env(safe-area-inset-left, 0px)); padding-right: max(var(--marge), env(safe-area-inset-right, 0px)); }

/* ---------- la lumière ---------- */
#rubans { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
/* sans WebGL : deux halos fixes, comme avant */
html:not([data-rubans]) #rubans { display: none; }
html:not([data-rubans]) body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 62% 58%, rgba(198, 244, 50, .16), transparent 70%),
    radial-gradient(50% 50% at 96% 8%, rgba(230, 236, 245, .09), transparent 70%); }
/* un grain très fin : il casse les bandes dans les dégradés sombres */
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page { position: relative; z-index: 2; }

/* ---------- le verre ---------- */
.verre {
  border: 1px solid var(--filet); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 42%), var(--verre);
  -webkit-backdrop-filter: blur(22px) saturate(135%); backdrop-filter: blur(22px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .02), 0 40px 90px -40px rgba(0, 0, 0, .9);
}

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: background-color .16s, border-color .16s, transform .16s;
}
.bouton:active { transform: scale(.98); }
.bouton-vert { background: var(--citron); color: var(--noir); box-shadow: 0 0 0 1px rgba(198, 244, 50, .35), 0 14px 44px -14px rgba(198, 244, 50, .55); }
.bouton-vert:hover { background: var(--citron-vif); }
.bouton-verre { border-color: var(--filet-2); background: rgba(255, 255, 255, .055); color: var(--encre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bouton-verre:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .1); }
.bouton-petit { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }
.lecture { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; }

/* ---------- le haut ---------- */
.haut { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.haut[data-pose] { border-bottom-color: var(--filet); background: rgba(5, 6, 6, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.haut-in { display: flex; align-items: center; gap: 14px; min-height: var(--haut); }
.marque { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; color: var(--encre); font-size: 18.5px; font-weight: 640; font-stretch: 108%; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.marque img { display: block; width: 28px; height: 28px; border-radius: 8px; }
.etiquette { padding: 4px 11px; border: 1px solid var(--filet-2); border-radius: 999px; color: var(--gris); font-size: 13px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.etat { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 15px 0 13px; border: 1px solid var(--filet-2); border-radius: 999px; background: rgba(255, 255, 255, .045); color: var(--gris); font-size: 14.5px; white-space: nowrap; }
.pouls { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--citron); box-shadow: 0 0 0 4px rgba(198, 244, 50, .2); animation: pouls 2.4s ease-in-out infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 7px rgba(198, 244, 50, 0); } }
@media (max-width: 720px) { .haut .etat, .haut .etiquette { display: none; } }

/* ---------- le premier écran ---------- */
/* overflow-x : les cartes en relief peuvent dépasser à droite sans faire défiler la page de côté */
.hero { position: relative; padding: clamp(36px, 7vh, 96px) 0 clamp(40px, 7vh, 88px); overflow-x: clip; }
.hero-grille { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 88px); min-height: min(680px, calc(100vh - var(--haut) - 190px)); }
.hero-texte { position: relative; max-width: 620px; }
/* une ombre douce sous le texte : il reste lisible quand un ruban passe derrière */
.hero-texte::before { content: ""; position: absolute; z-index: -1; inset: -14% -22% -18% -40%; background: radial-gradient(closest-side, rgba(5, 6, 6, .8), rgba(5, 6, 6, .52) 55%, transparent); pointer-events: none; }
.hero .etat { margin-bottom: 30px; }
.titre { font-size: clamp(40px, 3.3vw + 22px, 76px); font-weight: 470; font-stretch: 112%; line-height: .98; letter-spacing: -.045em; }
.titre span { display: block; white-space: nowrap; }
.titre .deux { color: var(--argent); }
.chapo { max-width: 34em; margin-top: 26px; color: #C9CCCA; font-size: clamp(17px, .45vw + 15px, 20px); line-height: 1.5; text-wrap: pretty; }
.sous-actions { margin-top: 16px; color: var(--gris-2); font-size: 14.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .actions .bouton { padding-inline: 19px; font-size: 15.5px; }

/* ---------- le footprint, en relief ---------- */
.scene-fp { position: relative; justify-self: end; width: 100%; max-width: 760px; perspective: 1600px; }
.foyer { position: absolute; left: -10%; top: 70%; width: 1px; height: 1px; pointer-events: none; }
/* trois plans de verre à des distances différentes ; --rx et --ry suivent la souris (assets/v2.js) */
.relief { position: relative; transform-style: preserve-3d; transform-origin: 62% 50%;
  transform: rotateY(calc(-11deg + var(--ry, 0deg))) rotateX(calc(4deg + var(--rx, 0deg))) rotate(.4deg); }
/* la lueur au pied du panneau : il est posé sur de la lumière */
.relief::after { content: ""; position: absolute; left: 6%; right: 10%; bottom: -46px; height: 70px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(198, 244, 50, .3), transparent); filter: blur(20px); transform: translateZ(-60px); }
.fp { position: relative; padding: 18px 20px 16px; }
/* un reflet en travers du verre */
.fp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .055) 44%, rgba(255, 255, 255, .012) 52%, transparent 60%); }
.fp-haut { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fp-haut h2 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.fp-haut .etiquette { margin-right: auto; }
.fp-cours { display: inline-flex; align-items: center; gap: 9px; color: var(--gris); font-size: 13.5px; white-space: nowrap; }
/* le footprint vivant (une toile) ; sans lui, la grille fixe ci-dessous */
.fp-toile { position: relative; display: none; width: 100%; height: 412px; }
.fp[data-vif] .fp-toile { display: block; }
.fp[data-vif] .fp-grille, .fp[data-vif] .fp-pied { display: none; }
.fp-grille { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; grid-auto-rows: 29px; column-gap: 6px; row-gap: 2px; font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fp-c { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 6px; background: rgba(255, 255, 255, .045); color: #B9BDBB; overflow: hidden; }
.fp-c i { font-style: normal; text-align: center; padding: 0 3px; white-space: nowrap; }
.fp-c i + i { border-left: 1px solid rgba(255, 255, 255, .07); }
.fp-c .achat { background: rgba(198, 244, 50, .2); color: #E9FBAE; }           /* déséquilibre acheteur */
.fp-c .vente { background: rgba(230, 236, 245, .17); color: #FFFFFF; }          /* déséquilibre vendeur */
.fp-c .fort { background: var(--citron); color: var(--noir); font-weight: 650; }
.fp-c.vif { background: rgba(255, 255, 255, .075); }
/* le corps de la bougie, de l'ouverture à la clôture : vert si elle monte, blanc si elle baisse */
.fp-corps { justify-self: start; width: 3px; margin: 2px 0 2px -5px; border-radius: 2px; }
.fp-corps.monte { background: var(--citron); } .fp-corps.baisse { background: var(--argent); }
.fp-prix { display: flex; align-items: center; justify-content: flex-end; padding-left: 6px; color: var(--gris-2); font-size: 11.5px; white-space: nowrap; }
.fp-note { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 2px; margin: -2px 10px -2px 0; padding: 8px 12px; border: 1px solid rgba(198, 244, 50, .45); border-radius: 12px; background: rgba(12, 16, 8, .82); }
.fp-note b { color: var(--citron); font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; }
.fp-note span { color: #D5D8D6; font-size: 12px; line-height: 1.3; }
.fp-note::after { content: ""; position: absolute; left: 100%; top: 50%; width: 10px; height: 1px; background: rgba(198, 244, 50, .7); }
.fp-pied { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; column-gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--filet); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fp-pied span { text-align: center; white-space: nowrap; }
.fp-pied .plus { color: var(--citron); } .fp-pied .moins { color: var(--argent); }
.fp-pied .fp-prix { font-weight: 500; }
.fp-legende { position: relative; margin-top: 12px; color: var(--gris-2); font-size: 12.5px; line-height: 1.4; }
/* la place de chaque case dans la grille (pas de style écrit dans la page : la sécurité du site l'interdit) */
.l1 { grid-row: 1; } .l2 { grid-row: 2; } .l3 { grid-row: 3; } .l4 { grid-row: 4; } .l5 { grid-row: 5; } .l6 { grid-row: 6; }
.l7 { grid-row: 7; } .l8 { grid-row: 8; } .l9 { grid-row: 9; } .l10 { grid-row: 10; } .l11 { grid-row: 11; } .l12 { grid-row: 12; }
.k1 { grid-column: 1; } .k2 { grid-column: 2; } .k3 { grid-column: 3; } .k4 { grid-column: 4; } .k5 { grid-column: 5; } .k6 { grid-column: 6; } .k7 { grid-column: 7; }
.h1 { grid-row-end: span 1; } .h2 { grid-row-end: span 2; } .h3 { grid-row-end: span 3; } .h4 { grid-row-end: span 4; } .h5 { grid-row-end: span 5; } .h6 { grid-row-end: span 6; }
.fp-note { grid-row: 1 / span 2; grid-column: 1 / span 3; }

/* les deux cartes qui flottent autour du footprint vivant : l'une devant, l'autre derrière */
.carte { display: none; position: absolute; flex-direction: column; padding: 15px 18px 16px; border-radius: 18px; }
.fp[data-vif] ~ .carte { display: flex; }
.carte small { color: var(--gris); font-size: 13px; line-height: 1.2; }
.carte b { font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
/* la carte de devant dépasse sous le panneau : elle ne recouvre ni les chiffres ni la légende */
.carte-lecture { left: -7%; bottom: -92px; width: min(310px, 48%); gap: 5px; transform: translateZ(95px);
  border-color: rgba(198, 244, 50, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px -24px rgba(0, 0, 0, .95), 0 0 50px -18px rgba(198, 244, 50, .5); }
.carte-lecture b { color: var(--citron); font-size: 21px; font-stretch: 108%; }
.carte-lecture span { color: #D5D8D6; font-size: 14.5px; line-height: 1.38; }
.carte-lecture.change b { animation: change .5s ease-out; }
@keyframes change { from { opacity: 0; transform: translateY(6px); } }
.carte-cvd { right: -9%; top: -124px; width: 216px; gap: 2px; transform: translateZ(-120px); }
.carte-cvd b { font-size: 23px; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.carte-cvd canvas { display: block; width: 100%; height: 44px; margin-top: 6px; }

/* ---------- en bref ---------- */
.faits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(84px, 13vh, 140px); padding: 6px 0; }
.faits div { padding: 20px clamp(16px, 2vw, 28px) 22px; }
.faits div + div { border-left: 1px solid var(--filet); }
.faits dt { font-size: clamp(23px, 1.5vw + 7px, 36px); font-weight: 520; font-stretch: 110%; line-height: 1.05; letter-spacing: -.04em; white-space: nowrap; }
.faits dd { margin-top: 8px; color: var(--gris); font-size: 14.5px; line-height: 1.4; text-wrap: balance; }

/* ---------- le parcours : le ruban passe par les huit semaines ---------- */
.parcours { position: relative; padding: clamp(64px, 12vh, 140px) 0; }
.parcours-in { display: grid; gap: clamp(28px, 6vh, 64px); }
.titre-2 { font-size: clamp(32px, 2.9vw + 16px, 66px); font-weight: 480; font-stretch: 111%; line-height: 1.02; letter-spacing: -.043em; }
.titre-2 span { display: block; }
.titre-2 span + span { color: var(--argent); }
.parcours-texte { max-width: 35em; margin-top: 18px; color: #C9CCCA; font-size: clamp(17px, .4vw + 15px, 19.5px); line-height: 1.5; text-wrap: pretty; }
.chemin { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; height: clamp(230px, 38vh, 360px); }
.etape { position: relative; display: grid; justify-items: center; }
.etape:nth-child(odd) { transform: translateY(clamp(38px, 8.5vh, 84px)); }
.etape:nth-child(even) { transform: translateY(clamp(-84px, -8.5vh, -38px)); }
.noeud { position: relative; display: block; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .32); background: rgba(5, 6, 6, .9); transition: background-color .45s, border-color .45s, box-shadow .45s, transform .45s; }
.etape-nom { position: absolute; left: 50%; transform: translateX(-50%); color: var(--gris-2); font-size: 16px; font-weight: 500; white-space: nowrap; transition: color .45s; }
.etape:nth-child(odd) .etape-nom { top: 40px; }
.etape:nth-child(even) .etape-nom { bottom: 40px; }
.etape.allumee .noeud { border-color: #fff; background: #fff; transform: scale(1.15); box-shadow: 0 0 0 6px rgba(198, 244, 50, .2), 0 0 30px 8px rgba(198, 244, 50, .55); }
.etape.allumee .etape-nom { color: var(--encre); }
.parcours-fin { justify-self: end; max-width: 30em; padding: 16px 22px; border-radius: 18px; color: #DADDDB; font-size: 16px; line-height: 1.45; }
/* avec le défilement animé : la partie est haute, son contenu reste à l'écran, et la lumière avance de semaine en semaine */
html[data-scene] .parcours { height: 300vh; padding: 0; }
html[data-scene] .parcours-colle { position: sticky; top: var(--haut); display: grid; align-items: center; height: calc(100vh - var(--haut)); height: calc(100svh - var(--haut)); }
html[data-scene] .parcours-fin { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
html[data-scene] .parcours[data-fin] .parcours-fin { opacity: 1; transform: none; }

/* ---------- les parties de la page ---------- */
[id] { scroll-margin-top: calc(var(--haut) + 20px); }
.haut-nav { display: flex; align-items: center; gap: 2px; margin-right: 6px; }
.haut-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border-radius: 999px; color: var(--gris); font-size: 15px; text-decoration: none; white-space: nowrap; transition: color .15s; }
.haut-nav a:hover { color: var(--encre); }
.annonce-haut { padding-top: 18px; }
.msg { padding: 13px 18px; border: 1px solid var(--filet-2); border-radius: 14px; background: rgba(255, 255, 255, .05); color: var(--encre); font-size: 15.5px; line-height: 1.45; }
.msg-ok { border-color: rgba(198, 244, 50, .45); background: rgba(198, 244, 50, .08); }
.msg-err { border-color: rgba(255, 156, 142, .55); background: rgba(255, 156, 142, .09); }
.bloc { position: relative; padding: clamp(64px, 11vh, 132px) 0; }
.bloc-tete { max-width: 820px; }
.bloc-texte { max-width: 36em; margin-top: 18px; color: #C9CCCA; font-size: clamp(17px, .4vw + 15px, 19.5px); line-height: 1.5; text-wrap: pretty; }
.bouton-plein { display: flex; width: 100%; }
.bouton[disabled] { opacity: .6; cursor: default; }
.point { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.point-of { background: var(--citron); box-shadow: 0 0 12px rgba(198, 244, 50, .7); }
.point-ict { background: var(--argent); box-shadow: 0 0 12px rgba(230, 236, 245, .6); }
.points { display: inline-flex; gap: 4px; }

/* le compte à rebours (quand une date d'ouverture est réglée) */
.compteur { margin-top: 22px; }
.compteur-titre, .compteur-note { color: var(--gris-2); font-size: 14.5px; }
.compteur-rang { display: flex; gap: 10px; margin: 10px 0; }
.compteur-case { display: grid; justify-items: center; min-width: 76px; padding: 12px 10px 10px; border: 1px solid var(--filet); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.compteur-case b { font-size: 30px; font-weight: 520; font-stretch: 110%; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1.1; }
.compteur-case span { color: var(--gris); font-size: 13px; }

/* ---------- les offres ---------- */
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.offre { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 32px); border-radius: 26px; overflow: hidden; }
/* la lumière de chaque offre : verte pour Nojah, blanche pour Weizix, les deux pour le pack */
.offre::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--l1) 30%, var(--l2) 70%, transparent); }
.offre::after { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 240px; pointer-events: none;
  background: radial-gradient(60% 100% at 24% 0%, var(--h1), transparent 72%), radial-gradient(60% 100% at 76% 0%, var(--h2), transparent 72%); }
.offre-of { --l1: var(--citron); --l2: var(--citron); --h1: rgba(198, 244, 50, .16); --h2: rgba(198, 244, 50, .1); }
.offre-ict { --l1: var(--argent); --l2: var(--argent); --h1: rgba(230, 236, 245, .1); --h2: rgba(230, 236, 245, .07); }
.offre-pack { --l1: var(--citron); --l2: var(--argent); --h1: rgba(198, 244, 50, .16); --h2: rgba(230, 236, 245, .1); }
.offre-qui { display: flex; align-items: center; gap: 10px; color: var(--gris); font-size: 14.5px; }
.offre h3 { margin-top: 14px; font-size: clamp(28px, 1.4vw + 16px, 38px); font-weight: 500; font-stretch: 110%; line-height: 1.05; letter-spacing: -.04em; }
.offre-texte { margin-top: 12px; color: #C9CCCA; font-size: 16px; line-height: 1.45; }
.offre-liste { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--filet); display: grid; gap: 9px; color: var(--gris); font-size: 15px; line-height: 1.4; }
.offre-liste li { position: relative; padding-left: 20px; }
.offre-liste li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 8px; height: 4px; border-left: 1.5px solid var(--citron); border-bottom: 1.5px solid var(--citron); transform: rotate(-45deg); }
.offre-prix { margin-top: auto; padding-top: 26px; }
.offre-prix b { display: block; font-size: clamp(32px, 1.6vw + 18px, 44px); font-weight: 520; font-stretch: 110%; font-variant-numeric: tabular-nums; line-height: 1.05; letter-spacing: -.04em; }
.offre-prix span { display: block; margin-top: 6px; color: var(--gris); font-size: 14.5px; }
.offre-prix-bientot b { font-size: clamp(22px, .8vw + 14px, 28px); letter-spacing: -.025em; }
.offre .bouton { margin-top: 22px; }
.mentorat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 56px; margin-top: 16px; padding: clamp(22px, 2.2vw, 32px); border-radius: 26px; }
.mentorat > div { flex: 1 1 420px; min-width: 0; }
.mentorat h3 { font-size: 23px; font-weight: 520; font-stretch: 108%; line-height: 1.15; letter-spacing: -.03em; }
.mentorat p { margin-top: 8px; max-width: 60ch; color: var(--gris); font-size: 16px; }
.mentorat .mentorat-prix { flex: 0 1 340px; margin-top: 0; }
.mentorat-prix b { display: block; color: var(--encre); font-size: 30px; font-weight: 520; font-stretch: 110%; line-height: 1.1; letter-spacing: -.035em; }
.mentorat-prix span { display: block; margin-top: 4px; font-size: 14.5px; }

/* ---------- l'espace élève en image ---------- */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 4vw, 44px); }
.onglet { min-height: 44px; padding: 0 18px; border: 1px solid var(--filet-2); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--gris); font: inherit; font-size: 15px; font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.onglet:hover { color: var(--encre); }
.onglet[aria-pressed="true"] { border-color: var(--encre); background: var(--encre); color: var(--noir); }
.ecran { margin-top: 20px; padding: 10px; border-radius: 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 60px 130px -50px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(198, 244, 50, .28); }
.ecran img { display: block; width: 100%; height: auto; border-radius: 17px; }
.ecran-note { margin-top: 16px; color: var(--gris); font-size: 15.5px; }


/* ---------- les formateurs ---------- */
.formateurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.formateur { position: relative; padding: clamp(24px, 2.4vw, 34px); border-radius: 26px; overflow: hidden; }
.formateur::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--l1) 30%, var(--l1) 70%, transparent); }
.formateur-of { --l1: var(--citron); } .formateur-ict { --l1: var(--argent); }
.formateur h3 { font-size: clamp(32px, 1.6vw + 18px, 44px); font-weight: 480; font-stretch: 111%; line-height: 1.05; letter-spacing: -.042em; }
.formateur-ict h3 { color: var(--argent); }
.formateur dl { margin-top: 20px; }
.formateur dl div { padding: 13px 0; border-top: 1px solid var(--filet); }
.formateur dt { color: var(--gris-2); font-size: 14px; }
.formateur dd { margin-top: 2px; font-size: 17px; }
.gain { color: var(--citron); font-weight: 560; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preuves { margin-top: clamp(40px, 6vw, 72px); }
.preuves-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.preuves-tete h3 { font-size: 21px; font-weight: 520; letter-spacing: -.025em; }
.preuves-tete a { color: var(--gris); font-size: 15px; }
.preuves-tete a:hover { color: var(--encre); }
.wall { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.wall-row { display: flex; width: max-content; animation: glisse 130s linear infinite; }
.wall-row:nth-child(even) { animation-direction: reverse; }
.wall-row img { height: clamp(108px, 12vw, 164px); width: auto; margin-right: 14px; border: 1px solid var(--filet); border-radius: 12px; }
.wall-row img.doux { filter: saturate(.72) brightness(.8); }
@keyframes glisse { to { transform: translateX(-50%); } }

/* ---------- les questions ---------- */
.questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 80px); }
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 14px 44px 14px 0; font-size: clamp(17px, .4vw + 15px, 20px); font-weight: 520; letter-spacing: -.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 1.5px solid var(--gris); border-bottom: 1.5px solid var(--gris); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { margin-top: -3px; transform: rotate(-135deg); }
.faq details p { max-width: 60ch; padding: 0 0 20px; color: #C9CCCA; }
.faq a { color: var(--encre); }

/* ---------- la liste d'attente ---------- */
.bloc-fin { padding-bottom: clamp(72px, 12vh, 150px); }
.inscription { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(24px, 4vw, 64px); border-radius: 32px; overflow: hidden; }
.inscription-lueur { position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 70%; height: 120%; pointer-events: none; background: radial-gradient(closest-side, rgba(198, 244, 50, .22), transparent); }
.avantages { display: grid; gap: 12px; margin-top: 26px; color: #C9CCCA; font-size: 17px; }
.avantages li { position: relative; padding-left: 26px; }
.avantages li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border-left: 1.8px solid var(--citron); border-bottom: 1.8px solid var(--citron); transform: rotate(-45deg); }
.inscrits { display: inline-flex; align-items: center; gap: 11px; margin-top: 26px; color: var(--gris); font-size: 15px; }
.inscrits b { color: var(--encre); font-weight: 600; }
.inscription-form { display: flex; flex-direction: column; min-width: 0; }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ + .champ, .choix { margin-top: 16px; }
.champ label, .choix legend { color: var(--gris); font-size: 14.5px; }
.saisie { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--filet-2); border-radius: 14px; background: rgba(5, 6, 6, .55); color: var(--encre); font: inherit; font-size: 16.5px; transition: border-color .15s, box-shadow .15s; }
.saisie::placeholder { color: var(--gris-2); }
.saisie:hover { border-color: rgba(255, 255, 255, .3); }
.saisie:focus { outline: none; border-color: var(--citron); box-shadow: 0 0 0 3px rgba(198, 244, 50, .2); }
.saisie[aria-invalid="true"] { border-color: #FF9C8E; }
.choix { min-width: 0; padding: 0; border: 0; }
.choix legend { padding: 0; margin-bottom: 8px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; cursor: pointer; }
.pastille input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pastille span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid var(--filet-2); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--gris); font-size: 15.5px; font-weight: 520; transition: color .15s, border-color .15s, background-color .15s; }
.pastille input:checked + span { border-color: var(--encre); background: rgba(255, 255, 255, .1); color: var(--encre); }
.pastille input:focus-visible + span { outline: 2px solid var(--citron); outline-offset: 3px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.accord { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; color: var(--gris); font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.accord input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--citron); cursor: pointer; }
.accord a { color: var(--encre); }
.err { margin-top: 8px; color: #FFB3A8; font-size: 14.5px; line-height: 1.4; }
.champ .err { margin-top: 0; }
.inscription-form .bouton { margin-top: 20px; }
.apres { display: grid; gap: 10px; padding-left: 22px; list-style: decimal; color: #C9CCCA; font-size: 16.5px; line-height: 1.5; }
.apres b { color: var(--encre); font-weight: 560; }

.pied { position: relative; z-index: 2; padding: 26px 0 34px; border-top: 1px solid var(--filet); color: var(--gris-2); font-size: 14px; background: rgba(5, 6, 6, .6); }
.pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 40px; }
.pied-in > p:first-child { flex: 1 1 520px; max-width: 80ch; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.pied-liens a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gris); }
.pied-liens .pale { color: var(--gris-2); }

/* ---------- plus petit ---------- */
@media (max-width: 1320px) { .carte-cvd { right: -2%; } }
@media (max-width: 1080px) {
  .hero-grille { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-texte { max-width: 680px; }
  /* l'ombre sous le texte ne dépasse plus de l'écran (sinon la page se met à défiler de côté sur téléphone) */
  .hero-texte::before { inset: -10% -3% -14% -3%; }
  /* la place du nœud de lumière : entre les boutons et le footprint */
  .scene-fp { justify-self: stretch; max-width: 720px; margin-top: 84px; perspective: none; }
  .relief { transform: none; }
  .relief::after { display: none; }
  .foyer { left: 14%; top: -46px; }
  /* sous le footprint, sans rien recouvrir : la légende (« chiffres inventés ») doit rester lisible */
  .carte-lecture { position: relative; left: auto; bottom: auto; width: auto; margin: 12px 0 0; transform: none; }
  .carte-cvd { right: 14px; top: -40px; transform: none; }
  .faits { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 6vh, 72px); }
  .haut-nav { display: none; }
  .offres { grid-template-columns: minmax(0, 1fr); }
  .questions, .inscription { grid-template-columns: minmax(0, 1fr); }
  .faits div:nth-child(4) { border-left: 0; }
  .faits div:nth-child(n + 4) { border-top: 1px solid var(--filet); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  /* sur téléphone, le flou du verre coûte cher quand le fond bouge : un verre plus opaque, moins de flou */
  .verre { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 42%), rgba(10, 13, 11, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 18px; }
  /* le parcours descend l'écran en zigzag */
  .chemin { grid-template-columns: minmax(0, 1fr); height: auto; }
  .etape, .etape:nth-child(odd), .etape:nth-child(even) { display: flex; align-items: center; gap: 16px; height: clamp(38px, 6.4svh, 56px); transform: none; }
  .etape:nth-child(odd) { padding-left: 16%; }
  .etape:nth-child(even) { flex-direction: row-reverse; padding-right: 16%; }
  .etape .etape-nom, .etape:nth-child(odd) .etape-nom, .etape:nth-child(even) .etape-nom { position: static; transform: none; }
  .parcours-in { gap: clamp(18px, 3.4vh, 32px); }
  .formateurs { grid-template-columns: minmax(0, 1fr); }
  .inscription { border-radius: 24px; }
  .ecran { padding: 6px; border-radius: 18px; }
  .ecran img { border-radius: 13px; }
  .parcours-fin { justify-self: stretch; padding: 13px 16px; font-size: 15px; }
  .etape .etape-nom { font-size: 15.5px; }
  html[data-scene] .parcours { height: 260vh; }
}
@media (max-width: 620px) {
  .actions .bouton { flex: 1 1 100%; }
  .foyer { left: 36%; top: -44px; }
  .fp { padding: 14px 12px 12px; }
  .fp-toile { height: 358px; }
  .fp-haut { flex-wrap: wrap; row-gap: 8px; }
  .fp-haut h2 { flex: 1 1 100%; }
  .fp-grille, .fp-pied { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; column-gap: 4px; font-size: 11.5px; }
  .fp-grille { grid-auto-rows: 26px; }
  /* on garde les quatre dernières bougies */
  .fp-grille .k1, .fp-grille .k2, .fp-pied .k1, .fp-pied .k2 { display: none; }
  .k3 { grid-column: 1; } .k4 { grid-column: 2; } .k5 { grid-column: 3; } .k6 { grid-column: 4; } .k7 { grid-column: 5; }
  /* la note descend dans le coin vide, en bas à gauche */
  .fp-note { grid-row: 10 / span 3; grid-column: 1 / span 4; margin: 4px 0 0; }
  .fp-note::after { display: none; }
  .fp-cours { font-size: 12.5px; }
  .fp[data-vif] ~ .carte-cvd { display: none; }
  .carte-lecture b { font-size: 19px; }
  .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faits div { padding: 16px 16px 18px; }
  .faits div + div { border-left: 0; }
  .faits div:nth-child(even) { border-left: 1px solid var(--filet); }
  .faits div:nth-child(n + 3) { border-top: 1px solid var(--filet); }
  .faits div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pouls, .carte-lecture.change b, .wall-row { animation: none; }
  * { transition: none !important; }
}

/* les réseaux (26/11) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--filet); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--encre); font-size: 14.5px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.reseaux a:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
.reseaux a:focus-visible { outline: 2px solid var(--citron); outline-offset: 2px; }
.reseau-ico { width: 18px; height: 18px; flex: none; }
.reseaux-pied { margin: 0; }
.reseaux-pied a { width: 44px; padding: 0; justify-content: center; }
/* le compte à rebours, bien visible */
.compteur { margin-top: 26px; }
.compteur-titre { color: var(--encre); font-size: 15.5px; font-weight: 520; }
.compteur-rang { gap: 12px; }
.compteur-case { min-width: 88px; padding: 14px 12px 12px; border-color: rgba(198, 244, 50, .28); background: rgba(198, 244, 50, .05); }
.compteur-case b { font-size: clamp(32px, 2vw + 20px, 46px); }
@media (max-width: 520px) {
  .compteur-rang { gap: 8px; }
  .compteur-case { min-width: 0; flex: 1 1 0; padding: 12px 4px 10px; }
  .compteur-case b { font-size: 30px; }
  .reseaux a { padding: 0 12px; }
}
.preuves-total { margin-top: 6px; max-width: 64ch; color: var(--gris); font-size: 15px; line-height: 1.5; }
