/* menu.css - Estilos centralizados para a navegação do Solando.online */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(1, 31, 75, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--tr);
    width: 100%;
}

nav.scrolled {
    background: rgba(1, 20, 50, 0.97);
}

.nlogo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.nicon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--ocean), var(--sky));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(29, 138, 181, 0.3);
}

.ntxt {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.nlinks {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nlinks a {
    color: rgba(179, 205, 224, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color var(--tr);
    position: relative;
    padding-bottom: 2px;
}

.nlinks a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tr);
    border-radius: 2px;
}

.nlinks a:hover,
.nlinks a.active {
    color: var(--white);
}

.nlinks a:hover::after,
.nlinks a.active::after {
    transform: scaleX(1);
}

.nact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bicon {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(179, 205, 224, 0.8);
    transition: color var(--tr);
    padding: 6px;
    display: flex;
    align-items: center;
}

.bicon:hover {
    color: var(--white);
}

.bp {
    background: linear-gradient(135deg, var(--ocean), var(--sky));
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 9px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform var(--tr), box-shadow var(--tr);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.bp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(29, 138, 181, 0.45);
}

.bg {
    background: transparent;
    border: 1.5px solid rgba(179, 205, 224, 0.25);
    color: var(--white);
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 9px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color var(--tr), background var(--tr);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bg:hover {
    border-color: rgba(179, 205, 224, 0.6);
    background: rgba(179, 205, 224, 0.06);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--tr), opacity var(--tr);
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mdraw {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(1, 13, 35, 0.97);
    backdrop-filter: blur(24px);
    padding: 32px 5%;
    transform: translateX(100%);
    transition: transform 0.32s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mdraw.open {
    transform: translateX(0);
}

.mdraw a {
    color: rgba(179, 205, 224, 0.8);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--tr);
}

.mdraw a:hover {
    color: var(--white);
}

/* Responsividade do Menu */
@media (max-width: 768px) {
    .nlinks, .nact .bg, .nact .bp {
        display: none;
    }
    .burger {
        display: flex;
    }
    nav {
        height: 60px;
    }
    .mdraw {
        top: 60px;
    }
}
