/* ═══════════════════════════════════════════════════════
   [IA_] Melis-Studio — Design System Premium
   Direction Artistique : Dark Luxury · AI-First · 2026
   Références : Linear, Vercel, Basement Studio, Resend
═══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────── */
:root {
  /* Palette — Dark Luxury */
  --ink-0:        #04060d;   /* Fond absolu */
  --ink-1:        #080c18;   /* Fond sections alternées */
  --ink-2:        #0d1220;   /* Cards background */
  --ink-3:        #131829;   /* Cards hover */
  --ink-border:   rgba(255,255,255,0.06);
  --ink-border-h: rgba(255,255,255,0.12);

  /* Brand — couleurs PDF Melis-Studio */
  --blue:         #0066FF;   /* Bleu électrique logo PDF */
  --blue-l:       #3385FF;   /* Bleu clair hover */
  --blue-ll:      #66A8FF;   /* Bleu très clair accent */
  --blue-glow:    rgba(0,102,255,0.25);
  --cyan:         #00E5C3;   /* Accent secondaire */
  --cyan-d:       #00C4A8;
  --gold:         #E8C84A;
  /* Aliases pour compatibilité */
  --violet:       #0066FF;
  --violet-l:     #3385FF;
  --violet-ll:    #66A8FF;

  /* Text */
  --text-primary: #F2F4FF;
  --text-sec:     #8A90A8;
  --text-ter:     #6B7089;   /* ratio 5.1:1 sur #04060d — RGAA 3.2 conforme */
  --text-invert:  #04060d;
  --text-ter-ui:   #7A8099;   /* usage UI discret, ratio ≥ 3:1 sur éléments non-texte */

  /* Typography */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing system — 8pt grid */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px;
  --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --r-xl: 24px; --r-2xl: 40px; --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(0,102,255,0.25);
  --shadow-cyan: 0 0 40px rgba(0,229,195,0.2);

  /* Easing */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);

  /* Transitions */
  --t-fast: 150ms var(--ease-out);
  --t-med:  300ms var(--ease-out);
  --t-slow: 600ms var(--ease-out);
}

/* ──────────────────────────────────────
   LIGHT MODE — [data-theme="light"]
────────────────────────────────────── */
[data-theme="light"] {
  --ink-0:        #FFFFFF;
  --ink-1:        #F5F6FA;
  --ink-2:        #ECEEF5;
  --ink-3:        #E2E5F0;
  --ink-border:   rgba(0,0,0,0.08);
  --ink-border-h: rgba(0,0,0,0.16);

  --text-primary: #0A0C14;
  --text-sec:     #3A3F55;
  --text-ter:     #5A5F78;   /* ratio 5.4:1 sur #FFFFFF — RGAA 3.2 conforme */
  --text-invert:  #FFFFFF;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --shadow-glow: 0 0 60px rgba(0,102,255,0.12);
  --shadow-cyan: 0 0 40px rgba(0,229,195,0.10);
}

/* Transition globale lors du changement de thème */
[data-theme-transition] *,
[data-theme-transition] *::before,
[data-theme-transition] *::after {
  transition:
    background-color 350ms ease,
    border-color     350ms ease,
    color            350ms ease,
    box-shadow       350ms ease !important;
}

/* Bouton toggle thème */
.c-nav__theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-border);
  background: var(--ink-2);
  color: var(--text-sec);
  cursor: pointer;
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med), transform var(--t-med);
  flex-shrink: 0;
}
.c-nav__theme-btn:hover {
  background: var(--ink-3);
  border-color: var(--ink-border-h);
  color: var(--text-primary);
  transform: scale(1.08);
}
/* Icône soleil en dark, icône lune en light */
.c-nav__theme-btn .icon-sun  { display: none; }
.c-nav__theme-btn .icon-moon { display: block; }

[data-theme="light"] .c-nav__theme-btn .icon-sun  { display: block; }
[data-theme="light"] .c-nav__theme-btn .icon-moon { display: none; }

/* Bouton pause animations (RGAA 10.6) */
.c-nav__pause-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-border);
  background: var(--ink-2);
  color: var(--text-sec);
  cursor: pointer;
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med), transform var(--t-med);
  flex-shrink: 0;
}
.c-nav__pause-btn:hover {
  background: var(--ink-3);
  border-color: var(--ink-border-h);
  color: var(--text-primary);
  transform: scale(1.08);
}
/* Affiche pause par défaut, play quand animations sont en pause */
.c-nav__pause-btn .icon-play  { display: none; }
.c-nav__pause-btn .icon-pause { display: block; }

.animations-paused .c-nav__pause-btn .icon-play  { display: block; }
.animations-paused .c-nav__pause-btn .icon-pause { display: none; }

/* Ajustements light sur éléments spécifiques */
[data-theme="light"] .c-nav {
  background: rgba(255,255,255,0.92);
  border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .c-nav.is-scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
[data-theme="light"] .c-nav__mobile {
  background: rgba(255,255,255,0.98);
}
/* Logo light mode — header, footer, loader */
[data-theme="light"] .logo-mark .bracket,
[data-theme="light"] .logo-wordmark .name-white,
[data-theme="light"] .logo-mark .ia-white {
  color: var(--text-primary);
}
/* Footer : bracket hardcodé #FFFFFF → override light */
[data-theme="light"] .c-footer__brand .logo-mark .bracket,
[data-theme="light"] .c-footer__brand .logo-mark .ia-white,
[data-theme="light"] .c-footer__brand .logo-wordmark .name-white {
  color: var(--text-primary);
}
/* Loader light mode */
[data-theme="light"] .c-loader {
  background: var(--ink-0);
}
[data-theme="light"] .c-loader__logo .logo-mark .bracket,
[data-theme="light"] .c-loader__logo .logo-mark .ia-white,
[data-theme="light"] .c-loader .name-white {
  color: var(--text-primary);
}
[data-theme="light"] .loader-name {
  color: var(--text-primary);
}
[data-theme="light"] .s-hero {
  background: var(--ink-0);
}
[data-theme="light"] .hero-canvas {
  opacity: 0.25;
}
[data-theme="light"] .label-tag {
  background: rgba(0,102,255,0.08);
  border-color: rgba(0,102,255,0.18);
  color: var(--blue);
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(0,102,255,0.18);
}
[data-theme="light"] .exp {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .exp:hover {
  background: var(--ink-2);
}
[data-theme="light"] .card-offre {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .mp-module {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .vs-table {
  background: var(--ink-1);
}
[data-theme="light"] .expert-card {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .s-testimonials__box {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .mvp-pipeline {
  background: var(--ink-1);
  border-color: var(--ink-border);
}
[data-theme="light"] .c-footer {
  background: var(--ink-1);
  border-top-color: var(--ink-border);
}
[data-theme="light"] .grain-overlay {
  opacity: 0.015;
}
[data-theme="light"] .s-marquee {
  background: var(--ink-1);
}
[data-theme="light"] .cta-band {
  border-color: rgba(0,102,255,0.2);
}


/* ══════════════════════════════════════════
   RGAA 4.1 — ACCESSIBILITÉ
══════════════════════════════════════════ */

/* --- Classe utilitaire : visuellement caché mais lisible par les AT --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only--focusable:focus { /* révèle quand focus */
  position: static;
  width: auto; height: auto;
  clip: auto;
  white-space: normal;
}

/* --- Lien d'évitement (RGAA 12.7) --- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 99999;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.skip-link:focus {
  top: 16px;
}

/* --- Focus visible global (RGAA 10.7) ---
   Ratio minimum : 3:1 entre outline et fond (WCAG 2.4.11)
   On utilise un double ring pour garantir la visibilité dark ET light */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,102,255,0.25);
  border-radius: 2px;
}

/* Supprime le focus natif (déjà remplacé par :focus-visible) */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Focus sur les liens de nav */
.c-nav__links a:focus-visible,
.c-nav__mobile a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

/* Focus sur les boutons */
button:focus-visible,
.btn:focus-visible,
.c-nav__cta:focus-visible,
.c-nav__theme-btn:focus-visible,
.c-nav__burger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,102,255,0.25);
}

/* Focus sur les champs de formulaire */
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}

/* Focus sur les liens du footer */
.c-footer a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Focus cartes experts */
.expert-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* --- Note champs obligatoires --- */
.form-required-note {
  font-size: 0.72rem;
  color: var(--text-ter);
  margin-top: 4px;
  margin-bottom: var(--sp-3);
}

/* --- Lien accessibilité footer --- */
.footer-a11y-link {
  font-size: 0.7rem;
  color: var(--text-ter);
  text-decoration: underline;
  text-decoration-style: dotted;
  opacity: 0.7;
  transition: opacity var(--t-fast);
}
.footer-a11y-link:hover,
.footer-a11y-link:focus-visible {
  opacity: 1;
  color: var(--blue);
}

/* --- prefers-reduced-motion (RGAA 13.8) --- */
@media (prefers-reduced-motion: reduce) {
  .s-marquee__track,
  .s-trusted__ticker,
  .s-testimonials__clip,
  .orb,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
  }
  .testi-slide {
    transition: none !important;
  }
}

/* --- Pause animations manuelle (RGAA 10.6) --- */
.animations-paused .s-marquee__track,
.animations-paused .s-trusted__ticker,
.animations-paused .s-testimonials__clip,
.animations-paused .orb,
.animations-paused .c-loader__progress,
.animations-paused [data-reveal] {
  animation-play-state: paused !important;
}
.animations-paused .testi-slide {
  transition: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ink-0);
  color: var(--text-sec);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: none; }
input, select, textarea { font: inherit; }

/* ──────────────────────────────────────
   SCROLLBAR
────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }
::selection { background: rgba(0,102,255,0.3); color: #fff; }

/* ──────────────────────────────────────
   LAYOUT
────────────────────────────────────── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding: var(--sp-24) 0; }   /* = 96px — référence unique pour toutes les sections */

/* ──────────────────────────────────────
   CURSOR — bleu
────────────────────────────────────── */
.c-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
}

.c-cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--blue);      /* bleu marque */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  box-shadow: 0 0 10px rgba(0,102,255,0.7);
}

.c-cursor__outline {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid rgba(0,102,255,0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
}

.c-cursor__text {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.c-cursor.is-hover .c-cursor__outline {
  width: 52px; height: 52px;
  border-color: rgba(0,102,255,0.6);
  background: rgba(0,102,255,0.04);
}

.c-cursor.is-link .c-cursor__dot {
  width: 10px; height: 10px;
  background: var(--blue-l);
  box-shadow: 0 0 14px rgba(0,102,255,0.8);
}

/* ──────────────────────────────────────
   LOADER
────────────────────────────────────── */
.c-loader {
  position: fixed; inset: 0;
  background: var(--ink-0);
  z-index: 10000;
  display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
}

.c-loader__inner {
  text-align: center;
  position: relative; z-index: 2;
}

.c-loader__logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--sp-8);
  justify-content: center;
}

.c-loader__line {
  width: 200px; height: 1px;
  background: var(--ink-border);
  margin: 0 auto var(--sp-4);
  position: relative; overflow: hidden;
}

.c-loader__progress {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0;
  background: linear-gradient(90deg, #FFFFFF, var(--blue));
  transition: width 0.08s linear;
}

.c-loader__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-ter);
  letter-spacing: 0.12em;
}

.c-loader__cover {
  position: absolute; inset: 0;
  background: var(--ink-0);
  transform-origin: bottom;
  transform: scaleY(0);
}

.c-loader.is-out .c-loader__cover {
  animation: loaderSlide 0.7s var(--ease-inout) 0.1s both;
}

@keyframes loaderSlide {
  0%   { transform: scaleY(0); transform-origin: bottom; }
  49%  { transform: scaleY(1); transform-origin: bottom; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ──────────────────────────────────────
   LOGO COMPOSANT
────────────────────────────────────── */

/* Logo M — fond transparent via mix-blend-mode */
.logo-m {
  display: block;
  object-fit: contain;
  vertical-align: middle;
}
/* Dark mode (défaut) : fond #04060d intégré dans l'image */
.logo-m--dark  { display: block; }
.logo-m--light { display: none; }

/* Light mode : version light fond blanc naturellement invisible */
[data-theme="light"] .logo-m--dark  { display: none; }
[data-theme="light"] .logo-m--light { display: block; }

/* Alignement crochets + image */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.logo-mark .bracket {
  color: var(--text-ter);
  font-weight: 400;
}

.logo-mark .ia {
  color: var(--blue);
  font-weight: 800;
}

/* Nav logo */
.c-nav__logo {
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  transition: opacity var(--t-fast);
  line-height: 1;
}

.c-nav__logo:hover { opacity: 0.8; }

.c-nav__logo .logo-mark {
  font-size: 1.2rem;
  font-weight: 800;
}

.c-nav__logo .logo-mark .ia {
  text-shadow: 0 0 20px rgba(0,102,255,0.45);
}

.c-nav__logo .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-left: 2px;
}

/* Footer logo */
.c-footer__brand {
  font-size: 1rem;
  display: flex; align-items: center;
}

.c-footer__brand .logo-mark .bracket { color: #FFFFFF; } /* surchargé en light mode ci-dessus */
.c-footer__brand .logo-mark .ia { color: var(--blue); }
.c-footer__brand .name {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-left: 2px;
}

/* Loader logo */
.c-loader__logo {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: var(--sp-8);
  justify-content: center;
}

.c-loader__logo .logo-mark {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.loader-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-left: 4px;
}

/* ──────────────────────────────────────
   NAVIGATION
────────────────────────────────────── */
.c-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--sp-5) 0;
  transition: padding var(--t-med), background var(--t-med);
}

.c-nav.is-scrolled {
  padding: var(--sp-3) 0;
  background: rgba(4, 6, 13, 0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--ink-border);
}

.c-nav__wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

/* — nav__logo maintenant géré par le bloc LOGO COMPOSANT ci-dessus — */

.c-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.c-nav__links a {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-ter);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
  letter-spacing: 0.01em;
}

.c-nav__links a:hover { color: var(--text-primary); }

.c-nav__cta {
  display: inline-flex;
  align-items: center; gap: var(--sp-2);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--ink-2);
  border: 1px solid var(--ink-border-h);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.c-nav__cta:hover {
  background: rgba(0,102,255,0.12);
  border-color: rgba(0,102,255,0.4);
  box-shadow: 0 0 16px rgba(0,102,255,0.2);
}

.c-nav__burger {
  display: none;
  flex-direction: column; gap: 6px;
  width: 32px; padding: var(--sp-2);
}

.c-nav__burger span {
  height: 1px;
  background: var(--text-sec);
  border-radius: 1px;
  transition: transform var(--t-med), opacity var(--t-fast), width var(--t-fast);
}

.c-nav__burger span:first-child { width: 100%; }
.c-nav__burger span:last-child { width: 65%; }

.c-nav__burger.is-open span:first-child { transform: rotate(45deg) translate(5px, 5px); width: 100%; }
.c-nav__burger.is-open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); width: 100%; }

.c-nav__mobile {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(4, 6, 13, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--ink-border);
  padding: var(--sp-4) var(--sp-6);
  flex-direction: column; gap: var(--sp-1);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
}

.c-nav__mobile.is-open {
  transform: scaleY(1);
  opacity: 1;
}

.c-nav__mobile a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
  color: var(--text-sec);
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}

.c-nav__mobile a:hover { background: var(--ink-2); color: var(--text-primary); }
.c-nav__mobile .mobile-cta {
  color: var(--cyan);
  font-weight: 600;
  border-top: 1px solid var(--ink-border);
  margin-top: var(--sp-2);
  padding-top: var(--sp-4);
}

/* ──────────────────────────────────────
   SCROLL PROGRESS
────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 1001;
  background: linear-gradient(90deg, #ffffff, var(--blue));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ──────────────────────────────────────
   TYPOGRAPHY — Section Commons
────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-l) 0%, var(--blue-ll) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 520px;
}

.label-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-ter);
  margin-bottom: var(--sp-6);
}

/* ──────────────────────────────────────
   BUTTONS
────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center; gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--r-full);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn .btn__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: transform var(--t-med);
}

.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,102,255,0.35);
}

.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-l), #0099FF);
  opacity: 0;
  transition: opacity var(--t-med);
}

.btn--primary:hover {
  box-shadow: 0 8px 40px rgba(0,102,255,0.5);
  transform: translateY(-2px);
}

.btn--primary:hover::before { opacity: 1; }
.btn--primary span, .btn--primary .btn__arrow { position: relative; z-index: 1; }

.btn--ghost {
  color: var(--text-sec);
  background: var(--ink-2);
  border: 1px solid var(--ink-border-h);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(0,102,255,0.3);
  background: rgba(0,102,255,0.06);
}

.btn--lg { font-size: 1rem; padding: 16px 32px; }

.btn--submit {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
}

/* ──────────────────────────────────────
   REVEAL ANIMATIONS
────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

/* Fallback : si loader bloqué, le hero se révèle quand même après 4s */
@keyframes heroFallback {
  to { opacity: 1; transform: none; }
}

.hero-title__line[data-reveal],
.hero-eyebrow[data-reveal],
.hero-desc[data-reveal],
.hero-actions[data-reveal],
.hero-metrics[data-reveal],
.hero-right[data-reveal] {
  animation: heroFallback 0.8s var(--ease-out) 3.5s both;
}

/* Une fois is-visible ajouté par JS, l'animation est superflue mais sans conflit */
[data-reveal].is-visible {
  animation: none;
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────
   HERO
────────────────────────────────────── */
.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Grille statique sobre */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 90% at 20% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 20% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

/* Canvas supprimé — plus d'effet perturbant */
#heroCanvas { display: none; }

/* Ambient orbs — très subtils */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, transparent 70%);
  top: -15%; left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.06) 0%, transparent 70%);
  top: 40%; right: -5%;
  animation: orbFloat2 26s ease-in-out infinite;
}

.orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,180,255,0.05) 0%, transparent 70%);
  bottom: -5%; left: 45%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(30px,-20px)} 66%{transform:translate(-15px,15px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(15px,-15px)} }

.s-hero__inner {
  position: relative; z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.eyebrow-dot {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  animation: eyebrowPulse 1s step-end infinite;
  user-select: none;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-ter);
  text-transform: uppercase;
}

@keyframes eyebrowPulse { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--sp-8);
}

.hero-title__line {
  display: block;
  white-space: normal;
}

/* Première ligne — blanc pur, une seule ligne */
.hero-title__line:first-child {
  white-space: nowrap;
  color: var(--text-primary);
}

/* Deuxième ligne — bleu marque, fort */
.hero-title__line--accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 60%, #40BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  max-width: 440px;
}

.hero-desc strong { color: var(--text-primary); font-weight: 500; }

.hero-actions {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-16);
  flex-wrap: wrap;
}

/* Métriques hero — pleine largeur, séparateurs équilibrés */
.hero-metrics {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
  margin-top: var(--sp-10);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
}

.metric {
  text-align: center;
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
}

.metric__num, .metric__unit {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.metric__unit { color: var(--violet-l); font-size: 1.4rem; }

.metric__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-ter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  font-family: var(--font-mono);
}

.metric__sep {
  width: 1px; height: 40px;
  background: var(--ink-border);
  flex-shrink: 0;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-8); right: var(--sp-6);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
  opacity: 0.5;
}

.scroll-track {
  width: 1px; height: 60px;
  background: var(--ink-border-h);
  position: relative; overflow: hidden;
}

.scroll-thumb {
  position: absolute; top: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--violet));
  animation: scrollTrack 2s ease-in-out infinite;
}

@keyframes scrollTrack { 0%{top:-100%} 100%{top:100%} }

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-ter);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ──────────────────────────────────────
   MARQUEE — premium double ligne
────────────────────────────────────── */
.s-marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.s-marquee {
  position: relative;
  overflow: hidden;
  background: var(--ink-1);
  border-top: 1px solid rgba(26,111,255,0.15);
  border-bottom: 1px solid rgba(26,111,255,0.15);
  padding: var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Masques latéraux en fondu */
.s-marquee::before,
.s-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.s-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-1) 0%, transparent 100%);
}
.s-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ink-1) 0%, transparent 100%);
}

.s-marquee__row {
  overflow: hidden;
  width: 100%;
}

.s-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: var(--sp-2) 0;
}

.s-marquee__track--rev {
  animation: marqueeRev 34s linear infinite;
}

.s-marquee__track:hover,
.s-marquee__track--rev:hover {
  animation-play-state: paused;
}

/* Items */
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.mq-item--blue {
  color: var(--blue);
}

.mq-item--dim {
  color: var(--text-ter);
}

.mq-icon {
  font-size: 0.7rem;
  opacity: 0.6;
}

.mq-item--blue .mq-icon {
  opacity: 1;
  color: var(--blue);
}

.mq-sep {
  color: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  font-weight: 300;
  flex-shrink: 0;
}

@keyframes marquee    { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes marqueeRev { from{transform:translateX(-50%)} to{transform:translateX(0)} }

/* ──────────────────────────────────────
   CONSTAT
────────────────────────────────────── */
.s-constat { background: var(--ink-0); }

.s-constat__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
  margin-bottom: var(--sp-16);
}

/* Stats colonne droite — compactes, horizontales */
.constat-stats {
  display: flex;
  flex-direction: row;
  gap: 0;
  border: 1px solid var(--ink-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-1);
  margin-top: var(--sp-6);
}

.constat-stat {
  flex: 1;
  padding: var(--sp-5) var(--sp-6);
  position: relative;
}

.constat-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.constat-stat__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.constat-stat__text {
  font-size: 0.72rem;
  color: var(--text-ter);
  line-height: 1.45;
  max-width: 180px;
}

.constat-stat__divider {
  width: 1px;
  background: var(--ink-border);
  flex-shrink: 0;
  margin: var(--sp-4) 0;
}

.constat-stat__note {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(26,111,255,0.06);
  border-left: 1px solid rgba(26,111,255,0.12);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  min-width: 140px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.constat-stat__note-icon {
  font-size: 0.6rem;
  opacity: 0.7;
}

.s-constat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.problem-card {
  background: var(--ink-1);
  padding: var(--sp-10) var(--sp-8);
  position: relative;
  transition: background var(--t-med);
}

.problem-card:hover { background: var(--ink-2); }

.problem-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-ter);
  margin-bottom: var(--sp-6);
}

.problem-card__icon {
  color: var(--text-ter);
  margin-bottom: var(--sp-5);
  transition: color var(--t-fast);
}

.problem-card:hover .problem-card__icon { color: var(--violet-l); }

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-ter);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.problem-card ul { display: flex; flex-direction: column; gap: var(--sp-2); }

.problem-card ul li {
  font-size: 0.8rem;
  color: var(--text-ter);
  padding-left: var(--sp-4);
  position: relative;
}

.problem-card ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--violet-ll);
  font-size: 0.7rem;
}

.constat-verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-16);
  padding: var(--sp-12) var(--sp-6);
  background: linear-gradient(135deg, rgba(26,111,255,0.06) 0%, rgba(26,111,255,0.02) 100%);
  border: 1px solid rgba(26,111,255,0.15);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.constat-verdict::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,111,255,0.6), transparent);
}

.verdict-line { display: none; }

.constat-verdict p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.constat-verdict p em {
  font-style: normal;
  color: var(--blue);
}

.constat-verdict__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ──────────────────────────────────────
   SOLUTION
────────────────────────────────────── */
.s-solution { background: var(--ink-1); }

.s-solution__head {
  margin-bottom: var(--sp-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: end;
}

.s-solution__head .label-tag { grid-column: 1 / -1; }

.s-solution__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

/* Orbital visual */
.solution-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}

.sv__ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid;
  border-radius: 50%;
}

.sv__ring--1 {
  width: 65%; height: 65%;
  border-color: rgba(0,102,255,0.2);
  animation: ringRotate1 25s linear infinite;
}

.sv__ring--2 {
  width: 82%; height: 82%;
  border-color: rgba(0,102,255,0.1);
  animation: ringRotate2 35s linear infinite reverse;
}

.sv__ring--3 {
  width: 100%; height: 100%;
  border-color: rgba(0,102,255,0.05);
  animation: ringRotate1 50s linear infinite;
}

@keyframes ringRotate1 { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes ringRotate2 { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(-360deg)} }

.sv__core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  background: var(--ink-2);
  border: 1px solid var(--ink-border-h);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}

.sv__core-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(0,102,255,0.28), transparent 70%);
  border-radius: 50%;
}

.sv__icon { position: relative; z-index: 1; }

/* Orbiting nodes */
.sv__node {
  position: absolute; top: 50%; left: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--ink-2);
  border: 1px solid var(--ink-border-h);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  white-space: nowrap;
  z-index: 2;
}

.sv__node svg { color: var(--violet-l); }

.sv__node span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-ter);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sv__node--1 { transform: translate(-50%,-50%) translate(0,-48%); }
.sv__node--2 { transform: translate(-50%,-50%) translate(42%,-25%); }
.sv__node--3 { transform: translate(-50%,-50%) translate(42%, 25%); }
.sv__node--4 { transform: translate(-50%,-50%) translate(0, 48%); }
.sv__node--5 { transform: translate(-50%,-50%) translate(-42%, 0%); }

.solution-features { display: flex; flex-direction: column; }

.sf {
  display: flex; gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--ink-border);
  transition: background var(--t-fast);
}

.sf:last-child { border-bottom: none; }

.sf__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--violet-l);
  padding-top: 4px;
  flex-shrink: 0;
  width: 20px;
}

.sf__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.sf__body p { font-size: 0.875rem; color: var(--text-ter); line-height: 1.65; }

/* ──────────────────────────────────────
   OFFRES
────────────────────────────────────── */
.s-offres { background: var(--ink-0); }

.s-offres__head {
  margin-bottom: var(--sp-16);
}

.s-offres__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.offre {
  background: var(--ink-1);
  padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-5);
  position: relative;
  transition: background var(--t-med);
  overflow: hidden;
}

.offre::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.offre:hover { background: var(--ink-2); }
.offre:hover::after { opacity: 1; }

.offre--featured {
  background: var(--ink-2);
}

.offre--featured::after { opacity: 0.6; }

.offre__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,102,255,0.1), transparent);
  pointer-events: none;
}

.offre__badge {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(0,229,195,0.1);
  border: 1px solid rgba(0,229,195,0.2);
  padding: 3px 10px;
  border-radius: var(--r-full);
  z-index: 2;
}

.offre__header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-right: calc(5rem + var(--sp-4)); /* réserve la place du badge absolu */
}

.offre__index {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-ter);
}

.offre__tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--violet-l);
  text-transform: uppercase;
}

.offre__title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  flex: 1;
}

.offre__desc {
  font-size: 0.825rem;
  color: var(--text-ter);
  line-height: 1.65;
}

.offre__list {
  display: flex; flex-direction: column; gap: var(--sp-2);
  flex: 1;
}

.offre__list li {
  font-size: 0.8rem;
  color: var(--text-ter);
  padding-left: var(--sp-4);
  position: relative;
  transition: color var(--t-fast);
}

.offre__list li::before {
  content: '+';
  position: absolute; left: 0;
  color: var(--violet-l);
  font-size: 0.75rem;
  font-weight: 600;
}

.offre:hover .offre__list li { color: var(--text-sec); }

.offre__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-ter);
  transition: color var(--t-fast), gap var(--t-fast);
  margin-top: auto;
}

.offre__link:hover { color: var(--text-primary); gap: var(--sp-3); }

.offre__link--primary { color: var(--cyan); }
.offre__link--primary:hover { color: #fff; }

/* ──────────────────────────────────────
   PROCESS
────────────────────────────────────── */
.s-process { background: var(--ink-1); }

.s-process__head { margin-bottom: var(--sp-16); }

.s-process__timeline {
  max-width: 800px;
  position: relative;
}

/* Vertical line */
.s-process__timeline::before {
  content: '';
  position: absolute;
  top: 24px; bottom: 0;
  left: 56px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue), rgba(0,102,255,0.08));
}

.p-step {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
  align-items: start;
  position: relative;
}

.p-step:last-child { padding-bottom: 0; }

.p-step__aside {
  text-align: right;
  padding-top: 3px;
  position: relative;
}

/* Dot on line */
.p-step__aside::after {
  content: '';
  position: absolute;
  top: 10px; right: -var(--sp-8);
  /* Calculated manually */
  right: -44px;
  width: 8px; height: 8px;
  background: var(--violet);
  border-radius: 50%;
  border: 2px solid var(--ink-1);
  box-shadow: 0 0 12px var(--violet);
}

.p-step__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--violet-l);
  display: block;
  margin-bottom: var(--sp-1);
}

.p-step__dur {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-ter);
  display: block;
}

.p-step__body {
  background: var(--ink-2);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  transition: border-color var(--t-med), background var(--t-med);
}

.p-step__body:hover {
  border-color: var(--ink-border-h);
  background: var(--ink-3);
}

.p-step__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.p-step__body p { font-size: 0.875rem; color: var(--text-ter); line-height: 1.65; }

/* ──────────────────────────────────────
   EXPERTISE
────────────────────────────────────── */
.s-expertise { background: var(--ink-0); }

.s-expertise__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: end;
  margin-bottom: var(--sp-16);
}

.s-expertise__head .label-tag { grid-column: 1 / -1; }

.s-expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.exp {
  background: var(--ink-1);
  padding: var(--sp-8);
  position: relative;
  transition: background var(--t-med);
  overflow: hidden;
}

.exp::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.06), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.exp:hover { background: var(--ink-2); }
.exp:hover::before { opacity: 1; }

.exp__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-ter);
  margin-bottom: var(--sp-5);
}

.exp h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  position: relative; z-index: 1;
}

.exp p {
  font-size: 0.825rem;
  color: var(--text-ter);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  position: relative; z-index: 1;
}

.exp__stack {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--violet-ll);
  position: relative; z-index: 1;
  line-height: 1.6;
}

.exp__stack--highlight {
  color: var(--blue);
}

.exp__stack--heart {
  color: var(--blue);
}

.exp__stack--link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,111,255,0.3);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.exp__stack--link:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ──────────────────────────────────────
   EQUIPE / NOS EXPERTS
────────────────────────────────────── */

.s-equipe { background: var(--ink-0); }

.s-equipe__head {
  max-width: 640px;
  margin-bottom: var(--sp-16); /* 64px — aligné sur les autres sections */
}

.s-equipe__sub {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-top: var(--sp-5);
  max-width: 560px;
}

.s-equipe__sub-note {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-ter);
  font-style: italic;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.s-equipe__wink {
  font-style: normal;
  font-size: 0.72rem;
  opacity: 0.85;
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: default;
}
.s-equipe__wink:hover {
  transform: rotate(-15deg) scale(1.3);
  opacity: 1;
}

/* ── Carrousel équipe ── */
.s-equipe__carousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--sp-6);
}

.s-equipe__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.s-equipe__track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.expert-card {
  flex: 0 0 var(--card-w, 280px);
  width: var(--card-w, 280px);
  display: flex;
  flex-direction: column;
}

.expert-card--hidden { display: flex; }
.expert-card--more   { display: none; }

/* Boutons navigation carrousel */
.s-equipe__btn {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink-border);
  background: var(--ink-1);
  color: var(--text-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), opacity var(--t-fast);
  user-select: none;
  z-index: 2;
}
.s-equipe__btn:hover {
  background: rgba(26,111,255,0.08);
  border-color: rgba(26,111,255,0.35);
  color: var(--blue);
}
.s-equipe__btn.is-disabled {
  opacity: 0.2;
  pointer-events: none;
}

.expert-card--more:hover {
  background: rgba(26,111,255,0.09);
  border-color: rgba(26,111,255,0.5);
  transform: translateY(-4px);
}
.expert-more__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.expert-more__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(26,111,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--blue);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.expert-card--more:hover .expert-more__icon {
  background: rgba(26,111,255,0.12);
  border-color: var(--blue);
}
.expert-more__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-ter);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* Dots pagination carrousel */
.s-equipe__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-8);
}
.equipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-border);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.equipe-dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,102,255,0.25);
}
.equipe-dot.is-active {
  background: var(--blue);
  transform: scale(1.4);
}

/* Carte expert — styles visuels (layout dans .s-equipe__track) */
.expert-card {
  background: var(--ink-1);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--card-w, 280px);
  width: var(--card-w, 280px);
  margin-bottom: 2px;
}

.expert-card:hover {
  border-color: rgba(26,111,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(26,111,255,0.1);
}

/* Photo / avatar */
.expert-card__photo {
  position: relative;
  background: linear-gradient(135deg, var(--ink-2) 0%, rgba(26,111,255,0.08) 100%);
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.expert-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  flex-shrink: 0;
}

.expert-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--ink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ter);
}

/* Badge statut */
.expert-card__status {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(10,13,22,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-sec);
  backdrop-filter: blur(8px);
}

.expert-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 6px rgba(40,200,64,0.7);
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

/* Corps de la carte */
.expert-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.expert-card__role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.expert-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: var(--sp-1);
}

.expert-card__bio {
  font-size: 0.8rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-top: var(--sp-2);
  flex: 1;
}

/* Tags compétences */
.expert-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.expert-card__tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-ter);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ink-border);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.expert-card:hover .expert-card__tags span {
  color: var(--text-sec);
  border-color: rgba(26,111,255,0.2);
}

.expert-card__links {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
}

.expert-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-ter);
  text-decoration: none;
  border: 1px solid var(--ink-border);
  border-radius: 4px;
  padding: 4px 10px;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.expert-card__linkedin:hover {
  color: #0A66C2;
  border-color: #0A66C2;
  background: rgba(10,102,194,0.06);
}
.s-equipe__note {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(26,111,255,0.05);
  border: 1px solid rgba(26,111,255,0.12);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-8);
  font-size: 0.82rem;
  color: var(--text-sec);
}

.s-equipe__note-icon {
  color: var(--blue);
  display: flex;
  flex-shrink: 0;
}

.s-equipe__note strong { color: var(--text-primary); }

.s-equipe__note-link {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
.s-equipe__note-link:hover { opacity: 0.7; }

/* Responsive */
@media (max-width: 1024px) {
  .s-equipe__track { gap: 12px; }
.expert-card { flex: 0 0 var(--card-w, 280px); width: var(--card-w, 280px); }
}
@media (max-width: 600px) {
  .expert-card { flex: 0 0 var(--card-w, 280px); width: var(--card-w, 280px); }
  .s-equipe__note { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .s-equipe__note-link { margin-left: 0; }
}

/* ──────────────────────────────────────
   RESULTATS
────────────────────────────────────── */
.s-resultats { background: var(--ink-1); }

.s-resultats__head {
  margin-bottom: var(--sp-16);
}

.s-resultats__nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-12);
}

.big-num {
  background: var(--ink-2);
  padding: var(--sp-10) var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: background var(--t-med);
}

.big-num:hover { background: var(--ink-3); }

.big-num__val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--violet-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.big-num__sep {
  width: 32px; height: 1px;
  background: var(--ink-border-h);
}

.big-num p {
  font-size: 0.825rem;
  color: var(--text-ter);
  line-height: 1.65;
  max-width: 240px;
}

/* Comparison table */
.s-resultats__vs { margin-bottom: var(--sp-12); }

.vs-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-ter);
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.vs-table {
  border: 1px solid var(--ink-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.vs-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  border-bottom: 1px solid var(--ink-border);
  transition: background var(--t-fast);
}

.vs-row:last-child { border-bottom: none; }
.vs-row:not(.vs-row--head):hover { background: rgba(0,102,255,0.03); }

.vs-row--head { background: var(--ink-2); }

.vs-cell {
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.82rem;
  color: var(--text-ter);
  display: flex; align-items: center; justify-content: center;
}

.vs-cell--feature {
  justify-content: flex-start;
  color: var(--text-sec);
  font-weight: 500;
}

.vs-cell--us {
  background: rgba(0,102,255,0.06);
  border-left: 1px solid rgba(0,102,255,0.15);
  border-right: 1px solid rgba(0,102,255,0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
}

.vs-row--head .vs-cell--us {
  background: rgba(0,102,255,0.12);
}

.vs-icon--yes { color: var(--cyan); letter-spacing: 4px; }
.vs-icon--mid { color: var(--text-ter); letter-spacing: 4px; }
.vs-icon--no  { color: var(--text-ter); opacity: 0.5; }

/* Testimonial */
.testimonial {
  background: var(--ink-2);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-12);
  margin-bottom: var(--sp-12);
}

/* ── Références clients ── */
.s-trusted {
  margin-top: var(--sp-12); /* espace cohérent après testimonials */
}

.s-trusted__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-ter);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--sp-8);
  position: relative;
}
.s-trusted__label::before,
.s-trusted__label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--ink-border);
}
.s-trusted__label::before { right: calc(50% + 100px); }
.s-trusted__label::after  { left:  calc(50% + 100px); }

.s-trusted__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2) var(--sp-6);
}

.trusted-logo {
  height: 44px;
  display: flex;
  align-items: center;
  opacity: 0.35;
  transition: opacity var(--t-med);
  filter: grayscale(1);
}
.trusted-logo:hover {
  opacity: 0.72;
  filter: grayscale(0);
}
.trusted-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  color: var(--text-primary);
}

.trusted-logo img {
  height: 38px;
  width: auto;
  max-width: 160px;
  display: block;
  /* Monochrome : grayscale uniquement, sans brightness(0) qui crée des carrés noirs */
  filter: grayscale(1);
}

[data-theme="light"] .trusted-logo img {
  filter: grayscale(1);
}

[data-theme="dark"] .trusted-logo img,
:root:not([data-theme="light"]) .trusted-logo img {
  filter: grayscale(1) invert(1);
}

.s-trusted__note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-ter);
  margin-top: var(--sp-8);
  opacity: 0.6;
}
.s-trusted__note a {
  color: var(--blue);
  text-decoration: none;
  opacity: 0.8;
}
.s-trusted__note a:hover { opacity: 1; }

/* ──────────────────────────────────────────
   LOGOS TICKER — défilement droite → gauche
────────────────────────────────────────── */
.s-trusted__ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* fade-out aux bords */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.s-trusted__ticker {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  width: max-content;
  animation: logosTicker 28s linear infinite;
  will-change: transform;
}

.s-trusted__ticker-wrap:hover .s-trusted__ticker {
  animation-play-state: paused;
}

@keyframes logosTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.s-trusted__ticker .trusted-logo {
  flex-shrink: 0;
}

/* ──────────────────────────────────────────
   TESTIMONIALS — défilement bas → haut
────────────────────────────────────────── */
.s-testimonials {
  margin-bottom: var(--sp-12); /* équilibré avec s-trusted margin-top */
}

.s-testimonials__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-ter);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--sp-8);
  position: relative;
}
.s-testimonials__label::before,
.s-testimonials__label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--ink-border);
}
.s-testimonials__label::before { right: calc(50% + 115px); }
.s-testimonials__label::after  { left:  calc(50% + 115px); }

/* ── Layout : boîte + dots côte à côte ── */
.s-testimonials__layout {
  display: flex;
  align-items: stretch;
  gap: var(--sp-6);
}

/* Boîte fixe — cadre qui NE bouge JAMAIS */
.s-testimonials__box {
  flex: 1;
  background: var(--ink-1);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-sizing: border-box;
  /* clip interne : seul le contenu dépasse */
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

/* Zone de clip interne */
.s-testimonials__clip {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ── Slides : empilées, défilent à l'intérieur du clip ── */
.testi-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.testi-slide.is-entering {
  opacity: 0;
  transform: translateY(32px);
}

.testi-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.testi-slide.is-leaving {
  opacity: 0;
  transform: translateY(-32px);
  position: absolute;
  pointer-events: none;
}

/* Guillemet décoratif */
.testi-slide__deco {
  color: var(--blue);
  opacity: 0.35;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.testi-slide__quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin: 0 0 var(--sp-6) 0;
  border: none;
  padding: 0;
}

.testi-slide__author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.testi-slide__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(26,111,255,0.35);
  flex-shrink: 0;
}

.testi-slide__meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.testi-slide__meta span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-ter);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.testi-slide__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Dots de navigation ── */
.s-testimonials__dots {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  padding: var(--sp-2) 0;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.5;
}

.testi-dot:hover {
  opacity: 0.8;
  transform: scale(1.2);
}

.testi-dot.is-active {
  background: var(--blue);
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .s-trusted__logos { gap: var(--sp-3) var(--sp-5); }
  .trusted-logo { height: 28px; }
  .trusted-logo svg { height: 28px; }
  .s-testimonials__layout { gap: var(--sp-4); }
  .s-testimonials__box { padding: 20px; }
  .testi-slide__quote { font-size: 0.85rem; }
  .s-testimonials__dots { gap: var(--sp-2); }
}



/* ──────────────────────────────────────
   CTA BAND
────────────────────────────────────── */
.s-cta-band {
  background: var(--ink-0);
  /* hérite de section { padding: var(--sp-24) 0 } — pas de surcharge */
}

.cta-band {
  background: var(--ink-2);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(0,102,255,0.22), transparent),
    radial-gradient(ellipse 40% 60% at 20% 120%, rgba(0,229,195,0.1), transparent);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
  position: relative; z-index: 1;
}

.cta-band p {
  font-size: 1rem;
  color: var(--text-ter);
  margin-bottom: var(--sp-8);
  position: relative; z-index: 1;
}

.cta-band .btn { position: relative; z-index: 1; }

/* ──────────────────────────────────────
   CONTACT
────────────────────────────────────── */
.s-contact { background: var(--ink-1); }

.s-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: start;
}

.s-contact__left .section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: var(--sp-5);
}

.s-contact__left .section-sub {
  margin-bottom: var(--sp-10);
}

.contact-details {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.contact-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  background: var(--ink-2);
  transition: background var(--t-fast);
}

.contact-link:hover { background: var(--ink-3); }

.contact-link__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-ter);
  text-transform: uppercase;
}

.contact-link__val {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--t-fast);
}

.contact-link:hover .contact-link__val { color: var(--cyan); }

/* Form */
.s-contact__form {
  background: var(--ink-2);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-5);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.form-field {
  display: flex; flex-direction: column; gap: var(--sp-2);
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-ter);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ink-3);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 12px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-ter); }

.form-field select { cursor: none; }
.form-field select option { background: var(--ink-3); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0,102,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

.form-success {
  display: none;
  padding: var(--sp-3) var(--sp-5);
  background: rgba(0,229,195,0.08);
  border: 1px solid rgba(0,229,195,0.2);
  border-radius: var(--r-md);
  font-size: 0.825rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  text-align: center;
}

.form-success.is-visible { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }

/* Bloc erreur global formulaire */
.form-error-global {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
  border-radius: var(--r-md);
  font-size: 0.825rem;
  color: #ff5050;
  font-family: var(--font-mono);
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.form-error-global a {
  color: #ff5050;
  text-decoration: underline;
}

/* Spinner bouton envoi */
.spin {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  animation: spinAnim 0.9s linear infinite;
}
@keyframes spinAnim { to { transform: rotate(360deg); } }

/* ── Avertissement expiration session (RGAA 13.1) ── */
.form-session-warning {
  margin-top: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(232,200,74,0.08);
  border: 1px solid rgba(232,200,74,0.3);
  border-radius: var(--r-md);
  animation: fadeIn 0.3s ease;
}
.form-session-warning[hidden] { display: none; }

.form-session-warning__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.form-session-warning__title strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.form-session-warning__desc {
  font-size: 0.8rem;
  color: var(--text-sec);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}
.form-session-warning__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

/* ──────────────────────────────────────
   FOOTER
────────────────────────────────────── */
.c-footer {
  background: var(--ink-0);
  border-top: 1px solid var(--ink-border);
  padding: var(--sp-16) 0 var(--sp-8);
}

.c-footer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--ink-border);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap; gap: var(--sp-5);
}

.c-footer__brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  display: flex; align-items: center;
}

.c-footer__brand .bracket { color: #FFFFFF; }
.c-footer__brand .ia { color: var(--cyan); }
.c-footer__brand .name { color: var(--text-primary); margin-left: 2px; }

.c-footer__tagline {
  font-size: 0.8rem;
  color: var(--text-ter);
  letter-spacing: 0.02em;
}

.c-footer__socials {
  display: flex; gap: var(--sp-4);
}

.c-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-ter);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.c-footer__socials a:hover {
  color: var(--text-primary);
  border-color: var(--ink-border-h);
  background: var(--ink-2);
}

.c-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--ink-border);
}

.c-footer__nav h5,
.c-footer__nav-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-ter);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.c-footer__nav a {
  display: block;
  font-size: 0.825rem;
  color: var(--text-ter);
  padding: var(--sp-1) 0;
  transition: color var(--t-fast);
}

.c-footer__nav a:hover { color: var(--text-primary); }

.c-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-ter);
  flex-wrap: wrap; gap: var(--sp-3);
}

/* Liens légaux dans le footer */
.c-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.c-footer__legal a {
  color: var(--text-ter);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.c-footer__legal a:hover,
.c-footer__legal a:focus-visible {
  color: var(--text-primary);
}

/* Powered by */
.c-footer__powered {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-ter);
  display: flex;
  align-items: center;
  gap: 3px;
}

.c-footer__powered a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.c-footer__powered a:hover { opacity: 0.75; }

.c-footer__legal span[aria-hidden] {
  color: var(--text-ter);
  opacity: 0.4;
}

/* Badges French Tech + Souveraineté */
.c-footer__badges {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--sp-3);
  padding: var(--sp-5) 0;
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--ink-border);
  overflow-x: auto;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-4);
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--text-ter);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-badge:first-child { padding-left: 0; }

.footer-badge strong {
  color: var(--text-sec);
  font-weight: 600;
}

.footer-badge__icon {
  color: var(--blue);
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.footer-badge__icon--ft {
  opacity: 1;
  color: #F20B32;
}

/* Badges image (French Tech + G2) */
.footer-badge--img {
  padding: 0 var(--sp-3);
  background: none;
  border: none;
}

/* Groupe G2 : les 3 badges côte à côte sans séparateur */
.footer-badge--g2-group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-3);
}

.footer-badge__img {
  display: block;
  object-fit: contain;
}

.footer-badge__img--ft {
  height: 48px;
  width: auto;
  opacity: 0.92;
  transition: opacity var(--t-med);
}
.footer-badge__img--ft:hover { opacity: 1; }

.footer-badge__img--g2 {
  height: 48px;
  width: auto;
  opacity: 0.88;
  transition: opacity var(--t-med);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.15));
}
.footer-badge__img--g2:hover { opacity: 1; }

.footer-badge__flag {
  font-size: 0.9rem;
  line-height: 1;
}

.footer-badge__sep {
  width: 1px;
  height: 20px;
  background: var(--ink-border);
  flex-shrink: 0;
}

/* ──────────────────────────────────────
   MICRO DETAILS — DA Premium
────────────────────────────────────── */

/* Subtle line above section titles */
.s-constat__head .section-title,
.s-solution__head .section-title,
.s-offres__head .section-title,
.s-process__head .section-title,
.s-expertise__head .section-title,
.s-resultats__head .section-title,
.s-contact__left .section-title {
  position: relative;
}

/* Navigation active underline */
.c-nav__links a {
  position: relative;
}

.c-nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 1px;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform var(--t-med);
}

.c-nav__links a:hover::after,
.c-nav__links a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Offre featured top line pulse */
.offre--featured::after {
  animation: pulseLine 3s ease-in-out infinite;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* Process step dot pulse */
.p-step__aside::after {
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,255,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(0,102,255,0); }
}

/* Hero eyebrow border subtle */
.hero-eyebrow {
  padding: 6px 14px;
  border: 1px solid var(--ink-border);
  border-radius: var(--r-full);
  display: inline-flex;
}

/* CTA band grid pattern overlay */
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  border-radius: inherit;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Hover on contact link — arrow shift */
.contact-link__val {
  transition: color var(--t-fast), letter-spacing var(--t-fast);
}
.contact-link:hover .contact-link__val { letter-spacing: 0.02em; }

/* Testimonial quote decorative left bar */
.testimonial {
  position: relative;
}
.testimonial::before {
  content: '';
  position: absolute;
  left: 0; top: var(--sp-8); bottom: var(--sp-8);
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  border-radius: 1px;
}

/* Expertise card hover — number change color */
.exp:hover .exp__num { color: var(--violet-l); }

/* Problem card hover icon color transition */
.problem-card__icon { transition: color var(--t-med); }

/* Solution features hover */
.sf:hover .sf__num { color: var(--cyan); }
.sf:hover .sf__body h3 { color: var(--text-primary); }

/* Offre featured shadow */
.offre--featured {
  box-shadow: inset 0 1px 0 rgba(0,102,255,0.3);
}

/* ──────────────────────────────────────
   MOBILE BR
────────────────────────────────────── */
.mobile-br { display: none; }

/* ──────────────────────────────────────
   RESPONSIVE
────────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: var(--sp-20) 0; }  /* 80px tablette */
  .s-constat__head { grid-template-columns: 1fr; gap: var(--sp-8); }
  .s-solution__head { grid-template-columns: 1fr; gap: var(--sp-8); }
  .s-solution__body { grid-template-columns: 1fr; gap: var(--sp-10); }
  .solution-visual { max-width: 320px; }
  .s-offres__grid { grid-template-columns: repeat(2, 1fr); }
  .s-expertise__head { grid-template-columns: 1fr; gap: var(--sp-8); }
  .s-expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .s-resultats__nums { grid-template-columns: 1fr; }
  .s-contact__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  /* Terminal : réduire légèrement le min-width pour les tablettes */
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr); gap: var(--sp-8); }
  .hero-terminal { min-width: 340px; }
}

@media (max-width: 768px) {
  section { padding: var(--sp-20) 0; }  /* 80px tablette */
  .c-nav__links { display: none; }
  .c-nav__cta { display: none; }
  .c-nav__burger { display: flex; }
  .c-nav__mobile { display: flex; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 5rem); }
  .hero-title__line { white-space: normal; }
  .hero-layout { grid-template-columns: 1fr; }
  .constat-stats { flex-direction: column; }
  .constat-stat__divider { width: auto; height: 1px; margin: 0 var(--sp-5); }
  .constat-stat__note { border-left: none; border-top: 1px solid rgba(26,111,255,0.12); flex-direction: row; }
  .hero-metrics { flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); }
  .hero-right { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-metrics { gap: var(--sp-6); }
  .s-constat__grid { grid-template-columns: 1fr; }
  .s-offres__grid { grid-template-columns: 1fr; }
  .s-expertise__grid { grid-template-columns: 1fr; }
  .s-resultats__nums { grid-template-columns: 1fr; }
  .c-footer__nav { grid-template-columns: 1fr 1fr; }
  .vs-row { grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr; font-size: 0.75rem; }
  .vs-cell { padding: var(--sp-3) var(--sp-3); font-size: 0.75rem; }
  .testimonial { padding: var(--sp-8); }
  .c-footer__top { flex-direction: column; align-items: flex-start; }
  .mobile-br { display: block; }

  /* Cursor off on mobile */
  .c-cursor { display: none; }
  body { cursor: auto; }
  a, button, select, input, textarea, .offre, .exp, .problem-card { cursor: auto; }
}

@media (max-width: 480px) {
  section { padding: var(--sp-16) 0; }  /* 64px mobile */
  .form-row { grid-template-columns: 1fr; }
  .c-footer__nav { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: column; gap: var(--sp-4); }
  .metric__sep { display: none; }
  .hero-title__line { white-space: normal; }
  .p-step { grid-template-columns: 80px 1fr; }
  .s-process__timeline::before { left: 42px; }
  .cta-band { padding: var(--sp-10) var(--sp-6); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ══════════════════════════════════════════════════
   SOLUTION SCHEMA — comparatif Avant / Après
══════════════════════════════════════════════════ */

.s-solution__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.solution-schema {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
}

/* Bloc Avant / Après */
.schema-block {
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--ink-border);
}

.schema-block:last-child { border-bottom: none; }

.schema-block__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.schema-block__label--bad  { color: #FF6B75; }
.schema-block__label--good { color: #28C840; }

/* Pipeline classique */
.schema-pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
  opacity: 0.5;
}

.sp-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-ter);
  background: var(--ink-3);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  white-space: nowrap;
}

.sp-step--end {
  border-color: rgba(255,107,117,0.3);
  color: #FF6B75;
}

.sp-arrow {
  color: var(--text-ter);
  font-size: 0.7rem;
  opacity: 0.4;
}

/* Timeline bar */
.schema-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--sp-3);
}

.st-bar {
  display: block;
  height: 4px;
  width: var(--w, 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.schema-timeline--bad .st-bar {
  background: rgba(255,107,117,0.25);
}

.schema-timeline--bad .st-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    #FF4757 0, #FF4757 12px,
    transparent 12px, transparent 18px
  );
  opacity: 0.6;
  animation: barScan 2s linear infinite;
}

.schema-timeline--good .st-bar {
  background: rgba(26,111,255,0.15);
}

.schema-timeline--good .st-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #1A6FFF, #40BFFF);
  border-radius: 2px;
  animation: barGrow 1.2s var(--ease-out) 0.4s both;
  transform-origin: left;
}

@keyframes barScan { from { background-position: 0 } to { background-position: 36px 0 } }
@keyframes barGrow { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.st-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.schema-timeline--bad  .st-label { color: #FF6B75; }
.schema-timeline--good .st-label { color: #1A6FFF; }

/* VS séparateur */
.schema-vs {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-ter);
  padding: var(--sp-3) 0;
  background: var(--ink-3);
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
}

/* Flux IA + Humain */
.schema-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.sf-col {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sf-col--ia    { background: rgba(26,111,255,0.06); }
.sf-col--human { background: rgba(40,200,64,0.05); }

.sfc-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-1);
}

.sf-col--ia    .sfc-label { color: #1A6FFF; }
.sf-col--human .sfc-label { color: #28C840; }

.sfc-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sfc-item {
  font-size: 0.75rem;
  color: var(--text-sec);
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  font-weight: 500;
}

/* Connecteur central */
.sf-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--sp-3) var(--sp-3);
  border-left: 1px solid var(--ink-border);
  border-right: 1px solid var(--ink-border);
  background: var(--ink-3);
  flex-shrink: 0;
}

.sf-connector span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-ter);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* Responsive */
@media (max-width: 1024px) {
  .s-solution__body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .schema-pipeline { gap: 4px; }
  .sp-step { font-size: 0.62rem; padding: 4px 7px; }
}
   Exact spec : brackets blancs épais · IA blanc ·
   _ bleu · Melis blanc · Studio bleu
══════════════════════════════════════════════════ */

/* Composant partagé logo-mark */
.logo-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Crochets — blancs, épais */
.logo-mark .bracket {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

/* IA — blanc, légèrement plus petit */
.logo-mark .ia-white {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  margin-left: 1px;
}

/* _ — bleu électrique uniquement */
.logo-mark .ia-blue {
  color: #1A6FFF;
  font-weight: 800;
  font-size: 0.82em;
}

/* Wordmark "Melis Studio" */
.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin-left: 10px;
}

.logo-wordmark .name-white { color: #FFFFFF; }
.logo-wordmark .name-blue  { color: #1A6FFF; }

/* ── Nav logo ── */
.c-nav__logo {
  display: flex; align-items: center; gap: 6px;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}
.c-nav__logo:hover { opacity: 0.8; }

.c-nav__logo .logo-mark    { font-size: 0.8rem; font-weight: 800; }
.c-nav__logo .logo-mark .bracket { font-size: 1.5rem; }
.c-nav__logo .logo-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  margin-left: 4px;
}

/* ── Footer logo ── */
.c-footer__brand {
  display: flex; align-items: center; gap: 6px;
}
.c-footer__brand .logo-mark         { font-size: 0.8rem; font-weight: 800; }
.c-footer__brand .logo-mark .bracket { font-size: 1.5rem; }
.c-footer__brand .logo-wordmark      { font-size: 1.2rem; font-weight: 800; margin-left: 4px; }

/* ── Loader logo ── */
.c-loader__logo .logo-mark    { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.c-loader__logo .logo-mark .ia-white,
.c-loader__logo .logo-mark .ia-blue  { font-size: 0.65em; }
.loader-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-left: 10px;
  display: inline-flex; align-items: center; gap: 0.25em;
}
.loader-name .name-white { color: #FFFFFF; }
.loader-name .name-blue  { color: #1A6FFF; }

/* ══════════════════════════════════════════════════
   HERO — Layout 2 colonnes
══════════════════════════════════════════════════ */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: var(--sp-12);
  align-items: start;
  width: 100%;
}

.hero-left { /* colonne gauche : inchangée */ }

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-3);
  width: 100%;
}

/* ══════════════════════════════════════════════════
   TERMINAL IA — hero right column
══════════════════════════════════════════════════ */

.hero-terminal {
  width: 100%;
  min-width: 400px;
  background: #0a0d16;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26,111,255,0.12),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(26,111,255,0.06);
  font-family: var(--font-mono);
}

/* Barre titre */
.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.t-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-dot--red    { background: #FF5F57; }
.t-dot--yellow { background: #FFBD2E; }
.t-dot--green  { background: #28C840; }

.t-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-ter);
  letter-spacing: 0.08em;
  margin-left: var(--sp-2);
  flex: 1;
  text-align: center;
}

/* Corps terminal */
.terminal__body {
  padding: 24px 20px 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Ligne de prompt */
.t-line--prompt {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.t-prompt {
  color: #1A6FFF;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
}

.t-cmd {
  color: #E2E8FF;
  font-size: 0.8rem;
  font-weight: 400;
}

/* Caret clignotant */
.t-caret {
  color: #1A6FFF;
  font-size: 0.85rem;
  animation: caretBlink 1s step-end infinite;
  line-height: 1;
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Bloc de sortie */
.t-output {
  margin-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-out-line {
  font-size: 0.775rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.t-out-line.is-visible {
  opacity: 1;
  transform: none;
}

/* Couleurs des lignes */
.t-out-line--comment { color: #525870; }
.t-out-line--success { color: #28C840; }
.t-out-line--blue    { color: #1A6FFF; }
.t-out-line--white   { color: #C8D0E8; }
.t-out-line--dim     { color: #525870; font-style: italic; }
.t-out-line--accent  { color: #FFD60A; }
.t-out-line--blank   { height: 8px; }

/* Responsive terminal */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right   { display: none; }
}

@media (max-width: 768px) {
  .hero-right { display: none; }
}

/* ══════════════════════════════════════════════════
   MELIS PLATFORM AI — bloc éditeur
══════════════════════════════════════════════════ */

.melis-platform {
  margin-top: var(--sp-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  background: var(--ink-1);
  border: 1px solid rgba(26,111,255,0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  position: relative;
  overflow: hidden;
}

/* Lueur bleue coin supérieur gauche */
.melis-platform::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,111,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.melis-platform__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.melis-platform__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.melis-platform__flag {
  font-size: 0.72rem;
  color: var(--text-ter);
}

.melis-platform__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--sp-5);
}

.melis-platform__link {
  color: var(--blue);
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.melis-platform__link:hover { opacity: 0.8; }

.melis-platform__heart {
  color: var(--blue);
  font-style: normal;
}

.melis-platform__desc {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 480px;
}

.melis-platform__desc strong {
  color: var(--blue);
  font-weight: 600;
}

/* Badges */
.melis-platform__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.mp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-ter);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ink-border);
  padding: 3px 9px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
}

.mp-badge svg { flex-shrink: 0; opacity: 0.7; }

.mp-badge--blue {
  color: var(--blue);
  background: rgba(26,111,255,0.08);
  border-color: rgba(26,111,255,0.25);
}
.mp-badge--blue svg { opacity: 1; }

/* CTA */
.melis-platform__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border: 1px solid rgba(26,111,255,0.3);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.melis-platform__cta:hover {
  background: rgba(26,111,255,0.1);
  border-color: rgba(26,111,255,0.5);
}

/* Grille modules à droite */
.melis-platform__modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.mp-module {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sec);
  transition: background var(--t-fast), border-color var(--t-fast);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}
.mp-module > .mp-module__icon {
  display: flex;
  align-items: center;
}
.mp-module > span:not(.mp-module__icon):not(.mp-module__sub) {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sec);
  line-height: 1;
}
.mp-module__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-ter);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: 1px;
}

.mp-module:hover {
  background: rgba(26,111,255,0.06);
  border-color: rgba(26,111,255,0.2);
  color: var(--text-primary);
}

.mp-module__icon {
  color: var(--text-ter);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color var(--t-fast);
}

.mp-module:hover .mp-module__icon { color: var(--blue); }

/* Melis Core — socle de la plateforme */
.mp-module--core {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}
.mp-module--core > span:not(.mp-module__icon):not(.mp-module__sub) {
  color: var(--text-primary);
  font-weight: 700;
}
.mp-module--core .mp-module__icon { color: var(--text-primary); }
.mp-module--core .mp-module__sub { color: var(--text-sec); }

/* Melis AI — pleine largeur */
.mp-module--ai {
  grid-column: 1 / -1;
  background: rgba(26,111,255,0.06);
  border-color: rgba(26,111,255,0.2);
  flex-direction: row;
  align-items: center;
  gap: var(--sp-3);
}
.mp-module--ai > span:not(.mp-module__icon):not(.mp-module__sub) {
  color: var(--blue);
  font-weight: 700;
}
.mp-module--ai .mp-module__icon { color: var(--blue); flex-shrink: 0; }
.mp-module--ai .mp-module__sub {
  color: rgba(26,111,255,0.7);
  font-size: 0.62rem;
  margin-top: 0;
  margin-left: var(--sp-1);
}

/* Responsive */
@media (max-width: 1024px) {
  .melis-platform { grid-template-columns: 1fr; gap: var(--sp-8); }
  .melis-platform__modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .melis-platform__modules { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   PIPELINE MVP — pleine largeur, layout horizontal
══════════════════════════════════════════════════ */

.mvp-pipeline {
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-16);
  width: 100%;
  background: var(--ink-1);
  border: 1px solid rgba(26,111,255,0.15);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

/* Lueur bleue subtile en haut */
.mvp-pipeline::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,111,255,0.6), rgba(64,191,255,0.4), transparent);
}

/* Header */
.mvp-pipeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mvp-pipeline__title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mvp-pipeline__icon { font-size: 0.8rem; }

.mvp-pipeline__badge {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(26,111,255,0.1);
  border: 1px solid rgba(26,111,255,0.2);
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
}

.mvp-pipeline__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-ter);
}

.mvp-pipeline__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.mvp-pipeline__status-dot.is-running {
  background: var(--blue);
  box-shadow: 0 0 6px rgba(26,111,255,0.8);
  animation: mvpPulse 1.2s ease-in-out infinite;
}

.mvp-pipeline__status-dot.is-done {
  background: #28C840;
  box-shadow: 0 0 6px rgba(40,200,64,0.6);
  animation: none;
}

.mvp-pipeline__status-label {
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.mvp-pipeline__timer {
  font-size: 0.65rem;
  color: var(--text-ter);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Barre de progression globale */
.mvp-pipeline__bar {
  height: 2px;
  background: rgba(255,255,255,0.04);
  position: relative;
}

.mvp-pipeline__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, #40BFFF 100%);
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(26,111,255,0.5);
}

/* Track horizontal */
.mvp-pipeline__track {
  display: flex;
  align-items: flex-start;
  padding: 24px 20px 20px;
  gap: 0;
  position: relative;
}

/* Step */
.mvp-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 10px;
}

/* Ligne de connexion horizontale entre nodes */
.mvp-step__connector {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  z-index: 0;
  transition: background 0.5s ease;
}

.mvp-step.is-done .mvp-step__connector {
  background: rgba(26,111,255,0.4);
}

/* Node (cercle + anneau) */
.mvp-step__node {
  position: relative;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

.mvp-step__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.mvp-step.is-active .mvp-step__ring {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,255,0.15);
}

.mvp-step.is-done .mvp-step__ring {
  border-color: rgba(40,200,64,0.5);
}

.mvp-step__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}

.mvp-step.is-active .mvp-step__dot {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(26,111,255,0.9);
  animation: mvpPulse 1.2s ease-in-out infinite;
}

.mvp-step.is-done .mvp-step__dot {
  background: #28C840;
  box-shadow: 0 0 6px rgba(40,200,64,0.6);
  transform: scale(1.1);
  animation: none;
}

/* Card sous le node */
.mvp-step__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 8px;
  border-radius: var(--r-md);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
  text-align: center;
  width: 100%;
  max-width: 90px;
}

.mvp-step.is-active .mvp-step__card {
  background: rgba(26,111,255,0.07);
  border-color: rgba(26,111,255,0.2);
}

.mvp-step.is-done .mvp-step__card {
  background: rgba(255,255,255,0.02);
}

.mvp-step__card--final.mvp-step.is-done .mvp-step__card {
  background: rgba(40,200,64,0.05);
  border-color: rgba(40,200,64,0.2);
}

.mvp-step__emoji {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ter);
  opacity: 0.3;
  transition: color 0.4s, opacity 0.4s;
}

.mvp-step__emoji svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mvp-step.is-active .mvp-step__emoji {
  color: var(--blue);
  opacity: 1;
}

.mvp-step.is-done .mvp-step__emoji {
  color: #28C840;
  opacity: 1;
}

.mvp-step__name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-ter);
  letter-spacing: -0.01em;
  transition: color 0.3s;
  white-space: nowrap;
}

.mvp-step.is-active .mvp-step__name { color: var(--text-primary); }
.mvp-step.is-done .mvp-step__name   { color: var(--text-sec); }

.mvp-step__sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-ter);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.mvp-step.is-active .mvp-step__sub {
  opacity: 0.7;
  transform: translateY(0);
}

/* Dernier step : pas de connecteur */
.mvp-step--last .mvp-step__connector { display: none; }

/* Step final livré */
.mvp-step--last.is-done .mvp-step__card {
  background: rgba(40,200,64,0.07);
  border-color: rgba(40,200,64,0.25);
}

@keyframes mvpPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.5; }
}

/* ══════════════════════════════════════════════════
   SÉLECTEUR DE LANGUE — Language Switcher
══════════════════════════════════════════════════ */

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

/* Bouton déclencheur */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-border);
  background: var(--ink-2);
  color: var(--text-sec);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med);
  flex-shrink: 0;
}
.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  background: var(--ink-3);
  border-color: var(--ink-border-h);
  color: var(--text-primary);
}
.lang-trigger__flag { font-size: 0.85rem; line-height: 1; }
.lang-trigger__code { font-size: 0.6rem; letter-spacing: 0.08em; }
.lang-trigger__caret {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform var(--t-med);
}
.lang-trigger[aria-expanded="true"] .lang-trigger__caret {
  transform: rotate(180deg);
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  background: var(--ink-2);
  border: 1px solid var(--ink-border-h);
  border-radius: var(--r-lg);
  padding: 6px;
  z-index: 2000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: langDropIn 0.18s ease;
}
@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Option langue */
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-md);
  border: none;
  background: transparent;
  color: var(--text-sec);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-option:hover {
  background: var(--ink-3);
  color: var(--text-primary);
}
.lang-option.is-active {
  color: var(--blue-l);
  background: rgba(26,111,255,0.08);
}
.lang-option__flag { font-size: 1rem; flex-shrink: 0; }
.lang-option__name { flex: 1; font-weight: 500; }
.lang-option__check {
  width: 14px;
  height: 14px;
  color: var(--blue-l);
  opacity: 0;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}
.lang-option.is-active .lang-option__check { opacity: 1; }

/* Focus visible */
.lang-trigger:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Mobile nav — sélecteur langue */
.mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--ink-border);
  margin-top: 4px;
}
.mobile-lang__title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-ter);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0 8px;
}
.mobile-lang__list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mobile-lang__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-border);
  background: var(--ink-2);
  color: var(--text-sec);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med);
}
.mobile-lang__btn:hover,
.mobile-lang__btn.is-active {
  background: rgba(26,111,255,0.12);
  border-color: rgba(26,111,255,0.4);
  color: var(--blue-l);
}
.mobile-lang__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Light theme ajustements */
[data-theme="light"] .lang-trigger {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.12);
  color: #333;
}
[data-theme="light"] .lang-trigger:hover,
[data-theme="light"] .lang-trigger[aria-expanded="true"] {
  background: #fff;
  border-color: rgba(0,0,0,0.2);
  color: #000;
}
[data-theme="light"] .lang-dropdown {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .lang-option {
  color: #444;
}
[data-theme="light"] .lang-option:hover {
  background: #f4f4f4;
  color: #000;
}
[data-theme="light"] .lang-option.is-active {
  background: rgba(0,102,255,0.06);
  color: var(--blue);
}
[data-theme="light"] .mobile-lang__btn {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.12);
  color: #444;
}
[data-theme="light"] .mobile-lang__btn.is-active {
  background: rgba(0,102,255,0.08);
  border-color: rgba(0,102,255,0.3);
  color: var(--blue);
}
