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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a1628;
  color: #e8ecf1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   LAYOUT — 100vh centrado
   ============================================ */
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height — melhor em mobile */
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

/* Sutil gradiente radial de fundo */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(34, 197, 94, .08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(34, 197, 94, .05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 540px;
  gap: 20px;
}

/* ============================================
   HEADLINE (H1)
   ============================================ */
#headline {
  font-size: clamp(1.55rem, 5.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

#headline .highlight {
  color: #22c55e;
  position: relative;
}

/* Underline decorativo sutil */
#headline .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 2px;
  opacity: 0.5;
}

/* ============================================
   SUB-HEADLINE (H2)
   ============================================ */
#subheadline {
  font-size: clamp(0.88rem, 2.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

#subheadline strong {
  color: #cbd5e1;
  font-weight: 600;
}

/* ============================================
   BLOCO DE PREÇO
   ============================================ */
#price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(34, 197, 94, .06);
  border: 1px solid rgba(34, 197, 94, .15);
}

.price-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: #22c55e;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-cents {
  font-size: 1.6rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 1px;
}

/* ============================================
   BOTÃO CTA
   ============================================ */
#cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  padding: 18px 28px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: clamp(0.88rem, 2.6vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow:
    0 0 24px rgba(34, 197, 94, .35),
    0 4px 14px rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2s ease-in-out infinite;
}

#cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 36px rgba(34, 197, 94, .5),
    0 8px 20px rgba(0, 0, 0, .3);
}

#cta-button:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================
   ANIMAÇÃO PULSE
   ============================================ */
@keyframes pulse {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(34, 197, 94, .35),
      0 4px 14px rgba(0, 0, 0, .25);
  }
  50% {
    box-shadow:
      0 0 40px rgba(34, 197, 94, .55),
      0 4px 20px rgba(0, 0, 0, .3);
  }
}

/* ============================================
   RESPONSIVO — Tablets e Desktop
   ============================================ */
@media (min-width: 768px) {
  .content-wrapper {
    gap: 28px;
    max-width: 620px;
  }

  #price-block {
    padding: 18px 36px;
  }

  .price-value {
    font-size: 3.4rem;
  }

  #cta-button {
    padding: 22px 36px;
  }
}

/* Telas muito pequenas (≤ 360px) */
@media (max-height: 640px) {
  .content-wrapper {
    gap: 14px;
  }

  #headline {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
  }

  #subheadline {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  #price-block {
    padding: 10px 20px;
  }

  .price-value {
    font-size: 2.2rem;
  }

  #cta-button {
    padding: 14px 20px;
    font-size: 0.82rem;
  }
}
