/* ===== Base / Tema escuro sobrevivência ===== */
:root {
  --bg: #0d0f0d;
  --bg-2: #141813;
  --card: #1b211a;
  --card-2: #232a21;
  --border: #2f3a2c;
  --text: #e8ede4;
  --text-dim: #9aa893;
  --accent: #c98a1b;        /* âmbar */
  --accent-2: #6b8e23;      /* verde oliva */
  --danger: #d1493f;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

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

/* Imagens nunca estouram a largura no celular */
img { max-width: 100%; height: auto; }

/* Evita scroll horizontal acidental no mobile */
html, body { height: 100%; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #1a201700 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 18px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Topo / Progresso ===== */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 16px;
}

.btn-voltar {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.btn-voltar:hover { background: var(--card); color: var(--text); }
.btn-voltar[disabled] { opacity: 0; pointer-events: none; }

.progress-area { flex: 1; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.progress-track {
  height: 8px;
  background: var(--card);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 99px;
  transition: width .35s ease;
}

/* ===== Conteúdo da pergunta ===== */
.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.pergunta-num {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pergunta-titulo {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.pergunta-sub {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ===== Opções (botões grandes) ===== */
.opcoes { display: flex; flex-direction: column; gap: 12px; }

.opcao {
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  padding: 18px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .08s, border-color .15s, background .15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.opcao:hover { border-color: var(--accent-2); background: var(--card-2); }
.opcao:active { transform: scale(.985); }
.opcao .marca {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--bg);
}
.opcao.sel {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(201,138,27,.12), rgba(201,138,27,.04));
}
.opcao.sel .marca {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== Inputs de texto ===== */
.campo {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 20px;
  padding: 18px 18px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .15s;
}
.campo::placeholder { color: var(--text-dim); }
.campo:focus { border-color: var(--accent); }

/* ===== Botão principal ===== */
.rodape { padding-top: 22px; }
.btn-principal {
  width: 100%;
  background: linear-gradient(180deg, var(--accent), #a8721a);
  color: #1a1305;
  border: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 18px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .08s, filter .15s, opacity .15s;
}
.btn-principal:hover { filter: brightness(1.05); }
.btn-principal:active { transform: scale(.99); }
.btn-principal[disabled] { opacity: .4; cursor: not-allowed; }

.dica {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
}

/* ===== Animação de entrada ===== */
.fade {
  animation: fadeIn .35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Páginas de resultado / plano ===== */
.bloco {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.bloco h2 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.bloco p, .bloco li { color: var(--text); white-space: pre-line; }
.selo {
  display: inline-block;
  background: rgba(209,73,63,.15);
  border: 1px solid var(--danger);
  color: #ff8a80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.titulo-pagina {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0 4px;
}
.lead { color: var(--text-dim); margin-bottom: 22px; }
.semana { border-left: 3px solid var(--accent-2); padding-left: 14px; margin-bottom: 16px; }
.semana h3 { font-size: 15px; color: var(--accent); margin-bottom: 4px; }

/* ===== Tela "construindo seu plano" ===== */
.construindo {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}
.spinner {
  width: 64px;
  height: 64px;
  border: 5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: girar 1s linear infinite;
  margin-bottom: 28px;
}
@keyframes girar { to { transform: rotate(360deg); } }
.construindo h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.construindo-passo {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  min-height: 24px;
  margin-bottom: 26px;
  animation: fadeIn .3s ease;
}
.construindo .progress-track { width: 100%; max-width: 320px; height: 10px; }
.construindo-pct { color: var(--text-dim); font-size: 13px; margin-top: 10px; letter-spacing: .1em; }

/* ===== Card de dados ===== */
.card-dados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.dado-item .rotulo {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2px;
}
.dado-item .valor { font-size: 16px; font-weight: 700; }
.dado-full { grid-column: 1 / -1; }

/* ===== Score + Janela ===== */
.metricas { display: flex; gap: 14px; }
.metricas .bloco { flex: 1; text-align: center; margin-bottom: 0; }
.score-num {
  font-size: 46px;
  font-weight: 900;
  color: var(--danger);
  line-height: 1;
}
.metrica-rotulo {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}
.janela-num { font-size: 46px; font-weight: 900; color: var(--accent); line-height: 1; }
.score-track { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 12px; border: 1px solid var(--border); }
.score-bar { height: 100%; background: var(--danger); border-radius: 99px; }

/* ===== Conteúdo bloqueado / blur ===== */
.bloqueado { position: relative; overflow: hidden; }
.rel { position: relative; }
.blur {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}
.blur-forte { filter: blur(8px); }

/* Selo de cadeado no canto do card */
.lock-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,15,13,.88);
  border: 1px solid var(--accent);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 3;
}

/* Faixa "desbloqueie" sobre prévias */
.preview-faixa {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin: -4px 0 14px;
}
.preview-faixa strong { color: var(--accent); }
.cadeado-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at center, rgba(13,15,13,.25), rgba(13,15,13,.65));
}
.cadeado-icone { font-size: 34px; }
.cadeado-texto {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(13,15,13,.7);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.texto-revelado { display: inline; }
.texto-borrado {
  display: inline;
  filter: blur(5px);
  user-select: none;
}

/* ===== CTA de pagamento ===== */
.btn-comprar {
  width: 100%;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #20140a;
  border: none;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .01em;
  padding: 22px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(217,119,6,.35);
  text-decoration: none;
  display: block;
  text-align: center;
  animation: pulsar 2s ease-in-out infinite;
}
.btn-comprar small { display: block; font-size: 12px; font-weight: 600; opacity: .8; margin-top: 4px; letter-spacing: .04em; }
@keyframes pulsar {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(217,119,6,.35); }
  50% { transform: scale(1.02); box-shadow: 0 14px 38px rgba(217,119,6,.5); }
}

/* =================================================================
   PÁGINA DO PLANO — visual premium
   ================================================================= */
.plano-wrap { max-width: 680px; }

/* ===== Hero / cabeçalho ===== */
.hero {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(201,138,27,.18), transparent 60%),
    linear-gradient(160deg, #20281d 0%, #161b14 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.hero .kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 4px;
}
.hero h1 .nome-destaque {
  color: var(--accent);
  display: block;
  font-size: 38px;
}
.hero .hero-sub { color: var(--text-dim); font-size: 15px; margin: 10px 0 18px; }

.hero-metrics { display: flex; gap: 12px; }
.metric-card {
  flex: 1;
  background: rgba(13,15,13,.45);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.metric-card .ico { font-size: 22px; }
.metric-card .num { font-size: 34px; font-weight: 900; line-height: 1.1; margin-top: 2px; }
.metric-card.risco .num { color: var(--danger); }
.metric-card.janela .num { color: var(--accent); }
.metric-card .lbl {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}
.metric-card .mini-track { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 10px; border: 1px solid var(--border); }
.metric-card .mini-bar { height: 100%; background: var(--danger); border-radius: 99px; }

/* ===== Cards temáticos ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}
.card-titulo .ico { font-size: 24px; }
.card-texto { color: var(--text); white-space: pre-line; }

.card-verde {
  background: linear-gradient(160deg, rgba(107,142,35,.18), rgba(107,142,35,.05));
  border-color: var(--accent-2);
}
.card-verde .card-titulo { color: #b6d36a; }

.card-vermelho {
  background: linear-gradient(160deg, rgba(209,73,63,.16), rgba(209,73,63,.04));
  border-color: var(--danger);
}
.card-vermelho .card-titulo { color: #ff9c93; }

.card-azul {
  background: linear-gradient(160deg, rgba(56,120,180,.18), rgba(56,120,180,.05));
  border-color: #3a6c9c;
}
.card-azul .card-titulo { color: #8ec5ff; }

/* ===== Lista de vulnerabilidades específicas ===== */
.vuln-lista { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.vuln-lista li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(13,15,13,.35);
  border: 1px solid rgba(209,73,63,.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
.vuln-lista li .ico { flex-shrink: 0; }

/* ===== Seção título ===== */
.secao-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  margin: 28px 0 6px;
}
.secao-titulo .ico { font-size: 26px; }
.secao-sub { color: var(--text-dim); margin-bottom: 16px; font-size: 14px; }

/* ===== Barra de progresso do plano ===== */
.progresso-plano {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.progresso-plano .pct { font-size: 26px; font-weight: 900; color: var(--accent-2); min-width: 58px; }
.progresso-plano .info { flex: 1; }
.progresso-plano .info .txt { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.progresso-plano .track { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.progresso-plano .bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 99px; transition: width .3s; }

/* ===== Card de semana ===== */
.semana-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.semana-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.semana-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--accent), #a8721a);
  color: #1a1305;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; text-align: center; line-height: 1.05;
  flex-shrink: 0;
}
.semana-head .tit { font-size: 17px; font-weight: 800; }
.semana-head .foco { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }

/* ===== Tarefa com checkbox ===== */
.tarefa {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.tarefa:first-of-type { border-top: none; }
.tarefa .check {
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: transparent;
  transition: all .15s;
  margin-top: 1px;
}
.tarefa.feito .check { background: var(--accent-2); border-color: var(--accent-2); color: #10160a; }
.tarefa .txt { font-size: 15px; line-height: 1.4; }
.tarefa.feito .txt { color: var(--text-dim); text-decoration: line-through; }

/* ===== Lista de compras ===== */
.compra-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.compra-item:first-of-type { border-top: none; }
.compra-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.compra-item .nome { font-weight: 700; font-size: 15px; }
.compra-item .desc { color: var(--text-dim); font-size: 13px; margin-top: 2px; }

/* ===== Campos preenchíveis ===== */
.campo-grupo { margin-bottom: 14px; }
.campo-grupo label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8ec5ff;
  margin-bottom: 6px;
  font-weight: 700;
}
.campo-linha {
  width: 100%;
  background: rgba(13,15,13,.5);
  border: 1px solid #3a6c9c;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.campo-linha:focus { border-color: #8ec5ff; }

/* ===== Botões ===== */
.btn-imprimir {
  width: 100%;
  background: var(--card-2);
  color: var(--text);
  border: 1.5px solid var(--accent);
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .15s;
}
.btn-imprimir:hover { background: var(--card); }

.fechamento-card {
  background: linear-gradient(160deg, rgba(201,138,27,.16), rgba(107,142,35,.06));
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  margin: 24px 0 18px;
}
.fechamento-card .ico { font-size: 34px; }
.fechamento-card p { font-size: 17px; line-height: 1.5; margin-top: 10px; white-space: pre-line; }

.btn-upsell {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: 1.5px dashed var(--accent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 22px;
  transition: background .15s;
}
.btn-upsell:hover { background: rgba(201,138,27,.08); }
.btn-upsell small { display: block; font-weight: 500; color: var(--text-dim); font-size: 12px; margin-top: 3px; }

.btn-refazer {
  display: block;
  margin: 0 auto 30px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Impressão ===== */
@media print {
  body { background: #fff; color: #111; }
  .btn-imprimir, .btn-upsell, .btn-refazer, .no-print { display: none !important; }
  .card, .semana-card, .hero, .fechamento-card, .progresso-plano {
    box-shadow: none;
    border: 1px solid #bbb;
    background: #fff !important;
    color: #111;
  }
  .card-titulo, .hero h1 .nome-destaque, .secao-titulo, .compra-num { color: #111 !important; }
  .tarefa .txt, .card-texto, .compra-item .nome { color: #111 !important; }
  .campo-linha { border: 1px solid #999; color: #111; }
}

/* =================================================================
   QUIZ FUNIL 4 PASOS — ESPAÑOL
   ================================================================= */

/* Barra de progresso do passo */
.qf-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 24px;
}
.qf-paso-badge {
  flex-shrink: 0;
  background: rgba(201,138,27,.14);
  border: 1px solid rgba(201,138,27,.45);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.qf-progress-track {
  flex: 1;
  height: 8px;
  background: var(--card);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.qf-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 99px;
  transition: width .5s ease;
}
.qf-pct {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  min-width: 36px;
  text-align: right;
}

/* Hero do passo */
.qf-hero {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.qf-titulo {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}
.qf-sub {
  color: var(--text-dim);
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
}

/* Blocos de pergunta */
.qf-pregunta { margin-bottom: 22px; }
.qf-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.qf-campo {
  font-size: 18px !important;
  padding: 16px !important;
}

/* Opções compactas para múltipla escolha */
.qf-opcoes { display: flex; flex-direction: column; gap: 10px; }
.qf-opcao {
  padding: 14px 16px !important;
  font-size: 15px !important;
}

/* Depoimento */
/* Depoimento = IMAGEM COMPLETA (foto + texto já embutidos).
   Mostra a imagem inteira, grande, sem cortes nem texto ao lado. */
.qf-depo { margin: 22px 0 6px; }
.qf-depo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* Rodapé sticky com botão continuar */
.qf-rodape {
  position: sticky;
  bottom: 0;
  padding: 16px 0 26px;
  background: linear-gradient(0deg, var(--bg) 60%, transparent 100%);
  margin-top: 8px;
}

/* Microcena (overlay fullscreen) */
.microcena-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px;
  background-color: #050805;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .4s ease;
}
/* Overlay LEVE — a imagem precisa ficar bem visível.
   Um leve degradê escurece só o topo/base para legibilidade geral. */
.microcena-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3,5,3,.30) 0%,
    rgba(3,5,3,.12) 35%,
    rgba(3,5,3,.30) 70%,
    rgba(3,5,3,.55) 100%
  );
}
.microcena-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
}
/* O texto fica numa faixa própria com fundo translúcido:
   imagem visível ao redor + texto legível. */
.microcena-texto {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.32;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,.9);
  animation: fadeIn .5s ease;
  background: rgba(6,9,6,.5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 22px 20px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.microcena-barra {
  width: 170px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 99px;
  overflow: hidden;
  margin: 28px auto 0;
}
.microcena-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
}
@keyframes llenar {
  from { width: 0%; }
  to   { width: 100%; }
}

/* =================================================================
   REVELAÇÃO PROGRESSIVA + GAMIFICAÇÃO — STEP 1
   ================================================================= */

/* Fundo premium exclusivo do quiz */
.quiz-body {
  background:
    radial-gradient(ellipse 110% 55% at 50% -8%, rgba(107,142,35,.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at -5% 100%, rgba(201,138,27,.08) 0%, transparent 55%),
    linear-gradient(180deg, #0b0d0b 0%, #0f130e 100%);
}

/* Container do stack progressivo */
.qf-stack { display: flex; flex-direction: column; gap: 12px; }

/* Card de questão ativa — profundidade premium */
.qf-card {
  background: linear-gradient(155deg, rgba(35,42,33,.97), rgba(22,28,21,.97));
  border: 1.5px solid rgba(255,255,255,.07);
  border-top: 1.5px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.05) inset;
}
.qf-sub-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
  margin-top: -4px;
}

/* Card compacto (resposta já dada) */
.qf-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(22,28,21,.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 16px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  user-select: none;
}
.qf-compact:hover {
  border-color: rgba(201,138,27,.5);
  background: rgba(28,34,27,.9);
}
.qf-compact-info { flex: 1; min-width: 0; }
.qf-compact-label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}
.qf-compact-valor {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qf-compact-editar {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: color .15s, border-color .15s, background .15s;
}
.qf-compact-editar:hover {
  color: var(--accent);
  border-color: rgba(201,138,27,.45);
  background: rgba(201,138,27,.08);
}

/* Botão "Siguiente" por questão */
.qf-siguiente {
  width: 100%;
  background: rgba(201,138,27,.1);
  border: 1.5px solid rgba(201,138,27,.4);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 14px;
  border-radius: 13px;
  cursor: pointer;
  margin-top: 14px;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .08s;
}
.qf-siguiente:hover {
  background: rgba(201,138,27,.2);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(201,138,27,.22);
}
.qf-siguiente:active { transform: scale(.985); }
.qf-siguiente:disabled { opacity: .35; cursor: not-allowed; }

/* Separador depoimento */
.qf-depo-sep {
  text-align: center;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 4px 0 8px;
}

/* ===== Keyframes ===== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes compactIn {
  from { opacity: 0; transform: translateY(-10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseSel {
  0%   { transform: scale(1); }
  28%  { transform: scale(1.028); }
  62%  { transform: scale(.988); }
  100% { transform: scale(1); }
}
@keyframes checkPop {
  0%   { transform: scale(0) rotate(-25deg); opacity: 0; }
  62%  { transform: scale(1.28) rotate(0); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes wobble {
  0%, 100% { transform: translateX(0); }
  20%  { transform: translateX(-7px); }
  40%  { transform: translateX(7px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

.slide-up  { animation: slideUp   .38s cubic-bezier(.2,.8,.3,1) both; }
.compact-in { animation: compactIn .26s ease both; }
.pulse-sel  { animation: pulseSel  .28s ease; }
.wobble     { animation: wobble    .38s ease; }
.pop-in     { animation: popIn     .3s  cubic-bezier(.2,.8,.3,1) both; }

/* Focus animado — anel âmbar */
.qf-campo:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(201,138,27,.18), 0 2px 16px rgba(0,0,0,.3);
}

/* Checkmark animado ao marcar opção */
.opcao.sel .marca {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #0e1509;
  animation: checkPop .24s cubic-bezier(.2,.8,.3,1) both;
}

/* =================================================================
   PÁGINA DE VENTAS — resultado.html (premium / persuasiva)
   ================================================================= */
.sp-wrap { max-width: 640px; margin: 0 auto; padding: 0 18px 60px; }

/* Reveal on scroll */
.sp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1);
  will-change: opacity, transform;
}
.sp-reveal.visible { opacity: 1; transform: translateY(0); }

/* Seções e títulos */
.sp-sec { margin-top: 38px; }
.sp-sec-tag {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  text-align: center;
}
.sp-sec-titulo {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 6px;
}
.sp-sec-sub { text-align: center; color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }

/* ===== 1. Diagnóstico hero ===== */
.sp-diag {
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(209,73,63,.16), transparent 60%),
    linear-gradient(160deg, #221a18 0%, #161310 100%);
  border: 1px solid var(--border);
  border-top: 2px solid var(--danger);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-top: 22px;
}
.sp-diag .selo-riesgo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(209,73,63,.16);
  border: 1px solid var(--danger);
  color: #ff8a80;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  animation: pulseRiesgo 2.2s ease-in-out infinite;
}
@keyframes pulseRiesgo {
  0%,100% { box-shadow: 0 0 0 0 rgba(209,73,63,.4); }
  50%     { box-shadow: 0 0 0 8px rgba(209,73,63,0); }
}
.sp-diag h1 { font-size: 25px; font-weight: 900; line-height: 1.2; margin-bottom: 6px; }
.sp-diag h1 .destaque { color: var(--accent); }
.sp-diag .diag-loc { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.sp-diag-metrics { display: flex; gap: 12px; }
.sp-metric {
  flex: 1;
  background: rgba(13,15,13,.5);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
}
.sp-metric .ico { font-size: 20px; }
.sp-metric .num { font-size: 34px; font-weight: 900; line-height: 1.05; margin-top: 2px; }
.sp-metric.risco .num { color: var(--danger); }
.sp-metric.janela .num { color: var(--accent); }
.sp-metric .lbl { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; }
.sp-metric .mini-track { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 9px; border: 1px solid var(--border); }
.sp-metric .mini-bar { height: 100%; background: var(--danger); border-radius: 99px; transition: width 1s ease; }

/* ===== 2/3. Bloqueado ===== */
.sp-lock-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sp-vuln-titulo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: #ff9c93; margin-bottom: 12px; }
.sp-vuln-texto { font-size: 16px; line-height: 1.6; }
.sp-vuln-blur {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  display: inline;
}
.sp-mini-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(201,138,27,.1);
  border: 1px solid rgba(201,138,27,.4);
  border-radius: 99px;
  padding: 7px 14px;
}

/* ===== 4. Transición ===== */
.sp-transicion {
  text-align: center;
  margin: 46px 0 10px;
}
.sp-transicion h2 { font-size: 27px; font-weight: 900; line-height: 1.2; }
.sp-transicion h2 .destaque { color: var(--accent); }
.sp-transicion p { color: var(--text-dim); font-size: 16px; margin-top: 10px; line-height: 1.55; }
.sp-producto-img {
  width: 100%;
  border-radius: 18px;
  margin: 22px 0 6px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
  background: var(--card);
}

/* ===== 5. Arsenal ===== */
.sp-arsenal { display: flex; flex-direction: column; gap: 10px; }
.sp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(160deg, rgba(35,42,33,.9), rgba(22,28,21,.9));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
}
.sp-item .ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(201,138,27,.12);
  border: 1px solid rgba(201,138,27,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.sp-item .txt { flex: 1; }
.sp-item .tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.sp-item.bono .tag { color: var(--accent-2); }
.sp-item.bono .ico { background: rgba(107,142,35,.12); border-color: rgba(107,142,35,.35); }
.sp-item .nombre { font-size: 15px; font-weight: 700; margin-top: 1px; }
.sp-item .check { color: var(--accent-2); font-size: 20px; flex-shrink: 0; }
.sp-item.acceso { background: rgba(107,142,35,.08); border-color: rgba(107,142,35,.4); }

/* ===== 6. Comparación ===== */
.sp-compara { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-col {
  border-radius: 16px;
  padding: 18px 15px;
  border: 1px solid var(--border);
}
.sp-col.malo { background: linear-gradient(160deg, rgba(209,73,63,.12), rgba(209,73,63,.03)); border-color: rgba(209,73,63,.4); }
.sp-col.bueno { background: linear-gradient(160deg, rgba(107,142,35,.14), rgba(107,142,35,.04)); border-color: var(--accent-2); }
.sp-col h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; text-align: center; }
.sp-col.malo h3 { color: #ff9c93; }
.sp-col.bueno h3 { color: #b6d36a; }
.sp-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.sp-col li { font-size: 13px; line-height: 1.4; display: flex; gap: 8px; align-items: flex-start; }
.sp-col li .mk { flex-shrink: 0; }

/* ===== 7. Testimonios carrusel ===== */
.sp-carrusel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.sp-carrusel::-webkit-scrollbar { display: none; }
/* Cada slide = IMAGEM COMPLETA do depoimento (foto + texto embutidos). */
.sp-testi {
  flex: 0 0 88%;
  scroll-snap-align: center;
}
.sp-testi-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.sp-dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background .2s, transform .2s; }
.sp-dot.on { background: var(--accent); transform: scale(1.3); }

/* ===== 8. Oferta ===== */
.sp-oferta {
  background: linear-gradient(160deg, rgba(201,138,27,.14), rgba(107,142,35,.05));
  border: 1.5px solid var(--accent);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}
.sp-oferta .titulo { font-size: 21px; font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.sp-precio { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 4px; }
.sp-precio .moneda { font-size: 24px; font-weight: 800; color: var(--text-dim); }
.sp-precio .valor { font-size: 60px; font-weight: 900; color: var(--accent); line-height: 1; }
.sp-precio .usd { font-size: 18px; font-weight: 800; color: var(--text-dim); align-self: flex-end; }
.sp-precio-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }

.sp-btn-comprar {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #20140a;
  border: none;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .01em;
  padding: 22px 16px;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(217,119,6,.4);
  animation: pulsar 2s ease-in-out infinite;
  transition: filter .15s;
}
.sp-btn-comprar:hover { filter: brightness(1.06); }
.sp-btn-seguro { color: var(--text-dim); font-size: 13px; margin-top: 12px; }
.sp-btn-seguro strong { color: var(--accent-2); }

/* ===== 9. Garantía ===== */
.sp-garantia {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(160deg, rgba(107,142,35,.12), rgba(107,142,35,.03));
  border: 1px solid var(--accent-2);
  border-radius: 18px;
  padding: 22px;
}
.sp-garantia .escudo { font-size: 46px; flex-shrink: 0; }
.sp-garantia h3 { font-size: 17px; font-weight: 800; color: #b6d36a; margin-bottom: 5px; }
.sp-garantia p { font-size: 14px; line-height: 1.55; color: var(--text); }

/* ===== 10. FAQ ===== */
.sp-faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.sp-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  user-select: none;
}
.sp-faq-q .mais { color: var(--accent); font-size: 22px; transition: transform .25s; flex-shrink: 0; }
.sp-faq-item.open .sp-faq-q .mais { transform: rotate(45deg); }
.sp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 18px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.sp-faq-item.open .sp-faq-a { max-height: 260px; padding: 0 18px 17px; }

/* ===== 11. Cierre ===== */
.sp-cierre {
  text-align: center;
  margin: 46px 0 0;
  padding: 32px 22px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(201,138,27,.14), transparent 60%),
    linear-gradient(160deg, #20281d 0%, #161b14 100%);
  border: 1px solid var(--accent);
  border-radius: 22px;
}
.sp-cierre .ico { font-size: 38px; }
.sp-cierre h2 { font-size: 26px; font-weight: 900; line-height: 1.25; margin: 12px 0; }
.sp-cierre h2 .destaque { color: var(--accent); }
.sp-cierre p { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; line-height: 1.55; }

/* =================================================================
   PÁGINA DE GRACIAS — plano.html (post-pago / 90 días)
   ================================================================= */

/* Bienvenida cálida */
.gr-bienvenida {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(107,142,35,.20), transparent 62%),
    linear-gradient(160deg, #20281d 0%, #161b14 100%);
  border: 1px solid var(--accent-2);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.gr-bienvenida .ico-ok { font-size: 44px; margin-bottom: 8px; }
.gr-bienvenida h1 { font-size: 26px; font-weight: 900; line-height: 1.22; margin-bottom: 14px; }
.gr-bienvenida p { color: var(--text); font-size: 15px; line-height: 1.65; }

/* Botón imprimir (página de gracias) */
.gr-btn-imprimir {
  width: 100%;
  background: var(--card-2);
  color: var(--text);
  border: 1.5px solid var(--accent);
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .15s;
}
.gr-btn-imprimir:hover { background: var(--card); }

/* Cards temáticos reutilizan .card / .card-verde / .card-vermelho / .card-azul */
.gr-card-texto { color: var(--text); white-space: pre-line; line-height: 1.65; font-size: 15px; }

/* ===== Sección título plan de 90 días ===== */
.gr-plan-titulo {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin: 36px 0 4px;
}
.gr-plan-sub { text-align: center; color: var(--text-dim); font-size: 15px; margin-bottom: 8px; }

/* Línea de tiempo de fases */
.gr-timeline {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 26px;
}
.gr-timeline .punto {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.gr-timeline .bolita {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
}
.gr-timeline .punto.f1 .bolita { background: var(--accent-2); border-color: var(--accent-2); }
.gr-timeline .punto.f2 .bolita { background: var(--accent); border-color: var(--accent); }
.gr-timeline .punto.f3 .bolita { background: var(--danger); border-color: var(--danger); }
.gr-timeline .flecha { color: var(--border); }

/* ===== Bloque de FASE ===== */
.gr-fase {
  border-radius: 22px;
  padding: 4px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.gr-fase.f1 { background: linear-gradient(160deg, rgba(107,142,35,.35), rgba(107,142,35,.06)); }
.gr-fase.f2 { background: linear-gradient(160deg, rgba(201,138,27,.35), rgba(201,138,27,.06)); }
.gr-fase.f3 { background: linear-gradient(160deg, rgba(209,73,63,.35), rgba(209,73,63,.06)); }

.gr-fase-inner {
  background: var(--card);
  border-radius: 19px;
  padding: 22px 20px;
}

.gr-fase-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.gr-fase-num {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900;
  color: #10160a;
}
.gr-fase.f1 .gr-fase-num { background: var(--accent-2); }
.gr-fase.f2 .gr-fase-num { background: var(--accent); }
.gr-fase.f3 .gr-fase-num { background: var(--danger); color: #fff; }

.gr-fase-etiqueta {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gr-fase.f1 .gr-fase-etiqueta { color: #b6d36a; }
.gr-fase.f2 .gr-fase-etiqueta { color: var(--accent); }
.gr-fase.f3 .gr-fase-etiqueta { color: #ff9c93; }
.gr-fase-nombre { font-size: 22px; font-weight: 900; line-height: 1.1; }
.gr-fase-promesa {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  margin: 6px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Barra de progreso por fase */
.gr-fase-prog { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gr-fase-prog .pct { font-size: 20px; font-weight: 900; min-width: 48px; }
.gr-fase.f1 .gr-fase-prog .pct { color: #b6d36a; }
.gr-fase.f2 .gr-fase-prog .pct { color: var(--accent); }
.gr-fase.f3 .gr-fase-prog .pct { color: #ff9c93; }
.gr-fase-prog .track { flex: 1; height: 7px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.gr-fase-prog .bar { height: 100%; width: 0%; border-radius: 99px; transition: width .35s ease; }
.gr-fase.f1 .gr-fase-prog .bar { background: var(--accent-2); }
.gr-fase.f2 .gr-fase-prog .bar { background: var(--accent); }
.gr-fase.f3 .gr-fase-prog .bar { background: var(--danger); }

/* Semana dentro de la fase */
.gr-semana { margin-bottom: 18px; }
.gr-semana:last-child { margin-bottom: 0; }
.gr-semana-tit {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.gr-fase.f1 .gr-semana-tit { border-color: var(--accent-2); }
.gr-fase.f2 .gr-semana-tit { border-color: var(--accent); }
.gr-fase.f3 .gr-semana-tit { border-color: var(--danger); }

/* Tarea con checkbox */
.gr-tarea {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.gr-tarea:first-of-type { border-top: none; }
.gr-tarea .chk {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: transparent;
  transition: all .15s;
  margin-top: 1px;
}
.gr-tarea.ok .chk { background: var(--accent-2); border-color: var(--accent-2); color: #10160a; }
.gr-tarea .txt { font-size: 14.5px; line-height: 1.45; }
.gr-tarea.ok .txt { color: var(--text-dim); text-decoration: line-through; }

/* Logro destacado */
.gr-logro {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  background: rgba(107,142,35,.1);
  border: 1px solid rgba(107,142,35,.4);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #c8e08a;
}
.gr-logro .ico { flex-shrink: 0; }

/* Campos plan de comunicación */
.gr-campo { margin-bottom: 14px; }
.gr-campo label {
  display: block;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8ec5ff;
  margin-bottom: 6px;
  font-weight: 700;
}
.gr-campo input {
  width: 100%;
  background: rgba(13,15,13,.5);
  border: 1px solid #3a6c9c;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.gr-campo input:focus { border-color: #8ec5ff; }

/* Acceso a la app */
.gr-acceso {
  text-align: center;
  margin: 40px 0 18px;
  padding: 32px 24px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(201,138,27,.16), transparent 60%),
    linear-gradient(160deg, #20281d 0%, #161b14 100%);
  border: 1.5px solid var(--accent);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}
.gr-acceso .ico { font-size: 40px; }
.gr-acceso h2 { font-size: 25px; font-weight: 900; line-height: 1.25; margin: 12px 0 10px; }
.gr-acceso p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.gr-btn-app {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #20140a;
  border: none;
  font-size: 18px;
  font-weight: 900;
  padding: 20px 16px;
  border-radius: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(217,119,6,.4);
  transition: filter .15s;
}
.gr-btn-app:hover { filter: brightness(1.06); }
.gr-acceso .instruccion {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 14px;
}

/* Impresión limpia */
@media print {
  body { background: #fff !important; color: #111 !important; }
  .gr-btn-imprimir, .gr-btn-app, .no-print { display: none !important; }
  .gr-bienvenida, .gr-fase, .gr-fase-inner, .card, .gr-acceso, .gr-logro {
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #bbb !important;
  }
  .gr-bienvenida h1, .gr-plan-titulo, .gr-fase-nombre, .card-titulo,
  .gr-semana-tit, .gr-tarea .txt, .gr-card-texto, .gr-acceso h2,
  .gr-logro, .gr-fase-etiqueta, .gr-bienvenida p, .gr-fase-promesa {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }
  .gr-tarea .chk { border: 1.5px solid #555 !important; }
  .gr-campo input { border: 1px solid #999 !important; color: #111 !important; }
  .gr-fase { padding: 0 !important; }
}

/* =================================================================
   OTIMIZAÇÃO MOBILE — telas 360-430px (prioridade absoluta)
   ================================================================= */
@media (max-width: 430px) {

  /* Containers com respiro lateral consistente */
  .wrap, .sp-wrap { padding-left: 16px; padding-right: 16px; }

  /* ---- Quiz ---- */
  .qf-titulo { font-size: 23px; }
  .qf-sub { font-size: 14px; }
  .qf-card { padding: 18px 16px 16px; }
  .qf-paso-badge { font-size: 10px; padding: 6px 10px; letter-spacing: .08em; }
  .qf-campo { font-size: 17px !important; padding: 15px !important; }
  .qf-opcao { font-size: 15px !important; padding: 14px 14px !important; }
  .qf-compact { padding: 10px 13px; }
  .qf-compact-valor { font-size: 14px; }
  .opcao .marca { width: 21px; height: 21px; }

  /* ---- Microcena ---- */
  .microcena-overlay { padding: 24px 18px; }
  .microcena-texto { font-size: 23px; padding: 20px 16px; line-height: 1.3; }

  /* ---- Loading ---- */
  .construindo { padding: 28px 20px; }
  .construindo h2 { font-size: 20px; }
  .construindo-passo { font-size: 15px; }

  /* ---- Página de vendas (resultado) ---- */
  .sp-sec-titulo { font-size: 23px; }
  .sp-sec-sub { font-size: 14px; }
  .sp-diag { padding: 24px 18px; }
  .sp-diag h1 { font-size: 22px; }
  .sp-diag-metrics { gap: 10px; }
  .sp-metric { padding: 14px 8px; }
  .sp-metric .num { font-size: 30px; }
  .sp-metric .lbl { font-size: 10px; }
  .sp-vuln-texto { font-size: 15px; }
  .sp-transicion h2 { font-size: 23px; }
  .sp-transicion p { font-size: 15px; }

  /* Arsenal: ícone e textos proporcionais */
  .sp-item { padding: 13px 13px; gap: 12px; }
  .sp-item .ico { width: 40px; height: 40px; font-size: 20px; }
  .sp-item .nombre { font-size: 14px; }

  /* Comparación: 2 colunas mais compactas, sem estourar */
  .sp-compara { gap: 9px; }
  .sp-col { padding: 15px 11px; }
  .sp-col h3 { font-size: 14px; }
  .sp-col li { font-size: 12.5px; }

  /* Oferta */
  .sp-oferta { padding: 24px 18px; }
  .sp-oferta .titulo { font-size: 19px; }
  .sp-precio .valor { font-size: 52px; }
  .sp-btn-comprar { font-size: 17px; padding: 20px 12px; }

  /* Garantía em coluna no celular estreito */
  .sp-garantia { gap: 12px; padding: 18px; }
  .sp-garantia .escudo { font-size: 38px; }
  .sp-garantia h3 { font-size: 16px; }

  /* FAQ / Cierre */
  .sp-faq-q { font-size: 14px; padding: 15px 16px; }
  .sp-cierre { padding: 28px 18px; }
  .sp-cierre h2 { font-size: 22px; }

  /* ---- Página de gracias (plano) ---- */
  .gr-bienvenida { padding: 26px 18px; }
  .gr-bienvenida h1 { font-size: 22px; }
  .gr-bienvenida p { font-size: 14.5px; }
  .gr-plan-titulo { font-size: 24px; }
  .gr-timeline { gap: 5px; }
  .gr-timeline .punto { font-size: 10px; gap: 5px; }
  .gr-timeline .flecha { font-size: 12px; }
  .gr-fase-inner { padding: 18px 15px; }
  .gr-fase-num { width: 46px; height: 46px; font-size: 22px; }
  .gr-fase-nombre { font-size: 20px; }
  .gr-fase-promesa { font-size: 13.5px; }
  .gr-semana-tit { font-size: 15px; }
  .gr-tarea .txt { font-size: 14px; }
  .gr-logro { font-size: 13px; }
  .card { padding: 18px 16px; }
  .card-titulo { font-size: 17px; }
  .gr-card-texto { font-size: 14.5px; }
  .gr-acceso { padding: 28px 18px; }
  .gr-acceso h2 { font-size: 22px; }
  .gr-btn-app { font-size: 17px; padding: 18px 12px; }
}

/* Telas muito estreitas (<= 360px): comparación empilha para não cortar */
@media (max-width: 345px) {
  .sp-compara { grid-template-columns: 1fr; }
  .sp-diag-metrics { flex-direction: column; }
}
