/* ============================================
   WHATSAPP BUTTON CSS - CHURROS TUBE
   Botão flutuante fixo com animação
   ============================================ */

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-button {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: #25D366;
    color: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: var(--transition-all);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* ========== ÍCONE ========== */
.whatsapp-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.whatsapp-icon svg {
    width: 30px;
    height: 30px;
    fill: #25D366;
}

.whatsapp-icon i {
    font-size: 28px;
    color: #25D366;
}

/* ========== TEXTO ========== */
.whatsapp-text {
    display: flex;
    flex-direction: column;
    padding-right: var(--spacing-md);
}

.whatsapp-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.whatsapp-number {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

/* ========== EFEITO PULSE RING ========== */
.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #25D366;
    border-radius: var(--border-radius-full);
    opacity: 0;
    animation: pulseRingContained 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseRingContained {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.whatsapp-button:hover::before {
    animation: none;
    opacity: 0;
}

/* ========== VERSÃO COMPACTA (apenas ícone) ========== */
.whatsapp-button.compact {
    padding: var(--spacing-md);
    width: 60px;
    height: 60px;
}

.whatsapp-button.compact .whatsapp-text {
    display: none;
}

.whatsapp-button.compact .whatsapp-icon {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.whatsapp-button.compact .whatsapp-icon svg {
    fill: var(--text-light);
    width: 35px;
    height: 35px;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 767px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    /* Esconde o texto em tablets */
    .whatsapp-text {
        display: none;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
        padding: var(--spacing-md);
    }

    .whatsapp-icon {
        width: 100%;
        height: 100%;
        background-color: transparent;
    }

    .whatsapp-icon svg {
        fill: var(--text-light);
        width: 32px;
        height: 32px;
    }

    .whatsapp-icon i {
        color: var(--text-light);
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        padding: var(--spacing-sm);
    }

    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-icon i {
        color: var(--text-light);
        font-size: 28px;
    }
}

/* ========== ACESSIBILIDADE ========== */
/* @media (prefers-reduced-motion: reduce) {
    .whatsapp-button {
        animation: none;
    }

    .whatsapp-button::before {
        animation: none;
    }
} */