.site-logo {
    position: absolute !important;
    top: 0px !important;
    left: 10px !important;
    width: 80px !important;
    height: auto !important;
    z-index: 1000 !important;
}

/* ================================================= */ 
/* CODE CSS COMPLET DE LA PAGE "NOS RÉALISATIONS"    */ 
/* ================================================= */ 
 
/* Variables de couleur (Identiques) */ 
:root { 
    --color-dark-blue: #0D1A39; 
    --color-red: #B03A40; 
    --color-light-blue: #3A70B0; 
    --color-white: #ffffff; 
    --color-grey-light: #f9f9f9; 
    --color-body-text: #333333; 
} 
 
/* Base et Header (Identiques aux autres pages) */ 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 
body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    background-color: 
var(--color-grey-light); 
color: var(--color-body-text); 
} 
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
 } 
header { 
    background-color: var(--color-dark-blue); 
    color: var(--color-white); 
    padding: 15px 0; 
} 
header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 
.logo { 
    font-size: 28px; 
    font-weight: 700; 
} 
nav ul { 
    list-style: none; 
    display: flex; } 
nav ul li a { 
    color: var(--color-white); 
    text-decoration: none; 
    font-weight: 600; 
    padding: 10px 15px; 
    transition: color 0.3s;
 } 
nav ul li a:hover, nav ul li a.active { 
    color: var(--color-red); 
} 
 
/* Section Héro / Titre */ 
.realisations-hero { 
    background-color: var(--color-dark-blue); 
    color: var(--color-white); 
    padding: 80px 0; 
    text-align: center; 
    border-bottom: 5px solid var(--color-red); /* Accent rouge */ 
} 
.realisations-hero h1 { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 10px; 
} 
.realisations-hero p { 
    font-size: 1.2rem; 
    opacity: 0.9; 
} 
 
/* Section Galerie (Grille d'Images) */ 
.gallery-section { 
    padding: 60px 0; 
} 
 
.gallery-section h2 { 
    font-size: 2.2rem; 
    color: var(--color-dark-blue); 
    margin-bottom: 30px; 
    text-align: center; 
} 
 
.realisations-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grille responsive */ 
    gap: 20px; 
} 
 
.gallery-item { 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
} 
 
.gallery-item img { 
    width: 100%; 
    height: 300px; /* Hauteur fixe pour une grille uniforme */ 
    object-fit: cover; 
    display: block; 
    transition: transform 0.4s ease-in-out; 
} 
 
/* Effet de Survol et Overlay */ 
.overlay { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 100%; 
    width: 100%; 
    opacity: 0; /* Caché par défaut */ 
    transition: opacity 0.3s ease-in-out; 
    background-color: rgba(176, 58, 64, 0.7); /* Rouge Brique semi-transparent */ 
    display: flex; 
    justify-content: center; 
    align-items: center; 
} 
 
.gallery-item:hover img { 
    transform: scale(1.05); /* Zoom léger sur l'image */ 
} 
 
.gallery-item:hover .overlay { 
    opacity: 1; /* Afficher l'overlay au survol */ 
} 
 
.view-text { 
    color: var(--color-white); 
    font-size: 1.2rem; 
    font-weight: 700; 
    border: 2px solid var(--color-white); 
    padding: 8px 15px; 
    border-radius: 4px; 
} 
 
/* Styles de la Modale (pour l'agrandissement) */ 
.modal { 
    display: none; /* Caché par défaut */ 
    position: fixed; 
    z-index: 1000; 
    padding-top: 50px; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.9); /* Fond noir semi-transparent */ 
} 
 
.modal-content { 
    margin: auto; 
    display: block; 
    width: 90%; 
    max-width: 1000px; 
    max-height: 90vh; /* Limiter la hauteur à la vue pour éviter un défilement du corps principal */ 
    object-fit: contain; 
} 
 
#caption { 
    margin: auto; 
    display: block; 
    width: 80%; 
    max-width: 700px; 
    text-align: center; 
    color: var(--color-white); 
    padding: 10px 0; 
    height: 50px; 
} 
 
.close { 
    position: absolute; 
    top: 15px; 
    right: 35px; 
    color: var(--color-white); 
    font-size: 40px; 
    font-weight: bold; 
    transition: 0.3s; 
} 
 
.close:hover, 
.close:focus { 
    color: var(--color-red); 
    text-decoration: none; 
    cursor: pointer; 
} 
 
/* Footer (Identique) */ 
footer { 
    background-color: var(--color-dark-blue); 
    color: var(--color-white); 
    padding: 20px 0; 
} 
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 10px; 
} 
.social-links a { 
    color: var(--color-white); 
    text-decoration: none; 
    margin-left: 15px; 
    opacity: 0.8; 
    transition: opacity 0.3s; 
} 
 
/* Responsivité */ 
@media (max-width: 768px) { 
    .site-logo {
        position: absolute !important;
    top: 70px !important;
    left: 100px !important;
    width: 100px !important;
    height: auto !important;
    z-index: 1000 !important;
   
    }
   
    .realisations-grid { 
        grid-template-columns: 1fr; 
    } 
    .modal-content { 
        width: 100%; 
    } 
    .footer-bottom { 
        flex-direction: column; 
    } 


        /* ================================================= */
/* RESPONSIVE DESIGN : Menu Hamburger pour Mobile */
/* ================================================= */
/* 1. Cache le menu par défaut */
    .menu-principal ul {
        display: none; /* Cache la liste de liens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Doit être la hauteur de votre en-tête */
        left: 0;
        background-color: var(--color-dark-blue); /* Couleur de fond du menu déroulant */
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    /* 2. Style des liens déroulants */
    .menu-principal ul li {
        text-align: left;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-principal ul li:last-child {
        border-bottom: none;
    }

    .menu-principal ul li a {
        color: var(--color-white);
        display: block;
        padding: 10px 0;
    }
    
    /* 3. Affiche le menu lorsque la classe 'open' est active (via JS) */
    .menu-principal.open ul {
        display: flex; 
    }

    /* 4. Affiche le bouton Hamburger */
    .menu-toggle {
        display: block; /* Rend le bouton visible sur mobile */
        cursor: pointer;
        padding: 10px 0;
        color: var(--color-white); /* Couleur des barres */
        font-size: 24px;
        line-height: 1;
        /* Aligner le bouton à droite dans l'en-tête */
        margin-left: auto; 
    }
    
    /* Si votre en-tête a une classe 'header' ou 'navbar' */
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Cache le texte du bouton si vous utilisez un symbole */
    .menu-toggle span {
        display: none;
    }

    /* Style des barres de l'icône (Facultatif, si vous utilisez 3 barres dessinées) */
    /* Alternativement, on utilise le caractère Unicode ☰ (U+2630) */
    .menu-toggle::before {
        content: "\2630"; /* Caractère Unicode pour le symbole Hamburger */
    }
    
    /* Changement de l'icône en 'X' à l'ouverture (Optionnel) */
    .menu-toggle.active::before {
        content: "\2715"; /* Caractère Unicode pour le symbole X */
}
}