/* ══════════════════════════════════════════════════════════════════════════
   Thoth — la vitrine
   Une page gris clair où les sections sont des cartes ; trois cartes noires
   seulement — le héros, le film, l'appel final — parce que la braise de
   Thoth n'existe que sur du noir. Le noir sert aussi d'accent : les boutons,
   l'offre recommandée, une case du principe. L'orange reste rare : la braise,
   la puce des boutons sur fond sombre, le point « en cours ».
   Une seule famille, DM Sans, et sa sœur DM Mono pour les étiquettes « // ».
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --fond: #ededed;
  --carte: #ffffff;
  --encre: #0c0c0d;
  --texte-2: #5d5d62;            /* 5,6:1 sur le fond, 6,6:1 sur blanc */
  --pale: #8e8e93;               /* gros titres seulement (≥ 24 px) */
  --pale-clair: #a7a7ac;
  --filet: rgba(0, 0, 0, .09);
  --noir: #0b0b0c;
  --nuit-texte: #f2f2f4;
  --nuit-2: #a4a4aa;             /* 7,9:1 sur noir */
  --braise: #f9773f;             /* encre sombre dessus : 6,9:1 */
  --braise-encre: #1a0f0a;

  --f-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-maths: 'Cambria Math', 'STIX Two Math', 'Times New Roman', serif;

  --marge: 10px;                 /* le cadre autour des cartes pleine largeur */
  --g-gauche: max(20px, env(safe-area-inset-left, 0px));
  --g-droite: max(20px, env(safe-area-inset-right, 0px));
  --r-grand: 28px;
  --r-carte: 22px;
  --courbe: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 400 16px/1.5 var(--f-sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
sub { font-size: .68em; line-height: 0; vertical-align: -.28em; }
:focus-visible { outline: 2px solid var(--braise); outline-offset: 3px; border-radius: 10px; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--encre); color: #fff; text-decoration: none; }
.evitement:focus { left: 16px; }

/* ── Boutons : un rectangle doux, et une puce carrée qui porte la flèche ── */
.bouton {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 6px 22px 6px 6px;
  border-radius: 14px; font: 500 15px/1 var(--f-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--courbe), background-color .25s, color .25s;
}
.bouton:active { transform: scale(.97); }
.puce { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; transition: transform .35s var(--courbe); }
.puce svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bouton:hover .puce { transform: translateX(2px); }
.bouton-noir { background: var(--encre); color: #fff; }
.bouton-noir .puce { background: #fff; color: var(--encre); }
.bouton-noir:hover { background: #26262a; }
.bouton-blanc { background: #fff; color: var(--encre); }
.bouton-blanc:hover { background: #f1f1f3; }
.puce-braise { background: var(--braise); color: var(--braise-encre); }

/* ── Le verre : réservé à ce qui flotte au-dessus d'une scène ───────────── */
.verre-sombre {
  position: relative; isolation: isolate;
  background: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.verre-sombre::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(140deg, rgba(255,255,255,.45), rgba(255,255,255,.06) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) calc(var(--g-droite) + 10px) 0 calc(var(--g-gauche) + 10px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-gauche { display: flex; gap: 6px; }
.nav-pastille { display: flex; align-items: center; height: 48px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.06), 0 8px 24px -16px rgba(0,0,0,.35); }
.nav-marque { gap: 8px; padding: 0 16px 0 13px; font-weight: 700; font-size: 17px; letter-spacing: -.03em; text-decoration: none; color: var(--encre); display: inline-flex; align-items: center; }
.nav-marque b, .pied-marque b { color: var(--braise); }
.nav-liens { padding: 0 6px; gap: 2px; }
.nav-liens a { padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--texte-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-liens a:hover { color: var(--encre); background: rgba(0,0,0,.05); }
.bouton-nav { height: 48px; padding: 4px 18px 4px 4px; gap: 12px; font-size: 14px; }
.bouton-nav .puce { width: 40px; height: 40px; }
.nav.sur-sombre .bouton-nav { background: #fff; color: var(--encre); }
.nav.sur-sombre .bouton-nav .puce { background: var(--braise); color: var(--braise-encre); }
@media (max-width: 900px) { .nav-liens { display: none; } }

/* ── Le héros ───────────────────────────────────────────────────────────── */
.heros {
  position: relative; margin: var(--marge); border-radius: var(--r-grand); overflow: hidden; background: #000; color: var(--nuit-texte);
  height: calc(100vh - 2 * var(--marge)); height: calc(100svh - 2 * var(--marge)); min-height: 620px; max-height: 1080px;
  isolation: isolate;
}
.heros-scene { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.heros-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dune-repli { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.heros.sans-webgl .dune { display: none; }
.heros.sans-webgl .dune-repli { display: block; }

/* Thoth : posé sur le sommet que la dune calcule (--sx, --sy, en px). */
.thoth, .lueur { position: absolute; left: var(--sx, 66%); top: var(--sy, 60%); }
.thoth { width: var(--tw, 90px); translate: -50% -94%; z-index: 2; }
.lueur { width: calc(var(--tw, 90px) * 5); aspect-ratio: 2.2; translate: -50% -50%; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,140,80,.30), rgba(249,119,63,.10) 45%, transparent 75%); mix-blend-mode: screen;
  animation: souffle 5.5s ease-in-out infinite; }
.thoth-corps { position: relative; aspect-ratio: 297 / 453; overflow: hidden; animation: respire 5.5s ease-in-out infinite; transform-origin: 50% 100%; }
/* Les rendus sont ceux de l'app : une toile de 512 px dont la créature occupe
   le coin haut-gauche (297 × 453). On cadre par la boîte. */
.thoth-corps img { position: absolute; left: 0; top: 0; width: 172.39%; max-width: none; height: auto; }
.antenne { transform-origin: 28.8% 18.1%; animation: antenne 6s ease-in-out infinite; }
.yeux { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.yeux rect { fill: #161210; transform-box: fill-box; transform-origin: center; animation: cligne 5.2s infinite; }
.regard { transition: transform .4s var(--courbe); }
@keyframes respire { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .988); } }
@keyframes souffle { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes antenne { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes cligne { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } 97% { transform: scaleY(1); } }

.heros-texte {
  position: absolute; z-index: 3; left: clamp(24px, 4.4vw, 64px); top: clamp(120px, 21%, 220px); width: min(560px, 46%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.heros h1 { font-size: clamp(44px, 5.6vw, 86px); line-height: .98; letter-spacing: -.05em; font-weight: 600; }
.pale { color: var(--pale); }
.heros-texte > p:not(.mention) { max-width: 27em; font-size: clamp(16px, 1.25vw, 18px); color: #c8c8cd; }
.heros .bouton { margin-top: 6px; }
.mention { font-size: 13px; color: var(--nuit-2); margin-top: -8px; }

.carte-film {
  position: absolute; z-index: 3; right: clamp(20px, 2.4vw, 36px); top: clamp(96px, 13%, 130px); width: clamp(240px, 21vw, 320px);
  padding: 8px; border-radius: 22px; text-decoration: none; color: var(--nuit-texte); display: block;
  transition: transform .45s var(--courbe);
}
.carte-film:hover { transform: translateY(-3px); }
.carte-film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; background: #111; }
.carte-film-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 8px 6px 10px; }
.carte-film-ligne > span { display: flex; flex-direction: column; gap: 2px; }
.carte-film-ligne b { font-weight: 600; font-size: 15px; }
.carte-film-ligne .mono { color: var(--nuit-2); font-size: 11px; }
.carte-film-ligne svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.heros-bas { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 32px; padding: 0 0 22px clamp(24px, 4.4vw, 64px); }
.heros-bas > p { flex: none; font-size: 13px; color: var(--nuit-2); }
.heros-bas .defile { flex: 1; min-width: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.heros-bas .defile-piste span { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.62); padding: 0 22px; }

@media (max-width: 900px) {
  .heros { min-height: 640px; }
  .heros-texte { left: var(--g-gauche); right: var(--g-droite); width: auto; top: calc(env(safe-area-inset-top, 0px) + 92px); gap: 16px; }
  .heros h1 { font-size: clamp(40px, 11.4vw, 56px); }
  .heros-texte > p:not(.mention) { font-size: 15px; }
  .carte-film { display: none; }
  .heros-bas { flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 18px; }
  .heros-bas > p { padding-left: var(--g-gauche); }
}

/* ── Défilements ────────────────────────────────────────────────────────── */
.defile { overflow: hidden; }
.defile-piste { display: flex; width: max-content; animation: defile 46s linear infinite; }
.defile-piste > * { flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }

.bandeau { margin: 0 var(--marge); padding: 14px 0; border-radius: 14px; background: #fff; overflow: hidden; }
.bandeau .defile-piste { animation-duration: 38s; align-items: center; }
.bandeau span { padding: 0 28px; font-size: 14px; color: var(--texte-2); white-space: nowrap; }
.bandeau .mono { color: var(--encre); font-weight: 500; }

.titre-defile { overflow: hidden; margin-bottom: clamp(32px, 5vw, 64px); }
.titre-defile .defile-piste { align-items: center; animation-duration: 30s; }
.titre-defile span { font-size: clamp(76px, 14vw, 210px); font-weight: 600; letter-spacing: -.06em; line-height: .9; padding: 0 .12em; white-space: nowrap; }
.titre-defile i { font-style: normal; font-size: clamp(60px, 10vw, 150px); color: #d9d9dc; padding: 0 .12em; display: inline-block; animation: tourne 14s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.bloc { padding-block: clamp(88px, 11vw, 150px); }
.bloc-blanc { background: #fff; margin: 0 var(--marge); border-radius: var(--r-grand); }
.enveloppe { max-width: 1240px; margin: 0 auto; padding-left: var(--g-gauche); padding-right: var(--g-droite); }
.surtitre { color: var(--texte-2); margin-bottom: 20px; }
.bloc h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; max-width: 18em; }
.chapeau { margin-top: 18px; max-width: 34em; color: var(--texte-2); font-size: clamp(16px, 1.25vw, 18px); }
.tete-section { margin-bottom: clamp(36px, 5vw, 60px); }
.pale-clair { color: var(--pale); }

/* Le texte qui s'allume mot à mot, au rythme du défilement. */
.mots .mot { color: #c3c3c7; transition: color .35s; }
.mots .mot.allume { color: var(--encre); }
html:not(.js) .mots .mot { color: inherit; }

.js .revele { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--courbe), transform .9s var(--courbe); }
.js .revele.vu { opacity: 1; transform: none; }

/* ── Le principe : quatre cases ─────────────────────────────────────────── */
.bento { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr 1.15fr 1.25fr; gap: 12px; align-items: stretch; }
.case { min-width: 0; position: relative; border-radius: var(--r-carte); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; overflow: hidden; }
.case-texte { color: var(--texte-2); font-size: 14px; line-height: 1.45; }
.case-texte b { color: var(--encre); font-weight: 600; }
.case-noire { background: var(--noir); color: var(--nuit-texte); min-height: 320px; }
.case-noire .case-texte { color: var(--nuit-2); margin-top: auto; }
.case-icone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--encre); }
.case-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-chiffre { margin-top: 26px; font-size: clamp(44px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
/* Le compteur : chaque rappel chasse le précédent vers le haut. */
.compteur { display: inline-grid; overflow: hidden; padding-bottom: .06em; }
.compteur > span { grid-area: 1 / 1; transition: transform .6s var(--courbe), opacity .45s; }
.compteur > span.entre { transform: translateY(100%); opacity: 0; }
.compteur > span.sort { transform: translateY(-100%); opacity: 0; }
.jalons { list-style: none; padding: 0; margin-top: 16px; display: flex; gap: 5px; }
.jalons li { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); transition: background-color .5s; }
.jalons li.fait { background: rgba(255,255,255,.55); }
.jalons li.actuel { background: var(--braise); }
.case-pile { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-width: 0; }
.case-pointillee { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.14); justify-content: space-between; }
.mini-cartes { position: relative; height: 96px; }
.mini-cartes span { position: absolute; top: 12px; width: 72px; height: 58px; padding: 8px 10px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 10px 22px -14px rgba(0,0,0,.35); }
.mini-cartes span:nth-child(1) { left: 6px; rotate: -9deg; }
.mini-cartes span:nth-child(2) { left: 56px; top: 2px; z-index: 1; }
.mini-cartes span:nth-child(3) { left: 106px; rotate: 9deg; z-index: 2; }
.case-ligne { flex-direction: row; align-items: center; gap: 14px; padding: 18px 22px; }
.case-chiffre-petit { font-size: 40px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
/* Le tuteur : Thoth lui-même, à qui l'on vient de poser une question. */
.case-tuteur { background: #e2e2e5; justify-content: flex-end; min-height: 320px; }
.case-tuteur h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.tuteur-scene { position: absolute; inset: 0 0 32% 0; display: grid; place-items: center; }
.tuteur-thoth { position: relative; width: 74px; margin-top: 34px; }
.tuteur-thoth::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 62%; width: 320%; aspect-ratio: 1.5; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,119,63,.30), rgba(249,119,63,.08) 55%, transparent 75%); }
.tuteur-thoth::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 86%; height: 10px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(40,25,20,.28), transparent); }
.tuteur-bulle { position: absolute; top: 22px; right: 18px; max-width: 70%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #fff; font-size: 13px; font-weight: 500; letter-spacing: -.01em; box-shadow: 0 10px 24px -16px rgba(0,0,0,.4); animation: bulle 6s var(--courbe) infinite; }
@keyframes bulle { 0%, 8% { opacity: 0; transform: translateY(6px) scale(.96); } 16%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-4px); } }
.case-bas { display: flex; flex-direction: column; gap: 4px; }
.case-blanche { justify-content: space-between; min-height: 320px; }
.guillemets { width: 30px; height: 24px; fill: var(--encre); }
.citation { font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin-top: auto; }
.source { color: var(--texte-2); }
@media (max-width: 1060px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .case-noire, .case-tuteur, .case-blanche { min-height: 260px; }
}

/* ── Comment ça marche ──────────────────────────────────────────────────── */
.processus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.etapes { border-top: 1px solid var(--filet); }
.etape { border-bottom: 1px solid var(--filet); }
.etape button { width: 100%; display: flex; align-items: baseline; gap: 18px; padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--pale); transition: color .3s; }
.etape button .mono { color: inherit; }
.etape-titre { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.etape.ouverte button, .etape button:hover { color: var(--encre); }
.etape p { overflow: hidden; color: var(--texte-2); max-width: 32em; padding-left: 52px; max-height: 0; opacity: 0; transition: max-height .5s var(--courbe), opacity .4s, padding .4s var(--courbe); }
.etape.ouverte p { max-height: 12em; opacity: 1; padding-bottom: 26px; }
.visuels { position: sticky; top: 110px; aspect-ratio: 4 / 3; border-radius: var(--r-carte); background: var(--fond); overflow: hidden; }
.visuel { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; animation: apparait .6s var(--courbe); }
.visuel[hidden] { display: none; }
@keyframes apparait { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.sources { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 92px)); gap: 12px; justify-content: center; }
.sources li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 0 14px; border-radius: 18px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -18px rgba(0,0,0,.35); }
.sources svg { width: 26px; height: 26px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.document { position: relative; width: min(300px, 76%); aspect-ratio: .78; padding: 26px 24px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 11px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0,0,0,.4); }
.doc-titre { font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.document i { height: 7px; border-radius: 4px; background: #e6e6e9; }
.document i.court { width: 62%; }
.lecture { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--braise) 20%, #ffd9c4 50%, var(--braise) 80%, transparent); box-shadow: 0 0 18px 4px rgba(249,119,63,.35); animation: lecture 2.8s var(--courbe) infinite; }
.lecture::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 70px; background: linear-gradient(to top, rgba(249,119,63,.12), transparent); }
@keyframes lecture { from { transform: translateY(0); } to { transform: translateY(380px); } }
.eventail { position: relative; width: 100%; height: 100%; }
.ev { position: absolute; left: 50%; top: 50%; width: min(230px, 56%); aspect-ratio: 1.3; padding: 16px 18px; border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 0 0 .5px rgba(0,0,0,.06), 0 24px 40px -26px rgba(0,0,0,.4); }
.ev .mono { color: var(--texte-2); }
.ev b { font-size: 16px; letter-spacing: -.02em; line-height: 1.25; font-weight: 600; }
.ev i { height: 6px; border-radius: 3px; background: #e6e6e9; }
.ev i.court { width: 60%; }
.ev em { font-style: normal; font-size: 13px; padding: 6px 10px; border-radius: 9px; background: var(--fond); }
.ev em:first-of-type { box-shadow: inset 0 0 0 1.5px #34c759; }
.ev-1 { translate: -92% -58%; rotate: -7deg; }
.ev-2 { translate: -50% -50%; z-index: 2; background: var(--noir); color: var(--nuit-texte); }
.ev-2 .mono { color: var(--nuit-2); }
.ev-3 { translate: -8% -40%; rotate: 7deg; z-index: 1; }
/* La courbe de la mémoire : une carte blanche dans le panneau, la courbe se
   trace quand on ouvre le quatrième temps. */
.courbe-carte { width: 100%; padding: 18px 18px 10px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -34px rgba(0,0,0,.4); }
.courbe-carte .mono { color: var(--texte-2); }
.courbe { display: block; width: 100%; height: auto; overflow: visible; margin-top: 4px; }
.courbe text { font: 500 11.5px var(--f-mono); fill: var(--texte-2); }
.courbe .grille { stroke: rgba(0,0,0,.07); }
.courbe .aire { fill: url(#courbe-aire); }
.courbe .sans { fill: none; stroke: #bdbdc2; stroke-width: 1.8; stroke-dasharray: 4 6; stroke-linecap: round; }
.courbe .avec { fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.courbe .repere { fill: var(--braise); stroke: #fff; stroke-width: 2.5; }
.courbe .etiquette { fill: var(--encre); font-weight: 500; }
.courbe .examen-ligne { stroke: var(--encre); stroke-width: 1.2; stroke-dasharray: 2 4; }
.courbe .examen-point { fill: var(--encre); stroke: #fff; stroke-width: 3; }
.courbe .examen-pilule { fill: var(--encre); }
.courbe .examen-texte { fill: #fff; font: 600 12px var(--f-sans); letter-spacing: -.01em; }
.courbe .examen-valeur { fill: var(--encre); font: 600 13px var(--f-sans); }
.visuel:not([hidden]) .courbe .avec { animation: trace 1.8s var(--courbe) both; }
.visuel:not([hidden]) .courbe .sans { animation: fondu 1s both; }
.visuel:not([hidden]) .courbe .aire, .visuel:not([hidden]) .courbe .marques { animation: fondu .8s .9s both; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fondu { from { opacity: 0; } }
.capitales { margin-top: clamp(40px, 5vw, 64px); max-width: 52em; font: 500 13px/1.6 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--texte-2); }
@media (max-width: 860px) {
  .processus { grid-template-columns: minmax(0, 1fr); }
  .visuels { position: relative; top: 0; order: -1; }
  .etape p { padding-left: 0; }
}

/* ── Le film ────────────────────────────────────────────────────────────── */
.film { position: relative; margin: var(--marge); border-radius: var(--r-grand); overflow: hidden; background: #000; color: var(--nuit-texte); aspect-ratio: 16 / 9; max-height: calc(100svh - 2 * var(--marge)); width: calc(100% - 2 * var(--marge)); }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-voile { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: clamp(20px, 3vw, 40px); background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 40%, rgba(0,0,0,.6)); transition: opacity .5s; }
.film.joue .film-voile { opacity: 0; pointer-events: none; }
.film-intro { max-width: 24em; color: #d5d5da; font-size: clamp(14px, 1.2vw, 17px); }
.pastille-duree { align-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 500 13px var(--f-mono); background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pastille-duree svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.lecture-film { grid-column: 1 / -1; place-self: center; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--courbe), background-color .3s; }
.lecture-film:hover { transform: scale(1.06); background: rgba(255,255,255,.14); }
.lecture-film svg { width: 34%; fill: currentColor; margin-left: 6%; }
.film h2 { grid-column: 1 / -1; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
/* Sur un téléphone, le film reste en 16:9 : plus haut, il flottait dans le
   noir. L'introduction s'efface, le titre et le bouton suffisent. */
@media (max-width: 640px) {
  .film { aspect-ratio: 16 / 11; }
  .film-intro { display: none; }
  .film h2 { font-size: 24px; }
  .lecture-film { width: 64px; }
}

/* ── Le coach ───────────────────────────────────────────────────────────── */
.coach { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.coach-carte { border-radius: var(--r-grand); background: var(--noir); color: var(--nuit-texte); padding: 22px; position: relative; overflow: hidden; isolation: isolate; }
.coach-carte::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,119,63,.28), transparent); }
.coach-tete { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 18px; }
.coach-tete b { display: block; font-weight: 600; }
.coach-tete .mono { color: var(--nuit-2); }
.mini-thoth { width: 40px; }
.fil { display: flex; flex-direction: column; gap: 14px; }
.contexte { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--nuit-2); }
.point-vif { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--braise); box-shadow: 0 0 10px var(--braise); }
.bulle { font-size: 15px; line-height: 1.5; }
.bulle-moi { align-self: flex-end; max-width: 82%; padding: 11px 16px; border-radius: 18px 18px 6px 18px; background: rgba(255,255,255,.13); }
.bulle-thoth em { font-style: italic; }
.schema { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 14px; }
.boite { padding: 7px 11px; border-radius: 11px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.boite-fin { box-shadow: inset 0 0 0 1px rgba(249,119,63,.7); }
.lien { display: inline-flex; flex-direction: column; align-items: center; padding: 0 2px; font-size: 10.5px; color: var(--nuit-2); line-height: 1.2; }
.lien svg { width: 40px; height: 8px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.coach-texte h2 { font-size: clamp(34px, 4.2vw, 60px); }
.capacites { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 20px; }
.capacites li { display: flex; gap: 16px; align-items: flex-start; }
.capa-icone { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.capa-icone svg { width: 20px; height: 20px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.capacites b { font-weight: 600; letter-spacing: -.01em; }
.capacites p { color: var(--texte-2); font-size: 15px; }
.langues { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.langues span { padding: 8px 14px; border-radius: 10px; background: #fff; font: 500 13px var(--f-mono); }
.langues p { margin-left: 8px; font-size: 14px; color: var(--texte-2); }
@media (max-width: 900px) { .coach { grid-template-columns: minmax(0, 1fr); } .coach-texte { order: -1; } }

/* ── Les fonctions ──────────────────────────────────────────────────────── */
.fonctions { list-style: none; padding: 0; border-top: 1px solid var(--filet); }
.fonctions li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--filet); transition: padding .4s var(--courbe); }
.fonctions li:hover { padding-left: 12px; }
.fonctions .mono { color: var(--texte-2); }
.fonctions h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.fonctions p { color: var(--texte-2); max-width: 34em; }
@media (max-width: 760px) { .fonctions li { grid-template-columns: 56px minmax(0, 1fr); } .fonctions p { grid-column: 2; } }

/* ── Pourquoi « Thoth » ─────────────────────────────────────────────────── */
#idees h2 { max-width: 20em; }
.principes { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.principes > div { padding: 24px; border-radius: var(--r-carte); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.principes h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.principes p { color: var(--texte-2); font-size: 14px; }
@media (max-width: 1000px) { .principes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principes { grid-template-columns: minmax(0, 1fr); } }

/* ── Tarifs ─────────────────────────────────────────────────────────────── */
.tarifs-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tarifs-tete .chapeau { margin: 0; max-width: 26em; }
.periode { display: flex; padding: 4px; border-radius: 13px; background: var(--fond); }
.periode button { height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--texte-2); font: 500 14px var(--f-sans); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.periode button[aria-pressed="true"] { background: #fff; color: var(--encre); box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 4px 10px -4px rgba(0,0,0,.15); }
.economie { color: #b9430f; }
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-carte); overflow: hidden; box-shadow: inset 0 0 0 1px var(--filet); }
.offre { position: relative; min-width: 0; padding: 30px 28px 32px; display: flex; flex-direction: column; isolation: isolate; }
.offre + .offre { box-shadow: inset 1px 0 0 var(--filet); }
.offre h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.prix { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; }
.prix-montant { font-size: clamp(42px, 4vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.prix-unite { color: var(--texte-2); font-size: 15px; }
.prix-sous { margin-top: 8px; color: var(--texte-2); font-size: 13px; }
.offre-ligne { margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid var(--filet); font-size: 15px; }
.offre .bouton { align-self: flex-start; }
.offre ul { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 11px; }
.offre li { display: flex; gap: 10px; font-size: 14px; color: var(--texte-2); }
.offre li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* L'offre recommandée : la seule colonne noire, rayée de lignes de dune. */
.offre-phare { background: var(--noir); color: var(--nuit-texte); }
.offre-phare::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='420' viewBox='0 0 400 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1'%3E%3Cpath d='M-20 60 C80 20 160 90 250 50 S380 10 420 40'/%3E%3Cpath d='M-20 100 C80 60 160 130 250 90 S380 50 420 80'/%3E%3Cpath d='M-20 140 C80 100 160 170 250 130 S380 90 420 120'/%3E%3Cpath d='M-20 180 C80 140 160 210 250 170 S380 130 420 160'/%3E%3Cpath d='M-20 220 C80 180 160 250 250 210 S380 170 420 200'/%3E%3Cpath d='M-20 260 C80 220 160 290 250 250 S380 210 420 240'/%3E%3Cpath d='M-20 300 C80 260 160 330 250 290 S380 250 420 280'/%3E%3Cpath d='M-20 340 C80 300 160 370 250 330 S380 290 420 320'/%3E%3Cpath d='M-20 380 C80 340 160 410 250 370 S380 330 420 360'/%3E%3C/g%3E%3C/svg%3E") center / 400px 420px; }
.offre-phare::after { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 60%; z-index: -1; background: radial-gradient(closest-side, rgba(249,119,63,.22), transparent); }
.offre-phare .prix-unite, .offre-phare .prix-sous, .offre-phare li { color: var(--nuit-2); }
.offre-phare .offre-ligne { border-color: rgba(255,255,255,.12); }
.offre-badge { position: absolute; top: 30px; right: 26px; padding: 5px 10px; border-radius: 8px; background: var(--braise); color: var(--braise-encre); font-size: 11px; font-weight: 500; }
.bareme { margin-top: 12px; padding: 22px 24px; border-radius: var(--r-carte); background: var(--fond); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 24px; align-items: center; }
.bareme > .mono { color: var(--texte-2); }
.bareme dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bareme dl div { padding: 12px 14px; border-radius: 14px; background: #fff; }
.bareme dt { font-size: 12px; color: var(--texte-2); }
.bareme dd { margin-top: 2px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mentions-prix { margin-top: 20px; font-size: 12px; color: var(--texte-2); }
@media (max-width: 960px) {
  .offres { grid-template-columns: minmax(0, 1fr); }
  .offre + .offre { box-shadow: inset 0 1px 0 var(--filet); }
  .bareme { grid-template-columns: minmax(0, 1fr); }
  .bareme dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Questions ──────────────────────────────────────────────────────────── */
.questions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.questions-tete { position: sticky; top: 110px; }
.questions-tete h2 { font-size: clamp(32px, 3.8vw, 52px); }
.questions-tete .bouton { margin-top: 28px; }
.faq details { border-radius: 18px; background: #fff; margin-bottom: 8px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 8px; background-color: var(--fond); transition: rotate .35s var(--courbe);
  background-image: linear-gradient(var(--encre), var(--encre)), linear-gradient(var(--encre), var(--encre)); background-size: 11px 1.6px, 1.6px 11px; background-position: center; background-repeat: no-repeat; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; color: var(--texte-2); max-width: 40em; }
@media (max-width: 860px) { .questions { grid-template-columns: minmax(0, 1fr); } .questions-tete { position: static; } }

/* ── L'appel final ──────────────────────────────────────────────────────── */
.appel { position: relative; margin: var(--marge); border-radius: var(--r-grand); overflow: hidden; background: #000; color: var(--nuit-texte); padding-block: clamp(96px, 12vw, 170px); isolation: isolate; }
.appel::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 32%; width: min(900px, 120%); aspect-ratio: 1.6; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,119,63,.26), rgba(249,119,63,.06) 55%, transparent 75%); }
.appel-contenu { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-left: var(--g-gauche); padding-right: var(--g-droite); }
.mini-thoth-grand { width: clamp(70px, 7vw, 96px); margin-bottom: 8px; }
.appel h2 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -.05em; font-weight: 600; max-width: 12em; }

/* ── Pied ───────────────────────────────────────────────────────────────── */
.pied { padding: clamp(64px, 8vw, 100px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.pied-marque .nav-marque { padding: 0; }
.pied-marque p { margin-top: 12px; color: var(--texte-2); font-size: 14px; }
.pied nav { display: flex; flex-direction: column; gap: 10px; }
.pied nav .mono { color: var(--texte-2); margin-bottom: 4px; }
.pied nav a { text-decoration: none; font-size: 14px; color: var(--encre); width: fit-content; }
.pied nav a:hover { text-decoration: underline; }
.pied-mot { margin-top: clamp(48px, 7vw, 90px); font-size: clamp(90px, 24vw, 380px); font-weight: 600; letter-spacing: -.07em; line-height: .8; color: #dcdcdf; user-select: none; }
.pied-bas { margin-top: 24px; font-size: 12px; color: var(--texte-2); }
@media (max-width: 760px) { .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-marque { grid-column: 1 / -1; } }

/* ── Thoth Influenceur ──────────────────────────────────────────────────
   Le même cadre noir que le héros de l'accueil ; à la place de la dune, une
   scène : Thoth sous un projecteur, sur une estrade de lumière. */
.nav-liens a[aria-current="page"] { color: var(--encre); background: rgba(0,0,0,.06); }
.heros-influ {
  position: relative; margin: var(--marge); border-radius: var(--r-grand); overflow: hidden; background: #000; color: var(--nuit-texte);
  min-height: min(880px, calc(100svh - 2 * var(--marge))); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  padding: 120px clamp(24px, 4.4vw, 64px) 60px; isolation: isolate;
}
.heros-influ::before { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,119,63,.22), transparent); }
.heros-influ-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 560px; }
.surtitre-nuit { color: var(--nuit-2); }
.heros-influ h1 { font-size: clamp(42px, 5.2vw, 80px); line-height: .98; letter-spacing: -.05em; font-weight: 600; }
.heros-influ-texte > p:not(.mention):not(.mono) { max-width: 30em; font-size: clamp(16px, 1.25vw, 18px); color: #c8c8cd; }
.scene-influ { position: relative; height: clamp(380px, 46vw, 620px); }
.projecteur { position: absolute; left: 50%; top: -30%; width: 120%; height: 120%; translate: -50% 0; pointer-events: none;
  background: conic-gradient(from 162deg at 50% 0%, transparent 0deg, rgba(255,236,220,.10) 9deg, rgba(255,240,228,.19) 18deg, rgba(255,236,220,.10) 27deg, transparent 36deg);
  -webkit-mask: linear-gradient(#000 40%, transparent 92%); mask: linear-gradient(#000 40%, transparent 92%);
  filter: blur(4px); animation: projecteur 7s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes projecteur { 0%, 100% { opacity: .85; rotate: -1deg; } 50% { opacity: 1; rotate: 1deg; } }
.estrade { position: absolute; left: 50%; bottom: 12%; width: 70%; aspect-ratio: 4.2; translate: -50% 50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,190,.26), rgba(249,119,63,.14) 45%, transparent 72%); }
.thoth-vedette { position: absolute; left: 50%; bottom: 12%; width: clamp(120px, 13vw, 190px); translate: -50% -2%; }
.thoth-vedette .thoth-corps { animation: respire 5.5s ease-in-out infinite, flotte 6s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.poussieres { position: absolute; inset: 0; pointer-events: none; }
.poussieres i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,240,228,.7); left: calc(42% + var(--x, 0%)); top: 70%; opacity: 0; animation: poussiere 9s linear infinite; }
.poussieres i:nth-child(1) { --x: 2%; animation-delay: 0s; }
.poussieres i:nth-child(2) { --x: 12%; animation-delay: 1.1s; width: 2px; height: 2px; }
.poussieres i:nth-child(3) { --x: -4%; animation-delay: 2.3s; }
.poussieres i:nth-child(4) { --x: 8%; animation-delay: 3.4s; width: 2px; height: 2px; }
.poussieres i:nth-child(5) { --x: 15%; animation-delay: 4.6s; }
.poussieres i:nth-child(6) { --x: 0%; animation-delay: 5.7s; width: 2px; height: 2px; }
.poussieres i:nth-child(7) { --x: 6%; animation-delay: 6.8s; }
.poussieres i:nth-child(8) { --x: 11%; animation-delay: 7.9s; width: 2px; height: 2px; }
@keyframes poussiere { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .5; } 100% { transform: translate(18px, -260px); opacity: 0; } }
@media (max-width: 900px) {
  .heros-influ { grid-template-columns: minmax(0, 1fr); padding: calc(env(safe-area-inset-top, 0px) + 96px) var(--g-droite) 24px var(--g-gauche); gap: 8px; }
  .heros-influ h1 { font-size: clamp(38px, 10.6vw, 54px); }
  .scene-influ { height: 360px; }
}

.avantages { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.avantages .case { min-height: 300px; justify-content: flex-end; }
.avantages .case-icone { margin-bottom: auto; }
.avantages h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.avantages .case-noire .case-texte { margin-top: 0; }
.case-grise { background: #e2e2e5; }
.case-icone-noire { background: var(--encre); color: #fff; }
@media (max-width: 860px) { .avantages { grid-template-columns: minmax(0, 1fr); } .avantages .case { min-height: 240px; } }

.sujets { margin: clamp(40px, 5vw, 64px) 0; }
.sujets .defile-piste { animation-duration: 34s; }
.sujets .defile-piste > span { margin: 0 6px; padding: 12px 20px; border-radius: 14px; background: #fff; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.a-montrer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.montrer { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 170px; padding: 22px 24px; border-radius: var(--r-carte); background: #fff; text-decoration: none; color: var(--encre); transition: transform .4s var(--courbe), box-shadow .4s; }
.montrer:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,0,0,.4); }
.montrer .mono { color: var(--texte-2); }
.montrer b { margin-top: auto; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; max-width: 14em; }
.fleche-lien { position: absolute; top: 18px; right: 20px; font-size: 18px; }
@media (max-width: 860px) { .a-montrer { grid-template-columns: minmax(0, 1fr); } .montrer { min-height: 130px; } }

/* ── Pages légales ──────────────────────────────────────────────────────
   Le titre et le sommaire restent à gauche pendant qu'on lit ; le texte vit
   dans une carte blanche, à une largeur de lecture. */
.legal { padding-block: 150px clamp(80px, 10vw, 140px); }
.legal-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-tete { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 6px; }
.legal-tete h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.legal-tete .chapeau { margin-top: 12px; }
.legal-sommaire { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.legal-sommaire a { width: fit-content; padding: 6px 10px; margin-left: -10px; border-radius: 9px; font-size: 14px; color: var(--texte-2); text-decoration: none; transition: color .2s, background-color .2s; }
.legal-sommaire a:hover { color: var(--encre); background: rgba(0,0,0,.05); }
.legal-texte { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-grand); background: #fff; display: flex; flex-direction: column; gap: 34px; }
.legal-texte section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 110px; }
.legal-texte section + section { padding-top: 34px; border-top: 1px solid var(--filet); }
.legal-texte h2 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.legal-texte p, .legal-texte dd, .legal-texte li { color: #3a3a3e; font-size: 16px; line-height: 1.6; max-width: 40em; }
.legal-texte a { color: var(--encre); text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.legal-texte a:hover { text-decoration-color: currentColor; }
.legal-texte dl { margin: 0; display: grid; gap: 0; border-radius: 16px; background: var(--fond); padding: 4px 18px; }
.legal-texte dl > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; }
.legal-texte dl > div + div { border-top: 1px solid var(--filet); }
.legal-texte dt { font: 500 12px/1.6 var(--f-mono); color: var(--texte-2); padding-top: 2px; }
.legal-texte dd { margin: 0; }
.legal-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legal-points li { position: relative; padding-left: 26px; }
.legal-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--braise); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px var(--braise); }
.selectionnable { user-select: all; font-weight: 500; color: var(--encre); }
.pied nav a[aria-current="page"] { color: var(--texte-2); }
@media (max-width: 860px) {
  .legal { padding-top: calc(env(safe-area-inset-top, 0px) + 110px); }
  .legal-grille { grid-template-columns: minmax(0, 1fr); }
  .legal-tete { position: static; }
  .legal-sommaire { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-sommaire a { margin-left: 0; background: #fff; }
  .legal-texte dl > div { grid-template-columns: minmax(0, 1fr); }
}

/* ── Page introuvable : l'appel final, seul à l'écran. */
.introuvable { min-height: calc(100svh - 2 * var(--marge)); display: grid; place-items: center; }
.introuvable h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }

/* ── Sans mouvement ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .defile-piste, .titre-defile i, .lueur, .thoth-corps, .antenne, .yeux rect, .lecture, .tuteur-bulle, .courbe *, .projecteur, .poussieres i { animation: none !important; }
  .compteur > span { transition: opacity .3s; transform: none !important; }
  .js .revele { transform: none; transition: opacity .4s; }
}
