/*
 * FABRE METAL CONSTRUCTION - V6.1 ULTRA-CORRECTED
 * CORRECTIONS URGENTES :
 * 1. Vidéo section About desktop
 * 2. Enlever filtre bleu de merde
 * 3. Supprimer TOUTES les photos backgrounds
 * 4. Restaurer section Métaux
 * 5. Corriger carrousel clients (cards vides)
 * 6. Supprimer espaces blancs entre sections
 */

/* ============================================
   1. SECTION ABOUT - SUPPRIMER IMAGES
   ============================================ */

/* Cacher les images de la section About */
.about-image-grid,
.about-image-item,
.about-image-1,
.about-image-2 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Section About - Contenu centré sans images */
.about-content-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.about-text-content {
    width: 100% !important;
    text-align: center !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ============================================
   2. ENLEVER FILTRE BLEU DE MERDE
   ============================================ */

/* Section About - AUCUN filtre bleu */
.about-section {
    background: #001f3f !important;
    position: relative !important;
}

.about-section::before {
    display: none !important;
}

.about-section::after {
    display: none !important;
}

/* Section Vision/Mission - AUCUN filtre bleu */
.vision-mission-section {
    background: #001f3f !important;
    position: relative !important;
}

.vision-mission-section::before {
    display: none !important;
}

.vision-mission-section::after {
    display: none !important;
}

/* Section Métaux - AUCUN filtre bleu */
.metals-section {
    background: #001f3f !important;
    position: relative !important;
}

.metals-section::before {
    display: none !important;
}

.metals-section::after {
    display: none !important;
}

/* ============================================
   3. SUPPRIMER PHOTOS BACKGROUNDS
   ============================================ */

/* Expertise - SUPPRIMER photo background */
.expertise-section {
    background: #001f3f !important;
    background-image: none !important;
}

.expertise-section::before {
    display: none !important;
}

.expertise-section::after {
    display: none !important;
}

/* Contact - SUPPRIMER photo background */
.contact-section {
    background: #001f3f !important;
    background-image: none !important;
}

.contact-section::before {
    display: none !important;
}

.contact-section::after {
    display: none !important;
}

/* ============================================
   4. CARROUSEL CLIENTS - CORRIGER CARDS VIDES
   ============================================ */

/* Container carrousel */
.clients-carousel-wrapper {
    width: 100% !important;
    overflow: hidden !important;
    padding: 60px 0 !important;
    background: transparent !important;
}

/* Track carrousel */
.clients-carousel,
.clients-carousel-track {
    display: flex !important;
    gap: 50px !important;
    animation: carouselScroll 30s linear infinite !important;
    will-change: transform !important;
}

/* Items logo - SUPPRIMER cards, montrer logos directement */
.client-logo-item,
.client-logo-box {
    flex-shrink: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.client-logo-item img,
.client-logo-box img {
    max-width: 180px !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.4s ease !important;
}

.client-logo-item:hover img,
.client-logo-box:hover img {
    filter: grayscale(0%) brightness(1) invert(0) opacity(1) !important;
    transform: scale(1.1) !important;
}

/* Animation carrousel */
@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .clients-carousel,
    .clients-carousel-track {
        gap: 40px !important;
        animation-duration: 20s !important;
    }
    
    .client-logo-item img,
.client-logo-box img {
        max-width: 140px !important;
        max-height: 70px !important;
    }
}

/* ============================================
   5. SUPPRIMER ESPACES BLANCS ENTRE SECTIONS
   ============================================ */

/* Séparateurs - SUPPRIMER */
.section-separator,
.parallax-separator {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sections - Coller ensemble */
section {
    margin: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* ============================================
   6. SECTION MÉTAUX - RESTAURER
   ============================================ */

/* Section Métaux - Style simple et propre */
.metals-section {
    background: #001f3f !important;
    padding: 100px 20px !important;
}

.metals-section .section-header-center {
    margin-bottom: 50px !important;
}

.metals-section .section-title {
    font-size: 42px !important;
    color: #d4af37 !important;
    margin-bottom: 20px !important;
}

.metals-section .section-subtitle {
    font-size: 20px !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.metals-content {
    max-width: 1000px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.metals-content p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.metals-content strong {
    color: #d4af37 !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .metals-section {
        padding: 70px 20px !important;
    }
    
    .metals-section .section-title {
        font-size: 32px !important;
    }
    
    .metals-section .section-subtitle {
        font-size: 18px !important;
    }
    
    .metals-content p {
        font-size: 16px !important;
    }
}

/* ============================================
   7. VIDÉO HERO - GARDER FONCTIONNELLE
   ============================================ */

.hero-video-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.hero-video-bg video,
.hero-video {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 31, 63, 0.6) !important;
    z-index: 1 !important;
}

.hero-content-wrapper {
    position: relative !important;
    z-index: 2 !important;
}

/* ============================================
   8. MENU MOBILE - GARDER FONCTIONNEL
   ============================================ */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        background: linear-gradient(135deg, #c8c8c8 0%, #959595 100%) !important;
        border: 2px solid #d4af37 !important;
        border-radius: 10px !important;
        padding: 12px !important;
        width: 52px !important;
        height: 52px !important;
        cursor: pointer !important;
        z-index: 1000 !important;
    }
    
    .menu-toggle span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: linear-gradient(90deg, #f0f0f0 0%, #b0b0b0 50%, #f0f0f0 100%) !important;
        border-radius: 2px !important;
    }
}

.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.98) 0%, rgba(13, 71, 161, 0.96) 50%, rgba(0, 31, 63, 0.98) 100%) !important;
    backdrop-filter: blur(20px) !important;
    z-index: 9998 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

.mobile-menu-overlay.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-close:hover {
    transform: rotate(90deg) scale(1.2) !important;
    background: linear-gradient(135deg, #ff5555 0%, #dd0000 100%) !important;
}

/* ============================================
   9. CARDS MOBILE FULL-WIDTH
   ============================================ */

@media (max-width: 768px) {
    .vm-grid,
    .vision-mission-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .vm-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
    }
    
    .expertise-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .expertise-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ============================================
   10. OPTIMISATIONS GÉNÉRALES
   ============================================ */

body, html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #001f3f !important;
}

.site-main-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Scroll mobile normal */
@media (max-width: 1024px) {
    html {
        scroll-behavior: auto !important;
    }
    
    body {
        overflow-y: auto !important;
    }
    
    section {
        min-height: auto !important;
        height: auto !important;
    }
}
