/* BAB — feuille commune des pages intérieures (générée par code\designaire_design.py : ne pas modifier à la main). */
/* BAB — jetons du système : la seule source des couleurs, lettres, tailles et espacements. */
:root {
  /* Couleurs de base */
  --nuit: #141B21;          /* fonds sombres : bleu-fonte */
  --nuit-2: #1B252D;
  --fonte: #2B3238;         /* texte sur fond clair */
  --ciment: #E7E8E3;        /* fond clair froid */
  --ciment-2: #F3F3F0;
  --blanc: #FFFFFF;
  --trait: #E9E4DA;         /* texte et traits sur fond sombre */
  --trait-doux: #A9A49A;
  --gris: #5A6168;
  --filet: #CDD0CA;
  --marron: #6B3F24;        /* grillage avertisseur d'assainissement : fil conducteur */
  --orange: #E8671C;        /* action (appeler, envoyer) et intervention BAB */
  --orange-fonce: #C9550F;
  --orange-action: #C2510E;  /* fond des boutons à texte blanc : contraste 4,7:1 (AA) ; #E8671C = 3,3:1 */
  /* Couleurs de sens (dessins et états) */
  --eu: #C9784E;            /* eaux usées */
  --ep: #7FB0D0;            /* eaux pluviales */
  --probleme: #E3A33A;
  --resultat: #6DBA8A;
  --erreur: #B3261E;
  /* Lettres */
  --affiche: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --texte: "Public Sans", system-ui, sans-serif;
  /* Échelle typographique (rapport 1,333 autour de 18 px) */
  --t-0: 14px; --t-1: 16px; --t-2: 18px; --t-3: 24px; --t-4: 32px; --t-5: 44px; --t-6: 60px; --t-7: clamp(64px, 10vw, 176px);
  /* Espacements (pas de 8) */
  --e-1: 8px; --e-2: 16px; --e-3: 24px; --e-4: 32px; --e-5: 48px; --e-6: 64px; --e-7: 96px; --e-8: 128px;
  --marge: clamp(20px, 4vw, 56px);
  --largeur: 1280px;
  --mesure: 66ch;
  --entete: 72px;
  --rayon: 2px;
}
@media (max-width: 920px) { :root { --entete: 60px; } }

/* Polices hébergées sur le site (licence SIL OFL), fichiers variables, sous-ensemble latin. */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800 900; font-display: swap; src: url(/accueil/polices/BigShouldersDisplay.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/accueil/polices/PublicSans.woff2) format("woff2"); }

.enveloppe { width: min(var(--largeur), 100% - 2 * var(--marge)); margin-inline: auto; }
.titre-affiche { font-family: var(--affiche); font-weight: 800; line-height: .92; letter-spacing: -.005em; margin: 0; }
.lien-evitement { position: absolute; left: var(--marge); top: -60px; z-index: 100; background: var(--orange-action); color: var(--blanc); padding: 10px 14px; }
.lien-evitement:focus { top: 10px; }
.entete { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--entete); color: var(--blanc); transition: background-color .3s ease; }
.entete.plein, .entete.clair { background: rgba(20, 27, 33, .94); backdrop-filter: blur(8px); }
.entete .enveloppe { height: 100%; display: flex; align-items: center; gap: var(--e-4); }
.entete .logo { background: var(--blanc); padding: 6px 10px; border-radius: var(--rayon); flex: none; }
.entete .logo img { width: 104px; }
.entete nav { display: flex; gap: 26px; margin-right: auto; font-size: 15px; }
.entete nav a { text-decoration: none; opacity: .9; }
.entete nav a:hover, .entete nav a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.entete .tel { font-family: var(--affiche); font-weight: 800; font-size: 26px; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.entete .bouton { padding: 11px 16px; font-size: 15px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; color: var(--blanc); background: var(--orange-action); border: 0; border-radius: var(--rayon); padding: 16px 24px; cursor: pointer; }
.bouton:hover { background: #9C3F08; }
.bouton.contour { background: transparent; box-shadow: inset 0 0 0 2px currentColor; color: inherit; }
.bouton.contour:hover { background: rgba(127, 127, 127, .14); }
.bouton.sombre { background: var(--fonte); }
.bouton.sombre:hover { background: #1F252A; }
.bouton[disabled] { opacity: .6; cursor: progress; }
.pied .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.barre-mobile { display: none; }
@media (max-width: 920px) {
  .entete nav, .entete .bouton { display: none; }
  .entete .enveloppe { justify-content: space-between; }
  .entete .logo img { width: 90px; }
  .entete .tel { font-size: 22px; }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 27, 33, .95); backdrop-filter: blur(8px); }
  .barre-mobile a { text-align: center; padding: 13px 8px; font-weight: 700; text-decoration: none; border-radius: var(--rayon); color: var(--blanc); }
  .barre-mobile .appel { box-shadow: inset 0 0 0 2px var(--trait); }
  .barre-mobile .envoi { background: var(--orange-action); }
}
.entete .menu-tel { display: none; position: relative; }
.entete .menu-tel summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 10px 12px; border: 2px solid var(--trait); border-radius: var(--rayon); }
.entete .menu-tel summary::-webkit-details-marker { display: none; }
.entete .menu-tel[open] summary { background: var(--orange-action); border-color: var(--orange-action); }
.entete .menu-tel nav { position: absolute; right: 0; top: calc(100% + 8px); display: flex; flex-direction: column; min-width: 230px; background: var(--nuit); padding: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.entete .menu-tel nav a { color: var(--blanc); text-decoration: none; padding: 12px 12px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.entete .menu-tel nav a:last-child { border-bottom: 0; }
@media (max-width: 920px) {
  .entete .menu-tel { display: block; }
  .entete .tel { font-size: 20px; }
  .entete .enveloppe { gap: 12px; }
  .entete .logo { margin-right: auto; }
}
.formulaire-accueil .bouton { justify-self: start; }
@media (max-width: 920px) {
  .formulaire-accueil .bouton { justify-self: stretch; }
}
.pied-site { background: var(--nuit); color: var(--trait-doux); padding: 44px 0 110px; font-size: 15px; }
.pied-site .enveloppe { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 0.9fr; gap: 26px 32px; }
.pied-site .pied-titre { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blanc); }
@media (max-width: 1100px) and (min-width: 921px) {
  .pied-site .enveloppe { grid-template-columns: 1fr 1fr; }
}
.pied-site strong { color: var(--blanc); }
.pied-site a { color: var(--trait); }
.pied-site nav { display: flex; flex-direction: column; gap: 8px; }
.pied-site .gerer-cookies { all: unset; cursor: pointer; text-decoration: underline; color: var(--trait); }
.pied-site .gerer-cookies:focus-visible { outline: 3px solid var(--orange); }
@media (max-width: 920px) {
  .pied-site .enveloppe { grid-template-columns: 1fr; }
}
@media (min-width: 921px) and (max-width: 1180px) {
  .entete .enveloppe { gap: 18px; }
  .entete nav { gap: 16px; font-size: 14px; }
  .entete .tel { font-size: 22px; }
  .entete .bouton { white-space: nowrap; padding: 10px 12px; font-size: 14px; }
}
.entete { background: rgba(20, 27, 33, .97); }
.entete .tel { padding: 8px 0; }
.pied-site nav a, .pied-site .gerer-cookies { display: inline-block; padding: 9px 0; }
.pied-site nav { gap: 0; }
@media (max-width: 920px) {
  .barre-mobile { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .barre-mobile a { padding: 13px 6px; font-size: 16px; white-space: nowrap; }
}
.plus a, .contact-deux .mail a, .pied-site .enveloppe > div a, .formulaire-accueil .consent a { display: inline-block; padding: 12px 0; }
@media (max-width: 920px) {
  .entete .menu-tel nav { position: fixed; left: 0; right: 0; top: var(--entete); bottom: 0; min-width: 0; padding: 12px var(--marge) 24px; background: var(--nuit); box-shadow: none; overflow-y: auto; z-index: 80; }
  .entete .menu-tel nav a { font-family: var(--affiche); font-weight: 800; font-size: 32px; line-height: 1.1; padding: 16px 0; border-bottom: 1px solid rgba(233,228,218,.14); }
  .entete .menu-tel[open] summary::after { content: " ✕"; }
}
.etapes, .zones, .faq, .texte-seo, .pied-site { content-visibility: auto; contain-intrinsic-size: auto 700px; }
@media (max-width: 920px) {
  .entete .enveloppe { min-width: 0; }
  .entete .tel { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: clip; }
  .entete .logo, .entete .menu-tel summary { flex: none; }
}
@media (max-width: 920px) {
  .bouton { white-space: normal; max-width: 100%; text-align: center; }
}
.pied-site .enveloppe > *, .pied-site nav { min-width: 0; }
.pied-site a { overflow-wrap: anywhere; }
@media (max-width: 920px) {
  .barre-mobile > * { min-width: 0; }
  .barre-mobile a { white-space: normal !important; overflow-wrap: anywhere; line-height: 1.15; }
}
/* ---------- Thème : l'ancien CSS compilé (Tailwind) repeint aux couleurs et lettres du nouvel accueil ---------- */
:root {
  --background: 60 13% 95%;        /* #F3F3F0 ciment clair */
  --foreground: 208 13% 19%;       /* #2B3238 fonte */
  --card: 0 0% 100%; --card-foreground: 208 13% 19%;
  --popover: 0 0% 100%; --popover-foreground: 208 13% 19%;
  --primary: 208 25% 10%;          /* #141B21 nuit */
  --primary-foreground: 0 0% 100%;
  --secondary: 72 8% 90%; --secondary-foreground: 208 13% 19%;
  --muted: 72 8% 90%;              /* #E7E8E3 ciment */
  --muted-foreground: 210 7% 34%;  /* gris lisible sur ciment */
  --accent: 22 87% 41%;            /* #C2510E orange action (4,7:1 avec du blanc) */
  --accent-foreground: 0 0% 100%;
  --border: 90 5% 80%; --input: 210 7% 55%; --ring: 22 87% 41%;
  --radius: .25rem;
  --hero-gradient-start: 208 25% 10%; --hero-gradient-end: 208 25% 10%;
  --cta-gradient-start: 22 87% 41%; --cta-gradient-end: 22 87% 36%;
  --trust-bg: 72 8% 90%; --service-card-hover: 208 25% 10%;
  --gradient-hero-bold: linear-gradient(180deg, #141B21 0%, #1B252D 100%);
  --gradient-cta-bold: linear-gradient(180deg, #C2510E 0%, #B04A0C 100%);
  --gradient-section-soft: linear-gradient(180deg, #F3F3F0 0%, #E7E8E3 100%);
  --gradient-navy-deep: linear-gradient(180deg, #141B21 0%, #1B252D 100%);
  --glow-accent: none; --glow-accent-strong: none;
  --shadow-sm: none; --shadow-md: 0 1px 0 rgba(20,27,33,.06); --shadow-lg: 0 6px 18px rgba(20,27,33,.08);
  --shadow-xl: 0 10px 28px rgba(20,27,33,.10); --shadow-premium: 0 10px 28px rgba(20,27,33,.10); --shadow-card-hover: 0 10px 28px rgba(20,27,33,.14);
}

/* Lettres : Public Sans pour le texte, Big Shoulders Display pour les grands titres (comme l'accueil) */
body.bab-design { font-family: var(--texte); background: var(--ciment-2); color: var(--fonte); font-size: 17px; line-height: 1.6; }
body.bab-design main :is(h1, h2):not(.bab-h3, .bab-h4), body.bab-design main .font-display:is(h1, h2, p, span, div):not(.bab-h3, .bab-h4) {
  font-family: var(--affiche); font-weight: 800; letter-spacing: 0; line-height: .98; text-wrap: balance;
}
body.bab-design main h1 { font-size: clamp(42px, 6.2vw, 78px); }
body.bab-design main h2:not(.bab-h3, .bab-h4) { font-size: clamp(32px, 3.8vw, 50px); }
/* titres remontés d'un niveau pour l'ordre (build_bab.py) : gardent l'aspect d'origine */
body.bab-design main :is(h2, h3, h4).bab-h3, body.bab-design main :is(h2, h3, h4).bab-h4 { font-family: var(--texte); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
body.bab-design main :is(h3, h4, h5) { font-family: var(--texte); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
body.bab-design main p, body.bab-design main li { text-wrap: pretty; }
/* les « pastilles » et petits titres en Big Shoulders resteraient trop petits : texte courant */
body.bab-design main :is(span, p, div, a).font-display:not(h1, h2) { font-family: var(--texte); font-weight: 700; letter-spacing: 0; }

/* Formes : angles quasi droits, pas d'effets de verre ni de lueur */
body.bab-design main :is(.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl) { border-radius: 4px; }
body.bab-design main [class*="backdrop-blur"] { backdrop-filter: none; }
body.bab-design main [class*="blur-3xl"], body.bab-design main [class*="blur-2xl"] { display: none; }
body.bab-design main a:not([class*="bg-"]):not(.bouton) { text-underline-offset: 3px; }

/* Bandes sombres (héros, appels) : fond nuit uni, texte clair */
body.bab-design main :is(.bg-primary, [class~="from-primary"], [class*="bg-[image:var(--gradient-hero"], [class*="bg-[var(--gradient-navy"]) { background: var(--nuit) !important; color: var(--trait); }
body.bab-design main :is(.bg-primary, [class~="from-primary"]) :is(h1, h2, h3) { color: var(--blanc); }
/* Bouton orange de l'ancien site → bouton BAB (#C2510E) ; plus de dégradé */
body.bab-design main :is(.bg-accent, [class~="from-accent"], [class*="gradient-cta"]) { background: var(--orange-action) !important; color: var(--blanc) !important; }
body.bab-design main :is(.bg-accent, [class~="from-accent"]):hover { background: #9C3F08 !important; }
body.bab-design main .text-accent { color: #9C3F08; }   /* 5,6:1 sur ciment, 6,7:1 sur blanc */
/* teintes légères de l'ancien site (from-primary/5, from-accent/5) : fond clair uni */
body.bab-design main :is([class~="from-primary/5"], [class~="from-accent/5"], [class~="from-primary/10"], [class~="from-accent/10"]) { background: var(--blanc); }
/* voiles sombres sur photo (from-primary/95…) : nuit presque opaque, sans orange */
body.bab-design main :is([class~="from-primary/95"], [class~="from-primary/90"]) { background: linear-gradient(90deg, rgba(20,27,33,.96), rgba(20,27,33,.86) 60%, rgba(20,27,33,.7)) !important; }
body.bab-design main .bg-primary .text-accent, body.bab-design main [class~="from-primary"] .text-accent { color: #F29A5E; }

/* En-tête fixe (repris de l'accueil) : la page commence dessous */
body.bab-design .entete { background: rgba(20, 27, 33, .97); }
body.bab-design main { padding-top: var(--entete); }
body.bab-design .entete nav a[aria-current] { opacity: 1; }
/* l'ancienne enveloppe réservait 5 rem pour l'ancienne barre d'appel jusqu'à 1023 px ; la nouvelle s'arrête à 920 px */
@media (min-width: 921px) { body.bab-design > .flex { padding-bottom: 0 !important; } }

/* Formulaire de demande (pages intérieures) aux couleurs BAB */
body.bab-design .bab-form label { color: var(--fonte); font-size: 15px; }
body.bab-design .bab-form input, body.bab-design .bab-form textarea { border: 1px solid #8C939A; border-radius: 3px; padding: 12px; min-height: 48px; }
body.bab-design .bab-form input:focus, body.bab-design .bab-form textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--fonte); }
body.bab-design .bab-form button[type=submit] { background: var(--orange-action); border-radius: 3px; min-height: 52px; font-size: 17px; }
body.bab-design .bab-form button[type=submit]:hover { background: #9C3F08; }
body.bab-design .bab-form .bab-msg { color: #9C3F08; }
body.bab-design .bab-form .bab-rgpd { color: var(--gris); font-size: 13px; }

/* Lisibilité : liens du fil d'Ariane et textes atténués suffisamment contrastés */
body.bab-design main nav[aria-label*="Ariane" i] a, body.bab-design main nav[aria-label*="breadcrumb" i] a { text-decoration: underline; text-underline-offset: 3px; }
/* textes et pastilles orange posés sur une photo assombrie (héros des prestations) : orange clair lisible */
body.bab-design main section:has(> [class~="from-primary/95"], [class~="from-primary/95"]) :is(.text-accent, .text-accent *) { color: #F5A46E; }
body.bab-design main section:has([class~="from-primary/95"]) [class*="bg-accent/"] { background: rgba(245,164,110,.16); }
body.bab-design main h1 :is(span, br) { line-height: inherit; }
/* héros sombres des pages villes / zones (bg-hero-gradient, texte clair) : même orange clair pour les pastilles */
body.bab-design main :is(section.text-primary-foreground, [class*="bg-hero"], .bg-primary) :is(.text-accent, .text-accent *) { color: #F5A46E; }
body.bab-design main :is(section.text-primary-foreground, [class*="bg-hero"]) [class*="bg-accent/"] { background: rgba(245,164,110,.16); }
body.bab-design main [class*="bg-hero"] { background: var(--nuit) !important; }

/* ---------- Page « Envoyer mon rapport » (statique, 12/11/2026) ---------- */
.rapport-page { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.rapport-enveloppe { width: min(1180px, 100% - 2 * var(--marge)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.rapport-surtitre { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9C3F08; }
.rapport-intro h1 { margin: 0 0 18px; }
.rapport-intro > p { font-size: 18px; margin: 0 0 18px; }
.rapport-reperes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.rapport-reperes li { background: var(--blanc); border-left: 4px solid var(--orange); padding: 12px 14px; }
.rapport-appel a { font-family: var(--affiche); font-weight: 800; font-size: 28px; text-decoration: none; color: var(--fonte); }
.rapport-form { background: var(--blanc); border-top: 4px solid var(--orange); padding: 24px clamp(18px, 3vw, 30px); box-shadow: 0 10px 30px rgba(20,27,33,.08); display: grid; gap: 18px; }
.rapport-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.rapport-form legend { font-family: var(--affiche); font-weight: 800; font-size: 28px; margin-bottom: 10px; }
.rapport-form label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
.rapport-form label em { font-weight: 400; color: var(--gris); font-style: normal; }
.rapport-form input:not([type=file]), .rapport-form textarea { font: inherit; font-weight: 400; border: 1px solid #8C939A; border-radius: 3px; padding: 12px; min-height: 50px; background: var(--blanc); color: var(--fonte); width: 100%; }
.rapport-form input:focus, .rapport-form textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.rapport-depot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rapport-depot .bouton { display: flex; cursor: pointer; min-height: 56px; }
.rapport-depot .contour { color: var(--fonte); }
.rapport-aide, .rapport-rgpd { margin: 0; font-size: 14px; color: var(--gris); }
.rapport-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rapport-liste li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ciment-2); padding: 8px 10px; font-size: 15px; word-break: break-all; }
.rapport-liste .retirer { font: inherit; font-size: 14px; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--fonte); min-height: 40px; }
.rapport-envoyer { width: 100%; min-height: 56px; font-size: 18px; }
.rapport-form .bab-msg { margin: 0; min-height: 1.2em; color: #9C3F08; font-weight: 600; }
.rapport-form .bab-pm { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rapport-form .bab-merci { background: #EEF6F0; border-left: 4px solid #2E7D4F; padding: 16px; }
@media (max-width: 920px) { .rapport-enveloppe { grid-template-columns: 1fr; } .rapport-intro > p { font-size: 17px; } }
@media (max-width: 420px) { .rapport-depot { grid-template-columns: 1fr; } }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.rapport-enveloppe { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.rapport-depot .bouton { position: relative; }
@media (max-width: 920px) { .rapport-enveloppe { grid-template-columns: minmax(0, 1fr); } }
.rapport-intro h1 { overflow-wrap: anywhere; }
/* téléphone : le formulaire arrive juste après le titre et la phrase d'explication ; les étapes et le numéro passent dessous */
@media (max-width: 920px) {
  .rapport-enveloppe { display: flex; flex-direction: column; gap: 18px; }
  .rapport-intro { display: contents; }
  .rapport-intro > * { margin: 0; }
  .rapport-surtitre { order: 1; } .rapport-intro h1 { order: 2; } .rapport-intro > p:not(.rapport-appel):not(.rapport-surtitre) { order: 3; }
  .rapport-form { order: 4; } .rapport-reperes { order: 5; } .rapport-appel { order: 6; }
}
/* liens dans le texte : toujours soulignés (accessibilité : un lien ne doit pas se distinguer par la seule couleur) */
body.bab-design main :is(p, li, td) a:not(.bouton):not([class*="bg-"]) { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* texte agrandi : mots longs coupés, cartes sans largeur minimale (pages intérieures et page rapport) */
body.bab-design main :is(h1, h2, h3, h4, p, a, li, label, span, strong, td) { overflow-wrap: break-word; }
body.bab-design main :is(.grid > *, .flex > *, fieldset, form) { min-width: 0; }
@media (max-width: 920px) { body.bab-design main { hyphens: auto; } }
.rapport-form *, .rapport-intro * { min-width: 0; }
.rapport-form legend { display: block; width: 100%; padding: 0; white-space: normal; }
.rapport-depot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .rapport-depot { grid-template-columns: minmax(0, 1fr); } }
body.bab-design .bouton { white-space: normal; max-width: 100%; text-align: center; }

/* Bloc « qui intervient » avant le pied de page (pages intérieures) : uniquement des éléments vérifiés */
.bab-confiance { background: var(--ciment); border-top: 1px solid var(--filet); padding: 36px 0; }
.bab-confiance .enveloppe { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.bab-confiance img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.bab-confiance p { margin: 0 0 8px; font-size: 17px; }
.bab-confiance ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15.5px; color: var(--fonte); }
.bab-confiance li::before { content: "·"; margin-right: 8px; color: #9C3F08; font-weight: 700; }
.bab-confiance a:not(.bouton) { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bab-confiance-actions { display: grid; gap: 10px; }
.bab-confiance-actions .contour { color: var(--fonte); }
@media (max-width: 920px) { .bab-confiance .enveloppe { grid-template-columns: 72px minmax(0, 1fr); } .bab-confiance img { width: 72px; height: 72px; } .bab-confiance-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .bab-confiance-actions { grid-template-columns: 1fr; } }
/* Page de devis (/estimation/) : choix du besoin en pastilles */
.choix-besoin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choix-besoin .besoin { display: block; position: relative; cursor: pointer; }
.choix-besoin .besoin input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix-besoin .besoin span { display: flex; align-items: center; min-height: 52px; padding: 10px 12px; border: 2px solid var(--filet); background: var(--blanc); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.choix-besoin .besoin input:checked + span { border-color: var(--fonte); background: var(--fonte); color: var(--blanc); }
.choix-besoin .besoin input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 420px) { .choix-besoin { grid-template-columns: minmax(0, 1fr); } }
.rapport-appel .lien-rapport { font-family: var(--texte); font-size: 17px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
/* Pages intérieures sur écran d'ordinateur peu haut (1366×768) : le titre ne repousse plus les boutons hors de l'écran */
@media (min-width: 921px) { body.bab-design main h1 { font-size: clamp(40px, min(5.4vw, 8.5vh), 72px); } }
@media (min-width: 921px) {
  body.bab-design main section.text-primary-foreground .max-w-3xl { max-width: 62rem; }
  body.bab-design main section.text-primary-foreground :is(.py-16, .lg\:py-24) { padding-top: 40px; padding-bottom: 48px; }
  body.bab-design main section.text-primary-foreground p { font-size: 17px; }
}
body.bab-design main h1 { line-height: 1.02 !important; }

/* Provins et 20 km : liste des communes par intercommunalité (13/11/2026) */
body.bab-design .bab-epci { margin: 0 0 1.75rem; }
body.bab-design .bab-epci .bab-h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
body.bab-design .bab-nb { font-size: .875rem; font-weight: 400; color: #5B6168; }
body.bab-design .bab-communes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .25rem 1.5rem; }
body.bab-design .bab-communes li { padding: .35rem 0; border-bottom: 1px solid rgba(20,27,33,.12); display: flex; justify-content: space-between; gap: .75rem; min-width: 0; }
body.bab-design .bab-commune { font-weight: 600; overflow-wrap: anywhere; }
body.bab-design .bab-cp { color: #5B6168; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.bab-design .bab-source { font-size: .9rem; color: #5B6168; margin-top: 1rem; }
body.bab-design .bab-encart { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-left: 3px solid #C2510E; background: rgba(20,27,33,.04); }

/* prix 2026 (13/11/2026) */
body.bab-design .bab-prix h2 { margin: 2.2rem 0 .9rem; }
body.bab-design .bab-prix-reponse { font-size: 1.125rem; line-height: 1.6; padding: 1rem 1.2rem; border-left: 3px solid #C2510E; background: rgba(20,27,33,.04); }
body.bab-design .bab-prix-tableau { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: .5rem 0; }
body.bab-design .bab-prix-tableau table { width: 100%; border-collapse: collapse; font-size: .975rem; min-width: 34rem; }
body.bab-design .bab-prix-tableau th, body.bab-design .bab-prix-tableau td { text-align: left; vertical-align: top; padding: .65rem .6rem; border-bottom: 1px solid rgba(20,27,33,.14); }
body.bab-design .bab-prix-tableau thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #5B6168; }
body.bab-design .bab-prix-tableau td { white-space: nowrap; font-variant-numeric: tabular-nums; }
body.bab-design .bab-prix-source, body.bab-design .bab-prix-note { font-size: .9rem; color: #5B6168; margin-top: .6rem; }
body.bab-design .bab-liste { padding-left: 1.2rem; list-style: disc; }
body.bab-design .bab-liste li { margin: .4rem 0; }
body.bab-design .bab-prix-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
body.bab-design .bab-prix-encart { margin: 1.25rem 0 1.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(20,27,33,.18); border-left: 4px solid #C2510E; background: #fff; border-radius: 2px; }
body.bab-design .bab-prix-titre { font-weight: 700; font-size: 1.05rem; margin: 0 0 .5rem; }
body.bab-design .bab-prix-encart ul { list-style: none; padding: 0; margin: 0; }
body.bab-design .bab-prix-encart li { padding: .4rem 0; border-bottom: 1px dashed rgba(20,27,33,.15); }
body.bab-design .bab-prix-encart li:last-child { border-bottom: 0; }
body.bab-design .bab-prix-encart em { color: #5B6168; font-style: normal; font-size: .92rem; }
body.bab-design .bab-prix-tableau th, body.bab-design .bab-prix-tableau td, body.bab-design .bab-prix-encart { hyphens: manual; -webkit-hyphens: manual; }
body.bab-design .bab-prix-encart strong { white-space: nowrap; }
@media (max-width: 640px) {
  body.bab-design .bab-prix-tableau table { min-width: 0; }
  body.bab-design .bab-prix-tableau thead { display: none; }
  body.bab-design .bab-prix-tableau table, body.bab-design .bab-prix-tableau tbody, body.bab-design .bab-prix-tableau tr,
  body.bab-design .bab-prix-tableau th, body.bab-design .bab-prix-tableau td { display: block; width: 100%; }
  body.bab-design .bab-prix-tableau tr { padding: .75rem 0; border-bottom: 1px solid rgba(20,27,33,.18); }
  body.bab-design .bab-prix-tableau th, body.bab-design .bab-prix-tableau td { border: 0; padding: .15rem 0; white-space: normal; }
  body.bab-design .bab-prix-tableau th { font-size: 1rem; margin-bottom: .3rem; }
  body.bab-design .bab-prix-tableau td { display: flex; justify-content: space-between; gap: 1rem; }
  body.bab-design .bab-prix-tableau td::before { content: attr(data-label); color: #5B6168; font-size: .9rem; }
}
