/* ============================================
   Abacato Aulas LP - Modern Design (matches /indica)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --green-dark: #134b20;
  --green-mid: #1a6b2e;
  --green-deep: #0f3a19;
  --neon: #d0fe00;
  --whatsapp: #25D366;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg-soft: #f7f9f7;
  --border-soft: rgba(19, 75, 32, 0.1);
  --red-error: #d32f2f;
  --transition: 0.3s ease;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--green-dark);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-title .accent {
  color: var(--green-mid);
  position: relative;
  display: inline-block;
}

.section-title .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--neon);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}

.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
  font-family: inherit;
}

.btn-primary {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.5);
}

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

.btn-primary:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================
   STICKY HEADER (appears after hero CTA scrolls out)
   ============================================ */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 999;
  padding: 12px 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sticky-header__logo img {
  height: 36px;
  width: auto;
}

.sticky-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 11px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.sticky-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green-mid) 100%);
  color: #fff;
  padding: 70px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(208, 254, 0, 0.08) 0%, transparent 60%);
  animation: float 30s infinite linear;
}

@keyframes float {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__logo {
  max-width: 180px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)) drop-shadow(0 0 20px rgba(255,255,255,0.5));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neon);
  color: var(--green-dark);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 30px rgba(208, 254, 0, 0.35), 0 0 60px rgba(208, 254, 0, 0.15);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(208, 254, 0, 0.35), 0 0 60px rgba(208, 254, 0, 0.15); }
  50% { box-shadow: 0 0 40px rgba(208, 254, 0, 0.55), 0 0 80px rgba(208, 254, 0, 0.25); }
}

.hero__title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__title strong {
  color: var(--neon);
  font-style: italic;
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 400;
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #fff;
}

.hero__cta {
  background: var(--whatsapp);
  color: #fff;
  padding: 18px 38px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.55), 0 0 0 4px rgba(208, 254, 0, 0.2);
}

.hero__micro-guarantees {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 13px;
  opacity: 0.9;
}

.hero__micro-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  padding: 80px 20px;
  background: var(--bg-soft);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 75, 32, 0.25);
  box-shadow: 0 18px 40px rgba(19, 75, 32, 0.08);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--neon);
}

.benefit-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--green-dark);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.benefit-card__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.benefits__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   SOCIAL PROOF (Cases)
   ============================================ */
.social-proof {
  padding: 80px 20px;
  background: #fff;
}

.social-proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 75, 32, 0.25);
  box-shadow: 0 18px 40px rgba(19, 75, 32, 0.08);
}

.testimonial-card__video {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 ratio for shorts */
  background: #000;
  overflow: hidden;
}

.testimonial-card__video iframe {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 60px);
  border: none;
  pointer-events: auto;
}

.testimonial-card__info {
  padding: 18px;
  text-align: center;
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   JOURNEY (Accordion das aulas)
   ============================================ */
.journey {
  padding: 80px 20px;
  background: var(--bg-soft);
}

.journey__accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.journey__item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
}

.journey__item:hover {
  border-color: rgba(19, 75, 32, 0.25);
}

.journey__item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
  user-select: none;
  color: var(--green-dark);
  gap: 16px;
}

.journey__item summary:hover {
  background: var(--bg-soft);
}

.journey__item summary::-webkit-details-marker {
  display: none;
}

.journey__item summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green-mid);
  border-bottom: 2px solid var(--green-mid);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.journey__item[open] summary::after {
  transform: rotate(-135deg);
}

.journey__item-content {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 80px 20px;
  background: #fff;
}

.faq__container {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: all var(--transition);
}

.faq__item:hover {
  border-color: rgba(19, 75, 32, 0.25);
}

.faq__item summary {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  transition: background 0.2s ease;
  color: var(--green-dark);
  font-size: 15px;
  gap: 16px;
  list-style: none;
}

.faq__item summary:hover {
  background: var(--bg-soft);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green-mid);
  border-bottom: 2px solid var(--green-mid);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green-mid) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.form-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

.form-section > .container {
  position: relative;
  z-index: 1;
}

.form-section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.form-section__subtitle {
  text-align: center;
  font-size: 17px;
  margin-bottom: 36px;
  opacity: 0.9;
}

.form-wrapper {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  padding: 36px 28px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  color: var(--text);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(19, 75, 32, 0.08);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23134b20' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Phone field with DDI */
.phone-wrapper {
  display: flex;
  gap: 10px;
}

.phone-wrapper .ddi-select {
  width: 130px;
  flex-shrink: 0;
  font-size: 14px;
  padding: 14px 8px;
  background-color: var(--bg-soft);
}

.phone-wrapper input {
  flex: 1;
}

.error-message {
  color: var(--red-error);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-submit {
  width: 100%;
  padding: 17px;
  font-size: 17px;
  margin-top: 8px;
}

/* Honeypot field — invisible to humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin: 16px 0;
  min-height: 65px;
  display: flex;
  justify-content: center;
}

/* ============================================
   LOADING DIALOG
   ============================================ */
dialog,
dialog[open] {
  border: none;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  max-width: 360px;
  width: 90%;
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--green-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-box p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 30px 20px;
  background: #0a0a0a;
  text-align: center;
}

.footer__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESULT PAGES (sucesso / falha)
   ============================================ */
.result-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.result-page__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.result-page__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--green-dark);
  letter-spacing: -0.025em;
}

.result-page__text {
  font-size: 16px;
  color: var(--muted);
  max-width: 450px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.result-page__btn {
  padding: 14px 32px;
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .hero {
    padding: 90px 20px 100px;
  }

  .benefits,
  .social-proof,
  .journey,
  .faq,
  .form-section {
    padding: 90px 20px;
  }
}

/* ============================================
   RESPONSIVE - Mobile (max 767px)
   ============================================ */
@media (max-width: 767px) {
  .sticky-header__cta {
    padding: 10px 16px;
    font-size: 13px;
  }

  .sticky-header__logo img {
    height: 32px;
  }

  .hero {
    padding: 50px 20px 70px;
  }

  .hero__logo {
    max-width: 140px;
    margin-bottom: 20px;
  }

  .benefits,
  .social-proof,
  .journey,
  .faq,
  .form-section {
    padding: 60px 20px;
  }

  .social-proof__grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 28px 22px;
  }
}
