/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--branco);
    text-decoration: none;
    font-weight: 600; /* SemiBold */
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--azul);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--azul);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger & Mobile Menu */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.hamburger-button span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--branco);
    margin: 6px 0;
    transition: all 0.4s ease-in-out;
}

.hamburger-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-button.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Começa fora da tela */
    width: 100%;
    height: 100%;
    background-color: var(--fundo-secundario);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.mobile-nav-link {
    color: var(--branco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--azul);
}

@media (max-width: 991.98px) {
    .nav-menu {
        display: none;
    }
    .hamburger-button {
        display: block;
    }
}