/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark: #1a4b78;
  --blue-mid:  #2166a8;
  --teal:      #2196a0;
  --teal-light:#3ab8c2;
  --yellow:    #f5c842;
  --yellow-warm: #e8b84b;
  --green-soft: #7ab648;
  --white:     #ffffff;
  --off-white: #f8f9fb;
  --gray-100:  #f0f2f5;
  --gray-200:  #e2e6ea;
  --gray-400:  #9aa5b1;
  --gray-600:  #637381;
  --gray-800:  #2d3748;
  --text:      #1e2a35;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1e5b8a 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.highlight-blue  { color: var(--yellow); }
.highlight-teal  { color: var(--teal-light); }

.subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245,200,66,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f7d040;
  box-shadow: 0 8px 28px rgba(245,200,66,.45);
}

.hero-note {
  margin-top: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.07);
  transition: background .2s, color .2s, border-color .2s;
}

.ig-link:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

/* Hero Mini Form */
.hero-form-wrap {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-field input {
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  font-size: .92rem;
  font-family: var(--font);
  color: var(--white);
  background: rgba(255,255,255,.12);
  outline: none;
  transition: border-color .2s, background .2s;
}

.hero-field input::placeholder { color: rgba(255,255,255,.5); }

.hero-field input:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,.18);
}

.hero-field input.error { border-color: #fc8181; }

.hero-optin {
  margin-bottom: 16px;
}

.hero-optin .checkbox-text {
  color: rgba(255,255,255,.75);
}

.hero-optin .checkbox-custom {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
}

.btn-hero-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  padding: 15px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245,200,66,.4);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-hero-submit:hover {
  transform: translateY(-2px);
  background: #f7d040;
  box-shadow: 0 8px 28px rgba(245,200,66,.5);
}

.btn-hero-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.hero-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 0;
}

/* WhatsApp hero line */
.hero-whatsapp {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7deda0;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}

.hero-wa-link:hover { color: #a8f5c0; }

/* WhatsApp Float Button */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  bottom: 50%;
  transform: translateY(50%);
  background: #1e2a35;
  color: #fff;
  font-size: .78rem;
  font-family: var(--font);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #1e2a35;
}

.wa-float:hover .wa-tooltip { opacity: 1; }

/* Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mockup-wrapper {
  position: relative;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.mockup-wrapper img {
  width: 260px;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,.4), 0 0 0 6px rgba(255,255,255,.12);
  display: block;
}

.mockup-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--green-soft);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why {
  padding: 80px 0 72px;
  background: var(--white);
}

.why h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 48px;
}

.why h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--teal);
  border-radius: 4px;
  margin: 12px auto 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 80px 0;
  background: linear-gradient(170deg, var(--gray-100) 0%, #e8f4f8 100%);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--teal), var(--green-soft));
}

.form-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: start;
}

.form-text h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.form-text p {
  font-size: .95rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.65;
}

.form-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--gray-800);
  font-weight: 500;
}

.form-features svg { flex-shrink: 0; margin-top: 2px; }

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.field-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.field-group input[type="text"],
.field-group input[type="tel"] {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.field-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33,150,160,.12);
}

.field-group input.error {
  border-color: #e53e3e;
}

.field-error {
  font-size: .78rem;
  color: #e53e3e;
  display: none;
}

.field-error.show { display: block; }

/* Checkbox */
.checkbox-group { margin-bottom: 24px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.checkbox-custom {
  width: 20px; height: 20px;
  min-width: 20px;
  border: 2px solid var(--gray-200);
  border-radius: 5px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
  margin-top: 1px;
}

.checkbox-label:hover .checkbox-custom {
  border-color: var(--teal);
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--teal);
  border-color: var(--teal);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(42deg) translateY(-1px);
}

.checkbox-text {
  font-size: .83rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Submit */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  padding: 16px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(33,102,168,.30);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(33,102,168,.38);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 14px;
}

/* Success */
.success-state {
  text-align: center;
  padding: 16px 0;
}

.success-icon {
  width: 72px; height: 72px;
  background: #e6f7f8;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.success-state h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.success-state p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background .2s, transform .2s;
}

.btn-download:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--blue-dark);
  padding: 32px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-title {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.footer-ig:hover { color: rgba(255,255,255,.95); }

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .subtitle { margin: 0 auto 24px; }

  .hero-mockup { justify-content: center; }

  .hero::after { clip-path: ellipse(80% 100% at 50% 100%); }

  .hero-whatsapp { justify-content: center; }

  .ig-link { display: inline-flex; }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .form-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-card { padding: 28px 20px; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 72px; }
  .hero-text h1 { font-size: 1.85rem; }
  .mockup-wrapper img { width: 210px; }

  .hero-fields { grid-template-columns: 1fr; }

  .why { padding: 56px 0; }

  .form-section { padding: 56px 0; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { align-items: center; }

  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}
