* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* PROJECT BANNER */
.project-banner {
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 8%;
    background: #0f172a;
    position: relative;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #3b82f6;
    display: flex;            /* pour centrer verticalement */
    align-items: center;      /* centre verticalement */
    justify-content: center;  /* centre horizontalement */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    display: flex;            /* pour centrer verticalement */
    align-items: center;      /* centre verticalement */
    justify-content: center;  /* centre horizontalement */
}

.nav-links li {
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.nav-links li:hover {
    color: #3b82f6;
}

/* HERO */
.hero {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #0f172a, #1e3a8a, #2563eb, #1e40af);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    opacity: 0.8;
    font-size: 1.2rem;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    width: 100%;
    background: #111827;
    top: 80px;
    left: 0;
    padding: 50px 10%;
    display: none;
    animation: fadeIn 0.3s ease forwards;
    z-index: 999;
}

.mega-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.mega-column h3 {
    color: #3b82f6;
    margin-bottom: 20px;
}

.mega-column a {
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: 0.3s;
}

.mega-column a:hover {
    opacity: 1;
    transform: translateX(5px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STATS SECTION ===== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat {
    padding: 60px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.stat p {
    opacity: 0.7;
}

.stat:hover {
    background: rgba(59,130,246,0.05);
    transition: 0.3s;
}

.account {
    background: linear-gradient(-45deg,#1e3a8a, #2563eb, #1e40af);
    border-radius: 12px;
    padding: 10px;           /* espace autour du texte */
    text-align: center;       /* centre horizontalement */
    color: white;             /* pour que le texte ressorte */
    display: flex;            /* pour centrer verticalement */
    align-items: center;      /* centre verticalement */
    justify-content: center;  /* centre horizontalement */
}

.footer {
    background: #0c0620;
    color: #cfcde7;
    padding: 60px 40px 30px;
    font-family: "Segoe UI", sans-serif;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #9b97c9;
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.logo {
    background: white;
    color: #0c0620;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: bold;
}

.footer-legal {
    text-align: center;
    margin-bottom: 15px;
}

.footer-legal a {
    margin: 0 10px;
    text-decoration: none;
    color: #8c88b7;
    font-size: 13px;
}

.footer-legal a:hover {
    color: white;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #6f6a9c;
}