/*
Theme Name: Pluie & Pompe
Theme URI: https://recuperationeaudepluie.net
Author: Seobooster LTD
Description: Thème code pur pour recuperationeaudepluie.net — du toit au robinet.
Version: 2026.09.26
Text Domain: rep-pluie
*/

/* =========================================================
   0. POLICES — Jost (titraille) + Merriweather Sans (corps),
   self-hosted (P-086). Déposées par ailleurs dans assets/fonts/.
   ========================================================= */
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("assets/fonts/merriweather-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("assets/fonts/merriweather-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("assets/fonts/merriweather-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   1. VARIABLES — palette DA §3, mode clair uniquement (GD-030).
   ========================================================= */
:root {
  color-scheme: light;
  --papier: #f8f9f3;
  --carte: #ffffff;
  --zinc: #e1e7e4;
  --encre: #1c2420;
  --encre-douce: #4a5550;
  --mousse: #5b8a1e;
  --mousse-profond: #3e6314;
  --mousse-profond-survol: #2e4a0f;
  --lichen: #b9d97a;
  --terre: #1f241b;
  --ivoire: #eef2e6;
  --eau-fill: #c7ddd5;
  --eau-trait: #3f7466;
  --bordure: #cdd5d0;
  --ombre: 0 1px 0 rgba(28, 36, 32, 0.1), 0 8px 24px -12px rgba(28, 36, 32, 0.2);
  --rayon: 4px;
  --rayon-pastille: 999px;
  --police-titre: "Jost", Arial, sans-serif;
  --police-corps: "Merriweather Sans", Georgia, serif;
  --contenu-max: 1280px;
  --gouttiere: 24px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police-corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
.rep-maison-svg, .rep-carte-zone { display: block; width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--police-titre); color: var(--encre); line-height: 1.12; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--police-titre); font-weight: 600; font-size: 1.05rem; padding: 0; margin-bottom: 14px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--mousse); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================
   3. UTILITAIRES
   ========================================================= */
.rep-wrap { max-width: var(--contenu-max); margin: 0 auto; padding: 0 var(--gouttiere); }
.rep-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rep-skip { position: absolute; left: -999px; top: 0; background: var(--mousse-profond); color: #fff; padding: 10px 16px; z-index: 200; }
.rep-skip:focus { left: 12px; top: 12px; }

.rep-band { padding: 64px 0; }
.rep-band--zinc { background: var(--zinc); }
.rep-band--papier { background: var(--papier); }
.rep-band--lichen { background: var(--lichen); color: var(--terre); position: relative; overflow: hidden; }
.rep-band--terre { background: var(--terre); color: var(--ivoire); }
.rep-band--terre h2, .rep-band--terre h3 { color: var(--ivoire); }

.rep-eyebrow { font-family: var(--police-titre); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mousse-profond); margin: 0 0 10px; }
.rep-eyebrow--clair { color: var(--lichen); }
.rep-section-tete { max-width: 640px; margin: 0 0 36px; }
.rep-section-tete h2 { margin-bottom: 8px; }

.rep-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--police-titre); font-weight: 600; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; border-radius: var(--rayon); padding: 0 24px; height: 52px; white-space: nowrap; }
.rep-btn--grand { background: var(--mousse-profond); color: #fff; }
.rep-btn--grand:hover { background: var(--mousse-profond-survol); }
.rep-btn--outline { background: transparent; color: var(--mousse-profond); border: 2px solid var(--mousse-profond); height: 48px; }
.rep-btn--outline:hover { background: var(--mousse-profond); color: #fff; }
.rep-btn--contour { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.rep-btn--contour:hover { background: rgba(255,255,255,.15); }
.rep-btn--clair { background: var(--lichen); color: var(--terre); }
.rep-btn--clair:hover { background: #a7cc63; }
.rep-btn--tete { height: 46px; padding: 0 20px; background: var(--mousse-profond); color: #fff; }
.rep-btn--tete:hover { background: var(--mousse-profond-survol); }
.rep-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }

.rep-hachure { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(72deg, rgba(91,138,30,0.12) 0 1px, transparent 1px 14px); }
.rep-hachure--lichen { background-image: repeating-linear-gradient(72deg, rgba(31,36,27,0.08) 0 1px, transparent 1px 14px); }

/* Pastilles rondes (DA §5 : rayon 999px réservé aux pastilles) */
.rep-pastille { width: 34px; height: 34px; border-radius: var(--rayon-pastille); background: var(--carte); border: 2px solid var(--mousse-profond); color: var(--mousse-profond); display: flex; align-items: center; justify-content: center; font-family: var(--police-titre); font-weight: 700; font-size: 0.95rem; text-decoration: none; box-shadow: var(--ombre); }
.rep-pastille.is-actif, .rep-pastille.is-liee { background: var(--lichen); border-color: var(--mousse-profond); }
.rep-pastille-etape { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--rayon-pastille); background: var(--lichen); color: var(--terre); font-family: var(--police-titre); font-weight: 700; margin-bottom: 12px; }
.rep-pastille-nombre { display: inline-block; background: var(--lichen); color: var(--terre); font-family: var(--police-titre); font-weight: 600; font-size: 0.85rem; padding: 6px 14px; border-radius: var(--rayon-pastille); }
.rep-pastille-equip { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: var(--rayon-pastille); background: var(--lichen); color: var(--terre); display: flex; align-items: center; justify-content: center; }

/* =========================================================
   4. EN-TÊTE
   ========================================================= */
.rep-header { position: sticky; top: 0; z-index: 100; background: var(--carte); }
.rep-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.rep-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.rep-brand-texte { font-family: var(--police-titre); font-weight: 600; font-size: 1.15rem; color: var(--encre); white-space: nowrap; }
.rep-brand-texte::after { content: ""; }
.rep-nav { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.rep-nav a { font-family: var(--police-titre); font-weight: 500; font-size: 1rem; color: var(--encre); text-decoration: none; white-space: nowrap; padding: 6px 2px; border-bottom: 2px solid transparent; }
.rep-nav a:hover, .rep-nav a.is-current { border-color: var(--mousse); color: var(--mousse-profond); }
.rep-header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.rep-nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.rep-nav-toggle span { width: 22px; height: 2px; background: var(--encre); display: block; }
.rep-header-sep { display: block; width: 100%; height: 14px; color: var(--bordure); }

@media (max-width: 1180px) {
  .rep-nav { position: fixed; inset: 62px 0 auto 0; background: var(--carte); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; box-shadow: var(--ombre); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .rep-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .rep-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--bordure); font-size: 1.05rem; }
  .rep-nav-toggle { display: flex; }
  .rep-header-actions .rep-btn--tete { display: none; }
}
@media (min-width: 1181px) and (max-width: 1400px) {
  .rep-nav { gap: 13px; }
  .rep-nav a { font-size: 0.92rem; }
}

/* =========================================================
   5. PIED DE PAGE + BARRE MOBILE
   ========================================================= */
.rep-footer { padding-top: 0; }
.rep-footer-sep { display: block; width: 100%; height: 16px; color: var(--terre); background: var(--ivoire); transform: scaleY(-1); }
.rep-footer-grille { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 24px 40px; }
.rep-footer-marque p { color: rgba(238,242,230,.78); max-width: 34ch; }
.rep-brand--clair .rep-brand-texte { color: var(--ivoire); }
.rep-footer-col h4 { font-family: var(--police-titre); color: var(--ivoire); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.rep-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.rep-footer-col a { color: rgba(238,242,230,.82); text-decoration: none; }
.rep-footer-col a:hover { color: var(--lichen); }
.rep-footer-communes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; list-style: none; margin-bottom: 10px; }
.rep-footer-plus { color: var(--mousse-profond); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.rep-footer .rep-footer-plus, .rep-band--terre .rep-footer-plus { color: var(--lichen); }
.rep-footer-col .rep-btn { margin-top: 12px; }
.rep-footer-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 24px 26px; border-top: 1px solid rgba(238,242,230,.16); font-size: 0.85rem; color: rgba(238,242,230,.6); }

.rep-barre-mobile { display: none; }
@media (max-width: 640px) {
  .rep-barre-mobile { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--carte); border-top: 1px solid var(--bordure); box-shadow: 0 -6px 16px rgba(28,36,32,.08); }
  .rep-barre-mobile a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 10px; text-decoration: none; color: var(--encre-douce); font-size: 0.68rem; font-family: var(--police-titre); min-height: 44px; }
  .rep-barre-mobile-devis { color: var(--mousse-profond); font-weight: 700; }
  body { padding-bottom: 66px; }
}

/* =========================================================
   6. HÉROS ACCUEIL
   ========================================================= */
.rep-hero { position: relative; overflow: hidden; color: #fff; min-height: 640px; display: flex; align-items: center; padding: 48px 0; }
.rep-hero-photo { position: absolute; inset: 0; }
.rep-hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.rep-hero-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,36,27,.92) 0%, rgba(31,36,27,.55) 45%, rgba(31,36,27,.12) 100%); }
.rep-hero-grille { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; width: 100%; }
.rep-hero-texte { display: flex; flex-direction: column; min-height: 100%; }
.rep-hero h1 { color: #fff; }
.rep-hero-lead { font-size: 1.1rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.rep-hero-chiffres { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 18px; }
.rep-chiffre { background: rgba(185,217,122,.16); border: 1px solid rgba(185,217,122,.4); border-radius: var(--rayon); padding: 10px 16px; min-width: 150px; }
.rep-chiffre-n { display: block; font-family: var(--police-titre); font-weight: 700; font-size: 1.3rem; color: var(--lichen); }
.rep-chiffre-l { display: block; font-size: 0.82rem; color: rgba(255,255,255,.85); }
.rep-hero-form { position: relative; }

@media (max-width: 900px) {
  .rep-hero-grille { grid-template-columns: 1fr; }
  .rep-hero { min-height: 0; padding: 32px 0 40px; }
}
/* R-0708 : le formulaire est visible dès 1024px, le bouton devis du héros
   devient redondant (il reste utile en mobile, où le formulaire est plus bas). */
@media (min-width: 1024px) {
  .rep-hero-cta-devis { display: none; }
}

/* =========================================================
   7. MAISON EN COUPE (procédé signature)
   ========================================================= */
.rep-maison { position: relative; aspect-ratio: 1200 / 620; margin-top: 12px; }
.rep-maison-sol { fill: var(--terre); opacity: 0.06; }
.rep-maison-trait { stroke: var(--encre); stroke-width: 2; fill: none; }
.rep-maison-toit { fill: var(--carte); stroke: var(--encre); stroke-width: 2; }
.rep-maison-tuiles { stroke: var(--encre-douce); stroke-width: 1.4; fill: none; opacity: .6; }
.rep-maison-mur { fill: var(--carte); stroke: var(--encre); stroke-width: 2; }
.rep-maison-cuve { fill: var(--carte); stroke: var(--eau-trait); stroke-width: 2; }
.rep-maison-eau { fill: var(--eau-fill); }
.rep-maison-eau-trait { stroke: var(--eau-trait); stroke-width: 2; fill: none; }
.rep-maison-piece-forme { fill: var(--carte); stroke: var(--mousse-profond); stroke-width: 2; }
.rep-maison-tuyau { stroke: var(--mousse); stroke-width: 3; stroke-dasharray: 7 6; }
@media (prefers-reduced-motion: no-preference) {
  .rep-maison-tuyau { animation: rep-flux 8s linear infinite; }
}
@keyframes rep-flux { to { stroke-dashoffset: -130; } }
.rep-maison-pastilles { position: absolute; inset: 0; }
.rep-maison-pastilles .rep-pastille { position: absolute; transform: translate(-50%, -50%); }

/* Ligne défilante à TOUTES les tailles (7 cartes = nombre premier, aucune
   grille en colonnes fixes ne l'accueille sans carte orpheline, R-0552). */
.rep-pieces-rangee { display: flex; gap: 18px; margin-top: 32px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 2px 2px 10px; max-width: 100%; box-sizing: border-box; }
.rep-piece-carte { position: relative; flex: 0 0 240px; min-width: 0; box-sizing: border-box; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; scroll-snap-align: start; transition: box-shadow .15s; }
.rep-piece-carte.is-actif { box-shadow: 0 0 0 3px var(--mousse-profond), var(--ombre); }
.rep-piece-carte img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rep-piece-badge { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 4px; background: var(--lichen); color: var(--terre); border-radius: var(--rayon-pastille); padding: 5px 10px; font-family: var(--police-titre); font-weight: 700; font-size: 0.8rem; }
.rep-piece-corps { padding: 16px; min-width: 0; box-sizing: border-box; }
.rep-piece-corps h3 { font-size: 1.02rem; margin: 0 0 6px; max-width: 100%; }
.rep-piece-corps p { font-size: 0.92rem; color: var(--encre-douce); margin: 0 0 10px; max-width: 100%; overflow-wrap: break-word; }
.rep-piece-lien { color: var(--mousse-profond); font-weight: 600; text-decoration: none; font-size: 0.9rem; }

@media (max-width: 480px) {
  .rep-piece-carte { flex-basis: 78vw; }
}

/* =========================================================
   8. RUBRIQUES (accueil)
   ========================================================= */
.rep-grille-rubriques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.rep-rubrique-bloc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rep-carte-rubrique { display: block; text-decoration: none; color: inherit; background: var(--carte); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.rep-carte-rubrique-photo { position: relative; }
.rep-carte-rubrique-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rep-carte-rubrique-corps { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rep-carte-rubrique-corps h3 { margin: 0; }
.rep-carte-rubrique-compte { font-size: 0.82rem; color: var(--encre-douce); white-space: nowrap; }
.rep-rubrique-derniers { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 2px; }
.rep-rubrique-derniers a { color: var(--encre); text-decoration: none; font-size: 0.92rem; border-bottom: 1px solid var(--bordure); display: block; padding: 5px 0; }
.rep-rubrique-derniers a:hover { color: var(--mousse-profond); }

@media (max-width: 780px) { .rep-grille-rubriques { grid-template-columns: 1fr; } }

/* =========================================================
   9. CHIFFRES CLÉS (bande lichen)
   ========================================================= */
.rep-chiffres-cles { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rep-chiffre-cle { text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.rep-chiffre-cle.is-visible { opacity: 1; transform: none; }
.rep-chiffre-cle-n { display: block; font-family: var(--police-titre); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--terre); }
.rep-chiffre-cle-l { display: block; font-weight: 600; margin: 4px 0 6px; }
.rep-chiffre-cle-src { display: block; font-size: 0.78rem; color: rgba(31,36,27,.68); }
@media (max-width: 780px) { .rep-chiffres-cles { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   10. COMPARATEUR
   ========================================================= */
.rep-comparateur { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rep-comparateur-fiche { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px; min-width: 0; }
.rep-comparateur-fiche img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rayon); margin-bottom: 14px; }
.rep-comparateur-fiche h3 { display: flex; align-items: center; gap: 8px; color: var(--mousse-profond); }
@media (max-width: 780px) { .rep-comparateur { grid-template-columns: 1fr; } }

/* =========================================================
   11. ZONE D'INTERVENTION / CARTE
   ========================================================= */
.rep-zone-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.rep-carte-riviere { stroke: var(--eau-trait); stroke-width: 6; opacity: .5; }
.rep-carte-riviere--fine { stroke-width: 3; opacity: .35; }
.rep-carte-rocade { stroke: var(--bordure); stroke-width: 1.4; stroke-dasharray: 4 5; }
.rep-carte-pin { text-decoration: none; }
.rep-carte-point { fill: var(--mousse-profond); stroke: var(--carte); stroke-width: 2; }
.rep-carte-pin:hover .rep-carte-point { fill: var(--mousse); }
.rep-carte-label { font-family: var(--police-titre); font-size: 13px; fill: var(--encre); font-weight: 600; }
.rep-zone-communes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 18px 0 26px; }
.rep-zone-communes a { color: var(--encre); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--bordure); font-size: 0.95rem; }
.rep-zone-communes a:hover { color: var(--mousse-profond); }
@media (max-width: 900px) { .rep-zone-grille { grid-template-columns: 1fr; } }

.rep-grille-communes-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.rep-carte-commune { display: flex; align-items: center; gap: 8px; background: var(--carte); border-radius: var(--rayon); padding: 12px 14px; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); }
.rep-carte-commune:hover { color: var(--mousse-profond); }
@media (max-width: 640px) { .rep-grille-communes-hub { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   12. INSTALLATION EN 4 TEMPS
   ========================================================= */
.rep-etapes-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.rep-etape-carte { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.rep-etape-carte.is-visible { opacity: 1; transform: none; }
.rep-etape-carte img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rayon); margin-bottom: 12px; }
.rep-etape-carte h3 { font-size: 1.05rem; margin-bottom: 6px; }
.rep-etape-carte p { font-size: 0.9rem; color: var(--encre-douce); margin: 0; }
@media (max-width: 900px) { .rep-etapes-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rep-etapes-4 { grid-template-columns: 1fr; } }

/* =========================================================
   13. FAQ (accordéon natif)
   ========================================================= */
.rep-faq { max-width: 860px; display: flex; flex-direction: column; gap: 10px; }
.rep-faq-item { background: var(--carte); border-radius: var(--rayon); padding: 4px 20px; box-shadow: var(--ombre); }
.rep-faq-item summary { cursor: pointer; padding: 16px 0; font-family: var(--police-titre); font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.rep-faq-item summary::-webkit-details-marker { display: none; }
.rep-faq-item summary::after { content: "+"; color: var(--mousse-profond); font-size: 1.3rem; flex: none; }
.rep-faq-item[open] summary::after { content: "\2212"; }
.rep-faq-item p { padding-bottom: 18px; color: var(--encre-douce); margin: 0; }

/* =========================================================
   14. BLOC FORMULAIRE COMPLET (accueil bas + contact)
   ========================================================= */
.rep-form-complet { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.rep-form-complet-texte h2 { color: #fff; }
.rep-form-complet-texte p { color: rgba(238,242,230,.82); max-width: 40ch; }
@media (max-width: 900px) { .rep-form-complet { grid-template-columns: 1fr; } }

/* =========================================================
   15. FORMULAIRE MULTI-ÉTAPES (composant central)
   ========================================================= */
.rep-form-carte { background: var(--carte); border-radius: var(--rayon); border-top: 4px solid var(--mousse); box-shadow: var(--ombre); padding: 26px; color: var(--encre); }
.rep-form-carte--mini { padding: 20px; }
.rep-form-envoye { font-family: var(--police-titre); font-weight: 600; color: var(--mousse-profond); text-align: center; padding: 30px 0; }
.rep-champ-leurre { position: absolute; left: -9999px; }
.rep-form-tete { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.rep-form-tete .rep-eyebrow { margin-bottom: 0; }
.rep-form-corps { min-width: 0; }

.rep-form-cuve { flex: none; display: flex; align-items: center; gap: 6px; }
.rep-form-cuve svg { width: 26px; height: 26px; flex: none; }
.rep-form-cuve-corps { fill: var(--carte); stroke: var(--encre-douce); stroke-width: 2; }
.rep-form-cuve-niveau { fill: var(--eau-fill); transition: height .35s, y .35s; }
.rep-form-cuve-texte { font-size: 0.85rem; font-weight: 700; color: var(--mousse-profond); margin: 0; white-space: nowrap; }

.rep-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.rep-tuiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rep-form-carte--mini .rep-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-form-carte--mini .rep-tuiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-tuile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 88px; background: var(--papier); border: 2px solid var(--bordure); border-radius: var(--rayon); padding: 10px 8px; text-align: center; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--encre); }
.rep-tuile svg { flex: none; }
.rep-tuile:hover { border-color: var(--mousse); }
.rep-tuile:has(input:checked), .rep-tuile.is-checked { background: var(--lichen); border-color: var(--mousse-profond); color: var(--terre); }

.rep-etape-boutons { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.rep-form-passer { display: inline-block; margin-top: 16px; color: var(--encre-douce); text-decoration: underline; font-size: 0.88rem; cursor: pointer; }

.rep-champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.rep-champ label { font-size: 0.86rem; font-weight: 600; color: var(--encre); }
.rep-requis { color: var(--mousse-profond); }
.rep-champ input[type="email"], .rep-champ input[type="text"], .rep-champ input[type="tel"], .rep-champ textarea, .rep-champ select {
  border: 1.5px solid var(--bordure); border-radius: var(--rayon); padding: 0 14px; height: 46px; background: var(--carte); appearance: none;
}
.rep-champ select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5550' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.rep-champ textarea { height: auto; padding: 12px 14px; resize: vertical; }
.rep-champ input:focus, .rep-champ select:focus, .rep-champ textarea:focus { border-color: var(--mousse-profond); }
.rep-form-grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.rep-form-carte--mini .rep-form-grille { grid-template-columns: 1fr; }
.rep-champ-volume { margin: 6px 0 18px; }
.rep-champ-volume label { font-size: 0.86rem; font-weight: 600; display: flex; justify-content: space-between; }
.rep-champ-volume-valeur { color: var(--mousse-profond); font-weight: 700; }
.rep-range { width: 100%; accent-color: var(--mousse-profond); margin: 10px 0; }
.rep-case { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; text-align: left; text-transform: none; margin-top: 8px; cursor: pointer; }
.rep-case input { margin-top: 3px; accent-color: var(--mousse-profond); }
.rep-case-consentement { align-items: flex-start; margin: 18px 0; text-align: left; color: var(--encre-douce); }
.rep-case-consentement a { color: var(--mousse-profond); }
.rep-form-note { font-size: 0.82rem; color: var(--encre-douce); text-align: center; }

/* =========================================================
   16. CTA bandeaux
   ========================================================= */
.rep-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.rep-cta-titre { font-family: var(--police-titre); font-weight: 600; font-size: 1.3rem; margin: 0 0 4px; }
.rep-cta-texte { margin: 0; opacity: .85; }
.rep-band--terre .rep-cta-titre, .rep-band--terre .rep-cta-texte { color: var(--ivoire); }

/* Contraste garanti pour tout bouton posé sur une bande lichen, quel que soit
   le modificateur utilisé sur l'élément (rep-cta-valeur, bandeaux de rubrique…). */
.rep-band--lichen .rep-btn { background: var(--mousse-profond); color: #fff; }
.rep-band--lichen .rep-btn:hover { background: var(--mousse-profond-survol); }
.rep-band--lichen .rep-btn--outline { background: transparent; color: var(--terre); border-color: var(--terre); }

.rep-cta-valeur { padding: 40px 0; }
.rep-cta-valeur-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rep-cta-valeur-icone { flex: none; width: 64px; height: 64px; color: var(--terre); }
.rep-cta-valeur-texte { flex: 1 1 320px; font-family: var(--police-titre); font-weight: 600; font-size: 1.1rem; margin: 0; color: var(--terre); }

/* =========================================================
   17. GRILLES GÉNÉRIQUES DE CARTES (P-552 : jamais d'orpheline)
   ========================================================= */
.rep-grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rep-grille--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-grille--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-grille--un { grid-template-columns: minmax(0, 1fr); }
.rep-grille--orpheline > :last-child { grid-column: 1 / -1; }
.rep-grille--orpheline > :last-child .rep-carte-article-photo img { aspect-ratio: 21/9; }
/* 1 seule carte : présentation horizontale large plutôt qu'une carte étroite isolée. */
.rep-grille--un .rep-carte-article { display: grid; grid-template-columns: 1fr 1fr; }
.rep-grille--un .rep-carte-article-photo img { height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) { .rep-grille-3, .rep-grille--quatre, .rep-grille--deux { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .rep-grille-3, .rep-grille--quatre, .rep-grille--deux { grid-template-columns: 1fr; }
  .rep-grille--orpheline > :last-child { grid-column: auto; }
  .rep-grille--un .rep-carte-article { grid-template-columns: 1fr; }
}

.rep-carte-article { display: block; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; text-decoration: none; color: inherit; min-width: 0; }
.rep-carte-article-photo { position: relative; }
.rep-carte-article-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rep-carte-article-corps { padding: 16px 18px 18px; }
.rep-carte-article-corps h3 { font-size: 1.05rem; margin: 4px 0 8px; }
.rep-carte-article-corps p { font-size: 0.9rem; color: var(--encre-douce); margin-bottom: 10px; }
.rep-carte-article-meta { font-size: 0.78rem; color: var(--encre-douce); display: flex; gap: 6px; align-items: center; }

.rep-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 8px; }
.rep-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: var(--rayon); text-decoration: none; color: var(--encre); background: var(--carte); box-shadow: var(--ombre); }
.rep-pagination .page-numbers.current { background: var(--mousse-profond); color: #fff; }

/* =========================================================
   18. BANDEAUX DE RUBRIQUE / PAGE COURTE
   ========================================================= */
.rep-bandeau-rubrique { position: relative; min-height: 320px; display: flex; align-items: flex-end; overflow: hidden; }
.rep-bandeau-rubrique img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rep-bandeau-rubrique--courte { min-height: 240px; }
.rep-bandeau-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,36,27,.15), rgba(31,36,27,.86)); }
.rep-bandeau-contenu { position: relative; color: #fff; padding: 40px 24px; }
.rep-bandeau-contenu h1 { color: #fff; margin-bottom: 6px; }
.rep-bandeau-contenu p { color: rgba(255,255,255,.85); max-width: 60ch; }
.rep-bandeau-contenu--sombre { background: linear-gradient(180deg, var(--zinc), var(--papier)); color: var(--encre); padding: 48px 24px 34px; }
.rep-bandeau-contenu--sombre h1 { color: var(--encre); }
.rep-bandeau-contenu--sombre p { color: var(--encre-douce); }
.rep-bandeau-rubrique--courte.rep-bandeau-legal .rep-wrap { padding-top: 48px; padding-bottom: 30px; }

.rep-fil { margin-bottom: 14px; }
.rep-fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.82rem; }
.rep-fil li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.rep-fil a { text-decoration: none; opacity: .85; }
.rep-fil a:hover { text-decoration: underline; }

/* Article en vedette (catégorie) */
.rep-vedette-section { padding-top: 44px; padding-bottom: 24px; }
.rep-vedette { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; text-decoration: none; color: inherit; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
.rep-vedette-photo img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rep-vedette-corps { padding: 8px 30px 8px 0; }
.rep-vedette-corps h2 { margin-bottom: 8px; }
.rep-vedette-corps p { color: var(--encre-douce); }
.rep-vedette-corps .rep-btn { margin-top: 14px; }
@media (max-width: 780px) { .rep-vedette { grid-template-columns: 1fr; } .rep-vedette-corps { padding: 0 20px 22px; } }

/* =========================================================
   19. ARTICLE
   ========================================================= */
.rep-article-ouverture { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 36px 0 30px; }
.rep-article-ouverture-texte { min-width: 0; }
.rep-chapo { font-size: 1.2rem; color: var(--encre-douce); font-weight: 400; }
.rep-article-meta { font-size: 0.85rem; color: var(--encre-douce); }
.rep-article-ouverture-photo { position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.rep-article-ouverture-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; max-height: 460px; }
.rep-pastille--flottante { position: absolute; bottom: 14px; right: 14px; width: 40px; height: 40px; background: var(--lichen); border-color: var(--mousse-profond); }
.rep-credit { position: absolute; bottom: 0; left: 0; background: rgba(31,36,27,.72); color: rgba(255,255,255,.85); font-size: 0.68rem; padding: 3px 8px; }
@media (max-width: 860px) { .rep-article-ouverture { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; } }

.rep-article-grille { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding-bottom: 8px; }
.rep-article-corps { order: 1; min-width: 0; }
.rep-article-aside { order: 2; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rep-article-aside > * { width: 100%; }
@media (max-width: 980px) {
  .rep-article-grille { grid-template-columns: 1fr; }
  .rep-article-aside { position: static; order: -1; }
}

.rep-sommaire { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px 20px; }
.rep-sommaire ol { list-style: decimal; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }
.rep-sommaire a { color: var(--encre); text-decoration: none; font-size: 0.92rem; }
.rep-sommaire a:hover { color: var(--mousse-profond); }

/* Contenu d'article : jamais de puces/tableaux nus, liens très visibles */
.rep-post-content { max-width: 68ch; }
.rep-article-corps.rep-post-content { max-width: none; }
.rep-post-content h2 { margin-top: 2em; padding-top: 0.2em; scroll-margin-top: 100px; }
.rep-post-content h3 { margin-top: 1.6em; }
.rep-post-content p { max-width: 68ch; }
.rep-post-content a { color: var(--mousse-profond); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rep-post-content a:hover { background: rgba(185,217,122,.35); }
.rep-post-content figure { margin: 1.6em 0; }
.rep-post-content figure img { border-radius: var(--rayon); aspect-ratio: 16/9; object-fit: cover; max-height: 420px; width: 100%; box-shadow: var(--ombre); }
.rep-post-content figcaption { font-size: 0.82rem; color: var(--encre-douce); margin-top: 6px; }
.rep-post-content blockquote { border-left: 4px solid var(--mousse); background: var(--zinc); padding: 16px 20px; margin: 1.6em 0; font-style: italic; border-radius: 0 var(--rayon) var(--rayon) 0; }
.rep-post-content ul, .rep-post-content ol { max-width: 68ch; padding-left: 1.3em; margin: 0 0 1.2em; }
.rep-post-content li { margin-bottom: 0.4em; }
.rep-post-content details { background: var(--zinc); border-radius: var(--rayon); padding: 6px 20px; margin: 1em 0; }
.rep-post-content details summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.rep-post-content details[open] summary { padding-bottom: 6px; }
.rep-post-content aside.encadre { background: var(--lichen); color: var(--terre); border-radius: var(--rayon); padding: 20px 22px; margin: 1.8em 0; max-width: none; }
.rep-post-content aside.encadre p:last-child { margin-bottom: 0; }
.rep-post-content aside.encadre::before { content: "Le saviez-vous ?"; display: block; font-family: var(--police-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; margin-bottom: 8px; }
.rep-post-content .cta-devis { background: var(--carte); border: 1.5px solid var(--mousse); border-radius: var(--rayon); padding: 20px 22px; margin: 1.8em 0; max-width: none; box-shadow: var(--ombre); }
.rep-post-content .cta-devis p:last-of-type { margin-bottom: 12px; }
.rep-post-content .sbs_tableau { overflow-x: auto; margin: 1.6em 0; }
.rep-post-content table { border-collapse: collapse; width: 100%; min-width: 480px; }
.rep-post-content th, .rep-post-content td { border: 1px solid var(--bordure); padding: 10px 12px; text-align: left; font-size: 0.92rem; }
.rep-post-content th { background: var(--zinc); font-family: var(--police-titre); white-space: nowrap; }
.rep-post-content ol.sources, .rep-post-content .sources { list-style: none; counter-reset: src; padding: 0; margin: 1.6em 0; display: flex; flex-direction: column; gap: 8px; }
.rep-post-content ol.sources li, .rep-post-content .sources li { counter-increment: src; background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 10px 14px 10px 42px; position: relative; font-size: 0.88rem; color: var(--encre-douce); }
.rep-post-content ol.sources li::before, .rep-post-content .sources li::before { content: counter(src); position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--mousse-profond); color: #fff; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; font-family: var(--police-titre); }

.rep-article-fin { padding: 48px 0 20px; }
.rep-article-auteur-bloc { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); margin-bottom: 44px; }
.rep-article-auteur-bloc h3 { margin-bottom: 4px; }
.rep-article-auteur-bloc h3 a { color: var(--encre); text-decoration: none; }
.rep-article-auteur-bloc h3 a:hover { color: var(--mousse-profond); }
.rep-article-auteur-bloc p { color: var(--encre-douce); font-size: 0.92rem; margin: 0; }
.rep-article-suite { padding-top: 4px; }

.rep-avatar { border-radius: 50%; object-fit: cover; flex: none; }
.rep-avatar--grand { width: 64px; height: 64px; }
.rep-avatar-mono { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--police-titre); font-weight: 700; flex: none; }
.rep-avatar-mono--mousse { background: var(--mousse); color: #fff; }
.rep-avatar-mono--terre { background: var(--terre); color: var(--ivoire); }
.rep-avatar-mono--lichen { background: var(--lichen); color: var(--terre); }

/* =========================================================
   20. PAGE VILLE
   ========================================================= */
.rep-ville-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-bottom: 30px; }
.rep-ville-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.rep-ville-corps { max-width: 68ch; }
.rep-ville-voisines { margin: 30px 0; }
.rep-ville-mini-carte { max-width: 520px; margin: 20px 0 0; }
@media (max-width: 860px) { .rep-ville-tete { grid-template-columns: 1fr; } }

/* =========================================================
   21. PAGE CONTACT
   ========================================================= */
.rep-contact-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; padding: 44px 0; }
.rep-contact-aside { display: flex; flex-direction: column; gap: 20px; }
.rep-contact-intro { max-width: none; margin-bottom: 22px; text-align: left; }
.rep-contact-intro p:last-child { margin-bottom: 0; }
.rep-carte { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px; }
@media (max-width: 900px) { .rep-contact-grille { grid-template-columns: 1fr; } }

/* =========================================================
   22. QUI SOMMES-NOUS / AUTEUR
   ========================================================= */
.rep-page-qsn { max-width: 980px; margin: 0 auto; }
.rep-picto-cartes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.rep-picto-carte { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px 10px; text-align: center; font-size: 0.85rem; color: var(--encre-douce); }
.rep-picto-carte svg { color: var(--mousse-profond); }
@media (max-width: 780px) { .rep-picto-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rep-carte-auteur { display: block; text-decoration: none; color: inherit; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 24px; text-align: center; }
.rep-carte-auteur .rep-avatar-mono { margin: 0 auto 14px; width: 64px; height: 64px; font-size: 1.1rem; }
.rep-carte-auteur h3 { margin-bottom: 4px; }
.rep-carte-auteur-role { display: block; color: var(--mousse-profond); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.rep-carte-auteur p { color: var(--encre-douce); font-size: 0.9rem; }
.rep-carte-auteur-lien { color: var(--mousse-profond); font-weight: 600; font-size: 0.88rem; }
.rep-page-qsn-carte { max-width: 560px; margin: 34px auto; }

.rep-auteur-tete-inner { display: flex; align-items: center; gap: 18px; }
.rep-auteur-tete-inner .rep-avatar-mono { width: 72px; height: 72px; font-size: 1.3rem; }

/* =========================================================
   23. PAGE LÉGALE / GÉNÉRIQUE
   ========================================================= */
.rep-page-legale { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; padding: 40px 0; max-width: 780px; margin: 0 auto; }
.rep-page-legale:has(.rep-encadre-editeur) { grid-template-columns: 1fr 300px; max-width: none; margin: 0; }
.rep-page-legale .rep-post-content h2 { font-family: var(--police-titre); }
.rep-encadre-editeur { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px; }
.rep-encadre-editeur h3 { font-size: 1rem; }
@media (max-width: 860px) { .rep-page-legale { grid-template-columns: 1fr; } }
.rep-page-generique { padding: 40px 0; max-width: 780px; margin: 0 auto; }

/* =========================================================
   24. 404
   ========================================================= */
.rep-404 { min-height: 60vh; display: flex; align-items: center; }
.rep-404-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.rep-404-inner .rep-cta-row { justify-content: center; }

/* =========================================================
   25. INFOGRAPHIES DU SOCLE ([sbs_frise], [sbs_jauges]…)
   ========================================================= */
.sbs_lieu, .sbs_tarifs, .sbs_frise, .sbs_jauges { display: block; background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px 22px; margin: 1.8em 0; max-width: none; }
.sbs_lieu_nom, .sbs_tarifs_titre, .sbs_frise_titre, .sbs_jauges_titre { display: block; font-family: var(--police-titre); font-weight: 700; margin-bottom: 12px; color: var(--encre); }
.sbs_lieu_adresse, .sbs_lieu_acces { display: block; font-style: normal; color: var(--encre-douce); font-size: 0.9rem; margin-bottom: 4px; }
.sbs_lieu_carte { display: inline-flex; align-items: center; gap: 6px; color: var(--mousse-profond); text-decoration: none; font-weight: 600; margin-top: 8px; }
.sbs_icone_repere { fill: currentColor; }

.sbs_tarif { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--bordure); }
.sbs_tarif:last-of-type { border-bottom: 0; }
.sbs_tarif_libelle { flex: 1; font-size: 0.92rem; }
.sbs_tarif_barre { width: 140px; accent-color: var(--mousse-profond); }

.sbs_frise { display: flex; flex-direction: column; gap: 4px; }
.sbs_etape { position: relative; padding: 4px 0 16px 24px; border-left: 2px solid var(--bordure); }
.sbs_etape:last-of-type { border-color: transparent; padding-bottom: 0; }
.sbs_etape::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--mousse-profond); }
.sbs_etape_date { display: block; font-family: var(--police-titre); font-weight: 600; font-size: 0.82rem; color: var(--mousse-profond); }
.sbs_etape_titre { display: block; margin: 2px 0; }
.sbs_etape_desc { display: block; color: var(--encre-douce); font-size: 0.88rem; }

.sbs_jauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.sbs_jauges_titre { grid-column: 1 / -1; }
.sbs_jauge { text-align: center; }
.sbs_jauge_valeur { display: block; font-family: var(--police-titre); font-weight: 700; font-size: 2rem; color: var(--mousse-profond); }
.sbs_jauge_unite { color: var(--mousse-profond); margin-left: 2px; }
.sbs_jauge_libelle { display: block; font-size: 0.82rem; color: var(--encre-douce); margin-top: 4px; }
.sbs_source { display: block; margin-top: 12px; color: var(--encre-douce); font-size: 0.78rem; }

/* =========================================================
   26. RESPONSIVE < 480px — pas de débordement, cibles ≥44px
   ========================================================= */
@media (max-width: 480px) {
  .rep-band { padding: 44px 0; }
  h1 { font-size: 2rem; }
  .rep-footer-grille { grid-template-columns: 1fr; gap: 28px; }
  .rep-footer-communes { grid-template-columns: 1fr 1fr; }
  .rep-tuiles, .rep-tuiles--3 { grid-template-columns: 1fr 1fr; }
  .rep-form-grille { grid-template-columns: 1fr; }
  .rep-comparateur-fiche, .rep-carte { padding: 16px; }
  .rep-carte-zone { min-height: 260px; }
}
