:root {
  --bg: #0f172a;
  --panel: #111827;
  --soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0ea5e9;
  --brand-dark: #0369a1;
  --success: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(2, 6, 23, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(780px, 100%); }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner, .footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 14px 0;
}
.brand { font-weight: 700; font-size: 1.15rem; color: #020617; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #334155; font-weight: 600; }
.hero {
  background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%);
  padding: 56px 0 44px;
}
.hero-grid, .two-col, .result-columns {
  display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr;
}
.badge {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  background: #dbeafe; color: #1d4ed8; font-weight: 700; font-size: .9rem;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin: 18px 0 14px; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 12px; }
h3 { margin: 0 0 10px; font-size: 1.15rem; }
.lead { font-size: 1.1rem; color: #334155; max-width: 700px; }
.hero-card, .info-card, .recent-card, .metric-card, .panel, .alert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { padding: 24px; }
.hero-card ul, .bullet-list, .check-list { padding-left: 18px; }
.check-form {
  margin-top: 28px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid #cbd5e1; box-shadow: var(--shadow);
}
.check-form label { display: block; margin-bottom: 10px; font-weight: 700; }
.form-row { display: flex; gap: 12px; }
input[type="text"] {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid #cbd5e1; font-size: 1rem;
}
button, .btn {
  border: 0; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 16px 22px; border-radius: 14px; font-size: 1rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn.ghost { background: #fff; color: var(--brand-dark); border: 1px solid #cbd5e1; }
.trust-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; color: #0f172a; font-weight: 600; }
.section { padding: 56px 0; }
.section.light { background: #f8fafc; }
.section-head { margin-bottom: 24px; }
.section-head p, .note, .footer p, .recent-card p { color: var(--muted); }
.card-grid, .recent-grid, .metrics-grid, .tips-grid {
  display: grid; gap: 20px;
}
.card-grid { grid-template-columns: repeat(3, 1fr); }
.recent-grid { grid-template-columns: repeat(4, 1fr); }
.metrics-grid { grid-template-columns: repeat(4, 1fr); margin: 28px 0; }
.info-card, .recent-card, .metric-card, .panel { padding: 22px; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #e0f2fe; color: var(--brand-dark); font-weight: 800; margin-bottom: 14px;
}
.faq { background: #f8fafc; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px;
}
.faq-list summary { font-weight: 700; cursor: pointer; }
.footer { background: #0f172a; color: #fff; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: #e2e8f0; }
.result-page { background: #f8fafc; min-height: 100vh; }
.result-hero {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow);
}
.eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: #64748b; font-weight: 700; }
.score-box {
  min-width: 210px; text-align: center; padding: 22px; border-radius: 18px; color: #fff;
}
.score-box strong { display: block; font-size: 2.4rem; line-height: 1; margin: 8px 0; }
.score-alto, .score-high { background: linear-gradient(135deg, #16a34a, #15803d); }
.score-medio, .score-mid { background: linear-gradient(135deg, #f59e0b, #d97706); }
.score-baixo, .score-low { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.summary-banner {
  margin: 20px 0 0; padding: 16px 18px; border-radius: 16px; font-weight: 700;
}
.summary-banner.alto { background: #dcfce7; color: #166534; }
.summary-banner.medio { background: #fef3c7; color: #92400e; }
.summary-banner.baixo { background: #fee2e2; color: #991b1b; }
.score-pill {
  display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #fff; font-size: .86rem; font-weight: 700; margin: 8px 0;
}
.bullet-list li + li, .check-list li + li { margin-top: 8px; }
.danger-text { color: #991b1b; }
.tips-grid { grid-template-columns: repeat(4, 1fr); }
.tips-grid div {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.tips-grid span { display: block; color: var(--muted); margin-top: 8px; }
.actions-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.alert { padding: 24px; }
.alert.error { border-color: #fecaca; }
.page-content h1 { margin-bottom: 20px; }
.page-content h2 { margin-top: 24px; }
@media (max-width: 960px) {
  .hero-grid, .two-col, .result-columns, .metrics-grid, .recent-grid, .card-grid, .tips-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .topbar-inner, .footer-inner, .result-hero, .form-row {
    flex-direction: column; align-items: stretch;
  }
  .hero-grid, .two-col, .result-columns, .metrics-grid, .recent-grid, .card-grid, .tips-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2.2rem; }
}
