/* Feuille de style commune à tous les sites.
   Couleurs et polices injectées par page (variables --encre, --p, --a, --a-txt, --fond, --ft, --fb…).
   Règles de design : connaissances/design-sites-artisans.md */
:root {
  --gris: color-mix(in srgb, var(--encre) 68%, var(--fond));
  --filet: color-mix(in srgb, var(--encre) 13%, transparent);
  --surface: #fff;
  --rayon: 6px;
  --hauteur-entete: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hauteur-entete) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--fb); color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--p); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--ft); font-weight: var(--t-poids); text-transform: var(--t-casse); letter-spacing: var(--t-esp); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
.style-chantier h2 { font-size: clamp(2.15rem, 4vw, 3.25rem); line-height: 1; }
.style-chantier h3 { font-size: 1.4rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }

.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.etroit { max-width: 840px; }
.texte p, .texte li { max-width: 68ch; }
.chapo { font-size: 1.14rem; color: var(--gris); }
.source { font-size: .8rem; color: var(--gris); line-height: 1.5; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.25em; border-radius: 4px; font: 600 .98rem/1.2 var(--fb); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-accent { background: var(--a); color: var(--a-txt); }
.btn-accent:hover { background: color-mix(in srgb, var(--a) 86%, #000); }
.btn-tel { background: var(--p); color: #fff; }
.btn-tel:hover { background: color-mix(in srgb, var(--p) 85%, #000); }
.btn-clair { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-clair:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-ligne { border-color: color-mix(in srgb, var(--encre) 28%, transparent); color: var(--encre); }
.btn-ligne:hover { border-color: var(--encre); }
.btn-grand { padding: 1em 1.5em; font-size: 1.02rem; }
.btn-plein { width: 100%; padding: 1.02em; font-size: 1.02rem; }

/* ---------- Barre supérieure et en-tête ---------- */
.barre-haut { background: var(--encre); color: rgb(255 255 255 / .75); font-size: .84rem; }
.barre-haut-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.barre-haut p { margin: 0; display: flex; align-items: center; gap: 8px; }
.barre-haut a { color: #fff; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.barre-haut .ico { width: 15px; height: 15px; opacity: .75; }

.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete-in { display: flex; align-items: center; gap: 32px; min-height: var(--hauteur-entete); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); margin-right: auto; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--p); color: #fff; flex: none; }
.logo-mark .ico { width: 24px; height: 24px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt strong { font: var(--t-poids) 1.12rem/1.1 var(--ft); text-transform: var(--t-casse); letter-spacing: var(--t-esp); }
.style-chantier .logo-txt strong { font-size: 1.3rem; }
.logo-txt small { font-size: .8rem; color: var(--gris); margin-top: 2px; }
/* Logo dessiné (site.json > logo) : marque en ligne + nom sur deux lignes */
.logo-perso { gap: 10px; }
.lp-marque { width: 34px; height: 44px; flex: none; overflow: visible; }
.lp-tuyau { fill: none; stroke: var(--a); stroke-width: 6; }
.lp-raccord { fill: color-mix(in srgb, var(--a) 78%, #000); }
.lp-goutte { fill: var(--p); }
.lp-txt { display: flex; flex-direction: column; line-height: 1; }
.lp-txt strong { font: 800 1.5rem/1 var(--ft); letter-spacing: -.015em; color: var(--encre); }
.lp-txt small { font: 700 .66rem/1 var(--fb); text-transform: uppercase; letter-spacing: .32em; color: var(--p); margin-top: 5px; padding-left: 1px; }
.logo-clair .lp-txt strong { color: #fff; }
.logo-clair .lp-txt small { color: color-mix(in srgb, var(--p) 35%, #fff); }
.logo-clair .lp-goutte { fill: color-mix(in srgb, var(--p) 35%, #fff); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--p); }

/* ---------- Accroche ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(86vh, 760px); color: #fff; background: var(--encre); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 10 12 / .86) 0%, rgb(8 10 12 / .6) 42%, rgb(8 10 12 / .12) 80%), linear-gradient(0deg, rgb(8 10 12 / .5) 0%, transparent 40%); }
.hero-sans-photo::before { display: none; }
.hero-in { width: 100%; padding-top: 64px; padding-bottom: 96px; }
.hero-txt { max-width: 620px; }
.hero .ariane { font-size: .82rem; color: rgb(255 255 255 / .7); margin-bottom: 26px; }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ariane li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.ariane a { color: inherit; }
.hero-sur { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; font-size: .9rem; letter-spacing: .03em; color: rgb(255 255 255 / .85); }
.hero-sur::before { content: ""; width: 28px; height: 2px; background: var(--a); flex: none; }
.hero h1 { font-size: calc(clamp(2.7rem, 6vw, 4.9rem) * var(--t-h1)); line-height: .98; margin-bottom: .32em; }
.hero h1.h1-moyen { font-size: calc(clamp(2.4rem, 4.9vw, 4rem) * var(--t-h1)); }
.hero h1.h1-long { font-size: calc(clamp(2.1rem, 4.1vw, 3.3rem) * var(--t-h1)); }
.hero h1 span { display: block; margin-top: .6em; font: 500 clamp(1.1rem, 1.9vw, 1.4rem)/1.3 var(--fb); text-transform: none; letter-spacing: 0; color: rgb(255 255 255 / .86); }
.hero-intro { font-size: 1.08rem; max-width: 56ch; color: rgb(255 255 255 / .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.garanties { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgb(255 255 255 / .85); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.garanties .ico { width: 18px; height: 18px; color: var(--a); }

/* Variante b : formulaire dans l'accroche */
.hero-b { align-items: center; }
.hero-b .hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-b::before { background: linear-gradient(90deg, rgb(8 10 12 / .85) 0%, rgb(8 10 12 / .55) 60%, rgb(8 10 12 / .35) 100%); }

/* Variante c : texte sur aplat, photo à droite */
.hero-c { min-height: 640px; }
.hero-c .hero-photo { left: 50%; }
.hero-c::before { background: linear-gradient(90deg, transparent 0 50%, rgb(8 10 12 / .25) 50% 100%); }
.hero-c .hero-txt { max-width: 520px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-services, .section-zones, .section-article { background: var(--surface); }
.tete-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.tete-section h2 { margin: 0; }
.tete-section p { margin: 0; color: var(--gris); max-width: 46ch; justify-self: end; }

/* Ouverture : explication + étapes + formulaire */
.grille-accueil { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.section-accueil { padding-top: 88px; }
.v-a .avec-form .col-form, .v-c .avec-form .col-form { margin-top: -330px; position: relative; z-index: 3; }
.etapes { list-style: none; padding: 0; margin: 40px 0 0; }
.etapes li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--filet); }
.etape-num { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--p); border-radius: 50%; font: 700 1rem/1 var(--ft); color: var(--p); }
.etapes h3 { margin: .35em 0 .25em; }
.etapes p { margin: 0; color: var(--gris); }

/* Formulaire */
.carte-form { background: #fff; color: var(--encre); border-radius: var(--rayon); overflow: hidden; box-shadow: 0 30px 70px -32px rgb(10 14 20 / .5), 0 0 0 1px var(--filet); scroll-margin-top: calc(var(--hauteur-entete) + 16px); }
.carte-form-tete { background: var(--p); color: #fff; padding: 20px 26px 18px; }
.carte-form-titre { font-size: 1.55rem; margin: 0; color: #fff; }
.carte-form-tete p { margin: .25em 0 0; font-size: .9rem; color: rgb(255 255 255 / .78); }
.form-devis { display: grid; gap: 14px; padding: 22px 26px 20px; }
.form-devis label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; }
.form-devis label small { font-weight: 400; color: var(--gris); }
.form-devis input, .form-devis select, .form-devis textarea { font: inherit; font-size: 1rem; font-weight: 400; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd1d7; border-radius: 4px; background: #fff; color: var(--encre); }
.form-devis textarea { min-height: 0; resize: vertical; }
.form-devis input:focus, .form-devis select:focus, .form-devis textarea:focus { outline: 2px solid var(--p); outline-offset: 0; border-color: var(--p); }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-plus summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--p); }
.form-plus[open] summary { margin-bottom: 12px; }
.form-devis .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .8rem; line-height: 1.45; color: var(--gris); }
.form-devis .consent input { width: 18px; min-height: 0; height: 18px; margin-top: 1px; flex: none; accent-color: var(--p); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-statut { margin: 0; font-size: .9rem; font-weight: 600; }
.form-statut:empty { display: none; }
.form-statut.erreur { color: #b42318; }
.form-note { margin: 0; text-align: center; font-size: .8rem; color: var(--gris); }
.hero-form .carte-form { box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7); }
/* Devis par téléphone : la carte garde la place du formulaire, le numéro en très gros */
.carte-appel-corps { display: grid; gap: 14px; padding: 22px 26px 20px; }
.btn-numero { font: 700 1.5rem/1.1 var(--ft); letter-spacing: .02em; font-variant-numeric: tabular-nums; padding: .7em 1em; }
.btn-numero .ico { width: 24px; height: 24px; }
.appel-horaires { margin: -4px 0 0; text-align: center; font-size: .88rem; font-weight: 600; color: var(--gris); }
.appel-titre { margin: 4px 0 0; font-size: .9rem; font-weight: 700; }
.appel-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.appel-liste li { display: flex; gap: 10px; align-items: flex-start; }
.appel-liste .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--p); }
/* Devis en ligne sous le numéro : un bouton secondaire qui déplie un formulaire court */
.appel-ou { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: .84rem; font-weight: 600; color: var(--gris); }
.appel-ou::before, .appel-ou::after { content: ""; flex: 1; border-top: 1px solid var(--filet); }
.devis-enligne > summary { list-style: none; }
.devis-enligne > summary::-webkit-details-marker { display: none; }
.devis-enligne[open] > summary { display: none; }
.devis-enligne { scroll-margin-top: calc(var(--hauteur-entete) + 16px); }
.form-devis.form-court { padding: 0; }

/* Guides : liste de liens éditoriaux, sans cartes à icône */
.grille-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; }
.carte-guide { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--filet); text-decoration: none; color: var(--encre); }
.carte-guide strong { font: var(--t-poids) 1.15rem/1.25 var(--ft); letter-spacing: var(--t-esp); }
.carte-guide span { color: var(--gris); font-size: .95rem; line-height: 1.5; }
.carte-guide .lien { color: var(--p); font-weight: 600; font-size: .9rem; }
.carte-guide:hover strong { text-decoration: underline; }
.lien-tous { margin: 24px 0 0; font-weight: 600; }
.lien-tous a { color: var(--p); }
.article-suite { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--filet); font-weight: 600; }
/* Tableau de données d'un guide (ex. dureté de l'eau par commune) */
.tableau-donnees { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .95rem; }
.tableau-donnees th, .tableau-donnees td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--filet); }
.tableau-donnees thead th { font-weight: 700; border-bottom: 2px solid var(--encre); }
.tableau-donnees td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Services : photo + texte, sans cadre */
.grille-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.carte-service { display: flex; flex-direction: column; color: var(--encre); text-decoration: none; }
.carte-service-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); background: var(--fond); transition: filter .2s; }
a.carte-service:hover .carte-service-img { filter: brightness(1.06) saturate(1.05); }
.carte-service-ico { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--rayon); background: var(--fond); color: var(--p); }
.carte-service-ico .ico { width: 56px; height: 56px; }
.carte-service-txt { padding-top: 18px; }
.carte-service h3 { font-size: 1.3rem; margin-bottom: .35em; }
.style-chantier .carte-service h3 { font-size: 1.55rem; }
.carte-service p { color: var(--gris); font-size: .97rem; margin-bottom: .7em; }
.lien { display: inline-flex; align-items: center; gap: 6px; color: var(--p); font-weight: 600; font-size: .95rem; }
.lien .ico { width: 1em; height: 1em; }

/* Bloc local : texte, carte, chiffres */
.grille-local { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
.local-aside { position: sticky; top: calc(var(--hauteur-entete) + 24px); }
.carte-cadre { margin: 0 0 26px; padding: 14px; background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon); }
.carte-cadre figcaption { font-size: .8rem; color: var(--gris); margin-top: 8px; }
.carte { width: 100%; height: auto; display: block; }
.carte .c { fill: color-mix(in srgb, var(--p) 9%, #fff); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s; }
.carte .c-principale { fill: color-mix(in srgb, var(--p) 24%, #fff); }
.carte a:hover .c { fill: color-mix(in srgb, var(--p) 38%, #fff); }
.carte .c-actuelle, .carte a:hover .c-actuelle { fill: var(--p); }
.carte-nom { font: 600 13px var(--fb); fill: var(--encre); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
.carte-nom.fort { font-size: 15.5px; font-weight: 700; }
.carte-point { fill: var(--a); stroke: #fff; stroke-width: 2.5; }
.chiffres { margin: 0 0 12px; }
.chiffres div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--filet); }
.chiffres dt { font: var(--t-poids) 2.1rem/1 var(--ft); letter-spacing: var(--t-esp); color: var(--p); }
.chiffres dd { margin: 0; color: var(--gris); font-size: .95rem; line-height: 1.4; }

/* Photos réelles des communes (Wikimedia Commons), crédit obligatoire en légende */
.photo-commune { margin: 4px 0 28px; }
.photo-commune img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon); background: color-mix(in srgb, var(--p) 18%, #e4e5e0); }
.photo-commune figcaption, .carte-commune figcaption { margin-top: 8px; font-size: .74rem; line-height: 1.4; color: var(--gris); }
.photo-commune figcaption a, .carte-commune figcaption a, .cta-credit a { color: inherit; }
.grille-communes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 48px; }
.carte-commune { margin: 0; }
.carte-commune > a { position: relative; display: block; overflow: hidden; border-radius: var(--rayon); color: #fff; text-decoration: none; }
.carte-commune img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; background: color-mix(in srgb, var(--p) 30%, #d9dbd5); }
.carte-commune > a:hover img { transform: scale(1.03); }
.carte-commune > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 10 12 / .72) 0%, transparent 55%); }
.carte-commune-nom { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: var(--t-poids) 1.2rem/1.2 var(--ft); text-transform: var(--t-casse); letter-spacing: var(--t-esp); }
.carte-commune-nom small { display: block; margin-top: 2px; font: 500 .8rem var(--fb); text-transform: none; letter-spacing: 0; opacity: .8; }
.cta-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; max-width: 60ch; font-size: .7rem; color: rgb(255 255 255 / .6); text-align: right; }
.credits { padding-left: 18px; font-size: .9rem; }
.credits li { margin-bottom: 6px; }

/* Tarifs, sur fond sombre */
.section-prix { background: var(--encre); color: #fff; }
.section-prix h2 { color: #fff; }
.section-prix p { color: rgb(255 255 255 / .7); max-width: 44ch; }
.grille-prix { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.grille-prix .btn { margin-top: 12px; }
.tableau-prix { width: 100%; border-collapse: collapse; }
.tableau-prix th, .tableau-prix td { padding: 19px 0; border-bottom: 1px solid rgb(255 255 255 / .14); text-align: left; vertical-align: baseline; }
.tableau-prix tr:first-child th, .tableau-prix tr:first-child td { border-top: 1px solid rgb(255 255 255 / .14); }
.tableau-prix th { font-weight: 500; font-size: 1.02rem; }
.tableau-prix th small { display: block; margin-top: 2px; font-size: .82rem; font-weight: 400; color: rgb(255 255 255 / .55); }
.tableau-prix td { padding-left: 24px; text-align: right; white-space: nowrap; font: var(--t-poids) 1.2rem/1.2 var(--ft); letter-spacing: var(--t-esp); color: color-mix(in srgb, var(--a) 72%, #fff); }

/* Le métier en images */
.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; }
.galerie figure { margin: 0; overflow: hidden; border-radius: var(--rayon); background: var(--filet); }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie .g-1 { grid-row: span 2; }
.galerie .g-4 { grid-column: span 2; }
.legende-galerie { margin: 12px 0 0; font-size: .8rem; color: var(--gris); }

/* Communes desservies */
.grille-zones { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.grille-zones > div p { color: var(--gris); }
.zones { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; }
.zones li { break-inside: avoid; border-top: 1px solid var(--filet); }
.zones a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--encre); font-weight: 500; }
.zones a:hover { color: var(--p); }
.zones small { color: var(--gris); font-variant-numeric: tabular-nums; }

/* Avis réels */
.grille-avis { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.avis { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon); }
.avis .note { display: flex; gap: 2px; color: var(--a); margin-bottom: 12px; }
.avis .note .ico { fill: currentColor; width: 18px; height: 18px; }
.avis blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.avis figcaption { font-size: .9rem; color: var(--gris); }

/* FAQ */
.grille-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-tete { position: sticky; top: calc(var(--hauteur-entete) + 24px); }
.faq-tete p { color: var(--gris); }
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font: 600 1.08rem/1.4 var(--fb); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--p); border-bottom: 2px solid var(--p); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-r { padding: 0 0 24px; color: var(--gris); max-width: 66ch; }
.faq-r p:last-child { margin: 0; }

/* Bandeau final */
.section-cta { position: relative; isolation: isolate; padding: 128px 0; background: var(--p); color: #fff; }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.section-cta.avec-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 10 12 / .78), rgb(8 10 12 / .45)); }
.cta-in { max-width: 1200px; }
.section-cta h2 { max-width: 16ch; color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.section-cta p { max-width: 50ch; font-size: 1.12rem; color: rgb(255 255 255 / .86); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Pages service et pages simples */
.article h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.7em; }
.article h2:first-child { margin-top: 0; }
.article-photo { margin: 30px 0; }
.article-photo img { border-radius: var(--rayon); }
.article-photo figcaption { margin-top: 8px; font-size: .8rem; color: var(--gris); }
.liste-check { list-style: none; padding: 0; display: grid; gap: 10px; }
.liste-check li { position: relative; padding-left: 28px; }
.liste-check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--p); border-bottom: 2px solid var(--p); transform: rotate(-45deg); }
.liste-check li .ico { display: none; }
.page-simple h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-simple h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: rgb(255 255 255 / .68); padding: 72px 0 0; font-size: .93rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied-in { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
.pied-marque > p { max-width: 42ch; }
.pied-tel { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; font: var(--t-poids) 1.5rem/1.2 var(--ft); letter-spacing: var(--t-esp); }
.pied-tel .ico { width: 22px; height: 22px; color: var(--a); }
.pied-horaires { margin: 0 0 4px; font-size: .86rem; }
.pied .garanties { margin-top: 18px; font-size: .86rem; color: rgb(255 255 255 / .68); }
.logo-clair { color: #fff; margin-bottom: 18px; }
.logo-clair:hover { text-decoration: none; }
.logo-clair small { color: rgb(255 255 255 / .55); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied-titre { margin: 0 0 14px; color: #fff; font-weight: 700; }
/* L'accent pur manque de contraste sur le fond sombre (3,4:1 pour le plombier) : éclairci, il dépasse 5:1 pour tous les métiers */
.pied-tous { color: color-mix(in srgb, var(--a) 70%, #fff) !important; font-weight: 600; }
/* Zones d'intervention : une ligne de liens par groupe, séparés par des points */
.pied-zones-bloc { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / .12); }
.pied-zones-titre { margin: 0 0 24px; color: #fff; font: var(--t-poids) 1.15rem/1.3 var(--ft); letter-spacing: var(--t-esp); }
.pied-zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 48px; }
.pied-zone-large { grid-column: 1 / -1; }
.pied-zone .pied-titre { margin-bottom: 8px; font-size: .9rem; }
.pied-zones .pied-titre a { color: #fff; }
.pied .pied-liste { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; line-height: 1.6; }
.pied-liste li:not(:last-child)::after { content: "·"; margin: 0 9px; color: rgb(255 255 255 / .3); }
.pied-liste a { color: rgb(255 255 255 / .78); }
.pied-liste a:hover { color: #fff; }
.pied-bas { margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .8rem; color: rgb(255 255 255 / .48); }
.pied-bas p { margin: 0 0 6px; max-width: 110ch; }
.pied-bas-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 10px; }
.pied-bas-ligne p { margin: 0; color: rgb(255 255 255 / .68); }
.pied .pied-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pied-legal a { color: rgb(255 255 255 / .68); }

.barre-mobile { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .grille-accueil, .grille-local, .grille-prix, .grille-zones, .grille-faq, .tete-section, .hero-b .hero-in { grid-template-columns: 1fr; }
  .grille-accueil, .grille-local, .grille-prix, .grille-zones, .grille-faq { gap: 44px; }
  .tete-section { gap: 12px; }
  .tete-section p { justify-self: start; }
  .v-a .avec-form .col-form, .v-c .avec-form .col-form { margin-top: 0; }
  .local-aside, .faq-tete { position: static; }
  .grille-services { grid-template-columns: repeat(2, 1fr); }
  .zones { columns: 2; }
  .grille-communes { grid-template-columns: repeat(2, 1fr); }
  .hero-c .hero-photo { left: 0; }
  .hero-c::before { background: linear-gradient(90deg, rgb(8 10 12 / .86) 0%, rgb(8 10 12 / .55) 60%, rgb(8 10 12 / .3) 100%); }
  .pied-in { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --hauteur-entete: 64px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .conteneur { padding: 0 16px; }
  .barre-haut { display: none; }
  .entete-in { gap: 12px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-txt strong { font-size: 1rem; }
  .style-chantier .logo-txt strong { font-size: 1.15rem; }
  /* Le numéro reste visible en entier : un toucher lance l'appel */
  .btn-tel { padding: .6em .8em; gap: 6px; font-size: .95rem; white-space: nowrap; }
  .barre-mobile .barre-numero { font-size: 1.1rem; letter-spacing: .02em; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgb(8 10 12 / .9) 0%, rgb(8 10 12 / .55) 55%, rgb(8 10 12 / .25) 100%); }
  .hero-in { padding-top: 120px; padding-bottom: 40px; }
  .hero-b .hero-in { padding-top: 96px; gap: 32px; }
  .hero h1 { font-size: calc(2.55rem * var(--t-h1)); }
  .hero h1.h1-moyen { font-size: calc(2.2rem * var(--t-h1)); }
  .hero h1.h1-long { font-size: calc(1.95rem * var(--t-h1)); }
  .hero-cta .btn { flex: 1 1 100%; }
  .garanties { gap: 6px 16px; font-size: .86rem; }
  .section { padding: 64px 0; }
  .section-accueil { padding-top: 48px; }
  .section-cta { padding: 80px 0; }
  .grille-services { grid-template-columns: 1fr; gap: 32px; }
  .carte-service-img, .carte-service-ico { aspect-ratio: 16 / 9; }
  .grille-2 { grid-template-columns: 1fr; }
  .form-devis { padding: 20px 18px; }
  .carte-form-tete { padding: 18px; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 200px; gap: 8px; }
  .galerie .g-1 { grid-row: auto; grid-column: span 2; }
  .galerie .g-4 { grid-column: span 2; }
  .zones { columns: 1; }
  .grille-communes { grid-template-columns: 1fr; gap: 24px; }
  .cta-credit { position: static; padding: 24px 16px 0; text-align: left; }
  .chiffres div { grid-template-columns: 88px 1fr; }
  .chiffres dt { font-size: 1.75rem; }
  .tableau-prix td { white-space: normal; }
  .pied { padding-top: 56px; }
  .pied-in { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pied-zones { grid-template-columns: 1fr; gap: 22px; }
  .barre-mobile { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--fond); border-top: 1px solid var(--filet); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 700; text-decoration: none; color: var(--p); }
  .barre-mobile .barre-devis { background: var(--a); color: var(--a-txt); }
}
@media (max-width: 359px) {
  .btn-tel .ico { display: none; }
  .btn-tel { font-size: .88rem; padding: .55em .65em; }
  .carte-appel-corps { padding: 18px 14px 16px; }
  .btn-numero { font-size: 1.3rem; padding: .7em .5em; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Départements couverts : un titre par département au-dessus de sa liste de villes */
.zones-titre { font-size: 1.05rem; margin: 32px 0 6px; }
.zones-titre:first-child { margin-top: 0; }
.zones-titre a { color: var(--encre); text-decoration: none; }
.zones-titre a:hover { color: var(--p); }
