/* ============================================================
   Ogerant — Landing v2 · "Salle des machines"
   Kinetic command-room. Same color DNA as v1 (deep violet ground,
   violet→magenta→pink gradient, cyan + red accents) — radically
   different design language: editorial-brutalist HUD, oversized
   Clash Display type, pinned scrollytelling, marquee bands.
   Zero-build, vanilla CSS. GSAP is progressive enhancement only.
   ============================================================ */

/* ---------- Tokens (charte graphique O'Gérant) ----------
   Brand palette: 01 #4A1FA8 violet · 02 #B089F2 lavande · 03 #CD223B rouge
   · 04 #E6E6E6 gris clair · 05 #071957 marine (ground). */
:root {
  --bg0: #040d33;         /* deepest ground (hero / footer) — navy, below #071957 */
  --bg: #071957;          /* brand navy (05) */
  --bg2: #0e2470;         /* raised navy */
  --ink: #f4f3fb;
  --muted: #b3abdd;
  --faint: #7e79a9;

  --v1: #4a1fa8;          /* brand violet (01) */
  --v2: #7c54d0;          /* violet→lavande blend */
  --v3: #b089f2;          /* brand lavande (02) */
  --indigo: #33268f;
  --cyan: #b089f2;        /* legacy neon slot → lavande */
  --accent: #cd223b;      /* brand red (03) */
  --emerald: #34d399;
  --amber: #fbbf24;

  --grad: linear-gradient(100deg, #4a1fa8 0%, #7c54d0 50%, #b089f2 100%);
  --grad-btn: linear-gradient(100deg, #3a1885 0%, #4a1fa8 55%, #6b3fd0 100%); /* darker tail: AA white text */
  --grad-cool: linear-gradient(120deg, #b089f2 0%, #4a1fa8 70%);
  --grad-text: linear-gradient(100deg, #c9b3f7 0%, #e4dafb 40%, #b089f2 100%);

  /* light "sheet" ground (brand gris clair 04 family) */
  --paper: #f2f1f7;
  --paper-2: #e6e6e6;
  --ink-d: #071957;
  --muted-d: #4d4a78;
  --line-d: rgba(7, 25, 87, 0.14);

  --line: rgba(255, 255, 255, 0.10);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --glass-bd: rgba(255, 255, 255, 0.14);

  --radius: 16px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --nav-h: 76px;

  --font-display: 'Clash Display', 'Cairo', 'Noto Sans Tifinagh', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', 'Cairo', 'Noto Sans Tifinagh', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: rgba(124, 84, 208, 0.4); color: #fff; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* film-grain over everything (very faint) */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
  animation: grain 1.1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(3%,3%)} }

.skip-link {
  position: fixed; top: -60px; inset-inline-start: 16px; z-index: 10000;
  padding: 10px 18px; border-radius: 10px; background: var(--v2); color: #fff; font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vh, 72px); text-align: center; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 16px; }
.section-head.side {
  max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px;
  text-align: start; margin-bottom: clamp(40px, 6vh, 72px);
}
.section-head.side h2 { margin-top: 18px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h1.display { font-size: clamp(38px, 6.4vw, 88px); font-weight: 600; line-height: 1.04; }
h2 { font-size: clamp(26px, 3.8vw, 52px); }
h2.display { font-size: clamp(32px, 5vw, 68px); }
h2.big { font-size: clamp(36px, 6vw, 84px); line-height: 1.02; }
h3 { font-size: 19px; font-weight: 600; }
.lead { font-size: clamp(16px, 1.55vw, 20px); color: var(--muted); line-height: 1.65; font-weight: 450; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thin { font-weight: 400; }
.brandword { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brandword .apos { color: var(--accent); -webkit-text-fill-color: var(--accent); } /* red dot, echoes the logo */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #c4a8ff; padding: 8px 16px;
  border: 1px solid rgba(124, 84, 208, 0.35); border-radius: 4px;
  background: rgba(74, 31, 168, 0.10);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v3); box-shadow: 0 0 14px var(--v3); animation: blink 2.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.eyebrow.red { color: #ffb4b6; background: rgba(205, 34, 59,.10); border-color: rgba(205, 34, 59,.4); }
.eyebrow.red .dot { background: var(--accent); box-shadow: 0 0 14px var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  border-radius: 12px; padding: 13px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 12px 36px -12px rgba(124, 84, 208, 0.65);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position .7s var(--ease);
}
.btn-primary:hover::before { background-position: -120% 0; }
.btn-primary:hover { box-shadow: 0 18px 48px -12px rgba(124, 84, 208, 0.85); }
.btn-ghost { background: var(--glass); border: 1px solid var(--glass-bd); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,.3); }
.btn-lg { padding: 17px 30px; font-size: 14px; border-radius: 14px; }
.btn svg { width: 17px; height: 17px; }

/* ---------- Preloader ---------- */
#loader { display: none; }
html.js #loader {
  display: block; position: fixed; inset: 0; z-index: 9999;
}
.loader-panel { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--bg0); transition: transform .9s cubic-bezier(.77,0,.18,1); }
.lp-top { top: 0; transform-origin: top; }
.lp-bottom { bottom: 0; transform-origin: bottom; }
.loader-core {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px;
  transition: opacity .35s;
}
.loader-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: markpulse 1.2s var(--ease) infinite alternate;
}
@keyframes markpulse { from { transform: scale(1); filter: drop-shadow(0 0 12px rgba(124, 84, 208,.35)); } to { transform: scale(1.12); filter: drop-shadow(0 0 32px rgba(124, 84, 208,.7)); } }
.loader-count { font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing: .3em; }
.loader-bar { width: 180px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; width: 0%; height: 100%; background: var(--grad); }
#loader.done .lp-top { transform: scaleY(0); }
#loader.done .lp-bottom { transform: scaleY(0); }
#loader.done .loader-core { opacity: 0; pointer-events: none; }
#loader.gone { display: none !important; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  html.js .cursor-dot {
    display: block; position: fixed; z-index: 9995; top: 0; left: 0; width: 8px; height: 8px;
    border-radius: 50%; background: var(--v2); pointer-events: none; mix-blend-mode: screen;
    transform: translate(-100px, -100px);
  }
  html.js .cursor-ring {
    display: block; position: fixed; z-index: 9994; top: 0; left: 0; width: 36px; height: 36px;
    border-radius: 50%; border: 1.5px solid rgba(196, 168, 255, 0.6); pointer-events: none;
    transform: translate(-100px, -100px); transition: width .25s, height .25s, border-color .25s, background .25s;
  }
  html.js .cursor-ring.on { width: 58px; height: 58px; border-color: var(--cyan); background: rgba(176, 137, 242, 0.08); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9980; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: var(--grad); box-shadow: 0 0 12px rgba(124, 84, 208,.8); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 9900; pointer-events: none; padding: 0 16px; }
.nav-frame {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 14px 10px 20px;
  /* 3-zone grid: links stay mathematically centered whatever the
     brand / CTA widths are, scrolled or not */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  border-radius: 18px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav-frame > .brand { justify-self: start; }
.nav-frame > .nav-cta { justify-self: end; }
.nav.scrolled .nav-frame {
  background: rgba(13, 8, 35, 0.72); border-color: var(--glass-bd);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,.8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0; }
.brand .mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad); color: #fff; font-size: 19px; font-weight: 900;
  box-shadow: 0 6px 20px -6px rgba(74,31,168,.7);
}
/* O'Gérant wordmark (assets/logo-gradient-dark.svg — white lettering,
   gradient O + red dot) sits directly on the dark nav. */
.brand img.brand-logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  border-radius: 10px; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: var(--glass); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--glass-bd); border-radius: 10px; overflow: hidden; }
.lang-switch button {
  padding: 7px 10px; font-size: 11.5px; font-weight: 700; color: var(--faint);
  transition: color .2s, background .2s; line-height: 1;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--grad-btn); color: #fff; }
.lang-switch button[data-lang="ar"] { font-size: 14px; line-height: 0.8; }
.lang-switch button[data-lang="zgh"] { font-size: 13px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--glass-bd); place-items: center; }
.nav-burger svg { width: 20px; height: 20px; }

.nav-mobile-cta { display: none; }
@media (max-width: 980px) {
  html.js .nav-links {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; padding: 10px;
    background: rgba(13, 8, 35, 0.96); border: 1px solid var(--glass-bd); border-radius: 16px;
    backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  html.js .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  /* no-JS: keep a usable static row instead of a dead burger */
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 0; }
  html:not(.js) .nav-links a { padding: 6px 8px; font-size: 12px; }
  .nav-burger { display: grid; }
  .nav .nav-cta .btn-primary { display: none; }
  html.js .nav-mobile-cta {
    display: block; margin-top: 6px; text-align: center;
    background: var(--grad-btn); color: #fff !important; border-radius: 10px;
    font-family: var(--font-display); font-weight: 600;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; padding: calc(var(--nav-h) + 64px) 0 0;
  display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(75% 55% at 50% -10%, rgba(74, 31, 168, 0.35), transparent 65%),
    radial-gradient(40% 35% at 88% 18%, rgba(176, 137, 242, 0.10), transparent 60%),
    var(--bg0);
  overflow: clip;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(196,168,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,168,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 70% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 30%, #000 20%, transparent 80%);
  animation: gridfloat 14s linear infinite;
}
@keyframes gridfloat { from { background-position: 0 0, 0 0; } to { background-position: 0 56px, 56px 0; } }
.hero-beam {
  position: absolute; z-index: 0; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none;
}
.beam-a { top: -28vmax; left: -12vmax; background: conic-gradient(from 90deg, #4a1fa833, #7c54d055, #b089f222, #4a1fa833); animation: spin 26s linear infinite; }
.beam-b { bottom: -34vmax; right: -16vmax; background: conic-gradient(from 270deg, #b089f233, #33268f44, #7c54d033, #b089f233); animation: spin 34s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-ring {
  position: absolute; z-index: 0; top: 6%; left: 50%; width: min(78vw, 880px); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  border: 1px dashed rgba(196, 168, 255, 0.18);
  animation: spin 60s linear infinite;
}
.hero-ring::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 18px var(--cyan);
}
.hud-corner { position: absolute; z-index: 1; width: 26px; height: 26px; border: 2px solid rgba(196,168,255,.3); pointer-events: none; }
.hud-corner.tl { top: calc(var(--nav-h) + 18px); left: 22px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: calc(var(--nav-h) + 18px); right: 22px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }

.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 980px; padding: 0 28px; }
.hero-h1 { margin-top: 26px; font-size: clamp(40px, 6vw, 84px); }
.hero-h1 .wd { display: inline-block; white-space: nowrap; }
.hero-h1 .ch { display: inline-block; }
html.js .hero-h1.splitting .ch { opacity: 0; transform: translateY(0.7em) rotateX(-80deg); }
html.js .hero-h1.splitting .ch.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--chd, 0s); }
.hero-sub { max-width: 640px; margin: 26px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-assure { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--faint); }
.hero-assure svg { width: 15px; height: 15px; color: var(--cyan); }

html.js [data-intro] { opacity: 0; transform: translateY(26px); }
html.js [data-intro].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* hero stage — real product shot in 3D */
.hero-stage {
  position: relative; z-index: 2; width: min(1100px, 92vw); margin: clamp(40px, 7vh, 84px) auto 0;
  perspective: 1400px;
}
.stage-glow {
  position: absolute; inset: -8% -6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(55% 55% at 50% 45%, rgba(124, 84, 208, 0.30), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.shot-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-bd);
  background: #050f38;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.85), 0 30px 90px -30px rgba(74, 31, 168, 0.5);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--glass-bd);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-2); }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar .url { margin-inline-start: 12px; font-size: 11.5px; color: var(--faint); font-family: var(--font-display); font-weight: 400; letter-spacing: .06em; }
.shot-frame img { width: 100%; height: auto; }
html.js .hero-shot img { cursor: zoom-in; }
.hero-shot { transform: rotateX(14deg) scale(.96); transform-origin: 50% 0%; will-change: transform; }
.shot-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(176, 137, 242, 0.12) 45%, rgba(124, 84, 208, 0.16) 55%, transparent);
  animation: scan 4.5s var(--ease) infinite;
  opacity: .8;
}
@keyframes scan { 0% { transform: translateY(-120px); opacity: 0; } 12% { opacity: .9; } 88% { opacity: .9; } 100% { transform: translateY(640px); opacity: 0; } }

.hud-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(13, 8, 35, 0.82); border: 1px solid var(--glass-bd);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
  font-size: 12.5px;
}
.hud-chip .lab { color: var(--faint); font-weight: 600; }
.hud-chip .val { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.hud-chip .val.ok { color: var(--emerald); } .hud-chip .val.warn { color: var(--amber); }
.hud-chip b { font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; color: var(--cyan); }
.chip-ai { top: -22px; inset-inline-start: -14px; }
.chip-k1 { top: 26%; inset-inline-end: -20px; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-k2 { top: 56%; inset-inline-start: -26px; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-k3 { bottom: -16px; inset-inline-end: 12%; flex-direction: column; align-items: flex-start; gap: 2px; }
.ai-live { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); animation: blink 1.6s infinite; }
[data-float="1"] { animation: float1 7s ease-in-out infinite; }
[data-float="2"] { animation: float1 8.5s ease-in-out 1s infinite; }
[data-float="3"] { animation: float1 9.5s ease-in-out 2s infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 760px) { .chip-k1, .chip-k2, .chip-k3 { display: none; } .chip-ai { inset-inline-start: 8px; } }

.scrollcue {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 44px auto 0; padding-bottom: 34px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.34em; color: var(--faint);
}
.cue-line { width: 1px; height: 44px; background: linear-gradient(var(--v2), transparent); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; top: -16px; left: 0; width: 100%; height: 16px; background: var(--cyan); animation: cuedrop 1.8s var(--ease) infinite; }
@keyframes cuedrop { to { top: 60px; } }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  position: relative; z-index: 5; overflow: hidden;
  background: var(--grad);
  transform: rotate(-1.6deg) scale(1.02); margin: -8px 0 -28px;
  border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(0,0,0,.3);
  box-shadow: 0 24px 70px -28px rgba(124, 84, 208, 0.7);
}
.ticker-track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  padding: 14px 0; white-space: nowrap;
  animation: marquee 26s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.t-item { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 2vw, 24px); color: #fff; letter-spacing: 0.01em; }
.t-item.out { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.85); }
.t-sep { color: rgba(255,255,255,.65); font-size: 12px; }

/* ============================================================
   LIGHT SHEETS (statement, problem, solution, showcase, …)
   ============================================================ */
.sheet {
  position: relative; z-index: 4;
  background: var(--paper); color: var(--ink-d);
}
.sheet.light .lead { color: var(--muted-d); }
.sheet .eyebrow { color: #4a1fa8; background: rgba(74, 31, 168, 0.08); border-color: rgba(74, 31, 168, 0.3); }
.sheet .eyebrow.red { color: #a91b30; background: rgba(205, 34, 59,.07); border-color: rgba(205, 34, 59,.3); }
.sheet .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.statement { border-radius: 36px 36px 0 0; margin-top: 20px; padding: clamp(110px, 16vh, 190px) 0; text-align: center; }
.statement .statement-sub { max-width: 640px; margin: 26px auto 0; }
.scrub-words .w { display: inline-block; opacity: 0.12; transform: translateY(0.12em); }
.scrub-words .grad .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
html:not(.gsap) .scrub-words .w, .scrub-words .w.on { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }

#probleme { padding: clamp(70px, 10vh, 120px) 0 0; }
#solution, #apercu, #benefices, #confiance, #faq { padding: clamp(90px, 13vh, 150px) 0; }
#apercu { padding-bottom: 0; }

/* problem — sticky stacking panels with giant numerals */
.prob-stack { margin-top: 10px; }
.prob-panel { position: sticky; top: calc(var(--nav-h) + 8px + var(--pi) * 14px); padding-bottom: 20px; }
.prob-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 4vw, 60px);
  background: #fff; border: 1px solid var(--line-d); border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 56px) clamp(24px, 4vw, 64px);
  min-height: clamp(240px, 36vh, 360px);
  box-shadow: 0 30px 80px -40px rgba(23, 17, 46, 0.35);
  will-change: transform;
}
.prob-idx { font-family: var(--font-display); font-size: 13px; color: var(--v2); align-self: start; padding-top: 6px; }
.prob-meta { max-width: 420px; }
.prob-meta .ic {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px;
  background: rgba(205, 34, 59, 0.08); color: var(--accent); margin-bottom: 18px;
}
.prob-meta .ic svg { width: 22px; height: 22px; }
.prob-meta h3 { font-size: clamp(19px, 2vw, 25px); margin-bottom: 10px; }
.prob-meta p { color: var(--muted-d); font-size: 15px; }
.prob-num {
  font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: clamp(64px, 11vw, 170px); letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(205, 34, 59, 0.55);
  white-space: nowrap; word-spacing: .14em;
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.prob-panel:hover .prob-num { color: var(--accent); -webkit-text-stroke-color: transparent; }
@media (max-width: 860px) {
  .prob-inner { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .prob-num { font-size: clamp(56px, 16vw, 110px); }
}

/* solution — split + animated pipeline */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sol-copy h2 { margin-top: 18px; }
.sol-copy .lead { margin-top: 16px; }
.sol-list { margin-top: 34px; display: grid; gap: 10px; }
.sol-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: 18px 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.sol-item:hover { transform: translateX(8px); border-color: rgba(74, 31, 168, 0.4); box-shadow: 0 18px 44px -22px rgba(74, 31, 168, 0.35); }
.sol-item .ck {
  flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff;
}
.sol-item .ck svg { width: 14px; height: 14px; }
.sol-item h3 { font-size: 16.5px; margin-bottom: 3px; }
.sol-item p { font-size: 14px; color: var(--muted-d); }

.pipe-panel {
  position: relative; height: 520px;
  background: var(--bg0); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(23, 17, 46, 0.5);
  box-shadow: 0 40px 100px -40px rgba(23, 17, 46, 0.5);
}
.pipe-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,168,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,168,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.pipe-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pipe-node {
  position: absolute; left: var(--nx); top: var(--ny);
  display: flex; align-items: center; gap: 9px; padding: 11px 17px;
  background: rgba(22, 15, 54, 0.92); border: 1px solid var(--glass-bd); border-radius: 12px;
  color: var(--ink); font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 36px -16px rgba(0,0,0,.7);
  opacity: .35; transform: scale(.92); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.pipe-node svg { width: 17px; height: 17px; color: var(--cyan); }
.pipe-node.lit { opacity: 1; transform: scale(1); border-color: rgba(124, 84, 208, 0.6); box-shadow: 0 0 0 1px rgba(124, 84, 208,.35), 0 16px 44px -14px rgba(124, 84, 208,.6); }
html:not(.gsap) .pipe-node { opacity: 1; transform: none; }
.pipe-pulse {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 18px var(--cyan);
  offset-path: path("M 60 40 C 220 40 360 90 360 170 C 360 250 80 250 80 330 C 80 420 240 470 360 470");
  animation: pipego 5s linear infinite;
}
@keyframes pipego { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .pipe-panel { display: none; } }

/* ============================================================
   DARK ZONES (features, modules, valeurs, stats, cta)
   ============================================================ */
.dark-zone {
  position: relative; z-index: 3; background: var(--bg0); color: var(--ink);
  padding: clamp(90px, 13vh, 150px) 0;
}
.dark-zone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(74, 31, 168, 0.16), transparent 65%);
}

/* features — bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat-card {
  position: relative; overflow: hidden;
  padding: 30px 28px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--glass), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-bd);
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .35s;
}
.feat-card.span2 { grid-column: span 2; }
.feat-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 65%);
}
.feat-card:hover::before { opacity: 1; }
.feat-card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.feat-card .ic {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  margin-bottom: 40px;
}
.feat-card .ic svg { width: 21px; height: 21px; }
.feat-card h3 { font-size: 18px; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--muted); max-width: 380px; }
.feat-card .tag {
  display: inline-block; margin-top: 18px; padding: 5px 11px; border-radius: 6px;
  font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 80%, #fff); background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.card-num {
  position: absolute; top: 16px; inset-inline-end: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(196, 168, 255, 0.22);
}
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .feat-card.span2 { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .feat-card.span2 { grid-column: auto; } }

/* modules — switchboard: live HUD panel + dense index */
.mod-board { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 18px; align-items: stretch; }
.mod-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px 32px; border-radius: 24px; min-height: 380px;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 12%, transparent), 0 30px 80px -36px color-mix(in srgb, var(--c) 55%, transparent);
  transition: border-color .5s, box-shadow .5s;
}
.mod-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,168,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,168,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.mod-panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 80% 10%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
  transition: background .5s;
}
.mp-count {
  position: absolute; top: 22px; inset-inline-start: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .26em; color: var(--faint);
}
.mp-count b { color: color-mix(in srgb, var(--c) 85%, #fff); font-weight: 600; }
.mp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: blink 1.8s infinite; }
.mp-num {
  position: absolute; top: 14px; inset-inline-end: 22px; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 8vw, 120px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 38%, transparent);
}
.mp-ic {
  position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 18px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 0 34px -8px color-mix(in srgb, var(--c) 70%, transparent);
}
.mp-ic svg { width: 28px; height: 28px; }
.mp-title { position: relative; z-index: 2; font-size: clamp(22px, 2.3vw, 30px); }
.mp-desc { position: relative; z-index: 2; margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 320px; }
.mp-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 60px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c) 10%, transparent) 50%, transparent);
  animation: scan 5.5s var(--ease) infinite;
  opacity: .7;
}
@keyframes mpin { from { opacity: 0; transform: translateY(14px); } }
.mod-panel.swap .mp-ic { animation: mpin .4s var(--ease); }
.mod-panel.swap .mp-title { animation: mpin .45s var(--ease) .04s backwards; }
.mod-panel.swap .mp-desc { animation: mpin .5s var(--ease) .08s backwards; }
.mod-panel.swap .mp-num { animation: mpin .4s var(--ease); }

.mod-index { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: center; }
.mod-row {
  position: relative; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; text-align: start; font: inherit; color: inherit;
  background: rgba(255, 255, 255, 0.025); border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.mod-row::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 2.5px; border-radius: 3px;
  background: var(--c); opacity: 0; transition: opacity .3s;
}
.mod-row:hover, .mod-row.on {
  background: var(--glass-2); border-color: color-mix(in srgb, var(--c) 45%, transparent);
  transform: translateX(4px);
}
.mod-row:hover::before, .mod-row.on::before { opacity: 1; }
.mr-num { font-family: var(--font-display); font-size: 10.5px; color: var(--faint); letter-spacing: .08em; }
.mr-ic {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
}
.mr-ic svg { width: 15px; height: 15px; }
.mr-tx { min-width: 0; }
.mr-t { display: block; font-family: var(--font-display); font-weight: 500; font-size: 13.5px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-d { display: none; }
.mr-go { width: 15px; height: 15px; color: var(--faint); opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .3s var(--ease); }
.mr-go svg { width: 15px; height: 15px; }
.mod-row:hover .mr-go, .mod-row.on .mr-go { opacity: 1; transform: none; }
[dir="rtl"] .mod-row:hover, [dir="rtl"] .mod-row.on { transform: translateX(-4px); }
[dir="rtl"] .mr-go svg { transform: scaleX(-1); }
@media (max-width: 1100px) { .mod-board { grid-template-columns: 1fr 1.1fr; } .mod-index { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .mod-board { grid-template-columns: 1fr; }
  .mod-panel { display: none; }
  .mod-index { grid-template-columns: 1fr; }
  .mod-row { padding: 12px 14px; }
  .mr-t { white-space: normal; }
  .mr-d { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
}

/* ============================================================
   SHOWCASE — real screenshots, pinned deck
   ============================================================ */
.show-pin { padding: 20px 0 90px; }
.show-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: clamp(30px, 4.5vw, 70px); align-items: center; }
.show-copy { display: grid; gap: 8px; align-content: center; }
.show-cap {
  position: relative; display: block; width: 100%; text-align: start; font: inherit; color: inherit;
  padding: 16px 18px 16px 22px; border-radius: 14px; cursor: pointer;
  border: 1px solid transparent; opacity: .7;
  transition: opacity .35s, background .35s, border-color .35s, transform .35s var(--ease);
}
.show-cap::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px;
  background: var(--grad); opacity: 0; transition: opacity .35s;
}
.show-cap.is-on { opacity: 1; background: #fff; border-color: var(--line-d); transform: translateX(6px); box-shadow: 0 20px 50px -28px rgba(23,17,46,.35); }
.show-cap.is-on::before { opacity: 1; }
.show-cap .show-i { display: block; font-family: var(--font-display); font-size: 11px; color: var(--v1); letter-spacing: .14em; }
.show-cap .cap-t { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 17px; margin: 4px 0 4px; color: var(--ink-d); }
.show-cap .cap-p { display: block; font-size: 13.5px; color: var(--muted-d); line-height: 1.55; }
.show-stage { position: relative; }
.show-frame { box-shadow: 0 70px 160px -50px rgba(23, 17, 46, 0.55), 0 30px 80px -40px rgba(74, 31, 168, 0.35); }
.show-tabs {
  display: flex; gap: 4px; padding: 7px 10px; overflow: hidden;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--glass-bd);
}
.show-tabs .st {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 5px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; color: var(--faint);
}
.show-tabs .st svg { width: 13px; height: 13px; }
.show-tabs .st.on { background: rgba(74, 31, 168, 0.22); color: #d6c6f8; }
.show-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.show-kpis .sk {
  background: #fff; border: 1px solid var(--line-d); border-radius: 12px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 1px;
}
.show-kpis .lab { font-size: 11px; font-weight: 600; color: var(--muted-d); letter-spacing: .04em; }
.show-kpis .val { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink-d); }
.show-kpis .val.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.show-kpis .val.ok { color: #0d9466; } .show-kpis .val.warn { color: #b45309; } .show-kpis .val.vio { color: #4a1fa8; }
@media (max-width: 560px) { .show-kpis { grid-template-columns: repeat(2, 1fr); } .show-tabs { display: none; } }
.show-imgs { position: relative; aspect-ratio: 16 / 10; background: #050f38; }
.show-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.js .show-imgs img {
  cursor: zoom-in;
  opacity: 0; transform: scale(1.04); clip-path: inset(0 0 100% 0);
  transition: opacity .6s var(--ease), transform .8s var(--ease), clip-path .8s var(--ease);
}
html:not(.js) .show-imgs { aspect-ratio: auto; }
html:not(.js) .show-imgs img { position: static; height: auto; }
html.js .show-imgs img.is-on { opacity: 1; transform: none; clip-path: inset(0 0 0 0); z-index: 2; }
/* Scrub-owned deck (desktop pin): the wipe/scale entry is too violent when
   scroll can flip several slides per second — plain crossfade instead. */
html.js .show-imgs.scrubbed img { transform: none; clip-path: none; transition: opacity .4s linear; }
.show-dots { display: flex; gap: 7px; justify-content: center; margin-top: 18px; }
.show-dots span { width: 22px; height: 4px; border-radius: 4px; background: var(--line-d); transition: background .3s, width .3s; }
.show-dots span.is-on { background: var(--v2); width: 38px; }
@media (max-width: 980px) {
  .show-grid { grid-template-columns: 1fr; }
  .show-copy { grid-auto-flow: column; grid-auto-columns: 75%; overflow-x: auto; scrollbar-width: none; gap: 12px; }
  .show-copy::-webkit-scrollbar { display: none; }
  .show-cap { opacity: 1; background: #fff; border-color: var(--line-d); }
  .show-kpis { margin-top: 12px; }
}

/* ============================================================
   BENEFITS — numbered editorial rows
   ============================================================ */
.ben-rows { border-top: 1px solid var(--line-d); }
.ben-row {
  position: relative; display: grid; grid-template-columns: 70px 60px 1fr 1.2fr 50px; align-items: center; gap: 22px;
  padding: 30px 10px; border-bottom: 1px solid var(--line-d);
  transition: background .35s, padding .35s var(--ease);
}
.ben-row:hover { background: #fff; padding-inline-start: 26px; }
.ben-row .ben-i {
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--c) 65%, transparent);
}
.ben-row .ic {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c);
}
.ben-row .ic svg { width: 21px; height: 21px; }
.ben-row h3 { font-size: clamp(18px, 2vw, 24px); }
.ben-row p { color: var(--muted-d); font-size: 14.5px; }
.ben-arrow {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-d); color: var(--ink-d);
  transform: rotate(0); transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s;
}
.ben-arrow svg { width: 17px; height: 17px; }
.ben-row:hover .ben-arrow { transform: rotate(45deg); background: var(--ink-d); color: #fff; border-color: var(--ink-d); }
@media (max-width: 860px) {
  .ben-row { grid-template-columns: 50px 1fr 40px; grid-template-areas: "i t a" "i p a"; row-gap: 6px; }
  .ben-row .ben-i { grid-area: i; font-size: 26px; } .ben-row .ic { display: none; }
  .ben-row h3 { grid-area: t; } .ben-row p { grid-area: p; } .ben-arrow { grid-area: a; }
}

/* ============================================================
   VALEURS — editorial dark rows
   ============================================================ */
.val-rows { display: grid; gap: 14px; }
.val-row {
  position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 26px; align-items: center;
  padding: 30px 34px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--glass), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-bd);
  transition: border-color .4s, transform .4s var(--ease);
}
.val-row:hover { transform: translateX(10px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.val-row::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c); opacity: .8;
}
.val-row .ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.val-row .ic svg { width: 23px; height: 23px; }
.val-body h3 { font-size: 20px; display: inline; margin-inline-end: 14px; }
.val-body em { font-style: normal; color: color-mix(in srgb, var(--c) 85%, #fff); font-size: 14px; font-weight: 600; }
.val-body p { margin-top: 6px; color: var(--muted); font-size: 14.5px; max-width: 720px; }
.val-i {
  font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--c) 45%, transparent);
}
@media (max-width: 760px) { .val-row { grid-template-columns: 1fr; } .val-i { display: none; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding-top: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--glass-bd); }
.stat-cell {
  padding: clamp(34px, 5vh, 60px) 26px; text-align: center;
  border-inline-end: 1px solid var(--glass-bd);
  transition: background .4s;
}
.stat-cell:last-child { border-inline-end: 0; }
.stat-cell:hover { background: var(--glass); }
.stat-cell .num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.6vw, 64px); line-height: 1;
  letter-spacing: -0.02em;
}
.stat-cell .num .mono { word-spacing: .15em; }
.stat-cell .lab { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-inline-end: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--glass-bd); }
}

/* ============================================================
   TRUST
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-card {
  background: #fff; border: 1px solid var(--line-d); border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.trust-card:hover {
  transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--c) 55%, transparent);
}
.trust-card .ic {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px;
  background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c); margin-bottom: 20px;
}
.trust-card .ic svg { width: 21px; height: 21px; }
.trust-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--muted-d); }
.poweredby { margin-top: 44px; text-align: center; color: var(--muted-d); font-size: 14px; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line-d); border-radius: 16px; overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.faq-item[open] { border-color: rgba(74, 31, 168, 0.45); box-shadow: 0 24px 60px -34px rgba(74, 31, 168, 0.4); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { flex: 0 0 auto; width: 18px; height: 18px; color: var(--v1); transition: transform .35s var(--ease); }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted-d); font-size: 14.5px; line-height: 1.7; max-width: 720px; }

/* ============================================================
   CTA — screenshot collage + form
   ============================================================ */
.cta-final { overflow: clip; padding: clamp(110px, 16vh, 200px) 0; }
.cta-collage {
  position: absolute; inset: -12% -4%; display: flex; gap: 22px; z-index: 0;
  transform: rotate(-7deg); opacity: .6;
}
.col-track { flex: 1; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.col-track img { border-radius: 14px; border: 1px solid var(--glass-bd); width: 100%; }
.ct-a { animation: colup 38s linear infinite; }
.ct-b { animation: colup 46s linear infinite reverse; }
.ct-c { animation: colup 42s linear infinite; }
@keyframes colup { to { transform: translateY(-50%); } }
.cta-veil {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 70% at 50% 50%, rgba(13, 8, 35, 0.55) 0%, rgba(13, 8, 35, 0.92) 62%, var(--bg0) 100%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 780px; }
.cta-inner .display { margin-top: 22px; }
.cta-inner .lead { margin: 18px auto 0; max-width: 560px; text-wrap: balance; }
.cta-form { display: flex; gap: 12px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.cta-input {
  display: flex; align-items: center; gap: 10px; min-width: min(360px, 86vw);
  padding: 0 18px; border-radius: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-bd);
  backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .3s;
}
.cta-input:focus-within { border-color: var(--v2); box-shadow: 0 0 0 4px rgba(124, 84, 208, 0.22), 0 0 40px -8px rgba(124, 84, 208,.5); }
.cta-input svg { width: 17px; height: 17px; color: var(--faint); }
.cta-input input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 14.5px; padding: 16px 0; }
.cta-input input::placeholder { color: var(--faint); }
.fineprint { margin-top: 20px; font-size: 12.5px; color: var(--faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--bg0); border-top: 1px solid var(--glass-bd); padding: 70px 0 34px; overflow: clip; }
.foot-mega {
  position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(110px, 19vw, 300px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(196, 168, 255, 0.10);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.foot-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 320px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 6px; }
.foot-col a { color: var(--muted); font-size: 14px; width: fit-content; position: relative; transition: color .25s; }
.foot-col a::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 0; height: 1px; background: var(--grad); transition: width .3s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-col a:hover::after { width: 100%; }
.foot-bottom {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 13px;
}
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--glass-bd); color: var(--muted);
  transition: transform .3s var(--ease), color .3s, border-color .3s, background .3s;
}
.foot-socials a:hover { transform: translateY(-4px); color: #fff; border-color: var(--v2); background: rgba(124, 84, 208, 0.14); }
.foot-socials svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9985; display: grid; place-items: center; padding: 4vmin;
  background: rgba(13, 8, 35, 0.9); backdrop-filter: blur(14px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 14px; border: 1px solid var(--glass-bd); box-shadow: 0 60px 160px -40px #000; animation: lbin .35s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.94); } }
.lb-close {
  position: absolute; top: 22px; inset-inline-end: 22px; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--glass-2); border: 1px solid var(--glass-bd); color: #fff;
  transition: transform .3s var(--ease), background .3s;
}
.lb-close:hover { transform: rotate(90deg); background: rgba(205, 34, 59, .5); }
.lb-close svg { width: 20px; height: 20px; }
.video-modal video {
  max-width: 92vw; max-height: 86vh; width: min(1080px, 92vw); border-radius: 14px;
  border: 1px solid var(--glass-bd); background: #000;
  box-shadow: 0 60px 160px -40px #000; animation: lbin .35s var(--ease);
}

/* ---------- generic reveal (IO-driven, GSAP-free fallback) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); }
html.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .85s var(--ease), transform .85s var(--ease); }

/* ---------- i18n / RTL / fonts ---------- */
:lang(ar) { letter-spacing: 0 !important; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .eyebrow, :lang(ar) .btn { font-family: 'Cairo', var(--font-body); }
:lang(zgh) h1, :lang(zgh) h2, :lang(zgh) h3 { font-family: 'Noto Sans Tifinagh', var(--font-display); font-synthesis: none; }
[dir="rtl"] .ticker { transform: rotate(1.6deg) scale(1.02); }
[dir="rtl"] .btn svg.lucide-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .ben-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .ben-row:hover .ben-arrow { transform: rotate(-45deg); }
[dir="rtl"] .mod-card { direction: rtl; text-align: start; }
[dir="rtl"] .sol-item:hover { transform: translateX(-8px); }
[dir="rtl"] .val-row:hover { transform: translateX(-10px); }
[dir="rtl"] .show-cap.is-on { transform: translateX(-6px); }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sheet :focus-visible { outline-color: #4a1fa8; }

/* visually hidden (screen-reader only) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- reduced motion: kill every loop, show everything ---------- */
@media (prefers-reduced-motion: reduce) {
  body::after, .eyebrow .dot, .ai-live, .hero-grid-bg, .hero-beam, .hero-ring,
  .shot-scan, .cue-line::after, .ticker-track,
  .ct-a, .ct-b, .ct-c, .loader-mark, [data-float="1"], [data-float="2"], [data-float="3"] {
    animation: none !important;
  }
  html.js [data-reveal], html.js [data-intro], html.js .hero-h1.splitting .ch { opacity: 1 !important; transform: none !important; }
  .scrub-words .w { opacity: 1 !important; transform: none !important; }
  .pipe-node { opacity: 1 !important; transform: none !important; }
  .pipe-pulse { display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ============ Pricing (#tarifs) ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(44, 26, 115, 0.14); border-radius: 18px;
  padding: 26px 22px; background: #fff;
}
.price-card.featured { border-color: rgba(74, 31, 168, 0.55); box-shadow: 0 24px 60px -34px rgba(74, 31, 168, 0.4); }
.price-card h3 { font-size: 18px; font-weight: 700; }
.price-amt { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-amt span { font-size: 12px; font-weight: 600; color: #7b7595; letter-spacing: 0; }
.price-card p { font-size: 13.5px; line-height: 1.55; color: #585271; }
.price-badge {
  position: absolute; top: -11px; inset-inline-start: 22px;
  background: linear-gradient(90deg, #8b69d9, #6b4bc1); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
#tarifs .fineprint { margin-top: 18px; text-align: center; }
[dir="rtl"] .price-card { text-align: start; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
