/**
 * SIDEBAR E HEADER (Navegação)
 * Gerencia a identidade lateral e o cabeçalho dinâmico.
 */

/* SIDEBAR (Menu Lateral SENAI) */
nav {
    width: 260px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    z-index: 100;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sidebar-header h1 {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.senai-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.nav-links {
    list-style: none;
    margin-top: 1rem;
}

.nav-links li {
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.nav-links li:hover,
.nav-links li.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* HEADER DINÂMICO */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-border);
}

header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

#clock {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    font-family: 'Inter', monospace;
}
