/* Estilos para o botão flutuante de WhatsApp na landing page */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

/* Animação de pulso */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 25px;
  }
}

/* Garantir visibilidade em telas muito pequenas */
@media screen and (max-width: 480px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
    font-size: 22px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    z-index: 2147483647 !important; /* Valor máximo possível para z-index */
  }
}

/* Regra específica para quando as ferramentas de desenvolvedor estão abertas */
@media screen and (min-height: 100px) {
  .whatsapp-float {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    z-index: 2147483647 !important;
  }
}

/* Garantir que o botão não seja afetado por outras regras CSS */
.whatsapp-float {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  z-index: 2147483647 !important; /* Valor máximo possível para z-index */
  bottom: 20px !important;
  right: 20px !important;
  pointer-events: auto !important;
  transform: none !important;
  max-height: none !important;
  max-width: none !important;
  min-height: auto !important;
  min-width: auto !important;
  overflow: visible !important;
}