/*
Theme Name: Chantier PYS V2
Author: Jordan LE MARECHAL
Description: Thème sur mesure pour Plaisance Yachting Services
Version: 2.2 (Header structure corrigée + Vidéo réduite)
Text Domain: chantier-pys-v2
*/

/* --- RESET & GLOBAL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Arial', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* --- HEADER GLOBAL (Pages standards, hors accueil) --- */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 999;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sur les pages standards, on cache les réseaux sociaux du header */
.header-socials { display: none; }

.logo img, .site-logo img, .custom-logo {
    max-height: 90px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #00234b;
}

/* --- HEADER SPÉCIFIQUE ACCUEIL (Transparent, Structure 3 colonnes) --- */
body.home .site-header, 
body.home #masthead {
    position: absolute !important;
    top: 0; left: 0; width: 100%;
    background-color: transparent !important;
    box-shadow: none;
    padding: 20px 0; /* Un peu plus d'espace */
}

body.home .site-header .container,
body.home #masthead .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Répartit Sociaux à gauche et Menu à droite */
    position: relative; 
    height: 80px; 
}

/* 1. RÉSEAUX SOCIAUX À GAUCHE (Visibles sur l'accueil) */
body.home .header-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20; /* Au-dessus */
}
body.home .header-socials a {
    color: white;
    font-size: 1.5rem; /* Taille des icônes */
    transition: color 0.3s;
}
body.home .header-socials a:hover { color: #a4b3c8; }


/* 2. LOGO ABSOLUMENT CENTRÉ */
/* C'est la seule façon de garantir un centrage parfait */
body.home .site-branding,
body.home .site-logo,
body.home .custom-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0 !important;
    text-align: center;
}

/* Logo Blanc */
body.home .site-logo img,
body.home .custom-logo {
    filter: brightness(0) invert(1);
    max-height: 70px;
    display: block;
}

/* Masquer le texte du titre du site */
body.home .site-title,
body.home .site-description { display: none !important; }


/* 3. MENU À DROITE */
body.home .main-navigation {
    z-index: 20; /* Au-dessus */
}

body.home .main-navigation a {
    color: white !important;
    font-size: 1rem;
    font-weight: 600;
}

/* Bouton Contact Menu */
.btn-contact-header a, 
.main-navigation .btn-header-contact a {
    background-color: #00326e;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 4px;
    transition: background 0.3s;
}
.main-navigation .btn-header-contact a:hover {
    background-color: #002147;
}

/* Barre de séparation sous le header */
body.home .site-header::after,
body.home #masthead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 90%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   SECTION VIDÉO & TEXTE (MAQUETTE CANVA)
   ========================================= */

.hero-section-video {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    color: white;
}

.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Voile dégradé pour lisibilité */
.hero-section-video::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,30,70,0.2), rgba(0,30,70,0.6));
    z-index: 1;
}

/* Positionnement du contenu */
.hero-content-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Pousse tout le contenu vers le BAS */
    justify-content: flex-end !important; 
    padding-bottom: 120px; /* Marge du bas avant la bande défilante */
    padding-left: 40px;
}

/* Force l'alignement à GAUCHE pour le texte */
.hero-content-overlay .container,
.hero-text-content {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    max-width: 1200px;
    width: 100%;
    padding: 0px; 0px; 70px; 50px !important;
}

/* --- CORRECTIF TITRE (Cible le parent existant .hero-content-overlay) --- */
.hero-content-overlay h1 {
    font-size: 50px !important; /* Force la taille par-dessus Tailwind */
    font-weight: 900 !important; /* Force le gras */
    line-height: 1.1 !important;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    /* On annule les contraintes de largeur si nécessaire */
    width: 100%; 
}

/* --- CORRECTIF SOUS-TITRE --- */
.hero-content-overlay p {
    font-size: 20px !important;
    color: white !important;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* BLOC BLEU FONCÉ (Chantier Naval) */
.highlight-dark {
    background-color: #00326e; /* Bleu marine PYS */
    color: white;
    padding: 5px 15px;
    display: inline-block;
}

/* BLOC BLEU CLAIR (Bateau ?) */
.highlight-light {
    background-color: #6b809b; /* Le bleu gris clair de la maquette */
    color: white; /* ou #00326e si vous voulez le texte foncé */
    padding: 5px 15px;
    margin-left: -4px;
    display: inline-block;
}

.highlight-white {
    background-color: white; /* Le bleu gris clair de la maquette */
    color: #00326e; /* ou #00326e si vous voulez le texte foncé */
    padding: 5px 15px;
    display: inline-block;
}

/* BOUTON */
.btn-hero-video {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-hero-video:hover {
    background-color: white;
    color: #00326e;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-text-content h1 { font-size: 2rem; }
    /* Sur mobile, on garde souvent centré, mais si vous voulez gauche : */
    .hero-content-overlay .container { padding-left: 20px; padding-right: 20px; }
}

/* --- BANDE DÉFILANTE (MARQUEE) --- */
.marquee-container {
    background-color: #6883a6; color: white;
    padding: 0; overflow: hidden; white-space: nowrap; 
    position: relative; width: 100%;
}
.marquee-track {
    display: inline-block;
    /* animation: scroll-left 240s linear infinite; */
    will-change: transform; 
}
.marquee-item {
    font-weight: bold; font-size: 2rem; 
    text-transform: uppercase; letter-spacing: 1px;
    line-height: 1; /* Force le texte à ne pas prendre de hauteur inutile */
    display: inline-block; /* Aide parfois à caler la hauteur */
    padding: 0px 0px 10px 10px;
}
.marquee-item .sep {
    color: #305486; margin: 0 5px;
    font-size: 1.5em; font-weight: 900; 
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container:hover .marquee-track { animation-play-state: paused; }

/* --- SECTION ABOUT (QUI SOMMES NOUS) --- */

.about-section {
    padding: 0px 0;
    background-color: white; /* Fond blanc comme sur la maquette */
}

/* 1. ÉLARGIR LE CONTENU SUR CETTE SECTION */
.about-section .container {
    max-width: 100% !important; /* Prend presque toute la largeur de l'écran */
    padding: 0 0px; /* Marges de sécurité */
}

.cols-2 {
    display: flex;
    align-items: center; /* Aligné verticalement au centre */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px; /* Grand espace entre l'image et le texte */
}

/* 2. STYLE DE L'IMAGE (Barre bleue à gauche) */
.about-image {
    flex: 0 0 40%; 
    max-width: 40%;

}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    padding-left: 0; 
}

/* 3. STYLE DU TEXTE */
.about-text {
    flex: 1; /* Prend l'autre moitié */
    padding-left: 50px;
    padding-right: 50px; /* Un peu d'air à droite */
}

/* Titre "QUI SOMMES" */
.about-text h2 {
    font-size: 3rem; /* Très gros */
    font-weight: 800;
    color: #00326e; /* Bleu foncé */
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* Le bloc "NOUS ?" */
.highlight-blue {
    display: block; /* Passe à la ligne comme sur la maquette */
    background-color: transparent; /* Pas de fond ou fond bleu selon choix */
    color: #6b809b; /* Le bleu-gris de la maquette pour "NOUS ?" */
    font-size: 3.5rem; /* Encore plus gros */
    margin-top: 5px;
}

/* Texte courant */
.wysiwyg-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify; /* Texte justifié pour faire bloc propre */
}

/* Bouton */
.btn-secondary {
    background-color: #6b809b;
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

/* 4. LA VAGUE DE DÉCORATION */
.wave-decoration {
    margin-top: 40px;
    text-align: right; /* Place la vague à droite comme sur la maquette */
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cols-2 { flex-direction: column; gap: 40px; }
    .about-image img { border-left-width: 10px; }
    .about-text { padding-right: 0; text-align: left; }
    .wave-decoration { text-align: center; }
}

/* =========================================
   FOOTER (3 COLONNES + SÉPARATEURS + VAGUE)
   ========================================= */

.site-footer {
    width: 100%;
    font-family: 'Arial', sans-serif;
}

/* --- 1. BARRE DU HAUT (Logo & Réseaux) --- */
.footer-top {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Taille du logo contrôlée */
.footer-logo img, .custom-logo-link img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-socials {
    display: flex; align-items: center; gap: 25px;
}

.footer-socials a {
    color: #00326e; font-weight: bold; display: flex; align-items: center;
    gap: 10px; text-transform: none; font-size: 14px; text-decoration: none;
}
.footer-socials i { font-size: 1.5rem; }


/* --- 2. BLOC PRINCIPAL (Dégradé & 3 Colonnes) --- */
.footer-main {
    /* Dégradé clair vers bleu */
    background: linear-gradient(to right, #f0f4f8 0%, #6883a6 100%);
    padding: 50px 0;
    color: #00326e;
}

.footer-main .container {
    display: flex;
    align-items: flex-start; /* Aligne tout en haut */
}

/* STYLE GÉNÉRAL DES COLONNES */
.footer-col {
    padding: 0 30px; /* Espace à l'intérieur de chaque colonne */
    flex: 1; /* Par défaut, elles partagent l'espace */
}

/* COLONNE 1 : TEXTE & VAGUE (Gauche) */
.col-cta {
    flex: 1.3; /* Un peu plus large que les autres */
    padding-left: 0; /* Pas de marge à gauche pour la 1ère colonne */
    /* LE SÉPARATEUR BLANC À DROITE */
    border-right: 1px solid rgba(255, 255, 255, 0.4); 
}

.col-cta h4 {
    font-size: 0.85rem; font-weight: bold; text-transform: uppercase;
    color: #00326e; margin-bottom: 10px; letter-spacing: 1px;
}

.col-cta h3 {
    font-size: 2rem; font-weight: 900; color: #00326e;
    line-height: 1.1; margin-bottom: 0px;
}

.cta-sub {
    font-weight: 800; text-transform: uppercase; color: #00326e;
    letter-spacing: 1px; font-size: 1rem;
}

/* STYLE DE LA VAGUE DANS LE FOOTER */
.footer-wave {
    margin: 15px 0; /* Espace au-dessus et en dessous de la vague */
    text-align: left;
    opacity: 0.8;
}

/* COLONNE 2 : CONTACT MILIEU */
.col-contact-middle {
    /* LE SÉPARATEUR BLANC À DROITE */
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    display: flex; flex-direction: column; gap: 25px;
}

/* COLONNE 3 : CONTACT DROITE */
.col-contact-right {
    padding-right: 0; /* Pas de marge à droite pour la dernière */
    display: flex; flex-direction: column; gap: 25px;
}


/* STYLE DES ÉLÉMENTS DE CONTACT */
.footer-info-item {
    display: flex; align-items: flex-start; gap: 15px;
}

.footer-icon {
    background-color: white; color: #6883a6;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-text strong {
    display: block; text-transform: uppercase; font-size: 0.85rem;
    margin-bottom: 3px; color: white; font-weight: 800; letter-spacing: 1px;
}

.footer-text p, .footer-text a {
    margin: 0; font-size: 0.95rem; color: white;
    text-decoration: none; line-height: 1.4;
}

/* --- 3. BARRE DU BAS (Copyright) --- */
.footer-bottom {
    background-color: #00234b; color: white; padding: 15px 0;
    text-align: center; font-size: 12px; letter-spacing: 0.5px;
}
.footer-bottom a { color: white; text-decoration: underline; }


/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 992px) {
    .footer-top .container {
        flex-direction: column; gap: 15px;
    }
    .footer-main .container {
        flex-direction: column; gap: 40px;
    }
    
    /* On supprime les séparateurs verticaux sur mobile */
    .footer-col, .col-cta, .col-contact-middle, .col-contact-right {
        border-right: none; 
        padding: 0;
        text-align: center;
    }
    
    /* On ajoute un séparateur horizontal à la place */
    .col-cta, .col-contact-middle {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 30px;
    }
    
    .footer-wave { text-align: center; }
    .footer-info-item {
        flex-direction: column; align-items: center;
    }
}/* --- ÉLARGIR LE HEADER (PLEINE LARGEUR) --- */

body.home .site-header .container {
    /* On passe de 1200px à 100% (ou 95% pour garder une petite marge) */
    max-width: 98% !important; 
    
    /* On ajoute un peu d'espace sur les côtés pour ne pas coller aux bords */
    padding: 0 50px !important; 
}

/* Optionnel : Si vous voulez aussi écarter les liens du menu entre eux */
body.home .main-navigation ul {
    gap: 40px; /* Espace entre chaque mot du menu (était à 30px) */
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .cols-2 { flex-direction: column; }
    .hero-text-content h1 { font-size: 2rem; }
    
    /* Sur mobile, on repasse en flux normal */
    body.home .site-header .container { justify-content: center; }
    body.home .site-branding { position: relative; left: auto; transform: none; margin-bottom: 15px !important; }
    body.home .header-socials { display: none; } /* On cache les réseaux sur mobile pour simplifier */
    body.home .main-navigation { display: none; } /* Menu burger géré par le thème */
}

/* =========================================
   SECTION PRESTATIONS (STYLE EXACT MAQUETTE)
   ========================================= */

.services-section {
    position: relative;
    background-color: #00234b;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    overflow: hidden;
}

.overlay-blue {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 35, 75, 0.85); /* Fond bleu foncé transparent */
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
    max-width: 1300px !important; /* On élargit un peu pour que ça respire */
}

/* --- LA GRILLE --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
    column-gap: 80px; /* Ecart horizontal */
    row-gap: 60px;    /* Ecart vertical */
    align-items: center; /* Centre verticalement */
}

/* BLOC 1 : LE TITRE */
.services-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
}

.highlight-glass {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    margin-top: 10px;
}

.btn-glass {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
    text-decoration: none;
}

/* --- LES BLOCS SERVICES --- */
.service-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* L'IMAGE RONDE */
.service-img {
    width: 160px;
    height: 160px;
    flex-shrink: 0; /* Empêche l'image de s'écraser */
    border-radius: 50%;
    /* La grosse bordure transparente autour du rond */
    border: 10px solid rgba(255, 255, 255, 0.15); 
    overflow: hidden;
    z-index: 10; /* L'image passe PAR DESSUS le texte */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.service-img img {
    width: 100%; height: 100%; object-fit: cover;
}

/* LE RECTANGLE DE TEXTE */
.glass-box {
    background: rgba(60, 80, 110, 0.6); /* Fond bleu gris semi-transparent */
    padding: 30px 30px 30px 70px; /* Gros padding à gauche pour compenser l'image */
    margin-left: -60px; /* MARGE NÉGATIVE : Tire le texte sous l'image */
    color: white;
    border-radius: 0; /* Angles droits comme sur la maquette */
    z-index: 5;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.glass-box h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.glass-box p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* --- L'ALTERNANCE (ZIG-ZAG) --- */
/* C'est ici qu'on gère l'inversion Droite/Gauche */

/* Par défaut (Service 1 et Service 4) : Image à GAUCHE, Texte à DROITE (déjà fait ci-dessus) */

/* Pour les services du milieu (2 et 3) : On INVERSE */
/* nth-child(3) = Service 2 (car le titre est le 1) */
/* nth-child(4) = Service 3 */

.services-grid > div:nth-child(3), 
.services-grid > div:nth-child(4) {
    flex-direction: row-reverse; /* Image passe à droite */
    text-align: right; /* Texte aligné à droite */
}

/* On ajuste les marges pour les éléments inversés */
.services-grid > div:nth-child(3) .glass-box,
.services-grid > div:nth-child(4) .glass-box {
    margin-left: 0;
    margin-right: -60px; /* Le texte glisse sous l'image par la droite */
    padding-left: 30px;
    padding-right: 70px; /* Padding inversé */
}

/* RESPONSIVE MOBILE */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 50px;
    }
    
    /* Sur mobile, on remet tout droit */
    .service-item, 
    .services-grid > div:nth-child(3), 
    .services-grid > div:nth-child(4) {
        flex-direction: column;
        text-align: center;
    }
    
    .glass-box, 
    .services-grid > div:nth-child(3) .glass-box,
    .services-grid > div:nth-child(4) .glass-box {
        margin: -40px 0 0 0; /* Marge négative vers le haut */
        padding: 60px 20px 30px 20px;
        width: 100%;
    }
}

/* =========================================
   SECTION PARTENAIRES
   ========================================= */
.partners-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.partners-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #00326e;
    text-transform: uppercase;
    margin-bottom: 50px;
}

/* Surlignage bleu clair style maquette */
.highlight-blue-bg {
    background-color: #dce4ee;
    color: #00326e;
    padding: 0 10px;
    display: inline-block;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

/* STYLE DES LOGOS */
.partner-img {
    height: 60px; /* Force une hauteur identique propre */
    width: auto;
    filter: none; /* Pas de gris, couleur directe */
    opacity: 1;
    transition: transform 0.5s ease;
}

/* Zoom lent au survol */
.partner-img:hover {
    transform: scale(1.15);
}


/* =========================================
   SECTION AVIS CLIENTS
   ========================================= */
.reviews-section {
    position: relative;
    padding: 80px 0;
    background-color: #00234b; /* Couleur de sécurité */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet de profondeur (Parallaxe) */
}

/* L'OVERLAY (Voile bleu sombre par-dessus l'image de fond) */
.overlay-blue {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 35, 75, 0.7); 
    z-index: 1;
}

.reviews-section .container {
    position: relative;
    z-index: 2; /* Passe au-dessus du voile */
}

.reviews-section h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white; /* Force le titre en blanc */
    margin-bottom: 40px;
}

/* Surlignage Gris/Bleu pour "CLIENTS ?" */
.highlight-grey {
    background-color: #6883a6; 
    color: white;
    padding: 2px 15px;
    display: inline-block;
}

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

/* LA CARTE AVIS (Bleu foncé transparent) */
.review-card {
    background: rgba(0, 40, 90, 0.85); /* Fond foncé pour lisibilité */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.review-header {
    display: flex; align-items: center; margin-bottom: 20px;
}

.review-avatar {
    width: 60px; height: 60px;
    border-radius: 50%; overflow: hidden;
    margin-right: 15px; border: 2px solid white;
    flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* TEXTES AVIS */
.review-info h3 {
    font-size: 1.1rem; font-weight: bold; text-transform: uppercase;
    margin: 0; 
    color: white !important; /* Important pour ne pas être gris */
}

.stars { color: #fca311; font-size: 1.2rem; letter-spacing: 2px; }

.review-body p {
    font-size: 0.95rem; line-height: 1.5; font-style: italic;
    color: rgba(255, 255, 255, 0.9) !important; /* Blanc légèrement adouci */
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: 1fr; } /* 1 colonne sur mobile */
    .partners-logos { gap: 30px; }
}

/* =========================================
   SECTION CONTACT (CARTE & INFOS)
   ========================================= */

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

/* --- LA CARTE À GAUCHE (METHODE "BULLETPROOF") --- */
.contact-map {
    flex: 1; /* Prend 50% de la largeur */
    height: 450px; /* HAUTEUR FORCÉE */
    position: relative; /* Indispensable pour caler l'iframe */
    border: 5px solid white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden; 
    background-color: #eee;
    min-width: 300px; /* Sécurité responsive */
}

/* Force l'iframe Google à remplir tout le bloc */
.contact-map iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* --- LES INFOS À DROITE --- */
.contact-infos {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITRE "NOUS RETROUVER" */
.contact-infos h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #00326e;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Le mot "RETROUVER" (Fond bleu, Texte blanc) */
.contact-infos h2 .highlight-blue {
    background-color: #00326e;
    color: white;
    padding: 5px 15px;
    display: inline-block;
    margin-top: 5px;
}

/* LA LISTE */
.info-list {
    list-style: none; padding: 0; margin: 0;
}

.info-list li {
    display: flex; align-items: center;
    margin-bottom: 30px;
}

/* ICÔNE RONDE (Celle de la page, pas du footer) */
.icon-circle {
    background-color: #00326e; /* Bleu Foncé */
    color: white;              /* Icône Blanche */
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
}

/* TEXTES */
.info-text strong {
    display: block; color: #00326e;
    font-size: 1.1rem; text-transform: uppercase;
    margin-bottom: 5px; letter-spacing: 1px;
}

.info-text p, .info-text a {
    margin: 0;
    color: #6883a6; /* Bleu gris demandé */
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.info-text a:hover {
    color: #00326e; text-decoration: underline;
}

/* LA VAGUE */
.contact-infos .wave-decoration {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-map { height: 300px; margin-bottom: 40px; }
    .contact-infos { padding-left: 0; }
    .contact-infos h2 { font-size: 2rem; }
}

/* =========================================
   PAGE : QUI SOMMES NOUS
   ========================================= */

/* 1. LE SÉPARATEUR BLEU SOUS LE HEADER */
.page-separator {
    width: 100%;
    height: 80px; /* Hauteur de la bande bleue */
    background-color: #00326e; /* Bleu Foncé PYS */
    margin-bottom: 60px; /* Espace avant le contenu */
}

.section-padding {
    padding-bottom: 0px;
}

/* 2. MENU : GESTION DE LA PAGE ACTIVE (ITALIQUE + NON CLIQUABLE) */

/* WordPress ajoute automatiquement la classe .current-menu-item au lien actif */
.main-navigation .current-menu-item a {
    font-style: italic !important; /* Met en italique */
    pointer-events: none;          /* Désactive le clic (plus d'URL active) */
    opacity: 0.8;                  /* Optionnel : petit effet visuel */
    cursor: default;               /* Le curseur ne change pas en main */
}

/* Si vous voulez aussi enlever le soulignement au survol s'il y en a un */
.main-navigation .current-menu-item a:hover {
    color: inherit; 
    text-decoration: none;
}

/* =========================================
   PAGE : QUI SOMMES NOUS (Mise à jour)
   ========================================= */

/* 1. PLEINE LARGEUR (Comme le Header) */
.qsn-container {
    width: 100%;      /* Prend presque toute la largeur */
    max-width: 100%; 
    margin: 0 auto;
    padding: 0 50px; /* Marges latérales identiques au header */
}

/* 2. SÉPARATEUR FIN */
.page-separator-thin {
    width: 100%;
    height: 3px;       /* 3px MAX demandé */
    background-color: #00326e;
    margin-top: 0;     /* Collé au header */
}

/* 3. SECTION ÉQUIPAGE (Inversion) */
.bg-light { background-color: #f9f9f9; } /* Fond gris très léger pour alterner */

/* --- AJOUTS POUR LA MISE EN PAGE QSN --- */

/* 1. IMAGE COLLÉE À GAUCHE */
/* L'astuce : marge négative égale au padding du conteneur (-50px) */
.img-flush-left {
    margin-left: -50px; 
    /* On l'élargit un peu pour compenser la perte d'espace */
    width: calc(100% + 50px) !important; 
    max-width: none !important;
    flex: 0 0 calc(40% + 50px); /* Ajuste la part flexible */
}

.img-flush-left img {
    border-radius: 0 4px 4px 0; /* Joli arrondi uniquement à droite */
}

/* 2. ESPACEMENT BARRE DÉFILANTE */
.marquee-container {
    /* Assurez-vous qu'elle respire un peu */
    margin-bottom: 0;
}

/* 3. RESPONSIVE POUR L'IMAGE COLLÉE */
@media (max-width: 992px) {
    .img-flush-left {
        margin-left: -20px; /* Sur mobile le padding est souvent de 20px */
        width: calc(100% + 40px) !important; /* On déborde des deux côtés sur mobile pour faire "full screen" */
        margin-right: -20px;
    }
}


/* 4. SECTION INFOS REPÉRER (Mise à jour avec Bouées) */
.infos-section {
    position: relative;
    padding: 80px 0;
    background-color: #00234b;
    background-size: cover;
    background-position: center;
}

.subtitle-white {
    color: white; font-size: 2rem; font-weight: 800; text-transform: uppercase;
    margin-top: -20px; margin-bottom: 50px; opacity: 0.8;
}

.infos-grid {
    display: flex; gap: 60px; align-items: flex-start;
}

/* PLAN (Gauche) */
.infos-plan {
    flex: 1;
    background: white; padding: 10px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.infos-plan img { width: 100%; height: auto; display: block; }

/* LISTE INFOS (Droite) */
.infos-list-right {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre les 3 gros blocs */
}

/* UN BLOC D'INFO */
.info-block-item {
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Petit trait de séparation discret */
    padding-bottom: 20px;
}
.info-block-item:last-child { border-bottom: none; }

/* LIGNE DU TITRE (Bouée + Texte) */
.info-header-row {
    display: flex;
    align-items: center; /* Centre verticalement la bouée et le titre */
    gap: 15px;
    margin-bottom: 15px;
}

.icon-buoy svg {
    display: block;
    width: 45px;  /* J'ai augmenté un peu pour qu'on voit bien le drapeau */
    height: 45px;
    fill: white;
    stroke: white; /* Important pour que la vague (qui est un trait) soit blanche */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.info-header-row h4 {
    color: white;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

/* TEXTE DE CONTENU */
.info-body-text p, 
.info-body-text ul, 
.info-body-text li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .infos-grid { flex-direction: column; }
    .info-header-row { align-items: flex-start; } /* Sur mobile, aligne en haut si le titre est long */
    .icon-buoy { margin-top: 5px; }
}

/* --- CORRECTION URGENTE Z-INDEX --- */

/* Force le contenu de la section INFOS à passer DEVANT le filtre bleu */
.infos-section .qsn-container {
    position: relative !important;
    z-index: 5 !important;
}

/* Assure que le plan (la carte) est bien visible aussi */
.infos-plan {
    position: relative;
    z-index: 6;
}

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

/* --- SECTION HAUT (TITRES) --- */
.contact-titles h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #00326e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-titles .highlight-block {
    background-color: #6b809b; /* Le gris/bleu de la maquette */
    color: white;
    padding: 5px 15px;
    display: inline-block;
    margin-top: 10px;
}

/* La Flèche décorative */
.arrow-down-curly {
    position: absolute;
    bottom: -80px; /* La fait dépasser vers le bas */
    right: 10%;
    z-index: 10;
    transform: rotate(10deg); /* Légère rotation pour le style */
}

/* --- SECTION BAS (FORMULAIRE & INFOS) --- */
.contact-form-section {
    position: relative;
    padding: 80px 0;
    background-color: #00234b;
    background-size: cover;
    background-position: center;
}

.contact-grid-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* =========================================
   SECTION CONTACT - VERSION FINALISÉE
   ========================================= */

/* --- CONTENEUR GLOBAL (Gère l'espacement entre les 2 blocs) --- */
.contact-grid-wrapper {
    display: flex;
    justify-content: center; /* Centre les deux blocs au milieu de la page */
    gap: 20px; /* Réduit l'espace entre les Infos et le Formulaire (Rapprochement) */
    align-items: flex-start;
}

/* --- 1. COLONNE GAUCHE (INFOS) --- */

.contact-left-infos {
    flex: 0 1 500px; /* Largeur max de 500px pour ne pas être trop loin du form */
    padding-right: 0; /* J'ai enlevé le padding qui repoussait le formulaire */
    position: relative;
    z-index: 25;
}

/* TITRE "NOUS CONTACTER" CENTRÉ */
.contact-left-infos h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    line-height: 1.1;
    margin-bottom: 50px;
    text-align: center; /* ALIGNEMENT CENTRÉ DEMANDÉ */
}

/* Le fond gris sous "CONTACTER" */
.contact-left-infos .highlight-grey {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 2px 15px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border-radius: 4px;
}

/* --- 2. LISTE DES INFOS (Icônes Rondes + Texte) --- */

.info-item {
    display: flex;
    align-items: center; /* Centre verticalement par rapport à la boule */
    gap: 20px; 
    margin-bottom: 30px;
}

/* STYLE DES ICÔNES : ROND BLANC */
.icon-white, 
.info-item i, 
.info-item span.icon {
    /* Forme du rond */
    width: 50px;
    height: 50px;
    background-color: white; /* FOND BLANC DEMANDÉ */
    border-radius: 50%; /* Rend l'icône ronde */
    
    /* Centrage de l'icône dans le rond */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    
    /* Style du symbole à l'intérieur */
    font-size: 1.4rem; 
    color: #6883a6; /* Icône en Bleu pour contraster sur le blanc */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Petit ombrage pour le relief */
}

/* LE TEXTE DANS LES INFOS */
.info-item strong {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
    color: white;
}

.info-item p, 
.info-item a, 
.info-item div {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-decoration: none;
    margin: 0;
}

.info-item a:hover {
    text-decoration: underline;
}

/* LIGNE DE SÉPARATION (Centrée aussi ?) */
.sep-line {
    width: auto;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 20px auto; /* "auto" permet de centrer la ligne sous le titre si besoin */
}

/* RÉSEAUX SOCIAUX */
.socials-contact .info-item {
    margin-bottom: 15px;
}


/* --- 3. COLONNE DROITE (FORMULAIRE) --- */

.contact-right-form { 
    flex: 0 1 710px; /* Largeur équilibrée avec la gauche */
    position: relative;
    z-index: 25; 
}

.glass-form-box {
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* STYLISATION CONTACT FORM 7 */
.pys-contact-form label {
    display: block; color: white; margin-bottom: 5px; font-weight: bold; font-size: 0.9rem;
}

/* Inputs */
.pys-contact-form .form-control {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 12px;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.pys-contact-form .form-control:focus {
    border-color: white; 
    background: rgba(255,255,255,0.1);
    outline: none;
}

/* Bouton */
.pys-contact-form .btn-submit {
    background-color: #00326e; 
    color: white;
    border: none;
    padding: 15px 40px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.pys-contact-form .btn-submit:hover {
    background-color: white;
    color: #00326e;
}


/* --- 4. RESPONSIVE --- */

@media (max-width: 992px) {
    .contact-grid-wrapper { 
        flex-direction: column; 
        gap: 50px; 
        align-items: center; /* Centre tout sur mobile */
    }
    .contact-left-infos, .contact-right-form {
        flex: 1;
        width: 100%; /* Prend toute la largeur sur mobile */
    }
    .arrow-down-curly { display: none; }
}

/* --- 5. CORRECTIFS Z-INDEX --- */
.contact-form-section .qsn-container {
    position: relative !important;
    z-index: 20 !important;
}
.contact-form-section .overlay-blue {
    z-index: 1; 
}

/* =========================================
   PAGE DÉDIÉE : NOS SERVICES (Classes uniques)
   ========================================= */

/* --- 1. PARTIE INTRO (Fond Blanc/Gris) --- */

.page-service-intro {
    background-color: #f4f6f8; /* Gris très clair */
    padding: 0;
    overflow: hidden;
}

.page-service-intro-container {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Texte Intro */
.page-service-intro-content {
    flex: 1;
    padding: 80px 50px;
    min-width: 300px;
}

.page-service-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00326e;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
}

.page-service-main-title .highlight-title {
    background-color: #7b8fa5; /* Gris/Bleu PYS */
    color: white;
    padding: 0 10px;
    display: inline-block;
}

.page-service-intro-body p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Intro */
.page-service-intro-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.page-service-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --- 2. PARTIE LISTE PRESTATIONS (Fond EAU) --- */

.page-service-list-section {
    background-color: #00326e; /* Couleur secours */
    
    /* --- METTRE L'URL DE TON IMAGE EAU ICI --- */
    background-image: url('https://chantier-pys.com/preprod2/wp-content/uploads/2025/12/site-pys-proposition.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    font-family: 'Arial', sans-serif;
    position: relative;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.3);
}

/* Titre "PRESTATIONS" */
.page-service-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.page-service-header .sect-title {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.page-service-header .title-bg {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 20px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

/* Structure Ligne Zig-Zag */
.page-service-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 10%;
    position: relative;
}

/* Classe pour les lignes paires (Fond clair) */
.page-service-band {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Classe pour inverser (Image à droite) */
.page-service-reverse {
    flex-direction: row-reverse;
}

/* Image Ronde */
.page-service-img-wrapper {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.page-service-img-wrapper img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.page-service-row:hover .page-service-img-wrapper img {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Contenu Texte */
.page-service-text-wrapper {
    flex: 0 1 600px;
    color: white;
}

.page-service-text-wrapper h3 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

/* Barre jaune sous le titre */
.page-service-text-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
}

.page-service-text-wrapper .desc-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    /* Intro */
    .page-service-intro-container { flex-direction: column; }
    .page-service-intro-img { height: 300px; width: 100%; order: -1; } /* Image au dessus */
    .page-service-intro-content { padding: 40px 20px; }
    .page-service-main-title { font-size: 2.5rem; }

    /* Liste */
    .page-service-row { 
        flex-direction: column !important; 
        text-align: center; 
        padding: 60px 20px; 
        gap: 40px; 
    }
    
    .page-service-img-wrapper img { width: 220px; height: 220px; }
    
    /* Centrer la barre jaune sur mobile */
    .page-service-text-wrapper h3::after { left: 50%; transform: translateX(-50%); }
    
    .page-service-header .sect-title { font-size: 2.2rem; }
}

/* =========================================
   3. SECTION GALERIE
   ========================================= */

.page-service-gallery-section {
    background-color: white;
    padding: 80px 20px;
    text-align: center;
}

/* Titres sombres pour fond blanc */
.sect-title-dark {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #00326e;
    margin-bottom: 10px;
}

.highlight-title-dark {
    background-color: #00326e;
    color: white;
    padding: 0 15px;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* GRILLE GALERIE (Responsive) */
.page-service-gallery-grid {
    display: grid;
    /* Crée des colonnes automatiques de min 250px */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Item de la galerie */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 250px; /* Hauteur fixe pour uniformiser */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Effet au survol : Zoom image + Overlay sombre */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay-icon {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 50, 110, 0.6); /* Fond bleu semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay-icon {
    opacity: 1;
}

.gallery-item .overlay-icon span {
    color: white;
    font-size: 3rem;
    font-weight: 300;
}


/* =========================================
   STYLE DE LA LIGHTBOX (Le Zoom)
   ========================================= */
.lightbox-modal {
    display: none; /* Caché par défaut */
    position: fixed; 
    z-index: 9999; /* Au dessus de tout */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); /* Fond noir presque opaque */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* L'image zoomée */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

/* Bouton Fermer (X) */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animation d'ouverture */
@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

/* --- NAVIGATION LIGHTBOX (CORRIGÉ) --- */
.prev-btn, .next-btn {
    cursor: pointer;
    position: fixed; /* Changé de absolute à fixed pour être sûr qu'elles restent à l'écran */
    top: 50%;
    transform: translateY(-50%); /* Centrage vertical */
    width: auto;
    padding: 20px; /* Zone de clic plus grande */
    
    /* COULEUR ET TAILLE AGRANDIES */
    color: #ffffff !important; /* Blanc pur forcé */
    font-weight: bold;
    font-size: 70px; /* Beaucoup plus gros (était 40px) */
    
    transition: 0.3s ease;
    user-select: none;
    text-decoration: none;
    z-index: 10010; /* Très haut pour passer devant tout */
    background-color: rgba(0,0,0,0.2); /* Fond légèrement plus discret */
    border-radius: 5px;
}

/* Position Droite (Suivant) */
.next-btn {
    right: 30px; /* Décollé du bord droit */
    left: auto; /* IMPORTANT : On s'assure qu'il n'est pas attaché à gauche */
}

/* Position Gauche (Précédent) */
.prev-btn {
    left: 30px; /* Décollé du bord gauche */
}

/* Effet au survol */
.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Fond sombre au survol */
    color: #ffc107 !important; /* Devient jaune OR au survol (optionnel, sinon garde blanc) */
}

/* Ajustement pour Mobile pour que ça ne prenne pas tout l'écran */
@media (max-width: 768px) {
    .prev-btn, .next-btn {
        font-size: 40px;
        padding: 10px;
        left: 10px; /* Plus près du bord sur mobile */
    }
    .next-btn {
        left: auto;
        right: 10px;
    }
}
/* =========================================
   CUSTOM SCROLLBAR (Ascenseur Personnalisé)
   ========================================= */

/* --- 1. Pour Chrome, Edge, Safari, Opera (Webkit) --- */

/* La "piste" (le fond de la barre) */
::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre verticale */
    height: 12px; /* Hauteur de la barre horizontale */
}

::-webkit-scrollbar-track {
    background: #001f44; /* Bleu très foncé (plus foncé que ton bleu principal pour le contraste) */
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Petite bordure subtile */
}

/* Le "pouce" (la partie qui bouge) */
::-webkit-scrollbar-thumb {
    background-color: white; /* BLANC comme demandé */
    border-radius: 6px; /* Arrondi pour faire propre */
    border: 3px solid #001f44; /* Laisse une marge autour du blanc pour un effet "flottant" */
}

/* Au survol de la souris sur l'ascenseur */
::-webkit-scrollbar-thumb:hover {
    background-color: #ffc107; /* Petit rappel de ta couleur OR (optionnel, sinon laisse white) */
    border-color: #001f44;
}

/* --- 2. Pour Firefox (Standard W3C) --- */
html {
    /* (Couleur du "pouce"  espace  Couleur du fond) */
    scrollbar-color: white #001f44; 
    scrollbar-width: thin; /* Barre plus fine et élégante */
}

/* =================================================================
   VERSION MOBILE & TABLETTE (RESPONSIVE FIX)
   Coller ceci TOUT À LA FIN du fichier style.css
   ================================================================= */

@media (max-width: 992px) {

    /* --- 1. SÉCURITÉ GLOBALE --- */
    html, body {
        overflow-x: hidden; /* Empêche le site de bouger horizontalement */
        width: 100%;
    }

    .container, .qsn-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* On réduit la taille de tous les gros titres */
    h1, h2, .sect-title, .page-service-main-title, .services-header h2 {
        font-size: 2rem !important;
        word-wrap: break-word;
        line-height: 1.2 !important;
    }

    /* --- 2. HEADER & MENU --- */
    body.home .site-header .container {
        padding: 0 20px !important;
    }
    
    /* On cache le menu classique et les réseaux sociaux sur mobile */
    body.home .header-socials, 
    body.home .main-navigation {
        display: none !important; 
    }
    
    /* On s'assure que le logo est bien centré ou placé correctement */
    body.home .site-branding {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }

    /* --- 4. SECTION QUI SOMMES NOUS (Accueil) --- */
    .cols-2 {
        flex-direction: column;
        gap: 40px;
    }

    /* Correction de l'image qui était bloquée à 40% */
    .about-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
        margin: 0;
    }
    
    .about-text {
        padding: 0 !important;
        text-align: left;
    }

    /* --- 5. SERVICES ACCUEIL (Le Zig-Zag avec superposition) --- */
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    /* On force l'ordre : Image au-dessus, Texte en-dessous */
    .service-item, 
    .services-grid > div:nth-child(3), 
    .services-grid > div:nth-child(4) {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* L'image ronde */
    .service-img {
        margin-bottom: -30px; /* On la fait mordre un peu sur le texte en dessous */
        z-index: 20;
    }

    /* La boite de texte (Glass Box) */
    .glass-box, 
    .services-grid > div:nth-child(3) .glass-box,
    .services-grid > div:nth-child(4) .glass-box {
        margin: 0 !important; /* On annule les marges négatives latérales */
        margin-top: 0px !important; 
        padding: 50px 20px 30px 20px !important; /* Padding ajusté pour le mobile */
        width: 100%;
        text-align: center;
        border-radius: 10px; /* On arrondit un peu sur mobile */
    }

    /* --- 6. PAGE DÉDIÉE : NOS SERVICES (ACF) --- */
    
    /* Intro (Texte + Image Atelier) */
    .page-service-intro-container {
        flex-direction: column;
    }
    
    /* On met l'image en premier */
    .page-service-intro-img {
        order: -1; 
        height: 250px;
        width: 100%;
    }
    
    .page-service-intro-content {
        padding: 40px 20px;
    }

    /* Liste des Prestations (Zig-Zag) */
    .page-service-row {
        flex-direction: column !important; /* Tout vertical */
        padding: 60px 20px;
        gap: 30px;
        text-align: center;
    }

    .page-service-img-wrapper {
        margin-bottom: 20px;
    }
    
    .page-service-img-wrapper img {
        width: 220px; height: 220px; /* Un peu plus petit sur mobile */
    }

    /* Centrage de la barre jaune */
    .page-service-text-wrapper h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- 7. SECTION CONTACT & INFOS --- */
    .contact-grid-wrapper, 
    .infos-grid {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left-infos, 
    .contact-right-form,
    .infos-plan, 
    .infos-list-right {
        flex: 1 1 100%;
        width: 100%;
        padding: 0;
    }

    .contact-map {
        height: 300px; /* Carte moins haute sur mobile */
    }

    /* --- 8. PAGE QUI SOMMES NOUS (Image Flush Left) --- */
    .img-flush-left {
        /* On annule l'effet "collé à gauche" complexe pour faire simple */
        margin-left: -20px !important;
        margin-right: -20px !important;
        width: calc(100% + 40px) !important;
        max-width: none !important;
        border-radius: 0 !important;
    }

    /* --- 9. FOOTER --- */
    .footer-main .container,
    .footer-top .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-col, .col-cta, .col-contact-middle, .col-contact-right {
        border-right: none !important;
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Séparateur horizontal */
        padding-bottom: 30px;
    }
    
    .footer-col:last-child { border-bottom: none; }

    .footer-info-item {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-socials {
        justify-content: center;
    }

    /* --- 10. GALERIE & LIGHTBOX --- */
    .page-service-gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes c'est mieux que 1 */
        gap: 10px;
    }

    /* Ajustement des flèches tactiles */
    .prev-btn, .next-btn {
        font-size: 40px !important; /* Plus petit que 70px pour pas gêner */
        padding: 15px !important;
        background-color: rgba(0,0,0,0.5);
    }
    
    .prev-btn { left: 0 !important; }
    .next-btn { right: 0 !important; left: auto !important; }
    
    .lightbox-content {
        max-width: 95%;
    }
}

/* --- FIX "NOUS RETROUVER" MOBILE --- */
@media (max-width: 992px) {
    
    /* On passe la section en colonne */
    .contact-section .container {
        display: flex;
        flex-direction: column;
        padding: 0 20px !important;
    }

    /* On retire le padding de 50px qui décale tout */
    .contact-infos {
        padding-left: 0 !important;
        width: 100%;
        margin-top: 30px; /* Un peu d'espace avec la carte */
    }

    /* On réduit la taille du titre qui est énorme */
    .contact-infos h2 {
        font-size: 2.2rem !important;
        word-wrap: break-word; /* Coupe le mot si nécessaire */
    }

    /* On permet au fond bleu "RETROUVER" de revenir à la ligne si besoin */
    .contact-infos h2 .highlight-blue {
        white-space: normal;
        display: inline-block;
        font-size: 1.8rem; /* Un peu plus petit pour que ça rentre */
    }

    /* Ajustement des listes (Icône + Texte) */
    .info-list li {
        align-items: flex-start; /* Aligne en haut */
    }

    /* Réduction des icônes pour gagner de la place */
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
    }

    /* Le texte ne doit pas déborder */
    .info-text p, .info-text a {
        font-size: 1rem !important;
        word-break: break-word; /* C'est ça qui empêche le débordement horizontal */
    }
}

/* =========================================
   MENU BURGER (MOBILE)
   ========================================= */

/* Par défaut (PC), on cache le bouton burger */
.burger-toggle {
    display: none;
}

/* --- VERSION MOBILE --- */
@media (max-width: 992px) {

    /* 1. Afficher le bouton Burger */
    .burger-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 99999; /* Au-dessus de tout */
        padding: 10px;
    }


    /* Les 3 barres du burger (Blanches sur l'accueil, Bleues ailleurs ?) */
    /* Adapte la couleur ici : background-color: #00326e (Bleu) ou white */
    .burger-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #00326e; /* Mettre 'white' si le fond du header est transparent/foncé */
        margin: 5px 0;
        transition: 0.4s;
        border-radius: 2px;
    }

    /* Pour la page d'accueil avec fond transparent, on force le blanc */
    body.home .burger-toggle span {
        background-color: white; 
    }

    /* 2. Le Menu (Caché par défaut) */
    .nav-menu-container, 
    .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100%; /* Caché hors de l'écran à droite */
        width: 80%;   /* Largeur du panneau */
        max-width: 300px;
        height: 100vh;
        background-color: #00326e; /* Fond Bleu PYS */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        padding-top: 60px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 10000;
        display: flex !important; /* Force l'affichage flex */
    }

    /* 3. Classe active (Quand le menu est ouvert) */
    .nav-menu-container.active,
    .main-navigation ul.active {
        right: 0; /* On le ramène à l'écran */
    }

    /* Style des liens dans le menu mobile */
    .main-navigation ul li {
        margin: 15px 0;
        text-align: center;
    }

    .main-navigation ul li a {
        color: white !important;
        font-size: 1.2rem;
        display: block;
    }

    /* 4. Animation du bouton en "Croix" quand ouvert */
    .burger-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: white; /* La croix devient blanche */
    }
    .burger-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: white;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* --- CORRECTIF CARTE GOOGLE MOBILE --- */
@media (max-width: 992px) {
    
    .contact-map {
        /* On annule le comportement flexible du PC */
        flex: none !important; 
        
        /* On force la largeur à 100% de l'écran (moins les marges) */
        width: 100% !important; 
        max-width: 100% !important;
        min-width: 0 !important; /* Important : annule le min-width: 300px qui casse les petits écrans */
        
        /* On définit une hauteur fixe visible */
        height: 350px !important; 
        
        display: block !important;
        margin-bottom: 30px; /* Espace sous la carte */
    }

    /* Sécurité pour l'iframe Google à l'intérieur */
    .contact-map iframe {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }
}
/* =========================================
   GESTION VIDÉO PC / MOBILE + STYLE MOBILE
   ========================================= */

/* --- 1. CONFIGURATION DE BASE (PC) --- */
.hero-section-video {
    position: relative;
    width: 100%;
    height: 85vh; /* Hauteur PC */
    min-height: 600px;
    background-color: #000; /* Fond noir par défaut */
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
    z-index: 0;
}

/* Sur PC : On affiche la PC, on cache la Mobile */
.video-pc { display: block; }
.video-mobile { display: none; }


/* --- 2. CONFIGURATION MOBILE (Écrans < 992px) --- */
@media (max-width: 992px) {

    /* BOITE PRINCIPALE : PLEIN ÉCRAN */
    .hero-section-video {
        height: 100vh !important; /* 100% de l'écran du téléphone */
        height: 100dvh !important; /* Pour navigateurs mobiles récents */
        min-height: 600px !important;
    }

    /* BASCULE DES VIDÉOS */
    .video-pc { display: none !important; } /* On cache la version PC */
    
    .video-mobile { 
        display: block !important; /* On affiche la version Mobile */
        width: 100% !important;
        height: 100% !important;
        top: 0 !important; left: 0 !important;
        transform: none !important;
        object-fit: cover !important; /* Important : Zoom pour remplir tout l'écran */
    }

    /* NETTOYAGE (On cache les éléments parasites) */
    .marquee-container,
    .hero-section-video > div[style] {
        display: none !important;
    }

    /* POSITION DU TEXTE (Sous le logo) */
    .hero-content-overlay {
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: 100% !important;
        z-index: 10 !important;
        
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Aligne en HAUT */
        align-items: flex-start !important;     /* Aligne à GAUCHE */
        
        /* Réglage de l'espace sous le header */
        padding-top: 140px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* FORCER L'ALIGNEMENT GAUCHE (Contre Tailwind) */
    .hero-text-content, 
    .hero-content-overlay .container {
        width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* STYLE DES TITRES MOBILE */
    .hero-content-overlay h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    /* Les blocs de couleur */
    .highlight-dark, .highlight-light, .highlight-white {
        font-size: 1.8rem !important;
        padding: 6px 12px !important;
        display: inline-block !important;
        width: fit-content !important;
        white-space: normal !important;
    }

    .hero-content-overlay p {
        font-size: 1.1rem !important;
        color: rgba(255,255,255,0.9) !important;
        margin-bottom: 25px !important;
        text-align: left !important;
    }

    .btn-hero-video {
        margin-top: 5px !important;
        padding: 12px 30px !important;
    }
}

/* --- FOOTER MOBILE COMPACT (V3 - ALIGNEMENT PARFAIT) --- */
@media (max-width: 992px) {

    /* 1. FOND ET ESPACEMENT */
    .footer-main {
        background: #00326e !important; 
        padding: 30px 15px !important;
    }

    .footer-main .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 25px !important;
    }

    /* 2. NETTOYAGE DES COLONNES */
    .footer-col, .col-cta, .col-contact-middle, .col-contact-right {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-bottom: 20px !important;
    }
    
    .footer-main .container > div:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* 3. TITRES ET TEXTES DU HAUT */
    .col-cta h4 { font-size: 0.7rem !important; margin-bottom: 5px !important; opacity: 0.8; }
    .col-cta h3 { font-size: 1.4rem !important; margin-bottom: 5px !important; line-height: 1.2 !important; color: white !important; }
    .cta-sub { font-size: 0.9rem !important; margin-top: 5px !important; color: #ffc107 !important; }
    .footer-wave { display: none !important; }

    /* 4. LE SECRET DE L'ALIGNEMENT (COLONNE VIRTUELLE) */
    .col-contact-middle, .col-contact-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centre la colonne globale */
        gap: 15px !important;
    }

    .footer-info-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        
        /* ICI C'EST IMPORTANT : On aligne le contenu à GAUCHE (Start) */
        justify-content: flex-start !important; 
        text-align: left !important;
        
        /* On force une largeur fixe pour que les icônes s'alignent verticalement */
        width: 100% !important;
        max-width: 290px !important; /* Largeur de la "colonne invisible" */
        margin: 0 auto !important;   /* Centre cette colonne sur l'écran */
    }

    /* 5. ICÔNES */
    .footer-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin: 0 15px 0 0 !important; /* Marge à droite fixe */
        flex-shrink: 0 !important; /* L'icône ne s'écrase jamais */
        
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 6. TEXTES DES INFOS */
    .footer-text strong {
        font-size: 0.75rem !important;
        color: rgba(255,255,255,0.6) !important;
        display: block !important;
        text-transform: uppercase;
        margin-bottom: 2px !important;
    }
    
    .footer-text p, .footer-text a {
        font-size: 0.95rem !important;
        color: white !important;
        line-height: 1.2 !important;
    }

    /* 7. RESTE DU FOOTER */
    .footer-top { padding: 10px 0 !important; }
    .footer-logo img { height: 40px !important; }
    .footer-bottom { padding: 10px 0 !important; font-size: 10px !important; }
}
/* =========================================
   MENU MOBILE "BUBBLE STYLE" (V3 - FINAL)
   ========================================= */

@media (max-width: 992px) {

    /* 1. ON FORCE LE MENU À EXISTER */
    body .main-navigation,
    body.home .main-navigation {
        display: block !important;
    }

    /* 2. LA BULLE (LE CONTENEUR) */
    .main-navigation ul,
    .nav-menu-container {
        position: fixed !important;
        
        /* Position de départ : Caché en HAUT */
        top: -500px !important; 
        left: 50% !important;
        transform: translateX(-50%) !important;
        opacity: 0 !important;
        
        /* Dimension et Style Bulle */
        width: 90% !important;
        max-width: 350px !important;
        height: auto !important;
        background-color: #00326e !important; /* Bleu PYS */
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 30px 40px !important;
        margin: 0 !important;
        
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
        z-index: 10000 !important;
    }

    /* 3. L'OUVERTURE (On baisse à 100px comme demandé) */
    .main-navigation.active ul,
    .main-navigation ul.active,
    .nav-menu-container.active {
        top: 100px !important; /* Était à 90px, on a baissé de 10px */
        opacity: 1 !important;
    }

    /* 4. STYLE DES LIENS (Flèche + Espace réduit) */
    .main-navigation ul li {
        width: 100% !important;
        text-align: left !important;
        margin: 8px 0 !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 8px !important;
    }
    .main-navigation ul li:last-child { border-bottom: none; }

    /* Apparition en cascade */
    .main-navigation.active ul li,
    .main-navigation ul.active li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* 5. TEXTE DES LIENS ET LE FIX DU BOUTON CONTACT */
    /* On cible les liens normaux ET le bouton contact pour les uniformiser */
    .main-navigation ul li a,
    .main-navigation .btn-header-contact a {
        background-color: transparent !important; /* Enlève le fond bleu du bouton */
        padding: 0 !important;                    /* Enlève le padding du bouton */
        border: none !important;
        border-radius: 0 !important;
        
        color: white !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        
        display: flex !important;
        align-items: center !important;
    }

    /* 6. LA FLÈCHE ">" PERSONNALISÉE */
    .main-navigation ul li a::before,
    .main-navigation .btn-header-contact a::before {
        content: ">";
        color: #ffc107;        /* Or/Jaune */
        font-weight: 900;
        margin-right: 12px;
        font-size: 1.2rem;
        transition: transform 0.3s;
    }

    /* Effet survol */
    .main-navigation ul li a:hover::before {
        transform: translateX(5px);
    }
    
    /* 7. LE BOUTON BURGER */
    .burger-toggle {
        display: block !important;
        position: absolute !important;
        top: 25px !important;
        right: 20px !important;
        z-index: 10002 !important;
    }
}
/* =========================================
   FIX PAGES STANDARDS (HORS ACCUEIL)
   ========================================= */
@media (max-width: 992px) {

    /* 1. LA CROIX : On la force en BLEU sur fond blanc */
    /* (body:not(.home) cible toutes les pages sauf l'accueil) */
    body:not(.home) .burger-toggle.active span {
        background-color: #00326e !important; 
    }

    /* 2. LA POSITION DU MENU : On le descend plus bas */
    /* Sur l'accueil il est à 100px, ici on le met à 130px (ajustable) */
    body:not(.home) .main-navigation.active ul,
    body:not(.home) .nav-menu-container.active {
        top: 130px !important; 
    }
}

/* --- FIX TITRE "INFOS REPÉRER" (PAGE QSN - MOBILE) --- */
@media (max-width: 992px) {
    
    /* 1. Cible le titre dans la section Infos */
    .infos-section h2,
    .infos-section .subtitle-white,
    .infos-section .sect-title {
        font-size: 2rem !important; /* Taille réduite */
        line-height: 1.6 !important; /* Aère les lignes pour éviter le chevauchement */
        color: white !important;     /* Force tout le texte en BLANC (très important) */
        word-wrap: break-word !important;
        margin-bottom: 40px !important;
    }

    /* 2. Cible le bloc surligné "VOUS REPÉRER" */
    /* On suppose qu'il a une classe comme highlight-blue, highlight-grey ou un span style */
    .infos-section h2 span,
    .infos-section .subtitle-white span {
        display: inline-block !important; /* Traite le surlignage comme un bloc */
        line-height: 1.2 !important;      /* Hauteur de ligne interne normale */
        margin: 5px 0 !important;         /* Ajoute de l'espace haut/bas pour ne pas toucher le reste */
        padding: 5px 10px !important;
        white-space: normal !important;   /* Autorise le retour à la ligne DANS le bloc */
    }
    
    /* Au cas où le "PETITES INFOS" serait dans un span spécifique sombre */
    .infos-section h2 span[style*="color: #"], 
    .infos-section h2 span[style*="color:#"] {
        color: rgba(255,255,255,0.8) !important; /* On force en blanc cassé */
    }
}

/* --- FIX PAGE "NOS SERVICES" MOBILE (VERSION ULTRA COMPACTE V2) --- */
@media (max-width: 992px) {

    /* 1. LA SECTION GLOBALE */
    .page-service-list-section {
        padding: 10px 0 !important; 
    }

    /* 2. LE TITRE PRINCIPAL */
    .page-service-header {
        margin-bottom: 15px !important;
        padding: 10px 10px !important;
    }
    .page-service-header .sect-title {
        font-size: 1.6rem !important;
        margin: 0 !important;
    }

    /* 3. CHAQUE BANDE DE SERVICE */
    .page-service-row {
        flex-direction: column !important; /* Important : on empile */
        padding: 20px 15px !important;     /* Espace interne raisonnable */
        gap: 15px !important;              /* Espace entre l'image et le texte */
        min-height: auto !important;
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    }
    
    .page-service-row:last-child {
        border-bottom: none !important;
    }

    /* 4. LE CORRECTIF MAGIQUE (TEXTE) */
    /* C'est ici qu'on annule la hauteur fixe du PC */
    .page-service-text-wrapper {
        flex: 0 0 auto !important; /* La hauteur s'adapte au contenu ! */
        width: 100% !important;    /* Prend toute la largeur */
        margin: 0 !important;
    }

    /* 5. L'IMAGE */
    .page-service-img-wrapper {
        margin: 0 !important;
        height: auto !important;
        flex: 0 0 auto !important; /* Annule aussi la taille fixe de l'image si besoin */
    }
    
    .page-service-img-wrapper img {
        width: 130px !important;
        height: 130px !important;
        border-width: 3px !important;
        margin: 0 !important;
    }

    /* 6. STYLE DU TEXTE */
    .page-service-text-wrapper h3 {
        font-size: 1.4rem !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        padding-bottom: 5px !important;
    }
    
    .page-service-text-wrapper h3::after {
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Centre la barre jaune */
        height: 2px !important;
        width: 40px !important;
    }

    .page-service-text-wrapper .desc-content p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        text-align: center !important; /* Plus joli sur mobile */
    }
}