/* Estilos do Botão WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Novo balão de CTA */
.whatsapp-cta {
    position: absolute;
    right: 75px;
    bottom: 8px;
    background-color: var(--white);
    color: var(--gray-800);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.whatsapp-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-cta::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid var(--white);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-cta strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--primary);
}

.whatsapp-cta span {
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
        right: 70px;
        bottom: 5px;
    }
}

/* Botão Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform-origin: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(15, 76, 58, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
        right: 70px;
        bottom: 5px;
    }

    .back-to-top {
        width: 35px;
        height: 35px;
        bottom: 75px;
        right: 15px;
    }

    .back-to-top svg {
        width: 16px;
        height: 16px;
    }

    .whatsapp-button .tooltip {
        display: none;
    }
} 