/* === VARIABLES CSS === */
@font-face{
    font-family : 'Space Grotesk';
    src : url('../font/SpaceGrotesk-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family : 'Molend';
    src : url('../font/Molend.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* === NOUVEAU THÈME : BORDEAUX / BLEU NUIT / ARGENTÉ === */

    /* Couleurs de base (RGB pour rgba()) */
    --clr-deep-blue-rgb: 10, 18, 40;       /* Bleu nuit très sombre */
    --clr-midnight-red-rgb: 50, 10, 20;     /* Rouge très foncé, base pour fond (ajusté légèrement) */
    
    /* Accents avec primaire Bordeaux */
    --clr-bordeaux-red-rgb: 140, 25, 45;    /* Bordeaux primaire (8C192D) - plus sombre et profond */
    --clr-accent-warm-highlight-rgb: 190, 60, 70; /* Rouge-orangé plus doux pour dégradés (BE3C46) - s'harmonise avec bordeaux */
    
    --clr-silver-rgb: 210, 210, 215;        /* Argenté plus clair (D2D2D7) */
    --clr-light-silver-rgb: 240, 240, 245;  /* Argenté très clair, presque blanc cassé (F0F0F5) */
    
    --clr-dark-text-rgb: 5, 5, 15;          /* Texte très sombre, presque noir */
    --clr-near-black-rgb: 20, 20, 30;       /* Presque noir pour ombres subtiles sur fond sombre */

    /* Couleurs directes (HEX/rgb) */
    --clr-deep-blue: rgb(var(--clr-deep-blue-rgb));
    --clr-midnight-red: rgb(var(--clr-midnight-red-rgb));
    --clr-bordeaux-red: rgb(var(--clr-bordeaux-red-rgb)); /* Nouvelle variable pour clarté */
    --clr-accent-warm-highlight: rgb(var(--clr-accent-warm-highlight-rgb));
    --clr-silver: rgb(var(--clr-silver-rgb));
    --clr-light-silver: rgb(var(--clr-light-silver-rgb));
    --clr-dark-text: rgb(var(--clr-dark-text-rgb));

    /* "Impressionnant" Argenté pour titres (dégradé plus dynamique pour H1) */
    --clr-silver-title-gradient: linear-gradient(60deg, #a8a8b2 0%, #e8e8f0 20%, #c8c8d0 35%, #f8f8fc 50%, #c8c8d0 65%, #e8e8f0 80%, #a8a8b2 100%);
    /* Ombre H1 légèrement ajustée pour potentiellement moins de highlight chaud si le bordeaux est très sombre */
    --text-shadow-silver-h1: 1px 1px 2px rgba(0,0,0,0.3), 0 0 20px rgba(var(--clr-silver-rgb), 0.7), 0 0 8px rgba(255,255,255,0.4); 


    /* Palette Thème Principal ("Nuit" - Bordeaux/Bleu Nuit/Argent) */
    --clr-night-sky-top-rgb: var(--clr-deep-blue-rgb);
    --clr-night-sky-bottom-rgb: var(--clr-midnight-red-rgb);
    --clr-night-text: var(--clr-light-silver);
    --clr-night-shadow: rgba(var(--clr-near-black-rgb), 0.6); 

    /* Palette Thème Alternatif ("Jour" - Thème Lumineux Argenté) */
    --clr-day-sky-top-rgb: 238, 238, 245;    
    --clr-day-sky-bottom-rgb: 225, 225, 230; 
    --clr-day-text: var(--clr-dark-text);
    --clr-day-shadow: rgba(var(--clr-dark-text-rgb), 0.15);

    /* Accents */
    --clr-accent-primary: var(--clr-bordeaux-red); /* L'accent primaire est maintenant le bordeaux */
    --clr-accent-primary-rgb: var(--clr-bordeaux-red-rgb);
    --clr-accent-secondary: var(--clr-silver); 
    --clr-accent-secondary-rgb: var(--clr-silver-rgb);
    --clr-accent-tertiary: #991520; /* Un rouge/bordeaux un peu plus saturé ou différent pour variation (991520) */

    /* Couleurs Texte Spécifiques */
    --clr-text-dark-on-accent: var(--clr-light-silver); /* Texte CLAIR sur accent bordeaux pour lisibilité */
    --clr-text-light: var(--clr-light-silver);       

    /* === COULEURS HEADER & FOOTER === */
    /* NUIT (Thème principal) */
    --header-footer-bg-night: rgba(var(--clr-deep-blue-rgb), 0.85);
    --header-footer-bg-night-scrolled: rgba(var(--clr-deep-blue-rgb), 0.95);
    --header-footer-border-night: rgba(var(--clr-bordeaux-red-rgb), 0.3); /* Bordure avec le nouveau bordeaux */
    /* JOUR (Thème lumineux) */
    --header-footer-bg-day: rgba(var(--clr-day-sky-top-rgb), 0.85);
    --header-footer-bg-day-scrolled: rgba(var(--clr-day-sky-top-rgb), 0.95);
    --header-footer-border-day: rgba(var(--clr-dark-text-rgb), 0.15);

    /* Bulles organiques */
    --organic-bubble-bg-night: rgba(var(--clr-midnight-red-rgb), 0.75); 
    --organic-bubble-bg-day: rgba(var(--clr-day-sky-bottom-rgb), 0.7); 

    /* Variables de structure et de police (inchangées) */
    --font-display: 'Molend', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-game: 'Space Grotesk', sans-serif;
    --header-height: 70px;
    --border-radius: 4px;
    --transition-speed: 0.3s;
    --container-width: 1140px;
    
    /* Style d'ombre de texte par défaut (pour le mode nuit) */
    --text-shadow-style: 1px 1px 2px var(--clr-night-shadow);
}


/* === RESET & STYLES DE BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}
body {
    font-family: var(--font-body); line-height: 1.7; color: var(--clr-night-text);
    /* Le fond est le bleu nuit de base, l'image vient par dessus */
    background-color: var(--clr-deep-blue); 
    background-image: url('../images/fond-fixe-equinox.jpg'); /* Image de fond utilisateur */
    background-size: cover; background-position: center center;
    background-repeat: no-repeat; background-attachment: fixed;
    overflow-x: hidden;
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Adaptation pour le mode "jour" (lumineux) */
body.is-day { 
    color: var(--clr-day-text); 
    background-color: var(--clr-light-silver); /* Fond principal devient argenté clair */
    /* On pourrait vouloir masquer/changer l'image de fond en mode jour si elle jure */
    /* background-image: none; */ 
    --text-shadow-style: 1px 1px 2px var(--clr-day-shadow); 
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* === TYPOGRAPHIE GÉNÉRALE === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: var(--clr-accent-primary); /* Rouge vibrant par défaut pour les titres */
}
h1 {
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 9vw, 6.5rem);
    text-transform: uppercase;
    /* Effet argenté/métallique pour H1 - dégradé mis à jour via variable */
    background: var(--clr-silver-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important; 
    text-shadow: var(--text-shadow-silver-h1) !important; /* Ombre mise à jour via variable */
    margin-bottom: 1rem;
}
h2 { 
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
    text-align: center; 
    margin-bottom: 2.5rem; 
    font-weight: 700;
    color: var(--clr-silver); /* H2 en argenté */
}
body.is-day h2 {
    color: var(--clr-dark-text); /* H2 en sombre sur fond clair */
}
h3 { 
    font-size: clamp(1.2rem, 3vw, 1.6rem); 
    color: var(--clr-accent-secondary); /* Argenté pour H3 */
    font-weight: 700; margin-top: 1.5rem; 
}
body.is-day h3 {
    color: var(--clr-accent-primary); /* Rouge sur fond clair pour H3 */
}
p { margin-bottom: 1.5rem; max-width: 70ch; font-weight: 300; margin-left: auto; margin-right: auto;}
a { color: var(--clr-accent-primary); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--clr-accent-secondary); }
body.is-day a { color: var(--clr-accent-primary); } /* Rouge sur fond clair */
body.is-day a:hover { color: var(--clr-deep-blue); } /* Bleu nuit sur fond clair au survol */
ul { list-style: none; padding-left: 0; }
img { max-width: 100%; height: auto; display: block; }

/* Application générale du text-shadow */
section:not(#billetterie):not(#equinox-game) h2,
section:not(#billetterie):not(#equinox-game) h3,
section:not(#billetterie):not(#equinox-game) p,
section:not(#billetterie):not(#equinox-game) li,
section:not(#billetterie):not(#equinox-game) div:not(.container):not(.countdown-timer):not(.event-details):not(.info-item):not(.experience-item),
#contact-section p, #contact-section h3,
#accueil .event-details p
{
    text-shadow: var(--text-shadow-style);
}
h1 { text-shadow: var(--text-shadow-silver-h1) !important; } /* S'assurer que H1 garde son ombre spéciale */
section:not(#billetterie):not(#equinox-game) h2 { text-shadow: var(--text-shadow-silver-default); } /* Ombre argentée pour H2 par défaut */
body.is-day section:not(#billetterie):not(#equinox-game) h2 { text-shadow: var(--text-shadow-style); } /* Ombre normale pour H2 en mode jour */


#footer .footer-credits p, #footer .footer-navigation a {
    text-shadow: var(--text-shadow-style);
}


/* === EFFETS VISUELS (CIEL, SOLEIL/LUNE, PARALLAX) === */
/* Note: Soleil/Lune pourraient être remplacés par des éléments thématiques rouge/bleu si désiré */
#sky-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; transition: background 0.5s linear; pointer-events: none; }
#sun-moon-element { position: fixed; top: 20%; left: 10%; width: clamp(80px, 15vw, 150px); height: clamp(80px, 15vw, 150px); z-index: 3; pointer-events: none; will-change: transform; }
.celestial-graphic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; transition: opacity 0.8s ease-in-out; }

/* Les graphismes soleil/lune pourraient être adaptés au thème. Ex: soleil rouge, lune bleue/argentée */
#sun-graphic { 
    background-image: url('../images/sun.png'); 
    opacity: 1; 
    filter: drop-shadow(0 0 25px rgba(var(--clr-vibrant-red-rgb), 0.7)) drop-shadow(0 0 10px rgba(var(--clr-accent-warm-highlight-rgb),0.5)); /* Soleil plus chaud */
}
#moon-graphic { 
    background-image: url('../images/moon.png'); 
    opacity: 0; 
    filter: drop-shadow(0 0 20px rgba(var(--clr-silver-rgb), 0.7)); /* Lune argentée plus claire */
}
.parallax-element { position: fixed; background-size: contain; background-repeat: no-repeat; z-index: 2; pointer-events: none; transition: transform 0.1s linear, opacity 0.8s ease-in-out; will-change: transform, opacity; }
.night-sky-element { opacity: 0; } /* Par défaut, les éléments du ciel "nuit" sont masqués et apparaissent avec le scroll */
.star { background-image: url('../images/etoile1.png'); width: 8px; height: 8px; animation: twinkle 4s infinite ease-in-out alternate; animation-play-state: paused; }
.planet { background-image: url('../images/planete1.png'); width: 70px; height: 70px; } /* Pourrait être teinté rouge/bleu */
.nebula { background-image: url('../images/nebula1.png'); width: 450px; height: 350px; mix-blend-mode: screen; } /* Idem */
.star1 { top: 15%; left: 10%; animation-delay: 0.5s; }
.star2 { top: 70%; right: 15%; animation-delay: 1.2s; }
.planet1 { top: 80%; left: 25%; }
.nebula1 { top: 10%; right: 5%; opacity: 0; }

@keyframes twinkle { 
    from { opacity: 0.2; transform: scale(0.8); filter: drop-shadow(0 0 2px rgba(var(--clr-silver-rgb), 0.5)); } 
    to { opacity: 0.9; transform: scale(1.2); filter: drop-shadow(0 0 5px var(--clr-light-silver));} 
}

/* === HEADER === */
#header {
    background-color: var(--header-footer-bg-night);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-bottom-color var(--transition-speed) ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--header-footer-border-night);
}
#header.scrolled {
    background-color: var(--header-footer-bg-night-scrolled);
    box-shadow: 0 2px 10px rgba(var(--clr-near-black-rgb), 0.5);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.header-branding { display: flex; align-items: center; }
#logo {
    height: calc(var(--header-height) - 25px);
    width: auto;
    transition: filter var(--transition-speed) ease;
    filter: none; /* Si logo est blanc/argenté, pas besoin de filtre sur fond sombre */
}

.header-social-icon {
    margin-left: 20px;
    display: inline-block;
    height: 26px;
}
.header-social-icon img {
    height: 100%;
    width: auto;
    display: block;
    transition: filter var(--transition-speed) ease;
    filter: brightness(0) invert(1); /* Icône sociale blanche/claire pour mode nuit */
}

#main-nav ul { display: flex; align-items: center; }
#main-nav ul li { margin-left: clamp(10px, 2vw, 25px); }
#main-nav ul li a {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--clr-night-text); /* Argenté clair */
    padding: 0.5em 0.8em;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-shadow: none;
}
#main-nav ul li a:hover,
#main-nav ul li a.active {
    background-color: var(--clr-accent-primary); /* Bordeaux */
    color: var(--clr-text-light) !important; /* Texte clair sur Bordeaux */
}

#mobile-menu-toggle {
    display: none;
    background: none; border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    color: var(--clr-night-text); /* Argenté clair */
    transition: color var(--transition-speed) ease;
}

/* Header en mode JOUR (Thème lumineux) */
body.is-day #header {
    background-color: var(--header-footer-bg-day);
    border-bottom-color: var(--header-footer-border-day);
}
body.is-day #header.scrolled {
    background-color: var(--header-footer-bg-day-scrolled);
    box-shadow: 0 2px 10px rgba(var(--clr-dark-text-rgb), 0.2); 
}
body.is-day #logo {
    filter: invert(1) brightness(0.3) sepia(1) hue-rotate(300deg) saturate(5); /* Tente de rendre le logo sombre/rougeâtre pour fond clair */
    /* Alternative: filter: invert(1); si le logo devient noir c'est OK */
}
body.is-day .header-social-icon img {
    filter: brightness(0.2); /* Icône sociale sombre pour mode jour */
}
body.is-day #main-nav ul li a {
    color: var(--clr-day-text); /* Texte sombre */
}
body.is-day #main-nav ul li a:hover,
body.is-day #main-nav ul li a.active {
    background-color: var(--clr-accent-primary); /* Bordeaux */
    color: var(--clr-text-light) !important; /* Texte clair sur bordeaux */
}
body.is-day #mobile-menu-toggle {
    color: var(--clr-day-text); 
    text-shadow: none;
}


/* === MAIN CONTENT === */
#main-content {
    flex-grow: 1;
}

/* === FOOTER === */
#footer {
    background-color: var(--header-footer-bg-night);
    padding: 40px 0 30px 0;
    text-align: center;
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--header-footer-border-night);
    transition: background-color var(--transition-speed) ease, border-top-color var(--transition-speed) ease;
    flex-shrink: 0;
}
.footer-navigation {
    margin-bottom: 30px;
}
.footer-navigation ul {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-navigation li { margin: 5px 18px; }
.footer-navigation a {
    color: var(--clr-accent-secondary); /* Argenté */
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-decoration var(--transition-speed) ease;
}
.footer-navigation a:hover {
    color: var(--clr-accent-primary); /* Rouge vibrant */
    text-decoration: underline;
}
.footer-credits {
    font-size: 0.85rem;
    color: rgba(var(--clr-light-silver-rgb),0.7); 
}
.footer-credits p {
    margin-bottom: 0.5rem;
    max-width: none;
    font-weight: 400;
    line-height: 1.5;
}
/* Footer en mode JOUR (Thème lumineux) */
body.is-day #footer {
    background-color: var(--header-footer-bg-day);
    border-top-color: var(--header-footer-border-day);
}
body.is-day .footer-navigation a {
    color: var(--clr-accent-primary); /* Rouge vibrant */
}
body.is-day .footer-navigation a:hover {
    color: var(--clr-deep-blue); /* Bleu nuit */
}
body.is-day .footer-credits {
    color: rgba(var(--clr-dark-text-rgb), 0.75); 
}

/* === BOUTONS CTA === */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, 
        var(--clr-accent-primary) 0%, /* Bordeaux */
        var(--clr-accent-warm-highlight) 45%, /* Highlight adapté */
        var(--clr-accent-secondary) 80%, /* Argent */
        var(--clr-accent-warm-highlight) 100%); /* Retour Highlight */
    background-size: 250% auto; 
    color: var(--clr-text-dark-on-accent) !important; /* Texte clair (argenté) sur ce dégradé à dominante sombre */
    padding: 0.8em 2em;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-position var(--transition-speed) ease;
    border: none; cursor: pointer;
    font-size: 0.9rem; letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(var(--clr-bordeaux-red-rgb), 0.4); /* Ombre avec le bordeaux */
    text-shadow: none !important;
}
.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--clr-bordeaux-red-rgb), 0.55);
    /* La couleur du texte ne change pas au survol car elle est déjà définie comme --clr-text-dark-on-accent */
    background-position: right center; 
}
/* Le mode jour pour les CTA ne change pas, le contraste est déjà bon */

.nav-cta { padding: 0.6em 1.6em; font-size: 0.8rem; box-shadow: 0 2px 8px rgba(var(--clr-accent-primary-rgb), 0.3); }
.large-cta { padding: 1em 2.8em; font-size: 1.1rem; }


/* === SECTIONS GÉNÉRIQUES === */
section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 4;
    background-color: transparent !important; /* Important pour voir le body background */
}
#billetterie {
    /* Section spéciale, fond rouge vibrant */
    background: var(--clr-accent-primary) !important; 
    color: var(--clr-text-light) !important; /* Texte clair (argenté) sur fond bordeaux */
    padding-bottom: clamp(60px, 10vh, 100px) !important;
}
#billetterie h2, #billetterie p { 
    color: var(--clr-text-light) !important; /* Texte clair (argenté) */
    text-shadow: 1px 1px 2px rgba(var(--clr-dark-text-rgb), 0.3); 
}

.shotgun-container { max-width: 800px; margin: 2rem auto 0; box-shadow: 0 5px 25px rgba(0,0,0,0.3); border-radius: var(--border-radius); overflow: hidden; }
.shotgun-container iframe { display: block; }


/* === STYLES SPÉCIFIQUES PAR PAGE/SECTION === */

/* ACCUEIL */
.hero-section.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: 40px;
}
.hero-content {
    max-width: 800px;
}
#accueil .intro-text { font-size: 1.1rem; max-width: 60ch; margin-bottom: 2rem; }
#accueil .event-details { margin-bottom: 2rem; }
#accueil .event-details p { margin-bottom: 0.8rem; font-size: 1.15rem; }
#accueil .event-details strong { font-weight: 700; }
#accueil .event-details a {
    color: inherit; /* Hérite de la couleur du p (argenté en mode nuit, sombre en mode jour) */
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-decoration var(--transition-speed) ease;
}
#accueil .event-details a:hover {
    color: var(--clr-accent-primary); /* Rouge vibrant au survol */
    text-decoration: underline;
}
/* Pas besoin de body.is-day spécifique ici si l'héritage fonctionne bien */

#countdown { margin-top: 3rem; }
#countdown h3 { 
    color: var(--clr-accent-secondary); /* Argenté */
    font-size: 1.3rem; margin-bottom: 1rem; 
    text-shadow: var(--text-shadow-style); 
}
.countdown-timer { display: flex; justify-content: center; gap: 15px 30px; flex-wrap: wrap; }
.countdown-timer div { 
    background: rgba(var(--clr-near-black-rgb),0.35); 
    padding: 10px 15px; 
    border-radius: var(--border-radius); 
    border: 1px solid rgba(var(--clr-silver-rgb),0.15); 
    text-shadow: var(--text-shadow-style); 
}
.countdown-timer span { 
    display: block; font-size: 2.5rem; 
    font-family: var(--font-display); font-weight: 700; 
    color: var(--clr-text-light); /* Argenté clair */
    line-height: 1.1; text-shadow: none; 
}
body.is-day #countdown h3 { color: var(--clr-accent-primary); } /* Rouge */
body.is-day .countdown-timer div { 
    background: rgba(var(--clr-day-sky-bottom-rgb), 0.7); 
    border-color: rgba(var(--clr-dark-text-rgb), 0.2); 
    color: var(--clr-day-text); 
}
body.is-day .countdown-timer span { color: var(--clr-day-text); } /* Texte sombre */

/* GRILLES POUR INFOS PRATIQUES ET EXPÉRIENCE (BULLLES ORGANIQUES) */
.practical-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 3rem;
    padding: 0 10px;
}

.practical-info .info-item {
    background-color: var(--organic-bubble-bg-night); /* Rouge sombre transparent */
    padding: 30px 35px;
    border: none; 
    text-align: center;
    color: var(--clr-night-text); /* Argenté clair */
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.4), 0px 0px 50px rgba(var(--clr-midnight-red-rgb), 0.4) inset;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background-color var(--transition-speed) ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.practical-info .info-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.5), 0px 0px 60px rgba(var(--clr-vibrant-red-rgb), 0.25) inset;
}

.practical-info .bubble-1 { border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; }
.practical-info .bubble-2 { border-radius: 60% 40% 45% 55% / 40% 50% 50% 60%; }
.practical-info .bubble-3 { border-radius: 50% 50% 35% 65% / 55% 40% 60% 45%; }
.practical-info .bubble-4 { border-radius: 40% 60% 50% 50% / 45% 55% 45% 55%; }

.practical-info .info-item i {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--clr-accent-primary); /* Rouge vibrant */
    display: block;
    text-shadow: none;
}
.practical-info .info-item h3 {
    color: var(--clr-accent-secondary); /* Argenté */
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    text-shadow: var(--text-shadow-silver-default);
}
.practical-info .info-item p {
    font-weight: 400;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: var(--text-shadow-style);
}
.practical-info .info-item p a {
    color: var(--clr-accent-secondary); /* Argenté */
    text-decoration: underline;
    font-weight: 700;
}
.practical-info .info-item p a:hover {
    color: var(--clr-text-light); /* Argenté plus clair/blanc */
}

#experience .info-item p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#experience .info-item .vendor-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}
#experience .info-item .vendor-list li {
    margin-bottom: 0.4rem;
    text-shadow: var(--text-shadow-style);
}
#experience .info-item .vendor-list strong {
    font-weight: 700;
    color: var(--clr-accent-secondary); /* Argenté */
}

body.is-day .practical-info .info-item {
    background-color: var(--organic-bubble-bg-day); /* Bulles claires */
    color: var(--clr-day-text); /* Texte sombre */
    box-shadow: 0px 6px 20px rgba(var(--clr-dark-text-rgb), 0.15), 0px 0px 40px rgba(var(--clr-day-sky-bottom-rgb), 0.2) inset;
}
body.is-day .practical-info .info-item:hover {
    box-shadow: 0px 10px 30px rgba(var(--clr-dark-text-rgb), 0.2), 0px 0px 50px rgba(var(--clr-vibrant-red-rgb), 0.15) inset;
}
body.is-day .practical-info .info-item i {
    color: var(--clr-accent-primary); /* Rouge vibrant */
}
body.is-day .practical-info .info-item h3 {
    color: var(--clr-accent-primary); /* Rouge vibrant */
    text-shadow: var(--text-shadow-style);
}
body.is-day .practical-info .info-item p {
    text-shadow: var(--text-shadow-style);
}
body.is-day .practical-info .info-item p a {
    color: var(--clr-accent-primary); /* Rouge vibrant */
}
body.is-day .practical-info .info-item p a:hover {
    color: var(--clr-deep-blue); /* Bleu nuit */
}
body.is-day #experience .info-item .vendor-list li {
    text-shadow: var(--text-shadow-style);
}
body.is-day #experience .info-item .vendor-list strong {
    color: var(--clr-accent-primary); /* Rouge vibrant */
}


/* LINEUP */
/* Style des .artist-card adapté plus bas */
.tba-text { font-size: 1.3rem; font-weight: 700; font-style: italic; margin-top: 2rem; opacity: 0.8; color: var(--clr-accent-secondary); }
.tba-visual { max-width: 300px; margin: 2rem auto 0; opacity: 0.5; }

/* PAGE CONTACT */
#contact-section .contact-info { margin-top: 2rem; }
#contact-section .contact-info h3 { margin-top: 2rem; font-size: 1.3rem; color: var(--clr-accent-secondary); } /* Argenté */
#contact-section .contact-info p a { font-weight: 700; font-size: 1.1rem; color: var(--clr-accent-primary); } /* Rouge */
#contact-section .contact-info p a:hover { color: var(--clr-accent-secondary); } /* Argenté */
#contact-section .social-links-main { margin-top: 1rem; }
.social-icon-link {
    display: inline-block;
    background: var(--clr-accent-primary); /* Rouge */
    color: var(--clr-text-light) !important; /* Argenté/blanc */
    padding: 12px 25px;
    margin: 0 10px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    transition: all var(--transition-speed) ease;
    text-shadow: none !important;
    font-size: 0.9rem;
}
.social-icon-link:hover { background: var(--clr-accent-secondary); color: var(--clr-text-dark-on-accent) !important; transform: scale(1.05); } /* Fond argenté, texte sombre */

body.is-day #contact-section .contact-info h3 { color: var(--clr-accent-primary); } /* Rouge sur fond clair */
body.is-day #contact-section .contact-info p a { color: var(--clr-accent-primary); }
body.is-day #contact-section .contact-info p a:hover { color: var(--clr-deep-blue); }


/* PAGE MENTIONS LÉGALES */
.legal-content-wrapper {
    max-width: 75ch;
    margin: 2rem auto 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}
.legal-content-wrapper p, .legal-content-wrapper li { color: var(--clr-night-text); text-shadow: var(--text-shadow-style); }
.legal-content-wrapper h3 {
    font-size: 1.2rem;
    color: var(--clr-accent-primary); /* Rouge */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-style);
}
.legal-content-wrapper ul { list-style-type: disc; padding-left: 25px; margin: 0 0 1.5rem 0; }
.legal-content-wrapper li { margin-bottom: 0.6rem; }
.legal-content-wrapper a { color: var(--clr-accent-secondary); text-decoration: underline; } /* Argenté */
.legal-content-wrapper a:hover { color: var(--clr-accent-primary); } /* Rouge */

body.is-day .legal-content-wrapper p,
body.is-day .legal-content-wrapper li { color: var(--clr-day-text); }
body.is-day .legal-content-wrapper a { color: var(--clr-accent-primary); }
body.is-day .legal-content-wrapper a:hover { color: var(--clr-deep-blue); }


/* === SECTION JEU === */
#equinox-game h2 { color: var(--clr-accent-secondary); } /* Argenté */
body.is-day #equinox-game h2 { color: var(--clr-accent-primary); } /* Rouge */

.game-container { 
    max-width: 800px; margin: 30px auto; position: relative; 
    border-radius: var(--border-radius); padding: 8px; 
    background: rgba(var(--clr-deep-blue-rgb), 0.85); /* Fond bleu nuit pour le jeu */
    box-shadow: 0 5px 20px rgba(0,0,0,0.4); overflow: hidden; 
    border: 1px solid rgba(var(--clr-vibrant-red-rgb), 0.5); /* Bordure rouge */
}
.game-container::after { 
    content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: calc(8px + 38px); 
    background-image: url('../images/grain-texture.png'); 
    background-repeat: repeat; opacity: 0.03; mix-blend-mode: overlay; /* Overlay pour mieux se fondre */
    pointer-events: none; z-index: 3; border-radius: inherit; 
}
#game-canvas { display: block; margin: 0 auto; max-width: 100%; height: auto; position: relative; z-index: 1; border-radius: var(--border-radius); }
.score-area { 
    display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 8px 15px; 
    font-weight: bold; color: rgba(var(--clr-light-silver-rgb),0.8); 
    background-color: rgba(var(--clr-near-black-rgb), 0.85); 
    border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); 
    position: relative; z-index: 5; font-family: var(--font-game); font-size: 0.9rem; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); 
}
#game-over-message { 
    display: none; flex-direction: column; align-items: center; justify-content: center; 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    background-color: rgba(var(--clr-deep-blue-rgb), 0.97); /* Fond bleu nuit */
    color: var(--clr-text-light); padding: 35px 45px; 
    border-radius: var(--border-radius); text-align: center; z-index: 10; 
    border: 1px solid var(--clr-accent-primary); /* Bordure rouge */
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); 
}
#game-over-message h2 { color: var(--clr-accent-primary); margin-bottom: 15px; font-size: 1.8rem; text-shadow: none;}
#game-over-message p { font-size: 1.1rem; margin-bottom: 25px; font-family: var(--font-game); text-shadow: none;}
#restart-button { font-size: 1rem; padding: 12px 35px; margin-top: 10px; } /* Utilise le style .cta-button */

/* === ANIMATIONS GÉNÉRALES (FADE-IN) === */
.anim-fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1); }
.anim-fade-in.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }


/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    :root { --header-height: 60px; }
    body {
        background-attachment: scroll; /* Le fond fixe peut être gourmand sur mobile */
        background-image: none !important; /* <<< MODIFICATION ICI: Supprime l'image de fond pour mobile */
        background-color: var(--clr-deep-blue); /* Assurer que le fond de base est là */
        color: var(--clr-night-text);
    }
    body.is-day { 
        /* background-image: none !important;  // Assurez-vous qu'elle soit aussi supprimée ici si besoin */
        background-color: var(--clr-light-silver); 
        color: var(--clr-day-text); 
    }

    #sky-background, #sun-moon-element, .parallax-element { display: none; } /* Masquer effets lourds sur mobile */

    section { padding: clamp(50px, 8vh, 80px) 0; }

    h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
    h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    #accueil h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); } /* H2 spécifique accueil (sous le H1) */

    .hero-section.full-height {
        min-height: calc(100vh - var(--header-height));
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 30px;
    }

    .header-container { padding: 0 15px; }
    #logo { height: calc(var(--header-height) - 20px); }
    .header-social-icon { margin-left: 15px; height: 22px; }

    #main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--header-footer-bg-night); /* Correspond au header non scrollé */
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid var(--header-footer-border-night);
        box-shadow: 0 5px 10px rgba(var(--clr-near-black-rgb),0.3);
    }
    #main-nav.is-open { display: block; }
    #main-nav ul { flex-direction: column; }
    #main-nav ul li { margin: 1.2rem 0; }
    #mobile-menu-toggle { display: block; }

    body.is-day #main-nav {
        background-color: var(--header-footer-bg-day);
        border-bottom-color: var(--header-footer-border-day);
    }

    .practical-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
     .practical-info .info-item {
        padding: 25px 30px;
        min-height: 180px;
    }

    .footer-navigation ul { flex-direction: column; }
    .footer-navigation li { margin: 8px 0; }
    .footer-navigation a { font-size: 1.1rem; }
    .footer-credits { font-size: 0.8rem; }
    #footer { padding: 30px 0 20px 0; }
}

/* === LINEUP SECTION === */
#lineup-section {
    /* Pas de styles spécifiques à la section ici, la grille s'en charge */
}

.lineup-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
    padding: 0 15px;
}

.artist-card {
    background-color: transparent;
    width: 280px;
    height: calc(280px / 0.8); 
    perspective: 1000px;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.artist-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 12px rgba(var(--clr-near-black-rgb),0.3); /* Ombre plus subtile sur fond sombre */
    border-radius: var(--border-radius);
}

.artist-card:hover .artist-card-inner {
    transform: rotateY(180deg);
}

.artist-card-front,
.artist-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    display: flex; 
    flex-direction: column;
    overflow: hidden;
}

.artist-card-front {
    background-color: var(--clr-deep-blue); /* Fond si image lente */
    padding: 0; 
    justify-content: center; 
    align-items: center; 
}

.artist-card-front img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    display: block; 
    border-radius: var(--border-radius); 
}


.artist-card-back {
    background-color: var(--organic-bubble-bg-night); /* Rouge sombre transparent */
    color: var(--clr-night-text); /* Argenté clair */
    padding: 20px;
    transform: rotateY(180deg);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.artist-card-back h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--clr-accent-secondary); /* Argenté */
    text-shadow: var(--text-shadow-silver-default);
}

.artist-card-back .artist-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
    max-height: 150px; 
    overflow-y: auto;
    padding-right: 5px; /* Espace pour la scrollbar */
    text-shadow: var(--text-shadow-style);
}

.artist-card-back .artist-description::-webkit-scrollbar {
    width: 6px;
}
.artist-card-back .artist-description::-webkit-scrollbar-track {
    background: rgba(var(--clr-near-black-rgb),0.2);
    border-radius: 3px;
}
.artist-card-back .artist-description::-webkit-scrollbar-thumb {
    background: var(--clr-accent-primary); /* Rouge vibrant */
    border-radius: 3px;
}
.artist-card-back .artist-description::-webkit-scrollbar-thumb:hover {
    background: var(--clr-accent-secondary); /* Argenté */
}


.artist-card-back .artist-socials a {
    display: inline-block;
    margin: 5px 10px;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: var(--clr-accent-primary); /* Rouge vibrant */
    color: var(--clr-text-light) !important; /* Texte clair (argenté) */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, color var(--transition-speed) ease;
    text-shadow: none;
}

.artist-card-back .artist-socials a:hover {
    background-color: var(--clr-accent-secondary); /* Argenté */
    color: var(--clr-text-dark-on-accent) !important; /* Texte sombre */
    transform: scale(1.05);
}

/* Styles pour le mode JOUR (Thème lumineux) pour les cartes artistes */
body.is-day .artist-card-front {
    background-color: var(--clr-day-sky-bottom-rgb); /* Fond clair */
}
body.is-day .artist-card-back {
    background-color: var(--organic-bubble-bg-day); /* Bulle claire */
    color: var(--clr-day-text); /* Texte sombre */
}
body.is-day .artist-card-inner {
    box-shadow: 0 4px 12px rgba(var(--clr-dark-text-rgb),0.15);
}
body.is-day .artist-card-back h3 {
    color: var(--clr-accent-primary); /* Rouge vibrant */
    text-shadow: var(--text-shadow-style);
}
body.is-day .artist-card-back .artist-description {
     text-shadow: var(--text-shadow-style);
}
/* Les liens sociaux gardent leur style (rouge/argent), le contraste reste bon */


/* Responsive pour les cartes */
@media (max-width: 600px) {
    .artist-card {
        width: 85%; 
        max-width: 300px; 
        height: calc(300px / 0.8); 
    }
    .lineup-grid {
        gap: 20px;
    }
    .artist-card-back h3 {
        font-size: 1.3rem;
    }
    .artist-card-back .artist-description {
        font-size: 0.8rem;
        max-height: 120px; 
    }
}