/* ════════════════════════════════════════════════════════════════════════ */
/*  Audits Énergies — Vitrine publique (landing + guides experts)          */
/*  Design tokens alignés sur le SaaS design-v1 pour cohérence de marque.  */
/* ════════════════════════════════════════════════════════════════════════ */

:root {
  --paper:   #F5F2EC; --paper-2: #EDEAE3; --paper-3: #E4E0D7;
  --ink:     #0E1010; --ink-2: #2B2D2E; --ink-3: #54575A; --ink-4: #8A8D90; --ink-5: #B8BAB9;
  --line:    rgba(14,16,16,0.08); --line-2: rgba(14,16,16,0.14); --hairline: rgba(14,16,16,0.06);
  --signal: #3FE07C; --signal-deep: #0F7A3D; --signal-tint: rgba(63,224,124,0.12); --signal-soft: rgba(63,224,124,0.22);
  --copper: #C66A2B; --copper-tint: rgba(198,106,43,0.12);
  --amber: #E8B341; --amber-tint: rgba(232,179,65,0.12);
  --rouge: #D94646; --rouge-tint: rgba(217,70,70,0.10);
  --plasma: #6B4CFF; --plasma-tint: rgba(107,76,255,0.10);
  --shadow-1: 0 1px 0 rgba(14,16,16,0.04), 0 1px 2px rgba(14,16,16,0.04);
  --shadow-2: 0 1px 0 rgba(14,16,16,0.04), 0 8px 24px -8px rgba(14,16,16,0.12);
  --shadow-3: 0 16px 50px -12px rgba(14,16,16,0.22);
  --r-1: 4px; --r-2: 8px; --r-3: 12px; --r-4: 16px;
  --font-sans: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Source Serif Pro", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Topbar méga-menus — version claire (partagée par toute la vitrine) ──── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 60px; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topbar-brand { display: flex; align-items: center; gap: 10px; height: 100%; }
.topbar-brand img { height: 28px; width: auto; filter: none; }
.dot { display: none; }  /* pastille verte pulsée retirée (demande Michael 2026-06-08) */
@keyframes breathe { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.85)} }

.nav { display: flex; gap: 2px; align-items: stretch; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.full { position: static; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 100%; padding: 0 13px; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 500; line-height: 1;
  color: var(--ink-3); transition: color .15s;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link { color: var(--ink); }
.nav-link .caret { width: 10px; height: 10px; opacity: .5; transition: transform .2s ease; }
.nav-item:hover > .nav-link .caret, .nav-item.open > .nav-link .caret { transform: rotate(180deg); opacity: .9; }
.nav-link::after { content:''; position:absolute; left:13px; right:13px; bottom:0; height:2px; background: var(--signal-deep); transform: scaleX(0); transition: transform .2s ease; }
.nav-link:hover::after, .nav-item:hover > .nav-link::after, .nav-item.open > .nav-link::after { transform: scaleX(1); }

.nav-cta {
  align-self: center; margin-left: 10px; height: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; background: var(--ink); color: #fff;
  border-radius: 7px; font-size: 12.5px; font-weight: 600;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--signal-deep); transform: translateY(-1px); }

.mega {
  position: absolute; top: 100%; left: 0;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--r-4) var(--r-4);
  box-shadow: var(--shadow-3);
  padding: 22px; z-index: 200; min-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.mega.align-right { left: auto; right: 0; }
.mega.full { left: 0; right: 0; padding: 26px 24px; }
.nav-item:hover > .mega, .nav-item.open > .mega, .nav-item:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.mega::before { content:''; position:absolute; top:-10px; left:0; right:0; height:10px; }
.mega-grid { display: grid; gap: 2px 24px; }
.mega.cols-2 .mega-grid { grid-template-columns: 1.1fr 1fr; min-width: 540px; }
.mega.cols-3 .mega-grid { grid-template-columns: repeat(3, 1fr); }
.mega-col { min-width: 0; }
.mega-col-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--ink-4); padding: 6px 10px 8px;
  border-bottom: 1px solid var(--hairline); margin-bottom: 5px;
}
.mega-col-title svg { width: 16px; height: 16px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: var(--r-2); transition: background .14s; }
.mega-link:hover { background: var(--paper-2); }
.mega-link .mi { flex: 0 0 auto; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.mega-link .mi svg { width: 26px; height: 26px; }
.mega-link .mtxt { display: flex; flex-direction: column; min-width: 0; }
.mega-link .mt { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.mega-link .md { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; margin-top: 3px; }
.mega-link.text-only { padding: 7px 10px; }
.mega-link.text-only .mt { font-weight: 500; }
.mega-feature {
  display: flex; flex-direction: column; gap: 5px; height: 100%;
  padding: 16px; border-radius: var(--r-3);
  background: linear-gradient(155deg, var(--signal-tint), #fff 85%);
  border: 1px solid var(--signal-soft);
}
.mega-feature:hover { border-color: var(--signal-deep); }
.mega-feature .ft-badge { align-self: flex-start; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--signal-deep); background: #fff; border: 1px solid var(--signal-soft); padding: 3px 9px; border-radius: 100px; }
.mega-feature .ft-title { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.mega-feature .ft-desc { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.mega-feature .ft-go { font-size: 13px; font-weight: 700; color: var(--signal-deep); margin-top: auto; padding-top: 6px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 13px 10px 2px; border-top: 1px solid var(--hairline); }
.mega-foot .mega-alllink { font-size: 13px; font-weight: 700; color: var(--signal-deep); }
.mega-foot .mega-cta { padding: 9px 18px; border-radius: var(--r-2); background: var(--ink); color:#fff; font-weight:600; font-size:13px; }
.mega-foot .mega-cta:hover { background: var(--signal-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-2); width: 38px; height: 38px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px 64px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.05;
  max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--signal-deep); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-3); line-height: 1.65;
  margin-top: 18px; max-width: 680px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 24px; background: var(--ink); color: #fff;
  border-radius: var(--r-2); font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.btn-primary:hover { background: var(--signal-deep); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 22px; background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--line-2); border-radius: var(--r-2);
  font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 20px;
  background: var(--signal-tint); border: 1px solid var(--signal-soft);
  color: var(--signal-deep); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 18px;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.15;
  max-width: 700px; margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--ink-3); line-height: 1.7;
  max-width: 680px; margin-bottom: 48px;
}

/* ── Topic grid (landing) ───────────────────────────────────────────────── */
.topic-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.topic-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 24px;
  transition: all .25s; cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
}
.topic-card:hover {
  border-color: var(--ink-4); transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.topic-icon {
  display: flex; align-items: center; margin-bottom: 12px;
}
.topic-icon svg { width: 46px; height: 46px; }
/* fond carré retiré — icône Solar duotone seule (sans le carré vert) */
.topic-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.topic-meta  { font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.topic-desc  { font-size: 14px; color: var(--ink-3); line-height: 1.6; flex: 1; }
.topic-arrow {
  font-size: 16px; color: var(--signal-deep); font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px;
}
.topic-card:hover .topic-arrow { color: var(--ink); }

/* ── Trust / stats band ─────────────────────────────────────────────────── */
.trust-band {
  background: var(--ink); color: #fff; padding: 64px 24px;
}
.trust-inner { max-width: 1200px; margin: 0 auto; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 32px;
}
.trust-cell { text-align: center; }
.trust-val { font-family: var(--font-mono); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; color: var(--signal); line-height: 1; }
.trust-lbl { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 10px; line-height: 1.55; }
.trust-band .section-title { color: #fff; }
.trust-band .section-eyebrow { color: rgba(255,255,255,.5); }
.trust-band .section-sub { color: rgba(255,255,255,.7); }

/* ── About / Why ────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 28px; transition: all .2s;
}
.why-card:hover { box-shadow: var(--shadow-2); }
.why-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.why-desc  { font-size: 14px; color: var(--ink-3); line-height: 1.65; }
.why-icon { font-size: 28px; margin-bottom: 12px; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--paper-2); padding: 80px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.15;
  max-width: 700px; margin: 0 auto 14px;
}
.cta-band p { font-size: 16px; color: var(--ink-3); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.btn-cta-large {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: var(--ink); color: #fff;
  border-radius: var(--r-2); font-size: 15px; font-weight: 700;
  transition: all .2s;
}
.btn-cta-large:hover { background: var(--signal-deep); transform: translateY(-2px); box-shadow: var(--shadow-3); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink); color: rgba(255,255,255,.6); padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .footer-logo { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--signal); }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 11px; color: rgba(255,255,255,.4); flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  PAGE GUIDE — Layout long-form pour SEO                                 */
/* ════════════════════════════════════════════════════════════════════════ */

.guide-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 24px 64px;
  display: grid; grid-template-columns: 240px 1fr; gap: 64px;
}
.guide-toc {
  position: sticky; top: 80px; height: fit-content;
  align-self: start;
}
.guide-toc-label { font-size: 11px; font-weight: 600; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.guide-toc-list { list-style: none; display: flex; flex-direction: column; gap: 7px; border-left: 1px solid var(--line); padding-left: 14px; }
.guide-toc-list a {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.45;
  display: block; padding: 3px 0;
  transition: color .15s, border-color .15s;
}
.guide-toc-list a:hover { color: var(--ink); }
.guide-toc-list a.current { color: var(--signal-deep); font-weight: 600; }

.guide-article {
  max-width: 740px; line-height: 1.75;
  font-size: 16px; color: var(--ink-2);
}
.guide-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-4); margin-bottom: 14px;
}
.guide-meta .badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 12px;
  background: var(--signal-tint); color: var(--signal-deep);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.guide-article h1 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px; color: var(--ink);
}
.guide-lead {
  font-size: 18px; color: var(--ink-2); line-height: 1.7;
  font-weight: 400; margin-bottom: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--hairline);
}
.guide-article h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 48px 0 16px; color: var(--ink); scroll-margin-top: 80px;
}
.guide-article h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin: 32px 0 12px; color: var(--ink); scroll-margin-top: 80px;
}
.guide-article p { margin-bottom: 18px; }
.guide-article ul, .guide-article ol { margin: 0 0 22px 22px; }
.guide-article li { margin-bottom: 8px; line-height: 1.7; }
.guide-article strong { color: var(--ink); font-weight: 600; }
.guide-article a { color: var(--signal-deep); text-decoration: underline; text-decoration-color: var(--signal-soft); }
.guide-article a:hover { text-decoration-color: var(--signal-deep); }
.guide-article blockquote {
  border-left: 3px solid var(--signal); padding: 12px 0 12px 22px;
  margin: 24px 0; color: var(--ink-3); font-style: italic;
  background: var(--signal-tint); border-radius: 0 var(--r-2) var(--r-2) 0;
  padding-right: 16px;
}

/* Callout boxes pour guides */
.callout {
  margin: 24px 0; padding: 18px 56px 18px 22px;
  border-radius: var(--r-2); border: 1px solid var(--line);
  position: relative;
}
.callout-info    { background: var(--plasma-tint); }
.callout-warn    { background: var(--amber-tint); }
.callout-danger  { background: var(--rouge-tint); }
.callout-success { background: var(--signal-tint); }

/* Étiquette énergie DPE A→G (verticale, à droite) — signature maison.
   Le balisage <span class="dpe">…</span> est injecté dans chaque bloc par
   scripts/inject-dpe-gauge.js (callouts) et par renderResults (diagnostic). */
/* Dégradé énergie CONTINU (vert→rouge relié) porté par le conteneur ;
   les 7 rangées sont transparentes, seule celle du niveau est marquée + lettrée */
.dpe {
  position: absolute; top: 18px; right: 14px;
  width: 15px; height: 78px; border-radius: 5px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg,#2fa84f 0%,#8cc63f 26%,#ffd200 50%,#f7941e 72%,#e3261d 100%);
  box-shadow: 0 1px 4px rgba(14,16,16,.22);
}
.dpe i {
  flex: 1; min-height: 0; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; background: transparent;
}
.dpe i.on {
  align-self: center; min-width: 22px;
  font-size: 8.5px; font-weight: 800; color: #0E1010;
  background: #fff; border: 1.5px solid var(--c); border-radius: 3px;
  box-shadow: 0 1px 3px rgba(14,16,16,.35);
}
.callout-title { font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.callout p:last-child { margin-bottom: 0; }

/* Tableau */
.guide-article table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden;
}
.guide-article th {
  text-align: left; padding: 12px 14px;
  background: var(--paper-2); font-weight: 600;
  border-bottom: 1px solid var(--line); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3);
}
.guide-article td {
  padding: 12px 14px; border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.guide-article tbody tr:last-child td { border-bottom: none; }

/* FAQ */
.faq {
  margin: 32px 0; display: grid; gap: 4px;
}
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-2); padding: 18px 22px;
  transition: all .15s;
}
.faq-item:hover { box-shadow: var(--shadow-1); }
.faq-q {
  font-weight: 600; font-size: 15px; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
}
.faq-q::after { content: '+'; color: var(--signal-deep); font-weight: 700; font-size: 18px; transition: transform .2s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.faq-a p:last-child { margin-bottom: 0; }

/* Related guides */
.related {
  margin: 64px 0 0; padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.related h3 {
  font-size: 16px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-2); padding: 14px 16px;
  font-size: 13px; transition: all .15s;
  display: flex; flex-direction: column; gap: 4px;
}
.related-card:hover { background: var(--paper-3); transform: translateY(-1px); }
.related-card-icon { font-size: 18px; }
.related-card-title { font-weight: 600; color: var(--ink); }
.related-card-sub { font-size: 11px; color: var(--ink-4); }

/* Inline CTA box */
.inline-cta {
  margin: 36px 0; padding: 28px;
  background: var(--ink); color: #fff; border-radius: var(--r-3);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.inline-cta-text { flex: 1; min-width: 200px; }
.inline-cta-text strong { color: #fff; font-size: 16px; font-weight: 700; display: block; margin-bottom: 4px; }
.inline-cta-text span { color: rgba(255,255,255,.6); font-size: 13px; }
.inline-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; background: var(--signal); color: var(--ink);
  border-radius: var(--r-2); font-size: 13px; font-weight: 700;
  transition: opacity .15s;
}
.inline-cta-btn:hover { opacity: .88; }

/* Hero spécifique guide */
.guide-hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 40px 24px 24px;
}
.guide-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  font-size: 12px; color: var(--ink-4); margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--signal-deep); }
.breadcrumb-sep { color: var(--ink-5); }

/* ════════════════════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                              */
/* ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 10px 18px 48px; height: auto;
    overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav-item, .nav-item.full { position: static; flex-direction: column; align-items: stretch; }
  .nav-link { height: auto; padding: 15px 6px; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-link::after { display: none; }
  .mega, .mega.align-right, .mega.full {
    position: static; opacity: 1; transform: none; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; margin: 0; padding: 4px 0 10px 6px;
    background: transparent; display: none; min-width: 0; transition: none;
  }
  .nav-item.open > .mega { display: block; }
  .mega.cols-2 .mega-grid, .mega.cols-3 .mega-grid { grid-template-columns: 1fr; min-width: 0; }
  .mega-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-toc { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  .topbar-inner { padding: 0 16px; }
  .hero { padding: 56px 16px 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { justify-content: center; }
  .section { padding: 48px 16px; }
  .topic-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-band, .cta-band { padding: 48px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .guide-hero { padding: 24px 16px; }
  .guide-layout { padding: 24px 16px 48px; }
  .guide-article h1 { font-size: 26px; }
  .guide-article h2 { font-size: 22px; }
  .guide-article h3 { font-size: 17px; }
  .guide-article { font-size: 15px; }
  .inline-cta { padding: 20px; flex-direction: column; align-items: stretch; }
  .inline-cta-btn { justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
