/* AcolheMente — identidade visual.
   Paleta: azul navy principal, azul profundo para títulos, amarelo/dourado de destaque,
   fundo claro, cards brancos, verde (baixo), âmbar (médio), vermelho (alto/alerta). */
:root {
  --navy: #073B66;          /* azul escuro principal (header, títulos, botões) */
  --navy-deep: #042a4a;     /* azul profundo da logo (textos importantes) */
  --navy-soft: #0d4f86;     /* azul intermediário */
  --gold: #FDBA12;          /* amarelo/dourado de destaque (alinhado à logo) */
  --gold-soft: #fff3d6;     /* fundo dourado suave */
  --bg: #F7FAFC;            /* fundo claro / cinza claro */
  --card: #FFFFFF;          /* cards brancos */
  --ink: #1d2b3a;
  --muted: #5b6b7c;
  --line: #e2eaf1;
  --line-soft: #eef3f8;

  --low: #2e9e6b;           /* verde suave — baixo risco / sucesso */
  --low-bg: #e7f6ee;
  --mid: #e89a2c;           /* amarelo/laranja — médio risco */
  --mid-bg: #fdf1de;
  --high: #d65a5a;          /* vermelho suave — alto risco / alerta crítico */
  --high-bg: #fdecec;

  --navy-tint: #eaf2f9;     /* azul muito claro de fundo */
  --shadow: 0 6px 24px rgba(7, 59, 102, 0.08);
  --shadow-lg: 0 14px 44px rgba(7, 59, 102, 0.16);
  --radius: 20px;
  --radius-sm: 14px;

  /* ── Aliases semânticos globais (baseados na logo AcolheMente) ── */
  --color-primary: var(--navy);        /* azul escuro/navy */
  --color-primary-dark: var(--navy-deep);
  --color-accent: var(--gold);         /* amarelo/dourado */
  --color-bg: var(--bg);
  --color-card: var(--card);
  --color-success: var(--low);         /* verde suave (baixo risco) */
  --color-warning: var(--mid);         /* âmbar (médio risco) */
  --color-danger: var(--high);         /* vermelho suave (alto risco/alerta) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-deep); margin: 0 0 .4em; font-weight: 700; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand .brand-logo {
  height: 42px;          /* altura controlada */
  width: auto;           /* largura proporcional */
  max-width: 220px;      /* limite de largura */
  object-fit: contain;   /* nunca distorcer/cortar */
  display: block;
}
.brand:hover .brand-logo { opacity: .9; }
.brand .brand-accent { color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 9px 13px; border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.nav a:hover { background: var(--navy-tint); color: var(--navy-deep); }
.nav a.active { background: var(--navy); color: #fff; }

.menu-btn { display: none; margin-left: auto; background: none; border: none; font-size: 1.5rem; color: var(--navy-deep); cursor: pointer; }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; border: none; cursor: pointer; text-decoration: none; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(253,186,18,.32); }
.btn-secondary { background: var(--navy-tint); color: var(--navy-deep); border: 1px solid var(--line); }
.btn-ghost { background: #fff; color: var(--navy-deep); border: 1px solid var(--line); }
.btn-sm { padding: 9px 17px; font-size: .9rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Cards ──────────────────────────────────────────── */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.card.soft { box-shadow: none; background: var(--navy-tint); border-color: transparent; }
.card.gold-soft { box-shadow: none; background: var(--gold-soft); border: 1px solid #f4dca0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Hero ───────────────────────────────────────────── */
.hero { background:
    radial-gradient(1100px 420px at 82% -10%, #dcebff0 0, transparent 60%),
    radial-gradient(900px 420px at 0% 0%, var(--navy-tint) 0, transparent 55%);
  padding: 60px 0 44px; }
.hero-logo { display: flex; align-items: center; margin-bottom: 22px; }
.hero-logo .hero-logo-img {
  height: auto;
  width: auto;
  max-width: 340px;       /* tamanho equilibrado, sem exagero */
  max-height: 96px;
  object-fit: contain;    /* mantém proporção, sem distorção */
  display: block;
}
.hero h1 { font-size: 2.4rem; max-width: 20ch; color: var(--navy-deep); }
.hero .sub { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ── Safety / crisis alert ──────────────────────────── */
.safety { background: var(--mid-bg); border: 1px solid #f3d7a3; border-left: 5px solid var(--mid);
  border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.safety.danger { background: var(--high-bg); border-color: #f3b6b6; border-left-color: var(--high); }
.safety i { color: var(--mid); font-size: 1.3rem; margin-top: 2px; }
.safety.danger i { color: var(--high); }
.safety h4 { margin: 0 0 4px; color: var(--ink); font-size: 1rem; }
.safety p { margin: 0; font-size: .92rem; color: var(--muted); }
.safety .lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.safety .lines span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; color: var(--navy-deep); }

/* Crisis card (destaque vermelho) */
.crisis-card { background: var(--high-bg); border: 1px solid #f3b6b6; border-left: 5px solid var(--high);
  border-radius: var(--radius-sm); padding: 18px 20px; }
.crisis-card h4 { color: var(--high); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.crisis-card p { margin: 0; color: var(--ink); font-size: .95rem; }
.crisis-card .lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crisis-card .lines span { background: #fff; border: 1px solid #f3b6b6; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; color: var(--high); }

/* ── Disclaimer chip ────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: var(--navy-deep);
  font-size: .82rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; border: 1px solid #f4dca0; }

/* ── Progress ───────────────────────────────────────── */
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #f7a900); transition: width .4s ease; }
.progress.navy > span { background: linear-gradient(90deg, var(--navy-soft), var(--navy)); }

/* ── Forms / options ────────────────────────────────── */
.question { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 13px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.question.answered { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,79,134,.10); }
.question.crit-item { border-left: 4px solid var(--high); }
.question .q-text { font-weight: 600; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; }
.question .q-num { color: var(--navy-soft); font-weight: 800; margin-right: 4px; }
.question .q-pts { font-size: .75rem; font-weight: 700; color: var(--navy); background: var(--navy-tint); border-radius: 999px; padding: 2px 9px; margin-left: auto; white-space: nowrap; }
.question .crit-badge { font-size: .7rem; font-weight: 700; color: var(--high); background: var(--high-bg); border-radius: 999px; padding: 2px 9px; }
.help-btn { background: none; border: 1px solid var(--line); color: var(--navy-soft); border-radius: 999px;
  width: 22px; height: 22px; font-size: .72rem; cursor: pointer; display: inline-grid; place-items: center; flex-shrink: 0; }
.help-btn:hover { background: var(--navy-tint); }
.help-box { display: none; margin-top: 10px; background: var(--navy-tint); border-radius: 10px; padding: 10px 13px; font-size: .86rem; color: var(--navy-deep); line-height: 1.5; }
.help-box.open { display: block; }

.options { display: flex; gap: 10px; flex-wrap: wrap; }
.option { flex: 1 1 120px; }
.option input { position: absolute; opacity: 0; }
.option label { display: block; text-align: center; padding: 11px 10px; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; font-weight: 600; color: var(--muted); transition: all .15s; user-select: none; }
.option input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.option label:hover { border-color: var(--navy-soft); }
.option.yes input:checked + label { background: var(--navy); border-color: var(--navy); }

.dim-title, .group-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 1.05rem; color: var(--navy-deep); font-weight: 700; flex-wrap: wrap; }
.dim-title .badge, .group-title .badge { background: var(--navy-tint); color: var(--navy-deep); font-size: .75rem; padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.group-title .subtotal { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--gold-soft); border: 1px solid #f4dca0; padding: 3px 11px; border-radius: 999px; }

.group-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 18px; }
.group-card .group-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.group-card .group-head h3 { margin: 0; font-size: 1.05rem; }
.group-card .group-progress { height: 7px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 16px; }
.group-card .group-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-soft), var(--navy)); transition: width .35s; }

.block-intro { background: var(--navy-tint); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; color: var(--navy-deep); }

/* ── Result ─────────────────────────────────────────── */
.result-score { font-size: 3rem; font-weight: 800; color: var(--navy-deep); line-height: 1; }
.result-label { font-size: 1.15rem; font-weight: 800; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.kv:last-child { border-bottom: none; }
.kv b { color: var(--navy-deep); }
.pill-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.pill-status.ok { background: var(--low-bg); color: var(--low); }
.pill-status.warn { background: var(--high-bg); color: var(--high); }

.risk-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.risk-low { background: var(--low-bg); color: var(--low); }
.risk-mid { background: var(--mid-bg); color: var(--mid); }
.risk-high { background: var(--high-bg); color: var(--high); }

.notice-tech { font-size: .82rem; color: var(--muted); background: var(--line-soft); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-crit { background: var(--high-bg); color: var(--high); border: 1px solid #f3b6b6; border-radius: 10px; padding: 6px 10px; font-size: .85rem; font-weight: 600; }
.tag-special { background: var(--gold-soft); color: #9a6b00; border: 1px solid #f4dca0; border-radius: 10px; padding: 6px 10px; font-size: .85rem; font-weight: 600; }

.steps-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ── Care pathway ───────────────────────────────────── */
.pathway { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.pathway .step { flex: 1 1 0; min-width: 90px; background: #fff; border: 1px solid var(--line); padding: 12px; text-align: center; font-size: .85rem; font-weight: 700; position: relative; color: var(--muted); }
.pathway .step:first-child { border-radius: 12px 0 0 12px; }
.pathway .step:last-child { border-radius: 0 12px 12px 0; }
.pathway .step.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt { margin-top: 18px; }
.mt-lg { margin-top: 32px; }

.chart-box { position: relative; }

/* ── Special conditions / acute events checkboxes ───── */
.check-grid { display: grid; gap: 10px; margin-top: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.check-item:hover { border-color: var(--navy-soft); }
.check-item input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; cursor: pointer; }
.check-item.acute { border-left: 4px solid var(--high); }
.check-item.special { border-left: 4px solid var(--gold); }
.check-item .ci-text { font-size: .92rem; }
.check-item.checked { background: var(--navy-tint); border-color: var(--navy-soft); }

/* ── Reference list ─────────────────────────────────── */
.ref-list { padding-left: 18px; line-height: 2.1; color: var(--muted); font-size: .91rem; }
.ref-list li { margin-bottom: 6px; }

/* ── Conteúdo científico/educacional ────────────────── */
.ci-h { color: var(--navy-deep); font-size: .98rem; margin: 16px 0 6px; }
.ci-h:first-of-type { margin-top: 4px; }
.ci-p { font-size: .92rem; line-height: 1.75; margin: 0 0 4px; }
.ci-ul { font-size: .9rem; line-height: 1.8; margin: 4px 0 4px; padding-left: 18px; }
.ci-ul li { margin-bottom: 4px; }

/* ── Footer ─────────────────────────────────────────── */
footer.site-footer { background: var(--navy-deep); color: #cdddec; padding: 38px 0; margin-top: 40px; font-size: .9rem; }
footer.site-footer a { color: #fff; text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer strong { color: #fff; }
footer.site-footer .brand-accent { color: var(--gold); }
footer.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }

/* ── Subtotais por grupo (nunca quebrar "12 / 30") ──── */
/* (alias semântico --color-primary definido no :root principal) */

.group-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(7, 59, 102, 0.15);
}
.group-score-row:last-child { border-bottom: none; }
.group-score-label {
  min-width: 0;
  line-height: 1.35;
  font-size: .94rem;
  color: var(--ink);
}
.group-score-label .gsr-roman {
  font-weight: 800;
  color: var(--navy-deep);
  margin-right: 4px;
}
.group-score-value {
  white-space: nowrap;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-primary);
  background: rgba(253, 186, 18, 0.14);
  border: 1px solid rgba(253, 186, 18, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .9rem;
}
.group-score-value.is-top {
  background: rgba(214, 90, 90, 0.12);
  border-color: rgba(214, 90, 90, 0.4);
  color: var(--high);
}
@media (max-width: 520px) {
  .group-score-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .group-score-value { justify-self: start; }
}

/* ── Cartão-herói de resultado (pontuação + classificação) ── */
.result-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.result-hero .score-ring {
  width: 132px; height: 132px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--ring-color, var(--navy)) var(--ring-pct, 0%), var(--line) 0);
  position: relative;
}
.result-hero .score-ring::after {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  background: var(--card);
}
.result-hero .score-ring .score-inner {
  position: relative; z-index: 1; text-align: center; line-height: 1;
}
.result-hero .score-ring .score-inner b {
  font-size: 2.3rem; font-weight: 800; color: var(--navy-deep);
  font-variant-numeric: tabular-nums; display: block;
}
.result-hero .score-ring .score-inner span {
  font-size: .78rem; color: var(--muted); font-weight: 600;
}
.result-hero .hero-meta { min-width: 0; }
.result-hero .hero-meta .hero-interp { color: var(--muted); font-size: .94rem; margin: 10px 0 0; }
@media (max-width: 560px) {
  .result-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .result-hero .hero-meta { text-align: center; }
}

/* ── Section divider (área técnica discreta) ────────── */
.section-divider {
  margin: 40px 0 24px; display: flex; align-items: center; gap: 14px;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.section-divider span {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* ── Result section title (ícone + título) ──────────── */
.rsec-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.05rem; color: var(--navy-deep); margin: 0 0 12px;
}
.rsec-title i { font-size: 1rem; }

/* ── Chart legend (legenda simples) ─────────────────── */
.chart-legend {
  display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center;
  margin-top: 12px; font-size: .82rem; color: var(--muted);
}
.chart-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend .dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.chart-legend .dot.low { background: #2e9e6b; }
.chart-legend .dot.mid { background: #e89a2c; }
.chart-legend .dot.high { background: #d65a5a; }
.chart-legend .dot.ersm { background: #073B66; }
.chart-legend .dot.cuida { background: #FDBA12; }

/* ── Steps / next-actions (próximos passos educacionais) ── */
.next-steps { list-style: none; padding: 0; margin: 8px 0 0; }
.next-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; color: var(--ink);
}
.next-steps li:last-child { border-bottom: none; }
.next-steps li i {
  color: var(--navy-soft); margin-top: 3px; flex-shrink: 0; width: 18px; text-align: center;
}

/* ── Tabular numbers em pontuações de resultado ─────── */
.result-score, .kv b, .risk-badge { font-variant-numeric: tabular-nums; }

/* ── Comparison cards (integrado) ───────────────────── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .compare-grid { grid-template-columns: 1fr; } }
.metric-card {
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  padding: 18px 20px; background: #fff;
}
.metric-card.ersm { border-top: 4px solid var(--navy); }
.metric-card.cuida { border-top: 4px solid var(--gold); }
.metric-card .mc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.metric-card .mc-head h3 { margin: 0; font-size: 1rem; }
.metric-card .mc-score {
  font-size: 2.1rem; font-weight: 800; color: var(--navy-deep);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.metric-card .mc-score small { font-size: .95rem; color: var(--muted); font-weight: 600; }

/* ── Academic cards (Base científica) ───────────────── */
.ac-card { position: relative; overflow: hidden; }
.ac-tag {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 8px; padding: 7px 11px; font-size: .8rem; font-weight: 700;
}
.ac-tag.navy { background: var(--navy); color: #fff; }
.ac-tag.gold { background: var(--gold); color: var(--navy-deep); }
.ac-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ac-head h2 { margin: 0; font-size: 1.12rem; color: var(--navy-deep); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 14px 0; }
.fact {
  background: var(--navy-tint); border-radius: 12px; padding: 13px 14px; text-align: center;
}
.fact b { display: block; font-size: 1.5rem; color: var(--navy-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fact span { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ── Documentation table (Dados técnicos) ───────────── */
.doc-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc-table th { color: var(--navy-deep); font-weight: 700; background: var(--navy-tint); }
.doc-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Hero feature pills (home) ──────────────────────── */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-pills .hp {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--navy-deep);
  box-shadow: var(--shadow);
}
.hero-pills .hp i { color: var(--gold); }

/* ── Garantias visuais gerais ───────────────────────── */
.chart-box canvas { max-width: 100%; }
.card { overflow-wrap: anywhere; }

/* ── Responsividade geral ───────────────────────────── */
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero h1 { font-size: 1.85rem; }
  .hero-logo .hero-logo-img { max-width: 280px; max-height: 80px; }
  footer.site-footer .cols { grid-template-columns: 1fr; }
  .steps-nav { flex-direction: column; }
  .steps-nav .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 32px 0; }
  .card { padding: 18px; }
  .hero { padding: 40px 0 32px; }
  .hero-logo .hero-logo-img { max-width: 230px; max-height: 64px; }
  .brand .brand-logo { height: 36px; max-width: 180px; }
  .hero h1 { font-size: 1.55rem; }
  .hero .sub { font-size: 1rem; }
  .result-score { font-size: 2.4rem; }
  .btn { padding: 12px 18px; font-size: .95rem; }
  .options { gap: 8px; }
  .option { flex: 1 1 100%; }
}
