
/* Ton CSS custom ici */
body {
    background-color: #f9fafb;
}

/* ==== CHARTE GRAPHIQUE LAMI (VERT & ROUGE) ==== */
:root {
    --primary-green: #2E7D32;
    --accent-red: #AD2E24; /* #C62828;*/
    --light-green: #E8F5E9;
    --gray-dark: #333333;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
}

/* ==== STYLE GLOBAL ==== */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--gray-dark);
    background-color: var(--gray-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ==== LAYOUT GLOBAL ==== */
.content-area {
    display: grid;
    grid-template-columns: 3fr 1fr;   /* 3/4 pour le contenu, 1/4 pour la sidebar */
    gap: 2rem;
    margin-top: 2rem;
}

/* ==== CONTENU PRINCIPAL ==== */
.main-content {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* ==== CONTAINER ==== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==== HEADER & NAV ==== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--light-green);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img{
    height: 50px;          /* Hauteur du logo */
    width: auto;           /* Conserve les proportions */
    display: block;
}

.navbar a {
    text-decoration: none;
    color: var(--gray-dark);
    margin-left: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 1rem;
}

.navbar a:hover {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
    background-color:  rgba(173, 46, 36, 0.1); /* rouge clair */
}
.navbar a.active {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
    font-weight: 600;
}

.navbar a.active {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
    font-weight: 600;
}


.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* ==== PRESENTATION ==== */
/*
h1 {
    color: var(--primary-green);
    font-size: 1.8rem;
    border-left: 5px solid var(--accent-red);
    padding-left: 0.8rem;
    margin-bottom: 1rem;
}
*/
h1 {
    color: var(--accent-red);
    font-size: 1.5rem;
    border-bottom: 3px solid var(--accent-red);
    /*padding-bottom: 0.8rem;*/
    margin-bottom: 1rem;
   background-color: rgba(0,0,0,0.08);
   
}


h2 {
    color: var(--primary-green);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0rem;
    margin-bottom: 1rem;
    width: fit-content;
}


.presentation p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* ==== SIDEBAR ==== */
/* ==== SIDEBAR ==== */
.sidebar {
    /*background: var(--light-green);*/
    border-radius: 8px;
    padding: 0.5rem;
    height: fit-content;
    position: sticky;
    top: 100px; /* reste visible pendant le scroll */
}

.stats-card {
    background: var(--light-green);
    /*border-left: 5px solid var(--primary-green);*/
    border-radius: 8px;
    padding: 0.5rem;
    margin: 1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.stats-card h2 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    border-bottom: 2px solid var(--accent-red);
}

.stats-card ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: var(--gray-dark);
}

/* ==== FOOTER ==== */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    padding: 1.2rem 0;
    margin-top: 3rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        background-color: var(--light-green);
    }

    .nav-container {
        flex-direction: column;
    }

    .presentation p {
        padding: 1rem;
    }
	
	 .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-top: 2rem;
    }
}


/* ==== MENU DÉROULANT ==== */
.navbar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
   
}

/* Conteneur dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Bouton principal */
.dropbtn {
    background: none;
    border: none;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.dropbtn:hover,
.dropbtn.active {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
        background-color:  rgba(173, 46, 36, 0.1); 
}

/* Contenu du sous-menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 10;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--gray-dark);
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(173, 46, 36, 0.1); /* rouge clair */
    color: var(--accent-red);
}

/* Affichage au survol */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
    }
}




/* ==== PAGE ÉQUIPES ==== */
.page-title {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent-red);
    padding-left: 0.8rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.team-title {
    color: var(--accent-red);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.team-description {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 1.2rem;
}

.team-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-green);
    transition: color 0.3s;
}

.team-link:hover {
    color: var(--accent-red);
}

/* Section sidebar : événements */
.stats-card.publications ul {
    list-style: none;          /* supprime les bullet points */
    padding-left: 0;           /* retire le décalage */
    margin: 0;
}

.stats-card.publications ul li {
    margin-bottom: 12px;
    padding: 10px 8px;
    background: #f8f9fc;       /* léger fond */
    border-bottom: 4px solid var(--primary-green);/*#004aad; */
    border-radius: 6px;
    line-height: 1.35;
}

.stats-card.publications ul li strong {
    font-size: 0.85rem;
 
}

.stats-card.publications ul li span {
    display: block;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.2rem;
    margin-top: 0.5em;
}



#description-logo{
    margin:10px;
}

#directeur-lami{
    display: block;
  margin: 0 auto;
  width: 170px;
  border-radius: 15px;
  border: 2px solid #004aad;
}










