/* ==========================================================================
   ML HOLDING — Feuille de styles
   Conforme à la charte graphique ML HOLDING v1.0 (septembre 2026)
   Bleu nuit #1B2A4A · Or #C9A44C · Répartition 60 % blanc / 30 % bleu / 10 % or
   Titres : Playfair Display — Texte : Barlow — Mentions : Barlow Condensed
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs principales (charte, section 04) */
  --nuit: #1b2a4a;
  --or: #c9a44c;
  /* Couleurs d'appoint */
  --or-clair: #ebd9a6;
  --acier: #6e7686;
  --blanc: #ffffff;

  /* Nuances autorisées du bleu (100 / 75 / 50 / 25 / 10 %) */
  --nuit-75: #545f7c;
  --nuit-50: #8d94a4;
  --nuit-25: #c6cad1;
  --nuit-10: #e8eaee;
  --nuit-05: #f4f5f7;
  --nuit-fonce: #131e35;

  /* Texte */
  --texte: #1b2a4a;
  --texte-doux: #55607a;
  --texte-mention: #6e7686;

  /* Typographie */
  --titre: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --corps: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --condense: 'Barlow Condensed', 'Barlow', Arial, sans-serif;

  /* Structure */
  --largeur: 1180px;
  --gouttiere: 24px;
  --rayon: 2px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Ombres — sobres, jamais de halo coloré (charte : « pas d'effet ») */
  --ombre-carte: 0 1px 2px rgba(27, 42, 74, .06), 0 8px 24px rgba(27, 42, 74, .07);
  --ombre-carte-active: 0 2px 4px rgba(27, 42, 74, .08), 0 16px 40px rgba(27, 42, 74, .13);
  --ombre-barre: 0 1px 0 rgba(27, 42, 74, .08), 0 6px 24px rgba(27, 42, 74, .08);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* L'attribut hidden doit primer sur tout display defini plus bas
   (cartes en flex, vignettes de galerie en block) — sans cela les filtres
   masquent l'attribut sans masquer l'element. */
[hidden] { display: none !important; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--corps);
  overflow-wrap: break-word;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

::selection { background: var(--or); color: var(--nuit); }

/* --------------------------------------------------------------------------
   3. Grille et blocs
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.conteneur-etroit { max-width: 820px; }

.section { padding: 92px 0; }
.section--dense { padding: 64px 0; }
.section--claire { background: var(--nuit-05); }
.section--filet-bas { border-bottom: 1px solid var(--nuit-10); }
.section--nuit { background: var(--nuit); color: var(--blanc); }
.section--nuit .section-titre,
.section--nuit h2, .section--nuit h3 { color: var(--blanc); }
.section--nuit p { color: rgba(255, 255, 255, .78); }

.lien-evitement {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--nuit); color: var(--blanc); padding: 12px 20px;
  font-family: var(--condense); text-transform: uppercase; letter-spacing: .08em;
}
.lien-evitement:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  font-style: normal; /* charte : pas d'italique dans les titres */
  line-height: 1.18;
  color: var(--nuit);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }

.surtitre {
  display: flex;
  align-items: flex-start;   /* sur deux lignes, le losange reste sur la première */
  gap: 10px;
  font-family: var(--condense);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.5;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
  text-wrap: balance;
}
.surtitre::before {
  content: '';
  width: 9px; height: 9px;
  margin-top: .42em;         /* aligné sur la hauteur d'œil de la première ligne */
  background: var(--or);
  transform: rotate(45deg);  /* losange, toujours pointe en haut */
  flex-shrink: 0;
}
.section--nuit .surtitre { color: var(--or-clair); }
.section--nuit .surtitre::before { background: var(--or-clair); }

.section-entete { max-width: 720px; margin-bottom: 52px; }
.section-entete--centre { margin-inline: auto; text-align: center; }
.section-entete--centre .surtitre { justify-content: center; text-align: center; }

.section-titre { margin-bottom: 18px; }
.section-titre .accent { color: var(--or); }

.chapo {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--texte-doux);
  font-weight: 400;
}
.section--nuit .chapo { color: rgba(255, 255, 255, .8); }

.mention {
  font-family: var(--condense);
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--texte-mention);
}

.filet-or {
  width: 56px; height: 2px;
  background: var(--or);
  margin-bottom: 22px;
}
.section-entete--centre .filet-or { margin-inline: auto; }

/* Liste à puce losange (charte, section 06) */
.liste-losange li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  color: var(--texte-doux);
}
.liste-losange li::before {
  content: '';
  position: absolute;
  left: 2px; top: .62em;
  width: 8px; height: 8px;
  background: var(--or);
  transform: rotate(45deg);
}
.liste-losange li:last-child { margin-bottom: 0; }
.section--nuit .liste-losange li { color: rgba(255, 255, 255, .82); }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--condense);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--or { background: var(--or); color: var(--nuit); border-color: var(--or); }
.btn--or:hover { background: #b8933f; border-color: #b8933f; }

.btn--nuit { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.btn--nuit:hover { background: var(--nuit-fonce); border-color: var(--nuit-fonce); }

.btn--contour { background: transparent; color: var(--nuit); border-color: var(--nuit-25); }
.btn--contour:hover { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }

.btn--contour-clair { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .4); }
.btn--contour-clair:hover { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--condense);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nuit);
  border-bottom: 1px solid var(--or);
  padding-bottom: 3px;
  transition: color var(--transition), gap var(--transition);
}
.lien-fleche:hover { color: var(--or); gap: 13px; }
.lien-fleche svg { width: 14px; height: 14px; }
.section--nuit .lien-fleche { color: var(--or-clair); }

/* --------------------------------------------------------------------------
   6. Identité — logo (charte, section 02)
   -------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.logo__symbole { width: 62px; height: 42px; flex-shrink: 0; }
.logo__filet {
  width: 2px; height: 30px;
  background: var(--nuit);
  flex-shrink: 0;
}
.logo__signature {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: .045em;
  color: var(--or);
  line-height: 1;
  white-space: nowrap;
}
.logo--clair .logo__filet { background: var(--or); }
.logo--clair .logo__signature { color: var(--or); }
.logo--petit .logo__symbole { width: 50px; height: 34px; }
.logo--petit .logo__signature { font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   7. Bandeau de contact + en-tête
   -------------------------------------------------------------------------- */
.bandeau-contact {
  background: var(--nuit);
  color: rgba(255, 255, 255, .8);
  font-family: var(--condense);
  font-size: .9rem;
  letter-spacing: .04em;
}
.bandeau-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  min-height: 42px;
  flex-wrap: wrap;
}
.bandeau-contact__liste {
  display: flex;
  align-items: center;
  gap: 6px 26px;
  flex-wrap: wrap;
  min-width: 0;
}
.bandeau-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.bandeau-contact__item span,
.bandeau-contact__item a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bandeau-contact__item svg { width: 14px; height: 14px; color: var(--or); flex-shrink: 0; }
.bandeau-contact a:hover { color: var(--or-clair); }
.bandeau-contact__mention { color: rgba(255, 255, 255, .55); }

.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--blanc);
  border-bottom: 1px solid var(--nuit-10);
  transition: box-shadow var(--transition);
}
.entete.est-collee { box-shadow: var(--ombre-barre); }
.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--condense);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--nuit);
  padding: 28px 13px;
  position: relative;
  transition: color var(--transition);
}
.nav__lien::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 22px;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__lien:hover { color: var(--or); }
.nav__lien:hover::after,
.nav__lien[aria-current="page"]::after { transform: scaleX(1); }
.nav__lien[aria-current="page"] { color: var(--or); }
.nav__chevron { width: 11px; height: 11px; transition: transform var(--transition); }
.nav__item:hover .nav__chevron { transform: rotate(180deg); }

/* Sous-menu */
.sous-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 268px;
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-top: 2px solid var(--or);
  box-shadow: var(--ombre-carte-active);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav__item:hover .sous-menu,
.nav__item:focus-within .sous-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sous-menu a {
  display: block;
  padding: 11px 22px;
  font-size: .93rem;
  color: var(--texte-doux);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.sous-menu a:hover {
  color: var(--nuit);
  background: var(--nuit-05);
  border-left-color: var(--or);
}

.entete__actions { display: flex; align-items: center; gap: 12px; }

.bouton-menu {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nuit-25);
  border-radius: var(--rayon);
  color: var(--nuit);
}
.bouton-menu svg { width: 20px; height: 20px; }
.bouton-menu__fermer { display: none; }
.bouton-menu[aria-expanded="true"] .bouton-menu__ouvrir { display: none; }
.bouton-menu[aria-expanded="true"] .bouton-menu__fermer { display: block; }

/* Menu mobile */
.menu-mobile {
  display: none;
  border-top: 1px solid var(--nuit-10);
  background: var(--blanc);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 12px 0 24px;
}
.menu-mobile.est-ouvert { display: block; }
.menu-mobile a {
  display: block;
  padding: 13px 4px;
  font-family: var(--condense);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--nuit-10);
}
.menu-mobile a[aria-current="page"] { color: var(--or); }
.menu-mobile .menu-mobile__sous a {
  padding-left: 22px;
  font-family: var(--corps);
  font-weight: 400;
  font-size: .93rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--texte-doux);
}
.menu-mobile .btn { width: 100%; margin-top: 18px; }

/* --------------------------------------------------------------------------
   8. Héros
   -------------------------------------------------------------------------- */
.heros {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--nuit);
  overflow: hidden;
}
.heros__media { position: absolute; inset: 0; }
.heros__media img { width: 100%; height: 100%; object-fit: cover; }
/* Charte : voile bleu nuit à 60 % minimum sur toute photo support de logo/texte */
.heros__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19, 30, 53, .93) 0%, rgba(19, 30, 53, .84) 46%, rgba(27, 42, 74, .66) 100%);
}
.heros__contenu {
  position: relative;
  z-index: 2;
  max-width: 730px;
  padding: 110px 0;
  color: var(--blanc);
}
.heros__titre { color: var(--blanc); margin-bottom: 22px; }
.heros__titre .accent { color: var(--or); }
.heros__texte {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
  margin-bottom: 34px;
}
.heros__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.heros__chiffres {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.heros__chiffre { padding: 26px 26px 30px; border-right: 1px solid rgba(255, 255, 255, .12); }
.heros__chiffre:last-child { border-right: 0; }
.heros__chiffre:first-child { padding-left: 0; }
.heros__chiffre .valeur {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--or);
}
.heros__chiffre .libelle {
  font-family: var(--condense);
  font-size: .87rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  margin-top: 9px;
}
.heros__chiffre .libelle__conversion {
  display: block;
  margin-top: 4px;
  letter-spacing: .08em;
  text-transform: none;
  color: rgba(255, 255, 255, .5);
}

/* Bandeau de page intérieure */
.banniere {
  position: relative;
  background: var(--nuit);
  overflow: hidden;
  padding: 84px 0 74px;
  color: var(--blanc);
}
.banniere__media { position: absolute; inset: 0; }
.banniere__media img { width: 100%; height: 100%; object-fit: cover; }
.banniere__voile {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(19, 30, 53, .95) 0%, rgba(19, 30, 53, .89) 55%, rgba(27, 42, 74, .8) 100%);
}
/* Ce bloc porte aussi la classe .conteneur : lui donner un max-width propre
   écraserait celui du conteneur et, avec margin-inline:auto, recentrerait la
   bannière — le titre ne serait plus aligné sur le reste de la page.
   La largeur de lecture se règle donc sur les enfants. */
.banniere__contenu { position: relative; z-index: 2; }
.banniere__contenu .fil-ariane,
.banniere__contenu .surtitre { max-width: 780px; }
.banniere__titre { color: var(--blanc); margin-bottom: 16px; max-width: 780px; }
.banniere__texte { color: rgba(255, 255, 255, .8); font-size: 1.05rem; max-width: 620px; }

.fil-ariane {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--condense);
  font-size: .87rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 18px;
}
.fil-ariane a:hover { color: var(--or); }
.fil-ariane__sep { color: var(--or); }
.fil-ariane [aria-current] { color: var(--or-clair); }

/* --------------------------------------------------------------------------
   9. Grilles génériques
   -------------------------------------------------------------------------- */
.grille { display: grid; gap: 28px; }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
.grille--serree { gap: 18px; }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.duo--texte-droite { direction: rtl; }
.duo--texte-droite > * { direction: ltr; }

/* --------------------------------------------------------------------------
   10. Cartes métiers
   -------------------------------------------------------------------------- */
.carte-metier {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.carte-metier:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-carte-active);
  border-color: var(--nuit-25);
}
.carte-metier__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nuit-10); }
.carte-metier__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.carte-metier:hover .carte-metier__media img { transform: scale(1.05); }
.carte-metier__numero {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--nuit);
  color: var(--or);
  font-family: var(--condense);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .18em;
  padding: 7px 16px;
}
.carte-metier__corps { padding: 26px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.carte-metier__titre { margin-bottom: 10px; }
.carte-metier__texte { font-size: .95rem; color: var(--texte-doux); margin-bottom: 20px; flex-grow: 1; }
.carte-metier__pied { border-top: 1px solid var(--nuit-10); padding-top: 17px; }

/* Carte à icône */
.carte-icone {
  display: flex;
  flex-direction: column;   /* le pied de carte peut ainsi être poussé en bas */
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Lien d'action aligné en bas de toutes les cartes d'une même rangée,
   quelle que soit la longueur du texte au-dessus. */
.carte-icone__pied {
  margin-top: auto;
  padding-top: 20px;
}
.carte-icone:hover { transform: translateY(-4px); box-shadow: var(--ombre-carte); }
.carte-icone__icone {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--or);
  color: var(--or);
  margin-bottom: 20px;
}
.carte-icone__icone svg { width: 24px; height: 24px; }
.carte-icone h3 { margin-bottom: 10px; }
.carte-icone p { font-size: .95rem; color: var(--texte-doux); }
.section--nuit .carte-icone {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
}
.section--nuit .carte-icone p { color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   11. Chiffres clés et jauges de répartition
   -------------------------------------------------------------------------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--nuit-10); }
.chiffre { background: var(--blanc); padding: 34px 26px; text-align: center; }
.chiffre__valeur {
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--nuit);
}
.chiffre__valeur .unite { color: var(--or); }
.chiffre__libelle {
  font-family: var(--condense);
  font-size: .88rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--texte-mention);
  margin-top: 11px;
}
.chiffre__conversion {
  display: block;
  margin-top: 4px;
  letter-spacing: .08em;
  text-transform: none;
  opacity: .72;
}

/* Jauges de répartition — part de chaque métier dans les travaux exécutés.
   Le remplissage part de zéro et rejoint la valeur portée par --part quand
   la classe « est-visible » est posée par l'observateur d'apparition. */
.repartition {
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
  padding: 32px 34px 28px;
}
.repartition__intitule {
  font-family: var(--condense);
  font-size: .88rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--texte-mention);
  padding-bottom: 15px;
  border-bottom: 1px solid var(--nuit-10);
  margin-bottom: 26px;
}
.repartition__liste { display: grid; gap: 24px; }
.repartition__note {
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--nuit-10);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--texte-mention);
}

.jauge__entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.jauge__libelle { font-weight: 600; color: var(--nuit); }
.jauge__valeur {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--or);
  white-space: nowrap;
}
.jauge__piste {
  height: 8px;
  background: var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
}
.jauge__remplissage {
  display: block;
  height: 100%;
  width: 0;
  /* Pointe dorée en bout de jauge : peinte dans la boîte, donc invisible
     tant que la largeur est nulle. */
  background: linear-gradient(90deg, var(--nuit) calc(100% - 4px), var(--or) calc(100% - 4px));
  transition: width 1.1s cubic-bezier(.22, .61, .36, 1);
}
.jauge.est-visible .jauge__remplissage { width: var(--part); }
.jauge__detail {
  font-family: var(--condense);
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--texte-mention);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   12. Projets et réalisations
   -------------------------------------------------------------------------- */
.carte-projet {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.carte-projet:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte-active); }
.carte-projet__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nuit-10); }
.carte-projet__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.carte-projet:hover .carte-projet__media img { transform: scale(1.06); }
.carte-projet__etiquette {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(19, 30, 53, .92);
  color: var(--or-clair);
  font-family: var(--condense);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 13px;
}
.carte-projet__corps { padding: 24px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.carte-projet__client {
  font-family: var(--condense);
  font-size: .85rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 9px;
}
.carte-projet__titre { font-size: 1.12rem; margin-bottom: 14px; }
.carte-projet__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--nuit-10);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.carte-projet__meta div { display: flex; flex-direction: column; }
.carte-projet__meta dt {
  font-family: var(--condense);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texte-mention);
}
.carte-projet__meta dd { font-size: .95rem; font-weight: 600; color: var(--nuit); }

/* Filtres */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filtre {
  font-family: var(--condense);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--nuit-25);
  border-radius: var(--rayon);
  color: var(--texte-doux);
  transition: all var(--transition);
}
.filtre:hover { border-color: var(--nuit); color: var(--nuit); }
.filtre[aria-pressed="true"] {
  background: var(--nuit);
  border-color: var(--nuit);
  color: var(--blanc);
}
.filtre[aria-pressed="true"]::after { content: ''; }

.vide-filtre {
  padding: 60px 20px;
  text-align: center;
  color: var(--texte-mention);
  border: 1px dashed var(--nuit-25);
}

/* --------------------------------------------------------------------------
   13. Galerie
   -------------------------------------------------------------------------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.galerie__element {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--nuit-10);
  border-radius: var(--rayon);
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}
.galerie__element img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.galerie__element:hover img { transform: scale(1.07); }
.galerie__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 30, 53, .9) 0%, rgba(19, 30, 53, .25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
  text-align: left;
}
.galerie__element:hover .galerie__voile,
.galerie__element:focus-visible .galerie__voile { opacity: 1; }
.galerie__categorie {
  font-family: var(--condense);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 4px;
}
.galerie__legende { font-size: .9rem; font-weight: 500; color: var(--blanc); line-height: 1.4; }

/* Visionneuse */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 18, 33, .96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.visionneuse.est-ouverte { display: flex; }
.visionneuse__figure { max-width: 1100px; width: 100%; text-align: center; }
.visionneuse__figure img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--rayon);
}
.visionneuse__legende {
  margin-top: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
}
.visionneuse__legende span {
  display: block;
  font-family: var(--condense);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}
.visionneuse__btn {
  position: absolute;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--blanc);
  transition: all var(--transition);
}
.visionneuse__btn:hover { background: var(--or); border-color: var(--or); color: var(--nuit); }
.visionneuse__btn svg { width: 20px; height: 20px; }
.visionneuse__fermer { top: 22px; right: 22px; }
.visionneuse__prec { left: 22px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 22px; top: 50%; transform: translateY(-50%); }
.visionneuse__compteur {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--condense);
  letter-spacing: .18em;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------------------------
   14. Tableaux (personnel, matériel, mentions)
   -------------------------------------------------------------------------- */
.tableau-enveloppe {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  -webkit-overflow-scrolling: touch;
}
.tableau { min-width: 560px; font-size: .96rem; }
.tableau thead th {
  background: var(--nuit);
  color: var(--or-clair);
  font-family: var(--condense);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 20px;
  white-space: nowrap;
}
.tableau tbody td { padding: 14px 20px; border-bottom: 1px solid var(--nuit-10); vertical-align: top; }
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody tr:nth-child(even) { background: var(--nuit-05); }
.tableau td:first-child { font-family: var(--condense); color: var(--texte-mention); width: 56px; }
.tableau .cellule-forte { font-weight: 600; color: var(--nuit); }
.tableau .cellule-nombre { font-family: var(--condense); font-weight: 600; color: var(--or); font-size: 1.05rem; }

.tableau-cle { font-size: .97rem; }
.tableau-cle tr { border-bottom: 1px solid var(--nuit-10); }
.tableau-cle tr:last-child { border-bottom: 0; }
.tableau-cle th {
  text-align: left;
  padding: 14px 20px 14px 0;
  font-family: var(--condense);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-mention);
  width: 45%;
  vertical-align: top;
}
.tableau-cle td { padding: 14px 0; font-weight: 500; color: var(--nuit); }

/* --------------------------------------------------------------------------
   15. Organigramme
   -------------------------------------------------------------------------- */
.organigramme { display: flex; flex-direction: column; align-items: center; gap: 0; }
.orga-noeud {
  background: var(--nuit);
  color: var(--blanc);
  font-family: var(--condense);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 22px;
  border-radius: var(--rayon);
  min-width: 190px;
}
.orga-noeud--or { background: var(--or); color: var(--nuit); }
.orga-noeud--clair {
  background: var(--blanc);
  color: var(--nuit);
  border: 1px solid var(--nuit-25);
  font-weight: 500;
  font-size: .9rem;
  min-width: 0;
}
.orga-trait { width: 1px; height: 28px; background: var(--nuit-25); }
.orga-niveau { display: grid; gap: 22px; width: 100%; }
.orga-niveau--3 { grid-template-columns: repeat(3, 1fr); }
.orga-colonne { display: flex; flex-direction: column; align-items: center; gap: 0; }
.orga-colonne .orga-sous { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 0; }
.orga-barre { height: 1px; background: var(--nuit-25); width: 100%; }

/* --------------------------------------------------------------------------
   16. Portrait et parcours du dirigeant
   -------------------------------------------------------------------------- */
.portrait {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.portrait__identite { margin-bottom: 26px; }
.portrait__nom { margin-bottom: 8px; }
.portrait__fonction {
  font-family: var(--condense);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or);
}
.portrait__texte p { color: var(--texte-doux); line-height: 1.85; }
.portrait__texte strong { color: var(--nuit); font-weight: 600; }
.section--nuit .portrait__fonction { color: var(--or-clair); }
.section--nuit .portrait__texte p { color: rgba(255, 255, 255, .78); }
.section--nuit .portrait__texte strong { color: var(--blanc); }
.section--nuit .citation { color: var(--blanc); }
.section--nuit .mention { color: rgba(255, 255, 255, .55); }

/* Cadrage du portrait : le visage reste dans le tiers haut du cadre */
.visuel-cadre--buste { aspect-ratio: 3 / 4; }
.visuel-cadre--buste img { object-position: 50% 20%; }

/* Parcours — jalons reliés par un filet vertical, losanges de la charte */
.parcours { position: relative; padding-left: 34px; }
.parcours::before {
  content: '';
  position: absolute;
  left: 4px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--nuit-10);
}
.jalon { position: relative; padding-bottom: 34px; }
.jalon:last-child { padding-bottom: 0; }
.jalon::before {
  content: '';
  position: absolute;
  left: -34px; top: 7px;
  width: 9px; height: 9px;
  background: var(--or);
  transform: rotate(45deg);  /* losange, toujours pointe en haut */
}
.jalon__periode {
  font-family: var(--condense);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-mention);
  margin-bottom: 7px;
}
.jalon__intitule { font-size: 1.1rem; margin-bottom: 5px; }
.jalon__organisation {
  /* charte, note d'accessibilité : pas d'or pour du texte courant sur fond blanc */
  font-family: var(--condense);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--nuit);
  margin-bottom: 9px;
}
.jalon__texte { font-size: .95rem; color: var(--texte-doux); }
.section--nuit .parcours::before { background: rgba(255, 255, 255, .15); }
.section--nuit .jalon__periode { color: rgba(255, 255, 255, .55); }
.section--nuit .jalon__organisation { color: var(--or-clair); }
.section--nuit .jalon__texte { color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   17. Logotypes clients — bandeau défilant et grille fixe
   -------------------------------------------------------------------------- */
/* Bandeau défilant : la piste est dupliquée dans le gabarit, l'animation la
   décale de la moitié de sa largeur — la boucle est donc invisible. */
.bandeau-logos {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  /* Fondu sur les deux bords, pour que les logos entrent et sortent en douceur */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
.bandeau-logos__piste {
  display: flex;
  width: max-content;
  animation: defile-logos 46s linear infinite;
}
.bandeau-logos:hover .bandeau-logos__piste,
.bandeau-logos:focus-within .bandeau-logos__piste { animation-play-state: paused; }
@keyframes defile-logos {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.logo-client {
  flex: 0 0 auto;
  width: 200px;
  height: 96px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-client img {
  /* Hauteur bridée sous celle de la tuile : sans cela les logos carrés
     (CIAPOL, PEJEDEC) écrasent optiquement les logos larges (AGEROUTE). */
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

/* Grille fixe — page dédiée : les logos ne défilent pas, chacun est légendé */
.grille-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.carte-logo {
  background: var(--blanc);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.carte-logo:hover { transform: translateY(-4px); box-shadow: var(--ombre-carte); }
.carte-logo__media {
  height: 78px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.carte-logo__media img { max-width: 150px; max-height: 70px; object-fit: contain; }
.carte-logo__nom { font-size: 1.12rem; margin-bottom: 6px; }
.carte-logo__intitule {
  font-family: var(--condense);
  font-size: .95rem;
  color: var(--texte-mention);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nuit-10);
}
.carte-logo__texte { font-size: .93rem; color: var(--texte-doux); }

/* --------------------------------------------------------------------------
   18. Accordéon
   -------------------------------------------------------------------------- */
.accordeon { border-top: 1px solid var(--nuit-10); }
.accordeon__item { border-bottom: 1px solid var(--nuit-10); }
.accordeon__bouton {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--nuit);
  transition: color var(--transition);
}
.accordeon__bouton:hover { color: var(--or); }
.accordeon__signe {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--or);
  color: var(--or);
  transition: transform var(--transition);
}
.accordeon__signe svg { width: 12px; height: 12px; }
.accordeon__signe {
  transition: transform 380ms cubic-bezier(.4, 0, .2, 1),
              background-color var(--transition), color var(--transition);
}
.accordeon__bouton[aria-expanded="true"] .accordeon__signe {
  transform: rotate(45deg);
  background: var(--or);
  color: var(--blanc);
}
.accordeon__bouton[aria-expanded="true"] { color: var(--or); }
/* Déroulement animé : la grille passe de 0fr à 1fr, ce qui interpole la
   hauteur réelle du contenu sans avoir à la mesurer en JavaScript. */
.accordeon__panneau {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(.4, 0, .2, 1),
              opacity 260ms ease;
  opacity: 0;
}
.accordeon__panneau > * { overflow: hidden; min-height: 0; }
.accordeon__panneau.est-ouvert { grid-template-rows: 1fr; opacity: 1; }
.accordeon__panneau p {
  color: var(--texte-doux);
  font-size: .98rem;
  /* Le remplissage est animé lui aussi : sur un enfant de grille écrêté,
     un padding fixe empêcherait le panneau fermé d'atteindre une hauteur nulle. */
  padding-bottom: 0;
  transition: padding-bottom 380ms cubic-bezier(.4, 0, .2, 1);
}
.accordeon__panneau.est-ouvert p { padding-bottom: 26px; }

/* --------------------------------------------------------------------------
   19. Démarche (étapes numérotées)
   -------------------------------------------------------------------------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.etape { position: relative; padding-top: 30px; }
.etape::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--nuit-10);
}
.etape::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--or);
}
.etape__numero {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--or);
  margin-bottom: 8px;
}
.etape h3 { font-size: 1.1rem; margin-bottom: 9px; }
.etape p { font-size: .94rem; color: var(--texte-doux); }
.section--nuit .etape::before { background: rgba(255, 255, 255, .15); }
.section--nuit .etape p { color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   20. Bande d'appel
   -------------------------------------------------------------------------- */
.bande-appel {
  position: relative;
  background: var(--nuit);
  color: var(--blanc);
  overflow: hidden;
  padding: 68px 0;
}
.bande-appel__media { position: absolute; inset: 0; }
.bande-appel__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.55) contrast(.9);
}
.bande-appel__voile {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(19, 30, 53, .96) 0%, rgba(19, 30, 53, .92) 55%, rgba(27, 42, 74, .88) 100%);
}
.bande-appel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.bande-appel h2 { color: var(--blanc); margin-bottom: 10px; }
.bande-appel p { color: rgba(255, 255, 255, .78); max-width: 560px; }

/* --------------------------------------------------------------------------
   21. Formulaire
   -------------------------------------------------------------------------- */
.formulaire { display: grid; gap: 20px; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label {
  font-family: var(--condense);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--nuit);
}
.champ label .requis { color: var(--or); }
.champ input,
.champ select,
.champ textarea {
  padding: 13px 16px;
  border: 1px solid var(--nuit-25);
  border-radius: var(--rayon);
  background: var(--blanc);
  font-size: .98rem;
  transition: border-color var(--transition);
  width: 100%;
}
.champ textarea { resize: vertical; min-height: 150px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: none; border-color: var(--or); }
.champ input[aria-invalid="true"],
.champ textarea[aria-invalid="true"],
.champ select[aria-invalid="true"] { border-color: #b3261e; }
.champ__erreur {
  font-family: var(--condense);
  font-size: .87rem;
  letter-spacing: .04em;
  color: #b3261e;
  min-height: 0;
}
.champ__erreur:empty { display: none; }

.formulaire__note { font-size: .88rem; color: var(--texte-mention); }
.formulaire__retour {
  padding: 16px 20px;
  border-left: 3px solid var(--or);
  background: var(--nuit-05);
  font-size: .96rem;
}
.formulaire__retour[hidden] { display: none; }

/* --------------------------------------------------------------------------
   22. Blocs de contact
   -------------------------------------------------------------------------- */
.bloc-contact {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--nuit-10);
}
.bloc-contact:last-child { border-bottom: 0; }
.bloc-contact__icone {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--or);
  color: var(--or);
}
.bloc-contact__icone svg { width: 19px; height: 19px; }
.bloc-contact h3 {
  font-family: var(--condense);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-mention);
  margin-bottom: 5px;
}
.bloc-contact p { font-size: 1rem; color: var(--nuit); font-weight: 500; }
.bloc-contact a:hover { color: var(--or); }

.carte-geo {
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
  line-height: 0;
}
.carte-geo iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   23. Citation / encart
   -------------------------------------------------------------------------- */
.encart {
  border-left: 3px solid var(--or);
  background: var(--nuit-05);
  padding: 26px 30px;
}
.encart p { color: var(--texte-doux); }
.encart strong { color: var(--nuit); }

.citation {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--nuit);
}
.citation__auteur {
  font-family: var(--condense);
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   24. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--nuit);
  color: rgba(255, 255, 255, .72);
  border-top: 3px solid var(--or);
}
/* padding-block uniquement : un `padding` raccourci écraserait la gouttière
   horizontale héritée de .conteneur et collerait le pied aux bords. */
.pied__principal { padding-block: 66px 48px; }
.pied__grille {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: 44px;
}
.pied__texte { font-size: .95rem; line-height: 1.75; margin-top: 20px; max-width: 330px; }
.pied h3 {
  font-family: var(--condense);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blanc);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  position: relative;
}
.pied h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 34px; height: 1px;
  background: var(--or);
}
.pied__liens { display: flex; flex-direction: column; gap: 11px; }
.pied__liens a {
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color var(--transition), gap var(--transition);
}
.pied__liens a::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--or);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.pied__liens a:hover { color: var(--or-clair); gap: 13px; }

.pied__contact { display: flex; flex-direction: column; gap: 15px; font-size: .95rem; }
.pied__contact div { display: flex; gap: 12px; align-items: flex-start; }
.pied__contact svg { width: 16px; height: 16px; color: var(--or); flex-shrink: 0; margin-top: 4px; }
.pied__contact a:hover { color: var(--or-clair); }

/* Barres obliques du pied de page (charte, section 06) */
.pied__legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 24px;
}
.pied__legal-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.barres-obliques { display: flex; gap: 6px; flex-shrink: 0; }
.barres-obliques span {
  width: 11px; height: 30px;
  background: var(--or);
  transform: skewX(-30deg);
  display: block;
}
.barres-obliques span:nth-child(2) { background: rgba(255, 255, 255, .55); }
.barres-obliques span:nth-child(3) { background: rgba(255, 255, 255, .25); }

.pied__mentions {
  font-family: var(--condense);
  font-size: .88rem;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .58);
  line-height: 1.65;
}
.pied__mentions a:hover { color: var(--or-clair); }

.retour-haut {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--nuit);
  color: var(--or);
  border: 1px solid var(--or);
  border-radius: var(--rayon);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 50;
}
.retour-haut.est-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.retour-haut:hover { background: var(--or); color: var(--nuit); }
.retour-haut svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   25. Utilitaires
   -------------------------------------------------------------------------- */
.visuel-cadre {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--nuit-10);
}
.visuel-cadre img { width: 100%; height: 100%; object-fit: cover; }
.visuel-cadre--portrait { aspect-ratio: 4 / 5; }
.visuel-cadre--paysage { aspect-ratio: 4 / 3; }
.visuel-cadre--large { aspect-ratio: 16 / 9; }

/* Cadre avec filet or décalé — motif de la charte */
.visuel-filet { position: relative; }
.visuel-filet::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--or);
  pointer-events: none;
  z-index: 0;
}
.visuel-filet .visuel-cadre { position: relative; z-index: 1; }

.pile > * + * { margin-top: 18px; }
.centre { text-align: center; }
.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;
}

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.apparait.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .apparait { opacity: 1; transform: none; }
  .accordeon__panneau { transition: none; }
  /* Le bandeau de logos ne défile plus : la piste reste lisible, arrêtée */
  .bandeau-logos__piste { animation: none; }
}

/* --------------------------------------------------------------------------
   26. Adaptatif
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__lien { padding: 26px 9px; font-size: .92rem; }
  .pied__grille { grid-template-columns: 1fr 1fr; gap: 40px; }
  .duo { gap: 42px; }
}

@media (max-width: 960px) {
  .nav, .entete__actions .btn { display: none; }
  .bouton-menu { display: flex; }
  .entete__inner { min-height: 70px; }
  .bandeau-contact__mention { display: none; }

  /* Cibles tactiles : 44 px de haut minimum sur les liens de navigation */
  .menu-mobile a { padding-block: 15px; }
  .pied__liens a { padding-block: 5px; }

  .grille--3, .grille--4 { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; gap: 36px; }
  .duo--texte-droite { direction: ltr; }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .heros__chiffres { grid-template-columns: repeat(2, 1fr); }
  .heros__chiffre { border-bottom: 1px solid rgba(255, 255, 255, .12); padding-left: 0; }
  .heros__chiffre:nth-child(2n) { border-right: 0; padding-left: 26px; }
  .orga-niveau--3 { grid-template-columns: 1fr; }
  .portrait { grid-template-columns: 1fr; gap: 38px; }
  .grille-logos { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .heros { min-height: 540px; }
  .heros__contenu { padding: 84px 0; }
}

@media (max-width: 680px) {
  :root { --gouttiere: 22px; }

  /* Bandeau de contact : téléphone et courriel seulement, sur une seule ligne.
     L'adresse reste accessible dans le pied de page et sur la page contact. */
  .bandeau-contact__inner { justify-content: center; }
  .bandeau-contact__liste { gap: 18px; justify-content: center; }
  .bandeau-contact__item:nth-child(3) { display: none; }
  .bandeau-contact__item svg { width: 13px; height: 13px; }

  /* Pied de page : de l'air autour des colonnes */
  .pied__principal { padding-block: 48px 36px; }
  .pied__texte { max-width: none; }
  .pied__legal-inner { justify-content: flex-start; gap: 18px; }
  .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; }
  .grille-logos { grid-template-columns: 1fr; }
  .logo-client { width: 150px; height: 76px; padding: 0 18px; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .champ-duo { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr; }
  .heros__chiffres { grid-template-columns: 1fr; }
  .heros__chiffre { border-right: 0; padding-left: 0 !important; }
  .pied__grille { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 58px 0; }
  .section--dense { padding: 46px 0; }
  .banniere { padding: 60px 0 54px; }
  .heros__actions .btn { width: 100%; }
  .logo__signature { font-size: 1.2rem; }
  .logo__symbole { width: 52px; height: 36px; }

  /* Surtitres : moins d'interlettrage pour tenir sur une ou deux lignes nettes */
  .surtitre { font-size: .78rem; letter-spacing: .15em; gap: 9px; }
  .heros__texte { font-size: 1.02rem; }
  .heros__contenu { padding: 62px 0 48px; }
  .visionneuse { padding: 70px 12px; }
  .visionneuse__prec { left: 8px; }
  .visionneuse__suiv { right: 8px; }
  .visionneuse__btn { width: 42px; height: 42px; }
  .encart { padding: 20px 22px; }
  .repartition { padding: 26px 22px 24px; }
  .bande-appel__inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   27. Impression
   -------------------------------------------------------------------------- */
@media print {
  .bandeau-contact, .entete, .pied, .retour-haut, .bande-appel, .filtres { display: none; }
  body { color: #000; }
  .banniere, .heros { background: none; color: #000; padding: 20px 0; }
  .banniere__media, .heros__media, .banniere__voile, .heros__voile { display: none; }
  .banniere__titre, .heros__titre { color: #000; }
}

/* --------------------------------------------------------------------------
   28. Très petits écrans (320 px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  :root { --gouttiere: 18px; }

  /* Les libellés de boutons peuvent passer sur deux lignes plutôt que déborder */
  .btn {
    white-space: normal;
    text-align: center;
    padding: 14px 22px;
    font-size: .9rem;
  }
  .centre .btn,
  .heros__actions .btn,
  .bande-appel .btn { width: 100%; }

  .filtre { font-size: .86rem; padding: 9px 15px; }
  .chiffre__valeur { font-size: 2rem; }
  .citation { font-size: 1.15rem; }
  .visionneuse__figure img { max-height: 66vh; }
}
