/* ==========================================================================
   BD MINING SA — feuille de style publique unifiée (2026-11-20)
   --------------------------------------------------------------------------
   Remplace, pour les pages publiques, l’empilement maquettes.css +
   production.css (conservés dans le projet, non chargés).
   1. Jetons (couleurs, typographie, espacements)   6. Blocs éditoriaux
   2. Polices locales                                7. Formulaires
   3. Base                                           8. Pied de page
   4. Structure (wrap, sections, en-têtes)           9. Mode sombre
   5. En-tête, navigation, hero                     10. Responsive, impression
   Palette officielle : #064B60 · #D9A514 · #FFFFFF · #F4F6F7 · #202A30
   ========================================================================== */

/* 1. Jetons ---------------------------------------------------------------- */
:root {
  --petrol-900: #064B60;
  --petrol-800: #053F50;
  --petrol-700: #04333F;
  --petrol-600: #0A6B85;
  --petrol-100: #DCE8ED;
  --gold-600: #B08610;
  --gold-500: #D9A514;
  --gold-400: #E8BC3C;
  --gold-100: #F6EBC8;
  --anthracite: #202A30;
  --white: #FFFFFF;
  --grey: #F4F6F7;

  /* Rôles sémantiques (redéfinis en mode sombre) */
  --bg: var(--white);
  --bg-alt: var(--grey);
  --surface: var(--white);
  --heading: var(--anthracite);
  --text: #3C4854;
  --muted: #5B6773;
  --line: #DFE5E8;
  --link: var(--petrol-900);
  --accent: var(--petrol-600);
  --hero-bg: var(--petrol-900);
  --band-bg: var(--petrol-900);
  --dark-bg: var(--anthracite);
  --on-dark: rgba(255, 255, 255, .84);
  --on-dark-muted: rgba(255, 255, 255, .68);
  --header-bg: var(--white);

  --font-title: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Échelle typographique fluide */
  --fs-h1: clamp(2.25rem, 1.55rem + 3vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Système d’espacement — une seule source pour toutes les pages */
  --space-section: clamp(3rem, 1.9rem + 4.6vw, 6.5rem);      /* 48 → 104 px */
  --space-section-sm: clamp(2.5rem, 1.9rem + 2.5vw, 4rem);   /* 40 → 64 px  */
  --space-head: clamp(2rem, 1.6rem + 1.6vw, 3rem);           /* en-tête → contenu */
  --space-title: clamp(.75rem, .65rem + .4vw, 1.125rem);     /* titre ↔ sous-titre 12 → 18 */
  --space-intro: clamp(1rem, .85rem + .6vw, 1.5rem);         /* titre → introduction 16 → 24 */
  --space-p: clamp(.875rem, .8rem + .3vw, 1.25rem);          /* paragraphes 14 → 20 */
  --space-media: clamp(1.5rem, 1.25rem + 1vw, 2rem);         /* texte ↔ image 24 → 32 */
  --space-grid: clamp(1.5rem, 1.25rem + 1vw, 2rem);          /* grilles 24 → 32 */
  --space-block: clamp(1.5rem, 1.25rem + 1vw, 2rem);         /* marges internes 24 → 32 */
  --space-columns: clamp(2rem, 1rem + 4vw, 5rem);            /* colonnes texte / image */

  --container: 75rem;
  --gutter: clamp(1rem, .5rem + 2.4vw, 2rem);
  --measure: 66ch;
  --radius: 2px;
  --header-h: 76px;
  --ease: 200ms cubic-bezier(.22, .61, .36, 1);
}

/* 2. Polices locales (sous-ensembles latins WOFF, TTF d’origine conservés) - */
@font-face { font-family: "Source Serif 4"; src: url("reference/fonts/SourceSerif4-Regular.woff") format("woff"), url("reference/fonts/SourceSerif4-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("reference/fonts/SourceSerif4-SemiBold.woff") format("woff"), url("reference/fonts/SourceSerif4-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("reference/fonts/SourceSerif4-Bold.woff") format("woff"), url("reference/fonts/SourceSerif4-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("reference/fonts/Inter.woff") format("woff"), url("reference/fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("reference/fonts/Manrope.woff") format("woff"), url("reference/fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.25rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-width: 320px; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color var(--ease); }
a:hover { color: var(--gold-600); }
h1, h2, h3 { margin: 0; color: var(--heading); font-family: var(--font-title); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: var(--space-p); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold-500); color: var(--anthracite); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--gold-500); color: var(--anthracite); font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 800; text-decoration: none; transform: translateY(-180%); transition: transform var(--ease); }
.skip-link:focus { transform: none; color: var(--anthracite); }

/* 4. Structure ------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
main, .wrap > *, .split > *, .hero__grid > *, .form-layout > * { min-width: 0; }

.section { padding-block: var(--space-section); background: var(--bg); }
.section--grey { background: var(--bg-alt); }
.section--petrol { background: var(--band-bg); color: var(--on-dark); }
.section--dark { background: var(--dark-bg); color: var(--on-dark); }
.section--compact { padding-block: var(--space-section-sm); }
/* Deux sections de même fond : pas de double espacement. */
.section--white + .section--white,
.section--grey + .section--grey { padding-top: 0; }
.section--white + .section--white.section--intro { padding-top: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .75rem; margin: 0 0 var(--space-title);
  color: var(--accent); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800;
  letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; background: var(--gold-500); }
.section--petrol .eyebrow, .section--dark .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.section--petrol h2, .section--petrol h3, .section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 48rem; margin-bottom: var(--space-head); }
.section-head > h2 + .lead { margin-top: var(--space-intro); }
.section-head--wide { max-width: 52rem; margin-bottom: 0; }
.lead { max-width: var(--measure); font-size: var(--fs-lead); line-height: 1.65; }
.lead + .lead { margin-top: var(--space-p); font-size: var(--fs-body); }
.section-foot { margin-top: var(--space-head); }
.section-note { max-width: var(--measure); margin-top: var(--space-media); color: var(--muted); font-size: var(--fs-small); }
.list-title { margin: var(--space-media) 0 .75rem; color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.index { color: var(--gold-600); font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; }

.list { display: grid; gap: .55rem; }
.list li { position: relative; padding-left: 1.25rem; }
.list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 6px; height: 6px; background: var(--gold-500); }
.list--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-grid); }

.text-link { display: inline-flex; gap: .35rem; align-items: baseline; color: var(--link); font-family: var(--font-ui); font-size: .875rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid var(--gold-500); padding-bottom: .15rem; }
.text-link:hover { color: var(--gold-600); }
.section--petrol .text-link, .section--dark .text-link { color: var(--white); }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
.actions--text { margin-top: var(--space-media); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius); font-family: var(--font-ui); font-size: .8125rem; font-weight: 800;
  letter-spacing: .06em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--gold { background: var(--gold-500); color: var(--anthracite); }
.btn--gold:hover { background: var(--gold-400); color: var(--anthracite); }
.btn--petrol { background: var(--petrol-900); color: var(--white); }
.btn--petrol:hover { background: var(--petrol-700); color: var(--white); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--petrol-900); }
.btn--small { min-height: 40px; padding: .55rem 1rem; font-size: .75rem; }
.btn[disabled] { cursor: not-allowed; opacity: .6; }

/* Figures */
.figure__frame { overflow: hidden; background: var(--bg-alt); }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: .75rem; padding-left: .75rem; border-left: 2px solid var(--gold-500); color: var(--muted); font-size: .8125rem; line-height: 1.55; }

/* 5. En-tête --------------------------------------------------------------- */
.topline { background: var(--petrol-700); color: var(--on-dark); font-family: var(--font-ui); font-size: .8125rem; }
.topline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topline__contact { display: flex; flex-wrap: wrap; gap: .5rem; }
.topline a { color: var(--white); text-decoration: none; }
.topline a:hover { color: var(--gold-400); }
.topline__tools { display: flex; align-items: center; gap: 1rem; }
.locale { display: flex; gap: .6rem; font-weight: 800; letter-spacing: .08em; }
.locale span { color: var(--gold-400); }
.locale a { color: var(--on-dark-muted); }

.theme-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 28px; padding: .25rem .6rem; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; background: transparent; color: var(--white); font-family: var(--font-ui); font-size: .6875rem; font-weight: 800; letter-spacing: .05em; line-height: 1; text-transform: uppercase; }
.theme-toggle:hover { border-color: var(--gold-400); color: var(--gold-400); }
.theme-toggle__symbol { font-size: .95rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(32, 42, 48, .06); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { flex: none; display: block; width: clamp(160px, 12vw + 40px, 200px); }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.85rem, .3rem + .9vw, 1.5rem); }
.nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav__link:hover { color: var(--petrol-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--petrol-900); }
.menu-toggle { display: none; }

/* Hero (en-tête de page) */
.hero { background: var(--hero-bg); color: var(--on-dark); }
.hero__grid { display: grid; gap: var(--space-columns); align-items: center; padding-block: clamp(3rem, 2.1rem + 3.6vw, 5.5rem); }
.hero--media .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero__text { max-width: 46rem; }
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero__lead { max-width: 40rem; margin-top: var(--space-intro); font-size: var(--fs-lead); line-height: 1.6; }
.hero--home h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem); }
.hero--aside .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
.hero__aside { padding: var(--space-block); border-top: 3px solid var(--gold-500); background: rgba(255, 255, 255, .06); }
.hero__aside-title { margin-bottom: .75rem; color: var(--gold-400); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero__toc { display: grid; }
.hero__toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .55rem 0; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-family: var(--font-ui); font-size: .875rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.hero__toc li:first-child a { border-top: 0; }
.hero__toc a:hover { color: var(--gold-400); }
.hero__toc .index { color: var(--gold-400); font-size: .9375rem; }
.hero__contact { display: grid; gap: .6rem; }
.hero__contact a { color: var(--white); font-weight: 600; text-decoration: none; }
.hero__contact a:hover { color: var(--gold-400); }
.figure--hero .figure__frame { background: var(--petrol-800); }
.figure--hero img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure--hero.figure--landscape img { aspect-ratio: 4 / 3; }
.figure--hero figcaption { color: var(--on-dark-muted); }

/* 6. Blocs éditoriaux ------------------------------------------------------ */

/* Déclaration */
.statement { max-width: 56rem; }
.statement__text { color: var(--heading); font-family: var(--font-title); font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.25rem); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.section--white .statement__text, .section--grey .statement__text { padding-left: clamp(1rem, .6rem + 1.5vw, 2rem); border-left: 3px solid var(--gold-500); }
.section--petrol .statement__text, .section--dark .statement__text { color: var(--white); }
.statement__note { max-width: var(--measure); margin-top: var(--space-intro); }
.statement .text-link { margin-top: var(--space-media); }

/* Échelle artisanal / semi-industriel / industriel */
.scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.scale__item { padding: var(--space-block); }
.scale__item + .scale__item { border-left: 1px solid var(--line); }
.scale__item h3 { margin-bottom: .6rem; }
.scale__label { display: block; margin-bottom: 1rem; color: var(--muted); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.scale__item--focus { position: relative; background: var(--petrol-900); color: var(--on-dark); }
.scale__item--focus h3 { color: var(--white); }
.scale__item--focus .scale__label { color: var(--gold-400); }
.scale__item--focus::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; background: var(--gold-500); }

/* Principes — version courte */
.principles-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-grid) var(--space-columns); }
.principles-compact li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-top: var(--space-block); border-top: 1px solid var(--line); }
.principles-compact h3 { margin-bottom: .5rem; }

/* Principes — version développée */
.principles { display: grid; gap: var(--space-section-sm); }
.principle { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-media) var(--space-columns); padding-top: var(--space-section-sm); border-top: 1px solid var(--line); }
.principle:first-child { padding-top: 0; border-top: 0; }
.principle__head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 1.25rem; }
.principle__head .index { font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.principle__body { max-width: 44rem; }
.principle__lead { margin: 0 0 var(--space-intro); padding-left: 1.25rem; border-left: 3px solid var(--gold-500); color: var(--petrol-900); font-family: var(--font-title); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); line-height: 1.45; }
.principle__practice { margin-top: var(--space-media); padding: var(--space-block); background: var(--bg-alt); }
.principle__practice .list-title { margin-top: 0; }
.principle__practice .text-link { margin-top: 1rem; }
@media (min-width: 901px) {
  .principle:nth-child(even):not(.principle--text) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .principle:nth-child(even) .principle__media { order: -1; }
  .principle:nth-child(even) .principle__head { order: -2; }
}
.principle--text { grid-template-columns: minmax(0, 1fr); }
.principle__media .figure--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Étapes — version courte */
.steps-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-grid); counter-reset: step; }
.steps-compact__item { padding-top: var(--space-block); border-top: 2px solid var(--line); }
.steps-compact__item:hover { border-top-color: var(--gold-500); }
.steps-compact__item h3 { margin: 1rem 0 .5rem; }
.steps-compact__item h3 a { color: inherit; text-decoration: none; }
.steps-compact__item h3 a:hover { color: var(--petrol-600); }
.steps-compact__item p { color: var(--muted); font-size: .9375rem; }

/* Étapes — chronologie */
.timeline-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: var(--space-columns); align-items: start; }
.timeline-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.timeline-nav ol { display: grid; border-left: 2px solid var(--line); }
.timeline-nav a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .65rem 0 .65rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.timeline-nav a:hover { border-left-color: var(--gold-500); color: var(--petrol-600); }
.timeline-nav .index { font-size: .9375rem; }
.timeline { display: grid; }
.timeline__step { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: clamp(1rem, .5rem + 1.5vw, 2rem); padding-bottom: var(--space-section-sm); }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before { content: ""; position: absolute; top: 3.5rem; bottom: 0; left: calc(1.75rem - 1px); width: 2px; background: var(--line); }
.timeline__step:last-child::before { display: none; }
.timeline__marker { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--petrol-900); color: var(--gold-400); font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; }
.timeline__content { max-width: 50rem; }
.timeline__content > .eyebrow { margin-top: .9rem; }
.timeline__content > h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem); }
.timeline__content > .lead { margin-top: var(--space-title); margin-bottom: var(--space-intro); color: var(--heading); }
.timeline__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-grid); margin-top: var(--space-media); padding: 0 var(--space-block) var(--space-block); background: var(--bg-alt); }
.timeline__detail--wide { grid-column: 1 / -1; }
.timeline__detail .list-title { margin-top: var(--space-block); }
.timeline__detail p { font-size: .9375rem; }
.timeline__figure { margin-top: var(--space-media); max-width: 36rem; }
.timeline__figure img { aspect-ratio: 16 / 10; object-fit: cover; }
.timeline__principle { margin-top: 1.25rem; color: var(--muted); font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; }

/* Galerie de terrain */
.gallery { display: grid; gap: var(--space-grid); }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__item .figure img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__text { margin-top: 1.1rem; }
.gallery__text h3 { margin-bottom: .4rem; }
.gallery__text p { color: var(--muted); font-size: .9375rem; }
.gallery__caption { margin-top: var(--space-media); padding-left: .75rem; border-left: 2px solid var(--gold-500); color: var(--muted); font-size: .8125rem; }

/* Texte + image */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-media) var(--space-columns); align-items: center; }
.split--reverse .split__media, .split--reverse .split__aside { order: -1; }
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--text { grid-template-columns: minmax(0, 1fr); }
.split__text { max-width: 42rem; }
.split__text > h2 { margin-bottom: var(--space-intro); }
.split__media .figure--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.split__aside { align-self: start; padding: var(--space-block); border-top: 3px solid var(--gold-500); background: var(--bg-alt); }
.section--grey .split__aside { background: var(--surface); }
.split__aside h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.facts { display: grid; gap: 1rem; }
.facts div { padding-top: 1rem; border-top: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; border-top: 0; }
.facts dt { color: var(--muted); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin-top: .2rem; color: var(--heading); font-weight: 500; }

/* Thèmes (grilles, listes, rôles, piliers, légende) */
.topics { display: grid; gap: var(--space-grid); }
.topics--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topics--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topics--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topic h3 { margin-bottom: .6rem; }
.topic p { font-size: .9375rem; }
.topic .list { margin-top: .9rem; font-size: .9375rem; }
.topic__label { margin-bottom: .75rem; color: var(--accent); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.topic__subtitle { margin: -.2rem 0 .75rem; color: var(--muted); font-weight: 500; }
.topics--grid .topic { position: relative; padding-top: var(--space-block); border-top: 1px solid var(--line); }
.topics--grid .topic::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--gold-500); }
.topics--list { counter-reset: topic; column-gap: var(--space-columns); }
.topics--list .topic { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding-top: var(--space-block); border-top: 1px solid var(--line); }
.topics--pillars .topic { padding: var(--space-block); border-top: 3px solid var(--gold-500); background: var(--bg-alt); }
.section--grey .topics--pillars .topic { background: var(--surface); }
.topics--roles .topic { padding: var(--space-block); border: 1px solid var(--line); background: var(--surface); }
.topics--roles .topic:nth-child(2) { border-color: var(--petrol-900); background: var(--petrol-900); color: var(--on-dark); }
.topics--roles .topic:nth-child(2) h3 { color: var(--white); }
.topics--roles .topic:nth-child(2) .topic__label { color: var(--gold-400); }
.topics--legend { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topics--legend .topic { padding: var(--space-block) var(--space-block) var(--space-block) 0; }
.topics--legend .topic + .topic { padding-left: var(--space-block); border-left: 1px solid var(--line); }

/* Modèles de partenariat */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-grid); align-items: start; }
.model { height: 100%; border: 1px solid var(--line); background: var(--surface); }
.model__head { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: var(--space-block); border-bottom: 1px solid var(--line); }
.model__label { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--petrol-900); color: var(--gold-400); font-family: var(--font-title); font-size: 1.375rem; font-weight: 700; }
.model__head h3 { margin-bottom: .5rem; }
.model__head p { color: var(--muted); font-size: .9375rem; }
.model__points { display: grid; gap: 1.1rem; padding: var(--space-block); }
.model__points dt { color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; }
.model__points dd { margin-top: .25rem; font-size: .9375rem; }

/* Questions fréquentes */
.qa-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-columns); align-items: start; }
.qa-layout .section-head { margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__item summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; color: var(--heading); font-family: var(--font-title); font-size: 1.1875rem; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; position: absolute; top: 1.05rem; right: .25rem; color: var(--gold-600); font-family: var(--font-ui); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.qa__item[open] summary::after { content: "−"; }
.qa__answer { max-width: var(--measure); padding-bottom: 1.4rem; }

/* Bandeau de conclusion */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-media) var(--space-columns); align-items: end; }
.cta__text { max-width: 46rem; }
.cta .actions { margin-top: 0; justify-content: flex-end; }

/* Lien vers la page suivante */
.next__link { display: grid; gap: .35rem; max-width: 48rem; text-decoration: none; }
.next__label { color: var(--accent); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.next__title { color: var(--heading); font-family: var(--font-title); font-size: var(--fs-h2); font-weight: 600; line-height: 1.15; }
.next__text { color: var(--muted); }
.next__link:hover .next__title { color: var(--petrol-600); }

/* Actualités */
.empty-state { max-width: 48rem; padding: var(--space-block); border: 1px dashed var(--line); border-left: 3px solid var(--gold-500); background: var(--bg-alt); }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-grid); }
.news__item { padding-top: var(--space-block); border-top: 2px solid var(--gold-500); }
.news__meta { display: flex; gap: .75rem; margin-bottom: .75rem; color: var(--muted); font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news__item h3 { margin-bottom: .6rem; }
.news__categories-title { margin-top: var(--space-head); margin-bottom: 1.25rem; }

/* Indicateurs à publier */
.indicators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.indicator { display: grid; gap: .5rem; padding: var(--space-block); background: var(--surface); }
.indicator__status { color: var(--muted); font-family: var(--font-ui); font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.indicator__name { color: var(--heading); font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }

/* Coordonnées */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-grid); }
.contact-cards > div { padding: var(--space-block); border-top: 3px solid var(--gold-500); background: var(--surface); }
.contact-cards dt { margin-bottom: .5rem; color: var(--muted); font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-cards dd { color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }

/* Crédits */
.credits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-grid); }
.credit__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.credit__text { margin-top: 1rem; font-size: .875rem; }
.credit__label { color: var(--heading); font-weight: 600; }

/* Messages flash */
.flash { margin-block: 1.25rem; }
.flash p { padding: 1rem 1.2rem; border-left: 4px solid; }
.flash--success p { background: #E6F2EE; border-color: #17805B; color: #164D3B; }
.flash--error p { background: #F9E9E5; border-color: #A84B36; color: #743421; }

.note { max-width: 70ch; padding: 1rem 1.2rem; border-left: 3px solid var(--gold-500); background: var(--gold-100); color: var(--text); font-size: var(--fs-small); }

/* 7. Formulaires ----------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-media) var(--space-columns); align-items: start; }
.form-layout__intro .section-head { margin-bottom: 0; }
.form-layout__intro .list-title { margin-top: var(--space-media); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: var(--space-block); border: 1px solid var(--line); background: var(--surface); }
.section--grey .form { background: var(--surface); }
.field { display: grid; gap: .45rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 800; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid #B9C5CB; border-radius: var(--radius); background: var(--surface); color: var(--heading); font: inherit; font-size: 1rem; line-height: 1.4; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; border-color: var(--petrol-600); }
.field__hint { color: var(--muted); font-size: .8125rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .875rem; }
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--petrol-900); }
.form__actions { margin-top: .25rem; }
.form__notice { padding: .9rem 1rem; border-left: 3px solid var(--petrol-600); background: var(--bg-alt); color: var(--text); font-size: .875rem; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 8. Pied de page ---------------------------------------------------------- */
.site-footer { background: var(--dark-bg); color: var(--on-dark-muted); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--space-grid) var(--space-columns); padding-block: var(--space-section-sm); }
.site-footer__logo { display: inline-block; width: 210px; max-width: 100%; padding: .7rem .9rem; border-radius: var(--radius); background: var(--white); }
.site-footer__brand p { max-width: 34rem; margin-top: 1.25rem; font-size: .875rem; }
.site-footer__title { margin-bottom: 1rem; color: var(--white); font-family: var(--font-ui); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer .nav__list, .site-footer__list { display: grid; gap: .55rem; }
.site-footer .nav__link { display: inline; min-height: 0; color: var(--on-dark-muted); font-family: var(--font-text); font-size: .9375rem; font-weight: 400; white-space: normal; }
.site-footer .nav__link::after { display: none; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover, .site-footer .nav__link[aria-current="page"] { color: var(--gold-400); }
.site-footer__label { color: var(--white); font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; }

/* 9. Mode sombre ----------------------------------------------------------- */
html[data-theme="dark"] {
  --bg: #11191D; --bg-alt: #16232A; --surface: #1A2930; --heading: #F0F5F6; --text: #CFDADD; --muted: #A3B6BC;
  --line: #2F444C; --link: #8FD3E0; --accent: #8FD3E0; --hero-bg: #0A2F3A; --band-bg: #0C3846; --dark-bg: #0A1418; --header-bg: #131F24;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #11191D; --bg-alt: #16232A; --surface: #1A2930; --heading: #F0F5F6; --text: #CFDADD; --muted: #A3B6BC;
    --line: #2F444C; --link: #8FD3E0; --accent: #8FD3E0; --hero-bg: #0A2F3A; --band-bg: #0C3846; --dark-bg: #0A1418; --header-bg: #131F24;
  }
}
html[data-theme="dark"] .brand img { padding: .35rem .5rem; border-radius: var(--radius); background: var(--white); }
html[data-theme="dark"] .principle__lead { color: var(--gold-400); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { border-color: #48606A; background: #10191D; }
html[data-theme="dark"] .flash--success p { background: #123A31; color: #C5EADB; }
html[data-theme="dark"] .flash--error p { background: #44241E; color: #F4CEC4; }
html[data-theme="dark"] .note { background: #3A3016; }
html[data-theme="dark"] .nav__link:hover, html[data-theme="dark"] .nav__link[aria-current="page"] { color: var(--gold-400); }
html[data-theme="dark"] .scale__item--focus, html[data-theme="dark"] .topics--roles .topic:nth-child(2), html[data-theme="dark"] .timeline__marker, html[data-theme="dark"] .model__label { background: #0C3846; border-color: #0C3846; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .brand img { padding: .35rem .5rem; border-radius: var(--radius); background: var(--white); }
  html:not([data-theme]) .principle__lead { color: var(--gold-400); }
  html:not([data-theme]) .field input, html:not([data-theme]) .field select, html:not([data-theme]) .field textarea { border-color: #48606A; background: #10191D; }
  html:not([data-theme]) .nav__link:hover, html:not([data-theme]) .nav__link[aria-current="page"] { color: var(--gold-400); }
}

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1199px) {
  .site-header__inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-left: auto; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--heading); font-family: var(--font-ui); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform var(--ease); }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .nav { display: none; width: 100%; margin: 0; padding: .5rem 0 1.25rem; flex-direction: column; align-items: stretch; gap: 1rem; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  html.no-js .nav { display: flex; }
  html.no-js .menu-toggle { display: none; }
  .nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
  .nav__link { width: 100%; min-height: 46px; border-bottom: 1px solid var(--line); font-size: .9375rem; white-space: normal; }
  .nav__link::after { bottom: -1px; }
  .nav__cta { align-self: flex-start; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models { grid-template-columns: minmax(0, 1fr); }
  .model { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .model__head { border-bottom: 0; border-right: 1px solid var(--line); }
  .topics--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .timeline-layout { grid-template-columns: minmax(0, 1fr); }
  .timeline-nav { display: none; }
  .steps-compact, .news, .indicators, .credits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics--legend { grid-template-columns: minmax(0, 1fr); }
  .topics--legend .topic, .topics--legend .topic + .topic { padding: var(--space-block) 0; border-left: 0; }
  .topics--legend .topic + .topic { border-top: 1px solid var(--line); }
  .qa-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .qa-layout .section-head { margin-bottom: var(--space-head); }
}
@media (max-width: 900px) {
  .hero--media .hero__grid, .hero--aside .hero__grid, .split, .split--reverse, .principle, .form-layout, .cta { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media, .split--reverse .split__aside { order: 0; }
  .principle:nth-child(even) .principle__media, .principle:nth-child(even) .principle__head { order: 0; }
  .split__text, .principle__body { max-width: none; }
  .split__media, .principle__media { max-width: 34rem; }
  .figure--hero img, .figure--hero.figure--landscape img, .split__media .figure--portrait img, .principle__media .figure--portrait img { aspect-ratio: 4 / 3; }
  .hero__media { max-width: 34rem; }
  .cta .actions { justify-content: flex-start; }
  .scale { grid-template-columns: minmax(0, 1fr); }
  .scale__item + .scale__item { border-left: 0; border-top: 1px solid var(--line); }
  .model { grid-template-columns: minmax(0, 1fr); }
  .model__head { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .topline__contact { display: none; }
  .hero__toc { display: none; }
  nav.hero__aside { display: none; }
  .topline__tools { width: 100%; justify-content: space-between; }
  .principles-compact, .topics--cols-2, .topics--cols-3, .topics--cols-4, .steps-compact, .news, .indicators, .credits-grid, .gallery--2, .gallery--3, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .gallery__item .figure img { aspect-ratio: 4 / 3; }
  .list--columns { grid-template-columns: minmax(0, 1fr); }
  .timeline__details { grid-template-columns: minmax(0, 1fr); }
  .timeline__step { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .timeline__marker { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .timeline__step::before { top: 2.5rem; left: calc(1.25rem - 1px); }
  .timeline__content > .eyebrow { margin-top: .5rem; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .nav__list { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .brand { width: 150px; }
  .menu-toggle { padding-inline: .7rem; }
  .theme-toggle [data-theme-label] { display: none; }
}
@media print {
  .topline, .site-header, .skip-link, .timeline-nav, .site-footer, .form, .cta .actions { display: none !important; }
  .hero, .section--petrol, .section--dark { background: none !important; color: #000 !important; }
  .hero h1, .section--petrol h2, .section--dark h2, .statement__text { color: #000 !important; }
}
