.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 FORMULAIRE DE DEVIS   */
/* ================================================= */

/* Variables de couleur */
:root {
    --color-dark-blue: #0D1A39; /* Bleu Marine - Principal */
    --color-red: #B03A40; /* Rouge Brique - Accent */
    --color-light-blue: #3A70B0; /* Bleu Moyen - Accentuation de la Tôlerie */
    --color-white: #ffffff;
    --color-grey-light: #f9f9f9; /* Fond du formulaire */
    --color-body-text: #333333;
    --color-border: #cccccc;
}

/* -------------------------------------- */
/* 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-grey-light);
    color: var(--color-body-text);
}

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

/* -------------------------------------- */
/* 2. EN-TÊTE ET MENU (HEADER & NAV)    */
/* -------------------------------------- */
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);
}

/* -------------------------------------- */
/* 3. SECTION FORMULAIRE DE DEVIS       */
/* -------------------------------------- */
.devis-form-section {
    padding: 60px 0;
}

.form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-light-blue); /* Accent Tôlerie */
    max-width: 800px;
    margin: 0 auto;
}

.form-wrapper h2 {
    font-size: 2rem;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--color-light-blue);
    padding-bottom: 10px;
}

.form-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark-blue);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-light-blue);
    box-shadow: 0 0 5px rgba(58, 112, 176, 0.5); /* Effet bleu clair */
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--color-red); /* Bouton en Rouge Brique */
    color: var(--color-white);
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* -------------------------------------- */
/* 4. PIED DE PAGE (FOOTER)             */
/* -------------------------------------- */
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;
}

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

/* -------------------------------------- */
/* 5. RESPONSIVITÉ (MÉDIA QUERIES)      */
/* -------------------------------------- */
@media (max-width: 768px) {
    .site-logo {
        position: absolute !important;
    top: 10px !important;
    left: 100px !important;
    width: 70px !important;
    height: auto !important;
    z-index: 1000 !important;
    
    }
    
    .form-wrapper {
        padding: 20px;
    }
    .form-wrapper h2 {
        font-size: 1.5rem;
    }
    .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 */
}
}
