/* Quiz / demonstração do Orcel (quiz.orcel.online). Usa as mesmas cores, fontes e componentes do app. */
:root { --q-noite: #0b2530; --q-noite2: #123c49; }
body.q-aberto { overflow: hidden; }

/* ---------- entrada (tela escura, estilo "abertura") ---------- */
.q-tela {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: radial-gradient(120% 60% at 85% -5%, rgba(24,183,173,.35), rgba(24,183,173,0) 60%), linear-gradient(180deg, #0d2a35 0%, #0a1f28 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center;
  padding: calc(env(safe-area-inset-top) + 16px) 20px calc(env(safe-area-inset-bottom) + 22px);
}
.q-tela[hidden] { display: none; }
.q-tela > * { width: 100%; max-width: 440px; }
.q-marca { display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--fonte-tit); font-weight: 800; font-size: 26px; letter-spacing: -.6px; margin-bottom: 14px; }
.q-marca img { display: block; }
.q-grao { position: absolute; border-radius: 50%; pointer-events: none; opacity: .5; background: rgba(24,183,173,.5); filter: blur(1px); animation: qFlutua 9s ease-in-out infinite; }
@keyframes qFlutua { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* cena animada: falar → proposta pronta (repete sozinha) */
.q-cena { position: relative; height: 296px; overflow: hidden; border-radius: 26px; padding: 14px; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.q-cena-a { animation: qA 9s infinite; }
@keyframes qA { 0%,30% { opacity: 1; } 37%,88% { opacity: 0; } 96%,100% { opacity: 1; } }
.q-cena-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.q-cena-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff5d6c; box-shadow: 0 0 0 0 rgba(255,93,108,.6); animation: qPing 1.4s infinite; }
@keyframes qPing { to { box-shadow: 0 0 0 9px rgba(255,93,108,0); } }
.q-fala { display: flex; align-items: center; gap: 12px; }
.q-fala-mic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 35% 30%, #22d3c8, #0FA399 70%); box-shadow: 0 0 0 7px rgba(24,183,173,.18); }
.q-onda { display: flex; align-items: center; gap: 3px; height: 38px; flex: 1; }
.q-onda i { flex: 1; max-width: 5px; height: 100%; border-radius: 4px; background: var(--turq); transform-origin: center; animation: qOnda 1s ease-in-out infinite; }
.q-onda i:nth-child(3n) { animation-delay: -.3s; } .q-onda i:nth-child(3n+1) { animation-delay: -.6s; } .q-onda i:nth-child(4n) { animation-delay: -.15s; background: #7ee8e0; }
@keyframes qOnda { 0%,100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.q-frase { margin: 12px 2px 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.9); min-height: 40px; font-style: italic; }
.q-frase span { display: inline; animation: qFrase 9s infinite; opacity: 0; }
.q-frase span:nth-child(1) { animation-delay: 0s; } .q-frase span:nth-child(2) { animation-delay: .5s; } .q-frase span:nth-child(3) { animation-delay: 1s; } .q-frase span:nth-child(4) { animation-delay: 1.5s; }
@keyframes qFrase { 0%,3% { opacity: 0; } 8%,82% { opacity: 1; } 92%,100% { opacity: 0; } }
.q-prop { position: absolute; left: 14px; right: 14px; top: 14px; background: #fff; color: var(--tinta); border-radius: 18px; padding: 13px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: qProp 9s infinite; opacity: 0; transform: translateY(14px) scale(.96); }
@keyframes qProp { 0%,30% { opacity: 0; transform: translateY(14px) scale(.96); } 38%,86% { opacity: 1; transform: none; } 94%,100% { opacity: 0; transform: translateY(-6px); } }
.q-prop-t { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: var(--marca); text-transform: uppercase; }
.q-prop-t b { color: var(--suave); font-weight: 700; }
.q-prop-c { margin: 6px 0 8px; font-weight: 800; font-size: 15px; }
.q-prop-c small { display: block; font-weight: 500; color: var(--suave); font-size: 12.5px; }
.q-prop-i { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-top: 1px solid #eef3f3; color: #314d57; }
.q-prop-tot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; background: var(--tinta); color: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 800; }
.q-prop-tot span { font-size: 11px; letter-spacing: .6px; color: var(--turq); }
.q-prop-tot b { font-family: var(--fonte-tit); font-size: 19px; }
.q-prop-zap { margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--whats); color: #fff; border-radius: 12px; padding: 10px; font-weight: 800; font-size: 14px; }

.q-copy { text-align: center; margin-top: 18px; }
.q-sup { font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,.82); }
.q-tit { font-family: var(--fonte-tit); font-weight: 800; font-size: 28px; line-height: 1.12; letter-spacing: -.8px; margin: 6px 0 10px; }
.q-tit em { font-style: normal; color: var(--turq); }
.q-sub { margin: 0 auto; max-width: 360px; color: rgba(255,255,255,.72); font-size: 15.5px; line-height: 1.45; }
.q-cta { margin-top: 20px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; padding: 16px 20px; font-family: var(--fonte-tit); font-weight: 800; font-size: 17.5px; color: #fff; background: linear-gradient(180deg, #1fd0c4, #12a39a); box-shadow: 0 6px 0 #0b6f69, 0 18px 40px rgba(24,183,173,.35); transition: transform .12s, box-shadow .12s; }
.q-cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #0b6f69, 0 8px 20px rgba(24,183,173,.3); }
.q-cta i { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #12a39a; display: grid; place-items: center; flex: none; }
.q-pe { margin-top: 14px; text-align: center; font-size: 13px; color: rgba(255,255,255,.6); }
.q-pe b { color: rgba(255,255,255,.85); }

/* perguntas */
.q-voltar-lnk { background: none; border: 0; color: rgba(255,255,255,.65); font-size: 14px; padding: 6px 0; margin-bottom: 6px; align-self: flex-start; width: auto; }
.q-perg { font-family: var(--fonte-tit); font-weight: 800; font-size: 25px; line-height: 1.18; letter-spacing: -.5px; margin: 14px 0 6px; text-align: center; }
.q-perg-s { text-align: center; color: rgba(255,255,255,.7); font-size: 15px; margin: 0 0 18px; }
.q-op { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: #fff; border-radius: 18px; padding: 15px 16px; margin-bottom: 11px; transition: transform .12s, background .15s, border-color .15s; }
.q-op:active { transform: scale(.985); background: rgba(24,183,173,.22); border-color: var(--turq); }
.q-op i { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #1ec4b9, #12a39a); }
.q-op b { display: block; font-size: 16.5px; }
.q-op small { color: rgba(255,255,255,.68); font-size: 13.5px; }

/* ---------- painel de missões (a "home" do quiz) ---------- */
.q-prog { position: relative; overflow: hidden; border-radius: 24px; padding: 18px; color: #fff; margin-bottom: 18px; background: linear-gradient(150deg, #123f4c, #0b2530); box-shadow: 0 14px 34px rgba(16,46,58,.22); }
.q-prog::after { content: ""; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(24,183,173,.45), rgba(24,183,173,0) 70%); }
.q-prog > * { position: relative; z-index: 1; }
.q-prog-rot { font-size: 12px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--turq); }
.q-prog h2 { margin: 6px 0 4px; font-family: var(--fonte-tit); font-size: 22px; line-height: 1.18; letter-spacing: -.4px; }
.q-prog p { margin: 0 0 14px; color: rgba(255,255,255,.78); font-size: 14px; }
.q-barra { display: flex; gap: 6px; margin-bottom: 14px; }
.q-barra i { flex: 1; height: 7px; border-radius: 6px; background: rgba(255,255,255,.18); }
.q-barra i.ok { background: var(--turq); }
.q-barra i.ja { background: linear-gradient(90deg, var(--turq), #7ee8e0); animation: qBrilho 1.6s ease-in-out infinite; }
@keyframes qBrilho { 50% { opacity: .55; } }
.q-prog .q-cta { margin-top: 0; font-size: 17px; padding: 14px 20px; box-shadow: 0 5px 0 #0b6f69; }
.q-miss { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: #fff; padding: 13px 14px; border-top: 1px solid #edf3f3; }
.q-miss:first-child { border-top: 0; }
.q-miss .ico-tile { width: 40px; height: 40px; }
.q-miss-t { flex: 1; min-width: 0; }
.q-miss-t b { display: block; font-size: 15.5px; }
.q-miss-t span { display: block; color: var(--suave); font-size: 13px; }
.q-miss-est { flex: none; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: #eef3f3; color: var(--suave); }
.q-miss.agora .q-miss-est { background: var(--turq); color: #fff; }
.q-miss.feita .q-miss-est { background: #e6f6ec; color: #14532d; }
.q-miss.feita .ico-tile { background: linear-gradient(135deg, #34c77b, #1fa35c); }
.q-miss.trava { opacity: .62; }
.q-miss.trava .ico-tile { background: #cfdada; }
.q-trava-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-trava { position: relative; text-align: left; border: 1px dashed #bcd0d0; background: rgba(255,255,255,.7); border-radius: 16px; padding: 12px 12px 12px 12px; min-height: 84px; }
.q-trava b { display: block; font-size: 14px; line-height: 1.2; padding-right: 22px; }
.q-trava span { display: block; margin-top: 4px; color: var(--suave); font-size: 12.5px; line-height: 1.3; }
.q-trava svg { position: absolute; right: 10px; top: 11px; color: #8aa3a3; }
.q-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 10px; }
.q-sec h3 { margin: 0; font-size: 17px; }
.q-sec small { color: var(--suave); }
.q-recomeca { display: block; margin: 20px auto 0; background: none; border: 0; color: var(--suave); font-size: 13px; text-decoration: underline; }

/* ---------- faixa de orientação dentro das telas do app ---------- */
.q-coach { position: relative; border-radius: 18px; padding: 13px 14px 14px; margin-bottom: 14px; color: #fff; background: linear-gradient(150deg, #123f4c, #0b2530); box-shadow: 0 10px 26px rgba(16,46,58,.2); animation: qEntra .35s ease-out both; }
body.q .q-coach.q-sem { animation: none; }
@keyframes qEntra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.q-coach-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.q-coach-n { font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--turq); }
.q-coach-pts { display: flex; gap: 4px; margin-left: auto; }
.q-coach-pts i { width: 18px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.2); }
.q-coach-pts i.ok { background: var(--turq); }
.q-coach h4 { margin: 0 0 4px; font-family: var(--fonte-tit); font-size: 17px; letter-spacing: -.3px; }
.q-coach p { margin: 0; font-size: 13.8px; line-height: 1.42; color: rgba(255,255,255,.82); }
.q-coach p b { color: #fff; }
.q-coach-ex { margin-top: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-style: italic; color: #fff; }
.q-coach-bt { margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: 14px; background: #fff; color: var(--tinta); }
.q-coach-bt.pri { background: var(--turq); color: #fff; }
.q-coach-seg { display: flex; gap: 6px; margin-top: 10px; }
.q-coach-seg button { flex: 1; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; border-radius: 11px; padding: 9px 4px; font-weight: 700; font-size: 13.5px; }
.q-coach-seg button.on { background: var(--turq); border-color: var(--turq); }
.q-coach-seg button.dica { border-color: #7ee8e0; box-shadow: 0 0 0 3px rgba(126,232,224,.25); }
.q-coach-ok { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: rgba(52,199,123,.18); border: 1px solid rgba(52,199,123,.5); border-radius: 12px; padding: 9px 12px; font-size: 13.8px; }
.q-coach-nome { display: flex; gap: 8px; margin-top: 10px; }
.q-coach-nome input { flex: 1; min-width: 0; border: 0; border-radius: 11px; padding: 10px 12px; font-size: 15px; background: #fff; color: var(--tinta); }
.q-coach-nome button { border: 0; border-radius: 11px; padding: 0 14px; font-weight: 800; background: var(--turq); color: #fff; }
.q-aviso-demo { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 8px; }
body.q .btn-link-perigo { display: none; }
body.q .como-falar { display: none; }
body.q-pulsa #btnLink, body.q-pulsa #btnMontar, body.q-pulsa #btnVer { animation: qPulso 1.5s ease-in-out infinite; }
@keyframes qPulso { 0%,100% { box-shadow: 0 0 0 0 rgba(24,183,173,.55); } 60% { box-shadow: 0 0 0 11px rgba(24,183,173,0); } }

/* ---------- folhas (bloqueios) ---------- */
.q-fundo { position: fixed; inset: 0; z-index: 299; background: rgba(8,24,30,.55); opacity: 0; transition: opacity .2s; }
.q-fundo.on { opacity: 1; }
.q-folha { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; margin: 0 auto; max-width: 560px; background: #fff; border-radius: 24px 24px 0 0; padding: 22px 20px calc(env(safe-area-inset-bottom) + 20px); transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.9,.3,1); box-shadow: 0 -10px 40px rgba(0,0,0,.25); max-height: 88vh; overflow-y: auto; }
.q-folha.on { transform: none; }
.q-folha-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 10px; background: linear-gradient(135deg, #1ec4b9, #12a39a); }
.q-folha h3 { margin: 0 0 6px; font-family: var(--fonte-tit); font-size: 20px; letter-spacing: -.3px; }
.q-folha p { margin: 0 0 14px; color: var(--suave); font-size: 15px; line-height: 1.45; }
.q-folha .btn + .btn { margin-top: 8px; }
.q-msgbox { background: #e6f6ec; border: 1px solid #b8e3c8; border-radius: 14px; padding: 11px 13px; font-size: 14px; color: #14532d; white-space: pre-wrap; margin-bottom: 14px; max-height: 32vh; overflow-y: auto; }

/* ---------- "celular" do cliente: WhatsApp → página do orçamento ---------- */
.q-zap { background: #0b141a; padding: 0; align-items: stretch; }
.q-zap > * { max-width: 520px; margin: 0 auto; }
.q-zap-top { display: flex; align-items: center; gap: 11px; padding: calc(env(safe-area-inset-top) + 10px) 14px 10px; background: #1f2c34; }
.q-zap-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #6b7c85; color: #fff; }
.q-zap-top b { display: block; font-size: 16px; } .q-zap-top small { color: #8fa3ad; font-size: 12.5px; }
.q-zap-chat { flex: 1; width: 100%; padding: 16px 12px; overflow-y: auto; background: #0b141a url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="4" cy="4" r="1" fill="%231a262d"/></svg>'); display: flex; flex-direction: column; gap: 8px; }
.q-bal { max-width: 84%; padding: 8px 10px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.38; white-space: pre-wrap; word-break: break-word; animation: qBal .3s ease-out both; }
@keyframes qBal { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.q-bal.eu { align-self: flex-end; background: #005c4b; color: #e9edef; border-top-right-radius: 3px; }
.q-bal.ele { align-self: flex-start; background: #1f2c34; color: #e9edef; border-top-left-radius: 3px; }
.q-bal small { display: block; text-align: right; font-size: 11px; color: #8fa3ad; margin-top: 2px; }
.q-bal a { color: #53bdeb; text-decoration: underline; word-break: break-all; }
.q-digita { align-self: flex-start; background: #1f2c34; border-radius: 10px; padding: 10px 14px; display: flex; gap: 4px; }
.q-digita i { width: 7px; height: 7px; border-radius: 50%; background: #8fa3ad; animation: qDig 1s infinite; } .q-digita i:nth-child(2) { animation-delay: .15s; } .q-digita i:nth-child(3) { animation-delay: .3s; }
@keyframes qDig { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.q-zap-rod { padding: 12px 14px calc(env(safe-area-inset-bottom) + 14px); background: #0b141a; width: 100%; }
.q-zap-rod .q-cta { margin-top: 0; font-size: 17px; padding: 14px 20px; }
.q-zap-rod .q-cta[hidden] { display: none; }
.q-cli { padding: 0; background: #0b141a; align-items: stretch; }
.q-cli > * { max-width: none; }
.q-cli-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top) + 8px) 14px 8px; background: #102E3A; color: #fff; font-size: 13px; width: 100%; }
.q-cli-top b { color: var(--turq); }
.q-cli-top button { border: 0; border-radius: 999px; padding: 7px 13px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 13px; width: auto; }
.q-cli-quadro { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; background: #fff; position: relative; }
.q-cli-quadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.q-dica-aprova { position: absolute; z-index: 3; left: 50%; bottom: 150px; transform: translateX(-50%); background: #102E3A; color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.35); animation: qSobe 1.4s ease-in-out infinite; white-space: nowrap; }
@keyframes qSobe { 50% { transform: translate(-50%, -6px); } }
.q-push { position: fixed; z-index: 260; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 58px); max-width: 440px; margin: 0 auto; background: rgba(255,255,255,.97); color: var(--tinta); border-radius: 18px; padding: 12px 14px; display: flex; gap: 11px; align-items: center; box-shadow: 0 14px 40px rgba(0,0,0,.35); transform: translateY(-140%); transition: transform .45s cubic-bezier(.2,1.1,.3,1); }
.q-push.on { transform: none; }
.q-push img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.q-push small { color: var(--suave); font-size: 12px; } .q-push b { display: block; font-size: 14.5px; line-height: 1.25; }

/* ---------- oferta final ---------- */
.q-of-tit { font-family: var(--fonte-tit); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.6px; text-align: center; margin: 4px 0 8px; }
.q-of-tit em { font-style: normal; color: var(--turq); }
.q-of-sub { text-align: center; color: rgba(255,255,255,.75); font-size: 15px; margin: 0 0 16px; }
.q-feito { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 12px 14px; margin-bottom: 14px; }
.q-feito div { display: flex; gap: 9px; align-items: center; font-size: 14.5px; padding: 4px 0; }
.q-feito svg { color: #34c77b; flex: none; }
.q-vai { margin: 4px 0 14px; }
.q-vai h5 { margin: 0 0 8px; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--turq); }
.q-vai div { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; padding: 5px 0; color: rgba(255,255,255,.92); }
.q-vai svg { color: var(--turq); flex: none; margin-top: 2px; }
.q-plano { position: relative; display: block; width: 100%; text-align: left; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); border-radius: 22px; padding: 18px 18px 16px; margin-bottom: 20px; color: #fff; text-decoration: none; }
.q-plano.dest { border-color: var(--turq); background: linear-gradient(160deg, rgba(24,183,173,.28), rgba(24,183,173,.08)); box-shadow: 0 0 0 3px rgba(24,183,173,.18); }
.q-plano-sel { position: absolute; top: -12px; left: 18px; background: #ffd34d; color: #3a2a00; font-size: 11.5px; font-weight: 800; letter-spacing: .4px; border-radius: 999px; padding: 4px 11px; }
.q-plano-l { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.q-plano-l b { font-family: var(--fonte-tit); font-size: 17px; }
.q-plano-l strong { font-family: var(--fonte-tit); font-size: 24px; letter-spacing: -.5px; }
.q-plano small { display: block; color: rgba(255,255,255,.72); font-size: 13.2px; margin-top: 3px; }
.q-plano .q-cta { margin-top: 12px; padding: 13px 18px; font-size: 16.5px; }
.q-plano:not(.dest) .q-cta { background: rgba(255,255,255,.14); box-shadow: none; }
.q-fecha-of { display: block; margin: 8px auto 0; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 14px; text-decoration: underline; width: auto; }

/* vídeo (espaço reservado: depois é só pôr um <iframe> ou <video> dentro de #qVideo) */
.q-video { flex: none; position: relative; aspect-ratio: 16 / 9; border-radius: 20px; margin: 4px 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 14px;
  border: 1.5px dashed rgba(255,255,255,.28); background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); overflow: hidden; }
.q-video iframe, .q-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.q-video-play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #1fd0c4, #12a39a); box-shadow: 0 0 0 8px rgba(24,183,173,.18); margin-bottom: 6px; }
.q-video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.q-video b { font-size: 16px; } .q-video small { color: rgba(255,255,255,.65); font-size: 13px; }

/* seções da oferta */
.q-of-sec { flex: none; margin: 6px 0 24px; }
.q-of-sec-tit { font-family: var(--fonte-tit); font-weight: 800; font-size: 23px; line-height: 1.15; letter-spacing: -.5px; text-align: center; margin: 0 0 6px; }
.q-of-sec-tit em { font-style: normal; color: var(--turq); }
.q-of-sec-sub { text-align: center; color: rgba(255,255,255,.7); font-size: 14.5px; margin: 0 0 14px; }
.q-destrava { display: grid; gap: 9px; }
.q-dest-i { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 12px 14px; }
.q-dest-i i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #1ec4b9, #12a39a); color: #fff; }
.q-dest-i b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.q-dest-i span { display: block; color: rgba(255,255,255,.72); font-size: 13.8px; line-height: 1.4; }

/* planos (estilo "escolha seu acesso") */
.q-escolha { text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; color: #ffd34d; margin-bottom: 18px; }
.q-plano h4 { margin: 0 0 8px; font-family: var(--fonte-tit); font-size: 18px; }
.q-preco { display: flex; align-items: baseline; gap: 8px; }
.q-preco strong { font-family: var(--fonte-tit); font-size: 42px; line-height: 1; letter-spacing: -1.2px; }
.q-preco small { margin: 0; font-size: 16px; font-weight: 800; color: rgba(255,255,255,.85); }
.q-avista { margin-top: 6px; font-weight: 700; color: rgba(255,255,255,.7); font-size: 15px; }
.q-lista { list-style: none; margin: 14px 0 4px; padding: 0; }
.q-lista li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; padding: 4px 0; color: rgba(255,255,255,.92); }
.q-lista svg { color: #ffd34d; flex: none; margin-top: 1px; width: 17px; height: 17px; }
.q-plano .q-cta { text-align: center; line-height: 1.25; margin-top: 14px; padding: 15px 18px; font-size: 16.5px; }
.q-plano .q-cta.q-cta-claro { background: #fff; color: #102E3A; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.q-nota { display: flex; gap: 8px; justify-content: center; align-items: flex-start; text-align: center; font-size: 13.2px; color: rgba(255,255,255,.75); margin: 2px 0 0; }
.q-nota svg { color: #ffd34d; flex: none; width: 16px; height: 16px; margin-top: 1px; }

/* custo-benefício */
.q-retorno { flex: none; margin: 4px 0 26px; }
.q-ret-conta { display: flex; align-items: stretch; gap: 8px; margin: 12px 0; }
.q-ret-conta > div { flex: 1; text-align: center; border-radius: 16px; padding: 12px 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.q-ret-conta > div.ok { background: linear-gradient(160deg, rgba(52,199,123,.25), rgba(52,199,123,.08)); border-color: rgba(52,199,123,.55); }
.q-ret-conta small { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 700; }
.q-ret-conta b { font-family: var(--fonte-tit); font-size: 26px; letter-spacing: -.6px; }
.q-ret-conta .ok b { color: #34c77b; }
.q-ret-conta span { font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.3; }
.q-ret-conta i { align-self: center; font-style: normal; font-size: 22px; color: var(--turq); flex: none; }
.q-retorno p { margin: 0; text-align: center; font-size: 14.3px; line-height: 1.5; color: rgba(255,255,255,.8); }

/* garantia */
.q-garantia { flex: none; display: flex; gap: 14px; align-items: center; border-radius: 20px; padding: 16px; margin: 4px 0 26px; background: linear-gradient(160deg, rgba(52,199,123,.22), rgba(52,199,123,.07)); border: 1.5px solid rgba(52,199,123,.5); }
.q-gar-selo { flex: none; width: 74px; height: 74px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid #34c77b; background: rgba(0,0,0,.18); line-height: 1; }
.q-gar-selo b { font-family: var(--fonte-tit); font-size: 30px; color: #34c77b; } .q-gar-selo span { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.q-garantia h3 { margin: 0 0 4px; font-family: var(--fonte-tit); font-size: 18px; }
.q-garantia p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.85); }

/* dúvidas frequentes */
.q-faq { display: grid; gap: 9px; margin-top: 12px; }
.q-faq details { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
.q-faq summary { cursor: pointer; list-style: none; padding: 14px 40px 14px 14px; font-weight: 700; font-size: 15px; position: relative; }
.q-faq summary::-webkit-details-marker { display: none; }
.q-faq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--turq); font-weight: 500; }
.q-faq details[open] summary::after { content: '\2212'; }
.q-faq p { margin: 0; padding: 0 14px 14px; font-size: 14.3px; line-height: 1.5; color: rgba(255,255,255,.78); }
.q-cta-final { text-decoration: none; margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) {
  .q-onda i, .q-grao, .q-cena-tag i, .q-barra i.ja, .q-dica-aprova { animation: none; }
  .q-frase span, .q-cena-a { animation: none; opacity: 1; }
  .q-prop { animation: none; opacity: 0; }
}
@media (max-height: 700px) { .q-tit { font-size: 27px; } }

/* ---------- transições suaves ---------- */
.q-tela { animation: qTelaIn .45s ease-out both; }
.q-tela.saindo { animation: qTelaOut .26s ease-in both; pointer-events: none; }
@keyframes qTelaIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes qTelaOut { to { opacity: 0; transform: translateY(-10px); } }
body.q #app.q-troca { animation: qAppIn .38s ease-out both; }
@keyframes qAppIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q-tela, .q-tela.saindo, body.q #app.q-troca { animation: none; } }

/* pergunta com mais de uma opção */
.q-op .q-tick { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: none; color: transparent; transition: all .15s; }
.q-op .q-tick svg { width: 15px; height: 15px; }
.q-op.on { border-color: var(--turq); background: rgba(24,183,173,.2); }
.q-op.on .q-tick { background: var(--turq); border-color: var(--turq); color: #fff; }
.q-cta:disabled { opacity: .45; box-shadow: none; filter: grayscale(.4); }

/* cartão do link no WhatsApp */
.q-bal-card { padding: 4px 4px 6px; }
.q-card-link { background: #0b141a; border-radius: 8px; overflow: hidden; margin-bottom: 6px; }
.q-card-link img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.q-card-t { padding: 7px 10px 8px; }
.q-card-t b { display: block; font-size: 14px; color: #e9edef; line-height: 1.25; }
.q-card-t span { display: block; font-size: 12.5px; color: #8fa3ad; margin-top: 1px; }
.q-bal-card > .q-card-txt { padding: 0 6px; }
.q-bal-card small { padding-right: 6px; }
.q-op { padding: 11px 14px; margin-bottom: 8px; }
.q-op i { width: 38px; height: 38px; }
.q-op b { font-size: 15.5px; line-height: 1.2; }
#qContinua { position: sticky; bottom: 4px; margin-top: 10px; z-index: 3; }
.q-perg { font-size: 23px; margin-top: 4px; }
.q-perg-s { margin-bottom: 14px; }

/* ---------- historinha ---------- */
.q-h-chip { align-self: center; width: auto; display: inline-block; margin: 2px auto 12px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: #cfeeea; }
.q-h-palco { position: relative; min-height: 300px; border-radius: 26px; display: flex; align-items: center; justify-content: center; padding: 16px; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.q-h-palco.qanim { animation: qEntra .5s ease-out both; }
.q-h-txt { text-align: center; font-size: 17px; line-height: 1.4; margin: 16px 6px 4px; color: rgba(255,255,255,.92); min-height: 72px; }
.q-h-txt.qanim { animation: qEntra .5s .08s ease-out both; }
.q-h-txt b { color: var(--turq); }
.q-h-pts { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; width: auto; align-self: center; }
.q-h-pts i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.2); }
.q-h-pts i.ok { background: var(--turq); }
.q-av { width: 150px; height: 188px; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); animation: qFlutua 4s ease-in-out infinite; }
.q-h-solo { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.q-h-faisca { position: absolute; right: 22%; top: 8%; font-size: 26px; color: #7ee8e0; animation: qBrilho 1.4s infinite; }
.q-h-faisca.f2 { right: 12%; top: 30%; font-size: 16px; animation-delay: -.7s; }
.q-h-pensa { position: absolute; right: 2%; top: 8%; background: #fff; color: var(--tinta); border-radius: 18px; padding: 10px 14px; font-size: 14px; font-weight: 700; line-height: 1.35; box-shadow: 0 10px 26px rgba(0,0,0,.3); animation: qBal .5s .3s ease-out both; }
.q-h-fone { width: 100%; background: #0b141a; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.q-h-fone-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #1f2c34; }
.q-h-fone-top .q-av { width: 40px; height: 40px; animation: none; filter: none; border-radius: 50%; background: #6b7c85; overflow: hidden; }
.q-h-fone-top b { display: block; font-size: 15px; } .q-h-fone-top small { color: #8fa3ad; font-size: 12px; }
.q-h-fone .q-bal { margin: 18px 12px 26px; max-width: 88%; font-size: 15px; animation-delay: .35s; }
.q-cena-h { width: 100%; height: 300px; }
.q-hist > * { flex: none; }
.q-hist .q-cta { margin-top: 12px; }
@media (max-height: 740px) { .q-h-palco { min-height: 250px; } .q-av { width: 120px; height: 150px; } .q-cena-h { height: 270px; } .q-h-txt { min-height: 60px; font-size: 16px; } }
.q-h-txt { display: block; }

/* barra de progresso */
.q-progbar { position: fixed; z-index: 500; left: 0; right: 0; top: 0; height: 5px; background: rgba(120,150,150,.25); pointer-events: none; }
.q-progbar[hidden] { display: none; }
.q-progbar i { display: block; height: 100%; width: 0; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #18B7AD, #7ee8e0); box-shadow: 0 0 10px rgba(24,183,173,.7); transition: width .6s cubic-bezier(.3,.9,.3,1); }
/* voltar na conversa do WhatsApp */
.q-zap-volta { border: 0; background: none; color: #e9edef; font-size: 34px; line-height: 1; padding: 0 4px 4px 0; width: auto; }
/* cenas novas da historinha */
.q-h-vib { position: relative; margin-left: 4px; }
.q-fone-ic { width: 62px; height: 104px; display: block; animation: qVibra .45s linear infinite; transform-origin: 50% 80%; }
@keyframes qVibra { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-7deg) translateX(-2px); } 40% { transform: rotate(7deg) translateX(2px); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(5deg); } }
.q-h-vib i { position: absolute; top: 28px; width: 12px; height: 34px; border: 3px solid #7ee8e0; border-width: 0 3px 0 0; border-radius: 50%; opacity: .8; animation: qBrilho 1s infinite; }
.q-h-vib i:nth-of-type(1) { left: -14px; transform: scaleX(-1); } .q-h-vib i:nth-of-type(2) { right: -14px; animation-delay: -.5s; }
.q-h-duas { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.q-h-lado { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: rgba(0,0,0,.22); border-radius: 18px; padding: 10px 12px; }
.q-h-rot { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #cfeeea; }
.q-h-nota { font-size: 12.5px; color: rgba(255,255,255,.65); font-style: italic; }
.q-h-msgv { align-self: flex-end; font-size: 22px; font-weight: 800; padding: 10px 14px 6px; max-width: none; margin-right: 6px; }
.q-h-escreve { display: flex; align-items: flex-end; gap: 8px; align-self: center; }
.q-h-escreve .q-av { width: 84px; height: 106px; }
.q-caderno { width: 120px; height: 104px; display: block; }
@media (max-height: 740px) { .q-h-escreve .q-av { width: 70px; height: 88px; } .q-caderno { width: 100px; height: 88px; } .q-h-msgv { font-size: 19px; } }

/* avatares (ilustrações enviadas) */
.q-av { position: relative; display: block; width: 150px; height: 150px; animation: qFlutua 4s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.q-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.9); }
.q-av em { position: absolute; right: -6px; bottom: -2px; font-style: normal; font-size: 34px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.q-h-fone-top .q-av { width: 40px; height: 40px; animation: none; filter: none; background: none; }
.q-h-fone-top .q-av img { border-width: 2px; }
.q-h-escreve .q-av { width: 88px; height: 88px; }
img.q-zap-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (max-height: 740px) { .q-av { width: 124px; height: 124px; } .q-h-escreve .q-av { width: 74px; height: 74px; } }

/* ---------- cena "como você mandaria o valor" ---------- */
.q-h-palco.q-h-escolhe { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; padding: 12px; min-height: 0; }
.q-h-topo { display: flex; align-items: center; gap: 12px; }
.q-h-topo .q-av { width: 92px; height: 92px; flex: none; }
.q-h-pensa2 { position: relative; background: #fff; color: var(--tinta); border-radius: 16px; padding: 10px 13px; font-size: 14.5px; font-weight: 800; line-height: 1.3; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.q-h-pensa2::before { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.q-h-ops { display: flex; flex-direction: column; gap: 7px; }
.q-op.mini { padding: 8px 12px; margin: 0; border-radius: 14px; }
.q-op.mini i { width: 32px; height: 32px; font-size: 18px; font-style: normal; border-radius: 10px; background: rgba(255,255,255,.12); }
.q-op.mini b { font-size: 14.5px; }
.q-op.mini .q-tick { width: 22px; height: 22px; }

/* ---------- etapa 1 (falar) numa tela só, sem rolar ---------- */
body.q .gravar { padding-top: 0; }
body.q .gravar .rotulo-placa, body.q .gravar .campo-placa { display: none; }
body.q .gravar-card { display: grid; grid-template-columns: 78px 1fr; grid-template-areas: "mic tit" "mic st"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; text-align: left; }
body.q .gravar-card .hero-rot { display: none; }
body.q .gravar-card h2 { grid-area: tit; margin: 0; font-size: 17px; align-self: end; text-align: left; }
body.q .gravar-card .gravar-mic { grid-area: mic; width: 78px; height: 78px; margin: 0; }
body.q .gravar-card .mic-grande { width: 78px; height: 78px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
body.q .gravar-card .mic-grande svg { width: 34px; height: 34px; }
body.q .gravar-card .gravar-status { grid-area: st; margin: 0; font-size: 13.5px; align-self: start; text-align: left; }
body.q .gravar-card .sem-voz, body.q .gravar-card .como-falar { grid-column: 1 / -1; }
body.q .gravar-card .btn-regravar { grid-column: 2; }
body.q .fala-card { margin-top: 10px; padding: 11px 12px; }
body.q .fala-card .rotulo { margin-bottom: 6px; font-size: 13px; }
body.q .fala-card .campo.fala { min-height: 76px; height: 76px; font-size: 14.5px; }
body.q .q-coach { padding: 11px 13px 12px; margin-bottom: 10px; }
body.q .q-coach h4 { font-size: 16px; }
body.q .q-coach p { font-size: 13px; }
body.q .q-coach-ex { margin-top: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 1.35; }
body.q .q-coach-bt { margin-top: 8px; padding: 8px 14px; font-size: 13.5px; }
body.q .app { padding-bottom: 96px; }

/* a carga do app aparece por cima das telas escuras (antes ficava escondida atrás delas) */
.carregando { z-index: 400; }
/* conferência: sem a faixa "cliente cadastrado" (não faz sentido na demonstração) */
body.q .aviso-ok, body.q .aviso-azul, body.q .chips-linha { display: none; }
/* etapa 1: um texto só, em fonte maior */
body.q .gravar-card { grid-template-areas: "mic tit"; }
body.q .gravar-card h2 { align-self: center; font-size: 19px; line-height: 1.25; }
body.q .gravar-card .gravar-status { display: none; }

/* demonstração guiada: sem atalhos para outras telas */
body.q #btnInicio { display: none; }
body.q .acoes-2, body.q .msgs-prontas, body.q .agenda-card { display: none; }

/* sem perfil, sem prévia do PDF e sem botões extras: só o próximo passo */
body.q #btnPerfil, body.q .avatar-topo { display: none !important; }
body.q #preview, body.q .acoes { display: none; }
body.q .agenda-card { display: block; }
body.q .agenda-card .troca, body.q .ag-quando span { display: none; }
body.q-pulsa #agSalvar { animation: qPulso 1.5s ease-in-out infinite; }

body.q-pulsa #qFim { animation: qPulso 1.5s ease-in-out infinite; }

/* cena 1 da historinha: celular vibrando + card do Carlos chegando por baixo */
.q-h-chip[hidden] { display: none; }
.q-h-duo { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.q-h-duo .q-h-solo { width: auto; }
.q-h-duo .q-av { width: 100px; height: 100px; }
.q-h-duo .q-fone-ic { width: 46px; height: 78px; }
.q-h-duo .q-h-vib i { top: 20px; height: 26px; width: 9px; }
.q-h-espera { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.9,.3,1); }
.q-h-espera.chegou { opacity: 1; transform: none; }
.q-h-espera .q-bal { animation: none; opacity: 0; margin: 12px 12px 14px; transition: opacity .7s .5s ease; }
.q-h-espera.chegou .q-bal { opacity: 1; }
.q-h-fone-top .q-av { width: 40px; height: 40px; }
@media (max-height: 740px) { .q-h-duo .q-av { width: 84px; height: 84px; } }

/* botão grande do próximo passo, depois de aprovar */
.q-cli-rod { width: 100%; max-width: 520px; margin: 0 auto; padding: 10px 14px calc(env(safe-area-inset-bottom) + 12px); background: rgba(255,255,255,.96); animation: qEntra .5s ease-out both; }
.q-cli-rod[hidden] { display: none; }
.q-rod-t { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--turq); margin-bottom: 8px; }
.q-cli-rod .q-cta { margin-top: 0; animation: qPulso 1.5s ease-in-out infinite; }
.q-cli-top button[hidden] { display: none; }

/* ---------- botão do próximo passo (página do cliente): aparece devagar ---------- */
.q-cli-rod { max-height: 0; opacity: 0; overflow: hidden; padding: 0 14px; animation: none; transition: max-height 1s ease, opacity 1s ease, padding 1s ease; }
.q-cli-rod.on { border-top: 1px solid var(--linha); max-height: 130px; opacity: 1; padding: 12px 14px calc(env(safe-area-inset-bottom) + 14px); }
.q-cta-solto { margin: 4px 0 18px; }
.q-cta-solto .q-cta { margin-top: 0; }

/* ---------- todos os botões do quiz iguais: pílula, mesma cor, mesma sombra e o mesmo pulsar ---------- */
.q-cta, body.q .btn-primario, body.q .barra-fixa .btn, body.q .q-coach-bt.pri {
  border: 0; border-radius: 999px; color: #fff; font-family: var(--fonte-tit); font-weight: 800; font-size: 17px; line-height: 1.2;
  background: linear-gradient(180deg, #1fd0c4, #12a39a); padding: 15px 22px;
  box-shadow: 0 5px 0 #0b6f69; animation: qCtaPulso 1.9s ease-in-out infinite; transition: transform .12s, box-shadow .12s;
}
.q-cta:active, body.q .btn-primario:active, body.q .barra-fixa .btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #0b6f69; animation: none; }
.q-cta:disabled, body.q .btn-primario:disabled { animation: none; box-shadow: none; opacity: .45; filter: grayscale(.4); }
@keyframes qCtaPulso { 0%, 100% { box-shadow: 0 5px 0 #0b6f69, 0 0 0 0 rgba(24,183,173,.5); } 60% { box-shadow: 0 5px 0 #0b6f69, 0 0 0 12px rgba(24,183,173,0); } }
body.q .barra-fixa .btn { width: auto; }
/* botões secundários: também pílula */
body.q .btn-sec, .q-coach-bt, .q-cli-top button { border-radius: 999px; }
.q-cta i { flex: none; }
@media (prefers-reduced-motion: reduce) { .q-cta, body.q .btn-primario, body.q .barra-fixa .btn, body.q .q-coach-bt.pri { animation: none; } }

/* ---------- botão de baixo: faz parte da página (no fim do conteúdo), mesma cor de fundo de tudo ---------- */
body.q .app { padding-bottom: 28px; }
body.q .barra-fixa { position: static; z-index: auto; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 16px 0 0; margin: 0; }
body.q .barra-fixa > * { max-width: none; }
body.q .barra-fixa > .btn { display: flex; width: 100%; }
body.q .barra-total { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-left: 0; padding-right: 0; }
body.q .barra-total > div { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
body.q .barra-total .barra-val { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; }
body.q .barra-total .barra-rot, body.q .barra-total .barra-sub { grid-column: 1; }
body.q .barra-total .btn { width: 100%; max-width: none; flex: none; }
/* etapa 1: o aviso do microfone só aparece enquanto está gravando (aí mostra "preparando" e depois "pode falar") */
body.q .gravar-card:has(.mic-grande.gravando) { grid-template-areas: "mic tit" "mic st"; }
body.q .gravar-card:has(.mic-grande.gravando) .gravar-status { display: block; font-size: 13.5px; font-weight: 700; color: #bff3ee; }
/* botão Salvar do pop-up e outros botões primários do app: iguais aos do quiz */
body.q .b-pri, body.q .pop-rodape .btn-pronto { border: 0; border-radius: 999px; color: #fff; font-family: var(--fonte-tit); font-weight: 800; font-size: 17px; background: linear-gradient(180deg, #1fd0c4, #12a39a); padding: 15px 22px; box-shadow: 0 5px 0 #0b6f69; animation: qCtaPulso 1.9s ease-in-out infinite; }
body.q .pop-fundo { z-index: 250; }

/* etapa 1: o aviso também aparece enquanto o áudio é transcrito (iPhone) */
body.q .gravar-card:has(.mic-grande.transcrevendo) { grid-template-areas: "mic tit" "mic st"; }
body.q .gravar-card:has(.mic-grande.transcrevendo) .gravar-status { display: block; font-size: 13.5px; font-weight: 700; color: #fff; }

/* botões de baixo (agendar / ver o que vem a seguir): barra fixa, igual às outras telas */
body.q .q-barra .btn, body.q .q-barra .q-cta { display: flex; width: 100%; max-width: 608px; margin: 0 auto; justify-content: center; align-items: center; gap: 12px; }
body.q .q-barra .q-cta { margin-top: 0; font-size: 17px; padding: 14px 20px; }
body.q .q-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--linha); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
