/* --- VARIABLES GLOBALES --- */
:root {
    --violet-valiha: #8E529F;
    --bleu-electrique: #3B9AD9;
    --bleu-ciel: #89BCE4;
    --sombre-profond: #1A1B25;
    --blanc-pur: #FFFFFF;
    --gris-argent: #E1E8ED;
    --gradient-main: linear-gradient(135deg, #8E529F 0%, #3B9AD9 100%);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--sombre-profond); 
    background: var(--blanc-pur);
    scroll-behavior: smooth;
    line-height: 1.6;
}
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; transition: var(--transition); }

        /* --- NAVIGATION MISE À JOUR --- */

        /* --- NAVIGATION RESPONSIVE --- */
nav {
    background: rgba(26, 27, 37, 0.95);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(15px);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

/* Menu Burger (caché sur desktop) */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Adaptations Mobile */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-links {
        display: none; /* Caché par défaut en mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--sombre-profond);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--violet-valiha);
    }

    /* Classe activée en JS */
    .nav-links.mobile-active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(255,255,255,0.05);
        width: 100%;
        box-shadow: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .nav-container .cta-button {
        display: none; /* On cache le bouton du menu pour le mettre dans la liste mobile si besoin */
    }
}
        nav {
            background: rgba(26, 27, 37, 0.9);
            padding: 0.8rem 5%;
            position: fixed;
            width: 100%;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(15px); /* Effet flou neuro-esthétique */
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .nav-logo { 
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem; 
            font-weight: 800; 
            color: var(--blanc-pur); 
            text-decoration: none; 
            letter-spacing: -1px;
        }
        .nav-logo span { color: var(--bleu-electrique); }

        .nav-container {
            display: flex;
            align-items: center;
            gap: 2.5rem;
        }

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

        .nav-item { position: relative; }

        .nav-link {
            color: var(--blanc-pur);
            text-decoration: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            opacity: 0.8;
            padding: 0.5rem 0;
        }

        .nav-link:hover { opacity: 1; color: var(--bleu-ciel); }

        /* Menu Déroulant (Dropdown) */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(15px);
            background: var(--sombre-profond);
            min-width: 240px;
            border-radius: 15px;
            padding: 1rem 0;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            border: 1px solid rgba(142, 82, 159, 0.3);
        }

        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .dropdown-item {
            padding: 0.8rem 1.5rem;
            display: flex;
            align-items: center;
            color: var(--blanc-pur);
            text-decoration: none;
            font-size: 0.85rem;
            transition: 0.2s;
        }

        .dropdown-item i {
            margin-right: 12px;
            color: var(--bleu-electrique);
            width: 20px;
            text-align: center;
        }

        .dropdown-item:hover {
            background: rgba(255,255,255,0.05);
            color: var(--bleu-ciel);
        }

        

        /* --- FIN NAV --- */

/* --- STYLE DU LOGO IMAGE --- */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items:start;
    height: 100%;
}

.logo-img {
    height: 4.5rem; /* Ajustez cette hauteur selon les proportions de votre logo */
    width: auto;  /* Garde les proportions intactes */
    margin: 0;
    transition: var(--transition);
    display: block;
}

/* Effet discret au survol */
.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Ajustement pour mobile */
@media (max-width: 992px) {
    .logo-img {
        height: 40px; /* Logo légèrement plus petit sur téléphone */
    }
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--sombre-profond);
    min-width: 240px;
    border-radius: 15px;
    padding: 1rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(142, 82, 159, 0.3);
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    color: var(--blanc-pur);
    font-size: 0.85rem;
}
.dropdown-item i { margin-right: 12px; color: var(--bleu-electrique); width: 20px; text-align: center; }
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--bleu-ciel); }

/* --- BOUTONS --- */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.cta-button:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(59, 154, 217, 0.4); }

/* --- SECTIONS COMMUNES --- */
.section-padding { padding: 100px 10%; }
.section-title { text-align: center; margin-bottom: 4rem; }
.underline { width: 80px; height: 5px; background: var(--gradient-main); margin: 15px auto; border-radius: 10px; }

/* --- HERO SECTIONS --- */
.hero, .hero-live, .hero-story, .hero-event, .hero-media, .hero-rent {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 5%;
    background-size: cover;
    background-position: center;
}
.hero { height: 100vh; }

/* --- CARDS & GRIDS --- */
.poles-container, .grid-services, .story-grid, .event-card-container, .media-grid, .inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pole-card, .service-card, .story-card, .event-card, .media-card, .item-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gris-argent);
    transition: var(--transition);
}
.pole-card:hover, .service-card:hover, .story-card:hover, .event-card:hover, .media-card:hover, .item-card:hover {
    transform: translateY(-10px);
    border-color: var(--violet-valiha);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* --- FOOTER --- */
footer { background: #0f1016; color: white; padding: 4rem 10% 2rem; text-align: center; }

/* --- RESPONSIVE --- */
/*@media (max-width: 900px) {
    .nav-links { display: none; }
    .section-padding { padding: 60px 5%; }
}*/

@media (max-width: 992px) {
            .menu-toggle { display: block; }
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%; left: 0; width: 100%;
                background: var(--sombre-profond);
                padding: 2rem;
                border-bottom: 3px solid var(--violet-valiha);
            }
            .nav-links.mobile-active { display: flex; }
            .nav-container .cta-button { display: none; }
            .contact-wrapper { grid-template-columns: 1fr; }
        }