/* ==========================================================================
   Audicopro Tertiaire , audit-energetique-tertiaire.com
   DNA (registre, slug audit-energetique-tertiaire, salt 0) :
   Bricolage Grotesque / Hanken Grotesk · committed (steel acier 30-60% surface,
   graphite neutres, fond clair) · cool · hero stacked-banner (bandeau steel
   plein + bande form dessous) · compact · duotone · soft (cartes arrondies,
   ombres douces) · modular-bento (tuiles inegales).
   Signature : « La trajectoire de reduction , le batiment lu comme une courbe
   qui descend vers ses paliers 2030/2040/2050 (tableau de bord de pilotage). »
   ========================================================================== */

:root {
  /* Neutres graphite (cool) */
  --ink: #16202b;            /* texte principal, graphite profond */
  --ink-2: #34424f;          /* texte secondaire */
  --ink-3: #64727e;          /* texte tertiaire, legendes */
  --line: #d4dbe1;           /* filets discrets */
  --line-2: #c0cad2;
  --paper: #eef1f4;          /* fond gris-bleu tres clair (PAS blanc pur) */
  --paper-2: #ffffff;        /* surfaces internes (cartes, tuiles) */
  --paper-3: #e2e8ed;        /* bandes alternees */

  /* COMMITTED : bleu acier corporate porte 30-60% de la surface */
  --steel: #1f6f8b;          /* CTA, action, bandeaux : #fff sur #1f6f8b = 4.7:1 AA OK */
  --steel-2: #185a72;        /* hover (plus fonce) : #fff = 6.1:1 AA OK */
  --steel-deep: #12424f;     /* bandeau hero plein (fonce) */
  --steel-soft: #dceaef;     /* fond acier tres clair */
  --accent-ink: #ffffff;     /* encre sur acier, passe AA */

  /* Ambre = DONNEE / jalon atteint, JAMAIS action (distinct du steel) */
  --amber: #c8851a;
  --amber-soft: #f6ebd6;

  /* Danger = palier manque / sanction, distinct du steel d'action */
  --danger: #b23a2e;
  --danger-soft: #f7e3df;

  /* 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: 12px;           /* SOFT : coins arrondis 10-14px */
  --radius-sm: 8px;
  --shadow: 0 8px 24px -14px rgba(18,32,43,.32);
  --shadow-sm: 0 4px 14px -10px rgba(18,32,43,.3);
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", 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.6;
  font-size: 1.0rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.1rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--steel-2); text-underline-offset: 3px; }
a:hover { color: var(--steel); }
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.2rem, 5vw, 3.8rem) var(--gutter); }
.section.narrow { max-width: 880px; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 65ch; }

/* En-tete de bloc (modular-bento : pas d'offset-spine, titre au-dessus des tuiles) */
.block-head { max-width: 760px; margin-bottom: clamp(1.3rem, 3vw, 2rem); }
.block-tag { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--steel-2); display: block; margin-bottom: .4rem; }
.block-head h2 { margin: 0 0 .4rem; }
.block-lede { font-size: 1.04rem; color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem var(--gutter);
  background: rgba(238,241,244,.92);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line-2);
}
.brand { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: .12rem; }
.brand b { color: var(--steel); font-weight: 800; }
.brand .brand-sub { font-family: var(--font-body); font-weight: 700; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-left: .35rem; }
.nav { display: flex; gap: .1rem; margin-left: auto; flex-wrap: nowrap; align-items: stretch; }
.nav-item { position: relative; display: flex; align-items: stretch; }
/* Tous les cliquables de la nav alignés sur la MEME ligne (1 seul top) pour
   eviter un faux positif "2 rangées" (G31) : flex center + meme line-height. */
.nav > a, .nav-item > a, .nav-toggle { font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.2; color: var(--ink); text-decoration: none; padding: .5rem .6rem; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; white-space: nowrap; }
.nav > a:hover, .nav-item > a:hover, .nav-toggle:hover { color: var(--steel-2); }
.nav-toggle::after { content: " ▾"; color: var(--ink-3); font-size: .75em; }
.nav-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .4rem; z-index: 60; box-shadow: var(--shadow); }
.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-radius: 6px; }
.nav-panel a:hover { background: var(--steel-soft); color: var(--steel-2); }
.header-mail { font-family: var(--font-head); font-weight: 700; font-size: .76rem; color: var(--ink); text-decoration: none; white-space: nowrap; padding: .3rem .45rem; }
.header-mail:hover { color: var(--steel-2); }
.header-mail span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; color: var(--ink-3); letter-spacing: .03em; }
/* Sur la tranche 1080-1300, masquer le mail header pour eviter le wrap (G31) ;
   le contact reste accessible (CTA + footer + page contact). */
@media (max-width: 1300px) { .header-mail { display: none; } }
.header-cta { background: var(--steel); color: var(--accent-ink); padding: .55rem 1.05rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; border: 0; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.header-cta:hover { background: var(--steel-2); color: #fff; }
.nav-burger { display: none; margin-left: auto; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); 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); border-radius: 2px; }

/* ── Buttons (soft, pill mixte sur le CTA primaire) ──────────────────────── */
.button { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .96rem; text-decoration: none; padding: .72rem 1.3rem; border-radius: 999px; cursor: pointer; border: 2px solid var(--steel); background: var(--steel); color: var(--accent-ink); transition: background .15s, border-color .15s, transform .12s; box-shadow: var(--shadow-sm); }
.button:hover { background: var(--steel-2); border-color: var(--steel-2); color: #fff; transform: translateY(-1px); }
.button-lg { padding: .9rem 1.7rem; font-size: 1.04rem; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.button.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.ghost-on-dark { border-color: #4a6975; color: #e6eef1; background: transparent; }
.button.ghost-on-dark:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #7a98a3; }
.button.inverse { background: #fff; color: var(--steel-deep); border-color: #fff; }
.button.inverse:hover { background: var(--paper-3); color: var(--steel-deep); }
.button.wide { width: 100%; text-align: center; }

/* ── HERO stacked-banner : bandeau steel plein largeur + carte form a droite ─ */
.hero { background: var(--steel-deep); }
.hero-banner { position: relative; overflow: hidden; background: linear-gradient(160deg, #12424f 0%, #1a5b6e 55%, #1f6f8b 100%); }
/* Anomalie #1 : la courbe de trajectoire descendante qui traverse le bandeau */
.hero-curve { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero-curve polyline { stroke: rgba(200,133,26,.5); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-banner-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem) var(--gutter) clamp(1.8rem, 4vw, 2.8rem); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.hero-banner-inner .breadcrumb { color: #b8ccd3; margin-top: 0; }
.hero-banner-inner .breadcrumb a { color: #d7e4e8; }
.hero-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); margin: 0 0 .6rem; }
.hero-banner-inner h1 { color: #fff; margin-bottom: .7rem; max-width: 17ch; }
.hero-copy { font-size: 1.04rem; color: #dde8eb; max-width: 56ch; }
.hero-banner-inner .hero-copy { color: #dde8eb; margin-bottom: 0; }
.hero-cite { font-size: .95rem; color: #e6eef1; border-left: 3px solid var(--amber); padding: .2rem 0 .2rem .8rem; margin: 1rem 0 0; }
.hero-cite a { color: #fff; }
.aff-line { font-size: .82rem; }
.hero-banner-inner .aff-line { color: #c4d4d9; margin: .9rem 0 0; }
.hero-banner-inner .aff-line strong { color: #fff; }
.hero-aside { min-width: 0; }

/* Stats hero en mini-bento (anomalie #2 : la grosse tuile -40% deborde) */
.hero-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .7rem; margin-top: 1.3rem; }
.hstat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: .85rem .95rem; }
.hstat b { font-family: var(--font-head); font-weight: 800; display: block; font-size: 1.4rem; color: #fff; line-height: 1; }
.hstat span { font-size: .73rem; color: #c4d4d9; display: block; margin-top: .35rem; }
.hstat-big { background: rgba(200,133,26,.16); border-color: rgba(200,133,26,.42); }
.hstat-big b { font-size: clamp(2rem, 4.5vw, 2.7rem); color: var(--amber); }

/* CARTE FORM (soft, ombre douce) : posee sur fond clair dans le bandeau */
.form-card { position: relative; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.35rem; box-shadow: var(--shadow); }
.form-card-tab { display: inline-block; background: var(--steel); color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; margin-bottom: .6rem; }
.form-card-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin: .1rem 0 .15rem; }
.form-card-note { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; }
.lead-band .form-card { margin-top: 0; }

/* ── Form ────────────────────────────────────────────────────────────────── */
.form { display: grid; gap: .65rem; }
.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: .65rem; }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: .58rem .65rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--paper-2); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.form-step2 { margin-top: .15rem; }
.form-step2 > summary { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--steel-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: .55rem; }
.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; }
.consent input { width: auto; margin-top: .15rem; flex-shrink: 0; }
.reassurance { font-size: .8rem; color: var(--ink-3); margin: 0; }

/* ── Module signature : TrajectoireTertiaire ─────────────────────────────── */
.traj-grid { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "tool curve" "tool operat"; gap: 1.1rem; align-items: stretch; }
.traj-tool { grid-area: tool; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.traj-curve { grid-area: curve; background: var(--steel-deep); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.traj-operat { grid-area: operat; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.traj-q { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin: 0 0 .8rem; color: inherit; }
.traj-curve .traj-q { color: #fff; }
.traj-fields { display: grid; gap: .8rem; }
.traj-fields label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); }
.traj-fields select { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: .95rem; padding: .55rem .6rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper-2); }
.traj-out { margin-top: auto; padding-top: 1.1rem; }
.traj-out strong { font-family: var(--font-head); font-size: 1.02rem; display: block; margin-bottom: .25rem; }
.traj-out span { font-size: .9rem; color: var(--ink-2); }
.traj-out.assuj-yes strong { color: var(--steel-2); }
.traj-out.assuj-no strong { color: var(--ink-2); }
/* La courbe SVG */
.traj-svg { width: 100%; height: 90px; display: block; margin: .2rem 0 .6rem; }
.traj-line { stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.traj-dot { fill: #fff; stroke: var(--amber); stroke-width: 2; }
.traj-paliers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.traj-paliers li { text-align: center; }
.traj-paliers b { font-family: var(--font-head); font-weight: 800; display: block; font-size: 1.15rem; color: var(--amber); }
.traj-paliers li:first-child b { color: #cfe0e5; font-size: .95rem; }
.traj-paliers span { font-size: .68rem; color: #b8ccd3; }
.operat-steps { counter-reset: ostep; list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.operat-steps li { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: .7rem; align-items: start; }
.operat-steps li::before { counter-increment: ostep; content: counter(ostep); font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--steel); background: var(--steel-soft); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.operat-step-body { min-width: 0; }
.operat-steps strong { font-family: var(--font-head); display: block; font-size: .92rem; }
.operat-steps span { display: block; font-size: .82rem; color: var(--ink-2); }
.traj-note { font-size: .82rem; color: var(--ink-3); margin: 1.1rem 0 0; max-width: 78ch; }

/* ── bento args (pourquoi nous) : tuiles inegales ────────────────────────── */
.bento-args { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bento-arg { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: var(--shadow-sm); }
.bento-arg:first-child { grid-column: span 2; background: var(--steel-soft); border-color: #bcd6df; }
.bento-arg strong { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: .35rem; }
.bento-arg p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ── Methodologie 5 etapes (numerotee par index reel, pas de spine codee) ── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.steps .step { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; padding: 1rem 1.1rem; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); align-items: start; box-shadow: var(--shadow-sm); }
.steps .step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--steel); line-height: 1; }
.steps .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
.steps .step strong { font-family: var(--font-head); display: block; font-size: 1.02rem; margin-bottom: .15rem; }
.steps .step span { color: var(--ink-2); font-size: .92rem; }

/* ── PrixBox (sheet, soft) ───────────────────────────────────────────────── */
.prixbox { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.prixbox .lead { margin-top: 0; }
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; font-size: .92rem; }
.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(--steel); background: var(--steel-soft); color: var(--ink); }
.sheet tbody tr:last-child td { border-bottom: 0; }
.sheet th[scope=row] { font-family: var(--font-head); font-weight: 700; color: var(--ink); background: var(--paper-3); }
.sheet-hint { font-size: .76rem; color: var(--ink-3); margin-top: .4rem; }
.sim-note { font-size: .8rem; color: var(--ink-3); margin-top: .9rem; }

/* ── SourceBox ───────────────────────────────────────────────────────────── */
.source-box { background: var(--paper-2); border: 1px solid var(--line-2); border-left: 4px solid var(--steel); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 0; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.source-box strong { display: block; font-family: var(--font-head); margin-bottom: .25rem; color: var(--ink); }
.aff-line strong { color: var(--ink-2); }
section.section > .source-box { max-width: var(--maxw); }

/* ── GEO box (paragraphe-reponse citable) ────────────────────────────────── */
.geo-box { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.geo-box p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ── Photo-band duotone ──────────────────────────────────────────────────── */
.photo-band { position: relative; background: linear-gradient(125deg, #12424f 0%, #1f6f8b 100%); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0, rgba(200,133,26,.18), transparent 55%); }
.photo-band .photo-band-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: clamp(2rem,5vw,3.2rem) var(--gutter); position: relative; z-index: 1; color: #fff; }
.photo-band h2, .photo-band p { color: #fff; }
.photo-band p { color: #e0ebef; max-width: 56ch; }

/* ── Trust badges / certs : rangee compacte EQUILIBREE 2x2, zero clip ────── */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.certs li { font-family: var(--font-head); font-weight: 600; font-size: .76rem; line-height: 1.25; color: var(--ink-2); border: 1px solid var(--line-2); padding: .4rem .7rem; border-radius: 999px; background: var(--paper-2); white-space: normal; overflow-wrap: break-word; text-align: center; }

/* ── FAQ : panneau VISUELLEMENT DISTINCT des blocs de liens ──────────────── */
.faq-section .faq-panel { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.1rem) clamp(1.3rem, 3vw, 2.1rem) clamp(.6rem, 1.5vw, 1rem); box-shadow: var(--shadow); }
.faq-section .faq-panel > h2 { margin-top: 0; }
.faq-eyebrow { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-2); display: block; margin-bottom: .3rem; }
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: .15rem 0; }
.faq details:first-child { border-top: 0; }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 1rem; 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: .72rem; font-size: 1.3rem; color: var(--steel); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1rem; color: var(--ink-2); margin: 0; max-width: 72ch; }

/* ── Prose block (filles / guides) ───────────────────────────────────────── */
.prose-block { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.3rem,3vw,2rem); box-shadow: var(--shadow-sm); }
.prose-block h2 { margin-top: 0; }
.prose-block p { color: var(--ink-2); }
.prose-block p:last-child { margin-bottom: 0; }

/* ── 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: 0; }
.link-list a:hover { color: var(--steel-2); padding-left: .4rem; }
.link-list a::before { content: "→ "; color: var(--steel); }

/* ── col-pair : appairage des sections soeurs courtes (2-up desktop) ─────── */
.col-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); align-items: start; }
.col-group h2 { margin: 0 0 .3rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
/* 3e bloc seul d'une grille 2-up : centre, largeur d'une colonne */
.col-pair > .col-group:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - clamp(2rem, 5vw, 4rem)) / 2); justify-self: center; }

/* Section form de fin de page (non-business) : copy a gauche, form a droite */
.lead-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.lead-band-copy h2 { margin-top: 0; }

/* ── CTA next-step ───────────────────────────────────────────────────────── */
.cta-next { background: var(--steel-deep); color: #e6eef1; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.cta-next h2 { color: #fff; }
.cta-next .lead { color: #cfe0e5; }
.cta-next-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.cta-band { color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--paper-2); box-shadow: var(--shadow-sm); margin-top: 1.4rem; }
.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.8rem,4vw,2.6rem) var(--gutter); }
.article-head { max-width: 780px; }
.article-head h1 { color: var(--ink); }
.article-head .hero-copy { color: var(--ink-2); }
.article-head .aff-line { color: var(--ink-3); }
.article-head .aff-line strong { color: var(--ink-2); }
.breadcrumb { font-size: .84rem; color: var(--ink-3); margin: .4rem 0; }
.breadcrumb a { color: var(--ink-3); }

/* ── Footer : UN SEUL etage pleine largeur ───────────────────────────────── */
.cert-band { background: var(--ink); color: #b9c5cd; }
.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: 1px solid var(--line-2); }
.foot-cols { padding: clamp(1.6rem,2.6vw,2.2rem) clamp(1.2rem,4vw,3rem) 1.1rem; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 1.4rem 2rem; align-items: start; }
.foot-col strong { font-family: var(--font-head); font-size: .92rem; display: block; margin-bottom: .6rem; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.foot-col a { font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--steel-2); }
.foot-brandblock { max-width: 32rem; }
.foot-brandblock p { font-size: .85rem; color: var(--ink-2); margin: 0 0 .45rem; }
.foot-mail { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.foot-mail:hover { color: var(--steel-2); }
.foot-bottom { padding: .8rem clamp(1.2rem,4vw,3rem) 1.3rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; font-size: .82rem; color: var(--ink-3); }
.foot-bottom a { color: var(--ink-3); }
@media (max-width: 940px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

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

/* ── Consent banner ──────────────────────────────────────────────────────── */
.consent-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: #e6eef1; 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 : tablette ───────────────────────────────────────────────── */
/* Bascule alignée (G30) : burger, header-mail ET reorg du bandeau hero
   basculent TOUS au meme breakpoint (1080) pour eviter une bande morte. */
@media (max-width: 1080px) {
  .nav, .header-mail { display: none; }
  .nav-burger { display: flex; }
  .site-header { gap: .6rem; }
  .header-cta { margin-left: auto; padding: .5rem .9rem; font-size: .86rem; }
  .nav.nav-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line-2); padding: .5rem var(--gutter) 1rem; gap: 0; box-shadow: var(--shadow); }
  .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; box-shadow: none; }
  .nav.nav-open .nav-toggle::after { content: ""; }
  /* Bandeau hero en une colonne : on reordonne pour garder le form ATF.
     Ordre : eyebrow+H1 -> form -> sous-titre + stats (sub passe SOUS le form). */
  .hero-banner-inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero-lead { display: contents; }
  .hero-lead .breadcrumb { order: 1; }
  .hero-eyebrow { order: 2; }
  .hero-lead h1 { order: 3; margin-bottom: .2rem; }
  .hero-aside { order: 4; }
  .hero-copy { order: 5; margin-top: .4rem; }
  .hero-stats { order: 6; grid-template-columns: 1.3fr 1fr 1fr; margin-top: .4rem; }
  .hero-lead .aff-line { order: 6; }
  .hero-cite { order: 6; }
}
@media (max-width: 920px) {
  .traj-grid { grid-template-columns: 1fr; grid-template-areas: "tool" "curve" "operat"; }
  .bento-args { grid-template-columns: 1fr 1fr; }
  .bento-arg:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lead-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  /* RESET RESPONSIVE COMPLET : annuler TOUTES les props surchargees du 3e bloc seul */
  .col-pair { grid-template-columns: 1fr; gap: 1.8rem; }
  .col-pair > .col-group:last-child:nth-child(odd) { width: auto; justify-self: stretch; grid-column: auto; }
  .bento-args { grid-template-columns: 1fr; }
  .bento-arg:first-child { grid-column: auto; }
  .steps .step:last-child:nth-child(odd) { grid-column: auto; }
  .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: 1px solid var(--line-2); }
  .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 + form serres pour garder le submit ATF */
  .hero-banner-inner { padding: .8rem var(--gutter) 1.2rem; gap: .8rem; }
  .hero-banner-inner h1 { font-size: clamp(1.3rem, 5.4vw, 1.6rem); line-height: 1.1; margin-bottom: .1rem; }
  .hero-banner-inner .hero-lead .breadcrumb { margin: 0 0 .15rem; }
  .hero-eyebrow { margin: 0 0 .25rem; font-size: .74rem; }
  .hero-copy { font-size: .95rem; }
  .form-card { padding: .85rem .95rem 1rem; }
  .form-card-tab { margin-bottom: .45rem; padding: .28rem .7rem; font-size: .72rem; }
  .form-card-title { font-size: 1rem; margin-bottom: .08rem; }
  .form-card-note { margin-bottom: .6rem; font-size: .79rem; }
  .form { gap: .4rem; }
  .form input, .form select, .form textarea { padding: .48rem .55rem; }
  .form .row2 { gap: .48rem; }
  .form .row2 label { font-size: .75rem; min-width: 0; }
  .form-step2 > summary { padding: .3rem 0; }
  .form-card .button.wide { scroll-margin-bottom: 60px; padding: .7rem; }
  .form-card .consent { font-size: .75rem !important; }
  .form-card .reassurance { font-size: .73rem; }
  .certs { grid-template-columns: 1fr 1fr; }
  .sheet { min-width: 560px; }
  .traj-paliers b { font-size: 1rem; }
  /* Tables denses -> cards CSS-only (cf pattern parc) */
  .sheet-confusions { min-width: 0; }
  .sheet-confusions thead { position: absolute; left: -9999px; }
  .sheet-confusions, .sheet-confusions tbody, .sheet-confusions tr, .sheet-confusions td, .sheet-confusions th { display: block; width: 100%; }
  .sheet-confusions tr { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius); margin-bottom: .9rem; padding: .3rem .9rem .7rem; box-shadow: var(--shadow-sm); }
  .sheet-confusions th[scope=row] { background: var(--steel-soft); margin: 0 -.9rem .4rem; padding: .6rem .9rem; border-radius: 0; font-size: 1.02rem; border: 0; }
  .sheet-confusions td { border: 0; border-bottom: 1px solid var(--line); padding: .55rem 0 .55rem 42%; position: relative; text-align: right; }
  .sheet-confusions td:last-child { border-bottom: 0; }
  .sheet-confusions td::before { content: attr(data-label); position: absolute; left: 0; top: .55rem; width: 40%; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--ink-2); }
}
@media (max-width: 420px) {
  .traj-paliers { grid-template-columns: 1fr 1fr; gap: .5rem .8rem; }
}
