/* Estilos compartilhados — site institucional (sem frameworks) */
:root {
  --navy: #16283f;
  --ink: #23324a;
  --muted: #5b6b80;
  --line: #dde3ea;
  --bg: #f6f8fa;
  --card: #ffffff;
  --green: #1a7f4b;
  --green-dark: #14663b;
  --warn-bg: #fff8e1;
  --warn-line: #e8d48a;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--green-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #1a7f4b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-left: auto; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

/* Typography */
h1, h2, h3 { color: var(--navy); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 2rem; margin: 0 0 12px; }
h2 { font-size: 1.4rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 1.06rem; color: var(--ink); }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: #e8f3ec;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.small { font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 34px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
main { padding-bottom: 10px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Hero */
.hero { padding-top: 34px; }
.hero-layout { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .hero-layout { grid-template-columns: 1.25fr 1fr; align-items: start; }
  h1 { font-size: 2.4rem; }
}

/* Buy card */
.buy-card { position: sticky; top: 76px; }
.price {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.price-note { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 18px;
  border-radius: 8px;
  border: 1px solid var(--green-dark);
}
.btn:hover { background: var(--green-dark); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #f0f3f6; }

ul.facts { list-style: none; padding: 0; margin: 14px 0 0; }
ul.facts li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 7px;
  font-size: 15px;
  color: var(--ink);
}
ul.facts li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 10px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Notice */
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 4px solid #c9a227;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 15px;
}
.notice strong { color: var(--navy); }

/* Steps */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8f3ec;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

/* FAQ */
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 10px;
}
details summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 20px;
  color: var(--muted);
}
details[open] summary::after { content: "\2013"; }
details .answer { padding: 0 18px 14px; color: var(--ink); font-size: 15.5px; }

/* Legal pages */
.legal h2 { margin-top: 28px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}
.site-footer .grid { gap: 22px; }
.site-footer address { font-style: normal; }
.site-footer strong { color: var(--navy); }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer .disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

/* Product listing */
.product-card { display: flex; flex-direction: column; }
.product-card .btn { margin-top: auto; }
.product-card .price { font-size: 1.6rem; margin: 6px 0 2px; }

@media (max-width: 719px) {
  body { font-size: 16.5px; }
  .buy-card { position: static; }
  h1 { font-size: 1.7rem; }
}
