/* =========================================
   HERO MATTHEW KLEIN STYLE (OPTIMISÉ IMG)
   ========================================= */

/* 1. LE CONTENEUR PRINCIPAL */
.hero-mkl {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
}

/* 2. LA GRILLE D'IMAGES (Inclinée) */
.mkl-grid {
    display: flex;
    gap: 20px;
    height: 140vh; 
    width: 115%;
    margin-left: -7.5%;
    margin-top: -20vh;
    transform: rotate(3deg); 
    opacity: 0.4; 
    filter: grayscale(20%);
}

/* 3. LES COLONNES & LE SCROLL */
.mkl-col {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.mkl-scroll {
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

/* 4. LES IMAGES */
.mkl-item {
    flex: 0 0 auto;
    width: 100%;
    height: 35vh;
    object-fit: cover; 
    display: block;
    border-radius: 4px;
    background-color: #0a0a0a;
}

/* 5. ANIMATIONS */
.mkl-col-0 .mkl-scroll { animation: mkl-scroll-down 180s linear infinite; }
.mkl-col-1 .mkl-scroll { animation: mkl-scroll-up 160s linear infinite; }
.mkl-col-2 .mkl-scroll { animation: mkl-scroll-down 200s linear infinite; }

@keyframes mkl-scroll-down {
    0% { transform: translateY(0); }
    100% { transform: translateY(-66.666%); }
}

@keyframes mkl-scroll-up {
    0% { transform: translateY(-66.666%); }
    100% { transform: translateY(0); }
}

/* 6. OVERLAY */
.hero-overlay-mkl {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    pointer-events: none !important;
}

/* 7. CONTENU TEXTE */
.hero-content-mkl {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    left: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mkl-title {
    /* Clamp ajusté : min 2.5rem, fluide 7vw, max 7rem */
    font-size: clamp(2.5rem, 7vw, 7rem); 
    font-weight: 900;
    line-height: 0.85;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.mkl-separator {
    width: 60px;
    height: 3px;
    background: var(--accent, #fff);
    margin: 25px 0;
}

.mkl-subtitle {
    color: #aaa;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* --- BOUTON HERO --- */
.hero-mkl .mkl-btn {
    position: relative;
    z-index: 20;
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto !important;
}

.hero-mkl .hero-content-mkl a.mkl-btn:hover {
    background: var(--accent) !important; 
    border-color: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.4);
}

/* 8. RESPONSIVE MOBILE (768px et moins) */
@media (max-width: 768px) {
    .hero-content-mkl {
        left: 0 !important;
        width: 100% !important;
        padding: 0 20px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .mkl-title {
        /* On réduit un peu la taille sur mobile pour éviter les débordements */
        font-size: 10vw !important; 
        line-height: 1.1 !important;
    }

    .mkl-first-name, 
    .mkl-last-name {
        display: block !important;
        width: 100% !important;
        /* On enlève white-space: nowrap pour autoriser le texte à respirer si besoin */
        white-space: normal !important; 
    }

    .mkl-separator { margin: 20px auto !important; }
    
    .mkl-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 3px;
        max-width: 90% !important;
        margin: 0 auto 30px auto !important;
    }

    .mkl-grid { opacity: 0.3; }
}