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

:root {
  --roxo: #7C3AED;
  --roxo-claro: #A78BFA;
  --roxo-escuro: #2c0f5c;
  --rosa: #EC4899;
  --verde: #22C55E;
  --verde-escuro: #16A34A;
  --vermelho: #DC2626;
  --escuro: #1a0f2e;
  --escuro-2: #241640;
  --escuro-card: #34204f;
  --cinza-100: #F3F4F6;
  --cinza-300: #D1D5DB;
  --cinza-500: #6B7280;
  --cinza-700: #374151;
  --texto: #1a1a1a;
  --espaco-1: 4px;
  --espaco-2: 8px;
  --espaco-3: 12px;
  --espaco-4: 16px;
  --espaco-5: 20px;
  --espaco-6: 24px;
  --espaco-8: 32px;
  --espaco-10: 40px;
  --espaco-12: 48px;
  --espaco-16: 64px;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-display: swap;
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 44px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}

.placeholder-img {
  background: repeating-linear-gradient(45deg, #d9d9d9, #d9d9d9 10px, #cfcfcf 10px, #cfcfcf 20px);
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  border-radius: 12px;
  border: 2px dashed #999;
}

/* ==========================================================================
   BARRA DE URGÊNCIA
   ========================================================================== */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: var(--vermelho);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--espaco-2);
  z-index: 9999;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.urgency-bar .timer {
  background: #fff;
  color: var(--vermelho);
  font-family: 'Courier New', monospace;
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTIONS — ritmo de cores
   ========================================================================== */
.section {
  padding: var(--espaco-12) 0;
}

.section--white {
  background: #fff;
  color: var(--texto);
}

.section--dark {
  background: var(--escuro);
  color: #fff;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--espaco-8);
  line-height: 1.3;
}

.section-title--light {
  color: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: var(--espaco-6) 0 var(--espaco-5);
  text-align: center;
}

.hero h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: var(--espaco-4);
}

.hero h1 span {
  color: var(--roxo);
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cinza-700);
  margin-top: var(--espaco-5);
  margin-bottom: var(--espaco-4);
}

.check-icon {
  color: var(--verde);
  font-weight: 700;
  flex-shrink: 0;
}

.trust-line {
  font-size: 13px;
  color: var(--cinza-700);
  text-align: center;
  margin-top: var(--espaco-3);
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */
.btn-cta {
  display: block;
  width: 100%;
  background: var(--verde);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(34,197,94,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-cta:active {
  transform: scale(.98);
}

.btn-cta--hero {
  margin-top: var(--espaco-2);
}

.btn-cta--price {
  margin: var(--espaco-6) 0 var(--espaco-5);
  animation: pulse-cta 2.2s ease-in-out infinite;
}

.btn-cta--faq {
  margin-top: var(--espaco-8);
}

@keyframes pulse-cta {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(34,197,94,.4); }
  50% { transform: scale(1.03); box-shadow: 0 6px 22px rgba(34,197,94,.6); }
}

/* ==========================================================================
   IMAGEM PRINCIPAL DO HERO
   ========================================================================== */
.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-main-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
}

/* ==========================================================================
   SETAS E DOTS DE CARROSSEL (compartilhados com o carrossel de depoimentos)
   ========================================================================== */
.carousel-arrow {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--roxo);
  border: 2px solid var(--roxo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease;
}

.carousel-arrow:active {
  background: var(--cinza-100);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--espaco-2);
  margin-top: var(--espaco-4);
}

.carousel-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinza-300);
  transition: background .2s ease, transform .2s ease;
}

.carousel-dots .dot.active {
  background: var(--roxo);
  transform: scale(1.3);
}

/* ==========================================================================
   DEPOIMENTOS — carrossel "peek"
   ========================================================================== */
.testi-carousel {
  position: relative;
  overflow: hidden;
  padding: var(--espaco-4) 0;
}

.testi-track {
  display: flex;
  align-items: center;
  touch-action: pan-y;
  cursor: grab;
}

.testi-track.dragging {
  cursor: grabbing;
}

.testi-slide {
  flex: 0 0 75%;
  display: flex;
  justify-content: center;
  transition: transform .3s ease, opacity .3s ease;
  opacity: .45;
  transform: scale(.88);
}

.testi-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.testi-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.testi-media {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border-width: 2px;
}

/* #depoimentos-2 usa imagens reais, cada uma na sua proporção natural —
   sem o corte/aspect-ratio 9:16 fixo usado nos cards de vídeo/print da
   primeira seção de depoimentos. A largura do slide continua ~75% do
   container (herdada de .testi-slide); só a ALTURA do card varia. */
#depoimentos-2 .testi-card {
  aspect-ratio: auto;
  background: transparent;
}

#depoimentos-2 .testi-media {
  height: auto;
  display: block;
}

.video-facade {
  position: relative;
  width: 100%;
  height: 100%;
}

/* facade cuja proporção vem de padding-top inline (igual ao wrapper do
   embed real), não de aspect-ratio — mantém a MESMA altura reservada
   antes e depois do clique, sem CLS. Usado no vídeo da Panda Video. */
.video-facade--panda .example-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin-bottom: 0;
  /* a imagem real (1917x1072 ≈ 16:9) não bate exatamente com a proporção
     mais larga/baixa do vídeo (46.145833...% ≈ 2.17:1) — cover evita
     distorção, cortando o excedente simetricamente */
  object-fit: cover;
  border-radius: 12px;
}

.video-facade iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(124,58,237,.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-drag-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  z-index: 5;
  display: none;
}

.testi-card[data-video-active="true"] .video-drag-handle {
  display: block;
}

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.testi-arrow--left { left: 4px; }
.testi-arrow--right { right: 4px; }

/* ==========================================================================
   ENTREGÁVEIS / MÉTODO
   ========================================================================== */
.method-text {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-4);
  margin-bottom: var(--espaco-6);
}

.method-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--cinza-300);
}

.method-callout {
  border-left: 3px solid var(--roxo-claro);
  padding: var(--espaco-2) 0 var(--espaco-2) var(--espaco-4);
  margin-bottom: var(--espaco-6);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.method-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-3);
}

.method-checklist li {
  display: flex;
  align-items: center;
  gap: var(--espaco-2);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   EXEMPLOS PRÁTICOS — card único, em destaque
   ========================================================================== */
.example-card {
  background: var(--cinza-100);
  border-radius: 16px;
  padding: var(--espaco-5);
  text-align: center;
}

.example-card--featured {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--espaco-8);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.example-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  margin-bottom: var(--espaco-4);
}

.example-card--featured .video-facade {
  position: relative;
  margin-bottom: var(--espaco-4);
}

.example-card--featured .example-img {
  margin-bottom: 0;
}

.example-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: var(--espaco-2);
}

.example-card p {
  font-size: 14px;
  color: var(--cinza-700);
  line-height: 1.5;
}

/* ==========================================================================
   BÔNUS
   ========================================================================== */
.bonus-intro {
  color: var(--cinza-300);
  font-size: 15px;
  text-align: center;
  margin-bottom: var(--espaco-6);
}

.bonus-cards {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-4);
}

.bonus-card {
  display: flex;
  gap: var(--espaco-3);
  background: var(--escuro-card);
  border-radius: 14px;
  padding: var(--espaco-4);
  align-items: flex-start;
}

.bonus-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.bonus-content h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bonus-content p {
  color: var(--cinza-300);
  font-size: 13px;
  line-height: 1.4;
}

.bonus-content p.bonus-anchor-value {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.bonus-anchor-value s {
  color: var(--cinza-500);
  text-decoration: line-through;
}

.bonus-anchor-value strong {
  color: var(--verde);
  font-weight: 700;
}

.bonus-closing {
  color: var(--cinza-300);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: var(--espaco-6);
}

/* ==========================================================================
   PREÇO
   ========================================================================== */
.price-card-wrap {
  /* borda com gradiente roxo→rosa: fundo em gradiente + padding fino,
     o card escuro por dentro cobre tudo menos essa "moldura" de 2px */
  background: linear-gradient(135deg, var(--roxo), var(--rosa));
  border-radius: 22px;
  padding: 2px;
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.25);
}

.price-card {
  position: relative;
  background: var(--escuro);
  border-radius: 20px;
  padding: var(--espaco-8) var(--espaco-6);
  text-align: center;
  /* altura da barra de urgência (44px) + respiro de 20px, para o CTA de
     scroll do Hero/FAQ não terminar escondido atrás da barra fixa */
  scroll-margin-top: 64px;
}

.price-card-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  z-index: 2;
  background: linear-gradient(135deg, var(--roxo), var(--rosa));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  white-space: nowrap;
}

.price-anchor-intro {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--espaco-3);
}

.price-anchor-list {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-2);
  text-align: left;
  margin-bottom: var(--espaco-6);
}

.price-anchor-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--espaco-2);
  font-size: 14px;
  color: var(--cinza-300);
}

.price-divider {
  height: 1px;
  background: var(--roxo-claro);
  opacity: 0.25;
  margin: var(--espaco-6) 0;
}

.price-old-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--espaco-2);
  margin-bottom: var(--espaco-1);
}

.price-old {
  color: var(--cinza-300);
  font-size: 15px;
}

.price-old-row .price-old {
  margin-bottom: 0;
}

.price-discount-badge {
  background: var(--rosa);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.price-new {
  color: var(--verde);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--espaco-2);
}

.price-detail {
  color: var(--cinza-300);
  font-size: 13px;
  margin-bottom: var(--espaco-2);
}

.trust-seals {
  display: flex;
  justify-content: center;
  gap: var(--espaco-4);
  flex-wrap: wrap;
  color: var(--cinza-300);
  font-size: 12px;
  margin-top: var(--espaco-4);
}

.guarantee-card {
  background: var(--cinza-100);
  border-radius: 20px;
  padding: var(--espaco-8) var(--espaco-6);
  text-align: center;
  margin-top: var(--espaco-5);
}

.guarantee-icon {
  color: var(--roxo);
  margin-bottom: var(--espaco-3);
  display: flex;
  justify-content: center;
}

.guarantee-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--espaco-2);
}

.guarantee-card p {
  font-size: 14px;
  color: var(--cinza-700);
  line-height: 1.5;
}

/* ==========================================================================
   COMO VOCÊ RECEBE O MATERIAL
   ========================================================================== */
.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-8);
}

.delivery-step {
  display: flex;
  gap: var(--espaco-4);
  align-items: flex-start;
}

.delivery-step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 2px solid var(--roxo);
  color: var(--roxo);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.delivery-step-icon {
  font-size: 18px;
  line-height: 1;
}

.delivery-step-body h3 {
  font-size: 16px;
  font-weight: 700;
}

.delivery-step-body p {
  font-size: 14px;
  color: var(--cinza-700);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--espaco-3);
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--cinza-300);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espaco-3);
  padding: var(--espaco-4);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}

.accordion-icon {
  color: var(--roxo);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease, padding-bottom .3s ease;
}

.accordion-item.is-open .accordion-body {
  opacity: 1;
  padding-bottom: var(--espaco-4);
}

.accordion-body-inner {
  padding: 0 var(--espaco-4);
  font-size: 14px;
  color: var(--cinza-700);
  line-height: 1.55;
}

/* ==========================================================================
   SOBRE O PROFESSOR
   ========================================================================== */
.professor-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--espaco-8);
}

.professor-photo-wrap {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
}

.professor-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4000 / 5334;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.professor-content {
  width: 100%;
  text-align: center;
}

.professor-content .professor-title {
  margin-bottom: var(--espaco-4);
}

.professor-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cinza-700);
  text-align: left;
  margin-bottom: var(--espaco-4);
}

.professor-content p.professor-callout {
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--roxo);
  border-left: 3px solid var(--roxo-claro);
  padding-left: var(--espaco-4);
  margin-bottom: 0;
}

/* a partir daqui, container largo o bastante pra valer a pena o
   layout em 2 colunas: foto ao lado do texto, alinhados ao centro */
@media (min-width: 640px) {
  .professor-container {
    flex-direction: row;
    align-items: center;
    gap: var(--espaco-8);
  }

  .professor-photo-wrap {
    flex: 0 0 42%;
    max-width: none;
  }

  .professor-content {
    flex: 1;
    text-align: left;
  }

  .professor-content .professor-title {
    text-align: left;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--escuro);
  color: var(--cinza-300);
  text-align: center;
  padding: var(--espaco-8) 0;
  font-size: 12px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--espaco-2);
}

.footer-sep {
  color: var(--cinza-500);
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVO — desktop mantém container estreito (funil de quiz)
   ========================================================================== */
@media (min-width: 640px) {
  .deliverable-cards {
    gap: var(--espaco-6);
  }
}

/* ==========================================================================
   REGRA INEGOCIÁVEL: CTA visível na 1ª dobra em qualquer altura mobile
   ========================================================================== */
@media (max-height: 700px) {
  body { padding-top: 40px; }
  .urgency-bar { height: 40px; font-size: 12px; }
  .hero { padding: var(--espaco-4) 0 var(--espaco-3); }
  .hero h1 { font-size: 22px; margin-bottom: var(--espaco-3); }
  .hero-main-image { max-width: 305px; }
  .hero-subtitle { font-size: 14px; margin-top: var(--espaco-3); margin-bottom: var(--espaco-3); }
  .btn-cta { padding: 13px 20px; font-size: 15px; }
  .price-card { scroll-margin-top: 60px; }
}

@media (max-height: 650px) {
  .hero h1 { font-size: 19px; margin-bottom: var(--espaco-2); }
  .hero-main-image { max-width: 236px; }
  .hero-subtitle { font-size: 13px; margin-top: var(--espaco-2); margin-bottom: var(--espaco-2); -webkit-line-clamp: 3; }
}

@media (max-height: 600px) {
  body { padding-top: 36px; }
  .urgency-bar { height: 36px; font-size: 11px; }
  .urgency-bar .timer { font-size: 11px; padding: 2px 6px; }
  .hero { padding: var(--espaco-2) 0 var(--espaco-2); }
  .hero h1 { font-size: 17px; }
  .hero-main-image { max-width: 178px; }
  .carousel-arrow { width: 30px; height: 30px; min-width: 30px; }
  .hero-subtitle { display: none; }
  .price-card { scroll-margin-top: 56px; }
}
