:root {
  --ink: #1a1f2e;
  --ink-soft: #4a5268;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --green: #16a34a;
  --red: #dc2626;
  --border: #e3e8f0;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.5px; }
.nav nav a { margin-left: 18px; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: 2.4rem; letter-spacing: -1px; margin: 0 0 12px; }
.hero p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

h1 { font-size: 2rem; letter-spacing: -0.5px; line-height: 1.25; }
h2 { margin-top: 2.2em; font-size: 1.45rem; letter-spacing: -0.3px; }
.subtitle { color: var(--ink-soft); font-size: 1.05rem; margin-top: -8px; }

section { margin: 40px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card {
  display: block; padding: 18px 20px; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--ink); background: var(--bg);
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 6px 24px rgba(30, 60, 120, .10); transform: translateY(-2px); text-decoration: none; }
.card p { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 0; }
.vs-pair { font-weight: 700; font-size: 1.02rem; }
.vs-pair em { color: var(--accent); font-style: normal; font-weight: 800; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 700; }
.vs-table th:first-child { width: 22%; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 8px; margin: 6px 8px 6px 0;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-alt { background: var(--ink); }
.btn-alt:hover { background: #000; }
.btn-pick { background: var(--green); box-shadow: 0 0 0 2px rgba(22, 163, 74, .25); }
.btn-pick:hover { background: #15803d; }

.pick-box {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%);
  border: 2px solid #86efac; border-radius: var(--radius); padding: 20px 24px; margin: 20px 0 8px;
}
.pick-label {
  margin: 0 0 4px; font-size: .75rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green);
}
.pick-box p { margin: 0; }

.verdict-box {
  display: flex; gap: 24px; align-items: center; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0 8px;
}
.score-big { font-size: 2.8rem; font-weight: 800; color: var(--accent); }
.score-big span { font-size: 1.2rem; color: var(--ink-soft); font-weight: 600; }

.bar { display: inline-block; width: 140px; height: 8px; background: var(--border); border-radius: 4px; margin-right: 8px; vertical-align: middle; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
ul.pros li::marker { content: "✓ "; color: var(--green); }
ul.cons li::marker { content: "✕ "; color: var(--red); }
ul.pros, ul.cons { padding-left: 22px; }
ul.pros li, ul.cons li { margin: 6px 0; }

.winners li { margin: 8px 0; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin: 18px 0 6px; }
.disclosure-inline, .fineprint { font-size: .8rem; color: var(--ink-soft); }
.cta-final { text-align: center; margin: 36px 0; padding: 26px; background: var(--bg-soft); border-radius: var(--radius); }

.footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 28px 0 40px; color: var(--ink-soft); font-size: .85rem; }
.newsletter { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; color: var(--ink); }
.newsletter form { display: inline-flex; gap: 8px; margin: 8px 12px 0 0; }
.newsletter input[type="email"] { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; min-width: 230px; }
.newsletter .btn { margin: 0; }
#nl-ok { color: var(--green); font-weight: 600; }
.footer nav { margin: 8px 0; }
.disclosure { max-width: 720px; }
.methodology-note { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 26px; }
.prose { max-width: 760px; }

/* hero v2 */
.hero {
  background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 90%);
  border-radius: 0 0 24px 24px; padding: 64px 24px 48px;
}
.hero .hero-badges { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .badge {
  font-size: .8rem; font-weight: 600; color: var(--accent-dark);
  background: #e4edff; border-radius: 999px; padding: 5px 14px;
}

/* sticky CTA bar (comparacoes) */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(20,40,90,.08);
  padding: 10px 16px; display: flex; gap: 10px; align-items: center; justify-content: center;
}
.sticky-cta .sticky-label { font-weight: 700; font-size: .92rem; margin-right: 6px; }
.sticky-cta .btn { margin: 0; }
body.has-sticky main { padding-bottom: 76px; }

/* calculadora */
.calc-box {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin: 22px 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.calc-box input[type="range"] { flex: 1; min-width: 220px; accent-color: var(--accent); }
.calc-box output { font-weight: 800; font-size: 1.3rem; color: var(--accent-dark); min-width: 80px; text-align: right; }

/* radar */
.price-up { color: var(--red); font-weight: 700; }
.price-down { color: var(--green); font-weight: 700; }

/* destaque vencedor na vs-table */
.vs-table td.win { background: #f0fdf4; font-weight: 600; }

/* compare index */
.compare-filter { margin: 16px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.compare-filter a {
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px;
}
.compare-filter a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

@media (max-width: 700px) {
  .sticky-cta .sticky-label { display: none; }
  .proscons { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .nav nav a { margin-left: 10px; font-size: .85rem; }
  .verdict-box { flex-direction: column; text-align: center; }
  table { display: block; overflow-x: auto; }
}
