:root {
    --bg-color: #f5f7fa;

    --primary-blue: #3B82F6;
    --primary-dark-blue: #1E3A8A;

    --primary-purple: #5839cd;
    --secondary-purple: #3e53bd;

    --accent-gold: #F59E0B;
    --accent-teal: #14B8A6;
    --accent-red: #ff3535;
    --accent-pink: #ff7eb3;
    --accent-purple: #a48fff;
    --accent-blue: #7eaaff;
    --accent-yellow: #fff9a4;
    --accent-orange: #efae57;

    --text-primary: #1e1c4e;
    --text-secondary: #4a4872;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --text-muted: #6B7280;

    --section-bg: #F9FAFB;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;

    --white: #ffffff;
    --light-gray: #f8f8f8;
    --dark-blue: #2c3e50;

    --bs-border-radius-pill: 4rem;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--card-bg);
    color: var(--text-primary);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-gradient {
    content: '';
    position: fixed;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    z-index: -2;
    background: radial-gradient(circle, var(--accent-pink), var(--accent-purple), var(--accent-blue), var(--accent-yellow));
    animation: rotate-gradient 30s linear infinite;
}
.blur-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(150px);
}
.shapes-container {
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    will-change: transform;
    opacity: 0.6;
    filter: blur(2px);
    pointer-events: none;
}

.shape1 { top: 10%; left: 5%; width: 15vw; max-width: 220px; animation: float 18s ease-in-out infinite alternate; }
.shape2 { top: 15%; left: 80%; width: 20vw; max-width: 300px; animation: pulse-float 20s ease-in-out infinite alternate-reverse; }
.shape3 { top: 70%; left: 10%; width: 12vw; max-width: 180px; animation: spin-float 22s linear infinite alternate; }
.shape4 { top: 80%; left: 60%; width: 18vw; max-width: 280px; animation: float 25s ease-in-out infinite; }
.shape5 { top: 5%; left: 40%; width: 10vw; max-width: 150px; animation: spin-float 15s linear infinite alternate; }
.shape6 { top: 50%; left: 50%; width: 8vw; max-width: 120px; animation: pulse-float 17s ease-in-out infinite reverse; }
.shape7 { top: 85%; left: 90%; width: 15vw; max-width: 220px; animation: float 21s ease-in-out infinite alternate-reverse; }
.shape8 { top: 40%; left: 5%; width: 12vw; max-width: 180px; animation: spin-float 28s linear infinite; }
.shape9 { top: -5%; left: 70%; width: 10vw; max-width: 150px; animation: pulse-float 16s ease-in-out infinite alternate; }

/* Navbar */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
            
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    margin-top: 0.75rem !important;
}

.dropdown-item {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    transition: all 0.2s ease-in-out;
}

.dropdown-item:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}
        
.dropdown-item.text-danger:hover {
    background-color: var(--accent-pink);
    color: var(--white);
}

.dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
/* */



.top-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}
.top-menu .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s ease;
    border-width: 2px;
}
.btn-contact {
    background-color: transparent;
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}
.btn-contact:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    color: white;
    transform: translateY(-2px);
}
.btn-login {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    color: white;
}
.btn-login:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.content-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1;
    padding: 2rem;
}
.content-card:hover { transform: scale(1.02); }
.content-card h1 { font-weight: 700; font-size: clamp(1.8rem, 7vw, 2.5rem); letter-spacing: -1px; color: var(--text-primary); }
.content-card p { font-weight: 400; font-size: clamp(1rem, 4vw, 1.1rem); line-height: 1.7; color: var(--text-secondary); }

.content-card.round {
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(169 169 169 / 70%);
    border-radius: 115px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.content-card.not-transform { transition: none; }
.content-card.not-transform:hover { transform: none; }

.logo-container .logo { height: clamp(45px, 10vw, 55px); pointer-events: none; }
.logo-container .logo-text { font-size: clamp(2rem, 8vw, 2.5rem); font-weight: 800; color: var(--text-primary); }

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block;
}
.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--text-primary);
}
        
.footer {
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.6;
    z-index: 1;
    text-align: center;
    padding: 1.5rem 0;
}


.maintenance-banner {
    background-color: #ffc107;
    color: #333;
    font-weight: 600;
    width: 100%;
    z-index: 1050;
    position: absolute;
    top: 0;
    left: 0;
}
header.banner-visible {
    padding-top: 30px!important;
}



@keyframes rotate-gradient { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0% { transform: translateY(0px) translateX(0px) rotate(-10deg); } 100% { transform: translateY(-40px) translateX(25px) rotate(15deg); } }
@keyframes spin-float { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(-25px) rotate(360deg); } }
@keyframes pulse-float { 0% { transform: scale(0.9) translateY(0px); opacity: 0.6; } 50% { transform: scale(1.05) translateY(-25px); opacity: 0.8; } 100% { transform: scale(0.9) translateY(0px); opacity: 0.6; } }
@media (max-width: 768px) {
    .shape4, .shape6, .shape9 { display: none; }
    .top-menu { top: 1rem; right: 1rem; }
    .top-menu .btn { padding: 0.3rem 1rem; font-size: 0.9rem; }
}

.hero-section {
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* --- Section Héros --- */
.shape-home { position: absolute; opacity: 0.05; filter: blur(10px); }
.shape1 { top: 10%; left: 5%; width: 15vw; animation: float 18s ease-in-out infinite alternate; }
.shape2 { top: 15%; left: 80%; width: 20vw; animation: pulse-float 20s ease-in-out infinite alternate-reverse; }
.shape3 { top: 70%; left: 10%; width: 12vw; animation: spin-float 22s linear infinite alternate; }
    
.hero-section .display-3 { font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.hero-section .lead { font-size: 1.25rem; color: rgba(255, 255, 255, 0.8); }
.hero-illustration { max-width: 100%; height: auto; animation: float-illustration 6s ease-in-out infinite alternate; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }

/* --- Bouton d'action principal --- */

.btn-danger {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-danger:hover {
    background-color: #e63946;
    border-color: #e63946;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--accent-gold);
    border: none;
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: #FBBF24;
    color: var(--text-dark);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

/* Bootstrap outline-light hover defaults to #000 — keep white on dark surfaces */
.btn-outline-light {
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.14);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.2);
    --bs-btn-active-border-color: #fff;
}

/* --- Styles généraux des sections --- */
.section-title { font-family: 'Inter', sans-serif; font-weight: 800; color: var(--text-dark); }
.card-feature {
    text-decoration: none; border: 1px solid var(--border-color);
    background-color: var(--card-bg); transition: all 0.3s ease; color: var(--text-dark);
}
.card-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
    border-color: var(--primary-blue);
}
.feature-icon {
    width: 60px; height: 60px; margin-bottom: 1.5rem;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
}
.commitment-card { background-color: var(--card-bg); border: 1px solid var(--border-color); }
.commitment-icon { font-size: 2rem; color: var(--primary-blue); }
.schedule-item { border-left: 3px solid var(--border-color); transition: border-color 0.3s ease; }
.schedule-item:hover { border-left-color: var(--accent-gold); }
.faq-accordion .accordion-button { font-weight: 600; color: var(--text-dark); }
.faq-accordion .accordion-button:not(.collapsed) { background-color: rgba(59, 130, 246, 0.1); color: var(--primary-blue); }
.team-card { border: none; transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-5px); }
.team-img { width: 120px; height: 120px; object-fit: cover; border: 4px solid var(--card-bg); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.partner-logo { max-height: 60px; filter: grayscale(100%); transition: filter 0.3s ease; opacity: 0.7; }
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }


/* --- SECTION STATS --- */
.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    text-align: center;
    border-radius: 1.5rem; /* rounded-4 */
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.stat-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}
.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--primary-blue);
}
.stat-label {
    font-weight: 600;
    color: var(--text-dark);
}

/* Animations */
@keyframes float-illustration { 0% { transform: translateY(0px); } 100% { transform: translateY(-20px); } }
@keyframes float { 0% { transform: translateY(0px) rotate(-10deg); } 100% { transform: translateY(-40px) rotate(15deg); } }
@keyframes spin-float { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(-25px) rotate(360deg); } }
@keyframes pulse-float { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(0.9); } }

@import url('components/global-nav.css');
/* Impersonation (site public) */
.impersonation-bar {
    position: relative;
    z-index: 1100;
    width: 100%;
    background: linear-gradient(90deg, #1e3a8a 0%, #3730a3 50%, #5b21b6 100%);
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.impersonation-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.84rem;
    font-weight: 600;
}
.impersonation-bar__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.4rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.impersonation-bar__text { flex: 1 1 220px; margin: 0; line-height: 1.4; }
.impersonation-bar__btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}
.impersonation-bar__btn:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
