:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --border: #e3e9f0;
  --text: #0f1b2d;
  --muted: #5b6b7c;
  --brand-blue: #1391d1;
  --brand-green: #6fae28;
  --gradient: linear-gradient(120deg, #1fa9e6 0%, #3fb6c8 45%, #8cc63f 100%);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: var(--brand-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-green); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 34px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.header-nav a:hover { color: var(--text); }
.btn-contato {
  background: var(--gradient); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(31,169,230,.25);
}
.btn-contato:hover { opacity: .92; }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 360px at 15% -10%, rgba(31,169,230,.10), transparent 60%),
              radial-gradient(700px 320px at 90% 0%, rgba(140,198,63,.10), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-green); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand-blue);
}
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin-top: 20px; }
.hero-meta { margin-top: 24px; font-size: 14px; color: var(--muted); }
.hero-meta strong { color: var(--text); }

/* Layout conteúdo */
.content-grid {
  display: grid; grid-template-columns: 250px 1fr;
  gap: 56px; padding-top: 56px; padding-bottom: 80px; align-items: start;
}

/* Índice */
.toc { position: sticky; top: 96px; }
.toc-title {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.toc nav a {
  color: var(--muted); font-size: 14px; padding: 7px 12px;
  border-left: 2px solid transparent; border-radius: 0 6px 6px 0; transition: all .18s;
}
.toc nav a:hover { color: var(--text); background: var(--surface); }
.toc nav a.active {
  color: var(--text); border-left-color: var(--brand-green);
  background: var(--surface); font-weight: 600;
}

/* Política */
.policy section { padding: 14px 0 28px; scroll-margin-top: 90px; }
.policy section + section { border-top: 1px solid var(--border); padding-top: 32px; }
.policy h2 {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 16px; color: var(--text);
}
.policy h3 {
  font-size: 1.08rem; font-weight: 600; margin: 22px 0 10px; color: var(--text);
}
.policy p { color: #3a4654; margin-bottom: 14px; }
.policy ul { list-style: none; margin: 8px 0 14px; }
.policy ul li {
  position: relative; padding-left: 22px; margin-bottom: 9px; color: #3a4654;
}
.policy ul li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient);
}
.policy strong { color: var(--text); font-weight: 600; }

.info-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px !important; margin: 4px 0 8px;
}
.info-box li { padding-left: 0 !important; margin-bottom: 8px; }
.info-box li::before { display: none; }

.todo {
  color: #4f7d12; background: rgba(140,198,63,.16);
  padding: 1px 7px; border-radius: 5px; font-size: 13px; font-weight: 500;
}

/* Tabela */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
thead th {
  background: var(--surface-2); text-align: left; padding: 13px 18px;
  font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border);
}
tbody td { padding: 12px 18px; color: #3a4654; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(15,27,45,.018); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: 36px 24px;
}
.footer-logo { height: 30px; width: auto; }
.footer-text { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: 14px; }

/* Responsivo */
@media (max-width: 880px) {
  .content-grid { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .hero { padding: 56px 0 40px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { text-align: center; }
}
@media (max-width: 520px) {
  .header-nav a:not(.btn-contato) { display: none; }
}
