/* Quiz do Desafio da Harmonizacao Glutea — tema escuro da Augusto Team.
   O molde (cabecalho com seta, barra fina, opcoes com bolinha, botao fixo
   no rodape) e o mesmo do quiz que venceu no outro funil; o que muda aqui e
   so a pele: fundo Ink, texto Bone, vermelho Energy pra energia (CTA,
   destaque, progresso) e Steel pro que e secundario. Nada de cromado,
   gradiente metalico ou 3D — o preto sustenta a autoridade sozinho.
   Fontes: Rubik Bold em titulo, numero, preco e CTA; Noto Sans no resto. */

:root {
  --ink: #0B0C0E;
  --bone: #F2EFE8;
  --energy: #E33138;
  --steel: #858B93;

  /* Derivados: os cards ficam um tom acima do fundo, as bordas mal aparecem. */
  --card: #15171A;
  --card-2: #1B1D21;
  --line: #2A2D33;
  --energy-dark: #C4282E;
  /* Energy puro sobre Ink da 4,4:1 — abaixo do AA (4,5:1) pra texto pequeno.
     Este tom clareado (5,5:1 sobre Ink, 5,1:1 sobre card) e so pra TEXTO
     miudo; fundo de CTA, barra e titulo grande continuam no Energy puro. */
  --energy-text: #F04F55;
  --energy-soft: rgba(227, 49, 56, 0.14);
  --energy-line: rgba(227, 49, 56, 0.45);
  --bone-dim: rgba(242, 239, 232, 0.72);

  --ff-title: 'Rubik', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ff-text: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--ink); }

body {
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bone);
  background: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 0 96px;
}

img { max-width: 100%; }

/* --- Cabecalho: seta de voltar + avatar + lockup + barra de progresso ------ */
.qb-top {
  max-width: 28rem;
  margin: 0 auto;
  padding: 14px 12px 0;
}
.qb-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.qb-back {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--steel);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}
.qb-back:hover, .qb-back:focus-visible { color: var(--bone); background: var(--card-2); }

.qb-brand { display: flex; align-items: center; gap: 10px; }
/* Avatar redondo do Marcelo. E o elemento que o motor troca com headerLogo. */
.qb-logo {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--line);
}
/* Lockup em texto: "AUGUSTO" em cima, "TEAM" menor e em Energy embaixo. */
.qb-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--ff-title);
  font-weight: 700;
  user-select: none;
}
.qb-lockup-1 { font-size: 17px; letter-spacing: 2px; color: var(--bone); }
.qb-lockup-2 { font-size: 11px; letter-spacing: 4px; color: var(--energy); margin-top: 3px; }

.qb-progress {
  height: 8px;
  border-radius: 8px;
  background: var(--card-2);
  overflow: hidden;
  margin-top: 12px;
}
.qb-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: var(--energy);
  transition: width 300ms linear;
}

/* --- Area do passo -------------------------------------------------------- */
.quiz-app {
  max-width: 28rem;
  margin: 0 auto;
  padding: 26px 12px 0;
}

.step-title {
  font-family: var(--ff-title);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bone);
  text-align: center;
  margin-bottom: 12px;
  text-wrap: balance;
}
.step-title b, .step-title strong { color: var(--energy); font-weight: 700; }

.step-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bone-dim);
  text-align: center;
  white-space: pre-line;
  margin-bottom: 20px;
}
.step-body b, .step-body strong { font-weight: 700; color: var(--bone); }
.step-body img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; margin: 0 auto; }
/* Destaque em Energy dentro de qualquer texto (o dado usa .hl-energy; os
   nomes antigos de marca-texto viram a mesma coisa). */
.hl-energy,
.step-body .hl, .step-body .hl-pink, .step-body .hl-danger,
.step-title .hl, .step-title .hl-pink, .step-title .hl-danger {
  background: none;
  color: var(--energy-text);
  padding: 0;
  font-weight: 700;
}

/* --- Opcoes --------------------------------------------------------------- */
.options { display: flex; flex-direction: column; gap: 12px; }

.option {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: stretch;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.option:hover, .option:focus { background: var(--card-2); border-color: var(--steel); outline: none; }
.option:disabled { cursor: default; opacity: 0.6; }
/* Selecionada: a borda e a bolinha viram Energy, o fundo ganha um tom. */
.option.selected { background: var(--energy-soft); border-color: var(--energy); }
.option.selected .option-radio { border-color: var(--energy); background: var(--energy); }
.option.selected .option-radio::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  margin: 8px auto;
  border-radius: 999px;
  background: var(--bone);
}

.option-emoji {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}
.option-emoji:empty { width: 16px; }
.option-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
}
.option-row {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 0;
}
.option-radio {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid var(--steel);
  border-radius: 999px;
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease;
}
.option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 12px 12px 0; }
.option-row .option-text { padding: 0; }
.option-sub { font-size: 14px; font-weight: 400; color: var(--steel); }

/* Botao negativo (tipo decision): a resposta que nao avanca. */
.option-negative {
  min-height: auto;
  border-color: var(--line);
  color: var(--steel);
}
.negative-message {
  margin-top: 10px;
  font-size: 15px;
  color: var(--bone-dim);
  text-align: center;
}

/* --- Botao principal (dock no rodape) ------------------------------------- */
.cta-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 12, 14, 0) 0%, var(--ink) 38%);
  z-index: 20;
}
.cta-dock:empty { display: none; }
.cta {
  display: block;
  width: 100%;
  max-width: calc(28rem - 24px);
  margin: 0 auto;
  padding: 15px 16px;
  background: var(--energy);
  color: var(--bone);
  font-family: var(--ff-title);
  /* 19px bold: Bone sobre Energy (3,84:1) so passa o AA como texto grande,
     e "grande" em negrito comeca em 18,66px. */
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 140ms ease, transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover, .cta:focus-visible { background: var(--energy-dark); }
.cta:active { background: var(--energy-dark); transform: translateY(1px); }
.cta:disabled { opacity: 0.4; cursor: default; transform: none; }
/* O motor usa cta-gold no pitch, na raspadinha e no modal: aqui e o mesmo Energy. */
.cta-gold { background: var(--energy); }
.cta-gold:hover, .cta-gold:focus-visible { background: var(--energy-dark); }

/* --- Campo de texto ------------------------------------------------------- */
.name-input {
  width: 100%;
  padding: 16px;
  font-family: var(--ff-text);
  font-size: 18px;
  color: var(--bone);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  caret-color: var(--energy);
}
.name-input::placeholder { color: var(--steel); }
.name-input:focus { outline: none; border-color: var(--energy); }

/* --- Tela de processamento ------------------------------------------------ */
.proc-track {
  height: 10px;
  border-radius: 10px;
  background: var(--card-2);
  overflow: hidden;
}
.proc-fill { width: 0; height: 100%; border-radius: 10px; background: var(--energy); }
.proc-pct {
  margin-top: 8px;
  text-align: right;
  font-family: var(--ff-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--energy-text);
  font-variant-numeric: tabular-nums;
}
.proc-msgs { position: relative; min-height: 52px; margin-top: 12px; }
.proc-msg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bone-dim);
  text-align: center;
}
.proc-msg.on { opacity: 1; }
.proc-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.proc-pics img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* --- Barras de resultado -------------------------------------------------- */
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bar-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px 12px;
  text-align: center;
}
.bar-pct { font-family: var(--ff-title); font-size: 18px; font-weight: 700; color: var(--energy-text); }
.bar-track {
  height: 96px;
  width: 34px;
  margin: 8px auto;
  border-radius: 8px;
  background: var(--card-2);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.bar-fill {
  width: 100%;
  border-radius: 8px;
  background: var(--energy);
  animation: qbBar 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes qbBar { from { height: 0 !important; } }
.bar-label { font-family: var(--ff-title); font-size: 13px; font-weight: 700; color: var(--bone); }
.bar-caption { font-size: 12px; line-height: 1.3; color: var(--steel); margin-top: 4px; }

/* --- Grafico -------------------------------------------------------------- */
.chart-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 8px 6px;
}
.chart { width: 100%; height: auto; display: block; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-ytick, .ch-xtick { fill: var(--steel); font-size: 9px; font-family: var(--ff-text); }
.ch-ytick { text-anchor: end; }
.ch-xtick { text-anchor: middle; }
.ch-area { fill: rgba(227, 49, 56, 0.16); }
.ch-line { fill: none; stroke: var(--energy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ch-dot { fill: var(--ink); stroke: var(--energy); stroke-width: 2.5; }
.ch-mark { fill: var(--bone); font-size: 9.5px; font-weight: 700; font-family: var(--ff-title); }

/* --- Slider --------------------------------------------------------------- */
.slider-wrap { padding: 8px 4px 0; }
.slider-emojis { display: flex; justify-content: space-between; font-size: 28px; margin-bottom: 8px; }
.slider-input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  background: var(--card-2); border-radius: 999px; outline: none;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--energy); border: 3px solid var(--bone); cursor: pointer;
}
.slider-input::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--energy); border: 3px solid var(--bone); cursor: pointer;
}
.slider-value {
  text-align: center; font-family: var(--ff-title); font-size: 40px; font-weight: 700;
  color: var(--energy); margin-top: 20px; font-variant-numeric: tabular-nums;
}

/* --- Toast (o HTML deste funil nao tem o slot, mas o motor sabe usar) ----- */
.toast-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.toast-slot.show { grid-template-rows: 1fr; }
.toast-slot > .toast-inner { overflow: hidden; }
.toast {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 10px 14px; background: var(--card-2); border: 1px solid var(--energy-line);
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--bone);
  opacity: 0; transform: translateY(-6px); transition: opacity 300ms ease, transform 300ms ease;
}
.toast-slot.show .toast { opacity: 1; transform: translateY(0); }
.toast-icon { font-size: 20px; flex-shrink: 0; }

/* --- Pitch ---------------------------------------------------------------- */
.pitch-h3 {
  font-family: var(--ff-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--bone);
  text-align: center;
  margin: 26px 0 12px;
  text-wrap: balance;
}
.pitch-reframe { font-size: 16px; line-height: 1.55; color: var(--bone-dim); text-align: center; white-space: pre-line; }
.pitch-reframe b, .pitch-reframe strong { font-weight: 700; color: var(--bone); }

.testi-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.testi-card {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}
.testi-photo { width: 84px; height: 84px; flex-shrink: 0; object-fit: cover; border-radius: var(--radius-sm); }
.testi-body { min-width: 0; }
.testi-name { font-family: var(--ff-title); font-size: 15px; font-weight: 700; color: var(--energy); }
.testi-text { font-size: 14px; line-height: 1.45; color: var(--bone-dim); margin-top: 4px; }

.pitch-benefits ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pitch-benefits li { font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
.pitch-benefits li b, .pitch-benefits li strong { color: var(--bone); }

.pitch-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pitch-bullets li { font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
.pitch-bullets li b, .pitch-bullets li strong { color: var(--bone); }

.bonus-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}
.bonus-name { font-family: var(--ff-title); font-size: 16px; font-weight: 700; color: var(--bone); }
.bonus-desc { font-size: 14px; line-height: 1.5; color: var(--bone-dim); margin-top: 6px; }
.bonus-price { font-family: var(--ff-title); font-size: 15px; margin-top: 10px; color: var(--steel); }
.bonus-price s { color: var(--steel); }
.bonus-price b { color: var(--energy-text); font-weight: 700; }

.pitch-scarcity {
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--energy-soft);
  border: 1px solid var(--energy-line);
  color: var(--bone);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.pitch-price-box {
  margin-top: 18px;
  padding: 20px 16px;
  background: var(--card);
  border: 2px solid var(--energy);
  border-radius: var(--radius);
  text-align: center;
}
.pitch-price { font-family: var(--ff-title); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--bone-dim); }
.pitch-price s { color: var(--steel); }
.pitch-price b { display: block; margin-top: 6px; font-size: 36px; font-weight: 700; color: var(--energy); }
.pitch-price-sub { font-size: 14px; color: var(--steel); margin-top: 8px; }

.pitch-timer { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.timer-box {
  min-width: 52px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--energy);
  color: var(--bone);
  font-family: var(--ff-title);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.timer-sep { font-family: var(--ff-title); font-size: 22px; font-weight: 700; color: var(--energy); }
.timer-note { flex-basis: 100%; text-align: center; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--bone-dim); }

.pitch-seals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.seal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-align: center; }
.seal-title { font-family: var(--ff-title); font-size: 14px; font-weight: 700; color: var(--bone); }
.seal-sub { font-size: 12.5px; color: var(--steel); margin-top: 2px; line-height: 1.35; }

.pitch-guarantee {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px solid var(--steel);
  font-size: 15px;
  line-height: 1.5;
  color: var(--bone-dim);
  text-align: center;
}
.pitch-guarantee b, .pitch-guarantee strong { font-weight: 700; color: var(--bone); }

.pitch-post-guarantee { margin-top: 14px; }
.pitch-post-guarantee img { width: 100%; border-radius: var(--radius); display: block; }

.pitch-before-after { margin-top: 22px; }
.pitch-topo { margin-top: 14px; margin-bottom: 6px; }
.ba-title { font-family: var(--ff-title); font-size: 19px; font-weight: 700; color: var(--bone); text-align: center; }
.ba-subtitle { font-size: 15px; color: var(--steel); text-align: center; margin-top: 4px; margin-bottom: 12px; }
/* Fotos em coluna viram um scroll enorme; em grade de 2 elas cabem. */
.ba-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-card img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.ba-caption { font-size: 13px; color: var(--steel); text-align: center; margin-top: 6px; }

.pitch-whofor { display: grid; gap: 12px; margin-top: 18px; }
.whofor-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.whofor-title { font-family: var(--ff-title); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.whofor-title.for { color: var(--bone); }
.whofor-title.not { color: var(--steel); }
.whofor-block ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.whofor-block li { font-size: 14px; line-height: 1.45; color: var(--bone-dim); }

/* --- Gift em video no pitch ---------------------------------------------- */
.pitch-gift { margin: 18px 0; }
.pitch-gift-video {
  /* Video vertical: com a altura limitada ele continua grande o suficiente
     e ainda deixa o preco e o botao no campo de visao. */
  max-height: 56vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  background: #000;
  display: block;
}
.pitch-gift-note { font-size: 14px; color: var(--steel); text-align: center; margin-top: 8px; }

/* --- Modal de bonus (tipo decision) -------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(11, 12, 14, 0.78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: overlayIn 300ms ease-out;
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  max-width: 360px; width: 100%; padding: 28px 22px; background: var(--card);
  border: 1px solid var(--energy); border-radius: 20px;
  animation: modalIn 420ms cubic-bezier(0.34, 1.56, 0.64, 1); text-align: center;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-badge {
  display: inline-block; background: var(--energy); color: var(--bone);
  padding: 6px 14px; border-radius: 999px; font-family: var(--ff-title); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
}
.modal-title { font-family: var(--ff-title); font-size: 1.5rem; font-weight: 700; color: var(--bone); line-height: 1.2; margin-bottom: 6px; }
.modal-subtitle { font-size: 15px; color: var(--bone-dim); margin-bottom: 20px; }
.modal-bonuses { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; text-align: left; }
.modal-bonus { padding: 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.modal-bonus-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.modal-bonus-emoji { font-size: 22px; }
.modal-bonus-name { font-family: var(--ff-title); font-size: 15px; font-weight: 700; color: var(--bone); }
.modal-bonus-desc { font-size: 13px; color: var(--bone-dim); line-height: 1.5; }
.modal-card .cta { max-width: none; }

/* --- Raspadinha (tipo scratch) ------------------------------------------- */
.scratch-wrap { margin-top: 8px; margin-bottom: 8px; }
.scratch-container {
  position: relative; width: 100%; aspect-ratio: 4 / 3; max-width: 380px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--energy-line);
  touch-action: none; -webkit-user-select: none; user-select: none;
  background: var(--card-2); isolation: isolate;
}
.scratch-prize {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 22px 18px;
  background: radial-gradient(ellipse at center, rgba(227, 49, 56, 0.22) 0%, transparent 70%);
  transform: scale(0.94); transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scratch-container.revealed .scratch-prize { transform: scale(1); }
.scratch-prize-badge {
  display: inline-block; background: var(--energy); color: var(--bone);
  padding: 4px 12px; border-radius: 999px; font-family: var(--ff-title); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px;
}
.scratch-prize-emoji { font-size: 56px; line-height: 1; margin-bottom: 10px; animation: scratchPrizeFloat 2.6s ease-in-out infinite; }
@keyframes scratchPrizeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.scratch-prize-title { font-family: var(--ff-title); font-size: 20px; font-weight: 700; color: var(--bone); line-height: 1.2; margin-bottom: 6px; text-wrap: balance; }
.scratch-prize-desc { font-size: 14px; color: var(--bone-dim); line-height: 1.45; max-width: 280px; }
.scratch-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; cursor: pointer; touch-action: none; transition: opacity 400ms ease-out; }
.scratch-container.revealed .scratch-canvas { opacity: 0; pointer-events: none; }
.scratch-cover-hint {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; color: var(--ink); font-weight: 700; transition: opacity 260ms ease-out;
}
.scratch-cover-hint-icon { font-size: 42px; margin-bottom: 6px; animation: scratchHintBob 1.4s ease-in-out infinite; }
@keyframes scratchHintBob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-8px) rotate(8deg); } }
.scratch-cover-hint-label { font-family: var(--ff-title); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.scratch-container.touched .scratch-cover-hint, .scratch-container.revealed .scratch-cover-hint { opacity: 0; }
.scratch-fallback {
  margin: 14px auto 0; display: none; background: transparent;
  border: 1px solid var(--steel); color: var(--bone-dim);
  font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--ff-text); transition: all 200ms;
}
.scratch-fallback.show { display: block; }
.scratch-fallback:hover { border-color: var(--energy); color: var(--bone); }
.scratch-progress-note { text-align: center; font-size: 12px; color: var(--steel); margin-top: 10px; letter-spacing: 0.3px; }

.cta.cta-scratch-locked { opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 400ms ease-out, transform 400ms ease-out; }
.cta.cta-scratch-unlocked { opacity: 1; transform: translateY(0); pointer-events: auto; animation: scratchCtaPop 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes scratchCtaPop {
  0% { transform: scale(0.94) translateY(10px); opacity: 0; }
  60% { transform: scale(1.03) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* --- Rodape --------------------------------------------------------------- */
.qb-foot {
  max-width: 28rem;
  margin: 26px auto 0;
  padding: 0 12px;
  text-align: center;
  font-size: 13px;
  color: var(--steel);
}

/* Segundo titulo na mesma tela e a nota que aparece embaixo de toda pergunta
   (data.optionsNote). */
.step-title2 {
  font-family: var(--ff-title);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bone);
  text-align: center;
  margin-top: 14px;
}
.step-title2 b, .step-title2 strong { color: var(--energy); }
.step-note {
  font-size: 15px;
  color: var(--steel);
  text-align: center;
  margin-bottom: 18px;
}
.step-body + .step-note { margin-top: -6px; }
/* headerLogo deitado (se algum passo trocar o avatar por uma marca larga). */
.qb-logo-wide { width: 160px; height: auto; border-radius: 0; border: none; }

/* Marca-texto: linha em caixa alta com fundo Energy e texto Bone, logo
   abaixo da headline da abertura. */
.step-mark {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  background: var(--energy);
  color: var(--bone);
  font-family: var(--ff-title);
  font-size: 19px; /* mesmo motivo do .cta: texto grande em negrito >= 18,66px */
  font-weight: 700;
  line-height: 1.3;
  padding: 5px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   VARIACOES DE ESTILO POR TELA — o passo declara qual usar em optionSkin.
   Os nomes antigos (rosaclara/rosa) seguem valendo pra quem copiar o dado
   do outro funil; os novos (suave/energy) sao os desta marca.
   ========================================================================== */

/* Padrao (definido acima em .option): card escuro com borda sutil. */

/* Suave: fundo com um tom de Energy, borda mais presente. */
.options-suave .option,
.options-rosaclara .option {
  background: var(--energy-soft);
  border-color: var(--energy-line);
  color: var(--bone);
}
.options-suave .option:hover, .options-suave .option:focus,
.options-rosaclara .option:hover, .options-rosaclara .option:focus { background: rgba(227, 49, 56, 0.22); border-color: var(--energy); }
.options-suave .option-radio,
.options-rosaclara .option-radio { border-color: var(--energy-line); }

/* Energy solido: fundo cheio em vermelho, texto Bone. */
.options-energy .option,
.options-rosa .option {
  background: var(--energy);
  border-color: var(--energy);
  color: var(--bone);
}
.options-energy .option:hover, .options-energy .option:focus,
.options-rosa .option:hover, .options-rosa .option:focus { background: var(--energy-dark); border-color: var(--energy-dark); }
.options-energy .option-sub,
.options-rosa .option-sub { color: rgba(242, 239, 232, 0.85); }
.options-energy .option-radio,
.options-rosa .option-radio { border-color: rgba(242, 239, 232, 0.75); background: transparent; }
.options-energy .option.selected,
.options-rosa .option.selected { background: var(--energy-dark); border-color: var(--bone); }
.options-energy .option.selected .option-radio,
.options-rosa .option.selected .option-radio { background: var(--bone); border-color: var(--bone); }
.options-energy .option.selected .option-radio::after,
.options-rosa .option.selected .option-radio::after { background: var(--energy-dark); }

/* Subtitulo em H3 abaixo de alguns titulos. */
.step-sub {
  font-family: var(--ff-title);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--energy);
  text-align: center;
  margin-top: 10px;
}
/* Abertura: headline menor e em Bone — so as partes em negrito ficam Energy. */
.step-abertura .step-title {
  font-size: 22px;
  line-height: 1.25;
  color: var(--bone);
}
.step-abertura .step-title b,
.step-abertura .step-title strong { color: var(--energy); }
/* Tela de prontidao usa H2 de 24px, nao o H1 de 30px. */
.step-prontidao .step-title { font-size: 24px; }

/* Foto do expert (apresentacao) e provas: o dado manda a img dentro do body. */
.step-body .expert-photo { width: min(100%, 300px); border-radius: var(--radius); border: 1px solid var(--line); }
.step-body .prova-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.step-body .prova-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

*:focus-visible { outline: 2px solid var(--energy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.15s !important; transition-duration: 0.15s !important; }
}
@media (min-width: 480px) {
  .quiz-app { padding-bottom: 40px; }
  .step-title, .step-title2 { font-size: 32px; }
}
