/* ============================================================================
 * VCVHUB Frontend Gratuito — quiz e landing page (gratuito.vocevendeeu.com.br)
 *
 * Tema alinhado com o app principal (vcvhub.vocevendeeu.com.br):
 *  - Light theme, branco/cinza/laranja
 *  - Accent #f59e0b (mesmo do app)
 *  - Fonte Inter (system)
 *  - Cantos arredondados, sombras suaves
 *
 * NAO usa styles.css do app — isolado pra nao quebrar quando o app mudar.
 * ============================================================================ */

:root {
  /* Tokens identicos ao VCV Hub light theme */
  --c-bg: #f6f7f9;
  --c-bg-elevated: #ffffff;
  --c-bg-soft: #f0f2f5;
  --c-card: #ffffff;
  --c-border: #e5e7eb;
  --c-border-strong: #d1d5db;
  --c-text: #111827;
  --c-text-muted: #4b5563;
  --c-text-soft: #9ca3af;
  --c-accent: #f59e0b;
  --c-accent-strong: #d97706;
  --c-accent-soft: rgba(245, 158, 11, 0.12);
  --c-accent-gradient: linear-gradient(135deg, #fbbf24, #f59e0b);
  --c-positive: #10b981;
  --c-positive-soft: rgba(16, 185, 129, 0.10);
  --c-negative: #ef4444;
  --c-negative-soft: rgba(239, 68, 68, 0.10);
  --c-info: #3b82f6;
  --c-info-soft: rgba(59, 130, 246, 0.10);
  --c-purple: #8b5cf6;
  --c-purple-soft: rgba(139, 92, 246, 0.10);
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a { color: var(--c-accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

/* ============ Honeypot anti-spam ============ */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============ Background hero gradient ============ */
.bg-hero {
  background: radial-gradient(ellipse 1200px 600px at 50% 0%, var(--c-accent-soft), transparent 70%),
              var(--c-bg);
}

/* ============ Boot loading ============ */
.boot-loading {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: var(--c-text-soft); font-size: 13px;
}
.boot-loading .spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--c-bg-soft); border-top-color: var(--c-accent);
  border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============ Telas ============ */
.screen { display: none; animation: fadeIn .35s ease; }
.screen.active { display: block; }

/* ============================================================================
 * LANDING PAGE (#screen-landing)
 * Hero + Beneficios + Como funciona + Depoimento + CTA
 * ============================================================================ */

.landing { padding: 24px 0 80px; }

/* ----- Container responsivo ----- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ----- Top bar (logo + selo) ----- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; margin-bottom: 32px;
}
.topbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.3px;
  color: var(--c-text);
}
.topbar-logo-icon {
  width: 36px; height: 36px;
  background: var(--c-accent-gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.30);
  color: #fff;
}
.topbar-logo-icon svg { width: 20px; height: 20px; }
.topbar-meta {
  font-size: 12px; color: var(--c-text-soft);
  display: flex; align-items: center; gap: 6px;
}
.topbar-meta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-positive);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.20);
}

/* ----- Hero ----- */
.hero {
  text-align: center;
  padding: 24px 0 56px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-accent-soft); color: var(--c-accent-strong);
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 18px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero h1 strong { color: var(--c-accent-strong); font-weight: 800; }
.hero .sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--c-text-muted);
  line-height: 1.55;
  max-width: 620px; margin: 0 auto 28px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-accent-gradient);
  color: #fff;
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 17px;
  padding: 16px 32px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45); }
.hero-cta svg { width: 18px; height: 18px; }
.hero-tags {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px; font-size: 13px; color: var(--c-text-muted);
}
.hero-tag { display: flex; align-items: center; gap: 6px; }
.hero-tag-check { color: var(--c-positive); font-weight: 700; }

/* ----- Video de apresentacao no hero -----
 * Tecnica padding-bottom 56.25% (16:9) — funciona em todos browsers,
 * inclusive quando o iframe do Drive vem com width/height inline padrao
 * (sobrescreve aspect-ratio CSS).
 * width:100% forca o container a esticar dentro do max-width.
 */
.hero-video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 40px auto 0;
  padding-bottom: 56.25%; /* 16:9 = 9/16 = 0.5625 */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.hero-video iframe,
.hero-video video {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* ----- Sections genericas ----- */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-accent-strong); margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800; letter-spacing: -0.5px;
  color: var(--c-text); margin-bottom: 12px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-sub {
  font-size: 15px; color: var(--c-text-muted);
  line-height: 1.6; max-width: 580px; margin: 0 auto;
}

/* ----- Benefits grid (3 cards) ----- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.benefit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.benefit-icon {
  width: 48px; height: 48px;
  background: var(--c-accent-soft);
  color: var(--c-accent-strong);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h3 {
  font-size: 17px; font-weight: 700; color: var(--c-text);
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.benefit-card p {
  font-size: 14px; color: var(--c-text-muted); line-height: 1.55;
}

/* ----- Steps (como funciona) ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-accent-gradient); color: #fff;
  font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.30);
}
.step-card h4 {
  font-size: 15px; font-weight: 700; color: var(--c-text);
  margin-bottom: 8px;
}
.step-card p { font-size: 13px; color: var(--c-text-muted); line-height: 1.5; }

/* ----- Lista "Pra quem é" ----- */
.for-who-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.for-who-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
  list-style: none;
}
.for-who-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--c-text); line-height: 1.5;
}
.for-who-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--c-positive-soft); color: var(--c-positive);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  margin-top: 1px;
}

/* ----- Stats/social proof ----- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.stat-block { text-align: center; }
.stat-value {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800; color: var(--c-accent-strong);
  letter-spacing: -1px; line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12.5px; color: var(--c-text-muted); }

/* ----- CTA final ----- */
.cta-final {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, var(--c-accent-soft), transparent 70%);
  pointer-events: none;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final .sub { color: var(--c-text-muted); margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.55; }

/* ----- Footer ----- */
.landing-footer {
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--c-border);
  margin-top: 60px;
  color: var(--c-text-soft);
  font-size: 12.5px;
}
.landing-footer strong { color: var(--c-text-muted); }

/* ============================================================================
 * QUIZ (#screen-funnel)
 * Renderiza dentro do mesmo container — tema light VCV Hub
 * ============================================================================ */

.quiz-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ----- Quiz topbar (com botao voltar pra landing) ----- */
.quiz-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.quiz-topbar .quiz-back-home {
  background: transparent; border: none; cursor: pointer;
  color: var(--c-text-soft); font-size: 13px; font-family: inherit;
  display: flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: 8px;
}
.quiz-topbar .quiz-back-home:hover { color: var(--c-text-muted); background: var(--c-bg-soft); }

/* ----- Progress bar ----- */
.progress-wrap { margin-bottom: 24px; }
.progress-track {
  width: 100%; height: 6px;
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 100px; overflow: hidden; margin-bottom: 8px;
}
.progress-fill {
  height: 100%; width: 0%;
  background: var(--c-accent-gradient);
  border-radius: 100px; transition: width 0.4s ease;
}
.progress-label {
  font-size: 12px; color: var(--c-text-soft);
  letter-spacing: 0.04em; font-weight: 500;
}

/* ----- Question content card ----- */
#funnel-content {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex; flex-direction: column;
}
@media (max-width: 560px) {
  #funnel-content { padding: 24px 20px; border-radius: 12px; }
}

/* ----- Imagem hero da pergunta (acima do titulo) ----- */
.q-image {
  margin: -8px -8px 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.q-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----- Thumbnail na opcao ----- */
.opt-thumb {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.opt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.q-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800; line-height: 1.25;
  color: var(--c-text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.q-sub { color: var(--c-text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 24px; }

/* ----- Botoes do quiz ----- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: var(--c-accent-gradient);
  color: #fff;
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.30);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.40); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-back {
  flex: 0 0 auto;
  background: transparent; color: var(--c-text-muted);
  border: 1px solid var(--c-border); cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 14px;
  padding: 14px 18px; border-radius: 10px;
}
.btn-back:hover { color: var(--c-text); background: var(--c-bg-soft); border-color: var(--c-border-strong); }

.footnote { text-align: center; color: var(--c-text-soft); font-size: 12px; margin-top: 14px; }

/* ----- Options + multiselect ----- */
.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.option {
  display: flex; align-items: center; gap: 14px;
  background: var(--c-bg-elevated); border: 2px solid var(--c-border);
  border-radius: 12px;
  padding: 16px 18px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.option:hover { border-color: var(--c-border-strong); background: var(--c-bg-soft); }
.option.selected { border-color: var(--c-accent); background: var(--c-accent-soft); }
.option-dot {
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--c-border-strong);
  position: relative;
  background: var(--c-bg-elevated);
}
.option-dot.square { border-radius: 5px; }
.option.selected .option-dot { border-color: var(--c-accent); }
.option.selected .option-dot::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--c-accent); border-radius: 50%;
}
.option.selected .option-dot.square::after { border-radius: 2px; }
.opt-text .opt-title { font-size: 14.5px; font-weight: 600; color: var(--c-text); line-height: 1.3; }
.opt-text .opt-desc { font-size: 12.5px; color: var(--c-text-muted); margin-top: 3px; }

/* ----- Input fields ----- */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px; color: var(--c-text-muted);
  margin-bottom: 6px; font-weight: 600;
  letter-spacing: 0.02em;
}
.field input {
  width: 100%;
  background: var(--c-bg-elevated);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--c-text); font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.field input:focus { outline: none; border-color: var(--c-accent); }
.field input::placeholder { color: var(--c-text-soft); }

/* ----- Nav row (voltar + continuar) ----- */
.nav-row { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; }
.nav-row .btn-primary { flex: 1; }

/* ----- Slider (capital R$) ----- */
.slider-card {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 28px 24px;
  text-align: center; margin-bottom: 24px;
}
.slider-value {
  font-size: 36px; font-weight: 800;
  color: var(--c-accent-strong);
  letter-spacing: -1px; margin-bottom: 20px;
}
input[type="range"] {
  width: 100%; height: 6px;
  border-radius: 4px; background: var(--c-border);
  appearance: none; -webkit-appearance: none; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.40);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-accent); border: 3px solid #fff; cursor: pointer;
}
.slider-range-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--c-text-soft); margin-top: 12px;
}

/* ----- Video embed (iframe / video tag) ----- */
.video-embed {
  position: relative;
  width: 100%; aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #000;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.video-embed iframe,
.video-embed video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* ----- Video placeholder (quando nao tem video_url ainda) ----- */
.video-placeholder {
  position: relative;
  width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; border: 1px solid var(--c-border);
  background: linear-gradient(135deg, #f0f2f5 0%, #ffffff 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden;
}
.video-placeholder .play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.40);
}
.video-placeholder .vp-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-accent-strong); background: rgba(255, 255, 255, 0.92);
  padding: 5px 10px; border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, 0.30);
}
.video-note { font-size: 13px; color: var(--c-text-muted); line-height: 1.5; margin-bottom: 24px; }

/* ----- Diagrama (content step) ----- */
.diagram-row { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.diagram-box {
  flex: 1;
  background: var(--c-bg-elevated); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 14px 8px;
  text-align: center; font-size: 12.5px; font-weight: 600;
  color: var(--c-text);
}
.diagram-box.accent {
  border-color: var(--c-accent); color: var(--c-accent-strong);
  background: var(--c-accent-soft);
}
.diagram-arrow { color: var(--c-text-soft); font-size: 18px; flex-shrink: 0; }

/* ----- Depoimento ----- */
.testimonial-card {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 22px; margin-bottom: 22px;
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-accent-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--c-text); }
.testimonial-city { font-size: 12px; color: var(--c-text-muted); }
.testimonial-quote { font-size: 14px; color: var(--c-text); line-height: 1.6; font-style: italic; }
.placeholder-tag {
  font-size: 10.5px; color: var(--c-text-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 10px; display: block;
}

/* ----- Audio bubble (diagnostico) ----- */
.audio-bubble {
  display: flex; align-items: center; gap: 12px;
  background: var(--c-positive-soft);
  border: 1px solid rgba(16, 185, 129, 0.30);
  border-radius: 100px; padding: 10px 16px; margin-bottom: 22px;
}
.audio-bubble .ab-play {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-positive); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.audio-bubble .ab-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 18px; }
.audio-bubble .ab-wave span { width: 2px; background: var(--c-positive); border-radius: 2px; opacity: 0.6; }
.audio-bubble .ab-time { font-size: 11px; color: var(--c-text-muted); flex-shrink: 0; }

/* ----- Scenario cards ----- */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.scenario-card {
  background: var(--c-bg-elevated); border: 2px solid var(--c-border);
  border-radius: 14px; padding: 26px 14px; text-align: center; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.scenario-card .sc-icon { font-size: 32px; margin-bottom: 10px; }
.scenario-card .sc-label { font-weight: 700; font-size: 14px; color: var(--c-text); }
.scenario-card.selected { border-color: var(--c-accent); background: var(--c-accent-soft); }

/* ----- Diagnostic tier badge ----- */
.scenario-tag {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
}
.scenario-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.scenario-tag.green { color: var(--c-positive); background: var(--c-positive-soft); }
.scenario-tag.yellow { color: #b45309; background: rgba(245, 158, 11, 0.12); }
.scenario-tag.red { color: var(--c-negative); background: var(--c-negative-soft); }

.viability-box {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 26px;
  text-align: center; margin-bottom: 20px;
}
.viability-box .v-label {
  font-size: 12px; color: var(--c-text-muted);
  margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.10em; font-weight: 700;
}
.viability-box .v-score {
  font-size: 56px; font-weight: 800;
  color: var(--c-accent-strong);
  line-height: 1; margin-bottom: 18px; letter-spacing: -2px;
}
.v-pills { display: flex; gap: 6px; }
.v-pill {
  flex: 1; text-align: center;
  padding: 9px 4px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--c-bg-elevated); color: var(--c-text-soft);
  border: 1px solid var(--c-border);
}
.v-pill.active.red { background: var(--c-negative-soft); color: var(--c-negative); border-color: rgba(239, 68, 68, 0.30); }
.v-pill.active.yellow { background: rgba(245, 158, 11, 0.12); color: #b45309; border-color: rgba(245, 158, 11, 0.30); }
.v-pill.active.green { background: var(--c-positive-soft); color: var(--c-positive); border-color: rgba(16, 185, 129, 0.30); }

.gargalo-note {
  background: var(--c-bg-soft); border: 1px solid rgba(245, 158, 11, 0.30);
  border-left: 4px solid var(--c-accent);
  border-radius: 10px; padding: 16px;
  margin-bottom: 16px;
  font-size: 14px; color: var(--c-text); line-height: 1.55;
}
.gargalo-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.gargalo-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--c-text);
}
.gargalo-item .ic {
  color: var(--c-negative); flex-shrink: 0; font-weight: 700;
  width: 22px; height: 22px;
  background: var(--c-negative-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.precision-note {
  background: var(--c-accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: 10px; padding: 14px 16px;
  margin-bottom: 22px; font-size: 13.5px;
  color: var(--c-text); line-height: 1.5;
}
.precision-note strong { color: var(--c-accent-strong); }

.case-card {
  background: var(--c-bg-elevated); border: 1px solid var(--c-border);
  border-radius: 12px; padding: 16px;
  margin-bottom: 10px; display: flex; gap: 12px; align-items: center;
}
.case-thumb {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--c-accent-soft); color: var(--c-accent-strong);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.case-text { font-size: 13px; color: var(--c-text); line-height: 1.5; }
.case-text b { color: var(--c-text); }

/* ----- Compare bars ----- */
.compare-bars { display: flex; flex-direction: column; gap: 20px; margin-bottom: 26px; }
.compare-bar-block .cb-label { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--c-text); }
.compare-bar-block .cb-desc { font-size: 13px; color: var(--c-text-muted); margin-bottom: 10px; }
.compare-bar-track {
  height: 12px; background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 6px; overflow: hidden;
}
.compare-bar-fill { height: 100%; border-radius: 6px; width: 0%; transition: width 1.2s ease; }
.compare-bar-fill.before { background: var(--c-text-soft); }
.compare-bar-fill.after { background: var(--c-accent-gradient); }

/* ----- Loading interno ----- */
.loading-wrap { text-align: center; padding: 60px 20px; flex: 1; }
.loading-wrap .spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--c-bg-soft); border-top-color: var(--c-accent);
  border-radius: 50%; margin: 0 auto 28px; animation: spin 1s linear infinite;
}
.loading-wrap h1 {
  font-size: 19px; font-weight: 700; color: var(--c-text);
  margin-bottom: 24px; letter-spacing: -0.2px;
}
.loading-pct-track {
  width: 100%; max-width: 280px; margin: 0 auto;
  height: 6px; background: var(--c-bg-soft); border-radius: 100px; overflow: hidden;
}
.loading-pct-fill { height: 100%; width: 0%; background: var(--c-accent-gradient); border-radius: 100px; transition: width 0.1s linear; }
.loading-pct-label {
  font-weight: 700; font-size: 16px;
  color: var(--c-accent-strong);
  margin-top: 12px;
}

/* ----- Toast erro de conexao ----- */
.connection-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--c-negative); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity 0.25s; pointer-events: none; z-index: 1000;
  max-width: 90%;
}
.connection-toast.show { opacity: 1; }

/* ============================================================================
 * RESPONSIVO — breakpoints: 720 (tablet), 560 (mobile), 380 (mobile pequeno)
 * ============================================================================ */

/* ----- Tablet ----- */
@media (max-width: 720px) {
  .landing { padding: 16px 0 40px; }
  .topbar { margin-bottom: 20px; padding: 10px 0; }
  .hero { padding: 16px 0 36px; }
  .section { padding: 40px 0; }
  .for-who-card { padding: 24px 20px; }
  .cta-final { padding: 36px 24px; }
  .hero-video { margin-top: 28px; }
  .benefits, .steps {
    grid-template-columns: 1fr; /* empilha em tablet pra leitura mais facil */
    gap: 12px;
  }
}

/* ----- Mobile (smartphone padrao) ----- */
@media (max-width: 560px) {
  body { font-size: 14px; }
  .container, .container-sm { padding: 0 16px; }

  /* Topbar enxuto */
  .topbar { margin-bottom: 16px; }
  .topbar-logo { font-size: 15px; gap: 8px; }
  .topbar-logo-icon { width: 32px; height: 32px; border-radius: 8px; }
  .topbar-logo-icon svg { width: 17px; height: 17px; }
  .topbar-meta { font-size: 11.5px; }

  /* Hero */
  .hero-cta { padding: 14px 22px; font-size: 15px; }
  .hero-tags { gap: 10px 14px; font-size: 12px; }

  /* Cards/secoes */
  .benefit-card { padding: 22px 20px; }
  .step-card { padding: 20px 16px; }
  .stats-row { gap: 14px; }
  .stat-value { font-size: 28px; }

  /* Quiz */
  #funnel-content { padding: 22px 18px; border-radius: 12px; }
  .quiz-wrap { padding: 20px 16px 32px; }
  .option { padding: 13px 14px; gap: 10px; }
  .opt-text .opt-title { font-size: 14px; }

  /* Video do hero — mantem 16:9, sem ajuste extra */
}

/* ----- Mobile pequeno (iPhone SE, Android compacto) ----- */
@media (max-width: 380px) {
  .container, .container-sm { padding: 0 12px; }

  /* Stats em 1 coluna pra nao apertar */
  .stats-row { grid-template-columns: 1fr; gap: 16px; }

  /* Scenario em 1 coluna */
  .scenario-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Topbar selo pra baixo */
  .topbar { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* For-who-list: 1 coluna */
  .for-who-list { grid-template-columns: 1fr; }
}
