/* Accueil : histoire au scroll, puis rideau du footer cinématique. */
.landing-main { position: relative; z-index: 2; background: var(--bg); border-radius: 0 0 36px 36px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); overflow: clip; }

/* ---------- En-tête ---------- */
.l-head { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding-top: calc(14px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.l-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.l-head-in > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; height: 48px; padding: 0 16px 0 8px; border-radius: 999px; }
/* Logo officiel + mot-marque + slogan, comme le LandingHeader actuel. */
.brand { padding: 0 18px 0 14px; }
.brand-logo { height: 24px; width: auto; flex: none; color: var(--primary); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.brand-txt small { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
@media (max-width: 420px) { .brand-txt small { display: none; } }
.l-head-actions { display: flex; align-items: center; gap: 10px; }
.l-head-actions .lang-seg { padding: 3px; }
.l-head-actions .lang-seg button { height: 30px; padding: 0 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }
.l-nav-host { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .l-nav-host { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 41; }
  .l-head .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(128px + env(safe-area-inset-top, 0px)); padding-bottom: 72px; isolation: isolate; }
.aurora { position: absolute; inset: -10% -10% 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -6vw; top: -8vw; background: var(--glow-1); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; right: -4vw; top: 4vw; background: var(--glow-2); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 35vw; top: 20vw; background: color-mix(in oklab, var(--glow-1) 60%, var(--glow-2)); animation-delay: -11s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 3vw) scale(1.12); } 100% { transform: translate(-3vw, 5vw) scale(0.94); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 56px 56px;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--primary); }
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 var(--good); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
.hero-title { margin-top: 22px; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; }
.hero-title .w { display: inline-block; white-space: nowrap; }
/* L'interlettrage serré (-0.045em) rétrécit aussi les espaces : sans ça, « te ressemble. » paraissait collé. */
.hero-title { word-spacing: 0.1em; }
.hero-title .accent-w { color: var(--primary); }
.hero-sub { margin-top: 22px; max-width: 32em; font-size: 17.5px; color: var(--muted); text-wrap: pretty; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 15px; height: 15px; color: var(--good); }

.hero-stack { position: relative; height: 420px; }
.hero-stack .stack-label { position: absolute; top: -34px; left: 6px; right: 6px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.hero-stack .stack-label b { color: var(--primary); font-weight: 500; }
.job-mini { position: absolute; left: 0; right: 0; padding: 18px 18px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; transform-origin: 50% 120%; will-change: transform; }
.job-mini:nth-of-type(1) { top: 0; z-index: 3; }
.job-mini:nth-of-type(2) { top: 132px; z-index: 2; }
.job-mini:nth-of-type(3) { top: 264px; z-index: 1; }
.job-mini h4 { font-size: 15.5px; letter-spacing: -0.015em; font-weight: 600; }
.job-mini .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.job-mini .chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }

.scroll-cue { margin-top: 56px; display: flex; justify-content: center; }
.scroll-cue span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue span::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--muted), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Chiffres ---------- */
.stats { padding-block: 28px 84px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 30px 26px; display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; max-width: 24em; }

/* ---------- Comment ça marche (épinglé) ---------- */
.how { padding-block: 40px 60px; }
.how-head { max-width: 40em; }
.how-head h2, .sec-title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.04em; margin-top: 14px; font-weight: 780; }
.how-head p, .sec-sub { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 36em; }
.how-body { margin-top: 48px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; min-height: 480px; }
.how-body > * { min-width: 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
/* Progression : un filet vertical par étape, sans pastilles. Le filet de l'étape en cours se remplit
   au rythme du scroll (--p de 0 à 1, posé en JS) ; les étapes passées restent pleines, les suivantes vides. */
.how-steps li { --p: 0; position: relative; padding: 16px 0 16px 24px; opacity: 0.38; transition: opacity 0.45s var(--ease); }
.how-steps li.done { opacity: 0.62; }
.how-steps li.on { opacity: 1; }
.how-steps li::before, .how-steps li::after { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; }
.how-steps li::before { background: var(--line); }
.how-steps li::after { background: var(--fg); transform-origin: top; transform: scaleY(var(--p)); }
.how-steps .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.how-steps h3 { font-size: 22px; margin-top: 4px; }
.how-steps p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 30em; }
/* Pas de carte de fond : chaque scène pose directement ses exemples sur la page. */
.how-stage { position: relative; height: 500px; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; }
.scene + .scene { opacity: 0; visibility: hidden; }
.scene-cap { display: none; }
/* Les trois scènes partagent la même largeur (560 px) pour occuper la colonne comme les offres de l'étape 3. */
.drop-zone { width: min(100%, 560px); border-radius: 26px; padding: 40px 32px; text-align: center; position: relative; box-shadow: var(--card-shadow); font-size: 15.5px; }
.drop-zone .file { font-size: 14px; padding: 10px 14px; }
.drop-zone .chip { height: 32px; font-size: 13.5px; padding: 0 13px; }
.drop-zone .halo { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--primary) 80%, var(--accent) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: halo 3.2s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes halo { to { --a: 360deg; } }
.drop-zone .file { margin: 16px auto 0; display: flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.parsed { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sliders { width: min(100%, 560px); padding: 34px 32px; border-radius: 26px; display: grid; gap: 28px; box-shadow: var(--card-shadow); }
.sl { display: grid; gap: 12px; }
.sl-top { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.sl-top span { color: var(--muted); font-weight: 500; font-size: 14px; }
.sl-track { height: 10px; border-radius: 99px; background: var(--line); position: relative; }
.sl-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); width: var(--v); }
.sl-knob { position: absolute; top: 50%; left: var(--v); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e8f4f8); box-shadow: 0 3px 10px rgba(0, 30, 60, 0.35), inset 0 -2px 3px rgba(0, 60, 90, 0.15); }
.mini-feed { width: min(100%, 560px); display: grid; gap: 12px; }
.mini-feed .row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; box-shadow: var(--card-shadow); }
.mini-feed .row div { min-width: 0; flex: 1; }
.mini-feed .row h4 { font-size: 16.5px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-feed .row p { font-size: 13.5px; color: var(--muted); }
.mini-feed .row { align-items: flex-start; }
.mini-feed .row p.mf-why { margin-top: 5px; display: flex; align-items: center; gap: 6px; color: var(--good); font-weight: 500; }
.mini-feed .row p.mf-why svg { width: 13px; height: 13px; flex: none; }
.mf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 2px; font-size: 13.5px; }
.mf-head .mono { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.mf-foot { padding: 2px 4px 0; font-size: 12.5px; color: var(--muted); }
.parsed-sum { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.sl-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sl-result span { color: var(--muted); }
.sl-result b { font-family: var(--font-display); font-size: 17px; }

/* ---------- Score ---------- */
.score { padding-block: 70px; }
.score-card { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.score-card > * { min-width: 0; }
.score-rings { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; }
.score-rings .r { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.why { padding: 24px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 16px; }
.why-head { display: flex; align-items: center; gap: 14px; }
.why-head h4 { font-size: 16px; }
.why-head p { font-size: 13px; color: var(--muted); }

/* ---------- Coach (accueil) ---------- */
.coach-l { padding-block: 70px; text-align: center; position: relative; }
.coach-l .orb-wrap { width: min(360px, 78vw); aspect-ratio: 1; margin: 36px auto 0; position: relative; }
.orb-wrap::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, var(--glow-2), transparent 70%); filter: blur(30px); }
.orb-fallback { border-radius: 50%; background: radial-gradient(circle, transparent 55%, #9c43fe 62%, #4cc2e9 70%, transparent 74%); }
.bubbles { max-width: 460px; margin: -40px auto 0; display: grid; gap: 10px; position: relative; z-index: 2; text-align: left; }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 14.5px; max-width: 85%; }
.bubble.me { justify-self: end; background: var(--primary); color: var(--primary-ink); border-radius: 18px 18px 6px 18px; }
.bubble.ai { justify-self: start; border-radius: 18px 18px 18px 6px; }
.soon { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.soon b { color: var(--accent); font-weight: 600; }
.tools { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.tool { padding: 26px; display: grid; gap: 10px; align-content: start; }
.tool .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in oklab, var(--primary) 12%, transparent); color: var(--primary); }
.tool .ic svg { width: 19px; height: 19px; }
.tool h3 { font-size: 19px; }
.tool p { color: var(--muted); font-size: 14.5px; }
.tool .badge { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--accent); }

/* ---------- Cartes empilées ---------- */
.stack-sec { padding-block: 60px 30px; }
.stack-list { margin-top: 40px; display: grid; gap: 22px; }
.stack-card { position: sticky; top: calc(96px + var(--i) * 18px); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 300px; transform-origin: 50% 0; }
.stack-card > * { min-width: 0; }
.stack-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.035em; }
.stack-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-board .col { padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-height: 150px; }
.mini-board .col span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.mini-board .tk { height: 34px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.paper { padding: 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.paper b { color: var(--fg); }
.notif-list { display: grid; gap: 10px; }
.notif { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; }
.notif .t { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Une touche de couleur par carte : fond teinté léger + accents sur les illustrations. */
.stack-card { --tint: var(--primary); background: linear-gradient(135deg, color-mix(in oklab, var(--tint) 16%, var(--surface)) 0%, color-mix(in oklab, var(--tint) 4%, var(--surface)) 70%); border-color: color-mix(in oklab, var(--tint) 18%, var(--line)); }
.stack-card:nth-child(2) { --tint: var(--accent); }
.stack-card:nth-child(3) { --tint: color-mix(in oklab, var(--primary) 45%, #2fa77c); }
.stack-card h3 { color: color-mix(in oklab, var(--tint) 35%, var(--fg)); }
.mini-board .tk { border-left: 3px solid color-mix(in oklab, var(--tint) 55%, transparent); }
.mini-board .col:nth-child(2) .tk { border-left-color: var(--accent); }
.mini-board .col:nth-child(3) .tk { border-left-color: var(--good); background: color-mix(in oklab, var(--good) 10%, var(--surface)); }
.paper { background: color-mix(in oklab, var(--tint) 6%, var(--surface)); border-color: color-mix(in oklab, var(--tint) 20%, var(--line)); }
.paper b { color: color-mix(in oklab, var(--tint) 60%, var(--fg)); }
.notif { background: color-mix(in oklab, var(--tint) 8%, var(--surface)); border-color: color-mix(in oklab, var(--tint) 22%, var(--line)); }
.notif .ic-w { color: var(--tint); }

/* ---------- Tarifs ---------- */
.pricing { padding-block: 70px 110px; }
.pricing-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan { padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; padding: 3px 8px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); }
.plan .price { font-family: var(--font-display); font-size: 38px; font-weight: 780; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .per { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.plan li { display: flex; gap: 8px; }
.plan li svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
/* Bulle lumineuse qui suit la souris (esprit Spotlight Card) : réservée aux cartes de tarifs.
   --sx / --sy sont posés par ui.js sur tout élément .spot. */
.plan { isolation: isolate; }
.plan::before, .plan::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; }
.plan::before { z-index: -1; background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), color-mix(in oklab, var(--accent) 24%, transparent), transparent 45%); }
.plan::after { padding: 1px; background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, 0%), color-mix(in oklab, var(--accent) 85%, white 15%), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan:hover::before, .plan:hover::after { opacity: 1; }
.plan.featured { border-color: color-mix(in oklab, var(--primary) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 30%, transparent), 0 30px 60px -30px color-mix(in oklab, var(--primary) 60%, transparent); }
.schools { margin-top: 36px; display: grid; gap: 22px; }
.sch-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.03em; max-width: 30em; }
.sch-head p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 42em; }
.sch-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.sch-stats div { padding: 22px 20px; display: grid; gap: 4px; }
.sch-stats div + div { border-left: 1px solid var(--line); }
.sch-stats b { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 760; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sch-stats span { color: var(--muted); font-size: 13.5px; }
.sch-note { font-size: 13.5px; color: var(--muted); max-width: 52em; }
.sch-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.sch-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sch-feats article { padding: 20px; display: grid; gap: 8px; align-content: start; }
.sch-feats .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: color-mix(in oklab, var(--primary) 12%, transparent); }
.sch-feats .ic svg { width: 18px; height: 18px; }
.sch-feats h4, .sch-pilot h4 { font-size: 16px; letter-spacing: -0.02em; }
.sch-feats p, .sch-pilot p { color: var(--muted); font-size: 14px; }
.sch-pilot { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.sch-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.sch-pilot .sch-ctas { flex-direction: column; }
.sch-pilot .btn { width: 100%; white-space: normal; height: auto; min-height: 44px; padding-block: 10px; text-align: center; }
.sch-end { justify-content: center; }
.sch-table { overflow-x: auto; }
.schools table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.schools th, .schools td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.schools th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.schools td:last-child, .schools th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Footer cinématique (port de « Motion Footer », jahed) ---------- */
.cine-wrap { position: relative; height: 100vh; height: 100svh; width: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); margin-top: -36px; }
.cine { position: fixed; bottom: 0; left: 0; width: 100%; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--bg-2); color: var(--fg); z-index: 1; }
.cine-aurora { position: absolute; left: 50%; top: 50%; width: 80vw; height: 60vh; border-radius: 50%; filter: blur(80px); pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 28%, transparent) 0%, color-mix(in oklab, var(--accent) 22%, transparent) 40%, transparent 70%);
  animation: breathe 8s ease-in-out infinite alternate; }
@keyframes breathe { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.cine .grid-bg { -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.cine-giant { position: absolute; left: 50%; bottom: -4vh; transform: translateX(-50%); white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-size: 25vw; line-height: 0.75; font-weight: 600; letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklab, var(--fg) 7%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--fg) 13%, transparent), transparent 62%); -webkit-background-clip: text; background-clip: text; }
.marquee { position: absolute; top: calc(92px + env(safe-area-inset-top, 0px)); left: 0; width: 100%; overflow: hidden; padding-block: 15px; transform: rotate(-2deg) scale(1.1); z-index: 2;
  border-block: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.marquee-track span { padding-inline: 22px; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.cine-center { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-top: 130px; }
.cine-title { font-size: clamp(2.6rem, 8vw, 6.4rem); font-weight: 880; letter-spacing: -0.055em; line-height: 0.95; max-width: 12em;
  background: linear-gradient(180deg, var(--fg), color-mix(in oklab, var(--fg) 40%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine-sub { margin-top: 18px; color: var(--muted); font-size: 16px; }
.cine-links { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cine-links .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.pill-sm { height: 38px; padding: 0 16px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.cine-bottom { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 0; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.cine-bottom .copy { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.made { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.made .h { color: var(--bad); animation: beat 2s cubic-bezier(0.25, 1, 0.5, 1) infinite; display: inline-block; }
.made b { color: var(--fg); letter-spacing: 0; text-transform: none; font-family: var(--font-display); font-size: 13px; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* Sans animation (mouvement réduit ou GSAP absent) : les trois scènes restent visibles, côte à côte. */
.how-static .how-body { grid-template-columns: 1fr; min-height: 0; }
.how-static .how-steps li { opacity: 1; --p: 1; }
@media (max-width: 900px) { .how-steps li { opacity: 1; --p: 1; } }
.how-static .how-stage { height: auto; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; background: none; border: 0; box-shadow: none; }
.how-static .how-stage::before { display: none; }
.how-static .scene, .how-static .scene + .scene { position: relative; opacity: 1; visibility: visible; padding: 0; align-content: start; }
.how-static .scene-cap { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 10px; justify-self: start; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .hero-grid, .score-card, .stack-card { grid-template-columns: 1fr; }
  .hero-stack { height: 400px; margin-top: 30px; }
  .how-body { grid-template-columns: 1fr; min-height: 0; }
  .how-stage { height: auto; overflow: visible; border-radius: 0; display: grid; gap: 14px; background: none; border: 0; box-shadow: none; }
  .how-stage::before { display: none; }
  .scene, .scene + .scene { position: relative; opacity: 1; visibility: visible; padding: 24px 0 0; }
  .scene-cap { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 10px; justify-self: start; }
  .tools, .plans { grid-template-columns: 1fr 1fr; }
  .sch-grid { grid-template-columns: 1fr; }
  .stack-card { top: calc(80px + var(--i) * 14px); }
  .cine-bottom { flex-direction: column-reverse; padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .sch-stats, .sch-feats { grid-template-columns: 1fr; }
  .sch-stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tools, .plans { grid-template-columns: 1fr; }
  .hero-stack { height: 390px; }
  .job-mini:nth-of-type(2) { top: 128px; }
  .job-mini:nth-of-type(3) { top: 256px; }
  .cine-giant { bottom: 6vh; }
}
