/* ============================================================
   Dossimmo — feuille de style
   Direction : luxe éditorial. Encre profonde, ivoire chaud,
   or patiné. Cormorant Garamond (display) + Jost (corps).
   ============================================================ */

:root {
  --bg: #F8F5EF;
  --surface: #FFFFFF;
  --ink: #0F1A22;
  --ink-2: #1A2833;
  --ink-soft: #4C5A64;
  --ink-faint: #8B959D;
  --gold: #B08D3F;
  --gold-bright: #C9A85C;
  --gold-soft: #F3ECDC;
  --gold-line: #D9C79E;
  --good: #3E7257;
  --good-soft: #E6EFE9;
  --warn: #A96B2C;
  --warn-soft: #F6ECDD;
  --bad: #9E4232;
  --bad-soft: #F5E6E2;
  --line: #E5DFD2;
  --shadow: 0 10px 40px rgba(15, 26, 34, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-wrap: balance; }

a { color: var(--gold); }
strong { font-weight: 500; }

.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- Structure ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header.site {
  background: var(--ink);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(201, 168, 92, 0.25);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  letter-spacing: 0.04em; color: #F5F1E8; text-decoration: none;
}
.logo span { color: var(--gold-bright); font-style: italic; }
nav.top { display: flex; gap: 30px; }
nav.top a {
  color: #B9C1C7; text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
}
nav.top a:hover, nav.top a:focus-visible { color: var(--gold-bright); }
@media (max-width: 720px) { nav.top { display: none; } }

/* ---------- Héros ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(13, 22, 29, 0.96) 0%, rgba(13, 22, 29, 0.88) 45%, rgba(13, 22, 29, 0.62) 100%),
    url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?w=2000&q=80&auto=format&fit=crop") center 40%/cover no-repeat,
    linear-gradient(175deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #EDE8DD;
  padding: 84px 0 96px;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 500; margin-bottom: 18px;
}
.eyebrow::before { content: "— "; }

.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 22px; color: #F7F3EA; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero p.lead { color: #C4CBD1; font-size: 1.1rem; max-width: 32em; margin-bottom: 14px; font-weight: 300; }
.hero p.lead strong { color: #EDE8DD; font-weight: 400; }
.hero p.lead-discret { color: #98A3AB; font-size: 0.98rem; margin-bottom: 38px; }
.hero p.lead-discret strong { color: var(--gold-bright); font-weight: 400; }

.hero-marks { display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid rgba(201,168,92,0.25); padding-top: 26px; }
.mark { display: flex; flex-direction: column; gap: 2px; }
.mk-n { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-bright); }
.mk-t { font-size: 0.75rem; color: #98A3AB; letter-spacing: 0.04em; }

/* ---------- Carte formulaire ---------- */
.card {
  background: var(--surface);
  border-radius: 3px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 34px 36px 30px;
  color: var(--ink);
}
.card h2 { font-size: 1.55rem; margin-bottom: 4px; }
.card .sub { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 18px; letter-spacing: 0.02em; }

/* Formulaire d'une seule page : deux blocs, l'essentiel puis les compléments */
.form-bloc + .form-bloc { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.bloc-titre {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 16px;
}
.bloc-titre span { color: var(--ink-faint); font-weight: 300; letter-spacing: 0.06em; text-transform: none; }
#btn-submit { margin-top: 22px; }
.form-erreur {
  font-size: 0.85rem; color: var(--bad); background: var(--bad-soft);
  padding: 9px 12px; margin-top: 18px; border-left: 2px solid var(--bad);
}

.field { margin-bottom: 13px; }
.field label {
  display: block; font-size: 0.72rem; font-weight: 500; margin-bottom: 7px;
  color: var(--ink-soft); letter-spacing: 0.12em; text-transform: uppercase;
}
.field label .opt { font-weight: 400; color: var(--ink-faint); text-transform: none; letter-spacing: 0.02em; }
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; padding: 11px 13px; font-size: 0.98rem;
  border: 1px solid var(--line); border-radius: 2px;
  background: #FCFBF8; color: var(--ink); font-family: inherit; font-weight: 300;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 63, 0.15);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* Segmented control */
.seg { display: flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.seg button {
  flex: 1; padding: 10px 6px; background: #FCFBF8; border: none; cursor: pointer;
  font-size: 0.88rem; color: var(--ink-soft); font-family: inherit; font-weight: 400;
  border-right: 1px solid var(--line); transition: background 0.15s, color 0.15s;
}
.seg button:last-child { border-right: none; }
.seg button.on { background: var(--ink); color: var(--gold-bright); font-weight: 500; }
.seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Variante multi-sélection (particularités) : plusieurs cases activables */
.seg-multi { flex-wrap: wrap; }
.seg-multi button { flex: 1 1 32%; border-top: 1px solid var(--line); margin-top: -1px; font-size: 0.82rem; }

/* Autocomplétion adresse */
.ac-wrap { position: relative; }
.ac-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-top: none;
  box-shadow: var(--shadow); max-height: 250px; overflow-y: auto;
}
.ac-list button {
  display: block; width: 100%; text-align: left; padding: 10px 13px;
  background: none; border: none; cursor: pointer; font-size: 0.92rem; font-family: inherit;
  color: var(--ink); font-weight: 300;
}
.ac-list button:hover, .ac-list button:focus-visible { background: var(--gold-soft); outline: none; }
.ac-list .ctx { color: var(--ink-faint); font-size: 0.8rem; }
.ac-list .ac-type {
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line); padding: 1px 6px; margin-left: 4px;
}

/* Photos */
.photo-zone {
  border: 1px dashed var(--gold-line); border-radius: 2px; padding: 18px;
  text-align: center; color: var(--ink-faint); font-size: 0.88rem; cursor: pointer;
  background: #FCFBF8; transition: border-color 0.15s;
  display: flex; flex-direction: column; gap: 5px;
}
.photo-zone:hover { border-color: var(--gold); }
.photo-zone .pz-titre { font-weight: 500; color: var(--gold); letter-spacing: 0.04em; }
.photo-zone .pz-sous { font-size: 0.76rem; line-height: 1.5; }

/* Rappel « tout est facultatif » en tête de la dernière étape */
.etape-libre {
  font-size: 0.82rem; color: var(--ink-soft); background: var(--gold-soft);
  border-left: 2px solid var(--gold-line); padding: 9px 12px; margin-bottom: 16px;
}
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-thumbs .ph { position: relative; width: 76px; height: 58px; overflow: hidden; border: 1px solid var(--line); }
.photo-thumbs .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumbs .ph button {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border-radius: 50%; border: none; background: rgba(15,26,34,0.8); color: #fff;
  font-size: 11px; line-height: 1; cursor: pointer;
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 2px; border: none; cursor: pointer;
  font-size: 0.82rem; font-weight: 500; font-family: inherit; text-decoration: none;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--ink); color: var(--gold-bright); width: 100%; }
.btn-primary:hover { background: var(--ink-2); }
.btn-brass { background: var(--gold); color: #FFF; }
.btn-brass:hover { background: var(--gold-bright); color: var(--ink); }
.btn-ghost { background: none; border: 1px solid var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[disabled] { opacity: 0.5; cursor: wait; }

/* ---------- Galerie ---------- */
.gallery-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .gallery-band { grid-template-columns: repeat(2, 1fr); } }
.gallery-band figure { position: relative; margin: 0; overflow: hidden; height: 240px; }
.gallery-band img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.gallery-band figure:hover img { transform: scale(1.05); }
.gallery-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(13,22,29,0.75));
  color: #F5F1E8; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Exemple avec visuel ---------- */
.exemple-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; max-width: none; }
@media (max-width: 860px) { .exemple-grid { grid-template-columns: 1fr; } }
.exemple-visuel { margin: 0; }
.exemple-visuel img { width: 100%; height: 360px; object-fit: cover; display: block; box-shadow: var(--shadow); }
/* Le cadre décoratif entoure la PHOTO seule : posé sur la figure entière,
   il débordait sur la légende, qui semblait « mal cadrée ». */
.visuel-cadre { position: relative; }
.visuel-cadre::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-line); z-index: -1;
}
.exemple-visuel figcaption {
  margin-top: 26px; color: var(--ink-faint);
  font-style: italic; font-family: var(--font-display); font-size: 1rem;
}

/* ---------- Retour dans le formulaire ---------- */
.back-link {
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--ink-faint); font-size: 0.82rem; padding: 0; margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.back-link:hover, .back-link:focus-visible { color: var(--gold); outline: none; text-decoration: underline; }

/* ---------- Sections ---------- */
section.band { padding: 76px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2.title { font-size: 2.1rem; margin-bottom: 12px; }
.band p.intro { color: var(--ink-soft); max-width: 42em; margin-bottom: 36px; font-size: 1.02rem; }

/* Plan du rapport */
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: toc; }
.toc-item {
  background: var(--surface); padding: 26px 24px 22px; position: relative; counter-increment: toc;
}
section.band.alt .toc-item { background: var(--bg); }
.toc-item::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1rem; color: var(--gold); font-weight: 600;
  display: block; margin-bottom: 8px; font-style: italic;
}
.toc-item h3 { font-size: 1.18rem; margin-bottom: 6px; }
.toc-item p { font-size: 0.87rem; color: var(--ink-soft); }
.toc-item .free-tag, .toc-item .paid-tag, .toc-item .private-tag {
  position: absolute; top: 22px; right: 20px; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 1px;
}
.toc-item .free-tag { background: var(--good-soft); color: var(--good); }
.toc-item .paid-tag { background: var(--gold-soft); color: var(--gold); }
.toc-item .private-tag { background: var(--ink); color: var(--gold-bright); }

/* Tarifs */
/* Une seule offre : une carte unique, centrée */
.pricing { display: grid; grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
#tarifs .eyebrow, #tarifs .title, #tarifs .intro { text-align: center; }
#tarifs .eyebrow { display: block; }
#tarifs .intro { margin-left: auto; margin-right: auto; }
.price-card { background: var(--bg); border: 1px solid var(--line); padding: 34px 32px; }
.price-card.featured { background: var(--ink); color: #E7E2D6; border: 1px solid var(--gold); position: relative; }
/* Badge « Recommandé » retiré : il n'a de sens qu'entre plusieurs offres */
.price-card h3 { font-size: 1.35rem; }
.price-card.featured h3 { color: #F5F1E8; }
.price-card .amount { font-family: var(--font-display); font-size: 2.7rem; font-weight: 600; margin: 10px 0 4px; }
.price-card.featured .amount { color: var(--gold-bright); }
/* Le sous-texte du prix sur sa propre ligne : en ligne, il héritait de
   l'interligne du grand chiffre et se retrouvait décroché tout en bas. */
.price-card .amount small {
  display: block; margin-top: 4px; line-height: 1.4;
  font-size: 0.9rem; color: var(--ink-faint); font-family: var(--font-body); font-weight: 300;
}
.price-card.featured .amount small { color: #98A3AB; }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li { padding: 6px 0 6px 26px; position: relative; font-size: 0.92rem; color: var(--ink-soft); }
.price-card.featured li { color: #C4CBD1; }
.price-card li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.price-card li.no { opacity: 0.5; }
.price-card li.no::before { content: "·"; color: var(--ink-faint); }

/* Exemple */
.exemple-grid { max-width: 720px; }

/* ---------- Résultats ---------- */
#resultat { scroll-margin-top: 90px; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.result-addr { color: var(--ink-soft); font-size: 0.95rem; font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }

.estimate-hero {
  background: var(--ink); color: #EDE8DD; border-top: 3px solid var(--gold);
  padding: 40px 30px; text-align: center; margin-bottom: 26px;
}
.estimate-hero .label { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 10px; }
.estimate-hero .value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: #F7F3EA; }
.estimate-hero .range { color: #98A3AB; font-size: 0.98rem; margin-top: 8px; }
.estimate-hero .m2 { display: inline-block; margin-top: 16px; border: 1px solid rgba(201,168,92,0.4); padding: 6px 18px; font-size: 0.82rem; color: var(--gold-bright); letter-spacing: 0.06em; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 24px; }
.kpi { background: var(--surface); padding: 18px 20px; }
.kpi .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin-bottom: 5px; }
.kpi .v { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.kpi .d { font-size: 0.78rem; color: var(--ink-soft); }

.note-source { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 30px; }
.note-source button.link { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 0.82rem; text-decoration: underline; padding: 0; font-family: inherit; }

/* Accès aux documents (ils s'ouvrent seuls ; ce panneau sert à y revenir) */
.unlock-panel { margin-bottom: 26px; }
.unlock-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Vérification du paiement au retour de Stripe */
.paiement-verif {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 14px;
}
.paiement-verif .spin { width: 18px; height: 18px; flex-shrink: 0; }

/* Offre payante — visible seulement si un lien de paiement est configuré */
.offre-payante {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  padding: 20px 22px;
  margin-bottom: 18px;
  max-width: 680px;
}
.offre-titre { font-size: 1.05rem; color: var(--ink); margin-bottom: 12px; font-weight: 400; }
.offre-titre strong { color: var(--gold); font-weight: 600; }
.offre-liste { list-style: none; padding: 0; margin-bottom: 16px; }
.offre-liste li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; line-height: 1.5;
}
.offre-liste li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.consent-label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.8rem; color: var(--ink-soft); font-weight: 300; line-height: 1.45;
  cursor: pointer; padding: 10px; border: 1px solid transparent;
}
.consent-label input { margin-top: 2px; flex-shrink: 0; }
/* Signale la case non cochée sans bloquer sèchement le visiteur */
.consent-label.consent-requis { border-color: var(--bad); background: rgba(158,66,50,0.05); }

/* Consentement rétractation (avant paiement) */
.consent {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  max-width: 34em; font-size: 0.78rem; color: var(--ink-soft); cursor: pointer;
  padding: 10px 12px; border: 1px solid transparent; border-radius: 2px;
}
.consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.consent a { color: var(--gold); }
.consent.consent-requis { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }

/* Chips risques */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 400; border-radius: 1px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ok { background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.na { background: #EEECE5; color: var(--ink-faint); }

/* Spinner */
.loading { display: flex; align-items: center; gap: 14px; padding: 28px; color: var(--ink-soft); font-style: italic; }
.spin { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Progression dans le formulaire */
.loading-inline {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  color: var(--ink-soft); font-size: 0.9rem; font-style: italic;
}
.loading-inline .spin { width: 18px; height: 18px; flex-shrink: 0; }

/* Espace pro */
.pro-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 26, 34, 0.65); padding: 20px;
}
.pro-box {
  background: var(--surface); border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  padding: 32px 34px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.pro-box h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pro-box .sub { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 18px; }
#pro-logo-apercu img { max-height: 60px; max-width: 220px; border: 1px solid var(--line); padding: 6px; background: #fff; }

/* Bandeau professionnel dans les rapports */
.report .pro-bar {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--gold-line); padding-bottom: 12px; margin-bottom: 22px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.report .pro-bar img { height: 38px; max-width: 140px; object-fit: contain; }
.report .pro-bar strong { color: var(--ink); }

/* ---------- FAQ / footer ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { font-weight: 400; cursor: pointer; font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
details.faq summary::marker { color: var(--gold); }
details.faq p { margin-top: 10px; color: var(--ink-soft); font-size: 0.94rem; max-width: 48em; }
details.faq .faq-liste { margin: 10px 0 0 18px; color: var(--ink-soft); font-size: 0.92rem; max-width: 52em; }
details.faq .faq-liste li { margin-bottom: 8px; }
details.faq .faq-liste strong { color: var(--ink); font-weight: 500; }

/* Bloc « Pour affiner » replié par défaut : l'essentiel tient dans un écran */
.form-bloc.replie > *:not(.bloc-titre) { display: none; }
.form-bloc .bloc-titre.toggle { cursor: pointer; user-select: none; }
.form-bloc .bloc-titre.toggle::after { content: " ▾  déplier"; color: var(--gold); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.78rem; }
.form-bloc.replie .bloc-titre.toggle::after { content: " ▸  déplier (DPE, photos)"; }
.form-bloc:not(.replie) .bloc-titre.toggle::after { content: " ▾  replier"; }

footer.site { background: var(--ink); color: #98A3AB; padding: 44px 0; font-size: 0.85rem; margin-top: 80px; border-top: 1px solid rgba(201,168,92,0.25); }
footer.site .flogo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #F5F1E8; }
footer.site .flogo span { color: var(--gold-bright); font-style: italic; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   RAPPORT (vue dossier + impression)
   ============================================================ */
#rapport-vue { background: #E8E4DA; padding: 40px 0 70px; }
.report-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }

/* Onglets dossier / rapport confidentiel */
.doc-switch-wrap { display: flex; flex-direction: column; gap: 4px; }
.doc-switch-titre {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.doc-switch { display: flex; border: 2px solid var(--gold); background: #fff; }

/* Aide à l'enregistrement PDF */
.pdf-aide {
  display: flex; align-items: flex-start; gap: 14px; max-width: 900px; margin: 0 auto 16px;
  background: var(--gold-soft); border-left: 3px solid var(--gold); padding: 14px 18px; font-size: 0.88rem;
}
.pdf-aide em { color: var(--gold); font-style: normal; font-weight: 500; }
.pdf-aide button {
  margin-left: auto; background: none; border: none; color: var(--ink-faint);
  font-size: 1.2rem; cursor: pointer; line-height: 1; flex-shrink: 0;
}

/* Numéro de page du document */
.report .page { position: relative; }
.report .page-num {
  position: absolute; bottom: 14px; right: 20px;
  font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* Bandeau destinataire d'un dossier partagé (boucle d'acquisition) */
.partage-recu {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 900px; margin: 0 auto 16px; padding: 16px 20px;
  background: var(--ink); color: #E7E2D6; border-left: 3px solid var(--gold);
  font-size: 0.9rem;
}
.partage-recu > div { flex: 1; min-width: 240px; }
.partage-recu strong { color: var(--gold-bright); }

/* Fenêtre de partage */
.partage-boite {
  max-width: 900px; margin: 0 auto 16px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--gold-line); border-top: 3px solid var(--gold);
}
.partage-boite .pb-titre { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.partage-boite p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 12px; }
.partage-boite .pb-lien { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.partage-boite .pb-lien input {
  flex: 1; min-width: 220px; padding: 11px 13px; font-size: 0.85rem; font-family: inherit;
  border: 1px solid var(--line); border-radius: 2px; background: #FCFBF8; color: var(--ink-soft);
}
.partage-boite .pb-note { font-size: 0.8rem; background: var(--gold-soft); padding: 10px 14px; margin-bottom: 14px; }

/* Bandeau « deux documents » à l'ouverture des rapports */
.docs-notice {
  display: flex; align-items: flex-start; gap: 14px; max-width: 900px; margin: 0 auto 16px;
  background: var(--ink); color: #E7E2D6; padding: 14px 18px; font-size: 0.88rem;
  border-left: 3px solid var(--gold);
}
.docs-notice em { color: var(--gold-bright); font-style: normal; font-weight: 500; }
.docs-notice u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.docs-notice button {
  margin-left: auto; background: none; border: none; color: #98A3AB; font-size: 1.2rem;
  cursor: pointer; line-height: 1; flex-shrink: 0;
}
.docs-notice button:hover { color: #fff; }
.doc-switch button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 10px 20px; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  border-right: 1px solid var(--gold-line);
}
.doc-switch button:last-child { border-right: none; }
.doc-switch button small { font-size: 0.68rem; font-weight: 300; color: var(--ink-faint); }
.doc-switch button.on { background: var(--ink); color: var(--gold-bright); }
.doc-switch button.on small { color: #98A3AB; }
.doc-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.report { background: #fff; max-width: 900px; margin: 0 auto; box-shadow: 0 6px 40px rgba(15,26,34,0.16); color: #16222C; }
.report .page { padding: 56px 62px; border-bottom: 1px dashed var(--line); }
@media (max-width: 640px) {
  .report .page { padding: 30px 18px; }
  /* Le tableau des ventes comparables est plus large qu'un écran de téléphone :
     il défile horizontalement au doigt au lieu d'être coupé. */
  .report .tbl-ventes { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

.report .rhead {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 30px;
}
.report .rhead .rlogo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.report .rhead .rlogo span { color: var(--gold); font-style: italic; }
.report .rhead .rref { font-size: 0.75rem; color: var(--ink-faint); text-align: right; line-height: 1.5; }

.report h2.rtitle { font-size: 1.8rem; margin-bottom: 4px; }
.report .rsub { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 24px; font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }
.report h3.rsec {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  margin: 30px 0 12px; padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-line); color: var(--ink);
}
.report h3.rsec .rn { color: var(--gold); font-style: italic; margin-right: 8px; }
.report table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.report table th, .report table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #F0EDE5; }
.report table th { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 500; }
.report table td.num, .report table th.num { text-align: right; font-variant-numeric: tabular-nums; }

.report .big-estimate {
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  padding: 22px 26px; margin: 16px 0 10px; display: flex; flex-wrap: wrap; gap: 30px;
}
.report .big-estimate div .k { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.report .big-estimate div .v { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }

.report .photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.report .photos-grid img { width: 100%; height: 160px; object-fit: cover; }
.report .photos-hero { margin: 18px 0 4px; }
.report .photos-hero img { height: 190px; }
@media (max-width: 560px) { .report .photos-grid { grid-template-columns: repeat(2, 1fr); } }

.report .desc-box { background: #FAF8F3; border: 1px solid var(--line); border-left: 3px solid var(--gold-line); padding: 18px 22px; font-size: 0.93rem; white-space: pre-line; }

.report .score-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.report .score-badge {
  width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display);
}
.report .score-badge .n { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.report .score-badge .t { font-size: 0.6rem; font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }

/* Résumé façon expertise */
.report .resume-table td:first-child { width: 34%; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 500; }
.report .resume-table td { vertical-align: top; }

/* Points forts / points d'attention */
.report .apprec { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .report .apprec { grid-template-columns: 1fr; } }
.report .apprec h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.report .apprec ul { list-style: none; }
.report .apprec li { padding: 5px 0 5px 22px; position: relative; font-size: 0.9rem; color: var(--ink-soft); }
.report .apprec .plus li::before { content: "+"; position: absolute; left: 0; color: var(--good); font-weight: 600; }
.report .apprec .minus li::before { content: "–"; position: absolute; left: 0; color: var(--warn); font-weight: 600; }

/* Localisation / quartier */
.report .poi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: #F0EDE5; border: 1px solid #F0EDE5; }
.report .poi { background: #fff; padding: 14px 16px; }
.report .poi .p-t { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.report .poi .p-v { font-size: 0.92rem; font-weight: 400; }
.report .poi .p-d { font-size: 0.78rem; color: var(--ink-faint); }

.report .lever { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #F0EDE5; }
.report .lever .gain { font-family: var(--font-display); font-weight: 600; color: var(--good); white-space: nowrap; font-size: 1.1rem; min-width: 110px; }
.report .lever p { font-size: 0.9rem; color: var(--ink-soft); }
.report .lever h4 { font-size: 0.98rem; font-weight: 500; }

.report .risk-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0EDE5; font-size: 0.9rem; align-items: center; }
.report .risk-line .lvl { font-weight: 500; font-size: 0.76rem; padding: 3px 12px; border-radius: 1px; white-space: nowrap; letter-spacing: 0.04em; }
.report .risk-line .lvl.ok { background: var(--good-soft); color: var(--good); }
.report .risk-line .lvl.warn { background: var(--warn-soft); color: var(--warn); }
.report .risk-line .lvl.bad { background: var(--bad-soft); color: var(--bad); }
.report .risk-line .lvl.na { background: #EEECE5; color: var(--ink-faint); }

.report .check { display: flex; gap: 10px; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid #F0EDE5; }
.report .check .m { font-weight: 600; width: 20px; flex-shrink: 0; text-align: center; }
.report .check.req .m { color: var(--bad); }
.report .check.noreq .m { color: var(--ink-faint); }
.report .check small { color: var(--ink-faint); display: block; }

.report .dpe-scale { display: flex; gap: 3px; margin: 14px 0; }
.report .dpe-cell { flex: 1; text-align: center; padding: 9px 2px; color: #fff; font-weight: 600; font-size: 0.85rem; opacity: 0.3; }
.report .dpe-cell.on { opacity: 1; outline: 2px solid var(--ink); outline-offset: 1px; }
.dpe-A { background: #009444; } .dpe-B { background: #52A747; } .dpe-C { background: #A5C13A; }
.dpe-D { background: #F4E32C; color: #665F00 !important; } .dpe-E { background: #F0A143; }
.dpe-F { background: #E9622A; } .dpe-G { background: #D01F26; }

.report .foot-note { font-size: 0.7rem; color: var(--ink-faint); margin-top: 28px; border-top: 1px solid var(--line); padding-top: 12px; line-height: 1.6; }

/* Bloc partenaire (affiliation) — sobre, jamais imprimé pour que le dossier
   remis aux acheteurs reste un document strictement professionnel */
.report .partenaire {
  position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #FAF8F3; border: 1px solid var(--line); border-left: 3px solid var(--gold-line);
  padding: 16px 20px; margin: 18px 0 6px;
}
.report .partenaire .p-corps { flex: 1; min-width: 220px; }
.report .partenaire .p-titre { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.report .partenaire p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.report .partenaire .p-cta {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); text-decoration: none; white-space: nowrap; border: 1px solid var(--gold-line);
  padding: 9px 16px; transition: background 0.2s, color 0.2s;
}
.report .partenaire .p-cta:hover { background: var(--gold); color: #fff; }
.report .partenaire .p-mention {
  position: absolute; top: 6px; right: 10px;
  font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint);
}

/* Signature DossImmo en bas des dossiers gratuits (moteur d'acquisition) —
   conservée à l'impression : c'est elle qui fait voyager la marque */
.report .signature-dossimmo {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--gold-line); margin-top: 30px; padding-top: 12px;
  font-size: 0.78rem; color: var(--ink-soft);
}
.report .signature-dossimmo strong { color: var(--gold); font-weight: 600; }
.report .signature-dossimmo .s-pro { font-size: 0.7rem; color: var(--ink-faint); font-style: italic; }

/* Rapport confidentiel : bandeau */
.report .confid-banner {
  background: var(--ink); color: var(--gold-bright);
  text-align: center; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 10px; margin-bottom: 26px;
}

.watermark-demo { position: relative; }
.watermark-demo::after {
  content: "EXEMPLE"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 7.5rem; font-weight: 700; color: rgba(176,141,63,0.09);
  transform: rotate(-28deg); pointer-events: none; letter-spacing: 0.12em;
}

/* ---------- Carte de situation ---------- */
.carte-scale {
  position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden;
  border: 1px solid var(--line); margin: 6px 0 2px; background: #EDEAE2;
}
.carte-scale img { display: block; }
.carte-pin {
  position: absolute; transform: translate(-50%, -50%); width: 18px; height: 18px;
  background: var(--gold); border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold), 0 2px 8px rgba(15,26,34,0.45); z-index: 2;
}

/* ---------- Impression : seul le rapport sort, contenu compact ---------- */
@media print {
  /* Marges navigateur à zéro : supprime les en-têtes automatiques (date, titre)
     et pieds de page (URL) ajoutés par le navigateur — nos marges sont gérées
     par le padding des pages du rapport */
  @page { size: A4; margin: 0; }
  /* Tout le site sauf le rapport est RETIRÉ de la mise en page (display:none),
     pas seulement masqué : sinon il laisse des pages blanches à la fin */
  body > *:not(#rapport-vue) { display: none !important; }
  #rapport-vue { position: static; width: auto; background: #fff; padding: 0; margin: 0; }
  .report { box-shadow: none; max-width: none; font-size: 12.5px; }
  /* Une section du dossier = une page imprimée : la numérotation affichée
     (1/4, 2/4…) correspond alors exactement aux feuilles obtenues */
  .report .page { border-bottom: none; page-break-after: always; padding: 10mm 14mm; }
  .report .page:last-child { page-break-after: auto; }
  .report h3.rsec { break-after: avoid; page-break-after: avoid; margin-top: 16px; }
  .report table, .report .apprec, .report .big-estimate, .report .poi-grid,
  .report .photos-grid, .report .desc-box, .report .score-wrap, .report .dpe-scale,
  .report .lever, .report .resume-table, .carte-scale, .report .rhead, .report .pro-bar {
    break-inside: avoid; page-break-inside: avoid;
  }
  .report .photos-grid img { height: 120px; }
  .report .rhead { margin-bottom: 16px; }
  .report .big-estimate { padding: 14px 18px; margin: 10px 0 6px; }
  .report .foot-note { margin-top: 14px; }
  /* Les blocs partenaires ne sortent jamais à l'impression : le dossier remis
     aux acheteurs reste un document strictement professionnel */
  .report-toolbar, .docs-notice, .report .partenaire,
  .partage-boite, .partage-recu, .pdf-aide { display: none !important; }
  .watermark-demo::after { color: rgba(176,141,63,0.12); }
}

/* ============================================================
   Dossier reçu par lien : affichage allégé
   Le destinataire ouvre un document, souvent depuis un téléphone.
   On retire tout l'habillage commercial du site — dont ses grandes
   photos, qui représentent l'essentiel du poids de la page.
   ============================================================ */
.vue-partagee .hero,
.vue-partagee .gallery-band,
.vue-partagee #rapport-plan,
.vue-partagee #exemple,
.vue-partagee #tarifs,
.vue-partagee #faq,
.vue-partagee #resultat,
.vue-partagee header.site,
.vue-partagee footer.site { display: none !important; }

/* ============================================================
   Accueil : la présentation d'abord, le formulaire en dessous
   La carte formulaire n'est plus une colonne étroite à côté du
   texte : elle occupe toute la largeur, en rectangle, avec les
   champs répartis sur deux colonnes dès les écrans moyens.
   ============================================================ */
.hero-grid { display: block; }
.hero-copy { margin-bottom: 52px; }
.hero { padding: 64px 0 72px; }

@media (min-width: 860px) {
  #form-estimation .form-bloc:first-child,
  #form-estimation .form-bloc + .form-bloc {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 34px; align-items: start;
  }
  /* Pleine largeur : l'adresse, son aide et les titres de bloc */
  #form-estimation .form-bloc:first-child > .ac-wrap,
  #form-estimation .form-bloc:first-child > #adresse-aide,
  #form-estimation .form-bloc > .bloc-titre { grid-column: 1 / -1; }
  /* Champs d'une même rangée alignés par le bas malgré des libellés inégaux */
  #form-estimation .row2 { align-items: end; }
}
/* Portrait de la commune en tête de la section localisation */
.report .commune-texte {
  font-size: 0.95rem; color: var(--ink-soft); font-weight: 300;
  margin-bottom: 16px; max-width: 64em;
}

/* Héros centré : titre, texte et sources alignés au centre de la page */
.hero-copy { text-align: center; }
.hero p.lead, .hero p.lead-discret { margin-left: auto; margin-right: auto; }
.hero p.lead-discret { max-width: 46em; }
.hero-marks { justify-content: center; }

/* Chiffres des résultats : police droite et tabulaire. Les chiffres de la
   police display (Cormorant) espacent trop le « 1 » et gênent la lecture. */
.estimate-hero .value, .kpi .v {
  font-family: var(--font-body); font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.01em;
}

/* Boutons de réglage du prix, sous la note de calcul */
.prix-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 20px; }
.btn-petit { padding: 9px 16px; font-size: 0.78rem; }

/* Fenêtre de saisie d'un montant */
/* ------- Coller une annonce : bandeau de choix + fenêtre ------- */
.annonce-choix {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 12px 16px; margin-bottom: 18px;
}
.annonce-choix .ax-txt { font-size: 0.84rem; color: var(--ink-faint); flex: 1 1 30ch; }
.annonce-bilan { font-size: 0.82rem; color: var(--gold); margin: -6px 0 16px; }
.annonce-box { max-width: 560px; }
.annonce-box textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: 12px;
  font: inherit; font-size: 0.9rem; color: var(--ink); background: transparent;
  resize: vertical; margin-bottom: 18px;
}
.annonce-box textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,63,0.15); }
/* Halo doré fugace sur les champs pré-remplis depuis l'annonce */
.prefill-flash { animation: prefillFlash 1.8s ease-out; }
@keyframes prefillFlash {
  0% { box-shadow: 0 0 0 3px rgba(176,141,63,0.55); }
  100% { box-shadow: 0 0 0 3px rgba(176,141,63,0); }
}

.saisie-box { max-width: 420px; }
.saisie-box .sub { margin-bottom: 16px; }
.saisie-champ { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.saisie-champ input {
  flex: 1; padding: 12px 14px; font-size: 1.15rem; font-weight: 400;
  border: 1px solid var(--line); border-radius: 2px; background: #FCFBF8;
  font-variant-numeric: tabular-nums; font-family: var(--font-body);
}
.saisie-champ input:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,63,0.15); }
.saisie-champ span { color: var(--ink-faint); font-size: 1rem; }

/* Prix barré (prix de lancement) — assez grand et clair pour être lu */
.price-card .amount s { font-size: 1.9rem; color: var(--ink-soft); font-weight: 400; margin-right: 8px; text-decoration-thickness: 2px; }
.price-card.featured .amount s { color: #C9D0D6; }
.offre-titre s { color: var(--ink-faint); font-weight: 300; }

/* Portrait de la commune : une idée par puce, aérée */
.report .commune-liste { list-style: none; margin: 0 0 18px; padding: 0; max-width: 64em; }
.report .commune-liste li {
  position: relative; padding-left: 18px; margin-bottom: 7px;
  font-size: 0.93rem; color: var(--ink-soft); font-weight: 300; line-height: 1.55;
}
.report .commune-liste li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}

/* ============================================================
   HABILLAGE SITE 2026 — direction « l'outil »
   Fond gris froid, bandeau bleu nuit, un seul accent.
   Newsreader (titres) + Instrument Sans (tout le reste).
   Ce bloc n'habille que le SITE : les documents (.report,
   #rapport-vue) gardent leur style éditorial encre/or/Cormorant.
   ============================================================ */
:root {
  --s-bg: #EDF0F4; --s-panel: #E2E7ED; --s-card: #FFFFFF;
  --s-ink: #1B222B; --s-muted: #5C6675; --s-faint: #8A93A0; --s-line: #D6DCE4;
  --s-accent: #173B6B; --s-accent-2: #102B50; --s-navy: #13284A; --s-navy-2: #0E1F3A;
  --s-on-navy: #C5D0E0; --s-ok: #2F7D5B;
  --s-display: "Newsreader", Georgia, "Times New Roman", serif;
  --s-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --s-shadow: 0 8px 30px rgba(10, 24, 48, 0.16);
}
body { background: var(--s-bg); color: var(--s-ink); font-family: var(--s-body); font-weight: 400; font-size: 15.5px; }
body > :not(#rapport-vue) h1, body > :not(#rapport-vue) h2 { font-family: var(--s-display); font-weight: 500; letter-spacing: -0.01em; }
body > :not(#rapport-vue) h3 { font-family: var(--s-body); font-weight: 600; }
a { color: var(--s-accent); }
strong { font-weight: 600; }

/* En-tête */
header.site { background: var(--s-navy); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.logo { font-family: var(--s-body); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; color: #fff; }
.logo span { color: #9DB6D9; font-style: normal; }
nav.top { gap: 26px; align-items: center; }
nav.top a { color: var(--s-on-navy); font-size: 0.9rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
nav.top a:hover, nav.top a:focus-visible { color: #fff; }
nav.top a.nav-cta { border: 1px solid rgba(255,255,255,0.45); padding: 8px 14px; border-radius: 3px; color: #fff; }
nav.top a.nav-cta:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 720px) { nav.top { display: flex; gap: 14px; } nav.top a:not(.nav-cta) { display: none; } }

/* Héros : bandeau bleu nuit, photo fondue, puis le gris du site */
.hero {
  padding: 56px 0 48px; color: #fff;
  background:
    linear-gradient(180deg, rgba(19,40,74,0.92) 0%, rgba(19,40,74,0.92) 58%, var(--s-bg) 58%),
    linear-gradient(90deg, var(--s-navy) 0%, rgba(19,40,74,0.85) 45%, rgba(19,40,74,0.6) 100%),
    url("https://images.unsplash.com/photo-1549144511-f099e773c147?w=1600&q=70&auto=format&fit=crop") 20% 35% / cover no-repeat,
    var(--s-navy);
}
.hero::after { display: none; }
.hero-copy { text-align: left; margin-bottom: 30px; max-width: 46ch; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; color: #fff; margin-bottom: 14px; }
.hero p.lead { color: var(--s-on-navy); font-size: 1.08rem; max-width: 46ch; margin: 0; font-weight: 400; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Carte formulaire */
.card { background: var(--s-card); border: 1px solid var(--s-line); border-top: 1px solid var(--s-line); border-radius: 4px; box-shadow: var(--s-shadow); padding: 22px 24px 22px; color: var(--s-ink); }
.card .sub { color: var(--s-muted); font-size: 0.82rem; margin-bottom: 14px; letter-spacing: 0; }
.form-bloc + .form-bloc { border-top: 1px solid var(--s-line); margin-top: 18px; padding-top: 14px; }
.bloc-titre { color: var(--s-accent); letter-spacing: 0.06em; font-size: 0.72rem; font-weight: 600; }
.bloc-titre span { color: var(--s-faint); font-weight: 400; }
.form-bloc .bloc-titre.toggle::after { color: var(--s-accent); }
@media (min-width: 860px) {
  #form-estimation .form-bloc:first-child, #form-estimation .form-bloc + .form-bloc { display: block; }
}
.field { margin-bottom: 12px; }
.field label { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--s-muted); font-weight: 600; margin-bottom: 6px; }
.field label .opt { color: var(--s-faint); font-weight: 400; }
.field input[type="text"], .field input[type="number"], .field input[type="email"], .field select, .field textarea,
.saisie-champ input, .annonce-box textarea, .partage-boite .pb-lien input {
  background: #fff; border: 1px solid var(--s-line); border-radius: 3px; font-family: var(--s-body); font-weight: 400; padding: 11px 13px; color: var(--s-ink);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.saisie-champ input:focus-visible, .annonce-box textarea:focus-visible { border-color: var(--s-accent); box-shadow: 0 0 0 3px rgba(23,59,107,0.15); outline: none; }
.seg { border-color: var(--s-line); border-radius: 3px; }
.seg button { background: #fff; color: var(--s-muted); font-family: var(--s-body); font-size: 0.9rem; border-right-color: var(--s-line); padding: 11px 6px; }
.seg button.on { background: var(--s-accent); color: #fff; }
.seg button:focus-visible { outline-color: var(--s-accent); }
.seg-multi button { border-top-color: var(--s-line); }
.ac-list { border-color: var(--s-line); box-shadow: var(--s-shadow); }
.ac-list button { font-weight: 400; }
.ac-list button:hover, .ac-list button:focus-visible { background: var(--s-panel); }
.ac-list .ac-type { color: var(--s-accent); border-color: var(--s-line); }
.photo-zone { border-color: var(--s-line); background: #fff; }
.photo-zone:hover { border-color: var(--s-accent); }
.photo-zone .pz-titre { color: var(--s-accent); letter-spacing: 0; }
.form-erreur { color: #9E4232; }
.annonce-bilan { color: var(--s-accent); margin: 0 0 12px; }
.prefill-flash { animation: prefillFlashNavy 1.8s ease-out; }
@keyframes prefillFlashNavy { 0% { box-shadow: 0 0 0 3px rgba(23,59,107,0.5); } 100% { box-shadow: 0 0 0 3px rgba(23,59,107,0); } }

/* Boutons */
.btn { font-family: var(--s-body); text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 500; border-radius: 3px; padding: 12px 20px; min-height: 44px; }
.btn:focus-visible { outline-color: var(--s-accent); }
.btn-primary { background: var(--s-accent); color: #fff; font-size: 1.02rem; }
.btn-primary:hover { background: var(--s-accent-2); }
.btn-brass { background: var(--s-accent); color: #fff; }
.btn-brass:hover { background: var(--s-accent-2); color: #fff; }
.btn-ghost { border: 1px solid var(--s-line); color: var(--s-accent); background: #fff; }
.btn-ghost:hover { border-color: var(--s-accent); color: var(--s-accent-2); }
.btn-petit { padding: 8px 14px; font-size: 0.85rem; min-height: 36px; }
#btn-submit { margin-top: 16px; }
button.lien { background: none; border: none; padding: 0; font: inherit; color: var(--s-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.lien:hover { color: var(--s-accent-2); }
.form-foot { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: 12px; font-size: 0.84rem; color: var(--s-muted); }
.form-foot b { color: var(--s-ink); font-weight: 600; }
.pledges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 0.82rem; color: var(--s-muted); }
.pledges span { display: inline-flex; align-items: center; gap: 6px; }
.pledges svg { width: 14px; height: 14px; stroke: var(--s-ok); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Aperçu du produit (colonne de droite du héros) */
.hero-preview { display: flex; flex-direction: column; gap: 16px; color: var(--s-ink); }
.eyebrow-2 { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--s-on-navy); font-weight: 600; margin: 0; }
.ex-result { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 4px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--s-shadow); }
.ex-result .k, .ex-kpis .k { font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--s-muted); }
.ex-result .v { font-size: 2.4rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.ex-result .range { color: var(--s-muted); font-size: 0.88rem; }
.ex-kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; border-top: 1px solid var(--s-line); padding-top: 12px; }
.ex-kpis div { display: flex; flex-direction: column; gap: 2px; }
.ex-kpis .n { font-weight: 600; font-size: 1rem; }
table.ex-comp { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
table.ex-comp th { text-align: left; font-weight: 600; color: var(--s-muted); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 8px 0 6px; border-bottom: 1px solid var(--s-line); }
table.ex-comp td { padding: 7px 0; border-bottom: 1px solid var(--s-line); }
table.ex-comp .r { text-align: right; }
.ex-tag { display: inline-block; font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--s-accent); border: 1px solid var(--s-accent); padding: 1px 5px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.ex-doc { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 3px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 0.78rem; box-shadow: 0 4px 18px rgba(10,24,48,0.10); }
.ex-doc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--s-line); padding-bottom: 8px; font-size: 0.72rem; color: var(--s-muted); }
.ex-brand { font-weight: 600; font-size: 0.95rem; color: var(--s-ink); }
.ex-brand b { color: var(--s-accent); }
.ex-doc h3 { font-family: var(--s-display) !important; font-weight: 500 !important; font-size: 1.25rem; margin: 2px 0 0; }
.ex-sub { color: var(--s-muted); font-size: 0.74rem; }
.ex-band { background: var(--s-panel); padding: 9px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.ex-band .k { font-size: 0.64rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--s-muted); }
.ex-band .v { font-size: 1.1rem; font-weight: 600; }
.ex-map { height: 76px; position: relative; background:
  linear-gradient(90deg, transparent 0 18%, #D6DCE4 18% 19%, transparent 19% 47%, #D6DCE4 47% 48.5%, transparent 48.5% 78%, #D6DCE4 78% 79%, transparent 79%),
  linear-gradient(0deg, transparent 0 30%, #D6DCE4 30% 31.5%, transparent 31.5% 66%, #D6DCE4 66% 67%, transparent 67%), var(--s-bg); }
.ex-map i { position: absolute; left: 48%; top: 31%; width: 10px; height: 10px; border-radius: 50%; background: var(--s-accent); box-shadow: 0 0 0 3px #fff; }
.ex-sec { display: flex; gap: 10px; align-items: baseline; border-bottom: 1px solid var(--s-line); padding-bottom: 4px; }
.ex-sec b { font-family: var(--s-display); font-weight: 500; font-size: 0.9rem; }
.ex-sec i { font-family: var(--s-display); font-style: italic; color: var(--s-accent); font-size: 0.76rem; }
.ex-lines { display: flex; flex-direction: column; gap: 5px; }
.ex-lines span { height: 6px; background: #E9EDF1; border-radius: 2px; }
.ex-lines span:nth-child(2) { width: 82%; } .ex-lines span:nth-child(3) { width: 64%; }
.ex-caption { font-size: 0.8rem; color: var(--s-muted); margin: 0; }
.ex-caption button { margin-left: 6px; font-size: 0.8rem; }
@media (max-width: 960px) { .ex-doc { display: none; } }

/* Galerie */
.gallery-band { border: none; background: var(--s-navy-2); gap: 2px; }
.gallery-band figure { height: 220px; }
.gallery-band figcaption { font-family: var(--s-display); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; background: linear-gradient(180deg, transparent, rgba(14,31,58,0.85)); }

/* Sections */
section.band { padding: 56px 0; border-top: 1px solid var(--s-line); }
section.band.alt { background: var(--s-card); border-bottom: none; }
.eyebrow { color: var(--s-accent); letter-spacing: 0.06em; font-size: 0.72rem; font-weight: 600; }
.eyebrow::before { content: none; }
.band h2.title { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 8px; }
.band p.intro { color: var(--s-muted); font-size: 0.98rem; margin-bottom: 28px; max-width: 60ch; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.col { border-left: 1px solid var(--s-line); padding: 4px 24px 4px 20px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) { .col { border-left: none; border-top: 1px solid var(--s-line); padding: 16px 0; } }
.col .who { font-size: 0.7rem; color: var(--s-accent); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.col .t { font-weight: 600; font-size: 1.02rem; }
.col p { margin: 0; color: var(--s-muted); font-size: 0.92rem; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--s-line); }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 4px; } }
.step .t { font-weight: 600; }
.step p { margin: 0; color: var(--s-muted); font-size: 0.94rem; max-width: 70ch; }
.honest { margin-top: 20px; padding: 14px 18px; background: var(--s-panel); font-size: 0.94rem; max-width: 70ch; }
.honest b { font-weight: 600; }

/* Exemple + tarifs + FAQ */
.exemple-visuel img { box-shadow: var(--s-shadow); border-radius: 3px; }
.visuel-cadre::before { border-color: var(--s-line); }
.exemple-visuel figcaption { font-family: var(--s-display); color: var(--s-muted); }
.price-card { background: var(--s-card); border-color: var(--s-line); border-radius: 4px; }
.price-card.featured { background: var(--s-navy); border-color: var(--s-navy); color: var(--s-on-navy); }
.price-card .amount { font-family: var(--s-body); font-weight: 600; }
.price-card.featured .amount { color: #fff; }
.price-card.featured .amount small { color: var(--s-on-navy); font-family: var(--s-body); }
.price-card.featured .amount s { color: #8FA3C2; }
.price-card li::before { color: #9DB6D9; }
.price-card.featured li { color: var(--s-on-navy); }
.price-card.featured .btn-brass { background: #fff; color: var(--s-navy); }
.price-card.featured .btn-brass:hover { background: #E6ECF5; color: var(--s-navy); }
details.faq { border-color: var(--s-line); }
details.faq summary { font-family: var(--s-body); font-weight: 600; font-size: 1.02rem; }
details.faq summary::marker { color: var(--s-accent); }
details.faq p, details.faq .faq-liste { color: var(--s-muted); }
details.faq .faq-liste strong { color: var(--s-ink); font-weight: 600; }

/* Résultats (panneau à l'écran) */
.result-addr { font-family: var(--s-body); font-style: normal; font-size: 0.95rem; color: var(--s-muted); }
.estimate-hero { background: var(--s-navy); border-top: none; border-radius: 4px; color: #fff; }
.estimate-hero .label { color: var(--s-on-navy); letter-spacing: 0.08em; }
.estimate-hero .value { color: #fff; font-family: var(--s-body); font-weight: 600; letter-spacing: -0.02em; }
.estimate-hero .range { color: var(--s-on-navy); }
.estimate-hero .m2 { border-color: rgba(255,255,255,0.35); color: #fff; letter-spacing: 0; }
.kpis { background: var(--s-line); border-color: var(--s-line); border-radius: 4px; overflow: hidden; }
.kpi { background: var(--s-card); }
.kpi .k { color: var(--s-muted); letter-spacing: 0.05em; }
.kpi .v { font-family: var(--s-body); font-weight: 600; }
.kpi .d { color: var(--s-muted); }
.note-source { color: var(--s-muted); }
.note-source button.link { color: var(--s-accent); }
.offre-payante { background: var(--s-card); border: 1px solid var(--s-line); border-left: 3px solid var(--s-accent); border-radius: 3px; }
.offre-titre strong { color: var(--s-accent); }
.offre-liste li::before { background: var(--s-accent); }
.consent input { accent-color: var(--s-accent); }
.consent a { color: var(--s-accent); }
.chip.na { background: var(--s-panel); color: var(--s-muted); }
.spin { border-color: var(--s-line); border-top-color: var(--s-accent); }
.loading, .loading-inline { font-style: normal; color: var(--s-muted); }

/* Fenêtres (saisie, annonce, espace pro) + partage */
.pro-modal { background: rgba(14, 31, 58, 0.6); }
.pro-box { border-top: 3px solid var(--s-accent); border-radius: 4px; box-shadow: var(--s-shadow); }
.pro-box h3 { font-family: var(--s-display) !important; font-weight: 500 !important; font-size: 1.45rem; }
.pro-box .sub { color: var(--s-muted); }
.partage-boite { border: 1px solid var(--s-line); border-top: 3px solid var(--s-accent); border-radius: 4px; }
.partage-boite .pb-titre { font-family: var(--s-display); font-weight: 500; }
.partage-boite .pb-note { background: var(--s-panel); }
.doc-switch { border-color: var(--s-accent); }
.doc-switch button { border-right-color: var(--s-line); font-family: var(--s-body); }
.doc-switch button.on { background: var(--s-accent); color: #fff; }
.doc-switch button.on small { color: var(--s-on-navy); }
.doc-switch-titre { color: var(--s-accent); letter-spacing: 0.08em; }
.docs-notice, .partage-recu { background: var(--s-navy); border-left-color: #9DB6D9; border-radius: 3px; }
.docs-notice em, .partage-recu strong { color: #fff; }
.pdf-aide { background: var(--s-panel); border-left-color: var(--s-accent); }
.pdf-aide em { color: var(--s-accent); }
.report-toolbar .btn { font-family: var(--s-body); }

/* Pied de page */
footer.site { background: var(--s-navy-2); color: var(--s-on-navy); border-top: none; margin-top: 0; }
footer.site .flogo { font-family: var(--s-body); font-weight: 600; color: #fff; }
footer.site .flogo span { color: #9DB6D9; font-style: normal; }
footer.site a { color: var(--s-on-navy); }
.form-bloc.replie .bloc-titre.toggle::after { content: "  +  extérieur, terrain, DPE, photos"; }
.form-bloc:not(.replie) .bloc-titre.toggle::after { content: "  –  replier"; }
/* Héros : titre large sur deux lignes, façade visible à droite */
.hero-copy { max-width: none; margin-bottom: 34px; }
.hero h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 2.9rem); }
.hero p.lead { max-width: 56ch; }
.hero {
  background:
    linear-gradient(180deg, rgba(19,40,74,0) 0%, rgba(19,40,74,0) 58%, var(--s-bg) 58%),
    linear-gradient(90deg, rgba(19,40,74,1) 0%, rgba(19,40,74,0.96) 38%, rgba(19,40,74,0.55) 70%, rgba(19,40,74,0.35) 100%),
    url("https://images.unsplash.com/photo-1549144511-f099e773c147?w=1600&q=70&auto=format&fit=crop") 15% 30% / cover no-repeat,
    var(--s-navy);
}
@media (max-width: 960px) {
  .hero { background: linear-gradient(180deg, rgba(19,40,74,0.94), rgba(19,40,74,0.94) 70%, var(--s-bg) 70%), url("https://images.unsplash.com/photo-1549144511-f099e773c147?w=900&q=60&auto=format&fit=crop") 20% 35% / cover no-repeat, var(--s-navy); }
}
.hero h1 { max-width: none; }
/* Textes de section sur toute la largeur : plus de vide à droite */
.band p.intro, .step p, .honest, details.faq p, details.faq .faq-liste, .hero p.lead { max-width: none; }
.col .who { white-space: normal; }
.prix-actions-titre { flex-basis: 100%; margin: 0 0 2px; font-weight: 600; font-size: 0.95rem; color: var(--s-ink); }
/* Aperçu = exemple, jamais confondu avec la demande du visiteur */
.ex-result { position: relative; }
.ex-badge { position: absolute; top: 14px; right: 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s-accent); border: 1.5px solid var(--s-accent); padding: 4px 10px; border-radius: 2px; background: #fff; }
.hero-preview { transition: opacity 0.4s ease, filter 0.4s ease; }
.hero-preview.estompe { opacity: 0.3; filter: grayscale(0.6); pointer-events: none; }
/* Exemple SOUS le formulaire (décision Nawal) : formulaire pleine largeur,
   puis l'exemple en deux cartes côte à côte */
.hero-grid { grid-template-columns: 1fr; gap: 36px; }
.card { max-width: none; }
@media (min-width: 860px) {
  #form-estimation .form-bloc:first-child, #form-estimation .form-bloc + .form-bloc {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; align-items: start;
  }
  #form-estimation .form-bloc:first-child > .ac-wrap,
  #form-estimation .form-bloc:first-child > #adresse-aide,
  #form-estimation .form-bloc > .bloc-titre,
  #form-estimation .form-bloc > .field:has(#seg-part),
  #form-estimation .form-bloc > .field:has(#photo-zone) { grid-column: 1 / -1; }
  #form-estimation .row2 { align-items: end; }
  #form-estimation > .form-erreur, #form-estimation > #btn-submit, #form-estimation > .loading-inline,
  #form-estimation > .form-foot, #form-estimation > .pledges { grid-column: 1 / -1; }
}
.hero-preview { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px 28px; align-items: start; }
.hero-preview .eyebrow-2, .hero-preview .ex-caption { grid-column: 1 / -1; }
.hero-preview .eyebrow-2 { color: var(--s-muted); }
@media (max-width: 960px) { .hero-preview { grid-template-columns: 1fr; } .ex-doc { display: flex; } }
.hero { background:
    linear-gradient(180deg, rgba(19,40,74,0) 0%, rgba(19,40,74,0) 420px, var(--s-bg) 420px),
    linear-gradient(90deg, rgba(19,40,74,1) 0%, rgba(19,40,74,0.96) 38%, rgba(19,40,74,0.55) 70%, rgba(19,40,74,0.35) 100%),
    url("https://images.unsplash.com/photo-1549144511-f099e773c147?w=1600&q=70&auto=format&fit=crop") 15% 22% / cover no-repeat,
    var(--s-bg); }
@media (max-width: 960px) { .hero { background: linear-gradient(180deg, rgba(19,40,74,0.94), rgba(19,40,74,0.94) 380px, var(--s-bg) 380px), url("https://images.unsplash.com/photo-1549144511-f099e773c147?w=900&q=60&auto=format&fit=crop") 20% 35% / cover no-repeat, var(--s-navy); } }

/* Recherche en cours : un vrai panneau lisible, pas une ligne grise en italique */
.loading-inline {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 20px;
  background: var(--s-navy); color: #fff; border-radius: 4px; font-size: 1.02rem; font-weight: 500; font-style: normal;
}
.loading-inline .spin { width: 26px; height: 26px; border-width: 3px; border-color: rgba(255,255,255,0.25); border-top-color: #fff; }
.loading-inline.hidden { display: none; }
.loading { padding: 22px 24px; background: var(--s-navy); color: #fff; border-radius: 4px; font-size: 1.05rem; font-weight: 500; font-style: normal; }
.loading .spin { border-color: rgba(255,255,255,0.25); border-top-color: #fff; }
#btn-submit[disabled] { opacity: 1; background: var(--s-accent-2); cursor: wait; }

/* ---------- Encart Guides (accueil) ---------- */
#guides .intro { color: var(--s-muted); max-width: 60ch; margin-bottom: 26px; }
.guides-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.guides-teaser a {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 22px;
  background: var(--s-bg); border: 1px solid var(--s-line); border-radius: 4px;
  color: var(--s-ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease;
}
.guides-teaser a:hover { border-color: var(--s-accent); transform: translateY(-2px); }
.guides-teaser a b { font-family: var(--s-display); font-weight: 500; font-size: 1.18rem; line-height: 1.25; color: var(--s-ink); }
.guides-teaser a span { font-size: 0.9rem; color: var(--s-muted); line-height: 1.5; }
.guides-tous { margin-top: 22px; font-weight: 500; }
.guides-tous a { color: var(--s-accent); text-decoration: none; }
.guides-tous a:hover { text-decoration: underline; }
