/* Certigrade — site public (charte v2 « HUD / carte gradée »). Mobile-first, sombre par défaut, clair via data-theme ou prefers-color-scheme.
   Couleurs : marque/tokens/tokens.css. Cyan = vérification uniquement (≤ 5 % de l'écran), jamais pour le bouton principal. */

:root {
  --bg: #121212;
  --bg2: #1a1b1d;
  --surface: #1c1d20;
  --text: #f5f5f5;
  --text2: #a9adb3;
  --text3: #767b82;
  --line: #2c2e33;
  --hover: #25262a;
  --blue: #7fd6ff;
  --green: #12a660;
  --red: #e5484d;
  --gold: #d4a017;
  --gold-2: #f2c94c;
  --grad: linear-gradient(135deg, #f2c94c, #d4a017);
  --holo: linear-gradient(120deg, #ff9ad5, #b69cff, #7fd6ff, #9bf0b8, #ffe08a);
  --banner: radial-gradient(900px 500px at 80% -10%, rgba(182, 156, 255, .18), transparent 60%),
            radial-gradient(700px 400px at 10% 110%, rgba(212, 160, 23, .14), transparent 60%);
  --btn-bg: var(--grad);
  --btn-fg: #121212;
  --link: var(--gold-2);
  --focus: #7fd6ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --radius: 16px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Oxanium", "Inter", system-ui, sans-serif;
  --cyan: #2ee6ff;
  --hud-line: rgba(255, 255, 255, .05);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg2: #f5f6f7;
  --surface: #ffffff;
  --text: #121212;
  --text2: #545b62;
  --text3: #8a939b;
  --line: #e5e8eb;
  --hover: #f1f3f5;
  --banner: radial-gradient(900px 500px at 80% -10%, rgba(182, 156, 255, .22), transparent 60%),
            radial-gradient(700px 400px at 10% 110%, rgba(255, 224, 138, .35), transparent 60%);
  --btn-bg: #111114;
  --btn-fg: #ffffff;
  --link: #8a5a00;
  --focus: #6d28d9;
  --shadow: 0 18px 50px rgba(18, 18, 18, .12);
  --cyan: #00707f;
  --hud-line: rgba(14, 14, 16, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ffffff;
    --bg2: #f5f6f7;
    --surface: #ffffff;
    --text: #121212;
    --text2: #545b62;
    --text3: #8a939b;
    --line: #e5e8eb;
    --hover: #f1f3f5;
    --banner: radial-gradient(900px 500px at 80% -10%, rgba(182, 156, 255, .22), transparent 60%),
              radial-gradient(700px 400px at 10% 110%, rgba(255, 224, 138, .35), transparent 60%);
    --btn-bg: #111114;
    --btn-fg: #ffffff;
    --link: #8a5a00;
    --focus: #6d28d9;
    --shadow: 0 18px 50px rgba(18, 18, 18, .12);
    --cyan: #00707f;
    --hud-line: rgba(14, 14, 16, .06);
    color-scheme: light;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 14px; height: 14px; }
.muted { color: var(--text3); font-weight: 400; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 36px; width: auto; }
.brand__logo--light { display: none; }
:root[data-theme="light"] .brand__logo--dark { display: none; }
:root[data-theme="light"] .brand__logo--light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .brand__logo--dark { display: none; }
  :root:not([data-theme="dark"]) .brand__logo--light { display: block; }
}
.top__nav { display: none; gap: 20px; margin-left: 18px; font-size: 14px; font-weight: 500; }
.top__nav a { color: var(--text2); white-space: nowrap; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.top__nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.top__cta { display: none; }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; z-index: 30;
  display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.menu__panel a { padding: 12px 12px; border-radius: 10px; color: var(--text); font-weight: 500; }
.menu__panel a:hover, .menu__panel a[aria-current="page"] { background: var(--hover); text-decoration: none; }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.icon-btn:hover { background: var(--hover); }
.icon--moon { display: none; }
:root[data-theme="light"] .icon--sun { display: none; }
:root[data-theme="light"] .icon--moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon--sun { display: none; }
  :root:not([data-theme="dark"]) .icon--moon { display: block; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px var(--font-body); cursor: pointer; text-decoration: none; position: relative;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--hover); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; gap: 32px;
  padding: 40px 16px 24px;
  background: var(--banner);
}
.hero__copy { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text2);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
h1 { font-size: clamp(34px, 7.5vw, 58px); font-weight: 700; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; font-size: 17px; color: var(--text2); max-width: 54ch; }
.trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; font-weight: 500; color: var(--text2); }
.trust .dot { color: var(--text3); }
.trust span:not(.dot)::before { content: "✓ "; color: var(--green); font-weight: 700; }
.launch {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--gold-2);
}
:root[data-theme="light"] .launch { color: #8a5a00; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .launch { color: #8a5a00; } }
.launch__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 160, 23, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); } }

/* ---------- Carte formulaire ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card { margin-top: 28px; padding: 22px 18px; position: relative; overflow: hidden; scroll-margin-top: 90px; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--holo); }
.form-card__title { font-size: 22px; }
.form-card__sub { margin-top: 6px; color: var(--text2); font-size: 14px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input[type="email"], .field input[type="text"], .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font: 400 16px var(--font-body);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input::placeholder { color: var(--text3); }
.field input:focus, .field select:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__error { margin-top: 6px; font-size: 13px; color: var(--red); }
.hint { margin-top: 8px; font-size: 13px; color: var(--text2); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2); transform: translateY(-70%) rotate(45deg);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.field--row { display: flex; align-items: center; }
.field .check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; margin: 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--text3); background: var(--bg2);
  display: grid; place-items: center; flex: none; transition: background .12s, border-color .12s;
}
.check__box::after { content: ""; width: 6px; height: 11px; border-right: 2.5px solid var(--btn-fg); border-bottom: 2.5px solid var(--btn-fg); transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input:checked + .check__box { background: var(--btn-bg); border-color: transparent; }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--focus); outline-offset: 3px; }
.referral-note { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); font-weight: 500; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#submit-btn { margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--text3); text-align: center; }
.form-status { margin-top: 10px; font-size: 14px; text-align: center; min-height: 1.4em; color: var(--text2); }
.form-status.is-error { color: var(--red); font-weight: 500; }

/* ---------- Succès ---------- */
.success { text-align: center; padding: 6px 0 4px; }
.success:focus { outline: none; }
.success__badge { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.success__badge .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.success__title { font-size: 26px; }
.success__position { margin-top: 8px; color: var(--text2); font-size: 15px; }
.success__position strong { color: var(--text); font-family: var(--font-display); }
.success__other { margin-top: 10px; font-size: 14px; color: var(--gold); font-weight: 500; }
.success__label { margin-top: 20px; font-weight: 600; font-size: 14px; text-align: left; }
.share-link { margin-top: 8px; display: flex; gap: 8px; }
.share-link__input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font: 500 14px var(--font-display);
}
.share-btns { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); color: var(--text); font-size: 14px; font-weight: 600;
}
.share-btn:hover { background: var(--hover); text-decoration: none; }
.success__launch { margin-top: 20px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--gold); }

/* ---------- Illustration carte gradée ---------- */
.hero__art { display: flex; justify-content: center; }
.gradee-wrap { position: relative; width: min(280px, 78vw); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
.gradee { width: 100%; height: auto; }
.gradee__scan { animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(190px); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.gradee-badge {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--cyan) 45%, var(--line)); color: var(--cyan); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section { padding: 56px 16px; max-width: 1120px; margin: 0 auto; }
.section__title { font-size: clamp(26px, 5vw, 38px); font-weight: 700; }
.section__lead { margin-top: 12px; color: var(--text2); font-size: 16px; max-width: 60ch; }
.section__title + .steps { margin-top: 28px; }

.steps { display: grid; gap: 14px; }
.step { position: relative; padding: 22px 18px 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg); font: 700 16px var(--font-display); margin-bottom: 14px;
}
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--text2); font-size: 15px; }

.section--protect { max-width: none; padding-left: 0; padding-right: 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.protect { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.protect__head .section__title { font-size: clamp(22px, 4.2vw, 32px); max-width: 30ch; }
.protect__list { margin-top: 26px; display: grid; gap: 12px; }
.protect__list li { position: relative; overflow: hidden; padding: 20px 18px 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.protect__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--holo); }
.protect__list h3 { font-size: 18px; }
.protect__list h3::before { content: "✓ "; color: var(--green); }
.protect__list p { margin-top: 8px; color: var(--text2); font-size: 15px; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hosts { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.host { text-align: center; padding: 18px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.host__img { width: 120px; height: 125px; margin: 0 auto 8px; animation: sway 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-1.8deg) translateY(0); } 50% { transform: rotate(1.8deg) translateY(-6px); } }
.host:nth-child(2) .host__img { animation-delay: -.8s; }
.host:nth-child(3) .host__img { animation-delay: -1.6s; }
.host:nth-child(4) .host__img { animation-delay: -2.4s; }
.host__name { font-size: 20px; }
.host__room { margin-top: 2px; font-weight: 600; font-size: 14px; color: var(--gold); }
.host__sub { margin-top: 6px; font-size: 13px; color: var(--text2); }
.host__slot { margin-top: 10px; font: 600 13px var(--font-display); color: var(--text); padding: 6px 10px; border-radius: 999px; background: var(--bg2); display: inline-block; }

.section--cta { text-align: center; }
.section--cta .section__lead { margin-left: auto; margin-right: auto; }
.section--cta .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 16px calc(28px + env(safe-area-inset-bottom)); color: var(--text2); font-size: 14px; background: var(--bg2); }
.footer__grid { max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__col--brand { grid-column: 1 / -1; }
.footer__brand { color: var(--text); font-weight: 600; }
.footer__launch { margin: 6px 0; font: 600 13px var(--font-display); color: var(--gold); }
.footer__title { font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin-bottom: 10px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: var(--text2); }
.footer__col a:hover { color: var(--text); }
.footer__title--social { margin: 14px 0 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.footer__social a { color: var(--text2); font-weight: 600; }
.footer__social a:hover { color: var(--text); }
.footer__copy { max-width: 1120px; margin: 28px auto 0; color: var(--text3); font-size: 12px; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 640px) {
  .top__cta { display: inline-flex; }
  .form-card { padding: 26px 24px; }
  .share-btns { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .protect__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .top__nav { display: flex; }
  .menu { display: none; }
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .footer__col--brand { grid-column: auto; }
}
@media (min-width: 900px) {
  .top { padding-left: 32px; padding-right: 32px; }
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 48px; padding: 72px 32px 56px; max-width: 1184px; margin: 0 auto; }
  .hero__art { position: sticky; top: 120px; padding-top: 24px; }
  .gradee-wrap { width: min(320px, 100%); }
  .section { padding: 80px 32px; }
  .protect { padding: 0 32px; }
  .hosts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gradee__scan { display: none; }
}

/* ---------- Consentement mesure d'audience ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 6px; font-weight: 600; }
.consent__text { margin: 0 0 12px; color: var(--text2); font-size: 14px; line-height: 1.45; }
.consent__btns { display: flex; gap: 10px; }
.consent__btns .btn { flex: 1; }

/* ================= Pages de contenu (SEO) ================= */
body { background-image: linear-gradient(var(--hud-line) 1px, transparent 1px), linear-gradient(90deg, var(--hud-line) 1px, transparent 1px); background-size: 32px 32px; background-attachment: fixed; }
.page-hero { max-width: 1120px; margin: 0 auto; padding: 28px 16px 8px; }
.page-hero h1 { font-size: clamp(30px, 6vw, 48px); max-width: 22ch; }
.page-hero .lead { max-width: 64ch; }
.page-hero__meta { margin-top: 12px; font-size: 13px; color: var(--text3); }
.crumbs { margin-bottom: 18px; font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.crumbs li { color: var(--text3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text3); }
.crumbs a { color: var(--text2); }
.crumbs [aria-current] { color: var(--text2); }

.section--narrow { max-width: 820px; }
.section__title + .section__lead { margin-top: 10px; }
.section__title + .link-cards, .section__lead + .link-cards { margin-top: 24px; }
.cta-row { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.section--cta .cta-row .btn { margin-top: 0; }

.prose { max-width: 760px; margin: 0 auto; padding: 16px 16px 40px; font-size: 17px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: clamp(23px, 4vw, 30px); scroll-margin-top: 90px; }
.prose h3 { margin-top: 28px; font-size: 20px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 650; }
.prose .muted-note { font-size: 14px; color: var(--text2); }
.toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15px; }
.toc__title { font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.toc ol { margin-top: 8px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
caption { text-align: left; padding: 12px 14px 0; font-weight: 600; color: var(--text2); font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
thead th { font: 700 12px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text3); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font-weight: 700; }

.callout { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--gold); }
.callout--verify { border-left-color: var(--cyan); }
.callout__title { font-weight: 700; margin-bottom: 4px; }

.steps-list { counter-reset: s; list-style: none !important; padding-left: 0 !important; }
.steps-list > li { counter-increment: s; position: relative; padding-left: 46px; }
.steps-list > li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 9px; background: var(--btn-bg); color: var(--btn-fg); font: 700 15px var(--font-display);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.link-cards { display: grid; gap: 12px; }
.link-card {
  position: relative; display: block; height: 100%; padding: 18px 44px 18px 18px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .12s ease, transform .12s ease;
}
.link-card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); transform: translateY(-1px); }
.link-card__title { display: block; font: 700 18px var(--font-display); }
.link-card__text { display: block; margin-top: 6px; color: var(--text2); font-size: 14px; }
.link-card__arrow { position: absolute; right: 18px; top: 18px; color: var(--gold); font-weight: 700; }

.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq__item > summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; position: relative; list-style: none; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font: 700 20px var(--font-display); color: var(--gold); }
.faq__item[open] > summary::after { content: "–"; }
.faq__a { padding: 0 18px 16px; color: var(--text2); }
.faq__a > * + * { margin-top: 10px; }
.faq__a ul { list-style: disc; padding-left: 20px; }

.sources { max-width: 760px; margin: 0 auto 40px; padding: 16px 18px; font-size: 14px; color: var(--text2); border-top: 1px solid var(--line); }
.sources__title { font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.sources ul { margin-top: 10px; list-style: disc; padding-left: 20px; }
.sources li + li { margin-top: 6px; }
.sources a { overflow-wrap: anywhere; }

.split { display: grid; gap: 28px; max-width: 1120px; margin: 0 auto; padding: 16px 16px 40px; }
.split .form-card { margin-top: 0; }
.perks { display: grid; gap: 12px; }
.perks li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.perks h3 { font-size: 17px; }
.perks p { margin-top: 6px; color: var(--text2); font-size: 15px; }

@media (min-width: 640px) {
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .link-cards--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .page-hero { padding: 44px 32px 8px; }
  .link-cards--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; padding: 24px 32px 64px; }
  .split .form-card { position: sticky; top: 96px; }
}
@media print {
  .top, .footer, .consent, .form-card { display: none !important; }
  body { background: #fff; color: #000; }
}
.prose--flush { padding: 0; margin: 0; }
.prose--flush > h2:first-child { margin-top: 0; }
.prose ul.perks { list-style: none; padding-left: 0; }
.section__sub { margin-top: 40px; font-size: 20px; }
.section__sub + .link-cards { margin-top: 16px; }
[hidden] { display: none !important; }
.prose .perks h3 { margin-top: 0; }
.prose .perks li + li { margin-top: 0; }
@media (max-width: 899px) { .split .form-card { order: -1; } }

/* ---------- Candidature vendeur fondateur (/beta-vendeurs/) et exclusivité ---------- */
.hero__seller { margin-top: 12px; font-size: 14px; color: var(--text2); max-width: 54ch; }
.hero__seller a { font-weight: 600; }
.form-card__kicker { font: 600 12px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.seats {
  margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.seats strong { font-family: var(--font-display); color: var(--gold-2); }
:root[data-theme="light"] .seats strong { color: #8a5a00; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .seats strong { color: #8a5a00; } }
.seats__dot { flex: none; margin-top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
.form-card--apply fieldset { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.form-card--apply legend { padding: 0; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.profiles .hint { margin-top: 0; }
.profiles__grid { display: grid; gap: 0 12px; }
.field--compact { margin-top: 10px; }
.field--compact label { font-size: 13px; margin-bottom: 4px; }
.field--compact input[type="text"] { min-height: 44px; }
.field select[aria-invalid="true"] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg2); font-size: 14px; font-weight: 500; color: var(--text2);
  transition: border-color .12s, color .12s, background .12s;
}
.chip input:checked + span { border-color: var(--gold); color: var(--text); background: color-mix(in srgb, var(--gold) 14%, var(--bg2)); }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; color: var(--gold); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint--left { text-align: left; }
@media (min-width: 480px) { .profiles__grid { grid-template-columns: 1fr 1fr; } }
/* Formulaire long : pas de colonne collante (il dépasserait l'écran). */
@media (min-width: 900px) { .split .form-card--apply { position: static; } }

/* ---------- Démo de l'app (boucle muette, vidéo 760 × 1620) ----------
 * Le téléphone est TOUJOURS entier : largeur = min(colonne, hauteur visible × 38/81), jamais de débordement.
 * Mobile et tablette : une colonne, la démo juste sous le H1 (avant le formulaire). Deux colonnes à partir de 1100 px. */
.hero--demo { grid-template-columns: minmax(0, 1fr); }
.hero__head, .hero__rest { max-width: 620px; min-width: 0; }
.hero__demo { margin: 0; min-width: 0; }
.demo { display: grid; gap: 18px; justify-items: center; }
.film {
  position: relative; max-width: 100%; aspect-ratio: 38 / 81; overflow: hidden;
  /* Largeurs sans % : la colonne de la démo est dimensionnée par son contenu (une largeur en % y vaudrait 0). */
  width: min(380px, calc(100vw - 32px), calc(76vh * 38 / 81)); width: min(380px, calc(100vw - 32px), calc(76svh * 38 / 81));
  border-radius: 22px; background: #0E0E10; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.film__poster, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.film__video { opacity: 0; transition: opacity .3s ease; }
.film.is-playing .film__video { opacity: 1; }
.film__toggle {
  position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 12, .6);
  color: #fff; cursor: pointer; backdrop-filter: blur(6px);
}
.film__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.film__icon { width: 14px; height: 16px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.film__toggle.is-paused .film__icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.film__caption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--text3); }
.demo__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); max-width: 100%; }
.demo__step { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text2); }
.demo__step strong { display: block; color: var(--text); font-size: 15px; }
.demo__sub { display: block; }
.demo__num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px var(--font-display); color: var(--text2); border: 1px solid var(--line); background: var(--surface);
  transition: background .2s ease, color .2s ease;
}
.demo__step.is-active .demo__num { background: var(--gold); border-color: var(--gold); color: #111; }
.demo__step.is-active strong { color: var(--gold); }
@media (min-width: 640px) and (max-width: 1099px) {
  .demo { grid-template-columns: auto minmax(0, 300px); align-items: center; justify-content: center; gap: 32px; }
  .film { width: min(360px, calc(100vw - 400px), calc(74vh * 38 / 81)); width: min(360px, calc(100vw - 400px), calc(74svh * 38 / 81)); }
}
@media (min-width: 900px) {
  .hero.hero--demo { grid-template-columns: minmax(0, 1fr); max-width: 1184px; }
}
@media (min-width: 1100px) {
  .hero.hero--demo {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head demo" "rest demo";
    align-items: start; column-gap: 56px; row-gap: 0; max-width: 1280px;
  }
  .hero--demo .hero__head { grid-area: head; }
  .hero--demo .hero__rest { grid-area: rest; }
  .hero--demo .hero__demo { grid-area: demo; position: sticky; top: 96px; }
  .film { width: min(400px, calc(80vh * 38 / 81)); width: min(400px, calc(80svh * 38 / 81)); }
}
@media (min-width: 1280px) {
  .demo { grid-template-columns: auto 220px; align-items: center; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .film__video, .demo__num { transition: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
