/* ==========================================================================
   QUIZ + VSL HIGH CONVERTING STYLES - MÉXICO EDITION
   Mobile-First, Ultra Rápido, Elegante
   ========================================================================== */

:root {
  --primary: #d97706;          /* Caramelo Dorado */
  --primary-hover: #b45309;
  --primary-light: #fef3c7;
  --secondary: #16a34a;        /* Verde Conversión */
  --secondary-hover: #15803d;
  --secondary-glow: rgba(22, 163, 74, 0.35);
  --dark: #1c1917;             /* Carbón Intenso */
  --dark-soft: #292524;
  --muted: #78716c;
  --light-bg: #faf7f2;         /* Crema Suave */
  --card-bg: #ffffff;
  --border: #f0ebe1;
  --mexico-red: #e11d48;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.09);
  --shadow-cta: 0 10px 25px rgba(22, 163, 74, 0.4);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   HEADER / TOP BAR
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #1c1917 0%, #2e261f 50%, #1c1917 100%);
  color: #fef3c7;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}

.top-notice-bar .badge-mexico {
  background-color: var(--mexico-red);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  flex: 1;
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.quiz-progress-wrap {
  margin-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-track {
  width: 100%;
  height: 9px;
  background: #e7e2d8;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   QUIZ CARD & QUESTIONS
   ========================================================================== */
.quiz-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.quiz-header {
  text-align: center;
  margin-bottom: 22px;
}

.quiz-category-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.quiz-question-title {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.2px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-btn {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e7e0d3;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quiz-btn:hover, .quiz-btn:active {
  border-color: var(--primary);
  background: #fffdf7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quiz-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: #92400e;
  font-weight: 700;
}

.quiz-btn-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #f1ede4;
  color: var(--muted);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}

.quiz-btn:hover .quiz-btn-letter,
.quiz-btn.selected .quiz-btn-letter {
  background: var(--primary);
  color: #ffffff;
}

.quiz-btn-text {
  flex: 1;
}

/* ==========================================================================
   LOADING / ANALYSIS SCREEN
   ========================================================================== */
.analysis-screen {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.spinner-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
}

.spinner-ring {
  width: 100%;
  height: 100%;
  border: 5px solid #fae8ce;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
}

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

.analysis-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.analysis-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.analysis-checklist {
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}

.check-item.active {
  color: var(--dark);
}

.check-item.done {
  color: var(--secondary);
}

.check-item-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: #e7e2d8;
  color: #ffffff;
}

.check-item.done .check-item-icon {
  background: var(--secondary);
}

/* ==========================================================================
   VSL SECTION
   ========================================================================== */
.vsl-screen {
  display: none;
  width: 100%;
  max-width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vsl-header {
  text-align: center;
  margin-bottom: 20px;
}

.vsl-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.vsl-headline {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.vsl-headline span.highlight {
  color: var(--primary);
  background: linear-gradient(120deg, rgba(245,158,11,0.15) 0%, rgba(217,119,6,0.2) 100%);
  padding: 0 4px;
  border-radius: 4px;
}

.vsl-subheadline {
  font-size: 14px;
  color: var(--muted);
}

.video-outer-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.video-container-box {
  position: relative;
  width: 100%;
  max-width: 280px; /* Formato vertical 9:16 compacto para caber o vídeo e o botão juntos */
  margin: 0 auto 12px auto;
  aspect-ratio: 9 / 16;
  background: #1c1917 url('../images/vsl_thumb.jpg') center/cover no-repeat;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
  border: 2px solid rgba(217, 119, 6, 0.4);
}

.video-container-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  background: transparent;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

/* Oculta totalmente qualquer barra de controle ou scrub do vídeo nativo */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-seek-back-button,
video::-webkit-media-controls-seek-forward-button,
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none;
}

.vsl-progress-bar {
  display: none !important;
}

.video-container-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* OVERLAY INTELIGENTE PARA DESMUTAR / REPRODUCIR (ESTILO VTURB) */
.vsl-unmute-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.vsl-unmute-overlay.hidden {
  display: none !important;
}

.unmute-pulse-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: 2px solid #86efac;
  border-radius: var(--radius-full);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.6);
  cursor: pointer;
  animation: pulseUnmute 2s infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes pulseUnmute {
  0% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 14px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.unmute-notice {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-top: 14px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9);
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.sound-reminder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   OFFER SECTION & DELAY BUTTON
   ========================================================================== */
.offer-section {
  display: none; /* Controlado por el Timer de Delay */
}

.offer-section.revealed {
  display: block !important;
  animation: fadeInOffer 0.4s ease-out forwards;
}

@keyframes fadeInOffer {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* CTA BUTTON */
.cta-button-box {
  text-align: center;
  margin: 24px 0 16px;
}

.btn-cta-main {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  border: 1px solid #4ade80;
  cursor: pointer;
  animation: pulseGlow 2.5s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-main:hover, .btn-cta-main:active {
  transform: scale(1.02);
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
}

.btn-cta-sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  opacity: 0.95;
  margin-top: 4px;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.security-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 10px;
}

/* PRODUCT SHOWCASE */
.product-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 2px solid #fed7aa;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

.product-headline-box {
  text-align: center;
  margin-bottom: 20px;
}

.product-tag {
  background: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.cover-image-wrap {
  text-align: center;
  margin: 16px auto 20px;
  max-width: 320px;
}

.cover-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f5f5f4;
}

.gallery-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.gallery-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 16px 8px 6px;
  text-align: center;
}

/* LIST OF DELIGHTS */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-soft);
}

.check-green {
  color: var(--secondary);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* BONUS CARD */
.bonus-highlight-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.bonus-tag {
  display: inline-block;
  background: #d97706;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bonus-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 6px;
}

.bonus-desc {
  font-size: 13px;
  color: #92400e;
  line-height: 1.45;
}

/* PRICING TABLE */
.price-display-box {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin: 20px 0 10px;
}

.price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--mexico-red);
  line-height: 1.1;
  margin: 4px 0;
}

.price-badge {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* TESTIMONIALS */
.testimonials-section {
  margin-top: 30px;
}

.section-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.test-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 6px;
}

.test-text {
  font-size: 13px;
  color: var(--dark-soft);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.45;
}

.test-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.test-location {
  color: var(--muted);
  font-weight: normal;
}

/* GUARANTEE BOX */
.guarantee-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.guarantee-icon {
  font-size: 38px;
  line-height: 1;
}

.guarantee-title {
  font-size: 14px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 4px;
}

.guarantee-desc {
  font-size: 12px;
  color: #15803d;
  line-height: 1.4;
}

/* FAQ ACCORDION */
.faq-wrap {
  margin: 30px 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.2s ease;
  font-size: 12px;
}

/* FOOTER */
footer {
  background: #1c1917;
  color: #a8a29e;
  font-size: 11px;
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
  line-height: 1.6;
}

footer a {
  color: #d6d3d1;
  text-decoration: underline;
  margin: 0 6px;
}

footer p.disclaimer {
  max-width: 500px;
  margin: 16px auto 0;
  opacity: 0.75;
  font-size: 10px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & CENTERING (VÍDEO COMPACTO + BOTÃO VISÍVEL)
   ========================================================================== */
@media (max-width: 480px) {
  .main-container {
    padding: 10px 14px 32px;
  }
  
  .vsl-screen {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .vsl-header {
    margin-bottom: 8px;
  }

  .vsl-badge {
    margin-bottom: 6px;
    font-size: 11px;
    padding: 3px 10px;
  }

  .vsl-headline {
    font-size: 1.2rem;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .vsl-subheadline {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .video-outer-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  .video-container-box {
    max-width: 255px; /* Tamanho proporcional perfeito para manter o vídeo e o botão na mesma tela */
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .sound-reminder {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .cta-button-box {
    margin: 6px 0 12px;
  }

  .btn-cta-main {
    padding: 15px 18px;
    font-size: 1.02rem;
  }
}
