/* ==========================================================================
   CITADELLE CAPITAL — Feuille de style unique
   Charte V2 : quasi-monochrome, Plus Jakarta Sans, filets, vide.
   Aucune couleur en dehors des 4 tokens ci-dessous.
   ========================================================================== */

@import url('fonts.css');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs — les seules autorisées */
  --albatre: #F4F2EC;
  --encre:   #1B1A16;
  --grege:   #9A9488;
  --blanc:   #FBFAF6;

  /* Grège assombri : STRICTEMENT réservé au texte posé sur fond clair.
     Même teinte que le grège, juste descendue pour atteindre le contraste
     AA (4,54:1 sur albâtre, 4,87:1 sur blanc). Le grège d’origine #9A9488
     reste la couleur des filets et du texte posé sur fond encre, où il
     atteint déjà 5,78:1. */
  --grege-texte: #726E64;

  /* Filets */
  --filet-clair:  rgba(154, 148, 136, 0.45);
  --filet-sombre: rgba(244, 242, 236, 0.20);

  /* Typographie */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ls-label: 0.24em;
  --ls-bouton: 0.12em;
  --ls-nav: 0.18em;

  /* Rythme */
  --container: 1240px;
  --marge: 80px;
  --section: 150px;
  --section-serree: 110px;

  /* Mouvement */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 900px) {
  :root { --marge: 24px; --section: 84px; --section-serree: 64px; }
}

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

/* La famille et la couleur sont posées sur <html> : une seule police et
   aucune valeur noire par défaut ne doivent apparaître dans l'inspecteur. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--albatre);
  color: var(--encre);
  font-family: var(--font);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--albatre);
  color: var(--encre);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  /* Évite le mot orphelin sur la dernière ligne d’un titre. */
  text-wrap: balance;
}
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--encre); color: var(--albatre); }

:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
}
.sur-encre :focus-visible,
.nav-mobile :focus-visible { outline-color: var(--albatre); }

/* Lien d'évitement clavier */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: var(--albatre);
  padding: 14px 22px; font-size: 12px; letter-spacing: var(--ls-bouton); text-transform: uppercase;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Structure
   -------------------------------------------------------------------------- */
.contenant {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--marge);
}

.section { padding: var(--section) 0; }
.section--serree { padding: var(--section-serree) 0; }

/* Section sur fond encre plein.
   Sur ce fond, le grège de la charte passe AA sans retouche. */
.sur-encre,
.bandeau,
.hero,
.signature,
.pied,
.nav-mobile {
  --grege-texte: var(--grege);
}

.sur-encre {
  background: var(--encre);
  color: var(--albatre);
}
.sur-encre .filet { background: var(--filet-sombre); }

/* Filet horizontal */
.filet { height: 1px; background: var(--filet-clair); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
.surtitre {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin: 0 0 26px;
}

.titre-xl { font-size: clamp(2.25rem, 5.4vw, 4.5rem); }
.titre-l  { font-size: clamp(2rem, 4vw, 3.25rem); }
.titre-m  { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.titre-s  { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

.sous-titre {
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.chapo {
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.7;
  max-width: 62ch;
}

.texte { max-width: 68ch; }
.mesure-courte { max-width: 52ch; }

.grege { color: var(--grege-texte); }
.medium { font-weight: 500; }

/* Numéro d'étape en filigrane */
.numero {
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--grege-texte);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   5. Boutons & liens
   -------------------------------------------------------------------------- */
.bouton {
  display: inline-block;
  background: var(--encre);
  color: var(--albatre);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--ls-bouton);
  text-transform: uppercase;
  padding: 19px 38px;
  border: 1px solid var(--encre);
  border-radius: 0;
  cursor: pointer;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.bouton:hover { background: transparent; color: var(--encre); }

.bouton--secondaire {
  background: transparent;
  color: var(--encre);
  border-color: var(--encre);
}
.bouton--secondaire:hover { background: var(--encre); color: var(--albatre); }

.sur-encre .bouton {
  background: var(--albatre);
  color: var(--encre);
  border-color: var(--albatre);
}
.sur-encre .bouton:hover { background: transparent; color: var(--albatre); }

.bouton--pleine { width: 100%; text-align: center; }

/* Lien texte avec filet */
.lien {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--ls-bouton);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--filet-clair);
  transition: border-color 250ms var(--ease);
}
.lien:hover { border-bottom-color: currentColor; }

.lien-discret {
  text-decoration: none;
  border-bottom: 1px solid var(--filet-clair);
  padding-bottom: 1px;
  transition: border-color 250ms var(--ease);
}
.lien-discret:hover { border-bottom-color: currentColor; }

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--albatre);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
}
.entete.est-collee { border-bottom-color: var(--filet-clair); }

.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 92px;
}

.entete__logo { display: block; flex-shrink: 0; }
.entete__logo img { width: 232px; height: auto; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease);
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--filet-clair); }
.nav a[aria-current="page"] { border-bottom-color: var(--encre); }

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 12px;
  margin-right: -12px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--encre);
  transition: transform 300ms var(--ease), opacity 200ms var(--ease), background 200ms var(--ease);
}
.burger span + span { margin-top: 7px; }
.burger[aria-expanded="true"] span { background: var(--albatre); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--encre);
  color: var(--albatre);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--marge);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease), visibility 320ms var(--ease);
}
.nav-mobile.est-ouverte { opacity: 1; visibility: visible; }
.nav-mobile a {
  text-decoration: none;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.01em;
  padding: 18px 0;
  border-bottom: 1px solid var(--filet-sombre);
  display: block;
}
.nav-mobile a:first-child { border-top: 1px solid var(--filet-sombre); }
.nav-mobile__pied {
  margin-top: 44px;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
}

@media (max-width: 1080px) {
  .entete__barre { height: 74px; }
  .entete__logo img { width: 200px; }
  .nav { display: none; }
  .burger { display: block; position: relative; z-index: 101; }
}

body.menu-ouvert { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Hero & bandeaux
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: flex-end;
  background: var(--encre);
  color: var(--albatre);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Traitement uniforme : léger désaturé, contraste doux, dominante chaude */
  filter: saturate(0.55) contrast(0.94) sepia(0.10);
}
.hero__voile { position: absolute; inset: 0; background: var(--encre); opacity: 0.62; }
.hero__contenu { position: relative; padding: 0 0 110px; width: 100%; }
.hero__titre { max-width: 15ch; margin-bottom: 34px; }
.hero__chapo { max-width: 58ch; margin-bottom: 44px; color: rgba(244, 242, 236, 0.86); }

.signature {
  border-top: 1px solid var(--filet-sombre);
  background: var(--encre);
  color: var(--albatre);
}
.signature p {
  margin: 0;
  padding: 26px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-align: center;
}

/* En-tête de page intérieure */
.bandeau {
  background: var(--encre);
  color: var(--albatre);
  padding: 120px 0 100px;
}
.bandeau .chapo { color: rgba(244, 242, 236, 0.78); margin-top: 28px; }

@media (max-width: 1080px) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero__contenu { padding-bottom: 68px; }
  .hero__titre { max-width: none; }
  .bandeau { padding: 64px 0 56px; }
}

/* --------------------------------------------------------------------------
   8. Grilles & blocs
   -------------------------------------------------------------------------- */
.grille--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.grille--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }

/* Blocs séparés par des filets verticaux */
.colonnes-filets { display: grid; grid-template-columns: repeat(3, 1fr); }
.colonnes-filets > * { padding: 0 48px; border-left: 1px solid var(--filet-clair); }
.colonnes-filets > *:first-child { padding-left: 0; border-left: 0; }
.colonnes-filets > *:last-child { padding-right: 0; }
.sur-encre .colonnes-filets > * { border-left-color: var(--filet-sombre); }

@media (max-width: 900px) {
  .grille--3, .grille--2, .colonnes-filets { grid-template-columns: 1fr; }
  .grille--3, .grille--2 { gap: 40px; }
  .colonnes-filets > * {
    padding: 34px 0;
    border-left: 0;
    border-top: 1px solid var(--filet-clair);
  }
  .colonnes-filets > *:first-child { padding-top: 0; border-top: 0; }
  .colonnes-filets > *:last-child { padding-bottom: 0; }
  .sur-encre .colonnes-filets > * { border-top-color: var(--filet-sombre); }
}

/* En-tête de section : label + titre à gauche, texte à droite */
.entete-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 76px;
}
.entete-section--simple { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .entete-section { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
}

/* Liste de lignes séparées par des filets (préférée aux cartes) */
.lignes { border-top: 1px solid var(--filet-clair); }
.sur-encre .lignes { border-top-color: var(--filet-sombre); }

.ligne {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--filet-clair);
}
.sur-encre .ligne { border-bottom-color: var(--filet-sombre); }
.ligne--duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }

@media (max-width: 900px) {
  .ligne, .ligne--duo {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }
}

/* Carte à filet (jamais d'ombre) */
.carte {
  background: var(--blanc);
  border: 1px solid var(--filet-clair);
  border-radius: 2px;
  padding: 44px 40px;
}
.carte__numero {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--grege-texte);
  display: block;
  margin-bottom: 30px;
}
.carte h3 { margin-bottom: 16px; }

.grille-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--filet-clair);
  border: 1px solid var(--filet-clair);
}
.grille-cartes .carte { border: 0; border-radius: 0; }
@media (max-width: 900px) { .grille-cartes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   9. Opérations
   -------------------------------------------------------------------------- */
.grille-operations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 40px;
}
@media (max-width: 1024px) { .grille-operations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grille-operations { grid-template-columns: 1fr; gap: 48px; } }

.operation { display: block; text-decoration: none; }
.operation__visuel {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--encre);
  overflow: hidden;
  margin-bottom: 24px;
}
.operation__visuel img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.94) sepia(0.10);
  transition: transform 600ms var(--ease);
}
.operation:hover .operation__visuel img { transform: scale(1.03); }

.badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--albatre);
  color: var(--encre);
  border: 1px solid var(--encre);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 7px 13px 6px;
  z-index: 1;
}

.operation__ville {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  display: block;
  margin-bottom: 12px;
}
.operation__nom { font-size: 1.5rem; margin-bottom: 10px; }
.operation__nature { color: var(--grege-texte); font-size: 15px; margin-bottom: 22px; }
.operation__strategie {
  border-top: 1px solid var(--filet-clair);
  padding-top: 18px;
  margin: 0 0 22px;
}
.operation__strategie dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin-bottom: 8px;
}
.operation__strategie dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* Filtres portfolio */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid var(--filet-clair);
  padding-bottom: 22px;
  margin-bottom: 68px;
}
.filtres button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  cursor: pointer;
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.filtres button:hover { color: var(--encre); }
.filtres button[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--encre); }

/* Page opération */
.operation-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--encre);
  overflow: hidden;
}
.operation-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.94) sepia(0.10);
}

.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .fiche { grid-template-columns: 1fr; gap: 34px; } }

.donnees { border-top: 1px solid var(--filet-clair); margin: 0; }
.donnees div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--filet-clair);
}
.donnees dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  padding-top: 4px;
}
.donnees dd { margin: 0; }
@media (max-width: 700px) { .donnees div { grid-template-columns: 1fr; gap: 6px; } }

.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .avant-apres { grid-template-columns: 1fr; gap: 28px; } }
.avant-apres figure { margin: 0; }
.avant-apres figcaption {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   10. Équipe
   -------------------------------------------------------------------------- */
.equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
@media (max-width: 900px) { .equipe { grid-template-columns: 1fr; gap: 48px; } }

.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--encre);
  overflow: hidden;
  margin-bottom: 26px;
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.96);
}
.membre__nom { font-weight: 500; font-size: 1.25rem; margin-bottom: 10px; }
.membre__fonction {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin-bottom: 20px;
}
.membre p { font-size: 15px; line-height: 1.62; }

/* --------------------------------------------------------------------------
   11. Formulaire
   -------------------------------------------------------------------------- */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.champ--large { grid-column: 1 / -1; }
@media (max-width: 700px) { .formulaire { grid-template-columns: 1fr; gap: 28px; } }

.champ label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin-bottom: 12px;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  background: var(--blanc);
  border: 0;
  border-bottom: 1px solid var(--filet-clair);
  border-radius: 0;
  padding: 12px 2px;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  color: var(--encre);
  transition: border-color 200ms var(--ease);
  appearance: none;
}
.champ textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.champ select {
  cursor: pointer;
  /* Chevron trait fin encre, aucune pastille */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231B1A16' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 30px;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--encre);
  padding-bottom: 11px;
}

.champ .erreur {
  display: none;
  font-size: 12px;
  color: var(--encre);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.champ.est-invalide .erreur { display: block; }
.champ.est-invalide input,
.champ.est-invalide select,
.champ.est-invalide textarea {
  border-bottom: 2px solid var(--encre);
  padding-bottom: 11px;
}

.mention-rgpd { font-size: 13px; color: var(--grege-texte); line-height: 1.6; }

.message-envoi {
  border: 1px solid var(--encre);
  padding: 22px 26px;
  font-size: 15px;
  margin-bottom: 34px;
}

/* Colonne coordonnées */
.coordonnees { border-top: 1px solid var(--filet-clair); margin: 0; }
.coordonnees div { padding: 22px 0; border-bottom: 1px solid var(--filet-clair); }
.coordonnees dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin-bottom: 8px;
}
.coordonnees dd { margin: 0; }

.contact-grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: 90px; align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; gap: 56px; } }

/* --------------------------------------------------------------------------
   12. Contenu éditorial (pages légales)
   -------------------------------------------------------------------------- */
.editorial { max-width: 72ch; }
.editorial h2 { font-size: 1.5rem; margin: 64px 0 20px; }
.editorial h2:first-child { margin-top: 0; }
.editorial h3 { font-size: 1.125rem; font-weight: 500; margin: 34px 0 12px; }
.editorial ul { margin: 0 0 1.15em; padding-left: 20px; list-style: none; }
.editorial ul li { position: relative; margin-bottom: 10px; }
.editorial ul li::before {
  content: "";
  position: absolute;
  left: -20px; top: 0.75em;
  width: 8px; height: 1px;
  background: var(--grege);
}

/* --------------------------------------------------------------------------
   13. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--encre);
  color: var(--albatre);
  padding: 96px 0 40px;
}
.pied__haut {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--filet-sombre);
}
.pied__logo { display: inline-block; }
.pied__logo img { width: 210px; margin-bottom: 26px; }
.pied__signature {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
}
.pied h2 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  margin: 0 0 22px;
}
.pied li { margin-bottom: 12px; font-size: 15px; }
.pied a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 250ms var(--ease); }
.pied a:hover { border-bottom-color: var(--filet-sombre); }

.pied__bas {
  padding-top: 34px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--grege-texte);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

@media (max-width: 900px) {
  .pied { padding: 64px 0 32px; }
  .pied__haut { grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
}

/* --------------------------------------------------------------------------
   14. Apparition — fondu + translation 12 px, 400 ms. Rien d'autre.
   -------------------------------------------------------------------------- */
/* Sans JavaScript, rien n’est masqué : la classe .js est posée par un script
   inline en tête de page. Le contenu reste donc toujours lisible. */
.js .apparait {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.js .apparait.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. Utilitaires
   -------------------------------------------------------------------------- */
.mt-s { margin-top: 22px; }
.mt-m { margin-top: 44px; }
.mt-l { margin-top: 76px; }
.mb-m { margin-bottom: 44px; }
.mb-l { margin-bottom: 76px; }
.visuellement-cache {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Emplacement d'image non encore fournie : aplat encre + label discret.
   Disparaît dès qu'une vraie <img> est posée par-dessus. */
.attente {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--encre);
  color: var(--grege); /* fond encre : le grège de la charte convient */
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
  padding: 20px;
}
/* Dans le hero, le repère se range en bas à droite pour ne pas croiser le titre. */
.hero .attente {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 26px 30px;
  background: transparent;
  opacity: 0.55;
  text-align: right;
}

/* --------------------------------------------------------------------------
   16. Impression — le site sert de couverture de dossier bancaire
   -------------------------------------------------------------------------- */
@media print {
  .entete, .burger, .nav-mobile, .filtres, .bouton, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .sur-encre, .bandeau, .hero, .pied, .signature {
    background: #fff !important;
    color: #000 !important;
  }
  .hero__voile, .hero__media, .attente { display: none; }
  .hero { min-height: auto; padding: 0; }
  .hero__contenu { padding-bottom: 0; }
  .apparait { opacity: 1; transform: none; }
  a { text-decoration: none; }
  .section { padding: 24pt 0; page-break-inside: avoid; }
  .pied__haut { display: none; }
}

/* --------------------------------------------------------------------------
   17. Chiffres-clés
   -------------------------------------------------------------------------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--filet-clair);
}
.sur-encre .chiffres { border-top-color: var(--filet-sombre); }

.chiffres > div {
  padding: 44px 40px 0 0;
  border-left: 1px solid var(--filet-clair);
  padding-left: 40px;
}
.chiffres > div:first-child { border-left: 0; padding-left: 0; }
.sur-encre .chiffres > div { border-left-color: var(--filet-sombre); }

.chiffre {
  display: block;
  font-weight: 300;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.chiffre__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres > div { padding: 28px 16px 0 0; }
  .chiffres > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .chiffres > div:nth-child(even) { padding-left: 24px; }
}

/* --------------------------------------------------------------------------
   18. Bande d'image pleine largeur
   -------------------------------------------------------------------------- */
.bande-image {
  position: relative;
  height: clamp(260px, 34vw, 460px);
  background: var(--encre);
  overflow: hidden;
}
.bande-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.94) sepia(0.10);
}
.bande-image figcaption {
  position: absolute;
  right: 0; bottom: 0;
  padding: 12px 18px;
  background: var(--encre);
  color: var(--grege);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   19. Liste de critères en deux colonnes
   -------------------------------------------------------------------------- */
.criteres { border-top: 1px solid var(--filet-clair); margin: 0; }
.sur-encre .criteres { border-top-color: var(--filet-sombre); }
.criteres > div {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--filet-clair);
}
.sur-encre .criteres > div { border-bottom-color: var(--filet-sombre); }
.criteres dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--grege-texte);
  padding-top: 5px;
}
.criteres dd { margin: 0; font-size: 17px; }
@media (max-width: 780px) {
  .criteres > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* --------------------------------------------------------------------------
   20. Avertissement réglementaire
   -------------------------------------------------------------------------- */
.avertissement {
  border: 1px solid var(--filet-clair);
  padding: 34px 36px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--grege-texte);
}
.sur-encre .avertissement {
  border-color: var(--filet-sombre);
  color: var(--grege);
}
.avertissement strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--encre);
}
.sur-encre .avertissement strong { color: var(--albatre); }

/* --------------------------------------------------------------------------
   21. Pictogrammes d'étape
   Charte : trait fin 1,5 px, couleur encre ou grège, jamais dans une pastille.
   -------------------------------------------------------------------------- */
.etape__tete {
  display: flex;
  align-items: center;
  gap: 18px;
}
.etape__icone {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--grege-texte);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sur-encre .etape__icone { stroke: var(--grege); }

/* La colonne des numéros s'élargit pour accueillir le pictogramme. */
.lignes--etapes .ligne { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 900px) {
  .lignes--etapes .ligne { grid-template-columns: 1fr; }
  .etape__tete { margin-bottom: 6px; }
}

/* --------------------------------------------------------------------------
   22. Schéma du réseau de partenaires
   -------------------------------------------------------------------------- */
.reseau__cadre { margin: 0 auto; max-width: 1120px; }

.reseau { display: block; width: 100%; height: auto; }

.reseau__rayon {
  stroke: var(--filet-clair);
  stroke-width: 1;
}
.reseau__boite {
  fill: var(--blanc);
  stroke: var(--filet-clair);
  stroke-width: 1;
}
.reseau__centre {
  fill: var(--albatre);
  stroke: var(--filet-clair);
  stroke-width: 1;
}
.reseau__icone {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--encre);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reseau__nom {
  fill: var(--encre);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
}
.reseau__desc {
  fill: var(--grege-texte);
  font-family: var(--font);
  font-weight: 300;
  font-size: 13px;
}

/* La liste reste la version de référence en mobile et à l'impression :
   un schéma de 1240 px de large n'est pas lisible sur un téléphone. */
.reseau__liste { display: none; }

@media (max-width: 900px) {
  .reseau__cadre { display: none; }
  .reseau__liste { display: block; }
}

@media print {
  .reseau__cadre { display: none; }
  .reseau__liste { display: block; }
}

/* --------------------------------------------------------------------------
   23. Boutons posés sur un fond sombre
   Le hero et les bandeaux intérieurs sont en encre : les boutons doivent y
   basculer en albâtre, sans quoi le variant secondaire devient invisible.
   -------------------------------------------------------------------------- */
.hero .bouton,
.bandeau .bouton {
  background: var(--albatre);
  color: var(--encre);
  border-color: var(--albatre);
}
.hero .bouton:hover,
.bandeau .bouton:hover {
  background: transparent;
  color: var(--albatre);
}

.sur-encre .bouton--secondaire,
.hero .bouton--secondaire,
.bandeau .bouton--secondaire {
  background: transparent;
  color: var(--albatre);
  border-color: var(--albatre);
}
.sur-encre .bouton--secondaire:hover,
.hero .bouton--secondaire:hover,
.bandeau .bouton--secondaire:hover {
  background: var(--albatre);
  color: var(--encre);
}

/* Sur mobile, les deux boutons du hero passent l'un sous l'autre. */
@media (max-width: 560px) {
  .hero .bouton { display: block; text-align: center; }
  .hero .bouton + .bouton { margin: 14px 0 0 0 !important; }
}

/* --------------------------------------------------------------------------
   24. Chiffre isolé
   -------------------------------------------------------------------------- */
.chiffre-seul {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--filet-clair);
  padding-top: 48px;
}
.chiffre-seul .chiffre { margin: 0; white-space: nowrap; }
@media (max-width: 900px) {
  .chiffre-seul { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
}

/* --------------------------------------------------------------------------
   25. Accroche éditoriale
   -------------------------------------------------------------------------- */
.accroche {
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   26. Trio numéroté, sans filet vertical
   -------------------------------------------------------------------------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}
.trio__numero {
  display: block;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  color: var(--grege-texte);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; gap: 44px; }
  .trio__numero { margin-bottom: 16px; }
}

/* --------------------------------------------------------------------------
   27. Expertises — lignes séparées par des filets plutôt que des cartes
   -------------------------------------------------------------------------- */
.expertises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  border-top: 1px solid var(--filet-clair);
}
.expertise {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
  padding: 46px 0;
  border-bottom: 1px solid var(--filet-clair);
}
.expertise:nth-child(even) {
  border-left: 1px solid var(--filet-clair);
  padding-left: 56px;
  margin-left: -28px;
}
.expertise__numero {
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--grege-texte);
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .expertises { grid-template-columns: 1fr; column-gap: 0; }
  .expertise { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .expertise:nth-child(even) { border-left: 0; padding-left: 0; margin-left: 0; }
}

/* --------------------------------------------------------------------------
   28. Fonction des membres de l'équipe
   -------------------------------------------------------------------------- */
.membre__role {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--encre);
  margin-bottom: 8px;
}
.membre__detail {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--grege-texte);
  margin-bottom: 20px;
}

.mb-s { margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   29. Déclaration chiffrée
   --------------------------------------------------------------------------
   Le chiffre et sa phrase forment un seul énoncé, posé à gauche ; le
   commentaire vient à droite, calé sur la dernière ligne de l'énoncé.
   -------------------------------------------------------------------------- */
.declaration-bloc {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: end;
  border-top: 1px solid var(--filet-clair);
  padding-top: clamp(40px, 4.6vw, 66px);
}
.sur-encre .declaration-bloc { border-top-color: var(--filet-sombre); }

.declaration {
  font-weight: 300;
  font-size: clamp(1.625rem, 3.5vw, 2.9375rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 15ch;
  margin: 0;
}
.declaration strong { font-weight: 500; }

.declaration__note {
  font-size: 16px;
  line-height: 1.78;
  color: var(--grege-texte);
  max-width: 46ch;
  margin: 0;
}

@media (max-width: 900px) {
  .declaration-bloc {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding-top: 34px;
  }
  .declaration { max-width: none; }
  .declaration__note { max-width: none; }
}

/* --------------------------------------------------------------------------
   30. Bandeau d'image haut : format 16/9 au lieu d'une hauteur fixe,
   pour les photos où le sujet ne supporte pas un recadrage en bandeau.
   -------------------------------------------------------------------------- */
.bande-image--haute {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* --------------------------------------------------------------------------
   31. Page contact sans colonne latérale
   -------------------------------------------------------------------------- */
.contact-seul { max-width: 860px; }

/* --------------------------------------------------------------------------
   34. Bandeau large
   Une bande bord à bord, plus généreuse que le bandeau courant, pour les
   photographies dont le sujet a besoin de place.
   -------------------------------------------------------------------------- */
.bande-image--large {
  height: clamp(300px, 40vw, 620px);
}

/* --------------------------------------------------------------------------
   33. Photo porteuse de texte
   --------------------------------------------------------------------------
   Bande bord à bord, assez haute pour que la scène entière reste lisible.
   Le texte se pose en bas, sur la partie basse de l'image où il n'y a que
   la table : les visages restent dégagés. Voile encre à 55 %, borne basse
   de la charte, pour ne pas trop assombrir les personnes.
   -------------------------------------------------------------------------- */
.bandeau-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 58vw, 780px);
  background: var(--encre);
  color: var(--albatre);
  overflow: hidden;
  /* Sur fond encre, le grège de la charte passe AA sans retouche. */
  --grege-texte: var(--grege);
}

.bandeau-photo__media { position: absolute; inset: 0; }

.bandeau-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.55) contrast(0.94) sepia(0.10);
}

.bandeau-photo__voile {
  position: absolute;
  inset: 0;
  background: var(--encre);
  opacity: 0.55;
}

.bandeau-photo__contenu {
  position: relative;
  width: 100%;
  padding-bottom: clamp(44px, 5.5vw, 86px);
}

.bandeau-photo .chapo {
  color: rgba(244, 242, 236, 0.86);
  max-width: 54ch;
  margin-top: 26px;
}

.bandeau-photo .lien { border-bottom-color: var(--filet-sombre); }

@media (max-width: 900px) {
  .bandeau-photo { min-height: 520px; }
  .bandeau-photo__media img { object-position: center 30%; }
}

@media print {
  .bandeau-photo { min-height: 0; background: #fff; color: #000; }
  .bandeau-photo__media, .bandeau-photo__voile { display: none; }
  .bandeau-photo .chapo { color: #000; }
}

/* --------------------------------------------------------------------------
   35. Photo de fond portant une section entière
   --------------------------------------------------------------------------
   Ici la hauteur n'est pas fixée : elle découle du texte posé dessus, avec
   des marges généreuses au-dessus et en dessous. Le voile monte à 60 %,
   la lisibilité primant sur la lecture de la scène puisque l'image passe
   au second plan.
   -------------------------------------------------------------------------- */
.bandeau-photo--contenu {
  align-items: stretch;
  min-height: 0;
}

.bandeau-photo--contenu .bandeau-photo__contenu {
  padding: clamp(76px, 8.5vw, 136px) 0;
}

.bandeau-photo--contenu .bandeau-photo__voile { opacity: 0.60; }

.bandeau-photo--contenu .bandeau-photo__media img { object-position: center 30%; }

/* --------------------------------------------------------------------------
   36. Grands écrans
   --------------------------------------------------------------------------
   La charte fixe un conteneur de 1240 px, pensé pour un écran de portable.
   Au-delà, le site se perdait au milieu de la page. L'échelle monte donc
   progressivement, sans effet loupe : sur un écran de 1920 px le conteneur
   atteint 1440 px et le texte courant 19 px.

   Rien ne change en dessous de 1550 px environ : les valeurs plancher des
   clamp() reprennent exactement les tailles d'origine.
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  :root {
    --container: clamp(1240px, 75vw, 1560px);
    --marge: clamp(80px, 4.2vw, 110px);
    --section: clamp(150px, 8vw, 190px);
    --section-serree: clamp(110px, 5.9vw, 140px);
  }

  body { font-size: clamp(17px, 0.99vw, 21px); }

  .titre-xl { font-size: clamp(4.5rem, 4.38vw, 6.25rem); }
  .titre-l  { font-size: clamp(3.25rem, 2.92vw, 4.25rem); }
  .titre-m  { font-size: clamp(2.125rem, 1.98vw, 2.75rem); }
  .titre-s  { font-size: clamp(1.5rem, 1.35vw, 1.875rem); }

  .sous-titre { font-size: clamp(1.375rem, 1.25vw, 1.75rem); }
  .chapo      { font-size: clamp(1.1875rem, 1.09vw, 1.5rem); }
  .accroche   { font-size: clamp(2.375rem, 2.19vw, 3.25rem); }

  .declaration { font-size: clamp(2.9375rem, 2.7vw, 4rem); }
  .declaration__note { font-size: clamp(16px, 0.94vw, 20px); }

  .numero { font-size: clamp(3.25rem, 2.92vw, 4.25rem); }
  .trio__numero { font-size: clamp(2rem, 1.82vw, 2.75rem); }
  .expertise__numero { font-size: clamp(1.75rem, 1.6vw, 2.5rem); }

  .membre p { font-size: clamp(15px, 0.86vw, 18px); }
  .membre__nom { font-size: clamp(1.25rem, 1.14vw, 1.625rem); }
  .operation__nom { font-size: clamp(1.5rem, 1.35vw, 1.875rem); }
  .operation__nature,
  .operation__strategie dd { font-size: clamp(15px, 0.86vw, 18px); }
  .criteres dd { font-size: clamp(17px, 0.99vw, 21px); }
  .donnees dd,
  .coordonnees dd { font-size: clamp(16px, 0.94vw, 20px); }

  .surtitre { font-size: clamp(11px, 0.63vw, 14px); }
  .nav a    { font-size: clamp(12px, 0.68vw, 15px); }
  .lien     { font-size: clamp(12px, 0.68vw, 15px); }
  .bouton   { font-size: clamp(13px, 0.73vw, 16px); padding: clamp(19px, 1.1vw, 24px) clamp(38px, 2.15vw, 48px); }

  .entete__logo img { width: clamp(232px, 13.5vw, 300px); }
  .entete__barre    { height: clamp(92px, 5.4vw, 118px); }
  .pied li          { font-size: clamp(15px, 0.86vw, 18px); }

  /* Le schéma des partenaires suit la largeur du conteneur. */
  .reseau__cadre { max-width: min(70vw, 1360px); }
}
