/* ==========================================================================
   Audicopro , audit-energetique-copropriete.fr
   DNA (registre, slug audicopro, salt 0) :
   Red Hat Display/Text · full-palette (ardoise + ocre, fond clair) · cool ·
   hero poster-framed (chemise de dossier) · airy · photo-blocks · underlined
   (filets, pas de cartes) · offset-spine (colonne verbrale decalee).
   Signature : « Le dossier de conformite de l'immeuble , frise d'echeances. »
   ========================================================================== */

:root {
  /* Neutres froids ardoise (cool) */
  --ink: #1b232b;            /* texte principal, ardoise tres profonde */
  --ink-2: #3a4853;          /* texte secondaire */
  --ink-3: #6b7a86;          /* texte tertiaire, legendes */
  --line: #d2dae0;           /* filets (langage underlined) */
  --line-strong: #1b232b;    /* filet fort (cadre poster) */
  --paper: #f4f1ea;          /* fond craie chaude (PAS blanc pur, PAS verdatre) */
  --paper-2: #ffffff;        /* surfaces internes (chemise de dossier) */
  --paper-3: #ebe6db;        /* bandes alternees */
  --slate: #243845;          /* bandeaux fonces ardoise-bleutee (sections inverse) */
  --slate-ink: #e8edf0;      /* texte sur slate */

  /* Accent action : ocre / terre cuite (façade, PAS le vert ecolo de la niche) */
  --signal: #a8541f;         /* CTA, action : #fff sur #a8541f = 5.31:1 AA OK */
  --signal-2: #8f4717;       /* hover (plus fonce) : #fff = 6.81:1 AA OK */
  --accent-ink: #ffffff;     /* encre sur ocre, passe AA */
  --signal-soft: #f0e3d6;    /* fond ocre tres clair */

  /* Danger / echeance depassee : rouge brique distinct du signal action */
  --danger: #a3231f;
  --danger-soft: #f6e2e0;

  /* Etiquette DPE A-G : le SEUL arc-en-ciel autorise (signal reglementaire) */
  --dpe-a: #2c8a3f;
  --dpe-b: #4faa3e;
  --dpe-c: #9fbf2f;
  --dpe-d: #f0d020;
  --dpe-e: #f0a020;
  --dpe-f: #e8642a;
  --dpe-g: #d11f1f;

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 3px;            /* coins quasi vifs (underlined, pas de pill) */
  --font-head: "Red Hat Display", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--signal-2); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
strong { font-weight: 700; color: var(--ink); }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.6rem, 6vw, 4.6rem) var(--gutter); }
.section.narrow { max-width: 880px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 65ch; }

/* OFFSET-SPINE : colonne verbrale decalee. Titre + repere dans colonne gauche
   etroite, contenu a droite. C'est le rythme structurant du site. */
.spine { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.4rem); align-items: start; }
.spine-head { position: sticky; top: 5rem; }
.spine-tag { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--signal-2); display: block; margin-bottom: .35rem; }
.spine-piece { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--line); line-height: 1; }
.spine-due { font-size: .82rem; color: var(--ink-3); margin-top: .4rem; }
.spine-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-top: .6rem; }
.spine-body > :first-child { margin-top: 0; }

/* UNDERLINED : separation par filets, pas de cartes. */
.ruled { border-top: 1px solid var(--line); }
.ruled-strong { border-top: 2px solid var(--line-strong); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .65rem var(--gutter);
  background: var(--paper);
  border-bottom: 2px solid var(--line-strong);
}
.brand { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: .12rem; }
.brand b { color: var(--signal); font-weight: 800; }
.brand .brand-sub { font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-left: .35rem; }
.nav { display: flex; gap: .15rem; margin-left: auto; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav > a, .nav-item > a, .nav-toggle { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; padding: .5rem .7rem; border: 0; background: none; cursor: pointer; display: inline-block; }
.nav > a:hover, .nav-item > a:hover, .nav-toggle:hover { color: var(--signal-2); }
.nav-toggle::after { content: " ▾"; color: var(--ink-3); font-size: .75em; }
.nav-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--paper-2); border: 2px solid var(--line-strong); padding: .4rem; z-index: 60; }
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel { display: block; }
.nav-panel a { display: block; padding: .5rem .6rem; font-size: .9rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-panel a:last-child { border-bottom: 0; }
.nav-panel a:hover { background: var(--signal-soft); color: var(--signal-2); }
.header-phone { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; white-space: nowrap; padding: .3rem .5rem; }
.header-phone span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .64rem; color: var(--ink-3); letter-spacing: .04em; }
.header-cta { background: var(--signal); color: var(--accent-ink); padding: .55rem 1rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-decoration: none; border: 2px solid var(--signal); border-radius: var(--radius); white-space: nowrap; }
.header-cta:hover { background: var(--signal-2); border-color: var(--signal-2); color: #fff; }
.nav-burger { display: none; margin-left: auto; background: none; border: 2px solid var(--line-strong); width: 42px; height: 38px; flex-direction: column; justify-content: center; gap: 4px; cursor: pointer; padding: 0 9px; }
.nav-burger span { display: block; height: 2px; background: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.button { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; padding: .72rem 1.25rem; border-radius: var(--radius); cursor: pointer; border: 2px solid var(--signal); background: var(--signal); color: var(--accent-ink); transition: background .15s, border-color .15s; }
.button:hover { background: var(--signal-2); border-color: var(--signal-2); color: #fff; }
.button-lg { padding: .9rem 1.6rem; font-size: 1.06rem; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.inverse:hover { background: #fff; color: var(--ink); }
.button.wide { width: 100%; text-align: center; }

/* ── HERO : poster-framed + chemise de dossier ───────────────────────────── */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(1.6rem, 4vw, 2.6rem) var(--gutter) clamp(2rem, 5vw, 3.4rem); }
.hero-frame { border: 3px solid var(--line-strong); background: var(--paper-2); padding: clamp(1.3rem, 3.2vw, 2.4rem); position: relative; }
/* Barre d'echeance thermographique (anomalie voulue #2) : bande qui traverse le haut du cadre */
.hero-thermo { position: absolute; left: -3px; right: -3px; top: -3px; height: 8px; background: linear-gradient(90deg, #2a5a8c 0%, #4a7fa5 22%, #c8b24a 52%, #d68a3a 76%, #b4612f 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.4rem, 3.5vw, 2.8rem); align-items: start; margin-top: .4rem; }
.hero-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--signal-2); margin: 0 0 .7rem; }
.hero h1 { margin-bottom: .7rem; }
.hero h1 .h1-accent { color: var(--signal); }
.hero-copy { font-size: 1.08rem; color: var(--ink-2); max-width: 54ch; }
.hero-cite { font-size: .95rem; color: var(--ink-2); border-left: 3px solid var(--signal); padding: .2rem 0 .2rem .8rem; margin: 1rem 0; background: var(--signal-soft); }

/* Frise d'echeances (la promesse mise en frise, signature #1) */
.timeline { margin: 1.3rem 0 0; }
.timeline-track { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 2px solid var(--line-strong); }
.timeline-step { padding: .7rem .5rem 0; border-left: 1px solid var(--line); position: relative; }
.timeline-step:first-child { border-left: 0; }
.timeline-step::before { content: ""; position: absolute; top: -7px; left: -1px; width: 11px; height: 11px; background: var(--signal); border: 2px solid var(--paper-2); }
.timeline-step b { font-family: var(--font-head); display: block; font-size: .95rem; color: var(--ink); }
.timeline-step span { font-size: .78rem; color: var(--ink-3); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.trust-line { font-size: .86rem; color: var(--ink-3); margin-top: .8rem; }

/* CHEMISE DE DOSSIER (signature #1, anomalie #1 = onglet qui deborde) */
.dossier { position: relative; background: var(--paper-2); border: 2px solid var(--line-strong); padding: 1.2rem 1.2rem 1.3rem; margin-top: 1.7rem; }
.dossier-tab { position: absolute; top: -1.5rem; left: -2px; background: var(--slate); color: var(--slate-ink); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; padding: .42rem 1rem; border: 2px solid var(--line-strong); border-bottom: 0; }
.dossier-title { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; margin: .2rem 0 .2rem; }
.dossier-note { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; }
.dossier .reassurance { margin-top: .9rem; }

/* ── Form ────────────────────────────────────────────────────────────────── */
.form { display: grid; gap: .7rem; }
.form label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink-2); display: grid; gap: .25rem; }
.form .row2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .7rem; }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: .6rem .65rem; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--paper); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--signal); }
.form .field-opt { font-weight: 400; color: var(--ink-3); text-transform: none; }
.form-step2 { margin-top: .2rem; }
.form-step2 > summary { font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--signal-2); cursor: pointer; padding: .4rem 0; list-style: none; }
.form-step2 > summary::-webkit-details-marker { display: none; }
.form-step2 > summary::before { content: "+ "; font-weight: 800; }
.form-step2[open] > summary::before { content: "– "; }
.form-step2 .form { margin-top: .6rem; }
.consent { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400 !important; font-size: .8rem !important; color: var(--ink-2); line-height: 1.45; text-transform: none; }
.consent input { width: auto; margin-top: .15rem; flex-shrink: 0; }
.reassurance { font-size: .8rem; color: var(--ink-3); }

/* ── Bandes / sections inverse ───────────────────────────────────────────── */
.band { background: var(--slate); color: var(--slate-ink); }
.band h2, .band h3 { color: #fff; }
.band a:not(.button) { color: #f2c9a8; }
.band-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.4rem, 5vw, 4rem) var(--gutter); }
.band .lead { color: #cdd7dd; }
.band-alt { background: var(--paper-3); color: var(--ink); }
.band-alt h2 { color: var(--ink); }

/* ── ConformiteCopro : la frise lue comme un classeur (signature #3) ─────── */
.conformite { background: var(--paper-2); border: 2px solid var(--line-strong); }
.conformite-rows { display: grid; }
.conformite-row { display: grid; grid-template-columns: minmax(0, 168px) minmax(0,1fr) minmax(0, 150px); gap: 1rem; align-items: center; padding: .95rem 1.1rem; border-top: 1px solid var(--line); }
.conformite-row:first-child { border-top: 0; }
.conformite-row .cr-name { font-family: var(--font-head); font-weight: 700; }
.conformite-row .cr-name span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .76rem; color: var(--ink-3); }
.conformite-row .cr-desc { font-size: .9rem; color: var(--ink-2); }
.cr-status { font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-align: right; padding: .25rem .55rem; border-radius: var(--radius); white-space: nowrap; }
.cr-status.due { background: var(--danger-soft); color: var(--danger); }
.cr-status.vote { background: var(--signal-soft); color: var(--signal-2); }
.cr-status.opt { background: var(--paper-3); color: var(--ink-2); }
.conformite-tool { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem; padding: 1.1rem; border-top: 2px solid var(--line-strong); background: var(--paper-3); }
.conformite-out { padding: 1.1rem; border-top: 2px solid var(--line-strong); }
.conformite-out strong { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: .3rem; }

/* ── Etiquette DPE A-G (micro-signature, seul arc-en-ciel) ───────────────── */
.dpe-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: 1rem 0; }
.dpe-cell { font-family: var(--font-head); font-weight: 800; color: #1b232b; text-align: center; padding: .4rem 0; font-size: .9rem; }
.dpe-a { background: var(--dpe-a); color: #fff; } .dpe-b { background: var(--dpe-b); color: #fff; }
.dpe-c { background: var(--dpe-c); } .dpe-d { background: var(--dpe-d); }
.dpe-e { background: var(--dpe-e); } .dpe-f { background: var(--dpe-f); color:#fff; } .dpe-g { background: var(--dpe-g); color: #fff; }

/* ── SimulateurAides ─────────────────────────────────────────────────────── */
.simulator { background: var(--paper-2); border: 2px solid var(--line-strong); padding: 1.3rem; }
.simulator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .9rem; }
.simulator-out { margin-top: 1.1rem; border-top: 2px solid var(--line-strong); padding-top: 1.1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.sim-figure { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--signal); line-height: 1; }
.sim-figure small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .76rem; color: var(--ink-3); margin-top: .3rem; }
.sim-note { font-size: .78rem; color: var(--ink-3); margin-top: .9rem; }

/* ── Methodologie 5 etapes (filets numerotes, pas de carte badge bleu) ───── */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps .step { display: grid; grid-template-columns: 3.2rem minmax(0,1fr); gap: 1.1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); align-items: start; }
.steps .step:first-child { border-top: 2px solid var(--line-strong); }
.steps .step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--signal); line-height: 1; }
.steps .step strong { font-family: var(--font-head); display: block; font-size: 1.06rem; margin-bottom: .15rem; }
.steps .step span { color: var(--ink-2); font-size: .96rem; }

/* ── Arguments "pourquoi notre cabinet" (filets, offset, pas grid de cartes) */
.args { display: grid; gap: 0; }
.args .arg { display: grid; grid-template-columns: minmax(0, 200px) minmax(0,1fr); gap: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.args .arg:first-child { border-top: 2px solid var(--line-strong); }
.args .arg strong { font-family: var(--font-head); font-size: 1.04rem; }
.args .arg p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ── PrixBox (sheet) ─────────────────────────────────────────────────────── */
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; font-size: .94rem; }
.sheet th, .sheet td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.sheet thead th { font-family: var(--font-head); border-bottom: 2px solid var(--line-strong); background: var(--paper-3); }
.sheet tbody tr:last-child td { border-bottom: 2px solid var(--line-strong); }
.sheet-hint { font-size: .76rem; color: var(--ink-3); margin-top: .35rem; }
.prixbox { background: var(--paper-2); border: 2px solid var(--line-strong); padding: 1.1rem 1.2rem; }
.prixbox .price-from { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--signal); }

/* ── SourceBox ───────────────────────────────────────────────────────────── */
.source-box { background: var(--paper-3); border-left: 4px solid var(--signal); padding: 1rem 1.2rem; margin: 1.6rem 0; font-size: .9rem; color: var(--ink-2); }
.source-box strong { display: block; font-family: var(--font-head); margin-bottom: .25rem; }
.aff-line { font-size: .82rem; color: var(--ink-3); margin: .3rem 0; }
.aff-line strong { color: var(--ink-2); }

/* ── Photo-blocks : bandeaux facade ──────────────────────────────────────── */
.photo-band { position: relative; min-height: 220px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.photo-band .photo-band-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: clamp(1.4rem,4vw,2.6rem) var(--gutter); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,35,43,.86) 0%, rgba(27,35,43,.5) 60%, rgba(27,35,43,.2) 100%); }
.photo-band .photo-band-inner { position: relative; z-index: 1; color: #fff; }
.photo-band h2, .photo-band p { color: #fff; }
.photo-band p { color: #e2e8ec; max-width: 50ch; }

/* ── Trust badges / certifs ──────────────────────────────────────────────── */
.certs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.certs li { list-style: none; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--ink-2); border: 1px solid var(--line); padding: .35rem .7rem; border-radius: var(--radius); background: var(--paper-2); }
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1.2rem; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); padding: 1.2rem 0; margin: 1.4rem 0; }
.trust-strip .ts-fig { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.trust-strip .ts-lab { font-size: .82rem; color: var(--ink-3); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: .2rem 0; }
.faq details:first-child { border-top: 2px solid var(--line-strong); }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; cursor: pointer; padding: .85rem 1.8rem .85rem 0; position: relative; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .75rem; font-size: 1.3rem; color: var(--signal); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1rem; color: var(--ink-2); margin: 0; max-width: 70ch; }

/* ── Link lists / maillage ───────────────────────────────────────────────── */
.link-list { display: grid; gap: 0; }
.link-list a { display: block; padding: .7rem 0; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; }
.link-list a:first-child { border-top: 2px solid var(--line-strong); }
.link-list a:hover { color: var(--signal-2); padding-left: .4rem; }
.link-list a::before { content: "→ "; color: var(--signal); }

/* ── CTA next-step ───────────────────────────────────────────────────────── */
.cta-next { background: var(--slate); color: var(--slate-ink); border: 2px solid var(--slate); padding: clamp(1.4rem, 3vw, 2.2rem); }
.cta-next h2 { color: #fff; }
.cta-next .lead { color: #cdd7dd; }
.cta-next-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.cta-band { color: var(--ink); border: 2px solid var(--line-strong); padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--paper-2); }
.cta-band strong { font-family: var(--font-head); font-size: 1.05rem; }
.cta-band p { margin: .2rem 0 0; color: var(--ink-2); font-size: .92rem; max-width: 52ch; }

/* ── Article (filles / guides) ───────────────────────────────────────────── */
.article { max-width: var(--maxw); margin: 0 auto; padding: clamp(1.6rem,4vw,2.6rem) var(--gutter); }
.article-head { max-width: 760px; }
.breadcrumb { font-size: .84rem; color: var(--ink-3); margin: .4rem 0; }
.breadcrumb a { color: var(--ink-3); }
.prose-list { padding-left: 1.2rem; }
.prose-list li { margin-bottom: .4rem; }
.urgence-band { display: flex; gap: .7rem; align-items: center; background: var(--danger-soft); border-left: 4px solid var(--danger); padding: .9rem 1.1rem; }
.urgence-band p { margin: 0; color: var(--ink); font-size: .94rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.cert-band { background: var(--ink); color: #c9d2d8; }
.cert-band-inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter); font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .02em; text-align: center; }
.site-footer { background: var(--paper-3); border-top: 2px solid var(--line-strong); }
.foot-cols { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem,4vw,3rem) var(--gutter) 1.4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.foot-col strong { font-family: var(--font-head); font-size: .92rem; display: block; margin-bottom: .7rem; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.foot-col a { font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--signal-2); }
.foot-brandblock p { font-size: .86rem; color: var(--ink-2); margin: 0 0 .5rem; }
.foot-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.foot-bottom { max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter) 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; font-size: .82rem; color: var(--ink-3); }
.foot-bottom a { color: var(--ink-3); }

/* ── Mobile sticky CTA ───────────────────────────────────────────────────── */
.mobile-cta { display: none; }

/* ── Consent banner ──────────────────────────────────────────────────────── */
.consent-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: #e8edf0; padding: 1rem var(--gutter); display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: center; z-index: 80; font-size: .9rem; }
.consent-banner p { margin: 0; }
.consent-banner .button { padding: .5rem 1rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid .hero-copy { max-width: 60ch; }
  /* Mobile/tablette : seuls l'eyebrow et le H1 restent au-dessus du formulaire ;
     le sous-titre, la frise, les certifs passent SOUS le form. Submit ATF garanti.
     (cf. règle skill : "le sous-titre / lede descriptif passe SOUS le formulaire") */
  .hero-grid > div:first-child, .hero-lead { display: contents; }
  .hero-eyebrow { order: 1; }
  .hero-lead h1 { order: 2; }
  .dossier { order: 3; margin-top: 1.1rem; display: block; }
  .hero-copy { order: 4; margin-top: 1.3rem; }
  .hero-extra { order: 5; margin-top: 1.2rem; }
  .spine { grid-template-columns: minmax(0, 1fr); }
  .spine-head { position: static; }
  .spine-body { min-width: 0; }
  .spine-piece { font-size: 1.8rem; }
  .conformite-row { grid-template-columns: 1fr; gap: .4rem; }
  .cr-status { text-align: left; justify-self: start; }
  .args .arg { grid-template-columns: 1fr; gap: .3rem; }
}
/* Bascule nav -> burger alignée sur la réorg hero pour cohérence G30 +
   éviter le wrap header desktop (G31) sur la tranche 1024-1440. */
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .nav-burger { display: flex; }
  .site-header { gap: .6rem; }
  .header-cta { margin-left: auto; padding: .5rem .8rem; font-size: .86rem; }
  .nav.nav-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 2px solid var(--line-strong); padding: .5rem var(--gutter) 1rem; gap: 0; }
  .nav.nav-open > a, .nav.nav-open .nav-item { border-top: 1px solid var(--line); }
  .nav.nav-open .nav-item { display: flex; flex-direction: column; }
  .nav.nav-open .nav-panel { display: block; position: static; border: 0; padding: 0 0 .4rem .8rem; min-width: 0; }
  .nav.nav-open .nav-toggle::after { content: ""; }
}
@media (max-width: 760px) {
  .mobile-cta { color: var(--ink); display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; gap: .4rem; padding: .35rem .5rem; background: var(--paper); border-top: 2px solid var(--line-strong); }
  .mobile-cta a { flex: 1; text-align: center; padding: .55rem; font-size: .88rem; }
  body { padding-bottom: 4rem; }
  .consent-banner { bottom: 3.6rem; }
  /* Hero compact mobile : H1 plus petit, form resserré pour garder le submit ATF. */
  .hero { padding: .5rem var(--gutter) 1.6rem; }
  .hero-frame { padding: .8rem .9rem 1.1rem; }
  .hero-lead h1 { font-size: clamp(1.28rem, 5.6vw, 1.66rem); line-height: 1.12; margin: .05rem 0 0; }
  .hero-eyebrow { margin: 0 0 .15rem; font-size: .78rem; }
  .dossier { padding: .85rem 1rem 1rem; }
  .dossier-tab { top: -1.15rem; font-size: .72rem; padding: .32rem .8rem; }
  .dossier-title { font-size: 1rem; margin: .12rem 0 .05rem; }
  .dossier-note { margin-bottom: .6rem; font-size: .79rem; }
  .form { gap: .42rem; }
  .dossier .form input, .dossier .form select { padding: .5rem .55rem; }
  .dossier .consent { font-size: .76rem !important; }
  /* Le submit ne doit pas être recouvert par la barre sticky .mobile-cta (~50px). */
  .dossier .button.wide { scroll-margin-bottom: 60px; padding: .72rem; }
  .form input, .form select, .form textarea { padding: .55rem .6rem; }
  .form .row2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .55rem; }
  .form .row2 label { font-size: .76rem; min-width: 0; }
  .steps .step { grid-template-columns: 2.4rem 1fr; gap: .8rem; }
  .sheet { min-width: 540px; }
  .comparatif .sheet, .sheet-col5 { min-width: 600px; }
}
@media (max-width: 420px) {
  .timeline-track { grid-template-columns: 1fr 1fr; }
  .timeline-step:nth-child(3) { border-top: 1px solid var(--line); }
  .dpe-scale { gap: 2px; }
  .dpe-cell { padding: .3rem 0; font-size: .78rem; }
}
