
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@700&display=swap');

        :root {
            --primary: #800000;
            --accent: #f7941d;
            --dark: #1a1a1a;
            --light: #ffffff;
            --gray: #f4f4f4;
            --step-bg: #d1d5d8;
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * { box-sizing: border-box; }
        body { 
            margin: 0; font-family: 'Poppins', sans-serif; background: var(--light); 
            color: var(--dark); overflow-x: hidden; line-height: 1.6;
            scroll-behavior: smooth;
        }

 /* --- HEADER UNIFIÉ --- */
#header {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 15px 50px; 
    background: rgba(255, 255, 255, 0.9);
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000; 
    backdrop-filter: blur(10px);
    transition: all 0.4s ease; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-sizing: border-box; 
}

#header.scrolled { 
    padding: 6px 20px !important; 
    background: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.logo-container { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 2px solid var(--accent); 
    transition: all 0.4s ease; 
}

#header.scrolled .logo-container {
    width: 40px !important;
    height: 40px !important;
}
/* Réduction du bouton au scroll */
#header.scrolled .btn-devis {
    padding: 8px 18px !important;    /* Plus petit que les 12px 25px initiaux */
    font-size: 14px !important;      /* Légère réduction de la taille du texte */
}

.site-logo { width: 100%; height: 100%; object-fit: cover; }
.menu-central { display: flex; gap: 30px; }
.nav-item { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 15px; position: relative; transition: 0.3s; cursor: pointer; }
.nav-item:hover, .nav-item.active { color: var(--accent); }

/* Correction du bloc btn-devis */
.btn-devis { 
    background: var(--primary); 
    color: white !important; 
    padding: 12px 25px; 
    text-decoration: none; 
    border-radius: 5px; 
    font-family: 'Playfair Display', serif; 
    transition: 0.3s; 
}
        /* --- HERO --- */
        .hero { height: 20vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #fdfdfd; padding: 0 50px; }

        /* --- SERVICES (ACCUEIL PREVIEW) --- */
        .section { padding: 100px 50px; text-align: center; }
        .services-grid { display: flex; justify-content: center; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
        .service-card { background: white; padding: 40px; border-radius: 20px; width: 300px; transition: var(--transition); border: 1px solid #eee; }
        .service-card:hover { transform: translateY(-10px); border-color: var(--accent); }
        .icon-box { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; color: white; }

       
        #page-services-exclusive {
            display: none;
            flex-direction: column;
            width: 100%;
        }
 .services-hero-top {
    width: 100%;
    height: 75vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    perspective: 1000px; 
    
    /* Appel de l'image (ajoute ../ si ton CSS est dans un dossier séparé) */
    background-image: url('fm.jpg');
    background-repeat: no-repeat;
    
    /* Positionnement : centré horizontalement, et légèrement remonté (30%) 
       pour que le cœur du logo doré soit bien visible au-dessus du panneau blanc */
    background-position: center 30%; 
    
    /* Taille : On force l'image à prendre toute la largeur de l'écran (100%) 
       et à adapter sa hauteur automatiquement pour ne pas être déformée */
    background-size: 100% auto; 
    
    /* Couleur de secours : la couleur sombre exacte de ton logo pour une transition invisible */
    background-color: #11161b; 
}
        .glass-panel-exclusive {
            background: rgba(235, 241, 245, 0.85); backdrop-filter: blur(10px);
            padding: 50px; width: 80%; max-width: 1000px; text-align: center;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.4);
            transition: transform 0.1s ease-out; 
        }
        .glass-panel-exclusive h1 { font-family: 'Playfair Display', serif; font-size: 50px; color: #333; margin: 0; }
        .glass-panel-exclusive p { font-style: italic; color: #555; margin: 20px 0; font-size: 17px; }
        .blue-info-box-exclusive { border-top: 1px solid #999; padding-top: 25px; margin-top: 25px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #2c3e50; }
        
        .services-white-bottom { background: white; padding: 80px 10%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
        
        .srv-item { 
            display: flex; gap: 20px; margin-bottom: 20px; 
            padding: 20px; border-radius: 15px; transition: var(--transition);
            opacity: 0; cursor: pointer;
        }
        .srv-item:hover { background: #f9f9f9; transform: translateX(10px); }
        
        .srv-num { 
            font-family: 'Playfair Display', serif; font-size: 55px; color: #3498db; 
            font-style: italic; font-weight: bold; line-height: 1; transition: 0.4s;
        }
        .srv-item:hover .srv-num { transform: scale(1.2) rotate(-10deg); color: var(--accent); }

        .srv-desc h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: #333; margin: 0 0 15px 0; text-transform: lowercase; }
        .srv-desc p { color: #666; font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
        
        /* STYLE DE LA BULLE (MODALE) */
        .modal-exclusive {
            display: none; position: fixed; z-index: 3000; left: 0; top: 0;
            width: 100%; height: 100%; background: rgba(0,0,0,0.8);
            align-items: center; justify-content: center; backdrop-filter: blur(5px);
        }
        .modal-content {
            background: white; padding: 40px; border-radius: 20px; width: 90%; max-width: 650px;
            position: relative; animation: popIn 0.4s ease; box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }
        @keyframes popIn { from { opacity:0; transform: scale(0.9); } to { opacity:1; transform: scale(1); } }
        .close-modal { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #999; transition: 0.3s; }
        .close-modal:hover { color: var(--primary); }
        .modal-body h2 { font-family: 'Playfair Display', serif; color: var(--primary); margin-bottom: 20px; }
        .modal-body p { margin-bottom: 15px; font-size: 16px; color: #444; }
        .example-box { background: #f9f9f9; border-left: 4px solid var(--accent); padding: 15px; margin-top: 20px; font-style: italic; }

        @keyframes slideInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .urgent-banner { background: #2d3436; color: white; padding: 60px 20px; text-align: center; }
        .urgent-banner h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #bdc3c7; font-weight: 400; margin-bottom: 10px; }
        .urgent-banner p { font-size: 45px; font-family: 'Playfair Display', serif; margin-bottom: 30px; }
        .urgent-btn { 
            background: #e74c3c; color: white; border: none; padding: 12px 40px; 
            font-size: 18px; font-weight: bold; border-radius: 5px; cursor: pointer;
            transition: 0.3s; position: relative; overflow: hidden;
        }
        .urgent-btn:hover { background: #c0392b; box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4); }

        /* --- PAGE CONTACT EXCLUSIVE --- */
        #page-contact-exclusive {
            display: none;
            flex-direction: column;
            width: 100%;
            min-height: 100vh;
            background: linear-gradient(-45deg, #fdfdfd, #fff0f0, #f0f4f8);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            padding: 80px 10%;
        }
        @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
        .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 30px; }
        .contact-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
        .contact-card i { color: var(--accent); font-size: 22px; margin-right: 15px; }
        .form-exclusive { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
        .form-exclusive input, .form-exclusive textarea { width: 100%; padding: 15px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 20px; background: #fafafa; }
        .btn-send { background: var(--primary); color: white; border: none; padding: 15px 40px; border-radius: 8px; cursor: pointer; font-weight: 600; width: 100%; transition: 0.3s; }
        .btn-send:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(128,0,0,0.2); }

        /* --- PAGE A PROPOS --- */
        #page-propos-exclusive {
            display: none;
            flex-direction: column;
            width: 100%;
            padding: 80px 10%;
        }

        /* --- LANGUES --- */
        .carousel-view { width: 90%; margin: 40px auto; overflow: hidden; }
        .carousel-rail { display: flex; gap: 40px; transition: transform 0.6s ease-in-out; }
        .langue-item { min-width: calc(20% - 32px); text-align: center; }
        .flag-circle { 
            width: 140px; height: 140px; border-radius: 50%; border: 4px solid white;
            margin: 0 auto 15px; overflow: hidden; transition: 0.5s; cursor: pointer;
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .flag-circle:hover { transform: scale(1.1) rotate(5deg); border-color: var(--accent); }
        .flag-circle img { width: 100%; height: 100%; object-fit: cover; }
        .langue-item h4 { font-weight: 400; font-size: 18px; margin-top: 10px; }

        /* --- ENGAGEMENTS --- */
        .section-eng { padding: 80px 50px; }
        .engagement-row { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto 80px; text-align: left; }
        .engagement-row.rev { flex-direction: row-reverse; text-align: right; }
        .eng-text h2 { font-family: 'Playfair Display', serif; font-size: 35px; color: var(--primary); }
        .eng-icon { font-size: 80px; color: var(--accent); opacity: 0.8; }

        /* --- TÉMOIGNAGES --- */
        .testi-section { 
            padding: 100px 20px; 
            background: linear-gradient(135deg, #1a1a1a 0%, #330000 100%); 
            text-align: center; color: white; position: relative;
        }
        .testi-section h2 { font-family: 'Playfair Display', serif; font-size: 40px; margin-bottom: 50px; color: var(--accent); }
        .testi-container { max-width: 900px; margin: 0 auto; min-height: 350px; display: flex; align-items: center; justify-content: center; }
        .testi-card { display: none; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); padding: 50px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.3); animation: slideUp 0.8s ease-out; position: relative; }
        .testi-card.active { display: block; }
        .testi-card i.quote-icon { font-size: 40px; color: var(--accent); margin-bottom: 20px; opacity: 0.6; }
        .testi-text { font-size: 20px; font-style: italic; margin-bottom: 30px; line-height: 1.8; }
        .testi-author { font-weight: 600; color: var(--accent); font-size: 18px; letter-spacing: 1px; }
        .testi-origin { font-size: 14px; opacity: 0.7; text-transform: uppercase; margin-top: 5px; }
        .dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
        .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; }
        .dot.active { background: var(--accent); transform: scale(1.3); }

        /* --- COMMENT ÇA MARCHE --- */
        .section-steps { padding: 100px 50px; background-color: var(--step-bg); text-align: center; }
        .section-steps h2 { font-family: 'Playfair Display', serif; font-size: 45px; margin-bottom: 5px; color: #333; }
        .steps-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; margin-top: 50px; }
        .step-item { flex: 1; min-width: 280px; }
        .step-item i { font-size: 50px; color: #333; margin-bottom: 20px; display: block; }
        .step-item h3 { font-size: 16px; text-transform: lowercase; font-weight: 400; margin-bottom: 15px; }

        /* --- FOOTER --- */
        footer { background: var(--dark); color: white; display: flex; flex-wrap: wrap; }
        .foot-info { flex: 1; padding: 80px 50px; background: #111; }
        .foot-form { flex: 1.5; padding: 80px 50px; background: white; color: var(--dark); }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .full { grid-column: span 2; }
        input, textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; }
        .submit-btn { background: var(--primary); color: white; border: none; padding: 15px; cursor: pointer; width: 100%; transition: 0.3s; }
        .submit-btn:hover { background: #600000; }

        /* --- WHATSAPP --- */
        .whatsapp-trigger { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 2000; cursor: pointer; transition: 0.3s; }
        .whatsapp-trigger:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
		
		.full-width-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0; /* Supprime l'espace sous l'image */
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Garde les proportions de l'image */
}

/* Optionnel : Si vous voulez ajouter le texte par-dessus l'image comme sur votre capture */
.image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.image-overlay-text p {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #2c3e50; /* Couleur sombre comme sur la photo */
    background: rgba(255, 255, 255, 0.4); /* Effet transparent léger */
    padding: 10px;
    display: inline-block;
}


.banner-container {
    position: relative; /* Garde le milieu comme base */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* PERMET À L'IMAGE DE GAUCHE DE DESCENDRE */
    background-color: #fff;
}

.main-banner {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1; /* Derrière l'image de gauche */
}


.side-img {
    position: absolute;
    z-index: 10;
    
    /* TAILLE RÉDUITE ICI (était 380px) */
    width: 280px;  
    
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.left-img, .right-img {
    width: 180px !important;
}
.left-img {
    position: absolute;
    left: 20px;
    /* 1. On descend l'image ici */
    top: 55% !important; 
    
    z-index: 10;
    width: 380px; 
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    
    animation: slideInLeft 1.5s ease-out, float 5s ease-in-out infinite;
    animation-delay: 0s, 0.5s;
    
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.right-img {
    right: 20px;
    bottom: 8%;
 
    animation: slideInRight 1.5s ease-out, float 5s ease-in-out infinite;
    animation-delay: 0s, 1s; /* Le flottement commence après l'entrée */
}


.side-img:hover {
    transform: scale(1.1) rotate(2deg); /* Grandit et tourne légèrement au survol */
    cursor: pointer;
}

/* --- DÉFINITION DES ANIMATIONS --- */

/* 1. Flottement vertical doux */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 2. Entrée depuis la gauche avec fondu */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

/* 3. Entrée depuis la droite avec fondu */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

#header {
    display: flex;
    align-items: center; /* Aligne tout le monde (logo, titre, menu) sur la même ligne */
}

.titre-independant {
    margin-left: -160px; /* Crée juste un petit espace vide après le logo */
    font-size: 20px;
    font-weight: bold;
    color: #800000; /* Votre couleur bordeaux habituelle */
    font-family: Arial, sans-serif;
}
/* Conteneur principal */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white; /* Fond blanc pour plus de clarté */
    min-width: 230px;
    border-top: 3px solid #800000; /* Rappel de votre couleur bordeaux */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Ombre très légère */
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    z-index: 1000;
    animation: fadeIn 0.3s ease; /* Petite animation d'apparition */
}

.dropdown-menu a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: 0.3s;
    text-align: left;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #800000; /* Le texte devient bordeaux au survol */
    padding-left: 25px; /* Petit mouvement vers la droite */
}
.dropdown:hover .dropdown-menu {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.image-text-overlay {
    position: absolute;
    top: 55%; /* Ajusté pour être sur le bas du document de l'image */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 40%;
    z-index: 20;
    pointer-events: none; /* Permet de cliquer à travers le texte si besoin */
}

.image-text-overlay h1 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: normal;
    color: #333333; /* Gris très foncé, presque noir */
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8); 
}

.scroll-window {
    height: 400px; /* Ajuste la hauteur pour voir environ 2 ou 3 lignes à la fois */
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 langues par ligne */
    gap: 20px;
    padding: 20px 0;
}
.expertises-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

/* Carte Principale */
.main-service-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.main-service-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
}

.main-num {
    font-size: 60px;
    font-weight: 900;
    color: #e74c3c; /* Rouge rappelant votre bouton */
    margin-right: 30px;
    opacity: 0.2;
}

.main-title-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #2c3e50;
    margin: 0;
}

/* Grille des sous-services */
.sub-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.sub-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #e74c3c;
}

.sub-card-icon {
    font-size: 30px;
    margin-bottom: 15px;
    display: block;
}

.languages-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    width: 100%;
    text-align: center;
}

.languages-title {
    color: white;
    margin-bottom: 60px;
    font-size: 32px;
    font-family: 'Playfair Display', serif;
}

.languages-static-grid {
    display: grid !important; /* Force le mode grille */
    grid-template-columns: repeat(4, 1fr) !important; /* FORCE 4 colonnes égales */
    
    gap: 40px 20px; /* Espace entre les lignes et colonnes */
    width: 100%;
    max-width: 1100px; /* Empêche que ce soit trop large sur grand écran */
    margin: 0 auto; /* Centre la grille dans la page */
    justify-items: center; /* Centre chaque drapeau dans sa colonne */
}

.lang-item {
    /* On s'assure que l'item lui-même ne casse pas la ligne */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
}

.lang-name {
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lang-item img {
    /* On agrandit la taille des drapeaux */
    width: 120px; 
    height: 120px;
    border-radius: 50%; 
    object-fit: cover;
    border: 3px solid #333; /* Bordure un peu plus épaisse pour l'équilibre */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

/* Optionnel : un petit effet au survol car c'est plus joli */
.lang-item:hover img {
    transform: scale(1.1);
    border-color: #e74c3c;
}

.lang-item span {
    font-size: 18px; /* On agrandit aussi un peu le texte */
    font-weight: 600;
    letter-spacing: 0.5px;
}
.sub-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.sub-card p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 15px;
}

.explore-link {
    font-size: 13px;
    font-weight: bold;
    color: #e74c3c;
    text-transform: uppercase;
}
.lang-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.lang-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid white;
    margin-bottom: 10px;
    object-fit: cover;
}

.lang-card span {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
}
@media screen and (min-width: 1165px) {
    header {
        /* Ton code pour les grands écrans ici */
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }
}
/* CAS INVERSE : Écrans inférieurs à 1164px */
@media screen and (max-width: 1164px) {
    header {
        padding: 10px 20px; /* On réduit les marges internes pour gagner de la place */
        width: 100%;        /* On occupe tout l'écran disponible */
    }

    .menu-central {
        gap: 15px;          /* On resserre les liens du menu */
    }

    .nav-item {
        font-size: 14px;    /* On réduit légèrement la taille du texte */
    }

    .titre-independant {
        margin-left: 0;     /* On annule la marge négative pour éviter le chevauchement sur petit écran */
        font-size: 18px;
    }

    /* Pour la grille de drapeaux que l'on voit sur ta capture */
    .languages-static-grid {
        grid-template-columns: repeat(3, 1fr); /* On passe de 4 à 3 colonnes pour que ce soit lisible */
    }
}
/* --- CODE POUR PC (Par défaut) --- */
.burger-menu {
    display: none; /* Toujours caché sur grand écran */
}
body, html {
    overflow-x: hidden; /* Coupe tout ce qui dépasse à droite */
    width: 100%;
}
/* --- CODE UNIQUEMENT POUR MOBILE (768px et moins) --- */
@media screen and (max-width: 768px) {

    /* 1. On affiche le burger */
    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    /* 2. On cache le menu ET le bouton devis */
    .menu-central, #btn-devis-id {
        display: none; 
    }

    /* 3. Style du menu quand il s'ouvre (en mode colonne) */
    header.menu-open .menu-central {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        gap: 15px;
        align-items: center;
    }

    /* 4. On fait réapparaître le bouton devis DANS le menu ouvert */
    header.menu-open #btn-devis-id {
        display: block;
        width: 90%;
        text-align: center;
    }
}
/* --- SUR PC --- */
.menu-central .icone-menu {
    display: none; /* Toujours caché sur PC */
}


/* --- SUR MOBILE (768px) --- */
@media screen and (max-width : 768px) {

    /* 1. SURTOUT PAS DE display: none ICI */
    .menu-central {
        display: flex !important; 
        justify-content: flex-end; /* Pour pousser l'icône à droite */
    }

    /* 2. C'est ici qu'on cache le texte (les liens) */
    .menu-central a {
        display: none !important;
    }

    /* 3. Maintenant l'icône peut apparaître ! */
    .menu-central .icone-menu {
        display: block !important;
        position: static; /* On oublie le absolute pour éviter les décalages */
        width: 35px;
        margin-left: auto;
		margin-right: 35px;
    }

    /* 4. On cache le reste pour faire de la place */
    .btn-devis, .titre-independant {
        display: none;
    }
	/* AJOUTE CECI POUR CACHER LES DEUX IMAGES LATÉRALES */
    .left-img, .right-img, .side-img {
        display: none !important;
    }
	/* 1. On affiche le titre (auparavant en display: none) */
    .titre-independant {
        display: block !important;
        font-size: 15px; /* Ajustez la taille selon votre besoin */
        margin-left: 10px; /* Petit espace entre le logo et le titre */
		margin-right:auto;
		white-space: nowrap;
        color: #800000; /* Garde la couleur bordeaux visible sur vos images */
    }
@media screen and (max-width: 768px) {
    /* 1. La Carte Blanche */
    header.mobile-ouvert .menu-central {
        display: flex !important;
        flex-direction: column !important;
        position: absolute;
        top: 75px;
        right: 15px;
        width: 210px; /* Taille réduite de la carte */
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border: 1px solid var(--accent);
        padding: 0; /* On enlève le padding pour que le bouton colle au bord */
        overflow: hidden; /* Important pour l'arrondi du bouton en bas */
        z-index: 9999;
    }

    /* 2. Les liens classiques */
    header.mobile-ouvert .menu-central a:not(.btn-devis) {
        display: block !important;
        padding: 12px 20px;
        color: #333 !important;
        font-size: 14px;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }

    /* 3. LE BOUTON DEVIS (Petit et en bas) */
    header.mobile-ouvert .menu-central .btn-devis {
        display: block !important;
        position: static !important; /* Il reprend sa place naturelle en bas */
        background: var(--primary) !important;
        color: white !important;
        padding: 12px !important; /* Taille réduite */
        font-size: 13px !important; /* Texte plus petit */
        text-align: center;
        width: 100%;
        border-radius: 0; /* Pas d'arrondi propre, il suit la carte */
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
    }  
}

/* --- CORRECTIF FINAL MOBILE --- */
@media screen and (max-width: 768px) {
    /* On force l'icône à sortir du flux pour remonter en haut */
    .icone-menu {
        position: absolute !important;
        top: 20px !important;   /* Aligné avec ton logo */
        right: 20px !important; /* Calé à droite */
        width: 30px !important;
        display: block !important;
        z-index: 2001 !important; /* Pour passer devant le fond blanc du menu */
    }

    /* On s'assure que le menu blanc commence sous le header */
    .menu-central {
        padding-top: 50px !important; /* Laisse de la place pour l'icône en haut */
        display: none; /* Reste caché par défaut */
    }

    /* Si tu as une classe pour ouvrir le menu */
    .menu-central.ouvert {
        display: flex !important;
    }
}
#section-accueil .image-text-overlay h1 {
        font-size: 1.2rem;       /* Réduit la taille du texte */
        line-height: 1.4;        /* Améliore l'espace entre les lignes */
        width: 40%;              /* Empêche le texte de toucher les images de côté */
        margin: 0 auto;          /* Centre le bloc de texte horizontalement */
        text-align: center;      /* Force l'alignement au milieu */
    }

    /* Optionnel : Ajuster la position du conteneur si nécessaire */
    #section-accueil .image-text-overlay {
        width: 100%;
        left: 0;
        transform: translateY(-50%); /* Garde le centrage vertical sur l'image */
    }
}	
   /* Ajoutez cette classe aux parents des éléments qui doivent sauter à la ligne */
.flex-auto-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Correction spécifique pour vos drapeaux de langues */
.languages-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.lang-item {
    flex: 0 1 auto; /* Garde la taille naturelle de l'image/texte */
    text-align: center;
}
	/* Conteneur de la section contact exclusive */
.contact-grid {
    display: flex;
    flex-wrap: wrap; /* Permet le retour à la ligne automatique */
    gap: 30px;
    padding: 20px;
    justify-content: center;
}

.contact-card, .form-exclusive {
    flex: 1 1 400px; /* Largeur de base 400px, s'étire ou passe à la ligne si moins */
    min-width: 300px; /* Sécurité pour les petits téléphones */
    box-sizing: border-box;
}
footer {
    display: flex;
    flex-wrap: wrap; /* Retour à la ligne si l'espace manque */
    gap: 40px;
    padding: 50px 20px;
    background-color: #f9f9f9; /* Ou votre couleur actuelle */
}

.foot-info, .foot-form {
    flex: 1 1 350px; /* S'adapte à l'écran */
    min-width: 300px;
}

/* S'assurer que le formulaire prend bien toute la largeur disponible dans son bloc */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-grid .full {
    width: 100%;
}
    /* Correction globale du débordement */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* 1. Reset du Header (Logo + Titre) */
    header {
        padding: 10px 15px !important;
        justify-content: space-evenly;
        gap: 10px;
    }

    .logo-container {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0;
    }

    .titre-independant {
        margin-left: 0 !important; /* Supprime le -160px de votre ligne 218 */
        font-size: 15px !important;
        white-space: nowrap;
        display: block !important;
    }

    /* 2. Correction des Cartes et Sections (Plus rien à droite) */
    .expertises-section, .services-white-bottom, .section-steps, .section-eng {
        padding: 40px 15px !important; /* Réduit les marges internes */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .sub-services-container, .steps-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .sub-card, .step-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* 3. Correction des Drapeaux (2 par ligne au lieu de 4) */
    .languages-static-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Correction ligne 200 */
        gap: 20px !important;
        width: 100% !important;
    }

    .lang-item img {
        width: 80px !important;
        height: 80px !important;
    }

    /* 4. Fix du texte "Confidentialité" coupé */
    h1, h2, h3 {
        font-size: 1.4rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* 5. Cacher les images décoratives qui flottent mal */
    .side-img, .left-img, .right-img {
        display: none !important;
    }
}
}

/* --- Affichage au survol (PC uniquement) --- */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

/* --- Affichage sur Mobile (Uniquement si on ajoute une classe via JS) --- */
@media screen and (max-width: 768px) {
    .dropdown-menu {
        position: static !important; /* Reprend sa place dans la carte blanche */
        width: 100%;
        box-shadow: none;
        border-top: 1px solid #eee;
    }

    /* Cette classe sera ajoutée au clic en JavaScript */
    .dropdown.active-mobile .dropdown-menu {
        display: block !important;
    }
}
/* 1. On s'assure que le menu est caché par défaut */
.dropdown-menu {
    display: none !important; /* Force la disparition initiale */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 9999;
    flex-direction: column;
    padding: 10px 0;
    border-top: 3px solid var(--primary); /* Rappel de ton bordeaux */
}

/* 2. LE DÉCLENCHEUR : On affiche au survol du PARENT (.dropdown) */
.dropdown:hover .dropdown-menu {
    display: flex !important; /* Apparaît en colonne au survol */
}

/* 3. Style des liens internes pour qu'ils soient cliquables proprement */
.dropdown-menu a {
    display: block !important;
    padding: 12px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: var(--primary) !important;
    padding-left: 25px !important;
}
/* Style pour le conteneur du bouton */
.langue-manquante-container {
    text-align: center;
    margin: 50px auto;
    width: 100%;
    clear: both;
    display: block;
}

.langue-manquante-texte {
    color: #ccc;
    margin-bottom: 15px;
    font-family: sans-serif;
}

/* Style pour le bouton rouge */
.btn-langue-manquante {
    display: inline-block;
    padding: 14px 35px;
    background-color: #8a0000;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Petit effet de survol pour rendre le bouton plus interactif */
.btn-langue-manquante:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}