:root {
  --gold: #B8964F;
  --gold-light: #D4B876;
  --dark: #241F1D;
  --dark-2: #362F2D;
  --brown: #4A2E22;
  --cream: #FBF3E9;
  --cream-2: #F5E9DA;
  --text-dark: #2A2422;
  --text-light: #F5EDE3;
  --text-muted-dark: #8A7F76;
  --text-muted-light: #C9BFB5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  font-weight: 700;
}

.gold { color: var(--gold-light); }
.section-light .gold, .section-brown .gold { color: var(--gold); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }

.section { padding: 80px 0; }
.section-dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%); color: var(--text-light); }
.section-light { background: var(--cream); color: var(--text-dark); }
.section-brown { background: linear-gradient(135deg, var(--brown) 0%, var(--dark) 100%); color: var(--text-light); }
.center { text-align: center; }

/* ===== BOTÃO CTA ===== */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #241F1D;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 18px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(184, 150, 79, 0.3);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(184, 150, 79, 0.4); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #4a3826 100%);
  color: var(--text-light);
  padding: 60px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 184, 118, 0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.badge-icon { font-size: 0.9em; }
.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  margin-bottom: 28px;
}
.hero-check {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}
.hero-check:first-of-type { margin-top: 18px; }

/* ===== SPLIT (imagem + texto) ===== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-img { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}
.split-img img.founder-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: none;
}
.split-img.stacked { display: flex; flex-direction: column; gap: 16px; }
/* Essas duas fotos são retratos (bem mais altas que largas) - encaixar num
   quadro quadrado sobrava muita borda escura nas laterais. Aqui o quadro
   segue a proporção real delas (3:4) e a foto preenche 100%, sem sobra. */
.split-img.stacked img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  background: none;
}
.split-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.split-copy p { margin-bottom: 14px; color: inherit; }
.section-dark .split-copy p { color: var(--text-muted-light); }
.section-brown .split-copy p { color: var(--text-muted-light); }
.small-caps {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold-light) !important;
  font-weight: 600;
}

.check-list { list-style: none; margin: 20px 0; }
.check-list li { margin-bottom: 10px; font-weight: 500; color: var(--text-light) !important; }

/* ===== PROBLEMA (seção 3) ===== */
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-dark .eyebrow { color: var(--gold-light); }
.eyebrow.center { text-align: center; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.lead { font-size: 1.05rem; color: var(--text-muted-dark); margin-bottom: 8px; }
.section-dark .lead { color: var(--text-muted-light); }
.highlight-line { font-weight: 700; font-size: 1.15rem; margin: 24px 0; color: var(--brown); }

.problem-icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.problem-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.problem-item .x { font-size: 1.8rem; }

/* ===== CARROSSEL DE RESULTADOS (seção 5) ===== */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 16px;
}
.carousel-viewport {
  flex: 1;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 14px;
}
/* Rolagem NATIVA do navegador (scroll-snap) - o mesmo mecanismo usado em
   carrosséis do Instagram, App Store, etc. O navegador cuida do toque, da
   inércia e do encaixe sozinho; não há arraste "escrito à mão" pra dar bug. */
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none; /* Edge antigo */
}
.carousel-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.carousel-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 79, 0.4);
  background: var(--cream);
  color: var(--brown);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: var(--gold-light); color: #241F1D; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd0bd;
  border: none;
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active { background: var(--gold); }

/* ===== CONTEÚDO / CARDS (seção 6) ===== */
.content-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.content-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212, 184, 118, 0.18);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.content-card:hover {
  border-color: rgba(212, 184, 118, 0.45);
  transform: translateY(-4px);
}
.content-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
}
/* As fotos aprovadas são retrato (3:4) - o quadro segue a mesma proporção,
   preenchendo 100% sem tarja, igual ao resto da página. */
.content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.content-card-body {
  padding: 20px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.content-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.content-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.35;
}
.content-card p { color: var(--text-muted-light); font-size: 0.94rem; line-height: 1.55; }

/* ===== REQUISITOS (seção 7) ===== */
.requirement-list { list-style: none; text-align: left; max-width: 560px; margin: 32px auto; }
.requirement-list li {
  padding: 14px 18px;
  background: var(--cream-2);
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 500;
}
.requirement-list .check { color: #4a8a5e; font-weight: 700; margin-right: 8px; }

/* ===== CTA FINAL (seção 9) ===== */
.final-badge { margin-bottom: 24px; }
.feather { font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 6px; }
.final-badge-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}
.final-badge-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
}
.huge { font-size: clamp(2rem, 4vw, 2.8rem); margin: 16px 0; }
.final-cta { padding-bottom: 100px; }
.btn-cta-final { margin-top: 28px; max-width: 500px; }

.footer {
  background: var(--dark);
  color: var(--text-muted-light);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted-dark);
  line-height: 1;
}
.modal-box h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--brown); }
.modal-sub { font-size: 0.9rem; color: var(--text-muted-dark); margin-bottom: 20px; }
#leadForm label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-dark);
}
#leadForm input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #ddd0bd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
#leadForm input:focus { outline: none; border-color: var(--gold); }
#leadForm .btn-cta { width: 100%; margin-top: 8px; }
.form-msg { margin-top: 12px; font-size: 0.85rem; text-align: center; min-height: 1.2em; }
.form-msg.error { color: #c0392b; }
.form-msg.success { color: #2e8b57; }

/* ===== TELA DE SUCESSO (pós-inscrição) ===== */
#successStep { text-align: center; }
.success-check { font-size: 3rem; margin-bottom: 4px; }
#successStep h3 { color: #2e8b57; }
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, #29d17a 0%, #1fa85f 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 168, 95, 0.35);
}
.btn-whatsapp:hover { box-shadow: 0 12px 28px rgba(31, 168, 95, 0.45); }

/* ===== RESPONSIVO ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .content-cards { grid-template-columns: 1fr; gap: 20px; }
  .problem-icons { gap: 32px; }
  .section { padding: 56px 0; }
  .carousel { gap: 6px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
}
