/* =====================================================
   HEADER E MENU MOBILE MELHORADOS - SEM LOGO
   ===================================================== */

/* Menu Mobile Hamburguer */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* Desktop - Menu centralizado */
@media (min-width: 769px) {
    header .container {
        justify-content: center;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }
}

/* Responsividade Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Header Container */
    header .container {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: center;
        padding: 12px 15px;
        gap: 0;
    }
    
    /* Mostrar botão hamburguer */
    .mobile-menu-toggle {
        display: block;
        margin-right: auto;
    }
    
    /* Menu Mobile - Escondido por padrão */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 20px 0;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1000;
    }
    
    /* Menu Mobile Aberto */
    nav.mobile-open {
        right: 0;
    }
    
    /* Links do Menu Mobile */
    nav a {
        padding: 16px 24px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        font-size: 1rem;
    }
    
    nav a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }
    
    nav a i {
        width: 24px;
        text-align: center;
    }
    
    /* User Info Mobile */
    .user-info {
        position: fixed;
        bottom: 0;
        left: -100%;
        width: 280px;
        background: rgba(0, 0, 0, 0.3);
        padding: 16px 24px;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .user-info.mobile-open {
        left: 0;
    }
    
    .user-info .btn-user-menu {
        width: 100%;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Overlay para fechar menu */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    header .container {
        padding: 12px 20px;
    }
    
    nav {
        gap: 12px;
    }
    
    nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    nav a span {
        display: inline;
    }
}

/* Desktop Grande (1200px+) */
@media (min-width: 1200px) {
    header .container {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Animações */
@keyframes slideInRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

@keyframes slideOutRight {
    from {
        right: 0;
    }
    to {
        right: -100%;
    }
}

/* Premium Badge no Menu Mobile */
@media (max-width: 768px) {
    .premium-badge {
        margin-left: auto;
    }
}
