/* ════════════════════════════════════════════════════════════════════════════
   Axydiag — Nouvelle direction artistique (accueil), mobile-first
   Palette et structure extraites de docs/Axydiag-pistes-design-1.pdf
   Chargée uniquement par index.html — n'affecte pas dashboard.html.
   Base = mobile. Améliorations progressives via min-width (640px, 1024px).
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --pine-950: #1e3209;
  --pine-900: #23380d;
  --pine-800: #2a4412;
  --pine-700: #2f4d16;
  --pine-600: #2f5a10;
  --pine-500: #3a6b16;
  --gold-500: #c9a35a;
  --gold-600: #b48f47;
  --cream-50: #f6f9f3;
  --cream-100: #f0f4ea;
  --mint-100: #eaf2e1;
  --ink-900: #1c2016;
  --ink-700: #45503f;
  --ink-500: #656e5e;
  --paper: #ffffff;
  --line-soft: #e7e9e1;
  --red-500: #dc2626;
  --font-home: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body { font-family: var(--font-home); color: var(--ink-900); background: var(--paper); overflow-x: hidden; }

/* ─── Layout helpers ──────────────────────────────────────────────────────── */
.h-wrap { max-width: 1280px; margin: 0 auto; padding: 0 1.15rem; }
.h-section { padding: 3.25rem 0; }
.h-section-cream { background: var(--cream-50); }
.h-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--pine-600); margin: 0 0 .5rem; }
.h-title { font-size: 1.55rem; font-weight: 800; line-height: 1.22; color: var(--ink-900); margin: 0 0 .65rem; letter-spacing: -.01em; }
.h-title-lg { font-size: 1.85rem; line-height: 1.2; }
.h-subtitle { font-size: .98rem; line-height: 1.6; color: var(--ink-500); margin: 0; max-width: 40rem; }
.h-head-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.h-link { font-size: .88rem; font-weight: 700; color: var(--pine-600); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.h-link svg { width: 14px; height: 14px; }
.h-link:hover { color: var(--pine-800); }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.h-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.h-header .nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.15rem; height: 3.75rem; display: flex; align-items: center; justify-content: space-between; }
.h-logo { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
.h-logo-full { width: auto; height: 24px; object-fit: contain; flex-shrink: 0; }
.h-header .nav-links { display: none; }
.h-header .nav-links a { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); transition: color .2s; }
.h-header .nav-links a:hover { color: #fff; }
.h-nav-cta { background: var(--gold-500); color: var(--pine-900); font-weight: 700; font-size: .84rem; padding: .6rem 1.05rem; border-radius: .6rem; transition: background .2s, transform .2s; display: inline-block; white-space: nowrap; }
.h-nav-cta:hover { background: var(--gold-600); transform: translateY(-1px); }
.nav-cta-wrap { display: none; }

.h-header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.h-header.scrolled .h-logo { color: var(--ink-900); }
.h-header.scrolled .nav-links a { color: var(--ink-700); }
.h-header.scrolled .nav-links a:hover { color: var(--pine-700); }

.h-menu-btn { display: inline-flex; background: none; border: none; cursor: pointer; color: #fff; padding: .4rem; }
.h-header.scrolled .h-menu-btn { color: var(--ink-900); }
.h-menu-btn svg { width: 22px; height: 22px; }
.h-mobile-menu { background: var(--pine-900); border-top: 1px solid rgba(255,255,255,.12); }
.h-mobile-menu nav { display: flex; flex-direction: column; padding: .85rem 1.15rem 1.25rem; gap: .2rem; }
.h-mobile-menu a { color: rgba(255,255,255,.9); font-weight: 600; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.h-mobile-menu .h-nav-cta { margin-top: .85rem; text-align: center; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.h-hero { background: linear-gradient(135deg, #223610 0%, #2c4713 50%, #345518 100%); padding: 6rem 0 0; position: relative; }
.h-hero-copy { text-align: center; max-width: 44rem; margin: 0 auto 1.75rem; }
.h-hero-badge { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 .85rem; line-height: 1.4; }
.h-hero-title { font-size: 1.85rem; line-height: 1.18; font-weight: 800; color: #faf7ee; margin: 0 0 .85rem; letter-spacing: -.01em; }
.h-hero-subtitle { font-size: .95rem; line-height: 1.55; color: #d7e0cc; margin: 0; }

/* ─── Assistant de devis (wizard intégré) ─────────────────────────────────── */
.h-quote-card { background: var(--paper); border-radius: 1.25rem; box-shadow: 0 30px 60px -20px rgba(12,20,5,.5), 0 10px 25px -10px rgba(12,20,5,.35); max-width: 50rem; margin: 0 auto; padding: 1.35rem 1.15rem 1.5rem; position: relative; }

.h-wizard-stepper { display: flex; align-items: center; margin-bottom: 1.1rem; }
.h-wizard-dot { width: 22px; height: 22px; border-radius: 999px; background: var(--cream-50); border: 2px solid var(--line-soft); color: var(--ink-500); font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, border-color .2s, color .2s, transform .15s; cursor: default; }
.h-wizard-dot svg { width: 11px; height: 11px; display: none; }
.h-wizard-line { flex: 1; height: 2px; background: var(--line-soft); margin: 0 3px; transition: background .25s; min-width: 8px; }
.h-wizard-dot.active { background: var(--pine-900); border-color: var(--pine-900); color: #fff; }
.h-wizard-dot.done { background: var(--pine-600); border-color: var(--pine-600); color: #fff; }
.h-wizard-dot.done svg { display: block; }
.h-wizard-dot.done span { display: none; }
.h-wizard-line.done { background: var(--pine-600); }
.h-wizard-dot.reachable { cursor: pointer; }
.h-wizard-dot.reachable:hover { transform: scale(1.12); border-color: var(--pine-700); }
.h-wizard-dot.reachable.active:hover, .h-wizard-dot.reachable.done:hover { border-color: var(--gold-500); }

.h-checkbox-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: .25rem 0 1rem; }
.h-checkbox-row .h-checkline { margin-bottom: 0; font-weight: 600; color: var(--ink-900); }

/* Case à cocher personnalisée — même style partout (annexes, CGU, diagnostics) */
.h-checkline input[type=checkbox],
.h-diag-row input[type=checkbox] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 7px;
  border: 1.75px solid var(--line-soft);
  background: var(--paper);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .1s ease, box-shadow .16s ease;
}
.h-checkline input[type=checkbox]:hover,
.h-diag-row input[type=checkbox]:hover { border-color: var(--pine-500); }
.h-checkline input[type=checkbox]:checked,
.h-diag-row input[type=checkbox]:checked {
  background: var(--pine-700);
  border-color: var(--pine-700);
  box-shadow: 0 3px 8px -2px rgba(47,77,22,.45);
}
.h-checkline input[type=checkbox]:checked::after,
.h-diag-row input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.h-checkline input[type=checkbox]:active,
.h-diag-row input[type=checkbox]:active { transform: scale(.88); }
.h-checkline input[type=checkbox]:focus-visible,
.h-diag-row input[type=checkbox]:focus-visible { outline: 2px solid var(--pine-500); outline-offset: 2px; }

.h-wizard-title { font-size: 1.2rem; font-weight: 800; color: var(--ink-900); margin: 0 0 .3rem; line-height: 1.25; }
.h-wizard-subtitle { font-size: .87rem; line-height: 1.5; color: var(--ink-500); margin: 0 0 1.25rem; }

.h-wizard-panel { animation: hwEnter .3s ease-out; }
@keyframes hwEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Grille de champs compacts (selects/inputs) — 2 colonnes dès le mobile,
   jusqu'à 3-4 sur desktop, pour tenir plusieurs champs sur une même ligne. */
.h-field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.h-field-grid .h-field { margin-bottom: 0; }

/* Champs de formulaire */
.h-field { margin-bottom: 1rem; }
.h-field:last-child { margin-bottom: 0; }
.h-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-700); margin-bottom: .4rem; }
.h-field select, .h-field input, .h-field textarea { width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink-900); background: var(--cream-50); border: 1px solid var(--line-soft); border-radius: .65rem; padding: .75rem .85rem; appearance: none; transition: border-color .2s ease, background .2s ease; }
.h-field select:hover, .h-field input:hover, .h-field textarea:hover { border-color: var(--pine-500); }
.h-field select:focus, .h-field input:focus, .h-field textarea:focus { outline: none; border-color: var(--pine-600); background: var(--paper); }
.h-field input::placeholder, .h-field textarea::placeholder { color: #a3ad99; }
.h-field.error input, .h-field.error select { border-color: var(--red-500); }
.h-field-error { font-size: .78rem; color: var(--red-500); margin: .35rem 0 0; }
.h-field.select-wrap { position: relative; }
.h-field.select-wrap::after { content: ''; position: absolute; right: 1rem; top: 2.5rem; width: 8px; height: 8px; border-right: 2px solid var(--ink-500); border-bottom: 2px solid var(--ink-500); transform: rotate(45deg); pointer-events: none; }
.h-field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.h-checkline { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--ink-700); line-height: 1.5; margin-bottom: .75rem; cursor: pointer; }
.h-checkline input[type=checkbox] { margin-top: .2rem; }

.h-surface-hint { margin-top: .85rem; background: var(--mint-100); color: var(--pine-800); font-size: .85rem; font-weight: 600; padding: .7rem .9rem; border-radius: .65rem; }
.h-inline-note { display: flex; gap: .55rem; align-items: flex-start; background: #fbf2df; border: 1px solid #ecd6a3; color: #7a5a1e; font-size: .85rem; font-weight: 600; line-height: 1.5; padding: .8rem 1rem; border-radius: .75rem; margin-top: .85rem; }
.h-inline-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .05rem; color: var(--gold-600); }

/* ─── Modales (remplacent alert()/confirm() natifs) ──────────────────────── */
.h-modal-overlay { position: fixed; inset: 0; background: rgba(20,28,10,.55); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 1.25rem; animation: hmFade .15s ease-out; }
@keyframes hmFade { from { opacity: 0; } to { opacity: 1; } }
.h-modal { background: var(--paper); border-radius: 1.1rem; padding: 1.5rem; max-width: 24rem; width: 100%; box-shadow: 0 30px 70px rgba(10,15,5,.4); animation: hmPop .18s ease-out; }
@keyframes hmPop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.h-modal-icon { width: 42px; height: 42px; border-radius: 999px; background: var(--mint-100); color: var(--pine-700); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.h-modal-icon svg { width: 20px; height: 20px; }
.h-modal-icon.warn { background: #fbf2df; color: var(--gold-600); }
.h-modal-icon.error { background: #fdecec; color: #c0392b; }
.h-modal-msg { font-size: .92rem; color: var(--ink-700); line-height: 1.55; margin: 0 0 1.35rem; }
.h-modal-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.h-modal-actions .h-btn-primary, .h-modal-actions .h-btn-outline { padding: .65rem 1.15rem; font-size: .87rem; }

/* Adresse — autocomplétion */
.h-autocomplete { position: relative; }
.h-autocomplete-box { position: absolute; top: calc(100% + .3rem); left: 0; right: 0; background: var(--paper); border: 1px solid var(--line-soft); border-radius: .75rem; box-shadow: 0 12px 30px rgba(0,0,0,.12); z-index: 5; overflow: hidden; max-height: 14rem; overflow-y: auto; }
.h-autocomplete-item { display: block; width: 100%; text-align: left; padding: .7rem .9rem; font-size: .85rem; color: var(--ink-700); background: none; border: none; border-bottom: 1px solid var(--line-soft); cursor: pointer; font-family: inherit; }
.h-autocomplete-item:last-child { border-bottom: none; }
.h-autocomplete-item:hover { background: var(--cream-50); }

/* Devis — récapitulatif diagnostics */
.h-price-box { background: linear-gradient(135deg, var(--pine-900), var(--pine-700)); border-radius: 1rem; padding: 1.35rem; text-align: center; margin-bottom: 1.1rem; }
.h-price-total { font-size: 2.1rem; font-weight: 900; color: #fff; margin: 0; }
.h-price-meta { font-size: .82rem; color: #d7e8c5; margin: .35rem 0 0; }
.h-price-guarantee { display: flex; align-items: center; gap: .55rem; background: var(--mint-100); color: var(--pine-800); font-size: .8rem; font-weight: 600; line-height: 1.4; padding: .7rem .9rem; border-radius: .7rem; margin: -.4rem 0 1.1rem; }
.h-price-guarantee svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--pine-600); }
.h-diag-list { border: 1px solid var(--line-soft); border-radius: .9rem; overflow: hidden; }
.h-diag-row { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem .9rem; border-bottom: 1px solid var(--line-soft); background: var(--paper); transition: background .15s; }
.h-diag-row:last-child { border-bottom: none; }
.h-diag-row.disabled { background: var(--cream-50); opacity: .6; }
.h-diag-row input[type=checkbox] { margin-top: .1rem; }
.h-diag-info { flex: 1; min-width: 0; }
.h-diag-info strong { display: block; font-size: .87rem; font-weight: 700; color: var(--ink-900); }
.h-diag-info span { font-size: .76rem; color: var(--ink-500); }
.h-diag-price-col { text-align: right; flex-shrink: 0; }
.h-diag-price-col .price { display: block; font-size: .8rem; font-weight: 700; color: var(--pine-600); }
.h-diag-price-col .badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.h-diag-price-col .badge.optional { color: var(--gold-600); }
.h-payment-note { font-size: .78rem; color: var(--ink-500); text-align: center; margin: 1rem 0 0; }

/* Créneaux RDV */
.h-slot-block { border: 1px solid var(--line-soft); border-radius: .85rem; padding: .9rem; margin-bottom: .85rem; }
.h-slot-block:last-child { margin-bottom: 0; }
.h-slot-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.h-slot-title { font-size: .85rem; font-weight: 700; color: var(--ink-900); }
.h-slot-title .req { color: var(--red-500); }
.h-slot-title .opt { color: var(--ink-500); font-weight: 500; }
.h-slot-clear { background: none; border: none; color: var(--ink-500); cursor: pointer; font-size: .9rem; padding: .2rem; }
.h-slot-fields { display: grid; grid-template-columns: 1fr; gap: .6rem; }

/* Actions bas de wizard */
.h-wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.h-btn-back { background: none; border: none; color: var(--ink-700); font-weight: 700; font-size: .88rem; padding: .7rem .5rem; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: .35rem; }
.h-btn-back svg { width: 15px; height: 15px; }
.h-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--pine-900); color: #fff; font-weight: 700; font-size: .9rem; padding: .8rem 1.35rem; border-radius: .7rem; border: none; cursor: pointer; transition: background .2s, transform .2s; white-space: nowrap; font-family: inherit; }
.h-btn-primary:hover { background: var(--pine-950); transform: translateY(-1px); }
.h-btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.h-btn-primary svg { width: 15px; height: 15px; }
.h-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: none; color: var(--pine-800); font-weight: 700; font-size: .87rem; padding: .75rem 1.2rem; border-radius: .7rem; border: 1.5px solid var(--line-soft); cursor: pointer; font-family: inherit; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.h-btn-outline:hover { border-color: var(--pine-600); background: var(--mint-100); transform: translateY(-1px); }
.h-btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--gold-500); color: var(--pine-900); font-weight: 700; font-size: .9rem; padding: .85rem 1.5rem; border-radius: .7rem; border: none; cursor: pointer; font-family: inherit; transition: background .2s, transform .2s; white-space: nowrap; }
.h-btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.h-wizard-actions-stack { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.h-wizard-actions-stack .h-btn-primary, .h-wizard-actions-stack .h-btn-outline { width: 100%; }

/* Confirmation */
.h-confirm { text-align: center; }
.h-confirm-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--mint-100); color: var(--pine-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.h-confirm-icon svg { width: 26px; height: 26px; }
.h-confirm-recap { text-align: left; background: var(--cream-50); border-radius: .9rem; padding: 1rem; margin: 1.25rem 0; font-size: .87rem; }
.h-confirm-recap p { margin: 0 0 .35rem; color: var(--ink-700); }
.h-confirm-recap p:last-child { margin-bottom: 0; }
.h-confirm-recap .label { color: var(--ink-500); margin-right: .3rem; }
.h-confirm-total { display: flex; align-items: center; justify-content: space-between; padding-top: .6rem; margin-top: .6rem; border-top: 1px solid var(--line-soft); font-weight: 800; color: var(--ink-900); }

/* Bandeau erreur générique */
.h-form-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: .85rem; padding: .75rem .9rem; border-radius: .65rem; margin-bottom: 1rem; }

/* ─── Stats bar ───────────────────────────────────────────────────────────── */
.h-stats-outer { background: var(--cream-50); padding: 2rem 1.15rem; margin-top: 2rem; }
.h-stats { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--paper); }
.h-stat { text-align: center; padding: 1.1rem .5rem; border-bottom: 1px solid var(--line-soft); }
.h-stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.h-stat strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--ink-900); }
.h-stat span { font-size: .78rem; color: var(--ink-500); }

/* ─── Diagnostics grid ────────────────────────────────────────────────────── */
.h-diag-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.h-diag-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 1.1rem; padding: 1.35rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.h-diag-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(20,30,10,.28); border-color: var(--pine-500); }
.h-diag-icon { width: 42px; height: 42px; border-radius: .75rem; background: var(--mint-100); display: flex; align-items: center; justify-content: center; color: var(--pine-700); margin-bottom: .9rem; }
.h-diag-icon svg { width: 20px; height: 20px; }
.h-diag-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 .35rem; color: var(--ink-900); }
.h-diag-card p { font-size: .88rem; line-height: 1.5; color: var(--ink-500); margin: 0; }

.h-also { margin-top: 1.5rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-500); }
.h-tag { background: var(--cream-50); border: 1px solid var(--line-soft); color: var(--ink-700); font-size: .82rem; font-weight: 600; padding: .45rem .85rem; border-radius: .6rem; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.h-tag:hover { background: var(--mint-100); border-color: var(--pine-500); transform: translateY(-2px); }

/* ─── Pourquoi Axydiag ────────────────────────────────────────────────────── */
.h-check-grid { display: grid; grid-template-columns: 1fr; gap: 1.35rem; }
.h-check-item { display: flex; gap: .75rem; }
.h-check-item svg { width: 18px; height: 18px; color: var(--pine-600); flex-shrink: 0; margin-top: .2rem; }
.h-check-item strong { display: block; font-size: .96rem; font-weight: 800; color: var(--ink-900); margin-bottom: .15rem; }
.h-check-item p { margin: 0; font-size: .86rem; color: var(--ink-500); line-height: 1.5; }

/* ─── Comment ça marche ───────────────────────────────────────────────────── */
.h-steps-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.h-step-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 1.1rem; padding: 1.35rem; transition: transform .25s ease, box-shadow .25s ease; }
.h-step-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(20,30,10,.28); }
.h-step-num { width: 30px; height: 30px; border-radius: .55rem; background: var(--pine-800); color: #fff; font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.h-step-card h3 { font-size: .98rem; font-weight: 800; margin: 0 0 .3rem; color: var(--ink-900); }
.h-step-card p { font-size: .87rem; line-height: 1.5; color: var(--ink-500); margin: 0; }

/* ─── Zone d'intervention ─────────────────────────────────────────────────── */
.h-zone-text { font-size: .92rem; line-height: 1.6; color: var(--ink-500); max-width: 42rem; margin: 0 0 1.35rem; }
.h-lead-text { font-size: .95rem; line-height: 1.7; color: var(--ink-700); max-width: 46rem; margin: .85rem 0 0; }
.h-lead-text a { color: var(--pine-700); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-soft); }
.h-lead-text a:hover { color: var(--pine-900); }
.h-dept-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.h-dept-tag { background: var(--paper); border: 1px solid var(--line-soft); color: var(--ink-900); font-size: .86rem; font-weight: 600; padding: .6rem .95rem; border-radius: .6rem; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.h-dept-tag:hover { background: var(--mint-100); border-color: var(--pine-500); transform: translateY(-2px); }

/* ─── FAQ (adaptée à la nouvelle direction) ───────────────────────────────── */
.h-faq-list { max-width: 48rem; margin: 0 auto; }
.h-faq-item { border-bottom: 1px solid var(--line-soft); }
.h-faq-item:first-child { border-top: 1px solid var(--line-soft); }
.h-faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .85rem; background: none; border: none; text-align: left; padding: 1.1rem .1rem; font-size: .92rem; font-weight: 700; color: var(--ink-900); cursor: pointer; font-family: inherit; transition: color .2s ease; }
.h-faq-btn:hover { color: var(--pine-700); }
.h-faq-btn svg { width: 17px; height: 17px; color: var(--pine-600); flex-shrink: 0; transition: transform .25s; }
.h-faq-item.open .h-faq-btn svg { transform: rotate(180deg); }
.h-faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.h-faq-item.open .h-faq-answer { max-height: 20rem; }
.h-faq-answer p { margin: 0 .1rem 1.1rem; font-size: .88rem; line-height: 1.6; color: var(--ink-500); }

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.h-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.h-contact-lead { font-size: .92rem; line-height: 1.6; color: var(--ink-500); margin: .6rem 0 1.5rem; max-width: 30rem; }
.h-contact-details { display: flex; flex-direction: column; gap: .9rem; }
.h-contact-detail { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: var(--ink-700); }
.h-contact-detail a { color: var(--ink-700); }
.h-contact-detail a:hover { color: var(--pine-700); }
.h-contact-detail svg { width: 18px; height: 18px; color: var(--pine-600); flex-shrink: 0; }
.h-contact-card { background: var(--paper); border-radius: 1.25rem; box-shadow: 0 20px 45px -18px rgba(15,25,5,.25); padding: 1.5rem; position: relative; }
.h-field-optional { font-weight: 400; color: var(--ink-500); text-transform: none; letter-spacing: 0; }
.h-field textarea { resize: vertical; min-height: 6rem; font-family: inherit; }
.h-btn-block { width: 100%; justify-content: center; }
.h-form-feedback { display: flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; line-height: 1.5; padding: .8rem .9rem; border-radius: .7rem; margin: 0 0 1rem; }
.h-form-feedback svg { width: 17px; height: 17px; flex-shrink: 0; }
.h-form-feedback.success { background: var(--mint-100); color: var(--pine-800); }
.h-form-feedback.success svg { color: var(--pine-600); }
.h-form-feedback.error { background: #fdecec; color: #a3382b; }
.h-form-feedback.error svg { color: #c0392b; }

/* ─── CTA banner ──────────────────────────────────────────────────────────── */
.h-cta { background: var(--pine-900); border-radius: 1.25rem; padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.h-cta h2 { font-size: 1.35rem; font-weight: 800; color: #faf7ee; margin: 0 0 .35rem; }
.h-cta p { font-size: .9rem; color: #cdd8c0; margin: 0; }
.h-cta .h-btn-gold { width: 100%; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.h-footer { background: var(--pine-950); padding: 2.5rem 0 0; }
.h-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
.h-footer-logo { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 800; color: #faf7ee; margin-bottom: .8rem; }
.h-footer-logo .h-logo-full { height: 26px; }
.h-footer-desc { font-size: .87rem; line-height: 1.55; color: #b9c6a8; max-width: 20rem; margin: 0; }
.h-footer-heading { font-size: .92rem; font-weight: 800; color: #faf7ee; margin: 0 0 .85rem; }
.h-footer-col p.contact-line { font-size: .87rem; color: #cdd8c0; margin: 0 0 .55rem; line-height: 1.5; }
.h-footer-col a.contact-line { display: block; font-size: .87rem; color: #cdd8c0; margin: 0 0 .55rem; }
.h-footer-col a.contact-line:hover { color: var(--gold-500); }
.h-footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.h-footer-nav a { font-size: .87rem; font-weight: 600; color: #d7e0cc; }
.h-footer-nav a:hover { color: var(--gold-500); }
.h-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .8rem; color: #93a582; }
.h-footer-bottom a { color: #93a582; }
.h-footer-bottom a:hover { color: var(--gold-500); }
.h-footer-bottom-links { display: flex; gap: 1rem; }

/* ════════════════════════════════════════════════════════════════════════════
   Breakpoints — améliorations progressives (tablette puis desktop)
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .h-field-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .h-field-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .h-slot-fields { grid-template-columns: 1fr 1fr; }
  .h-stats { grid-template-columns: repeat(4, 1fr); }
  .h-stat { border-bottom: none; }
  .h-stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .h-stat:not(:last-child) { border-right: 1px solid var(--line-soft); }
  .h-diag-grid { grid-template-columns: repeat(2, 1fr); }
  .h-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .h-check-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
  .h-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.25rem 2.5rem; }
  .h-cta .h-btn-gold { width: auto; }
  .h-footer-grid { grid-template-columns: 1fr 1fr; }
  .h-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 720px) {
  .h-title { font-size: 1.85rem; }
  .h-title-lg { font-size: 2.2rem; }
  .h-hero-title { font-size: 2.3rem; }
  .h-quote-card { padding: 2rem 2.25rem 2.25rem; max-width: 52rem; }
  .h-wizard-dot { width: 26px; height: 26px; font-size: .74rem; }
}

@media (min-width: 1024px) {
  .h-wrap { padding: 0 1.5rem; }
  .h-section { padding: 5rem 0; }
  .h-header .nav-inner { height: 4.5rem; padding: 0 1.5rem; }
  .h-header .nav-links { display: flex; align-items: center; gap: 2rem; }
  .nav-cta-wrap { display: block; }
  .h-menu-btn { display: none; }
  .h-logo { font-size: 1.15rem; }
  .h-logo-full { height: 30px; }

  .h-hero { padding: 9rem 0 0; }
  .h-hero-copy { max-width: 44rem; margin: 0 auto 3rem; }
  .h-hero-badge { font-size: .8rem; margin-bottom: 1.1rem; }
  .h-hero-title { font-size: 3rem; margin-bottom: 1.1rem; }
  .h-hero-subtitle { font-size: 1.1rem; }

  .h-quote-card { max-width: 56rem; top: 3rem; }
  .h-wizard-title { font-size: 1.4rem; }
  .h-wizard-subtitle { font-size: .92rem; margin-bottom: 1.75rem; }
  .h-diag-list { max-height: 22rem; overflow-y: auto; }

  .h-stats-outer { padding: 3.5rem 1.5rem; margin-top: 3.5rem; }

  .h-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
  .h-diag-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .h-diag-card { padding: 1.75rem; }

  .h-check-grid { gap: 1.75rem 3rem; }

  .h-contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
  .h-contact-card { padding: 2rem; }

  .h-cta { border-radius: 1.5rem; }
  .h-cta h2 { font-size: 1.7rem; }

  .h-footer { padding: 3.5rem 0 0; }
  .h-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
}

/* ─── Pages légales (CGV, mentions légales…) ─────────────────────────────── */
.h-legal-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.h-legal-header .nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.15rem; height: 3.75rem; display: flex; align-items: center; justify-content: space-between; }
.h-legal-header .h-logo { color: var(--ink-900); }
.h-legal-back-link { font-size: .87rem; font-weight: 700; color: var(--pine-700); display: inline-flex; align-items: center; gap: .35rem; }
.h-legal-back-link:hover { color: var(--pine-900); }
.h-legal-back-link svg { width: 15px; height: 15px; }

.h-legal-hero { background: var(--mint-100); padding: 8rem 0 2.5rem; text-align: center; }
.h-legal-hero .h-eyebrow { justify-content: center; }
.h-legal-hero h1 { font-size: 1.8rem; font-weight: 800; color: var(--ink-900); margin: 0 0 .6rem; letter-spacing: -.01em; }
.h-legal-hero p { font-size: .9rem; color: var(--ink-500); margin: 0; }
.h-legal-hero .h-legal-chapo { font-size: 1rem; line-height: 1.65; color: var(--ink-700); max-width: 42rem; margin: 1rem auto 0; }

.h-legal-wrap { max-width: 50rem; margin: 0 auto; padding: 3rem 1.15rem 5rem; }

.h-legal-toc { background: var(--cream-50); border: 1px solid var(--line-soft); border-radius: 1rem; padding: 1.25rem 1.5rem; margin-bottom: 3rem; }
.h-legal-toc p { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pine-600); margin: 0 0 .85rem; }
.h-legal-toc ol { columns: 1; margin: 0; padding-left: 1.1rem; }
.h-legal-toc li { font-size: .85rem; margin-bottom: .5rem; }
.h-legal-toc a { color: var(--ink-700); }
.h-legal-toc a:hover { color: var(--pine-700); }

.h-legal-article { padding: 1.75rem 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 5.5rem; }
.h-legal-article:first-of-type { border-top: none; padding-top: 0; }
.h-legal-article h2 { font-size: 1.05rem; font-weight: 800; color: var(--pine-800); margin: 0 0 .9rem; letter-spacing: -.005em; }
.h-legal-article h3 { font-size: .95rem; font-weight: 800; color: var(--ink-900); margin: 1.5rem 0 .6rem; }
.h-legal-article > h3:first-of-type { margin-top: 0; }
.h-legal-article p { font-size: .9rem; line-height: 1.75; color: var(--ink-700); margin: 0 0 1rem; }
.h-legal-article p:last-child { margin-bottom: 0; }
.h-legal-article ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.h-legal-article li { font-size: .9rem; line-height: 1.7; color: var(--ink-700); margin-bottom: .5rem; }
.h-legal-article strong { color: var(--ink-900); }
.h-legal-article a { color: var(--pine-700); text-decoration: underline; text-decoration-color: var(--line-soft); }
.h-legal-article a:hover { color: var(--pine-900); }

.h-legal-callout { background: #fbf2df; border: 1px solid #ecd6a3; color: #6b4f1c; font-size: .88rem; font-weight: 600; line-height: 1.65; padding: 1rem 1.15rem; border-radius: .85rem; margin: 0 0 1rem; }
.h-legal-callout strong { color: #52380f; }

.h-legal-cta { background: var(--mint-100); border-radius: 1rem; padding: 1.5rem; text-align: center; margin-top: 1rem; }
.h-legal-cta p { font-size: .95rem; font-weight: 600; color: var(--pine-800); margin: 0; }
.h-legal-cta a { color: var(--pine-900); font-weight: 800; text-decoration-color: var(--gold-500); }

.h-legal-table { width: 100%; border-collapse: collapse; font-size: .87rem; margin: 0 0 .5rem; }
.h-legal-table tr { border-bottom: 1px solid var(--line-soft); }
.h-legal-table tr:last-child { border-bottom: none; }
.h-legal-table th { text-align: left; font-weight: 700; color: var(--ink-900); padding: .65rem .9rem .65rem 0; width: 34%; vertical-align: top; white-space: nowrap; }
.h-legal-table td { text-align: left; color: var(--ink-700); padding: .65rem 0; line-height: 1.6; }

.h-legal-annex { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 1rem; padding: 1.5rem; margin-top: .5rem; }
.h-legal-annex p { margin: 0 0 .9rem; }
.h-legal-field { border-bottom: 1px dotted var(--ink-500); padding-bottom: .3rem; margin-bottom: 1rem; font-size: .9rem; color: var(--ink-500); }
.h-legal-field span { font-weight: 600; color: var(--ink-900); }

@media (min-width: 720px) {
  .h-legal-hero { padding: 9rem 0 3rem; }
  .h-legal-hero h1 { font-size: 2.2rem; }
  .h-legal-toc ol { columns: 2; column-gap: 2rem; }
  .h-legal-article h2 { font-size: 1.15rem; }
  .h-legal-table th { width: 26%; }
}

/* ─── Bouton flottant "Appeler" ──────────────────────────────────────────── */
.h-float-call {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--pine-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(30, 50, 9, .3);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.h-float-call:hover, .h-float-call:focus-visible { background: var(--pine-800); transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 26px rgba(30, 50, 9, .38); }
.h-float-call svg { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.h-float-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--gold-500);
  opacity: 0;
  pointer-events: none;
  animation: hFloatPulse 3.6s ease-out infinite;
}
@keyframes hFloatPulse {
  0%, 55% { opacity: 0; transform: scale(1); }
  70% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.6); }
}
.h-float-call-tip {
  position: absolute;
  right: calc(100% + .65rem);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--pine-900);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem .75rem;
  border-radius: .5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.h-float-call:hover .h-float-call-tip, .h-float-call:focus-visible .h-float-call-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 640px) {
  .h-float-call { right: .85rem; bottom: .85rem; width: 48px; height: 48px; }
  .h-float-call svg { width: 20px; height: 20px; }
  .h-float-call-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .h-float-call-ring { animation: none; }
}


/* ════════════════════════════════════════════════════════════════════════
   AJOUTS INTERACTIFS — à coller à la fin de assets/css/home.css
   Réutilise les tokens existants (--pine-*, --gold-*, --mint-100, --ink-*,
   --line-soft) donc s'intègre visuellement sans rien casser.
   ════════════════════════════════════════════════════════════════════════ */

/* ── 0. Info-bulle "durée de validité" sur les cartes et tags diagnostics ──
   S'applique à tout élément portant la classe .h-validite + un attribut
   data-validite="…". 100 % CSS, aucun JS. Ajoutez aussi tabindex="0" sur
   l'élément pour que l'info-bulle soit accessible au clavier.            */
.h-validite { position: relative; }
.h-validite::after {
  content: "Validité : " attr(data-validite);
  position: absolute; left: 1rem; right: 1rem; bottom: calc(100% - .9rem);
  background: var(--pine-950); color: #fff; text-align: left;
  font-size: .76rem; font-weight: 600; line-height: 1.45;
  padding: .55rem .7rem; border-radius: .6rem;
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; z-index: 8;
  box-shadow: 0 10px 26px -12px rgba(20,30,10,.6);
}
.h-validite:hover::after, .h-validite:focus-within::after { opacity: 1; visibility: visible; transform: translateY(0); }
/* variante pour les petits tags (.h-tag) */
.h-tag.h-validite::after { left: 0; right: auto; width: 15rem; bottom: calc(100% + .35rem); }

/* ── 1. Jauge DPE animée (section "Nos diagnostics") ──────────────────────── */
.h-dpe-widget { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 1.1rem; padding: 1.5rem; margin-top: 1.75rem; }
.h-dpe-widget-head h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink-900); margin: 0 0 .3rem; }
.h-dpe-widget-head p { font-size: .85rem; color: var(--ink-500); margin: 0 0 1.1rem; }
.h-dpe-body { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.h-dpe-gauge { flex: 1; min-width: 240px; }
.h-dpe-row { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: center; margin-bottom: .4rem; }
.h-dpe-letter { font-size: .72rem; font-weight: 800; color: #fff; text-align: center; border-radius: .35rem; padding: .25rem 0; }
.h-dpe-track { background: var(--cream-100); border-radius: .5rem; height: 22px; overflow: hidden; }
.h-dpe-bar { height: 100%; width: 0; border-radius: .5rem 0 0 .5rem; transition: width .9s cubic-bezier(.3,.9,.4,1); }
.h-dpe-a { background: #0f9d58; } .h-dpe-b { background: #4caf50; } .h-dpe-c { background: #a9c93f; }
.h-dpe-d { background: #f4d03f; } .h-dpe-e { background: #f0a13a; } .h-dpe-f { background: #e8703a; } .h-dpe-g { background: #d9483d; }
.h-dpe-result { flex: 0 0 200px; background: var(--mint-100); border-radius: 1rem; padding: 1.25rem; text-align: center; }
.h-dpe-big { font-size: 3.2rem; font-weight: 900; color: var(--pine-800); line-height: 1; }
.h-dpe-kwh { font-size: .76rem; color: var(--ink-500); margin-top: .55rem; line-height: 1.4; }
.h-dpe-kwh strong { color: var(--ink-900); font-size: .98rem; }
.h-dpe-note { font-size: .74rem; color: var(--ink-500); line-height: 1.5; margin: 1rem 0 0; }
.h-dpe-btns { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 1.1rem; }
.h-dpe-btn { border: 1.5px solid var(--line-soft); background: var(--paper); color: var(--ink-700); font-size: .8rem; font-weight: 800; min-width: 2.4rem; padding: .45rem .8rem; border-radius: 999px; cursor: pointer; font-family: inherit; transition: all .2s; }
.h-dpe-btn:hover { border-color: var(--pine-500); }
.h-dpe-btn.active { background: var(--pine-900); border-color: var(--pine-900); color: #fff; }

/* ── 2. Carte interactive (section "Zone d'intervention") ────────────────── */
.h-zone-map-wrap { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.h-zone-map-svg { flex: 1; min-width: 280px; max-width: 400px; }
.h-dept-shape { fill: var(--cream-100); stroke: var(--paper); stroke-width: 3; cursor: pointer; transition: fill .18s ease; }
.h-dept-shape:hover { fill: var(--mint-100); }
.h-dept-shape.active { fill: var(--gold-500); }
.h-dept-shape-label { font-size: 13px; font-weight: 800; fill: var(--pine-800); pointer-events: none; }
.h-zone-legend { font-size: .72rem; fill: var(--ink-500); font-weight: 600; letter-spacing: .04em; }
.h-zone-info { flex: 1; min-width: 220px; background: var(--mint-100); border-radius: 1rem; padding: 1.35rem; }
.h-zone-info .name { font-weight: 800; font-size: 1.1rem; color: var(--pine-800); margin-bottom: .4rem; }
.h-zone-info .meta { font-size: .85rem; color: var(--ink-700); line-height: 1.6; }
.h-zone-info .meta b { color: var(--ink-900); }
/* rend les pastilles .h-dept-tag existantes cliquables/actives */
.h-dept-tag { cursor: pointer; }
.h-dept-tag.active { background: var(--pine-900); border-color: var(--pine-900); color: #fff; }

/* ── 3. Compteurs animés (bandeau .h-stats) + parcours qui s'illumine ────── */
.h-step-card { transition: transform .25s ease, box-shadow .25s ease, background .3s ease, border-color .3s ease; }
.h-step-card.h-step-active { border-color: var(--pine-600); box-shadow: 0 18px 34px -18px rgba(20,30,10,.28); background: var(--mint-100); }

/* ── 4. Info-bulles jargon + carrousel d'avis ─────────────────────────────── */
.h-jargon { position: relative; border-bottom: 1.5px dotted var(--gold-600); cursor: help; font-weight: 700; color: var(--pine-700); }
.h-jargon::after {
  content: attr(data-tip);
  position: absolute; bottom: 130%; left: 0;
  background: var(--pine-950); color: #fff; font-weight: 400;
  font-size: .78rem; line-height: 1.5; padding: .6rem .75rem;
  border-radius: .6rem; width: 230px;
  opacity: 0; visibility: hidden; transition: opacity .15s ease; z-index: 6;
}
.h-jargon:hover::after { opacity: 1; visibility: visible; }

.h-review-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 1.1rem; padding: 1.35rem; transition: opacity .3s ease; max-width: 32rem; margin: 0 auto; }
.h-review-stars { color: var(--gold-600); font-size: .9rem; margin-bottom: .5rem; }
.h-review-card p { font-size: .88rem; line-height: 1.55; color: var(--ink-700); margin: 0 0 .6rem; }
.h-review-who { font-size: .78rem; color: var(--ink-500); font-weight: 700; }
.h-review-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.h-review-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line-soft); cursor: pointer; border: none; padding: 0; }
.h-review-dot.active { background: var(--pine-600); }

/* ════════════════════════════════════════════════════════════════════════
   STYLES DES PAGES DIAGNOSTICS — à coller à la fin de assets/css/home.css
   (après le contenu de 2-integration-css.css)

   Utilisé par : /dpe/, /diagnostic-amiante/, /diagnostic-plomb-crep/,
   /diagnostic-electricite/, /diagnostic-gaz/, /diagnostic-termites/,
   /erp/, /loi-carrez/, /loi-boutin/, /dta/, /amiante-avant-travaux/,
   /audit-energetique/, /diagnostics/
   ════════════════════════════════════════════════════════════════════════ */

/* Fil d'Ariane */
.h-breadcrumb { font-size: .8rem; color: var(--ink-500); margin: 0 0 1.25rem; }
.h-breadcrumb a { color: var(--pine-700); font-weight: 600; }

/* Hero de page intérieure */
.h-page-hero { background: linear-gradient(135deg,#223610 0%,#2c4713 55%,#345518 100%); padding: 7.5rem 0 3rem; color: #faf7ee; }
.h-page-hero .h-eyebrow { color: var(--gold-500); }
.h-page-hero h1 { font-size: 2rem; line-height: 1.18; font-weight: 800; margin: 0 0 .75rem; color: #faf7ee; }
.h-page-hero p { color: #d7e0cc; font-size: 1rem; line-height: 1.6; max-width: 44rem; margin: 0 0 1.5rem; }

/* Chiffres clés du hero */
.h-keyfacts { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-top: 1.5rem; }
.h-keyfact { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: .85rem; padding: .85rem; }
.h-keyfact strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.h-keyfact span { font-size: .76rem; color: #c9d4ba; line-height: 1.4; }

/* Corps de texte éditorial */
.h-prose { max-width: 46rem; }
.h-prose h2 { font-size: 1.35rem; font-weight: 800; margin: 2.5rem 0 .6rem; color: var(--ink-900); letter-spacing: -.01em; }
.h-prose h3 { font-size: 1.02rem; font-weight: 800; margin: 1.5rem 0 .4rem; color: var(--pine-800); }
.h-prose p { font-size: .95rem; line-height: 1.75; color: var(--ink-700); margin: 0 0 1rem; }
.h-prose ul { padding-left: 1.15rem; margin: 0 0 1rem; }
.h-prose li { font-size: .95rem; line-height: 1.7; color: var(--ink-700); margin-bottom: .4rem; }
.h-prose strong { color: var(--ink-900); }

/* Encadré d'information */
.h-callout { background: var(--mint-100); border-radius: 1rem; padding: 1.15rem 1.3rem; margin: 1.5rem 0; }
.h-callout p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--pine-800); }
.h-callout p + p { margin-top: .6rem; }

/* Tableaux réglementaires */
.h-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: .85rem; overflow: hidden; margin: 1rem 0 1.5rem; }
.h-table th { background: var(--mint-100); text-align: left; padding: .6rem .8rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pine-800); }
.h-table td { padding: .6rem .8rem; border-top: 1px solid var(--line-soft); color: var(--ink-700); vertical-align: top; }
.h-table td b { color: var(--ink-900); }

/* CTA intercalaire */
.h-inline-cta { background: var(--pine-900); border-radius: 1.1rem; padding: 1.35rem 1.5rem; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.h-inline-cta p { margin: 0; color: #d7e0cc; font-size: .92rem; }
.h-inline-cta strong { display: block; color: #faf7ee; font-size: 1.05rem; margin-bottom: .2rem; }

/* Grille du hub /diagnostics/ */
.h-hub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2rem; }
.h-hub-card { display: block; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 1.1rem; padding: 1.35rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.h-hub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(20,30,10,.28); border-color: var(--pine-500); }
.h-hub-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 .3rem; color: var(--ink-900); }
.h-hub-card p { font-size: .87rem; line-height: 1.5; color: var(--ink-500); margin: 0 0 .7rem; }
.h-hub-validite { display: inline-block; background: var(--mint-100); color: var(--pine-800); font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }

@media (max-width: 900px) { .h-hub-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) {
  .h-keyfacts { grid-template-columns: repeat(2,1fr); }
  .h-page-hero h1 { font-size: 1.6rem; }
  .h-page-hero { padding: 6rem 0 2.5rem; }
  .h-hub-grid { grid-template-columns: 1fr; }
}
