/* =========================================================================
   OCTOGONE GROUPE — Design system v3
   Direction : corporate énergie, épurée et institutionnelle.
   Mobile-first · Custom properties · Flexbox / Grid · prefers-reduced-motion
   ========================================================================= */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --navy-950: #031533;
  --navy-900: #06225A;
  --navy-800: #0A2F7A;
  --blue-700: #003FA0;           /* bleu du logo */
  --blue-600: #1556C8;
  --blue-500: #3B78E6;
  --blue-300: #9CC3FF;
  --blue-200: #C9DAF8;
  --blue-100: #E6EEFC;
  --red: #E30613;                /* rouge signature : < 5 % de l'écran */
  --red-on-dark: #FF4D55;

  /* Neutres */
  --ink: #0B1730;
  --slate: #5B6B85;
  --slate-light: #8A97AB;
  --line: #E3E8F0;
  --line-strong: #CBD4DF;
  --mist: #F4F6FA;
  --sand: #F6F2EC;
  --white: #FFFFFF;

  /* États */
  --ok: #1A6B44;
  --error: #A3141C;

  /* Surfaces sombres */
  --dark-bg: var(--navy-950);
  --dark-line: rgba(255, 255, 255, .14);
  --dark-text: #C9D6EC;

  /* Typographie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.1vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.55rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .75rem;
  --fs-figure: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem);

  /* Espacements (base 4 px) */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --gutter: 16px;
  --container: 1320px;

  /* Formes & mouvement */
  --radius: 2px;
  --radius-lg: 4px;
  --header-h: 72px;
  --util-h: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 700ms;
  --shadow-float: 0 24px 60px -24px rgba(3, 21, 51, .35);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --header-h: 84px; } }

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--navy-950); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; font-stretch: 105%; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue-200); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--blue-300); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy-950); color: #fff; padding: 10px 16px; font-weight: 600; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--line { border-top: 1px solid var(--line); }
.dark { background: var(--dark-bg); color: var(--dark-text); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong { color: #fff; }
.dark a:not(.btn) { color: var(--blue-300); }
.dark a:not(.btn):hover { color: #fff; }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { display: grid; gap: var(--sp-6); }
.grid-3 { display: grid; gap: var(--sp-5); }
.grid-4 { display: grid; gap: var(--sp-5); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Grille éditoriale asymétrique : 5 / 7 */
.split { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 7rem); }
  .split--rev { grid-template-columns: 7fr 5fr; }
  .split--center { align-items: center; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.stack > * + * { margin-top: var(--sp-5); }
.stack-sm > * + * { margin-top: var(--sp-3); }

/* 4. TYPOGRAPHIE ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 var(--sp-4);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); flex: none; }
.dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .feature .eyebrow, .article-hero .eyebrow { color: var(--blue-300); }
.eyebrow--plain::before { display: none; }
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; font-stretch: 105%; color: var(--navy-950); text-wrap: balance; }
.dark .h1, .dark .h2, .dark .h3, .dark .display { color: #fff; }
.display { font-size: var(--fs-display); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
.dark .lead { color: var(--dark-text); }
.muted { color: var(--slate); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); letter-spacing: .04em; }
.mono-data { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-stretch: 110%; }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); margin: 2em 0 .7em; }
.prose p { color: #24324A; font-size: 1.0625rem; line-height: 1.75; }
.text-red { color: var(--red); }
.placeholder { color: #8A5300; background: #FFF6E6; padding: 0 .25em; font-style: normal; }

.section-head { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); align-items: flex-end; justify-content: space-between; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-head__text { max-width: 760px; }
.section-head__text .lead { margin-top: var(--sp-4); }

/* Justification de tous les textes courants du site (paragraphes, listes de contenu, citations),
   avec césure automatique selon la langue du document (FR / EN).
   Restent alignés à gauche : titres, boutons, libellés, étiquettes, dates, compteurs, messages d'erreur. */
p, blockquote, dd, .checklist li, .pledges li, .commit__more li, .axis li, .prose li, .mega__d, .srch__d {
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; text-wrap: wrap;
}
:is(.eyebrow, .tag, .badge, .field-error, .field-hint, .counter, .toolbar__count, .net-count, .fil-map__status, .srch__hint, .card__meta, .crumbs, .article-meta, .city, .micro, .chip, .placeholder), p:is(.eyebrow, .tag, .badge, .field-error, .field-hint, .counter, .toolbar__count, .net-count, .fil-map__status, .srch__hint, .card__meta, .crumbs, .article-meta, .city, .micro, .chip, .placeholder) { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
/* 5. BOUTONS & LIENS ------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-700); --btn-fg: #fff; --btn-bd: var(--blue-700);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy-950); transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.btn:hover { color: #fff; border-color: var(--navy-950); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--dark { --btn-bg: var(--navy-950); --btn-bd: var(--navy-950); }
.btn--dark::after { background: var(--blue-700); }
.btn--dark:hover { border-color: var(--blue-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-950); --btn-bd: var(--line-strong); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-950); --btn-bd: #fff; }
.btn--light::after { background: var(--blue-700); }
.btn--light:hover { border-color: var(--blue-700); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
.btn--outline-light::after { background: #fff; }
.btn--outline-light:hover { color: var(--navy-950); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem;
  color: var(--navy-950); padding-bottom: 4px; background: linear-gradient(var(--red), var(--red)) 0 100% / 28px 2px no-repeat;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; color: var(--blue-700); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow, .on-dark .link-arrow { color: #fff; }
.dark .link-arrow:hover, .on-dark .link-arrow:hover { color: var(--blue-300); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* Puces / filtres */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .875rem; font-weight: 500; transition: all var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--navy-950); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.chip__n { font-size: .75rem; opacity: .7; font-variant-numeric: tabular-nums; }
.dark .chip { background: transparent; color: #fff; border-color: var(--dark-line); }
.dark .chip:hover { border-color: #fff; }
.dark .chip[aria-pressed="true"] { background: #fff; color: var(--navy-950); border-color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.tag--box { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--slate); letter-spacing: .02em; text-transform: none; font-weight: 500; }
.badge { display: inline-flex; padding: 3px 10px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: var(--blue-100); color: var(--navy-800); border-radius: 999px; }
.badge--red { background: var(--red); color: #fff; }

/* 6. HEADER ---------------------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.hdr::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(3, 21, 51, .55), rgba(3, 21, 51, 0)); transition: opacity var(--t-med); }
.hdr__util { display: none; height: var(--util-h); border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: .8125rem; transition: height var(--t-med) var(--ease), opacity var(--t-fast); overflow: hidden; }
.hdr__util .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__util-l { opacity: .8; letter-spacing: .02em; }
.hdr__util-r { display: flex; align-items: center; gap: 22px; }
.hdr__util a { color: inherit; display: inline-flex; align-items: center; gap: 8px; opacity: .9; }
.hdr__util a:hover { opacity: 1; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.hdr__util svg { width: 15px; height: 15px; }
@media (min-width: 1100px) { .hdr__util { display: block; } }

.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.lang a { min-width: 32px; height: 24px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; opacity: .75 !important; text-decoration: none !important; }
.lang a.is-active { background: currentColor; opacity: 1 !important; }
.lang a.is-active span { color: var(--navy-950); }
.hdr.is-solid .lang a.is-active span, .drawer .lang a.is-active span { color: #fff; }

.hdr__bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; transition: height var(--t-med) var(--ease); }
.hdr__logo { flex: none; display: block; position: relative; width: 150px; height: 33px; }
.hdr__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity var(--t-med); }
.hdr__logo .logo-color { opacity: 0; }
@media (min-width: 1100px) { .hdr__logo { width: 172px; height: 38px; } }

.hdr__nav { display: none; margin-left: auto; }
.hdr__nav > ul { list-style: none; display: flex; align-items: stretch; height: var(--header-h); }
.hdr__item { position: relative; display: flex; }
.hdr__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px;
  color: inherit; font-size: .9375rem; font-weight: 500; letter-spacing: .005em;
}
.hdr__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.hdr__link:hover, .hdr__link[aria-expanded="true"], .hdr__link[aria-current="page"] { color: inherit; }
.hdr__link:hover::after, .hdr__link[aria-expanded="true"]::after, .hdr__link[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1279px) { .hdr__link { padding: 0 9px; font-size: .875rem; } .hdr__link::after { left: 9px; right: 9px; } .hdr__logo { width: 140px; } .hdr__cta { padding: 0 14px; } }
.hdr__link { white-space: nowrap; }
.hdr__link svg { width: 11px; height: 11px; transition: transform var(--t-med) var(--ease); }
.hdr__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hdr__cta { display: none; }
.hdr__burger { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius); }
.hdr__burger svg { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .hdr__nav { display: block; }
  .hdr__actions { margin-left: 8px; }
  .hdr__cta { display: inline-flex; }
  .hdr__burger { display: none; }
}
/* État opaque (défilement, méga-menu ouvert, page sans visuel) */
.hdr.is-solid { background: #fff; color: var(--navy-950); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-solid .logo-white { opacity: 0; }
.hdr.is-solid .logo-color { opacity: 1; }
.hdr.is-solid .hdr__util { border-bottom-color: var(--line); color: var(--slate); }
.hdr.is-solid .hdr__burger { border-color: var(--line-strong); }
.hdr.is-solid .hdr__cta.btn--outline-light { --btn-fg: #fff; --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); }
.hdr.is-solid .hdr__cta.btn--outline-light::after { background: var(--navy-950); }
.hdr.is-solid .hdr__cta.btn--outline-light:hover { color: #fff; }
.hdr.is-compact .hdr__util { height: 0; opacity: 0; border: 0; }
.hdr.is-hidden { transform: translateY(-100%); }

/* Méga-menu */
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(3, 21, 51, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 48px; padding-block: 44px 48px; }
.mega__intro .h3 { font-size: 1.6rem; margin-bottom: 14px; }
.mega__intro p { color: var(--slate); font-size: .9375rem; margin-bottom: 22px; }
.mega__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-content: start; }
.mega__links a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy-950); }
.mega__links a:hover { color: var(--blue-700); }
.mega__links a:hover .mega__ico { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.mega__ico { grid-row: span 2; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--blue-700); transition: all var(--t-fast); }
.mega__ico svg { width: 18px; height: 18px; }
.mega__t { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.mega__d { font-size: .8125rem; color: var(--slate); line-height: 1.4; }
.mega__feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 22px; color: #fff; overflow: hidden; background: var(--navy-950); }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform var(--t-slow) var(--ease-out); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature > span { position: relative; }
.mega__feature .micro { text-transform: uppercase; letter-spacing: .14em; color: var(--blue-300); margin-bottom: 6px; display: block; }
.mega__feature strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; font-weight: 600; display: block; }
.mega__feature:hover { color: #fff; }
.mega-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(3, 21, 51, .35); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility 0s linear var(--t-med); }
.mega-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear var(--t-med); }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(3, 21, 51, .5); opacity: 0; transition: opacity var(--t-med) var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--t-med) var(--ease-out); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer__top img { width: 140px; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 32px; overscroll-behavior: contain; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle, .drawer__single { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-950); text-align: left; }
.drawer__toggle svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.drawer__sub > ul { overflow: hidden; list-style: none; }
.drawer__toggle[aria-expanded="true"] + .drawer__sub { grid-template-rows: 1fr; }
.drawer__sub a { display: block; padding: 10px 0 10px 16px; border-left: 1px solid var(--line); color: var(--slate); font-size: .9375rem; }
.drawer__sub a:hover { color: var(--blue-700); border-left-color: var(--red); }
.drawer__sub li:last-child a { margin-bottom: 16px; }
.drawer__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.drawer__quick a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--navy-950); }
.drawer__quick svg { width: 18px; height: 18px; color: var(--blue-700); }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--navy-950); }

/* 7. HERO ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 9s linear; }
.hero__media img.is-on { opacity: 1; transform: scale(1); }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(3, 21, 51, .88) 0%, rgba(3, 21, 51, .55) 45%, rgba(3, 21, 51, .1) 75%),
  linear-gradient(0deg, rgba(3, 21, 51, .85) 0%, rgba(3, 21, 51, 0) 45%); }
.hero__content { width: 100%; padding-top: calc(var(--header-h) + var(--util-h) + 48px); padding-bottom: clamp(5.5rem, 10vh, 8rem); }
.hero__title { font-size: var(--fs-display); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; max-width: 19ch; }
.hero__title span { display: block; }
.hero__title .accent { color: var(--blue-300); }
.hero__lead { margin-top: 28px; max-width: 54ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .86); min-height: 3.1em; }
.hero .btn-row { margin-top: 36px; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__foot .container { display: flex; align-items: center; gap: 48px; height: 64px; font-size: .8125rem; }
.hero__dots { display: flex; gap: 10px; align-items: center; margin-top: 44px; }
.hero__pause { min-height: 30px; padding: 0 12px; margin-left: 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font-size: .75rem; letter-spacing: .04em; }
.hero__pause:hover { border-color: #fff; }
.hero__dot { position: relative; width: 44px; height: 24px; display: inline-flex; align-items: center; }
.hero__dot::before { content: ''; width: 100%; height: 2px; background: rgba(255, 255, 255, .3); }
.hero__dot::after { content: ''; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: #fff; }
.hero__dot[aria-pressed="true"]::after { animation: dotfill 6s linear forwards; }
.hero.is-paused .hero__dot[aria-pressed="true"]::after { animation: none; width: 100%; }
@keyframes dotfill { to { width: 100%; } }
.hero__meta { display: none; gap: 28px; color: rgba(255, 255, 255, .8); }
.hero__meta b { color: #fff; font-weight: 600; }
@media (min-width: 720px) { .hero__meta { display: flex; } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue:hover { color: #fff; }
.scroll-cue__line { position: relative; width: 1px; height: 36px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.scroll-cue__line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.fade-swap { animation: fadeswap .6s var(--ease) both; }
@keyframes fadeswap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Hero intérieur de page */
.page-hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 21, 51, .92) 0%, rgba(3, 21, 51, .7) 50%, rgba(3, 21, 51, .35) 100%); }
.page-hero__content { padding-top: calc(var(--header-h) + var(--util-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 60ch; margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; font-size: .8125rem; color: rgba(255, 255, 255, .7); margin-bottom: 28px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.page-hero__stats { display: flex; gap: 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 520px; }
.page-hero__stats b { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: #fff; font-weight: 600; }
.page-hero__stats span { font-size: .8125rem; color: rgba(255, 255, 255, .75); }

/* Sous-navigation collante (scrollspy) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: block; padding: 18px 14px; white-space: nowrap; font-size: .875rem; font-weight: 500; color: var(--slate); }
.subnav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform var(--t-med) var(--ease-out); }
.subnav a.is-active { color: var(--navy-950); }
.subnav a.is-active::after { transform: scaleX(1); }
.subnav a:first-child { padding-left: 0; }

/* 8. INTRO / ACCÈS PROFIL --------------------------------------------------- */
.statement { max-width: 64ch; font-family: var(--font-body); font-size: clamp(1.125rem, .98rem + .6vw, 1.5rem); line-height: 1.6; font-weight: 400; letter-spacing: 0; color: #24324A; }
.statement em { font-style: normal; font-weight: 600; color: var(--blue-700); }
.statement-col { border-left: 2px solid var(--red); padding-left: clamp(20px, 2.5vw, 36px); }
@media (min-width: 960px) {
  /* aligne la première ligne de l'accroche sur le titre (hauteur du surtitre) */
  .statement-col { margin-top: calc(var(--fs-micro) * 1.65 + var(--sp-4)); }
}
.pillars { display: grid; border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.pillar { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.pillar__n { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--red); }
.pillar h3 { font-size: 1.35rem; }
.pillar p { color: var(--slate); }
.pillar .link-arrow { margin-top: 6px; justify-self: start; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { padding: 36px 36px 36px 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
}
.profile { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 18px; padding: 24px; background: var(--mist); }
.profile__label { font-size: .875rem; color: var(--slate); }
.profile__label b { display: block; color: var(--navy-950); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.profile__out { min-height: 24px; }
@media (min-width: 900px) { .profile { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 24px 32px; } }

/* 9. CHIFFRES CLÉS --------------------------------------------------------- */
.figures { position: relative; overflow: hidden; }
.figures__motif { position: absolute; right: -120px; top: 50%; width: 640px; transform: translateY(-50%); opacity: .08; pointer-events: none; }
.figures__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--dark-line); }
.figure { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--dark-line); }
.figure:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--dark-line); }
.figure__v { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); font-size: var(--fs-figure); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.03em; font-stretch: 110%; }
.figure__u { font-size: .42em; color: var(--red-on-dark); letter-spacing: 0; font-weight: 600; }
.figure__l { display: block; margin-top: 14px; font-weight: 600; color: #fff; font-size: .9375rem; }
.figure__h { display: block; margin-top: 4px; font-size: .8125rem; color: var(--dark-text); opacity: .85; }
@media (min-width: 900px) {
  .figures__grid { grid-template-columns: repeat(4, 1fr); }
  .figure { padding: 40px 28px 40px 0; }
  .figure:nth-child(even) { padding-left: 0; border-left: 0; }
  .figure + .figure { padding-left: 28px; border-left: 1px solid var(--dark-line); }
}
.assets-strip { display: grid; gap: 0; margin-top: 56px; border: 1px solid var(--dark-line); }
.asset { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 20px 22px; }
.asset + .asset { border-top: 1px solid var(--dark-line); }
.asset__ico { grid-row: span 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dark-line); color: var(--blue-300); }
.asset__ico svg { width: 20px; height: 20px; }
.asset b { color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.asset__t { font-size: .8125rem; }
@media (min-width: 900px) {
  .assets-strip { grid-template-columns: repeat(4, 1fr); }
  .asset + .asset { border-top: 0; border-left: 1px solid var(--dark-line); }
}

/* 10. EXPLORATEUR D'ACTIVITÉS (onglets) ------------------------------------ */
.explorer { display: grid; gap: 32px; }
.tablist { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; }
.tablist::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; text-align: left; padding: 18px 20px 18px 0; color: var(--slate); }
.tab__n { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--slate-light); font-variant-numeric: tabular-nums; }
.tab__t { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: inherit; white-space: nowrap; }
.tab__s { display: none; }
.tab::after { content: ''; position: absolute; left: 0; right: 20px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.tab[aria-selected="true"] { color: var(--navy-950); }
.tab[aria-selected="true"] .tab__n { color: var(--red); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--navy-950); }
@media (min-width: 1024px) {
  .explorer { grid-template-columns: 4fr 8fr; gap: 64px; }
  .tablist { flex-direction: column; border-bottom: 0; border-top: 1px solid var(--line); overflow: visible; }
  .tab { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); grid-template-columns: 40px 1fr auto; }
  .tab__t { font-size: 1.15rem; white-space: normal; }
  .tab__s { display: block; grid-column: 2; font-size: .8125rem; color: var(--slate); font-family: var(--font-body); margin-top: 2px; }
  .tab::after { top: -1px; bottom: -1px; left: auto; right: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .tab[aria-selected="true"]::after { transform: scaleY(1); }
  .tab::before { content: ''; grid-column: 3; grid-row: 1; width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: all var(--t-med) var(--ease-out);
    background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
  .tab[aria-selected="true"]::before { opacity: 1; transform: none; color: var(--red); }
}
.panel { display: grid; gap: 28px; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: fadeswap .5s var(--ease) both; }
.panel__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-950); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.panel__kpi { position: absolute; left: 0; bottom: 0; padding: 18px 22px; background: var(--navy-950); color: #fff; }
.panel__kpi b { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; font-weight: 600; }
.panel__kpi span { font-size: .75rem; color: var(--blue-300); letter-spacing: .04em; }
.panel__body h3 { font-size: var(--fs-h3); margin: 6px 0 14px; }
.panel__body > p { color: var(--slate); }
.checklist { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--red); }
.dark .checklist { border-color: var(--dark-line); }
.dark .checklist li { border-color: var(--dark-line); }
.subs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.subs > span { font-size: .8125rem; color: var(--slate); margin-right: 4px; }
@media (min-width: 720px) { .panel { grid-template-columns: 5fr 6fr; gap: 40px; align-items: start; } .panel__media { aspect-ratio: 4 / 5; } }

/* 11. CARTE / RÉSEAU ------------------------------------------------------- */
.network { display: grid; gap: 28px; }
@media (min-width: 1024px) { .network { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; } }
.net-filters { display: grid; gap: 18px; }
.net-filters label, .field-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.dark .net-filters label { color: var(--blue-300); }
.net-list { list-style: none; border-top: 1px solid var(--dark-line); margin-top: 8px; max-height: 420px; overflow-y: auto; }
.net-list button { width: 100%; display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px 14px 0; border-bottom: 1px solid var(--dark-line); text-align: left; color: var(--dark-text); transition: color var(--t-fast), padding var(--t-med) var(--ease); }
.net-list button:hover { color: #fff; padding-left: 6px; }
.net-list button[aria-pressed="true"] { color: #fff; padding-left: 6px; }
.net-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); }
.net-list button[aria-pressed="true"] .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .25); }
.net-list b { display: block; font-weight: 600; font-size: .9375rem; color: inherit; }
.net-list small { font-size: .78rem; opacity: .75; }
.net-list em { font-style: normal; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.net-count { font-size: .8125rem; opacity: .8; }
.net-stage { position: relative; }
@media (max-width: 1023px) { .net-stage { order: -1; } .net-list { max-height: 340px; } }
.net-map { position: relative; aspect-ratio: 520 / 560; max-height: 78vh; margin-inline: auto; }
.net-map svg { width: 100%; height: 100%; overflow: visible; }
.net-map .land { fill: #0E2A5C; stroke: #1E3F78; stroke-width: .7; }
.net-map .land--on { fill: #163A7A; }
.net-map .route { fill: none; stroke: rgba(156, 195, 255, .45); stroke-width: .8; stroke-dasharray: 3 3; }
.remote-box { fill: rgba(3, 21, 51, .6); stroke: rgba(156, 195, 255, .35); stroke-width: .6; stroke-dasharray: 2 2; }
.net-map__inset { position: absolute; text-align: right; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); pointer-events: none; white-space: nowrap; }
/* Repères HTML posés sur la carte (boutons accessibles) */
.mpin { position: absolute; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; }
.mpin__dot { position: absolute; left: 5px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-300); border: 3px solid var(--navy-950); transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast); }
.mpin__dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(156, 195, 255, .5); opacity: 0; }
.mpin::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; } /* zone tactile 44 px */
.mpin__lbl { position: absolute; top: 4px; left: 30px; padding: 2px 8px; background: rgba(3, 21, 51, .85); color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; line-height: 16px; border-radius: 2px; transition: background-color var(--t-fast); }
.mpin--left .mpin__lbl { left: auto; right: 30px; }
.mpin--below .mpin__lbl { left: 50%; top: 28px; transform: translateX(-50%); font-size: .66rem; }
.mpin:hover .mpin__dot { transform: scale(1.2); }
.mpin.is-active { z-index: 3; }
.mpin.is-active .mpin__dot { background: var(--red); border-color: #fff; transform: scale(1.15); }
.mpin.is-active .mpin__dot::after { border-color: var(--red); animation: ring 2s var(--ease) infinite; }
.mpin.is-active .mpin__lbl { background: var(--red); }
.mpin.is-dim { opacity: .3; pointer-events: none; }
.mpin:focus-visible { outline: none; }
.mpin:focus-visible .mpin__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue-500); }
@keyframes ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.net-card { margin-top: 20px; padding: 24px; background: #fff; color: var(--ink); border-top: 2px solid var(--red); }
.net-card .tag { margin-bottom: 8px; }
.net-card h3 { font-size: 1.3rem; }
.net-card .city { font-size: .8125rem; color: var(--slate); margin-top: 4px; }
.net-card p { margin-top: 12px; color: #33415C; font-size: .9375rem; }
.net-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.net-card .link-arrow { margin-top: 16px; }
.dark .net-card h3 { color: var(--navy-950); }
.dark .net-card a.link-arrow { color: var(--navy-950); }
.dark .net-card a.link-arrow:hover { color: var(--blue-700); }
.net-card.is-entering { animation: fadeswap .4s var(--ease) both; }
@media (min-width: 1024px) {
  .net-card { position: absolute; right: 0; bottom: 0; width: 340px; margin: 0; box-shadow: var(--shadow-float); }
}

/* 12. CARTES & GRILLES ÉDITORIALES ---------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--red); transition: width var(--t-med) var(--ease-out); }
.card:hover .card__media::after { width: 64px; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 8px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .8125rem; color: var(--slate); }
.card__title { font-size: 1.25rem; line-height: 1.25; color: var(--navy-950); transition: color var(--t-fast); }
.card:hover .card__title { color: var(--blue-700); }
.card__text { color: var(--slate); font-size: .9375rem; }
.card__foot { margin-top: auto; padding-top: 10px; }
.card--link { cursor: pointer; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card .z-up { position: relative; z-index: 2; }
.dark .card { background: transparent; color: var(--dark-text); border-color: var(--dark-line); }
.dark .card__title { color: #fff; }
.dark .card__text, .dark .card__meta { color: var(--dark-text); }

/* Grille de projets asymétrique */
.mosaic { display: grid; gap: 28px; }
@media (min-width: 720px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); gap: 40px 32px; }
  .mosaic > :nth-child(1) { grid-column: span 7; }
  .mosaic > :nth-child(2) { grid-column: span 5; }
  .mosaic > :nth-child(n+3) { grid-column: span 4; }
  .mosaic > :nth-child(1) .card__media { aspect-ratio: 16 / 9; }
  .mosaic > :nth-child(2) .card__media { aspect-ratio: 4 / 3.13; }
}

/* 13. HSE / DURABILITÉ (magazine) ----------------------------------------- */
.feature { display: grid; gap: 0; background: var(--navy-950); color: var(--dark-text); }
.feature__media { position: relative; min-height: 320px; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__media figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: rgba(3, 21, 51, .8); color: #fff; font-size: .75rem; }
.feature__body { padding: clamp(28px, 5vw, 64px); }
.feature__body h3 { color: #fff; font-size: var(--fs-h2); margin-bottom: 18px; }
.iso { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.iso__b { display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid var(--dark-line); text-align: center; line-height: 1.1; }
.iso__b small { display: block; font-size: .66rem; letter-spacing: .16em; color: var(--blue-300); }
.iso__b b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; font-weight: 600; }
.iso__b span { display: block; font-size: .68rem; margin-top: 2px; }
@media (min-width: 960px) { .feature { grid-template-columns: 6fr 6fr; } .feature__media { min-height: 100%; } }

.commit-grid { display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .commit-grid { grid-template-columns: repeat(3, 1fr); } }
.commit { position: relative; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .commit + .commit { border-left: 1px solid var(--line); } }
.commit__btn { width: 100%; text-align: left; display: grid; gap: 14px; padding: 32px 28px 32px 0; }
@media (min-width: 900px) { .commit__btn { padding: 36px 32px; } .commit:first-child .commit__btn { padding-left: 0; } }
.commit__ico { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--blue-700); transition: all var(--t-med) var(--ease); }
.commit__ico svg { width: 22px; height: 22px; }
.commit__btn:hover .commit__ico, .commit__btn[aria-expanded="true"] .commit__ico { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.commit h3 { font-size: 1.3rem; color: var(--navy-950); }
.commit__hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--blue-700); }
.commit__hint svg { width: 14px; height: 14px; transition: transform var(--t-med) var(--ease); }
.commit__btn[aria-expanded="true"] .commit__hint svg { transform: rotate(45deg); }
.commit__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.commit__more > div { overflow: hidden; }
.commit__btn[aria-expanded="true"] + .commit__more { grid-template-rows: 1fr; }
.commit__more ul { list-style: none; padding: 0 28px 28px 0; }
@media (min-width: 900px) { .commit__more ul { padding: 0 32px 32px; } .commit:first-child .commit__more ul { padding-left: 0; } }
.commit__more li { position: relative; padding: 8px 0 8px 20px; font-size: .9rem; color: #33415C; border-top: 1px solid var(--line); }
.commit__more li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 2px; background: var(--red); }

.docs { list-style: none; border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--navy-950); }
.doc:hover { color: var(--blue-700); }
.doc__ico { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--mist); color: var(--blue-700); font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
.doc b { display: block; font-weight: 600; }
.doc small { color: var(--slate); font-size: .8125rem; }
.doc__dl { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; }
.doc__dl svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.doc:hover .doc__dl svg { transform: translateY(3px); }
.dark .doc { color: #fff; border-color: var(--dark-line); }
.dark .docs { border-color: var(--dark-line); }
.dark .doc__ico { background: rgba(255, 255, 255, .06); color: var(--blue-300); }
.dark .doc small { color: var(--dark-text); }

/* 14. ACTUALITÉS ------------------------------------------------------------ */
.news-grid { display: grid; gap: 40px 32px; }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid.is-featured > :first-child { grid-column: span 2; grid-row: span 2; }
  .news-grid.is-featured > :first-child .card__media { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .news-grid.is-featured > :first-child .card__body { flex: none; }
  .news-grid.is-featured > :first-child .card__title { font-size: 1.75rem; }
}
.news-empty { padding: 40px 0; color: var(--slate); }
.newsletter { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); background: var(--mist); margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 5fr 6fr; align-items: center; gap: 48px; } }
.inline-form { display: flex; gap: 0; border: 1px solid var(--line-strong); background: #fff; }
.inline-form input { flex: 1; min-width: 0; border: 0; padding: 0 18px; height: 54px; background: transparent; }
.inline-form input:focus { outline: none; }
.inline-form:focus-within { border-color: var(--blue-700); box-shadow: 0 0 0 3px var(--blue-100); }
.inline-form .btn { border-radius: 0; min-height: 54px; }

/* Modale */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; transition: visibility 0s linear var(--t-med); }
.modal.is-open { visibility: visible; transition-delay: 0s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(3, 21, 51, .7); opacity: 0; transition: opacity var(--t-med); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__dialog { position: relative; width: 100%; max-height: 92svh; overflow-y: auto; background: #fff; color: var(--ink); transform: translateY(24px); opacity: 0; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med); overscroll-behavior: contain; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: sticky; top: 0; float: right; z-index: 3; margin: 12px 12px -56px 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.modal__close svg { width: 18px; height: 18px; }
.modal__media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--navy-950); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 4vw, 48px); }
.modal__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin: 12px 0 18px; }
.modal__body p + p { margin-top: 1em; }
.modal__body .prose p { font-size: 1rem; }
.facts { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts dt { color: var(--slate); font-size: .8125rem; font-weight: 500; }
.facts dd { margin: 0; color: var(--navy-950); font-weight: 500; }
@media (min-width: 720px) {
  .modal { align-items: center; padding: 24px; }
  .modal__dialog { max-width: 880px; max-height: 88vh; }
  .modal--side { justify-content: flex-end; padding: 0; }
  .modal--side .modal__dialog { height: 100%; max-height: none; max-width: 560px; transform: translateX(40px); }
}

/* 15. PARTENAIRES ---------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; width: 200px; height: 104px; display: flex; align-items: center; justify-content: center; padding: 22px 28px; border-left: 1px solid var(--line); }
.marquee__item img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: all var(--t-med); }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 720px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 200px; padding: 28px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-align: center; transition: background-color var(--t-med); }
.logo-cell img { max-height: 64px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: all var(--t-med); }
.logo-cell:hover { background: var(--mist); }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-cell__cat { position: absolute; top: 14px; left: 16px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.logo-cell__name { font-weight: 600; font-size: .9375rem; color: var(--navy-950); }
.logo-cell__note { font-size: .75rem; color: var(--slate); }
.search { position: relative; max-width: 360px; width: 100%; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.search input:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px var(--blue-100); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--slate); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.toolbar__count { font-size: .875rem; color: var(--slate); }

/* 16. CTA PLEIN CADRE ------------------------------------------------------ */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 21, 51, .94), rgba(3, 21, 51, .6)); }
.cta-band .container { display: grid; gap: 28px; padding-block: clamp(4rem, 8vw, 7.5rem); }
.cta-band h2 { font-size: var(--fs-h2); max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 52ch; margin-top: 16px; font-size: var(--fs-lead); }
@media (min-width: 960px) { .cta-band .container { grid-template-columns: 1fr auto; align-items: end; } }
.cta-simple { display: grid; gap: 24px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); }
@media (min-width: 900px) { .cta-simple { grid-template-columns: 1fr auto; align-items: center; } }
.cta-simple h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.cta-simple p { color: var(--slate); margin-top: 8px; }

/* 17. FOOTER --------------------------------------------------------------- */
.ftr { background: var(--navy-950); color: var(--dark-text); font-size: .9375rem; }
.ftr a { color: var(--dark-text); }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; gap: 40px; padding-block: clamp(3.5rem, 6vw, 5.5rem) 48px; }
.ftr__brand img { width: 172px; margin-bottom: 20px; }
.ftr__brand p { max-width: 34ch; color: var(--dark-text); }
.ftr__brand .btn-row { margin-top: 24px; }
.ftr__col h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
.ftr__col ul { list-style: none; display: grid; gap: 10px; }
.ftr__contact { display: grid; gap: 8px; }
@media (min-width: 720px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__top { grid-template-columns: 4fr 2fr 2fr 2fr 3fr; } }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--dark-line); font-size: .8125rem; }
.ftr__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dark-line); font-weight: 700; font-size: .875rem; transition: all var(--t-fast); }
.social a:hover { background: #fff; color: var(--navy-950); border-color: #fff; }

/* Flottants : assistant + retour en haut */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab { height: 50px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; background: var(--navy-950); color: #fff; font-weight: 600; font-size: .875rem; border-radius: 999px; box-shadow: var(--shadow-float); transition: background-color var(--t-fast), transform var(--t-med) var(--ease-out), opacity var(--t-med); }
.fab:hover { background: var(--blue-700); }
.fab svg { width: 20px; height: 20px; }
.fab--icon { width: 50px; padding: 0; justify-content: center; background: #fff; color: var(--navy-950); border: 1px solid var(--line); }
.fab--icon:hover { background: var(--mist); }
.fab--icon.is-off { opacity: 0; transform: translateY(12px); pointer-events: none; }
.assistant { width: min(340px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: var(--shadow-float); border-top: 2px solid var(--red); transform-origin: bottom right; animation: fadeswap .35s var(--ease) both; }
.assistant__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--navy-950); color: #fff; font-weight: 600; font-size: .9375rem; }
.assistant__head button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.assistant__body { padding: 18px; display: grid; gap: 8px; }
.assistant__body p { font-size: .9rem; color: var(--slate); margin-bottom: 6px; }
.assistant__body a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); color: var(--navy-950); font-size: .9rem; font-weight: 500; }
.assistant__body a:hover { border-color: var(--blue-700); color: var(--blue-700); }
@media (min-width: 640px) { .floating { right: 24px; bottom: 24px; } }

/* 18. FORMULAIRES ---------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label, fieldset > legend { font-size: .875rem; font-weight: 600; color: var(--navy-950); }
.field .opt { font-weight: 400; color: var(--slate); }
.req { color: var(--red); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23031533' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px var(--blue-100); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: .8125rem; color: var(--error); }
.field-error:empty { display: none; }
.field-error::before { content: '!'; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.field-hint { font-size: .8125rem; color: var(--slate); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: .9rem; font-weight: 500; transition: all var(--t-fast); }
.choice small { display: block; font-weight: 400; color: var(--slate); font-size: .8rem; }
.choice input:checked + span { border-color: var(--blue-700); background: var(--blue-100); box-shadow: inset 0 0 0 1px var(--blue-700); }
.choice input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: #33415C; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-700); }
.drop { position: relative; display: grid; gap: 4px; place-items: center; text-align: center; padding: 26px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: #fff; transition: all var(--t-fast); }
.drop:hover, .drop.is-over { border-color: var(--blue-700); background: var(--mist); }
.drop.has-file { border-style: solid; border-color: var(--blue-700); background: var(--blue-100); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font-size: .9rem; color: var(--navy-950); font-weight: 600; }
.drop small { font-size: .78rem; color: var(--slate); }
.counter { font-size: .75rem; color: var(--slate); text-align: right; }

/* Formulaire multi-étapes */
.wizard { display: grid; gap: 0; border: 1px solid var(--line); background: #fff; }
@media (min-width: 1000px) { .wizard { grid-template-columns: 300px 1fr; } }
.wizard__steps { list-style: none; display: flex; gap: 0; overflow-x: auto; padding: 0; background: var(--mist); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.wizard__steps li { flex: 1 0 auto; display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; align-items: center; padding: 16px; font-size: .8125rem; color: var(--slate); }
.wizard__steps .mk { grid-row: span 2; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; font-weight: 600; font-size: .8125rem; transition: all var(--t-med); }
.wizard__steps b { font-weight: 600; color: inherit; font-size: .875rem; }
.wizard__steps small { display: none; }
.wizard__steps li.is-current { color: var(--navy-950); }
.wizard__steps li.is-current .mk { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.wizard__steps li.is-done { color: var(--navy-950); }
.wizard__steps li.is-done .mk { background: var(--navy-950); border-color: var(--navy-950); color: var(--blue-300); }
@media (min-width: 1000px) {
  .wizard__steps { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 24px 0; }
  .wizard__steps li { flex: none; padding: 16px 24px; position: relative; }
  .wizard__steps li + li::before { content: ''; position: absolute; left: 39px; top: -16px; height: 32px; width: 1px; background: var(--line-strong); }
  .wizard__steps small { display: block; }
}
@media (max-width: 999px) { .wizard__steps li:not(.is-current) b { display: none; } }
.wizard__main { padding: clamp(22px, 4vw, 44px); min-width: 0; }
.wizard__bar { height: 2px; background: var(--line); margin-bottom: 28px; }
.wizard__bar span { display: block; height: 100%; background: var(--blue-700); transition: width var(--t-med) var(--ease-out); }
.wizard__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; font-size: .8125rem; color: var(--slate); }
.wizard__head b { color: var(--navy-950); }
.wizard__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__step { display: none; }
.wizard__step.is-current { display: grid; gap: 22px; animation: fadeswap .4s var(--ease) both; }
.wizard__step h3 { font-size: 1.35rem; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--error); background: #FDECEC; color: #6E0D13; font-size: .875rem; }
.alert--info { border-color: var(--blue-700); background: var(--blue-100); color: var(--navy-800); }
.success { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 4vw, 48px); }
.success__ico { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #E8F5EE; color: var(--ok); }
.success__ico svg { width: 26px; height: 26px; }
.success h3 { font-size: 1.6rem; }
.selected-job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--mist); border-left: 3px solid var(--blue-700); }

/* 19. COMPOSANTS DE PAGES -------------------------------------------------- */
/* Frise chronologique */
.timeline { margin-top: 40px; }
.timeline__rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.timeline__rail::before { content: ''; position: absolute; left: 0; right: 0; top: 47px; height: 1px; background: var(--line-strong); }
.timeline__prog { position: absolute; left: 0; top: 46px; height: 3px; background: var(--red); transition: width var(--t-slow) var(--ease-out); }
.ms { position: relative; display: grid; gap: 14px; justify-items: start; text-align: left; padding-right: 16px; color: var(--slate); }
.ms__y { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1; height: 28px; display: flex; align-items: flex-end; transition: color var(--t-fast); }
.ms__d { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); transition: all var(--t-med); position: relative; z-index: 1; }
.ms__t { font-size: .8125rem; line-height: 1.35; }
.ms.is-past .ms__d { background: var(--red); border-color: var(--red); }
.ms.is-current { color: var(--navy-950); }
.ms.is-current .ms__y { color: var(--blue-700); }
.ms.is-current .ms__d { box-shadow: 0 0 0 5px rgba(227, 6, 19, .18); }
.timeline__card { display: grid; gap: 16px; margin-top: 32px; padding: clamp(22px, 3vw, 36px); background: var(--mist); border-left: 3px solid var(--blue-700); }
@media (min-width: 720px) { .timeline__card { grid-template-columns: 160px 1fr auto; align-items: center; } }
.timeline__card .y { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; color: var(--blue-700); }
.timeline__card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.timeline__card .btn-row { gap: 8px; }
.icon-btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; transition: all var(--t-fast); }
.icon-btn:hover { border-color: var(--navy-950); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn svg { width: 18px; height: 18px; }

/* Valeurs */
.values { display: grid; gap: 24px; }
@media (min-width: 960px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { position: relative; display: flex; flex-direction: column; min-height: 520px; color: #fff; overflow: hidden; background: var(--navy-950); isolation: isolate; }
.value img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.value::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 21, 51, .2) 0%, rgba(3, 21, 51, .92) 62%); transition: background var(--t-slow); }
.value:hover img { transform: scale(1.06); }
.value__body { margin-top: auto; padding: 28px; }
.value h3 { font-size: 2rem; color: #fff; }
.value blockquote { margin: 14px 0 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; color: var(--blue-200); }
.value p { margin-top: 14px; font-size: .9rem; color: rgba(255, 255, 255, .82); line-height: 1.6; }

/* Personnes */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person__ph { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--mist); color: var(--slate); font-size: .8125rem; border: 1px solid var(--line); }
.person b { display: block; margin-top: 14px; font-weight: 600; color: var(--navy-950); }
.person span { font-size: .875rem; color: var(--slate); }

/* Chaîne de valeur (page activités) */
.chain { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chain ol { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; counter-reset: c; }
.chain a { position: relative; display: grid; gap: 2px; padding: 16px 18px 16px 0; color: var(--slate); font-size: .875rem; font-weight: 500; }
.chain a span { font-size: .7rem; letter-spacing: .12em; color: var(--slate-light); font-weight: 600; }
.chain a::after { content: ''; position: absolute; left: 0; right: 18px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.chain a.is-active { color: var(--navy-950); }
.chain a.is-active span { color: var(--red); }
.chain a.is-active::after { transform: scaleX(1); }
.sector-block { scroll-margin-top: calc(var(--header-h) + 64px); display: grid; gap: 32px; padding-block: clamp(3.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .sector-block { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
  .sector-block:nth-child(even) .sector-block__media { order: 2; }
}
.sector-block__media { position: relative; aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; background: var(--navy-950); }
.sector-block__media img { width: 100%; height: 100%; object-fit: cover; }
.sector-block__n { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 5rem; line-height: 1; font-weight: 600; color: var(--line); letter-spacing: -.04em; }
.sector-block h2 { font-size: var(--fs-h2); margin: 10px 0 18px; }

/* Filiales : carte collante + fiches */
.fil-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .fil-layout { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } .fil-map { position: sticky; top: calc(var(--header-h) + 24px); } }
.fil-map { padding: 24px; background: var(--navy-950); color: var(--dark-text); }
.fil-map .net-map { max-height: 56vh; }
.fil-map__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.fil-map__chips .chip { min-height: 34px; font-size: .8rem; background: transparent; color: #fff; border-color: var(--dark-line); }
.fil-map__chips .chip:hover { border-color: #fff; }
.fil-map__chips .chip[aria-pressed="true"] { background: #fff; color: var(--navy-950); border-color: #fff; }
.fil-map__status { margin-top: 14px; font-size: .8125rem; }
.fil-list { display: grid; gap: 20px; }
.fil-card { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); background: #fff; transition: border-color var(--t-med), box-shadow var(--t-med); scroll-margin-top: calc(var(--header-h) + 40px); }
.fil-card.is-active { border-color: var(--blue-700); box-shadow: inset 3px 0 0 var(--blue-700); }
.fil-card__head { display: flex; gap: 18px; align-items: center; }
.fil-card__logo { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; padding: 6px; }
.fil-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fil-card h3 { font-size: 1.2rem; line-height: 1.25; }
.fil-card .city { font-size: .8125rem; color: var(--slate); margin-top: 2px; }
.fil-card p { color: #33415C; font-size: .9375rem; }
.fil-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fil-card address { font-style: normal; font-size: .8125rem; color: var(--slate); padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.fil-card address svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--blue-700); }

/* Galerie */
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }
.masonry__item { position: relative; display: block; width: 100%; margin-bottom: 16px; break-inside: avoid; overflow: hidden; background: var(--mist); text-align: left; }
.masonry__item img { width: 100%; transition: transform var(--t-slow) var(--ease-out); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(3, 21, 51, .85)); color: #fff; font-size: .875rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: all var(--t-med) var(--ease); }
.masonry__item:hover figcaption, .masonry__item:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry__item figcaption { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 260; display: grid; grid-template-rows: auto 1fr auto; background: rgba(3, 12, 30, .96); color: #fff; }
.lightbox__top, .lightbox__bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); font-size: .875rem; }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; animation: fadeswap .35s var(--ease) both; }
.lightbox .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.lightbox .icon-btn:hover { border-color: #fff; }

/* Offres d'emploi */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .job { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }
.job h3 { font-size: 1.2rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: .8125rem; color: var(--slate); }
.job p { margin-top: 10px; color: #33415C; font-size: .9375rem; max-width: 70ch; }
.job .btn-row { flex-wrap: nowrap; }
.promise { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(3, 1fr); } .promise > div + div { border-left: 1px solid var(--line); padding-left: 32px; } }
.promise > div { padding: 28px 32px 28px 0; border-bottom: 1px solid var(--line); }
.promise h3 { font-size: 1.15rem; margin-bottom: 8px; }
.promise p { color: var(--slate); font-size: .9375rem; }

/* Contact */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.info-card { padding: 28px; background: var(--navy-950); color: var(--dark-text); }
.info-card .eyebrow { color: var(--blue-300); }
.info-card a:not(.btn) { color: var(--blue-300); }
.info-card a:not(.btn):hover { color: #fff; }
.info-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.info-card p, .info-card a:not(.btn) { display: block; margin-top: 6px; }
.office { display: grid; gap: 24px; }
@media (min-width: 960px) { .office { grid-template-columns: 6fr 5fr; gap: 48px; align-items: start; } }
.office-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.office-card { padding: 28px; border: 1px solid var(--line); border-top: 2px solid var(--red); }
.office-card h3 { font-size: 1.4rem; }

/* Article */
.article-hero { padding-top: calc(var(--header-h) + var(--util-h) + 56px); padding-bottom: 48px; background: var(--navy-950); color: #fff; }
.article-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); max-width: 22ch; margin-top: 18px; }
.article-hero .crumbs { color: rgba(255, 255, 255, .7); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: .875rem; color: var(--dark-text); }
.article-figure { margin-block: 0; }
.article-figure--hero { margin-top: -1px; background: linear-gradient(var(--navy-950) 50%, #fff 50%); }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; }
.article-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: .8125rem; color: var(--slate); }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 8fr 4fr; gap: 80px; } .article-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.article-body .first { font-size: 1.3rem; line-height: 1.55; color: var(--navy-950); font-family: var(--font-display); font-weight: 500; }
.article-pics { display: grid; gap: 16px; margin: 32px 0; }
@media (min-width: 720px) { .article-pics { grid-template-columns: 1fr 1fr; } }
.article-pics figcaption { font-size: .8125rem; color: var(--slate); margin-top: 8px; }
.share { display: flex; gap: 8px; align-items: center; }
.share a, .share button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--navy-950); font-size: .78rem; font-weight: 700; }
.share a:hover, .share button:hover { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.brief { padding: 28px; background: var(--mist); }
.brief h2 { font-size: .75rem; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 8px; }
.brief .facts div { grid-template-columns: 100px 1fr; }

/* Qualité */
.policy-axes { counter-reset: ax; display: grid; gap: 24px; margin-top: 32px; }
.axis { padding: 28px; border: 1px solid var(--line); }
.axis h3 { font-size: 1.15rem; display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.axis h3 span { color: var(--red); font-family: var(--font-display); }
.pledges { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--dark-line); margin-top: 24px; }
.pledges li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--dark-line); color: #fff; }
.pledges li::before { content: ''; width: 12px; height: 12px; margin-top: 7px; border: 2px solid var(--red-on-dark); transform: rotate(45deg); }
.signature { margin-top: 32px; }
.signature img { width: 180px; }
.signature span { display: block; margin-top: 6px; font-weight: 600; color: var(--navy-950); }

/* Charte */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--line); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: 12px; font-size: .8125rem; }
.swatch b { display: block; color: var(--navy-950); }
.swatch code { color: var(--slate); font-size: .78rem; }
.type-row { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .type-row { grid-template-columns: 220px 1fr; align-items: baseline; } }
.type-row small { color: var(--slate); }

/* 20. RÉVÉLATION AU DÉFILEMENT --------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }

/* 21. MOUVEMENT RÉDUIT ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .hero__media img { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .scroll-cue__line::after { display: none; }
}

/* Impression */
@media print {
  .hdr, .drawer, .floating, .mega, .subnav, .chain { display: none !important; }
  .hero, .page-hero { min-height: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 22. RECHERCHE GLOBALE ---------------------------------------------------- */
.hdr__search { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius); transition: border-color var(--t-fast), background-color var(--t-fast); }
.hdr__search svg { width: 20px; height: 20px; }
.hdr__search:hover { border-color: currentColor; }
.hdr.is-solid .hdr__search { border-color: var(--line-strong); }
@media (min-width: 1100px) { .hdr__search { width: 42px; height: 42px; border-color: transparent; } .hdr.is-solid .hdr__search { border-color: transparent; } .hdr__search:hover, .hdr.is-solid .hdr__search:hover { border-color: currentColor; } }
.srch { position: fixed; inset: 0; z-index: 280; }
.srch__scrim { position: absolute; inset: 0; background: rgba(3, 21, 51, .6); animation: fadein .25s var(--ease) both; }
@keyframes fadein { from { opacity: 0; } }
.srch__panel { position: relative; background: #fff; color: var(--ink); padding: 24px 0 28px; max-height: 88svh; overflow-y: auto; box-shadow: var(--shadow-float); animation: fadeswap .3s var(--ease) both; }
.srch__bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--navy-950); padding-bottom: 12px; }
.srch__bar > svg { width: 24px; height: 24px; flex: none; color: var(--blue-700); }
.srch__bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1.2vw, 1.9rem); color: var(--navy-950); padding: 8px 0; }
.srch__bar input:focus { outline: none; }
.srch__bar input::-webkit-search-cancel-button { display: none; }
.srch__hint { margin: 16px 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.srch__list { list-style: none; }
.srch__list a { display: grid; grid-template-columns: 130px 1fr; gap: 2px 18px; padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--navy-950); }
.srch__list [aria-selected="true"] a { background: var(--mist); box-shadow: inset 3px 0 0 var(--red); }
.srch__k { grid-row: span 2; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); padding-top: 3px; }
.srch__t { font-weight: 600; }
.srch__d { font-size: .8125rem; color: var(--slate); }
@media (max-width: 599px) { .srch__list a { grid-template-columns: 1fr; } .srch__k { grid-row: auto; } }

/* 23. ESPACE PRESSE & KIT MÉDIA -------------------------------------------- */
.press { display: grid; gap: 32px; }
@media (min-width: 960px) { .press { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; } }
.kit-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }
.kit { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--navy-950); transition: border-color var(--t-fast); }
.kit:hover { border-color: var(--blue-700); color: var(--navy-950); }
.kit__img { display: grid; place-items: center; height: 120px; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); }
.kit__img--dark { background: var(--navy-950); }
.kit__img img { max-height: 44px; width: auto; }
.kit__body { display: grid; gap: 4px; padding: 16px; }
.kit__body b { font-weight: 600; font-size: .9375rem; }
.kit__body small { color: var(--slate); font-size: .8125rem; }
.kit__body .doc__dl { margin-top: 8px; color: var(--blue-700); }

/* 24. ALERTES E-MAIL PAR THÈME --------------------------------------------- */
.alerts { margin-top: 16px; }
.alerts .field-label { margin-bottom: 10px; }
.alert-chip { position: relative; }
.alert-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.alert-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 500; transition: all var(--t-fast); }
.alert-chip span::before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--line-strong); border-radius: 3px; transition: all var(--t-fast); }
.alert-chip input:checked + span { border-color: var(--navy-950); background: var(--navy-950); color: #fff; }
.alert-chip input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031533' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.alert-chip input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.doc-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.doc-controls .select { width: auto; min-width: 180px; min-height: 48px; }
.doc-controls .search { width: 280px; max-width: 100%; }
@media (max-width: 639px) { .doc-controls, .doc-controls .select, .doc-controls .search { width: 100%; } }

/* 25. NAVIGATION V1 : sous-menu « Le Groupe » + méga-menu « Nos activités » */
.hdr__item { position: relative; }
a.hdr__link { text-decoration: none; }
.dd { display: none; position: absolute; top: 100%; left: -8px; width: 380px; background: #fff; color: var(--ink); border-top: 2px solid var(--red); box-shadow: 0 30px 60px -24px rgba(3, 21, 51, .4); padding: 8px 20px 16px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
@media (min-width: 1100px) { .dd, .mega { display: block; } } /* après les règles display:none */
.dd.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd ul { list-style: none; }
.dd ul a { display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy-950); }
.dd ul a:hover { color: var(--blue-700); }
.dd ul a:hover .mega__ico { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.dd__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px 14px; background: var(--mist); color: var(--navy-950); font-weight: 600; font-size: .875rem; }
.dd__cta svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.dd__cta:hover { background: var(--blue-100); color: var(--navy-950); }
.dd__cta:hover svg { transform: translateX(4px); }
.mega__inner--v1 { grid-template-columns: 4fr 8fr; }
.mega__links--3 { grid-template-columns: repeat(3, 1fr); }
.drawer__single[aria-current="page"] { color: var(--blue-700); box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
.drawer__quick button { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--navy-950); text-align: left; }
.drawer__quick button svg { width: 18px; height: 18px; color: var(--blue-700); }
.mega__intro p.h3 { color: var(--navy-950); }
p.micro.muted { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
