/**
 * Hero Spotify Brutal - Styles Frontend
 * 
 * Design inspiré du style Renaux/brutalist avec effet glitch
 */

/* Container principal */
.hero-brutal {
    padding: 4rem 5%;
    border-bottom: 4px solid #000;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #fff;
}

/* Image de fond */
.hero-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: 50%;
    object-fit: cover;
    z-index: 0;
    
    /* Traitement brutal */
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
    mix-blend-mode: multiply;
    opacity: 0.9;
}

/* Wrapper de contenu (passe devant l'image) */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

/* Métadonnées style terminal */
.hero-meta {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    padding-right: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Titre principal avec effet glitch */
h2.glitch-title {
    font-size: clamp(3rem, 10vw, 8rem) !important;
    line-height: 0.85;
    text-transform: uppercase !important;
    /*margin-bottom: 3rem !important;*/
    letter-spacing: -3px;
    font-weight: 900;
    color: #000;
    position: relative;

    border: 0;
    border-bottom: 0 !important;
    margin: 3rem 0 3rem 0!important;
    font-family: var(--sp-font-main) !important;
}

/* Texte outline (deuxième ligne) */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
}

/* Section intro */
.hero-intro {
    max-width: 600px;
}

.mono-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    display: inline-block;
}

/* Animation glitch optionnelle (hover sur le titre) */
@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

.glitch-title:hover {
    animation: glitch 0.3s infinite;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .hero-brutal {
        min-height: auto;
        padding: 3rem 5%;
    }

    .hero-bg-img {
        max-width: 80%;
        opacity: 0.2;
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    h2.glitch-title {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .mono-text {
        font-size: 0.8rem;
    }
}

/* Styles pour l'éditeur Gutenberg */
.qba-hero-spotify-editor {
    background: #fafafa;
}
