/* Charte LAB de l'app (src/tokens.css), en version cybercore : noir et blanc
   strict, labels mono, grille, balayages, glitch passager. Les polices sont
   servies par le site (aucune requête vers un tiers). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #000; --surface: #0A0A0A; --surface-2: #111; --surface-hover: #1A1A1A;
  --line: #242424; --line-strong: #333; --text: #EDEDED; --text-2: #A1A1A1;
  --text-3: #7A7A7A; --fg: #FFF; --fg-inverse: #000;
  --split-a: rgba(255, 69, 58, .75); --split-b: rgba(94, 240, 196, .75);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --page: min(1200px, calc(100vw - 32px));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--fg); color: var(--fg-inverse); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: var(--page); margin: 0 auto; }
.label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
}
.label b { color: var(--fg); font-weight: 500; }

/* ---------- Couches d'ambiance ---------- */
.fx-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.fx-scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.01) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------- Lien d'évitement ---------- */
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--fg); color: var(--fg-inverse); font-weight: 500; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: var(--page); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line-strong); background: rgba(0,0,0,.82); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; font-weight: 500; color: var(--fg); }
.logo svg { width: 22px; height: 22px; }
.logo .caret { display: inline-block; width: 7px; height: 14px; background: var(--fg); margin-left: 2px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--text-2); transition: color .16s, background .16s; }
.nav ul a:hover { color: var(--fg); background: var(--surface-hover); }
@media (max-width: 820px) { .nav ul { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  --h: 44px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  font: 500 15px/1 var(--font-sans); text-decoration: none; color: var(--text); background: transparent;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .14s var(--ease-out), border-color .16s, color .16s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--fg); color: var(--fg-inverse); border-color: var(--fg); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn .arrow { transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { border-color: var(--fg); color: var(--fg); }
  .btn-primary:hover { color: var(--fg); }
  .btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn:hover .glitch-txt { animation: glitch .35s steps(2) 1; }
}
@keyframes glitch {
  0% { text-shadow: 2px 0 var(--split-a), -2px 0 var(--split-b); transform: translateX(1px); }
  50% { text-shadow: -2px 0 var(--split-a), 2px 0 var(--split-b); transform: translateX(-1px); clip-path: inset(10% 0 40% 0); }
  100% { text-shadow: none; transform: none; clip-path: none; }
}

/* ---------- Héro ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000 78%); mask-image: linear-gradient(90deg, transparent 50%, #000 78%); }
@media (max-width: 820px) { #field { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 30% 55%, rgba(0,0,0,.85) 10%, transparent 65%), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(10,10,10,.7); }
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 10px var(--fg); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
h1 {
  font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -0.045em; font-weight: 650;
  margin: 28px 0 24px; color: var(--fg);
}
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; }
.js h1 .line > span { transform: translateY(105%); transition: transform .9s var(--ease-out); }
.js.ready h1 .line > span { transform: none; }
.ready h1 .line:nth-child(2) > span { transition-delay: .08s; }
.ready h1 .line:nth-child(3) > span { transition-delay: .16s; }
h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 54ch; margin: 0 0 36px; }
.hero p.lead strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; }
.touch-only { display: none; }
@media (pointer: coarse) { .touch-only { display: block; } }
.hud {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px;
  border-top: 1px solid var(--line); max-width: 860px;
}
.hud div { padding: 18px 18px 0 0; }
.hud strong { display: block; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; font-weight: 600; color: var(--fg); line-height: 1.1; }
@media (max-width: 640px) { .hud { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
/* ---------- Défilant ---------- */
.ticker { position: relative; z-index: 2; border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 16px 28px; color: var(--text-2); white-space: nowrap; }
.ticker span::before { content: "◆"; margin-right: 28px; color: var(--text-3); font-size: 9px; vertical-align: 2px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; z-index: 2; scroll-margin-top: 72px; }
.sec { padding: clamp(88px, 12vw, 150px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 56px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }
h2 { font-size: clamp(34px, 4.8vw, 60px); text-wrap: balance; line-height: 1; letter-spacing: -0.04em; font-weight: 620; margin: 14px 0 0; color: var(--fg); }
.sec-head p { color: var(--text-2); margin: 0; font-size: 18px; max-width: 52ch; }
.idx { display: flex; align-items: center; gap: 12px; }
.idx::after { content: ""; height: 1px; width: 64px; background: var(--line-strong); }

/* Apparition : flou → net, glissement court ; balayage pour les cadres.
   Seulement quand le script tourne : sans JS, tout est visible. */
.js .reveal { opacity: 0; filter: blur(8px); transform: translateY(18px); transition: opacity .8s var(--ease-out), filter .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; filter: none; transform: none; }
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .wipe.in { clip-path: inset(0 0 0 0); }

/* Cadres HUD */
.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--fg); pointer-events: none; transition: all .4s var(--ease-out); }
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius-md); }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius-md); }
@media (hover: hover) { .frame:hover::before, .frame:hover::after { width: 28px; height: 28px; } }

/* ---------- Vidéo ---------- */
.video { aspect-ratio: 16 / 9; overflow: hidden; padding: 0; }
.video video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 60%); }
.video-empty .play { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--fg); display: grid; place-items: center; margin: 0 auto 18px; position: relative; }
.video-empty .play::after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--line-strong); border-radius: 50%; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.video-empty .play svg { width: 22px; margin-left: 4px; fill: var(--fg); }
.video-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Problème ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } }
.card { padding: 28px; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; margin: 18px 0 10px; color: var(--fg); font-weight: 600; line-height: 1.2; }
.card p { margin: 0; color: var(--text-2); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 28px 8px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--fg); transform: scaleX(var(--drawn, 1)); transform-origin: left; transition: transform 1.2s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 200ms); }
.js .step { --drawn: 0; }
.js .step.in { --drawn: 1; }
.step h3 { font-size: 24px; margin: 14px 0 8px; color: var(--fg); letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0; color: var(--text-2); max-width: 36ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--text-2); }

/* ---------- Test réflexe ---------- */
.reflex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .reflex { grid-template-columns: 1fr; } }
.pad {
  position: relative; min-height: 340px; border-radius: var(--radius-md); border: 1px solid var(--line-strong);
  background: #050505; display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.pad .target { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin: 0 auto 22px; transition: background .05s, box-shadow .2s, border-color .2s; }
.pad .target::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.pad[data-state="wait"] .target { border-color: var(--text-3); animation: pulse 1s ease-in-out infinite; }
.pad[data-state="go"] .target { background: var(--fg); border-color: var(--fg); box-shadow: 0 0 60px rgba(255,255,255,.55); }
.pad[data-state="go"] .target::after { background: var(--bg); }
.pad[data-state="early"] { border-color: #FF453A; }
.pad .msg { font-size: 22px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; }
.pad .sub { margin-top: 6px; }
.pad .ms { font-size: clamp(56px, 8vw, 84px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: var(--fg); }
.tries { display: flex; gap: 8px; margin-top: 18px; justify-content: center; }
.tries i { width: 34px; height: 3px; background: var(--line-strong); transition: background .3s; }
.tries i.done { background: var(--fg); }
.reflex-side { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.reflex-side h3 { font-size: 28px; letter-spacing: -0.03em; margin: 14px 0 12px; color: var(--fg); line-height: 1.1; font-weight: 600; }
.reflex-side p { color: var(--text-2); margin: 0; }

/* ---------- Tarifs ---------- */
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); position: relative; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--text-2); font: 500 14px var(--font-sans); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: color .25s; }
.toggle button[aria-pressed="true"] { color: var(--fg-inverse); }
.toggle .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--fg); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.toggle .save { font-family: var(--font-mono); font-size: 11px; margin-left: 6px; opacity: .8; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 36px; display: flex; flex-direction: column; }
.plan.pro { background: linear-gradient(180deg, #121212, var(--surface)); border-color: var(--line-strong); }
.plan.pro .ribbon { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; background: var(--fg); color: var(--fg-inverse); border-radius: 2px; }
.plan h3 { font-size: 26px; margin: 10px 0 4px; color: var(--fg); letter-spacing: -0.02em; font-weight: 600; }
.plan .tagline { color: var(--text-2); margin: 0; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 6px; }
.price .amt { font-size: 64px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: var(--fg); display: inline-block; }
.price .amt.flip { animation: flip .45s var(--ease-out); }
@keyframes flip { 0% { opacity: 0; transform: translateY(-14px); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
.price .per { color: var(--text-2); }
.billing { min-height: 24px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text); }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border: 1px solid var(--fg); border-radius: 2px;
  background: linear-gradient(var(--fg), var(--fg)) center / 6px 6px no-repeat; }
.plan li span { color: var(--text-2); display: block; font-size: 14px; }
.plan .btn { width: 100%; }
.price-foot { margin-top: 24px; text-align: center; }

/* ---------- Installer ---------- */
.btn .ico { width: 18px; height: 18px; flex: none; }
.os-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); margin-bottom: 16px; }
.os-tabs button { border: 0; background: none; color: var(--text-2); font: 500 14px var(--font-sans); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.os-tabs button[aria-selected="true"] { background: var(--fg); color: var(--fg-inverse); }
.install { padding: 8px 32px; }
.os-panel:not([hidden]) { animation: flip .5s var(--ease-out); }
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.install-steps > li { padding: 28px 28px 28px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.install-steps > li + li { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .install { padding: 8px 24px; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps > li { padding: 24px 0; }
  .install-steps > li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.install-steps h3 { font-size: 22px; letter-spacing: -0.02em; margin: 4px 0 0; color: var(--fg); font-weight: 600; line-height: 1.2; }
.install-steps p { margin: 0; color: var(--text-2); }
.install-steps strong { color: var(--fg); font-weight: 500; }
.install-steps .btn { margin-top: 8px; }
.install-steps .file { margin: 0; word-break: break-all; }
.mock { width: 100%; margin-top: 8px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.mock b { color: var(--fg); font-size: 15px; font-weight: 600; line-height: 1.3; }
.mock u { text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.mock .row { display: flex; gap: 8px; justify-content: flex-end; font-style: normal; margin-top: 4px; }
.mock em { font-style: normal; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 4px; }
.mock .hl { color: var(--fg); border-color: var(--fg); box-shadow: 0 0 0 3px rgba(255,255,255,.12); animation: hl 1.8s ease-in-out infinite; border-radius: 4px; }
.mock u.hl { padding: 2px 4px; border: 1px solid var(--fg); }
@keyframes hl { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.04); } }
.code { width: 100%; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 10px 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); }
.code code { flex: 1; min-width: 0; font: 12.5px/1.5 var(--font-mono); color: var(--fg); word-break: break-all; }
.code .copy { flex: none; border: 1px solid var(--line-strong); background: none; color: var(--text); font: 500 12px var(--font-mono); padding: 6px 10px; border-radius: 4px; cursor: pointer; }
.code .copy:hover { border-color: var(--fg); }
.price-foot a { color: var(--text-2); }

/* ---------- Avertissement épilepsie ---------- */
.notice { display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line-strong); border-left: 2px solid var(--fg); border-radius: var(--radius-sm); background: var(--surface); scroll-margin-top: 90px; }
.notice svg { width: 22px; height: 22px; margin-top: 2px; }
.notice b { color: var(--fg); font-weight: 600; }
.notice p { margin: 4px 0 0; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 18px; height: 18px; position: relative; margin-top: 5px; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--fg); left: 0; right: 0; top: 50%; height: 1px; transition: transform .35s var(--ease-out); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq .ans a { color: var(--fg); }
.faq .ans { color: var(--text-2); padding: 0 0 24px; max-width: 70ch; display: grid; grid-template-rows: 0fr; }
.faq details[open] .ans { animation: open .45s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Final ---------- */
.final { text-align: center; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.final h2 { font-size: clamp(44px, 9vw, 128px); margin: 18px auto 24px; max-width: 14ch; }
.final p { color: var(--text-2); font-size: 18px; max-width: 52ch; margin: 0 auto 36px; }
.final .cta-row { justify-content: center; }
.final .halo { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; max-width: 160vw; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--line); pointer-events: none; z-index: -1;
  box-shadow: 0 0 0 120px rgba(255,255,255,.012), 0 0 0 240px rgba(255,255,255,.008); }

footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 32px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--text-2); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal { filter: none; transform: none; }
}

/* ---------- Pages légales ---------- */
.legal { position: relative; z-index: 2; padding: 140px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); max-width: none; margin: 14px 0 32px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--fg); }
.legal ul { padding-left: 20px; }
.todo { color: var(--fg-inverse); background: var(--fg); padding: 0 6px; border-radius: 2px; font-family: var(--font-mono); font-size: .85em; }

/* ---------- Sans JavaScript ---------- */
.sec-tight { padding-top: 0; }
.hud small { font-size: .5em; }
.video-note { margin: 12px 0 20px; color: var(--text-2); }
html:not(.js) .toggle, html:not(.js) .os-tabs { display: none; }
html:not(.js) .os-panel + .os-panel { border-top: 1px solid var(--line); }
