/* HELIX - v3 home page styles
   Fixes: Moderustic, vivid color blocks per section (no global gradients),
   bolder type, branch-by-branch logo animation
*/
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Moderustic';
  src: url('assets/fonts/moderustic-vf.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Backgrounds - vivid, opaque, never dark */
  --bg: #FFFFFF;
  --bg-cream: #FFEFD6;       /* warm orange-cream - Pop */
  --bg-mint: #DCF1E4;        /* fresh mint - Pop */
  --bg-lilac: #E8E5FF;       /* soft violet - Pop */
  --bg-coral: #FFD9CE;       /* coral peach - Pop */
  --bg-yellow: #FFF1A8;      /* lemon - Pop */
  --bg-card: #FFFFFF;
  --hairline: #1A164015;

  /* Ink */
  --ink: #100D2E;
  --ink-2: #3A365A;
  --ink-3: #6F6A8A;

  /* Brand */
  --violet: #6662FF;
  --violet-deep: #4339E0;
  --violet-soft: #A8A4FF;
  --orange: #6662FF;        /* legacy alias → violet (no orange anywhere in v5) */
  --green: #14A38B;

  /* Surfaces sémantiques (théming clair/sombre - surchargées par [data-theme="dark"]) */
  --page: #FBFAF7;          /* fond de page (blanc cassé chaud) */
  --surface-2: #F4F2FE;     /* fin de dégradé / surface secondaire lilas */
  --nav-bg: rgba(251,250,247,.82);
  --foot-bg: #F6F4FF;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --font: 'Moderustic', system-ui, sans-serif;          /* titres / display */
  --font-body: 'Inter', system-ui, sans-serif;          /* texte courant des sections */
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

/* --- Type - bolder, larger --- */
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; color: var(--ink); }
h1 { font-size: clamp(56px, 8.5vw, 132px); font-weight: 800; letter-spacing: -0.05em; }
h2 { font-size: clamp(68px, 9vw, 124px); font-weight: 700; letter-spacing: -0.04em; }
/* Plus aucun texte en italique sur le site (demande client) */
em, i, .ac, .hero-accent { font-style: normal; }
h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.025em; }
h4 { font-size: 19px; font-weight: 700; }
p { color: var(--ink-2); text-wrap: pretty; font-size: 17px; }
.lead { font-size: 22px; line-height: 1.45; color: var(--ink-2); font-weight: 400; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.eyebrow.on-color::before { background: var(--violet); }
.eyebrow.on-color { color: var(--ink); }

/* --- Layout --- */
.shell { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 140px 0; position: relative; }
.section.tight { padding: 100px 0; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

/* ===========================================
   GLOBAL: white page, sections become bold colored rounded cards
   =========================================== */
body { background: #FFFFFF; }

.section {
  position: relative;
  margin: 0 auto 28px;
  max-width: 1480px;
  padding: 110px 0;
  border-radius: 36px;
  background: var(--bg-card);
  overflow: hidden;
}
.section.tight { padding: 80px 0; }
.section + .section { margin-top: -8px; }
@media (max-width: 720px) { .section { padding: 70px 0; border-radius: 24px; margin: 0 12px 18px; } }

/* Pastel palette B - desaturated, soft, pastel rainbow with violet as the only saturated accent */
.section.bg-cream { background: #FAF1C7; }      /* yellow pale */
.section.bg-mint { background: #DCEFDD; }       /* mint pale */
.section.bg-lilac { background: #E5DFFB; }      /* lilac */
.section.bg-coral { background: #F8E2D1; }      /* peach pale */
.section.bg-yellow { background: #FAF1C7; }     /* same yellow pale */
.section.bg-violet { background: var(--violet); color: #fff; }
.section.bg-pink { background: #F5DDE2; }       /* dusty pink */
.section.bg-blue { background: #DCEAF7; }       /* sky pale */
.section.bg-sage { background: #DFE9D8; }       /* sage */
.section.bg-peach { background: #EAE5FB; }      /* lilac pale (used for contact) */
.section.bg-violet h2, .section.bg-violet h3, .section.bg-violet p { color: #fff; }
.section.bg-violet p { color: rgba(255,255,255,0.85); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--ink-2); }

/* --- NAV --- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 16px 32px;
  max-width: 1320px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.brand .mark svg { width: 38px; height: 38px; }
.brand .name { font-family: var(--font); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 4px; margin-left: 24px; }
.nav-links a {
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: all .2s ease;
}
.nav-links a:hover { background: var(--bg-lilac); color: var(--violet); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* --- Buttons (clean, no gradient) --- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn.primary { background: var(--violet); color: #fff; }
.btn.primary:hover { background: var(--violet-deep); transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.ghost.on-color { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.ghost.on-color:hover { background: #ffffff; color: var(--violet); border-color: #ffffff; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.lg { padding: 18px 30px; font-size: 17px; }

/* ===========================================
   HERO - fond blanc, logo lateral plein, anim texte évoluée
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 60px;
  overflow: hidden;
  background: #FFFFFF;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
}
.hero-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1100px) {
  .hero-shell { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark-side { order: -1; justify-self: center; }
}

.hero-content { position: relative; z-index: 2; text-align: left; max-width: 980px; }
@media (max-width: 1100px) { .hero-content { text-align: center; margin: 0 auto; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(102, 98, 255, 0.10);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102,98,255,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(102,98,255,0); }
}

/* Hero title - evolved animation */
.hero-title {
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin-bottom: 36px;
  display: block;
  font-family: var(--font);
}
.hero-title .line { display: block; opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.hero-title .line.in { opacity: 1; transform: translateY(0); }
.hero-title .line-1 { color: var(--ink); transition-delay: .1s; }

/* ===========================================
   HERO V5 - typographic reveal, slogan only
   =========================================== */
.hero-title-v5 {
  margin: 0 0 36px;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero-title-v5 .line {
  display: block;
  opacity: 1; transform: none; /* override generic line rule */
  transition: none;
}
.hero-title-v5 .line-a { color: var(--ink); }
.hero-title-v5 .line-b {
  color: var(--violet);
  position: relative;
  display: inline-block;
  font-weight: 800;
}

/* Word-by-word reveal - dramatic mask + translate + scale */
.hero-title-v5 .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.02em 0.06em;
  margin-right: -0.02em;   /* espacement inter-mots identique à la 2e ligne (texte simple) */
}
.hero-title-v5 .word {
  display: inline-block;
  transform: translateY(120%) rotateX(-40deg);
  opacity: 0;
  filter: blur(6px);
  transition: transform .85s cubic-bezier(.16,1,.3,1), opacity .6s ease, filter .7s ease;
  will-change: transform, opacity, filter;
}
.hero-title-v5 .line.in .word { transform: translateY(0) rotateX(0deg); opacity: 1; filter: blur(0); }
.hero-title-v5 .line-a .word-wrap:nth-child(1) .word { transition-delay: .00s; }
.hero-title-v5 .line-a .word-wrap:nth-child(2) .word { transition-delay: .15s; }
.hero-title-v5 .line-a .word-wrap:nth-child(3) .word { transition-delay: .30s; }
.hero-title-v5 .line-b .word-wrap:nth-child(1) .word { transition-delay: .00s; }
.hero-title-v5 .line-b .word-wrap:nth-child(2) .word { transition-delay: .80s; }
.hero-title-v5 .line-b .word-wrap:nth-child(3) .word { transition-delay: 1.60s; }

/* Underline removed per brief */
.line-b-underline { display: none; }

/* Continuous shimmer on line-b after reveal */
.hero-title-v5 .line-b.shimmer .word {
  animation: text-shimmer 3.5s ease-in-out infinite;
}
.hero-title-v5 .line-b.shimmer .word-wrap:nth-child(1) .word { animation-delay: 0s; }
.hero-title-v5 .line-b.shimmer .word-wrap:nth-child(2) .word { animation-delay: .2s; }
.hero-title-v5 .line-b.shimmer .word-wrap:nth-child(3) .word { animation-delay: .4s; }
@keyframes text-shimmer {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  50% { filter: brightness(1.15) drop-shadow(0 0 18px rgba(102,98,255,0.35)); }
}

/* Pulsing underline after initial draw */
.line-b-underline.pulse {
  animation: underline-pulse 3s ease-in-out infinite;
}
@keyframes underline-pulse {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.02); }
}

/* Subtitle, CTA, Steeve pill - fade in cascade */
.hero-sub.pre-anim,
.hero-cta-row.pre-anim,
.steeve-intro-row.pre-anim {
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.hero-sub.in,
.hero-cta-row.in,
.steeve-intro-row.in { opacity: 1; transform: translateY(0); }
.hero-title-v5 .line.pre-anim .word { transform: translateY(110%); opacity: 0; }

/* Strike line  */
.hero-title .line-2 { color: var(--ink-3); font-weight: 600; transition-delay: .55s; font-size: 0.85em; }
.hero-title .strike-wrap { position: relative; display: inline-block; transition: color .7s ease, opacity 1.2s ease, transform 1.2s ease; }
.hero-title .strike-wrap .strike-line {
  position: absolute; left: -2%; top: 52%;
  width: 0%; height: 8px;
  background: var(--orange);
  border-radius: 4px;
  transform: rotate(-1.2deg);
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 0 0 rgba(102,98,255,0.4);
}
.hero-title .strike-wrap.struck .strike-line { width: 104%; }
.hero-title .strike-wrap.fade { opacity: 0.35; transform: translateY(-6px) scale(0.96); }

/* Reveal line: container expands while inner slides up + underline sweep */
.hero-title .line-3 {
  transition-delay: 0s;
  height: 0;
  overflow: hidden;
  transition: height .7s cubic-bezier(.2,.8,.2,1), opacity .6s ease;
  opacity: 0;
  transform: none;
}
.hero-title .line-3.expand { height: 1.1em; opacity: 1; }
.hero-title .reveal-inner {
  display: inline-block;
  color: var(--violet);
  transform: translateY(100%);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.hero-title .line-3.expand .reveal-inner { transform: translateY(0); }
.hero-title .underline-sweep { position: relative; display: inline-block; }
.hero-title .underline-sweep::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  height: 10px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 70%, transparent 100%);
  border-radius: 6px;
  transition: width 1s cubic-bezier(.2,.8,.2,1) .4s;
}
.hero-title .line-3.expand .underline-sweep::after { width: 100%; }

.hero-sub {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.55;
}
@media (max-width: 1100px) { .hero-sub { margin: 0 auto 36px; } }

.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
}
@media (max-width: 1100px) { .hero-cta-row { justify-content: center; } }

/* Steeve intro pill INSIDE hero - 1.5x bigger */
.hero .steeve-intro-row {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 36px;
  background: #F6F4FF;
  border-radius: 999px;
  margin-bottom: 36px;
  width: fit-content;
  border: 1px solid rgba(102,98,255,0.18);
  box-shadow: 0 12px 32px -14px rgba(102,98,255,0.20);
}
@media (max-width: 1100px) { .hero .steeve-intro-row { margin: 0 auto 36px; } }
@media (max-width: 720px) { .hero .steeve-intro-row { flex-direction: column; border-radius: 32px; text-align: center; padding: 24px; } }
.hero .steeve-portrait-circle { width: 96px; height: 96px; border-width: 4px; }
.hero .steeve-arrow { width: 120px; height: 60px; }
.hero .steeve-caption { font-size: 24px; line-height: 1.2; }
.hero .steeve-caption small { font-size: 13px; margin-top: 6px; }

.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 1100px) { .hero-trust { justify-content: center; } }
.hero-trust .star { color: var(--orange); }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); align-self: center; }

/* Lateral mark - full hero scene: halo, logo, scattered chips, mini dashboard */
.hero-mark-side {
  position: relative;
  width: 480px; height: 480px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 1100px) { .hero-mark-side { width: 380px; height: 380px; } }
@media (max-width: 540px) { .hero-mark-side { width: 320px; height: 320px; } }

/* Violet halo behind the logo */
.hero-halo {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,98,255,0.18) 0%, rgba(102,98,255,0.06) 50%, transparent 75%);
  animation: halo-breathe 5s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

.hero-mark-svg {
  width: 280px; height: 280px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(102,98,255,0.30));
  animation: mark-float 6s ease-in-out infinite;
}
@keyframes mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-mark-svg path {
  transform-origin: 128px 128px;
  transform-box: fill-box;
}
/* Each petal: independent light + transparency animation */
.hero-mark-svg .b1 { animation: petal-glow-1 4s ease-in-out infinite; }
.hero-mark-svg .b2 { animation: petal-glow-2 4s ease-in-out infinite .6s; }
.hero-mark-svg .b3 { animation: petal-glow-3 4s ease-in-out infinite 1.2s; }
@keyframes petal-glow-1 {
  0%, 100% { opacity: 1; filter: brightness(1); transform: translate(0,0) scale(1); }
  35% { opacity: 0.65; filter: brightness(1.3); transform: translate(-6px,-5px) scale(1.05); }
  65% { opacity: 0.9; filter: brightness(1.1); transform: translate(-3px,-2px) scale(1.02); }
}
@keyframes petal-glow-2 {
  0%, 100% { opacity: 1; filter: brightness(1); transform: translate(0,0) scale(1); }
  35% { opacity: 0.6; filter: brightness(1.35); transform: translate(5px,2px) scale(1.06); }
  65% { opacity: 0.85; filter: brightness(1.15); transform: translate(2px,1px) scale(1.03); }
}
@keyframes petal-glow-3 {
  0%, 100% { opacity: 1; filter: brightness(1); transform: translate(0,0) scale(1); }
  35% { opacity: 0.7; filter: brightness(1.25); transform: translate(2px,7px) scale(1.04); }
  65% { opacity: 0.88; filter: brightness(1.12); transform: translate(1px,3px) scale(1.02); }
}
.hero-mark-orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(102,98,255,0.25);
  animation: orbit-pulse 8s ease-in-out infinite;
}
.hero-mark-orbit-2 {
  inset: 30px;
  border-color: rgba(102,98,255,0.3);
  border-style: dotted;
  animation-direction: reverse;
  animation-duration: 10s;
}
@keyframes orbit-pulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  50% { transform: rotate(180deg) scale(1.04); opacity: 0.9; }
}

/* Floating chips - accounting concepts orbiting the logo */
.hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.chip {
  position: absolute;
  background: var(--bg-card);
  border: 1.5px solid rgba(16,13,46,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px -6px rgba(16,13,46,0.18);
  white-space: nowrap;
  opacity: 0;
  animation: chip-appear 6s ease-in-out infinite;
}
.chip-1 { top: 8%;  left: 4%;   animation-delay: 0.2s; }
.chip-2 { top: 18%; right: 0%;  animation-delay: 0.5s; background: var(--violet); color: #fff; border-color: var(--violet); }
.chip-3 { top: 48%; right: -6%; animation-delay: 0.8s; }
.chip-4 { bottom: 22%; right: 4%; animation-delay: 1.1s; background: var(--orange); color: #fff; border-color: var(--orange); }
.chip-5 { bottom: 6%; left: 30%;  animation-delay: 1.4s; }
.chip-6 { bottom: 32%; left: -2%; animation-delay: 1.7s; }
.chip-7 { top: 38%; left: -8%;  animation-delay: 2.0s; }
@keyframes chip-appear {
  0% { opacity: 0; transform: translateY(8px) scale(0.85); }
  18%, 70% { opacity: 1; transform: translateY(0) scale(1); }
  85%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}

/* Mini dashboard - emerges from chips */
.hero-mini-dash {
  position: absolute;
  bottom: -10px; right: -20px;
  width: 240px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 24px 50px -16px rgba(16,13,46,0.22), 0 0 0 1px rgba(16,13,46,0.04);
  z-index: 3;
  animation: dash-rise 6s ease-in-out infinite;
}
@media (max-width: 1100px) { .hero-mini-dash { right: -8px; bottom: 0; width: 220px; } }
@keyframes dash-rise {
  0%, 30% { opacity: 0; transform: translateY(20px) scale(0.92); }
  55%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.95); }
}
.hmd-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hmd-dot { width: 8px; height: 8px; border-radius: 50%; background: #16C172; box-shadow: 0 0 0 4px rgba(22,193,114,0.18); }
.hmd-title { font-size: 13px; font-weight: 700; color: var(--ink); flex: 1; }
.hmd-pill { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #0E8C56; background: #DEF6E8; padding: 3px 8px; border-radius: 999px; }
.hmd-chart { width: 100%; height: 64px; display: block; }
.hmd-area { fill: rgba(102,98,255,0.14); }
.hmd-line { fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hmd-foot { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.hmd-foot span:last-child { color: var(--violet); font-weight: 700; }

/* ===========================================
   STEEVE intro band - portrait + arrow + caption
   =========================================== */
.steeve-intro {
  background: var(--bg-cream);
  padding: 60px 0 40px;
  border-top: 1px solid #00000010;
  border-bottom: 1px solid #00000010;
  overflow: hidden;
}
.steeve-intro-row {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
  position: relative;
}
.steeve-portrait-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 4px solid #fff;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.2);
  position: relative;
}
.steeve-portrait-circle img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
}
.steeve-portrait-circle .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E8E5FF, #E5DFFB);
  color: var(--violet);
  font-weight: 700; font-size: 32px; letter-spacing: -0.02em;
}
.steeve-arrow {
  width: 140px; height: 70px;
  position: relative;
}
.steeve-arrow svg { width: 100%; height: 100%; overflow: visible; }
.steeve-arrow path {
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-arrow 2.4s ease-in-out infinite;
}
@keyframes draw-arrow {
  0% { stroke-dashoffset: 200; }
  40%, 60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}
.steeve-caption {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.steeve-caption span { color: var(--violet); }
.steeve-caption small {
  display: block;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .steeve-intro-row { flex-direction: column; gap: 18px; text-align: center; }
  .steeve-arrow { transform: rotate(90deg); width: 70px; height: 70px; }
}

/* ===========================================
   PROMESSE - dashboard (was in Hero)
   =========================================== */
.promesse {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .promesse { grid-template-columns: 1fr; gap: 48px; } }
.promesse-text h2 { margin-bottom: 28px; }
.promesse-text .lead { margin-bottom: 32px; }
.promesse-bullets { display: grid; gap: 14px; margin-bottom: 36px; }
.promesse-bullets li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 17px; color: var(--ink);
  font-weight: 500;
}
.promesse-bullets li::before {
  content: "";
  width: 22px; height: 22px;
  background: var(--violet);
  flex-shrink: 0;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 12l4 4 8-9' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* Dashboard mockup - animated */
.dashboard {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(16,13,46,0.18), 0 0 0 1px rgba(16,13,46,0.04);
}
.dash-flow {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.dash-flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative; z-index: 1;
}
.dash-flow-step .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s ease;
}
.dash-flow-step.active .icon { background: var(--orange); border-color: var(--orange); box-shadow: 0 8px 20px -6px rgba(102,98,255,0.5); }
.dash-flow-step .icon svg { width: 26px; height: 26px; }
.dash-flow-step .lbl {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.dash-flow-line {
  flex: 1; height: 2px; margin: 0 6px; position: relative;
  background: var(--hairline); margin-top: -28px;
}
.dash-flow-line::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%;
  background: var(--orange);
  width: var(--progress, 0%);
  transition: width .6s ease;
}

.dash-card {
  background: var(--bg-card); border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
}
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.dash-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dash-dots { display: flex; gap: 4px; }
.dash-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--hairline); }
.dash-dots span.on { background: var(--orange); }

.kpi-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 14px 12px;
}
.kpi .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.kpi .val { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.kpi .delta { font-family: var(--font-mono); font-size: 10.5px; color: var(--green); margin-top: 4px; }
.kpi .delta.neutral { color: var(--ink-3); }

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
}
.chart-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.chart-card-head .yoy { color: var(--green); }
.chart-svg { width: 100%; height: 80px; display: block; }
.chart-svg .area { fill: url(#chart-grad); }
.chart-svg .line { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-svg .line-anim { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw-line 2.5s ease-out forwards 0.3s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.chart-svg .dot { fill: var(--orange); }

.toast {
  position: absolute;
  bottom: -18px; right: -8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 12px 28px -8px rgba(16,13,46,0.4);
  animation: toast-in .6s cubic-bezier(.2,.8,.2,1) 1.8s both;
}
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================================
   STEEVE bio block
   =========================================== */
.steeve-bio {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .steeve-bio { grid-template-columns: 1fr; gap: 40px; } }

.steeve-portrait-big {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -20px rgba(16,13,46,0.2);
}
.steeve-portrait-big img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.steeve-portrait-big .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #E8E5FF 0%, #E5DFFB 100%);
  color: var(--violet); gap: 18px;
}
.steeve-portrait-big .placeholder svg { width: 120px; height: 120px; opacity: 0.7; }
.steeve-portrait-big .placeholder .lbl {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2);
}
.steeve-portrait-big .badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.steeve-portrait-big .badge .name { font-weight: 700; font-size: 16px; }
.steeve-portrait-big .badge .role { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.steeve-portrait-big .badge .stamp { background: var(--violet); color: #fff; padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; font-weight: 500; }

.steeve-bio-content h2 { margin-bottom: 28px; }
.steeve-bio-content .lead { margin-bottom: 24px; }
.steeve-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; padding: 28px 0; margin: 32px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.steeve-stats .stat .num { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.steeve-stats .stat .num span { color: var(--violet); }
.steeve-stats .stat .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

/* ===========================================
   EXPERTISES - uniform card grid (no featured outlier)
   =========================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.expertise-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
}
.expertise-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(16,13,46,0.15); }
.expertise-card .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.expertise-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.expertise-card .icon svg { width: 28px; height: 28px; }
.expertise-card h3 { font-size: 24px; }
.expertise-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.expertise-card ul { list-style: none; margin-top: auto; padding-top: 12px; }
.expertise-card ul li {
  font-size: 14px; color: var(--ink-2);
  padding: 6px 0;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 10px;
}
.expertise-card ul li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}

/* ===========================================
   SECTEURS - illustrated cards
   =========================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sectors-grid { grid-template-columns: 1fr; } }
.sector-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  border: 1.5px solid transparent;
}
.sector-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.sector-card .illus {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.sector-card .illus svg { width: 64%; height: 64%; }
.sector-card .name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.sector-card .desc { font-size: 13px; color: var(--ink-3); margin-top: -8px; }

/* ===========================================
   STACK / OUTILS - v5 split layout
   =========================================== */
.stack-sub-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.stack-sub-desc {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 36px;
}

/* Core stack: 3 horizontal cards */
.stack-core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .stack-core-grid { grid-template-columns: 1fr; } }
.stack-core-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.stack-core-card:hover { transform: translateY(-4px); }
.scc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scc-body { display: flex; flex-direction: column; gap: 8px; }
.scc-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scc-pill {
  display: inline-block; width: fit-content;
  background: var(--violet); color: #fff;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; padding: 4px 10px;
  border-radius: 999px; font-weight: 500;
  text-transform: uppercase;
}
.scc-body p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* Connected hub - animated constellation */
.connected-hub {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 600/320;
}
@media (max-width: 720px) { .connected-hub { max-width: 100%; aspect-ratio: auto; min-height: 400px; } }

.hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
}
.hub-center span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
  font-weight: 600;
}

.hub-node {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 3;
  animation: node-float 4s ease-in-out infinite;
}
.hub-node-1 { top: 6%; left: 10%; animation-delay: 0s; }
.hub-node-2 { top: 6%; right: 10%; animation-delay: .5s; }
.hub-node-3 { bottom: 6%; left: 10%; animation-delay: 1s; }
.hub-node-4 { bottom: 6%; right: 10%; animation-delay: 1.5s; }
@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hub-node-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.2);
}
.hub-node-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.hub-node-desc { font-size: 11px; color: var(--ink-3); text-align: center; max-width: 140px; }

/* SVG connection lines */
.hub-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hub-line {
  stroke: var(--violet);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0.35;
}
.hub-pulse {
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(102,98,255,0.6));
}

/* ===========================================
   AVIS
   =========================================== */
.reviews-header {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.google-rating {
  background: var(--bg-card); border-radius: 14px; padding: 14px 22px;
  display: flex; align-items: center; gap: 12px;
}
.google-rating .rating { font-size: 24px; font-weight: 700; }
.google-rating .stars { color: var(--orange); font-size: 18px; }
.google-rating .small { font-size: 13px; color: var(--ink-3); }

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card .stars { color: var(--orange); font-size: 16px; letter-spacing: 1px; }
.review-card .quote { font-size: 16.5px; line-height: 1.55; color: var(--ink); flex: 1; font-weight: 400; }
.review-card .author { display: flex; gap: 12px; align-items: center; }
.review-card .avi {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--violet); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.review-card .author .name { font-weight: 600; font-size: 14.5px; }
.review-card .author .role { font-size: 12.5px; color: var(--ink-3); }

/* ===========================================
   PARTENAIRES
   =========================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.partner-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
  transition: all .3s ease;
  border: 1.5px solid transparent;
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.partner-card .icon {
  width: 48px; height: 48px;
  background: var(--bg-lilac);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.partner-card .icon svg { width: 26px; height: 26px; }
.partner-card .name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.partner-card .desc { font-size: 13px; color: var(--ink-3); }

/* Pastille "Helix" de l'écosystème → compacte + horizontale (override des règles inline
   #partners .eco-net-hub d'index.html ; specificité 0,1,2 > 0,1,1 pour gagner malgré l'ordre).
   Grid sans wrapper supplémentaire : .mark à gauche (2 lignes), b + small empilés à droite. */
#partners .eco-net .eco-net-hub {
  width: auto; height: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px; row-gap: 0;
  text-align: left;
  padding: 14px 24px 14px 18px;
  border-radius: 18px;
}
#partners .eco-net .eco-net-hub .mark { grid-row: 1 / span 2; grid-column: 1; width: 42px; height: 42px; margin-bottom: 0; flex: 0 0 42px; }
#partners .eco-net .eco-net-hub b { grid-column: 2; grid-row: 1; align-self: end; font-size: 19px; line-height: 1.1; }
#partners .eco-net .eco-net-hub small { grid-column: 2; grid-row: 2; align-self: start; margin-top: 2px; font-size: 11.5px; }

/* ===========================================
   FAQ
   =========================================== */
.faq-list {
  max-width: 880px; margin: 0 auto;
  display: grid; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
}
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font);
  font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .icon-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-lilac); color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600;
  transition: all .3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon-toggle { background: var(--violet); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 26px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 26px 22px; }
.faq-a p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* ===========================================
   CONTACT
   =========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-channels { display: grid; gap: 12px; margin-top: 40px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  text-decoration: none; color: #fff;
  transition: all .25s ease;
}
.contact-channel:hover { background: var(--bg-card); transform: translateX(4px); border-color: var(--violet); }
.contact-channel .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--violet); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel .icon svg path,
.contact-channel .icon svg rect,
.contact-channel .icon svg circle { stroke: #fff !important; }
.contact-channel { color: var(--ink); }
.contact-channel .label { font-weight: 600; font-size: 15px; display: block; color: var(--ink); }
.contact-channel .desc { font-size: 13px; color: var(--ink-3); }
.contact-channel .arrow { margin-left: auto; font-size: 18px; color: var(--violet); }

.contact-form {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 36px;
  color: var(--ink);
}
.contact-form h3 { color: var(--ink); margin-bottom: 8px; }
.contact-form .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid #00000015;
  font-family: var(--font); font-size: 15px;
  background: var(--bg-card);
  color: var(--ink);
  transition: border-color .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--violet); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); margin: 18px 0 22px; cursor: pointer; }
.form-rgpd a { color: var(--violet); }
.form-submit { width: 100%; justify-content: center; padding: 16px; }

/* ===========================================
   LE LAB
   =========================================== */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.lab-grid-compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .lab-grid, .lab-grid-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .lab-grid, .lab-grid-compact { grid-template-columns: 1fr; } }
.lab-card {
  background: var(--bg-card);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.lab-card:hover { transform: translateY(-4px); }
.lab-card-featured {
  grid-row: span 2;
}
@media (max-width: 1100px) { .lab-card-featured { grid-column: span 2; grid-row: auto; } }
@media (max-width: 720px) { .lab-card-featured { grid-column: auto; } }
.lab-cover {
  width: 100%;
  aspect-ratio: 12/7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lab-cover svg { width: 100%; height: 100%; display: block; }
.lab-cover-big { aspect-ratio: 16/10; }
.lab-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lab-card-featured .lab-body { padding: 36px; gap: 18px; }
.lab-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lab-tag {
  background: var(--violet);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lab-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.lab-card h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.lab-card-featured h3 {
  font-size: 30px;
  line-height: 1.15;
}
.lab-card p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.lab-link {
  margin-top: auto;
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  align-self: flex-start;
  transition: gap .25s ease;
}
.lab-link:hover { letter-spacing: 0.02em; }
.lab-cta { text-align: center; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px -4px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-bounce 2s ease-in-out infinite 4s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px -4px rgba(37,211,102,0.6); }
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===========================================
   FOOTER
   =========================================== */
.foot {
  background: var(--foot-bg);
  color: var(--ink);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand p { color: var(--ink-3); font-size: 14px; margin-top: 16px; max-width: 360px; }
.foot-brand .logo-row { display: flex; align-items: center; gap: 12px; }
.foot-brand .logo-row .mark { width: 38px; height: 38px; background: #fff; border-radius: 10px; padding: 5px; display: flex; align-items: center; justify-content: center; }
.foot-brand .logo-row .name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.foot-col h5 { color: var(--ink-3); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-mono); font-weight: 500; }
.foot-col a { display: block; color: var(--ink); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; transition: color .2s ease; }
.foot-col a:hover { color: var(--violet); }

/* ════════ Avis clients (Google, copiés en dur) ════════ */
.rev-head { display: flex; justify-content: center; }
.rev-gbadge { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid rgba(16,13,46,.08); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--ink-2); box-shadow: 0 14px 40px -32px rgba(16,13,46,.4); }
.rev-gbadge b { color: var(--ink); font-weight: 800; }
.rev-stars { color: #F5A623; letter-spacing: 1px; }
/* Carousel horizontal (remplace l'ancien masonry .rev-grid columns:3) */
.rev-carousel { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.rev-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.rev-viewport::-webkit-scrollbar { display: none; }
.rev-track { display: flex; gap: 20px; padding: 4px 2px; }
.rev-arrow { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--bg-card); color: var(--ink); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(16,13,46,.4); transition: transform .2s; }
.rev-arrow:hover { transform: scale(1.08); }
html[data-theme="dark"] .rev-arrow { background: #221C40; color: #F2F0FB; border-color: rgba(255,255,255,.16); }
.rev-card { flex: 0 0 340px; max-width: 340px; scroll-snap-align: start; margin: 0; break-inside: auto; background: var(--bg-card); border: 1px solid rgba(16,13,46,.06); border-radius: 18px; padding: 22px 22px 20px; box-shadow: 0 18px 46px -34px rgba(16,13,46,.3); }
@media (max-width: 600px) { .rev-card { flex-basis: 84%; max-width: 84%; } }
.rev-card .rev-stars { display: block; font-size: 15px; }
.rev-text { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); margin: 12px 0 18px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; background: var(--rc, #6662FF); }
.rev-who { display: flex; flex-direction: column; line-height: 1.3; }
.rev-name { font-family: var(--font); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.rev-date { font-size: 12px; font-weight: 500; color: var(--ink-3); }
[data-theme="dark"] .rev-gbadge,
[data-theme="dark"] .rev-card { border-color: rgba(255,255,255,.10); }
.foot .foot-brand .logo-row .mark svg use { fill: var(--violet) !important; }

/* Crédit « Designed by LS » + monogramme (accueil + pages internes) */
.foot-bottom-right { display: inline-flex; align-items: center; gap: 6px; }
.ls-logo { display: inline-block; vertical-align: middle; opacity: .8; }
.ex-foot-credit { display: inline-flex; align-items: center; gap: 6px; }
.ex-foot .ls-logo { display: inline-block; vertical-align: middle; opacity: .8; }

/* ════════ Corrections de contraste - MODE SOMBRE ════════
   Composants laissés en fond clair / texte sombre par le thème sombre (v38).
   Tout est scopé [data-theme="dark"] → le mode clair n'est jamais modifié. */
/* Cartes à fond blanc codé en dur → fond sombre cohérent */
html[data-theme="dark"] .steeve-quote-overlay { background: rgba(26,21,48,.88); border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .steeve-overlay-foot { border-top-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .contact-steeve { background: rgba(34,28,64,.72); border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .contact-form-v3 { background: rgba(34,28,64,.72); border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .contact-form-v3 input,
html[data-theme="dark"] .contact-form-v3 textarea { background: rgba(14,11,26,.55); color: #F2F0FB; border-color: rgba(255,255,255,.16); }
/* Textes éclaircis pour redevenir lisibles sur fond sombre */
html[data-theme="dark"] .steeve-overlay-text,
html[data-theme="dark"] .steeve-overlay-name,
html[data-theme="dark"] .contact-steeve-name,
html[data-theme="dark"] .contact-form-v3 h3 { color: #F2F0FB; }
html[data-theme="dark"] .steeve-overlay-role,
html[data-theme="dark"] .contact-steeve-promise,
html[data-theme="dark"] .contact-form-v3 .sub,
html[data-theme="dark"] .contact-form-v3 label,
html[data-theme="dark"] .form-rgpd,
html[data-theme="dark"] .contact-mini { color: #C4C0DE !important; }
/* Filtres FAQ lisibles */
html[data-theme="dark"] .faq-filter { color: #C4C0DE; border-color: rgba(255,255,255,.18); }
/* Bouton « fantôme » : contour + texte clairs */
html[data-theme="dark"] .btn.ghost { color: #F2F0FB !important; border-color: rgba(255,255,255,.34) !important; }
html[data-theme="dark"] .btn.ghost:hover { background: #F2F0FB !important; color: #14101F !important; }
/* Footer (fond sombre permanent) : liens + intitulés lisibles en mode sombre */
html[data-theme="dark"] .foot-col a { color: #C4C0DE !important; }
html[data-theme="dark"] .foot-col a:hover { color: #ffffff !important; }
html[data-theme="dark"] .foot-col h5,
html[data-theme="dark"] .foot-bottom { color: #918CAC !important; }
html[data-theme="dark"] .foot-brand p { color: #B0ACC8 !important; }
html[data-theme="dark"] .foot-brand .logo-row .name { color: #F2F0FB !important; }
/* Toast de démonstration (dashboard) */
html[data-theme="dark"] .toast { background: #221C40 !important; color: #F2F0FB !important; }
/* Bouton « sombre » inversé : texte foncé sur fond clair */
html[data-theme="dark"] .btn.dark { color: #14101F !important; }
/* Badge portrait Steeve (nom + rôle) : fond sombre */
html[data-theme="dark"] .steeve-portrait-big .badge { background: rgba(26,21,48,.92) !important; border-color: rgba(255,255,255,.12) !important; }
/* Filtre FAQ actif : texte blanc conservé sur violet */
html[data-theme="dark"] .faq-filter.active { color: #ffffff !important; }
/* Liens « Voir … en détail » : violet plus clair en mode sombre */
html[data-theme="dark"] .sectors-more a { color: #8B87FF; }

/* ════════ Écran de chargement (logo Helix, ~1 s) ════════ */
#preloader { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #FBFAF7; transition: opacity .55s ease, visibility .55s ease; }
html[data-theme="dark"] #preloader { background: #0E0B1A; }
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
html[data-preloaded] #preloader { display: none !important; }
#preloader .pl-logo { width: 88px; height: 88px; animation: pl-pulse 1.73s ease-in-out infinite; }
#preloader .pl-logo svg { width: 100%; height: 100%; display: block; }
#preloader .pl-logo path { fill: #6662FF; opacity: 0; animation: pl-strand .9s ease forwards; }
#preloader .pl-logo path:nth-child(1) { animation-delay: .15s; }
#preloader .pl-logo path:nth-child(2) { animation-delay: .39s; }
#preloader .pl-logo path:nth-child(3) { animation-delay: .63s; }
#preloader .pl-name { font-family: var(--font, 'Moderustic', system-ui, sans-serif); font-weight: 800; font-size: 23px; letter-spacing: -.04em; color: #100D2E; opacity: 0; animation: pl-fade .75s ease .75s forwards; }
html[data-theme="dark"] #preloader .pl-name { color: #F2F0FB; }
@keyframes pl-strand { to { opacity: 1; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  #preloader .pl-logo { animation: none; }
  #preloader .pl-logo path, #preloader .pl-name { animation: none; opacity: 1; }
}
.foot-bottom {
  border-top: 1px solid rgba(102,98,255,0.18);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ===========================================
   REVEAL on scroll
   =========================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ===========================================
   ONBOARDING TIMELINE
   =========================================== */
.timeline {
  position: relative;
  padding: 40px 0 20px;
}
.timeline-track {
  position: absolute;
  left: 8%; right: 8%;
  top: 78px;
  height: 4px;
  background: rgba(102,98,255,0.15);
  border-radius: 999px;
  overflow: hidden;
}
.timeline-track-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--orange));
  border-radius: 999px;
  transition: width 7s cubic-bezier(.4,.0,.2,1);
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 980px) {
  .timeline-steps { grid-template-columns: 1fr; }
  .timeline-track { left: 32px; right: auto; top: 60px; bottom: 60px; width: 4px; height: auto; }
  .timeline-track-fill { width: 100% !important; height: 0%; transition: height 7s cubic-bezier(.4,.0,.2,1); }
  .timeline.in .timeline-track-fill,
  #onboarding-timeline .timeline-track-fill { height: 100%; }
}
.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  opacity: 0.35;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.tl-step.on { opacity: 1; transform: translateY(0); }
.tl-dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid rgba(102,98,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--violet);
  position: relative;
  z-index: 2;
  transition: all .5s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 4px 12px -4px rgba(16,13,46,0.1);
}
.tl-step.on .tl-dot {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(102,98,255,0.15), 0 8px 24px -8px rgba(102,98,255,0.4);
}
.tl-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px -12px rgba(16,13,46,0.12), 0 0 0 1px rgba(16,13,46,0.04);
  text-align: left;
  width: 100%;
  position: relative;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.tl-step.on .tl-card { transform: translateY(-4px); }
.tl-card .tl-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(102,98,255,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}
.tl-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.tl-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 980px) {
  .tl-step { flex-direction: row; align-items: flex-start; gap: 20px; padding-left: 16px; }
  .tl-step .tl-dot { flex-shrink: 0; }
  .tl-card { text-align: left; }
}

/* ══════════════════════════════════════════
   BANDEAU UNIFIÉ (.site-nav) - identique sur toutes les pages
══════════════════════════════════════════ */
.site-nav { position: sticky; top: 0; z-index: 200; background: var(--nav-bg); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--hairline); }
.site-nav-inner { max-width: 1080px; margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; gap: 14px; position: relative; }
.sn-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.sn-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--violet); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 14px -5px rgba(102,98,255,.5); flex: 0 0 38px; }
.sn-mark svg { width: 80%; height: 80%; }
.sn-mark svg use { fill: #fff; }
.sn-name { font-family: var(--font); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.sn-links { display: flex; align-items: center; gap: 2px; }
.sn-links a { text-decoration: none; color: var(--ink-2); font-family: var(--font-body, 'Inter', system-ui, sans-serif); font-weight: 600; font-size: 14.5px; padding: 9px 13px; border-radius: 999px; transition: background .18s ease, color .18s ease; white-space: nowrap; }
.sn-links a:hover { background: var(--bg-lilac); color: var(--violet); }
.sn-links a.active { color: var(--violet); }
.sn-links a.active::after { content: ''; display: block; height: 2px; margin: 3px 13px 0; border-radius: 2px; background: var(--violet); }
.sn-cta { display: inline-flex; align-items: center; margin-left: 10px; background: var(--violet) !important; color: #fff !important; box-shadow: 0 8px 20px -8px rgba(102,98,255,.6); }
.sn-cta:hover { background: var(--violet-deep) !important; color: #fff !important; }
.sn-cta.active::after { display: none; }
.sn-burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; align-items: center; justify-content: center; border-radius: 10px; }
.sn-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site-nav.open .sn-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.open .sn-burger span:nth-child(2) { opacity: 0; }
.site-nav.open .sn-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 920px) {
  .sn-burger { display: flex; }
  .sn-links { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(251,250,247,.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(16,13,46,.08); padding: 10px 18px 18px; box-shadow: 0 18px 34px -20px rgba(16,13,46,.3); }
  .site-nav.open .sn-links { display: flex; }
  .sn-links a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .sn-links a.active::after { display: none; }
  .sn-links a.active { background: var(--bg-lilac); }
  .sn-cta { margin-left: 0; justify-content: center; margin-top: 6px; }
}

/* ── Clic du bandeau harmonisé : même retour visuel (press) sur liens, logo, burger et CTA ── */
.sn-brand, .sn-burger { transition: transform .12s cubic-bezier(.2,.8,.2,1); }
.sn-links a { transition: background .18s ease, color .18s ease, transform .12s cubic-bezier(.2,.8,.2,1); }
.sn-brand:active, .sn-burger:active, .sn-links a:active { transform: scale(.94); }
.sn-cta { transition: background .2s ease, transform .14s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.sn-cta:hover { transform: translateY(-1px); }
.sn-cta:active { transform: scale(.96) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .sn-brand, .sn-burger, .sn-links a, .sn-cta { transition: background .18s ease, color .18s ease; }
  .sn-brand:active, .sn-burger:active, .sn-links a:active, .sn-cta:active, .sn-cta:hover { transform: none; }
}

/* ── Tokens d'accent + chrome partagé des pages (Expertises, Secteurs, Outils, Recrutement, Lab) ── */
:root {
  --acc-violet:#6662FF; --acc-violet-soft:#E8E5FF; --acc-violet-deep:#3A33B8;
  --acc-teal:#14A38B;   --acc-teal-soft:#D4F0EA;
  --acc-amber:#E0A13A;  --acc-amber-soft:#FBEDCD;
  --acc-coral:#EC6A5E;  --acc-coral-soft:#FBE0DC;
  --acc-blue:#3E8EF0;   --acc-blue-soft:#DCEAFB;   --acc-blue-deep:#1C5BB0;
  --acc-rose:#E0518E;   --acc-rose-soft:#FBDCEA;   --acc-rose-deep:#A12A5E;
  --ex-bg:#FBFAF7;
}
.std-page { background:var(--ex-bg); color:var(--ink,#100D2E); font-family:var(--font-body); -webkit-font-smoothing:antialiased; }
.ex-wrap { max-width:1080px; margin:0 auto; padding:0 24px; }
.ex-head { padding:74px 0 10px; text-align:center; }
.ex-eyebrow { font-family:var(--font-mono); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--acc-violet); font-weight:600; }
.ex-head h1 { font-family:var(--font); font-size:clamp(34px,5vw,56px); font-weight:700; line-height:1.1; letter-spacing:-.025em; margin:16px auto 18px; max-width:820px; }
.ex-head h1 em { font-style:normal; font-family:var(--font); font-weight:600; color:var(--acc-violet); }
.ex-head p.lead { max-width:660px; margin:0 auto; font-size:clamp(16px,1.6vw,19px); line-height:1.6; color:var(--ink-2); }
.ex-final { margin:46px 0 72px; background:linear-gradient(135deg,#6662FF,#4339E0); border-radius:28px; padding:50px 34px; text-align:center; color:#fff; box-shadow:0 30px 60px -30px rgba(102,98,255,.6); }
.ex-final h2 { font-family:var(--font); font-size:clamp(24px,3vw,34px); font-weight:700; letter-spacing:-.02em; margin-bottom:12px; color:#fff; }
.ex-final h2 em { font-style:normal; font-family:var(--font); color:#fff; }
.ex-final p { color:#fff; font-size:16px; margin:0 auto 26px; max-width:540px; }
.ex-final .row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.ex-final a { text-decoration:none; font-weight:600; font-size:15px; padding:13px 24px; border-radius:999px; display:inline-flex; align-items:center; gap:8px; transition:transform .2s; }
.ex-final a:hover { transform:translateY(-2px); }
.ex-final a.primary { background:#fff; color:var(--acc-violet); }
.ex-final a.ghost { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.32); }
.ex-foot { background:#100D2E; color:rgba(255,255,255,.7); padding:38px 0; }
.ex-foot-inner { max-width:1080px; margin:0 auto; padding:0 24px; display:flex; flex-wrap:wrap; align-items:center; gap:16px; justify-content:space-between; }
.ex-foot .fb { display:flex; align-items:center; gap:10px; text-decoration:none; }
.ex-foot .fb .mark { width:34px; height:34px; border-radius:9px; background:#fff; display:flex; align-items:center; justify-content:center; }
.ex-foot .fb .mark svg { width:80%; height:80%; } .ex-foot .fb .mark svg use { fill:var(--acc-violet); }
.ex-foot .fb .name { color:#fff; font-weight:700; font-size:18px; font-family:var(--font); }
.ex-foot-links { display:flex; gap:20px; flex-wrap:wrap; }
.ex-foot a { color:rgba(255,255,255,.7); text-decoration:none; font-size:14px; transition:color .2s; }
.ex-foot a:hover { color:#fff; }
.ex-foot .copy { width:100%; font-size:12.5px; color:rgba(255,255,255,.4); margin-top:6px; }

/* ══════════════════════════════════════════════════════════════
   v38 - MODE SOMBRE  (bascule clair/sombre · les deux versions conservées)
   Tout le sombre est ISOLÉ ici → le mode clair reste strictement identique.
   ══════════════════════════════════════════════════════════════ */
:root { color-scheme: light; }
html { transition: background-color .35s ease, color .35s ease; }

html[data-theme="dark"] {
  color-scheme: dark;
  /* Surfaces - fond profond teinté violet (pas de noir pur), surfaces en élévation */
  /* html[...] (0,1,1) bat toute redéfinition :root (0,1,0) faite dans les <style> de page (ex. --ex-bg) */
  --bg: #0E0B1A;
  --page: #0E0B1A;
  --bg-card: #18142F;
  --surface-2: #221C40;
  --ex-bg: #0E0B1A;
  --nav-bg: rgba(14,11,26,.85);
  --foot-bg: #120E26;
  --hairline: rgba(255,255,255,.12);
  /* Texte (contraste : primaire ~15:1, secondaire ~9:1, tertiaire ~4.8:1) */
  --ink: #F2F0FB;
  --ink-2: #C4C0DE;
  --ink-3: #918CAC;
}

/* Fond de page : bat les règles claires #FBFAF7 !important (body/hero/#steeve) */
[data-theme="dark"] body,
[data-theme="dark"] .hero,
[data-theme="dark"] #steeve { background: var(--page) !important; }

/* Sections pastel → variations de BLEU sombre + dégradés (cohérence accueil ; pages annexes) */
[data-theme="dark"] .section.bg-cream,
[data-theme="dark"] .section.bg-yellow { background: linear-gradient(175deg,#151E40 0%,#0E1531 100%); }
[data-theme="dark"] .section.bg-mint,
[data-theme="dark"] .section.bg-sage  { background: linear-gradient(175deg,#0F1B34 0%,#0A1124 100%); }
[data-theme="dark"] .section.bg-lilac,
[data-theme="dark"] .section.bg-peach { background: linear-gradient(175deg,#1A2046 0%,#101635 100%); }
[data-theme="dark"] .section.bg-coral { background: linear-gradient(175deg,#13182F 0%,#0C1022 100%); }
[data-theme="dark"] .section.bg-pink  { background: linear-gradient(175deg,#151E40 0%,#0E1531 100%); }
[data-theme="dark"] .section.bg-blue  { background: linear-gradient(175deg,#0F1B34 0%,#0A1124 100%); }
/* .bg-violet : section de marque → inchangée (texte blanc déjà conforme) */

/* Footer : bordure de séparation visible en sombre */
[data-theme="dark"] .foot-bottom { border-top-color: rgba(255,255,255,.12); }

/* Inputs / verre clair → verre sombre */
[data-theme="dark"] .nl-form input,
[data-theme="dark"] .contact-form-v3 input,
[data-theme="dark"] .contact-form-v3 textarea { background: rgba(255,255,255,.06) !important; color: var(--ink); border-color: rgba(255,255,255,.14); }

/* Petit texte violet (eyebrow) → éclairci pour le contraste sur fond sombre */
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .ex-eyebrow { color: #ABA7FF; }

/* ── MODE SOMBRE · pages internes (Expertises, Secteurs, Outils, Recrutement, Lab) ──
   --ex-bg sombre est déjà défini dans html[data-theme="dark"] ci-dessus (#0E0B1A).
   Une fois le hardcode --ex-bg:#FBFAF7 retiré des :root inline (fait par C), .std-page
   hérite du fond sombre. Overrides de contraste ci-dessous (html[...] bat les règles inline). */
html[data-theme="dark"] body.std-page,
html[data-theme="dark"] .std-page { background: var(--ex-bg); color: var(--ink); }
html[data-theme="dark"] .ex-head h1 { color: var(--ink); }
html[data-theme="dark"] .ex-head h1 em { color: #ABA7FF; }
html[data-theme="dark"] .ex-head p.lead { color: var(--ink-2); }
html[data-theme="dark"] .secp { background: var(--bg-card); border-color: rgba(255,255,255,.10); }
html[data-theme="dark"] .secp h2 { color: var(--ink); }
html[data-theme="dark"] .secp .desc { color: var(--ink-2); }
html[data-theme="dark"] .secp li { color: var(--ink); }
html[data-theme="dark"] .sec-more { color: var(--ink-2); }

/* ── Bouton bascule de thème (injecté par nav.js dans le bandeau) ── */
.sn-theme { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 8px; padding: 0; border: 1px solid var(--hairline); border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; flex: 0 0 auto; transition: background .18s ease, border-color .18s ease, transform .14s cubic-bezier(.2,.8,.2,1); }
.sn-theme:hover { background: color-mix(in srgb, var(--violet) 12%, transparent); border-color: var(--violet); }
.sn-theme:active { transform: scale(.92); }
.sn-theme svg { width: 19px; height: 19px; display: block; }
.sn-theme .ic-sun { display: none; }
.sn-theme .ic-moon { display: block; }
[data-theme="dark"] .sn-theme .ic-moon { display: none; }
[data-theme="dark"] .sn-theme .ic-sun { display: block; }
@media (prefers-reduced-motion: reduce) { html { transition: none; } .sn-theme:active { transform: none; } }

/* ── Drapeau bascule FR / EN (injecté par nav.js dans le bandeau) ── */
.sn-lang { display: inline-flex; align-items: center; gap: 7px; height: 40px; margin-left: 6px; padding: 0 13px; border: 1px solid var(--hairline); border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; flex: 0 0 auto; transition: background .18s ease, border-color .18s ease, transform .14s cubic-bezier(.2,.8,.2,1); }
.sn-lang:hover { background: color-mix(in srgb, var(--violet) 12%, transparent); border-color: var(--violet); }
.sn-lang:active { transform: scale(.94); }
.sn-lang .fl { width: 21px; height: 14px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.07); flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .sn-lang:active { transform: none; } }
