/* Estilos para o botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  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: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float.left-position {
  right: auto;
  left: 40px;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-float .tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  bottom: 70px;
  right: 0;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.whatsapp-float.left-position .tooltip-text {
  right: auto;
  left: 0;
}

.whatsapp-float:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* Tamanhos do botão */
.whatsapp-float.size-small {
  width: 50px;
  height: 50px;
}

.whatsapp-float.size-small svg {
  width: 25px;
  height: 25px;
}

.whatsapp-float.size-large {
  width: 70px;
  height: 70px;
}

.whatsapp-float.size-large svg {
  width: 35px;
  height: 35px;
}

/* Estilos para dispositivos móveis */
@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float.left-position {
    right: auto;
    left: 20px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }

  .whatsapp-float.size-large {
    width: 60px;
    height: 60px;
  }

  .whatsapp-float.size-large svg {
    width: 30px;
    height: 30px;
  }
}