/*
Theme Name: Volteface Theme
Author: Nathan Herbert
Description: Thème sur mesure pour Volteface Agency
Version: 1.0
*/

/* --- VARIABLES GLOBALES --- */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --border-color: #e5e5e5;
    
    --font-navbar: 'Space Grotesk', sans-serif; 
    --font-display: 'Inter Tight', sans-serif; 
    --font-body: 'Inter Tight', sans-serif;
    
    --transition: all 0.4s ease;
    --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    animation: fadeIn 0.8s ease-out;
    padding-top: 0; 
    margin: 0;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 0 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent; 
    border-bottom: none; 
    height: 110px; 
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo { 
    display: flex; 
    align-items: center; 
    height: 100%;
    position: relative;
    z-index: 1001; 
}

/* C'est cette ligne qui empêchera ton logo d'être géant : */
.logo img { height: 110px; width: auto; display: block; object-fit: contain; }

nav ul { display: flex; gap: 40px; margin: 0; padding: 0; }

nav a {
    font-family: var(--font-navbar);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
    color: #fff; /* Par défaut blanc sur la home */
    position: relative;
}

/* Si le header est scrollé (fond blanc), on met les liens en noir */
header.scrolled nav a { color: var(--text-color); }

nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 3px; 
    background: #fff; transition: var(--transition);
}

header.scrolled nav a::after { background: var(--text-color); }

nav a:hover::after { width: 100%; }

.menu-toggle { 
    display: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: #fff;
    position: relative;
    z-index: 1001;
}
header.scrolled .menu-toggle { color: var(--text-color); }

/* --- HERO --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
    position: relative;
    color: #fff; 
    overflow: hidden;
    /* Note : L'image de fond devra être gérée en inline style dans front-page.php ou ici */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 4;
    mix-blend-mode: normal;
    margin-top: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 13vw;
    line-height: 0.85;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: textReveal 1.2s var(--easing) forwards 0.5s;
    position: relative;
    color: #fff;
    cursor: default;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 1.2s var(--easing) forwards 0.8s;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

@keyframes textReveal { to { opacity: 1; transform: translateY(0); } }

.scroll-indicator {
    position: absolute; bottom: 40px;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px;
    z-index: 4; 
    color: #fff;
    animation: bounce 2s infinite;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- WRAPPER & GRID --- */
.content-wrapper {
    display: flex;
    height: 85vh;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.grid-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
}

.card {
    position: relative;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: row; 
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: #fff; 
    transition: var(--transition);
    cursor: none; 
    display: block; /* Important pour les liens */
    text-decoration: none;
}

.card:last-child { border-right: none; }

.card-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    opacity: 1; 
    filter: grayscale(100%); 
    transition: filter 0.6s var(--easing), transform 0.8s var(--easing);
    z-index: 1;
}

.card::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(255,255,255,0);
    transition: background 0.4s;
    z-index: 2;
}

.card-content {
    position: relative; z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vertical-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
}

.card-num {
    font-family: var(--font-display); 
    font-size: 1.2rem; 
    color: #000; opacity: 0.5;
    font-weight: 800; 
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 5px;
}

.card-title {
    font-family: var(--font-display); 
    font-size: 3rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: #000;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 15px;
    line-height: 1;
    transition: color 0.3s;
}

.card-arrow {
    position: absolute; top: 30px; right: 30px;
    font-size: 2rem; z-index: 3; color: #000;
    transition: 0.4s ease;
    opacity: 0; transform: translate(-20px, 20px);
}

/* --- HOVER EFFECTS --- */
.card:hover .card-bg {
    filter: grayscale(0%); 
    transform: scale(1.1);
}

.card:hover::after {
    background: rgba(0,0,0,0.4); 
}

.card:hover .card-title,
.card:hover .card-num,
.card:hover .card-arrow {
    color: #fff;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- HOVER REVEAL --- */
.hover-reveal {
    position: fixed; 
    top: 0; left: 0; 
    width: 350px; 
    height: 450px;
    pointer-events: none; 
    opacity: 0; 
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s var(--easing), width 0.4s var(--easing), height 0.4s var(--easing);
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000; 
}

.hover-reveal video {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.2); transition: transform 0.8s var(--easing);
}

/* --- VISION --- */
.vision-section {
    padding: 5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800; 
    text-transform: uppercase;
    flex: 1;
    margin-right: 2rem;
}

.vision-content {
    flex: 2;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    max-width: 800px;
}

.vision-content p { margin-bottom: 1rem; color: #333; }
.vision-highlight { font-weight: 700; color: #000; }

/* --- STATS MARQUEE --- */
.stats-marquee {
    background: #000; color: #fff; padding: 120px 0;
    overflow: hidden; white-space: nowrap;
    position: relative;
}
.marquee-inner {
    display: inline-block; animation: scrollLeft 50s linear infinite;
}
.stat-block {
    display: inline-block; padding: 0 6vw; text-align: center;
}
.stat-number {
    display: block; font-family: var(--font-display); font-size: 10vw; font-weight: 800; line-height: 1;
}
.stat-label {
    display: block; font-family: var(--font-body); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 15px; opacity: 0.7;
}

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- FOOTER --- */
footer {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    header { padding: 15px 20px; height: 80px; }
    .logo img { height: 60px; }
    
    .menu-toggle { display: block; }
    
    nav {
        position: fixed; 
        top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff; 
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        transform: translateX(100%); transition: 0.4s ease;
        z-index: 1000; border-top: none; padding-top: 0;
    }
    nav.active { transform: translateX(0); }
    nav ul { flex-direction: column; gap: 30px; text-align: center; }
    nav a { font-size: 1.5rem; color: #000; }
    
    .hero-title { font-size: 15vw; }
    .content-wrapper { flex-direction: column; height: auto; }
    .grid-section { grid-template-columns: 1fr; height: auto; width: 100%; }
    .card { height: 350px; border-right: none; border-bottom: 1px solid var(--border-color); cursor: default; }
    .vertical-title-container { flex-direction: row; gap: 15px; }
    .card-title, .card-num { writing-mode: horizontal-tb; text-orientation: mixed; letter-spacing: 2px; font-size: 2.5rem; }
    .card-num { font-size: 1.2rem; margin-bottom: 0; margin-right: 10px; }
    .vision-section { flex-direction: column; gap: 2rem; }
    .vision-content { text-align: left; }
    .stats-marquee { padding: 80px 0; }
    .stat-number { font-size: 15vw; }
    .stat-block { padding: 0 30px; }
    .hover-reveal { display: none; }
}


/* =========================================
   PAGE AGENCE
   ========================================= */

   .container-agence {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Marge ajoutée car le header est fixed */
    margin-top: 140px; 
}

/* --- HERO --- */
.agency-hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.agency-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.agency-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- MANIFESTO (VISION & HISTOIRE) --- */
.manifesto-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: stretch; 
}

.manifesto-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%;
}

.manifesto-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;  
    line-height: 1; 
    letter-spacing: -1px;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.manifesto-text p {
    font-size: 1.1rem;
    color: #333;
    text-align: justify; 
    margin: 0; 
    line-height: 1.5;
}

.manifesto-text.title-right-only h2 {
    text-align: right;
}

.manifesto-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(100%); 
    transition: var(--transition);
    display: block; 
    border: 3px solid #000;
    border-radius: 15px;
}

.manifesto-img:hover { filter: grayscale(0%); }

/* --- EXPERTISE --- */
.expertise-section {
    background: #f9f9f9;
    padding: 80px 0;
    margin-bottom: 100px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header { margin-bottom: 60px; text-align: center; }
.section-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #000;
}

.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
}

/* --- CONTACT & SOCIAL --- */
.contact-section {
    text-align: center;
    margin-bottom: 100px;
    padding: 40px 0;
    border-top: 1px solid #000;
}

.social-container { display: flex; justify-content: center; align-items: center; gap: 50px; }
.social-link img { height: 50px; width: auto; transition: transform 0.3s ease, filter 0.3s ease; filter: grayscale(100%); }
.social-link:hover img { transform: scale(1.2); filter: grayscale(0%); }

/* --- RESPONSIVE AGENCE --- */
@media (max-width: 900px) {
    .manifesto-section { grid-template-columns: 1fr; align-items: start; }
    .manifesto-text { gap: 30px; height: auto; }
    .manifesto-text.title-right-only h2 { text-align: left; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .social-container { gap: 30px; flex-wrap: wrap; }
    .manifesto-img { height: 300px; }
    
    .agency-hero { padding: 20px 0; margin-bottom: 40px; }
}

/* --- GESTION DES PAGES INTERNES --- */

/* 1. Ajouter de la marge au body pour ne pas que le header cache le titre */
body:not(.home) {
    padding-top: 140px; /* Valeur reprise de ton agence.html */
}

/* 2. Forcer le header en mode "Interne" à être blanc avec texte noir */
header.header-internal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

header.header-internal nav a {
    color: var(--text-color); /* Texte noir */
}

header.header-internal .menu-toggle {
    color: var(--text-color); /* Menu burger noir */
}

header.header-internal nav a::after {
    background: var(--text-color); /* Soulignement noir */
}

/* Responsive : ajustement du padding body sur mobile */
@media (max-width: 900px) {
    body:not(.home) {
        padding-top: 100px;
    }
}


/* =========================================
   PAGE ROSTER (ARTISTES)
   ========================================= */

/* Utilisation d'un padding-top spécifique si le header est fixed (géré dans le header global normalement) 
   Mais ici on utilise une classe conteneur spécifique */
   .container-roster {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 60vh;
    /* On ajoute la marge top ici pour compenser le header fixe */
    margin-top: 140px;
}

/* Titre */
.page-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: -1px;
    color: var(--text-color);
}

/* Grille */
.roster-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 50px; 
    margin-bottom: 100px;
}

/* Carte Artiste */
.artist-card {
    position: relative;
    display: block;
    width: calc((100% - 100px) / 3); /* 3 colonnes avec gap de 50px */
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    
    border: 3px solid #000;
    border-radius: 15px;
    
    text-decoration: none;
    background-color: #f4f4f4;
}

.artist-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* Animation N&B -> Couleur */
    filter: grayscale(100%); 
    transition: transform 0.5s ease, filter 0.5s ease;
}

.artist-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%); 
}

/* Nom de l'artiste */
.artist-name {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); 
    letter-spacing: -0.5px;
    /* Permet de couper les mots si trop longs, ou de gérer le retour à la ligne */
    word-break: break-word; 
}

/* Dégradé sombre en bas pour lisibilité texte */
.artist-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

/* Responsive Roster */
@media (max-width: 900px) {
    .container-roster { margin-top: 100px; }
    .artist-card { width: calc((100% - 50px) / 2); } /* 2 colonnes */
    .page-title { font-size: 2rem; }
}

@media (max-width: 600px) {
    .artist-card { width: 100%; } /* 1 colonne */
}

/* =========================================
   SINGLE ARTISTE
   ========================================= */

   .container-single-artiste {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 140px; /* Compensation Header Fixe */
}

/* --- SECTION BIO --- */
.bio-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
    margin-bottom: 100px;
    align-items: stretch; 
}

.bio-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bio-text h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    margin-top: 0; 
    line-height: 0.95; 
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Style du contenu WordPress (les paragraphes) */
.bio-content-wrapper p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
    text-align: justify;
    font-family: var(--font-body);
}

/* --- RESEAUX SOCIAUX --- */
.social-icons {
    margin: 20px 0; 
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons img {
    height: 30px; 
    width: auto;  
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}

.social-icons img:hover {
    transform: scale(1.2); 
}

/* --- BOUTONS --- */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    background-color: #000000;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border: 3px solid #000;
    border-radius: 8px; 
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* --- IMAGES --- */
.bio-image {
    width: 100%;
    height: 100%; 
    min-height: 400px; /* Hauteur mini si peu de texte */
    object-fit: cover; 
    object-position: center; 
    border: 3px solid #000;
    border-radius: 15px;
}

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 3px solid #000;
    border-radius: 15px;
}

/* --- MEDIA (SOUNDCLOUD) --- */
.media-grid {
    display: block; 
    margin-bottom: 100px;
}

.soundcloud-container {
    width: 100%;
    height: 500px; 
}

.soundcloud-container iframe {
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 15px;
    box-sizing: border-box;
    background: #000; /* Fond noir en attendant le chargement */
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .container-single-artiste { margin-top: 100px; }

    .bio-section, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Sur mobile, on met l'image au dessus ou en dessous ? */
    .bio-section {
        display: flex;
        flex-direction: column-reverse; /* Texte en bas, Image en haut */
        align-items: flex-start; 
    }
    
    .bio-image {
        height: auto;
        aspect-ratio: 1/1;
        width: 100%;
    }

    .bio-text h1 { font-size: 2.5rem; }
    
    .buttons { flex-direction: column; width: 100%; }
    .btn { text-align: center; display: block; }
}


/* =========================================
   PAGE EVENTS
   ========================================= */

   .container-events {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 140px; /* Compensation Header */
    margin-bottom: 4rem;
}

/* Titre */
.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-align: center;
    line-height: 1.1;
}

/* Liste */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card-list {
    display: grid;
    grid-template-columns: 80px 1fr 300px; 
    grid-template-rows: auto 1fr;
    column-gap: 2rem;
    row-gap: 0.5rem;
    background: #ffffff; /* Assure le fond blanc */
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    align-items: center;
    transition: all 0.3s ease;
}

.event-card-list:hover {
    transform: translateX(5px);
}

/* Meta données (Lieu, Tag) */
.event-meta { 
    grid-column: 2 / 3; grid-row: 1 / 2;
    display: flex; gap: 1.5rem; color: #666; font-size: 0.9rem; align-items: center; flex-wrap: wrap;
}

/* Date Box */
.event-date {
    grid-column: 1 / 2; grid-row: 2 / 3;
    background: #f4f4f4;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1rem 0.5rem; border-radius: 4px; border: 1px solid var(--border-color);
    text-align: center; height: 100%;
}

.month { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: #666; letter-spacing: 1px; }
.day { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: 1; margin-top: 0.2rem; }

/* Info Principales */
.event-info-main { 
    grid-column: 2 / 3; grid-row: 2 / 3;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%;
}

.event-title { 
    font-family: var(--font-display); 
    font-size: 2rem; 
    font-weight: 800; 
    line-height: 1.1; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
    margin: 0; 
}

.tag { border: 1px solid var(--border-color); padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.75rem; text-transform: uppercase; }

/* Image */
.event-image-list {
    grid-column: 3 / 4; grid-row: 1 / 3;
    width: 100%; 
    height: auto; 
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: 4px; 
}

.event-image-list img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.6s ease; filter: grayscale(100%); 
}

.event-card-list:hover .event-image-list img { transform: scale(1.1); filter: grayscale(0%); }

/* Boutons */
.ticket-btn, .view-more-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border: 3px solid #000;
    border-radius: 8px; 
    font-family: var(--font-display); 
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
}

.ticket-btn { margin-top: auto; width: fit-content; }
.view-more-container { display: flex; justify-content: center; margin-top: 2rem; width: 100%; }

.ticket-btn:hover, .view-more-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Animation et Utilitaires */
.hidden-initial { display: none !important; }
.fade-in-item { animation: fadeInItem 0.5s ease-out forwards; }

@keyframes fadeInItem {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .container-events { margin-top: 100px; }
    
    .event-card-list { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; align-items: center; }
    
    .event-image-list { 
        order: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 1rem; 
    }
    
    .event-date { order: 2; flex-direction: row; gap: 0.5rem; width: fit-content; height: auto; padding: 0.5rem 1rem; margin-bottom: 0.5rem; }
    .event-meta { order: 3; justify-content: center; margin-bottom: 0.5rem; }
    .event-info-main { order: 4; align-items: center; text-align: center; width: 100%; }
    .event-title { font-size: 1.8rem; }
    
    .page-title { font-size: 2.5rem; line-height: 1; }
}

/* =========================================
   PAGE MEDIA (STYLE IDENTIQUE HTML)
   ========================================= */

   .container-media {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
    margin-top: 150px; /* Espace sous le header */
    position: relative;
    z-index: 2;
}

/* --- FOND INTERACTIF SPOTLIGHT --- */
#interactive-bg {
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; 
    background: #ffffff; /* Fond Blanc */
    overflow: hidden;
}

#spotlight {
    position: absolute;
    width: 800px; height: 800px;
    /* Le dégradé coloré exact de ta maquette */
    background: radial-gradient(circle, rgba(230, 104, 60, 0.15) 0%, rgba(210, 39, 67, 0.05) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s; 
    mix-blend-mode: multiply;
}

/* --- EN-TÊTE INSTAGRAM --- */
.page-header { 
    text-align: center; 
    margin-bottom: 4rem; 
    width: 100%; 
}

.insta-title {
    font-family: var(--font-display); 
    font-size: clamp(1.8rem, 6vw, 3.5rem); 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 1rem; 
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-color);
}

.insta-handle {
    font-size: 1rem;
    color: #666; font-weight: 600;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 25px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    font-family: var(--font-body);
    white-space: nowrap;
    text-decoration: none;
}

.insta-handle:hover {
    background: #000000; color: #fff; transform: translateY(-3px);
    border-color: #000;
}

/* --- TITRES SECTIONS --- */
.section-title {
    font-family: var(--font-display); 
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    text-transform: uppercase; 
    margin-bottom: 2rem; 
    padding-bottom: 0.2rem; 
    border-bottom: 2px solid #000; 
    display: inline-block;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

.reels-section, .feed-section { 
    margin-bottom: 5rem; 
    text-align: center; 
}

/* --- GRILLES --- */
.reels-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes pour les Reels */
    gap: 20px;
}

.feed-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes pour le Feed */
    gap: 20px; 
}

/* --- ITEMS (STYLES SAKU SAHARA) --- */
.reel-item, .post-item {
    position: relative; overflow: hidden;
    background: #000; cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    
    border-radius: 15px;      
    border: 3px solid #000;
    display: block; /* Important pour les liens */
}

.reel-item { aspect-ratio: 9 / 16; }
.post-item { aspect-ratio: 1080 / 1440; background: #f0f0f0; }

.reel-video, .post-img {
    width: 100%; height: 100%; object-fit: cover;
}
.reel-video { opacity: 0.8; transition: opacity 0.4s ease; }
.post-img { transition: transform 0.6s ease; }

.reel-item:hover .reel-video { opacity: 1; }
.reel-item:hover, .post-item:hover { transform: translateY(-5px); z-index: 5; }
.post-item:hover .post-img { transform: scale(1.1); }

/* Icone Play sur Reel */
.reel-icon {
    position: absolute; top: 10px; right: 10px;
    color: #fff; font-size: 1rem; z-index: 3;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Overlay Post (Voir) */
.post-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
    color: #fff; backdrop-filter: blur(2px);
}
.post-item:hover .post-overlay { opacity: 1; }

.overlay-content {
    font-family: var(--font-display); font-weight: 700; 
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center; gap: 8px;
}

/* Bouton Voir Plus */
.view-more-container {
    margin-top: 40px;
    display: flex; 
    justify-content: center;
}

.view-more-btn {
    background-color: transparent;
    color: #000;
    padding: 12px 30px;
    border: 2px solid #000;
    border-radius: 50px; 
    font-family: var(--font-display); 
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #000;
    color: #fff;
}

.hidden-initial { display: none !important; }
.fade-in-item { animation: fadeIn 0.5s ease forwards; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .container-media { margin-top: 100px; padding: 0 15px; }
    
    .feed-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes mobile */
        gap: 10px;
    }
    .reels-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes mobile */
        gap: 10px; 
    }
    
    .page-header { margin-bottom: 2.5rem; }
    .reels-section, .feed-section { margin-bottom: 3rem; }
}

/* =========================================
   PAGE MENTIONS LÉGALES
   ========================================= */

   .container-mentions {
    max-width: 900px; /* Moins large pour une meilleure lisibilité du texte */
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 140px; /* Compensation Header Fixe identique aux autres pages */
    margin-bottom: 80px;
}

.legal-content {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

/* Titres H2 - Style section-title mais aligné gauche */
.legal-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

/* Titres H3 - Sous-titres */
.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-section p, .legal-section ul {
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: disc inside;
    padding-left: 20px;
}

.legal-date {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.legal-separator {
    border: 0;
    height: 1px;
    background: #e5e5e5;
    margin: 60px 0;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .container-mentions {
        margin-top: 100px;
    }
    .legal-section h2 {
        font-size: 1.5rem;
    }
}

/* --- FOOTER LINKS --- */
.footer-separator {
    margin: 0 10px;
    color: #ccc;
}
.legal-link {
    color: #666;
    transition: color 0.3s;
    font-weight: 600;
}
.legal-link:hover {
    color: #000;
    text-decoration: underline;
}