/* ============================================================
   V-AURA — Landing
   Built on the Proof of Stakes / Aurea design tokens.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype-variations');
}

:root {
  --bg:            #000000;
  --surface-1:     #0a0a0c;
  --surface-2:     #13131a;
  --surface-3:     #1a1a24;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --glass:         rgba(255,255,255,0.05);
  --glass-strong:  rgba(255,255,255,0.08);
  --glass-border:  rgba(255,255,255,0.10);

  --aura:     #00ffff;
  --vstake:   #f5c94b;
  --iris:     #9d4edd;
  --tribunal: #ff3399;
  --gemme:    #00ff80;

  --bast:    #e0aa3e;
  --nexus:   #4cc9f0;
  --ophidia: #7b2cbf;
  --esprit:  #f5f5f5;
  --aurea:   #c9a227;

  --fg:    #ffffff;
  --fg-1:  rgba(255,255,255,0.92);
  --fg-2:  rgba(255,255,255,0.70);
  --fg-3:  rgba(255,255,255,0.50);
  --fg-4:  rgba(255,255,255,0.35);

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', Menlo, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 9999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* V-Aura brand neon gradient */
  --brand-grad: linear-gradient(120deg, #00f5ff 0%, #6fb8ff 32%, #b96bff 62%, #ff3aa0 100%);

  /* Animation-intensity multiplier (driven by Tweaks). 0 = subtle, 1 = spectacular */
  --fx: 1;
  --maxw: 1280px;
  --section-pad: clamp(80px, 11vh, 160px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(0,255,255,0.25); color: #fff; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { margin: 0; font-family: var(--font-display); color: var(--fg); }

p { margin: 0; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aura);
  box-shadow: 0 0 10px var(--aura);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  transition: background .4s var(--ease-out), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,6,9,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--fg);
}
.brand-name span { color: var(--fg-3); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; color: var(--fg-2);
  letter-spacing: 0.01em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--aura); box-shadow: 0 0 8px var(--aura); transition: width .25s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--fg); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav.scrolled { backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 11px 20px; border-radius: var(--r-full);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s var(--ease-out), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--aura); color: #03161a;
  box-shadow: 0 0 0 rgba(0,255,255,0);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 calc(28px * var(--fx)) rgba(0,255,255,.55); }
.btn-primary:active { transform: scale(.97); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .45s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,245,255,.35); }
.btn-ghost {
  background: var(--glass); border-color: var(--glass-border); color: var(--fg);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  padding: 120px clamp(24px, 3vw, 48px) 80px clamp(60px, 8vw, 160px);
}
#planet-stage {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 70%;
  cursor: grab;
  z-index: 0; pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask:          linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}
#planet-stage.is-live { opacity: 1; }
#planet-stage canvas { display: block; width: 100% !important; height: 100% !important; }

/* Fallback CSS orb (mobile, no-WebGL, CDN failure) */
#planet-stage.stage-fallback,
.no-webgl #planet-stage {
  opacity: 1;
  background:
    radial-gradient(ellipse 60% 60% at 68% 48%, rgba(18,44,22,.95) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 65% 50%, rgba(0,40,80,.8) 30%, transparent 70%),
    radial-gradient(ellipse 70% 65% at 66% 50%, rgba(0,245,255,.08) 0%, transparent 55%),
    radial-gradient(ellipse 100% 90% at 62% 50%, rgba(0,14,30,1) 50%, transparent 80%);
}

#particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; opacity: 0.55;
  pointer-events: none; /* laisse passer le drag vers #planet-stage */
}

/* ── Fiche planétaire (survol du globe) ─────────────────────── */
.planet-hud {
  position: absolute;
  left: 30%; top: 9%;
  z-index: 4;
  width: 320px;
  pointer-events: none;
  font-family: var(--font-mono);
  background: linear-gradient(160deg, rgba(8,16,28,.88), rgba(5,9,18,.92));
  border: 1px solid rgba(0,245,255,.28);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.5), inset 0 0 28px rgba(0,245,255,.04);
  padding: 14px 16px 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}
.planet-hud.show { opacity: 1; transform: none; }
/* coins lumineux façon viseur */
.planet-hud::before, .planet-hud::after {
  content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.planet-hud::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--aura); border-left: 2px solid var(--aura);
  border-top-left-radius: 10px;
}
.planet-hud::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--aura); border-right: 2px solid var(--aura);
  border-bottom-right-radius: 10px;
}
.phud-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid rgba(0,245,255,.16);
}
.phud-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--aura);
  box-shadow: 0 0 8px var(--aura);
  animation: phudPulse 2.2s ease-in-out infinite;
}
@keyframes phudPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.phud-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: .22em; color: #fff;
}
.phud-status {
  margin-left: auto;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aura); opacity: .85;
}
.phud-rows { display: flex; flex-direction: column; gap: 7px; }
.phud-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  font-size: 11.5px;
}
.phud-row .k { color: var(--fg-4); letter-spacing: .04em; flex: none; }
.phud-row .v { color: var(--fg-2); text-align: right; }
.phud-aura { color: var(--aura) !important; font-weight: 700; font-size: 13px; }
.phud-civ  { color: #8fff9e !important; }
@media (max-width: 1100px) { .planet-hud { display: none; } }

/* ── Champ de certification HUD ────────────────────────── */
.field-hud {
  position: absolute;
  right: 8%; top: 26%;
  z-index: 4; pointer-events: none;
  display: flex; align-items: center; gap: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.field-hud.is-visible { opacity: 1; transform: none; }
.field-hud-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aura); box-shadow: 0 0 8px var(--aura);
  flex: none;
  animation: fieldPulse 2.8s ease-in-out infinite;
}
@keyframes fieldPulse { 0%,100%{ opacity:.7; box-shadow:0 0 6px var(--aura) } 50%{ opacity:1; box-shadow:0 0 14px var(--aura),0 0 24px rgba(0,245,255,.4) } }
.field-hud-line {
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,.5));
  flex: none; margin: 0 10px;
}
.field-hud-text {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-3); white-space: nowrap;
}
.field-hud-text b { color: var(--aura); font-weight: 600; }
@media (max-width: 1000px) { .field-hud { display: none; } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corePulse {
  0%,100% { transform: scale(1); opacity: .85; }
  50%     { transform: scale(1.1); opacity: 1; }
}

.hero-inner { position: relative; z-index: 3; max-width: 540px; text-align: left; }

/* Logo officiel V au-dessus du titre — nébuleuse + glow inclus dans l'image */
.hero-mark-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  margin-left: -28px; /* compense le halo de la nébuleuse pour aligner le V optiquement */
}
.hero-v {
  display: block;
  width: clamp(160px, 22vw, 250px);
  height: auto;
}
/* Hero title — plain text below the mark */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.hero-title .dash {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }


.hero-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 30px;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--fg-2);
  max-width: 520px; margin: 0 0 40px;
  line-height: 1.5;
  text-wrap: balance;
}
.hero-sub b { color: var(--fg); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--fg-3); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .mouse {
  width: 22px; height: 36px; border: 1.5px solid var(--fg-4); border-radius: 12px;
  position: relative;
}
.scroll-cue .mouse::after {
  content:''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--aura);
  animation: scrollDot 1.8s var(--ease-out) infinite;
}
@keyframes scrollDot { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0; transform:translate(-50%,12px)} }

/* reveal-on-scroll utility */
.reveal { opacity: 0.001; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Fix : sans animation, les portes resteraient fermées — on les masque */
  .split-gate { display: none !important; }
  .split-seam { opacity: .5 !important; }
  .step::before { transform: scaleX(1) !important; }
  .btn-primary::after, .cta-final .glow { animation: none !important; }
  .iris-orbit, .iris-orbit-r, .iris-visual::before,
  .iris-visual img, .iris-visual .halo { animation: none !important; }
}

.section { padding-block: var(--section-pad); position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 16px 0 18px;
}
.section-head p { font-size: clamp(16px, 1.8vw, 19px); color: var(--fg-2); line-height: 1.55; text-wrap: pretty; }

/* ============================================================
   SPLIT — the 50/50 deploy
   ============================================================ */
.split { position: relative; height: 260vh; }
.split-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex;
}
.split-panel {
  position: relative; width: 50%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8vh clamp(28px, 4.5vw, 80px);
  overflow: hidden;
  will-change: transform;
}
.split-panel .panel-bg { position: absolute; inset: 0; z-index: 0; }
.split-panel .panel-content { position: relative; z-index: 2; max-width: 480px; }

/* PoS — vivid */
.panel-pos { background: radial-gradient(120% 90% at 20% 30%, rgba(157,78,221,.20), transparent 55%), #050507; }
.panel-pos .panel-bg {
  background:
    radial-gradient(60% 50% at 70% 65%, rgba(255,58,160,.16), transparent 60%),
    radial-gradient(50% 60% at 30% 40%, rgba(0,245,255,.12), transparent 60%);
}
.panel-pos .panel-bg::after {
  content:''; position:absolute; inset:0;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 70% 60%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.6px 1.6px at 45% 80%, rgba(0,245,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 85% 25%, rgba(185,107,255,.5), transparent);
  background-size: 200px 200px, 260px 260px, 300px 300px, 220px 220px;
  opacity: calc(.5 + .5*var(--fx));
}

/* V-Infra — technical / sober */
.panel-infra { background: #060708; }
.panel-infra .panel-bg {
  background:
    linear-gradient(rgba(0,245,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,.05) 1px, transparent 1px),
    radial-gradient(70% 70% at 70% 50%, rgba(0,245,255,.06), transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  -webkit-mask: radial-gradient(120% 100% at 60% 50%, #000 40%, transparent 85%);
  mask: radial-gradient(120% 100% at 60% 50%, #000 40%, transparent 85%);
}
.panel-infra .panel-bg::after {
  content:''; position:absolute; left:0; right:0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,.6), transparent);
  top: 0; filter: blur(.5px);
  animation: scanY calc(7s - 2.5s*var(--fx)) linear infinite;
  opacity: var(--fx);
}
@keyframes scanY { 0%{ top:-2% } 100%{ top:102% } }

.panel-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 22px;
}
.panel-kicker .tag {
  padding: 3px 9px; border-radius: var(--r-full); font-weight: 600;
  border: 1px solid var(--glass-border); background: var(--glass);
}
.panel-pos .panel-kicker .tag { color: var(--nexus); border-color: rgba(76,201,240,.45); text-shadow: 0 0 12px rgba(76,201,240,.5); }
.panel-infra .panel-kicker .tag { color: var(--gemme); border-color: rgba(0,255,128,.45); text-shadow: 0 0 12px rgba(0,255,128,.45); font-family: var(--font-mono); }

.split-panel h3 {
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 18px;
}
.panel-infra h3 { font-weight: 600; }
.split-panel .lead { color: var(--fg-2); font-size: clamp(15px, 1.5vw, 17px); margin-bottom: 26px; line-height: 1.55; text-wrap: pretty; }

.panel-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.panel-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-2); }
.panel-list li .mk { flex: none; margin-top: 2px; }
.panel-pos .mk { color: var(--aura); }
.panel-infra .mk { color: var(--aura); font-family: var(--font-mono); font-size: 13px; }

/* Lueur bord intérieur des portes */
.split-gate.left::after, .split-gate.right::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0,245,255,.6) 30%, rgba(185,107,255,.6) 70%, transparent);
  opacity: calc(var(--gate-p, 0) * 0.8);
  filter: blur(1px);
  transition: opacity .1s;
}
.split-gate.left::after  { right: 0; }
.split-gate.right::after { left: 0; }

/* seam + gate */
.split-seam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 5;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0,245,255,.7) 20%, rgba(185,107,255,.7) 80%, transparent);
  box-shadow: 0 0 calc(18px*var(--fx)) rgba(0,245,255,.6);
  opacity: 0;
}
.split-emblem {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(1);
  z-index: 6; width: 120px; height: 120px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,8,12,.9), rgba(8,8,12,.4) 70%, transparent);
}
.split-emblem img { width: 64px; filter: drop-shadow(0 0 16px rgba(120,160,255,.7)); }

.split-gate {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 7;
  background: #050506;
  display: flex; align-items: center;
  will-change: transform;
}
.split-gate.left { left: 0; justify-content: flex-end; border-right: 1px solid rgba(255,255,255,.06); }
.split-gate.right { right: 0; justify-content: flex-start; border-left: 1px solid rgba(255,255,255,.06); }
.split-gate-label {
  font-family: var(--font-display); font-weight: 700; color: var(--fg-4);
  font-size: clamp(24px, 4vw, 54px); letter-spacing: -0.02em; padding: 24px;
  white-space: nowrap;
}

/* PoS showcase — phones (work in progress: content blurred) */
.pos-showcase { margin-top: 8px; }
.screens {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(12px, 2vw, 28px); padding-top: 30px;
  perspective: 1600px;
}
.phone {
  width: clamp(180px, 21vw, 300px); height: auto;
  border-radius: 22px; border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 calc(40px*var(--fx)) rgba(0,245,255,.12);
  transition: transform .6s var(--ease-out), box-shadow .4s, filter .5s var(--ease-out);
  will-change: transform;
  filter: blur(7px) saturate(1.05) brightness(.92);
}
.phone.p-mid { transform: translateY(-26px) scale(1.06); z-index: 3; box-shadow: 0 40px 100px rgba(0,0,0,.8), 0 0 calc(60px*var(--fx)) rgba(157,78,221,.28); }
.phone.p-left { transform: rotateY(16deg) translateZ(-30px); z-index: 1; }
.phone.p-right { transform: rotateY(-16deg) translateZ(-30px); z-index: 1; }
.screens:hover .phone { filter: blur(4px) saturate(1.05) brightness(.95); }
.screens:hover .phone.p-left { transform: rotateY(10deg) translateY(-6px); }
.screens:hover .phone.p-right { transform: rotateY(-10deg) translateY(-6px); }

.dev-tag {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 5; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-full);
  background: rgba(8,8,12,.72); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-1); white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.dev-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vstake); box-shadow: 0 0 10px var(--vstake); animation: corePulse 2.4s ease-in-out infinite; }
.showcase-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--fg-3); }

/* ============================================================
   STEPS — comment ça marche
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative; padding: 28px 24px 30px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  overflow: hidden;
}
.step::before {
  content:''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--brand-grad); opacity: .8;
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.step.in::before { transform: scaleX(1); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--aura); margin-bottom: 16px;
}
.step-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--fg);
  margin-bottom: 18px;
}
.step h4 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--fg-2); line-height: 1.5; }
.step-arrow { position:absolute; top: 50%; right: -22px; color: var(--fg-4); z-index: 3; }

/* ============================================================
   V-INFRA detail — verification bricks + IRIS
   ============================================================ */
.infra-section { background:
  linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px), var(--bg);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.bricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brick {
  position: relative; padding: 24px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  transition: border-color .3s, transform .3s, background .3s;
  overflow: hidden;
}
.brick::before, .step::after, .stat::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px at var(--mx, 50%) var(--my, 50%), rgba(0,245,255,.055), transparent);
  opacity: 0; transition: opacity .3s;
}
.brick:hover::before, .step:hover::after, .stat:hover::before { opacity: 1; }
.brick:hover { border-color: rgba(0,255,255,.4); transform: translateY(-3px); background: rgba(0,255,255,.03); }
.brick.brick-tribunal .idx { color: var(--tribunal); }
.brick.brick-tribunal .brick-ico { color: var(--tribunal); opacity: 1; }
.brick.brick-tribunal:hover { border-color: rgba(255,51,153,.4); background: rgba(255,51,153,.03); }
.brick .idx { font-family: var(--font-mono); font-size: 12px; color: var(--aura); letter-spacing: .12em; }
.brick h4 { font-size: 18px; margin: 12px 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.brick p { font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.brick .brick-ico { position: absolute; top: 20px; right: 20px; color: var(--fg-3); opacity:.8; }

.iris-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
  margin-top: 64px;
  padding: 44px; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: radial-gradient(80% 120% at 18% 30%, rgba(157,78,221,.16), transparent 60%), rgba(255,255,255,.02);
}
.iris-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.iris-visual .halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,78,221,.4), transparent 65%);
  filter: blur(20px);
  animation: corePulse 4s ease-in-out infinite;
}
.iris-visual img { position: relative; width: 62%; filter: drop-shadow(0 12px 40px rgba(157,78,221,.5)); animation: floatY 6s ease-in-out infinite; }
.iris-orbit {
  position: absolute; inset: 3%; border-radius: 50%;
  border: 1px dashed rgba(157,78,221,.3);
  animation: spin 28s linear infinite;
}
.iris-orbit::before {
  content:''; position:absolute; top:-4px; left:50%; width:8px; height:8px; border-radius:50%;
  background: var(--iris); box-shadow: 0 0 12px var(--iris);
}
/* Second counter-rotating orbit */
.iris-orbit-r {
  position: absolute; inset: 10%; border-radius: 50%;
  border: 1px dashed rgba(76,201,240,.18);
  animation: spin 18s linear infinite reverse;
}
.iris-orbit-r::before {
  content:''; position:absolute; bottom:-3px; left:50%;
  width:6px; height:6px; border-radius:50%;
  background: rgba(76,201,240,.65); box-shadow: 0 0 10px rgba(76,201,240,.55);
}
/* IRIS scanline sweep */
.iris-visual::before {
  content:''; position:absolute; z-index:3; pointer-events:none;
  left:19%; right:19%; height:28%; top:-28%;
  background: linear-gradient(transparent, rgba(157,78,221,.14), transparent);
  animation: irisScn 8s linear infinite;
  border-radius: 4px;
}
@keyframes irisScn { 0%{ top:-28% } 100%{ top:115% } }
.iris-text h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; letter-spacing: -0.02em; }
.iris-text .lead { color: var(--fg-2); margin-bottom: 22px; font-size: 16px; }
.iris-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.iris-stat .n { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--iris); }
.iris-stat .l { font-size: 12.5px; color: var(--fg-3); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integ-band {
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap; padding: 36px 40px; border-radius: var(--r-xl);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.integ {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.01em; color: var(--fg-2);
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.integ:hover { color: var(--rc, var(--fg)); transform: translateY(-2px); }
.integ-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-4); flex: none; }
@media (max-width: 600px) { .integ-sep { display: none; } }

/* ============================================================
   REALMS
   ============================================================ */
.realms-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.realm {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); min-height: 260px;
  cursor: default;
}
.realm.big { grid-column: span 6; min-height: 420px; }
.realm.tall { grid-column: span 3; }
.realm.wide { grid-column: span 6; }
.realm img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.1s var(--ease-out), filter .5s;
  filter: saturate(.92);
}
.realm:hover img { transform: scale(1.12); filter: saturate(1.1); }
.realm::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85));
}
.realm-cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 24px; }
.realm-cap .rk { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.realm-cap h4 { font-size: 22px; margin-top: 6px; letter-spacing: -0.01em; }
.realm-line { position:absolute; inset:0; z-index:1; border-radius: inherit; pointer-events:none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .4s; }
.realm:hover .realm-line { box-shadow: inset 0 0 0 1px var(--rc, var(--aura)), inset 0 0 40px var(--rc, var(--aura)); }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 40px 20px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.stat .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .n .u {
  font-size: .4em; font-weight: 600; margin-left: 5px; letter-spacing: 0;
  -webkit-text-fill-color: var(--fg-2); color: var(--fg-2);
}
.stat .l { margin-top: 12px; font-size: 14px; color: var(--fg-3); letter-spacing: .04em; line-height: 1.4; text-wrap: balance; }
.market-note { text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--fg-4); max-width: 700px; margin-inline: auto; line-height: 1.55; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(90px, 14vh, 180px) 24px;
}
.cta-final .glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,.16), rgba(157,78,221,.08) 45%, transparent 70%);
  filter: blur(30px); z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{ opacity:.8; transform:translate(-50%,-50%) scale(1) } 50%{ opacity:1; transform:translate(-50%,-50%) scale(1.08) } }
.cta-final .inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-final h2 { font-size: clamp(34px, 5.5vw, 72px); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 20px; }
.cta-final p { color: var(--fg-2); font-size: 18px; margin-bottom: 34px; text-wrap: balance; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--fg-3); font-size: 14px; margin-top: 16px; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h5 { font-family: var(--font-body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 18px; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--fg-2); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--aura); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .bricks { grid-template-columns: repeat(2, 1fr); }
  .iris-row { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { height: auto; }
  .split-sticky { position: relative; height: auto; flex-direction: column; }
  .split-panel {
    width: 100%; min-height: unset;
    padding: clamp(48px, 8vh, 80px) clamp(24px, 6vw, 60px);
    transform: none !important;
  }
  .split-panel .panel-content { opacity: 1 !important; max-width: 100%; transform: none !important; }
  .split-seam, .split-emblem, .split-gate { display: none; }
  .realm.big, .realm.tall, .realm.wide { grid-column: span 12; min-height: 260px; }
}
@media (max-width: 600px) {
  .steps-grid, .bricks, .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-cols { grid-template-columns: 1fr; }
  .nav-cta .lang-selector { display: none; } /* masqué sur mobile, accessible via scroll de page */
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-1); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,245,255,.25); }

/* ============================================================
   REALM caption hover lift
   ============================================================ */
.realm-cap .rk {
  transform: translateY(0); transition: transform .4s var(--ease-out), color .3s;
}
.realm:hover .realm-cap .rk { transform: translateY(-4px); color: var(--fg-2); }

/* ============================================================
   SECTION ambient glows
   ============================================================ */
.infra-section::before {
  content: ''; pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 50% 0%, rgba(0,245,255,.04), transparent 60%);
}
#aurea::before {
  content: ''; pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 50% 0%, rgba(201,162,39,.05), transparent 60%);
}

/* ============================================================
   FOOTER link underline animation
   ============================================================ */
.footer-col a {
  position: relative; display: block;
}
.footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--aura); transition: width .25s var(--ease-out);
}
.footer-col a:hover::after { width: 100%; }

/* ============================================================
   CHALLENGE CARDS (remplacent les témoignages)
   ============================================================ */
.challenges-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: 24px;
}
.challenge-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  transition: border-color .3s, transform .3s;
}
.challenge-card:hover { border-color: rgba(0,245,255,.28); transform: translateY(-4px); }
.challenge-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/4.8;
}
.challenge-card.card-wide .challenge-img-wrap {
  aspect-ratio: 4/3;
}
.challenge-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; filter: contrast(1.1) brightness(0.92);
  transition: transform .5s var(--ease-out), filter .4s;
}
.challenge-card:hover .challenge-img { transform: scale(1.04); filter: contrast(1.15) brightness(1.0); }
.challenge-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,9,.88) 0%, rgba(6,6,9,.2) 45%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  gap: 6px;
}
.challenge-name {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff;
}
.challenge-badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-full); width: fit-content;
  border: 1px solid color-mix(in srgb, var(--rc, var(--aura)) 40%, transparent);
  color: var(--rc, var(--aura));
  background: color-mix(in srgb, var(--rc, var(--aura)) 12%, transparent);
}
.challenge-body {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 22px 22px; flex: 1;
}
.challenge-quote {
  font-size: 14px; color: var(--fg-2); line-height: 1.6;
  font-style: italic; margin: 0;
  border-left: 2px solid var(--glass-border); padding-left: 14px; flex: 1;
}
.challenge-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.challenge-platform { font-size: 11.5px; color: var(--fg-4); font-family: var(--font-mono); }
.challenge-aura { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--aura); }
@media (max-width: 900px) { .challenges-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .challenges-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER — language selector
   ============================================================ */
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--fg-4);
}
.footer-tagline-sub { color: var(--fg-4); }
/* Lang selector lives in nav — ensure menu z-index above nav */
.lang-menu { z-index: 200; }
.lang-selector { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(0,245,255,.25);
  border-radius: var(--r-full); padding: 6px 12px 6px 10px;
  color: var(--fg-2); font-size: 13px; font-family: var(--font-body);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: rgba(0,245,255,.4); color: var(--fg); }
.lang-globe { width: 15px; height: 15px; flex: none; }
.lang-label { letter-spacing: .06em; font-weight: 500; }
.lang-chevron { flex: none; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  min-width: 200px; max-height: 320px; overflow-y: auto;
  list-style: none; padding: 6px 0; margin: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: 0 8px 28px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.lang-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.lang-opt {
  padding: 9px 16px; font-size: 13.5px; color: var(--fg-2);
  cursor: pointer; transition: background .15s, color .15s;
}
.lang-opt:hover { background: rgba(0,245,255,.06); color: var(--fg); }
.lang-opt.is-active { color: var(--aura); }
