/* POLICE MODERNE */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Oswald:wght@300;500;700&display=swap');

:root {
    --brown-main: #6B5B45;   /* Marron Logo */
    --brown-dark: #4e4232;
    --flesh: #EBC8A6;        /* Rose chair */
    --neon: #39FF14;         /* Vert Fluo */
    --gray-bg: #f4f4f4;      /* Gris clair fond */
    --text-dark: #2c2c2c;    /* Texte foncé */
}

body {
    background-color: var(--gray-bg);
    color: var(--text-dark);
    /* Police de lecture : Open Sans */
    font-family: 'Open Sans', sans-serif; 
    font-size: 16px;
    line-height: 1.8; /* Aéré pour la lecture */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   2. TYPOGRAPHIE (STYLE CINÉMA)
   ========================================= */
h1, h2, h3, h4, h5, .navbar-brand, .nav-link, .btn-custom {
    /* Police de Titres : Oswald */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase; /* Toujours en majuscules pour le style */
    letter-spacing: 1px;       /* Espacement léger entre les lettres */
}

/* --- 1. HEADER & NAVIGATION (MARRON) --- */
.navbar {
    background-color: var(--brown-main) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nav-link {
    color: var(--flesh) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 15px;
}
.principal a {
    color: var(--brown-main) !important;
    
}
.principal a:hover {
    color: var(--neon) !important;
    
}
.nav-link:hover, .nav-link.active {
    color: var(--neon) !important;
}

/* --- 2. BOUTONS LANGUES (CORRECTION Z-INDEX) --- */
/* Ils sont maintenant fixés très haut (z-index 9999) pour passer DEVANT tout */
.lang-switch {
    position: fixed;
    top: 100px; /* Un peu plus bas que le header */
    right: 20px;
    z-index: 9999; /* LA CLÉ DU PROBLÈME : Ils passent devant tout */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brown-dark);
    color: var(--neon);
    border: 2px solid var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.lang-btn:hover {
    transform: scale(1.1);
    background-color: var(--neon);
    color: var(--brown-dark);
}

/* --- 3. HERO SECTION (CARROUSEL FOND) --- */
.hero-section {
    position: relative;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;     /* Centre le texte verticalement */
    justify-content: center; /* Centre le texte horizontalement */
}

/* Le Carrousel en arrière plan absolu */
#bgCarousel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.carousel-item, .carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover; /* L'image couvre tout sans être déformée */
}

/* Filtre sombre pour que le texte soit lisible */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Voile noir à 40% */
    z-index: 2;
}

/* Le bloc de texte par-dessus */
.hero-content {
    position: relative;
    z-index: 3; /* Au dessus de l'image et du voile */
    text-align: center;
    max-width: 800px;
    padding: 40px;
    /* Fond semi-transparent demandé */
    background-color: rgba(107, 91, 69, 0.65); /* Marron semi-transparent */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Titres dans le Hero */
.hero-content h1 {
    color: var(--neon);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #000;
}

.hero-content p {
    color: #fff;
    font-size: 1.2rem;
}
.hero-content a {
    color: var(--flesh) !important;    /* Change la couleur en Vert Fluo */
            /* Écarte légèrement les lettres */
}
.hero-content a:hover {
    color: var(--neon) !important;   /* Change la couleur en Vert Fluo */
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6); /* Ajoute une lueur (Glow) */
    transform: translateX(10px);     /* Déplace le texte vers la droite */
    letter-spacing: 1px;             /* Écarte légèrement les lettres */
}

/* --- 4. CONTENU GÉNÉRAL DES PAGES (SUR FOND GRIS) --- */
h1, h2 {
    color: var(--brown-main); /* Titres en marron sur fond gris */
    font-weight: 800;
    text-transform: uppercase;
}

h1 { margin-bottom: 30px; }
h2::after { content: none; /* On retire le souligné précédent */ }

/* Petits traits vert fluo déco */
.neon-line {
    width: 60px; height: 4px; background-color: var(--neon); margin: 10px 0 20px 0;
}

p { line-height: 1.6; margin-bottom: 20px; }

/* --- 5. FOOTER (MARRON) --- */
footer {
    background-color: var(--brown-main);
    color: var(--flesh);
    padding: 50px 0 20px 0;
    margin-top: auto; /* Pousse le footer tout en bas */
}

footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--neon); }



/* --- L'EFFET MAGIQUE AU SURVOL --- */
footer a:hover {
    color: var(--neon) !important;   /* Change la couleur en Vert Fluo */
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6); /* Ajoute une lueur (Glow) */
    transform: translateX(10px);     /* Déplace le texte vers la droite */
    letter-spacing: 1px;             /* Écarte légèrement les lettres */
}

