/* ===== RÉINITIALISATION COMPLÈTE ===== */
.page-home html, 
.page-home body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* ===== HERO FULL SCREEN ===== */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-image: url('../images/imageFesti.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

/* Overlay sombre */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 0;
}

/* Contenu centré */
.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

/* ===== NAVBAR TRANSPARENTE ET MODERNE - COULEURS NATURELLES ===== */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: none;
}

/* Page d'accueil : navbar très transparente */
.page-home .navbar {
    background-color: rgba(61, 51, 41, 0.1) !important;
    backdrop-filter: blur(3px);
}

/* Navbar TOUJOURS transparente sur la page formulaire (vert naturel) */
.page-formulaire .navbar {
    background-color: #6d5e52 !important;
    backdrop-filter: blur(15px);
}

.page-formulaire .navbar.scrolled {
    background-color:  #8b7d6b !important;
    backdrop-filter: blur(20px);
}

/* Navbar sombre naturelle sur la page résultats */
.page-resultat .navbar {
    background-color: rgba(61, 51, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resultat .navbar.scrolled {
    background-color: rgba(61, 51, 41, 1) !important;
}

/* Navbar avec fond léger au scroll (page d'accueil) */
.page-home .navbar.scrolled {
    background-color: rgba(61, 51, 41, 0.7) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Brand plus élégant */
.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Liens du menu */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(107, 127, 91, 0.3);
    color: white !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        background-color: rgba(61, 51, 41, 0.95) !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
}

/* ===== FOOTER ===== */
/* Footer flottant en bas - UNIQUEMENT pour la page d'accueil */
.page-home footer {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100 !important;
    background-color: rgba(61, 51, 41, 0.7) !important;
    backdrop-filter: blur(10px);
}

/* Pour les autres pages, footer normal */
footer {
    position: relative;
    width: 100%;
    background-color: #3d3329;
}

/* Footer toujours collé */
body, html {
    height: 100%;
}

/* ===== BOUTON HERO MODERNE ET NATUREL ===== */
.btn-hero {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #6b7f5b 0%, #5a6e4a 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(107, 127, 91, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a6e4a 0%, #4a5d3a 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 127, 91, 0.6);
    color: white;
}

.btn-hero:hover::before {
    left: 0;
}

.btn-hero:active {
    transform: translateY(-1px);
}

/* Animation de pulsation subtile */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(107, 127, 91, 0.4);
    }
    50% {
        box-shadow: 0 15px 40px rgba(107, 127, 91, 0.6);
    }
}

.btn-hero {
    animation: pulse 3s ease-in-out infinite;
}