/* =========================================================
   Hospedar Bem — folha de estilo única
   Cores e fontes ficam nas variáveis abaixo: troque aqui
   para mudar a identidade do site inteiro.
   ========================================================= */

:root {
  --ink: #15222c;
  --ink-2: #384955;
  --muted: #64727c;
  --line: #e2e5e1;
  --bg: #ffffff;
  --bg-soft: #f6f3ec;
  --bg-sea: #eef5f3;
  --brand: #0e5e5a;
  --brand-ink: #0a4441;
  --brand-soft: #e1efec;
  --accent: #c98a22;
  --accent-soft: #fbf1df;
  --good: #1d7349;
  --bad: #a8423a;

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 34, 44, .05), 0 6px 20px rgba(21, 34, 44, .06);
  --wrap: 1140px;
  --prose: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 650; margin-top: 2.2em; }
h3 { font-size: 1.25rem; font-weight: 650; margin-top: 1.6em; }
h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: var(--prose); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .8rem;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Faixa superior e cabeçalho ---------- */

.topbar {
  background: var(--ink);
  color: #d9e1e4;
  font-size: .82rem;
  text-align: center;
  padding: 7px 16px;
}
.topbar a { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.01em; }
.logo-text span { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: .94rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] .menu-panel {
    position: absolute; right: 0; top: calc(100% + 8px); width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 8px; display: grid;
  }
  .menu-panel a { padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
  .menu-panel a:hover { background: var(--bg-soft); }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: #b9d3cf; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Home ---------- */

.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, var(--bg-sea), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.1rem; margin: 0 0 14px; }
.hero-card ol { list-style: none; padding: 0; margin: 0; counter-reset: pick; }
.hero-card li {
  counter-increment: pick; display: grid; grid-template-columns: 30px 1fr; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--line); margin: 0;
}
.hero-card li:first-child { border-top: 0; padding-top: 0; }
.hero-card li::before {
  content: counter(pick); width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center;
}
.hero-card a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; display: block; }
.hero-card a:hover { color: var(--brand); }
.hero-card .small { display: block; margin-top: 2px; }

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 28px 0;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 2px; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { font-size: .86rem; color: var(--muted); line-height: 1.45; display: block; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 40em; }

.hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hub:hover { border-color: #b9d3cf; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.hub-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.hub-icon svg { width: 24px; height: 24px; }
.hub h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.hub p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.5; }
.card-meta { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--muted); display: flex; gap: 10px; }
.tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px;
}

/* Espaço de foto: troque por <img> com foto própria */
.ph {
  aspect-ratio: 16 / 10; width: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(14, 94, 90, .045) 14px 28px),
    var(--bg-sea);
  display: grid; place-items: center; color: #7d9b97; text-align: center;
  font-size: .8rem; font-weight: 500;
}
.ph svg { width: 34px; height: 34px; margin: 0 auto 6px; opacity: .75; }
.ph.square { aspect-ratio: 1 / 1; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 1.08rem; margin: 0 0 6px; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.quote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 0;
  font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; color: var(--ink);
}

.newsletter {
  background: var(--brand); color: #e4f1ef; border-radius: 22px;
  padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.newsletter h2 { color: #fff; margin: 0 0 8px; }
.newsletter p { margin: 0; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 0;
  font: inherit; font-size: .95rem;
}
.newsletter .btn { background: var(--accent); color: #fff; }
.newsletter .btn:hover { background: #ad7414; }
.newsletter .small { flex-basis: 100%; color: #b8d6d2; margin-top: 4px; }

/* ---------- Rodapé ---------- */

.site-footer { background: var(--ink); color: #b6c2c8; font-size: .9rem; padding: 56px 0 32px; margin-top: 80px; }
.site-footer a { color: #e3eaed; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo-text span { color: #8fd0c8; }
.footer-legal { border-top: 1px solid #2c3b45; margin-top: 40px; padding-top: 22px; font-size: .8rem; line-height: 1.6; }

/* ---------- Guia (artigo) ---------- */

.breadcrumb { font-size: .84rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #a8b3b9; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.article-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.article-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.byline .author { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand-ink); font-weight: 700;
  display: grid; place-items: center; font-size: .9rem; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline strong { font-weight: 600; }
.byline .dot { display: inline-flex; align-items: center; gap: 6px; }
.byline svg { width: 16px; height: 16px; }

.disclosure {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid #ebe5d8; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; margin-top: 22px;
}
.disclosure svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent); }
.disclosure p { margin: 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; padding-top: 36px; }
.article-body { max-width: var(--prose); min-width: 0; }
.article-body > h2:first-child { margin-top: 0; }

.toc { position: sticky; top: 92px; align-self: start; font-size: .9rem; }
.toc h4 { margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc ol a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc ol a:hover { color: var(--brand); border-left-color: var(--brand); }
.toc .toc-cta { margin-top: 22px; padding: 16px; background: var(--bg-sea); border-radius: var(--radius-sm); font-size: .86rem; color: var(--ink-2); }
.toc .toc-cta strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Resumo das escolhas */
.picks { display: grid; gap: 14px; margin: 8px 0 12px; }
.pick {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 14px; background: #fff;
}
.pick.is-top { border-color: #b9d3cf; box-shadow: 0 0 0 3px var(--brand-soft); }
.pick .ph { aspect-ratio: 1; border-radius: 10px; font-size: .68rem; }
.pick .ph svg { width: 24px; height: 24px; margin-bottom: 0; }
.pick-label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.pick h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.pick p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.pick-actions { display: grid; gap: 8px; }
.pick-actions .btn { padding: 10px 16px; font-size: .88rem; white-space: nowrap; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: #8a5d12;
}
.badge.brand { background: var(--brand); color: #fff; }

/* Bloco de credibilidade */
.why {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 18px 0 8px;
}
.why div { background: #fff; padding: 16px 18px; }
.why strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; color: var(--brand); }
.why span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* Tabela comparativa */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0 8px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; white-space: nowrap; }
td .yes { color: var(--good); font-weight: 600; }
td .no { color: var(--bad); font-weight: 600; }
.table-note { font-size: .82rem; color: var(--muted); }

/* Review detalhado */
.product {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 28px 0; background: #fff;
}
.product-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.product-head .ph { border-radius: 12px; }
.product h3 { margin: 10px 0 6px; font-size: 1.45rem; }
.product .summary { color: var(--ink-2); margin-bottom: 14px; }

.score { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; }
.score-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 10px; padding: 4px 10px; line-height: 1.2;
}
.score-bars { display: grid; gap: 5px; flex: 1; max-width: 300px; font-size: .78rem; color: var(--muted); }
.score-bars div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 8px; }
.score-bars i { display: block; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.score-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: var(--brand); border-radius: 3px; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; font-size: .88rem; margin: 0 0 16px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.pros-cons > div { border-radius: var(--radius-sm); padding: 16px 18px; }
.pros { background: #eef6f1; }
.cons { background: #f9eeec; }
.pros-cons h4 { margin: 0 0 8px; }
.pros h4 { color: var(--good); }
.cons h4 { color: var(--bad); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.pros-cons li { padding-left: 24px; position: relative; margin-bottom: 6px; line-height: 1.5; }
.pros li::before, .cons li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pros li::before { content: "+"; color: var(--good); }
.cons li::before { content: "–"; color: var(--bad); }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: .92rem; margin-bottom: 18px; }
.fit p { margin: 0; }
.fit strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }

.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.buy .small { margin-left: auto; color: var(--muted); }

.callout {
  background: var(--bg-sea); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0;
  border-left: 4px solid var(--brand);
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { background: var(--accent-soft); border-left-color: var(--accent); }

.verdict {
  background: var(--ink); color: #dfe7ea; border-radius: 18px; padding: 28px; margin: 32px 0;
}
.verdict h2 { color: #fff; margin-top: 0; }
.verdict p:last-child { margin-bottom: 0; }
.verdict .btn-primary { background: #fff; color: var(--ink); }
.verdict .btn-primary:hover { background: var(--brand-soft); }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; padding: 14px 32px 14px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--brand); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

.author-box {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 40px 0;
}
.author-box .avatar { width: 72px; height: 72px; font-size: 1.3rem; }
.author-box h3 { margin: 0 0 2px; font-size: 1.15rem; }
.author-box .role { font-size: .88rem; color: var(--brand); font-weight: 600; margin-bottom: 8px; display: block; }
.author-box p { font-size: .94rem; color: var(--ink-2); margin-bottom: 8px; }

/* ---------- Páginas institucionais ---------- */

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.page-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; margin: 0; }
.page-body { padding: 44px 0 0; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.principle { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.principle h3 { margin: 0 0 6px; font-size: 1.08rem; }
.principle p { margin: 0; font-size: .94rem; color: var(--ink-2); }

.notfound { padding: 96px 0; text-align: center; }

/* ---------- Modo "página modelo" ----------
   Destaca o que precisa ser preenchido. Para publicar:
   troque <body class="modelo"> por <body> em cada página. */

.modelo-banner { display: none; }
body.modelo .modelo-banner {
  display: block; background: #fff4c2; color: #6b5200; border-bottom: 1px solid #ecd77a;
  font-size: .85rem; text-align: center; padding: 8px 16px;
}
body.modelo .preencher {
  background: #fff4c2; box-shadow: 0 0 0 2px #fff4c2; border-radius: 3px;
  color: #4a3b00 !important;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid, .split, .newsletter { grid-template-columns: 1fr; }
  .hubs, .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hubs, .cards, .trust, .steps, .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 72px minmax(0, 1fr); }
  .pick-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .pick-actions .btn-primary { grid-column: 1 / -1; }
  .product { padding: 18px; }
  .product-head { grid-template-columns: 1fr; }
  .product-head .ph { max-width: 220px; }
  .pros-cons, .fit, .specs { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .newsletter { padding: 28px 22px; }
  .buy .small { margin-left: 0; flex-basis: 100%; }
  .author-box { grid-template-columns: 1fr; }
}

/* ---------- Fotos de produto ---------- */

.prod-img {
  aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center; overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.pick .prod-img { border-radius: 10px; }
.prod-fig { margin: 0; }
.prod-fig figcaption { font-size: .72rem; color: var(--muted); margin-top: 6px; text-align: center; line-height: 1.35; }
.card-img { aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.card-img img { height: 100%; width: auto; object-fit: contain; padding: 12px; }

/* Aviso de parceria discreto, na linha do autor */
.byline .aff { font-size: .82rem; color: var(--muted); }
.byline .aff a { color: var(--muted); }

/* ---------- Método HB ---------- */

.hb-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft); padding: 4px 12px 4px 4px; border-radius: 999px;
}
.hb-badge b { background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 9px; letter-spacing: .04em; }

.hb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hb-step { padding: 16px; background: #fff; position: relative; }
.hb-step + .hb-step { border-left: 1px solid var(--line); }
.hb-step .n { font-size: .72rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; }
.hb-step strong { display: block; font-size: .95rem; margin: 4px 0 4px; line-height: 1.3; }
.hb-step p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.hb-step .count { display: block; margin-top: 8px; font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hb-step .count small { font-size: .75rem; font-weight: 500; color: var(--muted); }

/* Bloco de gráfico */
.viz { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 16px; margin: 20px 0; background: #fff; }
.viz-title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 2px; letter-spacing: 0; }
.viz-sub { font-size: .85rem; color: var(--muted); margin: 0 0 16px; line-height: 1.45; }
.viz-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
.viz details { margin-top: 12px; font-size: .85rem; }
.viz summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.viz details table { min-width: 0; margin-top: 10px; font-size: .84rem; font-variant-numeric: tabular-nums; }
.viz details th, .viz details td { padding: 8px 10px; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--ink-2); margin: 0 0 14px; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }

/* Linhas de barras (funil, composição, avaliações) */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 64px; align-items: center; gap: 12px; font-size: .88rem; }
.bar-row .lbl { line-height: 1.3; }
.bar-row .lbl small { display: block; color: var(--muted); font-size: .76rem; }
.bar-row .val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.track {
  position: relative; height: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), #eceae4 calc(20% - 1px) 20%);
}
.fill { height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.stack { display: flex; gap: 2px; height: 100%; }
.seg { height: 100%; background: var(--c); }
.stack .seg:last-child { border-radius: 0 4px 4px 0; }
.axis { display: grid; grid-template-columns: 160px minmax(0, 1fr) 64px; gap: 12px; font-size: .72rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.axis span:nth-child(2) { display: flex; justify-content: space-between; }

/* Dica ao passar o mouse */
[data-tip] { position: relative; }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 500; line-height: 1.3;
  padding: 6px 9px; border-radius: 6px; white-space: nowrap; z-index: 10; pointer-events: none;
}
[data-tip]:hover { filter: brightness(.92); }

/* Avaliações dentro de cada produto */
.reviews { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); margin: 4px 0 18px; }
.rv-score strong { display: block; font-size: 2.1rem; line-height: 1; font-weight: 700; color: var(--ink); }
.rv-score .stars { color: var(--accent); letter-spacing: 2px; font-size: .95rem; margin: 6px 0 4px; }
.rv-score span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.rv-hist { display: grid; gap: 4px; margin-bottom: 12px; }
.rv-hist div { display: grid; grid-template-columns: 26px minmax(0, 1fr) 34px; align-items: center; gap: 8px; font-size: .76rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rv-hist i { display: block; height: 8px; background: #e7e3d8; border-radius: 0 4px 4px 0; position: relative; overflow: visible; }
.rv-hist i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent); border-radius: 0 4px 4px 0; }
.rv-hist b { font-weight: 500; text-align: right; }
.rv-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .84rem; line-height: 1.5; }
.rv-themes p { margin: 0; color: var(--ink-2); }
.rv-themes strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.rv-themes .up strong { color: var(--good); }
.rv-themes .down strong { color: var(--bad); }
.rv-src { grid-column: 1 / -1; font-size: .72rem; color: var(--muted); margin: -6px 0 0; }

.score-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 3px; }
.score-bars div { grid-template-columns: 128px 1fr 26px; }
.score-bars b { font-weight: 600; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }

.status { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status.rec { background: var(--brand); color: #fff; }
.status.ok { background: var(--brand-soft); color: var(--brand-ink); }
.status.out { background: #f3eeee; color: #8a3b34; }

@media (max-width: 760px) {
  .hb-steps { grid-template-columns: 1fr 1fr; }
  .hb-step:nth-child(3) { border-left: 0; }
  .hb-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bar-row, .axis { grid-template-columns: 104px minmax(0, 1fr) 48px; gap: 8px; }
  .reviews { grid-template-columns: 1fr; }
  .rv-themes { grid-template-columns: 1fr; }
  [data-tip]:hover::after { white-space: normal; width: 180px; }
}
