/* ===== BOTÃO WHATSAPP FIXO ===== */

/* Estilo principal do botão WhatsApp fixo */
#whatsapp1 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

#whatsapp1 a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito hover */
#whatsapp1 a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Estilo da imagem */
#whatsapp1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Animação de pulso */
#whatsapp1 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets e telas médias */
@media (max-width: 768px) {
    #whatsapp1 {
        bottom: 40px;
        right: 40px;
    }
    
    #whatsapp1 a {
        width: 55px;
        height: 55px;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    #whatsapp1 {
        bottom: 40px;
        right: 40px;
    }
    
    #whatsapp1 a {
        width: 50px;
        height: 50px;
    }
}

/* Telas muito pequenas */
@media (max-width: 320px) {
    #whatsapp1 {
        bottom: 40px;
        right: 40px;
    }
    
    #whatsapp1 a {
        width: 45px;
        height: 45px;
    }
}

/* ===== ACESSIBILIDADE ===== */

/* Melhora o contraste em modo escuro */
@media (prefers-color-scheme: dark) {
    #whatsapp1 a {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
    }
    
    #whatsapp1 a:hover {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.8);
    }
}

/* Reduz animações para usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    #whatsapp1 a::before {
        animation: none;
    }
    
    #whatsapp1 a {
        transition: none;
    }
}

/* ===== VARIAÇÕES DE POSICIONAMENTO ===== */

/* Descomente uma das opções abaixo para mudar a posição do botão */

/* Canto inferior esquerdo */
/*
#whatsapp1 {
    bottom: 20px;
    left: 20px;
    right: auto;
}
*/

/* Canto superior direito */
/*
#whatsapp1 {
    top: 20px;
    bottom: auto;
    right: 20px;
}
*/

/* Canto superior esquerdo */
/*
#whatsapp1 {
    top: 20px;
    left: 20px;
    bottom: auto;
    right: auto;
}
*/

/* Centro da lateral direita */
/*
#whatsapp1 {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    right: 20px;
}
*/

