/* ============================================================
   S MEDIA — styles-v6.css
   Design: Hybrid Alternating Canvas · 3 ambiances
   (dark #0A0A0A · cream #F5F1E8 · accent phosphor)
   Fonts: Satoshi + JetBrains Mono · accent phosphor #E6FF55
   ============================================================ */

/* ── TOKENS ── */
:root {
  --phosphor: #E6FF55;
  --phosphor-dim: #C9E03A;
  --ink: #0A0A0A;
  --ink-2: #141414;
  --cream: #F5F1E8;
  --cream-2: #ECE7D8;
  --warm-grey: #8A847A;
  --warm-mid: #6B665B;
  --offwhite: #E8E6DF;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --signal-green: #3FB950;
  --signal-red: #F85149;
  --signal-warning: #E6A040;
  --radius-sm: 8px;
  --text-muted: var(--warm-grey);
  --border-soft: rgba(232, 230, 223, 0.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  font-family: 'Satoshi', sans-serif;
  background: var(--ink);
  color: var(--offwhite);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  cursor: none;
}
a { text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--phosphor); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

/* ── SECTION TONES ── */
section[data-tone="dark"] {
  background: var(--ink);
  background-image: radial-gradient(rgba(232, 230, 223, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--offwhite);
  --border-soft: rgba(232, 230, 223, 0.1);
  --text-muted: var(--warm-grey);
}
section[data-tone="cream"] {
  background: var(--cream);
  background-image: radial-gradient(rgba(10, 10, 10, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  --border-soft: rgba(10, 10, 10, 0.1);
  --text-muted: var(--warm-mid);
}

/* ── CONTAINER ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* ── THREAD (scroll progress) ── */
.thread {
  position: fixed; top: 0; bottom: 0; left: 50%;
  width: 1px; pointer-events: none; z-index: 5; opacity: 0.2;
  background: linear-gradient(180deg, transparent, var(--phosphor) 20%, var(--phosphor) 80%, transparent);
}
.thread::before {
  content: ''; position: absolute;
  top: var(--progress, 0%); left: 50%;
  width: 14px; height: 14px;
  border-radius: 50%; background: var(--phosphor);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--phosphor), 0 0 50px rgba(230, 255, 85, 0.3);
  transition: top 80ms linear;
  opacity: 1;
}

/* ── CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 200ms var(--ease-spring), height 200ms var(--ease-spring);
}
.cursor-dot { width: 6px; height: 6px; background: var(--phosphor); border-radius: 50%; }
.cursor-ring { width: 32px; height: 32px; border: 1px solid rgba(230, 255, 85, 0.6); border-radius: 50%; z-index: 9998; }
.cursor-dot.active { width: 12px; height: 12px; }
.cursor-ring.active { width: 72px; height: 72px; border-color: var(--phosphor); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* ── FOCUS VISIBLE ── */
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 3px; }
.btn:focus-visible, .faq-q:focus-visible, .burger:focus-visible, .chat-close:focus-visible {
  outline: 2px solid var(--phosphor); outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(230, 255, 85, 0.18);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-family: 'Satoshi', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: none; text-decoration: none;
  transition: transform 240ms var(--ease-spring), background 200ms ease,
              color 200ms ease, box-shadow 200ms ease;
  will-change: transform; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--phosphor) !important; color: var(--ink) !important;
  box-shadow: 0 4px 16px rgba(230, 255, 85, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(230, 255, 85, 0.3);
}
.btn-ghost {
  background: transparent; color: var(--offwhite);
  border-color: rgba(232, 230, 223, 0.3);
}
.btn-ghost:hover {
  border-color: var(--phosphor); color: var(--phosphor);
  transform: translateY(-2px);
}
.btn-arrow { display: inline-flex; transition: transform 240ms var(--ease-spring); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ── TOP META ── */
.top-meta {
  background: var(--ink); color: var(--warm-grey);
  padding: 9px 0; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(232, 230, 223, 0.06); position: relative; z-index: 90;
}
.top-meta .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.phosphor-dot { color: var(--phosphor); }
.phosphor-text { color: var(--phosphor); }
.pulse-badge {
  display: inline-flex; align-items: center; gap: 8px; color: var(--warm-grey);
}
.pulse-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--phosphor);
  border-radius: 50%; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 255, 85, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(230, 255, 85, 0); }
}

/* ── HEADER / NAV ── */
header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 230, 223, 0.07);
  transition: background 300ms ease;
}
header.scrolled { background: rgba(10, 10, 10, 0.95); }
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; height: 68px; gap: 32px;
}
.logo {
  font-weight: 900; font-size: 18px; letter-spacing: -0.02em;
  color: var(--offwhite); display: flex; align-items: center; gap: 8px;
}
.logo-dot {
  width: 9px; height: 9px; background: var(--phosphor);
  border-radius: 50%; animation: pulse 1.6s ease-in-out infinite;
}
.nav-links {
  display: flex; gap: 32px; justify-content: center;
}
.nav-links li { display: flex; align-items: baseline; gap: 5px; }
.nav-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--phosphor); }
.nav-links a { color: var(--offwhite); font-size: 13px; font-weight: 500; transition: color 180ms ease; }
.nav-links a:hover { color: var(--phosphor); }
.burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: none; padding: 4px; width: 28px;
}
.burger span { display: block; height: 1px; background: var(--offwhite); transition: all 280ms ease; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed; inset: 0; background: var(--ink); z-index: 85;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding: 48px 40px;
  transform: translateX(100%); transition: transform 400ms var(--ease-expo);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { margin-bottom: 40px; }
.mobile-nav li { margin-bottom: 12px; }
.mobile-nav a {
  color: var(--offwhite); font-size: 32px; font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase;
  transition: color 200ms ease, background-size 420ms var(--ease-expo), background-position 420ms var(--ease-expo);
}
.mobile-nav a:hover { color: var(--ink); }

/* ── BADGES ── */
.badge {
  padding: 5px 12px; border: 1px solid rgba(232, 230, 223, 0.16);
  border-radius: var(--radius-pill); font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--warm-grey);
}

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 72px 0 100px;
  display: grid; align-items: center;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232, 230, 223, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 230, 223, 0.035) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none; will-change: transform;
}
.hero-orb {
  position: absolute; top: 15%; right: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--phosphor), rgba(230, 255, 85, 0.35) 30%, transparent 70%);
  filter: blur(48px); opacity: 0.28; pointer-events: none; will-change: transform;
  animation: orb-float 14s ease-in-out infinite alternate;
}
.hero-orb-2 {
  position: absolute; bottom: -100px; left: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 255, 85, 0.15), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
@keyframes orb-float { to { transform: translate(-50px, 60px) scale(1.12); } }

.hero-inner { position: relative; z-index: 2; display: grid; gap: 52px; }
.hero-meta-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-h1 {
  font-weight: 900; font-size: clamp(52px, 9vw, 128px);
  line-height: 0.88; letter-spacing: -0.045em;
  color: var(--offwhite); text-transform: uppercase;
  font-variation-settings: 'wght' 700;
  animation: hero-breath 7s ease-in-out infinite;
  animation-delay: 2.5s;
}
.h1-line { display: block; position: relative; }
.hero-h1 em {
  color: var(--phosphor); font-style: italic;
  font-variation-settings: 'wght' 800;
  animation: hero-breath-em 7s ease-in-out infinite;
  animation-delay: 2.5s;
}

@keyframes hero-breath {
  0%, 100% { font-variation-settings: 'wght' 700; }
  50%       { font-variation-settings: 'wght' 740; }
}
@keyframes hero-breath-em {
  0%, 100% { font-variation-settings: 'wght' 800; }
  50%       { font-variation-settings: 'wght' 850; }
}

/* prefers-reduced-motion — désactive settle + breath */
@media (prefers-reduced-motion: reduce) {
  .hero-h1,
  .hero-h1 em { animation: none; }
  .h1-char { opacity: 1 !important; transform: none !important; }
}

.hero-bottom {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 52px; align-items: end;
}
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--offwhite); max-width: 520px; }
.hero-sub strong { color: var(--phosphor); font-weight: 700; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cards {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-end; will-change: transform;
}
.float-card {
  background: rgba(232, 230, 223, 0.04);
  border: 1px solid rgba(232, 230, 223, 0.09);
  border-radius: var(--radius-md); padding: 20px 24px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: rotate(-3deg) translateZ(0);
  transition: transform 400ms var(--ease-spring), box-shadow 400ms ease;
  cursor: none; will-change: transform; min-width: 280px;
}
.float-card:hover { transform: rotate(0deg) scale(1.04) translateZ(20px); box-shadow: 0 20px 56px rgba(0,0,0,0.45); }
.float-card-alt { transform: rotate(2deg) translateZ(0); }
.float-card-alt:hover { transform: rotate(0deg) scale(1.04) translateZ(20px); }
.float-card-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--phosphor); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.float-card-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; line-height: 1.2; }
.float-card-sub { font-size: 12px; color: var(--warm-grey); }

/* ── MARQUEE ── */
.marquee {
  background: var(--ink); overflow: hidden; padding: 14px 0;
  border-top: 1px solid rgba(232, 230, 223, 0.08);
  border-bottom: 1px solid rgba(232, 230, 223, 0.08);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--warm-grey);
}
.marquee-track {
  display: flex; gap: 56px; animation: marquee 40s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-track span { display: flex; align-items: center; gap: 14px; }
.star { color: var(--phosphor); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── SECTION EDGES ── */
.section-edge {
  height: 0; position: relative; overflow: visible; z-index: 2;
}
.section-edge::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--phosphor) 25%, var(--phosphor) 75%, transparent 100%);
}
.section-edge-typo {
  background: var(--ink); overflow: hidden; padding: 20px 0;
  border-top: 1px solid rgba(230, 255, 85, 0.06);
  border-bottom: 1px solid rgba(230, 255, 85, 0.06);
}
.strip-mega {
  font-weight: 900; font-size: clamp(38px, 6.4vw, 102px);
  line-height: 1; letter-spacing: -0.04em; text-transform: uppercase;
  white-space: nowrap; display: flex; gap: 56px;
  animation: marquee 28s linear infinite; width: max-content;
  color: rgba(232, 230, 223, 0.22);
}
.strip-mega em { color: rgba(230, 255, 85, 0.35); font-style: italic; }
.strip-mega .dim { color: rgba(232, 230, 223, 0.08); }

/* ── SECTIONS BASE ── */
.section { padding: 120px 0; position: relative; }
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 28px;
}
.section-tag::before {
  content: ''; width: 32px; height: 1px; background: var(--phosphor);
  flex-shrink: 0;
}
.section-h2 {
  font-weight: 900; font-size: clamp(44px, 6vw, 96px);
  line-height: 0.95; letter-spacing: -0.04em;
  margin-bottom: 40px; text-transform: uppercase;
}
.section-h2 em { color: var(--phosphor); font-style: italic; }
/* Emphase de titre — un bloc de couleur derrière le mot, calé bas (pas
   un highlighter qui traverse le milieu des lettres), pas un simple filet
   sous le texte. */
section[data-tone="cream"] .section-h2 em {
  color: var(--ink); font-style: italic; text-decoration: none;
  background-image: linear-gradient(var(--phosphor), var(--phosphor));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 100% 0.42em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-intro {
  font-size: 16px; line-height: 1.65; max-width: 680px;
  margin-bottom: 56px; color: var(--text-muted);
}
.marker-rotated {
  background: var(--phosphor); color: var(--ink);
  padding: 0 0.1em; transform: rotate(-3deg);
  display: inline-block; border-radius: 4px;
  box-shadow: 0 6px 24px rgba(230, 255, 85, 0.16);
}
.marker {
  background: var(--phosphor); color: var(--ink);
  padding: 0 0.1em; display: inline-block; border-radius: 3px;
}
.muted { color: var(--text-muted); }
.muted-text { color: var(--warm-mid); }
.accent-text { color: var(--phosphor); }

/* ── SIGNATURE UNDERLINE — "marker fill" ──
   Trait phosphor plat sous chaque lien de contenu ; au survol il monte
   et remplit tout le mot comme un passage de stabilo, le texte bascule
   en encre. Animé via background-size uniquement : paint-only, zéro
   reflow. Unités em → s'adapte du 13px footer au 32px menu mobile.
   box-decoration-break: clone → chaque ligne d'un lien multi-ligne
   porte son propre trait. */
.svc-prose p a,
.svc-prose li a,
.step-content p a,
.section-intro a,
.footer-col a,
.svc-breadcrumb a,
.journal-cta,
.nav-drop-grid a,
.mobile-nav a,
.incod-case-card .case-num-label a {
  color: inherit;
  padding-bottom: 0.14em;
  background-image: linear-gradient(var(--phosphor), var(--phosphor));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 340ms var(--ease-expo), color 200ms ease, transform 200ms ease;
}
.svc-prose p a:hover, .svc-prose p a:focus-visible,
.svc-prose li a:hover, .svc-prose li a:focus-visible,
.step-content p a:hover, .step-content p a:focus-visible,
.section-intro a:hover, .section-intro a:focus-visible,
.footer-col a:hover, .footer-col a:focus-visible,
.svc-breadcrumb a:hover, .svc-breadcrumb a:focus-visible,
.journal-cta:hover, .journal-cta:focus-visible,
.nav-drop-grid a:hover, .nav-drop-grid a:focus-visible,
.mobile-nav a:hover, .mobile-nav a:focus-visible,
.incod-case-card .case-num-label a:hover, .incod-case-card .case-num-label a:focus-visible {
  background-size: 100% 100%;
  color: var(--ink);
}

/* Reveal animations */
.reveal-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 600ms var(--ease-expo), transform 600ms var(--ease-expo);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-h2 {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo);
}
.reveal-h2.in-view { opacity: 1; transform: translateY(0); }

/* ── METRICS ── */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.metric {
  padding: 48px 32px; border-right: 1px solid var(--border-soft);
  transition: background 220ms ease;
}
.metric:last-child { border-right: 0; }
.metric:hover { background: rgba(10, 10, 10, 0.04); }
.metric-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.metric-num {
  font-weight: 900; font-size: clamp(52px, 6.5vw, 96px);
  line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 14px;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.metric-unit { font-size: 0.48em; vertical-align: top; }
.metric-label {
  font-size: 13px; line-height: 1.5; color: var(--text-muted);
}

/* ── SERVICES ── */
.services-list { border-top: 1px solid var(--border-soft); perspective: 1200px; }
.service-row {
  display: grid; grid-template-columns: 80px 1fr 200px 60px;
  gap: 24px; align-items: start; padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
  cursor: none; color: var(--offwhite);
  transition:
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateZ(-180px) translateY(36px) rotateX(18deg);
  transform-origin: center bottom;
}
.service-row.in-view {
  opacity: 1; transform: translateZ(0) translateY(0) rotateX(0);
  transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-row::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(230, 255, 85, 0.05), transparent);
  transform: translateX(-100%); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-row:hover::before { transform: translateX(0); }
/* Indentation visuelle par transform (aucun reflow — le texte ne bouge plus) */
.service-row:hover .service-num { transform: translateX(10px); }
.service-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  font-weight: 500; color: var(--phosphor); letter-spacing: 0.04em;
  position: relative; z-index: 1; padding-top: 6px;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-info { position: relative; z-index: 1; }
.service-name {
  font-weight: 900; font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1); margin-bottom: 10px;
}
.service-name em {
  color: var(--phosphor); font-style: italic;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-desc { font-size: 13px; line-height: 1.6; color: var(--warm-grey); max-width: 520px; }
.service-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--warm-grey);
  text-align: right; position: relative; z-index: 1; padding-top: 8px;
}
.service-tag .accent { color: var(--phosphor); }
.service-arrow {
  text-align: right; font-size: 22px; color: var(--warm-grey);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; z-index: 1; padding-top: 4px;
}

/* ── H-SCROLL CASES ── */
.h-scroll-section { height: 400vh; position: relative; background: var(--ink); }
.h-scroll-pin { position: sticky; top: 68px; height: calc(100vh - 68px); overflow: clip; display: flex; align-items: center; }
.h-scroll-track { display: flex; gap: 24px; padding: 0 0 0 40px; will-change: transform; }
.h-scroll-intro {
  flex: 0 0 calc(100vw - 40px); height: calc(100vh - 68px);
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 80px; padding-left: 40px;
}
.h-scroll-intro .section-h2 { font-size: clamp(44px, 6vw, 96px); color: var(--offwhite); margin-bottom: 28px; }
.scroll-hint {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--phosphor); text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 12px;
}
.scroll-line { width: 28px; height: 1px; background: var(--phosphor); }
.h-card {
  flex: 0 0 540px; height: 68vh; background: var(--ink-2);
  border: 1px solid rgba(232, 230, 223, 0.06);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px;
  transition: transform 360ms var(--ease-spring);
}
.h-card:hover { transform: translateY(-8px) scale(1.01); }
.bg-1 { background: linear-gradient(135deg, rgba(230, 255, 85, 0.16), var(--ink) 60%); }
.bg-2 { background: linear-gradient(135deg, #282820, var(--ink) 80%); }
.bg-3 { background: linear-gradient(135deg, #1e2a18, var(--ink) 80%); }
.bg-4 { background: linear-gradient(135deg, #25181c, var(--ink) 80%); }
.h-card-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--phosphor); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.h-card h3 {
  font-weight: 900; font-size: clamp(40px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.025em; color: var(--offwhite); margin-bottom: 16px;
  text-transform: uppercase;
}
.h-card h3 em { color: var(--phosphor); font-style: italic; }
.h-card-play {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(232, 230, 223, 0.2);
  background: rgba(10, 10, 10, 0.4); color: var(--phosphor);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all 220ms var(--ease-spring);
}
.h-card:hover .h-card-play { background: var(--phosphor); color: var(--ink); border-color: var(--phosphor); transform: scale(1.1); }
.h-scroll-progress-bar {
  position: absolute; bottom: 32px; left: 40px; right: 40px;
  height: 2px; background: rgba(232, 230, 223, 0.08); z-index: 10;
}
.h-scroll-fill { height: 100%; width: 0%; background: var(--phosphor); transition: width 50ms linear; }

/* ── TEAM ── */
.team-layout {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}
.team-text p {
  font-size: 16px; line-height: 1.7; margin-bottom: 18px; max-width: 520px;
  color: var(--offwhite);
}
.team-text p strong { color: var(--phosphor); }
.team-text .muted-text { color: var(--warm-mid); font-size: 14px; }
.team-quote {
  border-left: 2px solid var(--phosphor); padding-left: 20px;
  margin-top: 32px; max-width: 480px;
}
.team-quote p { font-size: 17px; font-weight: 500; line-height: 1.5; font-style: italic; margin-bottom: 10px; color: var(--offwhite); }
.team-quote footer { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--warm-mid); text-transform: uppercase; letter-spacing: 0.08em; }
.team-photos { display: flex; flex-direction: column; gap: 16px; }
.photo-card {
  border-radius: var(--radius-md); overflow: hidden; position: relative;
  transition: transform 360ms var(--ease-spring);
}
.photo-card-alt { transform: rotate(1deg); }
.photo-card:hover { transform: rotate(0deg) scale(1.02) !important; }
.photo-placeholder {
  background: rgba(232, 230, 223, 0.05); height: 240px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(232, 230, 223, 0.18); border-radius: var(--radius-md);
}
.photo-placeholder span { font-size: 13px; color: var(--warm-mid); font-family: 'JetBrains Mono', monospace; }
.photo-label {
  padding: 10px 0 2px; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--warm-mid); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ── APPROCHE / METHOD ── */
.method-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.method-steps { padding-top: 8px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--border-soft);
}
.step:first-child { padding-top: 0; }
.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--phosphor); font-weight: 600; letter-spacing: 0.05em;
  padding-top: 4px;
}
.step-content h3 { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.step-content p { font-size: 14px; line-height: 1.65; color: var(--warm-mid); }

/* Code block */
.code-block {
  background: var(--ink); border: 1px solid rgba(232, 230, 223, 0.1);
  border-radius: var(--radius-lg); overflow: hidden;
  transform: rotateY(-2deg) rotateX(2deg);
  transition: transform 360ms var(--ease-spring);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.16); will-change: transform;
}
.code-block:hover { transform: rotateY(0deg) rotateX(0deg) scale(1.015); }
.code-header {
  background: rgba(232, 230, 223, 0.05); padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(232, 230, 223, 0.08);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.06em;
}
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(232, 230, 223, 0.18); }
.code-dots span:nth-child(1) { background: #F85149; }
.code-dots span:nth-child(2) { background: #E6A040; }
.code-dots span:nth-child(3) { background: #3FB950; }
.code-title { flex: 1; text-align: center; }
.code-live { color: var(--phosphor); }
.code-body {
  padding: 24px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 1.8; color: var(--offwhite);
}
.code-cmd { color: var(--phosphor); margin-bottom: 2px; }
.code-cmd::before { content: '$ '; color: var(--warm-grey); }
.code-out { color: var(--offwhite); margin-left: 16px; }
.code-comment { color: var(--warm-grey); margin-left: 16px; font-style: italic; }
.code-ph { color: var(--phosphor); }
.ok { color: #3FB950; }

/* ── FILTRE ── */
.filtre-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.filtre-text p { font-size: 16px; line-height: 1.7; margin-bottom: 20px; color: inherit; }
.filtre-questions { padding-top: 4px; }
.filtre-q {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border-soft);
}
.filtre-q:first-child { padding-top: 0; }
.q-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--phosphor); padding-top: 4px; letter-spacing: 0.06em; }
.filtre-q strong { display: block; font-size: 16px; margin-bottom: 8px; color: inherit; }
.filtre-q p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 24px 48px 24px 0; cursor: none;
  font-family: 'Satoshi', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--ink); line-height: 1.3; position: relative;
  transition: color 180ms ease;
}
.faq-q:hover { color: var(--ink); }
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--warm-mid);
  transition: transform 280ms var(--ease-expo), color 180ms ease;
  font-weight: 300; line-height: 1;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 400ms var(--ease-expo);
}
.faq-a p {
  padding: 0 48px 24px 0; font-size: 15px; line-height: 1.7;
  color: var(--warm-mid); max-width: 720px;
}

/* ── CTA ── */
.cta-section { text-align: center; }
.cta-section .container { max-width: 900px; }
.cta-section .section-h2 { font-size: clamp(40px, 6vw, 88px); }
.cta-sub {
  font-size: clamp(28px, 4vw, 56px); font-weight: 900; font-style: italic;
  color: var(--phosphor); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 24px;
}
.cta-body { font-size: 17px; color: var(--warm-grey); margin-bottom: 40px; line-height: 1.6; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-micro {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── FOOTER ── */
footer { background: var(--ink); color: var(--offwhite); padding: 120px 0 32px; overflow: hidden; }
.footer-mega {
  font-weight: 900; font-size: clamp(80px, 16vw, 280px);
  line-height: 0.85; letter-spacing: -0.045em;
  color: var(--offwhite); margin-bottom: 80px; text-transform: uppercase;
}
.footer-mega em { color: var(--phosphor); font-style: italic; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-top: 48px;
  border-top: 1px solid rgba(232, 230, 223, 0.09); margin-bottom: 48px;
}
.footer-col .footer-col-title {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--phosphor);
  margin-bottom: 14px;
}
.footer-col a, .footer-addr {
  display: block; color: var(--offwhite); font-size: 13px;
  margin-bottom: 8px;
  transition: color 180ms ease, transform 180ms ease, background-size 420ms var(--ease-expo), background-position 420ms var(--ease-expo);
}
.footer-col a { width: fit-content; }
.footer-col a:hover { color: var(--ink); transform: translateX(4px); }
.footer-addr { cursor: default; }
.footer-pitch { font-size: 17px; line-height: 1.55; color: var(--offwhite); max-width: 340px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--warm-grey); margin-bottom: 28px; max-width: 340px; line-height: 1.55; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(232, 230, 223, 0.07);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── CHAT WIDGET ── */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 200; }
.chat-toggle {
  background: var(--phosphor); color: var(--ink);
  padding: 13px 20px; border-radius: var(--radius-pill);
  font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 13px;
  border: 0; cursor: none;
  box-shadow: 0 8px 32px rgba(230, 255, 85, 0.35);
  display: flex; align-items: center; gap: 10px;
  transition: transform 280ms var(--ease-spring), box-shadow 280ms ease;
}
.chat-toggle::before {
  content: ''; width: 7px; height: 7px; background: var(--ink);
  border-radius: 50%; animation: pulse-dark 1.4s ease-in-out infinite;
}
@keyframes pulse-dark { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.4); } 50% { box-shadow: 0 0 0 5px rgba(10, 10, 10, 0); } }
.chat-toggle:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 48px rgba(230, 255, 85, 0.45); }
.chat-ai-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  padding: 2px 5px; background: var(--ink); color: var(--phosphor); border-radius: 3px;
}
.chat-widget.open .chat-toggle { display: none; }
.chat-panel {
  display: none; width: 350px; max-width: calc(100vw - 32px);
  background: var(--ink); color: var(--offwhite);
  border-radius: var(--radius-lg); border: 1px solid rgba(232, 230, 223, 0.1);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.chat-widget.open .chat-panel { display: block; }
.chat-header {
  padding: 14px 18px; background: rgba(232, 230, 223, 0.04);
  border-bottom: 1px solid rgba(232, 230, 223, 0.08);
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.chat-header-title::before { content: ''; width: 7px; height: 7px; background: var(--phosphor); border-radius: 50%; box-shadow: 0 0 10px var(--phosphor); }
.chat-version { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--phosphor); }
.chat-close { background: transparent; border: 0; color: var(--warm-grey); font-size: 18px; cursor: none; }
.chat-close:hover { color: var(--phosphor); }
.chat-messages { padding: 16px; min-height: 220px; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { font-size: 13px; line-height: 1.5; }
.chat-msg .bubble { display: inline-block; padding: 9px 13px; border-radius: var(--radius-md); max-width: 85%; }
.chat-msg.bot .bubble { background: rgba(230, 255, 85, 0.08); border: 1px solid rgba(230, 255, 85, 0.18); }
.chat-msg.user { text-align: right; }
.chat-msg.user .bubble { background: var(--phosphor); color: var(--ink); }
.chat-input-bar { padding: 10px 14px; border-top: 1px solid rgba(232, 230, 223, 0.07); display: flex; gap: 8px; }
.chat-input-bar input {
  flex: 1; background: rgba(232, 230, 223, 0.04); border: 1px solid rgba(232, 230, 223, 0.1);
  color: var(--offwhite); padding: 9px 12px; border-radius: var(--radius-pill);
  font-family: 'Satoshi', sans-serif; font-size: 12px; cursor: text;
}
.chat-input-bar input:focus { outline: none; border-color: var(--phosphor); }
.chat-input-bar button {
  background: var(--phosphor); color: var(--ink); border: 0;
  width: 34px; height: 34px; border-radius: 50%; cursor: none; font-weight: 700; font-size: 14px;
}
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots span { width: 5px; height: 5px; background: var(--phosphor); border-radius: 50%; animation: bounce 1s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: 160ms; }
.typing-dots span:nth-child(3) { animation-delay: 320ms; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto auto; }
  .burger { display: flex; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-cards { align-items: flex-start; }
  .method-grid { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr; }
  .filtre-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .metric:nth-child(2n) { border-right: 0; }
  .thread { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .service-row { grid-template-columns: 56px 1fr 40px; }
  .service-tag { display: none; }
  .service-name { font-size: 20px; }
  .h-scroll-section { height: auto; }
  .h-scroll-pin { position: relative; height: auto; padding: 80px 0; overflow: visible; }
  .h-scroll-track { flex-direction: column; padding: 0 20px; gap: 16px; transform: none !important; }
  .h-scroll-intro { flex: auto; height: auto; padding: 0; }
  .h-card { flex: auto; height: auto; min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-mega { font-size: clamp(52px, 15vw, 110px); }
  .top-meta .container { justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-main .footer-pitch, .footer-col-main .footer-tagline { max-width: 100%; }
  .chat-widget { right: 16px; bottom: 16px; }
  .chat-panel { width: calc(100vw - 32px); }
}
@media (hover: none) { body { cursor: auto; } .btn, .faq-q, .service-row, .chat-toggle, .chat-close, .chat-input-bar button { cursor: pointer; } }

/* ============================================================
   V4 EFFECTS — Best-of Mix
   V3: Command Palette · Spotlight
   Service Ghost Text (phosphor) · effets V6
   V1: All reveal animations (base, already present)
   ============================================================ */

/* ── SPOTLIGHT (from V3) ── */
#spotlight-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#spotlight-toggle {
  position: fixed;
  bottom: 80px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(230,255,85,0.25);
  color: var(--phosphor);
  font-size: 17px;
  cursor: none;
  z-index: 9991;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-spring);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1;
}
#spotlight-toggle:hover {
  background: rgba(230,255,85,0.1);
  border-color: var(--phosphor);
  transform: scale(1.12);
}
#spotlight-toggle.active {
  background: var(--phosphor);
  color: var(--ink);
  border-color: var(--phosphor);
  box-shadow: 0 0 20px rgba(230,255,85,0.35);
}
/* When spotlight is active: cursor becomes a bright dot */
body.spotlight-on .cursor-dot {
  width: 10px; height: 10px;
  background: var(--phosphor);
  box-shadow: 0 0 14px 4px rgba(230,255,85,0.6);
}
body.spotlight-on .cursor-ring {
  border-color: rgba(230,255,85,0.4);
  width: 44px; height: 44px;
}
@media (hover: none) { #spotlight-toggle { cursor: pointer; } }

/* ── COMMAND PALETTE (from V3) ── */
.cmd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(14px) saturate(0.7);
  -webkit-backdrop-filter: blur(14px) saturate(0.7);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 12vh, 120px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.cmd-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cmd-palette {
  width: min(640px, calc(100vw - 32px));
  background: rgba(16,16,16,0.97);
  border: 1px solid rgba(230,255,85,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 48px 96px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: scale(0.96) translateY(-10px);
  transition: transform 0.22s var(--ease-expo);
}
.cmd-overlay.open .cmd-palette {
  transform: scale(1) translateY(0);
}
.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(232,230,223,0.07);
}
.cmd-icon {
  color: var(--phosphor);
  font-size: 15px;
  opacity: 0.65;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
#cmd-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--offwhite);
  caret-color: var(--phosphor);
}
#cmd-input::placeholder { color: var(--warm-grey); }
.cmd-esc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--warm-grey);
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cmd-esc:hover { background: rgba(255,255,255,0.09); }
.cmd-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}
.cmd-list::-webkit-scrollbar { width: 3px; }
.cmd-list::-webkit-scrollbar-track { background: transparent; }
.cmd-list::-webkit-scrollbar-thumb { background: rgba(230,255,85,0.18); border-radius: 2px; }
.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.1s;
  list-style: none;
  user-select: none;
}
.cmd-item:hover,
.cmd-item.selected {
  background: rgba(230,255,85,0.07);
}
.cmd-item.selected .cmd-item-label { color: var(--phosphor); }
.cmd-item-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.cmd-item-body { flex: 1; min-width: 0; }
.cmd-item-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--offwhite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.1s;
}
.cmd-item-sub {
  font-size: 11px;
  color: var(--warm-grey);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 1px;
}
.cmd-group-label {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--warm-grey);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 12px 4px;
  list-style: none;
}
.cmd-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(232,230,223,0.06);
  font-size: 11px;
  color: var(--warm-grey);
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
}

/* ⌘K hint in nav */
.cmd-nav-hint {
  background: rgba(230,255,85,0.07);
  border: 1px solid rgba(230,255,85,0.18);
  color: var(--phosphor);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  cursor: none;
  margin-right: 10px;
  transition: background 0.2s, border-color 0.2s;
  vertical-align: middle;
}
.cmd-nav-hint:hover {
  background: rgba(230,255,85,0.12);
  border-color: rgba(230,255,85,0.4);
}
@media (hover: none) { .cmd-nav-hint { cursor: pointer; } }

/* ── SERVICE GHOST TEXT (V2 exact) ── */
#services {
  position: relative;
  overflow: hidden;
}
#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--svc-overlay, transparent);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
#services .container { position: relative; z-index: 1; }


.service-row {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* ── GRAIN OVERLAY canvas (V2 exact) ── */

/* ============================================================
   V5 NEW BLOCKS CSS
   ============================================================ */

/* ── PHOTO SUB (used in portrait placeholders) ── */
.photo-placeholder { flex-direction: column; gap: 6px; }
.photo-sub {
  font-size: 11px; color: var(--warm-mid);
  font-family: 'JetBrains Mono', monospace; text-align: center;
}

/* ── FONDATEUR (03b) ── */
.fondateur-section { background: var(--ink); }
.fondateur-layout {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  align-items: center;
}
.fondateur-photo .portrait-frame {
  border: 1px solid rgba(232,230,223,0.08);
  border-radius: var(--radius-lg); overflow: hidden;
}
.portrait-img {
  display: block; width: 100%; height: auto;
  transition: transform 500ms var(--ease-expo);
}
.portrait-frame:hover .portrait-img { transform: scale(1.02); }
.bicolor { filter: grayscale(100%) contrast(1.2); min-height: 420px; }
.portrait-caption {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--warm-grey);
  border-top: 1px solid rgba(232,230,223,0.06);
}
.caption-line { color: var(--offwhite); font-weight: 600; letter-spacing: 0.08em; }
.caption-sub { color: var(--warm-grey); }
.fondateur-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--phosphor); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 32px;
}
.fondateur-blockquote {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 500;
  line-height: 1.55; color: var(--offwhite);
  border: none; padding: 0; margin: 0 0 32px 0;
  quotes: "\201C" "\201D";
}
.fondateur-signature {
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.sig-name { color: var(--offwhite); font-weight: 600; letter-spacing: 0.1em; }
.sig-role { color: var(--warm-grey); letter-spacing: 0.06em; }
@media (max-width: 768px) {
  .fondateur-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── H-CARD STORY (cases détaillées) ── */
.h-card-story { flex: 0 0 560px; }
.h-card-header { margin-bottom: 20px; }
.h-card-dates {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--warm-grey); margin-top: 6px;
}
.h-card-title {
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--offwhite);
  margin-bottom: 16px; text-transform: none;
}
.h-card-title em { color: var(--phosphor); font-style: italic; }
.h-card-story-text {
  font-size: 14px; color: var(--warm-grey); line-height: 1.65;
  margin-bottom: 28px; max-width: 460px;
}
.h-card-metrics {
  display: flex; gap: 24px; padding-top: 20px;
  border-top: 1px solid rgba(232,230,223,0.08);
}
.h-card-metric { display: flex; flex-direction: column; gap: 4px; }
.metric-big {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 900;
  color: var(--phosphor); letter-spacing: -0.03em; line-height: 1;
}
.metric-small { font-size: 11px; color: var(--warm-grey); line-height: 1.3; }

/* ── MACBOOK FLOTTANT (cases) ──
   Trois couches de transform indépendantes pour composer sans conflit :
   parallax (JS, suit la souris) → bob (CSS, lévitation idle) → tilt (JS, incliné au survol). */
.h-card-story { overflow: visible; }
.macbook-parallax {
  position: absolute; top: -46px; right: 22px; width: 210px;
  z-index: 3; pointer-events: none;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform 120ms linear;
}
.macbook-float-wrap { animation: macbook-bob 6s ease-in-out infinite; }
.macbook-float-wrap:nth-child(1) { animation-delay: -1.4s; }
.macbook {
  transform: rotate(-7deg); transition: transform 320ms var(--ease-spring);
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.5));
}
.h-card-story:hover .macbook { transform: rotate(-2deg) scale(1.04); }
.macbook-lid {
  width: 100%; aspect-ratio: 16 / 10.5;
  background: linear-gradient(160deg, #1e1e1e, #060606);
  border-radius: 9px 9px 2px 2px; border: 1px solid rgba(232,230,223,0.14);
  padding: 7px 7px 3px; position: relative;
}
.macbook-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 5px; background: #060606; border-radius: 0 0 5px 5px;
}
.macbook-screen {
  width: 100%; height: 100%; background: var(--ink); border-radius: 2px;
  overflow: hidden; display: flex; flex-direction: column; padding: 9px; gap: 6px;
}
.macbook-base {
  height: 6px; margin: 0 -5px; background: linear-gradient(180deg, #262626, #0c0c0c);
  border-radius: 0 0 7px 7px; position: relative;
}
.macbook-base::after {
  content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 40px; height: 3px; background: #040404; border-radius: 0 0 4px 4px;
}
.ms-topbar { display: flex; gap: 3px; margin-bottom: 2px; }
.ms-topbar span { width: 5px; height: 5px; border-radius: 50%; background: rgba(232,230,223,0.16); }
/* Écran 1 · INNOV'events — dashboard */
.ms-stat { display: flex; align-items: baseline; gap: 5px; }
.ms-stat b { color: var(--phosphor); font-size: 20px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.ms-stat small { color: var(--warm-grey); font-size: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.ms-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: auto; }
.ms-bars i { flex: 1; background: linear-gradient(180deg, var(--phosphor), var(--phosphor-dim)); border-radius: 2px 2px 0 0; opacity: 0.85; }
/* Écran 2 · Veolia — langues */
.ms-lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.ms-lang-grid em {
  font-style: normal; font-size: 8px; font-weight: 700; text-align: center;
  color: var(--offwhite); background: rgba(232,230,223,0.08); border-radius: 3px; padding: 3px 0;
  letter-spacing: 0.02em;
}
.ms-lang-grid em:nth-child(3n+1) { background: rgba(230,255,85,0.14); color: var(--phosphor); }
/* Écran 3 · INNOV'AI — chat agent */
.ms-bubble { font-size: 8px; line-height: 1.35; padding: 5px 7px; border-radius: 8px; max-width: 85%; }
.ms-bubble-in { align-self: flex-start; background: rgba(232,230,223,0.08); color: var(--offwhite); border-radius: 8px 8px 8px 2px; }
.ms-bubble-out { align-self: flex-end; background: var(--phosphor); color: var(--ink); border-radius: 8px 8px 2px 8px; font-weight: 600; }
/* Écran 4 · plateformes internes — grid d'apps */
.ms-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 2px; }
.ms-app-grid i { aspect-ratio: 1; border-radius: 4px; background: rgba(232,230,223,0.08); }
.ms-app-grid i:nth-child(2), .ms-app-grid i:nth-child(6) { background: rgba(230,255,85,0.18); }
@keyframes macbook-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .macbook-float-wrap { animation: none; }
}
@media (max-width: 768px) {
  .macbook-parallax { display: none; }
}

/* ── CASE CARD (4e card INCOD) ── */
.case-card {
  flex: 0 0 540px; height: 68vh;
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px;
  transition: transform 360ms var(--ease-spring);
}
.case-card:hover { transform: translateY(-8px) scale(1.01); }

.case-header { margin-bottom: 20px; }
.case-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tags span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  padding: 3px 8px; border-radius: 3px;
  border: 1px solid rgba(230, 255, 85, 0.25); color: rgba(230, 255, 85, 0.7);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.case-title {
  font-weight: 900; font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--offwhite); text-transform: uppercase;
  margin-bottom: 16px;
}
.case-body p {
  font-size: 13px; color: var(--warm-grey); line-height: 1.65;
  max-width: 460px;
}
.case-numbers {
  display: flex; gap: 24px; padding-top: 20px;
  border-top: 1px solid rgba(230, 255, 85, 0.12);
}
.case-num { display: flex; flex-direction: column; gap: 4px; }
.case-num-big {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 900;
  color: var(--phosphor); letter-spacing: -0.03em; line-height: 1;
}
.case-num-label { font-size: 11px; color: var(--warm-grey); line-height: 1.3; }

/* INCOD card — spécifique */
.incod-case-card {
  background: rgba(230, 255, 85, 0.04);
  border: 1px solid rgba(230, 255, 85, 0.2);
}
.incod-case-card .case-meta { color: var(--phosphor); }
.incod-case-card .case-logo {
  position: absolute; bottom: 28px; right: 28px;
  opacity: 0.7;
}
.incod-case-card .case-logo img {
  width: 80px; height: auto;
  filter: brightness(0) invert(1) opacity(0.7);
}
.incod-case-card .case-num-label a {
  color: var(--phosphor);
}

/* ── COUNTER WITH SPACE (14 000) ── */
.counter-space::after { content: ' '; }

/* ── JOURNAL / BLOG (10) ── */
.journal-section { background: var(--ink); }
.journal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.journal-card {
  background: var(--ink-2); border: 1px solid rgba(232,230,223,0.06);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 300ms ease, transform 300ms ease;
  position: relative; overflow: hidden;
}
.journal-card:hover { border-color: rgba(230,255,85,0.2); transform: translateY(-4px); }
.journal-freq {
  font-family: 'JetBrains Mono', monospace; font-size: 22px;
  font-weight: 600; color: var(--phosphor); letter-spacing: -0.02em;
}
.journal-signal { display: flex; gap: 3px; align-items: flex-end; }
.signal-bar { width: 6px; background: rgba(232,230,223,0.15); border-radius: 2px; }
.signal-bar:nth-child(1) { height: 8px; }
.signal-bar:nth-child(2) { height: 12px; }
.signal-bar:nth-child(3) { height: 16px; }
.signal-bar:nth-child(4) { height: 20px; }
.signal-bar:nth-child(5) { height: 22px; }
.signal-bar:nth-child(6) { height: 22px; }
.signal-bar:nth-child(7) { height: 20px; }
.signal-bar:nth-child(8) { height: 16px; }
.signal-bar:nth-child(9) { height: 12px; }
.signal-bar:nth-child(10) { height: 8px; }
.signal-bar.filled { background: var(--phosphor); }
.journal-meta {
  display: flex; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--warm-grey);
}
.journal-cat {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--phosphor); letter-spacing: 0.08em; text-transform: uppercase;
}
.journal-title {
  font-size: 18px; font-weight: 700; color: var(--offwhite);
  line-height: 1.3; letter-spacing: -0.01em;
}
.journal-excerpt {
  font-size: 13px; color: var(--warm-grey); line-height: 1.65; flex: 1;
}
.journal-cta {
  font-size: 13px; color: var(--phosphor); font-weight: 600;
  text-decoration: none;
}
.journal-cta {
  display: inline-block;
  transition: transform 200ms ease, color 200ms ease, background-size 420ms var(--ease-expo), background-position 420ms var(--ease-expo);
}
.journal-cta:hover { transform: translateX(4px); }
.journal-footer { margin-top: 40px; text-align: center; }
@media (max-width: 1024px) { .journal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .journal-grid { grid-template-columns: 1fr; } }

/* ============================================================
   V6 NEW CSS
   ============================================================ */

/* Services hover stage — sticky ghost text fix */
.services-section {
  position: relative;
}

.services-hover-stage {
  position: sticky;
  top: 50%;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.service-name-bg {
  position: absolute;
  top: -0.5em;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(8vw, 14vw, 200px);
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;

  /* Outline creux — phosphor stroke sur fond dark */
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 255, 85, 0.22);
  text-stroke: 1.5px rgba(230, 255, 85, 0.22);

  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 60ms;
}

.service-name-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 14px;
  background: var(--phosphor);
  opacity: 0.2;
  transform: translateY(-50%);
  z-index: -1;
}

.service-row.is-hover ~ .services-hover-stage .service-name-bg.is-active,
.service-name-bg.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}







/* Services — dark : phosphor s'efface au hover, row s'illumine */
.services-section[data-tone="dark"] .service-row:hover .service-num {
  color: rgba(237, 233, 226, 0.2);
}

.services-section[data-tone="dark"] .service-row:hover .service-name {
  color: var(--offwhite);
}

.services-section[data-tone="dark"] .service-row:hover .service-name em {
  color: var(--offwhite);
}

.services-section[data-tone="dark"] .service-row:hover .service-arrow {
  transform: translateX(10px) scale(1.15);
  color: rgba(237, 233, 226, 0.5);
}

/* ── AI STACK (modèles pilotés en production) ── */
.ai-stack {
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}
.ai-stack-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--phosphor); margin-bottom: 28px;
}
.ai-stack-logos {
  display: flex; flex-wrap: wrap; gap: 40px 56px;
  align-items: center; margin-bottom: 28px;
}
.ai-logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--warm-grey);
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ai-logo:hover { color: var(--phosphor); transform: translateY(-3px); }
.ai-logo-mark {
  width: 26px; height: 26px; background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.ai-mark-claude     { --mark: url('assets/ai/claude.svg'); }
.ai-mark-openai     { --mark: url('assets/ai/openai.svg'); }
.ai-mark-gemini     { --mark: url('assets/ai/googlegemini.svg'); }
.ai-mark-mistral    { --mark: url('assets/ai/mistralai.svg'); }
.ai-mark-perplexity { --mark: url('assets/ai/perplexity.svg'); }
.ai-mark-html5      { --mark: url('assets/ai/html5.svg'); }
.ai-mark-css        { --mark: url('assets/ai/css.svg'); }
.ai-mark-js         { --mark: url('assets/ai/javascript.svg'); }
.ai-mark-semrush    { --mark: url('assets/ai/semrush.svg'); }
.ai-mark-gsc        { --mark: url('assets/ai/googlesearchconsole.svg'); }
.ai-mark-ga         { --mark: url('assets/ai/googleanalytics.svg'); }

/* Bandeau de logos en sidebar des pages services (réutilise .ai-logo) */
.svc-stack { margin-top: 24px; }
.svc-stack-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--phosphor); margin-bottom: 14px;
}
.svc-stack .ai-stack-logos { gap: 18px 26px; margin-bottom: 0; }
.svc-stack .ai-logo-mark { width: 20px; height: 20px; }
.svc-stack .ai-logo-name { font-size: 12px; }
.ai-logo-name {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  font-weight: 500; letter-spacing: 0.02em;
}
.ai-stack-note {
  font-size: 14px; line-height: 1.65; color: var(--warm-grey); max-width: 640px;
}
.ai-prestations {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.ai-prestations a {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(230, 255, 85, 0.25); color: var(--offwhite);
  transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ai-prestations a:hover { border-color: var(--phosphor); color: var(--phosphor); transform: translateY(-2px); }

/* Filtre section */
.filtre-section .section-h2 em {
  color: var(--phosphor);
  text-decoration: none;
}

/* ── PAGES SERVICES ── */
.svc-hero { padding: 88px 0 56px; }
.svc-breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--warm-grey); margin-bottom: 32px;
}
.svc-breadcrumb a { color: inherit; transition: color 180ms ease, background-size 420ms var(--ease-expo), background-position 420ms var(--ease-expo); }
.svc-breadcrumb a:hover { color: var(--ink); }
.svc-breadcrumb .sep { color: var(--phosphor); }
.svc-hero h1 {
  font-weight: 900; font-size: clamp(38px, 6.2vw, 84px);
  line-height: 0.94; letter-spacing: -0.035em;
  text-transform: uppercase; color: var(--offwhite); max-width: 1100px;
}
.svc-hero h1 em { color: var(--phosphor); font-style: italic; }
.svc-hero-sub { font-size: 17px; line-height: 1.65; color: var(--offwhite); max-width: 700px; margin-top: 28px; }
.svc-hero-sub strong { color: var(--phosphor); font-weight: 700; }
.svc-meta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.svc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; padding: 64px 0 24px; }
.svc-prose h2 {
  font-weight: 900; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05; letter-spacing: -0.025em; text-transform: uppercase;
  margin: 52px 0 18px; color: inherit;
}
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose h2 em { color: var(--phosphor); font-style: italic; }
section[data-tone="cream"] .svc-prose h2 em {
  color: inherit; font-style: italic; text-decoration: none;
  background-image: linear-gradient(var(--phosphor), var(--phosphor));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.38em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.svc-prose p { font-size: 16px; line-height: 1.75; margin-bottom: 18px; color: inherit; }
.svc-prose ul { margin: 0 0 22px; }
.svc-prose li {
  font-size: 15px; line-height: 1.7; padding-left: 22px; position: relative; margin-bottom: 8px;
}
.svc-prose li::before { content: '→'; position: absolute; left: 0; color: var(--phosphor); font-weight: 700; }
.svc-aside { position: sticky; top: 96px; display: grid; gap: 24px; }

.svc-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding: 48px 0 72px; }
.svc-proof-card {
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 26px 24px; display: grid; gap: 8px; align-content: start;
}
.svc-proof-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--phosphor); }
.svc-proof-big { font-weight: 900; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; }
.svc-proof-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.svc-faq-section { padding-bottom: 40px; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-aside { position: static; }
}

/* ── BESOIN · PÔLE IA (dites-nous ce dont vous avez besoin) ── */
.besoin-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 28px; }
.besoin-chip {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1px solid rgba(10, 10, 10, 0.25); background: transparent;
  color: inherit; cursor: none;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.besoin-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.besoin-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.besoin-panel {
  border: 1px solid rgba(10, 10, 10, 0.15); border-radius: var(--radius-lg);
  padding: 40px 44px; background: rgba(10, 10, 10, 0.03);
  display: grid; grid-template-columns: 1.5fr auto; gap: 44px; align-items: center;
}
.besoin-reponse h3 {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink);
}
.besoin-reponse p { font-size: 15px; line-height: 1.7; color: var(--warm-mid); }
.besoin-action { display: grid; gap: 6px; justify-items: start; min-width: 240px; }
.besoin-gain-num {
  font-weight: 900; font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
  box-shadow: inset 0 -14px 0 rgba(230, 255, 85, 0.7);
}
.besoin-gain-label { font-size: 13px; color: var(--warm-mid); margin-bottom: 14px; max-width: 240px; }
.besoin-mail { font-size: 12.5px; color: var(--warm-mid); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.besoin-mail:hover { color: var(--ink); }
@media (max-width: 900px) {
  .besoin-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
}

/* ── IA CARDS (pages satellites — prestations) ── */
.ia-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: 48px;
}
.ia-card {
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  color: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
a.ia-card:hover { transform: translateY(-5px); border-color: rgba(230, 255, 85, 0.4); }
.ia-card-num {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--phosphor);
}
.ia-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--offwhite); }
.ia-card p { font-size: 13px; line-height: 1.6; color: var(--warm-grey); flex: 1; }
.ia-card-link { font-size: 13px; font-weight: 600; color: var(--phosphor); }
.ia-card-custom { border: 1px dashed rgba(230, 255, 85, 0.45); }
.ia-card-custom h3 em { color: var(--phosphor); font-style: italic; }

/* ── WINK (signature hero) ── */
.wink { color: var(--phosphor); font-weight: 700; font-style: normal; white-space: nowrap; }

/* ── GROUPES DE SERVICES (rubriques par besoin client) ── */
.services-group { margin: 72px 0 8px; }
.services-list > .services-group:first-of-type { margin-top: 40px; }
.services-group-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--phosphor); margin-bottom: 14px;
}
.services-group-need {
  font-weight: 800; font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--offwhite);
  max-width: 720px; margin-bottom: 10px;
}
.services-group-desc {
  font-size: 14.5px; line-height: 1.65; color: var(--warm-grey); max-width: 640px;
}

/* ── NAV MEGA-MENU (fluidité navigation) ── */
header { position: sticky; }
.has-drop { position: static; }
.nav-drop {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(230, 255, 85, 0.15);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 79;
}
.has-drop:hover .nav-drop,
.has-drop:focus-within .nav-drop { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-drop-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 32px; padding-top: 28px; padding-bottom: 32px;
}
.nav-drop-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--phosphor); margin-bottom: 12px;
}
.nav-drop-grid a {
  display: block; width: fit-content; font-size: 13px; font-weight: 500;
  color: var(--offwhite); padding: 5px 0;
  transition: color 180ms ease, transform 180ms ease, background-size 420ms var(--ease-expo), background-position 420ms var(--ease-expo);
}
.nav-drop-grid a:hover { color: var(--ink); transform: translateX(4px); }
.nav-drop-grid .drop-alert {
  color: var(--signal-red); font-weight: 700;
  background-image: linear-gradient(var(--signal-red), var(--signal-red));
}
.nav-drop-grid .drop-alert:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-drop { display: none; } }

/* Scrollspy */
.nav-links a.active { color: var(--phosphor); }

/* Urgence (nav + bande) */
.nav-urgence {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--offwhite); margin-right: 18px;
  transition: color 180ms ease;
}
.nav-urgence:hover { color: var(--signal-red); }
.u-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal-red);
  animation: pulse-red 1.6s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(248, 81, 73, 0); }
}
@media (max-width: 900px) { .nav-urgence span.u-label { display: none; } }

.urgence-band {
  background: var(--ink-2);
  border-top: 1px solid rgba(248, 81, 73, 0.35);
  border-bottom: 1px solid rgba(248, 81, 73, 0.35);
  padding: 14px 0;
}
.urgence-band .container {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.urgence-band-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal-red);
  font-weight: 600;
}
.urgence-band-text { font-size: 13.5px; color: var(--offwhite); flex: 1; min-width: 260px; }
.urgence-band a.urgence-link {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--offwhite); border: 1px solid rgba(248, 81, 73, 0.4);
  border-radius: var(--radius-pill); padding: 8px 16px;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.urgence-band a.urgence-link:hover { border-color: var(--signal-red); color: var(--signal-red); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════
   RÉVISION RESPONSIVE COMPLÈTE — contrôle par gabarit
   ════════════════════════════════════════════════════════════ */

/* Grand écran intermédiaire : le footer 5 colonnes respire */
@media (max-width: 1340px) and (min-width: 1101px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-drop { display: none; }
}

/* Tablette */
@media (max-width: 900px) {
  .services-group { margin: 56px 0 4px; }
  .services-group-need { font-size: clamp(18px, 3.2vw, 24px); }
  .ai-stack-logos { gap: 28px 36px; }
  .svc-breadcrumb { flex-wrap: wrap; row-gap: 4px; }
  .urgence-band .container { flex-wrap: wrap; }
  .urgence-band-text { flex-basis: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Ghost text services : inutile au tactile, déborde — coupé */
  .services-hover-stage { display: none; }
  /* Cases : les cards du h-scroll passent en pleine largeur (fix débordement) */
  .h-card-story { flex: auto; width: 100%; }
  .case-card { flex: auto; width: 100%; height: auto; min-height: 320px; }
  .h-card-metrics { flex-wrap: wrap; gap: 16px; }
  /* Bande urgence : empilée proprement */
  .urgence-band .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .urgence-band a.urgence-link { width: auto; }
  /* Besoin : chips compactes, panneau serré */
  .besoin-chips { gap: 8px; margin: 32px 0 22px; }
  .besoin-chip { padding: 10px 14px; font-size: 11.5px; }
  .besoin-panel { padding: 24px 20px; }
  /* Code blocks : jamais de débordement horizontal de page */
  .code-block { max-width: 100%; }
  .code-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Strip typo : réduite, plus de collision */
  .strip-mega { font-size: clamp(28px, 9vw, 52px); gap: 20px; }
  /* Groupes de services */
  .services-group-desc { font-size: 13.5px; }
  /* AI stack */
  .ai-stack { margin-top: 48px; padding-top: 28px; }
  .ai-stack-logos { gap: 20px 28px; margin-bottom: 20px; }
  .ai-logo-mark { width: 22px; height: 22px; }
  .ai-logo-name { font-size: 12px; }
  /* Prose pages services */
  .svc-grid { padding: 40px 0 8px; gap: 32px; }
  .svc-prose h2 { margin: 36px 0 14px; }
  .svc-proof { gap: 14px; padding: 32px 0 48px; }
  .svc-hero { padding: 56px 0 40px; }
  .svc-meta-row { gap: 10px; }
  .ia-cards { gap: 14px; margin-top: 32px; }
}

/* Petit mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero-h1 { font-size: clamp(38px, 12.5vw, 52px); letter-spacing: -0.03em; }
  .section-h2 { font-size: clamp(30px, 9.5vw, 44px); }
  .h-scroll-intro .section-h2, .cta-section .section-h2 { font-size: clamp(30px, 9.5vw, 44px); }
  .svc-hero h1 { font-size: clamp(30px, 9.5vw, 40px); }
  .top-meta .pulse-badge { display: none; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .metric-num { font-size: clamp(34px, 11vw, 48px); }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0 !important; }
  .besoin-gain-num { font-size: clamp(30px, 10vw, 40px); }
  .footer-mega { font-size: clamp(40px, 13vw, 72px); }
  .service-row { grid-template-columns: 44px 1fr 32px; gap: 14px; }
  .service-name { font-size: 18px; }
  .service-desc { font-size: 13px; }
  .faq-q { font-size: 15px; padding: 20px 44px 20px 0; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .svc-proof-card { padding: 20px 18px; }
  .nav-urgence { margin-right: 10px; }
  .journal-grid { gap: 16px; }
  .chat-panel { width: calc(100vw - 24px); right: -4px; }
}

/* Nav mobile : le ⌘K n'a pas de sens au tactile, le CTA se compacte */
@media (max-width: 768px) {
  .cmd-nav-hint { display: none; }
  .nav-cta .btn { padding: 11px 18px; font-size: 13px; }
  .nav-inner { gap: 12px; }
}
