
@media (max-width: 925px) {
    .logo {
        display : none;
    }
    .burger {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 60px;
        background: #ffffff;
        width: 70%;
        max-width: 250px;
        padding: 20px;
        box-shadow: -2px 4px 10px rgba(0,0,0,0.1);

        display: none;
    }

    .menu.open {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .menu a {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px;
    }
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .submenu {
        position: static;   /* Reprend sa place normale */
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;      /* Toujours caché par défaut */
    }

    .has-submenu:hover .submenu {
        display: block;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-right {
        flex-direction: column;
        gap: 8px;
    }

    /*  REMPLACE GRID PAR FLEX sur mobile */
    .val-row {
        display: flex !important;  /* Override le grid */
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        overflow: visible !important;  /* NE PAS CACHER */
    }

    .val-row > div {
        width: 100%;
        overflow: visible;  /* NE PAS CACHER */
    }

    /* Labels pour mobile */
    .val-name::before {
        content: "Membre : ";
        font-weight: bold;
        color: #666;
    }

    .val-statut::before {
        content: "Statut : ";
        display: block;
        font-weight: bold;
        color: #666;
        margin-bottom: 4px;
    }

    .val-remarque::before {
        content: "Remarque : ";
        display: block;
        font-weight: bold;
        color: #666;
        margin-bottom: 4px;
    }

    .val-validate {
        width: 100%;
    }

    .val-btn-validate {
        width: 100% !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 40px !important;
        padding: 10px !important;
    }
}
