/* --- 1. CONFIGURATION GÉNÉRALE --- */
@import url('https://fonts.googleapis.com');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. NAVIGATION & LOGO TEXTE --- */
.navbar {
    padding: 15px 0;
    background-color: #121416 !important;
    border-bottom: 1px solid #252525;
    transition: all 0.4s ease;
    z-index: 1050;
    overflow: visible !important; 
}

.navbar-brand {
    font-weight: 300;
    letter-spacing: 0.4em;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
}

.nav-link {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin: 0 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6) !important;
    position: relative;
    padding-bottom: 8px !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
}

/* --- 3. SOUS-MENU (AU CLIC) --- */
.dropdown-saota {
    position: static; 
}

.dropdown-content-horizontal {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #121416;
    display: none; /* Activé par la classe .show via JS */
    padding: 25px 0;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
    z-index: 1000;
}

.dropdown-content-horizontal.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.submenu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.submenu-list li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.submenu-list li a:hover {
    color: #ffffff;
}

/* --- 4. CARROUSEL --- */
.carousel-item {
    height: 100vh;
    min-height: 500px;
    background-position: center;
    background-size: cover;
}

.carousel-caption h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 200;
    letter-spacing: 12px;
    text-transform: uppercase;
}

/* --- 5. FOOTER (HARMONISÉ) --- */
.footer {
    background-color: #0d0d0d !important;
    border-top: 1px solid #252525;
    padding: 80px 0 40px; /* Plus d'espace pour un look premium */
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff !important;
}

.footer h5 {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #ffffff;
}

/* --- 6. RESPONSIVITÉ --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #121416;
        padding: 20px;
        border-top: 1px solid #252525;
    }

    .dropdown-content-horizontal {
        position: static;
        border: none;
        padding: 15px 0;
    }

    .submenu-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-link::after {
        display: none !important;
    }
}

/* --- STYLE NUMÉRO MENU --- */
.nav-phone-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 500;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
