/* ==========================================================================
   CONSTANTES & COULEURS
   ========================================================================== */
:root {
    --bg-deep: #050914;       /* Noir quasi total */
    --bg-main: #0B132B;       /* Bleu Espace Profond */
    --text-main: #F8F9FA;     /* Blanc pur */
    --text-muted: #a0aec0;    /* Gris pour les textes secondaires */
    --gold-accent: #F5D061;   /* Or Projecteur */

    /* Couleurs Néons des Piliers */
    --prod-neon: 230, 57, 70;   /* Rouge (format RGB pour effets de transparence) */
    --rec-neon: 131, 56, 236;   /* Violet */
    --edit-neon: 42, 157, 143;  /* Vert */
    --events-neon: 255, 0, 110; /* Magenta */
}

/* ==========================================================================
   BASE IMMERSIVE (Zéro trackeur, fonts système)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* FOND ARTISTIQUE COMPLEXE :
       Mélange de dégradés radiaux pour simuler des lumières dans l'espace.
       Le "fixed" crée un effet de profondeur lors du scroll. */
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(245, 208, 97, 0.15) 0%, transparent 50%), /* Lumière dorée zénithale */
        radial-gradient(circle at 85% 30%, rgba(131, 56, 236, 0.1) 0%, transparent 50%), /* Touche violette */
        radial-gradient(circle at 15% 70%, rgba(42, 157, 143, 0.1) 0%, transparent 50%), /* Touche verte */
        linear-gradient(to bottom, var(--bg-main), var(--bg-deep)); /* Fond global */
    background-attachment: fixed;
    background-size: cover;

    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 800; /* Plus gras pour plus d'impact */
    letter-spacing: -0.02em;
}

p, li {
    color: var(--text-muted);
    font-weight: 400;
}

a {
    color: var(--text-main);
    text-decoration: none;
    position: relative;
}

/* ==========================================================================
   HEADER SPECTACULAIRE
   ========================================================================== */
#entete-global {
    text-align: center;
    padding: 8rem 2rem 5rem; /* Plus d'espace en haut */
    /* Effet de brume légère en bas du header */
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 9, 20, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* TITRE ANIMÉ "OR LIQUIDE" */
#entete-global h1 {
    font-size: 4.5rem; /* Beaucoup plus gros */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;

    /* Magie CSS : Le dégradé est appliqué SUR le texte */
    background: linear-gradient(to right, var(--text-main) 20%, var(--gold-accent) 50%, var(--text-main) 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Animation lente de la lumière dans le texte */
    animation: shineText 8s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

#entete-global p strong {
    font-size: 1.4rem;
    color: var(--gold-accent);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    /* Légère lueur diffuse */
    text-shadow: 0 0 20px rgba(245, 208, 97, 0.5);
}

/* NAVIGATION MODERNE */
#entete-global nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    margin-left: 0;
}

#entete-global nav a {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

/* Soulignement animé créatif */
#entete-global nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    box-shadow: 0 0 10px var(--gold-accent);
    transition: width 0.3s ease-in-out;
}

#entete-global nav a:hover {
    color: var(--gold-accent);
}

#entete-global nav a:hover::after {
    width: 100%;
}

/* ==========================================================================
   MAIN LAYOUT
   ========================================================================== */
main {
    max-width: 1300px; /* Un peu plus large */
    margin: 0 auto;
    padding: 6rem 2rem;
}

#presentation-globale {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#presentation-globale h2 {
    color: var(--text-main);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
/* Petit accent doré sous le titre */
#presentation-globale h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
    margin: 1.5rem auto 0;
    box-shadow: 0 0 15px rgba(245, 208, 97, 0.4);
}

hr {
    border: 0;
    height: 1px;
    /* Ligne subtile et lumineuse */
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 6rem 0;
}

/* ==========================================================================
   GRILLE DES PILIERS ARTISTIQUES (Glassmorphism & Néons)
   ========================================================================== */
#les-piliers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Cartes un peu plus larges */
    gap: 2.5rem;
    perspective: 1000px; /* Pour donner un effet 3D subtil au survol */
}

#les-piliers > h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 4rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.pilier-ats {
    position: relative;
    /* EFFET GLASSMORPHISM (Verre dépoli) */
    background: rgba(255, 255, 255, 0.03); /* Très transparent */
    backdrop-filter: blur(10px); /* Le flou derrière la carte */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    /* Bordure fine et lumineuse */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transition élastique */
    overflow: hidden; /* Important pour les effets de lumière qui dépassent */
}

/* Création d'un halo lumineux caché qui apparaît au survol */
.pilier-ats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.pilier-ats h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pilier-ats p em {
    display: block;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.pilier-ats h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    opacity: 0.7;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* --- PERSONNALISATION & INTERACTION DES PILIERS --- */

/* Au survol global d'une carte */
.pilier-ats:hover {
    transform: translateY(-10px) scale(1.02); /* Légère lévitation et agrandissement */
    border-color: rgba(255, 255, 255, 0.3);
}
.pilier-ats:hover::before {
    opacity: 1; /* Allume le halo */
}

/* PRODUCTIONS (ROUGE) */
#productions p em { color: rgb(var(--prod-neon)); text-shadow: 0 0 15px rgba(var(--prod-neon), 0.5); }
#productions:hover::before {
    /* Le halo rouge au survol */
    box-shadow: inset 0 0 60px rgba(var(--prod-neon), 0.3), 0 0 30px rgba(var(--prod-neon), 0.5);
}
#productions:hover { border-top: 3px solid rgb(var(--prod-neon)); }


/* RECORDS (VIOLET) */
#records p em { color: rgb(var(--rec-neon)); text-shadow: 0 0 15px rgba(var(--rec-neon), 0.5); }
#records:hover::before {
    box-shadow: inset 0 0 60px rgba(var(--rec-neon), 0.3), 0 0 30px rgba(var(--rec-neon), 0.5);
}
#records:hover { border-top: 3px solid rgb(var(--rec-neon)); }


/* EDITIONS (VERT) */
#editions p em { color: rgb(var(--edit-neon)); text-shadow: 0 0 15px rgba(var(--edit-neon), 0.5); }
#editions:hover::before {
    box-shadow: inset 0 0 60px rgba(var(--edit-neon), 0.3), 0 0 30px rgba(var(--edit-neon), 0.5);
}
#editions:hover { border-top: 3px solid rgb(var(--edit-neon)); }


/* EVENTS (MAGENTA) */
#events p em { color: rgb(var(--events-neon)); text-shadow: 0 0 15px rgba(var(--events-neon), 0.5); }
#events:hover::before {
    box-shadow: inset 0 0 60px rgba(var(--events-neon), 0.3), 0 0 30px rgba(var(--events-neon), 0.5);
}
#events:hover { border-top: 3px solid rgb(var(--events-neon)); }


/* ==========================================================================
   WORKFLOW SECTION
   ========================================================================== */
#workflow-synergie {
    text-align: center;
    /* Fond sombre mais avec une lueur dorée subtile */
    background: radial-gradient(circle at center, rgba(245, 208, 97, 0.05) 0%, rgba(255,255,255,0.02) 100%);
    padding: 5rem 3rem;
    border-radius: 24px;
    margin-top: 6rem;
    border: 1px solid rgba(245, 208, 97, 0.1);
    position: relative;
}

/* Effet visuel de connecteurs */
#workflow-synergie::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 24px;
    background: linear-gradient(45deg, var(--prod-neon), var(--gold-accent), var(--rec-neon), var(--events-neon));
    z-index: -1;
    opacity: 0.15;
    filter: blur(20px);
}

#workflow-synergie h2 {
    color: var(--gold-accent);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#workflow-synergie strong {
    color: var(--text-main);
    font-weight: 700;
    border-bottom: 1px dotted var(--gold-accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#pied-de-page {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    background: rgba(5, 9, 20, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   BOUTONS DU FOOTER (Hover & Active)
   ========================================================================== */
#pied-de-page button,
#pied-de-page a {
    display: inline-block;
    padding: 12px 28px;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* Transition douce pour tous les états */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Effet de survol (Hover) : La lumière s'allume et le bouton se soulève */
#pied-de-page button:hover,
#pied-de-page a:hover {
    background: rgba(245, 208, 97, 0.1); /* Lueur dorée interne */
    border-color: var(--gold-accent);
    color: var(--gold-accent);
    transform: translateY(-5px); /* Lévitation */
    box-shadow: 0 10px 25px rgba(245, 208, 97, 0.2); /* Halo lumineux en dessous */
}

/* Effet de clic (Active) : Le bouton s'enfonce physiquement */
#pied-de-page button:active,
#pied-de-page a:active {
    transform: translateY(2px); /* S'enfonce vers le bas */
    box-shadow: 0 2px 10px rgba(245, 208, 97, 0.3); /* Le halo se concentre */
    background: rgba(245, 208, 97, 0.15); /* Devient un poil plus opaque */
    transition: all 0.1s ease; /* Transition très rapide pour le clic */
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    #entete-global { padding-top: 5rem; }
    #entete-global h1 { font-size: 2.8rem; }
    #entete-global nav ul { flex-direction: column; gap: 1.5rem; }
    .pilier-ats { padding: 2rem; }
}

/* ==========================================================================
   EFFET VAGUE DE LUMIÈRE (Top Band)
   ========================================================================== */
#entete-global {
    position: relative; /* Indispensable pour positionner la vague en haut */
}

#entete-global::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* Épaisseur de la ligne lumineuse */
    /* Un dégradé qui mélange l'or des projecteurs et le magenta de la scène */
    background: linear-gradient(90deg, transparent 0%, var(--gold-accent) 40%, rgba(255, 0, 110, 0.8) 60%, transparent 100%);
    background-size: 200% 100%;
    /* Animation fluide et infinie */
    animation: vagueLumiere 4s linear infinite;
    box-shadow: 0 0 15px var(--gold-accent);
    z-index: 10;
}

@keyframes vagueLumiere {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}