@media screen and (max-width: 800px) {

    :root {
        --cube-height: 60vh !important;
        --cube-width: calc(var(--cube-height) * 0.7) !important;
        --half: calc(var(--cube-width) / 2) !important;
    }

    body {
        overflow: auto !important;   /* 🔥 débloque le scroll */
        height: auto !important;
    }

    .burger {
        display: block;
       /* margin-bottom: 40px; */
    }

    #bulletin {
        flex-direction: column !important;
        height: auto !important;
        align-items: center !important;
    }

    .menulateral {
        display: none !important;
        width: auto !important;
        align-self: flex-start !important;
    }

    .menulateral ul {
        text-align: left !important;
        gap: 5px;
    }

    .menulateral.show {
        display: block !important;
    }

    .menulateral .menu_icone {
        display: block;
        margin-bottom: 5px; /* espace entre l'image et la liste */
    }

    .scene {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 40px;
    }   

    .cube__face img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #000;
    }

    #navArrows {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: var(--cube-width);     /* 🔥 même largeur que le cube */
        display: flex;
        justify-content: center;      /* 🔥 centré sous le cube */
        gap: 80px;
        margin-top: 20px;
        position: relative;
    }

    .arrow {
        font-size: 32px;          /* 🔥 plus petites */
        color: #66b3ff;           /* 🔥 bleu clair */
        cursor: pointer;
        user-select: none;
        transition: transform 0.2s;
    }

    .arrow:hover {
        transform: scale(1.15);
    }


}
