/* =========================================================
   SYNERGIE CONSTRUCTION — feuille de style commune
   Pour changer une couleur sur tout le site, modifiez-la
   uniquement dans le bloc :root ci-dessous.
   ========================================================= */

:root {
  /* Couleurs (reprises du logo) */
  --bois: #EEEDEA;          /* fond bois clair */
  --blanc: #FFFFFF;
  --encre: #16191C;         /* texte principal, noir du logo */
  --gris: #5E666C;          /* texte secondaire */
  --petrole: #33627B;       /* bleu pétrole du logo */
  --petrole-fonce: #264B5F; /* survol des boutons */
  --trait: #D9DDE0;         /* lignes de séparation */

  /* Polices */
  --police-titre: "Saira Condensed", "Arial Narrow", sans-serif;
  --police-texte: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Texture bois, extraite du logo (images/fond-bois.jpg) */
  --texture-bois: url('../images/fond-bois.jpg');

  /* Ancien veinage dessiné en CSS (plus utilisé) */
  --veinage: repeating-linear-gradient(178deg,
      rgba(255,255,255,.35) 0 2px, transparent 2px 17px,
      rgba(0,0,0,.018) 17px 18px, transparent 18px 31px);
}

/* ---------- Bases ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; } /* le titre n'est pas caché sous le menu fixe */
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--police-titre);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.3rem; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--petrole);
  outline-offset: 3px;
}

.visuellement-cache {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.conteneur {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.section { padding-block: 56px; }
.section--sans-haut { padding-top: 0; }
.fond-bois { background: var(--bois) var(--texture-bois) center / cover; }

.etiquette {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petrole);
  font-weight: 500;
  margin-bottom: 6px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--petrole);
  color: var(--blanc);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 500;
  border: 1.5px solid var(--petrole);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--petrole-fonce); border-color: var(--petrole-fonce); }
.btn--ligne { background: transparent; color: var(--petrole); }
.btn--ligne:hover { background: var(--petrole); color: var(--blanc); }
.boutons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--blanc);
  border-bottom: 1px solid var(--trait);
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.entete__logo img { height: 52px; width: auto; }

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.menu a {
  color: var(--encre);
  text-decoration: none;
  font-size: .95rem;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.menu a:hover { color: var(--petrole); }
.menu a[aria-current="page"] { color: var(--petrole); border-bottom-color: var(--petrole); }
.menu a.menu__contact {
  background: var(--petrole);
  color: var(--blanc);
  padding: 6px 16px;
  border-radius: 3px;
  border: 0;
}
.menu a.menu__contact:hover { background: var(--petrole-fonce); }

/* Bouton « burger » : visible seulement sur téléphone */
.entete__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.entete__burger span:not(.visuellement-cache) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--encre);
  transition: transform .25s, opacity .25s;
}
.entete__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.entete__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.entete__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bandeau d'accueil ---------- */
.hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-block: 56px;
}
.hero__texte { color: var(--gris); max-width: 46ch; margin-top: 16px; }
.hero__logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: center;
}

/* ---------- Activités ---------- */
.activites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 2px solid var(--petrole);
}
.activite {
  display: block;
  padding: 22px 22px 10px 0;
  color: inherit;
  text-decoration: none;
}
.activite + .activite { padding-left: 22px; border-left: 1px solid var(--trait); }
.activite p { color: var(--gris); margin-top: 8px; }
.activite:hover h3 { color: var(--petrole); }
.activite__lien { display: inline-block; margin-top: 10px; color: var(--petrole); font-size: .9rem; }

/* ---------- Galerie de réalisations ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  overflow: hidden;
  background: var(--bois) var(--texture-bois) center / cover; /* case affichée tant que la photo manque */
  border-radius: 2px;
}
.photo--grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.photo:hover img { transform: scale(1.04); }

/* ---------- Diaporama des réalisations ---------- */
.diapo { margin-top: 28px; }
.diapo__fenetre {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bois) var(--texture-bois) center / cover;
  touch-action: pan-y; /* laisse défiler la page verticalement sur téléphone */
}
.diapo__piste {
  display: flex;
  transition: transform .6s cubic-bezier(.4, .1, .2, 1);
}
.diapo__vue {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--bois) var(--texture-bois) center / cover;
}
.diapo__vue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.diapo__vue figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  color: var(--blanc);
  font-size: .95rem;
  background: linear-gradient(transparent, rgba(22, 25, 28, .7));
}
/* Diapositive sans photo : on affiche « Photo à venir » */
.diapo__vue--vide figcaption { display: none; }
.diapo__vue--vide::after {
  content: "Photos à venir";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gris);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.diapo__fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--petrole);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  transition: background .2s, color .2s;
}
.diapo__fleche:hover { background: var(--petrole); color: var(--blanc); }
.diapo__fleche--prec { left: 14px; }
.diapo__fleche--suiv { right: 14px; }

.diapo__bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.diapo__points { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.diapo__point {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--trait);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.diapo__point[aria-current="true"] { background: var(--petrole); width: 44px; }
.diapo__compteur {
  font-family: var(--police-titre);
  font-size: 1rem;
  color: var(--gris);
  font-variant-numeric: tabular-nums;
}

/* ---------- Encadré d'appel à l'action ---------- */
.bandeau-action__ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.bandeau-action__texte { color: var(--gris); margin-top: 8px; max-width: 56ch; }

/* ---------- Pied de page ---------- */
.pied {
  border-top: 1px solid var(--trait);
  padding-block: 22px;
  color: var(--gris);
  font-size: .85rem;
}
.pied__ligne { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pied a { color: var(--gris); }
.pied a:hover { color: var(--petrole); }

/* ---------- Animations au défilement ----------
   .glisse : arrive depuis la gauche
   .flou   : sort d'un flou
   Elles ne s'activent que si le JavaScript est chargé (classe .anim),
   donc le contenu reste toujours visible sans JavaScript. */
.anim .glisse {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.anim .flou {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(8px);
  transition: opacity .9s ease, filter .9s ease, transform .9s ease;
}
.anim .glisse.vu, .anim .flou.vu { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .glisse, .anim .flou { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Téléphone et petite tablette ---------- */
@media (max-width: 800px) {
  .entete__logo img { height: 42px; }
  .entete__burger { display: block; }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--trait);
    display: none;
  }
  .menu.ouvert { display: block; }
  .menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
  }
  .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--trait); }
  .menu a[aria-current="page"] { border-bottom-color: var(--trait); }
  .menu a.menu__contact { margin-top: 12px; text-align: center; padding: 12px; }

  .hero__grille { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .hero__logo { max-width: 280px; order: -1; }

  .activites { grid-template-columns: 1fr; }
  .activite, .activite + .activite {
    padding: 18px 0 8px;
    border-left: 0;
    border-bottom: 1px solid var(--trait);
  }

  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diapo__vue { aspect-ratio: 4 / 3; }
  .diapo__fleche { width: 38px; height: 38px; font-size: 1.5rem; }
  .diapo__fleche--prec { left: 8px; }
  .diapo__fleche--suiv { right: 8px; }
  .section { padding-block: 44px; }
  .section--sans-haut { padding-top: 0; }
}

/* =========================================================
   PAGES INTERNES (construction, rénovation, maîtrise d'œuvre)
   ========================================================= */

/* ---------- Bandeau photo en haut de page ----------
   La photo de fond est l'image .bandeau-page__fond dans la page HTML.
   Un voile sombre passe par-dessus pour garder le texte lisible.
   Tant que la photo manque, un fond gris-bleu s'affiche. */
.bandeau-page {
  position: relative;
  overflow: hidden;
  color: var(--blanc);
  background: #5B6A72 url('../images/fond-bois.jpg') center / cover;
  isolation: isolate;
}
.bandeau-page__fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
}
.bandeau-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(22, 25, 28, .86), rgba(38, 75, 95, .68));
}
.bandeau-page .conteneur { position: relative; padding-block: 88px 76px; }
.bandeau-page .etiquette { color: #BFD3DE; }
.bandeau-page h1 { max-width: 20ch; }
.bandeau-page__texte { max-width: 58ch; margin-top: 16px; color: #E3ECF1; font-size: 1.05rem; }

.intro { color: var(--gris); max-width: 62ch; margin-top: 10px; }

/* ---------- Trois colonnes de savoir-faire ---------- */
.colonnes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.colonne { border-top: 2px solid var(--petrole); padding-top: 16px; }
.colonne p { color: var(--gris); margin-top: 8px; }

/* ---------- Étapes (BlockyWood) ---------- */
.etapes-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.etapes {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.etape {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--trait);
}
.etape:last-child { border-bottom: 1px solid var(--trait); }
.etape__num {
  font-family: var(--police-titre);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--petrole);
}
.etape p { color: var(--gris); margin-top: 6px; max-width: 62ch; }

/* ---------- Bandeau bleu d'appel à l'action ---------- */
.bandeau-bleu { background: var(--petrole); color: var(--blanc); }
.bandeau-bleu p { color: #E3ECF1; }
.bandeau-bleu .btn { background: var(--blanc); color: var(--petrole); border-color: var(--blanc); }
.bandeau-bleu .btn:hover { background: var(--bois); border-color: var(--bois); }

@media (max-width: 800px) {
  .bandeau-page .conteneur { padding-block: 56px 48px; }
  .colonnes { grid-template-columns: 1fr; gap: 24px; }
  .etape { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .etape__num { font-size: 2rem; }
}

/* ---------- Liste à deux colonnes (ex. signes d'une toiture à rénover) ---------- */
.liste-coches {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}
.liste-coches li {
  position: relative;
  padding-left: 30px;
  color: var(--gris);
}
.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--petrole);
  border-bottom: 2px solid var(--petrole);
  transform: rotate(-45deg);
}
.liste-coches strong { color: var(--encre); font-weight: 500; }

@media (max-width: 800px) {
  .liste-coches { grid-template-columns: 1fr; }
}

/* ---------- Variante à deux colonnes ---------- */
.colonnes--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) {
  .colonnes--deux { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.formulaire {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-size: .9rem; font-weight: 500; color: var(--encre); }
.champ label .obligatoire { color: var(--petrole); }
.champ input,
.champ textarea {
  width: 100%;
  font: inherit;
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid #C5CCD1;
  border-radius: 3px;
  padding: 11px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 220px; resize: vertical; line-height: 1.5; }
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--petrole);
  box-shadow: 0 0 0 3px rgba(51, 98, 123, .18);
}
.champ input:user-invalid,
.champ textarea:user-invalid { border-color: #B3412E; }

/* Champ piège anti-robots : invisible pour les humains */
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulaire__bas {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.formulaire__mention { font-size: .82rem; color: var(--gris); max-width: 46ch; }
.formulaire button[disabled] { opacity: .6; cursor: wait; }

/* Messages après envoi */
.message {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 3px;
  border-left: 3px solid;
}
.message--ok { background: #E8F1EC; border-color: #2F7A4F; color: #1E4F33; }
.message--erreur { background: #F8E9E6; border-color: #B3412E; color: #7A2A1D; }

/* Encadré à droite */
.contact-aside { background: var(--bois) var(--texture-bois) center / cover; padding: 26px; border-radius: 2px; }
.contact-aside h2 { font-size: 1.4rem; }
.contact-aside ol { margin: 14px 0 0; padding-left: 20px; color: var(--gris); display: grid; gap: 8px; }
.contact-aside__mail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--trait); }
.contact-aside__mail span { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--petrole); }
.contact-aside__mail a { color: var(--encre); font-weight: 500; word-break: break-all; }

@media (max-width: 800px) {
  .contact-grille { grid-template-columns: 1fr; gap: 32px; }
  .formulaire { grid-template-columns: 1fr; }
}

/* ---------- Onglets (page Maîtrise d'œuvre) ---------- */
.onglets { margin-top: 28px; }
.onglets__liste {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--trait);
  overflow-x: auto;
  scrollbar-width: none;
}
.onglets__bouton {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 500;
  color: var(--gris);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 18px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.onglets__bouton:hover { color: var(--petrole); }
.onglets__bouton[aria-selected="true"] { color: var(--petrole); border-bottom-color: var(--petrole); }
.onglets__bouton:focus-visible { outline: 2px solid var(--petrole); outline-offset: -2px; }
.onglets__panneau { padding-top: 24px; }
.onglets__panneau .intro { margin-top: 0; }
.onglets__panneau[hidden] { display: none; }

/* ---------- Lexique ---------- */
.lexique { margin-bottom: 0; }
.lexique dt {
  font-family: var(--police-titre);
  font-size: 2rem;
  font-weight: 500;
  color: var(--petrole);
  line-height: 1;
}
.lexique dd { margin: 10px 0 0; color: var(--gris); }
.lexique dd strong { color: var(--encre); font-weight: 500; }

@media (max-width: 800px) {
  .onglets__bouton { padding: 10px 12px; font-size: .92rem; }
}

/* ---------- Phases numérotées (onglet organisme public) ---------- */
.phases {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}
.phase { border-top: 2px solid var(--petrole); padding-top: 14px; }
.phase h3 { display: flex; align-items: baseline; gap: 12px; }
.phase__num {
  font-family: var(--police-titre);
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--petrole);
  font-variant-numeric: tabular-nums;
}
.phase ul { margin: 10px 0 0; padding-left: 18px; color: var(--gris); display: grid; gap: 6px; }
.phase li::marker { color: var(--petrole); }
.phase strong { color: var(--encre); font-weight: 500; }

.citation {
  margin: 36px 0 0;
  padding: 20px 24px;
  background: var(--bois) var(--texture-bois) center / cover;
  border-left: 3px solid var(--petrole);
  font-family: var(--police-titre);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--encre);
}

@media (max-width: 800px) {
  .phases { grid-template-columns: 1fr; gap: 24px; }
  .citation { font-size: 1.15rem; padding: 16px 18px; }
}

/* ---------- Quatre colonnes (ex. pourquoi le bois) ---------- */
.colonnes--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Chiffres clés (ex. membrane EPDM) ---------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 720px;
}
.chiffre {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--petrole);
  color: var(--blanc);
  border-radius: 2px;
}
.chiffre__valeur {
  font-family: var(--police-titre);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1;
}
.chiffre__texte { color: #E3ECF1; }

.sous-titre { margin-top: 36px; }

/* Variantes de la liste à coches */
.liste-coches--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.liste-coches--une { grid-template-columns: 1fr; margin-top: 14px; gap: 10px; }

@media (max-width: 1000px) {
  .colonnes--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .colonnes--quatre { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; gap: 10px; }
  .chiffre { padding: 16px; }
  .liste-coches--trois { grid-template-columns: 1fr; }
}

/* ---------- Réseaux sociaux (pied de page) ---------- */
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.reseaux a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gris);
  text-decoration: none;
}
.reseaux a:hover { color: var(--petrole); }
.reseaux__icone {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.pied__ligne { align-items: center; }

/* =========================================================
   PAGE MENTIONS LÉGALES
   ========================================================= */
.texte-legal { max-width: 820px; }
.texte-legal h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--trait);
}
.texte-legal p { margin-top: 12px; color: var(--gris); }
.texte-legal a { color: var(--petrole); }
.fiche {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 8px 24px;
  margin: 16px 0 0;
}
.fiche dt { font-weight: 500; color: var(--encre); }
.fiche dd { margin: 0; color: var(--gris); overflow-wrap: anywhere; }
.liste-legale { margin: 12px 0 0; padding-left: 20px; color: var(--gris); display: grid; gap: 6px; }
.liste-legale strong { color: var(--encre); font-weight: 500; }
.mise-a-jour { margin-top: 40px !important; font-size: .85rem; }
/* Champs à compléter : bien visibles tant qu'ils ne sont pas remplis */
.a-completer { background: #FFF1B8; color: #6B4E00; padding: 0 4px; border-radius: 2px; }

@media (max-width: 800px) {
  .fiche { grid-template-columns: 1fr; gap: 2px; }
  .fiche dd { margin-bottom: 10px; }
}

/* ---------- Sous-titre du bandeau et sections de texte ---------- */
.bandeau-page__sous-titre {
  margin-top: 10px;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: #FFFFFF;
}
.texte-section:not(.conteneur) { max-width: 760px; }
.conteneur.texte-section > * { max-width: 72ch; }
.texte-section p { color: var(--gris); margin-top: 12px; }
.texte-section h2 + p { margin-top: 16px; }

/* ---------- Onglets en texte (page Maîtrise d'œuvre) ---------- */
.onglets__panneau.texte-section h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.panneau__sous-titre {
  font-family: var(--police-titre);
  font-size: 1.2rem;
  color: var(--petrole) !important;
  margin-top: 6px !important;
}

/* ---------- Liste déroulante du formulaire ---------- */
.champ select {
  width: 100%;
  font: inherit;
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid #C5CCD1;
  border-radius: 3px;
  padding: 11px 12px;
}
.champ select:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 3px rgba(51, 98, 123, .18); }
.formulaire__mention a { color: var(--petrole); }

@media (max-width: 800px) {
  /* Onglets : passent à la ligne sur téléphone au lieu d'être coupés */
  .onglets__liste { flex-wrap: wrap; overflow-x: visible; }
}
