body {
    background-image: linear-gradient(#041d43, #245592);
    background-attachment: fixed;
    font-family: Helvetica, serif;
    margin: 0;
    display: flex;
}

@font-face {
    font-family: 'microextendflf';
    src: url("fonts/MicroExtendFLF.woff2")format("woff2"),
         url("fonts/MicroExtendFLF.woff")format("woff");
    font-weight: normal;
    font-style: normal;
}

p {
    font-family: Helvetica, serif;
     font-size: 21px;   
}

h, h1, h2, h3, h4, h5, h6 {
    font-family: 'microextendflf', sans-serif;
     font-size: 21px;   
}


/* MENU GAUCHE */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background: #041d43;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}
.content {
    margin-left: 200px;
    flex: 1;
    padding: 40px;
}
/* Logo */
.logo img {
    width: 100%;
    max-width: 150px;
    display: block;
    margin: 0 auto 40px auto;
}

/* Liens */
.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    transition: 0.3s;
}

.menu a:hover {
    color: #00bfff;
}

/* Boutons bas */
.menu-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.contact {
    background: #00bfff;
    color: white;
}

.membre {
    background: #444;
    color: white;
}

/* Contenu */
.content {
    flex: 1;
    padding: 40px;
    color: #FFFFFF;
}

/* Contenu */
.tr {
    color: #FFFFFF;
}


/* ===== BOUTON MOBILE ===== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 28px;
    background: #111;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 1001;
}

/* Overlay sombre */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* ===== HEADER MOBILE ===== */
.mobile-header {
    display: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    body {
        display: block;
    }

    /* Cache le menu par défaut */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 2000;
        background: #041d43;
}
    

    /* Quand actif */
    .sidebar.active {
        transform: translateX(0);
    }

    /* Barre mobile */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #111;
        color: white;
        z-index: 1500;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        background: rgba(0,0,0,0.5);
        z-index: 1400;
    }

    .overlay.active {
        display: block;
    }

    /* Contenu prend toute la largeur */
    .content {
        margin-left: 0;
        padding: 80px 20px 20px 20px;
    }
    .menu-toggle {
    display: block;
    position: absolute;
    left: 15px;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
}