/* ==========================================================================
   GROUPE MONDIAL BUSINESS · Design System
   Palette dérivée du logo client (bleu marine + or / Afrique).
   Typographie : Montserrat (display) + Inter (texte courant).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marque : valeurs officielles de la charte graphique Groupe MB, avril 2024.
     Bleu  #15679F  CMJN 91.59.14.2   RVB 21.103.159
     Jaune #F1CD43  CMJN 6.16.86.0    RVB 241.205.67
     Les autres teintes sont des déclinaisons de ces deux couleurs. */
  --navy-950: #061B2E;
  --navy-900: #0A2B47;
  --navy-800: #0F4470;
  --navy-700: #125A8C;
  --navy-600: #15679F;
  --blue-500: #15679F;   /* bleu de marque */
  --blue-400: #5A93BE;
  --blue-100: #E3EEF5;

  --gold-600: #806309;   /* texte sur fond clair : contraste AA */
  --gold-500: #F1CD43;   /* jaune de marque : aplats, filets, fonds sombres */
  --gold-400: #F6DE83;
  --gold-100: #FDF7E0;

  /* Neutres */
  --ink: #0E1726;
  --ink-soft: #3D4759;
  --grey-600: #5A6474;
  --grey-500: #7C8798;
  --grey-400: #A7B0BE;
  --grey-200: #DFE4EC;
  --grey-100: #EEF1F6;
  --grey-50: #F6F8FB;
  --white: #FFFFFF;

  /* Sémantique */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --bg-dark: var(--navy-900);
  --text: var(--ink);
  --text-muted: var(--grey-600);
  --border: var(--grey-200);
  --accent: var(--gold-500);
  --primary: var(--navy-800);

  /* Typographie : la charte ne retient que Montserrat, en Regular pour la
     signature et en Black pour le nom. Elle est donc employée partout, titres
     comme texte courant. */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
  --fs-h2: clamp(1.875rem, 1.5rem + 1.7vw, 3.25rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  --fs-display: clamp(2.75rem, 1.5rem + 5vw, 5.75rem);

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --sp-11: 6.5rem;
  --sp-12: 8rem;

  --section-y: clamp(4rem, 3rem + 5vw, 8rem);
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);

  /* Divers */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 43, 71, .06), 0 2px 8px rgba(10, 43, 71, .05);
  --shadow: 0 4px 12px rgba(10, 43, 71, .07), 0 14px 34px rgba(10, 43, 71, .08);
  --shadow-lg: 0 18px 50px rgba(10, 43, 71, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `clip` évite de créer un conteneur de défilement, ce qui perturbe
     `position: sticky` sur certains navigateurs. `hidden` sert de repli. */
  overflow-x: hidden;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0 0 var(--sp-4);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-500); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

strong { font-weight: 650; color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--navy-800); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   4. Typographie utilitaire
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  flex: none;
}
.section--dark .eyebrow { color: var(--gold-400); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
}
.section--dark .lead { color: rgba(255, 255, 255, .74); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* Titre en deux temps, écho au motif de la référence :
   ligne fine grise + ligne forte. */
.title-stack { margin-bottom: var(--sp-5); }
.title-stack__thin {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  color: var(--grey-500);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.title-stack__bold {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  color: var(--navy-900);
  letter-spacing: -.02em;
  line-height: 1.08;
}
.section--dark .title-stack__thin { color: rgba(255, 255, 255, .55); }
.section--dark .title-stack__bold { color: #fff; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 68, 112, .28);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--accent { --btn-bg: var(--gold-500); --btn-bd: var(--gold-500); --btn-fg: var(--navy-950); }
.btn--accent:hover { box-shadow: 0 10px 24px rgba(241, 205, 67, .45); }

.btn--ghost { --btn-bg: transparent; --btn-bd: var(--grey-200); --btn-fg: var(--navy-900); }
.btn--ghost:hover { --btn-bd: var(--navy-800); box-shadow: none; }

.btn--on-dark { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .38); --btn-fg: #fff; }
.btn--on-dark:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--navy-900); box-shadow: none; }

.btn--light { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--navy-900); }

.btn--sm { padding: .65rem 1.2rem; font-size: .875rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

/* Lien fléché façon éditorial */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy-800);
  letter-spacing: .005em;
}
.arrow-link .chev {
  display: inline-flex;
  transition: transform .3s var(--ease);
}
.arrow-link:hover { color: var(--blue-500); }
.arrow-link:hover .chev { transform: translateX(5px); }
.section--dark .arrow-link { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 40px;
  padding-block: .4rem;
}
.topbar__group { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .72); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar__tag { color: var(--gold-400); font-weight: 500; letter-spacing: .04em; }
@media (max-width: 900px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(10, 43, 71, .07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy-900);
  letter-spacing: -.015em;
}
.brand__tag {
  font-size: .6875rem;
  color: var(--grey-500);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > li { margin: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem .85rem;
  font-size: .9375rem;
  font-weight: 550;
  color: var(--ink-soft);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--navy-800); background: var(--grey-100); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 650; }
.nav__link .caret { width: 11px; height: 11px; opacity: .6; transition: transform .25s var(--ease); }
.nav__item:hover .caret { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 310px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .55rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop li { margin: 0; }
.nav__drop a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius);
  color: var(--navy-900);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.nav__drop a span {
  display: block;
  font-size: .8125rem;
  font-weight: 400;
  color: var(--grey-500);
  margin-top: .15rem;
}
.nav__drop a:hover { background: var(--grey-50); color: var(--navy-800); }

.header__cta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  transition: background .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta .btn { display: none; }
}

/* Panneau mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: #fff;
  padding: var(--sp-5) var(--gutter) var(--sp-9);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--grey-100); }
.mobile-nav > ul > li > a,
.mobile-nav > ul > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.mobile-nav__sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mobile-nav__sub.is-open { max-height: 480px; }
.mobile-nav__sub a {
  display: block;
  padding: .6rem 0 .6rem 1rem;
  font-size: .9375rem;
  color: var(--grey-600);
  border-left: 2px solid var(--grey-200);
  margin-bottom: .2rem;
}
.mobile-nav__sub a:hover { color: var(--navy-800); border-left-color: var(--gold-500); }
.mobile-nav__foot { margin-top: var(--sp-7); display: grid; gap: var(--sp-3); }
.mobile-nav .caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.mobile-nav button[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy-950);
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--navy-950); }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}
/* Fond vidéo : pas de zoom ajouté, l'image bouge déjà. L'attribut `poster`
   reste affiché si le fichier vidéo est absent, le hero ne casse donc pas. */
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 27, 46, .82) 0%, rgba(6, 27, 46, .45) 38%, rgba(6, 27, 46, .92) 100%),
    linear-gradient(100deg, rgba(15, 68, 112, .78) 0%, rgba(15, 68, 112, .1) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(5rem, 4rem + 8vw, 9rem) clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.hero__content { max-width: 940px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold-500); }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
}
.hero__title strong { font-weight: 800; color: #fff; display: block; }
.hero__title .accent { color: var(--gold-400); }

.hero__lead {
  font-size: clamp(1.0625rem, .95rem + .6vw, 1.375rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .86);
  max-width: 640px;
  margin-bottom: var(--sp-7);
  font-weight: 300;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__meta-item { display: flex; flex-direction: column; gap: .15rem; }
.hero__meta-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__meta-label {
  font-size: .78125rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 3;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* Hero de page intérieure */
.page-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(4.5rem, 3.5rem + 6vw, 8rem) clamp(3.5rem, 3rem + 3vw, 5.5rem);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(6, 27, 46, .94) 0%, rgba(10, 43, 71, .8) 46%, rgba(21, 103, 159, .55) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__content { max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero .lead { color: rgba(255, 255, 255, .82); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  font-size: .8125rem;
  letter-spacing: .03em;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .55); }
.breadcrumb a { color: rgba(255, 255, 255, .74); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }

/* --------------------------------------------------------------------------
   8. Cartes pôles (motif éditorial image + titre)
   -------------------------------------------------------------------------- */
.unit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
@media (max-width: 1100px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .unit-grid { grid-template-columns: 1fr; } }

.unit {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: var(--sp-6);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
}
.unit__media { position: absolute; inset: 0; z-index: -2; }
.unit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.unit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 27, 46, .25) 0%, rgba(6, 27, 46, .72) 55%, rgba(6, 27, 46, .93) 100%);
  transition: background .5s var(--ease);
}
.unit:hover .unit__media img { transform: scale(1.07); }
.unit:hover::after { background: linear-gradient(180deg, rgba(15, 68, 112, .45) 0%, rgba(15, 68, 112, .85) 55%, rgba(6, 27, 46, .96) 100%); }

.unit__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-400);
  margin-bottom: auto;
}
.unit__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
}
.unit__desc {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .76);
  line-height: 1.55;
  margin: 0 0 var(--sp-4);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.unit:hover .unit__desc, .unit:focus-within .unit__desc { max-height: 140px; opacity: 1; }
.unit__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: .02em;
}
.unit__link .chev { transition: transform .3s var(--ease); }
.unit:hover .unit__link .chev { transform: translateX(5px); }
.unit__cover { position: absolute; inset: 0; z-index: 1; }

@media (max-width: 900px) {
  .unit__desc { max-height: 140px; opacity: 1; }
}

/* --------------------------------------------------------------------------
   9. Cartes standard
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3, .card h4 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-muted); font-size: .9375rem; }
.card__foot { margin-top: auto; padding-top: var(--sp-4); }

.card--flat { border: 0; background: var(--grey-50); }
.card--flat:hover { box-shadow: none; transform: none; background: var(--blue-100); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--navy-800);
  margin-bottom: var(--sp-5);
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--gold { background: var(--gold-100); color: var(--gold-600); }
.section--dark .icon-badge { background: rgba(255, 255, 255, .1); color: var(--gold-400); }

/* Carte média (actualité, référence) */
.media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.media-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-card:hover .media-card__media img { transform: scale(1.06); }
.media-card__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.media-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.media-card__tag { color: var(--gold-600); }
.media-card__meta span:not(.media-card__tag)::before { content: "/"; margin-right: .75rem; color: var(--grey-400); }
.media-card h3 { font-size: 1.1875rem; margin-bottom: var(--sp-3); }
.media-card p { font-size: .9375rem; color: var(--text-muted); }
.media-card__foot { margin-top: auto; padding-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   10. Split (deux colonnes texte + image)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 2rem + 4vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-7); }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.split__media--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 4 / 3; object-fit: cover; }

.split__badge {
  position: absolute;
  right: clamp(-1rem, -2vw, -2rem);
  bottom: clamp(-1rem, -2vw, -2rem);
  background: var(--navy-800);
  color: #fff;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.split__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: .35rem;
}
.split__badge span { font-size: .875rem; color: rgba(255, 255, 255, .8); line-height: 1.4; display: block; }
@media (max-width: 900px) { .split__badge { position: static; margin-top: var(--sp-4); max-width: none; } }

/* --------------------------------------------------------------------------
   11. Liste à puces cochées
   -------------------------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: .85rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4470' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list li strong { color: var(--navy-900); }
.section--dark .check-list li { color: rgba(255, 255, 255, .76); }
.section--dark .check-list li::before {
  background-color: rgba(246, 222, 131, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6DE83' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.check-list--2 { grid-template-columns: repeat(2, 1fr); gap: .85rem var(--sp-6); }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. Bandeau chiffres
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats--dark { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }
.stat { background: #fff; padding: var(--sp-6) var(--sp-5); text-align: center; }
.stats--dark .stat { background: var(--navy-900); }
.stat__num {
  font-family: var(--font-display);
  /* Le minimum reste bas : certaines valeurs sont des mots (« Abidjan »)
     et non des nombres courts. */
  font-size: clamp(1.5rem, 1rem + 2vw, 3.25rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
  overflow-wrap: anywhere;
}
.stats--dark .stat__num { color: var(--gold-400); }
.stat__label {
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  line-height: 1.4;
}
.stats--dark .stat__label { color: rgba(255, 255, 255, .6); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat { padding: var(--sp-5) var(--sp-3); } }

/* --------------------------------------------------------------------------
   13. Bloc audiences (deux portes d'entrée)
   -------------------------------------------------------------------------- */
.door-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 820px) { .door-grid { grid-template-columns: 1fr; } }

.door {
  position: relative;
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--grey-50);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.door--dark { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .8); }
.door--dark h3 { color: #fff; }
.door--dark .arrow-link { color: var(--gold-400); }
.door__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-600);
  margin-bottom: var(--sp-4);
  display: block;
}
.door--dark .door__num { color: var(--gold-400); }
.door p { margin-bottom: var(--sp-5); }
.door--dark p { color: rgba(255, 255, 255, .76); }

/* --------------------------------------------------------------------------
   14. Bandeau partenaires
   -------------------------------------------------------------------------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 980px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }
.logo-strip__item {
  background: #fff;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--grey-400);
  transition: color .3s var(--ease), background .3s var(--ease);
  text-align: center;
}
.logo-strip__item:hover { color: var(--navy-800); background: var(--grey-50); }

/* --------------------------------------------------------------------------
   15. Accordéon
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -.01em;
  line-height: 1.35;
}
.accordion__btn:hover { color: var(--blue-500); }
.accordion__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  margin-top: 2px;
}
.accordion__icon svg { width: 14px; height: 14px; }
.accordion__btn[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion__panel-inner { padding: 0 clamp(2.5rem, 6vw, 4rem) 1.75rem 0; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   16. Étapes numérotées
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--grey-200); counter-increment: step; }
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -.85rem;
  left: 0;
  background: #fff;
  padding-right: .75rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold-500);
}
.section--alt .step::before { background: var(--bg-alt); }
.step h4 { margin-bottom: var(--sp-3); }
.step p { font-size: .9375rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   17. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 205, 67, .26) 0%, rgba(241, 205, 67, 0) 68%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  flex-wrap: wrap;
}
.cta-band__text { max-width: 620px; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; font-size: var(--fs-lead); }

/* --------------------------------------------------------------------------
   18. Formulaire
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--navy-900); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: .9375rem;
  color: var(--ink);
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(21, 103, 159, .16);
}
.field__hint { font-size: .8125rem; color: var(--grey-500); }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 18px; height: 18px; flex: none; margin-top: .2rem; padding: 0; }
.field--check label { font-weight: 400; font-size: .875rem; color: var(--text-muted); line-height: 1.5; }
.form__note { font-size: .8125rem; color: var(--grey-500); }

/* --------------------------------------------------------------------------
   19. Encart contact
   -------------------------------------------------------------------------- */
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line__label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact-line__value { font-weight: 600; color: var(--navy-900); line-height: 1.5; }
.contact-line__value a { color: var(--navy-900); }
.contact-line__value a:hover { color: var(--blue-500); }
.section--dark .contact-line { border-color: rgba(255, 255, 255, .14); }
.section--dark .contact-line__icon { background: rgba(255, 255, 255, .1); color: var(--gold-400); }
.section--dark .contact-line__value, .section--dark .contact-line__value a { color: #fff; }
.section--dark .contact-line__label { color: rgba(255, 255, 255, .55); }

/* --------------------------------------------------------------------------
   20. Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.footer__top { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--sp-7);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) var(--sp-6); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: var(--sp-5); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--gold-400); }
.footer__about { max-width: 340px; line-height: 1.7; margin-bottom: var(--sp-5); }

.footer h4 {
  color: #fff;
  font-size: .8125rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--sp-5);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .7rem; }
.footer a { color: rgba(255, 255, 255, .66); }
.footer a:hover { color: var(--gold-400); }

.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.55; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: .28rem; color: var(--gold-400); }

.socials { display: flex; gap: .6rem; margin-top: var(--sp-5); }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .48);
}
.footer__legal { display: flex; gap: var(--sp-5); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   21. Animations d'apparition
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. Divers
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pill--gold { background: var(--gold-100); color: var(--gold-600); }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.prose h2 { margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-7); }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose blockquote {
  margin: var(--sp-7) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--navy-900);
  font-style: normal;
  line-height: 1.5;
}
.prose blockquote footer {
  margin-top: var(--sp-3);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  color: var(--grey-500);
}

/* --------------------------------------------------------------------------
   23. Hero incurvé des pages intérieures
   Une bande photo en haut, un panneau blanc qui remonte par-dessus avec un
   grand rayon en haut à droite, et un anneau fin en décor.
   -------------------------------------------------------------------------- */
.hero-curve {
  position: relative;
  background: var(--white);
  overflow: clip;
  /* `overflow: clip` n'établit pas de contexte de formatage : sans
     `flow-root`, la marge haute du panneau s'échapperait de la section et
     décalerait tout le hero vers le bas. */
  display: flow-root;
}

.hero-curve__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(320px, 34vw, 540px);
  z-index: 0;
}
.hero-curve__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-curve__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 27, 46, .62) 0%, rgba(6, 27, 46, .18) 46%, rgba(6, 27, 46, .40) 100%);
}

.hero-curve__crumbs {
  position: absolute;
  top: clamp(1.5rem, 3.5vw, 2.75rem);
  left: 0;
  right: 0;
  z-index: 3;
}
.hero-curve__crumbs .breadcrumb { margin-bottom: 0; }

.hero-curve__ring {
  position: absolute;
  z-index: 1;
  width: clamp(200px, 27vw, 400px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  right: clamp(3%, 7vw, 11%);
  top: clamp(80px, 12vw, 190px);
  pointer-events: none;
}

.hero-curve__panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(160px, 21vw, 310px);
  width: min(76%, 980px);
  background: var(--white);
  border-top-right-radius: clamp(70px, 10vw, 190px);
  padding: clamp(2.25rem, 4vw, 3.75rem) clamp(2rem, 3.5vw, 3.5rem) 0 0;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero-curve__panel h1 {
  /* Plus contenu que `--fs-h1` : le panneau est plus étroit que la page. */
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-bottom: var(--sp-5);
}
.hero-curve__panel h1 strong { font-weight: 800; color: var(--navy-800); }
.hero-curve__panel .eyebrow { margin-bottom: var(--sp-4); }
.hero-curve__panel .lead { max-width: 640px; }

.hero-curve__foot {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

@media (max-width: 900px) {
  .hero-curve__panel {
    width: 100%;
    padding-right: var(--gutter);
    border-top-right-radius: clamp(48px, 11vw, 90px);
  }
  .hero-curve__ring { display: none; }
}

/* --------------------------------------------------------------------------
   24. Bandeau capsule
   Cadre fin à grand rayon, photo à gauche, bloc marine plein cadre à droite.
   -------------------------------------------------------------------------- */
.feature-section { padding-block: var(--section-y); overflow-x: clip; }
.feature-section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

.feature-banner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding: clamp(1.5rem, 2.6vw, 2.75rem) 0 clamp(1.5rem, 2.6vw, 2.75rem) clamp(1.5rem, 2.6vw, 3rem);
}

.feature-banner__frame {
  position: absolute;
  inset: 0;
  right: -140px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: clamp(90px, 13vw, 220px) 0 0 clamp(90px, 13vw, 220px);
  pointer-events: none;
}

.feature-banner__media { position: relative; z-index: 1; }
.feature-banner__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: clamp(80px, 12vw, 200px) 0 0 clamp(80px, 12vw, 200px);
}
.feature-banner__media--mono img { filter: grayscale(1); }

.feature-banner__body {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-800);
  color: rgba(255, 255, 255, .82);
  padding: clamp(2.25rem, 4vw, 3.75rem);
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.feature-banner__over {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.feature-banner__body h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 var(--sp-5);
}
.feature-banner__body p { color: rgba(255, 255, 255, .82); }
.feature-banner__body strong { color: #fff; }
.feature-banner__body .btn-row { margin-top: var(--sp-6); }

@media (max-width: 900px) {
  .feature-banner {
    grid-template-columns: 1fr;
    margin-left: 0;
    padding: 0;
  }
  .feature-banner__frame { display: none; }
  .feature-banner__media img {
    aspect-ratio: 16 / 9;
    border-radius: 0 0 0 clamp(48px, 12vw, 90px);
  }
  .feature-banner__body { padding: clamp(2rem, 6vw, 2.75rem) var(--gutter); }
}

/* --------------------------------------------------------------------------
   25. Équerres décoratives
   -------------------------------------------------------------------------- */
.bracket { position: relative; padding: 1.4rem 0 0 1.4rem; }
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, .34);
  border-style: solid;
}
.bracket::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.bracket::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.bracket--light::before, .bracket--light::after { border-color: var(--border); }

/* --------------------------------------------------------------------------
   26. Bloc lettre d information découpé dans le pied de page
   -------------------------------------------------------------------------- */
.footer__news-wrap { position: relative; background: var(--navy-950); }
.footer__news {
  margin-left: auto;
  width: min(62%, 780px);
  background: var(--white);
  color: var(--navy-900);
  border-bottom-left-radius: clamp(70px, 9vw, 165px);
  padding: clamp(2rem, 3.5vw, 3.25rem) var(--gutter) clamp(2.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.footer__news h4 {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
  margin-bottom: var(--sp-4);
}
.newsletter-field {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .35rem .35rem .35rem 1.25rem;
  background: #fff;
  max-width: 500px;
}
.newsletter-field input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: transparent;
  padding: .6rem 0;
  min-width: 0;
}
.newsletter-field button {
  flex: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.newsletter-field button:hover { transform: translateX(2px); background: var(--gold-400); }
.newsletter-field button svg { width: 19px; height: 19px; }
.footer__news .field--check { margin-top: var(--sp-4); max-width: 500px; }
.footer__news .field--check label { color: var(--grey-600); }

@media (max-width: 900px) {
  .footer__news {
    width: 100%;
    border-bottom-left-radius: 0;
    padding-inline: var(--gutter);
  }
}

/* --------------------------------------------------------------------------
   27. Espaces dédiés du pied de page
   -------------------------------------------------------------------------- */
.footer__spaces { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.space-link { display: inline-flex; align-items: center; gap: .8rem; color: rgba(255, 255, 255, .82); }
.space-link__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.space-link__icon svg { width: 23px; height: 23px; }
.space-link:hover { color: #fff; }
.space-link:hover .space-link__icon { background: var(--gold-500); color: var(--navy-950); }

.footer__cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: var(--sp-5);
  letter-spacing: -.01em;
  text-transform: none;
}
.footer__cta-title strong { font-weight: 800; color: var(--gold-400); }
.footer__send {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 650;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: .3rem;
}
.footer__send:hover { color: var(--gold-400); border-bottom-color: var(--gold-400); }
.footer__send svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   28. Grille de liens de rubrique (hubs Groupe / Services / Solutions)
   -------------------------------------------------------------------------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.tile__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold-600);
  margin-bottom: var(--sp-4);
}
.tile h3 { font-size: 1.1875rem; margin-bottom: var(--sp-3); }
.tile p { font-size: .9375rem; color: var(--text-muted); margin-bottom: var(--sp-4); }
.tile__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   29. Menus déroulants larges (services et pôles)
   -------------------------------------------------------------------------- */
.nav__drop--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 0 .25rem;
  min-width: 640px;
  left: 50%;
  transform: translate(-50%, 8px);
}
.nav__item:hover .nav__drop--wide,
.nav__item:focus-within .nav__drop--wide { transform: translate(-50%, 0); }
.nav__drop--wide .nav__drop-all { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: .35rem; padding-top: .35rem; }
.nav__drop--wide .nav__drop-all a { color: var(--gold-600); }

/* Le dernier menu de la barre se rabat à droite pour rester dans l'écran. */
.nav__list > .nav__item:nth-last-child(3) .nav__drop--wide { left: auto; right: 0; transform: translate(0, 8px); }
.nav__list > .nav__item:nth-last-child(3):hover .nav__drop--wide,
.nav__list > .nav__item:nth-last-child(3):focus-within .nav__drop--wide { transform: translate(0, 0); }

/* --------------------------------------------------------------------------
   30. Ajustements du pied de page remanié
   -------------------------------------------------------------------------- */
.footer__grid { grid-template-columns: 1.9fr 1fr 1fr 1fr; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 820px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__top { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.footer__brand + .footer__about { margin-top: 0; }
.footer .footer__contact { margin-bottom: var(--sp-5); }
.footer__news .field--check input { accent-color: var(--navy-800); }

/* GMB: labels forts lisibles sur section sombre (le prototype les rendait navy-sur-navy, invisibles) */
.section--dark .check-list li strong { color: #fff; }

/* GMB: couper les longs e-mails/URL pour éviter le débordement horizontal (mobile) */
.contact-line__value, .contact-line__value a { overflow-wrap: anywhere; }
