/* =========================================================
   CBMB · feuille de style du site cbmb.fr
   Bleu-noir, laiton (le « M » du logo) et sarcelle.
   IBM Plex Serif (titres), Inter (texte), IBM Plex Mono (étiquettes).
   ========================================================= */

/* ---------- Polices auto-hébergées (RGPD, licence SIL OFL) ---------- */
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/plex-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/plex-serif-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/plex-serif-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Réglages : couleurs, typo, espacements ---------- */
:root {
  --bg: #14181D;          /* bleu-noir */
  --bg-2: #1A2027;        /* sections alternées */
  --bg-deep: #101317;     /* pied de page */
  --panel: #1C232B;       /* cartes */
  --panel-2: #222A32;
  --line: #333D47;
  --line-soft: rgba(237, 231, 218, .08);
  --text: #EDE7DA;        /* papier */
  --text-2: #D2CCBF;
  --muted: #9BA3AC;
  --gold: #C9A227;        /* laiton, le M de CBMB */
  --gold-2: #DDB741;
  --gold-3: #8C7526;
  --teal: #5FB8AE;
  --on-gold: #14181D;
  --chart-base: #6E7680;

  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* échelle typographique resserrée */
  --fs-h1: clamp(1.95rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-h1-page: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  --fs-h2: clamp(1.55rem, 1.25rem + 1.05vw, 2.05rem);
  --fs-h3: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  --fs-lead: clamp(1rem, .96rem + .2vw, 1.0875rem);
  --fs-small: .875rem;
  --fs-label: .6875rem;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 7vw, 104px);
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
/* petit compteur devant chaque étiquette */
.eyebrow::before {
  content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; border: 1.3px solid currentColor;
  background: linear-gradient(currentColor, currentColor) no-repeat 4.6px 1.2px / 1.3px 4.6px; transform: rotate(35deg);
}
.h2 { margin-top: 14px; font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.01em; }
.h2 em, .hero-title em, .page-title em, .cta-panel h2 em { color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 38em; }
.mono { font-family: var(--mono); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius);
  font: 600 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--gold); text-decoration: none; }
.more-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(20, 24, 29, .86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.brand-name b { color: var(--gold); font-weight: 700; }
.brand-desc {
  display: none; padding-left: 14px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; color: var(--muted);
}
.nav { display: none; }
.nav a { position: relative; padding: 6px 0; font-size: .9063rem; color: var(--text-2); text-decoration: none; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; min-height: 40px; padding: 0 16px; font-family: var(--mono); font-weight: 400; font-size: .75rem; letter-spacing: .08em; color: var(--gold); border-color: var(--gold); }
.header-cta:hover { background: var(--gold); color: var(--on-gold); }

.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--text); cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-icon { position: relative; transform: translateY(-4px); }
.menu-icon::before { content: ""; position: absolute; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(-8px) rotate(-90deg); }
.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 60;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--bg);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  animation: menu-in .25s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--serif); font-weight: 700; font-size: 1.375rem; line-height: 1.2; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu nav a::after { content: "→"; font-family: var(--mono); font-weight: 400; font-size: 1rem; color: var(--gold); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu .btn { width: 100%; min-height: 52px; }
body.menu-open .site-header { background: var(--bg); border-bottom-color: var(--line-soft); }
@media (min-width: 980px) { .mobile-menu { display: none !important; } }

@media (min-width: 980px) {
  .nav { display: flex; gap: 32px; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 640px) { .brand-desc { display: block; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-head .lead { margin-top: 14px; }
.section-head--split { display: grid; gap: 16px; max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; }
  .section-head--split .lead { margin-top: 0; }
}

/* ---------- Bannière (bloc 1) ---------- */
.hero { position: relative; padding-block: clamp(36px, 5.5vw, 80px) clamp(48px, 6vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(201, 162, 39, .07), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(95, 184, 174, .05), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero-title { margin-top: 18px; font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.015em; max-width: 15em; }
.hero-text .lead { margin-top: 20px; max-width: 34em; }
.hero-motto { margin-top: 28px; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-motto b { font-weight: 400; color: var(--gold); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Panneau unique : trajectoire + tableau de bord */
.hero-panel { border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.panel-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-label { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.panel-legend { display: flex; gap: 16px; font-size: .75rem; color: var(--muted); }
.panel-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-key { width: 18px; height: 2px; background: var(--gold); }
.legend-key--dash { background: repeating-linear-gradient(90deg, var(--chart-base) 0 4px, transparent 4px 7px); }
.panel-chart { padding: 6px 12px 0; }
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--mono); }
.panel-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.panel-kpis li { display: grid; gap: 6px; padding: 14px 16px 16px; min-width: 0; }
.panel-kpis li + li { border-left: 1px solid var(--line); }
.kpi-name { display: flex; justify-content: space-between; gap: 6px; font-size: .75rem; color: var(--text-2); }
.kpi-trend { font-family: var(--mono); font-size: .6875rem; color: var(--teal); }
.kpi-trend--down { color: var(--gold); }
.panel-kpis svg { width: 100%; height: 22px; }
.panel-kpis path { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@media (max-width: 420px) { .panel-kpis li { padding: 12px 10px 14px; } .kpi-trend { display: none; } }

/* Fusée sur la trajectoire */
.rocket-body { transform: scale(1.1); }
.chart.is-ready .rocket { opacity: 0; transition: opacity .3s; }
.chart.is-drawn .rocket { opacity: 1; }
.chart-line { transition: stroke-dashoffset 2.2s cubic-bezier(.3, .1, .3, 1); }
.chart.is-ready .milestone { opacity: 0; transition: opacity .5s var(--ease); }
.chart.is-drawn .milestone { opacity: 1; }
.chart.is-drawn .milestone:nth-child(1) { transition-delay: .5s; }
.chart.is-drawn .milestone:nth-child(2) { transition-delay: 1.1s; }
.chart.is-drawn .milestone:nth-child(3) { transition-delay: 1.8s; }

/* ---------- Pilotage 360° ---------- */
.vision-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .vision-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.vision-grid .lead { margin-top: 16px; }
.vision-list { margin-top: 28px; display: grid; border-top: 1px solid var(--line); }
.vision-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9688rem; }
.vision-list .num { font-family: var(--mono); font-size: .75rem; color: var(--gold); padding-top: 3px; }
.vision-note { margin-top: 22px; font-size: .9375rem; color: var(--muted); }
.ring { width: min(100%, 400px); margin-inline: auto; }
.ring text { font-family: var(--mono); }
.ring .ring-center { font-family: var(--serif); font-weight: 700; }

/* ---------- Le marché : la routine coûte cher ---------- */
.routine-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .routine-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; } }
.routine-head cite { display: block; margin-top: 12px; font-family: var(--mono); font-style: normal; font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); background: var(--panel); }
.stat { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.5vw, 26px) clamp(18px, 2.2vw, 24px) 20px; border-top: 1px solid var(--line); margin-top: -1px; }
.stat + .stat { border-left: 1px solid var(--line); margin-left: -1px; }
.stat::before { content: ""; position: absolute; left: -1px; top: -1px; width: 36px; height: 2px; background: var(--gold); }
.stat-value { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.stat-value small { font-size: .55em; margin-left: 3px; color: var(--gold); }
.stat-text { font-size: .9063rem; color: var(--muted); }
.stat-source { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em; color: var(--muted); }
.routine-foot { display: grid; gap: 18px; margin-top: 28px; align-items: center; }
.routine-foot p { color: var(--text-2); max-width: 46em; }
@media (min-width: 900px) { .routine-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

/* ---------- Le voyage : cockpit + paliers ---------- */
.voyage-grid { display: grid; gap: 18px; }
.cockpit { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; }
.cockpit-inner {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; column-gap: 16px;
  padding: 12px 16px; border: 1px solid var(--line); background: rgba(28, 35, 43, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cockpit-label, .cockpit-phases { display: none; }
.speedo { grid-row: span 3; width: 96px; height: auto; }
.speedo-track, .speedo-fill { fill: none; stroke-width: 10; }
.speedo-track { stroke: var(--line); }
.speedo-fill { stroke: var(--gold); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .6s var(--ease); }
.speedo-ticks line { stroke: var(--muted); stroke-width: 2; }
.speedo-needle { transform-origin: 120px 130px; transform: rotate(-90deg); transition: transform .6s var(--ease); }
.speedo-needle line { stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }
.speedo-needle circle { fill: var(--teal); }
.cockpit-readout { font-family: var(--mono); font-size: 1.35rem; line-height: 1; }
.cockpit-readout small { margin-left: 6px; font-size: .75rem; color: var(--muted); }
.cockpit-phase { font-family: var(--mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cockpit-title { font-family: var(--serif); font-weight: 700; font-size: .9375rem; line-height: 1.3; }

.paliers { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.paliers::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.paliers::after { content: ""; position: absolute; left: 7px; top: 8px; width: 2px; height: calc(var(--p, 0) * (100% - 16px)); background: linear-gradient(var(--gold), var(--teal)); }
.palier { position: relative; padding: 22px 22px 24px; border: 1px solid var(--line); background: var(--panel); transition: border-color .4s var(--ease); }
.palier::before { content: ""; position: absolute; left: -29px; top: 26px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); transition: all .4s var(--ease); }
.palier.is-reached::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 39, .16); }
.palier.is-current { border-color: var(--gold-3); }
.palier-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.palier-num { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.palier-phase { padding: 2px 8px; border: 1px solid rgba(95, 184, 174, .5); font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.palier h3 { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
.palier p { margin-top: 8px; font-size: .9375rem; color: var(--muted); max-width: 40em; }

@media (min-width: 1000px) {
  .voyage-grid { grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
  .cockpit { top: calc(var(--header-h) + 28px); }
  .cockpit-inner { display: block; padding: 26px 24px; text-align: center; background: var(--panel); }
  .cockpit-label { display: block; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .speedo { width: 200px; margin: 18px auto 10px; }
  .cockpit-readout { font-size: 2rem; }
  .cockpit-phase { margin-top: 10px; }
  .cockpit-title { margin-top: 6px; font-size: 1.05rem; min-height: 2.6em; }
  .cockpit-phases { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .cockpit-phases span { padding: 4px 8px; border: 1px solid var(--line); font-family: var(--mono); font-size: .5938rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: all .3s var(--ease); }
  .cockpit-phases span.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
  .paliers { gap: 20px; padding-left: 40px; }
  .paliers::before, .paliers::after { left: 11px; }
  .palier { padding: 28px 30px 30px; }
  .paliers { padding-bottom: 12vh; }
  .palier::before { left: -35px; top: 31px; }
}

/* ---------- Formats (cartes) ---------- */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.format { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.format:hover { border-color: var(--gold-3); transform: translateY(-2px); }
.format-tag { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.format h3 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.format p { font-size: .9375rem; color: var(--muted); }
.format-rhythm { padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em; color: var(--text-2); }
.format .more-link { margin-top: auto; padding-top: 6px; }
.format .more-link::after { content: ""; position: absolute; inset: 0; }
.format { position: relative; }

/* ---------- Carnet de bord : carrousel de citations ---------- */
.quotes { position: relative; border: 1px solid var(--line); background: radial-gradient(70% 90% at 100% 0%, rgba(201, 162, 39, .06), transparent 70%), var(--panel); }
.quotes-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.quotes-count { font-family: var(--mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.quotes-count b { font-weight: 400; color: var(--gold); }
.quotes-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.quotes-track::-webkit-scrollbar { display: none; }
.quote-slide { scroll-snap-align: start; display: grid; gap: 22px; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 44px); min-width: 0; }
@media (min-width: 900px) { .quote-slide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.quote-theme { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.quote-slide blockquote p { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); line-height: 1.4; color: var(--text); }
.quote-slide cite { display: block; margin-top: 16px; font-family: var(--mono); font-style: normal; font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.quote-take { padding-left: 18px; border-left: 2px solid var(--gold); }
.quote-take p:first-child { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.quote-take p + p { margin-top: 8px; font-size: .9688rem; color: var(--text-2); }
.quotes-nav { display: flex; align-items: center; gap: 8px; }
.quotes-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: border-color .25s, color .25s; }
.quotes-btn:hover { border-color: var(--gold); color: var(--gold); }
.quotes-btn svg { width: 16px; height: 16px; }
.quotes-btn--prev svg { transform: scaleX(-1); }
.quotes-progress { height: 2px; background: var(--line); }
.quotes-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease); }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 90% 0%, rgba(201, 162, 39, .06), transparent 70%); }
.page-hero .container { position: relative; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.page-title { margin-top: 16px; font-family: var(--serif); font-size: var(--fs-h1-page); line-height: 1.15; letter-spacing: -.01em; max-width: 20em; }
.page-hero .lead { margin-top: 16px; }

/* Formats : liste détaillée */
.accomp-list { display: grid; gap: 16px; }
.accomp { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--panel); }
@media (min-width: 900px) { .accomp { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }
.accomp-tag { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.accomp h3 { margin-top: 10px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.accomp .for-who { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.accomp-body { font-size: .9375rem; color: var(--muted); }
.accomp-body ul { display: grid; gap: 8px; margin: 14px 0; }
.accomp-body li { position: relative; padding-left: 18px; }
.accomp-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--gold); }
.rythme { margin: 4px 0 16px; font-family: var(--mono); font-size: .75rem; color: var(--text-2); }

.choose { display: grid; border-top: 1px solid var(--line); }
.choose li { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.choose .need { color: var(--text-2); }
.choose a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9063rem; color: var(--gold); text-decoration: none; }
.choose a svg { width: 15px; height: 15px; }
@media (min-width: 800px) { .choose li { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 32px; } }

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); background: var(--panel); font-size: .875rem; color: var(--text-2); }
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }

.grid-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-lines > div { padding: 24px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.grid-lines .num, .grid-lines .sector { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.grid-lines h3 { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
.grid-lines p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
@media (min-width: 900px) { .grid-lines--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-lines--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.principle { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--panel); }
.principle .eyebrow { margin-bottom: 14px; }
.principle p:not(.eyebrow) { color: var(--text-2); max-width: 50em; }
.principle--promise p:not(.eyebrow) { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--text); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.values > div { padding: 24px 22px; border: 1px solid var(--line); background: var(--panel); }
.values h3 { font-family: var(--serif); font-size: 1.15rem; }
.values p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

.acronym-list { display: grid; border-top: 1px solid var(--line); }
.acronym-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.acronym-letter { grid-row: span 2; font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--gold); }
.acronym-word { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.acronym-text { color: var(--muted); font-size: .9375rem; }
@media (min-width: 800px) { .acronym-list li { grid-template-columns: 64px 200px minmax(0, 1fr); } .acronym-letter { grid-row: auto; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-size: 1.2rem; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--muted); font-size: .9375rem; max-width: 46em; }

/* Autres formats */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s var(--ease); }
.card:hover { border-color: var(--gold-3); }
.card h3 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.card p { color: var(--muted); font-size: .9375rem; }
.card .more-link { margin-top: auto; }
.card .more-link::after { content: ""; position: absolute; inset: 0; }

/* Bandeau de fin de page */
.cta-section { padding-block: 0 var(--section); }
.section + .cta-section, .section--alt + .cta-section { padding-top: var(--section); }
.cta-panel { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); border: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 0%, rgba(201, 162, 39, .07), transparent 70%), var(--panel); text-align: center; }
.cta-lines { position: absolute; right: -40px; bottom: -20px; width: 60%; max-width: 620px; pointer-events: none; opacity: .5; }
.cta-lines path { fill: none; stroke: var(--gold-3); stroke-width: 1.4; }
.cta-panel > *:not(svg) { position: relative; }
.cta-panel h2 { margin-top: 14px; font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.2; }
.cta-text { margin: 14px auto 0; max-width: 34em; color: var(--muted); }

/* Pages légales et 404 */
.prose { max-width: 820px; }
.prose h2 { margin: 40px 0 12px; font-family: var(--serif); font-size: 1.3rem; }
.prose p, .prose li { color: var(--text-2); font-size: .9688rem; }
.prose p + p, .prose ul { margin-top: 10px; }
.prose ul { display: grid; gap: 6px; }
.prose a { color: var(--gold); }
.todo { padding: 1px 6px; border: 1px dashed var(--gold); background: transparent; color: var(--gold-2); font-size: .875rem; }
.updated { margin-top: 40px; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.big-code { font-family: var(--mono); font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 1; color: var(--gold); }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 0; padding-top: clamp(48px, 6vw, 72px); background: var(--bg-deep); border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.footer-brand p { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.footer-thread { margin-top: 22px; max-width: 30em; padding-left: 14px; border-left: 1px solid var(--gold-3); }
.footer-thread p { margin: 0; font-family: var(--serif); font-style: italic; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.footer-thread span { display: block; margin-top: 6px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--muted); }
.footer-title { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul a { font-size: .9063rem; color: var(--text-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 28px; border-top: 1px solid var(--line-soft); font-size: .8125rem; color: var(--muted); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .speedo-fill, .speedo-needle, .palier, .palier::before, .quotes-progress span, .chart-line { transition: none; }
}

/* ---------- Ajouts brief client (taglines, promesse, principe sur l’accueil) ---------- */
.vision-label { margin-top: 28px; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vision-label + .vision-list { margin-top: 12px; }
.taglines { display: grid; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.taglines li { display: flex; align-items: center; justify-content: center; padding: 16px 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); text-align: center; }
.taglines li + li { border-top: 1px solid var(--line); }
.taglines li:last-child { color: var(--gold); }
@media (min-width: 900px) {
  .taglines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .taglines li { padding: 20px 16px; }
  .taglines li + li { border-top: 0; border-left: 1px solid var(--line); }
}
.principle--home { margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 1000px) { .voyage .principle--home { margin-left: calc(290px + 56px); } }


/* =========================================================
   Habillage CODIR / DAF
   ========================================================= */
/* Papier millimétré discret derrière les bannières */
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(237, 231, 218, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 231, 218, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-grid, .page-hero .container { z-index: 1; }

/* Bandeau « ordre du jour CODIR » */
.ticker { display: flex; align-items: stretch; border-block: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; }
.ticker-label { flex: none; display: flex; align-items: center; padding: 0 16px; background: var(--gold); color: var(--on-gold); font-family: var(--mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; }
.ticker-window { display: flex; overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-track { flex: none; display: flex; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li { display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 0; white-space: nowrap; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--text-2); }
.ticker-track li::before { content: ""; width: 6px; height: 6px; background: var(--teal); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (max-width: 520px) { .ticker-label { padding: 0 10px; font-size: .5625rem; letter-spacing: .12em; } }

/* Graphiques */
.viz { width: 100%; height: auto; }
.viz text { font-family: var(--mono); }
.viz-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.viz-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; }
.viz-head span:first-child { color: var(--gold); }
.viz-head span:last-child { color: var(--muted); }
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .75rem; color: var(--muted); }
.viz-legend span { display: inline-flex; align-items: center; gap: 7px; }
.viz-legend i { width: 12px; height: 8px; border-radius: 1px; }
.viz-legend i.dash { height: 0; width: 16px; border-top: 1.5px dashed var(--gold-2); }
.viz-legend i.dash--teal { border-top-color: var(--teal); }
.viz g:hover rect, .viz g:hover circle { filter: brightness(1.2); }

/* Page de format : visuel à droite de la bannière */
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }

/* Reporting CODIR (accueil) */
.board { border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.board-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95, 184, 174, .15); }
.board-meta { font-family: var(--mono); font-size: .6875rem; color: var(--muted); }
.board-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.board-tiles li { display: grid; gap: 4px; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.board-tiles li:nth-child(2n) { border-right: 0; }
.board-tiles li:nth-last-child(-n+2) { border-bottom: 0; }
.tile-name { font-size: .75rem; color: var(--muted); }
.tile-value { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.tile-delta { font-family: var(--mono); font-size: .6875rem; color: var(--text-2); }
.tile-delta.is-up { color: var(--teal); }
.board-charts { display: grid; gap: 14px; padding: 14px; }
.board-charts .viz-card { background: rgba(20, 24, 29, .45); }
@media (min-width: 900px) {
  .board-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board-tiles li { border-bottom: 0; }
  .board-tiles li:nth-child(2n) { border-right: 1px solid var(--line); }
  .board-tiles li:last-child { border-right: 0; }
  .board-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 18px; }
}
.board-contents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); column-gap: 16px; margin-top: 24px; border-top: 1px solid var(--line); }
.board-contents li { display: grid; gap: 4px; align-content: start; padding: 16px 16px 6px 0; font-size: .875rem; color: var(--muted); }
.board-contents .num { font-family: var(--mono); font-size: .6875rem; color: var(--gold); }
.board-contents strong { font-size: .9375rem; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-track[aria-hidden="true"] { display: none; }
  .ticker-window { overflow-x: auto; }
  .mobile-menu { animation: none; }
}
.mobile-menu-foot { display: grid; gap: 16px; }
.mobile-menu-note { font-family: var(--mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- Visibilité & communication 360 (octobre 2026) ---------- */
@media (min-width: 700px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
.relais { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-left: 2px solid var(--teal); background: var(--panel); }
.relais .h2 { margin-top: 12px; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.relais p:not(.eyebrow) { color: var(--text-2); max-width: 44em; }
.relais .more-link { margin-top: 16px; }
@media (min-width: 900px) { .relais { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; } }
