/* CSS EXTRA PARA APP LAYOUT */

.text-border {
    margin-left: 28px;
    color: transparent;
    -webkit-text-stroke: 2px #FFD95E;
    text-stroke: 2px #FFD95E;
}

.accessibility-btn.app {
    color: white;
}

.accessibility-btn.app:hover {
    color: var(--color-primary);
}


/* ===== NAVEGAÇÃO ===== */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-login-btn {
    background-color: white;
    color: #112E4E !important;
    border: 2px solid transparent;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-login-btn:hover {
    background-color: #112E4E;
    color: white !important;
    border-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}


/* ===== MOBILE MENU BUTTON ===== */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    color: white;
    z-index: 1001;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .hamburger-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}


/* ===== MOBILE MENU OVERLAY ===== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}


/* ===== MOBILE MENU LATERAL ===== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0f2744 0%, #1a4d7a 100%);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-nav {
    padding: var(--space-4) 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFD95E;
    text-decoration: none;
}

.mobile-menu-item svg {
    flex-shrink: 0;
}

.mobile-menu-login {
    margin-top: var(--space-4);
    background-color: rgba(255, 217, 94, 0.1);
    border-left-color: #FFD95E;
}

.mobile-menu-login:hover {
    background-color: rgba(255, 217, 94, 0.2);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .accessibility-controls {
        order: -1;
    }
    .nav-container {
        flex-wrap: wrap;
    }
    .logo {
        order: -2;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
    .accessibility-controls {
        gap: var(--space-1);
    }
    .accessibility-btn.app {
        padding: var(--space-2);
    }
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: var(--space-2);
    }
    .accessibility-controls {
        display: none !important;
    }
    .accessibility-controls-mob {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        margin-right: var(--space-4);
    }
}


/* Previne scroll quando menu está aberto */

body.mobile-menu-open {
    overflow: hidden;
}