/* ============================================================
   PROTOCOLO HAPER — FIDELIZE
   styles.css  |  Mobile-first, sem dependências externas
   ============================================================ */


/* ============================================================
   VARIÁVEIS & RESET
   ============================================================ */
:root {
  --bg-primary:      #FAFAF7;
  --text-primary:    #1A1A1A;
  --text-secondary:  #4A4A4A;
  --accent-primary:  #7A1F2B;
  --accent-hover:    #5e1620;
  --accent-alert:    #C2410C;
  --accent-alert-hover: #a33509;
  --border-soft:     #E5E5E0;
  --white:           #FFFFFF;
  --shadow-soft:     0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-card:     0 4px 24px rgba(0, 0, 0, 0.08);
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       14px;
  --max-width:       1100px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

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

button {
  font-family: 'Inter', sans-serif;
}


/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* Animações */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Classe aplicada via JS para animar a entrada dos painéis do quiz */
.quiz-anim {
  animation: fadeSlideIn 0.32s ease forwards;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 31, 43, 0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(122, 31, 43, 0); }
}


/* ============================================================
   BOTÕES
   ============================================================ */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 31, 43, 0.3);
}

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

.btn-cta-large {
  font-size: 1rem;
  padding: 18px 32px;
  width: 100%;
  max-width: 480px;
  animation: pulse-border 2.5s ease-in-out infinite;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.cta-microcopy {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

.payment-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}


/* ============================================================
   PLACEHOLDERS
   ============================================================ */
.image-placeholder {
  background-color: #D8D8D0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 250px;
  line-height: 1.5;
  border: 2px dashed #BFBFB5;
}

.video-placeholder {
  background-color: #111111;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 2px dashed #333;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #D8D8D0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 auto 16px;
  border: 2px dashed #BFBFB5;
  flex-shrink: 0;
}

.screenshot-placeholder {
  background-color: #D8D8D0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
  border: 2px dashed #BFBFB5;
}

.section-headline {
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin-bottom: 40px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   LOGO
   ============================================================ */
.hero-logo-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.hero-logo {
  height: 60px;
  width: auto;
  display: inline-block;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .hero-logo {
    height: 80px;
  }
}


/* ============================================================
   SEÇÃO 1 — HERO
   ============================================================ */
.hero-section {
  background-color: var(--bg-primary);
  text-align: center;
}

.hero-headline {
  font-size: clamp(1.65rem, 5.5vw, 3rem);
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--text-primary);
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 0;
}

.hero-image {
  min-height: 250px;
  margin: 36px 0;
}

.behaviors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 40px 0;
  text-align: left;
}

.behavior-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}

.behavior-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.behavior-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* ============================================================
   SEÇÃO 2 — QUIZ
   ============================================================ */
.quiz-section {
  background-color: var(--bg-primary);
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 24px;
  max-width: 660px;
  margin: 0 auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

/* Quiz intro */
.quiz-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: fadeSlideIn 0.4s ease;
}

.quiz-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 500px;
  line-height: 1.75;
}

.btn-start-quiz {
  padding: 16px 40px;
}

/* Progress bar */
.progress-wrapper {
  width: 100%;
  animation: fadeSlideIn 0.35s ease;
}

.progress-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-align: left;
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-primary);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Question */
.question-display {
  width: 100%;
}

.question-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.answer-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-answer {
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 0;
  min-width: 140px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.btn-sim {
  background-color: var(--accent-primary);
  color: var(--white);
  border-color: var(--accent-primary);
}

.btn-sim:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-nao {
  background-color: var(--white);
  color: var(--text-primary);
  border-color: var(--border-soft);
}

.btn-nao:hover {
  border-color: var(--text-secondary);
  background-color: var(--bg-primary);
}

/* Tension phrase */
.tension-display {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.tension-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: var(--accent-alert);
  line-height: 1.4;
  max-width: 480px;
}

.btn-continue {
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 40px;
  background-color: var(--accent-alert);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-continue:hover {
  background-color: var(--accent-alert-hover);
  transform: translateY(-1px);
}

/* Painel de pontuação borrada (exibido após Q12) */
.loading-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

.blur-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.blur-score-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(72px, 16vw, 120px);
  font-weight: 700;
  color: var(--accent-alert);
  line-height: 1;
  filter: blur(12px);
  user-select: none;
  pointer-events: none;
}

.blur-score-faixa {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--accent-alert);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  margin-bottom: 4px;
}

.blur-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.75;
}


/* ============================================================
   SEÇÃO 3 — RESULTADO
   ============================================================ */
.resultado-section {
  background-color: var(--white);
  text-align: center;
}

.resultado-container {
  max-width: 720px;
}

.score-eyebrow {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.score-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(72px, 16vw, 120px);
  font-weight: 700;
  color: var(--accent-alert);
  line-height: 1;
  margin-bottom: 14px;
}

.score-faixa {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--accent-alert);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 44px;
}

.score-diagnostico {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}

.score-diagnostico p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.score-transition {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-primary);
  padding: 28px 0;
  line-height: 1.55;
  border-top: 1px solid var(--border-soft);
}


/* ============================================================
   SEÇÃO 4 — VSL
   ============================================================ */
.vsl-section {
  background-color: var(--bg-primary);
  text-align: center;
}

.video-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

vturb-smartplayer {
  max-width: 720px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
}

.video-microcopy {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 14px;
  text-align: center;
}


/* ============================================================
   SEÇÃO 5 — OFERTA
   ============================================================ */
.oferta-section {
  background-color: var(--white);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}

.offer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.offer-icon {
  margin-bottom: 14px;
  line-height: 1;
}

.offer-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.offer-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Bloco de preço */
.price-block {
  text-align: center;
  padding: 32px 0 12px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 4px;
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.price-old s {
  text-decoration: line-through;
}

.price-new {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.price-new strong {
  font-weight: 700;
}

.price-detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
}


/* ============================================================
   SEÇÃO 6 — DEPOIMENTOS
   ============================================================ */
.depoimentos-section {
  background-color: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  font-weight: 400;
}

.screenshot-caption {
  font-size: 0.80rem;
  color: var(--text-secondary);
  font-style: italic;
}


/* ============================================================
   SEÇÃO 7 — GARANTIA + URGÊNCIA
   ============================================================ */
.garantia-section {
  background-color: var(--white);
  text-align: center;
}

.guarantee-box {
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  background: var(--white);
  max-width: 640px;
  margin: 0 auto 36px;
}

.guarantee-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.guarantee-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.guarantee-box p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.urgency-block {
  background-color: #FFF5F0;
  border-left: 4px solid var(--accent-alert);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: left;
}

.urgency-block p {
  font-size: 0.95rem;
  color: var(--accent-alert);
  font-weight: 500;
  line-height: 1.7;
}

.urgency-block strong {
  font-weight: 700;
}


/* ============================================================
   SEÇÃO 8 — FAQ
   ============================================================ */
.faq-section {
  background-color: var(--bg-primary);
}

.accordion {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
}

.accordion-item {
  border-bottom: 1px solid var(--border-soft);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 4px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.accordion-trigger:hover {
  color: var(--accent-primary);
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--accent-primary);
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.28s ease;
  color: var(--accent-primary);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 4px 22px;
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Esconde via hidden attribute + CSS fallback */
.accordion-body[hidden] {
  display: none;
}

.cta-faq-final {
  margin-top: 52px;
  padding-bottom: 8px;
}


/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background-color: #1A1A1A;
  color: #888;
  padding: 44px 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer p {
  font-size: 0.80rem;
  line-height: 1.6;
  color: #888;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 0.80rem;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links span {
  color: #555;
}


/* ============================================================
   RESPONSIVE — TABLET 768px+
   ============================================================ */
@media (min-width: 768px) {

  .section {
    padding: 72px 0;
  }

  .hero-image {
    min-height: 340px;
  }

  .behaviors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
  }

  .quiz-card {
    padding: 48px 44px;
  }

  .btn-cta-large {
    width: auto;
  }
}


/* ============================================================
   RESPONSIVE — DESKTOP 1024px+
   ============================================================ */
@media (min-width: 1024px) {

  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 40px;
  }

  .hero-image {
    min-height: 420px;
  }

  .behavior-card {
    padding: 26px 24px;
  }

  .behavior-title {
    font-size: 1.05rem;
  }

  .quiz-card {
    padding: 56px 52px;
  }

  .offer-card {
    padding: 30px 26px;
  }
}
