/* ----- GLOBAL ----- */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background-color: #f5f5f7;
    color: #0a0a0a;
}

/* ===== MENU NAVIGATION ===== */
.header {
    width: 100%;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 9999; /* toujours au-dessus des autres éléments */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optionnel : ombre pour mieux voir le header */
}

.nav-menu {
    display: flex;
    gap: 20px;
    transform: translateX(-50px); /* déplace vers la gauche */
}

.nav-btn {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.3s ease;

}

.nav-btn:hover {
    background-color: #000;
    color: #fff;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}
/* ----- BUTTONS ----- */
.btn-primary {
    background: #0a0a0a;
    color: white;
    padding: 14px 26px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.8;
}
.legal-main {
    max-width: 1000px;
    margin: 140px auto 60px;
    padding: 0 20px;
    color: #0a0a0a;
    line-height: 1.7;
    font-size: 16px;
}

.legal-main h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #0a0a0a;
}

.legal-main h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0a0a0a;
    border-left: 5px solid #0a0a0a;
    padding-left: 10px;
}

.legal-main p, .legal-main li {
    margin-bottom: 15px;
    color: #0a0a0a;
}

.legal-main ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-main a {
    color: #0a0a0a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-main a:hover {
    color: #F0E6F2;
}

@media (max-width: 768px) {
    .legal-main {
        margin: 120px 15px 40px;
    }

    .legal-main h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .legal-main h2 {
        font-size: 20px;
        margin-top: 25px;
        padding-left: 8px;
    }

    .legal-main p, .legal-main li {
        font-size: 15px;
    }
}

/* ====== FOOTER ====== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #2c2b3a, #3f3d51);
    color: white;
    padding: 60px 40px 30px;
    margin-top: 120px;
    overflow: hidden;
}

.footer-bg-text {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    z-index: 2;
    position: relative;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-col p,
.footer-col a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.information {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-copy {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ===================== MOBILE MENU ===================== */
.burger {
    display: none;
}

@media (max-width: 768px) {

        /* Cacher menu desktop */
        .nav-menu {
            display: none;
        }

        
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 35px;
        height: 28px;
        cursor: pointer;
        background: transparent;
        border: none;
        z-index: 1000;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #0a0a0a;
        border-radius: 5px;
    }

    /* HEADER aligné burger + logo */
    .header {
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 20px;
    }

    /* MENU MOBILE MODERNE */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0; 
        transform: translateX(-100%);
        width: 180px;
        height: 100vh;
        background: #fff;
        padding: 50px 15px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: 10000;
        box-shadow: 2px 0 20px rgba(0,0,0,0.15);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .mobile-menu a {
        color: #0a0a0a;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 0;
        transition: color 0.3s ease;
    }

    .mobile-menu a:hover {
        color: #F0E6F2;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.25);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
        z-index: 9998;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}