/* --- CONFIGURATION DASHBOARD --- */
.dashboard {
    display: flex;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

/* --- BARRE LATÉRALE --- */
.sidebar {
    width: 350px;
    background-color: #f1f5f9; /* Gris clair pro */
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    z-index: 10;
}

.profile-section h2 {
    border-left: none; /* On enlève la bordure bleue ici */
    padding-left: 0;
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--dark);
}

.avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.intro {
    font-size: 0.9rem;
    color: #64748b;
    margin: 20px 0;
}

/* Navigation latérale */
.side-nav {
    margin-top: 40px;
    flex-grow: 1;
}

.side-nav ul { list-style: none; padding: 0; }

.nav-item {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: 0.3s;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.btn-side {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* --- CONTENU DROITE (IMAGE LINUX) --- */
.main-content {
    flex-grow: 1;
    position: relative;
}

#hero-full {
    height: 100%;
    background: url('fond.jpg') center/cover; /* Image type code/linux */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(15, 23, 42, 0.85); /* Calque sombre pour lire le texte */
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-overlay h1 { font-size: 3rem; margin-bottom: 10px; }
.subtitle { font-size: 1.4rem; color: var(--primary); font-weight: 500; }
.badge-e5 {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
}