:root {
  --ink: #16181d;
  --ink-2: #2a2e37;
  --paper: #f7f5ef;
  --tint: #ecebe3;
  --green: #0f8a4f;
  --green-dark: #0a6339;
  --yellow: #f5c518;
  --red: #c8372d;
  --muted: #5d6270;
  --line: #d8d5ca;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, .kicker, .btn, nav, .num, .brand, summary, label, .share-btn {
  font-family: var(--sans);
}
h1, h2, h3 { line-height: 1.1; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 800; }
a { color: var(--green-dark); }
sup a { text-decoration: none; font-family: var(--sans); font-size: .75em; }
q { font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.section { padding: 6rem 0; }
.tint { background: var(--tint); }
.dark { background: var(--ink); color: #eceae3; }
.dark a { color: var(--yellow); }
.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800;
  color: var(--green); margin: 0 0 1rem;
}
.dark .kicker { color: var(--yellow); }
.big { font-size: 1.35rem; max-width: 46rem; }
.small { font-size: .95rem; color: var(--muted); }
.note {
  margin-top: 2.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--yellow);
  background: #fff; font-size: .95rem; color: var(--muted);
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 1.5rem; background: rgba(22,24,29,.96); color: #fff;
  backdrop-filter: blur(6px);
}
.brand { color: #fff; text-decoration: none; font-weight: 900; font-size: 1.15rem; letter-spacing: -.01em; }
.brand span { color: var(--yellow); }
nav { display: flex; gap: 1.25rem; align-items: center; font-size: .9rem; font-weight: 600; }
nav a { color: #d7d5cd; text-decoration: none; }
nav a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: .95rem 1.6rem; border-radius: 4px; border: 2px solid var(--yellow);
  background: var(--yellow); color: var(--ink) !important; font-weight: 800; text-decoration: none;
  font-size: 1rem; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-full { width: 100%; font-size: 1.1rem; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(15,138,79,.45), transparent 55%),
    linear-gradient(160deg, #16181d 0%, #1d2a22 100%);
  color: #fff; padding: 7rem 1.5rem 6rem;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero .kicker { color: var(--yellow); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 44rem; color: #dcdad2; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 1.5rem; }
.countdown { font-family: var(--sans); font-size: .95rem; color: #a9ada5; margin: 0; }
.countdown strong { color: var(--yellow); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: -3rem auto 0; position: relative;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.stat { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.num { display: block; font-size: 2.1rem; font-weight: 900; color: var(--green); letter-spacing: -.02em; }
.label { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; margin-top: .3rem; }

/* Layout */
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; }
.callout {
  background: #fff; border-top: 6px solid var(--green); padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06); color: var(--ink);
}

/* Split bar */
.splitbar-block { margin: 3rem 0; }
.splitbar-title { font-family: var(--sans); font-weight: 800; margin-bottom: .75rem; }
.splitbar { display: flex; height: 3.25rem; border-radius: 4px; overflow: hidden; }
.seg { display: flex; align-items: center; padding: 0 1rem; font-family: var(--sans); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.seg.legal { background: var(--green); color: #fff; }
.seg.illegal {
  background: repeating-linear-gradient(135deg, var(--red) 0 12px, #a92d25 12px 24px);
  color: #fff; justify-content: flex-end;
}
.splitbar-caption { font-size: 1rem; color: #b9b7af; margin-top: .75rem; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.compare-col { background: var(--ink-2); padding: 2rem; border-top: 6px solid var(--green); }
.compare-col.bad { border-top-color: var(--red); }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.02rem; }
.check li::before { content: "✓"; position: absolute; left: 0; color: #3ecf82; font-weight: 900; font-family: var(--sans); }
.cross li::before { content: "✕"; position: absolute; left: 0; color: #ff6b5f; font-weight: 900; font-family: var(--sans); }
.pull {
  margin: 4rem 0 0; font-family: var(--sans); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--yellow); letter-spacing: -.02em; border-left: 8px solid var(--yellow); padding-left: 1.5rem;
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.pillar { background: #fff; border: 1px solid var(--line); padding: 2rem; position: relative; }
.pillar ul { padding-left: 1.1rem; margin: 0 0 1rem; font-size: 1rem; }
.pillar li { margin-bottom: .5rem; }
.pillar p { font-size: 1.02rem; }
.pillar-n { font-family: var(--sans); font-weight: 900; font-size: 2.5rem; color: var(--line); display: block; line-height: 1; margin-bottom: .75rem; }
.pillar.highlight { grid-column: span 2; background: var(--ink); color: #eceae3; border-color: var(--ink); }
.pillar.highlight .pillar-n { color: var(--yellow); }
.pillar:nth-child(3) { grid-row: span 1; }

/* Countries */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.country { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.country p { font-size: 1rem; color: var(--ink-2); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); margin-bottom: .75rem; }
summary { padding: 1.25rem 1.5rem; font-weight: 800; cursor: pointer; font-size: 1.1rem; list-style: none; position: relative; padding-right: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.5rem; top: 1rem; font-size: 1.5rem; color: var(--green); }
details[open] summary::after { content: "–"; }
details p { padding: 0 1.5rem 1.25rem; margin: 0; }

/* Form */
.form { background: #fff; color: var(--ink); padding: 2rem; border-top: 6px solid var(--yellow); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select {
  display: block; width: 100%; margin-top: .35rem; padding: .8rem; font-size: 1rem;
  border: 1px solid #bdb9ad; border-radius: 4px; font-family: var(--sans); background: #fff;
}
.form input:focus, .form select:focus { outline: 3px solid rgba(15,138,79,.3); border-color: var(--green); }
.form .row { display: grid; grid-template-columns: 1fr 90px; gap: 1rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.check-label { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; line-height: 1.45; }
.check-label input { margin-top: .2rem; flex-shrink: 0; }
.dark .form a { color: var(--green-dark); }
.hp { position: absolute; left: -9999px; }
.contador { font-family: var(--sans); font-weight: 800; color: var(--green); margin: 0 0 1.25rem; font-size: 1.05rem; }
.placar { margin-top: 2.5rem; }
.placar h3 { color: #fff; }
.placar-lista { list-style: none; padding: 0; margin: 0; }
.placar-lista li {
  display: grid; grid-template-columns: 3.75rem 1fr 4.5rem; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: .95rem; margin-bottom: .45rem;
}
.placar-uf { font-weight: 800; color: #fff; }
.placar-barra { height: .75rem; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.placar-barra span { display: block; height: 100%; background: var(--yellow); }
.placar-num { text-align: right; color: #d7d5cd; font-variant-numeric: tabular-nums; }
.placar-nota { font-size: .95rem; color: #a9ada5; margin-top: 1rem; }
.form-erro { background: #fdecea; color: #8a1f17; border-left: 4px solid var(--red); padding: .75rem 1rem; font-size: .95rem; margin: 0 0 1.25rem; }

/* Share */
.share { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.share-btn {
  padding: .8rem 1.3rem; border-radius: 4px; color: #fff; text-decoration: none; font-weight: 800;
  font-size: .95rem; border: 0; cursor: pointer;
}
.share-btn.wa { background: #1f9e55; }
.share-btn.tg { background: #2a8bc9; }
.share-btn.x { background: #111; }
.share-btn.fb { background: #1f5fc6; }
.share-btn.in { background: #0a66c2; }
.share-btn.copy { background: var(--ink-2); }

/* Footer */
.footer { background: #0f1115; color: #b6b4ac; padding: 4rem 0 3rem; font-size: .95rem; }
.footer h3 { color: #fff; margin-top: 2rem; }
.footer a { color: #d9d7cf; }
.author { border-left: 4px solid var(--yellow); padding-left: 1.25rem; }
.sources li { margin-bottom: .5rem; }
.help { margin: 2rem 0; padding: 1rem 1.25rem; background: #1b1e24; border-radius: 4px; }
.legal { font-size: .85rem; color: #7d7b74; }

/* Responsive */
@media (max-width: 900px) {
  nav a:not(.btn) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; margin: -2rem 1rem 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cols, .compare { grid-template-columns: 1fr; gap: 2rem; }
  .pillars, .countries { grid-template-columns: 1fr; }
  .pillar.highlight { grid-column: auto; }
  .section { padding: 4rem 0; }
  .seg span { font-size: .8rem; }
}
