/* =========================================
   VARIABLES & RESET (FESTIVAL PREMIUM)
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&family=Syne:wght@600;700;800&display=swap');

:root {
    --js-blue: #3d4999;
    --js-blue-light: #5260c0;
    --js-black: #0a0a0a; 
    --js-dark-gray: #121212; 
    --js-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --tile-width: 450px;
    --tile-height: 440px; 
    --tile-gap: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; } 
body { background: var(--js-black); color: #c0c0c0; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .section-title, .countdown-title, .year-header { 
    font-family: 'Outfit', sans-serif !important; 
    text-transform: uppercase; font-weight: 800; letter-spacing: 0.5px;
}

.btn-primary, .btn-tile, .category-btn, .footer-col h4, .countdown-item span {
    font-family: 'Outfit', sans-serif !important;
}

.main-content { background-color: var(--js-black); }
.section-light { background: var(--js-dark-gray); padding: 90px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section-dark { background: var(--js-black); padding: 90px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 30px; text-align: left; color: var(--js-white); letter-spacing: -0.5px; }
.text-center { text-align: center; color: var(--js-white); }

/* =========================================
   HEADER & NAVIGATION
========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; max-width: 100%;
    background: var(--js-black); padding: 25px 40px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
header.scrolled { padding: 15px 40px; border-bottom: 1px solid var(--js-blue); background: rgba(10, 10, 10, 0.95); }
.logo img { height: 45px; transition: var(--transition); display: block; }
header.scrolled .logo img { height: 35px; }

nav ul { list-style: none; display: flex; gap: 35px; }
nav ul li a { 
    font-size: 0.95rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6); position: relative; text-decoration: none; padding: 5px 0; transition: color 0.3s ease;
}
nav ul li a:hover, nav ul li a.active { color: var(--js-white); }
nav ul li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--js-blue); transition: var(--transition); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
.menu-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; transition: 0.3s; }

/* =========================================
   BOUTONS
========================================= */
.btn-primary { 
    background: transparent; color: var(--js-white); padding: 15px 40px; border: 2px solid var(--js-blue); 
    text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
    position: relative; z-index: 1; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; transition: color 0.3s ease;
}
.btn-primary::before { 
    content: ''; position: absolute; top: 50%; left: 50%; width: 0%; height: 100%; 
    background: var(--js-blue); z-index: -1; transition: all 0.3s ease; transform: translate(-50%, -50%); 
}
.btn-primary:hover::before { width: 100%; }
.btn-primary:hover { color: var(--js-white); }
.btn-primary:has(.fa-arrow-right)::before { left: 0; transform: translateY(-50%); }
.btn-primary:has(.fa-arrow-right):hover::before { width: 100%; }

.btn-back, .btn-back-mentions { 
    position: fixed !important; top: 120px; left: 40px; z-index: 990; 
    background: transparent; color: var(--js-white); border: 2px solid var(--js-white); 
    padding: 10px 20px; text-decoration: none; font-weight: 700; text-transform: uppercase; 
    display: inline-flex !important; align-items: center; gap: 8px; transition: border-color 0.3s ease, color 0.3s ease; 
    overflow: hidden; margin-bottom: 0 !important;
}
.btn-back::after, .btn-back-mentions::after { content: ''; position: absolute; inset: 0; background: var(--js-black); z-index: -2; }
.btn-back::before, .btn-back-mentions::before { 
    content: ''; position: absolute; top: 0; right: 0; width: 0%; height: 100%; 
    background: var(--js-blue); z-index: -1; transition: width 0.3s ease; 
}
.btn-back:hover::before, .btn-back-mentions:hover::before { width: 100%; }
.btn-back:hover, .btn-back-mentions:hover { color: var(--js-white); border-color: var(--js-blue); }

.back-to-top { 
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: transparent; 
    color: white; border: 1px solid var(--js-blue); border-radius: 0; cursor: pointer; display: flex; 
    align-items: center; justify-content: center; z-index: 999; opacity: 0; transform: translateY(20px); 
    transition: opacity 0.3s ease, transform 0.3s ease; overflow: hidden;
}
.back-to-top::after { content: ''; position: absolute; inset: 0; background: var(--js-black); z-index: -2; }
.back-to-top::before { 
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; 
    background: var(--js-blue); z-index: -1; transition: height 0.3s ease; 
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover::before { height: 100%; }

.filter-btn { 
    background: transparent; color: var(--js-white); border: 1px solid rgba(255,255,255,0.2); 
    padding: 10px 22px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; cursor: pointer; 
    transition: border-color 0.3s ease, color 0.3s ease; display: flex; align-items: center; gap: 8px;
    position: relative; z-index: 1; overflow: hidden;
}
.filter-btn::before { 
    content: ''; position: absolute; top: 50%; left: 50%; width: 0%; height: 100%; 
    background: var(--js-blue); z-index: -1; transition: all 0.3s ease; transform: translate(-50%, -50%); 
}
.filter-btn:hover::before, .filter-btn.active::before { width: 100%; }
.filter-btn:hover, .filter-btn.active { color: var(--js-white); border-color: var(--js-white); }
.filter-btn.active { border-color: var(--js-blue); }

.btn-tile { 
    flex: 1; text-align: center; padding: 15px; display: flex; align-items: center; justify-content: center; 
    text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
    border: 1px solid rgba(255,255,255,0.1); background: transparent; color: var(--js-white); 
    transition: border-color 0.3s ease, color 0.3s ease; position: relative; z-index: 1; overflow: hidden; 
}
.btn-tile::before { 
    content: ''; position: absolute; top: 50%; left: 50%; width: 0%; height: 100%; 
    background: var(--js-blue); z-index: -1; transition: all 0.3s ease; transform: translate(-50%, -50%); 
}
.btn-tile.active::before { width: 100%; }
.btn-tile.active:hover::before { background: var(--js-blue-light); }
.btn-tile:not(.disabled):hover::before { width: 100%; }
.btn-tile.active { border-color: var(--js-blue); }
.btn-tile.active:hover { border-color: var(--js-blue-light); }
.btn-tile.disabled { border-color: rgba(255,255,255,0.05); color: rgba(255,255,255,0.3); cursor: not-allowed; }

/* FIX DU BOUTON INFO POUR QU'IL RESTE CARRÉ */
.btn-info { 
    width: 55px; height: 55px; flex-shrink: 0; /* Empêche l'écrasement sur mobile */
    background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--js-white); 
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; text-decoration: none; 
    transition: border-color 0.3s ease; position: relative; z-index: 1; overflow: hidden; 
}
.btn-info::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: -2; }
.btn-info::before { 
    content: ''; position: absolute; top: 50%; left: 50%; width: 0%; height: 100%; 
    background: var(--js-blue); z-index: -1; transition: all 0.3s ease; transform: translate(-50%, -50%); 
}
.btn-info:hover { border-color: var(--js-blue); }
.btn-info:hover::before { width: 100%; }

/* =========================================
   HERO INDEX
========================================= */
.hero { height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('Backgrounds/bg_index.jpg') center/cover no-repeat; background-attachment: fixed; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }

/* Conteneur principal centré */
.hero-content { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; z-index: 2; }
.hero-logo { width: 100%; max-width: 280px; transition: var(--transition); }

/* Titre et conteneur des cases */
.countdown-title { font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 20px; color: var(--js-white); }
.countdown-container { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* Cases plus petites et design pro */
.countdown-item { 
    background: var(--js-dark-gray); 
    padding: 15px 20px; 
    min-width: 90px; 
    border: 1px solid rgba(255,255,255,0.05); 
    border-bottom: 3px solid var(--js-blue); 
    border-radius: 4px; 
}
.countdown-item span { font-size: 2.5rem; display: block; line-height: 1; margin-bottom: 5px; color: var(--js-white); font-weight: 800; }
.countdown-item p { font-size: 0.75rem; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin: 0; }

/* =========================================
   PRESENTATION
========================================= */
.presentation-flex { display: flex; align-items: center; gap: 60px; }
.pres-text { flex: 1; }
.pres-paragraph { margin-bottom: 30px; font-size: 1.1rem; color: #a0a0a0; font-weight: 300; }
.pres-paragraph strong { color: var(--js-white); font-weight: 500; }
.pres-image { flex: 1; position: relative; width: 100%; display: block; } 

.img-rounded { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    display: block; 
    border: 2px solid var(--js-blue); 
}

.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-section.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   CARROUSEL ÉVÉNEMENTS
========================================= */
.overflow-hidden { overflow: hidden; }
.tiles-wrapper { width: 100%; display: flex; padding: 60px 0; overflow-x: auto; scroll-behavior: auto; cursor: grab; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tiles-wrapper::-webkit-scrollbar { display: none; }
.tiles-wrapper.grabbing { cursor: grabbing; }
.tiles-track { display: flex; gap: var(--tile-gap); padding: 0 40px; align-items: center; }

.event-tile { width: var(--tile-width); height: var(--tile-height); flex-shrink: 0; position: relative; overflow: hidden; filter: brightness(0.4); transform: scale(0.95); border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.event-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; transition: transform 0.8s ease; }
.event-tile.is-focused { filter: brightness(1); transform: scale(1); border-color: var(--js-blue); }
.event-tile.is-focused img { transform: scale(1.05); }

.tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.3) 100%); padding: 35px; display: flex; flex-direction: column; justify-content: flex-end; color: white; z-index: 2; }
.tile-header { display: flex; gap: 15px; font-size: 0.85rem; color: var(--js-white); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.tile-overlay h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; line-height: 1.1; }
.tile-desc { font-size: 1.05rem; color: #a0a0a0; font-weight: 300; margin-bottom: 30px; }
.tile-actions { display: flex; gap: 15px; width: 100%; align-items: stretch; }

/* STYLE DES PAGES ÉVÉNEMENTS */
.event-hero { padding: 140px 0 60px 0; text-align: left; position: relative; border-bottom: 2px solid var(--js-blue); }
.event-hero-content h1 { font-size: 3.5rem; margin: 15px 0; text-transform: uppercase; }
.event-meta-large { display: flex; gap: 30px; font-size: 1.1rem; color: #a0a0a0; font-weight: 300; }
.event-meta-large i { color: var(--js-blue); margin-right: 8px; }
.event-grid-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 20px; align-items: start; }
.sidebar-box { background: var(--js-dark-gray); padding: 30px; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 25px; }
.sidebar-box h3 { font-size: 1.4rem; margin-bottom: 20px; text-transform: uppercase;}
.info-box ul { list-style: none; }
.info-box ul li { margin-bottom: 12px; color: #a0a0a0; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; font-weight: 300; }
.info-box ul li i { color: var(--js-blue); margin-top: 6px; }

/* =========================================
   GALERIE ET ALBUMS
========================================= */
.galerie-hero, .gallery-hero { padding: 180px 20px 60px 20px; position: relative; }
.gallery-section-subtitle { color: #a0a0a0; font-size: 1.05rem; max-width: 600px; margin: 0 auto 15px auto; font-weight: 300; }
.gallery-filters { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.year-block { margin-bottom: 55px; }
.year-header { font-size: 2rem; color: var(--js-white); margin-bottom: 25px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.albums-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 25px; }
.album-custom-card { position: relative; height: 230px; border-radius: 0; overflow: hidden; display: block; text-decoration: none; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.album-img-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease; filter: brightness(0.6); }
.album-card-content { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; }
.badge-evt { color: var(--js-black); font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 0; display: inline-block; margin-bottom: 12px; width: fit-content; text-transform: uppercase; }
.badge-gf, .badge-k, .badge-w { background: var(--js-white); }  
.album-custom-card h3 { color: white; font-size: 1.4rem; margin: 0; transition: color 0.3s ease; text-transform: uppercase;}
.album-custom-card:hover { border-color: var(--js-blue); }
.album-custom-card:hover .album-img-bg { transform: scale(1.05); filter: brightness(0.8); }
.album-custom-card:hover h3 { color: var(--js-blue-light); }
.photo-stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-bottom: 60px; }
.photo-item { overflow: hidden; border-radius: 0; background: var(--js-dark-gray); aspect-ratio: 3 / 2; border: 1px solid rgba(255,255,255,0.1); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ANIMATION "DOSSIERS MULTIPLES" (GALERIE) */
.album-folder { position: relative; height: 230px; border-radius: 0; overflow: hidden; display: block; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); cursor: pointer; }
.album-folder .album-img-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s; filter: brightness(0.6); }
.album-folder .album-card-front { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s; z-index: 2; }
.album-folder h3 { color: white; font-size: 1.4rem; margin: 0; transition: color 0.3s ease; text-transform: uppercase; }
.album-folder:hover .album-img-bg { transform: scale(1.05); filter: brightness(0.8); }
.album-folder:hover h3 { color: var(--js-blue-light); }
.album-folder-back { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.98); display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 35px 20px 20px 20px; gap: 8px; transform: translateY(100%); opacity: 0; pointer-events: none; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s; border-top: 3px solid var(--js-blue); overflow-y: auto; z-index: 3; }
.album-folder-back::-webkit-scrollbar { width: 4px; }
.album-folder-back::-webkit-scrollbar-thumb { background: var(--js-blue); }
.folder-instruction { color: var(--js-blue); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 5px; text-align: center; letter-spacing: 1px; }
.day-link { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--js-white); padding: 8px; text-align: center; text-decoration: none; font-size: 0.85rem; font-family: 'Outfit', sans-serif; font-weight: 700; text-transform: uppercase; transition: var(--transition); display: block; }
.day-link:hover { background: var(--js-blue); border-color: var(--js-blue); }
.close-folder { position: absolute; top: 10px; right: 15px; background: transparent; border: none; color: rgba(255,255,255,0.5); font-size: 1.2rem; cursor: pointer; transition: 0.3s; z-index: 4; }
.close-folder:hover { color: var(--js-white); }
.album-folder.is-open .album-card-front { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.album-folder.is-open .album-folder-back { transform: translateY(0); opacity: 1; pointer-events: auto; }
.album-folder.is-open .album-img-bg { filter: brightness(0.2) blur(2px); transform: scale(1.1); }

/* =========================================
   PAGE SPONSORING & ACCORDEON OFFRES
========================================= */
.hero-small { padding: 160px 20px 100px 20px; background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)), url('Backgrounds/bg_index.jpg') center/cover; text-align: center; border-bottom: 2px solid var(--js-blue); }
.hero-small h1 { font-size: 4rem; color: var(--js-white); margin-bottom: 10px; text-transform: uppercase; }
.hero-small p { font-size: 1.2rem; color: #a0a0a0; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: -50px; position: relative; z-index: 10; }
.stat-card { background: var(--js-dark-gray); padding: 35px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); border-top: 4px solid var(--js-blue); }
.stat-card i { font-size: 2rem; color: var(--js-blue); margin-bottom: 15px; }
.stat-card h3 { font-size: 2.8rem; color: var(--js-white); margin-bottom: 5px; line-height: 1; }
.stat-card p { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin: 0; }
.formula-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.pricing-card { background: var(--js-black); border: 1px solid rgba(255,255,255,0.1); padding: 40px 30px; position: relative; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--js-blue); background: rgba(61, 73, 153, 0.05); }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--js-blue); color: var(--js-white); padding: 6px 14px 6px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; text-align: center; white-space: nowrap; }
.pricing-card h3 { font-size: 1.4rem; color: var(--js-white); margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; text-transform: uppercase; }
.card-intro { color: var(--js-blue-light); font-size: 0.95rem; font-weight: 600; margin-bottom: 25px; min-height: 45px; }

/* SPONSOR LISTE & ACCORDEONS */
.options-list { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.options-list li {
    color: #a0a0a0; font-size: 0.9rem; font-weight: 300; display: block; 
    /* LE FIX EST ICI : On cible exactement ce qu'on anime pour éviter le "lag" à la fermeture */
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease; 
    border-left: 3px solid transparent; 
    padding: 8px 15px; margin-left: -18px; margin-right: -15px; 
    border-bottom: none !important; transform-origin: left center;
}
.sponsor-detail { width: 100%; }
.sponsor-detail summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; color: #a0a0a0; transition: color 0.3s ease; }
.sponsor-detail summary::-webkit-details-marker { display: none; }
.sponsor-detail summary:hover { color: var(--js-white); }
.sponsor-detail summary i { font-size: 0.8rem; transition: transform 0.3s ease; color: var(--js-blue); }
.sponsor-detail[open] summary i { transform: rotate(180deg); }

.sponsor-preview { margin-top: 15px; overflow: hidden; }
.sponsor-preview img { width: 100%; height: auto; display: block; cursor: zoom-in; }

/* --- ANIMATIONS FLUIDES ACCORDÉONS (OUVERTURE / FERMETURE) --- */
@keyframes slideDownAnim {
    0% { opacity: 0; transform: translateY(-15px); max-height: 0; }
    100% { opacity: 1; transform: translateY(0); max-height: 1000px; }
}
@keyframes slideUpAnim {
    0% { opacity: 1; transform: translateY(0); max-height: 1000px; }
    100% { opacity: 0; transform: translateY(-15px); max-height: 0; }
}



/* SPONSOR HIGHLIGHT AU CLIC DU PACK */
.pricing-card.has-active-pack .options-list li { transform: scale(0.95); opacity: 0.4; }
.pricing-card.has-active-pack .options-list li.highlighted-offer {
    transform: scale(1.03); opacity: 1; background-color: rgba(61, 73, 153, 0.2); 
    border-left: 3px solid var(--js-blue-light); border-radius: 6px;
}

/* SPONSOR PACKS (DOSSIER SECRET) */
.packs-section { background: var(--js-dark-gray); padding: 25px; border: 1px solid rgba(255,255,255,0.05); margin-top: auto; }
.bundle-label { display: block; color: var(--js-blue); font-weight: 800; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 15px; letter-spacing: 1px; }

.pack-item.pack-clickable {
    cursor: pointer; transition: all 0.3s ease; padding: 8px 12px; border-radius: 6px;
    margin: 0 -12px 10px -12px; background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.03); color: #888; font-size: 0.9rem; text-transform: uppercase; font-weight: 500;
}
.pack-item.pack-clickable:hover { background-color: rgba(255, 255, 255, 0.09); }
.pack-item.pack-clickable.active-pack { background-color: rgba(61, 73, 153, 0.4); border-color: rgba(61, 73, 153, 0.6); color: var(--js-white); }

/* SPONSOR TEXTE & PRIX DES PACKS */
.pack-content { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 8px; }
.pack-title-group { display: flex; flex-direction: column; line-height: 1.2; width: 100%; }
.pack-name { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.pack-details { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); white-space: normal; }
.pack-item.pack-clickable.active-pack .pack-details { color: rgba(255, 255, 255, 0.9); }

.price-badge { margin-left: auto; margin-right: 15px; background-color: rgba(255, 255, 255, 0.1); color: var(--js-white); padding: 3px 8px; border-radius: 4px; font-weight: 700; font-size: 1rem; border: 1px solid rgba(255, 255, 255, 0.2); }
.promo-price { align-self: flex-end; white-space: nowrap; }
.promo-price s { color: #888; font-size: 0.9rem; margin-right: 8px; text-decoration-thickness: 1.5px; }
.promo-price .final-price { color: var(--js-white); font-size: 1.15rem; font-weight: 800; }

.billing-info { padding: 90px 0; background: var(--js-dark-gray); border-top: 1px solid rgba(255,255,255,0.05); }
.contact-collab-box { background: var(--js-black); padding: 50px; border: 2px solid var(--js-blue); text-align: center; max-width: 700px; margin: 0 auto; }
.contact-collab-box h1 { font-size: 3rem; margin-bottom: 20px; color: var(--js-white); text-transform: uppercase; font-weight: 800; }
.contact-collab-box p { color: #a0a0a0; font-size: 1.1rem; font-weight: 300; margin-bottom: 15px; }
.contact-collab-box p strong { color: var(--js-white); font-weight: 500; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.contact-collab-box i { color: var(--js-blue); }

/* =========================================
   MODAL PLEIN ECRAN (SPONSORS)
========================================= */
.fullscreen-modal {
    display: none; position: fixed; z-index: 99999; top: 0; left: 0;
    width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px); align-items: center; justify-content: center;
    flex-direction: column; opacity: 0; transition: opacity 0.3s ease;
}
.fullscreen-modal.show { display: flex; opacity: 1; }
.fullscreen-text { color: var(--js-white); font-size: 1.2rem; text-align: center; margin-bottom: 30px; padding: 0 20px; font-weight: 600; }
.fullscreen-image { max-width: 90vw; max-height: 70vh; object-fit: contain; border: 2px solid var(--js-blue); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.fullscreen-close { position: absolute; top: 25px; right: 35px; color: white; font-size: 2.5rem; cursor: pointer; transition: color 0.3s ease; line-height: 1; }
.fullscreen-close:hover { color: var(--js-blue); }

/* =========================================
   FAQ
========================================= */
.faq-wrapper { max-width: 850px; margin: 0 auto; }
.faq-category-title { font-size: 1.4rem; color: var(--js-blue-light); margin: 45px 0 20px 0; display: flex; align-items: center; gap: 12px; letter-spacing: 1px; }
.faq-category-title i { color: var(--js-blue); font-size: 1.2rem; }
.faq-item { background: var(--js-dark-gray); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px; transition: var(--transition); width: 100%; }
.faq-item:hover { border-color: rgba(61, 73, 153, 0.4); }
.faq-item[open] { border-color: var(--js-blue); }
.faq-item summary { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; color: var(--js-white); font-weight: 600; font-size: 1.05rem; transition: var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-size: 0.85rem; color: var(--js-blue); transition: transform 0.3s ease; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 25px 22px 25px; color: #a0a0a0; font-size: 0.95rem; font-weight: 300; line-height: 1.7; overflow: hidden; }
.faq-answer strong { color: var(--js-white); font-weight: 600; }
.faq-contact-card { max-width: 850px; margin: 70px auto 20px auto; background: var(--js-dark-gray); border: 2px solid var(--js-blue); padding: 40px; text-align: center; }
.faq-contact-card h3 { font-size: 1.6rem; color: var(--js-white); margin-bottom: 10px; }
.faq-contact-card p { color: #a0a0a0; margin-bottom: 25px; font-weight: 300; }
.faq-contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* =========================================
   FOOTER, LEGAL & ERREURS
========================================= */
.modern-footer { background: var(--js-black); color: #888; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-logo { height: 50px; margin-bottom: 25px; display: block; }
.footer-bio { font-size: 1rem; margin-bottom: 25px; font-weight: 300; }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 45px; height: 45px; background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--js-white); display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; }
.social-links a:hover { background: var(--js-blue); border-color: var(--js-blue); }
.footer-col h4 { color: white; font-size: 1.2rem; text-transform: uppercase; font-weight: 700; margin-bottom: 25px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #888; text-decoration: none; transition: transform 0.3s ease, color 0.3s ease; font-weight: 300; display: inline-block; }
.footer-col ul li a:hover { color: var(--js-white); transform: translateX(8px); }
.contact-info p { margin-bottom: 12px; display: flex; align-items: center; gap: 15px; font-weight: 300; }
.contact-info i { color: var(--js-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.footer-legal a { color: #888; text-decoration: none; }
.footer-legal a:hover { color: var(--js-white); }

.mentions-container { max-width: 800px; margin: 150px auto 60px auto; background: var(--js-dark-gray); padding: 50px; border: 1px solid rgba(255,255,255,0.05); }
.mentions-container h1 { color: var(--js-white); font-size: 2rem; margin-bottom: 30px; border-bottom: 2px solid var(--js-blue); padding-bottom: 10px; text-transform: uppercase;}
.mentions-container h2 { color: var(--js-blue-light); font-size: 1.3rem; margin-top: 30px; margin-bottom: 15px; text-transform: uppercase;}
.mentions-container p { margin-bottom: 15px; color: #a0a0a0; font-weight: 300; }
.mentions-container strong { color: var(--js-white); font-weight: 600; }
.mentions-container a { color: var(--js-blue-light); text-decoration: none; transition: color 0.3s ease; }
.mentions-container a:hover { color: var(--js-white); text-decoration: underline; }

.error-hero { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('Backgrounds/bg_index.jpg') center/cover no-repeat; }
.error-hero h1 { font-size: 8rem; color: var(--js-blue); margin-bottom: 10px; line-height: 1; }
.error-hero h2 { font-size: 2rem; color: var(--js-white); margin-bottom: 20px; }
.error-hero p { font-size: 1.2rem; color: #a0a0a0; margin-bottom: 40px; }

.copy-text { cursor: pointer; position: relative; transition: color 0.3s ease; }
.copy-text:hover { color: var(--js-blue-light); }
.copy-text.copied::after {
    content: "Copié !"; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    background: var(--js-blue); color: var(--js-white); padding: 5px 10px; border-radius: 5px;
    font-size: 0.8rem; font-family: 'Outfit', sans-serif; font-weight: 700; pointer-events: none;
    animation: fadeInOut 2s ease forwards; white-space: nowrap; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
@keyframes fadeInOut { 0% { opacity: 0; transform: translate(-50%, -20px); } 15% { opacity: 1; transform: translate(-50%, -35px); } 85% { opacity: 1; transform: translate(-50%, -35px); } 100% { opacity: 0; transform: translate(-50%, -45px); } }

/* =========================================
   RESPONSIVE GLOBALE (TOUJOURS A LA FIN)
========================================= */
@media (max-width: 992px) {
    .footer-grid, .event-grid-layout { grid-template-columns: 1fr; gap: 40px; }
    
    /* --- LE FIX NUCLEAIRE POUR L'IMAGE ECRASÉE --- */
    /* On coupe le système Flexbox sur mobile car c'est lui qui écrase l'image */
    .presentation-flex { display: block; width: 100%; }
    .pres-text { display: block; width: 100%; margin-bottom: 40px; text-align: left; }
    .pres-image { display: block; width: 100%; }
    .img-rounded { max-height: 400px; object-position: center; margin: 0 auto; }
    /* --------------------------------------------- */
    
    .event-hero-content h1 { font-size: 2.3rem; }
    .event-meta-large { flex-direction: column; gap: 10px; font-size: 1rem; }
}
@media (max-width: 768px) {
    :root { --tile-width: 300px; --tile-height: 400px; --tile-gap: 20px; }
    header { padding: 20px; width: 100%; border-radius: 0; }
    header.scrolled { padding: 15px 20px; }
    .menu-toggle { display: block; }
    nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--js-black); padding: 120px 40px; transition: 0.5s ease; border-left: 1px solid rgba(255,255,255,0.05); }
    nav.active { right: 0; }
    nav ul { flex-direction: column; gap: 35px; align-items: center; }
    nav ul li a { font-size: 1.8rem; opacity: 0; transform: translateY(10px); }
    nav.active ul li a { opacity: 1; transform: translateY(0); transition: 0.4s ease; transition-delay: 0.2s; }
    .hero-logo { max-width: 220px; }
    .hero { background-position: center 40% !important; }
    .countdown-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; max-width: 400px; margin: 0 auto 30px auto; }
    .countdown-item { min-width: unset; padding: 15px 5px; }
    .countdown-item span { font-size: 1.5rem; }
    .countdown-item p { font-size: 0.5rem; letter-spacing: 1px; }
    .tile-overlay { padding: 25px; }
    .tile-overlay h3 { font-size: 1.6rem; }
    .btn-tile { padding: 12px; font-size: 0.85rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .btn-back, .btn-back-mentions { top: 90px; left: 20px; padding: 8px 15px; font-size: 0.85rem; }
    .event-hero { padding-top: 110px; padding-bottom: 40px; }
    .sidebar-box, .mentions-container { padding: 20px; margin-top: 100px; }
    .albums-layout { grid-template-columns: 1fr; gap: 20px; }
    .hero-small { padding: 130px 20px 80px 20px; }
    .hero-small h1 { font-size: 2.8rem; }
    .pricing-card { padding: 30px 20px; }
    .contact-collab-box { padding: 30px 20px; }
    .contact-collab-box h1 { font-size: 2.2rem; }
    .btn-primary:has(.fa-arrow-right)::before { left: 50%; transform: translate(-50%, -50%); width: 0%; }
    .btn-back::before, .btn-back-mentions::before { right: auto; left: 50%; transform: translate(-50%, 0); width: 0%; }
}