/* ====================================================
   STYLES WACKER — Global (index, sessions, archive)
   ==================================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #050505; /* Noir texturé */
    color: #e8e8e8;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* ---------- POLICE VENEER ---------- */
@font-face {
    font-family: 'Veneer';
    src: url('veneer.woff2') format('woff2'),
         url('veneer.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
.veneer {
    font-family: 'Veneer', 'Impact', 'Big Shoulders Stencil Text', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* ---------- LIENS DE RETOUR (communs) ---------- */
.back-link {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 4px;
    transition: color 0.2s;
}
.back-link:hover { color: #aaa; }

/* ---------- FOOTER META (commun) ---------- */
.footer-arch {
    margin-top: 60px;
    border-top: 1px solid #0a0a0a;
    padding-top: 30px;
    font-size: 0.6rem;
    color: #333;
    text-align: right;
    letter-spacing: 0.15em;
}
.footer-arch a {
    color: #444;
    text-decoration: none;
    margin-left: 15px;
}
.footer-arch a:hover { color: #666; }

/* ====================================================
   PAGE INDEX (landing)
   ==================================================== */
.landing {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px 60px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HERO */
.hero {
    padding: 3vh 0 20px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 30px;
}
.hero h1 {
    font-size: clamp(4rem, 20vw, 10rem);
    color: #ffffff;
    line-height: 0.9;
    margin-bottom: 0.05em;
    letter-spacing: 0.05em;
}
.hero .sub {
    font-size: clamp(1rem, 4vw, 2.2rem);
    color: #888; /* plus clair */
    padding-left: 20px;
    border-left: 3px solid #333;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    font-weight: 400;
}

/* TML SECTION */
.tml-section {
    margin: 20px 0 40px 0;
    padding-top: 20px;
    border-top: 1px solid #151515;
}
.tml-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #111;
}
.tml-brand {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #aaa;
    letter-spacing: 0.2em;
}
.tml-tagline {
    font-size: 0.65rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999; /* MODIF : plus lisible */
}

.video-block {
    aspect-ratio: 1 / 1;
    max-width: 800px;
    margin: 0 auto 15px auto;
    background: #0a0a0a;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}
.video-block video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}
.live-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ff3b3b;
    background: rgba(0,0,0,0.8);
    padding: 4px 14px;
    border-left: 3px solid #ff3b3b;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.tml-footer {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0 5px 0;
    border-bottom: 1px solid #111;
}
.tml-footer a {
    font-size: 0.75rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    color: #aaa; /* MODIF : plus clair */
    text-decoration: none;
    border-bottom: 1px dotted #222;
    transition: color 0.2s;
}
.tml-footer a:hover { color: #fff; }

/* BIO */
.bio {
    max-width: 780px;
    margin: 40px 0 30px 0;
    padding-top: 30px;
    border-top: 1px solid #151515;
}
.bio p {
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    line-height: 1.7;
    color: #ccc; /* MODIF : plus clair */
    margin-bottom: 0.8em;
    font-weight: 300;
}
.bio .brutal {
    font-weight: 400;
    color: #ffffff;
    border-left: 3px solid #555;
    padding-left: 20px;
}
.bio .small-note {
    font-size: 0.7rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #777; /* MODIF : plus clair */
    border-top: 1px solid #151515;
    padding-top: 20px;
    margin-top: 25px;
}

/* SONG TITLE */
.song-title {
    font-family: 'Veneer', 'Impact', sans-serif;
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ddd; /* MODIF : presque blanc */
    margin: 5px 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #151515;
    text-transform: uppercase;
}

/* FOOTER LINKS (index) */
.footer-links {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #151515;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}
.footer-links .dates {
    font-size: 0.75rem;
    font-weight: 200;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777; /* MODIF */
}
.footer-links .dates span { color: #999; } /* MODIF */
.footer-links .email {
    font-size: 0.85rem;
    color: #aaa; /* MODIF */
    text-decoration: none;
    border-bottom: 1px dotted #2a2a2a;
    transition: color 0.2s;
}
.footer-links .email:hover { color: #fff; border-bottom-color: #555; }
.footer-meta {
    margin-top: 40px;
    font-size: 0.6rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #777; /* MODIF */
    text-align: right;
    border-top: 1px solid #0a0a0a;
    padding-top: 20px;
}
.footer-meta a {
    color: #aaa; /* MAINTENANT AUSSI CLAIR QUE LES AUTRES LIENS */
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
}
.footer-meta a:hover { 
    color: #fff; /* devient blanc au survol, comme partout ailleurs */
}

/* ====================================================
   PAGE SESSIONS (sessions.html)
   ==================================================== */
.sessions-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
}
.page-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #fff;
    margin: 30px 0 10px 0;
    line-height: 1;
}
.sub-text {
    font-weight: 200;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    border-left: 2px solid #333;
    padding-left: 15px;
    margin-bottom: 40px;
}

.youtube-cta {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 30px;
    text-align: center;
    margin-bottom: 50px;
}
.youtube-cta p {
    font-size: 1rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 200;
}
.youtube-cta a {
    font-family: 'Veneer', 'Impact', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    border: 1px solid #333;
    padding: 15px 40px;
    display: inline-block;
    transition: all 0.3s;
}
.youtube-cta a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 20px;
}
.ep-item {
    aspect-ratio: 1 / 1;
    background: #0d0d0d;
    border: 1px solid #151515;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transition: border 0.2s;
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.ep-item:hover { border-color: #444; }
.ep-item .num { font-size: 1.2rem; font-weight: 400; color: #888; }
.ep-item .date { font-size: 0.6rem; color: #444; margin-top: 4px; }

/* ====================================================
   PAGE ARCHIVE (photos de Nicolas Joos)
   ==================================================== */
.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
}
.header-archive {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 25px 0 30px 0;
    border-bottom: 1px solid #151515;
    padding-bottom: 15px;
}
.header-archive h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: #fff;
    line-height: 1;
}
.header-archive .credit {
    font-size: 0.75rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    color: #666;
}
.header-archive .credit span { color: #888; }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 6px;
    margin-top: 10px;
}
.photo-grid .item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #151515;
    transition: border 0.2s;
}
.photo-grid .item:hover { border-color: #444; }
.photo-grid .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2) contrast(1.05);
    transition: filter 0.3s;
}
.photo-grid .item:hover img {
    filter: grayscale(0) contrast(1.1);
}

/* ====================================================
   RESPONSIVE (mobile)
   ==================================================== */
@media (max-width: 640px) {
    .landing { padding: 15px 12px 40px 12px; }
    .sessions-container { padding: 20px 12px 60px 12px; }
    .archive-container { padding: 20px 12px 60px 12px; }
    
    .hero .sub { padding-left: 12px; border-left-width: 2px; }
    .bio .brutal { padding-left: 12px; border-left-width: 2px; }
    .tml-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
    .live-indicator { bottom: 10px; left: 10px; font-size: 0.5rem; padding: 2px 10px; }
    
    .ep-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .youtube-cta a { font-size: 1.2rem; padding: 12px 20px; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
    .header-archive { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (min-width: 1200px) {
    .photo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1600px) {
    .landing { max-width: 1300px; }
}