:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #16202c;
  --muted: #4d5a69;
  --line: #e2e6ec;
  --brand: #1e3a5f;
  --brand-ink: #ffffff;
  --accent: #2f6fb3;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--accent); }
a:hover { color: var(--brand); }

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

/* Cabeçalho */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* Herói */
.hero { background: var(--brand); color: var(--brand-ink); padding: 72px 0 64px; }
.hero .eyebrow { opacity: .8; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; max-width: 760px; }
.hero p { font-size: 19px; max-width: 680px; margin: 0 0 28px; opacity: .92; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
}
.btn:hover { color: var(--brand); background: #eaf1f9; }

/* Seções */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { color: var(--muted); max-width: 720px; margin: 0 0 32px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { margin: 0; color: var(--muted); }

/* Dados da empresa */
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Documentos legais */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin: 40px auto; max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.note { background: #eef4fb; border-left: 4px solid var(--accent); padding: 14px 16px; border-radius: 8px; }

/* Rodapé */
.site-footer { background: #111a24; color: #c5ced9; padding: 40px 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: 2fr 1fr; }
.site-footer p { margin: 0 0 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal-line { border-top: 1px solid #2a3643; margin-top: 28px; padding-top: 20px; color: #8e9aa8; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero { padding: 48px 0 44px; }
  .hero p { font-size: 17px; }
  section { padding: 44px 0; }
  .facts { padding: 4px 16px; }
  .facts .row { grid-template-columns: 1fr; gap: 2px; }
  .doc { padding: 24px 18px; margin: 20px 0; border-radius: 0; border-left: 0; border-right: 0; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 600; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }
