/* Botão CTA WhatsApp Fixo - Conexão Cinco-HT */

/* Estilos Base do Botão */
.whatsapp-cta-button {
    /* Posicionamento Fixo */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    
    /* Formato Circular */
    width: 70px;
    height: 70px;
    border-radius: 50%;
    
    /* Cores */
    background-color: var(--cor-secundaria);
    color: #ffffff;
    
    /* Layout Interno */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Sombra */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Transições */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Interatividade */
    cursor: pointer;
    text-decoration: none;
    
    /* Animação de Pulsação */
    animation: pulse-cta 2s ease-in-out infinite;
}

/* Ícone SVG do WhatsApp */
.whatsapp-cta-button svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

/* Estado Hover */
.whatsapp-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation-play-state: paused;
}

/* Estado Focus-Visible (Acessibilidade por Teclado) */
.whatsapp-cta-button:focus-visible {
    outline: 3px solid var(--cor-acento);
    outline-offset: 3px;
}

/* Animação de Pulsação */
@keyframes pulse-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

/* Responsividade Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .whatsapp-cta-button {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-cta-button svg {
        width: 30px;
        height: 30px;
    }
}

/* Acessibilidade - Movimento Reduzido (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-cta-button {
        animation: none;
    }
    
    .whatsapp-cta-button:hover {
        transform: none;
    }
}
