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

:root {
    --primary-yellow: #fcd116;
    --primary-blue: #0065bd;
    --primary-green: #009e49;
    --dark-bg: #0b132b;
    --text-white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('FDC.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(11, 19, 43, 0.4) 0%, 
        rgba(11, 19, 43, 0.85) 70%, 
        rgba(11, 19, 43, 0.98) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

/* --- LOGO CONTENEUR & DETOURAGE COMPATIBLE --- */
.logo-box {
    background-color: #ffffff;
    padding: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(252, 209, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Keyframe Animation Trigger */
    animation: logoReveal 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animated-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Supprime le fond blanc automatiquement */
    border-radius: 50%;
}

/* --- TEXTES --- */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    max-width: 600px;
}

/* --- BOUTON CTA --- */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-yellow);
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(252, 209, 22, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(252, 209, 22, 0.5);
    background-color: #ffe047;
}

.event-date {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- ANIMATION LOGO (ENTRÉE + GLOW PULSE) --- */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
        box-shadow: 0 0 0 rgba(252, 209, 22, 0);
    }
    70% {
        transform: scale(1.08) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(252, 209, 22, 0.5);
    }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 600px) {
    .animated-logo {
        width: 120px;
        height: 120px;
    }
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}