/* =========================================================
   GB Coordination – feuille de style
   Noir profond / blanc / doré – sobre et institutionnel
   ========================================================= */

/* ---------- Polices (auto-hébergées, aucun appel externe) ---------- */
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Light.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Regular.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Medium.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-SemiBold.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
  --noir: #0b0b0c;
  --noir-2: #151517;
  --noir-3: #222226;
  --blanc: #ffffff;
  --creme: #f5f3ee;
  --ligne-claire: #e4e0d7;
  --texte: #1c1c1f;
  --texte-doux: #5c5c63;
  --texte-inverse-doux: #a9a9b0;
  --or: #cfa24a;          /* doré provisoire – à caler sur la charte */
  --or-fonce: #8a6a2c;    /* doré lisible sur fond clair */
  --or-clair: #e2c27f;

  --police: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --largeur: 1240px;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --rayon: 2px;
  --transition: 0.35s cubic-bezier(.2,.6,.2,1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--police);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
::selection { background: var(--or); color: var(--noir); }

.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; }
.lien-evitement { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--or); color: var(--noir); padding: .6rem 1rem; font-weight: 600; }
.lien-evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.conteneur--etroit { max-width: 860px; }

.section { padding: var(--section) 0; }
.section--noir { background: var(--noir); color: var(--blanc); }
.section--creme { background: var(--creme); }

/* ---------- Typographie ---------- */
.surtitre {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--or-fonce); margin-bottom: 1.4rem;
}
.surtitre::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.section--noir .surtitre, .hero .surtitre, .page-hero .surtitre { color: var(--or); }

.titre-section { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; margin-bottom: 1.2rem; max-width: 22ch; }
.titre-section strong { font-weight: 600; }
.chapo { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--texte-doux); max-width: 60ch; font-weight: 300; }
.section--noir .chapo { color: var(--texte-inverse-doux); }
.entete-section { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.entete-section--centre { text-align: center; }
.entete-section--centre .titre-section, .entete-section--centre .chapo { margin-left: auto; margin-right: auto; }
.entete-section--ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 52px; padding: 0 1.9rem;
  font-family: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--rayon); cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--or { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn--or:hover { background: var(--or-clair); border-color: var(--or-clair); }
.btn--contour { color: var(--blanc); border-color: rgba(255,255,255,.55); }
.btn--contour:hover { border-color: var(--blanc); background: var(--blanc); color: var(--noir); }
.btn--noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn--noir:hover { background: transparent; color: var(--noir); }
.btn-groupe { display: flex; flex-wrap: wrap; gap: 1rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--or); border-bottom: 1px solid transparent; padding-bottom: .2rem;
  transition: gap var(--transition), border-color var(--transition);
}
.lien-fleche::after { content: "→"; font-size: 1rem; letter-spacing: 0; }
.lien-fleche:hover { gap: 1.1rem; border-color: currentColor; }
.lien-fleche--sombre { color: var(--or-fonce); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--blanc);
  transition: background var(--transition), height var(--transition), box-shadow var(--transition);
}
.entete--plein, .entete.est-defile { background: rgba(11,11,12,.96); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.entete.est-defile { --header-h: 70px; }
@supports (backdrop-filter: blur(10px)) {
  .entete--plein, .entete.est-defile { background: rgba(11,11,12,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.entete__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo img { height: 34px; width: auto; }
.nav__liste { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.nav__lien {
  position: relative; display: block; padding: .5rem 0;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.82); transition: color var(--transition);
}
.nav__lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav__lien:hover, .nav__lien[aria-current="page"] { color: var(--blanc); }
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after { transform: scaleX(1); }
.nav__lien--cta { color: var(--or); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--blanc); position: relative; z-index: 2; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor; content: "";
  transition: transform var(--transition), top var(--transition), background var(--transition);
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--noir);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
  }
  .nav.est-ouvert { opacity: 1; visibility: visible; }
  .nav__liste { flex-direction: column; align-items: center; gap: 1.1rem; }
  .nav__lien { font-size: 1rem; letter-spacing: .2em; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--blanc); background: var(--noir); overflow: hidden;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.62) 55%, rgba(11,11,12,.4) 100%);
}
.hero__contenu { position: relative; z-index: 1; padding-top: var(--header-h); padding-bottom: 4rem; }
.hero__titre {
  font-size: clamp(2.2rem, 10.5vw, 7rem); font-weight: 600; line-height: .98; letter-spacing: .01em;
  text-transform: uppercase; margin-bottom: 2rem;
}
.hero__titre span { display: block; }
.hero__titre em { font-style: normal; color: var(--or); }
.hero__sous-titre { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 300; line-height: 1.7; letter-spacing: 0; max-width: 46ch; color: rgba(255,255,255,.86); margin-bottom: 2.6rem; }
.hero__defiler {
  position: absolute; z-index: 1; left: 50%; bottom: 2rem; transform: translateX(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,.25); overflow: hidden;
}
.hero__defiler::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--or); animation: defiler 2.4s ease-in-out infinite; }
@keyframes defiler { to { top: 100%; } }

/* ---------- Hero pages intérieures ---------- */
.page-hero {
  position: relative; color: var(--blanc); background: var(--noir);
  padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .conteneur { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 300; max-width: 20ch; margin-bottom: 1.2rem; }
.page-hero h1 strong { font-weight: 600; }
.page-hero p { font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300; color: rgba(255,255,255,.8); max-width: 58ch; margin: 0; }
.fil-ariane { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-inverse-doux); margin-bottom: 1.8rem; }
.fil-ariane a:hover { color: var(--or); }
.fil-ariane span[aria-hidden] { margin: 0 .6rem; color: var(--or); }

/* ---------- Bandeau crédibilité ---------- */
.credibilite { background: var(--noir-2); color: var(--blanc); border-top: 1px solid rgba(207,162,74,.35); }
.credibilite__liste { display: grid; grid-template-columns: repeat(4, 1fr); }
.credibilite__item { padding: 2rem 1.5rem; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.credibilite__item:first-child { border-left: 0; }
.credibilite__valeur { display: block; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; color: var(--or); letter-spacing: .02em; }
.credibilite__libelle { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-inverse-doux); margin-top: .35rem; }
@media (max-width: 760px) {
  .credibilite__liste { grid-template-columns: repeat(2, 1fr); }
  .credibilite__item { padding: 1.5rem 1rem; }
  .credibilite__item:nth-child(3) { border-left: 0; }
  .credibilite__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Expertise / métiers ---------- */
.metiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne-claire); border: 1px solid var(--ligne-claire); }
.metier { background: var(--blanc); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; transition: background var(--transition); }
.metier:hover { background: var(--creme); }
.metier__num { font-size: .8rem; font-weight: 600; color: var(--or-fonce); letter-spacing: .2em; margin-bottom: 2.2rem; }
.metier h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 1rem; }
.metier p { color: var(--texte-doux); font-size: .97rem; }
.metier__benefices { margin: .4rem 0 2rem; }
.metier__benefices li { position: relative; padding-left: 1.4rem; font-size: .92rem; margin-bottom: .55rem; }
.metier__benefices li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7rem; height: 1px; background: var(--or); }
.metier .lien-fleche { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .metiers { grid-template-columns: 1fr; } }

/* ---------- Cartes réalisations ---------- */
.grille-projets { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.grille-projets--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grille-projets--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grille-projets, .grille-projets--3 { grid-template-columns: 1fr; } }

.projet { display: flex; flex-direction: column; }
.projet[hidden] { display: none; }
.projet__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--noir-3); margin-bottom: 1.5rem; }
.projet__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.projet:hover .projet__media img { transform: scale(1.04); }
.projet__commune { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: .45rem; }
.projet__nom { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; margin-bottom: 1.1rem; }
.projet__nom a:hover { color: var(--or-fonce); }
.fiche { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.5rem; margin: 0 0 1.4rem; font-size: .88rem; border-top: 1px solid var(--ligne-claire); padding-top: 1.1rem; }
.fiche dt { color: var(--texte-doux); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .15em; }
.fiche dd { margin: 0; font-weight: 500; }
.projet .lien-fleche { margin-top: auto; align-self: flex-start; }

.section--noir .projet__commune { color: var(--or); }
.section--noir .projet__nom a:hover { color: var(--or); }
.section--noir .fiche { border-color: rgba(255,255,255,.12); }
.section--noir .fiche dt { color: var(--texte-inverse-doux); }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.filtre {
  font-family: inherit; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .7rem 1.1rem; background: transparent; color: var(--texte-doux);
  border: 1px solid var(--ligne-claire); border-radius: var(--rayon); cursor: pointer;
  transition: all var(--transition);
}
.filtre:hover { color: var(--texte); border-color: var(--texte); }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.compteur { font-size: .8rem; color: var(--texte-doux); margin: -1.8rem 0 2.5rem; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--ligne-claire); border-left: 1px solid var(--ligne-claire); }
.client {
  min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 1.5rem 1rem; border-right: 1px solid var(--ligne-claire); border-bottom: 1px solid var(--ligne-claire);
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #4a4a50;
  transition: color var(--transition), background var(--transition);
}
.client:hover { color: var(--noir); background: var(--blanc); }
.client img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: all var(--transition); }
.client:hover img { filter: none; opacity: 1; }
.client small { display: block; margin-top: .5rem; font-size: .68rem; font-weight: 500; letter-spacing: .1em; color: var(--texte-doux); text-transform: none; }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.chiffre__valeur { display: block; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 300; line-height: 1; color: var(--or); letter-spacing: -0.02em; }
.chiffre__libelle { display: block; margin-top: 1rem; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-inverse-doux); }
@media (max-width: 800px) { .chiffres { grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; } }

/* ---------- Appel à l'action ---------- */
.cta { position: relative; color: var(--blanc); background: var(--noir); padding: clamp(6rem, 14vw, 11rem) 0; overflow: hidden; text-align: center; }
.cta__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,12,.74); }
.cta .conteneur { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; margin-bottom: 1.6rem; }
.cta__coordonnees { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.5rem; margin-bottom: 2.8rem; font-size: 1.05rem; font-weight: 300; }
.cta__coordonnees a:hover { color: var(--or); }
.cta .btn-groupe { justify-content: center; }

/* ---------- Contenu éditorial ---------- */
.deux-colonnes { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.deux-colonnes--inverse { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .deux-colonnes, .deux-colonnes--inverse { grid-template-columns: 1fr; } }
.texte p { color: var(--texte-doux); }
.texte h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; margin-top: 2.5rem; }
.texte h3 { font-size: 1.15rem; margin-top: 2rem; }
.texte ul { margin: 0 0 1.4em; }
.texte li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; color: var(--texte-doux); }
.texte li::before { content: ""; position: absolute; left: 0; top: .8em; width: .75rem; height: 1px; background: var(--or); }
.texte a { color: var(--or-fonce); border-bottom: 1px solid currentColor; }
.image-cadre { position: relative; }
.image-cadre img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.image-cadre::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 1px solid var(--or); z-index: -1; }
@media (max-width: 900px) { .image-cadre img { aspect-ratio: 16 / 10; } .image-cadre::before { display: none; } }

/* Blocs métier détaillés */
.bloc-metier { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--ligne-claire); scroll-margin-top: var(--header-h); }
.bloc-metier:first-child { border-top: 0; padding-top: 0; }
.bloc-metier__num { font-size: clamp(3rem, 7vw, 5rem); font-weight: 300; color: var(--or); line-height: 1; margin-bottom: 1rem; }
.bloc-metier h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 400; margin-bottom: 1.2rem; }
.benefices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--ligne-claire); border: 1px solid var(--ligne-claire); margin-top: 2rem; }
.benefice { background: var(--blanc); padding: 1.6rem; }
.benefice strong { display: block; font-weight: 600; margin-bottom: .4rem; }
.benefice span { font-size: .9rem; color: var(--texte-doux); }

/* Étapes (missions) */
.etapes { counter-reset: etape; display: grid; gap: 0; }
.etape { display: grid; grid-template-columns: minmax(180px, 4fr) 8fr; gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--ligne-claire); }
.etape:last-child { border-bottom: 1px solid var(--ligne-claire); }
.etape__tete::before { counter-increment: etape; content: "0" counter(etape); display: block; font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--or-fonce); margin-bottom: 1rem; }
.etape__tete h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 400; }
.etape__tete p { color: var(--texte-doux); font-size: .95rem; }
@media (max-width: 760px) { .etape { grid-template-columns: 1fr; gap: 1rem; } }

/* Valeurs */
.valeurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.valeur { background: var(--noir); padding: 2.2rem 1.8rem; }
.valeur h3 { font-size: 1.05rem; font-weight: 600; color: var(--or); letter-spacing: .04em; margin-bottom: .7rem; }
.valeur p { font-size: .92rem; color: var(--texte-inverse-doux); margin: 0; }
@media (max-width: 900px) { .valeurs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .valeurs { grid-template-columns: 1fr; } }

/* Zone d'intervention */
.communes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.communes li { font-size: .8rem; padding: .45rem .9rem; border: 1px solid var(--ligne-claire); border-radius: 100px; color: var(--texte-doux); }

/* ---------- Fiche projet ---------- */
.projet-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--blanc); background: var(--noir); overflow: hidden; }
.projet-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.35) 55%, rgba(11,11,12,.55) 100%); }
.projet-hero .conteneur { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.projet-hero h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); font-weight: 400; margin-bottom: .6rem; }
.projet-hero .projet__commune { color: var(--or); font-size: .78rem; }
.projet-corps { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .projet-corps { grid-template-columns: 1fr; } }
.fiche--grande { font-size: 1rem; gap: 1rem 2rem; border-top: 2px solid var(--noir); padding-top: 1.6rem; }
.fiche--grande dd { font-weight: 500; }
.navigation-projets { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ligne-claire); padding-top: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.navigation-projets a { display: flex; flex-direction: column; gap: .3rem; max-width: 45%; }
.navigation-projets a:last-child { text-align: right; margin-left: auto; }
.navigation-projets small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-doux); }
.navigation-projets span { font-weight: 500; }
.navigation-projets a:hover span { color: var(--or-fonce); }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne-claire); border: 1px solid var(--ligne-claire); }
.contact-carte { background: var(--blanc); padding: clamp(2rem, 4vw, 3rem); }
.contact-carte h2 { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: 1.2rem; }
.contact-carte p, .contact-carte a { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 400; margin: 0; }
.contact-carte a:hover { color: var(--or-fonce); }
.contact-carte small { display: block; margin-top: .6rem; color: var(--texte-doux); font-size: .88rem; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--texte-inverse-doux); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .9rem; }
.pied__grille { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.pied__logo img { height: 34px; width: auto; margin-bottom: 1.4rem; }
.pied h2 { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blanc); margin-bottom: 1.2rem; }
.pied li { margin-bottom: .55rem; }
.pied a:hover { color: var(--or); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .78rem; }
.pied__bas ul { display: flex; gap: 1.5rem; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Pages simples ---------- */
.page-simple .texte h2:first-child { margin-top: 0; }
.a-completer { background: #fff6dd; color: #6b5313; padding: 0 .3em; border-radius: 2px; }

/* ---------- Animations légères ---------- */
.js .apparition { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1); }
.js .apparition.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparition { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .entete.est-defile { --header-h: 64px; }
  .logo img { height: 30px; }
}
@media (max-width: 600px) {
  body { font-size: .97rem; }
  .btn-groupe { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: .9rem 1.2rem; letter-spacing: .12em; text-align: center; line-height: 1.4; }
  .hero__contenu { padding-bottom: 6rem; }
  .hero::after { background: linear-gradient(180deg, rgba(11,11,12,.7) 0%, rgba(11,11,12,.8) 100%); }
  /* Filtres : une ligne qui défile horizontalement */
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gouttiere)); margin-right: calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filtres::-webkit-scrollbar { display: none; }
  .filtre { flex: 0 0 auto; }
  .compteur { margin-top: -1.5rem; }
  .fiche { grid-template-columns: 1fr; gap: .1rem; }
  .fiche dd { margin-bottom: .55rem; }
  .fiche--grande { grid-template-columns: auto 1fr; gap: .8rem 1.2rem; }
  .fiche--grande dd { margin-bottom: 0; }
  .navigation-projets a { max-width: 48%; }
  .projet-hero { min-height: 70vh; min-height: 70svh; }
  .pied__bas { flex-direction: column; }
  .cta__coordonnees { flex-direction: column; }
  .client { min-height: 96px; font-size: .74rem; letter-spacing: .14em; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .client:last-child:nth-child(odd) { grid-column: span 2; }
}
.contact-carte a, .contact-carte p, .cta__coordonnees a { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .contact-carte a, .contact-carte p { font-size: 1.05rem; }
}
/* Cibles tactiles confortables */
@media (pointer: coarse) {
  .pied li { margin-bottom: .2rem; }
  .pied li a { display: inline-block; padding: .45rem 0; }
  .nav__lien { padding: .7rem 0; }
}

/* ---------- Impression ---------- */
@media print {
  .entete, .hero__defiler, .cta, .filtres { display: none; }
  .hero, .page-hero, .projet-hero { min-height: 0; color: #000; background: none; }
  .hero::after, .page-hero__image, .projet-hero::after { display: none; }
}
