/* Cadastro no começo do teste (out/2026) */
.cq-cad-aberto, .cq-cad-aberto body { overflow: hidden; }
#cq-cad { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; padding: 20px 16px calc(20px + var(--ck, 0px)); overflow-y: auto; overscroll-behavior: contain; transition: padding-bottom .3s ease;
  background: rgba(250, 250, 248, .72); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  animation: cqCadFundo .3s ease both; font-family: "Plus Jakarta Sans", sans-serif; color: #1A1A1A; }
.cq-cad__caixa { position: relative; width: 100%; max-width: 440px; margin: auto; box-sizing: border-box; flex: none; background: #fff; border: 1px solid #E5E1DA; border-radius: 26px; padding: 30px 24px 18px;
  box-shadow: 0 30px 60px -24px rgba(26, 26, 26, .28), 0 0 0 6px rgba(255, 107, 53, .05); animation: cqCadSobe .5s cubic-bezier(.22, 1.1, .36, 1) both; }
.cq-cad__selo { display: grid; place-items: center; width: 54px; height: 54px; margin: -2px auto 12px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #FF6B35, #FFB347); box-shadow: 0 12px 24px -10px rgba(255, 107, 53, .7); animation: cqCadSelo .7s .12s cubic-bezier(.3, 1.6, .5, 1) both; }
.cq-cad__selo svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#cq-cad h2 { margin: 0; text-align: center; font: 700 26px/1.2 "Playfair Display", serif; }
.cq-cad__sub { margin: 8px 0 14px; text-align: center; font-size: 14.5px; line-height: 1.5; color: #555550; }
.cq-cad__campo { margin-top: 12px; animation: cqCadCampo .45s cubic-bezier(.22, 1, .36, 1) both; }
.cq-cad__campo:nth-of-type(1) { animation-delay: .12s; } .cq-cad__campo:nth-of-type(2) { animation-delay: .18s; } .cq-cad__campo:nth-of-type(3) { animation-delay: .24s; }
.cq-cad__campo label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #2A2A26; }
.cq-cad__campo input { width: 100%; box-sizing: border-box; min-height: 48px; border: 1.5px solid #E2DBD2; border-radius: 14px; padding: 12px 14px; background: #FCFBF9;
  font: 500 16px "Plus Jakarta Sans", sans-serif; color: #1A1A1A; transition: border-color .18s, box-shadow .18s, background .18s; -webkit-appearance: none; appearance: none; }
.cq-cad__campo input:focus { outline: none; border-color: #C2410C; background: #fff; box-shadow: 0 0 0 4px rgba(194, 65, 12, .13); }
.cq-cad__campo input[aria-invalid="true"] { border-color: #B42318; }
.cq-cad__erro { margin: 5px 2px 0; font-size: 12.5px; font-weight: 600; color: #B42318; }
.cq-cad__erro:empty { display: none; }
.cq-cad__aceite { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.45; color: #555550; cursor: pointer; }
.cq-cad__aceite input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #C2410C; }
.cq-cad__aceite a { color: #C2410C; font-weight: 600; }
.cq-cad__bt { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; border: 0; border-radius: 18px; padding: 17px;
  background: #C2410C; color: #fff; font: 700 17px "Plus Jakarta Sans", sans-serif; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(194, 65, 12, .6); transition: transform .15s, opacity .2s; }
.cq-cad__bt:active { transform: scale(.97); }
.cq-cad__bt:disabled { opacity: .7; cursor: wait; }
.cq-cad__bt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cq-cad__bt:hover svg { transform: translateX(3px); }
.cq-cad__aviso { text-align: center; }
.cq-cad__nota { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 12px; line-height: 1.45; color: #6F6C65; }
.cq-cad__nota svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cq-cad__voltar { display: block; margin: 8px auto 0; border: 0; background: none; color: #6F6C65; font: 600 13.5px "Plus Jakarta Sans", sans-serif; padding: 8px 14px; cursor: pointer; border-radius: 10px; }
.cq-cad__voltar:hover { background: #F0EDE8; color: #1A1A1A; }
#cq-cad.cq-cad--ok { animation: cqCadFundoSai .45s .08s ease both; }
#cq-cad.cq-cad--ok .cq-cad__caixa { animation: cqCadOk .5s cubic-bezier(.4, 0, .2, 1) both; }
#cq-cad.cq-cad--sai { animation: cqCadFundoSai .25s ease both; }
#cq-cad.cq-cad--sai .cq-cad__caixa { animation: cqCadSai .25s ease both; }
@keyframes cqCadFundo { from { opacity: 0; } to { opacity: 1; } }
@keyframes cqCadFundoSai { to { opacity: 0; } }
@keyframes cqCadSobe { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cqCadSelo { from { opacity: 0; transform: scale(.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes cqCadCampo { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cqCadOk { 40% { transform: scale(1.02); } to { opacity: 0; transform: translateY(-18px) scale(.96); } }
@keyframes cqCadSai { to { opacity: 0; transform: translateY(14px); } }
@media (max-width: 480px) {
  /* celular: sobe de baixo; se não couber, rola o fundo inteiro (o topo nunca fica escondido) */
  #cq-cad { padding: 12px 0 var(--ck, 0px); }
  .cq-cad__caixa { margin: auto 0 0; border-radius: 26px 26px 0 0; padding: 26px 18px calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { #cq-cad, #cq-cad *, #cq-cad.cq-cad--ok .cq-cad__caixa { animation: none !important; } }

/* v29 (31/10/2026): o cadastro aparece por cima do resultado já pronto, que fica desfocado até terminar */
.cq-cad__dica { font-weight: 500; color: #7A6A5E; font-size: .86em; }
html.cq-cad-aberto .r6-pagina { filter: blur(7px); pointer-events: none; user-select: none; transition: filter .45s ease; }
.r6-pagina { transition: filter .45s ease; }
@media (prefers-reduced-motion: reduce) { html.cq-cad-aberto .r6-pagina, .r6-pagina { transition: none; } }
