/* Formation ATS · page de vente
   Palette reprise de la présentation : bleu nuit, ambre, vert, bleu ciel. Effets 3D en CSS natif (pas de WebGL) :
   la page doit rester légère sur un téléphone en 3G. */

:root {
  --bg: #020617;
  --bg-2: #0B1224;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .26);
  --ink: #F8FAFC;
  --text: #CBD5E1;
  --muted: #94A3B8;
  --amber: #F59E0B;
  --amber-2: #FBBF24;
  --orange: #F97316;
  --green: #10B981;
  --green-2: #34D399;
  --sky: #0EA5E9;
  --sky-2: #38BDF8;
  --red: #F87171;
  --dark-ink: #1A1204;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
sup { font-size: 62%; line-height: 0; position: relative; vertical-align: baseline; top: -.55em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--amber); color: var(--dark-ink); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.grad { background: linear-gradient(100deg, #FDE68A, var(--amber-2) 30%, var(--amber) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Fond animé ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(1100px 620px at 50% -12%, rgba(14, 165, 233, .16), transparent 62%), var(--bg); }
.aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.aurora span:nth-child(1) { left: -30vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(245, 158, 11, .20), transparent); animation: drift1 28s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { right: -32vmax; top: 25vh; background: radial-gradient(closest-side, rgba(16, 185, 129, .15), transparent); animation: drift2 34s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { left: 15vw; bottom: -45vmax; background: radial-gradient(closest-side, rgba(14, 165, 233, .15), transparent); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(18vmax, 12vmax, 0); } }
@keyframes drift2 { to { transform: translate3d(-16vmax, -10vmax, 0); } }
@keyframes drift3 { to { transform: translate3d(-12vmax, -16vmax, 0); } }

/* ---------- Barre du haut ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 12px; right: 12px;
  max-width: 1180px; margin: 0 auto; height: 62px; padding: 0 10px 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 18px; background: rgba(2, 6, 23, .5); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(2, 6, 23, .82); border-color: var(--line-2); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .9); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand-text b { font-weight: 900; color: var(--amber-2); }
.brand-mark {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, #FCD34D, var(--amber) 50%, #EA580C); color: var(--dark-ink);
  font-weight: 900; font-size: .78rem; letter-spacing: .02em; box-shadow: 0 3px 0 #9A3412, inset 0 1px 0 rgba(255, 255, 255, .5);
}
.brand-mark.sm { width: 30px; height: 30px; font-size: .64rem; border-radius: 9px; box-shadow: 0 2px 0 #9A3412, inset 0 1px 0 rgba(255, 255, 255, .5); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(148, 163, 184, .1); }

/* ---------- Boutons (relief qui s'enfonce) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .75em 1.35em;
  border: 0; border-radius: 14px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s; -webkit-tap-highlight-color: transparent;
}
.btn-sm { min-height: 42px; padding: .55em 1em; font-size: .92rem; border-radius: 12px; }
.btn-lg { min-height: 58px; padding: .9em 1.6em; font-size: 1.08rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  color: var(--dark-ink); background: linear-gradient(180deg, #FCD34D, var(--amber) 55%, #EA8A06);
  box-shadow: 0 6px 0 #B45309, 0 16px 30px -10px rgba(245, 158, 11, .6), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-sm.btn-primary { box-shadow: 0 4px 0 #B45309, 0 10px 20px -10px rgba(245, 158, 11, .6), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #B45309, 0 20px 36px -10px rgba(245, 158, 11, .65), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 #B45309, 0 8px 16px -8px rgba(245, 158, 11, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { color: var(--ink); background: rgba(148, 163, 184, .08); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(148, 163, 184, .16); }
.btn-wa { color: #fff; background: linear-gradient(180deg, #15803D, #166534); box-shadow: 0 6px 0 #14532D, 0 16px 30px -12px rgba(22, 163, 74, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa:active { transform: translateY(4px); box-shadow: 0 2px 0 #14532D; }
.btn-tag { padding: .22em .55em; border-radius: 8px; background: rgba(26, 18, 4, .14); font-weight: 800; white-space: nowrap; }

/* ---------- Titres de section ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 46px; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 30px; }
.kicker { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 12px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
h2 { font-size: clamp(1.95rem, 1.2rem + 2.9vw, 3.05rem); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.sec-lead { margin: 14px auto 0; max-width: 40em; font-size: 1.1rem; color: var(--text); }

/* ---------- Accueil ---------- */
.hero { position: relative; padding: 118px 0 30px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: .55em; margin: 0 0 18px; padding: .45em .95em; border-radius: 999px;
  background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .32); color: #6EE7B7; font-weight: 600; font-size: .9rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
h1 { font-size: clamp(2.4rem, 1.15rem + 5.2vw, 4.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; }
.sans { list-style: none; margin: 22px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; perspective: 700px; }
.sans li {
  display: inline-flex; align-items: center; gap: .5em; padding: .55em .9em; border-radius: 12px; font-weight: 700; color: var(--ink);
  background: linear-gradient(180deg, rgba(30, 41, 59, .85), rgba(15, 23, 42, .85)); border: 1px solid var(--line-2);
  box-shadow: 0 4px 0 rgba(2, 6, 23, .9), 0 10px 20px -12px rgba(0, 0, 0, .9);
}
.sans li .ic { color: var(--amber-2); }
.js .sans li { opacity: 0; transform: rotateX(-90deg); transform-origin: 50% 0; animation: flipIn .8s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .16s); }
@keyframes flipIn { to { opacity: 1; transform: none; } }
.lead { margin: 0; max-width: 36em; font-size: 1.13rem; color: var(--text); }
.lead b { color: var(--ink); }

/* Compte à rebours à volets */
.countdown { display: inline-block; margin: 24px 0 26px; padding: 14px 16px 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .7)); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.cd-label { display: flex; align-items: center; gap: .5em; margin: 0 0 12px; font-size: .95rem; color: var(--text); }
.cd-label b { color: var(--ink); }
.cd-label .ic { color: var(--amber-2); }
.cd-units { display: flex; gap: 10px; }
.cd-unit { display: grid; justify-items: center; gap: 6px; }
.cd-unit small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.flip {
  --fh: 64px; position: relative; width: 62px; height: var(--fh); border-radius: 10px; perspective: 320px;
  font: 800 38px/var(--fh) var(--font); color: var(--ink); text-align: center; font-variant-numeric: tabular-nums;
  background: linear-gradient(#26354c, #131c2e); box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(2, 6, 23, .95); z-index: 3; }
.flip .half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; }
.flip .half > span { position: absolute; left: 0; right: 0; top: 0; height: var(--fh); line-height: var(--fh); }
.flip .top { top: 0; border-radius: 10px 10px 0 0; background: linear-gradient(#2b3b54, #1e293b); }
.flip .bot { bottom: 0; border-radius: 0 0 10px 10px; background: linear-gradient(#172033, #121a2b); }
.flip .bot > span, .flip .lb > span { top: calc(var(--fh) / -2); }
.flip .leaf { position: absolute; left: 0; right: 0; top: 0; height: 50%; transform-origin: 50% 100%; transform-style: preserve-3d; z-index: 2; }
.flip .leaf .half { top: 0; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip .lf { border-radius: 10px 10px 0 0; background: linear-gradient(#2b3b54, #1e293b); }
.flip .lb { border-radius: 0 0 10px 10px; background: linear-gradient(#172033, #121a2b); transform: rotateX(180deg); }
.flip.go .leaf { animation: leaf .6s cubic-bezier(.45, .05, .3, 1) forwards; }
@keyframes leaf { to { transform: rotateX(-180deg); } }
.countdown.fini .cd-units { display: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { display: flex; align-items: flex-start; gap: .55em; margin: 0; color: var(--muted); font-size: .92rem; }
.hero-note .ic { color: var(--green-2); margin-top: .15em; }
.hero-note b { color: var(--ink); }

/* Scène 3D : téléphone, cartes flottantes, pièces */
.hero-scene { position: relative; height: 560px; perspective: 1200px; perspective-origin: 50% 42%; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.scene::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3%; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); transform: translateZ(-80px); }
.phone {
  --pw: 238px; position: absolute; left: 50%; top: 50%; width: var(--pw); height: calc(var(--pw) * 2.02);
  margin: calc(var(--pw) * -1.01) 0 0 calc(var(--pw) / -2); transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(9deg) rotateZ(3deg); animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-24deg) rotateX(9deg) rotateZ(3deg) translateY(0); }
  50% { transform: rotateY(-17deg) rotateX(6deg) rotateZ(2deg) translateY(-14px); }
}
.phone > i { position: absolute; inset: 0; border-radius: calc(var(--pw) * .15); background: linear-gradient(145deg, #64748B, #334155 30%, #0F172A 70%); transform: translateZ(var(--z)); }
.phone > i:nth-child(odd) { background: linear-gradient(145deg, #475569, #1E293B 40%, #020617); }
.screen {
  position: absolute; inset: calc(var(--pw) * .035); border-radius: calc(var(--pw) * .12); overflow: hidden;
  display: flex; flex-direction: column; font-size: calc(var(--pw) * .052); line-height: 1.3;
  background: linear-gradient(180deg, #0B1324, #080E1C); transform: translateZ(6.5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 50px -10px rgba(245, 158, 11, .25);
}
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .13), transparent 38%); pointer-events: none; }
.notch { flex: none; width: 34%; height: calc(var(--pw) * .065); margin: calc(var(--pw) * .03) auto 0; border-radius: 999px; background: #020617; }
.avatar { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--amber-2), var(--orange)); color: var(--dark-ink); font-weight: 800; }
.who { display: grid; line-height: 1.2; }
.who b { color: #fff; }
.who small { color: var(--green-2); font-size: .8em; }
.who .sponso { color: var(--muted); }
/* Publication boostée affichée dans le téléphone */
.post { flex: none; margin: .7em .7em 0; border-radius: .9em; overflow: hidden; background: #111A2E; border: 1px solid rgba(148, 163, 184, .14); }
.post-head { display: flex; align-items: center; gap: .6em; padding: .6em .7em; }
.post-media { position: relative; height: 6.6em; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #7C2D12, #B45309 45%, #F59E0B); color: rgba(255, 255, 255, .92); }
.post-media .ic { width: 3em; height: 3em; stroke-width: 1.6; filter: drop-shadow(0 .3em .4em rgba(0, 0, 0, .35)); }
.pm-glow { position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent); transform: translate(-30%, -30%); }
.pm-price { position: absolute; right: .6em; bottom: .6em; padding: .25em .55em; border-radius: .5em; background: rgba(2, 6, 23, .75); color: #fff; font-weight: 800; font-size: .85em; }
.post-foot { display: grid; gap: .5em; padding: .6em .7em .7em; }
.boost { display: flex; align-items: center; justify-content: center; gap: .45em; padding: .5em; border-radius: .6em; background: #1D4ED8; color: #fff; font-weight: 700; font-size: .9em; transition: background-color .4s; }
.boost .ic { width: 1.2em; height: 1.2em; }
.b-on { display: none; }
.post.show .boost { background: #047857; }
.post.show .b-off { display: none; }
.post.show .b-on { display: inline; }
.reach { height: .4em; border-radius: 999px; overflow: hidden; background: rgba(148, 163, 184, .18); }
.reach i { display: block; height: 100%; width: 8%; border-radius: inherit; background: linear-gradient(90deg, var(--green-2), var(--sky-2)); transition: width 2.4s var(--ease); }
.post.show .reach i { width: 88%; }
html:not(.js) .post .reach i, .tout-voir .post .reach i { width: 88%; }
.chat-label { display: flex; align-items: center; gap: .4em; margin: .8em .9em 0; font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .5em; padding: .5em .75em 1em; background-image: radial-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 14px 14px; }
.msg { margin: 0; max-width: 84%; padding: .55em .75em; border-radius: 1em; color: #E2E8F0; }
.js .msg { opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .35s, transform .45s cubic-bezier(.2, .9, .3, 1.3); }
.js .msg.show { opacity: 1; transform: none; }
.msg.in { align-self: flex-start; background: #1E293B; border-bottom-left-radius: .3em; }
.msg.out { align-self: flex-end; background: #065F46; color: #ECFDF5; border-bottom-right-radius: .3em; }
.msg.sys { align-self: center; display: flex; align-items: center; gap: .4em; border-radius: 999px; background: rgba(14, 165, 233, .15); color: #7DD3FC; font-size: .85em; }
.msg.gain { align-self: center; border-radius: .8em; background: linear-gradient(135deg, var(--green), #059669); color: #fff; font-weight: 800; font-size: 1.15em; box-shadow: 0 8px 22px -6px rgba(16, 185, 129, .75); }

.float { position: absolute; transform-style: preserve-3d; }
.float > .glass { animation: bob 6s ease-in-out infinite; }
.f1 { left: 0; top: 11%; transform: translateZ(120px); }
.f2 { right: -3%; top: 50%; transform: translateZ(160px); }
.f2 > .glass { animation-delay: -2s; }
.f3 { left: 3%; bottom: 9%; transform: translateZ(80px); }
.f3 > .glass { animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.glass {
  display: grid; gap: 1px; min-width: 150px; padding: 12px 15px; border-radius: 16px; color: var(--ink);
  background: linear-gradient(160deg, rgba(30, 41, 59, .95), rgba(15, 23, 42, .95)); border: 1px solid rgba(148, 163, 184, .24);
  box-shadow: 0 26px 44px -18px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .09);
}
.glass small { color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.glass b { font-size: 1.08rem; font-weight: 800; }
.glass .amber { color: var(--amber-2); }
.glass .sep { height: 1px; margin: 7px 0; background: var(--line-2); }
.glass.row { display: flex; align-items: center; gap: 10px; }
.glass.row > span:last-child { display: grid; line-height: 1.25; }
.glass.row small { font-size: .78rem; letter-spacing: 0; text-transform: none; }
.bubble { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.bubble.green { background: rgba(16, 185, 129, .16); color: var(--green-2); }
.bubble.sky { background: rgba(14, 165, 233, .16); color: var(--sky-2); }

.coin { position: absolute; width: 62px; height: 62px; transform-style: preserve-3d; }
.c1 { right: 9%; top: 8%; transform: translateZ(200px); }
.c2 { right: 30%; bottom: 3%; transform: translateZ(40px) scale(.72); }
.coin .spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: coin 5s linear infinite; }
.c2 .spin { animation-duration: 6.5s; animation-direction: reverse; }
.coin i { position: absolute; inset: 0; border-radius: 50%; background: #B45309; transform: translateZ(var(--z)); }
.coin .face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  font: 900 26px/1 var(--font); color: #7C2D12;
  background: radial-gradient(circle at 35% 30%, #FEF3C7, var(--amber-2) 38%, #D97706 78%);
  box-shadow: inset 0 0 0 4px rgba(180, 83, 9, .55), inset 0 0 0 7px rgba(254, 243, 199, .35);
}
.coin .face.f { transform: translateZ(4px); }
.coin .face.b { transform: rotateY(180deg) translateZ(4px); }
@keyframes coin { to { transform: rotateY(360deg); } }

/* Sol en perspective */
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 50%; overflow: hidden; pointer-events: none;
  perspective: 520px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35) 45%, transparent 85%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35) 45%, transparent 85%);
}
.hero-grid-lines {
  position: absolute; left: -60%; right: -60%; bottom: -10%; height: 210%;
  background-image: linear-gradient(rgba(56, 189, 248, .26) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, .2) 1px, transparent 1px);
  background-size: 56px 56px; transform-origin: 50% 100%; transform: rotateX(76deg);
  animation: floor 2.6s linear infinite;
}
@keyframes floor { from { transform: rotateX(76deg) translateY(0); } to { transform: rotateX(76deg) translateY(56px); } }

/* Chiffres clés */
.stats { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.stat {
  display: grid; align-content: start; gap: 6px; padding: 18px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 41, 59, .6), rgba(15, 23, 42, .6)); border: 1px solid var(--line);
}
.stat > b { font-size: clamp(1.55rem, 1rem + 1.4vw, 2.15rem); font-weight: 900; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat:first-child > b { color: var(--amber-2); }
.stat > span { color: var(--muted); font-size: .9rem; line-height: 1.35; }

/* ---------- Le système ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 24px 22px 22px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(165deg, rgba(30, 41, 59, .72), rgba(15, 23, 42, .72)); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .8s var(--ease);
}
.step:hover, .js .step.reveal.in:hover { transform: perspective(900px) translateY(-6px) rotateX(5deg); border-color: var(--line-2); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.step h3 { margin: 16px 0 6px; font-size: 1.3rem; font-weight: 800; }
.step p { margin: 0; }
.n3d {
  font-weight: 900; line-height: 1; color: var(--amber-2);
  text-shadow: 1px 1px 0 #D97706, 2px 2px 0 #D97706, 3px 3px 0 #B45309, 4px 4px 0 #B45309, 5px 5px 0 #92400E, 6px 6px 0 #92400E, 8px 9px 16px rgba(0, 0, 0, .65);
}
.step .n3d { position: absolute; right: 20px; top: 14px; font-size: 3.4rem; }
.step-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(14, 165, 233, .12); color: var(--sky-2); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .25); }
.step-ic .ic { width: 24px; height: 24px; }
.step-ic.green { background: rgba(16, 185, 129, .12); color: var(--green-2); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }

.calc { max-width: 880px; margin: 40px auto 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, rgba(30, 41, 59, .72), rgba(15, 23, 42, .85)); border: 1px solid var(--line); }
.calc h3 { margin: 0 0 14px; font-size: 1.3rem; font-weight: 800; }
.goals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.goals button { min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(2, 6, 23, .45); color: var(--text); font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.goals button:hover { border-color: rgba(245, 158, 11, .5); }
.goals button[aria-checked="true"] { background: rgba(245, 158, 11, .16); border-color: rgba(245, 158, 11, .65); color: var(--amber-2); }
.range-label { display: block; margin-bottom: 12px; }
.range-label output { color: var(--ink); font-weight: 800; }
.range { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--amber) var(--fill, 23%), rgba(148, 163, 184, .2) var(--fill, 23%)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(148, 163, 184, .2); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--amber); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FEF3C7, var(--amber-2) 45%, #D97706); border: 0; box-shadow: 0 3px 0 #92400E, 0 6px 14px rgba(0, 0, 0, .5); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #FEF3C7, var(--amber-2) 45%, #D97706); box-shadow: 0 3px 0 #92400E; }
.calc-a { display: grid; align-content: center; gap: 4px; padding: 18px; border-radius: 18px; text-align: center; background: rgba(2, 6, 23, .55); border: 1px solid var(--line); }
.calc-a p { margin: 0; }
.calc-a p:first-child b { display: block; font-size: 3.2rem; font-weight: 900; line-height: 1.05; color: var(--amber-2); font-variant-numeric: tabular-nums; }
.calc-a p b { color: var(--ink); }
.calc-a .calc-day { color: var(--green-2); font-weight: 700; }
.calc-note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Mon histoire ---------- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.globe-wrap { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.globe { width: 100%; height: 100%; }
.globe-label { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; pointer-events: none; }
.globe-label b { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.8rem); font-weight: 900; line-height: 1.05; color: var(--ink); text-shadow: 0 4px 30px rgba(2, 6, 23, .95), 0 0 2px rgba(2, 6, 23, .9); font-variant-numeric: tabular-nums; }
.globe-label span { font-weight: 600; color: var(--text); text-shadow: 0 2px 14px rgba(2, 6, 23, .95); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(15, 23, 42, .65); border: 1px solid var(--line); }
.tl-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-weight: 900; font-size: 1.15rem; color: var(--sky-2); background: rgba(14, 165, 233, .12); }
.timeline li:last-child { border-color: rgba(245, 158, 11, .35); }
.timeline li:last-child .tl-n { color: var(--amber-2); background: rgba(245, 158, 11, .14); }
.timeline h3 { margin: 0 0 3px; font-size: 1.15rem; font-weight: 800; }
.timeline p { margin: 0; }
.quote { margin: 20px 0 0; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(245, 158, 11, .13), rgba(249, 115, 22, .05)); border: 1px solid rgba(245, 158, 11, .32); }
.quote p { margin: 0; font-size: 1.2rem; font-weight: 600; line-height: 1.5; color: var(--ink); }

/* ---------- Programme : roue 3D ---------- */
.mods { --cw: 290px; --ch: 336px; }
.ring-stage { position: relative; height: calc(var(--ch) + 44px); perspective: 1100px; perspective-origin: 50% 35%; }
.ring {
  --r: 400px; --pas: 40deg; position: absolute; left: 50%; top: 18px; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2);
  transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(var(--angle, 0deg));
  transition: transform .85s var(--ease); touch-action: pan-y;
}
.ring.dragging { transition: none; }
.mod-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px;
  border-radius: 24px; border: 1px solid rgba(148, 163, 184, .22); text-align: left; color: var(--ink); cursor: pointer;
  background: linear-gradient(165deg, #1E293B, #0F172A 72%);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
  transform: rotateY(calc(var(--k) * var(--pas))) translateZ(var(--r));
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: border-color .3s, box-shadow .3s, opacity .5s; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.js .mod-card[data-d="1"] { opacity: .62; }
.js .mod-card[data-d="2"] { opacity: .28; }
.js .mod-card[data-d="3"], .js .mod-card[data-d="4"] { opacity: 0; pointer-events: none; }
.mod-card:nth-child(1) { --k: 0; } .mod-card:nth-child(2) { --k: 1; } .mod-card:nth-child(3) { --k: 2; } .mod-card:nth-child(4) { --k: 3; } .mod-card:nth-child(5) { --k: 4; }
.mod-card.is-active { border-color: rgba(245, 158, 11, .6); box-shadow: 0 34px 70px -30px rgba(245, 158, 11, .5), 0 0 0 1px rgba(245, 158, 11, .25), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mod-card.star { background: linear-gradient(165deg, #3B2A0A, #1C1407 55%, #0F172A); }
.mod-top { display: flex; align-items: center; justify-content: space-between; }
.mod-card .n3d { font-size: 3.5rem; }
.mod-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(14, 165, 233, .12); color: var(--sky-2); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .25); }
.mod-ic .ic { width: 26px; height: 26px; }
.mod-cat { margin-top: auto; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); }
.mod-title { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.mod-hook { font-size: .98rem; line-height: 1.4; color: var(--text); }
.mod-badge { position: absolute; top: -1px; right: 18px; display: flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #FCD34D, var(--amber)); color: var(--dark-ink); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mod-badge .ic { width: 12px; height: 12px; fill: currentColor; }
.mods-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px 0 26px; }
.round { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(30, 41, 59, .85); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.round:hover { border-color: rgba(245, 158, 11, .6); background: rgba(245, 158, 11, .14); }
.round:active { transform: scale(.94); }
.round .ic { width: 22px; height: 22px; }
.mods-count { margin: 0; min-width: 4em; text-align: center; font-weight: 700; color: var(--muted); }
.mods-count b { color: var(--ink); }
.panels { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.panel { padding: 26px; border-radius: 24px; background: linear-gradient(165deg, rgba(30, 41, 59, .72), rgba(15, 23, 42, .88)); border: 1px solid var(--line); }
.js .panel[hidden] { display: none; }
.panel.entre { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: perspective(900px) rotateX(-12deg) translateY(18px); } to { opacity: 1; transform: none; } }
.panel-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); }
.tag-star { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(245, 158, 11, .16); letter-spacing: .04em; }
.tag-star .ic { width: 13px; height: 13px; fill: currentColor; }
.panel h3 { margin: 0 0 10px; font-size: 1.6rem; font-weight: 800; }
.panel-goal { margin: 0 0 18px; }
.panel-goal b { color: var(--ink); }
.checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { position: relative; padding-left: 34px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 7px;
  background: rgba(16, 185, 129, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .35);
}
.panel-result { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(16, 185, 129, .1); border: 1px solid rgba(52, 211, 153, .3); color: #D1FAE5; }
.panel-result .ic { color: var(--green-2); margin-top: 3px; }
.panel-result b { color: #fff; }

/* ---------- Inclus + Pass ---------- */
.inclus-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.incl li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: rgba(15, 23, 42, .62); border: 1px solid var(--line); }
.incl b { color: var(--ink); }
.incl-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 158, 11, .12); color: var(--amber-2); }
.incl-ic .ic { width: 21px; height: 21px; }
.incl li.bonus { border-style: dashed; border-color: rgba(52, 211, 153, .4); background: rgba(16, 185, 129, .07); }
.incl li.bonus .incl-ic { background: rgba(16, 185, 129, .14); color: var(--green-2); }
.pass-wrap { perspective: 1200px; }
.pass {
  position: relative; overflow: hidden; padding: 28px 26px 24px; border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(245, 158, 11, .3), transparent 55%), radial-gradient(120% 90% at 100% 100%, rgba(14, 165, 233, .25), transparent 55%), linear-gradient(160deg, #1E293B, #0B1224);
  border: 1px solid rgba(251, 191, 36, .38); box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .25s var(--ease);
}
.pass.tilting { transition: transform .08s linear; }
.pass-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 45%, rgba(255, 255, 255, .03) 55%, transparent 70%); background-size: 260% 100%; background-position: var(--sx, 120%) 0; }
.pass:not(.tilting) .pass-shine { animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.pass-top { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); line-height: 1.25; }
.pass-top small { font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.pass-label { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pass-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 4px 0 14px; }
.pass-price b { font-size: clamp(3.2rem, 2.2rem + 3vw, 4.4rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; white-space: nowrap; background: linear-gradient(180deg, #FEF3C7, var(--amber-2) 60%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(146, 64, 14, .9)); }
.pass-price span { font-size: 1.2rem; font-weight: 800; color: var(--amber-2); }
.pass-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; font-size: .95rem; }
.pass-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pay-chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(2, 6, 23, .5); border: 1px solid var(--line-2); }
.pay-chips li::before, .pay-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.om { color: #FDBA74; } .wave { color: #7DD3FC; } .moov { color: #A5B4FC; }
.pass-foot { margin: 14px 0 0; text-align: center; font-size: .9rem; font-weight: 700; color: var(--muted); }

/* ---------- La différence ---------- */
.versus { max-width: 960px; margin: 0 auto; display: grid; gap: 12px; perspective: 1100px; }
.vs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vs-head span { padding-left: 8px; }
.vs-head span:first-child { color: var(--muted); }
.vs-head span:last-child { color: var(--amber-2); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform-style: preserve-3d; }
.vs-row p { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 16px 18px; border-radius: 16px; line-height: 1.45; }
.vs-row .no { background: rgba(15, 23, 42, .5); border: 1px solid var(--line); color: var(--muted); }
.vs-row .no .ic { color: var(--red); margin-top: 3px; }
.vs-row .yes { background: linear-gradient(135deg, rgba(16, 185, 129, .17), rgba(15, 23, 42, .85)); border: 1px solid rgba(52, 211, 153, .38); color: var(--ink); font-weight: 600; transform: translateZ(22px); box-shadow: 0 18px 36px -22px rgba(16, 185, 129, .6); }
.vs-row .yes .ic { color: var(--green-2); margin-top: 3px; }
.punch { max-width: 780px; margin: 34px auto 0; text-align: center; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); font-weight: 600; line-height: 1.45; color: var(--text); }
.punch b { color: var(--amber-2); }

/* ---------- Inscription ---------- */
.signup { background: radial-gradient(900px 520px at 80% 30%, rgba(245, 158, 11, .1), transparent 60%); }
.signup-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: start; }
.places { margin: 0 0 24px; }
.places-bar { height: 12px; border-radius: 999px; overflow: hidden; background: rgba(148, 163, 184, .14); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6); }
.places-bar span { display: block; height: 100%; width: var(--p, 6%); border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--orange)); box-shadow: 0 0 18px rgba(245, 158, 11, .6); transition: width 1.2s var(--ease); }
.places p { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--ink); }
.places .ic { color: var(--amber-2); }
.how { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.how li { display: flex; align-items: flex-start; gap: 14px; }
.how b { color: var(--ink); }
.how-n { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: var(--dark-ink); background: linear-gradient(145deg, #FCD34D, var(--amber)); box-shadow: 0 3px 0 #B45309; }
.launch { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.launch .ic { color: var(--amber-2); margin-top: .2em; }
.launch b { color: var(--ink); }

.flipcard { perspective: 1600px; }
.flip-inner { display: grid; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .7, .2, 1), height .5s var(--ease); }
.js .face { align-self: start; }
.flipcard.is-flipped .flip-inner { transform: rotateY(180deg); }
.face {
  grid-area: 1 / 1; padding: 28px 24px; border-radius: 26px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: linear-gradient(165deg, #1E293B, #0F172A 65%); border: 1px solid rgba(148, 163, 184, .24);
  box-shadow: 0 44px 80px -38px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.face.back { transform: rotateY(180deg); background: linear-gradient(165deg, #0F2A24, #0F172A 62%); border-color: rgba(52, 211, 153, .42); }
html:not(.js) .face.back { display: none; }
.face h3 { margin: 0 0 18px; font-size: 1.5rem; font-weight: 800; }
.face-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.already { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(14, 165, 233, .1); border: 1px solid rgba(56, 189, 248, .3); color: #BAE6FD; font-size: .95rem; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; color: var(--ink); }
.field input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(148, 163, 184, .32);
  background: rgba(2, 6, 23, .6); color: var(--ink); font: 500 16px var(--font); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #64748B; }
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.field.invalid input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
.err { margin: 7px 0 0; color: #FCA5A5; font-size: .9rem; font-weight: 600; }
.err:empty { display: none; }
.hint { margin: 7px 0 0; color: var(--muted); font-size: .85rem; }
.tel { position: relative; }
.tel-cc { position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; display: grid; place-items: center; padding: 0 12px; border-radius: 12.5px 0 0 12.5px; border-right: 1px solid rgba(148, 163, 184, .25); background: rgba(30, 41, 59, .7); color: var(--text); font-weight: 700; pointer-events: none; }
.tel input { padding-left: 80px; }
.tel.intl .tel-cc { display: none; }
.tel.intl input { padding-left: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { margin-top: 6px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(26, 18, 4, .25); border-top-color: var(--dark-ink); animation: spin .8s linear infinite; }
.btn-submit.is-loading .spinner { display: inline-block; }
.btn-submit.is-loading .btn-label { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .38); color: #FECACA; font-weight: 600; }
.form-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.form-note .ic { margin-top: .15em; }
.form-note a, .small a { color: var(--sky-2); }

.ok-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 185, 129, .16); color: #6EE7B7; font-weight: 800; font-size: .85rem; }
.face.back h3 { margin-bottom: 6px; }
.ref { margin: 0 0 16px; }
.ref b { color: var(--ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; }
.pay-intro { margin: 0 0 12px; }
.pay-intro b { color: var(--ink); }
.paylist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.paylist li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 11px 11px 11px 14px; border-radius: 14px; background: rgba(2, 6, 23, .55); border: 1px solid var(--line-2); }
.pay-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.pay-num { color: var(--ink); font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(30, 41, 59, .85); color: var(--ink); font-weight: 700; font-size: .85rem; cursor: pointer; transition: border-color .2s, color .2s; }
.copy:hover { border-color: rgba(245, 158, 11, .6); }
.copy.done { border-color: rgba(52, 211, 153, .6); color: #6EE7B7; }
.small { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.linkish { margin-top: 8px; padding: 8px 0; border: 0; background: none; color: var(--sky-2); font-weight: 600; font-size: .92rem; text-decoration: underline; cursor: pointer; }

/* ---------- Questions ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(15, 23, 42, .66); border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: rgba(245, 158, 11, .42); }
.faq summary { position: relative; padding: 18px 60px 18px 20px; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 8px;
  background: rgba(245, 158, 11, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; }
.faq details[open] .faq-a { animation: faqIn .45s var(--ease); transform-origin: 50% 0; }
@keyframes faqIn { from { opacity: 0; transform: perspective(700px) rotateX(-28deg); } to { opacity: 1; transform: none; } }

/* ---------- Dernier appel ---------- */
.final-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px); border-radius: 32px;
  background: radial-gradient(700px 320px at 50% 0%, rgba(245, 158, 11, .24), transparent 70%), linear-gradient(165deg, #1E293B, #0B1224);
  border: 1px solid rgba(245, 158, 11, .32); box-shadow: 0 50px 90px -50px rgba(245, 158, 11, .45);
}
.final-card h2 { margin: 0 0 24px; font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); font-weight: 900; }
.final-list { list-style: none; max-width: 640px; margin: 0 auto 30px; padding: 0; display: grid; gap: 10px; text-align: left; }
.final-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.final-list .ic { color: var(--green-2); margin-top: .25em; }
.final-wa { margin: 24px 0 0; }
.final-wa a { color: #6EE7B7; font-weight: 700; white-space: nowrap; }

/* ---------- Pied de page + barre collante ---------- */
.footer { padding: 34px 0 120px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.footer .footer-brand { flex-wrap: nowrap; }
.nw { white-space: nowrap; }
.footer a { color: var(--text); }
.sticky {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgba(2, 6, 23, .86); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(160%); transition: transform .4s var(--ease);
}
.sticky.show { transform: none; }
.sticky p { display: grid; margin: 0; line-height: 1.2; }
.sticky b { font-size: 1.15rem; color: var(--ink); }
.sticky small { font-size: .8rem; color: var(--muted); }
html:not(.js) .sticky { display: none; }

/* ---------- Apparitions au défilement (en 3D) ---------- */
.js .reveal { opacity: 0; transform: perspective(1000px) translateY(34px) rotateX(-14deg); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .incl li.reveal { transform: perspective(900px) translateX(-34px) rotateY(20deg); }
.js .timeline li.reveal { transform: perspective(900px) translateX(34px) rotateY(-20deg); }
.js .vs-row.reveal { transform: perspective(900px) rotateX(-55deg) translateY(24px); transform-origin: 50% 0; }
.js .stat.reveal { transform: perspective(800px) translateY(26px) rotateX(-35deg); }
.js .reveal.in, .tout-voir .reveal, .tout-voir .reveal.in { opacity: 1; transform: none; }
.tout-voir .msg { opacity: 1; transform: none; }
/* Accueil hors de l'écran : on met ses animations en pause pour économiser la batterie */
.hero.paused *, .hero.paused *::before, .hero.paused *::after { animation-play-state: paused !important; }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
}
@media (max-width: 920px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-scene { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .phone { --pw: 192px; }
  .f1 { left: 2%; transform: translateZ(70px); }
  .f2 { right: 2%; transform: translateZ(90px); }
  .f3 { left: 4%; transform: translateZ(50px); }
  .c1 { transform: translateZ(110px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .story-grid, .inclus-grid, .signup-grid { grid-template-columns: 1fr; gap: 34px; }
  .globe-wrap { max-width: 400px; }
  .calc { grid-template-columns: 1fr; }
  .pass-wrap { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (min-width: 921px) {
  .sticky { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-text { font-size: .95rem; }
  .sans { gap: 8px; margin: 18px 0 16px; }
  .sans li { padding: .45em .75em; font-size: .95rem; }
  .lead { font-size: 1.02rem; }
  .countdown { display: block; margin: 20px 0 22px; }
  .cd-units { justify-content: space-between; }
  .flip { --fh: 56px; width: 54px; font-size: 32px; }
  .btn-lg { min-height: 56px; padding: .85em 1.1em; font-size: 1.02rem; }
  .hero-cta .btn, .final-card .btn { width: 100%; }
  /* Scène 3D sur téléphone : le téléphone à droite, les cartes empilées à gauche, rien ne cache la conversation */
  .hero-scene { height: 410px; }
  .phone { --pw: 176px; left: 62%; }
  .glass { min-width: 0; padding: 9px 11px; }
  .glass b { font-size: .9rem; }
  .glass.row small { font-size: .72rem; }
  .bubble { width: 32px; height: 32px; border-radius: 10px; }
  .f1 { left: 0; top: 8%; transform: translateZ(60px) scale(.82); transform-origin: 0 0; }
  .f2 { left: 0; right: auto; top: 58%; transform: translateZ(80px) scale(.82); transform-origin: 0 50%; }
  .f3 { display: none; }
  .c1 { right: 2%; top: 1%; transform: translateZ(90px) scale(.8); }
  .c2 { right: 4%; bottom: 2%; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 16px 16px 16px 14px; }
  .step .step-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; }
  .step h3 { margin: 2px 0 2px; font-size: 1.15rem; }
  .step p { grid-column: 2; font-size: .95rem; padding-right: 26px; }
  .step .n3d { font-size: 2.1rem; top: 10px; right: 14px; }
  .calc { padding: 18px; }
  .goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .goals button { padding: 0 4px; font-size: .88rem; }
  .calc-a p:first-child b { font-size: 2.6rem; }
  .globe-wrap { max-width: 300px; }
  .mods { --cw: min(272px, 76vw); --ch: 318px; }
  .checks { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 8px; padding-bottom: 8px; }
  .vs-row .yes { transform: none; }
  .vs-row .sr { position: static; width: auto; height: auto; margin: 0 0 2px; overflow: visible; clip: auto; white-space: normal; display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .vs-row .no .sr { color: var(--muted); }
  .vs-row .yes .sr { color: var(--amber-2); }
  .vs-row p > span { display: block; }
  .face { padding: 24px 18px; }
  .paylist li { grid-template-columns: 1fr auto; }
  .paylist .pay-name { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
  .flip { width: 48px; font-size: 28px; --fh: 50px; }
  .cd-units { gap: 6px; }
}

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .sans li { opacity: 1; transform: none; }
}
