/* O botão e a janela da assistente no site público (27/10/2026). Ver public/inicio/ajuda.js. */
.pq-ajuda-botao {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #6b4fe0;
  box-shadow: 0 12px 32px rgba(52, 30, 140, 0.35);
  cursor: pointer;
  padding: 6px;
}
.pq-ajuda-botao img { width: 100%; height: 100%; object-fit: contain; }
/* Os pulinhos (dono, 27/10/2026): dois saltos curtos a cada 6 segundos, como o botão de dentro da conta. */
.pq-ajuda-botao { animation: pq-ajuda-pulo 6s ease-in-out 2s infinite; }
.pq-ajuda-botao:hover { animation-play-state: paused; }
@keyframes pq-ajuda-pulo {
  0%, 82%, 100% { transform: translateY(0); }
  86% { transform: translateY(-10px); }
  90% { transform: translateY(0); }
  94% { transform: translateY(-5px); }
  97% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .pq-ajuda-botao { animation: none; } }
.pq-ajuda-botao:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #6b4fe0; }
.pq-ajuda-dica {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  border-radius: 999px;
  background: #17131f;
  padding: 6px 12px;
  color: #fff;
  font: 800 13px/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.pq-ajuda-botao:hover .pq-ajuda-dica { opacity: 1; }
.pq-ajuda-aberta .pq-ajuda-botao { display: none; }
.pq-ajuda-fundo {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: rgba(15, 10, 30, 0.35);
  padding: 0;
}
.pq-ajuda-janela {
  display: flex;
  width: 100%;
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  padding-top: env(safe-area-inset-top);
}
.pq-ajuda-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(23, 19, 31, 0.1);
  padding: 10px 12px 10px 18px;
  color: #17131f;
  font: 900 16px/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
}
.pq-ajuda-fechar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f1eefa;
  color: #17131f;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.pq-ajuda-moldura { width: 100%; flex: 1; border: 0; }
@media (min-width: 640px) {
  .pq-ajuda-fundo { padding: 24px; background: rgba(15, 10, 30, 0.2); }
  .pq-ajuda-janela { width: 400px; height: min(640px, calc(100dvh - 48px)); border-radius: 24px; box-shadow: 0 32px 90px rgba(20, 17, 27, 0.3); padding-top: 0; }
}
