/* ============================================================
   site.css — Site vitrine public Fidzi  ·  v2 « Cinema Dark »
   Identité marketing premium : sombre, immersif, animé. Tokens
   issus de STYLE.md, affinés (profil Modern Dark Cinema validé
   par le moteur UI/UX). Tout self-hosté — la CSP bloque l'externe.
   Display : Satoshi (VIT-01). Corps : Inter. Icônes : Lucide SVG.
   ============================================================ */

/* ── Polices self-hostées ─────────────────────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2'); }
/* Satoshi (Fontshare, ITF Free Font License) — police display vitrine, VIT-01 */
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/satoshi-400.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/satoshi-500.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/satoshi-700.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/satoshi-900.woff2') format('woff2'); }

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  /* Fonds — échelle profonde (jamais #000 pur, anti-smear OLED) */
  --bg:            #0a0a0f;
  --bg-deep:       #06060a;
  --bg-surface:    #111118;
  --bg-elevated:   #16161f;

  /* Verre (glassmorphism) */
  --glass:         rgba(255, 255, 255, 0.04);
  --glass-strong:  rgba(255, 255, 255, 0.06);
  --glass-border:  rgba(255, 255, 255, 0.09);

  /* Accent indigo (continuité app admin) */
  --accent:        #6366F1;
  --accent-hover:  #818CF8;
  --accent-2:      #A855F7;   /* violet, dégradés signature */
  --accent-soft:   rgba(99, 102, 241, 0.14);
  --accent-glow:   rgba(99, 102, 241, 0.30);
  /* CTA rempli : indigo plus profond pour un contraste AA avec le texte blanc
     (#6366F1 donnait 4,47:1, juste sous 4,5:1 — VIT-68). */
  --accent-strong:       #4F46E5;
  --accent-strong-hover: #4338CA;

  /* Texte */
  --text:          #F5F5F7;
  --text-muted:    #A1A1AA;
  --text-faint:    #8b8b95;

  /* Bordures */
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Sémantique */
  --success:       #22C55E;
  --warning:       #F59E0B;
  --danger:        #EF4444;

  /* Dégradés signature */
  --gradient-hero: linear-gradient(120deg, #818CF8 0%, #A855F7 55%, #6366F1 100%);
  --gradient-glow: radial-gradient(closest-side, rgba(99,102,241,0.28), transparent 70%);

  /* Typo */
  --font-display: 'Satoshi', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-hero:   clamp(2rem, 3.5vw, 3.2rem);
  --text-h1:     clamp(2rem, 4vw, 3.5rem);
  --text-h2:     clamp(1.6rem, 3.2vw, 2.6rem);
  --text-h3:     clamp(1.2rem, 2vw, 1.5rem);
  --text-lg:     1.2rem;
  --text-base:   1rem;
  --text-sm:     0.875rem;

  --leading-tight: 1.08;
  --leading-normal: 1.6;
  --tracking-tight: -0.025em;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Motion — système unifié */
  --dur-fast:   0.18s;
  --dur-base:   0.4s;
  --dur-slow:   0.7s;
  --dur-reveal: 0.9s;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);     /* signature */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  /* Ombres */
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -30px rgba(0,0,0,.8);
  --shadow-pop:  0 30px 80px -28px rgba(0,0,0,.85);
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: var(--leading-normal);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: #fff; }

/* Skip-link accessibilité (visible au focus clavier) */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--accent-strong); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius-md); font-weight: 600; font-size: var(--text-sm);
  transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease-out); }
.skip-link:focus { transform: none; }

/* Bandeau « site en construction » (activé via SITE_UNDER_CONSTRUCTION) */
.construction-bar { background: var(--warning); color: #1b1206; text-align: center;
  font-weight: 600; font-size: var(--text-sm); padding: .5rem 1rem; position: relative; z-index: 61; }

/* Smooth scroll Lenis (VIT-41) — actif uniquement quand JS ajoute .lenis sur <html>.
   Sans Lenis (mobile tactile / reduced-motion), on garde le scroll natif + le
   `scroll-behavior: smooth` défini plus haut. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Icônes Lucide inline */
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 13px; height: 13px; }

/* ── Ambiance : lumière animée + grain ────────────────────── */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .42;
  will-change: transform; }
.blob-1 { width: 46vw; height: 46vw; top: -14vw; left: -8vw;
  background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%);
  animation: drift1 26s var(--ease-in-out) infinite; }
.blob-2 { width: 40vw; height: 40vw; top: -6vw; right: -10vw;
  background: radial-gradient(circle, rgba(168,85,247,.35), transparent 70%);
  animation: drift2 32s var(--ease-in-out) infinite; }
.blob-3 { width: 38vw; height: 38vw; top: 52vh; left: 30vw;
  background: radial-gradient(circle, rgba(99,102,241,.22), transparent 70%);
  animation: drift3 38s var(--ease-in-out) infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(6vw, 5vh) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-5vw, 7vh) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-7vw, -6vh) scale(1.15); } }
/* Grain fin pour casser les aplats — très subtil, fixe */
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Typo / structure ─────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight); font-weight: 700; text-wrap: balance; }

.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); position: relative; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm);
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover);
  margin-bottom: var(--space-sm); }
.section h2 { font-size: var(--text-h2); margin-bottom: var(--space-md); max-width: 20ch; }
.lead { color: var(--text-muted); font-size: var(--text-lg); max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem; border-radius: var(--radius-full); font-weight: 600; font-size: var(--text-base);
  border: 1px solid transparent; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out); }
.btn .ic, .btn .ic-sm { transition: transform var(--dur-base) var(--ease-out); }
.btn-primary { background: var(--accent-strong); color: #fff;
  box-shadow: 0 8px 30px -10px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-strong-hover); box-shadow: 0 12px 40px -10px var(--accent-glow); }
.btn-primary:hover .ic-sm { transform: translateX(3px); }
.btn-secondary { background: var(--glass); color: var(--text); border-color: var(--border-strong);
  backdrop-filter: blur(8px); }
.btn-secondary:hover { border-color: var(--accent-hover); color: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .55rem 1.05rem; font-size: var(--text-sm); }

/* ── Pastilles d'icône (badges) ───────────────────────────── */
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--radius-md); color: var(--accent-hover);
  background: var(--accent-soft); border: 1px solid var(--border);
  margin-bottom: var(--space-sm); }
.icon-badge.muted { color: var(--text-faint); background: var(--glass); }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 50; transition: background var(--dur-base) var(--ease-out),
  border-color var(--dur-base) var(--ease-out), backdrop-filter var(--dur-base); border-bottom: 1px solid transparent; }
.site-nav.scrolled { background: rgba(10,10,15,.72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: var(--space-md); }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: var(--tracking-tight); }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--gradient-hero);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 6px 20px -6px var(--accent-glow); }
.nav-links { display: flex; align-items: center; gap: var(--space-md); }
.nav-links a.nav-link { position: relative; color: var(--text-muted); font-size: var(--text-sm); font-weight: 500;
  transition: color var(--dur-fast); }
.nav-links a.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  border-radius: 2px; background: var(--accent-hover); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out); }
.nav-links a.nav-link:hover { color: var(--text); }
.nav-links a.nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
/* Lien « Accès commerçant » du menu déroulant : caché sur desktop (le bouton
   à droite suffit), réaffiché en mobile dans le menu (cf @media 720px). */
.nav-link-access { display: none; }
.lang-switch { display: flex; gap: 2px; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 3px; }
.lang-menu { display: contents; }   /* desktop : les pastilles restent des items inline du .lang-switch */
.lang-switch a { font-size: .72rem; font-weight: 600; text-transform: uppercase; color: var(--text-faint);
  padding: .25rem .55rem; border-radius: var(--radius-full); transition: color var(--dur-fast), background var(--dur-fast); }
.lang-switch a.active { color: #fff; background: var(--accent); }
.lang-switch a:hover:not(.active) { color: var(--text); }
.lang-current { display: none; }   /* visible uniquement en mobile (cf @media 720px) */
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 6px;
  width: 44px; height: 44px; place-items: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-block: clamp(5rem, 12vh, 8rem) var(--space-lg); text-align: center; overflow: hidden; }
/* Grille en perspective qui fond vers le bas */
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%); }
.hero > .container { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm);
  color: var(--text-muted); background: var(--glass); border: 1px solid var(--border);
  padding: .45rem 1rem; border-radius: var(--radius-full); margin-bottom: var(--space-md);
  backdrop-filter: blur(8px); }
.hero-badge .ic-sm { color: var(--accent-hover); }
.hero h1 { font-size: var(--text-hero); font-weight: 900; max-width: 15ch; }
.hero h1 .accent { background: var(--gradient-hero); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero-lead { margin: var(--space-sm) auto 0; text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-md); }
.hero-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--text-faint); }

/* ── Bande de réassurance ─────────────────────────────────── */
.trust-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,.015); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-sm) var(--space-lg); list-style: none; padding-block: var(--space-md); }
.trust-list li { display: inline-flex; align-items: center; gap: .55rem; color: var(--text-muted);
  font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.trust-list .ic-sm { color: var(--accent-hover); }

/* Indicateur de scroll (souris stylisée) */
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 20px;
  display: grid; justify-items: center; padding-top: 7px; z-index: 2;
  transition: opacity var(--dur-base) var(--ease-out), border-color var(--dur-fast); }
.hero-scroll:hover { border-color: var(--accent-hover); }
.hero-scroll-dot { width: 4px; height: 8px; border-radius: 4px; background: var(--accent-hover);
  animation: scrolldot 1.7s var(--ease-in-out) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(13px); opacity: .15; } 100% { transform: translateY(0); opacity: 1; } }

/* Texte cinétique (mots qui montent en cascade) */
.kinetic { display: inline; }
.kinetic .word { display: inline-block; overflow: hidden; vertical-align: top; }
.kinetic .word > span { display: inline-block; transform: translateY(110%);
  animation: wordUp var(--dur-slow) var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes wordUp { to { transform: translateY(0); } }

/* ── Maquette : téléphone + carte ─────────────────────────── */
.hero-mock { margin-top: var(--space-md); perspective: 1400px; }
.phone { width: min(310px, 80vw); margin-inline: auto; padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #1c1c26, #0c0c12); position: relative;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: rotateX(10deg) rotateZ(-2deg); animation: floaty 7s var(--ease-in-out) infinite; }
@keyframes floaty { 0%,100% { transform: rotateX(10deg) rotateZ(-2deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateZ(-1deg) translateY(-14px); } }

/* Scène animée VIT-42 : quand site.js pilote le hero (desktop, motion on), on
   fige le téléphone (pas de floaty) et on prépare la carte « voyageuse ». La
   carte passe au-dessus de l'encoche et garde will-change pour rester fluide. */
.hero.js-hero { cursor: default; }
.hero.js-hero .phone { animation: none; transform: rotateX(4deg); }
.hero.js-hero .loyalty-card { position: relative; z-index: 4; }
.hero.js-hero .hero-mock { will-change: transform; }

/* Desktop large : hero en DEUX COLONNES (texte gauche, téléphone droite) pour
   que le téléphone reste visible pendant l'animation épinglée (VIT-42). En
   dessous de 980px : on empile (1 colonne, centré) et l'anim épinglée est off. */
@media (min-width: 980px) {
  .hero { text-align: left; }
  .hero > .container { display: grid; grid-template-columns: 1.05fr 0.95fr;
    align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  .hero-copy { align-items: flex-start; }
  .hero h1 { max-width: 22ch; font-size: clamp(2.6rem, 3.7vw, 3.7rem); }
  .hero-lead { margin-inline: 0; text-align: left; }
  .hero-cta { justify-content: flex-start; }
  .hero-mock { margin-top: 0; justify-self: center; }
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #07070b; border-radius: var(--radius-full); z-index: 2; }
.phone-screen { border-radius: 34px; background: radial-gradient(120% 80% at 50% 0%, #15151f, #0a0a0f);
  padding: 44px 16px 22px; aspect-ratio: 9 / 19; display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start; }
/* VIT-55 — carte de fidélité « premium » : matière travaillée (dégradé profond +
   lumière haute + ombre basse), voile holographique subtil, glare doux, tampons et
   module QR soignés. ⚠️ Les classes pilotées par l'anim VIT-42 (.lc-stamp.on et les
   coches .ic) sont conservées : ne pas renommer. */
.loyalty-card { position: relative; width: 100%; border-radius: 22px; color: #fff;
  padding: 1.5rem 1.35rem; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 85% at 12% -5%, rgba(255,255,255,.32), rgba(255,255,255,0) 44%),
    radial-gradient(135% 120% at 105% 112%, rgba(0,0,0,.30), rgba(0,0,0,0) 56%),
    linear-gradient(152deg, #ea4760 0%, #c61f38 44%, #8c1122 74%, #62101b 100%);
  box-shadow:
    0 34px 60px -26px rgba(130,12,28,.78),
    0 10px 24px -12px rgba(110,8,22,.55),
    0 1px 0 rgba(255,255,255,.30) inset,
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 -16px 38px -24px rgba(0,0,0,.34) inset; }
/* Voile holographique irisé (derrière le contenu, blend screen sur le rouge) */
.loyalty-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    conic-gradient(from 200deg at 28% 18%,
      rgba(255,210,150,.20), rgba(150,180,255,.14), rgba(255,165,205,.18),
      rgba(165,255,215,.12), rgba(255,210,150,.20));
  mix-blend-mode: screen; opacity: .66; }
/* Glare diagonal doux (au-dessus, faible opacité : ne gêne pas la lecture) */
.loyalty-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(116deg, transparent 33%, rgba(255,255,255,.20) 47%, rgba(255,255,255,.04) 55%, transparent 64%); }
.lc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.lc-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.32); }
.lc-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 6px -2px rgba(0,0,0,.35); }
.lc-logo .ic { width: 20px; height: 20px; color: #f7dca0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }   /* accent or premium */
.lc-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .82; }
.lc-stamps { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.lc-stamp { width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.17);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.30), inset 0 0 0 1px rgba(255,255,255,.13);
  display: grid; place-items: center; }
.lc-stamp.on { background: rgba(255,255,255,.96); color: #b41d33;
  box-shadow: 0 3px 7px -2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.95); }
.lc-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 1.6rem; gap: 1rem; }
.lc-foot .lc-label { max-width: 60%; line-height: 1.35; text-transform: none; letter-spacing: 0; font-size: .74rem; opacity: .92; }
.lc-qr { width: 54px; height: 54px; border-radius: 12px; background: #fff; color: #0a0a0f;
  display: grid; place-items: center;
  box-shadow: 0 5px 14px -5px rgba(0,0,0,.55), 0 0 0 4px rgba(255,255,255,.14); }
.lc-qr .ic { width: 40px; height: 40px; }

/* ── Cartes (verre) — base commune ────────────────────────── */
.split-card, .bcard { background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: var(--space-md); position: relative;
  backdrop-filter: blur(8px); box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base),
    background var(--dur-base); }
.split-card:hover, .bcard:hover { transform: translateY(-5px); border-color: var(--border-strong);
  background: var(--glass-strong); }
.split-card h3, .bcard h3 { font-size: var(--text-h3); margin-bottom: .4rem; }
.split-card p, .bcard p { color: var(--text-muted); }

/* Problème / Solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-md); }
.split-card.old { opacity: .72; border-style: dashed; background: transparent; }
.split-card.old .icon-badge { color: var(--text-faint); background: var(--glass); }
.split-card:not(.old) { border-color: rgba(99,102,241,.28);
  background: linear-gradient(155deg, var(--accent-soft), var(--glass)); }

/* Comment ça marche */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-md); }
.step { position: relative; padding: var(--space-md); border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.step-num { position: absolute; top: var(--space-md); right: var(--space-md);
  font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); letter-spacing: -.04em; }
.step h3 { font-size: var(--text-h3); margin-bottom: .4rem; }
.step p { color: var(--text-muted); }

/* Bénéfices (bento : 1ʳᵉ carte mise en avant) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.bcard .ic { width: 24px; height: 24px; }
.bcard h3 { font-size: var(--text-lg); }
.bcard p { font-size: var(--text-sm); }
.bcard.feature { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-md);
  background: linear-gradient(120deg, var(--accent-soft), var(--glass)); border-color: rgba(99,102,241,.25); }
.bcard.feature .icon-badge { margin-bottom: 0; flex: none; width: 58px; height: 58px; }
.bcard.feature h3 { font-size: var(--text-h3); margin-bottom: .25rem; }
.bcard.feature p { font-size: var(--text-base); max-width: 62ch; }

/* ── Cas d'usage (Pour qui) ───────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.usecase { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: var(--space-md); backdrop-filter: blur(8px); box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), background var(--dur-base); }
.usecase:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--glass-strong); }
.usecase h3 { font-size: var(--text-lg); margin-bottom: .35rem; }
.usecase p { color: var(--text-muted); font-size: var(--text-sm); }

/* ── Vitrine produit (capture du tableau de bord) ─────────── */
.showcase-frame { max-width: 1000px; margin: var(--space-md) auto 0; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border-strong); background: var(--bg-surface);
  box-shadow: var(--shadow-pop); }
.browser-bar { display: flex; gap: 7px; align-items: center; padding: 11px 16px;
  background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.showcase-frame img { display: block; width: 100%; height: auto; }
/* Tableau de bord reproduit (fidèle au produit réel) */
.dash { display: grid; grid-template-columns: 215px 1fr; background: var(--bg); text-align: left; }
.dash-side { background: var(--bg-deep); border-right: 1px solid var(--border); padding: 1.1rem 1rem; }
.dash-brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; margin-bottom: 1.3rem; }
.dash-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--gradient-hero); display: grid;
  place-items: center; color: #fff; font-weight: 900; font-size: .82rem; flex: none; }
.dash-nav { display: flex; flex-direction: column; gap: .15rem; }
.dash-link { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border-radius: 8px;
  color: var(--text-muted); font-size: .84rem; font-weight: 500; }
.dash-link .ic-sm { width: 16px; height: 16px; }
.dash-link.active { background: var(--accent-soft); color: var(--text); }
.dash-main { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; }
.dash-head strong { font-family: var(--font-display); font-size: 1.2rem; }
.dash-pill { font-size: .72rem; color: var(--text-muted); border: 1px solid var(--border-strong);
  border-radius: var(--radius-full); padding: .25rem .7rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.dash-kpi { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: .85rem; display: flex; flex-direction: column; gap: .15rem; }
.dash-kpi-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.dash-kpi-val { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; line-height: 1.05; }
.dash-kpi-delta { font-size: .7rem; color: var(--success); }
.dash-chart { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 1rem 1rem .4rem; }
.dash-chart-title { font-size: .84rem; font-weight: 600; }
.dash-svg { display: block; width: 100%; height: 120px; margin-top: .5rem; }
/* La courbe d'activité se dessine quand la section apparaît (VIT-64) */
.dash-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.showcase-frame.in .dash-line { stroke-dashoffset: 0; }

/* Collage produit : téléphone « scanner » chevauchant le TDB (VIT-66, desktop) */
.showcase-wrap { position: relative; max-width: 1000px; margin: var(--space-md) auto 0; }
.showcase-wrap .showcase-frame { margin: 0; }
.showcase-phone { position: absolute; right: -18px; bottom: -40px; width: 172px; z-index: 3; }
.showcase-phone .phone { width: 100%; transform: rotate(-3deg); animation: none;
  box-shadow: var(--shadow-pop); }
.showcase-phone .phone-notch { width: 58px; height: 14px; top: 11px; }
.phone-screen.scanner { aspect-ratio: 9 / 19; background: #07070b; align-items: center;
  justify-content: center; flex-direction: column; gap: 1.1rem; }
.scan-vf { position: relative; width: 64%; aspect-ratio: 1; }
.scan-vf i { position: absolute; width: 20px; height: 20px; border: 3px solid var(--accent-hover); }
.scan-vf i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 7px; }
.scan-vf i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 7px; }
.scan-vf i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 7px; }
.scan-vf i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 7px; }
.scan-toast { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .35rem; background: var(--success); color: #04210f; font-weight: 700; font-size: .72rem;
  padding: .4rem .7rem; border-radius: var(--radius-lg); max-width: 100%; box-sizing: border-box;
  text-align: center; }
.scan-toast .ic-xs { width: 13px; height: 13px; }
@media (max-width: 980px) { .showcase-phone { display: none; } }

/* ── Tarifs ───────────────────────────────────────────────── */
.pricing-card { max-width: 520px; margin: var(--space-md) auto 0; text-align: center;
  background: var(--glass); border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  padding: var(--space-lg); position: relative; backdrop-filter: blur(12px); overflow: hidden;
  box-shadow: var(--shadow-pop); }
.pricing-card::before { content: ''; position: absolute; inset: -40% 0 auto 0; height: 80%;
  background: var(--gradient-glow); opacity: .8; pointer-events: none; }
.pricing-card > * { position: relative; }
.pricing-price { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h1);
  margin: var(--space-sm) 0; color: var(--text); letter-spacing: var(--tracking-tight); }
.pricing-feats { list-style: none; display: flex; flex-direction: column; gap: .75rem;
  margin: var(--space-md) 0; text-align: left; }
.pricing-feats li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-muted); }
.pricing-feats li .ic-sm { color: var(--success); margin-top: 2px; }

/* ── FAQ (accordéon natif <details>) ──────────────────────── */
.faq-list { max-width: 760px; margin: var(--space-md) auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  backdrop-filter: blur(8px); transition: border-color var(--dur-base); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 600; color: var(--text);
  list-style: none; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }
.faq-chevron { color: var(--text-muted); transition: transform var(--dur-base) var(--ease-out); flex: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--accent-hover); }
.faq-answer { padding: 0 1.25rem 1.15rem; color: var(--text-muted); }
.faq-answer p { max-width: 62ch; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  margin-top: var(--space-md); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: var(--space-md); backdrop-filter: blur(8px); box-shadow: var(--shadow-card); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.contact-form label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: .35rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: var(--bg-deep);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: .8rem 1rem;
  color: var(--text); font: inherit; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-form textarea { min-height: 130px; resize: vertical; }
/* Select « objet » : look identique aux inputs (le natif s'affichait blanc) + chevron maison */
.contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a1a1b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.contact-form select option { background: #15151f; color: #fff; }
.contact-form .btn { margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--text-sm); color: var(--text-faint); }
.form-note a { color: var(--text-muted); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; transition: color var(--dur-fast); }
.form-note a:hover { color: var(--accent-text, #c7b9ff); }
.form-alert { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem;
  border-radius: var(--radius-md); font-size: var(--text-sm); }
.form-alert.ok { background: rgba(34,197,94,.12); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.form-alert.err { background: rgba(239,68,68,.12); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--space-lg) var(--space-md);
  margin-top: var(--space-lg); color: var(--text-muted); position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-md); }
.footer-grid h3 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: var(--space-sm); font-weight: 600; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { transition: color var(--dur-fast); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--border);
  font-size: var(--text-sm); color: var(--text-faint); }

/* ── Pages légales ────────────────────────────────────────── */
.legal { max-width: 760px; padding-block: var(--space-lg) var(--space-xl); }
.legal h1 { font-size: var(--text-h1); margin-bottom: var(--space-md); }
.legal h2 { font-size: var(--text-h3); margin: var(--space-md) 0 var(--space-xs); }
.legal p, .legal li { color: var(--text-muted); margin-bottom: var(--space-xs); }
.legal ul { padding-left: 1.2rem; }
.legal .draft { background: var(--accent-soft); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md); color: var(--text); }

/* ── Scroll reveal (JS ajoute .in) ────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-reveal) var(--ease-out),
  transform var(--dur-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ── Finitions premium : progression de lecture, tilt + reflet ────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: var(--gradient-hero); box-shadow: 0 0 14px var(--accent-glow); pointer-events: none; }
.sticky-cta { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center;
  gap: .5rem; padding: .8rem 1.4rem; border-radius: var(--radius-full); background: var(--accent); color: #fff;
  font-weight: 600; font-size: var(--text-sm); box-shadow: 0 14px 34px -8px var(--accent-glow);
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), background var(--dur-fast); }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta:hover { background: var(--accent-hover); }
.bcard, .step { transform-style: preserve-3d; }
.bcard::after, .step::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.10), transparent 55%);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out); pointer-events: none; }
.bcard:hover::after, .step:hover::after { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; background: rgba(10,10,15,.95);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    padding: var(--space-md) var(--container-pad); gap: var(--space-sm); }
  .nav-toggle { display: grid; }
  /* un peu d'air entre le hamburger et le bord droit de l'écran */
  .site-nav .container { padding-right: calc(var(--container-pad) + .4rem); }
  /* Allège la barre mobile : le bouton « Accès commerçant » sort de la barre
     (qui débordait en largeur) et rejoint le menu déroulant. La barre ne garde
     que logo + langue + hamburger. */
  .nav-actions .btn-secondary { display: none; }
  .nav-links.open .nav-link-access { display: block; }

  /* Sélecteur de langue : pliage en menu déroulant pour économiser la largeur */
  .lang-switch { position: relative; background: none; border: 0; padding: 0; }
  .lang-current { display: inline-flex; align-items: center; gap: .2rem; cursor: pointer;
    background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-full);
    color: var(--text); font-size: .72rem; font-weight: 600; text-transform: uppercase;
    line-height: 1; padding: .42rem .52rem .42rem .7rem; }
  .lang-current .ic-xs { transition: transform var(--dur-fast) var(--ease-out); }
  .lang-current[aria-expanded="true"] .ic-xs { transform: rotate(180deg); }
  .lang-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0;
    flex-direction: column; gap: 2px; min-width: 3.2rem; z-index: 60;
    background: rgba(10,10,15,.96); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px;
    box-shadow: var(--shadow-pop); }
  .lang-switch.open .lang-menu { display: flex; }
  .lang-menu a { text-align: center; padding: .4rem .55rem; }
  .bento { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Accessibilité : mouvement réduit ─────────────────────── */
/* Mode calme (repli doux) : appliqué quand JS ajoute html.reduced via ?motion=off.
   Choix produit : l'OS « animations réduites » n'est PLUS bloquant par défaut. */
html.reduced { scroll-behavior: auto; }
html.reduced *, html.reduced *::before, html.reduced *::after {
  animation-duration: .001ms !important; animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important; }
html.reduced .kinetic .word > span { transform: none; }
html.reduced .reveal { opacity: 1; transform: none; }
html.reduced .phone { transform: rotateX(6deg); }
html.reduced .blob { animation: none; }
