/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 64px);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

nav.scrolled {
    /* background: rgba(0, 14, 38, 0.97); */
    background: var(--light);

    backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 153, 255, 0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;

    /* Adições para centralizar perfeitamente */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.87rem;
    font-weight: 500;
    /* color: rgba(255, 255, 255, 0.7); */
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0056B3;
}


.btn-nav {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-0), var(--blue-1));
    color: #fff;
    padding: 9px 22px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.32);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 153, 255, 0.44);
}



/* ── BUTTON LOGIN (provided styles) ── */
.btn-access-corner {
    position: fixed;
    top: 14px;
    right: 28px;
    z-index: 9999;
    background: linear-gradient(135deg, #0099FF, #0056B3, #003D80);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 26px;
    border-radius: 60px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-family: var(--font-head);
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 9px;
    backdrop-filter: blur(10px);
    animation: neonPulse 3s ease-in-out infinite;
}

.btn-access-corner:hover {
    /* transform: translateY(-5px) scale(1.05); */
    box-shadow: 0 0 45px rgba(8, 62, 99, 0.9), 0 0 0 3px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #1AA3FF, #0066CC, #004C99);
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 25px rgba(0, 153, 255, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    }

    50% {
        box-shadow: 0 0 45px rgba(4, 72, 117, 0.9), 0 0 0 3px rgba(255, 255, 255, 0.2) inset;
    }

    100% {
        box-shadow: 0 0 25px rgba(0, 153, 255, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    }
}

/* ── LOGIN DROPDOWN ── */
.login-dropdown-wrap {
    position: fixed;
    top: 14px;
    right: 28px;
    z-index: 9999;
}

.login-dropdown {
    position: absolute;
    top: calc(100% + 54px);
    right: 0;
    width: 248px;
    /* background: rgba(1, 14, 36, 0.98); */
    background: linear-gradient(150deg, #000f28 0%, var(--blue-3) 48%, #003a78 100%);
    border: 1px solid rgba(0, 153, 255, 0.25);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 153, 255, 0.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.login-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.login-dropdown-arrow {
    position: absolute;
    top: -6px;
    right: 36px;
    width: 12px;
    height: 12px;
    background: rgba(1, 14, 36, 0.98);
    border-left: 1px solid rgba(0, 153, 255, 0.25);
    border-top: 1px solid rgba(0, 153, 255, 0.25);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

.login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 11px;
    text-decoration: none;
    /* transition: background 0.18s; */
    cursor: pointer;
}

.login-option:hover {
    background: rgba(0, 153, 255, 0.1);
}

/* .login-option:hover .lo-title {
    color: var(--blue-0);
} */

.login-option:hover .lo-arrow {
    opacity: 1;
    transform: translateX(0);
}

.lo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.lo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lo-title {
    /* font-family: var(--font-head); */
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    /* transition: color 0.18s; */
}

.lo-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.4;
}

.lo-arrow {
    font-size: 0.8rem;
    color: var(--blue-0);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s, transform 0.18s;
}

.login-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 2px 4px;
}

@media(max-width:900px) {
    .login-dropdown-wrap {
        right: 12px;
        top: 14px;
    }

    .login-dropdown {
        right: 0;
        width: 220px;
    }
}

@media(max-width:900px) {
    .btn-access-corner {
        padding: 10px 16px;
        font-size: 0.69rem;
        right: 12px;
        top: 14px;
    }

    .nav-links {
        display: none;
    }
}