/* Diagnóstico em formato de quiz (funil sem saídas). Usa os tokens de /assets/style.css. */

.qz-body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background:
    radial-gradient(120% 60% at 50% -10%, var(--gold-tint) 0%, rgba(247,239,226,0) 60%),
    #fff;
  color: var(--ink);
}
.qz { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

/* topo: voltar, marca, barra */
.qz-top {
  position: sticky; top: 0; z-index: 5;
  display: grid; grid-template-columns: 40px 1fr 40px; align-items: center;
  padding: 10px 16px 0; background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.qz-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 .86rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); }
.qz-brand img { width: 26px; height: 26px; }
.qz-back { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--gold-deep); display: grid; place-items: center; cursor: pointer; }
.qz-back:hover { background: var(--gold-tint); }
.qz-bar { grid-column: 1 / -1; height: 5px; margin: 10px 0 0; border-radius: 99px; background: var(--line); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: 99px; transition: width .35s ease; }
.qz.is-offer .qz-bar, .qz.is-offer .qz-back { visibility: hidden; }

.qz-main { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 18px; }

/* tela */
.sc { flex: 1; display: flex; flex-direction: column; animation: scIn .22s ease both; }
@keyframes scIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc { animation: none; } .qz-bar i { transition: none; } }

.sc-kicker { margin: 0 0 6px; font: 600 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); text-align: center; }
.sc-title { margin: 0 0 6px; font: 500 1.42rem/1.2 var(--serif); text-align: center; color: var(--ink); }
.sc-title em { color: var(--gold); }
.sc-title:focus { outline: none; }
.sc-sub { margin: 0 0 14px; font-size: .92rem; line-height: 1.45; text-align: center; color: var(--ink-soft); }
.sc-hint { margin: 0 0 10px; font-size: .8rem; text-align: center; color: var(--ink-soft); }

/* opções */
.ops { display: grid; gap: 8px; }
.op {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px;
  padding: 8px 14px 8px 8px; border: 1.5px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.9); color: var(--ink); text-align: left;
  font: 500 .95rem/1.3 var(--sans); cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.op:hover { border-color: var(--gold-light); }
.op:active { transform: scale(.985); }
.op[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-tint); }
.op-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-deep); }
.op[aria-pressed="true"] .op-ic { background: var(--gold-grad); color: #fff; }
.op-ic svg { width: 20px; height: 20px; }
.op-tx { flex: 1; }
.op-ck { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--gold-light); display: grid; place-items: center; }
.op[aria-pressed="true"] .op-ck { background: var(--gold); border-color: var(--gold); }
.op[aria-pressed="true"] .op-ck::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.ops.compact .op { min-height: 46px; font-size: .9rem; }
.ops.compact .op-ic { flex-basis: 32px; width: 32px; height: 32px; }

/* opções com foto (tela 1) */
.ops-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.op-photo {
  position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer;
  background: var(--sand); box-shadow: 0 14px 30px -18px rgba(140,106,58,.6);
  aspect-ratio: 3 / 4; transition: transform .15s;
}
.op-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-photo span {
  position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--gold-grad); color: #fff; font: 600 1rem/1 var(--sans);
  box-shadow: 0 0 0 5px rgba(255,255,255,.45);
}
.op-photo:active { transform: scale(.98); }

/* escala de concordância */
.belief { margin: 2px 0 16px; padding: 18px 16px; border-radius: 20px; background: var(--gold-tint); border: 1px solid var(--gold-light); text-align: center; font: italic 500 1.18rem/1.35 var(--serif); }
.scale { display: grid; gap: 8px; }

/* campo de texto e formulário */
.qz-field { display: grid; gap: 6px; margin-bottom: 12px; }
.qz-field label { font: 600 .86rem/1.2 var(--sans); }
.qz-field input, .qz-field textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  font: 500 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
}
.qz-field textarea { min-height: 120px; resize: vertical; }
.qz-field input:focus, .qz-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
.qz-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin: 2px 0 10px; }
.qz-consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--gold); }
.qz-err { min-height: 1.2em; margin: 0 0 8px; font-size: .85rem; color: #A3402B; text-align: center; }

/* rodapé da tela: botão continuar */
.sc-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
.sc-foot .btn { width: 100%; min-height: 56px; padding: 14px 24px; }
.qz-skip { border: 0; background: none; color: var(--ink-soft); font: 500 .88rem var(--sans); text-decoration: underline; cursor: pointer; padding: 6px; }

/* inserções */
.ins-img { margin: 0 auto 10px; width: 100%; max-height: 27vh; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px -24px rgba(140,106,58,.7); }
.ins-img.obj { object-fit: contain; box-shadow: none; background: none; max-height: 20vh; }
.ins-text { font-size: .95rem; line-height: 1.55; margin: 0 0 10px; text-align: center; }
.quotes { display: grid; gap: 8px; margin: 4px 0 6px; }
.quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: rgba(247,239,226,.7); font: italic 400 .9rem/1.45 var(--serif); }
.src { margin: 4px 0 0; font-size: .74rem; color: var(--ink-soft); text-align: center; }
.verse-box { margin: 6px 0 4px; padding: 16px; border-radius: 18px; background: var(--gold-tint); text-align: center; }
.verse-box p { margin: 0 0 6px; font: italic 500 1.08rem/1.4 var(--serif); }
.verse-box cite { font: 600 .8rem var(--sans); color: var(--gold-deep); font-style: normal; }

/* segurança */
.safe { padding: 18px; border-radius: 20px; background: #FFF4EF; border: 1.5px solid #E7B9A8; }
.safe h2 { margin: 0 0 8px; font: 500 1.3rem/1.25 var(--serif); }
.safe p { margin: 0 0 10px; font-size: .92rem; line-height: 1.5; }
.tels { display: grid; gap: 8px; margin: 10px 0 4px; }
.tel { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #E7B9A8; color: var(--ink); text-decoration: none; font-size: .9rem; }
.tel strong { font-size: 1.25rem; color: #A3402B; }

/* carregamento */
.load { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.ring { width: 120px; height: 120px; }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .2s linear; }
.load-pct { font: 500 1.6rem var(--serif); margin-top: -92px; margin-bottom: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; font-size: .9rem; }
.steps li { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold-light); flex: 0 0 18px; }
.steps li.ok { color: var(--ink); }
.steps li.ok::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--gold); }

/* resultado */
.res-tag { display: inline-block; margin: 0 auto 8px; padding: 6px 12px; border-radius: 99px; background: var(--gold-tint); color: var(--gold-deep); font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.meter { margin: 12px 0 6px; padding: 14px 14px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; font-weight: 600; }
.meter-top b { font: 500 1.3rem var(--serif); color: var(--gold-deep); }
.meter-track { position: relative; height: 10px; margin: 10px 0 6px; border-radius: 99px; background: linear-gradient(90deg, #E6EFE4, #F3E3C4 50%, #F0C9B8); }
.meter-dot { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(0,0,0,.2); }
.meter-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-soft); }
.meter-why { margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }
.cards { display: grid; gap: 8px; margin: 10px 0; }
.card { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.card h3 { margin: 0 0 4px; font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.card p { margin: 0; font-size: .9rem; line-height: 1.5; }
.card ul { margin: 4px 0 0; padding-left: 18px; font-size: .88rem; line-height: 1.5; }
.res-body p { font-size: .95rem; line-height: 1.6; margin: 0 0 10px; }

/* oferta */
.of { padding-bottom: 96px; }
.of h1 { font: 500 1.7rem/1.18 var(--serif); text-align: center; margin: 6px 0 10px; }
.of h1 em { color: var(--gold); }
.of h2 { font: 500 1.35rem/1.22 var(--serif); margin: 28px 0 10px; }
.of p, .of li { font-size: .97rem; line-height: 1.6; }
.of-book { display: block; width: 74%; max-width: 280px; margin: 4px auto 8px; }
.of-you { padding: 16px; border-radius: 20px; background: var(--gold-tint); border: 1px solid var(--gold-light); }
.of-you ul { margin: 6px 0 0; padding-left: 20px; }
.of-you blockquote { margin: 10px 0 0; font: italic 400 .98rem/1.5 var(--serif); }
.chap { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chap li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.chap li.hit { border-color: var(--gold); background: var(--gold-tint); font-weight: 600; }
.chap li.hit small { display: block; font-weight: 500; color: var(--gold-deep); }
.price { margin: 18px 0; padding: 20px 18px; border-radius: 24px; text-align: center; background: rgba(255,255,255,.75); border: 1.5px solid var(--gold-light); box-shadow: 0 20px 44px -28px rgba(140,106,58,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.price .val { font: 500 3rem/1 var(--serif); color: var(--gold-deep); margin: 6px 0; }
.price small { display: block; color: var(--ink-soft); font-size: .82rem; }
.price .btn { width: 100%; margin-top: 14px; }
.who { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.who img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.guar { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.guar b { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #fff; font: 600 .78rem/1.05 var(--sans); text-align: center; }
.faq details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; }
.of-note { font-size: .78rem !important; color: var(--ink-soft); text-align: center; }
.of-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.of-sticky .btn { display: flex; width: 100%; max-width: 488px; margin: 0 auto; min-height: 54px; padding: 12px 20px; }

@media (min-width: 700px) {
  .qz-main { padding-top: 28px; }
  .sc-title { font-size: 1.7rem; }
  .of h1 { font-size: 2.1rem; }
}
@media (max-height: 700px) {
  .sc-title { font-size: 1.28rem; }
  .sc-sub { margin-bottom: 10px; }
  .op { min-height: 48px; }
  .ops { gap: 7px; }
}
.qz-back[hidden] { display: grid; visibility: hidden; }
.sc-ask { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; text-align: center; color: var(--ink); margin: 6px 0 14px; }
.op-photo img { object-position: 30% 20%; }
.ins-img:not(.obj) { object-position: 50% 12%; }

/* sexo: ícone rosa / azul no lugar da foto */
.op-photo .sx{position:absolute;inset:0 0 70px;display:grid;place-items:center}
.op-photo .sx svg{width:46%;max-width:150px;height:auto}
.op-ic-m{background:linear-gradient(160deg,#FDEBF1,#F7C9D9)!important;color:#D9668F}
.op-ic-h{background:linear-gradient(160deg,#E8F1FB,#C5DBF3)!important;color:#3F78B8}

/* faixa do topo ocupa a largura toda */
.qz-top{margin:0 calc(50% - 50vw);padding-left:calc(50vw - 50% + 16px);padding-right:calc(50vw - 50% + 16px)}
.qz-body{overflow-x:hidden}
