/*==================================================================================
    Custom Stylesheet (Any custom styling you want to apply should be defined here).
====================================================================================*/

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde do WhatsApp */
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #007bff; /* Azul primário da página */
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white !important;
}

.whatsapp-btn i {
    color: white !important;
    transition: none;
}

/* Tooltip animado */
.whatsapp-tooltip {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -25px;
}

.tooltip-text {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    z-index: 1001;
}

/* Animação dos tooltips */
.tooltip-text:nth-child(1) {
    animation: tooltipFade 6s infinite 0s;
}

.tooltip-text:nth-child(2) {
    animation: tooltipFade 6s infinite 2s;
}

.tooltip-text:nth-child(3) {
    animation: tooltipFade 6s infinite 4s;
}

@keyframes tooltipFade {
    0%, 10% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-20px);
    }
    15%, 45% {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    50%, 100% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
    }
}

/* Animação de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        left: 60px;
    }
    
    .tooltip-text {
        font-size: 12px;
        padding: 6px 10px;
    }
}
