/* ===== PRE-LAUNCH — PAGE-SPECIFIC STYLES ===== */

/* --- Exclusivity bar --- */
.exclusivity-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  letter-spacing: 0.3px;
  margin-top: 64px;
}
@media (min-width: 769px) {
  .exclusivity-bar {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}

/* Kill white gap above bar */
body {
  background: var(--dark);
}

/* --- Hero overrides --- */
.hero {
  padding: 2rem 2rem 3rem;
  min-height: calc(100vh - 94px);
  min-height: calc(100dvh - 94px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* --- Hero checks alignment fix --- */
.hero-checks li {
  display: flex;
  align-items: baseline;
}
.hero-checks li::before {
  flex-shrink: 0;
}
/* "Tudo em uma só assinatura" highlight */
.hero-sub .hero-closer {
  color: var(--white);
  font-weight: 700;
  margin-top: 1rem;
}
/* Match badge top/bottom breathing room (32px each side) */
.hero-badge {
  margin-bottom: 2rem;
}
/* Tighter gap between sub and form */
.hero-sub {
  margin-bottom: 0.8rem;
}

/* --- Logo badge: prevent wrapping on small screens --- */
.logo-badge {
  white-space: nowrap;
  font-size: 0.55rem;
  padding: 0.15rem 0.5rem;
}

/* --- Navbar CTA: hidden when form is in view --- */
.nav-cta {
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.nav-cta.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
}

/* --- Pre-launch form --- */
.prelaunch-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 440px;
  margin: 1rem auto 0;
  width: 100%;
}
.prelaunch-form-row {
  display: flex;
  gap: 0.8rem;
}
.prelaunch-input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prelaunch-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.prelaunch-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(254,80,0,0.15);
}
.prelaunch-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}
.prelaunch-form .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  justify-content: center;
  margin-top: 0.2rem;
}
.prelaunch-form-note {
  text-align: center;
  font-size: var(--text-small);
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}
.prelaunch-success {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 440px;
  margin: 2rem auto 0;
}
.prelaunch-success h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.prelaunch-success p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-body);
  line-height: 1.6;
}
.prelaunch-form-wrapper {
  position: relative;
}

/* Pain cards + pain-resolve-box + pills-light moved to style.css (shared) */

/* --- Waitlist benefits (3-col gap cards) --- */
.waitlist-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.waitlist-benefit {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.waitlist-benefit-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.2rem;
}
.waitlist-benefit h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.waitlist-benefit p {
  font-size: var(--text-body);
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Mentoria highlight --- */
.mentoria-highlight {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.mentoria-highlight-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.mentoria-highlight h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.mentoria-highlight p {
  font-size: var(--text-body);
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* --- Referral modal --- */
.referral-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.referral-overlay.active {
  opacity: 1;
  visibility: visible;
}
.referral-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.referral-overlay.active .referral-modal {
  transform: translateY(0);
}
.referral-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.referral-modal-close:hover {
  color: var(--dark);
}
.referral-modal-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.referral-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.referral-modal p {
  color: var(--gray-600);
  font-size: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.referral-modal .referral-highlight {
  color: var(--accent);
  font-weight: 700;
}
/* WhatsApp group button */
.whatsapp-group-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-group-btn:hover {
  background: #1DA851;
  transform: translateY(-1px);
}
.modal-note {
  margin-top: 0.8rem;
  font-size: var(--text-small);
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- Final CTA section --- */
.prelaunch-final {
  background: var(--accent);
  padding: 4rem 2rem;
  text-align: center;
}
.prelaunch-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.prelaunch-final p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-body);
  margin-bottom: 1.5rem;
}
.prelaunch-final .btn-white {
  background: var(--white);
  color: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prelaunch-final .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .prelaunch-form-row {
    flex-direction: column;
  }
  .waitlist-benefits {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .waitlist-benefit { padding: 2rem 1.5rem; }
  .prelaunch-final { padding: 3rem 1.5rem; }
  .referral-modal { padding: 2rem 1.5rem; }
  .referral-link-box { flex-direction: column; }
}

