/* Genere par bx_css_build() — ne pas editer.
   Sources : fonts.css, tokens.css, components.css, main.css
   Modifier les sources puis relancer : wp barreteau css */

/* ── fonts.css ── */
/* BARRET'EAU — fontes de marque, auto-hebergees.
   Variables, sous-ensemble latin. Aucune requete vers un CDN externe. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── tokens.css ── */
/* BARRET'EAU — design tokens
   Source de vérité. Toute valeur du site vient d'ici, aucune valeur en dur. */

:root {
  /* ---- Bleu : primaire (eau, confiance, structure) ---- */
  --blue-50:  #F0F5FA;
  --blue-100: #DCE8F3;
  --blue-200: #B9D0E7;
  --blue-300: #8DB2D5;
  --blue-400: #5B8FBE;
  --blue-500: #3B72A4;
  --blue-600: #2A5D8F;  /* PRIMAIRE — 6,86:1 sur blanc, AA toutes tailles */
  --blue-700: #224B75;
  --blue-800: #1B3A5B;
  --blue-900: #142B44;
  --blue-950: #0D1B2B;

  /* ---- Orange : accent et action (feu, urgence) ---- */
  --orange-100: #FDEEE4;
  --orange-500: #F2842E;
  --orange-600: #EA6427;  /* MARQUE — icônes, filets, titres >= 24px UNIQUEMENT */
  --orange-700: #C24E17;  /* CTA — seul fond autorisé sous texte blanc (4,78:1) */
  --orange-800: #9C3E12;

  /* ---- Couleurs de pilier ---- */
  --pillar-plumbing: #2A5D8F;  /* Plomberie     · robinet · 6,86:1 */
  --pillar-heating:  #C24E17;  /* Chauffage     · flamme  · 4,78:1 */
  --pillar-cooling:  #1C7D9E;  /* Climatisation · froid   · 4,69:1 */
  --pillar-drain:    #2F7A38;  /* Débouchage    · clé     · 5,30:1 */

  /* ---- Or : preuve sociale uniquement, jamais en CTA ---- */
  --gold-400: #F2A02A;
  --gold-600: #B87410;

  /* ---- Neutres, légèrement bleutés pour s'accorder au primaire ---- */
  --n-0:   #FFFFFF;
  --n-50:  #F7F9FB;
  --n-100: #EEF2F6;
  --n-200: #DFE5EC;
  --n-300: #C6D0DA;
  --n-400: #9AA8B6;
  --n-500: #6E7D8C;
  --n-600: #52616F;
  --n-700: #3C4854;
  --n-800: #2A333C;
  --n-900: #1A2129;
  --n-950: #0F141A;

  /* ---- Sémantique ---- */
  --text-strong:   var(--blue-900);
  --text-body:     var(--n-700);
  --text-muted:    var(--n-500);
  --text-invert:   var(--n-0);
  --text-on-brand: var(--blue-100);

  --surface:        var(--n-0);
  --surface-sunken: var(--n-50);
  --surface-brand:  var(--blue-900);
  --surface-accent: var(--orange-100);

  --border:        var(--n-200);
  --border-strong: var(--n-300);
  --border-brand:  var(--blue-600);
  --focus-ring:    var(--orange-600);

  --success: #2F7A38;
  --warning: #C77A0C;
  --danger:  #C0332B;
  --info:    #2A5D8F;

  /* ---- Typographie ---- */
  --font-display: "Bricolage Grotesque", Archivo, system-ui, sans-serif;
  --font-body:    "Public Sans", system-ui, -apple-system, sans-serif;

  --fs-display-xl: clamp(2.75rem, 6vw, 4.5rem);
  --fs-display-l:  clamp(2.25rem, 4.5vw, 3.25rem);
  --fs-h1:         clamp(2rem, 4vw, 2.75rem);
  --fs-h2:         clamp(1.625rem, 3vw, 2.125rem);
  --fs-h3:         1.375rem;
  --fs-h4:         1.125rem;
  --fs-body-l:     1.125rem;
  --fs-body:       1rem;
  --fs-body-s:     0.9375rem;
  --fs-caption:    0.8125rem;
  --fs-overline:   0.75rem;
  --fs-stat:       clamp(3rem, 8vw, 5.5rem);

  --lh-tight: 1.02;
  --lh-head:  1.15;
  --lh-body:  1.65;
  --ls-tight: -0.03em;
  --ls-head:  -0.02em;
  --ls-over:  0.08em;

  --measure: 68ch;  /* longueur de ligne maximale */

  /* ---- Espacement, base 4 ---- */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px; --sp-40: 160px;

  --container:       1200px;
  --container-wide:  1360px;
  --gutter:          20px;
  --section-y:       64px;

  /* ---- Rayons — volontairement peu arrondis : plus carré = plus artisan ---- */
  --r-xs:   4px;
  --r-sm:   8px;    /* boutons, champs */
  --r-md:   14px;   /* cartes, images */
  --r-lg:   20px;
  --r-roof: 20px 4px 4px 4px;  /* SIGNATURE — tuiles d'icônes, masques */
  --r-full: 999px;  /* badges et pastilles uniquement */

  /* ---- Ombres ---- */
  --shadow-sm:  0 1px 2px rgba(20,43,68,.06), 0 1px 3px rgba(20,43,68,.08);
  --shadow-md:  0 4px 8px rgba(20,43,68,.06), 0 8px 24px rgba(20,43,68,.08);
  --shadow-lg:  0 12px 32px rgba(20,43,68,.12);
  --shadow-cta: 0 6px 18px rgba(194,78,23,.28);

  /* ---- Mouvement ---- */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --dur-fast:  150ms;
  --dur-base:  220ms;
  --dur-slow:  380ms;

  /* ---- Cible tactile minimale ---- */
  --touch-min: 48px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 1024px) {
  :root { --section-y: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── components.css ── */
/* BARRET'EAU — styles de composants. Toute valeur vient de tokens.css. */

/* ---------------- base ---------------- */
.bx-body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface);
}
.bx-h1, .bx-h2, .bx-h3, .bx-h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
.bx-h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: var(--ls-head); font-weight: 700; }
.bx-h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-weight: 700; }
.bx-h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
.bx-h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 600; }
.bx-prose { max-width: var(--measure); }
.bx-overline {
  font-size: var(--fs-overline); font-weight: 600; letter-spacing: var(--ls-over);
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px;
}
.bx-stat {
  font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 700;
  line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus-ring); outline-offset: 2px;
}

/* ---------------- bouton ---------------- */
.bx-btn {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  border-radius: var(--r-sm); border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--touch-min); padding: 0 var(--sp-6);
  transition: transform var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
}
.bx-btn:hover { transform: translateY(-1px); filter: brightness(.94); }
.bx-btn:active { transform: translateY(0); }
.bx-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.bx-btn--sm { min-height: 40px; font-size: var(--fs-body-s); padding: 0 var(--sp-4); }
.bx-btn--lg { min-height: 56px; font-size: var(--fs-body-l); padding: 0 var(--sp-8); }
.bx-btn--primary   { background: var(--orange-700); color: var(--text-invert); box-shadow: var(--shadow-cta); }
.bx-btn--secondary { background: transparent; color: var(--blue-600); border: 1.5px solid var(--blue-600); }
.bx-btn--ghost     { background: transparent; color: var(--blue-600); padding: 0 var(--sp-2); box-shadow: none; }
.bx-btn--on-dark   { background: var(--n-0); color: var(--blue-900); }
.bx-btn--outline-dark { background: transparent; color: var(--n-0); border: 1.5px solid rgba(255,255,255,.5); }
.bx-btn--block { width: 100%; }

/* ---------------- carte de service ---------------- */
.bx-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; display: block; text-decoration: none;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.bx-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bx-card__rule { height: 4px; background: var(--pillar); }
.bx-card__in { padding: var(--sp-6); }
.bx-card__tile {
  width: 56px; height: 56px; border-radius: var(--r-roof);
  display: grid; place-items: center; margin-bottom: var(--sp-4);
  background: color-mix(in srgb, var(--pillar) 12%, transparent); color: var(--pillar);
}
.bx-card__desc { font-size: var(--fs-body-s); color: var(--text-muted); margin: 6px 0 0; }
.bx-card__price {
  font-weight: 700; color: var(--text-strong); margin-top: var(--sp-3);
  font-variant-numeric: tabular-nums;
}
.bx-card__more { margin-top: var(--sp-3); font-size: var(--fs-body-s); font-weight: 600; color: var(--pillar); }

/* ---------------- Quadrant : 2x2, jamais une ligne de 4 ---------------- */
.bx-quadrant { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 700px) { .bx-quadrant { grid-template-columns: 1fr 1fr; } }

/* ---------------- bandeau de preuve ---------------- */
.bx-proof {
  background: var(--surface-sunken); border: 1px solid var(--border);
  border-radius: var(--r-md); display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 820px) { .bx-proof { grid-template-columns: repeat(4, 1fr); } }
.bx-proof__item { padding: var(--sp-6) var(--sp-5); text-align: center; }
.bx-proof__value {
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.bx-proof__label { font-size: var(--fs-caption); color: var(--text-muted); margin-top: 6px; }
.bx-stars { color: var(--gold-400); letter-spacing: 2px; }

/* ---------------- urgence + barre d'appel ---------------- */
.bx-urgency {
  background: var(--surface-brand); color: var(--text-on-brand);
  display: flex; flex-wrap: wrap; gap: 8px var(--sp-6); align-items: center;
  padding: var(--sp-3) var(--sp-5); font-size: var(--fs-caption);
}
.bx-urgency__tel { margin-left: auto; font-weight: 700; font-size: var(--fs-body-s); color: var(--n-0); font-variant-numeric: tabular-nums; }
.bx-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
  display: inline-block; margin-right: 7px; box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: bx-pulse 2.2s infinite;
}
@keyframes bx-pulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.bx-callbar {
  position: fixed; inset: auto 0 0 0; z-index: 999;
  background: var(--surface-brand); display: flex; gap: 10px; padding: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { .bx-callbar { display: none; } }
.bx-callbar .bx-btn { flex: 1; min-height: 44px; }
.bx-callbar .bx-btn--outline-dark { flex: 0 0 38%; }

/* ---------------- témoignage ---------------- */
.bx-quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-6); }
.bx-quote { font-size: var(--fs-body-l); line-height: 1.6; font-style: italic; color: var(--text-strong); margin: var(--sp-3) 0 var(--sp-4); max-width: 60ch; }
.bx-quote-who { font-size: var(--fs-body-s); color: var(--text-muted); }

/* ---------------- tarif ---------------- */
.bx-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-5); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.bx-price-row:last-child { border-bottom: 0; }
.bx-price-row__desc { font-size: var(--fs-body-s); color: var(--text-muted); margin-top: 3px; }
.bx-price-row__amount { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text-strong); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------------- FAQ ---------------- */
.bx-faq-item { border-bottom: 1px solid var(--border); }
.bx-faq-item summary {
  cursor: pointer; padding: var(--sp-4) 0; font-family: var(--font-display);
  font-size: var(--fs-h4); font-weight: 600; color: var(--text-strong);
  list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4);
}
.bx-faq-item summary::-webkit-details-marker { display: none; }
.bx-faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-600); transition: transform var(--dur-base) var(--ease); }
.bx-faq-item[open] summary::after { transform: rotate(45deg); }
.bx-faq-item__answer { padding: 0 0 var(--sp-4); max-width: var(--measure); font-size: var(--fs-body-s); }

/* ---------------- étapes ---------------- */
.bx-steps { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .bx-steps { grid-template-columns: repeat(4, 1fr); } }
.bx-step__n { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; line-height: 1; color: var(--blue-200); letter-spacing: -.03em; }
.bx-step__body { font-size: var(--fs-body-s); color: var(--text-muted); margin-top: 4px; }

/* ---------------- bande CTA ---------------- */
.bx-cta { background: var(--surface-brand); padding: var(--section-y) var(--gutter); text-align: center; }
.bx-cta h2 { color: var(--n-0); }
.bx-cta p { color: var(--text-on-brand); max-width: 56ch; margin: var(--sp-3) auto var(--sp-6); }
.bx-cta__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ---------------- fil d'Ariane ---------------- */
.bx-crumbs { font-size: var(--fs-caption); color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bx-crumbs a { color: inherit; }
.bx-crumbs__current { color: var(--pillar); font-weight: 600; }

/* ── main.css ── */
/* BARRET'EAU — styles propres au theme WordPress.
   Tout ce qui est composant vit dans components.css (copie du design system).
   Ce fichier ne porte que la mise en page des gabarits. */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* La barre d'appel mobile est fixe : sans cette reserve elle recouvre le footer. */
@media (max-width: 767px) { body { padding-bottom: 64px; } }

.bx-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.bx-container--wide { max-width: var(--container-wide); }
.bx-section { padding: var(--section-y) 0; }

.bx-skip {
  position: absolute; left: -9999px;
  background: var(--surface-brand); color: #fff; padding: 12px 20px; z-index: 1000;
}
.bx-skip:focus { left: 12px; top: 12px; }

img { max-width: 100%; height: auto; }
a { color: var(--blue-600); }

/* Emplacement photo en attente — jamais d'image de banque a la place. */
.bx-photo-todo {
  background: var(--blue-100); border-radius: var(--r-md);
  display: grid; place-items: center; min-height: 220px;
  color: var(--blue-700); font-size: var(--fs-body-s); text-align: center; padding: 20px;
}

/* ============================================================
   MISE EN PAGE — transposee des maquettes Claude Design.
   Les composants viennent de components.css (copie du design
   system) ; ce bloc ne porte que la structure des gabarits.
   ============================================================ */

/* La barre d'appel mobile mesure 64px + safe-area : 76px de reserve. */
@media (max-width: 767px) { body { padding-bottom: 76px; } }

/* --- La marque : le logo de l'entreprise ---
   Le motif etait redessine ici en quatre carres pleins, faute de fichier. Le
   vrai logo porte un pictogramme par tuile ; on sert donc l'image.
   Le dimensionnement se fait sur la HAUTEUR, la largeur suit : le logo n'est
   pas carre (299x264). Fixer la largeur a 40px comme avant l'ecraserait a
   35px de haut et le ferait paraitre plus petit que le reste de l'en-tete.
   Pas de border-radius ni d'overflow : la silhouette est dans l'image, avec
   son fond transparent. */
.bx-mark { height: 40px; width: auto; flex: none; display: block; }
.bx-mark--sm { height: 36px; }
.bx-mark--lg { height: 96px; }

/* Frise des 4 piliers, en separateur de section. */
.bx-rule4 { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.bx-rule4 span:nth-child(1) { background: var(--pillar-plumbing); }
.bx-rule4 span:nth-child(2) { background: var(--pillar-heating); }
.bx-rule4 span:nth-child(3) { background: var(--pillar-drain); }
.bx-rule4 span:nth-child(4) { background: var(--pillar-cooling); }

/* --- En-tete --- */
.bx-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.bx-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: var(--sp-3) var(--gutter);
  max-width: var(--container-wide); margin: 0 auto;
}
.bx-header__logo { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.bx-header__names { display: flex; flex-direction: column; line-height: 1.05; }
.bx-header__name {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4);
  color: var(--text-strong); letter-spacing: -.02em;
}
.bx-header__tag { font-size: var(--fs-caption); color: var(--text-muted); }
@media (max-width: 560px) { .bx-header__tag { display: none; } }

/* A 390px, l'en-tete faisait environ 398px : logo 182 + « Appeler » 108 +
   burger 48 + marges. Le burger se retrouvait colle au bord. On resserre le
   bouton plutot que de masquer son libelle — c'est l'appel a l'action
   principal d'un site de depannage, il ne devient pas une icone muette. */
@media (max-width: 899px) {
  .bx-header__cta { padding: 0 14px; font-size: 15px; }
  .bx-header__actions { gap: var(--sp-2); }
}
@media (max-width: 380px) {
  .bx-header__name { font-size: var(--fs-body); }
  .bx-header__cta { padding: 0 12px; }
}
/* Le logo n'etant pas carre, il occupe 45px de large la ou les quatre carres
   en faisaient 40. Sur mobile l'en-tete n'a pas ces 5px : on le redescend a
   36px (41 de large) pour retrouver exactement la largeur reglee plus haut,
   plutot que de rogner a nouveau le bouton d'appel. */
@media (max-width: 560px) { .bx-mark { height: 36px; } }

/* --- Layout en deux colonnes, colonne de titre collante --- */
.bx-split { display: block; }
.bx-split > .bx-col-head { margin-bottom: var(--sp-8); }
@media (min-width: 900px) {
  .bx-split {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr);
    gap: var(--sp-16); align-items: start;
  }
  .bx-split > .bx-col-head { position: sticky; top: 104px; margin-bottom: 0; }
}




/* Numero de section : index de lecture, pas decoration. */
.bx-secnum {
  font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700;
  color: var(--blue-200); letter-spacing: -.03em; display: block; line-height: 1;
}
.bx-col-head p { margin: var(--sp-4) 0 0; }
.bx-col-head .bx-h2 { margin: 0; }
.bx-col-head__note { font-size: var(--fs-body-s); color: var(--text-muted); max-width: 34ch; }

/* Variante sur fond sombre. */
.bx-onbrand { background: var(--surface-brand); color: var(--text-on-brand); }
.bx-onbrand .bx-secnum { color: rgba(255, 255, 255, .24); }
.bx-onbrand .bx-overline { color: rgba(255, 255, 255, .62); }
.bx-onbrand .bx-h2 { color: var(--n-0); }
.bx-onbrand .bx-col-head__note { color: inherit; }

/* --- Heros --- */
.bx-hero { background: linear-gradient(180deg, var(--blue-50) 0%, var(--surface) 78%); overflow: hidden; }
.bx-hero__in { max-width: var(--container); margin: 0 auto; padding: var(--sp-16) var(--gutter) var(--sp-12); }
.bx-hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-12); align-items: center; }
@media (min-width: 900px) { .bx-hero__grid { grid-template-columns: 1.05fr .95fr; } }
.bx-hero h1 {
  margin: var(--sp-5) 0 0; font-family: var(--font-display); font-size: var(--fs-display-l);
  font-weight: 700; line-height: 1.02; letter-spacing: -.035em; color: var(--text-strong);
  text-wrap: pretty;
}
/* Ligne de positionnement dans le H1 : elle porte l'expression recherchee sans
   disputer la vedette a l'accroche, qui reste la ligne dominante. */
/* Le mot-cle passe en tete du H1 : il devient donc le sur-titre, pas le
   sous-titre. Meme traitement typographique qu'avant — corps de texte, gris —
   pour que l'accroche garde le poids visuel, mais au-dessus et non en dessous. */
.bx-hero__h1-kw {
  display: block; margin-bottom: var(--sp-4);
  font-family: var(--font-body); font-size: var(--fs-body-l); font-weight: 500;
  line-height: 1.4; letter-spacing: 0; color: var(--text-muted);
}

.bx-hero__lede { margin: var(--sp-6) 0 0; font-size: var(--fs-body-l); line-height: 1.6; color: var(--text-muted); max-width: 46ch; }
.bx-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.bx-hero__note { margin: var(--sp-5) 0 0; font-size: var(--fs-body-s); color: var(--text-muted); }

.bx-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0;
  padding: 6px var(--sp-4) 6px var(--sp-3); border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--fs-caption); font-weight: 600; color: var(--text-strong);
  box-shadow: var(--shadow-sm);
}

/* Emplacement photo : assume, jamais comble par une banque d'images. */
.bx-hero__media { position: relative; }
.bx-photo-slot {
  position: relative; min-height: 480px; border-radius: var(--r-roof);
  background: var(--surface-brand); display: flex; flex-direction: column;
  justify-content: flex-end; padding: var(--sp-6); color: var(--text-on-brand);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.bx-photo-slot::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px);
}
.bx-photo-slot .bx-mark { position: absolute; top: var(--sp-6); right: var(--sp-6); opacity: .35; }
.bx-photo-slot__title { position: relative; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--n-0); }
.bx-photo-slot__note { position: relative; margin-top: var(--sp-2); font-size: var(--fs-body-s); max-width: 34ch; }

.bx-rating-card {
  position: absolute; left: var(--sp-6); top: var(--sp-6);
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-4) var(--sp-5); display: grid; gap: 2px;
}
.bx-rating-card__value { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--text-strong); }
.bx-rating-card__label { font-size: var(--fs-caption); color: var(--text-muted); }

/* --- Frise nocturne : l'heure porte l'information, pas un compteur --- */
.bx-night { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.bx-night li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--sp-6);
  align-items: start; padding: var(--sp-6) var(--sp-6) var(--sp-6) 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.bx-night__time {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--orange-500); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em; line-height: 1.1;
}
.bx-night__title { display: block; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--n-0); }
.bx-night__body { display: block; margin-top: var(--sp-2); font-size: var(--fs-body-s); line-height: 1.6; max-width: 52ch; }
@media (max-width: 520px) { .bx-night li { grid-template-columns: 1fr; gap: var(--sp-2); } }

/* --- Communes et delais --- */
.bx-cities {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 var(--sp-10);
}
.bx-cities li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border);
}
.bx-cities__name { font-size: var(--fs-body); color: var(--text-strong); font-weight: 600; }
.bx-cities__delay { font-size: var(--fs-body-s); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* --- Carte tarifs mise en avant --- */
.bx-pricecard {
  background: var(--surface); border-radius: var(--r-roof);
  box-shadow: var(--shadow-md); padding: var(--sp-2) var(--sp-6) var(--sp-4);
}

/* --- Pied de page --- */
.bx-footer { background: var(--surface); border-top: 1px solid var(--border); }
.bx-footer__grid {
  max-width: var(--container); margin: 0 auto; padding: var(--sp-12) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-8);
}
.bx-footer__col { display: grid; gap: var(--sp-2); font-size: var(--fs-body-s); align-content: start; }
.bx-footer__col a { text-decoration: none; color: var(--text-body); }
.bx-footer__col a:hover { color: var(--blue-700); }
.bx-footer__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--text-strong); margin: var(--sp-3) 0 0; }
.bx-footer__about { margin: var(--sp-2) 0 0; font-size: var(--fs-body-s); color: var(--text-muted); max-width: 34ch; }
.bx-footer__tel { color: var(--text-strong) !important; font-weight: 700; }
.bx-footer__legal-wrap { border-top: 1px solid var(--border); }
.bx-footer__legal {
  max-width: var(--container); margin: 0 auto;
  padding: var(--sp-5) var(--gutter); font-size: var(--fs-caption); color: var(--text-muted);
}

/* Section standard. */
.bx-sec { max-width: var(--container); margin: 0 auto; padding: var(--sp-16) var(--gutter); }
.bx-sec--sunken { background: var(--surface-sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============================================================
   GABARIT PILIER — l'accent est pilote par --pillar, pose sur
   la racine de page. Un seul token change, toute la page suit.
   ============================================================ */

.bx-pillar-bar { height: 4px; background: var(--pillar); }
.bx-crumbs-wrap { max-width: var(--container); margin: 0 auto; padding: var(--sp-5) var(--gutter) 0; }
.bx-eyebrow-pillar { color: var(--pillar); }

/* Surlignage du fragment porteur du H1 — souligne, jamais surligne plein :
   le texte reste lisible et le contraste ne bouge pas. */
.bx-hl { box-shadow: inset 0 -0.16em 0 color-mix(in srgb, var(--pillar) 26%, transparent); }

/* Puces de garantie sous le heros. */
.bx-chips { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.bx-chips li {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--fs-caption); font-weight: 600; color: var(--text-strong);
}
.bx-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pillar); flex: none; }

/* Bandeau urgence : les trois gestes a faire avant notre arrivee. */
.bx-emergency { background: var(--surface-brand); color: var(--text-on-brand); position: relative; overflow: hidden; }
.bx-emergency::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px);
}
.bx-emergency__in { position: relative; max-width: var(--container); margin: 0 auto; padding: var(--sp-12) var(--gutter); }
.bx-emergency__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-5); }
.bx-emergency__head .bx-h2 { margin: 0; color: var(--n-0); max-width: 22ch; }
.bx-emergency__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); margin-top: var(--sp-10); }
@media (min-width: 900px) { .bx-emergency__grid { grid-template-columns: repeat(3, 1fr); } }
.bx-emergency__item { border-top: 3px solid var(--pillar); padding-top: var(--sp-5); }
.bx-emergency__title { display: block; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--n-0); }
.bx-emergency__body { display: block; margin-top: var(--sp-3); font-size: var(--fs-body-s); line-height: 1.65; }

/* Comparatif. Les deux colonnes ne se ressemblent pas : celle de gauche est
   volontairement terne, celle de droite portee par l'ombre et le filet. */
.bx-vs { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 900px) { .bx-vs { grid-template-columns: repeat(2, 1fr); } }
.bx-vs__them { border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-8); background: var(--surface-sunken); }
.bx-vs__us { border-radius: var(--r-md); padding: var(--sp-8); background: var(--surface); box-shadow: var(--shadow-lg); border-top: 4px solid var(--pillar); }
.bx-vs ul { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-4); }
.bx-vs li { display: grid; grid-template-columns: 20px 1fr; gap: var(--sp-3); align-items: start; }
.bx-vs__them li { font-size: var(--fs-body-s); color: var(--text-muted); }
.bx-vs__them li::before { content: "—"; line-height: 1.5; }
.bx-vs__us li { font-size: var(--fs-body); color: var(--text-strong); font-weight: 600; }
.bx-vs__us li::before { content: "✓"; line-height: 1.5; color: var(--pillar); }

/* Carte tarifs avec prestation mise en avant. */
.bx-pricecard--framed { background: var(--surface); border-radius: var(--r-roof); box-shadow: var(--shadow-md); overflow: hidden; padding: 0; }
.bx-pricecard__feature {
  background: color-mix(in srgb, var(--pillar) 8%, var(--surface));
  border-bottom: 1px solid var(--border); padding: var(--sp-5) var(--sp-6);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
}
.bx-pricecard__tag { font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--ls-over); text-transform: uppercase; color: var(--pillar); }
.bx-pricecard__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--text-strong); }
.bx-pricecard__desc { font-size: var(--fs-body-s); color: var(--text-muted); }
.bx-pricecard__amount { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.bx-pricecard__rows { padding: var(--sp-2) var(--sp-6) var(--sp-4); }

/* Bande deroule. */
.bx-stepsband { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); align-items: start; }
@media (min-width: 900px) { .bx-stepsband { grid-template-columns: .9fr 2fr; } }

/* Deux colonnes FAQ / communes. */
.bx-cols2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); align-items: start; }
@media (min-width: 900px) { .bx-cols2 { grid-template-columns: repeat(2, 1fr); } }
.bx-cities--compact li { padding: var(--sp-3) 0; }
.bx-cities--compact .bx-cities__name { font-size: var(--fs-body-s); }
.bx-cities--compact .bx-cities__delay { font-size: var(--fs-caption); }

/* Rail d'appel desktop : apparait apres 900px de scroll, disparait pres du
   pied de page pour ne pas recouvrir la bande CTA. */
.bx-rail {
  position: fixed; right: var(--sp-6); bottom: var(--sp-6); z-index: 60;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--pillar); padding: var(--sp-5);
  display: grid; gap: var(--sp-3); width: 268px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility var(--dur-base);
}
.bx-rail.is-visible { opacity: 1; visibility: visible; transform: none; }
.bx-rail__title { font-family: var(--font-display); font-size: var(--fs-body-l); font-weight: 700; color: var(--text-strong); line-height: 1.2; }
.bx-rail__note { font-size: var(--fs-caption); color: var(--text-muted); }
@media (max-width: 767px) { .bx-rail { display: none; } }

/* ============================================================
   GABARIT SERVICE x VILLE
   Les cinq blocs propres sont numerotes et visuellement
   distincts : c'est ce qui separe une page locale d'un
   template ou seul le nom de commune change.
   ============================================================ */

/* Marqueur editorial : dit au visiteur que la page a ete ecrite pour lui. */
.bx-localmark { display: flex; align-items: center; gap: var(--sp-4); }
.bx-localmark__dot { width: 28px; height: 28px; border-radius: var(--r-roof); background: color-mix(in srgb, var(--pillar) 16%, transparent); flex: 0 0 auto; }
.bx-localmark__label { font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--ls-over); text-transform: uppercase; color: var(--pillar); }
.bx-localmark__line { flex: 1; height: 1px; background: var(--border); }
.bx-localmark__count { font-size: var(--fs-caption); color: var(--text-muted); }

/* Numero de bloc local — index des 5 blocs propres, pas decoration. */
.bx-blocknum {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700;
  color: color-mix(in srgb, var(--pillar) 55%, var(--text-muted));
  font-variant-numeric: tabular-nums;
}

.bx-local-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); align-items: start; }
@media (min-width: 900px) { .bx-local-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.bx-local-text { border-left: 4px solid var(--pillar); padding-left: var(--sp-6); }
.bx-local-text p { margin: var(--sp-4) 0 0; font-size: var(--fs-body); line-height: 1.7; color: var(--text-body); max-width: var(--measure); }
.bx-local-text p:first-of-type { margin-top: var(--sp-5); }

/* Cartes « type de bati » : la cause du probleme, par secteur. */
.bx-bati { display: grid; gap: var(--sp-4); }
.bx-bati__card { background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-5) var(--sp-6); }
.bx-bati__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.bx-bati__area { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--text-strong); }
.bx-bati__type { font-size: var(--fs-caption); font-weight: 700; color: var(--pillar); }
.bx-bati__cause { margin: var(--sp-2) 0 0; font-size: var(--fs-body-s); line-height: 1.6; color: var(--text-muted); }

/* Bloc delai, sur fond sombre. */
.bx-delay { position: relative; overflow: hidden; }
.bx-delay::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px); }
.bx-delay__in { position: relative; }
.bx-delay__stats { display: flex; flex-wrap: wrap; gap: var(--sp-10); margin-top: var(--sp-8); }
.bx-delay__stat { display: grid; gap: 4px; }
.bx-delay__stat .bx-stat { color: var(--n-0); font-size: clamp(2rem, 5vw, 3rem); }
.bx-delay__stat span:last-child { font-size: var(--fs-caption); color: rgba(255, 255, 255, .7); }

/* Quartiers, avec leur propre delai : nommer vaut mieux que couvrir. */
.bx-districts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 var(--sp-8); }
.bx-districts li {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-3) 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-body-s);
}
.bx-districts__name { color: var(--n-0); font-weight: 600; }
.bx-districts__delay { color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }

/* Collectif vs individuel. */
.bx-net { border-radius: var(--r-md); padding: var(--sp-8); }
.bx-net--collective { background: var(--surface); box-shadow: var(--shadow-md); border-top: 4px solid var(--pillar); }
.bx-net--individual { background: var(--surface-sunken); border: 1px solid var(--border); }
.bx-net p.bx-net__intro { margin: var(--sp-4) 0 0; font-size: var(--fs-body); line-height: 1.7; color: var(--text-body); }
.bx-net ul { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.bx-net li { display: grid; grid-template-columns: 18px 1fr; gap: var(--sp-3); font-size: var(--fs-body-s); color: var(--text-body); align-items: start; }
.bx-net--collective li::before { content: "✓"; color: var(--pillar); }
.bx-net--individual li::before { content: "—"; color: var(--text-muted); }

.bx-pricecard--edge { background: var(--surface); border-radius: var(--r-roof); box-shadow: var(--shadow-md); border-left: 4px solid var(--pillar); padding: var(--sp-2) var(--sp-6) var(--sp-4); }

/* Cartes vers les autres metiers dans la meme commune. */
.bx-otherpillar { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.bx-otherpillar:hover { box-shadow: var(--shadow-md); }
.bx-otherpillar__rule { display: block; height: 4px; background: var(--c); }
.bx-otherpillar__in { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); }
.bx-otherpillar__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--text-strong); display: block; }
.bx-otherpillar__desc { font-size: var(--fs-body-s); color: var(--text-muted); display: block; margin-top: 3px; }
.bx-otherpillar__price { font-size: var(--fs-body-s); font-weight: 700; color: var(--text-strong); white-space: nowrap; }

.bx-neighbours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 var(--sp-8); }
.bx-neighbours li { padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.bx-neighbours a { font-size: var(--fs-body-s); font-weight: 600; text-decoration: none; color: var(--text-strong); }
.bx-neighbours span { font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ============================================================
   NAVIGATION
   Deploiement en CSS pur (:hover + :focus-within) : aucun JS,
   donc rien qui puisse empecher un crawler ou un clavier
   d'atteindre les sous-services.
   Sur mobile, pas de burger : une barre defilable, toujours
   visible et sans dependance JS.
   ============================================================ */

.bx-nav { border-top: 1px solid var(--border); background: var(--surface); }
.bx-nav__list {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--container-wide);
  display: flex; align-items: stretch; gap: var(--sp-1);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bx-nav__list::-webkit-scrollbar { display: none; }

/* display:flex indispensable : sans lui, le bouton de sous-menu passe a la
   ligne sous le libelle du pilier au lieu de s'aligner a cote. */
.bx-nav__item { position: relative; flex: none; display: flex; align-items: stretch; }
.bx-nav__link {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 12px var(--sp-4); min-height: 46px;
  font-size: var(--fs-body-s); font-weight: 600;
  color: var(--text-body); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.bx-nav__link:hover, .bx-nav__link:focus-visible { color: var(--text-strong); border-bottom-color: var(--pillar, var(--blue-600)); }
.bx-nav__bullet { width: 7px; height: 7px; border-radius: 2px; background: var(--pillar); flex: none; }

/* Panneau de sous-services. Ferme par defaut, ouvert au survol ET au focus
   clavier — c'est :focus-within qui rend le menu utilisable sans souris. */
.bx-nav__panel {
  position: absolute; top: 100%; left: 0; z-index: 60; min-width: 330px;
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--pillar); border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-lg); padding: var(--sp-3);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.bx-nav__item.has-sub:hover .bx-nav__panel,
.bx-nav__item.has-sub:focus-within .bx-nav__panel { opacity: 1; visibility: visible; transform: none; }
.bx-nav__panel ul { list-style: none; margin: 0; padding: 0; }
.bx-nav__panel a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding: 10px var(--sp-3); border-radius: var(--r-xs);
  text-decoration: none; color: var(--text-body);
}
.bx-nav__panel a:hover, .bx-nav__panel a:focus-visible { background: var(--surface-sunken); color: var(--text-strong); }
.bx-nav__sub-title { font-size: var(--fs-body-s); font-weight: 600; }
.bx-nav__sub-price { font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bx-nav__all {
  display: block; margin-top: var(--sp-2); padding: 10px var(--sp-3);
  border-top: 1px solid var(--border); font-size: var(--fs-caption); font-weight: 600;
  color: var(--pillar) !important; text-decoration: none;
}

/* Sous 900px, le panneau reste ferme tant qu'on ne tape pas : il n'y a pas de
   survol fiable au doigt. Sous 900px il s'ouvre en accordeon dans le menu
   burger — voir la regle correspondante plus bas. */


/* ============================================================
   HUB DES ZONES — /zones/
   La seule page qui liste les 42 communes. Elle rend les pages
   ville crawlables sans polluer le pied de page de chaque page.
   ============================================================ */

.bx-zones__group { margin-top: var(--sp-12); }
.bx-zones__group h2 { margin: 0 0 var(--sp-2); }
.bx-zones__note { font-size: var(--fs-body-s); color: var(--text-muted); margin: 0 0 var(--sp-5); max-width: 60ch; }
.bx-zones__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 var(--sp-8); }
.bx-zones__grid li { border-bottom: 1px solid var(--border); }
.bx-zones__grid a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; text-decoration: none; }
.bx-zones__grid a:hover .bx-zones__name { color: var(--blue-700); }
.bx-zones__name { font-size: var(--fs-body); font-weight: 600; color: var(--text-strong); }
.bx-zones__delay { font-size: var(--fs-body-s); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Page commune : les services disponibles ici. */
.bx-ville-services { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 700px) { .bx-ville-services { grid-template-columns: 1fr 1fr; } }

/* Commune sans contenu local finalise : signalee discretement dans /zones/,
   et en noindex tant que ses blocs propres ne sont pas remplis. */
.bx-zones__grid a.is-thin .bx-zones__name { color: var(--text-muted); font-weight: 500; }

/* ============================================================
   DÉPANNAGES DU MOMENT
   Bande a defilement horizontal avec accroche. Pas un carrousel :
   rien ne tourne tout seul, tout est dans le DOM. Les fleches ne
   font que deplacer le scroll — sans JS, la bande se glisse au
   doigt et reste utilisable.
   ============================================================ */

.bx-symp { position: relative; }
.bx-symp__track {
  display: flex; gap: var(--sp-6); padding-bottom: var(--sp-6);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
}
.bx-symp__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .bx-symp__track { margin: 0; padding-left: 0; padding-right: 0; } }

.bx-symp__card {
  flex: none; width: 85vw; max-width: 400px; scroll-snap-align: center;
  display: flex; flex-direction: column;
}
@media (min-width: 640px) { .bx-symp__card { width: 360px; } }
@media (min-width: 1024px) { .bx-symp__card:first-child { scroll-snap-align: start; } }

/* Emplacement photo, dans la meme logique que partout : assume, jamais comble
   par une image de banque. Le motif rappelle le toit du logo. */
.bx-symp__media {
  height: 232px; border-radius: var(--r-roof); margin-bottom: var(--sp-5);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px),
    color-mix(in srgb, var(--pillar) 88%, var(--blue-950));
  display: grid; place-items: center;
}
.bx-symp__media-note { font-size: var(--fs-caption); color: rgba(255,255,255,.75); }

.bx-symp__cat {
  align-self: flex-start; font-size: var(--fs-caption); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--n-0); background: var(--pillar);
  padding: 5px 12px; border-radius: var(--r-full);
}
.bx-symp__title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--text-strong); line-height: 1.2; margin: var(--sp-4) 0 0; text-wrap: balance;
}
.bx-symp__desc { font-size: var(--fs-body-s); color: var(--text-muted); line-height: 1.6; margin: var(--sp-3) 0 0; }
.bx-symp__cta {
  margin-top: auto; padding-top: var(--sp-5);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--pillar); text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.bx-symp__cta span { transition: transform var(--dur-fast) var(--ease); }
.bx-symp__cta:hover span { transform: translateX(3px); }

/* Fleches : ajoutees par JS uniquement. Sans JS elles restent masquees et
   la bande se fait glisser normalement. */
.bx-symp__nav {
  position: absolute; top: 116px; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange-700); color: var(--n-0); font-size: 20px; line-height: 1;
  box-shadow: var(--shadow-md);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bx-symp__nav:hover { transform: translateY(-50%) scale(1.06); }
.bx-symp__nav[disabled] { opacity: .3; cursor: default; }
.bx-symp__nav--prev { left: calc(-1 * var(--sp-6)); }
.bx-symp__nav--next { right: calc(-1 * var(--sp-6)); }
@media (max-width: 1100px) { .bx-symp__nav { display: none; } }

/* ============================================================
   CARTE — chargée au clic (RGPD + LCP)
   ============================================================ */

.bx-map {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-brand); min-height: 420px; box-shadow: var(--shadow-md);
}
.bx-map__cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: var(--sp-3); padding: var(--sp-8); text-align: center; color: var(--text-on-brand);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px);
}
.bx-map__pin { width: 44px; height: 44px; border-radius: var(--r-roof); background: var(--orange-600); }
.bx-map__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; color: var(--n-0); margin: 0; }
.bx-map__note { font-size: var(--fs-caption); max-width: 40ch; margin: 0; }
.bx-map__cover .bx-btn--secondary { color: var(--n-0); border-color: rgba(255,255,255,.5); margin-top: var(--sp-2); }
.bx-map iframe { display: block; width: 100%; height: 420px; border: 0; }

.bx-map__villes {
  list-style: none; margin: var(--sp-6) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 var(--sp-6);
}
.bx-map__villes li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.bx-map__villes a { font-size: var(--fs-body-s); font-weight: 600; color: var(--text-strong); text-decoration: none; }
.bx-map__villes a:hover { color: var(--blue-700); }
.bx-map__villes span { font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Trois chiffres clés, repris de la maquette client. */
.bx-stats3 { display: grid; gap: var(--sp-4); }
.bx-stat-card {
  background: var(--blue-50); border-radius: var(--r-md); padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.bx-stat-card__value {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700;
  color: var(--blue-600); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.bx-stat-card__label { font-size: var(--fs-body-s); color: var(--text-muted); margin-top: var(--sp-2); }

/* Texte de fond saisi dans l'editeur WordPress. */
.bx-editor { font-size: var(--fs-body); line-height: 1.75; }
.bx-editor h2 { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--text-strong); margin: var(--sp-10) 0 var(--sp-4); }
.bx-editor h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-strong); margin: var(--sp-8) 0 var(--sp-3); }
.bx-editor p { margin: 0 0 var(--sp-4); }
.bx-editor ul, .bx-editor ol { margin: 0 0 var(--sp-4); padding-left: var(--sp-6); }
.bx-editor li { margin-bottom: var(--sp-2); }
.bx-editor a { color: var(--blue-700); }
.bx-editor strong { color: var(--text-strong); }

/* ============================================================
   PAGE À PROPOS
   ============================================================ */

.bx-story { max-width: var(--measure); }
.bx-story p { font-size: var(--fs-body-l); line-height: 1.75; margin: 0 0 var(--sp-5); }
.bx-story p:first-child { font-size: 1.25rem; color: var(--text-strong); }

/* Repères chronologiques : l'ordre porte une information réelle. */
.bx-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bx-timeline li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--sp-6);
  align-items: start; padding: var(--sp-6) 0; border-top: 1px solid var(--border);
}
.bx-timeline li:last-child { border-bottom: 1px solid var(--border); }
.bx-timeline__when {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700;
  color: var(--blue-600); font-variant-numeric: tabular-nums; line-height: 1.3;
}
.bx-timeline__what { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--text-strong); display: block; }
.bx-timeline__body { display: block; margin-top: var(--sp-2); font-size: var(--fs-body-s); line-height: 1.65; color: var(--text-muted); max-width: 58ch; }
@media (max-width: 520px) { .bx-timeline li { grid-template-columns: 1fr; gap: var(--sp-2); } }

/* L'équipe. Pas de photo inventée : initiale dans une tuile « coupe toit ». */
.bx-team { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 700px) { .bx-team { grid-template-columns: repeat(3, 1fr); } }
.bx-team__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.bx-team__badge {
  width: 56px; height: 56px; border-radius: var(--r-roof); display: grid; place-items: center;
  background: color-mix(in srgb, var(--pillar) 12%, transparent); color: var(--pillar);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: var(--sp-4);
}
.bx-team__name { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; color: var(--text-strong); }
.bx-team__role { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pillar); margin-top: 4px; display: block; }
.bx-team__body { font-size: var(--fs-body-s); color: var(--text-muted); line-height: 1.65; margin: var(--sp-3) 0 0; }

/* Encart partenariat Thermor. */
.bx-partner {
  background: var(--surface-sunken); border: 1px solid var(--border);
  border-left: 4px solid var(--pillar-cooling); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-8);
}
.bx-partner__label { font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--ls-over); text-transform: uppercase; color: var(--pillar-cooling); }
.bx-partner h2 { margin: var(--sp-3) 0 0; }
.bx-partner p { margin: var(--sp-4) 0 0; font-size: var(--fs-body); line-height: 1.7; max-width: 60ch; }

/* Informations légales : une vraie liste de définitions, pas des liens inertes. */
.bx-legal { margin: 0; padding: 0; display: grid; gap: 0; }
.bx-legal > div {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border);
}
.bx-legal dt { font-size: var(--fs-body-s); font-weight: 600; color: var(--text-strong); margin: 0; }
.bx-legal dd { margin: 0; font-size: var(--fs-body-s); color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }

/* ============================================================
   BLOG
   ============================================================ */

.bx-posts { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 700px) { .bx-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bx-posts { grid-template-columns: repeat(3, 1fr); } }

.bx-post-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.bx-post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bx-post-card__rule { height: 4px; background: var(--pillar, var(--blue-600)); }
.bx-post-card__in { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.bx-post-card__cat { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pillar, var(--blue-600)); }
.bx-post-card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; color: var(--text-strong); line-height: 1.25; margin: var(--sp-3) 0 0; text-wrap: balance; }
.bx-post-card__excerpt { font-size: var(--fs-body-s); color: var(--text-muted); line-height: 1.6; margin: var(--sp-3) 0 0; }
.bx-post-card__meta { margin-top: auto; padding-top: var(--sp-5); font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Article */
.bx-article { max-width: var(--measure); margin: 0 auto; }
.bx-article__meta { font-size: var(--fs-caption); color: var(--text-muted); display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-4); font-variant-numeric: tabular-nums; }
.bx-article__lede { font-size: 1.25rem; line-height: 1.65; color: var(--text-strong); margin: var(--sp-6) 0 0; }

/* Sommaire ancre : sur un article long, il porte la navigation ET du maillage. */
.bx-toc { background: var(--surface-sunken); border-left: 4px solid var(--blue-600); border-radius: 0 var(--r-md) var(--r-md) 0; padding: var(--sp-6); margin: var(--sp-10) 0; }
.bx-toc__title { font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--ls-over); text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--sp-3); }
.bx-toc ol { margin: 0; padding-left: var(--sp-5); display: grid; gap: var(--sp-2); }
.bx-toc a { color: var(--blue-700); text-decoration: none; font-size: var(--fs-body-s); }
.bx-toc a:hover { text-decoration: underline; }

.bx-article__body h2 { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--text-strong); margin: var(--sp-12) 0 var(--sp-4); scroll-margin-top: 90px; }
.bx-article__body h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-strong); margin: var(--sp-8) 0 var(--sp-3); }
.bx-article__body p { font-size: var(--fs-body-l); line-height: 1.75; margin: 0 0 var(--sp-5); }
.bx-article__body ul, .bx-article__body ol { margin: 0 0 var(--sp-5); padding-left: var(--sp-6); font-size: var(--fs-body-l); line-height: 1.75; }
.bx-article__body li { margin-bottom: var(--sp-2); }
.bx-article__body a { color: var(--blue-700); }
.bx-article__body strong { color: var(--text-strong); }

/* Encart d'appel en cours d'article : la question posée mène au service. */
.bx-inline-cta {
  background: var(--surface-brand); color: var(--text-on-brand);
  border-radius: var(--r-md); padding: var(--sp-8); margin: var(--sp-10) 0;
  display: grid; gap: var(--sp-4); justify-items: start;
}
.bx-inline-cta p { margin: 0; font-size: var(--fs-body); }
.bx-inline-cta strong { color: var(--n-0); font-family: var(--font-display); font-size: var(--fs-h4); display: block; }

/* --- Sous-menu : ouverture au survol en desktop, au tap en mobile --- */

.bx-nav__toggle {
  display: none; flex: none; width: 34px; min-height: 46px;
  border: 0; background: transparent; color: var(--text-muted);
  font-size: 11px; line-height: 1; cursor: pointer;
  margin-left: -6px; padding: 0;
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.bx-nav__item.is-open .bx-nav__toggle { transform: rotate(180deg); color: var(--pillar); }

@media (min-width: 900px) {
  /* En desktop, le survol suffit : le bouton serait un doublon. */
  .bx-nav__toggle { display: none; }

  /*
   * overflow: visible OBLIGATOIRE en desktop.
   *
   * La barre defile horizontalement en mobile (overflow-x: auto), et un
   * overflow-x impose implicitement un overflow-y : le panneau deroulant,
   * haut de 330px dans un conteneur de 46px, etait rogne. Le menu au survol
   * n'a jamais fonctionne avant ce correctif — il paraissait bon dans le HTML
   * mais ne s'affichait pas a l'ecran. En desktop, les 7 entrees tiennent sans
   * defilement : on n'a donc pas besoin de l'overflow.
   */
  .bx-nav__list { overflow: visible; }
}

/* Sous 900px, la nav devient un menu burger.
   Elle defilait horizontalement : mesure a 390px, le contenu faisait 845px,
   soit 48 % visible et 423px hors ecran, sans rien pour signaler qu'on pouvait
   faire glisser. Le passage a la ligne reglait la visibilite mais mangeait
   99px de hauteur en haut de chaque page. Le burger ne coute rien tant qu'il
   est ferme, et ouvre les 22 liens d'un coup. */
@media (max-width: 899px) {
  /* Positionne par rapport a l'en-tete plutot qu'a la fenetre : pas besoin de
     connaitre la hauteur de l'en-tete, qui varie avec le bandeau d'astreinte. */
  .bx-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    z-index: 55; background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    /* Ferme : retire du flux ET de l'ordre de tabulation. */
    visibility: hidden; opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  .bx-nav.is-open { visibility: visible; opacity: 1; transform: none; }

  .bx-nav__list {
    flex-direction: column; align-items: stretch;
    overflow: visible; gap: 0;
    padding: var(--sp-2) 0 var(--sp-8);
    max-width: none;
  }
  .bx-nav__item {
    display: flex; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid var(--border);
  }
  .bx-nav__link {
    flex: 1; min-height: var(--touch-min);
    padding: 14px var(--gutter);
    font-size: var(--fs-body); border-bottom: 0;
  }
  .bx-nav__link:hover, .bx-nav__link:focus-visible { border-bottom-color: transparent; }

  .bx-nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: var(--touch-min); min-height: var(--touch-min);
    margin-left: 0; margin-right: var(--sp-2); font-size: 13px;
  }

  /* Le panneau s'ouvre EN PLACE, sous son pilier. Il etait auparavant deplace
     en pied de barre par le JS, parce que la barre defilait horizontalement et
     rognait tout enfant positionne — contrainte disparue avec le burger. */
  .bx-nav__item .bx-nav__panel { display: none; }
  .bx-nav__item.is-open .bx-nav__panel {
    display: block; flex-basis: 100%;
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; width: 100%;
    border: 0; border-top: 3px solid var(--pillar); border-radius: 0;
    box-shadow: none; background: var(--surface-sunken);
    padding: var(--sp-2) var(--gutter) var(--sp-3);
  }
  .bx-nav__item.is-open .bx-nav__panel a { padding: 13px var(--sp-2); min-height: var(--touch-min); }
  .bx-nav__item.is-open .bx-nav__sub-title { font-size: var(--fs-body-s); }
}

/* Le bouton burger. Masque en desktop, ou la barre suffit. */
.bx-burger {
  display: none; flex: none;
  width: var(--touch-min); height: var(--touch-min);
  align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer; padding: 0;
}
.bx-burger:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.bx-burger__bars { display: grid; gap: 4px; width: 18px; }
.bx-burger__bars span {
  display: block; height: 2px; background: var(--text-strong); border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.bx-burger[aria-expanded="true"] .bx-burger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bx-burger[aria-expanded="true"] .bx-burger__bars span:nth-child(2) { opacity: 0; }
.bx-burger[aria-expanded="true"] .bx-burger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.bx-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Le fond ne defile plus derriere le menu ouvert. */
.bx-noscroll { overflow: hidden; }

@media (max-width: 899px) {
  .bx-burger { display: inline-flex; }
}


/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */

.bx-legal-block { margin-top: var(--sp-12); max-width: 780px; }
.bx-legal-block h2 { margin: 0 0 var(--sp-3); }
.bx-legal-block__intro { font-size: var(--fs-body-s); color: var(--text-muted); margin: 0 0 var(--sp-5); max-width: 68ch; }
.bx-legal-block dl { margin: 0; display: grid; gap: 0; }
.bx-legal-block dl > div {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--border);
}
@media (min-width: 620px) { .bx-legal-block dl > div { grid-template-columns: 240px 1fr; gap: var(--sp-5); align-items: baseline; } }
.bx-legal-block dt { font-size: var(--fs-body-s); font-weight: 600; color: var(--text-muted); margin: 0; }
.bx-legal-block dd { margin: 0; font-size: var(--fs-body); color: var(--text-strong); }
.bx-legal-block dd small { display: block; font-size: var(--fs-caption); color: var(--text-muted); font-weight: 400; }

/* Mention obligatoire non fournie : signalee franchement plutot que masquee. */
.bx-legal-missing {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-body-s); font-weight: 600; color: var(--warning);
}
.bx-legal-missing::before { content: "⚠"; }
.bx-legal-block.is-incomplete { border-left: 4px solid var(--warning); padding-left: var(--sp-6); }

.bx-legal-prose { max-width: 68ch; margin-top: var(--sp-12); }
.bx-legal-prose h2 { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--text-strong); margin: var(--sp-12) 0 var(--sp-4); }
.bx-legal-prose h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-strong); margin: var(--sp-8) 0 var(--sp-3); }
.bx-legal-prose p { font-size: var(--fs-body); line-height: 1.75; margin: 0 0 var(--sp-4); }
.bx-legal-prose ul { margin: 0 0 var(--sp-4); padding-left: var(--sp-6); }
.bx-legal-prose li { margin-bottom: var(--sp-2); font-size: var(--fs-body); line-height: 1.7; }

/* ── Photos réelles ───────────────────────────────────────────────────────
   Les emplacements assumés (.bx-photo-slot, .bx-symp__media vide) gardent
   leur aplat tant qu'aucune image n'existe. Dès qu'une photo est fournie,
   c'est ce bloc qui prend le relais, avec le même rayon toiture et les mêmes
   proportions — la mise en page ne bouge pas d'un pixel au passage. */

.bx-hero__photo {
  position: relative; border-radius: var(--r-roof); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--surface-brand);
}
/* Hauteur naturelle entre deux bornes. Une photo verticale garde son cadrage
   intégral ; seule une photo trop plate ou trop haute est recadrée, ce qui
   évite à la fois le vide sous l'image et la colonne interminable. Les
   attributs width/height réservent la place, donc aucun saut de mise en page. */
.bx-hero__photo .bx-photo {
  display: block; width: 100%; height: auto;
  min-height: 380px; max-height: 620px; object-fit: cover; object-position: center;
}
@media (min-width: 900px) { .bx-hero__photo .bx-photo { min-height: 460px; } }

.bx-symp__media.has-photo {
  background: var(--surface-brand); overflow: hidden; display: block; padding: 0;
}
.bx-symp__media.has-photo .bx-photo {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* Jamais de recadrage circulaire : la photo garde ses angles, seul le rayon
   toiture s'applique. */
.bx-photo { border-radius: inherit; }

/* Masqué à l'œil, lu par les lecteurs d'écran et les robots. Utilisé pour le
   H1 de la page de devis, dont le titre visible est celui de l'étape en cours. */
.bx-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Crédit d'une photo sous licence libre. Discret mais lisible : la licence
   Creative Commons demande une attribution « raisonnable au regard du support »,
   pas une mention enfouie dans une page annexe. */
.bx-photo-credit {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 4px var(--sp-2);
  font-size: 10px; line-height: 1.3;
  color: rgba(255,255,255,.86);
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}
.bx-photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bx-symp__media.has-photo { position: relative; }

/* --- Camionnettes (zone d'intervention) — retour client 09/2026 --- */
.bx-fleet img { display: block; width: 100%; height: auto; border-radius: var(--r-roof); }

/* Carte de depannage sans photo juste : le logo, centre, plutot qu'une photo
   hors sujet. Mieux vaut une carte sobre qu'un evier bouche illustre par une
   tranchee de jardin. */
.bx-symp__media:not(.has-photo) { display: grid; place-items: center; }
.bx-symp__media:not(.has-photo) .bx-mark { height: 72px; opacity: .95; }
