/* ==========================================================================
   GOVENTIQ — Feuille de styles principale
   Concept : grille éditoriale 12 colonnes, filets fins, grande typographie
   légère, accent bleu réservé aux trajectoires et aux interactions.
   Mobile-first. Aucune dépendance.
   ========================================================================== */

/* Polices auto-hébergées (Geist et Geist Mono, licence SIL Open Font License 1.1) */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 200 500; font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 200 500; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Couleurs de marque */
  --navy: #0B1F3B;
  --accent: #1E88E5;
  --accent-on-dark: #6CB4F5;
  --bg: #FAFBFC;
  --white: #FFFFFF;
  --muted: #5F6B7A;
  --line: #E3E8EF;
  --ink: #16263F;               /* texte courant, bleu nuit légèrement adouci */
  --line-strong: #CBD3DE;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Typographie */
  --font-sans: "Geist", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.35rem + 4.9vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h2-xl: clamp(2.25rem, 1.2rem + 4.2vw, 5rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Espacements */
  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
  --section: clamp(88px, 7rem + 4vw, 176px);
  --header-h: 84px;
  --header-h-compact: 64px;

  /* Mouvement */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 300ms;
  --t-med: 450ms;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; color: var(--navy); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; font-size: var(--fs-small);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section + .section--rule { border-top: 1px solid var(--line); }

/* ---------- Typographie utilitaire ---------- */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6;
}
.label--plain::before { display: none; }

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38em;
}
.prose { max-width: 62ch; color: var(--muted); }
.prose p + p { margin-top: 1.1em; }

/* Lien avec soulignement animé */
.link-underline {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy);
  padding-block: 4px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0.28); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.link-underline:hover::after,
.link-underline:focus-visible::after { transform: scaleX(1); }

.arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}
a:hover .arrow, a:focus-visible .arrow,
button:hover .arrow, button:focus-visible .arrow,
summary:hover .arrow { transform: translateX(5px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:hover { background: #133056; border-color: #133056; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(250, 251, 252, 0);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height var(--t-med) var(--ease);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-compact); }

/* Logo : remplacer le contenu de .brand par <img src="/assets/img/logo-goventiq.svg" alt="GOVENTIQ"> */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-mark { width: 22px; height: 22px; }
.brand-word {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
}

.nav-primary { display: none; }
.header-tools { display: flex; align-items: center; gap: 20px; }

.lang-switch {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.lang-switch a { padding: 6px 2px; transition: color var(--t-fast) var(--ease); }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { color: var(--navy); }
.lang-switch span { margin-inline: 6px; opacity: .5; }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle-lines { position: relative; width: 24px; height: 10px; }
.menu-toggle-lines::before, .menu-toggle-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--navy);
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}
.menu-toggle-lines::before { top: 0; }
.menu-toggle-lines::after { top: 8.5px; }
.menu-open .menu-toggle-lines::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines::after { top: 4.25px; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--white);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity var(--t-fast) var(--ease); }
.mobile-menu ul { border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-size: 1.5rem; font-weight: 300; letter-spacing: -0.02em; color: var(--navy);
}
.mobile-menu-foot { display: grid; gap: 24px; }
.mobile-menu .lang-switch { display: block; }
.mobile-menu .btn { width: 100%; }
.menu-open body, body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav-primary { display: block; }
  .nav-primary ul { display: flex; gap: clamp(20px, 2.2vw, 36px); }
  .nav-primary a {
    position: relative;
    font-size: 0.9375rem;
    color: var(--ink);
    padding-block: 8px;
    transition: color var(--t-fast) var(--ease);
  }
  .nav-primary a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--navy); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-med) var(--ease);
  }
  .nav-primary a:hover::after, .nav-primary a:focus-visible::after { transform: scaleX(1); }
  .header-tools .lang-switch { display: block; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 {
  margin-top: 28px;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .line { display: block; }
.hero .lead { margin-top: 32px; max-width: 34em; }
.hero-actions {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
}
.hero-visual {
  position: relative;
  min-width: 0;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.hero-visual svg { width: 100%; height: auto; overflow: visible; }

.hero-strip {
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}
.hero-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-strip-inner strong { color: var(--navy); font-weight: 400; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .hero-visual { margin-inline: 0 0; justify-self: end; }
}

/* Tracé du visuel hero */
.viz-grid line { stroke: var(--line); stroke-width: 1; }
.viz-arc { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.viz-tree path { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .35; }
.viz-tree rect { fill: var(--bg); stroke: var(--navy); stroke-width: 1; }
.viz-tree rect.is-root { fill: var(--navy); }
.viz-bars rect { fill: var(--navy); opacity: .08; }
.viz-bars rect.is-last { opacity: .9; fill: var(--accent); }
.viz-path { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.viz-path-shadow { fill: none; stroke: var(--accent); stroke-width: 10; opacity: .06; }
.viz-node circle { fill: var(--white); stroke: var(--accent); stroke-width: 1.5; }
.viz-node circle.is-end { fill: var(--accent); }
.viz-text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; fill: var(--muted); }
.viz-text--strong { fill: var(--navy); }
.viz-frame { fill: none; stroke: var(--navy); stroke-width: 1; }

/* ==========================================================================
   Positionnement
   ========================================================================== */
.positioning-grid {
  display: grid; gap: 40px;
}
.positioning-grid .h2 { font-size: var(--fs-h2-xl); line-height: 1.02; letter-spacing: -0.04em; }
.positioning-body { display: grid; gap: 40px; }
.positioning-body .prose { font-size: var(--fs-lead); line-height: 1.6; }
.pillars {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line);
}
.pillar { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: 1.125rem; font-weight: 450; letter-spacing: -0.01em; }
.pillar p { margin-top: 8px; color: var(--muted); font-size: var(--fs-small); max-width: 32ch; }

@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(odd) { padding-right: 32px; }
  .pillar:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .positioning-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0; }
  .positioning-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 64px; }
  .positioning-body .h2 { grid-column: 1 / -1; margin-bottom: 24px; }
  .positioning-body .prose { grid-column: 2 / 3; font-size: var(--fs-body); }
  .positioning-body .prose--lead { grid-column: 1 / 2; font-size: var(--fs-lead); color: var(--ink); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillar, .pillar:nth-child(odd), .pillar:nth-child(even) { padding: 32px 32px 8px 0; border-left: 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ==========================================================================
   En-tête de section commun
   ========================================================================== */
.section-head {
  display: grid; gap: 28px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .h2 { max-width: 16em; }
.section-head .lead { font-size: var(--fs-body); max-width: 34em; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 64px; }
  .section-head .label { grid-column: 1 / -1; }
  .section-head .lead { justify-self: end; }
}

/* ==========================================================================
   Expertises
   ========================================================================== */
.section--white { background: var(--white); }
.expertise-list { border-top: 1px solid var(--line); }
.expertise { position: relative; border-bottom: 1px solid var(--line); }
.expertise::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.expertise:hover::before, .expertise[open]::before { transform: scaleX(1); }

.expertise summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  grid-template-areas: "num title arrow" ". text text";
  gap: 8px 16px;
  padding-block: 28px;
}
.expertise summary::-webkit-details-marker { display: none; }
.expertise-num {
  grid-area: num;
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted);
  padding-top: 0.55em; letter-spacing: .08em;
}
.expertise-title {
  grid-area: title;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.03em; font-weight: 300;
  transition: transform var(--t-med) var(--ease), color var(--t-fast) var(--ease);
}
.expertise-text {
  grid-area: text; color: var(--muted); font-size: var(--fs-small); max-width: 40ch;
}
.expertise-arrow {
  grid-area: arrow; justify-self: end; align-self: start;
  padding-top: 0.45em;
  font-size: 1.25rem; color: var(--navy);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.expertise summary:hover .expertise-title { transform: translateX(6px); }
.expertise summary:hover .expertise-arrow { transform: translateX(5px); color: var(--accent); }
.expertise[open] .expertise-arrow { transform: rotate(90deg); color: var(--accent); }

.expertise-detail {
  display: grid; gap: 20px;
  padding: 0 0 36px 64px;
}
.expertise-detail p { color: var(--ink); max-width: 56ch; }
.expertise-detail ul { display: grid; gap: 10px; }
.expertise-detail li {
  position: relative; padding-left: 22px; color: var(--muted); font-size: var(--fs-small);
}
.expertise-detail li::before {
  content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--accent);
}

@media (min-width: 900px) {
  .expertise summary {
    grid-template-columns: 96px minmax(0, 6fr) minmax(0, 4fr) 48px;
    grid-template-areas: "num title text arrow";
    gap: 32px;
    padding-block: 36px;
    align-items: start;
  }
  .expertise-text { padding-top: 0.6em; }
  .expertise-detail { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 32px; padding: 0 80px 44px 128px; }
}

/* ==========================================================================
   Approche
   ========================================================================== */
.approach-track { position: relative; }
.approach-steps { display: grid; gap: 0; position: relative; }

.approach-rail {
  position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-strong);
}
.approach-rail-fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleY(var(--progress, 0)); transform-origin: top;
}
.step {
  position: relative;
  padding: 0 0 48px 44px;
}
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: 0; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.step.is-active .step-dot { background: var(--accent); border-color: var(--accent); }
.step-num {
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); letter-spacing: .08em;
}
.step h3 {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.16em;
  color: var(--navy);
}
.step p { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); max-width: 34ch; }

@media (min-width: 960px) {
  .approach-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-top: 44px; }
  .approach-rail { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .approach-rail-fill { transform: scaleX(var(--progress, 0)); transform-origin: left; }
  .step { padding: 0; }
  .step-dot { top: -44px; }
}

/* ==========================================================================
   Secteurs
   ========================================================================== */
.sectors-grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sector {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0;
  transition: background-color var(--t-med) var(--ease);
}
.sector:hover { background: var(--white); }
.sector h3 {
  font-size: 1.25rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25;
}
.sector p { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.sector-code {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .14em; color: var(--muted);
  margin-bottom: 8px;
}
@media (min-width: 560px) { .sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .sectors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sector { padding: 36px 32px 44px; min-height: 248px; }
  .sector-code { margin-bottom: auto; padding-bottom: 48px; }
}

/* ==========================================================================
   Impact (fond bleu nuit)
   ========================================================================== */
.section--navy {
  background: var(--navy);
  color: var(--on-dark);
}
.section--navy .h2 { color: var(--on-dark); }
.section--navy .label { color: var(--on-dark-muted); }
.section--navy .lead { color: var(--on-dark-muted); }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--on-dark-line);
}
.stat {
  padding: 32px 16px 8px 0;
  border-bottom: 1px solid var(--on-dark-line);
  min-width: 0;
}
.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--on-dark-line); }
.stat-value {
  font-size: clamp(2.75rem, 1.8rem + 3.8vw, 5rem);
  font-weight: 200; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
}
.stat-label { margin-top: 16px; color: var(--on-dark-muted); font-size: var(--fs-small); padding-bottom: 24px; }
.stat-value.is-placeholder { color: rgba(255, 255, 255, 0.4); }
.placeholder-tag {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-on-dark);
  border: 1px dashed rgba(108, 180, 245, 0.5); padding: 3px 8px;
}
.stats-note {
  margin-top: 32px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .06em;
  color: var(--on-dark-muted);
}
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--on-dark-line); }
  .stat, .stat:nth-child(even) { padding: 44px 32px 20px; border-bottom: 0; border-left: 1px solid var(--on-dark-line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   Insights / Perspectives
   ========================================================================== */
.insights-grid { display: grid; gap: 56px; }
.article { display: grid; gap: 20px; align-content: start; min-width: 0; }
.article-cover {
  position: relative;
  aspect-ratio: 4 / 3; max-width: 100%;
  background: var(--navy);
  overflow: hidden;
}
.article-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-cover svg * { transition: transform 900ms var(--ease); }
.article:hover .article-cover .cover-motion { transform: translateX(10px); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.article-meta .article-cat { color: var(--accent); }
.article h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; }
.article p { color: var(--muted); font-size: var(--fs-small); max-width: 46ch; }

.article--feature h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; font-weight: 300; }
.article--feature .article-cover { aspect-ratio: 16 / 10; }

@media (min-width: 760px) {
  .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .article--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; }
  .article--feature .article-cover { grid-row: 1 / span 4; }
}
@media (min-width: 1080px) {
  .insights-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: 40px; }
  .article--feature { grid-column: auto; grid-template-columns: 1fr; padding-right: 32px; border-right: 1px solid var(--line); }
  .article--feature .article-cover { grid-row: auto; }
}

/* ==========================================================================
   Pourquoi GOVENTIQ
   ========================================================================== */
.why-title {
  font-size: clamp(2.25rem, 1rem + 5.2vw, 6rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 300;
  max-width: 14em;
}
.why-title em { font-style: normal; color: var(--accent); }
.principles {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; gap: 0;
  border-top: 1px solid var(--navy);
}
.principle { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.principle h3 {
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 400; letter-spacing: .2em; color: var(--navy);
}
.principle p { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 24ch; font-weight: 300; }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principle { padding: 32px 40px 0 0; border-bottom: 0; }
  .principle + .principle { padding-left: 40px; border-left: 1px solid var(--line); }
}

/* ==========================================================================
   CTA final + contact
   ========================================================================== */
.cta-final { padding-bottom: clamp(56px, 6vw, 88px); }
.cta-title {
  font-size: clamp(2.25rem, 1.2rem + 4.3vw, 5rem);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 300;
  max-width: 15em;
}
.cta-row {
  margin-top: 48px;
  display: grid; gap: 32px;
}
.cta-row .lead { color: var(--muted); max-width: 30em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.cta-mail { font-family: var(--font-mono); font-size: 0.9375rem; letter-spacing: .02em; user-select: all; }
@media (min-width: 960px) {
  .cta-row { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; column-gap: 64px; }
  .cta-actions { justify-content: flex-end; }
}

.contact {
  padding-top: clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; gap: 48px; }
.contact-intro h2 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.02em; }
.contact-intro p { margin-top: 16px; color: var(--muted); font-size: var(--fs-small); max-width: 36ch; }
.contact-intro dl { margin: 40px 0 0; display: grid; gap: 20px; }
.contact-intro dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-intro dd { margin: 6px 0 0; color: var(--navy); }

.form { display: grid; grid-template-columns: 1fr; gap: 28px 32px; min-width: 0; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 0.8125rem; color: var(--muted); letter-spacing: .01em;
}
.field .req { color: var(--accent); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font: inherit; font-size: 1.0625rem; /* ≥16px : pas de zoom iOS */
  transition: border-color var(--t-fast) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 0 var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #B42318; }
.field-error { font-size: 0.8125rem; color: #B42318; min-height: 0; }

.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 0.875rem; color: var(--muted); }
.consent input {
  width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy);
}
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-legal { font-size: 0.8125rem; color: var(--muted); max-width: 46ch; }

.form-status {
  grid-column: 1 / -1;
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-small);
}
.form-status.is-error { border-left-color: #B42318; }
.form-success { display: grid; gap: 16px; padding: 40px 0; }
.form-success h3 { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); max-width: 46ch; }

@media (min-width: 720px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 80px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-small);
}
.footer-top { display: grid; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand .brand { color: var(--on-dark); }
.footer-signature {
  margin-top: 20px;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .2em; color: var(--on-dark-muted);
}
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.footer-col h2 {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; font-weight: 400;
  color: var(--on-dark); margin-bottom: 18px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color var(--t-fast) var(--ease); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  padding-top: 28px; font-size: 0.8125rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-url { color: var(--on-dark); }
.site-footer :focus-visible { outline-color: var(--accent-on-dark); }
@media (min-width: 960px) {
  .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; }
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Pages secondaires (mentions légales, confidentialité)
   ========================================================================== */
.page-simple { padding-block: clamp(56px, 8vw, 120px); }
.page-simple h1 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.1; margin-top: 24px; }
.page-simple h2 { font-size: var(--fs-h3); font-weight: 400; margin-top: 56px; letter-spacing: -0.02em; }
.page-simple p { margin-top: 16px; color: var(--muted); max-width: 66ch; }
.page-simple .todo { color: var(--accent); font-family: var(--font-mono); font-size: 0.875rem; }

/* ==========================================================================
   Animations (activées par JS, désactivées si prefers-reduced-motion)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero-enter {
  opacity: 0; transform: translateY(18px);
  animation: enter 900ms var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes enter { to { opacity: 1; transform: none; } }

.js .viz-path, .js .viz-path-shadow {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2200ms var(--ease) 500ms forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .viz-node { opacity: 0; animation: fadein 600ms var(--ease) forwards; }
@keyframes fadein { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important; }
  .js .reveal, .js .hero-enter { opacity: 1; transform: none; }
  .js .viz-path, .js .viz-path-shadow { stroke-dashoffset: 0; }
  .js .viz-node { opacity: 1; }
}

/* Délais d'animation (classes, pour rester compatible avec une CSP stricte sans style inline) */
.d1 { --delay: 80ms; } .d2 { --delay: 180ms; } .d3 { --delay: 280ms; }
.d4 { --delay: 380ms; } .d5 { --delay: 480ms; } .d6 { --delay: 580ms; }
.js .viz-node.d1 { animation-delay: 700ms; } .js .viz-node.d2 { animation-delay: 1100ms; }
.js .viz-node.d3 { animation-delay: 1500ms; } .js .viz-node.d4 { animation-delay: 1900ms; }
.js .viz-node.d5 { animation-delay: 2300ms; }

/* Correctifs de mise en page */
.positioning-grid > .label { align-self: start; }
@media (min-width: 1080px) { .positioning-grid > .label { padding-top: 1.6rem; } }
.stats, .stats dd { margin: 0; }
.field .consent input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  width: 20px; height: 20px; min-height: 0; padding: 0; border: 0; margin: 2px 0 0;
}

/* Logo officiel */
.brand-logo { height: 26px; width: auto; transition: height var(--t-med) var(--ease); }
.site-header.is-scrolled .brand-logo { height: 24px; }
.brand-logo-footer { width: 240px; height: auto; }
@media (min-width: 1080px) {
  .brand-logo { height: 30px; }
  .site-header.is-scrolled .brand-logo { height: 26px; }
}

/* Variante 3 indicateurs */
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--3 .stat, .stats--3 .stat:nth-child(even) { padding: 32px 12px 8px 16px; border-left: 1px solid var(--on-dark-line); }
.stats--3 .stat:first-child { padding-left: 0; border-left: 0; }
@media (min-width: 960px) {
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--3 .stat, .stats--3 .stat:nth-child(even) { padding: 44px 40px 20px; }
  .stats--3 .stat:first-child { padding-left: 0; }
}

/* ==========================================================================
   Pages intérieures : Expertises, Perspectives
   ========================================================================== */
.section--tight { padding-block: clamp(48px, 5vw, 80px) var(--section); }
.section-head--compact { margin-bottom: clamp(40px, 5vw, 64px); }
.lead-link { margin-top: 16px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; color: var(--muted);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.breadcrumb a { transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--navy); }

.page-hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(64px, 7vw, 112px); border-bottom: 1px solid var(--line); }
.page-hero h1, .page-title {
  margin-top: 20px;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 300; max-width: 15em;
}
.page-hero .lead { margin-top: 28px; max-width: 36em; }
.page-hero .hero-actions { margin-top: 40px; }
.page-hero-grid { display: grid; gap: 24px; }
.page-hero-num {
  font-family: var(--font-mono); font-size: clamp(3.5rem, 2rem + 6vw, 8rem); line-height: .9;
  color: var(--line-strong); letter-spacing: -0.04em;
}
.page-hero-copy { min-width: 0; }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0; align-items: start; }
  .page-hero-num { padding-top: 12px; }
}

/* Enjeux */
.issues { display: grid; gap: 0; border-top: 1px solid var(--navy); }
.issue { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.issue h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.015em; }
.issue p { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); max-width: 40ch; }
@media (min-width: 900px) {
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .issue { padding: 32px 40px 8px 0; border-bottom: 0; }
  .issue + .issue { padding-left: 40px; border-left: 1px solid var(--line); }
}

/* Approche en 4 temps */
.mini-steps { display: grid; gap: 0; counter-reset: none; border-top: 1px solid var(--line-strong); }
.mini-step { position: relative; padding: 28px 0; border-bottom: 1px solid var(--line); }
.mini-step::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 1px; background: var(--accent); }
.mini-step h3 { margin-top: 10px; font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 400; letter-spacing: .16em; color: var(--navy); }
.mini-step p { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); max-width: 34ch; }
@media (min-width: 900px) {
  .mini-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .mini-step { border-bottom: 0; padding-bottom: 0; }
}

/* Listes interventions / livrables */
.two-lists { display: grid; gap: 56px; }
.list-title { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 24px; }
.rule-list { border-top: 1px solid var(--navy); }
.rule-list li { padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 1.85em; width: 12px; height: 1px; background: var(--accent); }
@media (min-width: 900px) { .two-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; } }

/* À lire / autres */
.related-grid { display: grid; gap: 56px; }
.related-grid > div { min-width: 0; }
.related-grid .label { margin-bottom: 24px; }
.related-article { display: grid; gap: 16px; }
.related-article .article-cover { aspect-ratio: 16 / 9; }
.related-article h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; transition: color var(--t-fast) var(--ease); }
.related-article:hover h3 { color: var(--accent); }
.related-article:hover .link-underline::after { transform: scaleX(1); }
.row-links { border-top: 1px solid var(--line); }
.row-link {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.row-link--article { grid-template-columns: minmax(0, 1fr) 24px; }
.row-link--article .row-num { grid-column: 1 / -1; color: var(--accent); }
.row-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.row-title { font-size: 1.1875rem; font-weight: 400; letter-spacing: -0.015em; color: var(--navy); transition: transform var(--t-med) var(--ease), color var(--t-fast) var(--ease); }
.row-link:hover .row-title { transform: translateX(6px); color: var(--accent); }
.row-link:hover .arrow { transform: translateX(5px); }
@media (min-width: 960px) { .related-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }

/* Bandeau CTA */
.cta-band-inner { display: grid; gap: 32px; }
.cta-band .h2 { font-size: var(--fs-h2-xl); line-height: 1.04; letter-spacing: -0.04em; }
.cta-band-side { display: grid; gap: 28px; justify-items: start; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 64px; } }

/* Hub expertises (liens) */
.hub-row { position: relative; border-bottom: 1px solid var(--line); }
.hub-row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.hub-row:hover::before { transform: scaleX(1); }
.hub-row a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px;
  grid-template-areas: "num title arrow" ". text text"; gap: 8px 16px; padding-block: 28px;
}
.hub-row a:hover .expertise-title { transform: translateX(6px); }
.hub-row a:hover .expertise-arrow { transform: translateX(5px); color: var(--accent); }
@media (min-width: 900px) {
  .hub-row a { grid-template-columns: 96px minmax(0, 6fr) minmax(0, 4fr) 48px; grid-template-areas: "num title text arrow"; gap: 32px; padding-block: 36px; }
  .hub-row .expertise-text { padding-top: 0.6em; }
}

/* Cartes article cliquables */
.article { position: relative; }
.article .stretched::after { content: ""; position: absolute; inset: 0; }
.article h3 a, .article-title { transition: color var(--t-fast) var(--ease); }
.article:hover h3 a, .article-link:hover .article-title { color: var(--accent); }
.article-link { display: grid; gap: 20px; }
.article-title { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; }
.article--feature .article-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; font-weight: 300; }
.article-link p { color: var(--muted); font-size: var(--fs-small); max-width: 46ch; }
.expertise-more { margin-top: 4px; justify-self: start; font-size: var(--fs-small); }

/* Article */
.page-hero--article { border-bottom: 0; padding-bottom: 0; }
.post-head { max-width: 900px; }
.post-head h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem); max-width: 18em; }
.post-cover { margin-top: clamp(48px, 6vw, 80px); position: relative; aspect-ratio: 21 / 9; max-width: 100%; overflow: hidden; background: var(--navy); }
.post-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-grid { display: grid; gap: 48px; padding-block: clamp(56px, 7vw, 104px) var(--section); }
.takeaways { border-top: 1px solid var(--navy); padding-top: 20px; align-self: start; }
.takeaways .label { color: var(--navy); }
.takeaways ul { margin-top: 16px; display: grid; gap: 14px; }
.takeaways li { position: relative; padding-left: 22px; font-size: var(--fs-small); color: var(--ink); line-height: 1.55; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--accent); }
.post-body { min-width: 0; max-width: 68ch; font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.post-body > * + * { margin-top: 1.25em; }
.post-body h2 { margin-top: 2.4em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; }
.post-body h3 { margin-top: 2em; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; color: var(--navy); }
.post-body h2 + p, .post-body h3 + p { margin-top: .9em; }
.post-body ul { display: grid; gap: 10px; }
.post-body li { position: relative; padding-left: 24px; }
.post-body li::before { content: ""; position: absolute; left: 0; top: .9em; width: 12px; height: 1px; background: var(--accent); }
.post-body blockquote {
  margin: 2.2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--accent);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.4; font-weight: 300; letter-spacing: -0.015em; color: var(--navy);
}
.post-sign { margin-top: 3em !important; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
@media (min-width: 1080px) {
  .post-grid { grid-template-columns: minmax(0, 3.5fr) minmax(0, 8.5fr); gap: 80px; }
  .takeaways { position: sticky; top: calc(var(--header-h-compact) + 32px); }
}
.site-footer { border-top: 1px solid var(--on-dark-line); }
.post-cover svg path, .post-cover svg rect { vector-effect: non-scaling-stroke; }

/* ==========================================================================
   Raffinements design et responsivité (v2)
   ========================================================================== */
:root {
  --section: clamp(72px, 3.5rem + 5vw, 152px);
  --fs-display: clamp(2.75rem, 1.4rem + 4.9vw, 5.5rem);
}
html { -webkit-tap-highlight-color: transparent; }
p, li, dd { text-wrap: pretty; }
::selection { background: rgba(30, 136, 229, 0.16); color: var(--navy); }

/* En-têtes de section : moins d'espace mort sur mobile */
.section-head { gap: 20px; margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 960px) { .section-head { gap: 28px; } }

/* Hero : visuel maîtrisé sur tablette, rythme plus dense */
@media (min-width: 600px) and (max-width: 959px) {
  .hero-visual { max-width: 440px; }
}
@media (min-width: 960px) {
  .hero-grid { gap: clamp(48px, 5vw, 96px); }
  .hero { padding-top: clamp(56px, 6vw, 96px); }
}

/* Bandeau signature : grille stable, sans mot orphelin */
.hero-strip { margin-top: clamp(56px, 7vw, 104px); background: var(--white); }
.hero-strip-inner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px;
  padding-block: 20px;
}
.hero-strip-inner strong { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .hero-strip-inner { grid-template-columns: repeat(4, max-content); justify-content: space-between; }
}
@media (min-width: 1080px) {
  .hero-strip-inner { grid-template-columns: auto repeat(4, max-content); white-space: nowrap; }
  .hero-strip-inner strong { grid-column: auto; }
}

/* Piliers : 2 colonnes dès 480 px */
@media (min-width: 480px) and (max-width: 719px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(odd) { padding-right: 20px; }
  .pillar:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* Expertises : survol plus lisible */
.expertise summary { transition: background-color var(--t-med) var(--ease); }
.expertise-text { color: #4E5A69; }
@media (hover: hover) {
  .expertise summary:hover .expertise-title { color: var(--accent); }
}

/* Secteurs : titres alignés, liseré d'accent au survol */
.sector { position: relative; }
.sector::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.sector:hover::before { transform: scaleX(1); }
@media (max-width: 559px) {
  .sector { padding: 22px 20px 26px; gap: 8px; }
  .sector-code { margin-bottom: 4px; }
}
@media (min-width: 1080px) {
  .sector { min-height: 0; padding: 32px 28px 40px; }
  .sector-code { margin-bottom: 0; padding-bottom: 36px; }
}

/* Indicateurs : empilés sur petit écran */
@media (max-width: 599px) {
  .stats--3 { grid-template-columns: 1fr; }
  .stats--3 .stat, .stats--3 .stat:nth-child(even), .stats--3 .stat:first-child {
    display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; column-gap: 16px;
    padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--on-dark-line);
  }
  .stats--3 .stat-label { margin-top: 0; padding-bottom: 0; }
}

/* Perspectives : couvertures moins hautes sur mobile */
@media (max-width: 759px) {
  .article-cover, .article--feature .article-cover { aspect-ratio: 16 / 9; }
  .insights-grid { gap: 48px; }
}

/* CTA final : respiration avant le formulaire */
.cta-final { padding-bottom: clamp(64px, 7vw, 112px); }
.cta-row { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 599px) {
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
}

/* Formulaire : champs confortables au toucher */
@media (max-width: 719px) {
  .contact-intro dl { margin-top: 28px; }
}

/* Pied de page */
.footer-brand .brand { display: inline-block; }
@media (max-width: 959px) {
  .footer-top { gap: 44px; padding-bottom: 48px; }
  .brand-logo-footer { width: 200px; }
}
@media (max-width: 599px) {
  .footer-bottom { flex-direction: column; }
}

/* Pages intérieures : hero plus compact sur mobile */
@media (max-width: 599px) {
  .page-hero-num { font-size: 3rem; }
}

/* Très grands écrans */
@media (min-width: 1680px) {
  :root { --max: 1320px; }
}
.why-title { margin-top: clamp(24px, 3vw, 36px); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
/* Titre hero sur deux lignes nettes en grand écran */
@media (min-width: 1200px) {
  .hero h1 { font-size: clamp(3.75rem, 4.8vw, 4.4rem); }
  .hero h1 .line { white-space: nowrap; }
}
/* Article associé : couverture contenue sur tablette */
@media (min-width: 600px) and (max-width: 959px) {
  .related-article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; align-items: center; }
  .related-article .article-cover { grid-row: 1 / span 4; aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .form button[type="submit"] { width: 100%; }
}
/* Très petits écrans (320 px) */
.footer-col a { overflow-wrap: anywhere; }
@media (max-width: 359px) {
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 399px) {
  .header-inner > .link-underline { font-size: 0.875rem; gap: 6px; }
  .header-inner .brand-logo { height: 22px; }
}
