/* ======================================= */
/*          RÉGLAGES GLOBAUX               */
/* ======================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================= */
/*                 HEADER                  */
/* ======================================= */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 120px;
}
.desktop-nav ul {
    list-style: none;
    display: flex;
}
.desktop-nav li {
    margin-left: 40px;
}
.desktop-nav a {
    text-decoration: none;
    color: #ffffff; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 3px solid transparent;
}

.desktop-nav a:hover {
    color: #E74C3C;
}
.desktop-nav a.active {
    border-bottom-color: #E74C3C;
}

.logo {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    text-decoration: none; 
}

.logo-text {
     color: #2C3E50; 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px; 
    margin-top: -30px; 
    letter-spacing: 1.5px; 
}

/* ======================================= */
/*              SECTION HÉROS              */
/* ======================================= */

.hero {
    position: relative;
    height: 100vh; 
    color: #fff;

    
    background-size: cover;

   
    
    background-position: center 55%; 


    background-image: url('images/photo-couvreur.jpg'); /* Mettez le bon chemin ici */

    
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(to right, 
        rgba(44, 62, 80, 0) 45%,  
        rgba(44, 62, 80, 1) 60%   
    );
}


.hero-content {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 60px;
    text-align: left;
}

.hero h1 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p { 
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button { 
    display: inline-block;
    background-color: #E74C3C;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid #E74C3C;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover { 
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* ======================================= */
/*        BANDEAU RÉASSURANCE (Moderne)    */
/* ======================================= */
.reassurance {
    background-color: #F4F4F4;
    padding: 25px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.reassurance .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.reassurance-item {
    color: #555; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    margin: 5px 15px; 
    text-align: center;
}

/* ======================================= */
/*      STYLES DE SECTION (Réutilisables)  */
/* ======================================= */

.section-header {
    text-align: center;
    margin-bottom: 60px; 
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 20px;
    position: relative; 
    display: inline-block; 
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 60px; 
    height: 4px; 
    background-color: #E74C3C; 
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}


/* ======================================= */
/*              NOS SERVICES               */
/* ======================================= */

.services-section {
    padding: 80px 0;
    background-color: #F4F4F4; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff; 
    padding: 40px 30px;
    text-align: left; 
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.12);
}



.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #2C3E50;
    margin-bottom: 20px; 
}

.service-card p {
    color: #666;
    margin-bottom: 30px; 
    min-height: 80px; 
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #E74C3C;
    color: #E74C3C;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #E74C3C;
    color: #fff;
}

/* ======================================= */
/*           NOS RÉALISATIONS              */
/* ======================================= */
.realisations-section {
    padding: 80px 0;
    background-color: #fff; 
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.realisation-item {
    position: relative;
    overflow: hidden; 
    border-radius: 8px;
    cursor: pointer;
}

.realisation-item img {
    width: 100%;
    height: 100%;
    display: block; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}


.realisation-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0) 70%);
    color: #fff;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding: 25px;
    
    opacity: 0; 
    transition: opacity 0.4s ease;
}

.realisation-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(15px); 
}

.realisation-item p {
    font-size: 1rem;
    transform: translateY(15px); 
    transition: transform 0.4s ease 0.1s; 
}


.realisation-item:hover img {
    transform: scale(1.1); 
}

.realisation-item:hover .overlay {
    opacity: 1; 
}

.realisation-item:hover h3,
.realisation-item:hover p {
    transform: translateY(0); 
}

.text-center {
    text-align: center;
}

/* ======================================= */
/*        POURQUOI NOUS CHOISIR            */
/* ======================================= */
.why-us-section {
    padding: 80px 0;
    background-color: #F4F4F4;
}


.why-us-card {
    display: flex;
    background-color: #2C3E50; /* Fond gris anthracite */
    border-radius: 8px;
    overflow: hidden; /* Important pour que les coins de l'image soient arrondis */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Colonne de gauche pour l'image */
.why-us-card-image {
    flex-basis: 40%; /* L'image prend 40% de la largeur du bloc */
}

.why-us-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit l'espace sans se déformer */
}

/* Colonne de droite pour le texte */
.why-us-card-text {
    flex-basis: 60%; /* Le texte prend 60% de la largeur */
    padding: 40px;
    color: #fff;
}

.why-us-card-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.why-us-card-text > p {
    margin-bottom: 30px;
    line-height: 1.7;
    color: #ccc;
}

.key-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Grille à deux colonnes */
    gap: 15px;
    margin-bottom: 40px;
}

.key-point {
    background-color: #34495e; 
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid #E74C3C; 

}

.key-point h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.key-point p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.why-us-card-text .cta-button {
    display: block; /* Prend toute la largeur disponible */
    text-align: center;
    background-color: #E74C3C; /* Fond ROUGE */
    color: #fff;
    border-color: #E74C3C; /* Bordure de la même couleur */
    padding-top: 15px; /* On ajuste le padding pour qu'il soit bien centré */
    padding-bottom: 15px;
}

.why-us-card-text .cta-button:hover {
    background-color: #c0392b; /* Rouge plus foncé au survol */
    border-color: #c0392b;
}

/* ======================================= */
/*             AVIS GOOGLE                 */
/* ======================================= */
.google-reviews-section {
    padding: 80px 0;
    background-color: #F4F4F4; /* On passe sur le fond gris clair */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: #fff; /* Cartes sur fond blanc pour bien ressortir */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2C3E50;
    font-size: 1.1rem;
}

.review-source i.fa-google {
    font-size: 1.5rem;
    color: #DB4437; /* Couleur officielle de Google */
}

.stars {
    margin-bottom: 20px;
    color: #FFC107; /* Couleur dorée pour les étoiles */
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1; /* Permet aux cartes de prendre la même hauteur */
}


/* ======================================= */
/*          APPEL À L'ACTION (CTA)         */
/* ======================================= */
.cta-section {
    padding: 80px 0;
    position: relative; /* Nécessaire pour l'overlay */
    text-align: center;
    color: #fff; /* Le texte sera blanc */
    
    /* Image de fond (on peut en prendre une de vos réalisations) */
    background-image: url('images/construction-toiture-tuile-lille-massart-couverture.jpg'); /* REMPLACEZ PAR UNE DE VOS BELLES PHOTOS */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parallax simple et efficace */
}

/* Overlay sombre pour la lisibilité */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.85); /* Notre gris anthracite avec 85% d'opacité */
}


.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}


.cta-button-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.cta-contact-direct {
    margin-top: 30px;
    font-size: 1.1rem;
}

.cta-contact-direct strong {
    color: #E74C3C; 
}
.cta-contact-direct a {
    text-decoration: none; 
    color: inherit;
    transition: opacity 0.3s ease;
}

.cta-contact-direct a:hover {
    opacity: 0.8;
}

/* AJOUTEZ CE CODE À LA FIN DE VOTRE FICHIER style.css */

/* ======================================= */
/*                 FOOTER                  */
/* ======================================= */
.site-footer {
    background-color: #2C3E50; /* Notre gris anthracite */
    color: #aeb6bf; /* Un gris clair pour le texte, plus doux que le blanc */
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Petite ligne rouge sous les titres du footer */
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #E74C3C;
}

.footer-column p, .footer-column li {
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #aeb6bf;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

/* Style pour les icônes de réseaux sociaux */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #E74C3C;
}

/* Ligne de copyright */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}
 .legal-link {
    color: #E74C3C; /* Notre rouge d'accent */
    font-weight: 600;
}

.legal-link:hover {
    color: #fff; /* On peut le passer en blanc au survol pour un joli effet */
}
/* ======================================= */
/*              LIGHTBOX                   */
/* ======================================= */

/* Le fond semi-transparent qui couvre toute la page */
.lightbox {
    display: none; /* Caché par défaut */
    position: fixed; /* Reste en place même si on scrolle */
    z-index: 9999; /* Au-dessus de tout le reste */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fond noir avec 85% d'opacité */
    
    /* On utilise flexbox pour centrer l'image parfaitement */
    justify-content: center;
    align-items: center;
}

/* Quand la lightbox est active (via JavaScript) */
.lightbox.active {
    display: flex;
}

/* L'image à l'intérieur de la lightbox */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    /* Animation d'apparition en zoom */
    animation: zoomIn 0.3s ease-in-out;
}

/* Le bouton pour fermer (la croix) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #bbb;
}

/* ======================================= */
/*          NAVIGATION MOBILE (SIDEBAR)    */
/* ======================================= */

/* --- Le bouton Hamburger --- */
.mobile-menu-toggle {
    display: none; /* Caché par défaut sur grand écran */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001; /* Doit être au-dessus de l'overlay */
    padding: 10px;
}
.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff; /* Couleur des barres */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background-color: #2C3E50; /* Fond anthracite */
    z-index: 10000;
    padding: 60px 20px 20px 20px;
    
    /* Cachée par défaut (déplacée hors de l'écran) */
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
}
.mobile-sidebar.active {
    transform: translateX(0); /* Apparaît en revenant à sa position */
}
.mobile-sidebar ul {
    list-style: none;
}
.mobile-sidebar ul li a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}
.mobile-sidebar ul li a:hover {
    background-color: #34495e;
}

/* Le bouton pour fermer la sidebar */
.close-sidebar-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* L'overlay (le fond semi-transparent) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    
    /* Caché par défaut */
    opacity: 0;
    pointer-events: none; /* N'est pas cliquable quand il est invisible */
    transition: opacity 0.3s ease-in-out;
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto; /* Devient cliquable */
}
/* ======================================= */
/*          TOPBAR (STICKY HEADER)         */
/* ======================================= */
.topbar {
    position: fixed; 
    left: 0;
    width: 100%;
    

    top: -150px; 
    
    background-color: #2C3E50; 
    z-index: 999;
    padding: 10px 0; 
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); 
    
    transition: top 0.4s ease-in-out;
}


.topbar.scrolled {
    top: 0; 
}

.topbar .logo img {
    max-height: 50px;
}

.topbar .logo-text {
    color: #fff;
    text-shadow: none; 
    margin-top: 2px;
}
.topbar .mobile-menu-toggle .bar {
    background-color: #fff;
}

/* ======================================= */
/*       ANIMATIONS AU DÉFILEMENT (SCROLL) */
/* ======================================= */


.reveal {
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================= */
/*              PAGE SERVICES              */
/* ======================================= */

/* --- Bannière en haut de page --- */
.page-header {
    position: relative;
    padding: 140px 0 100px 0;
    color: #fff;
    text-align: center;
    background-image: url('images/pose-toiture-bac-acier-lille-massart-couverture.jpg'); /* Mettez une belle image de fond */
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.75); 
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 10px auto 0 auto;
    opacity: 0.9;
}


.services-detail-section {
    padding: 80px 0;
    background-color: #F4F4F4;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #ddd;
}
.service-feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}


.service-feature-reverse {
    flex-direction: row-reverse;
}

.service-feature-image,
.service-feature-text {
    flex: 1;
}

.service-feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-feature-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 20px;
}
.service-feature-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}
.service-feature-text p {
    line-height: 1.7;
    color: #555;
}

.service-feature-text ul {
    list-style: none;
    padding-left: 0;
}
.service-feature-text ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}
.service-feature-text ul li::before {
    content: '\f00c'; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #E74C3C; 
    position: absolute;
    left: 0;
    top: 4px;
}

.service-feature-text .cta-button {
    margin-top: 30px;
}

.artisan-tip {
    display: flex;
    align-items: flex-start; /* Aligne l'icône en haut du texte */
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    border-left: 4px solid #E74C3C; /* Bordure rouge distinctive */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.artisan-tip i {
    font-size: 1.8rem;
    color: #E74C3C; /* Icône rouge */
    margin-top: 3px; /* Petit ajustement vertical */
}

.artisan-tip-content h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #2C3E50;
    margin-bottom: 8px;
}

.artisan-tip-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0; /* On enlève la marge par défaut du paragraphe */
}

/* AJOUTEZ CE CODE À LA FIN DE style.css (avant les @media) */

/* ======================================= */
/*            PAGE RÉALISATIONS            */
/* ======================================= */

.gallery-section {
    padding: 80px 0;
    background-color: #F4F4F4;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: #fff;
    border: 2px solid #ddd;
    color: #555;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: #fff;
}

.filter-btn.active {
    background-color: #E74C3C;
    border-color: #E74C3C;
    color: #fff;
}


.realisations-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.realisations-gallery-grid .realisation-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.realisations-gallery-grid .realisation-item.hide {
    transform: scale(0.8);
    opacity: 0;
    display: none;
}

/* ======================================= */
/*              PAGE À PROPOS              */
/* ======================================= */

/* --- Section Introduction --- */
.about-intro-section {
    padding: 80px 0;
    background-color: #fff;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* L'image est plus petite que le texte */
    align-items: center;
    gap: 60px;
}
.about-intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.about-intro-text .section-title::after {
    left: 0;
    transform: none; /* On ne centre plus la ligne, on la laisse à gauche */
}
.about-intro-text .lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 25px;
}
.about-intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* --- Section Valeurs --- */
.values-section {
    padding: 80px 0;
    background-color: #F4F4F4;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.12);
}
.value-icon {
    font-size: 2.5rem;
    color: #E74C3C;
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: #fdecea; /* Rouge très clair */
}
.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #2C3E50;
    margin-bottom: 15px;
}

/* --- Section Partenaires --- */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}
.partners-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.partners-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.partners-logos img {
    max-height: 50px;
    max-width: 150px;
}
/* --- Section Méthode de Travail --- */
.method-section {
    padding: 80px 0;
    background-color: #fff; /* Fond blanc pour alterner */
}
.method-grid {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne par défaut */
    gap: 20px;
    max-width: 900px; /* On centre le contenu pour une meilleure lisibilité */
    margin: 0 auto;
}
.method-step {
    display: flex;
    align-items: flex-start;
    background-color: #F4F4F4; /* Fond gris clair pour chaque étape */
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: border-left-color 0.3s ease;
}
.method-step:hover {
    border-left-color: #E74C3C; /* Bordure rouge au survol */
}
.method-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    margin-right: 25px;
    transition: color 0.3s ease;
}
.method-step:hover .method-number {
    color: #d1d1d1;
}
.method-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #2C3E50;
    margin-bottom: 10px;
}
.method-content p {
    color: #666;
    line-height: 1.7;
}

/* ======================================= */
/*              PAGE CONTACT               */
/* ======================================= */

.contact-section {
    padding: 80px 0;
    background-color: #F4F4F4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 pour le formulaire, 1/3 pour les infos */
    gap: 50px;
}

/* --- Colonne Formulaire --- */
.contact-form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 30px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #34495e;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #E74C3C;
}

textarea {
    resize: vertical;
}

/* Style spécifique pour l'upload de fichiers */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.file-upload-wrapper:hover {
    border-color: #E74C3C;
}
.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#file-preview-container {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.file-preview {
    font-size: 0.8rem;
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Style pour la case RGPD */
.rgpd-group {
    display: flex;
    align-items: flex-start;
}
.rgpd-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}
.rgpd-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Zone de statut */
#form-status {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    display: none; /* Caché par défaut */
}
#form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* --- Colonne Infos --- */
.contact-info-container {
    background-color: #2C3E50;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}
.contact-info-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
}
.contact-info-container p {
    color: #ccc;
    margin-bottom: 25px;
}
.contact-list, .horaires-list {
    list-style: none;
    margin-bottom: 30px;
}
.contact-list li, .horaires-list li {
    margin-bottom: 15px;
    color: #eee;
}
.contact-list i {
    color: #E74C3C;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.contact-list a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}
.contact-list a:hover {
    opacity: 0.8;
}
.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* --- Responsive pour la page contact --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Les colonnes s'empilent */
    }
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Le formulaire passe sur une seule colonne */
    }
    .contact-form-container, .contact-info-container {
        padding: 30px;
    }
    .contact-section {
        padding: 60px 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ======================================= */
/*      RESPONSIVE - RÈGLES GÉNÉRALES      */
/* ======================================= */

/* --- Pour Tablettes et en dessous (moins de 992px) --- */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    /* Section Héros */
    .hero-content { 
        width: 60%; 
        padding: 40px;
    }
    .hero::before { 
        background: linear-gradient(to right, rgba(44, 62, 80, 0) 30%, rgba(44, 62, 80, 1) 50%); 
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Grilles */
    .services-grid, .reviews-grid { 
        grid-template-columns: 1fr 1fr; 
    }
    .realisations-grid { 
        grid-template-columns: 1fr; /* Une seule colonne pour les photos sur tablette */
    }
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
    .key-points-grid {
        grid-template-columns: 1fr;
    }

    /* Pourquoi nous choisir */
    .why-us-card {
        flex-direction: column;
    }
    .why-us-card-image, .why-us-card-text {
        flex-basis: 100%;
    }

    .service-feature,
    .service-feature-reverse {
        flex-direction: column; 
        gap: 30px; 
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .page-header h1 {
        font-size: 2.5rem; 
    }

    .service-feature-text h3 {
        font-size: 1.8rem; 
    }

    .about-intro-grid {
    gap: 40px;
}
}



@media (max-width: 768px) {

    .desktop-nav { 
        display: none; 
    }
   .mobile-menu-toggle {
        display: block; /* On affiche le bouton hamburger */
    }
    .logo img { 
        max-height: 50px; 
    }
    .logo-text { 
        font-size: 10px; 
        margin-top: 2px; 
    }

    /* Section Héros */
    .hero {
        flex-direction: column; /* On empile image et texte */
        height: auto;
        background-position: center;
        padding: 100px 0 60px 0; /* Ajout de padding pour l'espace */
    }
    .hero::before { 
        background: rgba(44, 62, 80, 0.7); /* Overlay complet */
    }
    .hero-content {
        width: 100%;
        padding: 0 30px;
        text-align: center;
    }
    .hero h1 { 
        font-size: 2.2rem; 
    }
    .cta-button { 
        align-self: center; 
    }

    /* Bandeau Réassurance */
    .reassurance .container { 
        flex-direction: column; 
    }
    .reassurance-item { 
        margin: 15px 0; 
    }

    /* Sections Générales */
    .services-section, .realisations-section, .why-us-section, .google-reviews-section, .cta-section {
        padding: 60px 0;
    }
    .section-title { 
        font-size: 2rem; 
    }
    .section-subtitle { 
        margin-bottom: 40px; 
    }

    /* Grilles à une colonne */
    .services-grid, .reviews-grid, .footer-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Pourquoi nous choisir */
    .why-us-card-text { 
        padding: 30px; 
    }

    /* Appel à l'action (CTA) */
    .cta-section { 
        background-attachment: scroll; /* On désactive l'effet parallax */
    }
    .cta-title { 
        font-size: 2rem; 
    }
    
    /* Footer */
    .footer-column { 
        text-align: center; 
    }
    .footer-column h4::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    .social-icons { 
        justify-content: center; 
    }

    .about-intro-section, .values-section {
    padding: 60px 0;
}
.about-intro-grid {
    grid-template-columns: 1fr; /* On passe sur une seule colonne */
    text-align: center;
}
.about-intro-text .section-title {
    text-align: center;
}
.about-intro-text .section-title::after {
    left: 50%;
    transform: translateX(-50%); /* On recentre la ligne */
}

.method-section {
    padding: 60px 0;
}
.method-step {
    padding: 25px; /* On réduit un peu le padding sur mobile */
}
.method-number {
    font-size: 2.5rem; /* Et la taille du numéro */
}
}