/* =============================================================
   QUIZ LUIZA MOTA · Baiacu!
   Estrutura: molde do quiz do Carlão (avaliacaopaizao).
   Identidade: tokens do app Baiacu (Baiakuapp/brand/tokens/tokens.json).
   Tipografia: Poppins (mesma do molde, pedido do Pedro 2026-09-18).
   ============================================================= */

:root {
  /* fundo branco (decisão do Pedro 2026-09-18): a cor fica no botão e no bold */
  --bg:        #FFFFFF;
  --bg-2:      #FFFFFF;
  --card:      #FFFFFF;
  --line:      rgba(59,35,20,.12);
  --line-2:    rgba(59,35,20,.20);

  /* texto — marrom tinta substitui o preto em tudo */
  --tx:        #3B2314;
  --tx-soft:   #6B5A48;
  --tx-mute:   #A08B74;

  /* ação — laranja Baiacu */
  --accent:    #FF9210;
  --accent-2:  #FFC53D;
  --accent-dk: #C96A00;
  --grad:      linear-gradient(135deg, #FFC53D 0%, #FF9210 100%);
  --act-tx:    #FFFFFF;

  /* urgência (barra do header) */
  --urg:       linear-gradient(180deg, #E5402F 0%, #C42A1E 100%);

  /* preenchimentos */
  --hair:      rgba(255,146,16,.08);
  --hair-2:    rgba(255,146,16,.18);
  --tint:      #F2EFEC;
  --tint-tx:   #6B5A48;
  --neutral:   #EFEBE7;

  --r: 20px;
  --r-sm: 14px;
  --pill: 999px;
  --shadow: 0 2px 8px rgba(59,35,20,.07);

  /* anel de stories do Instagram */
  --ig-ring: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);

  --display: "Poppins", system-ui, -apple-system, sans-serif;
  --body: "Poppins", system-ui, -apple-system, sans-serif;

  --maxw: 520px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
[hidden] { display: none !important; }

body {
  display: flex; flex-direction: column;
  min-height: 100dvh;
  font-family: var(--body);
  background: var(--bg);
  color: var(--tx);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* grão sutil, igual ao molde */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .015; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- AVATAR COM ANEL DE STORIES ---------------- */
.igring {
  border: 3px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: linear-gradient(var(--neutral), var(--neutral)), var(--ig-ring);
  background-size: cover, cover;
  box-shadow: inset 0 0 0 2.5px var(--bg);
}

.avatar-photo {
  background-image: url("/bio/assets/img/luiza-avatar.jpg"), var(--ig-ring) !important;
  background-clip: padding-box, border-box !important;
  background-origin: border-box !important;
  background-size: cover, cover !important;
  background-position: center, center !important;
  color: transparent !important;
}

.verified { flex: 0 0 auto; filter: drop-shadow(0 1px 2px rgba(56,151,240,.5)); }

/* ---------------- HEADER (telas 2+) ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.topbar__row {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 8px;
}

.topbar__back {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: grid; place-items: center;
  border: none; background: none; cursor: pointer;
  color: var(--tx-soft); border-radius: 50%;
  transition: background .15s;
}
.topbar__back:active { background: var(--hair-2); }

.topbar__brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1 1 auto; }

.topbar__avatar {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 50%; background-size: cover; background-position: center;
}

.topbar__name { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.topbar__namerow {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__name em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--tx-mute); }

/* o contador de perguntas saiu de cena (19/09) */
.topbar__count { display: none; }

/* barra de urgência — vermelha, pedido do Pedro (2026-09-18) */
.urgencybar {
  background: var(--urg);
  color: #fff; text-align: center;
  padding: 7px 14px 8px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.urgencybar b {
  font-family: var(--display);
  font-size: clamp(10.5px, 2.9vw, 12px); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
}
.urgencybar span {
  font-family: var(--display);
  font-size: clamp(11.5px, 3.3vw, 13.5px); font-weight: 800;
  letter-spacing: .01em; text-transform: uppercase; line-height: 1.2;
}

/* na landing o quiz ainda não começou: sem contador, sem progresso */
.topbar--landing .topbar__count,
.topbar--landing .progress,
.topbar--landing .topbar__back { visibility: hidden; }
.topbar--landing .topbar__count,
.topbar--landing .progress { display: none; }

.progress { height: 4px; background: var(--tint); }
.progress__bar {
  height: 100%; width: 6.6%;
  background: var(--grad);
  border-radius: 0 var(--pill) var(--pill) 0;
  transition: width .45s cubic-bezier(.22,1,.36,1);
}

/* ---------------- STAGE / SCREEN ---------------- */
.stage {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 14px 18px 28px;
  display: flex; flex-direction: column;
  flex: 1 1 auto; min-height: 0;
}

.screen { animation: rise .42s cubic-bezier(.22,1,.36,1) both; display: flex; flex-direction: column; flex: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------------- LANDING ---------------- */
.landing {
  justify-content: space-between;
  gap: 10px; text-align: center;
  padding-top: 4px;
}

.landing h1 {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(19px, 5.4vw, 30px); line-height: 1.16; font-weight: 800;
  letter-spacing: -.025em; margin: 12px 0 0;
}

/* o bold da headline na cor do app */
.hl {
  color: var(--accent); font-weight: 800;
  background: linear-gradient(180deg, #FFC53D, #FF9210);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing__h2 {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(14px, 3.8vw, 17px); line-height: 1.32; font-weight: 500;
  color: var(--tx-soft); margin: 9px 0 0;
}

.landing .figure {
  position: relative;
  flex: 1 1 0; min-height: 220px;
  margin-bottom: -6px;
}

.figure picture { display: contents; }

/* absoluta + inset: a foto sempre cabe inteira na caixa, em qualquer
   altura de janela, sem depender de porcentagem de altura */
.figure__img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 14px 20px rgba(59,35,20,.14));
  animation: figIn .6s cubic-bezier(.22,1,.36,1) both;
}
@keyframes figIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------------- CTA ---------------- */
.ctabar {
  position: sticky; bottom: 0; z-index: 20;
  margin: 12px -18px calc(-28px - env(safe-area-inset-bottom));
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92) 26%, #fff 74%);
}
.ctabar--landing { text-align: center; margin-top: 6px; }
.ctabar .btn { margin: 0; }

.btn {
  position: relative; width: 100%;
  border: none; cursor: pointer;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(15px, 4.2vw, 17px); letter-spacing: -.01em;
  color: var(--act-tx);
  padding: clamp(15px, 3.8vw, 18px) 20px; min-height: 54px;
  border-radius: var(--pill);
  background: var(--grad);
  /* "botão de jogo": sombra dura embaixo + halo laranja */
  box-shadow: 0 4px 0 var(--accent-dk), 0 14px 26px -10px rgba(255,146,16,.7);
  transition: transform .12s ease, box-shadow .2s, filter .2s;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dk), 0 8px 16px -10px rgba(255,146,16,.7); }
.btn .arrow { margin-left: 6px; }
.btn .arrow svg { color: var(--act-tx); }

.btn--pulse { animation: btnPulse .9s ease-in-out infinite; transform-origin: center; }
@keyframes btnPulse {
  0%, 100% { transform: scale(1);     box-shadow: 0 4px 0 var(--accent-dk), 0 14px 26px -10px rgba(255,146,16,.7); }
  50%      { transform: scale(1.045); box-shadow: 0 4px 0 var(--accent-dk), 0 18px 34px -8px rgba(255,146,16,.95); }
}
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } .screen { animation: none; } }

.subcta {
  flex: 0 0 auto; text-align: center; margin: 8px 0 0;
  font-size: 13px; font-weight: 700; color: var(--tx);
}

.scarcity {
  flex: 0 0 auto; margin: 5px 0 4px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--tx-soft);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* telas curtinhas (SE, 640-700px de altura): o texto encolhe pra foto respirar */
@media (max-height: 700px) {
  .landing h1 { margin-top: 6px; font-size: clamp(17px, 5vw, 22px); }
  .landing__h2 { margin-top: 5px; font-size: 13.5px; }
  .landing .figure { min-height: 180px; }
  .ctabar { margin-top: 8px; padding-top: 10px; }
  .subcta { margin-top: 6px; font-size: 12px; }
  .scarcity { margin-top: 3px; font-size: 11px; }
  .urgencybar { padding: 5px 14px 6px; }
}

/* telas estreitas: o CTA cabe em uma linha só */
@media (max-width: 380px) {
  .btn { font-size: 14px; padding-left: 12px; padding-right: 12px; }
  .subcta { font-size: 12px; }
}

/* =============================================================
   TELAS DE PERGUNTA (o fluxo das 26 telas)
   ============================================================= */
.screen--q { justify-content: flex-start; gap: 0; text-align: left; padding-top: 18px; }

/* o chip com o nome da pergunta saiu a pedido do Pedro (19/09) */

.q { margin-bottom: 18px; }
.q__title {
  font-family: var(--display);
  font-size: clamp(20px, 5.4vw, 26px); line-height: 1.22; font-weight: 800;
  letter-spacing: -.025em; margin: 0;
}
.q__p {
  font-size: clamp(14px, 3.9vw, 16px); line-height: 1.5; font-weight: 500;
  color: var(--tx-soft); margin: 10px 0 0;
}

/* ---------------- opções ---------------- */
.opts { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 11px;
  width: 100%; text-align: left; cursor: pointer;
  font-family: var(--body); font-size: clamp(14.5px, 4vw, 16px); font-weight: 600; color: var(--tx);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 15px 16px; min-height: 56px;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt::before {
  content: ""; flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--line-2); transition: border-color .15s, box-shadow .15s, background .15s;
}
.opt:hover { border-color: var(--accent); }
.opt:active { transform: scale(.995); }
.opt.on { border-color: var(--accent); background: #FFF8EE; }
.opt.on::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3.5px #fff; }
.opt__txt { flex: 1 1 auto; }

/* ---------------- silhuetas ---------------- */
.sils { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sil {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; font-family: var(--body);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 14px 10px 12px; color: var(--tx-mute);
  transition: border-color .15s, background .15s;
}
.sil:hover { border-color: var(--accent); }
.sil.on { border-color: var(--accent); background: #FFF8EE; color: var(--accent); }
.sil__svg { width: 64px; height: 100px; }
.sil__lb { font-size: 12.5px; font-weight: 700; color: var(--tx); text-align: center; line-height: 1.3; }
.note-inline { margin: 12px 0 0; font-size: 11.5px; color: var(--tx-mute); }

.trio { display: flex; gap: 10px; margin: 16px 0 4px; justify-content: center; }
.trio__c {
  flex: 1 1 0; max-width: 190px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 6px;
  color: var(--accent);
}
.trio__c span { font-size: 11px; font-weight: 700; color: var(--tx-soft); text-align: center; }
.trio__c .sil__svg { width: 46px; height: 74px; }

/* ---------------- número ---------------- */
.numrow { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.num {
  flex: 1 1 auto; width: 100%;
  font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--tx);
  text-align: center; letter-spacing: -.02em;
  padding: 14px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); outline: none;
}
.num:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,146,16,.16); }
.num.erro { border-color: var(--warn, #E8386D); }
.num::-webkit-outer-spin-button, .num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.numrow__unit { font-size: 15px; font-weight: 800; color: var(--tx-soft); }

/* ---------------- slots de mídia ---------------- */
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--soft, #FAF8F6);
  padding: 30px 18px; margin-top: 16px; text-align: center;
}
.slot__play {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px -8px rgba(255,146,16,.8);
}
.slot b { font-size: 14px; font-weight: 800; margin-top: 4px; }
.slot span { font-size: 11.5px; font-weight: 600; color: var(--tx-mute); }

/* ---------------- loading ---------------- */
.load { flex: 0 0 auto; height: 8px; border-radius: var(--pill); background: var(--tint); overflow: hidden; margin-top: 16px; }
.load i { display: block; height: 100%; width: 4%; background: var(--grad); border-radius: var(--pill); transition: width 4s linear; }
.load__txt { flex: 0 0 auto; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--tx-soft); text-align: center; }

/* ---------------- pendências (bastidor, só interno) ---------------- */
.pend {
  margin-top: 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent-2);
  border-radius: 10px; padding: 11px 13px; background: #FFFCF6;
}
.pend b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tint-tx); }
.pend ul { margin: 7px 0 0; padding-left: 16px; }
.pend li { font-size: 11.5px; line-height: 1.5; color: var(--tx-soft); margin-bottom: 3px; }

.screen--q .ctabar { margin-top: auto; }

/* ---------------- cards com foto (Q1 · idade) ---------------- */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.pcard {
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; border: 1.5px solid var(--line); border-radius: var(--r);
  flex-direction: column;
  background: linear-gradient(180deg, #FAF7F3 0%, #F3EEE8 100%);
  aspect-ratio: 3 / 4;
  transition: border-color .15s, transform .1s, box-shadow .2s;
}
.pcard:hover { border-color: var(--accent); }
.pcard:active { transform: scale(.99); }
.pcard.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,146,16,.18); }

.pcard__ph { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.pcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.pcard__bar {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 9px 12px; min-height: 40px;
  background: var(--grad); color: #fff;
  font-family: var(--display); font-size: 13.5px; font-weight: 800; letter-spacing: -.01em;
}
.pcard.on .pcard__bar { background: linear-gradient(135deg, #FFB43D, #F07800); }

@media (max-width: 360px) {
  .pcard__bar { font-size: 12.5px; padding: 8px 10px; }
  .cards2--fit .pcard__bar { font-size: 12px; padding: 9px 11px; min-height: 42px; }
}

/* grade que se ajusta à altura: as opções cabem todas na tela, sem rolar */
.cards2--fit {
  flex: 1 1 0; min-height: 0;
  grid-auto-rows: 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.cards2--fit .pcard { aspect-ratio: auto; height: 100%; min-height: 0; }
.cards2--fit .pcard--wide { grid-column: 1 / -1; }
.cards2--fit .pcard__bar {
  min-height: 46px; padding: 11px 13px;
  font-size: clamp(12.5px, 3.7vw, 15px); line-height: 1.26;
}
.cards2--fit .pcard__bar span {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; text-align: left;
}

/* grade de 5 cards (Q2): a foto é o que importa, então título e faixa
   cedem espaço. Letra um tiquinho menor pra caber "não projeta nada
   atrás" inteiro, sem reticências. */
.cards2--cheia { gap: 6px; }
/* nas telas de foto a moldura aperta pra sobrar imagem */
.stage:has(.cards2--fit) { padding-bottom: 12px; }
.screen--q:has(.cards2--fit) { padding-top: 10px; }
.cards2--cheia .pcard__bar {
  min-height: 0; padding: 7px 10px;
  font-size: clamp(11px, 3.2vw, 13px); line-height: 1.2;
}
.cards2--cheia .pcard { border-radius: var(--r-sm); }
.screen--q:has(.cards2--cheia) .q { margin-bottom: 8px; }
.screen--q:has(.cards2--cheia) .q__title { font-size: clamp(16px, 4.3vw, 20px); line-height: 1.18; }
.cards2--fit .pcard__bar svg { flex: 0 0 auto; }
.cards2--fit .pcard__ph img { object-position: center; }

/* a Q2 tem 5 fotos: o título encolhe pra grade respirar */
.screen--choice .cards2--fit ~ .q,
.screen--q:has(.cards2--fit) .q__title { font-size: clamp(17px, 4.6vw, 22px); }
.screen--q:has(.cards2--fit) .q { margin-bottom: 12px; }

/* ---------------- tela com foto sangrando no fundo (Q4) ---------------- */
.screen--photobg { position: relative; overflow: hidden; margin-right: -18px; padding-right: 18px; }
.screen--photobg .q,
.screen--photobg .opts { position: relative; z-index: 1; }

/* aqui as opções não esticam: o espaço que sobra é da foto */
.screen--photobg .opts { gap: 9px; }
.screen--photobg .opt {
  min-height: 54px;
  width: 74%; min-width: 235px;
  padding: 13px 15px; font-size: clamp(13.5px, 3.8vw, 15.5px);
  background: var(--bg);
}
.screen--photobg .opt::before { width: 19px; height: 19px; }
.screen--photobg .q__title { max-width: 94%; }

.photobg {
  position: absolute; right: -18px; bottom: -8px;
  height: 58%; max-height: 480px;
  z-index: 0; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.photobg img {
  height: 100%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom right;
  filter: drop-shadow(0 12px 18px rgba(59,35,20,.12));
}
/* o topo da foto some suave, em vez de bater numa faixa branca */
.photobg img {
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 10%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 10%);
}
.screen--photobg .note-inline { position: relative; z-index: 1; margin-top: auto; }

@media (max-height: 700px) {
  .photobg { height: 50%; }
  .screen--photobg .opt { min-height: 48px; padding: 11px 14px; font-size: 14px; }
  .screen--photobg .opts { gap: 7px; }
  .screen--photobg .q { margin-bottom: 10px; }
}

/* destaque vermelho (~~assim~~), no mesmo vermelho da barra de urgência */
.hl-red { color: #E5402F; font-weight: 800; -webkit-text-fill-color: currentColor; }

/* o vídeo do canto se comporta igual à foto.
   O mockup vem recortado no tamanho exato do celular; o arredondamento
   aqui come as quatro quininhas de fundo que sobram das bordas do iPhone. */
.photobg video {
  height: 100%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom right;
  border-radius: 12% / 5.6%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 10%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 10%);
}

/* ---------------- roleta de altura e peso ---------------- */
.wheel {
  position: relative;
  flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 6px;
}

.wheel__scroll {
  height: 270px; width: 100%; max-width: 260px;
  overflow-y: auto; overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
}
.wheel__scroll::-webkit-scrollbar { display: none; }

.wheel__pad { height: 108px; }        /* (270 - 54) / 2 */

.wheel__i {
  height: 54px; display: flex; align-items: center; justify-content: center;
  scroll-snap-align: center; cursor: pointer; user-select: none;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  color: var(--tx-mute); opacity: .55;
  transition: color .12s, opacity .12s, font-size .12s;
}
.wheel__i.perto { opacity: .8; font-size: 23px; color: var(--tx-soft); }
.wheel__i.on {
  opacity: 1; font-size: 34px; font-weight: 800; color: var(--tx);
  letter-spacing: -.02em;
}

/* a faixa que marca o valor escolhido */
.wheel__guia {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: 250px; height: 56px;
  border-top: 1.5px solid var(--line-2); border-bottom: 1.5px solid var(--line-2);
  background: linear-gradient(90deg, rgba(255,201,61,.10), rgba(255,146,16,.10));
  border-radius: 10px; pointer-events: none;
}

.wheel__unit {
  position: absolute; left: 50%; top: 50%;
  transform: translate(62px, -50%);
  font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--accent);
  pointer-events: none;
}

@media (max-height: 700px) {
  .wheel__scroll { height: 216px; }
  .wheel__pad { height: 81px; }
}

/* no diagnóstico, o quadro do destino mostra a foto escolhida */
.trio__c--foto { padding: 0; overflow: hidden; border-radius: var(--r-sm); }
.trio__c--foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.trio__c--foto span { padding: 7px 6px 9px; }

/* ---------------- carrossel do loading ---------------- */
.carrossel {
  flex: 1 1 0; min-height: 0;
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 14px; overflow: hidden;
}
.carrossel__trilho {
  display: flex; flex: 1 1 auto; min-height: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.carrossel__slide {
  flex: 0 0 100%; min-width: 0;
  display: flex; align-items: center; justify-content: center;
}
.carrossel__slide video {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 14px 30px -18px rgba(59,35,20,.4);
}
.carrossel__pts { display: flex; gap: 6px; justify-content: center; flex: 0 0 auto; }
.carrossel__pts i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-2); transition: background .25s, width .25s;
}
.carrossel__pts i.on { width: 18px; border-radius: var(--pill); background: var(--accent); }

/* ---------------- tela do nome ---------------- */
.nomebox { margin-top: 10px; }
.nome-input {
  width: 100%; font-family: var(--display);
  font-size: 22px; font-weight: 700; color: var(--tx); text-align: center;
  padding: 16px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); outline: none;
}
.nome-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,146,16,.16); }
.nome-input.erro { border-color: #E5402F; }

/* ---------------- diagnóstico com cara de post ---------------- */
.screen--post { justify-content: flex-start; min-height: 0; overflow: hidden; }
.post {
  flex: 1 1 0; min-height: 0;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--bg);
}

.post__top { display: flex; align-items: center; gap: 9px; padding: 9px 11px; flex: 0 0 auto; }
.post__av { width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; background-size: cover; }
.post__quem { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.post__nome { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; }
.post__quem em { font-style: normal; font-size: 10.5px; color: var(--tx-mute); font-weight: 600; }

/* a "foto" do post: hoje → objetivo */
.cmp {
  flex: 1 1 0; min-height: 110px;
  display: flex; align-items: stretch; gap: 0;
  background: var(--soft, #FAF8F6); position: relative;
}
.cmp__f { flex: 1 1 0; margin: 0; min-width: 0; display: flex; flex-direction: column; }
.cmp__f img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; }
.cmp__f figcaption {
  flex: 0 0 auto; padding: 7px 9px; text-align: center; background: var(--bg);
  display: flex; flex-direction: column; gap: 1px;
}
.cmp__f figcaption b { font-size: 12.5px; font-weight: 800; }
.cmp__f figcaption span {
  font-size: 10px; color: var(--tx-mute); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cmp__f:last-child figcaption b { color: var(--accent); }
.cmp__seta {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(255,146,16,.9);
}

.post__acoes { display: flex; gap: 14px; padding: 9px 11px 4px; color: var(--tx); flex: 0 0 auto; }
.post__acoes .curtiu { color: #E5402F; }

.post__leg { padding: 2px 11px 7px; flex: 0 1 auto; min-height: 0; overflow: hidden; }
.post__leg p { margin: 0; font-size: 13px; line-height: 1.42; color: var(--tx); }
.post__leg b { font-weight: 800; }
.post__plano { margin-top: 4px !important; color: var(--tx-soft) !important; }

.dados { display: flex; gap: 8px; padding: 0 11px 8px; flex: 0 0 auto; }
.dados__c {
  flex: 1 1 0; border: 1px solid var(--line); border-radius: 11px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 1px;
}
.dados__c b { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.dados__c span { font-size: 10px; font-weight: 700; color: var(--tx-mute); text-transform: uppercase; letter-spacing: .04em; }
.post__imc { margin: 0; padding: 0 11px 11px; font-size: 12px; line-height: 1.4; color: var(--tx-soft); flex: 0 0 auto; }

.post__video { flex: 0 1 auto; min-height: 0; padding: 0 11px 11px; }
.post__video video { width: 100%; max-height: 190px; object-fit: contain; border-radius: var(--r-sm); }

/* a tela do diagnóstico tem que caber inteira: sem rolagem, em qualquer celular */
.screen--post .ctabar {
  position: static;            /* aqui o botão não flutua: ele empurra, e o post encolhe */
  margin: 8px 0 0; padding: 0;
  background: none;
}
.stage:has(.screen--post) { padding-bottom: 12px; padding-top: 10px; }

@media (max-height: 800px) {
  .post__top { padding: 7px 10px; }
  .post__av { width: 28px; height: 28px; }
  .post__acoes { padding: 7px 10px 2px; }
  .post__leg p { font-size: 12.5px; line-height: 1.36; }
  .dados { padding: 0 10px 6px; }
  .dados__c { padding: 6px 9px; }
  .dados__c b { font-size: 15px; }
  .post__imc { font-size: 11.5px; padding: 0 10px 8px; }
  .cmp__f figcaption { padding: 5px 8px; }
}

@media (max-height: 700px) {
  /* tela baixa: a legenda encurta e o resto some, mas o essencial
     (comparação, trava, IMC) continua visível sem rolar */
  .post__leg p { font-size: 11.5px; line-height: 1.3; }
  .post__leg p:first-child {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .post__plano { display: none; }
  .post__acoes { display: none; }
  .cmp__f figcaption span { display: none; }
  .post__imc { display: none; }
  .cmp { min-height: 90px; }
  .dados { padding: 0 10px 8px; }
  .dados__c { padding: 5px 8px; }
  .dados__c b { font-size: 13.5px; }
  .dados__c span { font-size: 9px; }
}

.post__seg { font-weight: 800; color: var(--tx-soft); }
.post__trava { margin-top: 4px !important; }
.post__trava b { font-weight: 800; }
@media (max-height: 700px) { .post__trava { font-size: 11.5px; } }

/* =============================================================
   DIAGNÓSTICO · modelo BetterMe (abas, duas fotos, dados em coluna)
   ============================================================= */
.screen--bm { justify-content: flex-start; }

.bm__abas {
  display: flex; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: var(--pill);
  overflow: hidden; margin-top: 4px;
}
.bm__abas span {
  flex: 1 1 0; text-align: center; padding: 8px 6px;
  display: flex; flex-direction: column; gap: 1px;
  font-family: var(--display); color: var(--tx-soft);
}
.bm__abas span b { font-size: 12.5px; font-weight: 800; }
.bm__abas span em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--tx-mute); }
.bm__abas .alvo { color: var(--accent); }
.bm__abas .alvo b { color: var(--accent); }
.bm__abas .alvo em { color: var(--accent-dk); }

.bm__fotos {
  position: relative; flex: 0 0 auto;
  display: flex; gap: 6px; margin: 12px -8px 0;   /* rouba a margem lateral pra foto crescer */
}
/* 4/5 deixa a foto alta o suficiente pra ela ver o formato de verdade */
.bm__f {
  flex: 1 1 0; margin: 0; min-width: 0; overflow: hidden;
  aspect-ratio: 1 / 1;              /* o recorte já é quadrado: aparece inteiro, sem corte */
  border-radius: var(--r); background: var(--soft, #FAF8F6);
}
.bm__f img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.bm__dados, .bm__txt { margin-left: 0; margin-right: 0; }
.bm__seta {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; color: var(--accent);
  width: 52px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border-radius: var(--pill);
  box-shadow: 0 6px 16px -8px rgba(59,35,20,.5);
}

.bm__dados { display: flex; gap: 10px; flex: 0 0 auto; margin-top: 12px; }
.bm__col {
  flex: 1 1 0; min-width: 0;
  border-top: 2px solid var(--line); padding-top: 9px;
}
.bm__col--alvo { border-top-color: var(--accent); }
.bm__col--alvo .bm__val { color: var(--accent-dk); }
.bm__col--alvo .bm__rot { color: var(--accent); }
.bm__rot {
  margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--tx-mute);
}
.bm__val {
  margin: 1px 0 9px; font-family: var(--display);
  font-size: 13px; font-weight: 800; line-height: 1.22; color: var(--tx);
}

.bm__barras { display: flex; gap: 4px; }
.bm__barras i { flex: 1 1 0; height: 5px; border-radius: var(--pill); background: var(--tint); }
.bm__barras i.on { background: var(--grad); }

.bm__txt { flex: 0 1 auto; min-height: 0; margin-top: 13px; }
.bm__txt p { margin: 0 0 7px; font-size: 13.5px; line-height: 1.45; color: var(--tx-soft); }
.bm__txt .hl-red { font-size: 1.06em; }
.bm__trava { color: var(--tx) !important; }
.bm__trava b { font-weight: 800; }
.bm__disse { color: var(--tx-soft) !important; }

.bm__imc {
  display: flex; align-items: center; gap: 11px; margin-top: 9px;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px;
}
.bm__imcnum { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.bm__imcnum b { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.bm__imcnum span { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--tx-mute); }
.bm__imc p { margin: 0 !important; font-size: 12px; line-height: 1.38; }

/* o botão fica sempre alcançável */
.screen--bm .ctabar { position: sticky; bottom: 0; }
.screen--bm .bm__txt { padding-bottom: 86px; }   /* espaço pro botão flutuante não cobrir a última linha */
/* o conteúdo rola por baixo do botão, mas a última linha sempre sobra à vista */
.screen--bm { padding-bottom: 4px; }
.screen--bm .ctabar {
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 34%);
}

/* pulsa três vezes quando a tela abre e depois fica quieto */
.btn--pulse3 { animation: btnPulse .85s ease-in-out 3; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .btn--pulse3 { animation: none; } }

@media (max-height: 760px) {
  .bm__abas span { padding: 7px 6px; }
  .bm__abas span b { font-size: 12px; }
  .bm__val { font-size: 12px; margin-bottom: 7px; }
  .bm__txt p { font-size: 12px; }
  .bm__plano { display: none; }
}

.bm__dica { color: var(--tx) !important; }
.bm__dica b { font-weight: 800; color: var(--tx); }
.bm__ponte {
  color: var(--tx) !important; font-weight: 700 !important;
  border-left: 3px solid var(--accent); padding-left: 10px; margin-top: 10px !important;
}

/* o vídeo do exercício dentro do diagnóstico */
.bm__video { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 5px; }
.bm__video video {
  width: 100%; max-height: 210px; object-fit: contain;
  border-radius: var(--r-sm); background: var(--soft, #FAF8F6);
}
.bm__video span { font-size: 11px; font-weight: 700; color: var(--tx-mute); text-align: center; }

/* ---------- quiz geral ---------- */

/* a saída de emergência do subtipo: link discreto, sem peso de botão (V21 §tela 3) */
.escape {
  display: block; margin: 16px auto 0; padding: 6px 4px;
  background: none; border: 0; font: inherit;
  font-size: 12.5px; color: var(--tx-mute);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* diagnóstico sem a foto do braço ainda: o rótulo que ela escolheu no lugar */
.bm__semfoto {
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: 10px 30px 10px 12px; text-align: center;
  font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--tx-soft);
}
.bm__f + .bm__seta + .bm__f .bm__semfoto { padding: 10px 12px 10px 30px; }

/* Q4 do quiz geral: a foto dela sentada é mais larga que a do bumbum,
   então o encosto do banco sai pela borda direita e o rosto fica livre dos cards */
.photobg--lateral { right: -46px; }

/* VSL da VTurb na tela u-vsl */
.vsl-player { width: min(100%, 400px); margin: 8px auto 16px; }
/* 29/10/2026: o vídeo cabe inteiro na altura do celular (cortava ~140px embaixo).
   Largura = (altura da tela − o que vem acima do vídeo) × 9/16. */
.vsl-player { --vsl-topo: 190px; width: min(100%, 400px, max(230px, calc((100vh - var(--vsl-topo)) * 9 / 16))); width: min(100%, 400px, max(230px, calc((100dvh - var(--vsl-topo)) * 9 / 16))); }
.btn--reserva { display: block; text-align: center; text-decoration: none; background: #16A34A; color: #fff; font-size: 22px; } /* sem fundo: o "Comprar agora" da VTurb fica fora do vídeo, na página */
.vsl-player > vturb-smartplayer { display: block; width: 100% !important; }
