       /* [TON CSS EXISTANT - Je l'ai gardé identique pour éviter les régressions] */
body {
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5 !important;
    font-family: 'Stack Sans Headline', sans-serif !important;
    transition: background-color 0.3s ease, color 0.3s ease;
        }
        
        a {
            text-decoration: none;  
        }
        

/* Styles de l'en-tête */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

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

        .container-contact {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }


        header {
            text-align: center;
            margin-bottom: 50px;
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: 400;
            letter-spacing: -0.5px;
            margin-bottom: 10px;
            color: #1a1a1a;
        }

        header p {
            color: #666;
            font-size: 1rem;
        }
        
            .header-main {
                width: 100%;
                padding: 20px 0;
                box-sizing: border-box;
                text-align: center;
                background-color: transparent; /* Pour éviter les superpositions */
            }

            /* Conteneur pour limiter la largeur et centrer le contenu */
            .header-container {
                max-width: 1200px;
                margin: 0 auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }

            /* Styles du logo */
            .logo {
                text-align: center;
            }

            .logo img {
                height: 150px;
                width: auto;
                display: block;
                transition: opacity 0.5s ease-in-out;
            }

            .logo a {
                display: inline-block;
            }

            /* Styles de la navigation */
nav {
    margin-top: 10px;
    width: 100%;
    }

 nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px; /* Espacement uniforme entre les liens */
    justify-content: center;
    flex-wrap: wrap;
     text-transform: lowercase;
}
nav ul li {
    margin: 0 !important; /* Annule les marges locales */
    font-size: 20px !important; /* Taille fixe */
}
nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: 'Stack Sans Headline', sans-serif !important;

}

            nav ul li a:hover,
            nav ul li a:focus {
                color: #007bff;
            }

            /* ===== BOUTON MENU ROND ===== */
            .menu-toggle {
                position: fixed;
                top: 20px;
                left: 20px;
                width: 25px;
                height: 25px;
                border-radius: 50%;
                background-color: #333;
                border: none;
                cursor: pointer;
                z-index: 10000;
                transition: all 0.3s ease;
                display: none;
            }

            @media (min-width: 769px) {
                .menu-toggle {
                    display: block;
                }
            }

            .menu-toggle:hover {
                background-color: #007bff;
                transform: scale(1.1);
            }

            /* ===== OVERLAY MENU ===== */
            .overlay-menu {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 9999;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
            }

            .overlay-menu.active {
                opacity: 1;
                visibility: visible;
            }

            /* Positionnement des 4 coins */
            .overlay-menu > div {
                position: fixed;
                font-size: 16px;
                line-height: 1.8;
            }

            .overlay-menu a {
                color: #333;
                text-decoration: none;
                transition: color 0.3s ease;
            }

            .overlay-menu a:hover {
                color: #007bff;
            }

            /* Top Left - Menu principal */
            .top-left {
                position: absolute;
                top: 20px;
                left: 80px;
            }

            .top-left ul {
                list-style: none;
                padding: 0;
                margin: 0;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 20px;
            }

            .top-left ul li {
                margin: 0;
            }

            .top-left ul li a {
                text-decoration: none;
                color: #333;
                font-size: 16px;
                font-weight: 700;
            }

            /* Top Right - Instagram + Breadcrumb */
            .top-right {
                top: 20px;
                right: 20px;
                text-align: right;
            }

            .breadcrumb {
                margin-top: 10px;
                font-size: 14px;
                color: #666;
            }

            #breadcrumb {
        font-family: 'Open Sans', sans-serif;
        font-size: 12px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .breadcrumb-link {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .breadcrumb-link:hover {
        color: #007bff; /* Bleu au survol */
        text-decoration: underline;
    }

    .breadcrumb-current {
        color: #333;
        font-weight: 600;
    }

            /* Bottom Left - Options CSS */
            .low-left {
                bottom: 20px;
                left: 20px;
            }

            .css-options {
                margin-top: 10px;
            }

            .css-options label {
                display: block;
                margin: 5px 0;
                cursor: pointer;
                user-select: none;
            }

            .css-options input[type="checkbox"] {
                margin-right: 8px;
            }

            /* Bottom Right - Contact */
            .low-right {
                bottom: 20px;
                right: 20px;
                text-align: right;
            }

            /* Styles responsifs */
            @media (max-width: 768px) {
                .header-container {
                    padding: 0 15px;
                }

                nav ul li {
                    margin: 0 10px;
                    font-size: 14px;
                }
                .logo img {
                    height: 60px;
                }
            }
        
        /* Style du bouton */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #333333;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover {
    background-color: #555555;
}

#backToTopBtn svg {
    width: 20px;
    height: 20px;
}

/* Affichage du bouton quand on scroll */
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
} 

/* Dark Mode (ajouté dynamiquement)*/
        .dark-mode {
            background-color: #1a1a1a !important;
            color: #e0e0e0 !important;
        }
        .dark-mode a,
        .dark-mode p,
        .dark-mode h1,
        .dark-mode h2,
        .dark-mode h3,
        .dark-mode h4,
        .dark-mode h5,
        .dark-mode h6,
        .dark-mode span,
        .dark-mode li {
            color: #e0e0e0 !important;
        }
            /* Dark Mode - Logo en négatif */
    .dark-mode #rotating-logo {
        filter: invert(1) brightness(1.2) contrast(0.9);
    }


/* Client Add */

        .client-about {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    font-size: 20px;
    text-align: center;
         
}

     .sub-title {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    font-size: 35px;
    text-align: center;
        
}

/* about*/

   <style>
        /* POLICE GLOBALE POUR TOUTE LA PAGE */
        body,
        .about-content,
        .sub-title,
        .sub-title h1,
        .sub-title h2,
        .sub-title p,
        .sub-title a,
        .sub-title ul,
        .sub-title li,
        .sub-title .meta,
        .intro,
        .expertise,
        .cta {
            font-family: 'Stack Sans Headline', sans-serif !important;
        }
        /* UNIQUEMENT les styles pour le CONTENU de about.php */
        .about-content {
            /*max-width: 800px;*/
            margin: 40px auto;
            padding: 20px;
            line-height: 1.6;
            font-size: 20px;
            text-align: center;
        }
    /* Style global inspiré de l'image */
    .sub-title-about {
        font-size: 40px;
        line-height: 1.55;
        color: #333333;
        text-align: justify;
        margin: 0 auto 20px;
        padding: 0 10%;
    }

    /* Gestion des titres (h1/h2) DANS .sub-title */
    .sub-title-about h1 {
        line-height: 1.25;
        font-size: 60px;
        font-weight: 400;
        text-align: center;
        margin: 0 0 25px 0;
        color: #000000;
    }
    .sub-title-about p {
        font-size: 38px;
        font-weight: 700;
        text-align: center;
        margin: 0 0 25px 0;
        color: #0066FF;
    }

    .sub-title-about h2 {
        font-size: 22px;
        font-weight: 700;
        margin: 30px 0 15px 0;
        color: #000000;
    }

    /* Liens bleus soulignés */
    .sub-title-about a {
        color: #0066FF;
        text-decoration: underline;
        font-weight: 600;
    }
    .sub-title-about a:hover {
        color: #0044CC;
    }

    /* Paragraphes et métadonnées */
    .sub-title-about p {
        margin-bottom: 15px;
    }
    .sub-title-about .meta {
        font-style: italic;
        font-family: serif;
        color: #666666;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Liste à puces (si utilisée) */
    .sub-title-about ul {
        margin-bottom: 20px;
        padding-left: 20px;
    }
    .sub-title-about li {
        margin-bottom: 8px;
    }
      /* Section expertise en colonnes */
        .expertise-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin: 40px auto;
            max-width: 1200px;
        }

        .expertise-card {
            flex: 1 1 200px;
            min-width: 200px;
            max-width: 250px;
            text-align: center;
            padding: 15px;
            border: 2px solid #0066FF;
            border-radius: 10px;
            background-color: #fff;
        }

        .expertise-card img {
            width: 100%;
            height: 150px;
            object-fit: contain;
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }

        .expertise-card h3 {
            color: #0066FF;
            font-size: 18px;
            margin-bottom: 10px;
        }

        .expertise-card p {
            font-size: 14px;
            color: #333;
            line-height: 1.4;
        }

    /* STYLE POUR LA GALERIE UNIQUEMENT */
    .photo-gallery {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 30px auto;
        padding: 0 20px;
    }

    .photo-item {
        border: 15px solid #0066FF;
        overflow: hidden;
        transition: all 0.3s ease;
    }


    .photo-item img {
        display: block;
        width: 100%;
        object-fit: cover;
    }

    /* RESPONSIVE */
    @media (max-width: 600px) {
        .photo-gallery {
            gap: 10px;
        }
        .photo-item img {
            height: 120px;
        }
    }


       /* ===== GALERIE MASONRY ===== */
        .gallery { position: relative; max-width: 100%; }
        .gallery-item {
            position: absolute; cursor: pointer; background: #fff; overflow: hidden;
            transition: opacity 0.3s ease;
        }
        .gallery-item img, .gallery-item video {
            width: 100%; height: auto; display: block; background: #fff;
        }

        /* fond pendant le chargement */
        .gallery-item { background: #f0f0f0; }

        /* Overlay subtil au survol */
        .gallery-item::after {
            content: ''; position: absolute; inset: 0;
            background: rgba(0,0,0,0); transition: background 0.3s ease; pointer-events: none;
        }
        .gallery-item:hover::after { background: rgba(0,0,0,0.08); }

        /* Icône de lecture pour vidéos (facultatif, on garde) */
        .gallery-item[data-type="video"]::before {
            content: '▶'; position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%); font-size: 2.5rem; color: white; z-index: 2;
            opacity: 0; transition: opacity 0.3s ease; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
            pointer-events: none;
        }
        .gallery-item[data-type="video"]:hover::before { opacity: 0.9; }

        /* ===== LIGHTBOX ===== */
        .lightbox {
            position: fixed; inset: 0; background: rgba(255,255,255,0.98);
            display: none; align-items: center; justify-content: center; z-index: 9999;
        }
        .lightbox.active { display: flex; }
        .lightbox-inner { position: relative; max-width: 95vw; max-height: 92vh; }
        .lightbox img, .lightbox video { max-width: 95vw; max-height: 92vh; display: block; margin: 0 auto; }
        .lightbox-close {
            position: absolute; top: -44px; right: 0; background: #000; color: #fff;
            border: 0; width: 36px; height: 36px; border-radius: 18px; cursor: pointer;
        }
        .lightbox-nav {
            position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(0,0,0,0.7); color: #fff; border: 0; width: 44px; height: 44px;
            border-radius: 22px; cursor: pointer;
        }
        .lightbox-nav.prev { left: -56px; }
        .lightbox-nav.next { right: -56px; }

        @media (max-width: 800px) {
            .lightbox-close { top: 8px; right: 8px; }
            .lightbox-nav.prev { left: 8px; }
            .lightbox-nav.next { right: 8px; }
        }
            .sub-title {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    font-size: 35px;
    text-align: center;
        
}

/* contact */

  .intro {
            color: #666;
            margin-bottom: 30px;
            font-size: 16px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 5px;
            color: #333;
            font-weight: 500;
        }
        
        label .required {
            color: #e74c3c;
        }
        
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea,
        select {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            font-family: inherit;
            transition: border-color 0.3s;
        }
        
        input:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: #3498db;
        }
        
        textarea {
            resize: vertical;
            min-height: 150px;
        }
        
        .error {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 5px;
        }
        
        input.input-error,
        textarea.input-error,
        select.input-error {
            border-color: #e74c3c;
        }
        
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border: 1px solid #c3e6cb;
        }
        
        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border: 1px solid #f5c6cb;
        }
        
      /*  button {
            background-color: #3498db;
            color: white;
            padding: 14px 30px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 100%;
        }
        
        button:hover {
            background-color: #2980b9;
        }
        
        button:active {
            transform: translateY(1px);
        }*/
        
        @media (max-width: 600px) {
            .container {
                padding: 20px;
            }
            
            h1 {
                font-size: 24px;
            }
        }

/* site web */

    /* Style pour la grille des sites */
.client-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin: 30px 0;
    padding: 0 15px;
}

.client-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.client-item:hover {
    background: #f0f0f0;
    border-color: #ccc;
    transform: translateY(-3px);
}

.client-name {
    font-size: 14px;
    color: #333;
    word-break: break-word; /* Évite les débordements */
}

.client-item a {
    text-decoration: none;
    color: inherit;
}