:root {
    --primary-stone: #2c3e50;
    --accent-ochre: #b38b59;
}

html, body {
    margin: 0; padding: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

/* --- HEADER FIXÉ & LOGO --- */
#main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 110px; z-index: 2000; background: white;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

body { padding-top: 110px; }

.logo-link { display: flex; align-items: center; text-decoration: none; gap: 20px; }
#header-logo { height: 80px; width: auto; display: block; }
.slogan { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--primary-stone); line-height: 1.2; font-weight: 700; }

/* --- NAVIGATION --- */
.nav-menu { display: flex; align-items: center; }
.nav-menu a { text-decoration: none; color: #333; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; text-transform: uppercase; margin-left: 25px; font-weight: 600; letter-spacing: 0.5px; transition: 0.3s; }
.nav-menu a:hover { color: var(--accent-ochre); }
.nav-cta { color: var(--accent-ochre) !important; border: 1.5px solid var(--accent-ochre); padding: 10px 20px; border-radius: 2px; }
.nav-cta:hover { background: var(--accent-ochre); color: white !important; }

.mobile-toggle { display: none !important; }

/* --- HERO & TUILE SLIDER --- */
.hero { position: relative; height: calc(100vh - 110px); width: 100%; overflow: hidden; background: #000; }
.hero-slider, .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.slide { opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }

/* Tuile du Slider : Apparition au survol */
.hero-content-box {
    position: absolute; top: 50%; left: 8%; transform: translateY(-50%);
    z-index: 10; background: rgba(255, 255, 255, 0.8);
    padding: 60px; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 550px; opacity: 0; visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}
.hero:hover .hero-content-box { opacity: 1; visibility: visible; }
.hero-content-box h1 { font-family: 'Cinzel', serif; color: var(--primary-stone); font-size: 3rem; margin: 0 0 20px; line-height: 1.1; }
.cta-button { background: var(--primary-stone); color: white; padding: 18px 35px; text-decoration: none; font-weight: bold; display: inline-block; font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.9rem; }

/* --- SECTIONS NARRATIVES INTERACTIVES --- */
.fullscreen-section { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.story-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2.5s ease; z-index: 1; }
.ken-burns-container:hover .story-image { transform: scale(1.1); }

.section-content-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5; background: rgba(0,0,0,0.1); /* Fond ultra léger */
    display: flex; align-items: center; justify-content: center; text-align: center;
}

/* ÉCRIN DE LECTURE (Lisibilité + Style Glassmorphism) */
.section-content { 
    color: white; 
    max-width: 700px; 
    padding: 50px; 
    background: rgba(0, 0, 0, 0.45); /* Verre fumé kept */
    backdrop-filter: blur(10px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* LOGIQUE D'INTERACTION (Desktop uniquement) */
@media (min-width: 769px) {
    .fullscreen-section .section-content {
        /* Masqué par défaut */
        opacity: 0;
        visibility: hidden;
        /* Transition douce d'apparition (opacity + léger mouvement vers le haut) */
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                    visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(30px); /* Léger mouvement vers le haut à l'apparition */
    }

    /* Apparition au survol de la section parente (.fullscreen-section) */
    .fullscreen-section:hover .section-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* Position finale centrée */
    }
}

.section-content h2 { 
    font-family: 'Cinzel', serif; 
    font-size: 3.5rem; 
    color: white; 
    margin-bottom: 25px; 
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
}

.section-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-story { display: inline-block; padding: 12px 30px; border: 2px solid white; color: white; text-decoration: none; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.btn-story:hover { background: white; color: var(--primary-stone); }

/* --- LAZY LOADING & FOOTER (Inchangé) --- */
img.lazy { filter: blur(20px); }
img:not(.lazy) { filter: blur(0); }
footer { background: #2c3e50; color: white; padding: 40px; text-align: center; }

@media (max-width: 768px) {
    /* Sur mobile : On ne masque pas le texte, il est toujours visible pour la lecture tactile */
    .section-content { padding: 30px; margin: 0 20px; }
    .section-content h2 { font-size: 2.2rem; }
    .hero-content-box { left: 5%; right: 5%; padding: 30px; width: auto; }
}