/* Botão WhatsApp Flutuante - Tamanho Aumentado (altura original) */
.botao-flutuante-whats-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999999;
    cursor: pointer;
}

.botao-flutuante-whats-button {
    position: relative;
    width: 75px;
    height: 75px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: botao-flutuante-whats-pulse 2s infinite;
}

.botao-flutuante-whats-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Foto do atendente - Maior */
.botao-flutuante-whats-image {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ícone WhatsApp SVG - Maior */
.botao-flutuante-whats-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* EFEITO HOVER - Esconder foto e mostrar ícone */
.botao-flutuante-whats-button:hover .botao-flutuante-whats-image {
    opacity: 0;
}

.botao-flutuante-whats-button:hover .botao-flutuante-whats-icon {
    opacity: 1;
}

/* Tooltip sempre visível */
.botao-flutuante-whats-tooltip {
    position: absolute;
    bottom: 50%;
    right: 85px;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: translateY(50%);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #e0e0e0;
}

.botao-flutuante-whats-tooltip p {
    margin: 0;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    font-family: var(--body-font-family);
}

.botao-flutuante-whats-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.botao-flutuante-whats-container:hover .botao-flutuante-whats-tooltip {
    opacity: 1;
    transform: translateY(50%);
    background: #f8f9fa;
}

/* Animação de pulso */
@keyframes botao-flutuante-whats-pulse {
    0% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
    .botao-flutuante-whats-tooltip {
        font-size: 13px;
        padding: 8px 12px;
        right: 80px;
    }
    
    .botao-flutuante-whats-button {
        width: 68px;
        height: 68px;
    }
    
    .botao-flutuante-whats-image {
        width: 55px;
        height: 55px;
    }
    
    .botao-flutuante-whats-icon {
        width: 42px;
        height: 42px;
        font-size: 42px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
    .botao-flutuante-whats-container {
        bottom: 100px;
        right: 15px;
    }
    
    /* Tooltip escondido por padrão no mobile - SEM !important */
    .botao-flutuante-whats-tooltip {
        right: 75px;
        font-size: 12px;
        padding: 7px 10px;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    /* Classe para mostrar o tooltip após cookies */
    .botao-flutuante-whats-tooltip.tooltip-visible {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .botao-flutuante-whats-button {
        width: 62px;
        height: 62px;
    }
    
    .botao-flutuante-whats-image {
        width: 50px;
        height: 50px;
    }
    
    .botao-flutuante-whats-icon {
        width: 38px;
        height: 38px;
        font-size: 38px;
    }
}




