/* NUMERA — site institucional
   Paleta e raio de borda copiados de lib/theme/app_theme.dart (AppTheme),
   para o site ficar visualmente consistente com o app. */

:root {
  --purple: #5140b8;
  --purple-dark: #3c2f8a;
  --purple-light: #ece9fb;
  --bg: #f4f7fc;
  --text: #17213b;
  --text-soft: #4a5370;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --accent: #f6b53f;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Baloo 2", "Nunito", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid #e7e9f3;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--purple);
  cursor: pointer;
  padding: 4px 8px;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--purple);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #e7e9f3;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 20px;
    border-top: 1px solid #f0f1f8;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 64px 0 80px;
}

.hero .container {
  display: grid;
  gap: 28px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 14px;
  line-height: 1.15;
}

.hero p.lead {
  font-size: 18px;
  color: #e4e1fb;
  max-width: 640px;
  margin: 0 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  width: fit-content;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Sections / cards ---------- */

main {
  padding: 56px 0 24px;
}

section + section {
  margin-top: 48px;
}

h2.section-title {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 8px;
}

p.section-lead {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 680px;
  margin: 0 0 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(23, 33, 59, 0.06);
}

.card .emoji {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.callout {
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--purple-dark);
}

.callout h3 {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  background: var(--purple-dark);
  text-decoration: none;
}

.btn.secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn.secondary:hover {
  background: var(--purple-light);
}

.hero .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(23, 33, 59, 0.06);
}

.step .num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.notice {
  border: 1px dashed #c9bdf5;
  background: #faf9ff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.notice strong {
  color: var(--purple-dark);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f8;
  font-size: 14px;
}

table.data-table th {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 800;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #17213b;
  color: #c6cbe0;
  padding: 36px 0 24px;
  margin-top: 64px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #c6cbe0;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 16px 20px 0;
  border-top: 1px solid #2b3658;
  font-size: 13px;
  color: #8891b3;
}

/* ---------- Pages diversas (texto longo) ---------- */

.prose h2 {
  font-size: 22px;
  margin-top: 34px;
}

.prose p,
.prose li {
  color: var(--text-soft);
  font-size: 15px;
}

.prose ul {
  padding-left: 20px;
}
