/* --- POLICES --- */
/* Assure-toi de mettre les fichiers de police dans src/assets/fonts/ */
@font-face {
    font-family: 'FlightLegion';
    src: url('../assets/fonts/FlightLegionStraight.ttf') format('truetype');
}
@font-face {
    font-family: 'Cylburn';
    src: url('../assets/fonts/Cylburn.ttf') format('truetype');
}
@font-face {
    font-family: 'BasteleurBold';
    src: url('../assets/fonts/Basteleur-Bold.otf') format('truetype');
}
@font-face {
    font-family: 'BasteleurMoonlight';
    src: url('../assets/fonts/Basteleur-Moonlight.otf') format('truetype');
}

/* --- VARIABLES COULEURS --- */
:root {
    --bg-dark: #1e2c60; /* Couleur fond principale */
    --accent-pink: #ff5e78;
    --accent-orange: #ffb47b;
    --accent-lightblue: #4c6cb3;
    --text-pale: #c9dcf8;
    --text-cream: #fcf9e3;
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    background-image: url('../assets/img/fond_site_web.webp');
    background-attachment: fixed; /* Effet parallaxe sympa */
    background-size: cover;
    background-position: center;
    color: var(--text-cream);
    font-family: 'BasteleurMoonlight', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 { font-weight: normal; }

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

/* --- TYPOGRAPHIE --- */
.section-title {
    font-family: 'Cylburn', cursive;
    font-size: 4rem;
    color: var(--accent-pink);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px var(--bg-dark);
}

.subtitle {
    font-family: 'Basteleur-Bold', sans-serif;
    color: var(--text-pale);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* --- DECORATIONS --- */
.deco-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.footer-deco-wrapper {
    line-height: 0;
    margin-top: -50px; /* Chevauchement léger */
    z-index: 1;
    position: relative;
}
.deco-bottom {
    width: 100%;
    display: block;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s;
    background: rgba(30, 44, 96, 0.85); /* Semi-transparent */
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 60px;
    transition: transform 0.3s;
}
.nav-logo:hover { transform: scale(1.1); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-cream);
    text-decoration: none;
    font-family: 'BasteleurBold', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent-pink); }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

.title-wrapper {
    /* Crée une tache sombre au centre qui s'efface vers les bords */
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 3rem; /* Espace autour du titre pour que l'ombre respire */
    border-radius: 50%; /* Rend la tache ovale */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* S'assure que ça prend la largeur */
}

.main-title-img {
    max-width: 90%;
    height: auto;
    /* DOUBLE OMBRE : 
       1. Une ombre dure et proche (5px) pour simuler un contour noir
       2. Une ombre large (20px) pour détacher du fond */
    filter: drop-shadow(0px 0px 4px #000000) drop-shadow(0px 0px 20px rgba(0,0,0,0.9));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.btn-primary {
    display: inline-block;
    margin-top: 2rem;
    background-color: var(--accent-pink);
    color: var(--text-cream);
    padding: 1rem 2rem;
    font-family: 'FlightLegion', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: scale(1.05);
}

/* --- SECTIONS --- */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

/* VALEURS */
.content-box {
    background: rgba(30, 44, 96, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--accent-lightblue);
}
.text-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}
.highlight-text {
    color: var(--accent-orange);
    font-weight: bold;
}
.signature {
    text-align: right;
    font-family: 'Cylburn', cursive;
    font-size: 2rem;
    color: var(--accent-pink);
}

/* LINE UP */
.lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.artist-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.artist-card:hover {
    background: var(--accent-lightblue);
    transform: translateY(-5px) rotate(1deg);
    border-color: var(--accent-pink);
}

.artist-name {
    font-family: 'FlightLegion', sans-serif;
    font-size: 1.2rem;
    color: var(--text-cream);
}

/* CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group { margin-bottom: 1.5rem; }

label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'BasteleurBold';
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 5px;
    font-family: 'BasteleurMoonlight';
}

.infos-pratiques h4 {
    color: var(--accent-orange);
    margin-top: 1rem;
    font-family: 'BasteleurBold';
}

.infos-pratiques a {
    color: var(--text-pale);
    text-decoration: none;
}

.socials { margin-top: 2rem; }
.socials a {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--accent-pink);
    transition: transform 0.3s;
}
.socials a:hover { transform: scale(1.2); }

footer {
    background: var(--bg-dark);
    text-align: center;
    padding: 2rem;
    color: var(--text-pale);
}

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

/* --- MOBILE RESPONSIVE --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-cream);
    margin: 5px 0;
}
@media (max-width: 768px) {
    /* --- FOND MOBILE --- */
    body {
        background-image: url('../assets/img/font_smartphone_site_web.webp');
        background-position: top center;
    }

    /* --- DECORATION DU HAUT (Nouveau) --- */
    /* On force la déco à descendre et on la grossit un peu pour bien couvrir le titre */
    .deco-top {
        top: 40px; /* On la décolle du haut de l'écran de 40px */
        transform: scale(1.1); /* On la grossit de 10% pour qu'elle descende encore plus bas */
        transform-origin: top center; /* On s'assure qu'elle grandit vers le bas */
    }

    /* --- TITRE ET POSITIONNEMENT --- */
    .hero-section {
        /* On augmente encore l'espace (c'était 160px, on passe à 185px) */
        padding-top: 185px; 
        align-items: flex-start;
        min-height: 80vh;
    }

    .title-wrapper {
        background: none; 
        border-radius: 0;
        padding: 0;
        
        /* On remonte légèrement le bloc titre pour gérer la superposition */
        margin-top: -50px; 
        
        width: 100%;
        display: block; 
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .main-title-img {
        /* Largeur augmentée pour l'effet "massif" */
        width: 110%; 
        margin-left: -5%; 
        
        height: auto;
        max-width: none; 
        
        /* Ombre portée inchangée */
        filter: drop-shadow(0px 0px 2px #000) drop-shadow(0px 0px 15px rgba(0,0,0,0.8));
    }

    .section-title { font-size: 2.5rem; }
    
    /* Menu mobile */
    .mobile-menu-btn { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s;
        border-left: 2px solid var(--accent-pink);
    }
    .nav-links.active { right: 0; }
    .contact-wrapper { grid-template-columns: 1fr; }
}