html {
    overflow-x: hidden;
}

body { 
    padding-top: 0;
    background-color: #1A191B;
    margin: 0;
    overflow-x: hidden;
}

.imageGauche {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 2;
}

.imageDroite {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 2;
}

header {
    position: relative;
    background-position: center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: 70vh;
}

.cercleFond {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 160px;
    background-color: #1A191B;
    border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

h1 {
    font-size: 54px; 
    padding-bottom: 20px;
    line-height: 5.6rem;
}

h2 {
    font-size: 42px; 
    padding-bottom: 20px;
}

h3 { 
    font-size: 25px; 
     padding-bottom: 20px;
}

.menu {
    padding-top: 30px;
    padding-bottom: 30px;
}

.menu h3:hover { 
    color: #0e94a0; 
    transition: 0.3s;
}

.navigation h3 {
    padding: 10px;
    background: rgba(0, 0, 0, 0.80);
    border-radius: 20px;
}

.navigation h3[aria-expanded="true"] {
    background-color: #0e94a0;
    padding: 10px;
    color: white !important;
    transition: 0.3s;
}

.navigation h3[aria-expanded="true"]:hover {
    background-color: #10afbd;
    color: white !important;
}

p {
    font-size: 20px;
}

.groupe a {
    font-size: 18px;
}

.groupe a.lien-categorie {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: white;
}

.fond-menu {
    background-color: #1A191B;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

/* Menu Principal */
#menuServices {
    top: 300px;
    justify-content: center;
    width: 1020px;
    z-index: 1;
}

/* Style des titres de colonnes */
.sousMenu p[role="button"], #coveringDivers {
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.sousMenu p[role="button"]:hover, #coveringDivers a:hover {
    color: #0e94a0;
    transition: 0.3s;
}

.sousMenu p[role="button"]:focus {
    background-color: #0e94a0;
}

/* Effet au clic */
.sousMenu [aria-expanded="true"] {
    background-color: #0e94a0;
}

.sousMenu [aria-expanded="true"]:hover {
    background-color: #10afbd;
    color: white !important;
}

/* Sous-liens */
.groupe p {
    text-decoration: none;
    margin-bottom: 25px;
}

.groupe {
    padding-bottom: 10px;
}

#coveringDivers {
    padding-bottom: 35px;
}

.groupe a:hover {
    color: #0e94a0;
}

.declencheur-menu {
    cursor: pointer;
    transition: 0.3s;
}

.declencheur-menu:hover {
    color: #0e94a0;
}

.declencheur-menu:hover a {
    color: #0e94a0;
}

.declencheur-menu:hover i {
    color: #0e94a0;
}

.declencheur-menu.menu-ouvert {
    background-color: #0e94a0;
    color: white !important;
    transition: 0.3s;
    padding: 10px;
}

.declencheur-menu.menu-ouvert a {
    color: white !important;
}

.declencheur-menu.menu-ouvert i {
    color: white !important;
}

.declencheur-menu.menu-ouvert:hover {
    background-color: #10afbd;
    color: white !important;
}

.btn {
    margin-top: 35px;
    font-size: 25px;
    background-color: #0e94a0;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 50px;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background-color: white;
    color: #0e94a0;
}

.btn-voir{
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .btn-voir {
        margin-top: 24px;
        margin-bottom: 24px;
        display: block;
        padding: 12px 36px;
        font-size: 1.1rem;
    }

    .page-galerie-services .btn-voir {
        padding: 16px 60px !important;
        font-size: 1.4rem !important;
    }

    .section-services {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .section-services h2 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0;
    }
}

main {
    position: relative;
}

.nosLocaux {
    padding-top: 120px;
}

.contactsRéseaux {
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.contact-item:hover p {
    color: #0e94a0;
    transition: 0.3s;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    border: 2px solid #0e94a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0e94a0;
    transition: 0.3s;
}

.contact-item:hover .contact-icon {
    background-color: #ffffff;
    color: #0e94a0;
}

.contactsRéseaux h3 {
    margin-bottom: 30px;
}

.num{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.num i{
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    border: 2px solid #0e94a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0e94a0;
}

footer {
    background-color: #1A191B;
}

.footer-logo {
    opacity: 0.2;
    max-width: 100%;
    height: auto;
    padding-bottom: 40px;
}

.footer-hr {
    border-color: rgba(255,255,255,0.3);
}

.footer-hr-small {
    border-color: rgba(255,255,255,0.3);
}

footer p {
    font-size: 18px;
}

footer a {
    transition: 0.3s;
}

footer a:hover {
    color: #0e94a0;
}

.footer-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1A191B;
    transition: 0.3s;
    margin-bottom: 20px;
}

.footer-icon:hover {
    background-color: #0e94a0;
    color: white;
}

.FPages p{
    padding-bottom: 20px;
}

.FLigne1 {
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.FLigne2{
    padding-top: 20px;
}

.FLigne3{
    padding-top: 20px;
    padding-bottom: 20px;
}

.FLigne4{
    padding-top: 20px;
    padding-bottom: 20px;
}

.contactezNousIci h1 {
    margin-bottom: 100px;
}

.section-formulaire {
    margin-bottom: 100px;
}

.section-formulaire h2{
    padding-bottom: 50px;
}

.formulaire {
    border: 33px solid; 
    border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M 1 30 L 1 21 A 20 20 0 0 1 21 1 L 30 1 M 35 1 L 65 1 M 70 1 L 79 1 A 20 20 0 0 1 99 21 L 99 30 M 99 35 L 99 65 M 99 70 L 99 79 A 20 20 0 0 1 79 99 L 70 99 M 65 99 L 35 99 M 30 99 L 21 99 A 20 20 0 0 1 1 79 L 1 70 M 1 65 L 1 35' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'/%3E%3C/svg%3E");
    border-image-slice: 30; 
    padding: 7px; 
}

.formulaire h2 {
    font-size: 28px;
}

.formulaire .form-control {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px;
}

.formulaire .form-control:focus {
    box-shadow: 0 0 10px rgba(14, 148, 160, 0.5);
    border: 1px solid #0e94a0;
}

.formulaire .btn {
    margin-top: 40px;
    background-color: #0e94a0;
    color: white;
}

.formulaire .btn:hover {
    background-color: white;
    color: #0e94a0;
}

.contactsRéseauxLocaux {
    padding-bottom: 120px;
}

.contactsRéseauxLocaux h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.txt-locaux {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 90%;
}

.bloc-carte-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.bloc-carte {
    width: 100%;
    height: 350px;
    border-radius: 6px;
}

.infoGroupe .num {
    margin-bottom: 40px;
}

label{
    padding-top: 20px;
}

.nosPartenaires h1{
    padding-bottom: 100px;
}

.section-partenaires {
    margin-bottom: 40px;
    margin-top: 40px;
}

.séparateur {
    border-color: rgb(255, 255, 255);
    width: 40%;
    margin: 0 auto;
}

.titreService h1 {
    margin-top: 10px;
    margin-bottom: 60px;
}

.section-services {
    margin-bottom: 0;
    margin-top: 0;
}

.section-services h2 {
    margin-top: 50px;
    margin-bottom: 0;
}

.img-placeholder {
    width: 100%;
    max-width: 280px;
    height: 280px;
    background-color: #333235; 
    border-radius: 8px; 
    margin-bottom: 20px;
}

/* Placeholders des pages galerie (coveringVehicules, coveringCasques, etc.) */
.img-placeholder-galerie {
    width: 100%;
    max-width: 280px;
    height: 280px;
    background-color: #333235;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.blocParternaireBas{
    margin-bottom: 120px;
}

.blocParternaire {
    margin-bottom: 70px;
}

.bloc-titre {
    margin-bottom: 80px;
}

/* Placeholders partenaires : plus grands sans toucher aux autres pages */
.blocParternaire .img-placeholder,
.blocParternaireBas .img-placeholder {
    max-width: 400px;
    height: 400px;
}

.blocServiceBas{
    margin-bottom: 120px;
}

.blocService {
    margin-bottom: 30px;
}

/* Page voitures : plus d'espace entre les blocs */
.page-voitures .blocService {
    margin-bottom: 100px;
}

.img-principale-container{
    margin: 40px;
}

.img-galerie-vignette{
    margin: 10px;
}


/* ==========================================
   MÉDIAS QUERIES & RESPONSIVE MOBILE CLEAN
   ========================================== */

@media (max-width: 991px) {

    /* Neutralisation des comportements Desktop gênants */
    #menuServices {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        margin: 10px auto 0 auto !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ===== TYPOGRAPHIE ===== */
    h1 { font-size: 36px; line-height: 1.2; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
    p  { font-size: 16px; }

    /* ===== HEADER ===== */
    header {
        padding-top: 0;
        padding-bottom: 60px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-height: 20vh;
        overflow: hidden;
        width: 100vw;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-size: 170% auto !important;
        background-position: center 30% !important;
    }

    header .col-lg-6 {
        width: 70%;
        margin: 0 auto;
    }

    header .col-lg-7 {
        width: 100%;
    }

    .btn {
        font-size: 16px;
        padding: 8px 24px;
        margin-top: 5px;
        margin-bottom: 20px;
    }

    .cercleFond {
        width: 130%;
        height: 80px;
        bottom: -40px;
    }

    .hamburger-bar {
        margin-bottom: 10px;
    }

    /* ===== MENU DESKTOP : masqué ===== */
    .menu {
        display: none !important;
    }

    #menuServices {
        display: none !important;
    }

    /* ===== HAMBURGER NAVIGATION BAR ===== */
    .hamburger-bar {
        padding: 15px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .btn-hamburger {
        background-color: #0e94a0;
        border: none;
        color: white;
        font-size: 28px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .btn-hamburger:hover {
        background-color: #10afbd;
    }

    .logo-mobile {
        height: 50px;
        display: block;
        margin: 0 auto;
        padding-left: 90px;
    }

    .mobile-nav {
        background-color: #1A191B;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 20px;
        text-align: left;
    }

    .mobile-nav > p {
        margin-bottom: 15px;
        font-size: 18px;
    }

    /* ===== MAIN SECTIONS (Centrage forcé des colonnes à 85%) ===== */
    .bloc-titre .col-lg-6,
    .bloc-titre .col-lg-7 {
        width: 85%;
        margin: 0 auto !important;
    }

    .nosLocaux .col-lg-4,
    .nosLocaux .col-lg-6 {
        width: 85%;
        margin: 0 auto !important;
    }

    .nosLocaux {
        padding-top: 40px;
    }

    /* ===== CONTACTS ===== */
    .contactsRéseaux {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contactsRéseaux .col-lg-7 {
        width: 85%;
        margin: 0 auto !important;
        flex-direction: column !important;
    }

    .contactsRéseaux .col-lg-3,
    .contactsRéseaux .col-lg-4 {
        width: 100%;
        margin-bottom: 40px;
        text-align: left;
    }

    /* ===== FOOTER RESPONSIVE ===== */
    footer .col-lg-8 {
        width: 90%;
        margin: 0 auto !important;
    }

    footer .col-lg-2.FPages,
    footer .col-lg-6,
    footer .col-lg-2.d-flex {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    footer .col-lg-2.d-flex {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px;
    }

    .footer-icon {
        margin-bottom: 0;
    }

    .footer-logo {
        max-width: 100%;
    }

    footer p {
        font-size: 14px;
    }

    .FLigne1 {
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .FLigne2, .FLigne3 {
        height: auto;
        padding-top: 10px;
    }

    .FLigne3 {
        margin-left: -10px;
    }

    /* ===== OFFCANVAS MENU MOBILE (Encapsulé ici) ===== */
    .menu-mobile-offcanvas {
        background-color: #1A191B;
        width: 66vw !important;
        border-right: none;
    }

    .offcanvas-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .logo-offcanvas {
        height: 40px;
        width: auto;
        object-fit: contain;
        flex: 1;
    }

    .btn-close-menu {
        background: none;
        border: none;
        color: white;
        font-size: 22px;
        cursor: pointer;
        transition: 0.3s;
        padding: 0;
    }

    .offcanvas-body {
        padding: 0;
    }

    .mobile-nav > p,
    .mobile-groupe > .mobile-declencheur {
        padding: 16px 20px;
        margin: 0;
        font-size: 18px;
        color: white;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        cursor: pointer;
    }

    .mobile-nav > p a {
        color: white;
    }

    .mobile-nav > p:hover a,
    .mobile-nav > p:hover {
        color: #0e94a0;
    }

    .mobile-declencheur {
        transition: 0.3s;
        color: white;
    }

    .mobile-declencheur[aria-expanded="true"] {
        background-color: #0e94a0;
        color: white !important;
    }

    .mobile-declencheur[aria-expanded="false"] {
        background-color: transparent !important;
        color: white !important;
    }

    .mobile-declencheur:hover {
        color: #0e94a0;
    }

    .mobile-declencheur[aria-expanded="true"]:hover {
        background-color: #10afbd;
    }

    .mobile-sous-groupe {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #mobileServices {
        border-bottom: 20px solid rgba(255,255,255,0.1);
        margin-bottom: 10px;
    }

    .mobile-sous-declencheur {
        padding: 14px 20px;
        margin: 0;
        font-size: 17px;
        color: white;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: normal;
        gap: 10px;
    }
    
    .mobile-sous-declencheur i {
        flex-shrink: 0;
    }

    .mobile-lien-categorie {
        color: white;
        text-decoration: none;
        flex: 1;
    }

    .mobile-lien-categorie:hover {
        color: #0e94a0;
    }

    .mobile-sous-declencheur[aria-expanded="true"] .mobile-lien-categorie {
        color: white !important;
    }

    .mobile-sous-declencheur[aria-expanded="true"] {
        background-color: #0e94a0;
        color: white !important;
    }

    .mobile-sous-declencheur[aria-expanded="false"] {
        background-color: transparent !important;
        color: white !important;
    }

    .mobile-sous-declencheur:hover {
        color: #0e94a0;
    }

    .mobile-sous-declencheur[aria-expanded="true"]:hover {
        background-color: #10afbd;
    }

    .mobile-sous-groupe .collapse .mobile-item,
    .mobile-sous-lien {
        padding: 12px 35px !important;
        margin: 0 !important;
        font-size: 16px !important;
        color: white;
        text-align: left !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: none !important;
    }

    .mobile-sous-lien {
        padding: 14px 20px !important;
        font-size: 17px !important;
    }
    
    /* Fige les styles pendant l'animation Bootstrap */
    .mobile-sous-groupe .collapsing .mobile-item,
    .mobile-sous-groupe .collapse.show .mobile-item {
        font-size: 16px !important;
        padding: 12px 35px !important;
        margin: 0 !important;
        text-align: left !important;
        display: block !important;
    }

    .mobile-sous-groupe .collapse .mobile-item a,
    .mobile-sous-lien a {
        color: white;
    }

    .mobile-sous-groupe .collapse .mobile-item:hover a,
    .mobile-sous-lien:hover a {
        color: #0e94a0;
    }

    .img-placeholder {
    width: 100%;
    max-width: 130px;
    height: 130px;
    background-color: #333235; 
    border-radius: 8px; 
    margin-bottom: 20px;
}

    /* Services : images pleine largeur sur mobile */
    .blocService .img-placeholder {
        max-width: 100%;
        height: 160px;
    }

    /* Partenaires : garder les placeholders grands sur mobile aussi */
    .blocParternaire .img-placeholder,
    .blocParternaireBas .img-placeholder {
        max-width: 100%;
        height: 220px;
    }

    .blocParternaire {
        margin-bottom: 50px;
    }

    
}

/* ==========================================
   PAGE CONTACT
   ========================================== */

/* Desktop : carte à gauche, infos à droite */
.contact-infos-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-bloc-carte {
    width: 100%;
    height: 200px;
    border-radius: 6px;
}

.contact-bloc-infos {
    width: 38%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {

    .contactezNousIci h1 {
        margin-bottom: 30px !important;
        margin-top: 0 !important;
        padding-top: 10px;
    }

    .page-contact {
        padding-top: 0 !important;
        margin-top: -10px;
    }

    .section-formulaire {
        margin-bottom: 50px;
    }

    .blocService {
        margin-bottom: 60px;
    }

    .section-formulaire h2 {
        font-size: 22px;
        padding-bottom: 20px;
    }

    .formulaire {
        border: 20px solid;
        border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M 1 30 L 1 21 A 20 20 0 0 1 21 1 L 30 1 M 35 1 L 65 1 M 70 1 L 79 1 A 20 20 0 0 1 99 21 L 99 30 M 99 35 L 99 65 M 99 70 L 99 79 A 20 20 0 0 1 79 99 L 70 99 M 65 99 L 35 99 M 30 99 L 21 99 A 20 20 0 0 1 1 79 L 1 70 M 1 65 L 1 35' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'/%3E%3C/svg%3E");
        border-image-slice: 20;
        padding: 5px;
    }

    .formulaire .row {
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .formulaire .row .col-6 {
        padding-left: 4px;
        padding-right: 4px;
    }

    .formulaire .row .col-6:first-child {
        padding-left: 0;
    }

    .formulaire .row .col-6:last-child {
        padding-right: 0;
    }

    .contactsRéseauxLocaux {
        padding-bottom: 60px;
    }

    .contactsRéseauxLocaux h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .bloc-carte {
        height: 150px;
    }

    .infoGroupe {
        margin-bottom: 30px;
    }

    .num p {
        font-size: 16px !important;
    }

    .contact-item p {
        font-size: 16px !important;
    }

    /* Mobile : réseaux → téléphone → carte via order */
    .contact-infos-wrapper {
        flex-direction: column;
    }

    .contact-bloc-carte {
        width: 100%;
        height: 150px;
        order: 3;
        border-radius: 6px;

    }

    .contact-bloc-infos {
        width: 100%;
        order: 1;
    }

    /* Réseaux sociaux avant téléphone */
    .contact-bloc-infos .infoGroupe:first-child {
        order: 2;
    }

    .contact-bloc-infos .infoGroupe:last-child {
        order: 1;
    }

    .contact-bloc-infos {
        display: flex;
        flex-direction: column;
    }
}

/* ==========================================
   ANIMATION COLLAPSE MOBILE
   ========================================== */

#menuMobile .collapsing {
    transition: height 0.4s ease !important;
}


/* ==========================================
   PAGE GALERIE RESPONSIVE
   ========================================== */

.page-galerie {
    padding-top: 40px;
    padding-bottom: 80px;
}

.titreGalerie h1 {
    font-size: 54px;
    padding-bottom: 20px;
}

@media (max-width: 991px) {

    .page-galerie {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .titreGalerie h1 {
        font-size: 32px;
        padding-bottom: 10px;
    }

    /* Image vedette pleine largeur */
    .page-galerie .img-principale-container {
        margin: 0 0 16px 0;
        border-radius: 0;
    }

    .page-galerie section.row.justify-content-center:first-of-type .col-lg-6 {
        width: 100% !important;
        padding: 0 !important;
        max-width: 100%;
    }

    /* Grille 2 colonnes */
    .grille-photos .col-lg-8 {
        width: 100% !important;
        padding: 0 8px !important;
    }

    .grille-photos .col-md-4 {
        width: 50% !important;
        padding: 4px !important;
    }

    .grille-photos .img-galerie-vignette {
        margin: 0;
        border-radius: 4px;
    }

    .grille-photos .img-galerie-vignette img {
        width: 100%;
        height: 130px;
        object-fit: cover;
        border-radius: 4px;
    }
}


.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: lightbox-fadeIn 0.25s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lightbox-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    animation: lightbox-zoomIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition: opacity 0.2s ease;
}

@keyframes lightbox-zoomIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.2s;
    z-index: 10001;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
    background: #0e94a0;
    border: 2px solid #0e94a0;
    color: #fff;
    font-size: 1.6rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.lightbox-nav:hover { background: #10afbd; border-color: #10afbd; }

/* Desktop : flèches sur les côtés, mobiles cachées */
.lightbox-prev-desktop,
.lightbox-next-desktop {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-prev-desktop { left: 18px; }
.lightbox-next-desktop { right: 18px; }
.lightbox-prev-mobile,
.lightbox-next-mobile { display: none; }
.lightbox-controls { display: none; }

@media (max-width: 991px) {
    /* Sur mobile la lightbox s'organise en colonne : image puis flèches */
    .lightbox-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .lightbox-content {
        max-width: 92vw;
        max-height: 62vh;
    }

    /* Cacher les flèches desktop */
    .lightbox-prev-desktop,
    .lightbox-next-desktop { display: none; }

    /* Afficher le wrapper mobile juste sous l'image */
    .lightbox-controls {
        display: flex;
        width: 92vw;
        align-items: center;
        justify-content: space-between;
    }

    .lightbox-prev-mobile,
    .lightbox-next-mobile {
        display: flex;
        position: static;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

.lightbox-counter {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    font-family: sans-serif;
}

.img-galerie-vignette,
.img-principale-container {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.img-galerie-vignette img,
.img-principale-container img {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.img-galerie-vignette:hover img,
.img-principale-container:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}