.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                       */
/* "TÔLERIE INDUSTRIELLE"                            */
/* ================================================= */

/* Variables de couleur */
:root {
    --color-dark-blue: #0D1A39; /* Bleu Marine - Principal */
    --color-red: #B03A40; /* Rouge Brique - Accent */
    --color-light-blue: #3A70B0; /* Bleu Moyen - Accentuation du service Tôlerie */
    --color-white: #ffffff;
    --color-grey: #f4f4f4; /* Fond des cartes */
    --color-body-text: #333333; /* Couleur du texte principal */
    --color-footer-text: #dddddd; /* Texte du footer */
}

/* -------------------------------------- */
/* 1. 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-white);
    color: var(--color-body-text);
}

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

/* -------------------------------------- */
/* 2. 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,
nav ul li a.active {
    color: var(--color-red); /* Accent rouge pour l'actif/survol */
}

/* -------------------------------------- */
/* 3. SECTION HÉRO (SPÉCIFIQUE AU SERVICE) */
/* -------------------------------------- */
.hero-service-section {
    background-color: var(--color-dark-blue);
    /* **IMPORTANT :** Remplacer 'chemin/vers/image-tolerie.jpg' par votre image */
    background-image: linear-gradient(rgba(13, 26, 57, 0.7), rgba(13, 26, 57, 0.7)), url('chemin/vers/image-tolerie.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--color-white);
    text-align: center;
}

/* Bordure accentuée pour la Tôlerie Industrielle (Bleu Moyen) */
.hero-service-section {
    border-bottom: 5px solid var(--color-light-blue); 
}

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

.hero-service-text p {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* -------------------------------------- */
/* 4. DÉTAILS DU SERVICE ET CARTES        */
/* -------------------------------------- */
.service-details-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.details-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.details-intro h2 {
    font-size: 2.2rem;
    color: var(--color-red); /* Titre en Rouge Brique */
    margin-bottom: 15px;
}

.details-intro p {
    font-size: 1.1rem;
    color: #555;
}

/* Grille des Fonctionnalités Clés */
.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: var(--color-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

/* Bordure des cartes spécifique (Bleu Moyen) */
.feature-card {
    border-top: 4px solid var(--color-light-blue);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
}

/* Bouton d'Action Large (CTA) */
.btn-cta-large {
    display: block;
    width: 80%;
    max-width: 450px;
    margin: 40px auto 0 auto;
    color: var(--color-white);
    padding: 18px 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

/* Couleur du CTA pour Tôlerie (Rouge Brique) */
.btn-cta-large {
    background-color: var(--color-red);
}

.btn-cta-large:hover {
    background-color: #9C3338; /* Rouge légèrement plus foncé au survol */
}

/* -------------------------------------- */
/* 5. PIED DE PAGE (FOOTER)             */
/* -------------------------------------- */
footer {
    background-color: var(--color-dark-blue);
    color: var(--color-footer-text);
    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;
}

.social-links a:hover {
    opacity: 1;
}

/* -------------------------------------- */
/* 6. RESPONSIVITÉ (MÉDIA QUERIES)      */
/* -------------------------------------- */
@media (max-width: 768px) {
    .site-logo {
        position: absolute !important;
    top: 55px !important;
    left: 100px !important;
    width: 150px !important;
    height: auto !important;
    z-index: 1000 !important;
    
    }
   
    .hero-service-text h1 {
        font-size: 2.5rem;
    }
    .hero-service-text p {
        font-size: 1.2rem;
    }
    .key-features-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 10px;
    }

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