/* Hold — Instrument Serif + Hanken Grotesk + IBM Plex Mono.
   Deux surfaces : la page est claire, les actes au scroll et le film restent en nuit.
   Tout se joue sur les mêmes jetons, redéfinis par .dark — aucune couleur en dur
   dans les composants, sinon un bloc sombre poserait du texte clair sur fond clair. */
:root {
  --bg: #F2F3F4;
  --surface: #FFFFFF;
  --text: #15171A;
  --sub-text: #41454B;    /* 8,4:1 */
  --muted: #595D64;       /* 5,8:1 */
  --dim: #666B72;         /* 4,6:1 */
  --line: rgba(21, 23, 26, .14);
  --grid: rgba(21, 23, 26, .10);
  --red: #C5342C;         /* rouge lisible en texte sur clair : 4,8:1 */
  --mark: #E04038;        /* rouge des tracés et des points */
  --btn-bg: #15171A;
  --btn-fg: #F7F8F8;
  --btn-hover: #2C3036;
  --ghost-line: rgba(21, 23, 26, .22);
  --ghost-hover: rgba(21, 23, 26, .05);
  --field-bg: #FFFFFF;
  --nav-fade: rgba(242, 243, 244, .88);
  --focus: #15171A;
  --glow: none;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.dark {
  --bg: #000;
  --surface: #0B0B0B;
  --text: #F2F2F2;
  --sub-text: #BDBDBD;
  --muted: #8C8C8C;
  --dim: #7A7A7A;
  --line: rgba(255, 255, 255, .12);
  --grid: rgba(255, 255, 255, .08);
  --red: #F0443E;
  --mark: #F0443E;
  --btn-bg: #FFFFFF;
  --btn-fg: #000000;
  --btn-hover: #D9D9D9;
  --ghost-line: rgba(255, 255, 255, .3);
  --ghost-hover: rgba(255, 255, 255, .08);
  --field-bg: rgba(255, 255, 255, .04);
  --nav-fade: rgba(0, 0, 0, .7);
  --focus: #FFFFFF;
  --glow: 0 0 10px rgba(255, 255, 255, .9);
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
.mono { font-family: var(--mono); }
.soft { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(64px, 11vw, 168px); line-height: .88; letter-spacing: -.03em; }
.title { font-size: clamp(44px, 6.4vw, 96px); line-height: .92; letter-spacing: -.025em; }
.sub { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--sub-text); max-width: 460px; }
.sub b { color: var(--text); font-weight: 500; }
.hint { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; font-size: 15px; border: 1px solid var(--btn-bg); transition: background-color .2s, transform .25s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--ghost-line); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--ghost-line); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav : sombre tant qu'elle survole les actes, claire ensuite (classe posée en JS) */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.nav.dark { background: linear-gradient(var(--nav-fade) 0%, transparent 100%); border-bottom: 1px solid transparent; }
.nav:not(.dark) { background: var(--nav-fade); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav > * { pointer-events: auto; }
.logo { font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; display: inline-flex; align-items: flex-end; gap: 3px; }
.logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mark); margin-bottom: 9px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-r { display: flex; align-items: center; gap: 14px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; border-radius: 6px; }
.link-btn:hover { color: var(--text); background: var(--ghost-hover); }
.nav-sound { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ghost-line); border-radius: 50%; background: none; cursor: pointer; transition: border-color .2s, background-color .2s; }
.nav-sound:hover { background: var(--ghost-hover); }
.nav-sound[aria-pressed="true"] { background: var(--ghost-hover); border-color: var(--text); }
.nav-sound .ico-off { display: block; }
.nav-sound .ico-on { display: none; }
.nav-sound[aria-pressed="true"] .ico-off { display: none; }
.nav-sound[aria-pressed="true"] .ico-on { display: block; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--text); position: absolute; left: 12px; transition: transform .3s var(--ease), opacity .2s; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 25px; }
.nav-burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Actes : la carte reste à l'écran, le scroll fait courir.
   Trois plans par acte : au-delà, l'écran reste figé trop longtemps et on perd le lecteur. */
.act { position: relative; height: 320vh; background: var(--bg); }
.act-short { height: 280vh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.map { position: absolute; inset: 0; }
.night-map { background: #0B0B0B; }
.night-map .maplibregl-canvas { opacity: 0; transition: opacity 1.6s var(--ease); }
.night-map.lit .maplibregl-canvas { opacity: 1; }
.shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 34%, rgba(0, 0, 0, 0) 58%),
  linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 22%),
  linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 14%); }
.captions { position: absolute; inset: 0; pointer-events: none; }
.cap { position: absolute; left: clamp(20px, 6vw, 96px); top: 50%; width: min(640px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 22px; opacity: 0; transform: translateY(calc(-50% + 24px)); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.cap.on { opacity: 1; transform: translateY(-50%); }
.live { position: absolute; left: clamp(20px, 6vw, 96px); bottom: 46px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; color: var(--muted); transition: opacity .5s; }
.live span:first-child { color: var(--text); }
.track { position: absolute; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: 30px; height: 1px; background: var(--line); }
.track i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--text); box-shadow: var(--glow); }
.cue { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--ghost-line); border-radius: 999px; display: grid; justify-items: center; padding-top: 8px; transition: opacity .5s; }
.cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.act.scrolled .cue { opacity: 0; }

/* Étiquettes sur les cartes */
.nl { display: flex; flex-direction: column-reverse; align-items: center; gap: 5px; pointer-events: none; }
.nl i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .55); }
.nl span { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; line-height: 1; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 6px #000, 0 0 2px #000; white-space: nowrap; }
.nl-main span { font-size: 11px; color: #fff; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .25); text-shadow: none; }
.maplibregl-ctrl-attrib { background: rgba(0, 0, 0, .55) !important; color: #7A7A7A; font-size: 10px; }
.maplibregl-ctrl-attrib a { color: #8C8C8C !important; }
.no-map::after { content: "Carte indisponible sur cet appareil"; position: absolute; inset: 0; display: grid; place-items: center; color: #7A7A7A; font-size: 13px; }

/* La demande */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-in { max-width: 1200px; margin: 0 auto; padding: 100px 28px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-head { position: sticky; top: 110px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f > span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.f > span em { font-style: normal; text-transform: none; letter-spacing: .04em; color: var(--dim); }
.f input, .f select, .f textarea {
  min-height: 50px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--ghost-line);
  background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; width: 100%;
  transition: border-color .2s;
}
.f textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--text); }
.f input::placeholder, .f textarea::placeholder { color: var(--dim); }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666B72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.contact .hint { line-height: 1.6; }

/* Essai */
.try { min-height: 100svh; display: grid; place-items: center; padding: 120px 20px; background: radial-gradient(62% 52% at 50% 38%, var(--surface), transparent 72%); }
.try-in { width: min(720px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.try-form { display: flex; gap: 10px; width: min(460px, 100%); margin-top: 10px; }
.field { flex: 1; min-height: 60px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--ghost-line); background: var(--field-bg); color: var(--text); font-size: 20px; text-align: center; transition: border-color .2s; }
.field:focus { outline: none; border-color: var(--text); }
.field::placeholder { color: var(--dim); }
select.field { flex: 0 0 150px; font-size: 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666B72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 36px; }
select.field option { background: var(--surface); color: var(--text); }
.try-out { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 10px 0 8px; animation: rise .7s var(--ease) both; }
.try-out[hidden] { display: none; }
.try-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: min(720px, 100%); border: 1px solid var(--line); background: var(--surface); }
.try-cell { padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.try-cell + .try-cell { border-left: 1px solid var(--line); }
.try-cell.is-self { background: var(--ghost-hover); }
.try-d { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.try-t { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.try-p { font-size: 11px; color: var(--muted); }
.mega { font-family: var(--serif); font-size: clamp(84px, 14vw, 180px); line-height: .85; letter-spacing: -.03em; }
.try .cta-row { justify-content: center; margin-top: 8px; }
.proof { font-size: 12px; letter-spacing: .1em; color: var(--dim); margin-top: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Le film, visible dans la page et pas seulement dans la nav */
.reel { max-width: 1200px; margin: 0 auto; padding: 100px 28px 40px; }
.reel-in { display: grid; grid-template-columns: 1fr minmax(0, 320px); gap: 56px; align-items: center; }
.reel-text { display: flex; flex-direction: column; }
.reel-play { position: relative; width: 100%; aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; padding: 0; cursor: pointer; display: block; }
.reel-play img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .35s var(--ease), transform .7s var(--ease); }
.reel-play:hover img { opacity: .92; transform: scale(1.03); }
.reel-badge { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.reel-circle { width: 68px; height: 68px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s; }
.reel-circle svg { margin-left: 3px; }
.reel-play:hover .reel-circle { transform: scale(1.1); background: rgba(255,255,255,.18); }
.reel-dur { font-size: 11px; letter-spacing: .18em; color: rgba(255,255,255,.75); }

/* Offres */
.offers { max-width: 1200px; margin: 0 auto; padding: 120px 28px 120px; }
.offer-solo { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 48px; padding: 36px 32px; border: 1px solid var(--text); border-radius: 2px; background: var(--surface); align-items: center; }
.solo-l h3 { margin: 12px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.solo-r { display: flex; flex-direction: column; gap: 10px; }
.solo-r .btn { margin-top: 10px; }
.offers-sep { display: flex; align-items: center; gap: 20px; margin: 44px 0 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.offers-sep::before, .offers-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.offers-head { margin-bottom: 60px; }
.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.offer { padding: 36px 28px 32px; border: 1px solid var(--line); border-right: 0; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.offer:last-child { border-right: 1px solid var(--line); }
.offer-pop { border-color: var(--text); position: relative; z-index: 1; }
.offer-pop::before { content: "Le plus complet"; position: absolute; top: -13px; left: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--btn-bg); color: var(--btn-fg); padding: 4px 12px; border-radius: 4px; }
.price { font-family: var(--serif); font-size: 52px; line-height: 1; }
.price small { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.offer-once { font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-top: -4px; }
.offer-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--sub-text); flex: 1; }
.offer-list li { display: flex; align-items: flex-start; gap: 10px; }
.offer-list li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--mark); margin-top: 7px; }
.offer-delay { font-size: 12px; color: var(--dim); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.offer .btn { margin-top: 12px; width: 100%; }

/* Pied de page */
.foot { max-width: 1200px; margin: 0 auto; padding: 0 28px 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 32px 0; border-top: 1px solid var(--line); }
.foot-top .sub { margin-top: 6px; font-size: 14px; }
.foot-links { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); }
.foot-links a[hidden] { display: none; }
.legal { border-top: 1px solid var(--line); }
.legal summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); list-style: none; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; margin-left: 10px; }
.legal[open] summary::after { content: "–"; }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
.legal-grid h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.legal-grid p { margin: 0; }
.credits { font-size: 11px; color: var(--dim); padding-top: 20px; }

/* Le film, en plein écran à la demande */
.film { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.film::backdrop { background: rgba(0, 0, 0, .96); animation: filmIn .5s ease both; }
@keyframes filmIn { from { opacity: 0; } to { opacity: 1; } }
.film[open] { display: grid; place-items: center; animation: filmSlide .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes filmSlide { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.film-wrap { position: relative; height: min(88svh, 900px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 20px; overflow: hidden; background: #000; cursor: pointer; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(0,0,0,.3); transition: opacity .4s var(--ease); }
.film-overlay.hidden { opacity: 0; pointer-events: none; }
.film-play { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), border-color .2s, background-color .2s; }
.film-play:hover { transform: scale(1.08); border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.film-play svg { margin-left: 3px; }
.film-dur { font-size: 12px; letter-spacing: .15em; color: rgba(255,255,255,.6); }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); cursor: pointer; z-index: 2; }
.film-bar:hover { height: 5px; }
.film-progress { height: 100%; width: 0; background: #fff; transition: none; }
.film-time { position: absolute; right: 14px; bottom: 10px; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.5); z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; }
.film-wrap:hover .film-time { opacity: 1; }
.film-close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .5); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s; z-index: 3; }
.film-close:hover { border-color: rgba(255,255,255,.6); transform: scale(1.06); }

/* Révélation douce hors des actes */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Comment ça marche */
.how { max-width: 1200px; margin: 0 auto; padding: 120px 28px 60px; }
.how-steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.how-steps::before, .how-steps::after { content: ""; position: absolute; left: 0; top: 7px; height: 1px; }
.how-steps::before { right: 0; background: var(--line); }
.how-steps::after { width: 0; background: var(--mark); transition: width 2.6s var(--ease) .3s; }
.how-steps.in::after { width: 100%; }
.how-steps li { position: relative; padding-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.how-steps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ghost-line); transition: background-color .4s, border-color .4s; }
.how-steps.in li::before { background: var(--mark); border-color: var(--mark); }
.how-steps.in li:nth-child(2)::before { transition-delay: .9s; }
.how-steps.in li:nth-child(3)::before { transition-delay: 1.6s; }
.how-steps.in li:nth-child(4)::before { transition-delay: 2.3s; }
.how-steps .n { font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.how-steps h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.how-steps p { color: var(--sub-text); font-size: 15px; }
.how-steps .when { margin-top: auto; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* Sous le capot */
.lab { max-width: 1200px; margin: 0 auto; padding: 120px 28px 60px; }
.lab-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 36px; }
.lab-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ghost-line); background: transparent; color: var(--muted); font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lab-tabs button:hover { color: var(--text); background: var(--ghost-hover); }
.lab-tabs button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.lab-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; animation: rise .5s var(--ease) both; }
.lab-panel[hidden] { display: none; }
.lab-text { display: flex; flex-direction: column; gap: 16px; }
.lab-text h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
.lab-big { font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); line-height: .9; margin-top: 8px; }
.lab-big.red { color: var(--red); }
.lab-read { font-size: 13px; color: var(--sub-text); min-height: 40px; }
.lab-ctl { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.lab-ctl b { color: var(--text); font-weight: 500; }
.lab-chart { height: 420px; }
.lab-chart svg { width: 100%; height: 100%; overflow: visible; }
.lab-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-family: var(--mono); font-size: 13px; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--ghost-line); background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover { color: var(--text); background: var(--ghost-hover); }
.pill[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.lab-src { font-size: 11px; line-height: 1.5; color: var(--dim); margin-top: 4px; max-width: 420px; }
.lab-note { margin-top: 28px; max-width: 760px; line-height: 1.6; }
.lab-note b { color: var(--text); font-weight: 400; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ghost-line); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ghost-line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--mark); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--mark); }

@media (max-width: 900px) {
  .how { padding: 90px 20px 40px; }
  .how-steps { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; padding-left: 28px; }
  .how-steps::before, .how-steps::after { left: 5px; top: 0; bottom: 0; width: 1px; height: auto; }
  .how-steps::after { height: 0; bottom: auto; transition: height 2.6s var(--ease) .3s; }
  .how-steps.in::after { width: 1px; height: 100%; }
  .how-steps li { padding-top: 0; }
  .how-steps li::before { left: -28px; }
  .lab { padding: 90px 20px 40px; }
  .lab-panel { grid-template-columns: 1fr; gap: 24px; }
  .lab-chart { height: 300px; order: -1; }
  .contact-in { grid-template-columns: 1fr; gap: 36px; padding: 80px 20px; }
  .contact-head { position: static; }
}

@media (max-width: 760px) {
  .nav { padding: 0 16px; height: 64px; }
  .nav-burger { display: block; }
  .nav-links { position: fixed; inset: 64px 0 0 0; background: var(--bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 0; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links .link-btn { justify-content: flex-start; min-height: 52px; font-size: 13px; letter-spacing: .1em; padding: 0 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .shade { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 75%), linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 14%); }
  .cap { top: auto; bottom: 92px; transform: translateY(24px); }
  .cap.on { transform: none; }
  .live { bottom: 50px; gap: 12px; }
  .cue { display: none; }
  .try-form { flex-direction: column; }
  select.field { flex: none; }
  .offers { padding: 90px 16px 60px; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer { border-right: 1px solid var(--line); padding: 28px 20px; }
  .offer + .offer { border-top: 0; }
  /* Empilé, le badge ne peut plus chevaucher la bordure partagée : il rentre dans la carte. */
  .offer-pop::before { position: static; align-self: flex-start; top: auto; left: auto; margin-bottom: 2px; }
  .price { font-size: 42px; }
  .nav-cta-long { display: none; }
  .foot { padding: 0 16px 32px; }
  .legal-grid { grid-template-columns: 1fr; }
  .act { height: 300vh; }
  .act-short { height: 260vh; }
  .reel-in { grid-template-columns: 1fr; gap: 28px; }
  .reel-play { max-width: 280px; }
  .offer-solo { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .try-grid { grid-template-columns: repeat(2, 1fr); }
  .try-cell:nth-child(2n) { border-left: 1px solid var(--line); }
  .try-cell:nth-child(2n+1) { border-left: 0; }
  .try-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .f-row { grid-template-columns: 1fr; gap: 18px; }
}

/* Petits téléphones : les minimums des clamp() dépassaient la largeur disponible. */
@media (max-width: 400px) {
  .display { font-size: 52px; }
  .title { font-size: 36px; }
  .mega { font-size: 68px; }
  .lab-text h3, .how-steps h3, .solo-l h3 { font-size: 26px; }
  .lab-big { font-size: 44px; }
  .price { font-size: 38px; }
  .logo { font-size: 26px; }
  .logo-dot { width: 5px; height: 5px; margin-bottom: 8px; }
  .lab-chart { height: 260px; }
  .live { font-size: 11px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cap, .js .reveal, .how-steps::after, .how-steps li::before { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  .cue span, .try-out, .lab-panel { animation: none; }
}

/* Ce que tu reçois : le livrable montré, pas décrit */
.deliv { max-width: 1200px; margin: 0 auto; padding: 120px 28px 40px; }
.deliv-head { max-width: 760px; }
.deliv-list { list-style: none; margin: 48px 0 0; padding: 0;
  border: 1px solid var(--text); background: var(--surface); }
.dv { display: grid; grid-template-columns: 52px minmax(0, 1fr) 150px; gap: 0 20px;
  align-items: start; padding: 26px 26px; border-bottom: 1px solid var(--line); }
.dv:last-child { border-bottom: 0; }
.dv-n { font-size: 12px; letter-spacing: .14em; color: var(--mark); padding-top: 6px; }
.dv-main h3 { margin: 0 0 9px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 31px); line-height: 1.15; }
.dv-main p { font-size: 15px; line-height: 1.55; color: var(--sub-text); max-width: 58ch; }
.dv-p { font-size: 11.5px !important; color: var(--dim) !important; margin-top: 9px;
  padding-left: 11px; border-left: 2px solid var(--line); }
.dv-big { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); line-height: 1;
  color: var(--mark); text-align: right; white-space: nowrap; }
.dv-big small { display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.deliv-foot { margin-top: 20px; }

@media (max-width: 900px) { .deliv { padding: 90px 20px 30px; } }
@media (max-width: 760px) {
  .dv { grid-template-columns: 36px minmax(0, 1fr); padding: 22px 16px; }
  .dv-big { grid-column: 2; text-align: left; margin-top: 14px;
    display: flex; align-items: baseline; gap: 9px; font-size: 32px; }
  .dv-big small { margin-top: 0; }
}

/* L'accès à l'espace coureur, séparé du reste de la navigation */
.link-espace { border: 1px solid var(--ghost-line); border-radius: 6px; }
.link-espace:hover { border-color: var(--text); }
