.elementor-2551 .elementor-element.elementor-element-c39d810{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2551 .elementor-element.elementor-element-c39d810:not(.elementor-motion-effects-element-type-background), .elementor-2551 .elementor-element.elementor-element-c39d810 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#0B0B0B;}.elementor-2551 .elementor-element.elementor-element-3ab5f54{z-index:2;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-2551 .elementor-element.elementor-element-c39d810{--content-width:1300px;}}/* Start custom CSS */.tmc-lightbox-nav:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   TMC SA - MODULE GALERIE (VERSION BLINDÉE)
   ========================================================================== */

/* Force l'affichage de base de la grille */
.gallery-item {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Ajustement des conteneurs d'images dans les cartes */
.gallery-item .tmc-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 20px 0 !important; /* Reset du décalage pour la galerie */
}

.gallery-item .tmc-main-image {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
}

/* Boutons de filtres */
.tmc-gallery-filters button {
    cursor: pointer;
    transition: all 0.2s ease !important;
}
.tmc-gallery-filters button:hover {
    background-color: #D30707 !important;
    border-color: #D30707 !important;
    color: #ffffff !important;
}


/* --- STYLES SÉCURISÉS DU HERO INTERNE --- */
.tmc-internal-hero,
.tmc-internal-hero * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

.tmc-internal-hero {
    width: 100% !important;
    height: 400px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    border-bottom: 1px solid #2d2d2d !important;
}

.tmc-hero-content {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

/* --- DESIGN DU FIL D'ARIANE --- */
.tmc-breadcrumbs-container {
    margin-bottom: 20px !important;
    display: block !important;
}

.tmc-dynamic-breadcrumb {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #ffffff !important;
}

.tmc-dynamic-breadcrumb a {
    color: #8a8a8a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-weight: 500 !important;
}

.tmc-dynamic-breadcrumb a:hover {
    color: #D30707 !important;
}

.tmc-dynamic-breadcrumb .separator {
    color: #555555 !important;
    margin: 0 10px !important;
}

.tmc-dynamic-breadcrumb .last {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* --- TITRE H1 --- */
.tmc-internal-hero h1 {
    font-family: 'Montserrat', sans-serif !important;
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

.tmc-hero-line {
    width: 60px !important;
    height: 4px !important;
    background-color: #D30707 !important;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 992px) {
    .tmc-internal-hero { height: 320px !important; }
    .tmc-internal-hero h1 { font-size: 34px !important; }
}

@media (max-width: 768px) {
    .tmc-internal-hero { height: 260px !important; }
    .tmc-dynamic-breadcrumb { font-size: 11px !important; }
    .tmc-internal-hero h1 { font-size: 26px !important; line-height: 1.3 !important; }
    
    .box-footer{
    padding:40px 20px!important;
    }
    
    .box-footer a:hover {
        color:#fff;
    }
    
   
}

.tmc-lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(20,20,20,0.6);
    border: 1px solid #333; color: #fff;
    font-size: 30px; padding: 15px 20px;
    cursor: pointer; border-radius: 4px;
    transition: all 0.2s;
    user-select: none;
    
    /* AJOUTE CETTE LIGNE ICI POUR VIRER LE BLEU */
    outline: none !important; 
}



/* ==========================================================================
   TMC SA - STYLES GLOBAUX & COMPOSANTS
   ========================================================================== */

.tmc-page-content {
    background-color: #232323 !important;
    color: #b5b5b5 !important;
    font-family: 'Montserrat', sans-serif !important;
    overflow-x: hidden;
}

.tmc-section { padding: 90px 0 !important; }

/* --- SECTION FOND FIXE --- */
.tmc-bg-darker {
    background-image: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.3)), 
                      url('https://www.tmcsa.404-design.be/wp-content/uploads/2026/06/fond-metal-2.webp') !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

/* --- TITRES ET TYPO --- */
.tmc-title-main {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
}

.tmc-subtitle {
    color: #D30707 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.tmc-lead-text {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    border-left: 4px solid #D30707;
    padding-left: 20px !important;
    margin-bottom: 20px !important;
}

.button:focus{
background-color: #D30707!important;
border-color:#D30707!important;
}


/* Colorer les icônes (V) en rouge */
ul.tmc-capacity-list li i {
    color: #D30707 !important;
    margin-right: 15px !important; /* Espace entre le V et le texte */
    font-size: 14px !important;
    flex-shrink: 0; /* Empêche l'icône de s'écraser */
}

.tmc-grid-2 p{
color:#fff;
font-size:17px;
}/* End custom CSS */