:root {
  --blue: #0B3D91;
  --blue-dark: #071938;
  --gold: #FFB800;
  --green: #00A859;
  --ink: #14213d;
  --muted: #5b6577;
  --bg: #ffffff;
  --alt: #f4f6fb;
  --line: #e2e6ef;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 25, 56, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 9px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-dark); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, #1a56c4 0%, transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(1.4); } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; margin: 18px 0; }
.gold { color: var(--gold); }
.lead { font-size: 1.15rem; max-width: 52ch; color: #dfe7f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-counter { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.counter-num { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--gold); }
.counter-label { color: #b9c7e6; font-size: .9rem; }
.photo-frame { position: relative; max-width: 380px; margin-inline: auto; }
.photo-frame img {
  border-radius: 24px; border: 4px solid var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4); width: 100%;
}
.photo-badge {
  position: absolute; left: -18px; bottom: 24px;
  background: var(--gold); color: var(--blue-dark);
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.1;
}
.photo-badge strong { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 900; }
.photo-badge span { font-size: .75rem; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  font: 700 .98rem 'Inter', sans-serif; padding: 14px 26px; border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 84px 0; }
.alt { background: var(--alt); }
.dark { background: var(--blue-dark); color: #fff; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: 10px;
}
.gold-t { color: var(--gold); }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.head.light p { color: #b9c7e6; }
.head p { color: var(--muted); }

.letter { font-size: 1.1rem; }
.letter .sign { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--blue); font-size: 1.3rem; margin-top: 20px; }

/* Stats */
.stats { background: var(--gold); color: var(--blue-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 32px 0; text-align: center; }
.stat-n { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.stat-l { font-size: .85rem; font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.i { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico { color: var(--blue); margin-bottom: 12px; display: flex; }

/* Countdown & timeline */
.countdown { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.countdown div {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px; min-width: 92px; padding: 14px 10px; text-align: center;
}
.countdown span { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown small { color: #b9c7e6; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.cd-note { text-align: center; color: #8ea2cc; font-size: .82rem; margin: 14px 0 48px; }
.timeline { list-style: none; margin: 0 auto; padding: 0 0 0 28px; max-width: 720px; border-left: 3px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 32px 24px; }
.timeline li::before {
  content: ''; position: absolute; left: -41px; top: 4px; width: 16px; height: 16px;
  background: var(--gold); border: 3px solid var(--blue-dark); border-radius: 50%;
}
.tl-when { color: var(--gold); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.timeline h3 { margin: 4px 0; }
.timeline p { color: #b9c7e6; margin: 0; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.topic {
  font: 700 1rem 'Inter', sans-serif; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 14px; padding: 22px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .15s, background .15s, border-color .15s;
}
.topic span { color: var(--gold); display: flex; }
.topic:hover { background: rgba(255, 184, 0, .18); border-color: var(--gold); transform: translateY(-3px); }
.share-box { text-align: center; margin-top: 40px; color: #b9c7e6; }

/* Contas */
.contas-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; }
.checks li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: '✓'; position: absolute; left: 0; color: #fff; background: var(--green); width: 22px; height: 22px; border-radius: 50%; text-align: center; font-size: .8rem; line-height: 22px; top: 12px; }
.ig { margin: 0; max-width: 300px; justify-self: center; }
.ig img { border-radius: 20px; box-shadow: var(--shadow); }

/* News */
[hidden] { display: none !important; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  font: 600 .9rem 'Inter', sans-serif; cursor: pointer; padding: 8px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .78rem; }
.news-tag { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: rgba(11, 61, 145, .1); color: var(--blue); }
.news-tag.artigo { background: rgba(0, 168, 89, .12); color: #007a41; }
.news-date { color: var(--muted); }
.news-title { font-size: 1.1rem; margin: 0; }
.news-sum { color: var(--muted); margin: 0; flex: 1; }
.news-src { font-weight: 700; font-size: .85rem; color: var(--blue); }

/* Instituto */
.inst { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.inst img { background: #fff; border-radius: 50%; padding: 10px; box-shadow: var(--shadow); }

/* Form */
.voice { background: linear-gradient(180deg, var(--bg), var(--alt)); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 61, 145, .15); }
.lgpd { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); align-items: flex-start; }
.lgpd input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.err { color: #c0392b; font-size: .82rem; display: block; }

/* Footer */
.footer { background: var(--blue-dark); color: #b9c7e6; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #b9c7e6; }
.footer a:hover { color: var(--gold); }
.slogan { margin-top: 14px; font-style: italic; }
.legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 36px; padding-top: 20px; font-size: .8rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .contas-grid, .inst, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-photo { order: -1; }
  .photo-frame { max-width: 260px; }
  .cards, .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .inst { text-align: center; justify-items: center; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 16px 20px; gap: 4px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav-cta { text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .topics { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}
