/* AS Plâtrerie — feuille de style du site.

   Parti pris : celui d'une plaquette d'entreprise imprimée. La lettre
   française classique (EB Garamond) porte les titres et le texte ; une
   grotesque sobre (Montserrat) est réservée aux libellés courts. Fonds de
   papier, filets plutôt qu'ombres, angles francs, vignettes montées comme
   des tirages. Une seule couleur d'accent : le bleu du logo. */

/* --- polices (auto-hébergées, aucune requête vers l'extérieur) ----------- */
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/ebgaramond.woff2") format("woff2-variations"),
       url("/fonts/ebgaramond.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/ebgaramond-italique.woff2") format("woff2-variations"),
       url("/fonts/ebgaramond-italique.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-variable.woff2") format("woff2-variations"),
       url("/fonts/montserrat-variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --serif: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: #0c146d;
  --accent-fonce: #080f52;
  --encre: #241f18;
  --texte: #3a3329;
  --texte-doux: #5d5343;
  --trait: #ded4c1;
  --trait-fort: #c6b99f;
  /* Acier galvanisé de la baguette : le seul gris froid de la palette, et
     c'est voulu : c'est la couleur du métal, pas celle du papier. */
  --galva: #b9bfc4;
  --galva-clair: #d7dcdf;
  --papier: #fffdf8;
  --papier-creux: #f6f1e5;
  --blanc: #fff;
  --or: #b8892c;
  --conteneur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.7;
  /* EB Garamond est un caractère à fûts fins : à 400, il s'efface sur un
     écran de téléphone. 450 tient la lisibilité sans épaissir le dessin. */
  font-weight: 450;
  color: var(--texte);
  background: var(--papier);
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--encre);
  line-height: 1.18;
  margin: 0 0 .55em;
  letter-spacing: -.005em;
}
h1 { font-size: 2.85rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.16rem; }

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

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
li:last-child { margin-bottom: 0; }

/* --- ossature ----------------------------------------------------------- */
.conteneur { width: 100%; max-width: var(--conteneur); margin: 0 auto; padding: 0 24px; }

.section { padding: 78px 0; }
.section--alt { background: var(--papier-creux); }
.section--serre { padding: 46px 0; }
.section--bord { border-top: 3px double var(--trait-fort); }

.entete-section { max-width: 66ch; margin: 0 auto 44px; text-align: center; }

.surtitre {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.chapo { font-size: 1.22rem; line-height: 1.62; }
.chapo--centre { margin-left: auto; margin-right: auto; }

/* Ornement de section : deux filets et un losange, comme un cul-de-lampe
   d'imprimé. Le losange est dessiné en CSS, aucun caractère spécial. */
.ornement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 20px;
  padding: 0;
}
.ornement::before, .ornement::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--trait-fort);
  display: block;
}
/* Niveau à bulle : la fiole entre deux filets, la bulle au centre. Le losange
   d'imprimé devient l'outil du métier. */
.ornement i {
  position: relative;
  width: 36px;
  height: 14px;
  border: 1px solid var(--trait-fort);
  border-radius: 2px;
  background: var(--papier);
  display: block;
}
.ornement i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 6px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: rgba(12, 20, 109, .07);
}
.ornement::before, .ornement::after { width: 54px; }
.ornement--gauche { justify-content: flex-start; }
/* À gauche, le filet ne court que d'un côté : deux filets centrés autour d'un
   losange collé au titre font ornement résiduel. */
.ornement--gauche::before { display: none; }

/* lettrine : la première lettre du texte d'ouverture */
.lettrine::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.15rem;
  /* la lettrine doit s'asseoir sur la même ligne de base que le texte :
     un interlignage plus serré et une marge haute nulle la font descendre
     au lieu de flotter au-dessus de la première ligne. */
  line-height: .78;
  font-weight: 600;
  color: var(--accent);
  margin: .06em .09em 0 0;
  padding: 0;
}

/* --- entête ------------------------------------------------------------- */
.entete {
  background: var(--papier);
  border-bottom: 3px double var(--trait-fort);
  position: sticky;
  top: 0;
  z-index: 40;
}
.entete__barre { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.entete__logo { display: block; flex: 0 0 auto; }
.entete__logo img { height: 46px; width: auto; }

.entete__nav { display: flex; gap: 26px; margin-left: auto; }
.entete__nav a {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--texte);
  white-space: nowrap;
  align-self: center;
}
.entete__nav a:hover { color: var(--accent); text-decoration: none; }
.entete__nav a.est-actif {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.entete__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.entete__burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 38px;
  border: 1px solid var(--trait-fort);
  background: var(--papier);
  cursor: pointer;
  position: relative;
}
.entete__burger span,
.entete__burger span::before,
.entete__burger span::after {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--encre);
  content: "";
  position: absolute;
  left: 12px;
}
.entete__burger span { top: 18px; }
.entete__burger span::before { top: -6px; }
.entete__burger span::after { top: 6px; }

.nav-mobile { display: none; }
.nav-mobile.ouvert { display: block; border-top: 1px solid var(--trait); }
.nav-mobile a {
  display: block;
  padding: 15px 24px;
  border-bottom: 1px solid var(--trait);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre);
}
.nav-mobile a:hover { background: var(--papier-creux); text-decoration: none; }
.nav-mobile .bouton { margin: 16px 24px 20px; display: inline-block; border-bottom: 0; }

/* Mention de zone, entre deux filets : discrète, comme sur une facture. */
.bandeau-zone { background: var(--papier-creux); border-bottom: 1px solid var(--trait); }
.bandeau-zone .conteneur {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  padding: 10px 24px;
}
.bandeau-zone span {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-doux);
  white-space: nowrap;
}
.bandeau-zone span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--trait-fort);
  transform: rotate(45deg);
  margin: 0 14px 2px;
}

/* --- boutons ------------------------------------------------------------ */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.bouton:hover { text-decoration: none; }
.bouton--plein { background: var(--accent); color: #fff; border-color: var(--accent); }
.bouton--plein:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.bouton--vide { border-color: var(--trait-fort); color: var(--encre); background: transparent; }
.bouton--vide:hover { border-color: var(--accent); color: var(--accent); }
.bouton--clair { background: var(--papier); color: var(--accent); border-color: var(--papier); }
.bouton--clair:hover { background: #efe9dc; border-color: #efe9dc; }
.bouton--contour-clair { border-color: rgba(255,255,255,.5); color: #fff; }
.bouton--contour-clair:hover { border-color: #fff; }
.bouton--petit { padding: 11px 18px; font-size: .7rem; }
.bouton--large { padding: 16px 32px; }

.lien-fleche {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lien-fleche::after { content: " →"; }

/* --- pictogrammes ------------------------------------------------------- */
.ico { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: -3px; }
.ico--gros { width: 26px; height: 26px; }

/* --- héros -------------------------------------------------------------- */
.heros { padding: 74px 0 66px; border-bottom: 1px solid var(--trait); }
.heros__texte { max-width: 76ch; }
.heros h1 { font-size: 3rem; margin-bottom: 20px; }
.heros .chapo { margin-bottom: 28px; }
.heros__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.heros__preuves {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.heros__preuves li { display: flex; align-items: center; gap: 8px; margin: 0; }
/* Pas de losange séparateur ici : quand la ligne se replie, le séparateur
   reste orphelin en début de ligne. Les pictogrammes suffisent à séparer. */
.heros__preuves li + li { margin-left: 28px; }
.heros__preuves .ico { color: var(--accent); width: 16px; height: 16px; }

/* Bande de photos de chantier : trois images, montées comme des tirages. */
.bande-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bande-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--blanc);
  padding: 7px;
  border: 1px solid var(--trait-fort);
}

/* --- cartes ------------------------------------------------------------- */
/* Les blocs portent chacun leur cadre : la grille n'a plus besoin de simuler
   des filets par un fond commun. */
.grille { display: grid; gap: 24px; }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }

/* Cornière d'angle à enduire, posée sur deux bords adjacents : c'est ainsi
   qu'elle se fixe sur un angle sortant. Aile perforée d'ovales en quinconce,
   nez formé d'un pli à double filet. Les deux autres bords restent ouverts.

   Les ovales sont un motif SVG en ligne (ovale 4,2 x 2,1, pas de 14 px, deux
   rangs décalés) répété en fond de bande : aucune image à charger. */
.carte {
  position: relative;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px 36px;
}
.carte::before,
.encart::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 17px;
  border-top: 2px solid var(--galva);
  border-bottom: 1px solid var(--galva-clair);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cellipse cx='3.6' cy='2.4' rx='2.1' ry='1.05' fill='%23b9bfc4'/%3E%3Cellipse cx='10.4' cy='5.6' rx='2.1' ry='1.05' fill='%23b9bfc4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 10px 7px;
}
.carte::after,
.encart::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 17px;
  border-left: 2px solid var(--galva);
  border-right: 1px solid var(--galva-clair);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14'%3E%3Cellipse cx='2.4' cy='3.6' rx='1.05' ry='2.1' fill='%23b9bfc4'/%3E%3Cellipse cx='5.6' cy='10.4' rx='1.05' ry='2.1' fill='%23b9bfc4'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: 7px 10px;
}
.carte__ico { color: var(--accent); margin-bottom: 16px; width: 24px; height: 24px; }
.carte h3 { margin-bottom: 8px; }
.carte p { font-size: 1.07rem; }
.carte__lien {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.carte--lien { display: flex; }
.carte--lien:hover { text-decoration: none; }
.carte--lien:hover::before { border-top-color: var(--accent); }
.carte--lien:hover::after { border-left-color: var(--accent); }
.carte--lien:hover .carte__lien { text-decoration: underline; }

/* --- galerie de réalisations ------------------------------------------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- chantiers livrés : un bloc par chantier, son récit et ses photos ---- */
/* Le récit vient de la publication du chantier, les photos de ses prises de
   vue. Rien n'est inventé : un récit court laisse le bloc court. */
.chantier-bloc { margin: 0 0 68px; }
.chantier-bloc:last-child { margin-bottom: 24px; }
.entete-section--gauche { margin: 0 0 24px; text-align: left; }
.entete-section--gauche h3 { font-size: 1.62rem; margin: 0 0 12px; }
.entete-section--gauche p:not(.surtitre) {
  color: var(--texte-doux);
  max-width: 76ch;
  margin: 0 0 8px;
}
.galerie--chantier { gap: 18px; }
/* Les prises de vue intérieures sont larges : 4/3 en couperait les côtés. */
.galerie--chantier .chantier img { aspect-ratio: 3 / 2; }
/* Coin rabattu : la diagonale reprend la traînée d'enduit du logo. Un dégradé
   sert ici à découper une forme, pas à décorer. */
.chantier { margin: 0; position: relative; }
.chantier::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(12, 20, 109, .92) 0 46%, transparent 46%);
  pointer-events: none;
}
.chantier img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.chantier figcaption {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--texte-doux);
  margin-top: 10px;
  text-align: center;
}
.chantier__tag {
  font-family: var(--sans);
  font-style: normal;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* --- étapes (chiffres romains) ----------------------------------------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: e; }
.etape { padding-top: 46px; position: relative; }
.etape::before {
  counter-increment: e;
  content: counter(e, upper-roman) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.etape h3 { font-size: 1.16rem; margin-bottom: 6px; }
.etape p { font-size: 1.02rem; color: var(--texte-doux); }

/* --- bandeau de chiffres ------------------------------------------------ */
.bandeau { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.bandeau__item { text-align: center; padding: 26px 20px; border-left: 1px solid var(--trait); }
.bandeau__item:first-child { border-left: 0; }
.bandeau__valeur { font-size: 1.7rem; font-weight: 600; color: var(--encre); line-height: 1.2; }
.bandeau__libelle {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

/* --- listes ------------------------------------------------------------- */
.liste { list-style: none; padding: 0; }
.liste li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
/* Les pictogrammes sont dessinés sur une grille de 24 : à 15 px le trait
   tombait sous le pixel et les détails se perdaient. 21 px est la plus
   petite taille où les dessins restent lisibles. */
.liste .ico { color: var(--accent); margin-top: 3px; width: 21px; height: 21px; }
.liste--serre li { margin-bottom: 8px; }
.liste--serre { font-size: 1.06rem; }



/* --- avis des clients (fiche Google) ----------------------------------- */
/* Les avis sont reproduits tels quels : le bloc annonce d'ailleurs qu'il n'en
   montre qu'une partie, et renvoie à la fiche pour le reste. */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.avis__item {
  margin: 0;
  padding: 26px 26px 22px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  display: flex;
  flex-direction: column;
}
.avis__note { display: flex; gap: 4px; margin: 0 0 14px; }
.ico--etoile { width: 15px; height: 15px; color: var(--or); }
.avis__texte {
  margin: 0 0 18px;
  font-style: italic;
  font-size: 1.04rem;
  color: var(--texte);
}
.avis__auteur {
  margin: auto 0 0;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.avis__lien { text-align: center; margin: 32px 0 0; }
.note-google { color: var(--accent); }


/* --- certifications dans le pied de page ------------------------------- */
/* Les logos sont livrés sur fond blanc : sur le bleu du pied de page, ils
   tiennent dans une plaque blanche, comme sur un véhicule ou une carte. */
.pied__certifications {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 9px 12px;
  background: #fff;
  width: fit-content;
}
.pied__certifications img { display: block; height: 46px; width: auto; flex: 0 0 auto; }

/* --- certifications (Qualibat, RGE) ------------------------------------- */
/* Les logos sont livrés sur fond blanc : le bloc est blanc lui aussi, sinon
   un carré blanc se verrait au milieu du papier. */
.certifications {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--blanc);
  border: 1px solid var(--trait);
  padding: 16px 22px;
  margin-top: 26px;
}
/* Deux classes : les logos sont posés dans un « duo », et `.duo img` impose
   sinon sa largeur (100 % de la colonne), ce qui écrase le logo. */
.certifications .certifications__logo {
  display: block;
  height: 84px;
  width: auto;
  flex: 0 0 auto;
  background: none;
  padding: 0;
  border: 0;
}
.certifications p {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  line-height: 1.9;
  margin: 0;
}

/* --- encart ------------------------------------------------------------- */
/* Même cadre que les cartes : c'est le même objet dans la page. */
.encart {
  position: relative;
  padding: 40px 30px 30px 36px;
  background: var(--blanc);
}
.encart h3 { font-size: 1.16rem; margin-bottom: 6px; }

/* --- texte + photo ------------------------------------------------------ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.duo--inverse .duo__texte { order: 2; }
.duo img {
  width: 100%;
  background: var(--blanc);
  padding: 7px;
  border: 1px solid var(--trait-fort);
}
.duo__legende { font-style: italic; font-size: 1rem; color: var(--texte-doux); text-align: center; margin-top: 10px; }

/* --- tableau ------------------------------------------------------------ */
.tableau { width: 100%; border-collapse: collapse; font-size: 1.04rem; }
.tableau th, .tableau td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--trait); }
.tableau th {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--encre);
  border-bottom: 3px double var(--trait-fort);
}

/* --- questions ---------------------------------------------------------- */
.faq { border-top: 3px double var(--trait-fort); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  cursor: pointer;
  padding: 19px 0;
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--encre);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.faq details[open] summary::after { content: "-"; }
.faq .reponse { padding: 0 0 20px; font-size: 1.06rem; max-width: 80ch; color: var(--texte-doux); }

/* --- formulaire --------------------------------------------------------- */
.formulaire { display: grid; gap: 18px; max-width: 620px; }
.champ { display: block; }
.champ__libelle {
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--encre);
  margin-bottom: 7px;
}
.champ input, .champ select, .champ textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--trait-fort);
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--encre);
  background: var(--blanc);
}
.champ textarea { min-height: 122px; resize: vertical; }
/* La liste déroulante native jure avec le reste : on dessine la flèche et on
   retire l'apparence du système. Le chevron est un SVG en ligne, aucune
   requête supplémentaire. */
.champ select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230c146d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.champ select::-ms-expand { display: none; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 20, 109, .1);
}
.champ__aide { display: block; font-style: italic; font-size: .96rem; color: var(--texte-doux); margin-top: 6px; }
.formulaire__pied { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* --- captcha du formulaire --------------------------------------------- */
/* Hauteur réservée : sans elle, la page saute quand le widget s'affiche. */
.formulaire__captcha { margin: 4px 0 18px; min-height: 65px; }
.formulaire__captcha iframe { display: block; }
.formulaire__note { font-style: italic; font-size: .98rem; color: var(--texte-doux); }
.grille-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form_status { display: none; margin-top: 18px; padding: 15px 17px; font-size: 1.04rem; }
.form_status--ok { background: #eef1fb; color: var(--accent); border: 1px solid #c9d0ee; }
.form_status--ko { background: #fdf1ee; color: #8c2d1c; border: 1px solid #f0ccc4; }

/* --- section finale ----------------------------------------------------- */
/* Le bloc de devis reste sur papier ; c'est le pied de page qui prend le bleu
   profond, comme la quatrième de couverture d'une plaquette. Un seul bloc
   d'encre sur la page. */
.final {
  background: var(--papier-creux);
  color: var(--texte);
  padding: 72px 0;
  border-top: 3px double var(--trait-fort);
}
.final h2 { color: var(--encre); }
.final p { color: var(--texte); }
.final a { color: var(--accent); }
.final__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.final .champ__libelle { color: var(--encre); }
/* background-color et non background : la forme courte effacerait l'image de
   fond de la liste déroulante (sa flèche dessinée). */
.final .champ input, .final .champ select, .final .champ textarea { background-color: var(--blanc); }
.final .liste .ico { color: var(--accent); margin-top: 7px; }
.final .liste { color: var(--texte); }
.final .coord-cache,
.final .numero-cache { border-color: var(--trait-fort); color: var(--accent); }
.final .coord-cache:hover,
.final .numero-cache:hover { border-color: var(--accent); }
.final .coord-affiche,
.final .numero-affiche { color: var(--encre); }

/* --- pied --------------------------------------------------------------- */
.pied {
  background: var(--accent);
  color: #d5daef;
  padding: 54px 0 26px;
  font-size: 1.06rem;
}
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; }
.pied h4 {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: #d5daef; }
.pied a:hover { color: #fff; }
.pied__marque img { height: 46px; width: auto; margin-bottom: 14px; }
.pied__bas {
  border-top: 1px solid rgba(255,255,255,.22);
  margin-top: 38px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-style: italic;
  font-size: 1rem;
  color: #aeb5d6;
}

/* --- coordonnées derrière un captcha ----------------------------------- */
.coord-cache,
.numero-cache {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--trait-fort);
  background: none;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}
.numero-cache:hover { border-color: var(--accent); }
.coord-cache[disabled],
.numero-cache[disabled] { color: var(--texte-doux); cursor: default; }
.coord-affiche,
.numero-affiche {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--encre);
}
.pied .coord-cache,
.pied .numero-cache { border: 0; padding: 0; font-family: var(--serif); font-size: 1.06rem; letter-spacing: 0; text-transform: none; color: #d5daef; }
.pied .coord-cache:hover,
.pied .numero-cache:hover { text-decoration: underline; color: #fff; }
.pied .petit, .pied__bas { color: #aeb5d6; }

/* --- coupe de la baguette (une seule page du site) ---------------------- */
/* Un dessin de section, comme sur une notice de pose. Réservé à la page
   prestations : répété ailleurs, il transformerait le site en catalogue. */
.coupe-baguette {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
  padding: 28px 22px;
  margin: 26px auto 0;
  max-width: 74ch;
  background: var(--papier);
}
.coupe-baguette svg { flex: 0 0 auto; }
.coupe-baguette p {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  line-height: 2;
  margin: 0;
}
.coupe-baguette strong { color: var(--encre); font-weight: 600; }

/* --- pages intérieures -------------------------------------------------- */
.bandeau-page {
  background: var(--papier-creux);
  border-bottom: 3px double var(--trait-fort);
  padding: 46px 0;
  text-align: center;
}
.bandeau-page h1 { font-size: 2.4rem; margin-bottom: 12px; }
.bandeau-page .chapo { font-size: 1.16rem; max-width: 68ch; margin-left: auto; margin-right: auto; }
.fil {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: 14px;
}
.fil a { color: var(--texte-doux); }

.petit { font-size: 1rem; color: var(--texte-doux); font-style: italic; }
.legal h2 { font-size: 1.5rem; margin-top: 38px; }
.legal p, .legal li { max-width: 82ch; }

/* --- tailles d'écran ---------------------------------------------------- */
@media (max-width: 991px) {
  .entete__nav, .entete__actions .bouton { display: none; }
  .entete__burger { display: block; }
  .grille--3, .grille--4, .galerie, .avis { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .duo, .final__grille { grid-template-columns: 1fr; gap: 34px; }
  .duo--inverse .duo__texte { order: 0; }
  .heros h1 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  body { font-size: 1.06rem; line-height: 1.66; }
  .section { padding: 52px 0; }
  .conteneur { padding: 0 18px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.65rem; }
  /* l'en-tête mobile doit tenir dans 390 px : sans réduction, l'ensemble
     logo + bouton de menu pousse la page dans un débordement horizontal. */
  .entete__barre { gap: 10px; min-height: 68px; }
  .entete__logo img { height: 34px; }
  .entete__burger { width: 42px; height: 36px; }
  .entete__burger span, .entete__burger span::before, .entete__burger span::after { left: 11px; }
  .entete__burger span { top: 17px; }
  .bandeau-zone span + span::before { margin: 0 9px 2px; }
  .heros { padding: 44px 0 44px; }
  .heros h1 { font-size: 1.95rem; }
  .heros__actions .bouton { flex: 1 1 100%; }
  .grille, .grille--2, .grille--3, .grille--4, .etapes, .bandeau, .avis { grid-template-columns: 1fr; }
  .bandeau__item { border-left: 0; border-top: 1px solid var(--trait); text-align: left; }
  .bandeau__item:first-child { border-top: 0; }
  .grille-champs, .pied__grille { grid-template-columns: 1fr; }
  .bande-photos { grid-template-columns: 1fr; }
  .bande-photos img:nth-child(n+2) { display: none; }
  /* cartes en lignes : six blocs empilés repoussent le formulaire trop bas */
  .carte {
    padding: 22px 18px 18px 22px;
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 13px;
    row-gap: 3px;
    align-items: start;
  }
  .carte__ico { grid-area: 1 / 1; margin: 3px 0 0; width: 21px; height: 21px; }
  .carte h3 { grid-area: 1 / 2; font-size: 1.14rem; margin-bottom: 0; }
  .carte p { grid-area: 2 / 2; }
  .carte p { font-size: .99rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .carte__lien { display: none; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .galerie > :last-child:nth-child(odd) { grid-column: span 2; }
  .chantier figcaption { font-size: .95rem; }
  .etape { padding-top: 40px; }
  .etape h3 { font-size: 1.08rem; }
  .final { padding: 48px 0; }
  .pied { padding: 38px 0 22px; }
  .pied__grille { gap: 24px; }
  .lettrine::first-letter { font-size: 2.9rem; }
}

/* --- références de chantier --------------------------------------------- */
/* Même cadre que les cartes de prestation : la baguette d'angle, un filet
   extérieur puis un filet en retrait. Un seul cadre par type d'objet. */
.section--tinte { background: var(--papier-creux); }
.references { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.reference {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--papier);
  border: 1px solid var(--trait-fort);
  box-shadow: inset 0 0 0 4px var(--papier), inset 0 0 0 5px var(--trait-fort);
  padding: 14px;
}
.reference__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--trait);
}
.reference__corps { min-width: 0; }
.reference__lieu {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 5px;
}
.reference h3 { font-size: 1.1rem; line-height: 1.25; margin: 0 0 6px; }
.reference__texte { font-size: .95rem; color: var(--texte-doux); margin: 0 0 9px; }
.reference__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.reference__tag {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  border: 1px solid var(--trait-fort);
  border-radius: 2px;
  padding: 3px 6px;
  white-space: nowrap;
}

/* Les trois chantiers racontés en détail */
.chantier-detail {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  margin: 0 0 44px;
}
.chantier-detail__photo { position: relative; }
.chantier-detail__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--trait-fort);
}
.chantier-detail--inverse .chantier-detail__photo { order: 2; }
.chantier-detail__texte h3 { font-size: 1.42rem; margin: 0 0 10px; }
.chantier-detail__texte p { color: var(--texte-doux); }

/* --- partenaires et fournisseurs ---------------------------------------- */
.partenaires-ensemble { display: grid; gap: 28px; }
.partenaires { text-align: center; }
.partenaires__titre {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin: 0 0 14px;
}
.partenaires__rangee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
}
.partenaire { display: flex; align-items: center; justify-content: center; height: 58px; }
.partenaire img {
  max-height: 58px;
  max-width: 210px;
  width: auto;
  opacity: .92;
  filter: grayscale(1) contrast(1.06);
  transition: opacity .2s ease, filter .2s ease;
}
/* Les logos viennent de maisons différentes : le gris les accorde, la
   couleur revient au survol pour rendre le lien évident. */
.partenaire:hover img { opacity: 1; filter: none; }

/* --- deux colonnes de texte --------------------------------------------- */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.petit-intitule {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.zone { line-height: 1.62; }

@media (max-width: 991px) {
  .references { grid-template-columns: 1fr; gap: 18px; }
  .reference { grid-template-columns: 150px 1fr; }
  .chantier-detail { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .chantier-detail--inverse .chantier-detail__photo { order: 0; }
  .deux-colonnes { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  .reference { grid-template-columns: 112px 1fr; gap: 12px; padding: 10px; }
  .reference h3 { font-size: 1.02rem; }
  .reference__texte { font-size: .9rem; }
  .partenaires__rangee { gap: 12px 22px; }
  .partenaire { height: 44px; }
  .partenaire img { max-height: 38px; max-width: 132px; }
}
/* --- listes de liens (prestations, communes voisines) -------------------- */
.liens-liste { list-style: none; padding: 0; margin: 6px 0 0; }
.liens-liste li { margin-bottom: 5px; }
.liens-liste a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--trait); }
.liens-liste a:hover { border-bottom-color: var(--accent); }
.section--serre .chapo { margin-bottom: 0; }
/* Une galerie d'une ou deux photos s'affiche sur deux colonnes : sur trois,
   la rangée resterait à moitié vide. */
.galerie--paire { grid-template-columns: repeat(2, 1fr); }
.galerie--paire > .chantier:only-child { grid-column: span 2; }
/* --- modale de confirmation --------------------------------------------- */
/* Le message d'envoi s'affiche sous le formulaire : trop bas dans la page,
   personne ne le voit. Il passe par-dessus, dans le même cadre que les cartes
   (la baguette d'angle), pour rester dans la charte. */
.modale {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.modale[hidden] { display: none; }
.modale__fond {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 109, .46);
  animation: modale-fond .22s ease-out;
}
.modale__boite {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--papier);
  border: 1px solid var(--trait-fort);
  box-shadow: inset 0 0 0 4px var(--papier), inset 0 0 0 5px var(--trait-fort),
              0 8px 20px rgba(8, 12, 60, .28), 0 30px 72px rgba(8, 12, 60, .38);
  padding: 32px 30px 26px;
  text-align: center;
  animation: modale-boite .26s cubic-bezier(.2, .8, .3, 1);
}
.modale__surtitre {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin: 0 0 8px;
}
.modale__titre { font-size: 1.5rem; margin: 0 0 6px; }
.modale__texte { color: var(--texte-doux); margin: 0 0 18px; }
.modale__motif {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .02em;
  color: var(--texte-doux);
  opacity: .8;
  margin: 10px 0 0;
  word-break: break-word;
}
.modale--echec .modale__titre { color: var(--accent-fonce); }
.modale__fermer {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: none;
  border: 0;
  color: var(--texte-doux);
  cursor: pointer;
  padding: 12px 8px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modale__fermer:hover { color: var(--accent); }
@keyframes modale-fond { from { opacity: 0; } to { opacity: 1; } }
@keyframes modale-boite {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modale__fond, .modale__boite { animation: none; }
}
@media (max-width: 640px) {
  .modale__boite { padding: 26px 20px 20px; }
  .modale__titre { font-size: 1.3rem; }
}
