/* ==========================================================================
   Fontes — Poppins carregada via Google Fonts (link + preconnect no <head>
   de index.html/privacidade.html, já com font-display=swap na própria URL).
   ========================================================================== */

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }

.section {
  padding: 56px 0;
}
.section--light { background: var(--background-secondary); color: var(--text-on-dark); }
.section--dark { background: var(--background-primary); color: var(--text-on-dark); }

.section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.3;
  color: var(--accent-gold);
}
.section-title--light { color: var(--accent-gold); }
.section-title .highlight { color: var(--accent-gold-light); }

.section-intro {
  max-width: 650px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.social-proof-highlight {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-on-dark);
}
.social-proof-highlight strong {
  color: var(--accent-gold);
  font-weight: 800;
}

/* ==========================================================================
   Hero subtitle / bullets
   ========================================================================== */
.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 24px 0 16px;
  color: var(--text-on-dark);
}
.hero-subtitle strong { color: var(--accent-gold-light); }

.credibility-bullets {
  list-style: none;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 24px;
}
.credibility-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
}
.credibility-bullets .check {
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   Bloco de confiança / prova social (hero)
   ========================================================================== */
.trust-block {
  margin-top: 16px;
  text-align: center;
}
.trust-line-1 {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.avatar-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--background-primary);
  object-fit: cover;
  flex-shrink: 0;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.trust-line-3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.trust-line-3 strong {
  color: var(--accent-gold);
  font-weight: 800;
}

/* ==========================================================================
   Botão CTA
   ========================================================================== */
.btn-cta {
  display: block;
  width: 100%;
  max-width: 400px;
  background: var(--accent-gold);
  color: var(--text-on-light);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 8px auto 0;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-cta:active, .btn-cta:hover { background: var(--accent-gold-light); }
.btn-cta:not(.btn-cta--pulse):hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-cta--pulse {
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.45);
  animation: pulse 2.2s ease-in-out infinite;
}
.btn-cta--pulse:hover {
  box-shadow: 0 6px 30px rgba(201, 162, 39, 0.65);
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta--pulse { animation: none; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ==========================================================================
   Imagem estática do Hero — responsiva, ocupando a maior parte da largura
   do container, mantendo a proporção 4:3 (sem distorcer).
   ========================================================================== */
.hero-image-static {
  width: 94%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
}
.hero-image-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   [NÃO UTILIZADO] Regras do antigo carrossel do Hero — mantidas apenas
   porque .carousel-arrow e .carousel-dots ainda são usadas pelo carrossel
   de depoimentos. As regras abaixo (.carousel, .carousel-viewport,
   .carousel-track) não têm mais nenhum elemento correspondente no HTML.
   ========================================================================== */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
}
.carousel-viewport {
  overflow: hidden;
  width: 300px;
  height: 225px;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.carousel-track img {
  width: 300px;
  height: 225px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.carousel-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background: var(--background-secondary);
  color: var(--accent-gold);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.carousel-arrow:active {
  background: rgba(201, 162, 39, 0.25);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 24px;
}
.carousel-dots .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 241, 230, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
}
/* Área de toque invisível de 44x44px centrada no ponto — não muda o visual
   (o ponto continua 8px), só amplia a região realmente clicável/tocável. */
.carousel-dots .dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.carousel-dots .dot.active {
  background: var(--accent-gold);
}

/* ==========================================================================
   Carrossel "peek" de depoimentos
   ========================================================================== */
.peek-carousel {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}
.peek-track {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: grab;
  user-select: none;
}
.peek-track.dragging { cursor: grabbing; }

.peek-slide {
  flex: 0 0 auto;
  width: 88%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.45;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  background: var(--background-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.peek-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.peek-slide--landscape {
  aspect-ratio: 4 / 3;
  width: 96%;
  max-width: 480px;
  transform: scale(0.82);
}
@media (max-width: 640px) {
  /* Carrossel "sangra" até a borda da tela só no mobile, recuperando o
     padding lateral do container para o card central crescer mais. */
  #exemplos-carousel {
    margin-left: -24px;
    margin-right: -24px;
  }
}
.peek-slide img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.peek-arrow-left, .peek-arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.peek-arrow-left { left: 4px; }
.peek-arrow-right { right: 4px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  border-radius: 16px;
  padding: 20px;
}
.card--light {
  background: var(--background-primary);
  border: 1px solid rgba(201, 162, 39, 0.3);
}
.card--dark {
  background: var(--background-secondary);
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--accent-gold);
}
.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.card p { font-size: 14px; font-weight: 400; line-height: 1.6; }

.card--split {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.card-thumb {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.card-body { flex: 1; }

/* ==========================================================================
   Feature grid (2 cards lado a lado) + bloco explicativo
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.feature-icon {
  font-size: 44px;
  line-height: 1;
}

.bonus-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--text-on-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.explainer-block {
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 28px 24px;
  background: var(--background-secondary);
}
.explainer-block .explainer-subtitle {
  color: var(--accent-gold);
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.explainer-block p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
}
.explainer-block p:last-child { margin-bottom: 0; }

.bonus-value {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(245, 241, 230, 0.75);
}
.bonus-value strong { color: var(--accent-gold); }

/* ==========================================================================
   [NÃO UTILIZADO] Card de plano único antigo — substituído pela estrutura
   de dois planos (.plans-grid) abaixo. Mantido só para referência.
   ========================================================================== */
.price-card {
  background: var(--background-primary);
  color: var(--text-on-dark);
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 16px;
}
.price-old {
  font-size: 18px;
  color: rgba(245, 241, 230, 0.55);
}
.price-new {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent-gold-light);
  margin: 4px 0;
}
.price-installments {
  font-size: 14px;
  color: rgba(245, 241, 230, 0.7);
  margin-bottom: 20px;
}
.trust-seals {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent-gold);
  flex-wrap: wrap;
}

/* ==========================================================================
   Preço — dois planos lado a lado (empilhados em mobile)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .plans-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.plan-card {
  background: var(--background-primary);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.plan-card--featured {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
  padding: 36px 24px 28px;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--text-on-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.plan-price-single {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.plan-price-note {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 241, 230, 0.65);
  margin-top: 4px;
}
.plan-price-combo { margin-bottom: 20px; }
.plan-price-old {
  display: block;
  font-size: 16px;
  color: rgba(245, 241, 230, 0.5);
  text-decoration: line-through;
}
.plan-price-new {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--accent-gold-light);
}

.plan-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 400;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feature-check {
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
}
.feature-excluded {
  opacity: 0.5;
  text-decoration: line-through;
}
.feature-x {
  color: rgba(245, 241, 230, 0.6);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-trust {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-gold);
}

.guarantee-card {
  background: var(--background-secondary);
  border: 1px solid var(--accent-gold);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.guarantee-icon { font-size: 32px; flex-shrink: 0; }
.guarantee-card h3 { font-size: 16px; margin-bottom: 4px; color: var(--accent-gold); }
.guarantee-card p { font-size: 14px; color: var(--text-on-dark); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.accordion-item {
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--background-secondary);
  color: var(--text-on-dark);
  border: none;
  text-align: left;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s ease;
}
.accordion-header:active {
  background: rgba(201, 162, 39, 0.15);
}
.accordion-icon { transition: transform 0.3s ease; flex-shrink: 0; color: var(--accent-gold); }
.accordion-item.is-open .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  opacity: 0;
  padding: 0 16px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
}
.accordion-item.is-open .accordion-panel {
  opacity: 1;
  padding-bottom: 16px;
}
.accordion-panel p { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--text-on-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--background-primary);
  color: rgba(245, 241, 230, 0.65);
  border-top: 1px solid var(--accent-gold);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}
.footer a { color: var(--accent-gold); display: inline-block; padding: 4px 0; }
.footer a:active { color: var(--accent-gold-light); }
.footer p { margin-bottom: 8px; }

/* ==========================================================================
   Scroll reveal (fade-in-up) — aplicado via JS (script.js) a blocos abaixo
   do hero. Não afeta o hero, que deve pintar imediatamente (LCP).
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Media queries — altura de viewport reduzida (garante CTA na 1ª dobra)
   ========================================================================== */
@media (max-height: 700px) {
  .hero { padding: 16px 0 24px; }
  .hero h1 { font-size: 24px; margin-bottom: 16px; }
  .hero-image-static { width: 240px; height: 180px; }
  .hero-subtitle { margin: 16px 0 12px; font-size: 14px; }
  .credibility-bullets { margin-bottom: 16px; }
}
@media (max-height: 650px) {
  .hero h1 { font-size: 21px; margin-bottom: 12px; }
  .hero-image-static { width: 200px; height: 150px; }
  .credibility-bullets li { font-size: 13px; }
}
@media (max-height: 600px) {
  body { padding-top: 40px; }
  .urgency-bar { height: 40px; font-size: 12px; }
  .hero h1 { font-size: 19px; }
  .hero-image-static { width: 170px; height: 128px; }
  .hero-subtitle { display: none; }
}

/* ==========================================================================
   Desktop (container permanece estreito — layout de funil)
   ========================================================================== */
@media (min-width: 640px) {
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 30px; }
}

/* ==========================================================================
   Modal de upsell (plano R$14,90 → R$19,90)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--background-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--accent-gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.modal-close:active {
  background: rgba(201, 162, 39, 0.2);
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.modal-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}
.modal-btn-primary {
  margin-bottom: 14px;
}
.modal-btn-secondary {
  display: block;
  background: none;
  border: none;
  color: rgba(245, 241, 230, 0.7);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  padding: 14px 8px;
}
.modal-btn-secondary:hover {
  color: var(--text-on-dark);
}

/* ==========================================================================
   "Como Você Recebe o Material" — passos numerados
   ========================================================================== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body {
  flex: 1;
  min-width: 0;
}
.step-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 6px;
}
.step-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}
.step-title {
  color: var(--accent-gold);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.step-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-on-dark);
}
@media (max-width: 360px) {
  .step-title { font-size: 14px; }
  .step-icon { font-size: 18px; }
}
