/* ===== UTILITÁRIOS GLOBAIS ===== */

/* Ícone flutuante de ajuda */
.help-float-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.help-float-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7b42ff, #ff4a18);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(123, 66, 255, 0.4);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.help-float-link:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(123, 66, 255, 0.6);
  color: #ffffff;
}

.help-float-link i {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

/* Esconder botão quando chat está aberto */
body.chat-open .help-float-icon {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

/* Responsividade para o ícone flutuante */
@media (max-width: 480px) {
  .help-float-icon {
    bottom: 20px;
    right: 20px;
  }

  .help-float-link {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}



