body {
    margin: 0;
    font-family: Arial, sans-serif;
}
/* ===== LAYOUT DESKTOP ===== */
.layout {
    display: flex;
    align-items: flex-start;
}

/* MENU GAUCHE */
.menu {
    width: 15%;
    background: #000;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.menu a:hover {
    text-decoration: underline;
}

/* CONTENU */
.content {
    width: 85%;
    padding: 30px;
    box-sizing: border-box;
}

/* FOOTER */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 10px;
    flex-shrink: 0;
}

/* TITRE DU SITE */
.site-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
}
.diaporama {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.diaporama img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.accueil-texte {
    max-width: 800px;
    margin: auto;
    font-size: 16px;
    line-height: 1.5;
}
.menu-logo {
    padding: 10px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #111; /* optionnel pour ton menu noir */
}

.menu-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 320px;
    border-radius: 12px;
    position: relative;
    border: none;
    outline: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal.hidden {
    display: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}
.login-box {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* champs SPIP */
.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* bouton */
.login-box input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #111;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.login-box input[type="submit"]:hover {
    background: #333;
}

/* liens (mot de passe oublié etc.) */
.login-box a {
    font-size: 12px;
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #555;
}
.modal {
    background: rgba(0,0,0,0.7);
}

.login-box {
    background: #fff;
    border-radius: 15px;
    animation: pop 0.2s ease-in-out;
}

@keyframes pop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* =========================
   📱 RESPONSIVE MOBILE
   ========================= */
@media (max-width: 768px) {

    .layout {
        flex-direction: column;
    }

    .menu {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu a {
        display: inline-block;
        margin: 0;
        padding: 8px 10px;
        background: #111;
        border-radius: 5px;
    }

    .content {
        width: 100%;
        padding: 20px;
    }
}