/* Menu Mobile Hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #1e3c72;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 130px;
        right: -100%;
        width: 100%;
        max-width: 350px;
        background: white;
        flex-direction: column;
        gap: 0 !important;
        padding: 20px 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        height: calc(100vh - 130px);
        overflow-y: auto;
        z-index: 999;
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li a {
        display: block;
        padding: 18px 30px;
        width: 100%;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .btn-whats-menu {
        margin: 10px 30px;
        width: calc(100% - 60px);
        justify-content: center;
    }

    /* Overlay escuro quando menu aberto */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
}
