/* El Sufrimiento es la Cura / Suffering Is the Cure - quiz funnel estático
   Paleta e tipografia replicadas do projeto Lovable (deep navy + gold) */

:root {
  --radius: 0.875rem;
  --background: #131829;
  --foreground: #f4f2ec;
  --card: #1a2033;
  --gold: #e2b356;
  --gold-dim: rgba(226, 179, 86, 0.4);
  --gold-soft: rgba(226, 179, 86, 0.1);
  --primary-foreground: #131829;
  --secondary: #232b45;
  --muted-foreground: #b8b5ab;
  --border: rgba(70, 80, 118, 0.6);
}

@supports (color: oklch(0.5 0.1 100)) {
  :root {
    --background: oklch(0.18 0.04 265);
    --foreground: oklch(0.96 0.01 90);
    --card: oklch(0.22 0.045 265);
    --gold: oklch(0.82 0.14 82);
    --primary-foreground: oklch(0.18 0.04 265);
    --secondary: oklch(0.28 0.05 265);
    --muted-foreground: oklch(0.78 0.02 90);
    --border: oklch(0.35 0.05 265 / 60%);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .serif {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: -0.01em;
  font-weight: 500;
}

a { color: inherit; }

.container { width: 100%; max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { width: 100%; max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }

main { flex: 1; }

/* ---------- animação de troca de tela ---------- */
.screen { display: none; }
.screen.active { display: block; animation: fadeUp 0.35s ease-out; }

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

/* ---------- barra de progresso ---------- */
#progress-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
#progress-header.visible { display: block; }
#progress-header .inner { max-width: 42rem; margin: 0 auto; padding: 0.75rem 1.25rem; }
.progress-track {
  height: 6px; border-radius: 999px; background: var(--secondary); overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%; border-radius: 999px; background: var(--gold);
  transition: width 0.35s ease;
}
#progress-label {
  margin-top: 6px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--muted-foreground); text-align: center;
}

/* ---------- elementos comuns ---------- */
.eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dim); border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem;
  width: 100%; max-width: 28rem;
  border: none; border-radius: calc(var(--radius) + 8px); cursor: pointer;
  background: var(--gold); color: var(--primary-foreground);
  padding: 1.1rem 1.5rem; font-size: 1.05rem; font-weight: 600;
  font-family: "Inter", sans-serif; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  transition: filter 0.2s, transform 0.1s;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary .chev { font-family: "Inter", sans-serif; }

.check-list { list-style: none; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: rgba(244, 242, 236, 0.9); }
.check-list .dot {
  margin-top: 4px; flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold); font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

.option-btn {
  width: 100%; text-align: left; border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
  color: rgba(244, 242, 236, 0.9); padding: 1rem 1.25rem; font-size: 1.05rem;
  font-family: "Inter", sans-serif; line-height: 1.4;
  display: flex; gap: 0.75rem; align-items: flex-start;
  transition: border-color 0.2s, background 0.2s;
}
.option-btn:hover { border-color: rgba(226, 179, 86, 0.6); }
.option-btn.active {
  border-color: var(--gold); background: var(--gold-soft); color: var(--foreground);
  box-shadow: 0 0 0 1px var(--gold);
}
.option-btn .radio {
  margin-top: 2px; flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px;
  border: 1px solid var(--border); display: inline-flex; align-items: center;
  justify-content: center; font-size: 12px; color: var(--primary-foreground);
}
.option-btn.active .radio { border-color: var(--gold); background: var(--gold); }

.card {
  border-radius: calc(var(--radius) + 8px); border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
}

.section { padding: 3rem 0; border-top: 1px solid var(--border); }
.section h2 { font-size: 1.75rem; line-height: 1.25; }
.section .body-text { margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.7; color: rgba(244, 242, 236, 0.9); }

.tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted-foreground); }
.small { font-size: 0.75rem; }
.gold { color: var(--gold); }

/* ---------- analisando ---------- */
.spinner {
  width: 56px; height: 56px; border-radius: 999px;
  border: 2px solid rgba(226, 179, 86, 0.3); border-top-color: var(--gold);
  animation: spin 1s linear infinite; margin: 0 auto 2rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.analyzing-dots { margin-top: 1.5rem; display: flex; gap: 6px; justify-content: center; }
.analyzing-dots span {
  height: 6px; width: 32px; border-radius: 999px; background: var(--secondary);
  transition: background 0.3s;
}
.analyzing-dots span.on { background: var(--gold); }
#analyzing-msg { animation: fadeUp 0.35s ease-out; }

/* ---------- oferta / depoimentos / FAQ ---------- */
.offer-card {
  border-radius: calc(var(--radius) + 12px); border: 1px solid rgba(226, 179, 86, 0.5);
  background: linear-gradient(to bottom, var(--card), var(--background));
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
}

.guarantee-card { border-color: var(--gold-dim); }

blockquote.card p { font-style: italic; color: rgba(244, 242, 236, 0.9); line-height: 1.6; }
blockquote.card footer { margin-top: 0.75rem; font-size: 0.9rem; color: var(--gold); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  color: var(--foreground); font-family: "Inter", sans-serif; font-size: 1rem;
  text-align: left; padding: 1rem 0; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q .arrow { transition: transform 0.2s; color: var(--muted-foreground); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 1rem; color: rgba(244, 242, 236, 0.85); line-height: 1.6; }
.faq-item.open .faq-a { display: block; animation: fadeUp 0.25s ease-out; }

.bonus-grid { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .bonus-grid { grid-template-columns: 1fr 1fr; } }

.stage-cards { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }

/* ---------- rodapé ---------- */
footer.site-footer {
  margin-top: 4rem; border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 60%, transparent);
}
footer.site-footer .inner {
  max-width: 48rem; margin: 0 auto; padding: 2.5rem 1.5rem;
  text-align: center; font-size: 0.875rem; color: var(--muted-foreground);
}
footer.site-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  column-gap: 1.5rem; row-gap: 0.5rem;
}
footer.site-footer nav a { text-decoration: none; transition: color 0.2s; }
footer.site-footer nav a:hover { color: var(--gold); }
footer.site-footer .compliance { margin-top: 1.5rem; font-size: 0.75rem; line-height: 1.6; color: rgba(184, 181, 171, 0.8); }
footer.site-footer .copyright { margin-top: 1rem; font-size: 0.75rem; color: rgba(184, 181, 171, 0.6); }

/* ---------- páginas legais ---------- */
.legal { padding: 3.5rem 0; }
.legal h1 { font-size: 2.25rem; }
.legal h2 { font-size: 1.5rem; color: var(--gold); margin-top: 2rem; }
.legal p, .legal li { margin-top: 0.75rem; line-height: 1.7; color: rgba(244, 242, 236, 0.9); }
.legal ul { padding-left: 1.5rem; }
.legal a { color: var(--gold); }

/* ---------- responsivo ---------- */
@media (min-width: 768px) {
  .section h2 { font-size: 2.25rem; }
  .legal h1 { font-size: 3rem; }
  h1.hero { font-size: 3rem !important; }
}
