/* Bem Informado — folha de estilos
   Paleta: papel esverdeado + verde botânico + ouro discreto
*/

:root {
  --bg: #F5F6EF;
  --panel: #EAEEDF;
  --ink: #1E2A22;
  --ink-soft: #4B584C;
  --forest: #33513B;
  --forest-dark: #24392A;
  --gold: #A9823C;
  --line: #D9D6C6;
  --white: #FFFFFF;
  --max: 1120px;
  --measure: 700px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

a { color: var(--forest); text-decoration-color: rgba(51,81,59,0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.measure { max-width: var(--measure); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--forest); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
nav.main-nav li:not(:last-child) {
  margin-right: 30px;
}
nav.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--forest); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  nav.main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-top: 16px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 14px; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 64px;
}
.hero .eyebrow-line {
  color: var(--forest);
  font-size: 15px;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  max-width: 780px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s ease forwards;
}
.hero p.lede {
  max-width: 560px;
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 22px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s ease 0.12s forwards;
}
.hero .cta-row {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s ease 0.22s forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { border-color: var(--forest); color: var(--forest); }

/* ---------- Section shell ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--panel); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.section-head h2 { font-size: 28px; }
.section-head .see-all { font-size: 14px; white-space: nowrap; }

/* ---------- Method columns ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.method-grid .num {
  font-family: "Fraunces", serif;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 10px;
}
.method-grid h3 { font-size: 19px; margin-bottom: 8px; }
.method-grid p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .method-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Featured comparison panel ---------- */
.feature-panel {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--white);
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.feature-panel h3 { font-size: 24px; margin-bottom: 10px; }
.feature-panel p { color: var(--ink-soft); margin: 0; max-width: 520px; }

/* ---------- Article list (hairline separated, not cards) ---------- */
.article-list { border-top: 1px solid var(--line); }
.article-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.article-row:hover .article-title { color: var(--forest); }
.article-row .tag {
  font-size: 13px;
  color: var(--forest);
  align-self: start;
  padding-top: 4px;
}
.article-title { font-size: 21px; margin-bottom: 8px; }
.article-excerpt { color: var(--ink-soft); font-size: 15px; margin: 0; }
.article-meta { color: var(--gold); font-size: 13px; margin-top: 10px; }
@media (max-width: 620px) {
  .article-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 34px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: var(--forest); }
.footer-note {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Article page ---------- */
.article-page .hero { padding-bottom: 30px; }
.article-body h2 { font-size: 24px; margin-top: 40px; margin-bottom: 14px; }
.article-body p { margin: 0 0 18px; color: var(--ink); }
.article-body ul, .article-body ol { color: var(--ink); padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--forest);
  background: var(--panel);
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 30px 0;
}

/* ---------- Comparison table ---------- */
.disclosure-box {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.compare-table-wrap { overflow-x: auto; margin: 30px 0; }
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15px;
}
table.compare th, table.compare td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
table.compare th { background: var(--forest); color: var(--white); font-weight: 500; }
table.compare tr:nth-child(even) td { background: var(--white); }
table.compare tr:nth-child(odd) td { background: var(--bg); }
.rating { color: var(--gold); font-weight: 600; }

.product-block {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.product-block h3 { font-size: 22px; margin-bottom: 6px; }
.product-block .rating-line { color: var(--gold); font-size: 14px; margin-bottom: 14px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px 0; }
.pc-grid h4 { font-size: 14px; margin: 0 0 8px; color: var(--ink-soft); font-weight: 600; }
.pc-grid ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
@media (max-width: 600px) { .pc-grid { grid-template-columns: 1fr; } }

/* ---------- Forms (contact) ---------- */
form.contact-form { display: grid; gap: 18px; max-width: 520px; }
form.contact-form label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-meta { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 21px; margin-top: 34px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { color: var(--gold); font-size: 14px; margin-bottom: 30px; }
