/* Atalho independente: não carrega scripts ou conteúdo do chat antes do clique. */
.flypper-chat-link {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  max-width: calc(100vw - 32px);
  padding: 5px 23px 5px 5px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 6px 24px rgba(7, 21, 67, .24);
  font: 700 14px/1.4 Manrope, Arial, sans-serif;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.flypper-chat-avatar { display: block; flex: 0 0 56px; width: 56px; height: 56px; object-fit: cover; border: 2px solid #fff; border-radius: 50%; background: #e5eff7; }
.flypper-chat-copy { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.flypper-chat-caption { color: #e1eaff; font-size: 12px; font-weight: 500; }
.flypper-chat-label { font-size: 15px; font-weight: 800; }
.flypper-chat-link:hover { background: #153cae; color: #fff; transform: translateY(-2px); }
.flypper-chat-link:focus-visible { outline: 3px solid #071543; outline-offset: 4px; box-shadow: 0 0 0 4px #fff; }
body.video-modal-open .flypper-chat-link { visibility: hidden; }
@media (max-width: 860px) {
  /* Mantém livre o botão de demonstração já existente na home. */
  .sticky-cta ~ .flypper-chat-link { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .flypper-chat-link { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 60px; padding: 4px 17px 4px 4px; gap: 8px; }
  .flypper-chat-avatar { flex-basis: 50px; width: 50px; height: 50px; }
  .flypper-chat-label { font-size: 14px; }
  .sticky-cta ~ .flypper-chat-link { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .flypper-chat-link { transition: none; } }
@media print { .flypper-chat-link { display: none; } }
