/* =================================
   ESTILOS CUSTOMIZADOS
   ================================= */

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Botão Login */
.nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--primary-color);
}

.nav-login:hover {
    background: var(--primary-color);
    color: white;
}

.nav-login i {
    font-size: 16px;
}

/* Mobile - ocultar imagem hero */
@media (max-width: 768px) {
    .hero-image-mobile-hide {
        display: none;
    }
}

/* Estilização do Offcanvas */
.offcanvas {
    width: 280px !important;
}

.offcanvas-title {
    font-weight: 700;
    color: var(--text-dark);
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .nav-link {
    padding: 12px 16px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-body .btn {
    padding: 12px;
    font-weight: 600;
}

.offcanvas-body .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.offcanvas-body .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.offcanvas-body .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* =================================
   BOTÃO WHATSAPP FLUTUANTE
   ================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-message {
    position: fixed;
    bottom: 110px;
    right: 40px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.whatsapp-message.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.whatsapp-message-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.whatsapp-message-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-message {
        bottom: 80px;
        right: 20px;
        max-width: 200px;
        padding: 12px 15px;
    }
}
