/* --- VARIABLES DE LA CHARTE GRAPHIQUE --- */
:root {
    --blue-dark: #024EA3;
    --blue-medium: #2275C5;
    --blue-light: #6EB0CA;
    --yellow-accent: #FFBF00;
    --off-white: #F1E8E1;
    --bg-light: #F4F8FB; 
}

/* --- RESET & CORRECTION DE L'OVERFLOW --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100vw; 
    overflow-x: hidden !important; 
    position: relative; 
}

body {
    color: var(--off-white); 
    background-color: #000000; 
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* --- ARRIÈRE-PLAN VIDÉO ET FILTRE COLORÉ --- */
.video-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    z-index: -1; 
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    pointer-events: none; 
    background: linear-gradient(
        180deg, 
        rgba(2, 78, 163, 0.95) 0%, 
        rgba(34, 117, 197, 0.75) 50%, 
        rgba(2, 78, 163, 0.95) 100%
    ); 
}

/* --- EN-TÊTE / NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 100;
}

.nav-left, .nav-right { flex: 1; }
.nav-left ul { display: flex; list-style: none; gap: 2rem; }
.nav-left a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}
.nav-left a:hover { color: var(--yellow-accent); }

/* MENUS DÉROULANTS */
.has-dropdown { position: relative; }
.submenu {
    position: absolute;
    top: calc(100% + 15px); 
    left: 0;
    background-color: var(--blue-dark); 
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.submenu::before { content: ""; position: absolute; top: -15px; left: 0; width: 100%; height: 15px; background-color: transparent; }
.submenu li { list-style: none; width: 100%; }
.submenu li a { padding: 0.8rem 1.5rem; display: block; font-size: 0.85rem; font-weight: 500; transition: all 0.2s ease; }
.submenu li a:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--yellow-accent); padding-left: 1.8rem; }
.has-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.arrow { display: inline-block; transition: transform 0.3s ease; font-size: 0.6rem;}
.has-dropdown:hover .arrow { transform: rotate(180deg); }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 10000; }
.hamburger .bar { width: 25px; height: 3px; background-color: var(--off-white); border-radius: 5px; transition: all 0.3s ease; }

.logo { display: flex; justify-content: center; align-items: center; flex: 0 1 auto; }
.logo img { height: 40px; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; }

.login-btn {
    display: inline-block; background-color: var(--yellow-accent); color: var(--blue-dark);
    padding: 0.6rem 1.5rem; border-radius: 20px; text-decoration: none; font-weight: 700;
    font-size: 0.9rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 191, 0, 0.2); white-space: nowrap;
}
.login-btn:hover { background-color: var(--off-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* --- SECTION PARTENAIRES (CONTENU) --- */
.partenaires-section {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 200px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 6rem 8rem 6rem;
}

.partenaires-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.icon-placeholder {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.partenaires-container h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.message-box {
    background: rgba(2, 78, 163, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.message-box h2 {
    font-size: 2rem;
    color: var(--yellow-accent);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.message-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--off-white);
    margin-bottom: 2.5rem;
}

.cta-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    margin-top: 1rem;
}

.cta-box p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-block;
    background-color: var(--off-white);
    color: var(--blue-dark);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-btn:hover {
    background-color: var(--yellow-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* --- ANIMATIONS CSS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE DESIGN (Mobiles & Tabs) --- */
@media screen and (max-width: 1024px) {
    .partenaires-container h1 { font-size: 3.5rem; }
    .navbar { padding: 2rem; }
    .partenaires-section { padding: 2rem 2rem 6rem 2rem; }
}

@media screen and (max-width: 768px) {
    .navbar { padding: 1.5rem; }
    
    .nav-left ul#nav-menu {
        position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
        background: rgba(2, 78, 163, 0.98); flex-direction: column; justify-content: center;
        align-items: center; gap: 3rem; transition: left 0.4s ease; z-index: 9999; 
        box-shadow: 2px 0 15px rgba(0,0,0,0.5); 
    }
    .nav-left ul.active { left: 0; }
    .hamburger { display: flex; }
    .hamburger.active { position: fixed; top: 2rem; left: 1.5rem; }
    .hamburger.active .bar { background-color: var(--yellow-accent); } 
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .submenu {
        position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
        background-color: transparent; padding: 0; margin-top: 1rem; display: none; 
    }
    .submenu::before { display: none; }
    .has-dropdown.open .submenu { display: flex; }

    .logo img { height: 30px; }
    .nav-right { gap: 0.8rem; }
    .login-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

    /* Ajustements Partenaires Mobile */
    .partenaires-section { padding: 2rem 1.5rem 4rem 1.5rem; }
    .icon-placeholder { font-size: 3.5rem; }
    .partenaires-container h1 { font-size: 2.5rem; margin-bottom: 2rem;}
    
    .message-box { padding: 2rem 1.5rem; }
    .message-box h2 { font-size: 1.5rem; }
    .message-box p { font-size: 1rem; }
    
    .contact-btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
}

/* --- FOOTER STYLÉ --- */
.site-footer {
    background-color: var(--blue-dark);
    padding: 3rem 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.footer-content { max-width: 1200px; width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-socials { display: flex; gap: 2.5rem; }
.social-link { display: flex; align-items: center; gap: 0.6rem; color: var(--off-white); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;}
.social-link:hover { color: var(--yellow-accent); transform: translateY(-3px); }
.footer-copyright { color: rgba(241, 232, 225, 0.7); font-size: 0.85rem; font-weight: 400; text-align: right; }

@media screen and (max-width: 768px) {
    .site-footer { padding: 2.5rem 1.5rem; }
    .footer-content { flex-direction: column; text-align: center; justify-content: center; gap: 1.5rem; }
    .footer-socials { flex-direction: column; gap: 1.2rem; align-items: center; }
    .footer-copyright { text-align: center; margin-top: 1rem; }
}