/* ═══════════════════════════════════════════════════════
   [IA_] MelisStudio — 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 MelisStudio */
  --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:     #525870;
  --text-invert:  #04060d;

  /* 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);
}

/* ──────────────────────────────────────
   RESET
────────────────────────────────────── */
*, *::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; }

/* ──────────────────────────────────────
   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, var(--violet), var(--cyan));
  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 partagé — nav, footer, loader */
.logo-mark {
  font-family: var(--font-mono);
  font-size: inherit;
  font-weight: 700;
  display: inline-flex; align-items: center;
}

.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: var(--text-ter); }
.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, var(--violet), var(--cyan));
  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;
}

.hero-metrics {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--ink-border);
  width: fit-content;
  gap: var(--sp-8);
}

.metric { text-align: left; }

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

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

.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: 48px;
  background: var(--ink-border);
  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 {
  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);
}

.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);
}

.offre__header {
  display: flex; align-items: center;
  justify-content: space-between;
}

.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;
}

/* ──────────────────────────────────────
   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);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.testimonial__quote::before {
  content: '"';
  color: var(--violet-l);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: var(--sp-2);
  opacity: 0.5;
}

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

.testimonial__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--violet), var(--cyan-d));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__author strong { display: block; color: var(--text-primary); font-size: 0.875rem; }
.testimonial__author span { color: var(--text-ter); font-size: 0.8rem; }

/* ──────────────────────────────────────
   CTA BAND
────────────────────────────────────── */
.s-cta-band {
  background: var(--ink-0);
  padding: var(--sp-16) 0;
}

.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} }

/* ──────────────────────────────────────
   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: var(--text-ter); }
.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 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-ter);
  transition: color var(--t-fast);
}

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

.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 {
  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);
}

/* ──────────────────────────────────────
   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) {
  .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; }
  .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; }
  .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; }
  .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-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  margin-left: 4px;
}

/* ── Footer logo ── */
.c-footer__brand {
  display: flex; align-items: center;
}
.c-footer__brand .logo-mark    { font-size: 0.95rem; }
.c-footer__brand .logo-wordmark { font-size: 1rem; margin-left: 8px; }

/* ── Loader logo ── */
.c-loader__logo .logo-mark    { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.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;
  align-items: center;
  justify-content: center;
}

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

.hero-terminal {
  width: 100%;
  min-width: 400px;
  max-width: 520px;
  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; }
}

