/*
Theme Name: OBSYDN
Author: Pierre DUEZ
Description: Thème sur-mesure pour OBSYDN Music - DA Premium Dark
Version: 2.1
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: #050505; color: #e0e0e0; line-height: 1.6; overflow-x: hidden; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header { 
    position: fixed; 
    top: 0; left: 0; right: 0; z-index: 1000; 
    background: rgba(5, 5, 5, 0.4); 
    backdrop-filter: blur(24px) saturate(180%); 
    -webkit-backdrop-filter: blur(24px) saturate(180%); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    height: 80px; 
    padding: 0 3rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* LOGO HEADER & FOOTER */
header .logo,
footer .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0; 
    cursor: pointer;
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.4)); 
    transition: transform 0.4s ease, filter 0.4s ease;
    background-image: url('https://obsydn.fr/wp-content/uploads/2026/04/logo-obsydn-scaled.png');
}

header .logo a,
footer .footer-logo a {
    text-decoration: none;
    color: #ffffff;
    font-family: inherit; 
    text-transform: uppercase;
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.4);
    transition: text-shadow 0.4s ease;
}

header .logo:hover,
footer .footer-logo:hover {
    transform: scale(1.05); 
    filter: drop-shadow(0px 0px 18px rgba(255, 255, 255, 1)); 
}

header .logo:hover a,
footer .footer-logo:hover a {
    text-shadow: 0px 0px 25px rgba(255, 255, 255, 1); 
}

header .logo { width: 110px; height: 70px; padding: 0 15px; }
header .logo a { letter-spacing: 4px; font-size: 1.1rem; }

footer .footer-logo { grid-column: 2; align-self: center; width: 250px; height: 160px; }
footer .footer-logo a { letter-spacing: 6px; font-size: 2rem; }

.hamburger { 
    width: 32px; height: 18px; 
    display: flex; flex-direction: column; justify-content: space-between; 
    cursor: pointer; background: none; border: none; z-index: 1001; 
    align-self: center; 
}
.hamburger span { width: 100%; height: 2px; background-color: #fff; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 5, 5, 0.98); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
nav.active { opacity: 1; pointer-events: auto; }
nav ul.obsydn-menu { list-style-type: none; text-align: center; padding: 0; }
nav ul.obsydn-menu li { margin: 1.5rem 0; }
nav a { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s ease; display: inline-block; }
nav a:hover { color: #555; }

/* =========================================
   SECTIONS GLOBALES & BOUTONS
   ========================================= */
main { width: 100%; }
section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; } /* <-- padding réduit de 8rem à 4rem */
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 3rem; text-align: left; color: #fff; line-height: 1.1; }

.btn-premium { 
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 3rem; padding: 1rem 2.5rem; 
    border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0 !important; 
    background: transparent; color: #fff; 
    text-decoration: none; text-transform: uppercase; letter-spacing: 3px; 
    font-size: 0.9rem; font-weight: 600; 
    transition: all 0.4s ease; cursor: pointer; 
}
.btn-premium:hover { 
    background: #fff; color: #000; border-color: #fff; 
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
}

/* =========================================
   HERO SECTION
   ========================================= */
#hero { height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000;  background-size: cover; background-position: center 80%; background-attachment: fixed; position: relative; padding: 0; margin-top: 0; max-width: 100%; }
#hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding-top: 50px; }
.hero-content h1 { font-size: clamp(4rem, 15vw, 10rem); font-weight: 900; margin-bottom: 0; letter-spacing: 2px; text-transform: uppercase; color: #fff; line-height: 1; }
.hero-content p { font-size: clamp(0.9rem, 2vw, 1.2rem); color: #ccc; letter-spacing: 4px; text-transform: uppercase; margin-top: 1rem; }

.hero-bottom-bar { position: absolute; bottom: 60px; left: 0; width: 100%; padding: 0 60px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 3; }
.hero-links-group { display: flex; gap: 2rem; }
.hero-links-group a { color: #fff; text-decoration: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; opacity: 0.6; transition: opacity 0.3s ease; }
.hero-links-group a:hover { opacity: 1; }

.scroll-indicator { position: absolute; bottom: 140px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 10; opacity: 0; }
.scroll-line { width: 1px; height: 70px; background: rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; }
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: #ffffff; box-shadow: 0 0 15px 2px #ffffff; 
    animation: scrollAnim 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes scrollAnim { 0% { top: -100%; } 50% { top: 0%; } 100% { top: 100%; } }

/* =========================================
   ABOUT & MAILING LIST
   ========================================= */
/* On s'assure que la section est juste un conteneur global */
#about { 
    display: block !important; 
    padding: 8rem 2rem !important; /* Ton padding d'origine conservé  */
    max-width: none !important; 
    margin: 0 !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* On cible la DIV interne pour forcer la grille et le centrage */
#about > div { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; /* Texte à gauche, Image à droite  */
    gap: 4rem !important; 
    align-items: center !important; 
    max-width: 1100px !important; /* On réduit pour que ce soit bien "boxé" au centre */
    margin: 0 auto !important; /* Centre tout le bloc sur l'écran */
    width: 100% !important;
}

/* Gestion du contenu */
.about-content { 
    order: 1 !important; 
    text-align: left !important; 
}

.about-image { 
    order: 2 !important; 
    width: 100% !important; 
    max-width: 450px !important; 
    margin: 0 auto !important; /* Centre l'image dans sa colonne */
}

/* Correction responsive pour mobile */
@media (max-width: 768px) {
    #about > div {
        grid-template-columns: 1fr !important; /* On empile sur mobile */
        text-align: center !important;
    }
    .about-content { order: 2 !important; }
    .about-image { order: 1 !important; margin-bottom: 2rem !important; }
}
#mailinglist { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.mailing-form { order: 2; }
.mailing-form h3 { font-size: 0.8rem; text-transform: uppercase; color: #666; margin-bottom: 1rem; letter-spacing: 2px; }
.mailing-form h2 { margin-bottom: 3rem; }
.mailing-form input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 1rem 0; color: #fff; font-size: 1rem; margin-bottom: 2rem; outline: none; transition: border-color 0.3s ease; }
.mailing-form input:focus { border-bottom-color: #fff; }
.mailing-image { order: 1; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; max-width: 90%; margin-left: auto; }
.mailing-image img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: #000; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 5rem 2rem 2rem; margin-top: 5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto 4rem; flex-wrap: wrap; gap: 3rem; }
.footer-links-group { display: flex; gap: 2rem; align-items: center; }
.footer-links-group span { color: #555; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; margin-right: 1rem; }
.footer-links-group a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s ease; }
.footer-links-group a:hover { color: #666; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; font-size: 0.8rem; color: #555; letter-spacing: 1px; text-transform: uppercase; }
footer .footer-bottom a { color: #ffffff; text-decoration: none; text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2); transition: all 0.3s ease; }
footer .footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); text-shadow: 0px 0px 15px rgba(255, 255, 255, 1); }

/* =========================================
   PAGES SIMPLES (ABOUT) & RELEASES
   ========================================= */
.premium-page-content { max-width: 900px; margin: 8rem auto; padding: 0 2rem; font-family: inherit; scroll-margin-top: 120px; color: #ffffff; }
.premium-page-content p, .premium-page-content h1, .premium-page-content h2, .premium-page-content h3, .premium-page-content span { font-family: inherit; }
.premium-page-content > * { margin-bottom: 1.5rem; }
.section-break { margin-top: 10rem !important; display: block; content: ""; }
.wp-block-spacer { margin-bottom: 0 !important; }
.premium-page-content::after { content: ""; display: table; clear: both; }

.premium-page-content figure.wp-block-image { margin: 4rem 0; width: 100%; }
.premium-page-content figure.wp-block-image img { width: 100%; height: auto; border-radius: 0; filter: grayscale(100%); transition: filter 0.5s ease; }
.premium-page-content figure.wp-block-image img:hover { filter: grayscale(0%); }
.premium-page-content figcaption { text-align: center; color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; margin-top: 1rem; letter-spacing: 1px; text-transform: uppercase; }

.premium-page-content img.alignright { float: right; margin: 0.5rem 0 2rem 4rem; max-width: 45%; border-radius: 0; }
.premium-page-content img.alignleft { float: left; margin: 0.5rem 4rem 2rem 0; max-width: 45%; border-radius: 0; }
.premium-page-content img.aligncenter { display: block; margin: 4rem auto; max-width: 100%; border-radius: 0; }

.page-title-releases { text-align: center; font-size: 3rem; text-transform: uppercase; letter-spacing: 5px; margin: 8rem 0 3rem 0; text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3); }

/* =========================================
   PAGE VIP / EPK - MASTER & ANIMATIONS
   ========================================= */
.epk-container { max-width: 1000px; margin: 6rem auto; padding: 0 2rem; }
.epk-section { margin-bottom: 5rem; padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; }

/* 1. Animation des Titres H2 au scroll */
.epk-section h2 { 
    font-size: 1.2rem; letter-spacing: 5px; margin-bottom: 0.5rem; text-transform: uppercase; 
    transition: color 1s ease, text-shadow 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    color: rgba(255, 255, 255, 0.3); 
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 0); 
    transform: translateX(-15px); 
}
.epk-section h2.glow-active { 
    color: #ffffff; 
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8), 0px 0px 30px rgba(255, 255, 255, 0.3); 
    transform: translateX(0); 
}
.epk-subtitle { color: #ff3333; font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 2rem; text-transform: uppercase; }

/* 2. Grilles Audio */
.releases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3rem; margin: 4rem auto; max-width: 1100px; padding: 0 2rem; }
.release-item { transition: transform 0.4s ease, box-shadow 0.4s ease; border-radius: 0; overflow: hidden; background: #000; }
.release-item iframe { width: 100%; border: none; border-radius: 0; filter: grayscale(100%) contrast(1.1); transition: filter 0.5s ease; }
.release-item:hover { transform: translateY(-8px); box-shadow: 0px 15px 30px rgba(255, 255, 255, 0.15); }
.release-item:hover iframe { filter: grayscale(0%) contrast(1); }

.focus-track-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; margin-top: 2rem; }
.yt-iframe { width: 100%; aspect-ratio: 16 / 9; height: 100%; min-height: 352px; }

.argy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.argy-item { aspect-ratio: 1 / 1; background: #080808; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.05); }
.argy-item iframe { width: 100%; height: 100% !important; border: none; filter: grayscale(100%) contrast(1.1); transition: filter 0.5s ease; display: block; }
.argy-item:hover { transform: translateY(-8px); box-shadow: 0px 15px 30px rgba(255, 255, 255, 0.15); }
.argy-item:hover iframe { filter: grayscale(0%) contrast(1); }

/* 3. Prochaine Sortie */
.countdown-container { display: flex; flex-wrap: wrap; gap: 3rem; background: #080808; padding: 2rem; border: 1px solid rgba(255, 255, 255, 0.05); align-items: center; margin-top: 2rem; }
.countdown-artwork { flex: 1; min-width: 250px; }
.countdown-artwork img { width: 100%; height: auto; box-shadow: 0px 15px 30px rgba(0,0,0,0.5); }
.countdown-info { flex: 2; min-width: 300px; }

/* 4. Audience Insights (Statistiques Animées) */
.kpi-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.kpi-widget { 
    background: #060606; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 2rem; 
    transition: all 1s ease; 
}
.kpi-widget:hover { transform: translateY(-5px); }

/* L'illumination de la section active */
.epk-section.active .kpi-widget {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.03);
}

.kpi-widget h4 { font-size: 0.9rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.5); margin-bottom: 2rem; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 0.8rem; }
.bar-row { display: flex; align-items: center; margin-bottom: 1.2rem; gap: 1rem; }
.bar-label { width: 45px; font-size: 0.8rem; color: #fff; letter-spacing: 1px;}
.bar-track { flex: 1; height: 3px; background: #222; border-radius: 2px; position: relative;}
.bar-fill { 
    width: 0; /* Commence à 0 pour l'animation JS */
    height: 100%; background: #fff; border-radius: 2px; box-shadow: 0 0 10px rgba(255,255,255,0.4); 
    transition: width 2s cubic-bezier(0.1, 0.5, 0.2, 1); 
}
.bar-value { width: 35px; font-size: 0.8rem; text-align: right; color: rgba(255,255,255,0.7); }

.gender-split { display: flex; height: 35px; border-radius: 2px; overflow: hidden; margin-top: 1.5rem; }
.gender-bar { display: flex; align-items: center; justify-content: center; font-size: 0.8rem; letter-spacing: 2px; font-weight: 600; }
.gender-bar.male { background: #ffffff; color: #000; transition: all 1.5s ease; }
.gender-bar.female { background: #222; color: #fff; transition: all 1.5s ease; }

.kpi-list { list-style: none; padding: 0; margin: 0; }
.kpi-list li { display: flex; justify-content: space-between; margin-bottom: 1.2rem; font-size: 0.9rem; letter-spacing: 1px; color: #fff; }
.kpi-list li span:last-child { color: rgba(255,255,255,0.5); font-weight: 300;}

/* 5. Formulaire VIP */
.obsydn-pwd-form { max-width: 500px; margin: 4rem auto; text-align: center; }
.pwd-msg { font-size: 1.2rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; letter-spacing: 2px; line-height: 1.5; }
.pwd-fields { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.pwd-fields input[type="password"] { width: 100%; padding: 1rem; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; text-align: center; font-family: inherit; font-size: 1.2rem; letter-spacing: 4px; transition: border 0.3s ease, box-shadow 0.3s ease; }
.pwd-fields input[type="password"]:focus { outline: none; border-color: #ffffff; box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2); }
.pwd-fields button { cursor: pointer; background: transparent; }

/* =========================================
   MEDIA QUERIES (RESPONSIVE GLOBALES)
   ========================================= */
@media (max-width: 1024px) {
    .footer-top { flex-direction: column; text-align: center; }
    .footer-links-group { flex-direction: column; gap: 1rem; }
    .footer-links-group span { margin-right: 0; margin-bottom: 1rem; }
    .footer-logo { order: -1; margin-bottom: 2rem; }
}

@media (max-width: 900px) {
    .focus-track-grid { grid-template-columns: 1fr; }
    .yt-iframe { min-height: auto; }
}

@media (max-width: 768px) {
    section { padding: 5rem 1.5rem; }
    header { padding: 1.5rem; }
    .hero-bottom-bar { flex-direction: column; align-items: center; gap: 20px; bottom: 30px; padding: 0 20px; }
    .hero-links-group { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    #about, #mailinglist { grid-template-columns: 1fr; gap: 3rem; }
    .about-image, .mailing-image { order: 1; }
    .about-content, .mailing-form { order: 2; }
    .track-meta { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0.8rem 1rem; line-height: 1.4; }
    .epk-container { margin: 3rem auto; padding: 0 1rem; }
    .countdown-container { flex-direction: column; text-align: center; padding: 1.5rem; }
    .countdown-info { min-width: 100%; }
    .countdown-info h3 { font-size: 1.5rem; }
    .kpi-dashboard { grid-template-columns: 1fr; }
    .epk-text { font-size: 1.1rem !important; text-align: justify; }
}
/* --- OPTIMISATION FOCUS NEPTUNE --- */
.focus-track-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr; /* On donne plus d'importance au clip */
    gap: 3rem;
    margin-top: 3rem;
    align-items: end; /* Aligne le bas du lecteur Spotify sur le bas de la vidéo */
}

/* --- GRILLE ARGY AMÉLIORÉE --- */
.argy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 colonnes sur PC */
    gap: 2rem;
    margin-bottom: 4rem;
}

/* --- SECTION CONTACT ÉPURÉE --- */
.assets-buttons {
    display: flex;
    flex-direction: column; /* On empile pour plus de verticalité et d'élégance */
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-premium.large {
    width: 100%;
    max-width: 450px;
    justify-content: space-between; /* Texte à gauche, flèche ou vide à droite */
    padding: 1.5rem 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .focus-track-grid { grid-template-columns: 1fr; gap: 2rem; }
    .argy-grid { grid-template-columns: 1fr; }
}
/* =========================================
   TITRES GLOBAUX UNIFIÉS (STYLE VIP PARTOUT)
   ========================================= */
section h2, .epk-section h2 { 
    font-size: 1.2rem !important; /* Taille réduite et premium comme Upcoming Release */
    letter-spacing: 5px !important; /* Espacement large et élégant */
    font-weight: 700 !important; /* Bien en gras */
    text-transform: uppercase; 
    margin-bottom: 2rem; 
    text-align: left; 
    
    /* Préparation pour l'animation Glow */
    transition: color 1s ease, text-shadow 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: rgba(255, 255, 255, 0.3); /* Légèrement éteint par défaut */
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
    transform: translateX(-15px); /* Décalé pour l'animation */
}

/* Effet allumé au défilement */
section h2.glow-active, .epk-section h2.glow-active {
    color: #ffffff;
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8), 0px 0px 30px rgba(255, 255, 255, 0.3);
    transform: translateX(0);
}
/* =========================================
   VIDEO HOMEPAGE (FULL WIDTH ARGY STYLE)
   ========================================= */
.single-video-wrapper {
    max-width: 100%; /* Prend toute la largeur disponible de la section */
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 parfait */
    height: 0;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.05);
}

.single-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
}

/* Responsive */
@media (max-width: 900px) {
    .video-gallery-container { grid-template-columns: 1fr; }
    .video-playlist { max-height: 350px; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; }
    .video-item-btn { flex-direction: column; width: 150px; flex-shrink: 0; }
    .video-thumb { width: 100%; }
    .video-item-btn.active { border-left: none; border