/* ==========================================================================
   Virtual Card Empire — page de vente
   Palette A : bleu nuit + vert vif. Mobile d'abord.
   On n'anime que transform et opacity (fluide sur Android d'entrée de gamme).
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  src: url('/assets/sora.woff2?v=mv44vwyy') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #070B1A;
  --bg-2: #0C1330;
  --bg-3: #111A3F;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #F2F5FF;
  --muted: #9AA4C7;
  --accent: #22F5A0;
  --accent-ink: #03140C;
  --accent-soft: rgba(34, 245, 160, 0.12);
  --blue: #3B82F6;
  --red: #FF4D5E;
  --red-soft: rgba(255, 77, 94, 0.13);
  --gold: #E9C46A;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);

  --gutter: 16px;
  --radius: 18px;
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.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;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* Lenis (défilement fluide, ordinateur uniquement) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* --------------------------------------------------------------------------
   Fond cinématographique : traînées de lumière + grain
   -------------------------------------------------------------------------- */
.backdrop { position: fixed; inset: -10% 0; z-index: -1; pointer-events: none; overflow: hidden; }
.trail {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.trail-a {
  width: 150vmax; height: 46vmax; top: -12%; left: -55%;
  background: radial-gradient(closest-side, rgba(34, 245, 160, 0.20), rgba(34, 245, 160, 0.06) 55%, transparent 75%);
  transform: rotate(-14deg);
  animation: drift-a 18s var(--ease-soft) infinite alternate;
}
.trail-b {
  width: 140vmax; height: 52vmax; top: 30%; right: -60%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.06) 55%, transparent 75%);
  transform: rotate(18deg);
  animation: drift-b 22s var(--ease-soft) infinite alternate;
}
@keyframes drift-a {
  0% { transform: translate3d(0, 0, 0) rotate(-14deg) scale(1); }
  50% { transform: translate3d(8%, 6%, 0) rotate(-8deg) scale(1.06); }
  100% { transform: translate3d(14%, -4%, 0) rotate(-18deg) scale(0.98); }
}
@keyframes drift-b {
  0% { transform: translate3d(0, 0, 0) rotate(18deg) scale(1); }
  50% { transform: translate3d(-10%, -6%, 0) rotate(12deg) scale(1.05); }
  100% { transform: translate3d(-16%, 5%, 0) rotate(24deg) scale(0.97); }
}
.grain {
  position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.45s var(--ease-spring), background-color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:active { transform: scale(1.04); }
@media (hover: hover) { .btn:hover { transform: scale(1.035); } }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.85rem; }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 1rem; }
.hero-ctas .btn-ghost { min-height: 48px; }
.btn-2l { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.btn-2l b { font-size: 1.05rem; font-weight: 800; }
.btn-2l small { font-size: 0.76rem; font-weight: 600; opacity: 0.78; }
.btn:has(.btn-2l) { min-height: 62px; padding-block: 8px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink); overflow: hidden; isolation: isolate;
  box-shadow: 0 12px 34px -12px rgba(34, 245, 160, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: btn-shine 3s var(--ease-soft) infinite 1.4s;
}
@keyframes btn-shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  32%, 100% { transform: translateX(330%) skewX(-18deg); }
}
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
@media (hover: hover) { .btn-ghost:hover { background: var(--surface-2); } }

/* --------------------------------------------------------------------------
   Barre du haut
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgba(7, 11, 26, 0.86); border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 26px; height: 18px; border-radius: 5px; flex: none; position: relative;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 0 18px rgba(34, 245, 160, 0.4);
}
.brand-mark::after { content: ''; position: absolute; left: 4px; top: 5px; width: 6px; height: 5px; border-radius: 1.5px; background: rgba(3, 20, 12, 0.55); }
.brand-name { font-size: 0.92rem; white-space: nowrap; }
@media (min-width: 400px) { .brand-name { font-size: 0.98rem; } }
@media (max-width: 379px) {
  .brand { gap: 8px; }
  .brand-name { font-size: 0.82rem; }
  .nav-inner { gap: 10px; }
  .nav .btn-sm { padding: 0 12px; font-size: 0.8rem; }
}
.nav-links { display: none; margin-left: auto; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
.nav-cta-long { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 8px; }
  .nav-cta-long { display: inline; }
  .nav-cta-short { display: none; }
}

/* --------------------------------------------------------------------------
   Haut de page
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(14px, 4vw, 72px); }
.hero-grid { display: grid; gap: 8px; align-items: center; }
@media (max-width: 959px) {
  /* Téléphone : la carte remonte au premier écran, les points rassurants passent dessous. */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-visual { order: 1; }
  .assurances { order: 2; justify-content: center; margin-top: 4px; }
  .card-stage { padding-top: 30px; }
  .bubble-1 { top: 0; }
  .hero-ctas .btn-ghost { min-height: 40px; background: none; border-color: transparent; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
}
@media (max-width: 379px) { .hero-title { font-size: 1.62rem; } .hero-sub { font-size: 0.9rem; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 40px; min-height: calc(88vh - var(--nav-h)); }
  .hero-title { font-size: clamp(2.6rem, 4.1vw, 3.7rem); }
  .card-tilt { width: min(420px, 36vw); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 0.8rem; color: var(--muted); margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-title {
  font-size: clamp(1.8rem, 7.3vw, 4.1rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 12px; font-size: clamp(0.95rem, 3.7vw, 1.15rem); line-height: 1.5; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }
.assurances { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 0.8rem; color: var(--text); }
.assurances li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.assurances .ic { color: var(--accent); }
@media (min-width: 560px) { .assurances { gap: 10px 22px; font-size: 0.88rem; } }
@media (min-width: 960px) { .card-stage { padding-top: 56px; } }

/* Entrée du haut de page en CSS pur : visible tout de suite, sans attendre les
   bibliothèques. Titre mot par mot, de bas en haut. */
.js .hero-title.is-split .w {
  display: inline-block; opacity: 0; transform: translate3d(0, 0.6em, 0);
  animation: w-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 45ms + 120ms);
}
@media (hover: hover) and (pointer: fine) {
  /* Léger flou seulement sur ordinateur : coûteux sur les petits téléphones. */
  .js .hero-title.is-split .w { filter: blur(8px); animation-name: w-in-blur; }
}
@keyframes w-in { to { opacity: 1; transform: none; } }
@keyframes w-in-blur { to { opacity: 1; transform: none; filter: blur(0); } }
.js .hero-in {
  opacity: 0; transform: translate3d(0, 16px, 0);
  animation: rise 0.85s var(--ease-spring) forwards;
  animation-delay: calc(700ms + var(--d) * 85ms);
}
.js .eyebrow.hero-in { animation-delay: 0ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Carte 3D */
.hero-visual { position: relative; }
.card-stage {
  position: relative; display: grid; justify-items: center; padding: 40px 0 8px;
  opacity: 0; animation: stage-in 1.1s var(--ease-out) forwards 0.35s;
}
@keyframes stage-in { from { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
.card-float { perspective: 1100px; animation: float 6s var(--ease-soft) infinite alternate; }
@keyframes float { from { transform: translate3d(0, -7px, 0); } to { transform: translate3d(0, 9px, 0); } }
.card-tilt {
  position: relative; display: block; width: min(340px, 82vw); aspect-ratio: 1.586;
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 20px;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg));
  transform-style: preserve-3d; will-change: transform;
}
.card-flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.3, 1.3, 0.45, 1);
}
.card-tilt[aria-pressed="true"] .card-flip { transform: rotateY(180deg); }
.card-face {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; padding: 7% 7.5%; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -10px rgba(34, 245, 160, 0.25);
}
.card-front {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(34, 245, 160, 0.38), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(59, 130, 246, 0.45), transparent 60%),
    linear-gradient(140deg, #13214F 0%, #0A1230 55%, #071A22 100%);
}
.card-back {
  transform: rotateY(180deg); padding: 9% 0 7%;
  background: linear-gradient(150deg, #0E1838, #071026 70%, #061A1B);
}
.card-face::after {
  content: ''; position: absolute; inset: -40% -20%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.24) 49%, rgba(255, 255, 255, 0.06) 54%, transparent 62%);
  transform: translate3d(-70%, 0, 0);
  animation: card-shine 5.5s var(--ease-soft) infinite 1.8s;
}
@keyframes card-shine {
  0% { transform: translate3d(-70%, 0, 0); }
  28%, 100% { transform: translate3d(70%, 0, 0); }
}
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-brand { font-weight: 800; font-size: clamp(0.72rem, 3.2vw, 0.9rem); letter-spacing: 0.08em; text-transform: uppercase; }
.card-nfc { color: rgba(255, 255, 255, 0.75); width: 22px; height: 22px; }
.card-chip {
  display: block; width: 15%; aspect-ratio: 1.3; margin-top: 9%; border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0, 0, 0, 0.18) 33% 35%, transparent 36% 64%, rgba(0, 0, 0, 0.18) 65% 67%, transparent 68%),
    linear-gradient(0deg, transparent 45%, rgba(0, 0, 0, 0.18) 46% 54%, transparent 55%),
    linear-gradient(135deg, #F6DE9A, var(--gold) 50%, #B8902F);
}
.card-number { display: block; margin-top: auto; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: clamp(1rem, 5vw, 1.32rem); letter-spacing: 0.14em; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-bottom { display: flex; align-items: flex-end; gap: 22px; margin-top: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }
.card-bottom small { display: block; font-size: 0.56rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; font-weight: 500; }
.card-mark { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.card-mark i { display: block; width: 6px; border-radius: 2px; background: var(--accent); }
.card-mark i:nth-child(1) { height: 40%; opacity: 0.55; }
.card-mark i:nth-child(2) { height: 70%; opacity: 0.8; }
.card-mark i:nth-child(3) { height: 100%; }
.card-stripe { display: block; height: 20%; background: #02050D; }
.card-sign { display: flex; align-items: center; gap: 10px; margin: 8% 7.5% 0; }
.card-sign span { flex: 1; height: 34px; border-radius: 6px; padding: 0 10px; display: flex; align-items: center; font-size: 0.66rem; color: #3a4466; background: repeating-linear-gradient(135deg, #E8ECF8 0 6px, #D9DFF0 6px 12px); }
.card-sign b { font-size: 0.8rem; letter-spacing: 0.1em; }
.card-back-note { display: block; margin: auto 7.5% 0; font-size: 0.66rem; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }
.card-caption { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.78rem; color: var(--muted); }

/* Bulles de notification (illustration) */
.bubble {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  background: rgba(14, 22, 52, 0.92); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translate3d(0, 12px, 0) scale(0.94);
  animation: bubble 9s var(--ease-out) infinite;
}
.bubble-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.bubble-ic .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.bubble-1 { top: 6px; left: 2%; animation-delay: 1.2s; }
.bubble-2 { top: 42%; right: 0; animation-delay: 4.2s; }
.bubble-3 { bottom: 40px; left: 4%; animation-delay: 7.2s; }
@keyframes bubble {
  0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.94); }
  5% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  27% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  33%, 100% { opacity: 0; transform: translate3d(0, -10px, 0) scale(0.97); }
}

/* Bande des usages */
.marquee {
  position: relative; margin-top: clamp(14px, 4vw, 48px); padding: 16px 0; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(7, 11, 26, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; will-change: transform; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.marquee li::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.8; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(36px, 8vw, 88px); position: relative; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: clamp(1.75rem, 6.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; max-width: 20ch; text-wrap: balance; }
.h2.center { max-width: 22ch; }
h3 { font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.tile p, .gets p, .step p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

.grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.who { grid-template-columns: 1fr 1fr; gap: 10px; }
.who .tile { padding: 16px 14px; }
.who h3 { font-size: 0.95rem; }
.who p { font-size: 0.84rem; }
@media (min-width: 1000px) { .who { grid-template-columns: repeat(4, 1fr); } }
.tile {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.tile-col { flex-direction: column; gap: 10px; }
.tile-ic {
  width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.tile-ic.is-red { background: var(--red-soft); color: var(--red); }

/* Le problème */
.pay-demo { margin-top: 28px; max-width: 520px; }
.pay-row {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
}
.pay-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.pay-txt { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.88rem; white-space: nowrap; }
.pay-txt small { color: var(--muted); }
.pay-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.pay-status.is-refused { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255, 77, 94, 0.35); }
.pay-status.is-ok { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(34, 245, 160, 0.35); }
.solution {
  position: relative; margin-top: 28px; padding: 24px 20px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(34, 245, 160, 0.10), rgba(59, 130, 246, 0.06) 60%, transparent);
  border: 1px solid rgba(34, 245, 160, 0.3);
}
.solution-glow {
  position: absolute; inset: -60% -30% auto auto; width: 120%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 245, 160, 0.28), transparent);
}
.kicker-accent { position: relative; }
.solution-txt { position: relative; font-size: clamp(1.15rem, 4.6vw, 1.5rem); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; max-width: 30ch; }
.solution .pay-status { position: relative; margin: 18px 0 0; }

/* Ce que tu reçois */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.gets { display: grid; gap: 18px; margin-top: 28px; }
.gets li { display: flex; gap: 14px; }
.player { border-radius: 22px; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.player-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(70% 90% at 80% 10%, rgba(34, 245, 160, 0.3), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgba(59, 130, 246, 0.35), transparent 60%),
    linear-gradient(140deg, #13214F, #070B1A);
}
.player-cta { display: grid; justify-items: center; gap: 12px; text-decoration: none; }
.player-unlock {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; background: rgba(7, 11, 26, 0.75); border: 1px solid rgba(34, 245, 160, 0.35);
}
.player-unlock .ic { width: 14px; height: 14px; color: var(--accent); }
.player-play { transition: transform 0.45s var(--ease-spring); }
.player-cta:active .player-play { transform: scale(1.1); }
@media (hover: hover) { .player-cta:hover .player-play { transform: scale(1.08); } }
.player-play {
  position: relative; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.player-play::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: ring 2.4s var(--ease-out) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
.player-play .ic { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.player-chip {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: rgba(7, 11, 26, 0.8);
}
.player-bar { height: 4px; margin: 14px 4px 0; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.player-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: progress 7s var(--ease-soft) infinite; }
@keyframes progress { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
.player-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 2px; font-size: 0.9rem; }
.player-meta small { color: var(--muted); }

/* Étapes */
.steps-wrap { position: relative; margin-top: 32px; max-width: 640px; }
.steps-track { position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps-line { position: absolute; inset: 0; background: linear-gradient(var(--accent), var(--blue)); transform-origin: top; }
.step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 12px 0; }
.step h3 { padding-top: 9px; }
.step-n {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font-weight: 800; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--bg), 0 0 26px rgba(34, 245, 160, 0.45);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.5s, transform 0.6s var(--ease-spring);
}
.steps-anim .step-n { background: var(--bg-2); color: var(--muted); border-color: var(--line); box-shadow: 0 0 0 6px var(--bg); }
.steps-anim .step > div { opacity: 0.45; transition: opacity 0.5s; }
.steps-anim .step.is-lit .step-n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 6px var(--bg), 0 0 26px rgba(34, 245, 160, 0.45); transform: scale(1.06); }
.steps-anim .step.is-lit > div { opacity: 1; }

/* En action : paiements acceptés, abonnements activés */
.accent { font-style: normal; color: var(--accent); }
.lead { margin-top: 16px; color: var(--muted); font-size: 1.02rem; max-width: 32em; }
@media (min-width: 900px) { .live-split { grid-template-columns: 0.9fr 1.1fr; } }
.live {
  position: relative; border-radius: 24px; padding: 16px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  box-shadow: 0 50px 100px -50px rgba(34, 245, 160, 0.4);
}
.live-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.live-head div { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.88rem; }
.live-head small { color: var(--muted); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: 0.1em; }
.live .mini-card-xs { width: 42px; aspect-ratio: 1.586; padding: 5px; border-radius: 6px; flex: none; }
.live .mini-card-xs .card-chip { width: 12px; margin-top: 0; border-radius: 2px; }
.live-dot { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.live-dot i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.live-dot i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ring 1.6s var(--ease-out) infinite; }
.live-list { display: grid; gap: 10px; margin-top: 14px; }
.live-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.live-badge {
  width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(34, 245, 160, 0.2), rgba(59, 130, 246, 0.22)); border: 1px solid var(--line);
}
.live-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.live-txt b { font-size: 0.95rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-st { display: grid; }
.st {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap;
}
.st .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.st-pending { color: var(--muted); background: var(--surface-2); }
.st-ok { color: var(--accent); background: var(--accent-soft); }
.st-on { color: var(--accent-ink); background: var(--accent); }
.st-pending, .st-ok { opacity: 0; }
.spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-check {
  margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 22px rgba(34, 245, 160, 0.5);
}
.live-check .ic { width: 15px; height: 15px; stroke-width: 2.8; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.brands li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.brands-note { margin-top: 18px; text-align: center; font-size: 0.74rem; color: var(--muted); }

/* Prix */
.price-card {
  position: relative; max-width: 440px; margin: 32px auto 0; padding: 30px 22px 22px; border-radius: 26px; text-align: center; overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(150deg, rgba(34, 245, 160, 0.8), rgba(59, 130, 246, 0.5) 45%, rgba(255, 255, 255, 0.06) 75%) border-box;
  box-shadow: 0 50px 100px -50px rgba(34, 245, 160, 0.45);
}
.price-glow { position: absolute; left: 50%; top: -120px; width: 360px; height: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(34, 245, 160, 0.22), transparent); pointer-events: none; }
.price-name { position: relative; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.price-label { position: relative; color: var(--muted); font-size: 0.88rem; }
.price { position: relative; display: flex; justify-content: center; align-items: baseline; gap: 8px; margin-top: 14px; }
.price-amount { font-size: clamp(3rem, 15vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-cur { font-weight: 700; color: var(--muted); }
.price-once { position: relative; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.price-list { position: relative; display: grid; gap: 12px; text-align: left; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.price-list li { display: flex; gap: 12px; align-items: center; font-size: 0.95rem; }
.price-list .ic { color: var(--accent); stroke-width: 2.6; }
.price-means { position: relative; margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-wrap: balance; }
.price-means .ic { display: inline-block; vertical-align: -0.2em; margin-right: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px;
  cursor: pointer; list-style: none; font-weight: 700; font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); transition: transform 0.45s var(--ease-spring); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 18px 18px; color: var(--muted); font-size: 0.94rem; }
.faq-a a { color: var(--accent); }

/* Dernier appel */
.final { overflow: hidden; }
.final-inner { display: grid; gap: 18px; justify-items: center; }
.final-card { perspective: 900px; margin-bottom: 16px; }
.mini-card {
  position: relative; display: flex; flex-direction: column; width: 220px; aspect-ratio: 1.586; padding: 16px; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(34, 245, 160, 0.38), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(59, 130, 246, 0.45), transparent 60%),
    linear-gradient(140deg, #13214F 0%, #0A1230 55%, #071A22 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(34, 245, 160, 0.3);
}
.final-card .mini-card { transform: rotateX(14deg) rotateY(-16deg) rotateZ(-4deg); animation: float 6s var(--ease-soft) infinite alternate; }
.mini-card .card-brand { font-size: 0.62rem; }
.mini-card .card-chip { width: 34px; margin-top: 12px; border-radius: 5px; }
.mini-card .card-number { font-size: 0.86rem; }
.final .muted { font-size: 0.95rem; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(110px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer-inner { display: grid; gap: 22px; }
.footer-inner p { margin-top: 12px; max-width: 46ch; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.copy { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Bouton d'achat fixe (téléphone)
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 20px;
  background: rgba(12, 19, 48, 0.96); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85);
  transform: translate3d(0, 140%, 0); transition: transform 0.6s var(--ease-spring);
}
.sticky-cta.is-on { transform: none; }
.sticky-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-info b { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info small { color: var(--muted); font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { flex: none; padding: 0 16px; font-size: 0.88rem; }
.sticky-cta .btn { margin-left: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* --------------------------------------------------------------------------
   Écran de paiement (le nôtre)
   -------------------------------------------------------------------------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(3, 6, 16, 0.72); opacity: 0; transition: opacity 0.4s var(--ease-out); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0; background: var(--bg-2); border: 1px solid var(--line); border-bottom: 0;
  transform: translate3d(0, 100%, 0); transition: transform 0.55s var(--ease-out);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 640px) {
  .sheet-panel {
    left: 50%; top: 50%; bottom: auto; width: 460px; max-height: 92dvh; border-radius: 26px; border-bottom: 1px solid var(--line); padding: 26px;
    transform: translate3d(-50%, -46%, 0) scale(0.97); opacity: 0; transition: transform 0.5s var(--ease-spring), opacity 0.3s;
  }
  .sheet.is-open .sheet-panel { transform: translate3d(-50%, -50%, 0); opacity: 1; }
}
.sheet-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.sheet-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; margin-bottom: 22px; }
.sheet .mini-card-sm { width: 44px; padding: 6px; border-radius: 6px; flex: none; }
@media (max-width: 400px) { .mini-card-sm { display: none; } }
.sheet .mini-card-sm .card-chip { width: 14px; margin-top: 0; border-radius: 2px; }
.sheet-kicker { font-size: 0.75rem; color: var(--muted); }
.sheet-head h2 { font-size: 1.05rem; letter-spacing: -0.02em; }
.sheet-price { margin-left: auto; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; white-space: nowrap; }
.sheet-price small { font-size: 0.7rem; color: var(--muted); margin-left: 4px; }
.sheet-step { display: grid; gap: 16px; }
.sheet-step[hidden] { display: none; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .phone {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 13px; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .phone:focus-within { border-color: var(--accent); background: rgba(34, 245, 160, 0.05); }
.phone { display: flex; align-items: center; gap: 10px; }
.phone b { font-weight: 700; color: var(--muted); padding-right: 10px; border-right: 1px solid var(--line); }
.phone input { flex: 1; min-height: 48px; padding: 0; border: 0; background: none; }
.phone input:focus { background: none; }
.hint { font-size: 0.78rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .chips span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 12px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.9rem; text-align: center;
  transition: border-color 0.2s, background-color 0.2s, transform 0.35s var(--ease-spring);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { min-height: 42px; border-radius: 999px; padding: 0 14px; font-size: 0.86rem; }
.seg input:checked + span, .chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg label:active span, .chips label:active span { transform: scale(0.97); }
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: #FF97A1; font-size: 0.88rem; }
.sheet-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
[data-step="wait"], [data-step="done"], [data-step="fail"] { text-align: center; justify-items: center; padding: 10px 0 6px; }
[data-step] h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.wait-phone { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.wait-phone .ic { width: 34px; height: 34px; }
.wait-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 1.8s var(--ease-out) infinite; }
.wait-status { font-size: 0.88rem; color: var(--accent); }
.done-ic, .fail-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; }
.done-ic { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 50px rgba(34, 245, 160, 0.5); animation: pop 0.7s var(--ease-spring); }
.fail-ic { background: var(--red-soft); color: var(--red); }
.done-ic .ic, .fail-ic .ic { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
[data-step] .btn-block + .btn-block { margin-top: -6px; }

/* --------------------------------------------------------------------------
   Réduction des animations : seulement des fondus simples.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .trail, .card-float, .final-card .mini-card, .player-bar span, .player-play::before, .wait-ring, .spin, .live-dot i::after { animation: none !important; }
  .card-face::after, .btn-primary::after { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: var(--gutter); }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .hero-title.is-split .w, .js .hero-in, .card-stage { transform: none; filter: none; animation: fade 0.6s ease-out forwards; animation-delay: 0s; }
  .bubble { animation-name: bubble-fade; }
  .card-tilt { transform: rotateX(6deg) rotateY(-10deg); }
  .card-flip { transition: transform 0.01ms; }
  .btn, .sticky-cta, .sheet-panel { transition-duration: 0.01ms; }
  .sticky-cta { transition: opacity 0.3s; opacity: 0; transform: none; pointer-events: none; }
  .sticky-cta.is-on { opacity: 1; pointer-events: auto; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bubble-fade { 0% { opacity: 0; } 5%, 27% { opacity: 1; } 33%, 100% { opacity: 0; } }
