:root {
  --bg: #070b1a;
  --bg2: #0c1230;
  --card: #121a3d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f5ff;
  --muted: #a9b2dc;
  --gold: #ffd877;
  --gold2: #f4a640;
  --blue: #4fd1ff;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent),
    radial-gradient(1px 1px at 72% 12%, #fff9 50%, transparent),
    radial-gradient(1.5px 1.5px at 33% 64%, #fff7 50%, transparent),
    radial-gradient(1px 1px at 86% 58%, #fff8 50%, transparent),
    radial-gradient(1px 1px at 52% 88%, #fff6 50%, transparent),
    radial-gradient(1.5px 1.5px at 8% 82%, #fff7 50%, transparent),
    radial-gradient(1px 1px at 94% 90%, #fff8 50%, transparent),
    radial-gradient(ellipse at 50% -10%, #1f2a66 0%, var(--bg2) 40%, var(--bg) 80%);
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* En-tête */
header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: 0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav.links { display: flex; gap: 18px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }

.gold {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Héros */
.hero { padding: 40px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8vw, 92px); line-height: 0.95; margin: 0; font-weight: 900; letter-spacing: -0.02em; }
.hero .tag { font-size: clamp(20px, 2.6vw, 28px); color: var(--muted); margin: 18px 0 8px; font-weight: 600; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 14px; text-decoration: none; font-weight: 700;
  color: var(--text); border: 1.5px solid var(--line); background: #ffffff0d;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); background: #ffffff18; }
.btn.play { background: linear-gradient(90deg, var(--gold), var(--gold2)); color: #1a1205; border: 0; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: 0.75; line-height: 1.1; }
.btn span { line-height: 1.15; }
.btn.soon { opacity: 0.65; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Téléphone avec captures en fondu */
.phone {
  position: relative; width: min(330px, 80vw); aspect-ratio: 1320 / 2868; margin: 0 auto;
  border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, #3a4372, #161b3a 40%, #262d57);
  box-shadow: 0 0 0 1.5px #ffffff20, 0 30px 90px #0009, 0 0 120px #4fd1ff40;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: fade 21s infinite; }
.phone .screen img:nth-child(1) { animation-delay: 0s; }
.phone .screen img:nth-child(2) { animation-delay: 3s; }
.phone .screen img:nth-child(3) { animation-delay: 6s; }
.phone .screen img:nth-child(4) { animation-delay: 9s; }
.phone .screen img:nth-child(5) { animation-delay: 12s; }
.phone .screen img:nth-child(6) { animation-delay: 15s; }
.phone .screen img:nth-child(7) { animation-delay: 18s; }
@keyframes fade { 0% { opacity: 0; } 3% { opacity: 1; } 14.3% { opacity: 1; } 18% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .phone .screen img { animation: none; }
  .phone .screen img:first-child { opacity: 1; }
}

/* Sections */
section { padding: 60px 0; }
section h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 12px; font-weight: 900; letter-spacing: -0.01em; }
section .sub { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 10px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card .ico { font-size: 30px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.shots img { width: 220px; flex: none; border-radius: 24px; border: 1px solid var(--line); scroll-snap-align: start; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(90deg, var(--gold), var(--gold2)); color: #1a1205; font-weight: 900; }
.band { text-align: center; background: linear-gradient(180deg, #ffffff06, #ffffff0d); border-block: 1px solid var(--line); }
.band .cta { justify-content: center; }

/* Pages de texte (confidentialité, support…) */
main.doc { padding: 30px 0 70px; }
main.doc .wrap { max-width: 760px; }
main.doc h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 10px 0 8px; font-weight: 900; }
main.doc .meta { color: var(--muted); margin-bottom: 30px; }
main.doc h2 { font-size: 22px; margin: 34px 0 8px; }
main.doc p, main.doc li { color: #d6dbf5; }
main.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
main.doc th, main.doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
main.doc th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; }
.box.gold { border-color: #ffd87766; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; }

footer { padding: 36px 0 50px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .cta { justify-content: center; }
  .grid, .steps { grid-template-columns: 1fr; }
  nav.links { display: none; }
}

/* Boutons des stores : appel principal du site */
.btn[data-store] { background: #000; border-color: #ffffff40; padding: 12px 22px 12px 18px; font-size: 18px; min-width: 200px; }
.btn[data-store] svg { width: 28px; height: 28px; }
.btn[data-store] small { font-size: 12px; }
.btn[data-store].soon { opacity: 0.8; cursor: default; }
.btn[data-store].soon:hover { transform: none; }

/* ---- Finitions (logo, héros, galerie, FAQ) ---- */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #1a1205; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
header.top { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: #070b1acc; border-bottom: 1px solid transparent; padding: 12px 0; }
.brand span { font-size: 18px; letter-spacing: 0.04em; }
.brand b { color: var(--gold); font-weight: 900; }
.brand img { border-radius: 0; }
nav.links { align-items: center; }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; background: linear-gradient(90deg, var(--gold), var(--gold2)); color: #1a1205 !important; border: 0; }
.kicker { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: #ffd8771a; border: 1px solid #ffd87740; padding: 6px 12px; border-radius: 999px; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.orbit-deco { position: absolute; width: min(560px, 120%); aspect-ratio: 1; pointer-events: none; }
.orbit-deco .spin { transform-origin: 300px 300px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-deco .spin { animation: none; } }
ol.steps { list-style: none; padding: 0; margin: 0; }
.card { transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-3px); border-color: #ffffff26; }
.card .ico { width: 34px; height: 34px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px max(16px, calc((100% - 1120px) / 2)) 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery img { width: clamp(200px, 24vw, 260px); height: auto; flex: none; border-radius: 22px; border: 1px solid var(--line); scroll-snap-align: center; box-shadow: 0 20px 50px #0007; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.split .shot { width: min(300px, 100%); justify-self: center; border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 30px 80px #0008, 0 0 90px #ff7aa833; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3px, transparent 4px), radial-gradient(circle, #ffd87755 0 9px, transparent 10px); }
.narrow { max-width: 760px; }
.more { margin-top: 18px; }
.band-logo { margin: 0 auto 12px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
footer .wrap { align-items: center; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }
  .chips { justify-content: center; }
  .brand span { font-size: 16px; }
}
.hero { overflow: hidden; }
.split .shot { width: min(260px, 70vw); }
@media (max-width: 820px) { .orbit-deco { width: 100%; } }
.split .shot { height: auto; }
@media (max-width: 820px) {
  nav.links { display: flex; }
  nav.links a:not(.btn) { display: none; }
  section { padding: 44px 0; }
  .hero { padding-top: 24px; }
}

/* ===== Passe « premium » : scènes animées, verre, lueurs, apparitions ===== */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* Cartes en verre avec bord dégradé et halo qui suit le pointeur */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #18214b, #0e1433) padding-box,
    linear-gradient(150deg, #ffd87755, #ffffff12 35%, #ffffff08 65%, #4fd1ff40) border-box;
  box-shadow: 0 18px 50px #0006, inset 0 1px 0 #ffffff12;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), #ffd8771f, transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 70px #0008, 0 0 0 1px #ffd87730, 0 0 60px #ffd87714; }
.card:hover::after { opacity: 1; }

/* « Comment jouer » : une scène animée remplace le numéro */
.steps .card::before { content: none; }
.step { padding: 0 0 26px; text-align: center; }
.step .scene {
  display: block; width: 100%; height: auto; aspect-ratio: 240 / 140; margin-bottom: 6px;
  background:
    radial-gradient(120% 90% at 50% 0%, #2a3a8a55, transparent 70%),
    linear-gradient(180deg, #0a0f2a, #0e1433);
  border-bottom: 1px solid #ffffff10;
}
.step h3 {
  margin: 14px 24px 6px; font-size: 26px; font-weight: 900; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 30%, #ffe3a3); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { margin: 0 24px; }
.scene .combo { font: 900 13px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: .08em; fill: #ffd877; }
.steps { position: relative; }

/* Fonctionnalités : icônes dans une pastille lumineuse */
.feat { padding: 26px 24px 24px; }
.ico-tile {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 8px;
  background: radial-gradient(circle at 50% 35%, #ffffff1c, #ffffff06 70%);
  border: 1px solid #ffffff1a;
  box-shadow: inset 0 1px 0 #ffffff20, 0 8px 24px #0005, 0 0 26px #ffd8771a;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.ico-tile .ico { width: 30px; height: 30px; filter: drop-shadow(0 0 8px #ffd87755); }
.feat:hover .ico-tile { transform: translateY(-2px) rotate(-6deg) scale(1.06); box-shadow: inset 0 1px 0 #ffffff26, 0 10px 30px #0006, 0 0 40px #ffd87733; }

/* Titre du héros : reflet doré qui passe */
.hero h1 .gold {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold2) 35%, #fff2c8 50%, var(--gold2) 65%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: shine 6s ease-in-out infinite; filter: drop-shadow(0 0 28px #ffd87740);
}
@keyframes shine { 0%, 35% { background-position: 100% 0; } 65%, 100% { background-position: 0 0; } }
.hero { position: relative; }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -10% -20% auto auto; width: 70%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, #4fd1ff1f, transparent 60%), radial-gradient(circle at 30% 70%, #ff7aa814, transparent 55%);
}

/* Boutons */
.btn.small { box-shadow: 0 6px 20px #f4a64040, inset 0 1px 0 #fff6; }
.btn[data-store] { box-shadow: 0 10px 30px #0007, inset 0 1px 0 #ffffff1f; }
.btn[data-store]:hover { border-color: #ffd87788; box-shadow: 0 14px 36px #0008, 0 0 30px #ffd87726; }

/* Galerie */
.gallery img { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.gallery img:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 28px 60px #0008, 0 0 50px #4fd1ff26; }

/* FAQ */
details { position: relative; transition: border-color .25s, box-shadow .25s; }
details summary { list-style: none; padding-right: 34px; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ''; position: absolute; right: 18px; top: 19px; width: 10px; height: 10px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s;
}
details[open] { border-color: #ffd87755; box-shadow: 0 0 40px #ffd87712; }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }

/* Bandeau final */
.band { position: relative; overflow: hidden; background: radial-gradient(60% 120% at 50% 0%, #ffd87714, transparent 70%), linear-gradient(180deg, #ffffff05, #ffffff0b); }
.band-logo { position: relative; width: 72px; height: 72px; margin: 0 auto 16px; }
.band-logo::before, .band-logo::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid #ffd87755; animation: pulse 3.2s ease-out infinite;
}
.band-logo::after { animation-delay: 1.6s; }
@keyframes pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Apparition au scroll (seulement si le JS tourne) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .gold, .band-logo::before, .band-logo::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 820px) {
  .step h3 { font-size: 24px; }
  .features h2, .features .sub { text-align: left; }
}
