/* CashRun — site vitrine. Couleurs de l'app (mobile/src/lib/theme.ts, thème clair « Day Run ») : orange #F25C1F
   et rouge #E11D48. Clair par défaut ; sombre seulement sur choix du visiteur (bouton, html[data-theme="dark"]).
   Les variantes « -ink » sont les teintes assez foncées pour du petit texte ou un fond sous texte blanc (WCAG AA).
   Pas d'attribut style="" (CSP) : délais d'animation par classes (.d1…). Mouvement réduit respecté en fin de fichier. */

@font-face {
  font-family: "Anton";
  src: url("/assets/anton.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #fff4ef;
  --border: #e6e7eb;
  --text: #0b0d12;
  --muted: #5f6672;
  --accent: #f25c1f;
  --accent-ink: #c2410c;
  --accent2: #e11d48;
  --accent2-ink: #be123c;
  --accent2-dim: #ffe4e8;
  --on-brand: #ffffff;
  --brand: linear-gradient(120deg, #f25c1f 0%, #e11d48 100%);
  --brand-ink: linear-gradient(120deg, #c2410c 0%, #be123c 100%);
  --shine: linear-gradient(110deg, #f25c1f 0%, #e11d48 35%, #ff8a4c 50%, #e11d48 65%, #f25c1f 100%);
  --pool: #15803d;
  --ok-bg: #dcfce7;
  --ok-fg: #166534;
  --store-bg: #0b0d12;
  --store-fg: #ffffff;
  --band: #0b0d12;
  --band-text: #f3f5fa;
  --band-muted: #b4bbcd;
  --shadow: 0 24px 60px rgba(11, 13, 18, 0.14);
  --shadow-sm: 0 10px 30px rgba(11, 13, 18, 0.12);
  --blob-op: 0.22;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0f1a;
  --surface: #141a2b;
  --surface-2: #1c1424;
  --border: #252d42;
  --text: #f3f5fa;
  --muted: #a3abc2;
  --accent: #ff5a1f;
  --accent-ink: #ff7a45;
  --accent2: #fb3b5c;
  --accent2-ink: #ff6b81;
  --accent2-dim: rgba(251, 59, 92, 0.16);
  --on-brand: #0b0f1a;
  --brand: linear-gradient(120deg, #ff6a2e 0%, #fb3b5c 100%);
  --brand-ink: linear-gradient(120deg, #ff6a2e 0%, #fb3b5c 100%);
  --shine: linear-gradient(110deg, #ff6a2e 0%, #fb3b5c 35%, #ffb08a 50%, #fb3b5c 65%, #ff6a2e 100%);
  --pool: #22c55e;
  --ok-bg: rgba(34, 197, 94, 0.16);
  --ok-fg: #4ade80;
  --store-bg: #f3f5fa;
  --store-fg: #0b0f1a;
  --band: #121829;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.45);
  --blob-op: 0.16;
  color-scheme: dark;
}

*, *::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: clamp(16px, 0.3vw + 14.5px, 20px) / 1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.3px; }

/* ── En-tête ─────────────────────────────────────────────── */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 32px);
  padding-block: clamp(14px, 1.6vw, 24px);
}
.brand {
  font: clamp(26px, 2vw, 36px)/1 var(--display); letter-spacing: 0.5px; text-decoration: none; color: var(--text);
  margin-right: auto;
}
.brand span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu { display: flex; gap: clamp(14px, 2vw, 32px); }
.menu a { color: var(--text); text-decoration: none; font-weight: 650; font-size: 0.92em; white-space: nowrap; position: relative; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--accent-ink); }
.tools { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px;
  font-weight: 700; font-size: 0.85em; background: var(--bg);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { font-size: 1.15em; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 170px;
  margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow);
}
.lang li a {
  display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600;
}
.lang li a:hover { background: var(--surface); }
.lang li a[aria-current="true"] { color: var(--accent-ink); }

.theme {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 18px;
  transition: transform 0.3s var(--ease);
}
.theme:hover { transform: rotate(-18deg); }
.theme[hidden] { display: none; }
.theme span { display: inline-flex; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: inline-flex; }
:root[data-theme="dark"] .theme .i-moon { display: none; }

/* ── Héros ───────────────────────────────────────────────── */
.hero-zone { position: relative; isolation: isolate; overflow: clip; }
.blobs { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
.blobs span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-op);
  animation: drift 22s ease-in-out infinite alternate;
}
.blobs span:nth-child(1) { width: 46vw; height: 46vw; right: -6vw; top: 0; background: #f25c1f; }
.blobs span:nth-child(2) { width: 34vw; height: 34vw; right: 22vw; top: 30%; background: #e11d48; animation-duration: 28s; }
.blobs span:nth-child(3) { width: 28vw; height: 28vw; left: -8vw; top: 10%; background: #ffb08a; animation-duration: 34s; }

.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 72px); align-items: center;
  padding-block: clamp(16px, 3vw, 48px) clamp(64px, 7vw, 120px);
}
.kicker {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent2-dim); color: var(--accent2-ink); font-weight: 800; font-size: 0.75em;
  text-transform: uppercase; letter-spacing: 0.08em;
}
h1 { margin: 0; font-size: clamp(52px, 5.8vw, 108px); line-height: 0.94; text-wrap: balance; }
h1 span { display: block; }
h1 .l3, .zero-big {
  background: var(--shine); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.lead { margin: 24px 0 30px; font-size: 1.15em; color: var(--muted); max-width: 36ch; }
.lead strong { color: var(--text); }

.hero-text > *, h1 span { animation: rise 0.9s var(--ease) backwards; }
.hero-text > .kicker { animation-delay: 0.05s; }
h1 .l1 { animation-delay: 0.15s; }
h1 .l2 { animation-delay: 0.28s; }
h1 .l3 { animation: rise 0.9s var(--ease) 0.41s backwards, shine 7s linear 1.4s infinite; }
.hero-text > .lead { animation-delay: 0.55s; }
.hero-text > .stores { animation-delay: 0.68s; }
.hero-text > .trust { animation-delay: 0.8s; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; min-height: 60px; padding: 8px 20px 8px 16px; border-radius: 16px;
  background: var(--store-bg); color: var(--store-fg); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store:hover { transform: translateY(-3px); }
.store > span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.68em; opacity: 0.8; }
.store b { font-size: 1.12em; white-space: nowrap; letter-spacing: -0.01em; }
.store .logo-apple { width: 26px; height: 26px; flex: none; }
.store .logo-play { width: 26px; height: 26px; flex: none; }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.zero-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok-fg); font-weight: 800; font-size: 0.9em;
}
.zero-chip svg { stroke-width: 3; }

.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-logos li {
  display: grid; place-items: center; width: 64px; height: 42px; border-radius: 10px;
  background: #ffffff; border: 1px solid #e6e7eb;
}
.pay-logos.small li { width: 52px; height: 34px; border-radius: 8px; }
.pay-logos svg { width: 78%; height: 78%; }
.logo-applepay { color: #000000; }
.logo-googlepay { color: #3c4043; }
.logo-visa { color: #1a1f71; }
.pay-logos .logo-mc { width: 62%; }

/* Scène : photo inclinée, téléphone, cartes flottantes. Tout est en % de la scène pour suivre la largeur. */
.stage { position: relative; height: clamp(560px, 50vw, 760px); }
.stage-photo {
  position: absolute; left: 0; top: 9%; width: 56%; aspect-ratio: 3 / 4; height: auto; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow); transform: rotate(-6deg);
  animation: tilt-in 1.1s var(--ease) 0.2s backwards;
}
.phone {
  position: absolute; right: 7%; top: 0; width: clamp(250px, 21vw, 330px); aspect-ratio: 9 / 19.2;
  padding: 10px; border-radius: 48px; background: #0b0d12; container-type: inline-size;
  box-shadow: 0 40px 80px rgba(11, 13, 18, 0.35), inset 0 0 0 2px #2a2f3a;
  animation: phone-in 1s var(--ease) 0.35s backwards, float 7s ease-in-out 1.4s infinite;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #ffffff; color: #0b0d12;
  font-size: 4cqw; padding: 0.9em 0.95em 0; /* cqw = largeur du .phone (le conteneur), pas de la fenêtre */
}
.app-status { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 0.95em; padding: 0 0.4em; }
.app-notch { width: 6.5em; height: 1.6em; border-radius: 1em; background: #0b0d12; }
.app-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9em; }
.app-sig i { display: block; width: 3px; border-radius: 1px; background: #0b0d12; }
.app-sig i:nth-child(1) { height: 40%; } .app-sig i:nth-child(2) { height: 70%; } .app-sig i:nth-child(3) { height: 100%; }
.app-h1 { margin: 0.7em 0 0.4em; font: 2.6em/1 var(--display); text-transform: uppercase; }
.app-chips { display: flex; gap: 0.4em; margin-bottom: 0.8em; }
.app-chips span { padding: 0.3em 0.75em; border-radius: 1em; background: #f4f5f7; font-weight: 700; font-size: 0.82em; white-space: nowrap; }
.app-chips .on { background: #f25c1f; color: #ffffff; }
.app-list { display: grid; gap: 0.75em; }
.app-card { border: 1px solid #ebedf0; border-radius: 1.1em; overflow: hidden; background: #ffffff; }
.app-cover { position: relative; }
.app-cover img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.app-tag {
  position: absolute; left: 0.6em; top: 0.6em; padding: 0.2em 0.6em; border-radius: 0.6em;
  background: rgba(11, 13, 18, 0.62); color: #ffffff; font-size: 0.72em; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.app-body { padding: 0.6em 0.8em 0.7em; }
.app-title { margin: 0 0 0.4em; font: 1.3em/1.05 var(--display); text-transform: uppercase; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.app-stats dt { font-size: 0.62em; font-weight: 800; letter-spacing: 0.06em; color: #6b7280; text-transform: uppercase; }
.app-stats dd { margin: 0; font: 1.25em/1.1 var(--display); }
.app-stats .stake { color: #c2410c; }
.app-stats .pool { color: #15803d; }
.app-ends { margin: 0.35em 0 0; font-size: 0.78em; font-weight: 700; color: #be123c; }
.app-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0.55em 0.4em 1.2em; background: rgba(255, 255, 255, 0.94); border-top: 1px solid #ebedf0;
  backdrop-filter: blur(8px);
}
.app-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.15em; color: #8a8f99; }
.app-tabs svg { font-size: 1.5em; }
.app-tabs b { font-size: 0.62em; font-weight: 700; white-space: nowrap; }
.app-tabs .on { color: #f25c1f; }
.app-tabs .run svg { color: #ffffff; background: linear-gradient(120deg, #f25c1f, #e11d48); border-radius: 50%; padding: 0.22em; font-size: 1.9em; margin-top: -0.55em; box-shadow: 0 6px 14px rgba(225, 29, 72, 0.4); }
.app-tabs .run { color: #c2410c; }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.7em;
  padding: 0.75em 1em; border-radius: 18px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow); font-size: clamp(13px, 0.95vw, 16px);
}
.float b { display: block; font-weight: 800; }
.float small { display: block; color: var(--muted); font-size: 0.86em; }
.toast { right: -5%; top: 36%; animation: pop 0.7s var(--ease) 1.3s backwards; }
.toast-ico {
  display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; flex: none;
  background: #16a34a; color: #ffffff;
}
.toast-ico svg { stroke-width: 3; }
.run { left: 1%; bottom: 1%; animation: pop 0.7s var(--ease) 1.8s backwards; }
.route { width: 5.6em; height: 3.3em; flex: none; overflow: visible; }
.route path {
  stroke: var(--accent); stroke-width: 4.5;
  stroke-dasharray: 160; stroke-dashoffset: 0; animation: draw 2.4s var(--ease) 2.2s backwards;
}
.route circle { fill: var(--accent2); stroke: var(--bg); stroke-width: 2.5; animation: pop 0.5s var(--ease) 4.3s backwards; }
.run-txt { display: flex; flex-direction: column; }
.run-ok {
  display: inline-flex; align-items: center; gap: 0.3em; padding: 0.25em 0.6em; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok-fg); font-weight: 800; font-size: 0.82em;
}
.run-ok svg { stroke-width: 3; }
.sticker {
  left: -3%; top: 46%; display: grid; place-items: center; text-align: center;
  width: 7.2em; height: 7.2em; padding: 0.8em; border-radius: 50%; border: 0;
  background: var(--brand); color: #ffffff; font: 1.15em/1 var(--display); text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.35);
  animation: pop 0.7s var(--ease) 2.4s backwards, wobble 6s ease-in-out 3.2s infinite;
  transform: rotate(10deg);
}
.stage-note { position: absolute; left: 0; bottom: -2.2em; margin: 0; font-size: 0.72em; color: var(--muted); }

/* ── Bandeau 0 € ─────────────────────────────────────────── */
.zero { padding-block: clamp(24px, 3vw, 48px); }
.zero-inner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 72px);
  align-items: center; padding: clamp(32px, 4.5vw, 80px); border-radius: 40px; background: var(--band); color: var(--band-text);
}
.zero-inner::after {
  content: ""; position: absolute; width: 40vw; height: 40vw; right: -14vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 92, 31, 0.45), transparent 65%); pointer-events: none;
}
.zero-big { margin: 0; font: clamp(120px, 17vw, 300px)/0.85 var(--display); letter-spacing: -0.01em; }
.zero-title { margin: 0 0 12px; font-size: clamp(40px, 5vw, 88px); line-height: 0.95; }
.zero-text { margin: 0 0 24px; color: var(--band-muted); font-size: 1.1em; max-width: 46ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.checks svg {
  flex: none; width: 1.7em; height: 1.7em; padding: 0.3em; border-radius: 50%;
  background: var(--brand); color: #ffffff; stroke-width: 3;
}

/* ── Sections ────────────────────────────────────────────── */
section { scroll-margin-top: 24px; }
.section { padding-block: clamp(56px, 6vw, 112px); }
.section-tight { padding-block: clamp(16px, 2vw, 32px); }
.section-title { margin: 0 0 8px; font-size: clamp(40px, 5vw, 88px); line-height: 1; }
.section-sub { margin: 0 0 clamp(28px, 3vw, 48px); color: var(--muted); max-width: 52ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 28px); counter-reset: s; }
.steps li {
  position: relative; overflow: hidden; background: var(--surface); border-radius: 24px; padding: clamp(24px, 2.2vw, 40px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.steps li::after {
  content: attr(data-n); position: absolute; right: -0.05em; bottom: -0.28em; font: 9em/1 var(--display);
  color: var(--text); opacity: 0.04; pointer-events: none;
}
.steps .num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-ink); color: var(--on-brand); font: 26px/1 var(--display); margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.25);
}
.steps h3 { margin: 0 0 8px; font-size: clamp(32px, 2.4vw, 44px); }
.steps p { margin: 0; color: var(--muted); }

/* ── Lieux : bandeau de photos qui défile ────────────────── */
.places { padding-block: clamp(40px, 5vw, 96px); }
.marquee {
  overflow: hidden; padding-block: 8px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: clamp(12px, 1.4vw, 24px); width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure {
  position: relative; margin: 0; width: clamp(170px, 16vw, 270px); aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.marquee figure:nth-child(even) { transform: translateY(18px); }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.marquee figure:hover img { transform: scale(1.06); }
.marquee figcaption {
  position: absolute; inset: auto 0 0; padding: 2.4em 0.8em 0.7em; color: #ffffff;
  background: linear-gradient(transparent, rgba(11, 13, 18, 0.78)); font: clamp(20px, 1.6vw, 28px)/1 var(--display); text-transform: uppercase;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 28px); }
.feature {
  position: relative; border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px, 2.2vw, 40px); background: var(--bg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon {
  display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 16px; background: var(--surface-2);
  font-size: 1.6em; line-height: 1;
}
.feature h3 { margin: 18px 0 8px; font-size: clamp(26px, 1.9vw, 36px); }
.feature p { margin: 0; color: var(--muted); }

/* ── Paiements ───────────────────────────────────────────── */
.pay {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 56px); align-items: center;
  padding: clamp(28px, 3vw, 56px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border);
}
.pay-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: clamp(32px, 3.4vw, 60px); line-height: 1; }
.pay-title svg { width: 0.75em; height: 0.75em; color: var(--accent-ink); stroke-width: 2.4; }
.pay p { margin: 0; color: var(--muted); max-width: 52ch; }
.pay-side { display: grid; justify-items: start; gap: 16px; }
.pay-side .pay-logos li { width: clamp(68px, 6vw, 92px); height: clamp(46px, 4vw, 60px); box-shadow: var(--shadow-sm); }
.stripe { display: inline-flex; align-items: center; gap: 8px; color: #635bff; font-weight: 800; }
.stripe .logo-stripe { width: 1.4em; height: 1.4em; }
:root[data-theme="dark"] .stripe { color: #8f87ff; }

/* ── Téléchargement ──────────────────────────────────────── */
.download {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 3vw, 56px); align-items: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 32px; padding: clamp(28px, 3vw, 56px);
}
.qr { width: clamp(180px, 14vw, 240px); padding: 12px; background: #ffffff; border-radius: 20px; box-shadow: var(--shadow); }
.qr img { width: 100%; height: auto; image-rendering: pixelated; }
.download h2 { margin: 0 0 8px; font-size: clamp(36px, 4vw, 72px); line-height: 1; }
.download p { margin: 0 0 20px; color: var(--muted); max-width: 56ch; }
.mobile-only { display: none; }

/* ── Support ─────────────────────────────────────────────── */
.page-head { padding-block: clamp(24px, 3vw, 48px) clamp(28px, 3vw, 48px); }
.page-head h1 { font-size: clamp(56px, 7vw, 120px); }
.contact {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 32px;
  padding: clamp(24px, 3vw, 48px); margin-bottom: clamp(40px, 4vw, 72px);
}
.contact-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.contact .mail { font: clamp(28px, 3.6vw, 56px)/1.1 var(--display); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact .mail:hover { color: var(--accent-ink); }
.contact-alt {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.92em;
}
.contact-alt span { margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-weight: 650;
  text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.chip[hidden] { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--brand-ink); color: var(--on-brand); font-weight: 800; text-decoration: none;
  transition: transform 0.25s var(--ease), filter 0.25s;
}
.button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.checklist { margin: 0 0 clamp(40px, 4vw, 72px); padding-left: 20px; color: var(--muted); }
.checklist li { margin-bottom: 6px; }
.checklist strong { color: var(--text); }

.faq { display: grid; gap: 12px; margin-bottom: clamp(56px, 5vw, 96px); }
.faq details { border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; transition: border-color 0.25s; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 700; font-size: 1.05em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 30px/1 var(--display); color: var(--accent-ink);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.langs-back { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ── Pied de page ────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--border); padding-block: 28px 40px; color: var(--muted); font-size: 0.85em;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
}
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.credits { width: 100%; }
.credits summary { cursor: pointer; font-weight: 700; width: max-content; }
.credits p { margin: 8px 0 4px; }
.credits ul { margin: 0; padding-left: 18px; columns: 2 320px; font-size: 0.92em; }
.credit { width: 100%; margin: 0; font-size: 0.85em; }

/* ── Animations ──────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in.d2 { transition-delay: 0.1s; }
.js .reveal.in.d3 { transition-delay: 0.2s; }
.js .steps li.reveal.in:hover, .js .feature.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes shine { to { background-position: -250% 0; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) scale(0.96); } }
@keyframes tilt-in { from { opacity: 0; transform: rotate(-14deg) translateX(-30px); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.9); } }
@keyframes wobble { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(4deg) scale(1.04); } }
@keyframes draw { from { stroke-dashoffset: 160; } }
@keyframes drift { to { transform: translate(-4vw, 6vh) scale(1.12); } }
@keyframes scroll { to { transform: translateX(calc(-50% - clamp(6px, 0.7vw, 12px))); } }

/* ── Tablette ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature:last-child { grid-column: 1 / -1; }
  .pay { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-text { max-width: 640px; }
  .stage { height: clamp(520px, 120vw, 720px); max-width: 640px; width: 100%; margin-inline: auto; margin-top: 12px; }
  .phone { width: clamp(220px, 48vw, 300px); right: 4%; }
  .stage-photo { width: 58%; }
  .float { font-size: 13px; }
  .zero-inner { grid-template-columns: 1fr; }
  .zero-big { font-size: clamp(110px, 32vw, 220px); }
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
  .features .feature:last-child { grid-column: auto; }
  .download { grid-template-columns: 1fr; }
  .qr { display: none; }
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  .nav-how { display: none; }
}
@media (max-width: 560px) {
  .menu { display: none; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .store { min-width: 0; padding: 8px 12px; gap: 9px; }
  .store b { font-size: 1em; }
  .store .logo-apple, .store .logo-play { width: 22px; height: 22px; }
  .contact-main .button { width: 100%; }
  .stage { height: 132vw; }
  .phone { width: 56vw; right: 2%; padding: 7px; border-radius: 34px; }
  .phone-screen { border-radius: 28px; }
  .stage-photo { width: 54%; top: 14%; border-radius: 20px; }
  .toast { top: 36%; right: -1%; }
  .run { left: 0; bottom: 0; }
  .route { display: none; }
  .sticker { width: 6em; height: 6em; font-size: 0.95em; top: 40%; left: -1%; }
  .float { font-size: 12px; padding: 0.6em 0.8em; }
  .zero-inner { border-radius: 28px; }
}

/* ── Mouvement réduit : rien ne bouge, tout est visible ──── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}
