/* ==========================================================================
   Polices auto-hébergées
   Schibsted Grotesk et JetBrains Mono, rapatriées depuis Google Fonts. Ce sont
   des polices variables : un seul fichier par famille et par sous-ensemble
   couvre toutes les graisses, d'où le `font-weight` en intervalle.
   Auto-hébergées pour deux raisons : un aller-retour réseau en moins au premier
   rendu, et aucune adresse IP de visiteur transmise à Google (position CNIL).
   Les `unicode-range` restent ceux de Google : latin-ext n'est téléchargé que
   si un glyphe l'exige, ce qui n'arrive pas sur du texte français courant.
   ========================================================================== */

/* Schibsted Grotesk · latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Schibsted Grotesk · latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   Glumy Hub — feuille de style
   Implémentation de la maquette « Glumy Hub.dc.html » (Claude Design).
   Les styles inline et les attributs `style-hover` de la maquette sont
   transcrits ici tels quels. Les déclarations `color` des états :hover qui
   semblent redondantes ne le sont pas : elles neutralisent la règle globale
   `a:hover`, qui l'emporterait sinon sur les classes.

   Palette : le teal ponctue (liens, numéros de section, icônes, filets), il
   n'envahit pas — les séparateurs structurels restent neutres.
   ========================================================================== */

:root {
  --ink: #0E0F12;          /* fond général */
  --paper: #ECEDEF;        /* texte principal, blanc cassé */
  --paper-rgb: 236, 237, 239;

  /* Teal de marque Glumy : liens, numéros de section, icônes, filets, détails. */
  --accent: #43838F;
  --accent-rgb: 67, 131, 143;
  /* Version plus lumineuse : boutons CTA au repos, et survol des liens. */
  --accent-bright: #5AA6B4;
  --cta-label: #FFFFFF;    /* texte des boutons CTA */

  /* Rouge d'alerte, réservé aux pratiques interdites et aux sanctions.
     Jamais utilisé pour une action : le teal garde le monopole du clic. */
  --warn: #C25B4E;
  --warn-rgb: 194, 91, 78;

  --surface: #12141A;      /* fond section rendez-vous */
  --surface-hover: #14161A;/* fond carte service survolée */

  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --shell: 1120px;
  --gutter: 22px;
}

/* --- Base ---------------------------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }

::selection { background: var(--accent); color: var(--cta-label); }

/* Ajouts d'implémentation (absents de la maquette, sans impact visuel au repos) :
   un anneau de focus visible au clavier, et le respect de prefers-reduced-motion. */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

.page { min-height: 100vh; background: var(--ink); }

/* Nuance de texte partagée par le hero et la section 03. */
.dim { color: rgba(var(--paper-rgb), 0.44); }

/* --- En-tête ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 15, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.08);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.brand__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.brand__zone {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), 0.38);
  white-space: nowrap;
}

.header-cta {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 2px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s ease, border-color .18s ease;
}

.header-cta:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: var(--accent);
  color: var(--paper);
}

/* L'en-tête complet réclame 451px : en dessous, la zone d'intervention passe
   sous le bouton. Elle est déjà rappelée dans le pied de page, on l'y laisse. */
@media (max-width: 480px) {
  .brand__zone { display: none; }
}

/* --- Boutons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 15px;
}

/* CTA : version lumineuse du teal au repos, teal de marque au survol. */
.btn--primary {
  background: var(--accent-bright);
  color: var(--cta-label);
  font-weight: 600;
  transition: background .18s ease;
}

.btn--primary:hover {
  background: var(--accent);
  color: var(--cta-label);
}

.btn--secondary {
  border: 1px solid rgba(var(--paper-rgb), 0.16);
  color: rgba(var(--paper-rgb), 0.78);
  font-weight: 500;
  transition: border-color .18s ease, color .18s ease;
}

.btn--secondary:hover {
  border-color: rgba(var(--paper-rgb), 0.4);
  color: var(--paper);
}

.btn--lg {
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(64px, 13vw, 140px) var(--gutter) clamp(56px, 10vw, 110px);
}

.eyebrow {
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(38px, 8.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--paper);
  text-wrap: balance;
}

.hero__lede {
  margin: 28px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
  color: rgba(var(--paper-rgb), 0.66);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

/* --- Sections numérotées ------------------------------------------------- */

.section {
  border-top: 1px solid rgba(var(--paper-rgb), 0.08);
  scroll-margin-top: 76px;
}

.section__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) var(--gutter);
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 54px);
}

.section__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.section__title {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--paper);
}

/* --- 01 · Services ------------------------------------------------------- */

/* Les filets de la grille sont obtenus par un gap de 1px laissant apparaître
   le fond du conteneur : chaque carte repeint son propre fond opaque.
   Teal à la même opacité que les filets de « Comment nous travaillons ». */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1px;
  background: rgba(var(--accent-rgb), 0.35);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.6vw, 34px);
  background: var(--ink);
  color: var(--paper);
  transition: background .2s ease;
}

.svc:hover {
  background: var(--surface-hover);
  color: var(--paper);
}

/* L'icône garde son teal au survol : une règle directe l'emporte sur la
   couleur héritée de `.svc:hover`. */
.svc__icon { color: var(--accent); }

.svc__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.svc__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(var(--paper-rgb), 0.62);
  text-wrap: pretty;
}

.svc__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
}

/* --- 02 · Méthode -------------------------------------------------------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 44px);
}

.method {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.35);
  padding-top: 18px;
}

.method__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

.method__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(var(--paper-rgb), 0.58);
  text-wrap: pretty;
}

/* --- 03 · La preuve ------------------------------------------------------ */

/* Variante « note » — celle qui est publiée. */
.proof { max-width: 62ch; }

.proof__lead {
  margin: 0;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--paper);
  text-wrap: balance;
}

.proof__text {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(var(--paper-rgb), 0.62);
  text-wrap: pretty;
}

.proof__text + .proof__text { margin-top: 20px; }

/* Variante « portrait » — la preuve n'étant pas chiffrée, c'est la personne
   qui répond au téléphone qui l'incarne. Le texte garde sa mesure de 62ch ;
   seul le conteneur s'élargit pour loger la colonne image. */
.proof--portrait {
  max-width: none;
  display: grid;
  grid-template-columns: 214px minmax(0, 62ch);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.portrait { margin: 0; }

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(var(--paper-rgb), 0.08);
}

.portrait__cap {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), 0.5);
}

@media (max-width: 720px) {
  .proof--portrait { grid-template-columns: 1fr; }
  .portrait img { max-width: 188px; }
}


/* Variante « temoignage » — markup commenté dans index.html, styles prêts. */
.quote {
  margin: 0;
  max-width: 62ch;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 26px;
}

.quote__text {
  margin: 0;
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: pretty;
}

.quote__author {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(var(--paper-rgb), 0.5);
}

/* --- Rendez-vous --------------------------------------------------------- */

.cta {
  border-top: 1px solid rgba(var(--paper-rgb), 0.08);
  background: var(--surface);
  scroll-margin-top: 76px;
}

.cta__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 88px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 56px);
}

.cta__copy { max-width: 34ch; }

.cta__title {
  margin: 0;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--paper);
  text-wrap: balance;
}

.cta__text {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(var(--paper-rgb), 0.6);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
}

.cta__contact a { color: rgba(var(--paper-rgb), 0.78); }
.cta__contact a:hover { color: var(--accent-bright); }

/* --- Pied de page -------------------------------------------------------- */

.site-footer { border-top: 1px solid rgba(var(--paper-rgb), 0.08); }

.footer-top {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(32px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  justify-content: space-between;
}

.footer-brand {
  max-width: 32ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
}

.footer-brand__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(var(--paper-rgb), 0.46);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), 0.34);
}

.footer-col a { font-size: 14px; color: rgba(var(--paper-rgb), 0.7); }
.footer-col a:hover { color: var(--accent-bright); }

.footer-legal {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 56px);
}

.footer-legal__inner {
  border-top: 1px solid rgba(var(--paper-rgb), 0.07);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
}

.footer-legal__text {
  margin: 0;
  max-width: 78ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(var(--paper-rgb), 0.38);
  text-wrap: pretty;
}

.footer-copy {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(var(--paper-rgb), 0.3);
  white-space: nowrap;
}

/* ==========================================================================
   Composants des pages services
   Introduits pour /sites-web, écrits pour resservir quand les pages
   avis-batiment et repondeur-telephonique seront harmonisées.
   ========================================================================== */

/* La marque devient un lien de retour vers le hub sur les pages internes.
   Les deux enfants portent leur propre couleur : sans la règle de survol
   ci-dessous, le lien n'aurait aucun retour visuel. */
.brand { color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand__zone { transition: color .18s ease; }
.brand:hover .brand__zone { color: rgba(var(--paper-rgb), 0.62); }

/* Chapô sous un titre de section */
.section__lede {
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
  color: rgba(var(--paper-rgb), 0.66);
  text-wrap: pretty;
}

/* --- Liste de ce qui est inclus ------------------------------------------ */

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.spec { display: flex; gap: 14px; }

.spec::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--accent);
}

.spec__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

.spec__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(var(--paper-rgb), 0.58);
  text-wrap: pretty;
}

/* Numéro d'étape, à l'intérieur d'un .method */
.method__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* --- Grille tarifaire ---------------------------------------------------- */

/* Même filet teal que la grille des services : gap de 1px sur fond teint. */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 1px;
  background: rgba(var(--accent-rgb), 0.35);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3.6vw, 34px);
  background: var(--ink);
}

.price--featured { background: var(--surface); }

.price__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 26px;
}

.price__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), 0.55);
}

.price__badge {
  flex: none;
  background: var(--accent-bright);
  color: var(--cta-label);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.price__amount {
  margin: 0;
  font-size: clamp(38px, 6vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--paper);
}

.price__unit {
  margin-left: 7px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(var(--paper-rgb), 0.5);
}

.price__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--accent);
}

.price__list {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(var(--paper-rgb), 0.09);
  list-style: none;
  display: grid;
  gap: 12px;
}

.price__item {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(var(--paper-rgb), 0.68);
  text-wrap: pretty;
}

.price__item::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--accent);
}

.price__who {
  margin: auto 0 0;
  padding-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--paper-rgb), 0.5);
  text-wrap: pretty;
}

.price-note {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(var(--paper-rgb), 0.42);
}

/* --- Questions ----------------------------------------------------------- */

.faq { border-top: 1px solid rgba(var(--paper-rgb), 0.09); }

.faq__item { border-bottom: 1px solid rgba(var(--paper-rgb), 0.09); }

.faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
  transition: color .18s ease;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.faq__item[open] .faq__q::after { content: "–"; }

.faq__q:hover { color: var(--accent-bright); }

.faq__a {
  margin: 0;
  padding: 0 0 22px;
  max-width: 70ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(var(--paper-rgb), 0.62);
  text-wrap: pretty;
}


/* ==========================================================================
   Composants des pages de service
   Introduits pour /avis-batiment. Écrits pour être réutilisables tels quels
   par /assistant-telephonique : rien ici n'est propre à un seul service.
   ========================================================================== */


/* --- Hero avec photo ----------------------------------------------------- */

/* Le cadre reprend la largeur de coque du hero typographique ; la photo est
   posée en fond de son propre contexte d'empilement. Les enfants en z-index
   négatif se peignent au-dessus du fond du cadre, mais sous le texte. */
.hero--media {
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(44px, 7vw, 76px);
}

.hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(400px, 58vh, 620px);
  padding: clamp(34px, 6vw, 76px) clamp(24px, 5vw, 60px);
  background: var(--ink);
  border: 1px solid rgba(var(--paper-rgb), 0.08);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

/* Voile dégradé : dense côté texte, plus clair côté sujet de la photo. */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(9, 10, 13, 0.93) 0%,
    rgba(9, 10, 13, 0.86) 46%,
    rgba(9, 10, 13, 0.74) 100%);
}

/* Sur la photo, le texte se détache d'un fond photographique et non d'un
   aplat : les opacités du hero typographique seraient illisibles. */
.hero--media .hero__title { max-width: 16ch; color: #FFFFFF; }
.hero--media .hero__lede { color: rgba(255, 255, 255, 0.8); }
.hero--media .dim { color: rgba(255, 255, 255, 0.56); }

.hero--media .signal-grid { margin-top: clamp(36px, 5vw, 54px); }

@media (max-width: 560px) {
  .hero__bg img { object-position: 62% center; }
  .hero__frame::after {
    background: linear-gradient(170deg,
      rgba(9, 10, 13, 0.82) 0%,
      rgba(9, 10, 13, 0.9) 58%,
      rgba(9, 10, 13, 0.96) 100%);
  }
}


/* --- Diptyque de constat ------------------------------------------------- */

/* Même filet teal que .svc-grid et .price-grid : gap de 1px sur fond teinté. */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(var(--accent-rgb), 0.35);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.signal {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.6vw, 34px);
  background: var(--ink);
}

.signal__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.signal__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(var(--paper-rgb), 0.5);
  text-wrap: pretty;
}

/* Deux nombres mis en regard, séparés par une flèche. */
.count {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 28px);
}

.count__num {
  font-size: clamp(34px, 6vw, 46px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.count__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(var(--paper-rgb), 0.5);
}

.count__arrow {
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 16px;
  color: rgba(var(--paper-rgb), 0.3);
}

/* Champ de cellules : une case par chantier, une étoile par avis obtenu. */
.field {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  gap: 4px;
}

.field i {
  aspect-ratio: 1;
  background: rgba(var(--paper-rgb), 0.07);
}

.field i.is-review {
  display: grid;
  place-items: center;
  background: none;
  color: var(--accent-bright);
}

.field svg { width: 100%; height: 100%; }


/* --- Fiche d'établissement (illustration) -------------------------------- */

/* Seul îlot clair du site : c'est une capture d'écran simulée, elle doit
   ressembler à ce que le visiteur voit dans Google, pas au reste de la page. */
.listing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 24px);
  background: #F4F5F7;
  color: #1B1D22;
}

.listing__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #1B1D22;
  font-size: 15px;
  font-weight: 600;
  color: #F4F5F7;
}

.listing__name {
  font-size: 15px;
  font-weight: 600;
}

.listing__meta {
  margin-top: 2px;
  font-size: 12.5px;
  color: #6A6E75;
}

.listing__tag {
  flex: none;
  margin-left: auto;
  align-self: flex-start;
  border: 1px solid #D2D5DA;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #82868D;
}

.listing__score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing__score b {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.listing__stars {
  display: flex;
  gap: 2px;
  color: #E8A317;
}

.listing__count {
  font-size: 13px;
  color: #6A6E75;
}

.listing__rule {
  height: 1px;
  background: #DCDEE2;
}

.listing__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #6A6E75;
}

.listing__flag {
  padding: 9px 11px;
  background: #F7E7E4;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A3B2E;
}


/* --- Pratiques interdites ------------------------------------------------ */

/* Le barré porte l'information : ces pratiques sont hors-jeu, pas au choix. */
.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(var(--warn-rgb), 0.3);
  border: 1px solid rgba(var(--warn-rgb), 0.3);
}

.rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px clamp(16px, 2.4vw, 22px);
  background: var(--ink);
}

.rule__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(var(--paper-rgb), 0.72);
  text-decoration: line-through;
  text-decoration-color: rgba(var(--warn-rgb), 0.7);
}

.rule__tag {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warn);
}


/* --- Intertitre de sous-partie ------------------------------------------- */

.subhead {
  margin: clamp(38px, 5vw, 56px) 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), 0.45);
}


/* --- Bandeau de tête empilé ---------------------------------------------- */

/* Les pages de service annoncent chaque section par une phrase, là où le hub
   se contente d'un nom. Le titre passe donc sous l'étiquette au lieu d'être
   posé à côté d'elle ; l'échelle typographique, elle, ne change pas. */
.section__head--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.section__head--stack .section__title { max-width: 24ch; text-wrap: balance; }


/* --- Ce que le service ne fait pas --------------------------------------- */

.nope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 14px clamp(22px, 3vw, 34px);
}

.nope {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(var(--paper-rgb), 0.6);
  text-wrap: pretty;
}

.nope::before {
  content: "\2715";
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(var(--paper-rgb), 0.3);
}


/* --- Chiffres de résultat ------------------------------------------------ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 1px;
  background: rgba(var(--accent-rgb), 0.35);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.stat {
  padding: clamp(22px, 3vw, 30px);
  background: var(--ink);
}

.stat__num {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
}

/* Un chiffre encore vide reste vide, il ne se remplit pas d'un placeholder. */
.stat__num--empty { color: rgba(var(--paper-rgb), 0.26); }

.stat__unit {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 0.4em;
  letter-spacing: 0.04em;
  color: rgba(var(--paper-rgb), 0.5);
}

.stat__label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(var(--paper-rgb), 0.5);
}


/* --- Compléments pour /assistant-telephonique ---------------------------- */

/* Note sous les boutons du hero photo, à l'échelle de .price-note. */
.hero--media .price-note { color: rgba(255, 255, 255, 0.58); }

/* Bande de journée : une case par appel, sur une seule ligne pleine largeur.
   Même grammaire que .field, seul le nombre de colonnes change. */
.field--strip { grid-template-columns: repeat(30, 1fr); }

.field i.is-caught { background: var(--accent-bright); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(var(--paper-rgb), 0.5);
}

.legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 10px;
  height: 10px;
  background: rgba(var(--paper-rgb), 0.14);
}

.legend i.is-caught { background: var(--accent-bright); }

/* Variante « constat » de .rule-list : l'étiquette ouvre la ligne au lieu de
   la clore, et le texte n'est pas barré — ce sont des situations vécues, pas
   des pratiques hors-jeu. */
.rule--case { justify-content: flex-start; }

.rule--case .rule__text {
  text-decoration: none;
  color: rgba(var(--paper-rgb), 0.66);
}

.rule--case .rule__tag { min-width: 62px; }

@media (max-width: 560px) {
  .field--strip { grid-template-columns: repeat(15, 1fr); }
}
