/* ==========================================================================
   Quiz Interruptor Metabólico — tema claro (nicho emagrecimento / jejum).

   Direção visual calibrada no quizcalisteniaasiatica.vercel.app, com os valores
   medidos no DOM da referência, não no olho:
     Poppins (texto) + Anton (marca) · fundo #F7F7F7 · tinta #1A1A1A
     rosa #D64D7A · rosa claro #FBEAF0 · marca-texto #FFE11A · borda #E8E8E8
     opção: radius 14px, alinhada à esquerda, seta à direita
     CTA: pill radius 50px · progresso: linha fina rosa colada no header

   Standalone: NÃO carrega styles.css (tema escuro do quiz de iGaming).
   Todas as cores saem de variáveis — barriga.js sobrescreve com
   config.global.theme, então dá pra re-tematizar pelo admin sem tocar em CSS.
   ========================================================================== */

:root {
  --bg:          #F7F7F7;
  --surface:     #FFFFFF;
  --surface-alt: #F0F0F0;
  --ink:         #1A1A1A;
  --ink-soft:    #5A5A5A;
  --ink-mute:    #8E8E8E;
  --line:        #E8E8E8;
  --accent:      #D64D7A;
  --accent-soft: #FBEAF0;
  --accent-deep: #B93A63;
  --highlight:   #FFE11A;
  --btn-bg:      #D64D7A;
  --btn-bg-hov:  #C24069;
  --btn-text:    #FFFFFF;
  --ok:          #1E9E5A;
  --ok-soft:     #E6F6EC;
  --warn:        #B45309;
  --warn-soft:   #FFF6D9;

  --r-card: 16px;
  --r-opt:  14px;
  --r-pill: 50px;
  --shadow-sm: 0 1px 2px rgba(26,26,26,.05);
  --shadow-md: 0 6px 20px -10px rgba(26,26,26,.25);
  --col: 460px;               /* largura útil da coluna */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

.accent { color: var(--accent); }

/* Marca-texto amarelo — a assinatura da referência. Usar na copy do config:
   <span class="hl">texto</span> */
.hl {
  background: var(--highlight);
  color: var(--ink);
  font-weight: 700;
  padding: 2px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── Topo: voltar + marca + linha de progresso ──────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
}
.topbar-inner {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  padding: 14px 20px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn-back {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  padding: 6px 12px;
  cursor: pointer;
  opacity: .75;
}
.btn-back:hover { opacity: 1; }
.btn-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn-back[hidden] { display: none; }

.brand-mark {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: .03em;
  color: var(--accent);
  line-height: 1;
  text-transform: uppercase;
}
.brand-pill {
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Linha de progresso: fina, colada na base do header, sem trilho aparente */
.progress-track {
  height: 4px;
  background: #EDEDED;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

/* ── Etapa ──────────────────────────────────────────────────────── */
main { min-height: 100dvh; }

.step {
  max-width: var(--col);
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: stepIn .3s ease-out;
}
/* Quando a etapa tem CTA fixo no rodapé, abre espaço pra ele não cobrir nada */
.step.has-dock { padding-bottom: 116px; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step { animation: none; }
  html { scroll-behavior: auto; }
  .progress-fill { transition: none; }
}

.step-img {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-alt);
  line-height: 0;
}
.step-img img { width: 100%; height: auto; display: block; }
.step-img.contained { background: transparent; display: flex; justify-content: center; }
.step-img.contained img { max-width: 240px; }
.img-caption {
  margin-top: 7px;
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
}

.step-tag {
  align-self: center;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  text-align: center;
}
.step-pretitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  text-align: center;
}
.step-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  margin: 0;
}
/* Só a capa é caixa-alta e mais pesada, igual à referência */
.step-title.big {
  font-size: 29px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.14;
}
.step-subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}
.step-subtitle strong { color: var(--ink); font-weight: 700; }

.options-instruction {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 -6px;
}

.compliance {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 2px;
}

/* ── Opção de escolha única: cinza, texto à esquerda, seta à direita ── */
.options-stack { display: flex; flex-direction: column; gap: 10px; }

.option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: var(--surface-alt);
  color: var(--ink);
  border: 1.5px solid transparent;
  border-radius: var(--r-opt);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.option-btn::after {
  content: "→";
  margin-left: auto;
  padding-left: 10px;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-mute);
  transition: transform .15s ease, color .15s ease;
}
.option-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.option-btn:hover::after { color: var(--accent); transform: translateX(3px); }
.option-btn:active { transform: scale(.99); }
.option-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.option-btn strong { font-weight: 700; }
.option-btn .opt-emoji { font-size: 20px; line-height: 1; flex: 0 0 auto; }
.option-btn .opt-label { flex: 1 1 auto; }

/* Opção com imagem: grade de 2 colunas, card branco */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.options-grid .option-btn {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--surface);
  border-color: var(--line);
  padding: 14px 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.options-grid .option-btn::after { display: none; }
.options-grid .opt-img {
  width: 100%;
  max-width: 118px;
  height: 116px;
  object-fit: contain;
  display: block;
}

/* ── Múltipla escolha: card branco, badge de ícone, círculo à direita ── */
.options-multi { display: flex; flex-direction: column; gap: 10px; }

.option-chip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--r-opt);
  padding: 13px 15px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
/* Badge do emoji, à esquerda */
.option-chip .opt-emoji {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.option-chip .opt-label { flex: 1 1 auto; }
/* Círculo de seleção, à direita */
.option-chip::after {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 50%;
  border: 1.5px solid #D5D5D5;
  background: var(--surface);
  transition: all .15s ease;
}
.option-chip:hover { border-color: var(--accent); }
.option-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.option-chip.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.option-chip.selected::after {
  background: var(--accent) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px 13px no-repeat;
  border-color: var(--accent);
}

/* ── CTA ────────────────────────────────────────────────────────── */
.btn-cta {
  width: 100%;
  border: none;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 20px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.btn-cta:hover  { background: var(--btn-bg-hov); }
.btn-cta:active { transform: scale(.99); }
.btn-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-cta[disabled] {
  background: var(--accent);
  opacity: .45;
  cursor: not-allowed;
}
.btn-cta.strong { background: var(--ok); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.btn-cta.strong:hover { background: #17864B; }

/* Barra fixa no rodapé (etapas de múltipla escolha) */
.cta-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 25;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
}
.cta-dock-inner { max-width: var(--col); margin: 0 auto; }

.cta-pretitle {
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 6px 0 -6px;
}
.cta-badge {
  align-self: center;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  text-align: center;
}
.cta-footnote { text-align: center; font-size: 13.5px; color: var(--ink-soft); }

/* ── Diagnóstico ────────────────────────────────────────────────── */
.verdict {
  background: var(--warn-soft);
  border: 1.5px solid #F3D06B;
  border-radius: var(--r-card);
  padding: 14px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #8A5A00;
}

.gauge-wrap {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 16px 16px;
}
.gauge-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.gauge-label.bottom { margin-top: 8px; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge-score {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 0;
}
.gauge-score-sub { text-align: center; font-size: 12.5px; color: var(--ink-mute); font-weight: 500; }

.findings { display: flex; flex-direction: column; gap: 11px; }
.finding {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.finding .fnum {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.finding strong { color: var(--ink); font-weight: 700; }

.goodnews {
  background: var(--ok-soft);
  border-radius: var(--r-card);
  padding: 15px 16px;
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ok);
}

/* ── Benefícios / listas ────────────────────────────────────────── */
.benefits { display: flex; flex-direction: column; gap: 10px; }
.benefit {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}
.benefit .b-emoji {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.benefit h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 700; }
.benefit p  { margin: 0; font-size: 14px; color: var(--ink-soft); }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.checklist li::before { content: "✅"; font-size: 15px; line-height: 1.4; }
.list-title { font-size: 16px; font-weight: 700; color: var(--ink); text-align: center; }

/* ── Loading ────────────────────────────────────────────────────── */
.loading-pct {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.loading-list { display: flex; flex-direction: column; gap: 9px; }
.loading-item {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-opt);
  padding: 13px 15px;
  font-size: 14px;
  color: var(--ink-soft);
  animation: stepIn .3s ease-out;
}
.loading-item.done { color: var(--ok); font-weight: 600; border-color: #BFE6CE; }
.spinner {
  flex: 0 0 16px;
  width: 16px; height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

.testimonial {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.testimonial-head { display: flex; align-items: center; gap: 11px; }
.testimonial-head img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-alt);
}
.testimonial-name { font-size: 14.5px; font-weight: 700; }
.testimonial-role { font-size: 12.5px; color: var(--ink-mute); }
.testimonial-text { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.testimonial-dots { display: flex; gap: 6px; justify-content: center; }
.testimonial-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.testimonial-dots span.on { background: var(--accent); }

/* ── Vídeo ──────────────────────────────────────────────────────── */
.video-wrap {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrap > * { max-width: 100%; }
/* Com embed injetado, quem manda na proporção é o player (o VTurb usa uma caixa
   de padding-top própria — 177,77% quando o vídeo é 9:16 vertical). Manter o
   aspect-ratio 16/9 aqui esmagaria o vídeo dentro de uma caixa deitada. */
.video-wrap.embedded {
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.video-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-lock { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.video-lock-label { font-size: 13.5px; font-weight: 600; color: var(--ink-mute); }
.video-lock-bar { width: 100%; height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.video-lock-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 99px; transition: width 1s linear; }

/* ── Oferta ─────────────────────────────────────────────────────── */
.comment {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.comment-head { display: flex; align-items: center; gap: 10px; }
.comment-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--surface-alt); }
.comment-handle { font-size: 14px; font-weight: 700; }
.comment-date { font-size: 11.5px; color: var(--ink-mute); }
.comment-text { margin: 0; font-size: 14px; color: var(--ink-soft); }

.price-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--r-card);
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.price-from { font-size: 14.5px; color: var(--ink-mute); text-decoration: line-through; }
.price-off {
  align-self: center;
  background: var(--highlight);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 5px 13px;
  border-radius: 8px;
}
.price-now { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }

.countdown { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.countdown-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); }
.countdown-clock { font-size: 30px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

.expert {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.expert-head { display: flex; align-items: center; gap: 13px; }
.expert-head img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: var(--surface-alt); }
.expert-name { font-size: 17px; font-weight: 700; }
.expert-role { font-size: 13px; color: var(--ink-mute); }
.expert-bio { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ── Rodapé ─────────────────────────────────────────────────────── */
.foot {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 20px 40px;
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.6;
}
.foot a { color: var(--ink-mute); }

@media (max-width: 380px) {
  .step-title { font-size: 22px; }
  .step-title.big { font-size: 25px; }
  .brand-mark { font-size: 21px; }
}

/* CTA fixo no rodapé — ver o comentário no HTML.
   O botão da etapa continua no lugar (para quem rola); esta barra é a garantia
   de que sempre existe um alvo visível. */
.cta-fixo {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  animation: ctaSobe .22s ease-out;
}
.cta-fixo[hidden] { display: none; }
.cta-fixo .btn-cta { width: 100%; margin: 0; }
@keyframes ctaSobe { from { transform: translateY(100%); } to { transform: none; } }
/* Espaço para a barra não cobrir o fim do conteúdo */
body.tem-cta-fixo .step { padding-bottom: 104px; }

/* ══════════════════════════════════════════════════════════
   IMC
   ═════════════════════════════════════════════════════════ */
.imc-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-align: left; }
.campo > span:first-child { display: block; margin-bottom: 6px; }
.campo-unidade { position: relative; display: block; }
.campo-unidade input {
  width: 100%; padding: 14px 44px 14px 14px;
  font-size: 20px; font-weight: 700; text-align: center;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px;
}
.campo-unidade input:focus { outline: none; border-color: var(--accent); }
.campo-unidade em {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-mute);
}
.imc-resultado {
  margin-top: 18px; padding: 18px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.imc-resultado.hidden { display: none; }
.imc-num { display: block; font-size: 40px; font-weight: 800; line-height: 1; color: var(--ink); }
.imc-faixa {
  display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.imc-faixa--ok   { background: rgba(30,158,90,.12);  color: var(--ok); }
.imc-faixa--warn { background: rgba(180,83,9,.12);   color: var(--warn); }
.imc-faixa--crit { background: rgba(200,50,45,.12);  color: #C8322D; }
/* Régua contínua: mostra ONDE a pessoa está, não só o número */
.imc-regua {
  position: relative; height: 8px; margin: 16px 0 10px; border-radius: 4px;
  background: linear-gradient(90deg, #E0A800 0%, #1E9E5A 26%, #E0A800 46%, #C8322D 78%);
}
.imc-regua i {
  position: absolute; top: -5px; width: 18px; height: 18px; margin-left: -9px;
  background: var(--surface); border: 3px solid var(--ink); border-radius: 50%;
  transition: left .25s ease-out;
}
.imc-nota { margin: 0; font-size: 12.5px; color: var(--ink-mute); }
.campo-erro { min-height: 18px; margin: 8px 0 0; font-size: 13px; color: #C8322D; font-weight: 600; }
.campo input.invalido, .campo-unidade input.invalido { border-color: #C8322D; }

/* ══════════════════════════════════════════════════════════
   FITA DE MEDIDA
   ═════════════════════════════════════════════════════════ */
.fita { margin: 20px 0 8px; }
.fita-valor {
  display: block; font-size: 44px; font-weight: 800; line-height: 1;
  color: var(--accent); margin-bottom: 14px;
}
.fita-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 10px; border-radius: 5px; background: var(--surface-alt);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: var(--pct, 40%) 100%; background-repeat: no-repeat;
}
.fita-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: grab;
}
.fita-range::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--accent); cursor: grab;
}
.fita-marcas { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 4px; }
.fita-marca { width: 1px; height: 6px; background: var(--line); position: relative; }
.fita-marca--forte { height: 11px; background: var(--ink-mute); }
.fita-marca--forte::after {
  content: attr(data-n); position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--ink-mute);
}
.fita-nota { margin: 26px 0 0; font-size: 13px; color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════
   COMPARATIVO
   ═════════════════════════════════════════════════════════ */
.cmp-legenda { display: flex; gap: 18px; justify-content: center; margin-bottom: 16px; font-size: 12.5px; color: var(--ink-soft); }
.cmp-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-cor { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.cmp-cor--trad { background: var(--ink-mute); }
.cmp-cor--prot { background: var(--accent); }
.cmp-metricas { display: flex; flex-direction: column; gap: 16px; }
.cmp-metrica { text-align: left; }
.cmp-rotulo { margin: 0 0 7px; font-size: 14px; font-weight: 700; color: var(--ink); }
.cmp-linha { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.cmp-barra { flex: 1; height: 14px; border-radius: 7px; background: var(--surface-alt); overflow: hidden; }
.cmp-barra i { display: block; height: 100%; border-radius: 7px; transition: width .5s ease-out; }
.cmp-barra--trad i { background: var(--ink-mute); }
.cmp-barra--prot i { background: var(--accent); }
.cmp-valor { min-width: 42px; text-align: right; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.cmp-valor--prot { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   CARROSSEL DE VÍDEOS
   ═════════════════════════════════════════════════════════ */
.depo-videos { position: relative; }
.depo-slide { display: none; }
.depo-slide.ativo { display: block; animation: depoEntra .25s ease-out; }
@keyframes depoEntra { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.depo-video {
  border-radius: 16px; overflow: hidden; background: var(--surface-alt);
  aspect-ratio: 9 / 16; max-height: 58vh; margin: 0 auto;
}
.depo-video img, .depo-video video, .depo-video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.depo-quem { margin: 12px 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.depo-quem span { font-weight: 400; color: var(--ink-mute); font-size: 13px; }
.depo-texto { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); text-align: left; }
.depo-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 4px; }
.depo-seta {
  width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); cursor: pointer;
}
.depo-seta:active { background: var(--surface-alt); }
.depo-pontos { display: flex; gap: 7px; }
.depo-ponto {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: var(--line); border: none; cursor: pointer;
}
.depo-ponto.ativo { background: var(--accent); width: 22px; border-radius: 4px; }

/* Formulário de captura */
.form-captura { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form-captura input {
  width: 100%; padding: 14px; font-size: 16px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px;
}
.form-captura input:focus { outline: none; border-color: var(--accent); }
.form-captura input.invalido { border-color: #C8322D; }
.campo-erro:empty { min-height: 0; }
.form-progresso { position: relative; height: 8px; border-radius: 4px; background: var(--surface-alt); margin: 14px 0 22px; }
.form-progresso-fill { height: 100%; width: 96%; border-radius: 4px; background: var(--accent); }
.form-progresso-num { position: absolute; right: 0; top: 12px; font-size: 12px; font-weight: 700; color: var(--accent); }
.form-nota { margin: 4px 0 0; font-size: 12px; color: var(--ink-mute); text-align: center; }

/* ── Tela de carregamento: mensagens + depoimento rotativo ─────────── */

.loading-lista { display: flex; flex-direction: column; gap: 9px; }
/* O depoimento ocupa a espera com prova — tempo morto é onde a lead sai. */
.depo-carrossel { margin-top: 22px; }
.depo-card {
  margin: 0; padding: 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; text-align: left;
}
.depo-foto {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; background: var(--surface-alt);
}
.depo-quem { display: flex; flex-direction: column; align-self: center; }
.depo-nome { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.depo-papel { font-size: 12.5px; color: var(--ink-mute); }
.depo-texto {
  grid-column: 1 / -1; margin: 10px 0 0;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.depo-pontos { grid-column: 1 / -1; display: flex; gap: 5px; margin-top: 12px; }
.depo-pontos span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--line);
  transition: background .2s;
}
.depo-pontos span.on { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .loading-item .spinner { animation: none; } }

/* ══ Consulta liberada (tipo whatsapp) ══════════════════════════════════════
   A tela que termina o funil. Usa as variáveis do tema, então acompanha a cor
   de cada funil sem precisar de ajuste. */
.wa-preco {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 18px 0 20px;
}
.wa-preco .preco-de {
  font-size: 15px; color: var(--ink-mute); text-decoration: line-through;
}
.wa-preco .preco-por {
  font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--ink);
}
.wa-pro {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; margin-bottom: 18px; text-align: left;
}
.wa-pro-foto {
  width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid var(--accent); background: var(--surface-alt);
}
.wa-pro-dados { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wa-pro-dados strong { font-size: 16px; color: var(--ink); }
/* O ponto verde é o sinal de "tem alguém agora". Se o funil trocar o texto para
   "Atende a partir das 8h", o ponto continua coerente: some junto com o texto. */
.wa-online {
  font-size: 13px; font-weight: 600; color: #1FA855;
  display: flex; align-items: center; gap: 6px;
}
.wa-online::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #1FA855; flex: none;
}
.wa-online:empty { display: none; }
.wa-registro { font-size: 12px; color: var(--ink-mute); }
.btn-whatsapp { background: #25D366; color: #FFFFFF; font-weight: 700; }
.btn-whatsapp:hover { background: #1FBA59; }

/* ══ Retenção e movimento ═══════════════════════════════════════════════════
   Animação curta e só na ENTRADA da etapa. Movimento longo atrasa a leitura e
   atrapalha justamente quem já decidiu responder. */
@keyframes wa-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
section.step:not(.hidden) { animation: wa-entra .28s ease-out both; }

/* Opções entram em cascata curta: o olho percorre de cima pra baixo sozinho. */
@keyframes wa-opcao { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
section.step:not(.hidden) .option-btn,
section.step:not(.hidden) .option-chip { animation: wa-opcao .26s ease-out both; }
section.step:not(.hidden) .option-btn:nth-child(1), section.step:not(.hidden) .option-chip:nth-child(1) { animation-delay: .02s }
section.step:not(.hidden) .option-btn:nth-child(2), section.step:not(.hidden) .option-chip:nth-child(2) { animation-delay: .06s }
section.step:not(.hidden) .option-btn:nth-child(3), section.step:not(.hidden) .option-chip:nth-child(3) { animation-delay: .10s }
section.step:not(.hidden) .option-btn:nth-child(4), section.step:not(.hidden) .option-chip:nth-child(4) { animation-delay: .14s }
section.step:not(.hidden) .option-btn:nth-child(5), section.step:not(.hidden) .option-chip:nth-child(5) { animation-delay: .18s }
section.step:not(.hidden) .option-btn:nth-child(6), section.step:not(.hidden) .option-chip:nth-child(6) { animation-delay: .22s }

/* Toque com resposta imediata: a lead sente que registrou antes de a tela virar. */
.option-btn:active, .option-chip:active { transform: scale(.985); }

/* Chips com imagem viram grade, igual à pergunta de escolha única. */
.chips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chips-grid .option-chip { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 10px; }
.chips-grid .opt-img { width: 100%; max-height: 96px; object-fit: contain; border-radius: 8px; }

/* ══ Reserva com prazo ══════════════════════════════════════════════════════ */
.wa-reserva {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: var(--ink-soft);
  background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
}
.wa-reserva strong { font-variant-numeric: tabular-nums; font-size: 18px; color: var(--accent); }
.wa-reserva.venceu { background: var(--surface-alt); }
.wa-reserva.venceu strong { display: none; }

/* Pulso no botão final: chama o toque sem piscar a tela inteira. */
@keyframes wa-pulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  50%      { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
.btn-whatsapp { animation: wa-pulso 1.9s ease-out infinite; }

/* Quem pediu menos movimento no sistema recebe menos movimento. */
@media (prefers-reduced-motion: reduce) {
  section.step:not(.hidden),
  section.step:not(.hidden) .option-btn,
  section.step:not(.hidden) .option-chip { animation: none; }
  .btn-whatsapp { animation: none; }
}

/* Campo escondido pelo config (pedeEmail:false). O display:flex do .campo vencia o [hidden]. */
.campo[hidden] { display: none !important; }

/* Formulário com foto do profissional + lista de vantagens (funil de consulta).
   Escopo no :has(.form-captura) pra não tocar nas listas das outras etapas. */
.step:has(.form-captura) .step-img.foto-topo { margin: 0 auto -14px; }
.step:has(.form-captura) .step-img.foto-topo + .step-tag { margin-top: 0; }
.step:has(.form-captura) .step-img.foto-topo img {
  width: 112px; height: 112px; max-width: none; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent, #1D7466); box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.step:has(.form-captura) .bullets-title { font-weight: 700; font-size: 14.5px; text-align: left; margin: 4px 0 6px; }
.step:has(.form-captura) .bullets {
  list-style: none; padding: 12px 14px; margin: 0 0 14px;
  background: var(--accent-soft, #DCEFEA); border-radius: 14px;
  display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.35; text-align: left;
}
.step:has(.form-captura) .bullets li { display: flex; gap: 6px; }

/* Etapa 08 do funil de consulta: lista 'Dentro do nosso PROTOCOLO' em cartão.
   Só a consulta tem bullets na 08 (o barriga usa na 21), então o escopo por etapa basta. */
section[data-step="08"] .bullets-title { font-weight: 700; font-size: 16px; text-align: center; margin: 6px 0 8px; color: var(--accent, #1D7466); }
section[data-step="08"] .bullets {
  list-style: none; padding: 14px 16px; margin: 0 0 14px;
  background: var(--accent-soft, #DCEFEA); border-radius: 16px;
  display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.35; text-align: left;
}
section[data-step="08"] .bullets li { display: flex; gap: 6px; }
section[data-step="08"] .img-caption { font-size: 15.5px; line-height: 1.5; color: var(--ink, #18221E); font-weight: 500; margin: 12px 0 4px; text-align: center; }

/* Etapa 10 da consulta: o SIM é o CTA principal — verde forte e pulsante. */
section[data-step="10"] .option-btn[data-value="sim"] {
  background: #16A34A; border-color: #16A34A; color: #fff; font-weight: 700; font-size: 16px;
  justify-content: center; text-align: center;
  box-shadow: 0 0 0 0 rgba(22,163,74,.55);
  animation: pulsoSim 1.8s ease-out infinite;
}
section[data-step="10"] .option-btn[data-value="sim"] .opt-label { color: #fff; }
section[data-step="10"] .option-btn[data-value="sim"]::after { color: #fff; border-color: #fff; }
@keyframes pulsoSim {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
  50%  { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(22,163,74,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
@media (prefers-reduced-motion: reduce) { section[data-step="10"] .option-btn[data-value="sim"] { animation: none; } }

/* Slogan acima do botão do formulário (config: steps.<id>.slogan). Vazio = some. */
.form-captura .slogan { text-align: center; font-family: Anton, Poppins, sans-serif; font-size: 26px; letter-spacing: .02em;
  color: var(--accent, #1D7466); margin: 6px 0 2px; line-height: 1.1; text-transform: uppercase; }

/* Animação de vagas (loading da consulta): 5 horários, o 1º reservado pra lead. */
.vagas-titulo { display: block; font-weight: 700; margin-bottom: 8px; }
.vagas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; }
.vaga { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1.5px solid var(--line, #D8DFD9); border-radius: 10px; padding: 7px 2px; font-size: 12.5px;
  font-weight: 600; color: var(--ink, #18221E); background: #fff; opacity: 0; transform: translateY(6px);
  animation: vagaEntra .35s ease-out forwards; }
.vaga small { font-size: 10px; font-weight: 500; color: var(--ink-soft, #5E6B65); }
.vaga:nth-child(2) { animation-delay: .08s } .vaga:nth-child(3) { animation-delay: .16s }
.vaga:nth-child(4) { animation-delay: .24s } .vaga:nth-child(5) { animation-delay: .32s }
.vaga.sel { background: #16A34A; border-color: #16A34A; color: #fff; animation: vagaEntra .35s ease-out forwards, vagaPulsa 1.2s .5s ease-in-out infinite; }
.vaga.sel small { color: #EAFBF0; }
.vagas-nota { display: block; margin-top: 8px; font-size: 13.5px; }
@keyframes vagaEntra { to { opacity: 1; transform: none; } }
@keyframes vagaPulsa { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } }
@media (prefers-reduced-motion: reduce) { .vaga, .vaga.sel { animation: none; opacity: 1; transform: none; } }
.vaga { text-align: center; line-height: 1.15; } .vaga small { line-height: 1.1; }
