/* TechMedias Design System v13 — extrait de home_v12 */
/* ============================================================
   DESIGN SYSTEM — TechMedias v2
   ============================================================ */
:root {
  --bg-base:    #0B0D1A;
  --bg-elev:    #11141F;
  --bg-card:    #151828;
  --bg-card-hi: #1A1D2F;

  --indigo-300: #a3a6ff;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  /* Palette logo TechMedias v12 — orange remplacé par rose magenta (consigne Renaud #8) */
  /* @deprecated : alias historique de --pink-*, ne plus utiliser (valeurs identiques à --pink-*) */
  --orange-400: #f472b6; /* pink-400 — anciennement #fb923c */
  --orange-500: #ec4899; /* pink-500 — anciennement #fd761a */
  --orange-600: #db2777; /* pink-600 — anciennement #ea580c */
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --rose-bright: #ff7ad1; /* rose lumineux — lisibilité du nom hero (retour client 03/06) */
  --cyan-400: #5cc8ff;   /* bleu cyan du logo */
  --cyan-500: #3aa8f0;

  --slate-300: #d1d5db;
  --slate-400: #9ca3af;
  --slate-500: #6b7280;
  --white-05: rgba(255,255,255,0.05);
  --white-08: rgba(255,255,255,0.08);
  --white-10: rgba(255,255,255,0.10);
  --white-15: rgba(255,255,255,0.15);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);

  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
  --r-pill: 9999px;

  /* ── COUCHE DE TOKENS (audit) — additive, ne change rien au rendu actuel ──
     Échelle d'espacement, ombres, z-index (alignés sur l'usage réel), durées,
     et alias sémantiques (rôles) pour découpler l'intention de la valeur brute. */

  /* Espacement (échelle cohérente) */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.5);

  /* Z-index (alignés sur les valeurs réellement utilisées : nav 50/49, dropdown 60, cursor 9999 ;
     --z-overlay réservé pour de futurs modaux/overlays) */
  --z-nav: 50;
  --z-dropdown: 60;
  --z-overlay: 100;
  --z-cursor: 9999;

  /* Durées */
  --dur-fast: .2s;
  --dur-base: .3s;
  --dur-slow: .4s;

  /* Alias sémantiques (rôles) */
  --text-primary: var(--slate-300);
  --text-secondary: var(--slate-400);
  --text-tertiary: #7E8694;            /* ≈ 4,6:1 sur fond nuit — remplace --slate-500 en petit texte */
  --surface: var(--bg-card);
  --surface-elev: var(--bg-card-hi);
  --border-subtle: var(--white-08);
  --border-strong: #3a3f52;            /* ≥ 3:1 — bordures de champs / éléments interactifs */
  --focus-ring: var(--indigo-400);
  --brand-gradient: linear-gradient(135deg, var(--cyan-400), var(--violet-500), var(--pink-500));
  --brand-gradient-soft: linear-gradient(135deg, #3f7da6, #6a52a6, #a64f7e); /* version désaturée pour grands aplats */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--indigo-400);
  outline-offset: 3px;
  border-radius: 4px;
}

html { background: var(--bg-base); scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: #F2F4FB;
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (pointer: coarse), (hover: none) { body { cursor: auto; } }

/* Échelle typographique modulaire ~1.25 (Major Third) — audit §4.
   Baseline cohérente pour les titres : un cran net entre le corps (1rem) et chaque niveau.
   line-height / letter-spacing conservés. Les composants gardent leurs overrides ; cette
   échelle s'applique aux titres sans override de taille et fixe la hiérarchie de référence. */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 4.4vw, 3.4rem); }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.3rem; line-height: 1.2; } /* niveau "lead/h4" intermédiaire */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

main, header, footer, nav, section { position: relative; z-index: 2; }

/* ============================================================
   ANIMATED BACKGROUND BLOBS
   ============================================================ */
.bg-field { position: fixed; inset: -10vh; z-index: 0; pointer-events: none; opacity: 0.42; }
.bg-field::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 35%, transparent 0%, var(--bg-base) 85%); }
/* Audit §5 : blobs de fond désaturés (palette --brand-gradient-soft : #3f7da6 / #6a52a6 / #a64f7e)
   pour calmer les grands aplats (moins "gaming/crypto"). Composition 3 zones préservée.
   Le dégradé pleine saturation reste réservé aux petits accents (gradient-word, brillance boutons). */
.blob { position: absolute; border-radius: 50%; filter: blur(120px); mix-blend-mode: screen; will-change: transform; }
.blob.b1 { top: -10%; left: -10%; width: 50rem; height: 50rem; background: #4a4a8a; opacity: 0.55; animation: blobDrift1 18s ease-in-out infinite; }
.blob.b2 { top: 25%; right: -15%; width: 55rem; height: 55rem; background: #6a52a6; opacity: 0.40; animation: blobDrift2 22s ease-in-out infinite; }
.blob.b3 { bottom: -25%; left: 25%; width: 60rem; height: 60rem; background: #a64f7e; opacity: 0.18; animation: blobDrift3 26s ease-in-out infinite; }
@keyframes blobDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(8vw,-6vh) scale(1.08); } 66% { transform: translate(-5vw,4vh) scale(0.92); } }
@keyframes blobDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-6vw,8vh) scale(0.94); } 66% { transform: translate(4vw,-3vh) scale(1.1); } }
@keyframes blobDrift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,-8vh) scale(1.05); } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-blob, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
.cursor-blob { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(163,166,255,0.7); transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out); mix-blend-mode: difference; }
.cursor-blob.is-hover { width: 72px; height: 72px; background: rgba(163,166,255,0.15); border-color: rgba(163,166,255,1); }
.cursor-dot { width: 5px; height: 5px; background: var(--orange-400); border-radius: 50%; }
@media (pointer: coarse), (hover: none) { .cursor-blob, .cursor-dot { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(11,13,26,0.6); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--white-05); transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out); }
.nav.is-scrolled { background: rgba(11,13,26,0.92); }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; transition: padding 0.4s var(--ease-out); }
.nav.is-scrolled .nav-inner { padding: 0.5rem 2rem; }
/* Brand = largeur réservée pour le logo (ratio 1.623) + hauteur = ligne du menu → ne pilote pas la barre */
.brand { position: relative; z-index: 1; flex-shrink: 0; width: 130px; height: 48px; display: block; }
/* Logo XL "agence" : ancré en haut (de l'air au-dessus) et débordant sous la barre fine */
.brand-logo { position: absolute; left: 0; top: 2px; height: 78px; width: auto; display: block; transition: height 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.nav.is-scrolled .brand-logo { height: 54px; top: 0; }
.footer-brand-logo { height: 56px; width: auto; display: block; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-400), var(--violet-500), var(--pink-500)); box-shadow: 0 0 12px rgba(139,92,246,0.6); animation: pulse-soft 2.6s ease-in-out infinite; }
@keyframes pulse-soft { 0%,100% { opacity:1; transform:scale(1);} 50% { opacity:0.65; transform:scale(0.85);} }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--slate-300); position: relative; padding: 0.4rem 0; transition: color 0.3s var(--ease-soft); background: none; border: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg, var(--indigo-400), var(--violet-400)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }

/* ============================================================
   NAV DROPDOWN — Piliers
   ============================================================ */
.nav-link-group { position: relative; }
.nav-link-trigger .nav-arrow { font-size: 1.05rem; transition: transform 0.3s var(--ease-out); color: var(--slate-400); }
.nav-link-group.is-open .nav-link-trigger { color: #fff; }
.nav-link-group.is-open .nav-link-trigger .nav-arrow { transform: rotate(180deg); color: var(--violet-400); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: -1rem;
  min-width: 360px;
  background: rgba(11,13,26,0.96);
  border: 1px solid var(--white-08);
  border-radius: var(--r-xl);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.6);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  z-index: 60;
}
.nav-link-group.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0s;
}
/* Triangle pointer (style menu Linear) */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 2.5rem;
  width: 12px; height: 12px;
  background: rgba(11,13,26,0.96);
  border-top: 1px solid var(--white-08);
  border-left: 1px solid var(--white-08);
  transform: rotate(45deg);
}

.dropdown-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-md);
  transition: background 0.25s var(--ease-out);
  color: inherit;
}
.dropdown-item:hover, .dropdown-item:focus-visible {
  background: var(--white-05);
  outline: none;
}
.dropdown-item[aria-current="page"] { background: var(--white-08); }
.dropdown-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: rgba(139,92,246,0.14);
  border: 1px solid rgba(139,92,246,0.28);
  color: var(--violet-400);
  transition: transform 0.3s var(--ease-spring);
}
.dropdown-item:nth-child(2) .dropdown-icon { background: rgba(236,72,153,0.14); border-color: rgba(236,72,153,0.28); color: var(--pink-400); }
.dropdown-item:nth-child(3) .dropdown-icon { background: rgba(92,200,255,0.14); border-color: rgba(92,200,255,0.28); color: var(--cyan-400); }
.dropdown-item:nth-child(4) .dropdown-icon { background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.28); color: var(--violet-400); }
.dropdown-item:hover .dropdown-icon { transform: scale(1.08) rotate(-3deg); }

.dropdown-text { min-width: 0; }
.dropdown-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.dropdown-desc {
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* Mobile : dropdown s'ouvre en accordéon plein-largeur sous la nav */
@media (max-width: 1024px) {
  .nav-dropdown {
    position: static;
    min-width: 0; width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    transform: none;
  }
  .nav-link-group.is-open .nav-dropdown { transform: none; }
  .nav-dropdown::before { display: none; }
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 1rem; align-items: center; }
.btn-ghost { font-size: 0.85rem; font-weight: 500; color: var(--slate-300); padding: 0.65rem 1rem; border-radius: var(--r-md); transition: color 0.25s var(--ease-soft); }
.btn-ghost:hover { color: #fff; }

.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.5rem;
  /* WCAG (audit §2b) : indigo-600 → violet-600 (foncés, contraste blanc ≥ 6:1) sous le label ;
     le rose (--pink-500) repoussé en accent de bord pour ne jamais passer sous le texte. */
  background: linear-gradient(120deg, var(--indigo-600) 0%, var(--violet-600) 55%, var(--violet-600) 82%, var(--pink-500) 100%);
  background-size: 240% 240%; background-position: 0% 50%;
  border-radius: var(--r-md); font-weight: 500; font-size: 0.9rem; color: #fff;
  box-shadow: 0 8px 24px -8px rgba(99,102,241,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), background-position 0.6s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 14px 36px -8px rgba(99,102,241,0.7), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.7s var(--ease-out); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.5rem; background: var(--white-05); border: 1px solid var(--white-10); border-radius: var(--r-md); font-weight: 500; font-size: 0.9rem; color: #fff; backdrop-filter: blur(10px); transition: all 0.3s var(--ease-out); }
.btn-secondary:hover { background: var(--white-10); border-color: rgba(163,166,255,0.5); transform: translateY(-2px); }
.btn-secondary .material-symbols-outlined { color: var(--orange-400); transition: transform 0.4s var(--ease-spring); }
.btn-secondary:hover .material-symbols-outlined { transform: rotate(12deg); }

/* États désactivés des boutons (audit §3c) */
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
  filter: saturate(.6);
}
/* Labels courts masqués par défaut (visibles uniquement sur mobile via media query) */
.btn-primary .label-short,
.btn-secondary .label-short { display: none; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-bar { margin-top: 64px; padding: 0.7rem 0; border-bottom: 1px solid var(--white-05); overflow: hidden; background: rgba(11,13,26,0.4); position: relative; z-index: 49;
  /* Le logo XL déborde ici à gauche → on rend le bandeau transparent sous le logo, fondu vers la droite (le texte démarre nettement après le logo).
     La zone transparente suit l'offset de centrage de .nav-inner (max-width 1440) : sur les écrans >1440px le logo glisse à droite, le masque le suit. */
  --logo-offset: max(0px, (100vw - 1440px) / 2);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent calc(205px + var(--logo-offset)), #000 calc(290px + var(--logo-offset)));
          mask-image: linear-gradient(90deg, transparent 0, transparent calc(205px + var(--logo-offset)), #000 calc(290px + var(--logo-offset))); }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee-scroll 28s linear infinite; font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-400); }
.marquee-track > span { display: inline-flex; align-items: center; gap: 1.5rem; transition: color 0.4s var(--ease-out); }
.marquee-track > span:hover { color: var(--indigo-300); }
.marquee-track > span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-400); display: inline-block; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   HERO + FOLD CARDS
   ============================================================ */
.hero-wrap { min-height: calc(100vh - 72px - 40px); display: flex; flex-direction: column; padding-top: 1rem; }
.hero { padding: 1.5rem 2rem 1rem; max-width: 1440px; margin: 0 auto; width: 100%; flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: stretch; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 1rem; background: var(--white-05); border: 1px solid var(--white-10); border-radius: var(--r-pill); font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-300); align-self: flex-start; backdrop-filter: blur(10px); margin-bottom: 1.25rem; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); }
.live-dot::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--orange-400); opacity: 0.5; animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }

/* H1 — Mask wipe per line */
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; max-width: 22ch; }
/* Variante pour H1 plus longs (ex: "des décideurs IT influents" en ligne unique) : max-width étendu */
.hero h1.h1-long { max-width: 28ch; font-size: clamp(2rem, 3.8vw, 3.6rem); }
/* Le H1 est segmenté manuellement en lignes via .line-wrap : pas de wrap auto, chaque ligne reste sur sa ligne */
.hero h1 .line-wrap { display: block; }
.hero h1 .gradient-word { display: inline-block; white-space: nowrap; }
.line-wrap { display: block; overflow: hidden; padding: 0.04em 0; }
.line-inner { display: block; transform: translateY(110%); opacity: 0; animation: line-rise 0.95s var(--ease-out) forwards; }
/* line-nowrap : la ligne entière reste sur une seule ligne, autorisée à dépasser le max-width */
.line-inner.line-nowrap { white-space: nowrap; }
@keyframes line-rise { to { transform: translateY(0); opacity: 1; } }
.line-wrap:nth-of-type(1) .line-inner { animation-delay: 0.05s; }
.line-wrap:nth-of-type(2) .line-inner { animation-delay: 0.18s; }
.line-wrap:nth-of-type(3) .line-inner { animation-delay: 0.31s; }

/* Gradient mot — swipe rapide + drift lent */
.gradient-word {
  display: inline-block;
  background: linear-gradient(120deg, var(--cyan-400) 0%, var(--violet-400) 48%, var(--rose-bright) 100%);
  background-size: 200% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.1em; margin-bottom: -0.1em;
  animation: grad-swipe 0.9s var(--ease-out) forwards 0.6s, grad-drift 8s ease-in-out 1.6s infinite;
}
@keyframes grad-swipe { to { background-position: 0% 50%; } }
@keyframes grad-drift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Hero rotator — 3 slots qui alternent, sans superposition */
.hero-rotator {
  position: relative;
  /* Hauteur condensée : 3 lignes H1 + sub, sans grand espace mort */
  min-height: clamp(13em, 18em, 20em);
}
.hero-slot {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
  pointer-events: none;
}
.hero-slot.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0s;
}
.hero-slot .hero-sub {
  margin-top: 1.15rem; /* H1 → sub : ratio Φ⁻¹ ~ 1.15rem au lieu de 1.5rem */
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 300; line-height: 1.5;
  color: var(--slate-300);
  max-width: 58ch;
}
/* À chaque ré-activation : ré-déclencher la mask-wipe sur les lignes */
.hero-slot.is-active .line-inner {
  animation: line-rise 0.95s var(--ease-out) forwards;
}
.hero-slot.is-active .gradient-word {
  animation: grad-swipe 0.7s var(--ease-out) forwards 0.4s, grad-drift 8s ease-in-out 1.2s infinite;
}

/* Stats — proportions Φ : intermédiaires V2/V7, harmonieuses sans déséquilibrer les piliers */
.hero-stats {
  margin-top: 1.45rem; /* H1→sub→stats : ratio Φ⁻² ~ 1.45rem (au lieu de 1.75) */
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
}
.hero-stat { opacity: 0; animation: fade-up 0.7s var(--ease-out) forwards; }
.hero-stat:nth-child(1) { animation-delay: 0.8s; }
.hero-stat:nth-child(2) { animation-delay: 0.92s; }
.hero-stat:nth-child(3) { animation-delay: 1.04s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero-stat-num {
  font-family: var(--font-display);
  /* Φ-tier sous le H1 (3.5rem) : 3.5/Φ² ≈ 1.34, on prend 1.55 max pour préserver lecture */
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 0%, var(--indigo-300) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1;
}
.hero-stat-num--static {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  letter-spacing: -0.025em;
}
.hero-stat-label {
  margin-top: 0.38rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Visible d'office (animation gérée via fill-mode: backwards : le from{opacity:0} s'applique pendant le delay sans bloquer l'affichage final) */
.hero-ctas { margin-top: 1.65rem; display: flex; flex-wrap: wrap; gap: 1rem; animation: fade-up 0.7s var(--ease-out) 1.2s backwards; }

/* Sub-stats : ligne fine sous les CTAs (réassurance B2B sans surcharger le hero) */
.hero-substats {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-tertiary);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  animation: fade-up 0.7s var(--ease-out) 1.4s backwards;
}
.hero-substats span { display: inline-flex; align-items: baseline; gap: 0.35rem; white-space: nowrap; }
.hero-substats strong {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
/* Petits séparateurs entre stats (sauf le premier) */
.hero-substats span + span::before {
  content: '·';
  color: var(--slate-700);
  margin-right: 0.5rem;
}

.hero-visual {
  position: relative;
  /* Aligné sur la hauteur du bloc texte gauche via align-items: stretch + align-self auto */
  align-self: stretch;
  min-height: 100%;
  max-height: 70vh;
  opacity: 0;
  animation: visual-in 1.4s var(--ease-out) forwards 0.4s;
  will-change: transform;
  isolation: isolate;
  margin-left: 20px;
}
@keyframes visual-in { from { opacity: 0; transform: scale(1.06) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
/* Halo coloré derrière l'image qui pulse (vie organique) */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 62% 65% at 50% 50%, rgba(139,92,246,0.32), rgba(99,102,241,0.2) 40%, transparent 75%);
  filter: blur(45px);
  z-index: -1;
  pointer-events: none;
  animation: halo-pulse 9s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}
/* Multi-slots hero visual : superposés en absolute, crossfade entre eux selon le hero-slot actif */
.hero-visual-slot {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0.6s;
  pointer-events: none;
}
.hero-visual-slot.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0s;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Fondu LINÉAIRE gauche + droite (intersect des 2 masks) : plus fiable qu'un radial */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 78%, rgba(0,0,0,0.55) 93%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 78%, rgba(0,0,0,0.55) 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  /* Animation subtile "breathe" : l'objet respire très lentement */
  animation: hero-breathe 14s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}
@keyframes hero-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33%      { transform: scale(1.025) rotate(0.4deg); }
  66%      { transform: scale(1.015) rotate(-0.3deg); }
}

/* ============================================================
   FOLD CARDS — clip reveal staggered
   ============================================================ */
.fold-cards { max-width: 1440px; margin: 0 auto; padding: 1.5rem 2rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; width: 100%; }
/* Cards visibles d'office (CSS de base) ; animation utilise fill-mode "backwards" pour pré-appliquer le "from" pendant le delay sans bloquer l'état final */
.fold-card { position: relative; padding: 1.75rem 1.5rem; background: linear-gradient(145deg, rgba(21,24,40,0.95), rgba(17,20,31,0.85)); border: 1px solid var(--white-08); border-radius: var(--r-lg); backdrop-filter: blur(20px); overflow: hidden; cursor: pointer; transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out); animation: fold-in 0.6s var(--ease-out) backwards; }
.fold-card:hover { transform: translateY(-4px); }
@keyframes fold-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fold-card:nth-child(1) { animation-delay: 0.15s; }
.fold-card:nth-child(2) { animation-delay: 0.25s; }
.fold-card:nth-child(3) { animation-delay: 0.35s; }
.fold-card:nth-child(4) { animation-delay: 0.45s; }
.fold-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(163,166,255,0.22), transparent 60%); opacity: 0; transition: opacity 0.4s var(--ease-out); pointer-events: none; }
.fold-card:hover { border-color: rgba(163,166,255,0.4); }
.fold-card:hover::before { opacity: 1; }
.fold-card-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
/* Composant autonome .icon-pill (audit §3a) : la déco vit désormais sur la classe
   de base (réutilisable hors .fold-card). Variantes de couleur via modifieurs (§3b)
   au lieu d'un coloriage par :nth-child. Couleurs strictement identiques à l'historique. */
.icon-pill { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; background: rgba(99,102,241,0.14); border: 1px solid rgba(99,102,241,0.32); color: var(--indigo-300); transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease-out); flex-shrink: 0; }
/* Variantes de couleur (réutilisables) */
.icon-pill--violet { background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.32); color: var(--violet-400); }
.icon-pill--cyan   { background: rgba(92,200,255,0.14);  border-color: rgba(92,200,255,0.32);  color: var(--cyan-400); }
.icon-pill--rose   { background: rgba(253,118,26,0.14);  border-color: rgba(253,118,26,0.32);  color: var(--orange-400); } /* reproduit la teinte historique exacte de la carte 3 (glyphe rose, fond ambré léger) */
.icon-pill--indigo-soft { background: rgba(163,166,255,0.14); border-color: rgba(163,166,255,0.32); color: var(--indigo-300); } /* nuance indigo claire de la carte 4 */
/* .fold-card .icon-pill ne porte plus que d'éventuels overrides spécifiques au contexte fold-card (aucun pour l'instant) */
.fold-card:hover .icon-pill { transform: scale(1.1) rotate(-4deg); }
.fold-card h3 { font-size: 1.28rem; font-weight: 600; color: #fff; letter-spacing: -0.015em; line-height: 1.18; } /* audit §4 : remonté de 1.15→1.28rem pour un cran net au-dessus du corps (1rem) sans casser la grille 4 col */
.fold-card p { font-size: 0.9rem; color: var(--slate-400); line-height: 1.5; margin-top: 0.35rem; }
/* Flèche top-right des fold-cards : repositionnée alignée avec le head, taille augmentée pour meilleure visibilité (consigne Renaud #6) */
.fold-card .arrow {
  position: absolute;
  top: auto; bottom: 1.25rem; right: 1.25rem;   /* déplacée en bas-droite (ne couvre plus le titre) */
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white-05);
  border: 1px solid var(--white-08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--slate-400);
  opacity: 0.55;                                  /* discrète au repos */
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 2;
}
.fold-card .arrow .material-symbols-outlined { font-size: 1rem; line-height: 1; }
.fold-card:hover .arrow {
  background: var(--white-10);                    /* léger éclaircissement, plus de gros rond violet */
  border-color: var(--white-15);
  color: var(--indigo-300);
  opacity: 1;
  transform: translate(2px, -2px);                /* micro-mouvement vers le coin, pas de scale appuyé */
}

/* ============================================================
   FOLD TAGLINE — sous les 4 carrés (consigne Renaud #7)
   ============================================================ */
.fold-tagline {
  max-width: 1440px; margin: 0 auto;
  padding: 0 2rem 2.5rem;
  text-align: center;
}
.fold-tagline p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--slate-300);
  line-height: 1.5;
}
.fold-tagline strong {
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--cyan-400) 0%, var(--violet-400) 50%, var(--pink-400) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: grad-drift 9s ease-in-out infinite;
}
@media (max-width: 768px) {
  .fold-tagline { padding: 0 1.25rem 2rem; }
  .fold-tagline p { font-size: 0.95rem; }
}

/* ============================================================
   LOGOS BAR
   ============================================================ */
/* Baissée de 20px (consigne Ahmed) pour créer une vraie respiration entre hero et 4 piliers */
.logos-bar { margin: 0 0 4rem; padding: 2rem 0; border-top: 1px solid var(--white-05); border-bottom: 1px solid var(--white-05); overflow: hidden; background: rgba(11,13,26,0.4); }
.logos-label { text-align: center; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 1.5rem; }
.logos-track { display: flex; align-items: center; gap: 4rem; animation: marquee-scroll 28s linear infinite; white-space: nowrap; }
.logo-pill { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--slate-400); opacity: 0.7; transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.logo-pill .material-symbols-outlined { font-size: 1.8rem; }
.logo-pill .partner-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-out);
}
.logo-pill:hover { opacity: 1; transform: scale(1.05); }
.logo-pill:hover .partner-logo { opacity: 1; }
/* Nouveau logo inmac wstore = wordmark 2 lignes → un peu plus haut pour équilibrer avec les logos 1 ligne */
.logo-pill .partner-logo--stacked { height: 48px; }
@media (max-width: 768px) {
  .logo-pill .partner-logo { height: 24px; max-width: 110px; }
  .logo-pill .partner-logo--stacked { height: 38px; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { margin-bottom: 4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; flex-wrap: wrap; }
.section-eyebrow { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-400); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; max-width: 24ch; }
.section-title .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; background: linear-gradient(120deg, var(--indigo-400), var(--violet-400)); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: grad-drift 10s ease-in-out infinite; }
.section-aside { font-size: 1rem; color: var(--slate-400); max-width: 38ch; font-weight: 300; line-height: 1.6; }

/* ============================================================
   PILIERS — Bento
   ============================================================ */
.pillars-section { max-width: 1440px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.pillars-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 1.25rem; }
.pillar { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, rgba(21,24,40,0.95), rgba(17,20,31,0.85)); border: 1px solid var(--white-08); backdrop-filter: blur(20px); transition: transform 0.6s var(--ease-out), border-color 0.4s var(--ease-out); display: flex; flex-direction: column; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(163,166,255,0.4); }

.pillar-1 { grid-column: span 3; grid-row: span 2; }
.pillar-2 { grid-column: span 3; }
.pillar-3 { grid-column: span 3; }
.pillar-4 { grid-column: span 6; }

.pillar-illus { position: relative; overflow: hidden; flex-shrink: 0; background: var(--bg-base); }
.pillar-1 .pillar-illus { aspect-ratio: 16/10; }
.pillar-2 .pillar-illus, .pillar-3 .pillar-illus { width: 35%; aspect-ratio: 1; flex-shrink: 0; }
.pillar-4 .pillar-illus { width: 35%; aspect-ratio: 16/10; flex-shrink: 0; }

.pillar-illus img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.pillar:hover .pillar-illus img { transform: scale(1.08); }
.pillar-illus::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(11,13,26,0.5) 100%); pointer-events: none; }

.pillar-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pillar-2, .pillar-3 { flex-direction: row; align-items: stretch; }
.pillar-2 .pillar-body, .pillar-3 .pillar-body { padding: 1.5rem 1.75rem; }
.pillar-4 { flex-direction: row-reverse; align-items: stretch; }
.pillar-4 .pillar-body { padding: 2rem 2.5rem; justify-content: center; }

.pillar-num { font-family: var(--font-display); font-size: 0.78rem; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.7rem; }
.pillar-num::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--white-10), transparent); }
.pillar h3 { font-size: clamp(1.2rem, 1.6vw, 1.65rem); font-weight: 600; color: #fff; margin-bottom: 0.85rem; letter-spacing: -0.02em; line-height: 1.15; }
.pillar-1 h3 { font-size: clamp(1.4rem, 1.9vw, 2rem); }
.pillar p { font-size: 0.95rem; color: var(--slate-300); line-height: 1.55; margin-bottom: 1.5rem; flex: 1; }
.pillar-2 p, .pillar-3 p { font-size: 0.88rem; margin-bottom: 1rem; }

.pillar-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.88rem; color: var(--indigo-300); align-self: flex-start; transition: gap 0.35s var(--ease-out), color 0.35s var(--ease-out); }
.pillar-cta .material-symbols-outlined { font-size: 1.1rem; transition: transform 0.4s var(--ease-spring); }
.pillar:hover .pillar-cta { gap: 0.9rem; color: #fff; }
.pillar:hover .pillar-cta .material-symbols-outlined { transform: translateX(3px); }

/* ============================================================
   MÉTHODOLOGIE — Timeline verticale style Relume how-it-works
   ============================================================ */
.method-section { max-width: 1240px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.method-timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 0;
}
/* Ligne SVG verticale qui se trace au scroll */
.method-line-svg {
  position: absolute;
  top: 32px; bottom: 32px;
  left: 38px;
  width: 4px;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.method-line-svg path {
  fill: none;
  stroke: url(#methodGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2.4s var(--ease-out);
}
.method-line-svg.is-in path { stroke-dashoffset: 0; }

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
  z-index: 1;
  /* État par défaut : noir et blanc dormant */
  filter: grayscale(1) brightness(0.55);
  opacity: 0.42;
  transition: filter 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
.method-step.is-lit {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}
.method-step + .method-step { border-top: 1px solid var(--white-05); }

/* Point de lumière — plus subtil, plus vivant (3 animations imbriquées), effet magnetic */
.method-lightspot {
  position: absolute;
  left: 38px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(163,166,255,0.85) 35%, transparent 75%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 0 8px 2px rgba(255,255,255,0.5),
    0 0 20px 5px rgba(163,166,255,0.32),
    0 0 38px 10px rgba(139,92,246,0.18);
  will-change: top, opacity, transform;
  transition: opacity 0.5s var(--ease-out);
  animation:
    lightspot-breathe 3.4s ease-in-out infinite,
    lightspot-shimmer 1.7s ease-in-out infinite,
    lightspot-jitter 0.9s ease-in-out infinite;
}
.method-timeline.is-lightspot-on .method-lightspot { opacity: 1; }
/* État final : la lumière s'évapore au niveau de 03 (scale + fade) */
.method-timeline.is-lightspot-done .method-lightspot {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(2.6) !important;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
/* Effet "magnetic snap" : quand le point touche un numéro, il s'aimante (scale + glow renforcé) */
.method-lightspot.is-snapping {
  animation:
    lightspot-snap 1.2s ease-out infinite,
    lightspot-shimmer 1.7s ease-in-out infinite;
}

/* Animation 1 : respiration de halo (lente) */
@keyframes lightspot-breathe {
  0%, 100% {
    box-shadow:
      0 0 8px 2px rgba(255,255,255,0.5),
      0 0 20px 5px rgba(163,166,255,0.32),
      0 0 38px 10px rgba(139,92,246,0.18);
  }
  50% {
    box-shadow:
      0 0 12px 3px rgba(255,255,255,0.7),
      0 0 28px 8px rgba(163,166,255,0.45),
      0 0 52px 14px rgba(139,92,246,0.28);
  }
}
/* Animation 2 : scintillement subtil (rapide, sans flash) */
@keyframes lightspot-shimmer {
  0%, 100% { filter: brightness(1); }
  25%      { filter: brightness(1.12); }
  50%      { filter: brightness(0.95); }
  75%      { filter: brightness(1.08); }
}
/* Animation 3 : micro-oscillation horizontale (vie organique) */
@keyframes lightspot-jitter {
  0%, 100% { margin-left: 0; }
  50%      { margin-left: 0.5px; }
}
/* Animation magnetic snap : quand sticky sur un numéro */
@keyframes lightspot-snap {
  0%, 100% {
    box-shadow:
      0 0 12px 3px rgba(255,255,255,0.85),
      0 0 32px 9px rgba(163,166,255,0.55),
      0 0 60px 18px rgba(139,92,246,0.4);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow:
      0 0 16px 5px rgba(255,255,255,1),
      0 0 44px 13px rgba(163,166,255,0.7),
      0 0 80px 24px rgba(139,92,246,0.55);
    transform: translate(-50%, -50%) scale(1.25);
  }
}

.method-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 700;
  color: var(--slate-400);
  position: relative;
  transition: all 0.6s var(--ease-out);
  flex-shrink: 0;
}
.method-step.is-lit .method-num {
  border-color: var(--indigo-500);
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.18));
  color: #fff;
  box-shadow: 0 0 0 6px rgba(99,102,241,0.08), 0 0 40px rgba(99,102,241,0.45);
  transform: scale(1.04);
}
.method-step:nth-child(3).is-lit .method-num { border-color: var(--violet-500); background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(253,118,26,0.15)); box-shadow: 0 0 0 6px rgba(139,92,246,0.08), 0 0 40px rgba(139,92,246,0.45); }
.method-step:nth-child(4).is-lit .method-num { border-color: var(--orange-500); background: linear-gradient(135deg, rgba(253,118,26,0.25), rgba(99,102,241,0.15)); box-shadow: 0 0 0 6px rgba(253,118,26,0.08), 0 0 40px rgba(253,118,26,0.45); }

.method-illus {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--white-05);
}
.method-illus img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.method-step:hover .method-illus img { transform: scale(1.05); }
.method-illus::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(11,13,26,0.4) 100%);
  pointer-events: none;
}

.method-info { padding: 0; }
.method-info h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.method-info .method-deliver {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.45rem 0.9rem;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-300);
}
.method-info .method-deliver .material-symbols-outlined { font-size: 0.95rem; color: var(--orange-400); }
.method-info p {
  font-size: 1rem;
  color: var(--slate-300);
  line-height: 1.6;
  max-width: 44ch;
}

/* ============================================================
   TÉMOIGNAGES — Marquee infini double row
   ============================================================ */
/* Pas d'overflow:hidden sur le parent (sinon sticky cassé). Padding condensé : titre proche des quotes. */
.testimonials { padding: 2rem 0 0; position: relative; }
/* Head condensé : marge bottom réduite pour rapprocher des quotes */
.testimonials-head { max-width: 1440px; margin: 0 auto 0.5rem; padding: 0 2rem; }
.testimonials-head .section-head { margin-bottom: 0; }
/* ============================================================
   TÉMOIGNAGES — Hero Quote Sticky (pattern Linear/Anthropic 2026)
   Lecture forcée d'un témoignage à la fois, sticky pendant le scroll.
   ============================================================ */
/* Citations clients — carrousel horizontal (refonte retour client 03/06).
   Pattern scroll-snap natif + JS minimal + structure ARIA APG (sources : W3C APG, NN/g, Baymard). */
.testi-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2rem;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-slide {
  flex: 0 0 clamp(280px, 88%, 560px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--white-08);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
}
.testi-slide-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.7;
  color: var(--orange-400);
  opacity: 0.4;
  margin-bottom: 1rem;
}
.testi-slide-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 2rem;
}
.testi-slide-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--indigo-400), var(--violet-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.testi-slide-author {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: auto;
}
.testi-slide-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.testi-slide:nth-child(2) .testi-slide-avatar { background: linear-gradient(135deg, var(--violet-500), var(--orange-500)); }
.testi-slide:nth-child(3) .testi-slide-avatar { background: linear-gradient(135deg, var(--orange-500), var(--indigo-500)); }
.testi-slide:nth-child(4) .testi-slide-avatar { background: linear-gradient(135deg, var(--indigo-400), var(--violet-400)); }
.testi-slide:nth-child(5) .testi-slide-avatar { background: linear-gradient(135deg, var(--orange-400), var(--violet-500)); }
.testi-slide:nth-child(6) .testi-slide-avatar { background: linear-gradient(135deg, var(--indigo-600), var(--orange-500)); }

.testi-slide-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.testi-slide-role {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* Contrôles carrousel — flèches + dots (cibles ≥ 44px, WCAG 2.5.8 ; aria-disabled aux bornes) */
.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-top: 2rem;
}
.testi-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: #fff; cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.testi-nav:hover { background: var(--white-10); border-color: rgba(163,166,255,0.5); transform: translateY(-2px); }
.testi-nav:focus-visible { outline: 2px solid var(--indigo-400); outline-offset: 2px; }
.testi-nav[aria-disabled="true"] { opacity: 0.3; pointer-events: none; }
.testi-nav .material-symbols-outlined { font-size: 1.4rem; }
.testi-dots { display: flex; align-items: center; gap: 0.4rem; }
.testi-dot {
  width: 8px; height: 8px;
  padding: 8px;                 /* zone tactile 24px (WCAG 2.5.8) sans grossir le point */
  box-sizing: content-box;
  border: none; cursor: pointer;
  border-radius: var(--r-pill);
  background: var(--white-15);
  background-clip: content-box;
  transition: background 0.35s var(--ease-out), width 0.35s var(--ease-out);
}
.testi-dot[aria-selected="true"] {
  width: 28px;
  background: linear-gradient(90deg, var(--cyan-400), var(--violet-400));
  background-clip: content-box;
}
.testi-dot:focus-visible { outline: 2px solid var(--indigo-400); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .testi-track { scroll-behavior: smooth; }
}

.testi-section-cta { display: flex; justify-content: center; padding: 2rem 2rem 1rem; }

/* ============================================================
   CTA BAND — Cinéma : titre XXL letter-reveal + spotlight ombré + 2 CTAs équilibrés
   ============================================================ */
.cta-band {
  max-width: 1320px;
  margin: 9rem auto 5rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--white-08);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(99,102,241,0.14), transparent 75%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(253,118,26,0.10), transparent 70%),
    linear-gradient(180deg, rgba(17,20,31,0.7), rgba(11,13,26,0.98));
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Vignette profonde pour spotlight central */
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 110% at 50% 50%, transparent 35%, rgba(0,0,0,0.55) 90%);
  pointer-events: none;
  z-index: 0;
}
/* Spotlight curseur subtil */
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle 460px at var(--mx, 50%) var(--my, 50%), rgba(163,166,255,0.12), transparent 65%);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.cta-band:hover::before { opacity: 1; }

/* Petit overline avec ligne décorative */
.cta-band-overline {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2.5rem;
}
.cta-band-overline::before,
.cta-band-overline::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--white-15);
}

/* Titre cinéma — XXL avec word-reveal */
.cta-band h2 {
  position: relative; z-index: 1;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 20ch;
  margin: 0 auto 2rem;
  color: #fff;
}
.cta-band h2 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-band.in h2 .word { opacity: 1; transform: translateY(0); }
.cta-band h2 .word:nth-child(1)  { transition-delay: 0.10s; }
.cta-band h2 .word:nth-child(2)  { transition-delay: 0.18s; }
.cta-band h2 .word:nth-child(3)  { transition-delay: 0.26s; }
.cta-band h2 .word:nth-child(4)  { transition-delay: 0.34s; }
.cta-band h2 .word:nth-child(5)  { transition-delay: 0.42s; }
.cta-band h2 .word:nth-child(6)  { transition-delay: 0.50s; }
.cta-band h2 .word:nth-child(7)  { transition-delay: 0.58s; }
.cta-band h2 .word:nth-child(8)  { transition-delay: 0.66s; }
.cta-band h2 .word:nth-child(9)  { transition-delay: 0.74s; }
.cta-band h2 .word:nth-child(10) { transition-delay: 0.82s; }
.cta-band h2 .word:nth-child(11) { transition-delay: 0.90s; }

/* Underline animé sous le mot-clé en 2 phases (gris → gradient) */
.cta-keyword {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: #fff;
}
.cta-keyword::before,
.cta-keyword::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.04em;
  width: 100%; height: 5px;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
}
.cta-keyword::before {
  background: var(--white-15);
  transition: transform 0.5s var(--ease-out) 0.95s;
}
.cta-keyword::after {
  background: linear-gradient(90deg, var(--indigo-400), var(--violet-400) 50%, var(--orange-400));
  box-shadow: 0 0 18px rgba(139,92,246,0.6);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.5s;
}
.cta-band.in .cta-keyword::before { transform: scaleX(1); }
.cta-band.in .cta-keyword::after  { transform: scaleX(1); }

.cta-band p {
  position: relative; z-index: 1;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  font-weight: 400;
  color: var(--slate-300);
  max-width: 56ch;
  margin: 0 auto 3.5rem;
  line-height: 1.55;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 1.4s;
}
.cta-band.in p { opacity: 1; }

/* CTAs : 2 boutons équilibrés et impactants */
.cta-band-ctas {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s var(--ease-out) 1.7s, transform 0.8s var(--ease-out) 1.7s;
}
.cta-band.in .cta-band-ctas { opacity: 1; transform: translateY(0); }

.cta-band-ctas .btn-primary {
  padding: 1.1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
}
.cta-band-ctas .btn-secondary {
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

/* Annotation directionnelle subtile (signature pro) */
.cta-band-foot {
  position: relative; z-index: 1;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 2s;
}
.cta-band.in .cta-band-foot { opacity: 1; }
.cta-band-foot strong { color: var(--orange-400); font-weight: 600; }

/* ============================================================
   FORMULAIRES (audit §3d) — composant aligné sur les tokens
   Le site n'a pas encore de formulaire ; ce bloc prépare contact/blog.
   Bordure au repos = --border-strong (≥ 3:1), focus ring violet.
   ============================================================ */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.input, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #F2F4FB;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.8rem 1rem;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.textarea { min-height: 7.5rem; resize: vertical; }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--violet-500);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.25);
}
.input.is-error, .textarea.is-error { border-color: var(--pink-500); }
.input.is-error:focus, .textarea.is-error:focus { box-shadow: 0 0 0 3px rgba(236,72,153,0.22); }
.input.is-success, .textarea.is-success { border-color: #34d399; }
.input.is-success:focus, .textarea.is-success:focus { box-shadow: 0 0 0 3px rgba(52,211,153,0.22); }
.input:disabled, .textarea:disabled { opacity: .5; cursor: not-allowed; }
.field-msg { font-size: 0.8rem; line-height: 1.4; color: var(--text-secondary); }
.field-msg.is-error { color: var(--pink-400); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-foot { border-top: 1px solid var(--white-05); padding: 3rem 2rem 2.5rem; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 3rem; font-size: 0.85rem; color: var(--text-tertiary); }
.foot-col h4 { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 1.25rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.65rem; }
.foot-col a { transition: color 0.3s; }
.foot-col a:hover { color: #fff; }
.foot-tagline { margin-top: 1rem; color: var(--text-tertiary); font-size: 0.85rem; max-width: 30ch; line-height: 1.5; }
.foot-bottom { max-width: 1440px; margin: 0 auto; padding: 1.5rem 2rem; border-top: 1px solid var(--white-05); display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-tertiary); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-stagger="1"] { transition-delay: 80ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 320ms; }
/* Piliers détaillés — Progressive Enhancement, DESKTOP only
   • État CSS de base : VISIBLE → fail-safe garanti sur tablette/mobile
   • Animation scroll-driven activée UNIQUEMENT sur desktop (>= 1025px) où l'IO est fiable
   • Mobile/tablette : piliers visibles d'office (priorité robustesse sur effet wow) */
.reveal-clip { /* visible par défaut */ }

@media (min-width: 1025px) {
  html.js-on .reveal-clip {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  }
  html.js-on .reveal-clip.in {
    opacity: 1;
    transform: translateY(0);
  }
  /* Cascade : 4 piliers se révèlent à 0 / 0.15 / 0.30 / 0.45 s après entrée viewport */
  html.js-on .reveal-clip:nth-of-type(2) { transition-delay: 0.15s; }
  html.js-on .reveal-clip:nth-of-type(3) { transition-delay: 0.30s; }
  html.js-on .reveal-clip:nth-of-type(4) { transition-delay: 0.45s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2rem; position: relative; }
  /* Sur tablet/mobile : image en SHADOW BACKGROUND derrière le texte (ne prend plus de hauteur) */
  .hero-visual {
    display: block !important;
    position: absolute;
    inset: 0;
    margin: 0 !important;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    filter: blur(6px);
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
  }
  .hero-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: right center;
    /* Fade complet vers la gauche pour préserver la lisibilité du texte */
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 75%);
    mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 75%);
  }
  .hero-text { position: relative; z-index: 1; }
  .fold-cards { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-1, .pillar-2, .pillar-3, .pillar-4 { grid-column: span 1; grid-row: auto; }
  .pillar-2, .pillar-3, .pillar-4 { flex-direction: column; }
  .pillar-2 .pillar-illus, .pillar-3 .pillar-illus, .pillar-4 .pillar-illus { width: 100%; aspect-ratio: 16/10; }
  .method-step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .method-illus { grid-column: 1 / -1; grid-row: 2; margin-top: 1rem; aspect-ratio: 16/9; }
  .method-info { grid-column: 2; }
  .method-line-svg { left: 28px; }
  .method-num { width: 60px; height: 60px; font-size: 1.3rem; }
  footer.site-foot { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0.75rem 1rem; }
  /* Sur mobile, on masque tout le .nav-cta : les CTAs principaux sont dans le hero juste en dessous (pas de doublon nécessaire) */
  .nav-cta { display: none; }
  /* Barre mobile = logo seul → logo centré qui tient dans la barre (pas de débordement ni masque sur mobile) */
  .brand { width: 84px; height: 40px; }
  .brand-logo { height: 50px; top: 50%; transform: translateY(-50%); }
  .marquee-bar { -webkit-mask-image: none; mask-image: none; }
  /* Mobile : hero qui RESPIRE et occupe l'espace, 4 piliers en BAS du viewport (consigne Ahmed) */
  .hero-wrap { min-height: auto; padding-top: 1rem; }
  .hero { padding: 1.75rem 1.5rem 2rem; gap: 0; }
  .hero-rotator { min-height: 0; }
  .hero-slot { position: relative; }
  .hero-slot:not(.is-active) { position: absolute; }
  /* H1 plus grand pour prendre plus de place */
  .hero h1 { font-size: clamp(2.4rem, 9.5vw, 3.1rem); max-width: 14ch; line-height: 1; letter-spacing: -0.04em; }
  /* Sub plus aérée */
  .hero-slot .hero-sub { margin-top: 1.5rem; font-size: 1rem; line-height: 1.5; }
  .hero-substats { display: none; }
  /* CTAs : grid 50/50, descendus, animation off sur mobile (apparition immédiate, pas de flash invisible) */
  .hero-ctas {
    margin-top: 2.5rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box;
    animation: none !important;
    opacity: 1 !important;
  }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    justify-content: center;
    padding: 0.95rem 0.4rem !important;
    font-size: 0.82rem !important;
    text-align: center;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
  }
  .hero-ctas .btn-secondary .material-symbols-outlined { display: none; }
  /* L'icône → du primary masquée aussi sur mobile pour laisser plus de place au texte */
  .hero-ctas .btn-primary .material-symbols-outlined { display: none; }
  /* Labels mobiles courts pour éviter la troncature des boutons CTAs */
  .hero-ctas .btn-primary .label-full,
  .hero-ctas .btn-secondary .label-full { display: none; }
  .hero-ctas .btn-primary .label-short,
  .hero-ctas .btn-secondary .label-short { display: inline; }
  /* Sortir les logos VRAIMENT du fold mobile (consigne Ahmed) : marge avant très importante */
  .logos-bar { margin: 7rem 0 3rem; padding: 1.5rem 0; }
  .logos-label { font-size: 0.65rem; margin-bottom: 1rem; }
  .logo-pill { font-size: 1.05rem; }
  .logo-pill .material-symbols-outlined { font-size: 1.4rem; }
  /* Fold-cards positionnées EN BAS du viewport hero (consigne Ahmed) avec marge avant */
  .fold-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 2.5rem 1.5rem 1rem;
    gap: 0.75rem;
  }
  .fold-card { padding: 1.1rem 1rem; }
  .fold-card .arrow { display: none; }
  .fold-card .icon-pill { width: 36px; height: 36px; font-size: 1.05rem; }
  .fold-card h3 { font-size: 0.88rem; line-height: 1.15; }
  .fold-card p { display: none; }
  .pillars-section, .method-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .testimonials-head { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cta-band { margin: 4rem 1rem 2rem; padding: 3.5rem 1.5rem; }
  .cta-band h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  /* Citations clients — carrousel sur mobile : 1 témoignage visible + peek du suivant */
  .testi-carousel { padding: 0 1.25rem; }
  .testi-track { scroll-padding-inline: 1.25rem; }
  .testi-slide { flex-basis: 86%; }
  .testi-slide-mark { font-size: 2.6rem; }
  .testi-slide-quote { font-size: 1.2rem; }
  footer.site-foot { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.25rem; }
  .foot-bottom { padding: 1.25rem; flex-direction: column; gap: 0.75rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-height: 760px) and (min-width: 1024px) {
  .hero h1 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
  .hero-sub { font-size: 1rem; }
  .hero { padding-top: 1rem; padding-bottom: 0.5rem; }
  .hero-stats { margin-top: 1.5rem; gap: 2rem; }
  .hero-ctas { margin-top: 1.5rem; }
  .fold-cards { padding-top: 0.5rem; padding-bottom: 1rem; }
  .fold-card { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .blob { display: none; }
  /* !important pour override la règle "html.js-on .reveal-clip" qui est plus spécifique */
  .reveal, .reveal-clip,
  html.js-on .reveal, html.js-on .reveal-clip { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .line-inner { transform: none; opacity: 1; }
  .gradient-word { background-position: 0% 50%; }
}

/* ============================================================
   OTHER PILLARS — Cross-linking entre pages piliers
   ============================================================ */
.other-pillars-section { max-width: 1240px; margin: 0 auto; padding: 5rem 2rem 3rem; }
.other-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.other-pillar-card {
  position: relative;
  padding: 1.85rem 1.65rem;
  background: linear-gradient(160deg, rgba(21,24,40,0.95), rgba(17,20,31,0.85));
  border: 1px solid var(--white-08);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  color: inherit;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  overflow: hidden;
}
.other-pillar-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.other-pillar-card:hover { transform: translateY(-5px); border-color: rgba(163,166,255,0.4); }
.other-pillar-card:hover::before { opacity: 1; }
.other-pillar-num {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.other-pillar-num::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--white-15), transparent); }
.other-pillar-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,0.14);
  border: 1px solid rgba(139,92,246,0.32);
  color: var(--violet-400);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform 0.4s var(--ease-spring);
}
.other-pillar-card:nth-child(2) .other-pillar-icon { background: rgba(236,72,153,0.14); border-color: rgba(236,72,153,0.32); color: var(--pink-400); }
.other-pillar-card:nth-child(3) .other-pillar-icon { background: rgba(92,200,255,0.14); border-color: rgba(92,200,255,0.32); color: var(--cyan-400); }
.other-pillar-card:hover .other-pillar-icon { transform: scale(1.1) rotate(-4deg); }
.other-pillar-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 0.65rem;
}
.other-pillar-card p {
  font-size: 0.92rem;
  color: var(--slate-400);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.5rem;
}
.other-pillar-cta {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--indigo-300);
  transition: gap 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.other-pillar-cta .material-symbols-outlined { font-size: 1.1rem; transition: transform 0.4s var(--ease-spring); }
.other-pillar-card:hover .other-pillar-cta { gap: 0.8rem; color: #fff; }
.other-pillar-card:hover .other-pillar-cta .material-symbols-outlined { transform: translateX(3px); }

/* ============================================================
   RELATED CTA — Cross-link minimal (étude cas → leadgen)
   ============================================================ */
.related-cta-section {
  max-width: 1080px; margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.related-cta-card {
  position: relative;
  display: flex; align-items: center; gap: 2rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.10), rgba(236,72,153,0.06) 80%);
  border: 1px solid rgba(163,166,255,0.25);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.related-cta-card:hover { transform: translateY(-3px); border-color: rgba(163,166,255,0.45); }
.related-cta-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet-500), var(--pink-500));
  color: #fff;
  font-size: 1.6rem;
}
.related-cta-body { flex: 1; }
.related-cta-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink-400);
  margin-bottom: 0.5rem;
}
.related-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
}
.related-cta-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--white-08);
  border: 1px solid var(--white-10);
  border-radius: var(--r-md);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.related-cta-card:hover .related-cta-arrow { background: var(--white-10); transform: translateX(4px); }
.related-cta-arrow .material-symbols-outlined { font-size: 1.1rem; color: var(--cyan-400); }

@media (max-width: 900px) {
  .other-pillars-grid { grid-template-columns: 1fr; }
  .other-pillars-section { padding: 3rem 1.25rem 2rem; }
  .related-cta-card { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 1.5rem; }
  .related-cta-arrow { width: 100%; justify-content: center; }
}

/* ============================================================
   FIX GLOBAL MOBILE — Évite tous les débordements horizontaux
   ============================================================ */
html { overflow-x: hidden; }
@media (max-width: 640px) {
  /* Tous les éléments respectent le viewport */
  *, *::before, *::after { max-width: 100%; box-sizing: border-box; }

  /* Word break sur titres et paragraphes longs */
  h1, h2, h3, h4, p { overflow-wrap: break-word; word-break: normal; }

  /* Padding latéral cohérent sur toutes les sections internes */
  .pillars-section,
  .method-section,
  .audience-section,
  .channels-section,
  .dispositifs-section,
  .pourquoi-section,
  .signature-section,
  .features-grid-section,
  .results-attendus-section,
  .contexte-section,
  .dispositif-section,
  .results-section,
  .other-pillars-section,
  .related-cta-section,
  .pitch-section,
  .manifesto-section,
  .closing-section,
  .pitch-intro,
  .closing-results-section,
  .testimonials-block,
  .diff-section,
  .feature-section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Hero H1 — réduit pour tenir le viewport 375px */
  .hero h1, .page-hero h1, .hero h1.h1-long {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem) !important;
    max-width: 100% !important;
    line-height: 1.08 !important;
  }

  /* Section titles plus petits */
  .section-title { font-size: clamp(1.55rem, 6vw, 2.2rem) !important; max-width: 100% !important; }

  /* CTA Band H2 plus petit */
  .cta-band h2 {
    font-size: clamp(1.7rem, 7vw, 2.6rem) !important;
    max-width: 100% !important;
  }

  /* Pillar h3 et fold-card h3 — wrap correct */
  .pillar h3, .fold-card h3 { font-size: 1.05rem !important; max-width: 100% !important; }

  /* Audience stat num plus petit (100 000+) */
  .audience-stat-num { font-size: clamp(2.8rem, 13vw, 4.5rem) !important; }

  /* Feature title (MQL/SQL cards) */
  .feature-card-title, .feature-title { font-size: 1.05rem !important; max-width: 100% !important; }

  /* Manifesto positive plus petit */
  .manifesto-positive { font-size: 1.35rem !important; }

  /* Diff text (iTPro.fr) */
  .diff-text { font-size: 1.15rem !important; line-height: 1.4 !important; }

  /* Pitch text */
  .pitch-text { font-size: 1.05rem !important; line-height: 1.45 !important; }
  .pitch-intro p { font-size: 1rem !important; }

  /* Closing texts */
  .closing-text, .closing-results-text, .signature-text, .testimonials-title { font-size: 1.3rem !important; }

  /* Other pillars cards */
  .other-pillar-card h3 { font-size: 1.05rem !important; }

  /* Related CTA (étude cyber) — empile en mobile */
  .related-cta-title { font-size: 1.1rem !important; }

  /* Hero CTAs : empile au lieu de 2 cols quand trop étroit */
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    font-size: 0.78rem !important;
    padding: 0.9rem 0.5rem !important;
  }

  /* Boutons hero : labels courts forcés */
  .hero-ctas .btn-primary .label-full,
  .hero-ctas .btn-secondary .label-full { display: none; }
  .hero-ctas .btn-primary .label-short,
  .hero-ctas .btn-secondary .label-short { display: inline; }

  /* Tags audience iTPro.fr et leviers MQL/SQL */
  .audience-tag, .featured-tag { font-size: 0.78rem !important; padding: 0.4rem 0.85rem !important; }

  /* Footer : grid-template-columns: 1fr déjà géré, juste padding */
  footer.site-foot { padding: 2rem 1.25rem !important; }

  /* Method step — laisser respirer */
  .method-section { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .method-step { padding: 1.5rem 0 !important; }
}

/* ============================================================
   FIX MOBILE COMPLEMENTAIRE — Grids 2 cols → 1 col + sub-text
   ============================================================ */
@media (max-width: 640px) {
  /* Hero sub-text — désactive max-width restrictif */
  .hero-slot .hero-sub, .hero-sub { max-width: 100% !important; }

  /* Fold-cards (home) : 1 col en mobile pour éviter tronquage h3 */
  .fold-cards { grid-template-columns: 1fr !important; }

  /* Channels grid (iTPro.fr) : 1 col */
  .channels-grid { grid-template-columns: 1fr !important; }

  /* Dispositifs grid (iTPro.fr) : 1 col propre */
  .dispositifs-grid { grid-template-columns: 1fr !important; }

  /* Pourquoi list (iTPro.fr) : 1 col */
  .pourquoi-list { grid-template-columns: 1fr !important; }
  .pourquoi-list .pourquoi-item:nth-child(5):last-child { grid-column: 1 / -1 !important; }

  /* Features grid (MQL/SQL) : 1 col */
  .features-grid { grid-template-columns: 1fr !important; }
  .feature-card.featured-wide { grid-column: 1 / -1 !important; }
  .features-grid .feature-card:nth-child(1) { grid-column: 1 / -1 !important; }

  /* Results attendus (MQL/SQL) : 1 col */
  .results-attendus-grid { grid-template-columns: 1fr !important; }

  /* Dispositif list (étude cyber) : 1 col */
  .dispositif-list { grid-template-columns: 1fr !important; }
  .dispositif-list .dispositif-card[style*="grid-column"] { grid-column: 1 / -1 !important; }

  /* Results grid (étude cyber) : 1 col */
  .results-grid { grid-template-columns: 1fr !important; }

  /* Other pillars grid : déjà 1 col, double safety */
  .other-pillars-grid { grid-template-columns: 1fr !important; }

  /* Audience grid (iTPro.fr) : 1 col */
  .audience-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Manifesto items : 1 col */
  .manifesto-item { grid-template-columns: 1fr !important; gap: 1rem !important; }

  /* Feature-row (pilier-content zigzag) : 1 col */
  .feature-row, .feature-row.reversed { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .feature-row.reversed .feature-visual { order: 0 !important; }

  /* Contexte grid (étude cyber) : 1 col */
  .contexte-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Related CTA (étude cyber) : empile */
  .related-cta-card { flex-direction: column !important; align-items: flex-start !important; gap: 1.25rem !important; padding: 1.5rem !important; }
  .related-cta-arrow { width: 100% !important; justify-content: center !important; }
}
