:root {
  --navy: #0B3C5D;
  --navy-dark: #072840;
  --cyan: #1CA7BC;
  --cyan-light: #E6F6F9;
  --bg: #F4F7FA;
  --card: #FFFFFF;
  --border: #DCE5EE;
  --text: #102A43;
  --muted: #486581;
  --success: #15803D;
  --success-bg: #DCFCE7;
  --danger: #B91C1C;
  --danger-bg: #FEE2E2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.nav-links a:hover { color: var(--cyan); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: #FFF !important; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-cyan { background: var(--cyan); color: #FFF !important; }
.btn-cyan:hover { opacity: 0.92; }
.btn-morador {
  background: linear-gradient(135deg, #0EA5A4 0%, #1CA7BC 100%);
  color: #FFF !important;
  border-color: #7CE5F3;
  box-shadow: 0 6px 16px rgba(28, 167, 188, 0.35);
}
.btn-morador:hover { opacity: 0.95; }
.btn-outline { background: #FFF; color: var(--navy) !important; border-color: var(--navy); }
.btn-outline:hover { background: var(--cyan-light); }

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 62%, #135B82 100%);
  color: #FFF;
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 167, 188, 0.22);
  border: 1px solid rgba(28, 167, 188, 0.65);
  color: #A6F0FA;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pill-dark {
  background: var(--cyan-light);
  color: var(--navy);
  border-color: var(--cyan);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 16px 0;
  font-weight: 900;
}

.hero-lead {
  font-size: 17px;
  color: #E2EEF5;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-trust strong {
  display: block;
  font-size: 19px;
  color: #9BE7F2;
}

.hero-trust span {
  font-size: 13.5px;
  color: #D7E7F2;
}

.hero-card {
  background: #FFF;
  color: var(--text);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(4, 24, 38, 0.28);
}

.hero-emblem {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.hero-card h2 {
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--navy);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.section { padding: 68px 0; }
.section-alt { background: #FFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 900;
}

.section-head p {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cyan-light);
  color: var(--navy);
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFF;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.kit-banner {
  background: linear-gradient(135deg, var(--cyan-light) 0%, #FFFFFF 100%);
  border: 2px solid var(--cyan);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.badge-highlight {
  display: inline-block;
  background: var(--navy);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.kit-banner h3 { margin: 0 0 6px; font-size: 24px; color: var(--navy); }
.kit-banner p { margin: 0; max-width: 740px; font-size: 15.5px; color: var(--text); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  background: #FFF;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.price-featured {
  border-color: var(--navy);
  border-width: 2.5px;
  box-shadow: 0 10px 26px rgba(11, 60, 93, 0.12);
}

.ribbon {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--navy);
  color: #FFF;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.price-value { font-size: 32px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.price-value span { font-size: 18px; }
.price-credits { font-size: 17px; font-weight: 800; color: var(--cyan); margin-top: 4px; }
.price-unit { font-size: 14px; font-weight: 700; color: var(--muted); margin: 4px 0 14px; }

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}

.price-list li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--text);
}

.price-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--cyan);
  font-weight: 900;
}

.form-section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.form-info h2 { font-size: 30px; color: var(--navy); margin: 12px 0; }
.form-info p { font-size: 16px; color: var(--muted); }

.cadastro-form {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}

.cadastro-form h3 { margin: 0 0 18px; font-size: 21px; color: var(--navy); }

.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 5px;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #FFF;
  font-size: 15.5px;
  color: var(--text);
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--cyan);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-feedback {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.form-feedback.ok { background: var(--success-bg); color: var(--success); border: 1px solid var(--success); }
.form-feedback.err { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }

.form-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.footer {
  background: var(--navy-dark);
  color: #D7E7F2;
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: #9BE7F2;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid, .form-section-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .cards-grid, .steps-grid, .pricing-grid, .form-grid-2, .hero-trust { grid-template-columns: 1fr; }
  .nav-links { gap: 10px; }
}
