/**
 * JUDÔ360 - Header Neo-Futurista v2
 * Combinação: Efeito quadrado rotativo + Indicador móvel
 */

/* ===== VARIÁVEIS ===== */
:root {
    --header-bg: rgba(15, 20, 25, 0.95);
    --header-height: 5rem;
    --link-width: 7rem;
    --link-height: 3.5rem;
    --timing: 300ms;
    --transition: var(--timing) ease all;
}

/* ===== NEO HEADER BASE ===== */
.neo-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.neo-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 217, 163, 0.3) 20%,
        rgba(0, 217, 163, 0.8) 50%,
        rgba(0, 217, 163, 0.3) 80%,
        transparent 100%
    );
}

.neo-header .header-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
}

/* ===== LOGO ===== */
.neo-header .header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.neo-header .logo-img {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

.neo-header .header-logo:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(0, 217, 163, 0.6));
    transform: scale(1.02);
}

/* ===== MENU PRINCIPAL - ESTILO FUTURISTA ===== */
.neo-header .header-menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
    overflow: visible;
}

/* Indicador removido - usuário preferiu sem */

/* Item do menu */
.neo-header .header-menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.neo-header .header-menu > li.nav-item {
    position: relative;
}

.neo-header .header-menu > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: var(--link-width);
    height: var(--link-height);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.neo-header .header-menu > li > a i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.neo-header .header-menu > li > a:hover {
    color: #fff;
}

.neo-header .header-menu > li > a:hover i {
    color: var(--color-accent);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px var(--color-accent));
}

/* Removi a linha individual em cada item - agora usa o indicador móvel */

/* Dropdown Submenu */
.neo-header .header-menu > li > .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 217, 163, 0.1);
    z-index: 1001;
}

.neo-header .header-menu > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.neo-header .header-menu > li > .submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0, 217, 163, 0.3);
}

.neo-header .header-menu > li > .submenu > a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.neo-header .header-menu > li > .submenu > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.neo-header .header-menu > li > .submenu > a:hover {
    color: #fff;
    background: rgba(0, 217, 163, 0.08);
}

.neo-header .header-menu > li > .submenu > a:hover::before {
    transform: scaleY(1);
}

.neo-header .header-menu > li > .submenu .submenu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 15px;
}

/* ===== SUBMENUS ANINHADOS ===== */
.submenu-item {
    position: relative;
}

.submenu-item.has-children .submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.submenu-item.has-children .submenu-trigger::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.submenu-item.has-children .submenu-trigger::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.submenu-item.has-children:hover .submenu-trigger {
    color: #fff;
    background: rgba(0, 217, 163, 0.08);
}

.submenu-item.has-children:hover .submenu-trigger::before {
    transform: scaleY(1);
}

.submenu-item.has-children:hover .submenu-trigger::after {
    opacity: 1;
    color: var(--color-accent);
}

/* Nested Submenu */
.nested-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 217, 163, 0.1);
    z-index: 1002;
}

.submenu-item.has-children:hover .nested-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested-submenu a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.nested-submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.nested-submenu a:hover {
    color: #fff;
    background: rgba(0, 217, 163, 0.08);
}

.nested-submenu a:hover::before {
    transform: scaleY(1);
}

/* ===== BOTÃO JORNADA - ESPECIAL ===== */
.menu-jornada-btn {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    width: auto !important;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.15) 0%, rgba(0, 217, 163, 0.05) 100%) !important;
    border: 1px solid rgba(0, 217, 163, 0.4) !important;
    border-radius: 25px !important;
    overflow: hidden;
    color: var(--color-accent) !important;
}

.menu-jornada-btn::before,
.menu-jornada-btn::after {
    display: none !important;
}

.menu-jornada-btn .jornada-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--color-accent);
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.menu-jornada-btn .jornada-text {
    font-size: 0.85rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.menu-jornada-btn .jornada-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.menu-jornada-btn:hover {
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.25) 0%, rgba(0, 217, 163, 0.1) 100%) !important;
    border-color: var(--color-accent) !important;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 217, 163, 0.3),
                0 0 40px rgba(0, 217, 163, 0.1);
}

.menu-jornada-btn:hover .jornada-glow {
    left: 100%;
}

.menu-jornada-btn:hover .jornada-icon {
    transform: rotate(360deg);
}

/* ===== HEADER ACTIONS ===== */
.neo-header .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== ÍCONES (NOTIF/CHAT) - BOLINHAS MINIMALISTAS ===== */
.header-icons-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.neo-icon-btn {
    --btn-color: var(--color-accent);
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.neo-icon-btn:hover {
    color: var(--btn-color);
    background: rgba(0, 217, 163, 0.1);
}

.neo-icon-btn:hover i {
    filter: drop-shadow(0 0 6px var(--btn-color));
}

.neo-icon-btn i {
    transition: var(--transition);
}

.neo-icon-btn .icon-pulse {
    display: none;
}

.neo-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #E74C3C;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.neo-badge.hidden {
    display: none;
}

/* ===== BOTÃO ÁREA DO USUÁRIO - PILL SIMPLES ===== */
.neo-area-btn {
    --area-color: var(--color-accent);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--area-color);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.neo-area-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.neo-area-btn .area-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--area-color);
    border-radius: 50%;
    font-size: 0.7rem;
    color: #fff;
    transition: var(--transition);
}

.neo-area-btn .area-text {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--area-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.neo-area-btn:hover .area-icon {
    transform: scale(1.1);
}

/* ===== BOTÃO ÁREA COM HOVER TRANSFORM (ALUNO -> JORNADA) ===== */
.neo-area-btn.has-hover-transform .area-icon {
    position: relative;
}

.neo-area-btn.has-hover-transform .icon-default,
.neo-area-btn.has-hover-transform .icon-hover {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.neo-area-btn.has-hover-transform .icon-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.neo-area-btn.has-hover-transform .area-text {
    position: relative;
    min-width: 55px;
    text-align: center;
}

.neo-area-btn.has-hover-transform .text-default,
.neo-area-btn.has-hover-transform .text-hover {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.neo-area-btn.has-hover-transform .text-hover {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
    width: max-content;
}

/* Hover state - transforma para Jornada */
.neo-area-btn.has-hover-transform:hover .icon-default {
    opacity: 0;
    transform: scale(0.8);
}

.neo-area-btn.has-hover-transform:hover .icon-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.neo-area-btn.has-hover-transform:hover .text-default {
    opacity: 0;
    transform: translateY(-5px);
}

.neo-area-btn.has-hover-transform:hover .text-hover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== PERFIL DO USUÁRIO - APENAS BOLINHA ===== */
.neo-user-btn {
    position: relative;
}

.neo-user-btn .user-link {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.neo-user-btn .user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00C793 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-primary);
    overflow: hidden;
}

.neo-user-btn .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Esconder nome por padrão */
.neo-user-btn .user-name {
    display: none;
}

.neo-user-btn .user-link:hover {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(0, 217, 163, 0.4);
    transform: scale(1.05);
}

/* Tooltip com nome no hover */
.neo-user-btn::after {
    content: attr(data-name);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.neo-user-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* User Dropdown */
.neo-user-btn .user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.neo-user-btn:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.neo-user-btn .user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.neo-user-btn .user-dropdown a:hover {
    background: rgba(0, 217, 163, 0.1);
    color: #fff;
}

.neo-user-btn .user-dropdown a i {
    width: 18px;
    color: var(--color-accent);
}

.neo-user-btn .user-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.neo-user-btn .user-dropdown .logout-link {
    color: #E74C3C;
}

.neo-user-btn .user-dropdown .logout-link i {
    color: #E74C3C;
}

.neo-user-btn .user-dropdown .logout-link:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* ===== BOTÕES LOGIN/REGISTRO ===== */
.neo-register-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.neo-register-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.neo-register-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(to right, rgba(255,255,255,0.5) 2px, transparent 2px) 0 0,
        linear-gradient(to right, rgba(255,255,255,0.5) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, rgba(255,255,255,0.5) 2px, transparent 2px) 100% 0,
        linear-gradient(to left, rgba(255,255,255,0.5) 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, rgba(255,255,255,0.5) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, rgba(255,255,255,0.5) 2px, transparent 2px) 100% 0,
        linear-gradient(to top, rgba(255,255,255,0.5) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, rgba(255,255,255,0.5) 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 6px 6px;
    opacity: 0;
    transition: var(--transition);
}

.neo-register-btn:hover {
    color: #fff;
}

.neo-register-btn:hover::before {
    border-color: rgba(255, 255, 255, 0.4);
}

.neo-register-btn:hover::after {
    opacity: 1;
}

.neo-login-btn {
    --btn-color: var(--color-accent);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--btn-color);
    border: none;
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    overflow: hidden;
}

.neo-login-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    background:
        linear-gradient(to right, var(--color-primary) 2px, transparent 2px) 0 0,
        linear-gradient(to right, var(--color-primary) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--color-primary) 2px, transparent 2px) 100% 0,
        linear-gradient(to left, var(--color-primary) 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, var(--color-primary) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--color-primary) 2px, transparent 2px) 100% 0,
        linear-gradient(to top, var(--color-primary) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--color-primary) 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 8px 8px;
}

.neo-login-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.neo-login-btn:hover .btn-glow {
    left: 100%;
}

.neo-login-btn:hover {
    box-shadow: 0 0 20px var(--btn-color),
                0 0 40px rgba(0, 217, 163, 0.3);
    transform: translateY(-2px);
}

/* ===== NOTIF DROPDOWN ===== */
.notif-trigger {
    cursor: pointer;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -50px;
    width: 320px;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 163, 0.2);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.notif-trigger:hover .notif-dropdown,
.notif-trigger:focus-within .notif-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notif-dropdown-header h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.notif-mark-all-read {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 0.75rem;
    cursor: pointer;
}

.notif-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.notif-empty {
    text-align: center;
    padding: 30px;
    color: #666;
}

.notif-empty i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.notif-dropdown-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.notif-dropdown-footer a {
    color: var(--color-accent);
    font-size: 0.85rem;
    text-decoration: none;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 12px;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(to right, var(--color-accent) 2px, transparent 2px) 0 0,
        linear-gradient(to right, var(--color-accent) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--color-accent) 2px, transparent 2px) 100% 0,
        linear-gradient(to left, var(--color-accent) 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, var(--color-accent) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--color-accent) 2px, transparent 2px) 100% 0,
        linear-gradient(to top, var(--color-accent) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--color-accent) 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 6px 6px;
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu-btn:hover::after {
    opacity: 1;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    border-color: rgba(0, 217, 163, 0.3);
}

.mobile-menu-btn:hover span {
    background: var(--color-accent);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 1px solid rgba(0, 217, 163, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo-img {
    height: 35px;
}

.close-mobile-menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.close-mobile-menu::after {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(to right, #E74C3C 2px, transparent 2px) 0 0,
        linear-gradient(to right, #E74C3C 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #E74C3C 2px, transparent 2px) 100% 0,
        linear-gradient(to left, #E74C3C 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, #E74C3C 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #E74C3C 2px, transparent 2px) 100% 0,
        linear-gradient(to top, #E74C3C 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #E74C3C 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 5px 5px;
    opacity: 0;
    transition: var(--transition);
}

.close-mobile-menu:hover {
    color: #E74C3C;
    border-color: rgba(231, 76, 60, 0.3);
}

.close-mobile-menu:hover::after {
    opacity: 1;
}

/* Mobile User Info */
.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 217, 163, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00C793 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.mobile-user-details {
    display: flex;
    flex-direction: column;
}

.mobile-user-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.mobile-user-type {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Menu Nav */
.mobile-menu-nav {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.mobile-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-nav li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--color-accent);
    transition: var(--transition);
}

.mobile-menu-nav li a:hover {
    color: #fff;
    background: rgba(0, 217, 163, 0.05);
}

.mobile-menu-nav li a:hover::before {
    height: 60%;
}

.mobile-menu-nav li a i {
    width: 20px;
    color: var(--color-accent);
}

/* Mobile Menu Sections */
.mobile-menu-section {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-section h4 {
    font-family: var(--font-title);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin: 0 0 12px 0;
}

.mobile-menu-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-menu-section a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.mobile-menu-section a i {
    width: 18px;
    color: var(--color-accent);
}

.mobile-jornada-btn {
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.15) 0%, rgba(0, 217, 163, 0.05) 100%) !important;
    border: 1px solid rgba(0, 217, 163, 0.3) !important;
    border-radius: 8px;
    color: var(--color-accent) !important;
    margin-bottom: 10px;
}

.mobile-area-btn {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid !important;
    border-radius: 8px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    color: #E74C3C;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-logout-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

/* Mobile Auth Buttons */
.mobile-menu-auth {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--color-accent);
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-login-btn:hover {
    box-shadow: 0 0 25px rgba(0, 217, 163, 0.4);
}

.mobile-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-register-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
    :root {
        --link-width: 6rem;
    }

    .neo-header .header-container {
        padding: 0 1.5rem;
    }

    .neo-header .header-menu > li > a {
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .neo-header .header-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .neo-area-btn .area-text {
        display: none;
    }

    .neo-area-btn {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .neo-header .header-container {
        padding: 0 1rem;
    }

    .neo-header .logo-img {
        height: 36px;
    }

    .header-icons-group {
        display: none;
    }

    .neo-area-btn {
        display: none;
    }

    .neo-user-btn {
        display: none;
    }

    .neo-register-btn span {
        display: none;
    }

    .neo-register-btn {
        padding: 10px 12px;
    }

    .neo-login-btn span {
        display: none;
    }

    .neo-login-btn {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .neo-header .logo-img {
        height: 32px;
    }
}
