/* ZonR — site vitrine */
:root {
  --bg: #060608;
  --panel: #101015;
  --panel-2: #0c0c11;
  --border: #23232b;
  --border-2: #34343e;
  --input-bg: #16161c;
  --lime: #C6FF00;        /* couleur signature — fonds / boutons / remplissages */
  --lime-ink: #C6FF00;    /* lime en TEXTE (assombrie en thème clair pour le contraste) */
  --magenta: #FF2E88;
  --magenta-ink: #FF2E88;
  --warn: #FBBF24;
  --grid: #23232b;
  --text: #F2F2F4;
  --text-soft: #cfcfd6;
  --muted: #9A9AA6;
  --muted-2: #62626c;
  --nav-bg: rgba(14,14,19,0.7);
  --nav-bd: rgba(255,255,255,0.08);
  --nav-shadow: 0 10px 34px rgba(0,0,0,0.45);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FAFAFB;
  --panel: #FFFFFF;
  --panel-2: #F3F3F6;
  --border: #E6E6EC;
  --border-2: #D8D8E0;
  --input-bg: #F3F3F6;
  --lime: #C6FF00;
  --lime-ink: #4D7C0F;
  --magenta: #FF2E88;
  --magenta-ink: #C9006B;
  --warn: #B45309;
  --grid: #E9E9EF;
  --text: #0C0C10;
  --text-soft: #34343C;
  --muted: #5A5A66;
  --muted-2: #8A8A96;
  --nav-bg: rgba(255,255,255,0.72);
  --nav-bd: rgba(0,0,0,0.06);
  --nav-shadow: 0 10px 30px rgba(0,0,0,0.10);
  color-scheme: light;
}
html { transition: background-color .25s ease; }
body { transition: background-color .25s ease, color .25s ease; }

/* Sélecteur de thème flottant (présent sur toutes les pages) */
.theme-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border-2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  cursor: pointer; transition: transform .12s, filter .15s, background .2s, border-color .2s;
}
.theme-toggle:hover { transform: translateY(-2px); filter: brightness(1.05); border-color: var(--lime); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 900px) { .theme-toggle { bottom: 16px; right: 16px; width: 44px; height: 44px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
/* Titres « poster athlétique » : Archivo Black, uppercase serré */
h1, .shead h2, .cta h2, .premium-head h2 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  text-transform: uppercase;
}
::selection { background: var(--lime); color: #06210a; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lime { color: var(--lime-ink); }

/* Nav — pilule flottante (forme Refero), verre dépoli */
.nav { position: sticky; top: 16px; z-index: 50; padding: 0 16px; }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: 1000px; padding: 0 12px 0 22px;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nav-bd); border-radius: 999px;
  box-shadow: var(--nav-shadow);
}
.brand { font-weight: 900; font-size: 23px; letter-spacing: 0.5px; }
.brand .r { color: var(--lime-ink); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: #06210a; font-weight: 800; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; transition: transform .12s, filter .15s; cursor: pointer; border: none;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* Hero (ouverture plein écran, fond carte vivant) */
.hero { position: relative; overflow: hidden; text-align: center; min-height: 92vh; display: flex; align-items: center; margin-top: -76px; }
.hero::before { content:""; position:absolute; top:-220px; left:50%; transform:translateX(-50%); width:1000px; height:820px; border-radius:50%;
  background: radial-gradient(circle, rgba(198,255,0,0.16), transparent 62%); pointer-events:none; z-index:0; animation: heroBreathe 7s ease-in-out infinite; }
.hero-bg { position:absolute; inset:0; z-index:0; opacity:0.9; mask-image: radial-gradient(circle at 50% 42%, #000 8%, transparent 84%); -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 8%, transparent 84%); pointer-events:none; }
.hero-bg svg { width:100%; height:100%; }
.hero-bg svg line { stroke: var(--grid); }
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 150px 24px 96px; }

/* Entrée animée (style Sui) — apparition en cascade au chargement */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroBreathe { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
.hero .eyebrow   { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both .05s; }
.hero h1         { font-size: 70px; letter-spacing: -1px; animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both .16s; }
.hero .lead      { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both .30s; }
.hero .hero-cta  { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both .44s; }
.hero .hero-note { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both .56s; }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero .hero-cta, .hero .hero-note { animation: none; }
}
.eyebrow { display:inline-block; color: var(--lime-ink); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12.5px; border:1px solid rgba(198,255,0,0.25); padding:6px 14px; border-radius:999px; }
h1 { font-size: 62px; line-height: 1.04; font-weight: 900; letter-spacing: -1px; margin: 22px 0 20px; }

/* Ticker défilant — Cours · Capture · Règne */
.ticker { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; background: var(--panel-2); }
.ticker-track { display: flex; gap: 28px; align-items: center; white-space: nowrap; width: max-content; animation: tickerScroll 26s linear infinite; }
.ticker-track span { font-family: "Archivo Black", "Archivo", sans-serif; text-transform: uppercase; font-size: 26px; letter-spacing: 1px; color: var(--text); }
.ticker-track span.mg { color: var(--lime-ink); }
.ticker-track i { color: var(--muted-2); font-style: normal; font-size: 22px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.hero .lead { color: var(--muted); font-size: 21px; max-width: 600px; line-height: 1.5; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-note { color: var(--muted-2); font-size: 13px; margin-top: 18px; letter-spacing: 0.3px; }

/* Sections */
section { padding: 84px 0; }
.divider { border-top: 1px solid var(--border); }
.shead { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.shead .eyebrow { margin-bottom: 16px; }
.shead h2 { font-size: 40px; font-weight: 900; letter-spacing: -1px; margin: 0 0 12px; line-height: 1.08; }
.shead p { color: var(--muted); font-size: 18px; margin: 0; }

/* Stat strip */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border:1px solid var(--border); border-radius: 18px; overflow: hidden; }
.statstrip .cell { background: var(--bg); padding: 26px 18px; text-align: center; }
.statstrip .k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.statstrip .v { font-size: 22px; font-weight: 900; margin-top: 4px; }

/* Alternating feature rows */
.alt { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.alt + .alt { margin-top: 72px; }
.alt.reverse .alt-text { order: 2; }
.alt-text h3 { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; margin: 14px 0 12px; }
.alt-text p { color: var(--muted); font-size: 17px; }
.alt-visual { background: var(--panel-2); border: 1px solid var(--border); border-radius: 22px; min-height: 280px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.tag { display:inline-block; color: var(--lime-ink); font-weight:700; font-size:13px; letter-spacing:1.5px; text-transform:uppercase; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 24px 28px 30px; }
.step-visual { border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); overflow: hidden; margin-bottom: 18px; }
.step-visual svg { width: 100%; height: 110px; display: block; }
.step .n { font-size: 14px; font-weight: 900; color: var(--lime-ink); letter-spacing: 2px; }
.step h3 { font-size: 22px; margin: 10px 0 8px; font-weight: 800; font-family: "Archivo Black", "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
.statstrip-note { text-align: center; color: var(--muted); font-size: 15px; margin: 18px auto 0; max-width: 560px; }

/* Arsenal (grille de features) */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.acard .aicon { font-size: 26px; margin-bottom: 12px; }
.acard h4 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.acard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Features mini */
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.frow { display:flex; gap:16px; padding: 4px 0; }
.frow .bar { width: 4px; border-radius: 4px; background: var(--lime); flex: none; }
.frow h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.frow p { margin: 0; color: var(--muted); font-size: 15px; }

/* Premium */
.premium { background: linear-gradient(135deg, rgba(198,255,0,0.07), rgba(255,46,136,0.06)); border:1px solid var(--border); border-radius: 26px; padding: 56px 40px; }
.premium .badge { display:inline-block; background: var(--lime); color:#06210a; font-weight:900; font-size:12px; letter-spacing:1px; padding:5px 12px; border-radius:999px; text-transform:uppercase; }
.premium-head { max-width: 640px; margin-bottom: 32px; }
.premium-head h2 { font-size: 34px; font-weight: 900; letter-spacing: 0; margin: 16px 0 10px; }
.premium-head p { color: var(--muted); font-size: 17px; margin: 0; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pcard { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.pcard h4 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--lime-ink); }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.premium-foot { color: var(--muted-2); font-size: 14px; margin: 22px 0 0; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: 44px; font-weight: 900; letter-spacing: -1px; margin: 0 0 14px; }
.cta p { color: var(--muted); font-size: 19px; margin: 0 0 28px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0; }
footer .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; align-items:center; }
footer .links a { color: var(--muted); margin-right: 20px; font-size: 14px; }
footer .links a:hover { color: var(--text); }
footer .copy { color: var(--muted-2); font-size: 13px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 96px; }
.doc h1 { font-size: 34px; font-weight: 900; letter-spacing:-0.5px; margin: 0 0 4px; }
.doc .muted { color: var(--muted-2); font-size: 14px; margin-top: 0; }
.doc h2 { font-size: 21px; font-weight: 800; margin: 34px 0 8px; }
.doc p, .doc li { font-size: 16px; color: var(--text-soft); }
.doc a { color: var(--lime-ink); }
.doc .tol { background: rgba(255,46,136,0.08); border:1px solid rgba(255,46,136,0.25); border-radius:12px; padding:14px 16px; }

/* Hero animé : halo du coureur */
#hm-runner { filter: drop-shadow(0 0 7px rgba(198,255,0,0.9)); }

/* Reveal au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.step.reveal { transition-delay: .05s; }
.step:nth-child(2).reveal { transition-delay: .12s; }
.step:nth-child(3).reveal { transition-delay: .19s; }

/* Glow qui suit le curseur (cartes) */
.glow-card { position: relative; overflow: hidden; }
.glow-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(198,255,0,0.10), transparent 62%);
  opacity: 0; transition: opacity .25s;
}
.glow-card:hover::before { opacity: 1; }
.glow-card:hover { border-color: rgba(198,255,0,0.30); }
.glow-card > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  h1 { font-size: 44px; letter-spacing: -1px; }
  .hero { min-height: 88vh; }
  .hero h1 { font-size: 52px; letter-spacing: -1.5px; }
  .hero-inner { padding: 132px 22px 64px; }
  .hero-bg { opacity: 1; }
  .hero .lead { font-size: 18px; }
  .nav-links { display: none; }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .steps, .fgrid, .agrid, .pgrid { grid-template-columns: 1fr; gap: 16px; }
  .shead h2 { font-size: 30px; }
  .shead h2 br, .hero h1 br, .cta h2 br { display: none; }
  .cta h2 { font-size: 32px; }
  .ticker-track span { font-size: 20px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .agrid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Aperçu : maquettes téléphone ── */
.phones { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; align-items: center; }
.phone { width: 232px; flex: none; text-align: center; }
.phone .frame {
  position: relative; aspect-ratio: 9 / 19.3; border-radius: 36px; padding: 9px;
  background: #08080c; border: 2px solid var(--border-2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.phone .frame::before { content:""; position:absolute; top:9px; left:50%; transform:translateX(-50%); width:84px; height:18px; background:#08080c; border-radius:0 0 14px 14px; z-index:3; }
.phone-screen { width:100%; height:100%; border-radius:28px; overflow:hidden; background:#0b0b10; display:block; }
.phone-screen svg, .phone-screen img { width:100%; height:100%; display:block; object-fit:cover; }
.phone figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 700; }
.phone-up { transform: translateY(-22px); }
.phones-note { text-align:center; color: var(--muted-2); font-size: 12.5px; margin-top: 24px; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--lime-ink); font-size: 24px; font-weight: 800; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 18px; }

/* ── Bandeau humain ── */
.mission { text-align: center; max-width: 680px; margin: 0 auto; }
.mission p { color: var(--text); font-size: 19px; line-height: 1.55; font-weight: 600; }
.mission .sig { color: var(--muted); font-size: 14px; margin-top: 12px; font-weight: 700; }

@media (max-width: 900px) {
  .phone-up { transform: none; }
  .phones { gap: 20px; }
}
