/* =====================================================================
   RunQuest · page d'accueil « Arcade pop » (refonte 2026-11)
   Mêmes couleurs que l'app 1.11 (src/constants/theme.ts) : nuit d'encre,
   violet électrique, turquoise néon, or XP, corail. Feuille dédiée à
   index.html : les autres pages gardent style.css.
   ===================================================================== */

:root {
  --bg: #100E24;
  --bg-2: #0B0A1A;
  --surface: #1A1736;
  --surface-2: #262250;
  --border: #332E63;
  --primary: #6D4AFF;
  --primary-2: #5534E0;
  --primary-soft: rgba(109, 74, 255, .18);
  --teal: #00D1C1;
  --teal-text: #00D1C1;
  --coral-text: #FF5D8F;
  --gold: #FFC93C;
  --gold-text: #FFC93C;
  --coral: #FF5D8F;
  --red: #FF5470;
  --green: #2EE6A6;
  --text: #F5F3FF;
  --text-2: #BDB6E3;
  --muted: #9A93C4;
  --on-primary: #FFFFFF;
  --nav-bg: rgba(16, 14, 36, .78);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --phone-bg: #100E24;
  --radius: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', -apple-system, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #FFF7EC;
  --bg-2: #FBEEDB;
  --surface: #FFFFFF;
  --surface-2: #F5EBDC;
  --border: #E8DCC8;
  --primary: #5B3DF5;
  --primary-2: #4527D6;
  --primary-soft: rgba(91, 61, 245, .1);
  --teal: #00A396;
  --teal-text: #00756C;
  --coral-text: #BE1D57;
  --gold: #FFC93C;
  --gold-text: #9A6100;
  --coral: #E0336F;
  --red: #D93654;
  --green: #0F8A5F;
  --text: #1E1B4B;
  --text-2: #4D4878;
  --muted: #6A6592;
  --nav-bg: rgba(255, 247, 236, .85);
  --shadow: 0 24px 60px rgba(60, 40, 120, .16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* ---------- Typo ---------- */
.hud {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.lead { color: var(--text-2); font-size: 1.08rem; max-width: 560px; }
.hl-violet { color: var(--primary); }
.hl-teal { color: var(--teal-text); }
.hl-gold { color: var(--gold-text); }
.hl-coral { color: var(--coral-text); }
[data-theme="light"] .hl-violet { color: var(--primary); }

/* ---------- Boutons « arcade » (ombre basse épaisse) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border-radius: 16px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 1rem; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn-primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 5px 0 var(--primary-2), 0 14px 30px rgba(109, 74, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--primary-2), 0 18px 36px rgba(109, 74, 255, .45); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--primary-2), 0 6px 14px rgba(109, 74, 255, .3); }
.btn-gold {
  background: var(--gold); color: #2A1B00;
  box-shadow: 0 5px 0 #C99400, 0 14px 30px rgba(255, 201, 60, .28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #C99400, 0 18px 36px rgba(255, 201, 60, .38); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 1px 0 #C99400; }
.btn-gold:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-gold.loading { opacity: .75; }
.btn-gold.success { background: var(--green); box-shadow: 0 5px 0 #149E70; color: #00281A; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .9rem; border-radius: 13px; }

.store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; width: 100%; max-width: 430px; }
.store-links .btn { min-width: 0; }
@media (max-width: 360px) { .store-links { grid-template-columns: 1fr; } }

/* ---------- Pastilles ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .75rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}
.chip-xp { background: rgba(255, 201, 60, .14); border-color: rgba(255, 201, 60, .45); color: var(--gold-text); font-weight: 900; }
.chip-teal { background: rgba(0, 209, 193, .12); border-color: rgba(0, 209, 193, .4); color: var(--teal-text); }
.chip-coral { background: rgba(255, 93, 143, .12); border-color: rgba(255, 93, 143, .4); color: var(--coral-text); }
.chip-pro { background: var(--primary-soft); border-color: transparent; color: var(--primary); font-size: .7rem; padding: .18rem .55rem; letter-spacing: .06em; }
[data-theme="light"] .chip-pro { color: var(--primary); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: .93rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
@media (max-width: 900px) { .nav-links { display: none; } }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}
.theme-toggle:hover { color: var(--text); border-color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(109, 74, 255, .38), transparent 70%),
    radial-gradient(40% 40% at 95% 85%, rgba(0, 209, 193, .18), transparent 70%),
    radial-gradient(35% 40% at 5% 10%, rgba(255, 93, 143, .14), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(189, 182, 227, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
[data-theme="light"] .hero::before {
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(91, 61, 245, .16), transparent 70%),
    radial-gradient(40% 40% at 95% 85%, rgba(0, 163, 150, .12), transparent 70%),
    radial-gradient(35% 40% at 5% 10%, rgba(224, 51, 111, .1), transparent 70%);
}
[data-theme="light"] .hero::after { background-image: radial-gradient(rgba(77, 72, 120, .14) 1px, transparent 1px); }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
  margin-bottom: 1.3rem;
}
.hero-title .line-2 {
  background: linear-gradient(92deg, var(--primary) 0%, #9B7BFF 35%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="light"] .hero-title .line-2 { background: linear-gradient(92deg, var(--primary), var(--teal)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { color: var(--text-2); font-size: 1.15rem; max-width: 520px; margin-bottom: 2rem; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; scroll-margin-top: 100px; }
.hero-note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .9rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 800; font-size: .88rem; white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.float-chip small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
.phone-wrap { position: relative; }
.fc-1 { top: 64px; left: -168px; }
.fc-1 .ico { background: rgba(255, 201, 60, .18); }
.fc-2 { top: 47%; right: -172px; animation-delay: -1.6s; }
.fc-2 .ico { background: rgba(0, 209, 193, .16); }
.fc-3 { bottom: 70px; left: -178px; animation-delay: -3.2s; }
.fc-3 .ico { background: rgba(255, 93, 143, .16); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 960px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-chips, .hero-actions { justify-content: center; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .fc-1 { left: -120px; } .fc-2 { right: -120px; } .fc-3 { left: -124px; }
}
@media (max-width: 480px) {
  .float-chip { font-size: .78rem; padding: .45rem .65rem; }
  .float-chip .ico { width: 26px; height: 26px; }
  .fc-1 { left: auto; right: -34px; top: -18px; }
  .fc-2, .fc-3 { display: none; }
}

/* =====================================================================
   TÉLÉPHONE (écrans reconstitués en HTML, couleurs de l'app)
   ===================================================================== */
.phone {
  position: relative; z-index: 2;
  width: 290px; aspect-ratio: 290 / 600;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2C2766, #14122E);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
[data-theme="light"] .phone { box-shadow: 0 40px 90px rgba(60, 40, 120, .28), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.phone::before { /* encoche */
  content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 999px; background: #05040E; z-index: 4;
}
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 35px; background: var(--phone-bg);
  color: #F5F3FF; font-size: 11px; line-height: 1.35;
  padding: 46px 12px 0;
  display: flex; flex-direction: column; gap: 9px;
}
/* Les écrans restent en thème sombre, comme une vraie capture. */
.screen .s-muted { color: #9A93C4; }
.screen .s-2 { color: #BDB6E3; }
.s-head { display: flex; align-items: center; justify-content: space-between; }
.s-title { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.s-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal)); display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.s-card {
  position: relative; overflow: hidden;
  background: #1A1736; border: 1px solid #332E63; border-radius: 16px; padding: 10px;
}
.s-card.glow { border-color: rgba(109, 74, 255, .55); background: linear-gradient(140deg, rgba(109, 74, 255, .4), #1A1736 70%); }
.s-hud { font-family: var(--display); font-size: 8.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #BDB6E3; }
.s-row { display: flex; align-items: center; gap: 8px; }
.s-between { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.emblem {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 24px; color: #1E1B4B;
  background: linear-gradient(145deg, #F1F5F9, #94A3B8);
  box-shadow: 0 3px 0 #64748B;
}
.s-level { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.1; }
.bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFC93C, #FFB020); }
.bar.teal > i { background: linear-gradient(90deg, #00D1C1, #2EE6A6); }
.bar.violet > i { background: linear-gradient(90deg, #6D4AFF, #9B7BFF); }
.bar.coral > i { background: linear-gradient(90deg, #FF5D8F, #FF8FB0); }
.s-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 9px; }
.s-stat { background: rgba(16, 14, 36, .7); border: 1px solid #332E63; border-radius: 10px; padding: 6px 2px; text-align: center; }
.s-stat b { display: block; font-size: 13px; font-weight: 900; }
.s-stat span { font-size: 7.5px; color: #9A93C4; font-weight: 700; }
.s-xp { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 900; color: #FFC93C; background: rgba(255, 201, 60, .14); border: 1px solid rgba(255, 201, 60, .4); white-space: nowrap; }
.s-tag { display: inline-flex; padding: 1px 6px; border-radius: 6px; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.s-quest-ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-size: 14px; }
.s-start {
  margin-top: auto; margin-bottom: 8px;
  border-radius: 16px; padding: 12px; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 13px;
  background: linear-gradient(100deg, #6D4AFF, #8E6BFF 55%, #00D1C1);
  box-shadow: 0 4px 0 #4A2FC9;
}
.s-tabs { display: grid; grid-template-columns: repeat(6, 1fr); padding: 7px 4px 14px; margin: 0 -12px; background: #14122C; border-top: 1px solid #332E63; }
.s-tabs span { display: grid; place-items: center; gap: 2px; font-size: 7px; color: #9A93C4; font-weight: 700; }
.s-tabs span i { width: 15px; height: 15px; border-radius: 5px; background: #332E63; }
.s-tabs span.on { color: #FFFFFF; }
.s-tabs span.on i { background: #6D4AFF; }
.s-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #1A1736; border: 1px solid #332E63; border-radius: 11px; padding: 3px; }
.s-seg span { text-align: center; padding: 5px 0; border-radius: 8px; font-size: 9px; font-weight: 800; color: #9A93C4; }
.s-seg span.on { background: #6D4AFF; color: #fff; }
.s-section { font-family: var(--display); font-weight: 800; font-size: 11px; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.s-section::before { content: ''; width: 4px; height: 13px; border-radius: 3px; background: #6D4AFF; }
.s-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; text-align: center; }
.s-vs .big { font-family: var(--display); font-size: 20px; font-weight: 800; }
.s-pill-btn { display: inline-block; padding: 5px 10px; border-radius: 9px; font-weight: 800; font-size: 9px; background: #FF5D8F; color: #fff; box-shadow: 0 2px 0 #C93466; }
.s-rank { display: grid; grid-template-columns: 18px 22px 1fr auto; align-items: center; gap: 6px; padding: 6px 2px; border-bottom: 1px solid rgba(51, 46, 99, .7); }
.s-rank:last-child { border-bottom: 0; }
.s-rank .pos { font-weight: 900; color: #9A93C4; text-align: center; }
.s-rank .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; font-weight: 800; }
.s-map { position: relative; flex: 1; margin: 0 -12px; min-height: 0; background: #17153A; overflow: hidden; }
.s-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-sos {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff;
  background: #FF5470; box-shadow: 0 0 0 6px rgba(255, 84, 112, .25), 0 4px 0 #C02A45;
}

@media (max-width: 480px) { .phone { width: 252px; } .screen { font-size: 10px; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { .section { padding: 68px 0; } }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head .hud { display: inline-block; margin-bottom: .9rem; color: var(--teal-text); }
.section-head .lead { margin: 1rem auto 0; }

/* ---------- Boucle de jeu (3 étapes) ---------- */
.loop { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.step-num {
  position: absolute; top: -16px; left: 22px;
  font-family: var(--display); font-weight: 800; font-size: .85rem;
  padding: .25rem .7rem; border-radius: 10px; color: #fff;
}
.step:nth-child(1) .step-num { background: var(--primary); box-shadow: 0 3px 0 var(--primary-2); }
.step:nth-child(2) .step-num { background: #E0A800; box-shadow: 0 3px 0 #A87E00; color: #2A1B00; }
.step:nth-child(3) .step-num { background: var(--teal); box-shadow: 0 3px 0 #008F84; color: #002A27; }
.step-emoji { font-size: 2rem; margin-bottom: .8rem; }
.step h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 800; margin-bottom: .45rem; letter-spacing: -.01em; }
.step p { color: var(--text-2); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; } }

/* ---------- Blocs fonctionnalités alternés ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  padding: 40px 0;
}
.feature-row + .feature-row { margin-top: 40px; }
.feature-row.flip .feature-visual { order: -1; }
.feature-text .hud { color: var(--coral-text); display: block; margin-bottom: .8rem; }
.feature-text .h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.feature-text .lead { margin-bottom: 1.4rem; }
.ticks { list-style: none; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.ticks li strong { color: var(--text); }
.ticks li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E5CFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual::before {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); filter: blur(10px); opacity: .9;
  background: radial-gradient(circle, var(--glow, rgba(109, 74, 255, .35)), transparent 68%);
}
.v-violet { --glow: rgba(109, 74, 255, .38); }
.v-gold { --glow: rgba(255, 201, 60, .26); }
.v-coral { --glow: rgba(255, 93, 143, .28); }
.v-red { --glow: rgba(255, 84, 112, .26); }
[data-theme="light"] .feature-visual::before { opacity: .55; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 24px 0; text-align: left; }
  .feature-row.flip .feature-visual { order: 0; }
  .feature-visual { order: 2; }
}

/* ---------- Échelle des classes (visuel progression) ---------- */
.ladder { display: grid; gap: 5px; }
.ladder-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 11px; background: rgba(16, 14, 36, .6); border: 1px solid #332E63; }
.ladder-row.on { border-color: #6D4AFF; background: rgba(109, 74, 255, .22); }
.ladder-row .l { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: #1E1B4B; }
.ladder-row b { font-size: 11px; }
.ladder-row span { font-size: 8.5px; color: #9A93C4; font-weight: 700; }

/* ---------- Grille « Et aussi » ---------- */
.extras { background: var(--bg-2); }
.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.extra {
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease;
}
.extra:hover { transform: translateY(-3px); border-color: var(--primary); }
.extra-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .9rem; background: var(--surface-2); }
.extra h3 { font-family: var(--display); font-size: 1.02rem; font-weight: 800; margin-bottom: .3rem; }
.extra p { color: var(--text-2); font-size: .9rem; line-height: 1.5; }
@media (max-width: 980px) { .extras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .extras-grid { grid-template-columns: 1fr; } }

/* ---------- Manifeste + sans pub ---------- */
.manifesto { text-align: center; }
.manifesto-quote {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.15; letter-spacing: -.03em;
  max-width: 900px; margin: 0 auto 1.4rem;
}
.manifesto-quote em { font-style: normal; color: var(--gold-text); }
.manifesto .lead { margin: 0 auto 3rem; }
.noads {
  max-width: 880px; margin: 0 auto; padding: 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; text-align: left;
  border-radius: 26px; border: 2px dashed var(--border); background: var(--surface);
}
.noads-badge {
  width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-size: 2.6rem;
  background: rgba(255, 84, 112, .12); border: 1px solid rgba(255, 84, 112, .35);
  transform: rotate(-6deg);
}
.noads h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 800; margin-bottom: .4rem; letter-spacing: -.02em; }
.noads p { color: var(--text-2); margin-bottom: 1rem; }
.noads-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 640px) { .noads { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; } .noads-badge { margin: 0 auto; } .noads-pills { justify-content: center; } }

/* ---------- Pass Fondateur ---------- */
.founder-card {
  position: relative; overflow: hidden;
  max-width: 980px; margin: 0 auto; padding: 56px 48px;
  border-radius: 32px; background: var(--surface); border: 1px solid rgba(255, 201, 60, .35);
}
.founder-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, rgba(255, 201, 60, .16), transparent 70%);
}
.founder-card > * { position: relative; }
.founder-top { text-align: center; max-width: 640px; margin: 0 auto 2.4rem; }
.founder-top .chip { margin-bottom: 1.1rem; }
.founder-top .h2 { margin-bottom: .9rem; }
.founder-top p { color: var(--text-2); }
.founder-top p strong { color: var(--text); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 2.4rem; }
.perk { padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); }
.perk-ico { font-size: 1.4rem; margin-bottom: .5rem; }
.perk h4 { font-family: var(--display); font-weight: 800; font-size: .98rem; margin-bottom: .25rem; }
.perk p { color: var(--text-2); font-size: .87rem; line-height: 1.5; }
.price { text-align: center; margin-bottom: 1.4rem; }
.price-value { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; color: var(--gold-text); line-height: 1.1; }
.price-note { color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: .3rem; }
.waitlist-intro { text-align: center; color: var(--text-2); max-width: 560px; margin: 0 auto 1.2rem; }
.waitlist-intro strong { color: var(--text); }
.founder-form { max-width: 560px; margin: 0 auto; }
.form-row { display: flex; gap: .7rem; }
.form-input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 1.1rem;
  border-radius: 16px; border: 2px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { outline: none; border-color: var(--primary); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.form-message { min-height: 1.4em; margin-top: .7rem; text-align: center; font-size: .92rem; font-weight: 700; }
.form-message--success { color: var(--green); }
.form-message--error { color: var(--red); }
.form-disclaimer { text-align: center; color: var(--muted); font-size: .8rem; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-top: 1.4rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.reassure svg { width: 15px; height: 15px; color: var(--teal); }
.founder-more { margin-top: 2.2rem; display: grid; gap: 12px; }
.fold {
  border-radius: 18px; background: var(--bg); border: 1px solid var(--border);
}
.fold summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--display); font-weight: 800; font-size: .98rem;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.fold[open] summary::after { transform: rotate(45deg); }
.fold-body { padding: 0 20px 20px; color: var(--text-2); display: grid; gap: .9rem; font-size: .96rem; }
.fold-body strong { color: var(--text); }
@media (max-width: 860px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .founder-card { padding: 36px 20px; border-radius: 26px; }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .perk { padding: 14px 12px; }
  .perk p { font-size: .8rem; }
  .form-row { flex-direction: column; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq-item[open] { border-color: var(--primary); }
.faq-question {
  list-style: none; cursor: pointer; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; flex-shrink: 0; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); font-size: .97rem; }
.faq-answer a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Appel final ---------- */
.final { padding: 40px 0 100px; }
.final-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 28px; border-radius: 32px;
  background: linear-gradient(135deg, #6D4AFF 0%, #4E2FE0 50%, #1B1660 100%);
  color: #fff;
}
.final-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000);
  mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000);
}
.final-card > * { position: relative; z-index: 1; }
.final-card .h2 { margin-bottom: .8rem; }
.final-card p { color: rgba(255, 255, 255, .82); max-width: 520px; margin: 0 auto 2rem; font-size: 1.08rem; }
.final-card .store-links { margin: 0 auto; }
.final-card .btn-primary { background: #fff; color: #2A1B8F; box-shadow: 0 5px 0 #C9C2F5, 0 14px 30px rgba(0, 0, 0, .25); }
.final-card .btn-primary:hover { box-shadow: 0 7px 0 #C9C2F5, 0 18px 36px rgba(0, 0, 0, .3); }
@media (max-width: 640px) { .final { padding: 20px 0 72px; } .final-card { padding: 48px 20px; border-radius: 26px; } }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0 36px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: .4rem; }
.footer-tagline { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-bottom: 1.4rem; }
.footer-links a { color: var(--text-2); font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: .82rem; }

/* =====================================================================
   APPARITION AU DÉFILEMENT
   Visible par défaut : on ne cache que si le JS tourne (html.js), et le
   déclenchement se fait AVANT que l'élément n'entre à l'écran.
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .4s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .btn, .extra { transition: none; }
}
