/* CSS/Global.css corrigé pour votre HTML */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fefefe;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* Espace pour le header fixe */
}

/* --- HEADER ET NAVBAR CORRIGÉS --- */
header { 
    width: 100%;
    height: 80px;
    background-color: #1190CB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
}

/* Logo (bouton avec image) */
.logo {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.logo img {
    height: 60px; /* Ajusté pour rentrer dans le header */
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-bar ul {
    display: flex;
    align-items: center; 
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-bar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2em; /* Légèrement réduit pour être plus propre */
    font-weight: 100;
    transition: color 0.3s ease;
}

.nav-bar ul li a:hover,
.nav-bar ul li a.active {
    color: #d4f5d4;
    font-weight: bold;
}

/* Menu Hamburger (caché sur grand écran) */
.humburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.ligne {
    width: 30px;
    height: 3px;
    background-color: white;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-bar {
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #1190cb;
        width: 100%;
        display: none; /* Caché par défaut */
        padding: 20px;
        text-align: center;
    }
    
    .nav-bar.active {
        display: block; /* Affiché via JS si besoin */
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 20px;
    }

    .humburger {
        display: flex; /* Affiché sur mobile */
    }
}

/* --- FOOTER (Inchangé car les classes correspondaient déjà) --- */
footer {
    background-color: #0e7aab; 
    color: #fefefe;
    padding: 40px 0; 
    width: 100%;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
}

.footer-container {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap;
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px; 
    gap: 30px; 
}

.footer-section {
    flex: 1; 
    min-width: 220px;
    display: flex;
    justify-content: center; 
}

.footer-box {
    width: 100%;
    max-width: 280px; 
    text-align: left;
}

.footer-box h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #ffffff; 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 12px; 
}

.footer-box ul li a {
    text-decoration: none;
    color: #d4f5d4; 
    font-size: 1em;
    transition: all 0.3s ease; 
    display: inline-block; 
}

.footer-box ul li a:hover {
    color: #ffffff; 
    padding-left: 5px; 
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer-section, .footer-box, .footer-box h3, .footer-box ul li {
        text-align: center;
    }
}