/* ============================================================
   VIRALIZE AI — Landing page com Quiz Gate
   Paleta: fundo quase-preto + gradiente rosa/magenta (identidade do logo)
   ============================================================ */

:root {
  --bg: #07070D;
  --bg-alt: #0C0C16;
  --card: #12121D;
  --border: rgba(255,255,255,0.08);

  --pink-1: #C81FA0;   /* magenta/roxo escuro do logo */
  --pink-2: #FF2E9F;   /* rosa vibrante do logo */
  --pink-3: #FF0F7B;   /* rosa quente, usado em CTAs */

  --white: #FFFFFF;
  --gray-1: #B8B8C4;   /* texto secundário */
  --gray-2: #7A7A8C;   /* texto terciário */

  --gradient: linear-gradient(135deg, var(--pink-1) 0%, var(--pink-2) 55%, var(--pink-3) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(200,31,160,0.18) 0%, rgba(255,46,159,0.10) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.quiz-active { overflow: hidden; height: 100vh; }
h1, h2, h3, p { margin: 0; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.eyebrow, .quiz-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pink-2);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(255, 15, 123, 0.35);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(255, 15, 123, 0.5); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ============================================================
   QUIZ GATE
   ============================================================ */
#quiz-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at 15% 0%, rgba(200,31,160,0.20), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(255,46,159,0.14), transparent 55%),
    var(--bg);
  display: flex;
  flex-direction: column;
}
#quiz-gate[hidden] { display: none; }

.quiz-brand {
  display: flex;
  justify-content: center;
  padding: 18px 20px 0;
}
.quiz-brand img {
  height: 34px;
  width: auto;
}

.quiz-progress {
  padding: 18px 20px 10px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.quiz-progress-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-1);
  margin-bottom: 10px;
  text-align: center;
}
.quiz-progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.45s var(--ease);
}

.quiz-viewport {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 0;
}

.quiz-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  overflow-y: auto;
}
.quiz-step.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

.quiz-card {
  width: 100%;
  max-width: 560px;
  margin: auto;
  text-align: center;
}

.quiz-intro h1 {
  font-size: 28px;
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 16px;
}
.quiz-sub {
  font-size: 16px;
  color: var(--gray-1);
  line-height: 1.5;
  margin-bottom: 10px;
}
.quiz-time {
  font-size: 13px;
  color: var(--gray-2);
  margin-bottom: 28px;
}

.quiz-question .question-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 28px;
  text-align: left;
}
.question-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 18px;
  min-height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--white);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.option-btn:active { transform: scale(0.985); }
.option-btn .opt-dot {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gray-2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.option-btn.is-selected {
  border-color: var(--pink-2);
  background: var(--gradient-soft);
}
.option-btn.is-selected .opt-dot {
  border-color: var(--pink-2);
  background: var(--gradient);
}
.option-btn.is-disabled { pointer-events: none; }

.quiz-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--pink-2);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-1);
}

.quiz-result .result-confirm {
  font-size: 14px;
  color: var(--gray-1);
  margin-bottom: 14px;
}
.result-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--gray-1);
  margin-bottom: 22px;
  text-align: left;
}
.result-next {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
}

/* ============================================================
   LANDING PAGE (pós-quiz)
   ============================================================ */
#site-content[hidden] { display: none; }
#site-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
#site-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 16px;
  color: var(--gray-1);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 8px;
}

.site-header {
  padding: 22px 0;
}
.site-header-inner {
  display: flex;
  justify-content: center;
}
.site-logo {
  height: 36px;
  width: auto;
}

.hero {
  padding: 88px 0 64px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,46,159,0.16), transparent 60%),
    var(--bg);
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 18px;
  max-width: 620px;
}
.hero .lead {
  font-size: 16.5px;
  color: var(--gray-1);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 30px;
}

/* método */
.method-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}
.method-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.method-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--pink-2);
  flex: 0 0 auto;
}
.method-arrow {
  color: var(--gray-2);
  font-size: 14px;
}

/* plataforma */
.screenshot-placeholder {
  margin-top: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--card);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-2);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.platform-gallery {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.platform-gallery img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.tools-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tool-card {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* módulos */
.modules-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.module-card {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
}
.module-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink-2);
  margin-bottom: 8px;
}
.module-card h3 { font-size: 19px; font-weight: 800; }

/* benefícios */
.benefits-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.benefit-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
}
.benefit-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; color: var(--gray-1); line-height: 1.5; }

/* prova social */
.proof-video-wrap {
  margin-top: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  background: #000;
}
.proof-video {
  display: block;
  width: 100%;
  max-height: 640px;
  background: #000;
}

/* oferta */
.section-offer { text-align: center; }
.section-offer .section-lead { margin: 0 auto 8px; }
.offer-card {
  margin: 32px auto 0;
  max-width: 380px;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid rgba(255,46,159,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.offer-price-label { font-size: 13px; color: var(--gray-1); margin-bottom: 6px; }
.offer-price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.offer-price-note { font-size: 13px; color: var(--gray-2); margin-bottom: 24px; }
.offer-risk {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-2);
}

/* garantia */
.section-guarantee { padding: 0 0 72px; }
.guarantee-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
}
.guarantee-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255,46,159,0.35);
  color: var(--pink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.guarantee-card h2 { font-size: 22px; margin-bottom: 12px; }
.guarantee-card p { font-size: 14.5px; color: var(--gray-1); line-height: 1.55; }

/* FAQ */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
}
.faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--pink-2);
  font-weight: 800;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 12px; font-size: 14.5px; color: var(--gray-1); line-height: 1.55; }

/* CTA final */
.section-final-cta {
  text-align: center;
  background: radial-gradient(circle at 50% 100%, rgba(255,15,123,0.18), transparent 60%), var(--bg-alt);
}
.section-final-cta h2 { margin-bottom: 14px; }
.final-cta-sub {
  font-size: 15px;
  color: var(--gray-1);
  margin: 0 auto 28px;
  max-width: 420px;
}

.footer {
  padding: 32px 0 48px;
  text-align: center;
  color: var(--gray-2);
  font-size: 13px;
}
.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.75;
}

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 768px) {
  .quiz-intro h1 { font-size: 36px; }
  .quiz-question .question-text { font-size: 28px; }
  .result-title { font-size: 32px; }

  .section { padding: 100px 0; }
  .section h2 { font-size: 40px; }
  .hero { padding: 120px 0 84px; }
  .hero h1 { font-size: 46px; }
  .hero .lead { font-size: 18px; }

  .tools-grid { grid-template-columns: repeat(4, 1fr); }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .method-flow { max-width: 420px; margin-left: auto; margin-right: auto; }
}
