/* Reset básico */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #122033;
  background: #f4f7fb;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --text: #122033;
  --muted: #58657a;
  --line: #dbe4ef;
  --primary: #123b73;
  --primary-dark: #0e2f5b;
  --accent: #24a36a;
  --shadow: 0 18px 50px rgba(18, 32, 51, 0.08);
  --radius: 22px;
  --container: 1180px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.narrow { width: min(860px, calc(100% - 32px)); }
.section { padding: 88px 0; }
.muted { background: var(--surface-soft); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.lead { font-size: 1.08rem; color: var(--muted); }
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head h2,
.hero h1,
.subhero h1,
.cta-band h2 { line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { margin-top: 0; font-size: 1.15rem; }
p { margin: 0 0 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand {
  max-width: 420px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(18, 59, 115, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.hero-points {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hero-points li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
.hero-card { padding: 28px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.stats-grid div {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.stats-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-dark);
}
.stats-grid span { color: var(--muted); font-size: 0.96rem; }

.cards-grid {
  display: grid;
  gap: 20px;
}
.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards-grid .card,
.step,
.legal-content,
.budget-form { padding: 26px; }
.icon-card { min-height: 100%; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #1c518f 100%);
  color: #fff;
}
.cta-band .eyebrow { color: rgba(255,255,255,0.78); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.form-layout.single { grid-template-columns: 1fr; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #ccd7e6;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.full-width { grid-column: 1 / -1; }
.form-note {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.subhero { padding-top: 110px; padding-bottom: 40px; }
.legal-content h2 { margin-top: 0; }
.legal-content h2 + p { margin-bottom: 24px; }

.site-footer {
  background: #0f1f35;
  color: #dfe8f3;
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a { color: #dfe8f3; }
#company-data p {
  margin: 0 0 8px;
  color: #dfe8f3;
}
#company-data strong { color: #fff; }

@media (max-width: 980px) {
  .hero-grid,
  .form-layout,
  .footer-grid,
  .process-grid,
  .cards-grid.three {
    grid-template-columns: 1fr;
  }
  .site-nav {
    position: absolute;
    top: 79px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .brand { max-width: 76%; font-size: 0.84rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .form-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .brand { max-width: 72%; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
