:root {
  --bg: #081225;
  --bg-soft: #0f1f3d;
  --surface: #ffffff;
  --text: #111827;
  --text-soft: #4b5563;
  --primary: #16a34a;
  --primary-dark: #15803d;
  --line: #e5e7eb;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 18, 37, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  fill: none;
  stroke: #93c5fd;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo rect,
.brand-logo line {
  opacity: 0.72;
}

.brand-logo path {
  opacity: 1;
  stroke: #22c55e;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 1px rgba(34, 197, 94, 0.55));
}

.brand-text span {
  color: #93c5fd;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #e5e7eb;
  font-weight: 500;
}

.menu a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 1.2rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid #cbd5e1;
  color: #1f2937;
  padding: 0.9rem 1.2rem;
  background: #fff;
}

.btn-ghost:hover {
  border-color: #94a3b8;
}

.btn-full {
  width: 100%;
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.btn-whatsapp-inline {
  gap: 0.5rem;
}

.btn-whatsapp-inline svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.hero {
  background: radial-gradient(circle at top right, #1d4ed8 0%, var(--bg) 45%);
  color: #fff;
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  margin: 1rem 0 1rem;
}

.subtitle {
  color: #dbeafe;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.trust-list li::before {
  content: "✓";
  color: #86efac;
  margin-right: 0.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 1.2rem;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.hero-card ul {
  margin: 0 0 1.2rem;
  padding-left: 1rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-title {
  text-align: center;
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 2rem;
  color: var(--text-soft);
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
}

.step h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.chips span {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 500;
}

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form textarea {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  font-size: 0.95rem;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.field-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.form-feedback {
  margin: 0;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.92rem;
}

.cta {
  padding-top: 1rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 0.8rem;
}

.cta-box p {
  color: #d1d5db;
  max-width: 740px;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-content {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 40;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1faa52;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .menu a {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-content {
    padding: 1rem 0;
  }
}
