/**
 * WhatsApp Floating Button Styles
 * 
 * Botão flutuante do WhatsApp para suporte/comercial
 * 
 * @package Candini_Fitwear
 * @since 1.0.0
 */

/* ============================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================ */

.candini-whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366; /* Cor oficial do WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.candini-whatsapp-button:hover {
    background: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.candini-whatsapp-button:active {
    transform: scale(0.95);
}

/* Ícone SVG */
.candini-whatsapp-button__icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    z-index: 2;
    position: relative;
}

/* Efeito de pulso animado */
.candini-whatsapp-button__pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.8;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Posição Inferior Esquerda */
.candini-whatsapp-button--bottom-left {
    right: auto;
    left: 24px;
}

/* Tablet */
@media (min-width: 768px) {
    .candini-whatsapp-button {
        width: 64px;
        height: 64px;
        bottom: 32px;
        right: 32px;
    }
    
    .candini-whatsapp-button__icon {
        width: 36px;
        height: 36px;
    }
    
    .candini-whatsapp-button--bottom-left {
        left: 32px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .candini-whatsapp-button {
        width: 70px;
        height: 70px;
        bottom: 40px;
        right: 40px;
    }
    
    .candini-whatsapp-button__icon {
        width: 40px;
        height: 40px;
    }
    
    .candini-whatsapp-button--bottom-left {
        left: 40px;
    }
}

/* Acessibilidade - Remove animação se usuário preferir movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .candini-whatsapp-button__pulse {
        animation: none;
    }
    
    .candini-whatsapp-button:hover {
        transform: none;
    }
}

