.whatsapp-float {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: #0066ff; /* Alterado para azul primário da paleta do site */
    color: #ffffff;
    border-radius: 5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-float:before {
    content: '';
    background-image: url('../img/icons/icon-whatsapp.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 1rem;
    filter: brightness(0) invert(1);
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background-color: #0055dd; /* Versão mais escura para hover */
    color: #ffffff;
}

.whatsapp-button {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background-color: #0066ff; /* Alterado para azul primário da paleta do site */
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    background-color: #0055dd; /* Versão mais escura para hover */
}

.whatsapp-button img {
    width: 3.2rem;
    height: 3.2rem;
    filter: brightness(0) invert(1);
}

.whatsapp-button.active {
    background-color: #0055dd; /* Versão mais escura quando ativo */
}

/* Estilos para os contatos do WhatsApp */
.whatsapp-contacts {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 998;
}

.whatsapp-contact {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 22rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
}

.whatsapp-contact:hover {
    transform: translateX(-5px);
    background-color: #f5f5f5;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.contact-department {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: #0066ff; /* Alterado para azul primário da paleta do site */
    border-radius: 50%;
}

.contact-icon img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) invert(1);
}

@media (max-width: 576px) {
    .whatsapp-contact {
        width: 18rem;
    }
    
    .contact-name {
        font-size: 1.2rem;
    }
    
    .contact-department {
        font-size: 1rem;
    }
}
