.site-logo {
    position: absolute !important;
    top: 0px !important;
    left: 10px !important;
    width: 80px !important;
    height: auto !important;
    z-index: 1000 !important;
}
.site-back {
    position: absolute !important;
    top: 50px !important;
    left: 180px !important;
    width: 500px !important;
    height: auto !important;
    z-index: 1000 !important;
}
@media screen and (max-width: 768px) {
    .site-back {
        display: none !important;
    }
}
/* Variables de couleur */
:root {
    --color-dark-blue: #032064; /* Bleu Marine */
    --color-red: #B03A40; /* Rouge Brique */
    --color-light-blue: #3A70B0; /* Bleu Moyen pour carte */
    --color-purple: #7B3A99; /* Violet pour Services Personnalisés */
    --color-white: #ffffff;
    --color-grey: #f4f4f4;
}

/* Base et Typographie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--color-grey);
    color: var(--color-dark-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* En-tête (Header) */
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 {
    color: var(--color-red);
}

/* Section Héro (Hero) */
.hero-section {
    background-color: var(--color-dark-blue);
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 450px;
    position: relative;
    padding: 50px 0;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; 
    height: 100%;
    background: linear-gradient(to right, rgba(13, 26, 57, 0.8), rgba(13, 26, 57, 0.4)), url('chemin/vers/votre/image-de-fond.jpg') center left / cover;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}

.hero-text {
    color: var(--color-white);
    z-index: 10;
    max-width: 500px;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.btn-cta {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--color-red);
    color: var(--color-white);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-cta:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Blocs de Services */
.services-blocks {
    padding: 50px 0;
    background-color: var(--color-white);
}

.services-blocks .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transform: translateY(-80px);
}

.service-card {
    color: var(--color-white);
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.blue {
    background-color: var(--color-light-blue);
}

.service-card.red {
    background-color: var(--color-red);
}

.service-card.purple {
    background-color: var(--color-purple);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Pied de page (Footer) */
footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 20px 0;
    margin-top: -80px;
    padding-top: 100px; 
}

.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;
}

/* Media Query */
@media (max-width: 768px) {
    .logo{
        display: none;
    }
    .site-logo {
        position: absolute !important;
    top: 20px !important;
    left: 100px !important;
    width: 150px !important;
    height: auto !important;
    z-index: 1000 !important;
    
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    .services-blocks .container {
        grid-template-columns: 1fr;
        gap: 20px;
        transform: translateY(0);
    }
    .hero-section {
        padding-bottom: 20px;
    }
    footer {
        margin-top: 0;
        padding-top: 20px;
    }

        /* ================================================= */
/* 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 */
}
}
