/* VendePay: questionário em etapas. Layout próprio sobre os tokens e componentes de captura.css. */
.lp--centered .qz-main { padding-top: 48px; }
.qz { position: relative; width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 22px; padding: 28px 28px 26px; border-radius: 22px; }
.qz::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(155, 241, 193, 0), rgba(155, 241, 193, .75), rgba(155, 241, 193, 0)); }

/* Topo: voltar + progresso */
.qz-top { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.qz-back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; padding: 0; border: 0; border-radius: var(--radius-sm, 10px); background: none; color: var(--ink-subtle, #919191); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s ease, background .2s ease; }
.qz-back:hover { color: var(--ink, #ffffff); background: rgba(255, 255, 255, .05); }
.qz-back:focus-visible { outline: 2px solid var(--focus-ring, #0af471); outline-offset: 2px; }
.qz-back svg { width: 22px; height: 22px; }
.qz-steps { flex: 1; }
.qz-steps span { white-space: nowrap; }

/* Telas */
.qz-screen { display: flex; flex-direction: column; gap: 18px; }
.qz-screen > * { margin: 0; }
.qz-enter { animation: qz-in .28s ease both; }
@keyframes qz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Abertura */
.qz-intro { align-items: center; text-align: center; gap: 20px; padding: 6px 0 2px; }
.qz-title { font-size: 44px; line-height: 1.06; font-weight: 400; letter-spacing: -0.032em; color: var(--ink, #ffffff); text-wrap: balance; }
.qz-title .vp-text-brand { padding-bottom: .1em; }
.qz-note { padding: 12px 16px; border-radius: var(--radius-md, 12px); background: rgba(10, 244, 113, .06); border: 1px solid rgba(10, 244, 113, .25); font-size: 15px; line-height: 1.5; color: var(--ink-body, #c5c5c5); text-wrap: balance; }
.qz-small { font-size: 13px; line-height: 1.4; color: var(--ink-subtle, #919191); text-align: center; }
.qz .vp-btn--lg { min-height: 58px; font-size: 15px; }

/* Pergunta e opções */
.qz-question { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; color: var(--ink, #ffffff); text-wrap: balance; outline: none; }
.qz-options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-option { width: 100%; min-height: 60px; font: inherit; font-size: 16px; text-align: left; }
.qz-options--2 .qz-option { min-height: 54px; padding: 12px 14px; font-size: 15px; }
.qz-option:focus-visible { outline: 2px solid var(--focus-ring, #0af471); outline-offset: 2px; }
.qz-option .vp-option__go { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--ink-subtle, #919191); transition: transform .2s ease, color .2s ease; }
.qz-option:hover .vp-option__go { transform: translateX(3px); color: var(--green-500, #0af471); }
.qz-other { display: flex; flex-direction: column; gap: 12px; }
.qz-other [type="submit"][disabled] { cursor: not-allowed; opacity: .5; filter: none; }
.qz-form { display: flex; flex-direction: column; gap: 16px; }
.qz-form .vp-label { font-size: 14px; }
.qz-form [type="submit"] { margin-top: 4px; }
.qz-form .vp-check a { color: var(--green-500, #0af471); text-underline-offset: 2px; }

/* Sucesso */
.qz-success { align-items: center; text-align: center; padding: 18px 0 8px; }
.qz-success .lp-success__title { font-size: 28px; }
.qz-success .lp-success__text { max-width: 36ch; text-wrap: balance; }
.qz-foot-link { color: inherit; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .qz-enter { animation: none; }
  .qz-back, .qz-option .vp-option__go { transition: none; }
}

@container lp (max-width: 760px) {
  .lp--centered .qz-main { padding-top: 20px; }
  .qz { padding: 20px 18px 22px; gap: 18px; border-radius: 20px; }
  .qz-title { font-size: 34px; }
  .qz-question { font-size: 20px; }
  .qz-note { font-size: 14.5px; }
  .qz .vp-btn--lg { padding-inline: 14px; }
  .qz [data-testid="quiz-start-btn"] .vp-btn__icon, .qz-form [type="submit"] .vp-btn__icon { display: none; }
}
@container lp (max-width: 359px) {
  .qz-options--2 { grid-template-columns: minmax(0, 1fr); }
}
