.disp {
    display: flex;
    height: 50vh;

}
main {
    background-color: white;
    margin: 0% 0%;
    padding: 0px;
}

.desc {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.annim {
    width: 60%;
    height: 100%; /* hauteur fixe = indispensable */
    position: relative;
    overflow: hidden; /* empêche tout dépassement */
}

.annim img,
.annim model-viewer {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#suiv {
    display: flex;
    justify-content: space-between;
}

#suiv a {
  color: rgb(0, 0, 0);
  text-decoration: underline;
  text-decoration-color: rgb(0, 0, 0);
  font-size: 1.7rem;
}

#p3 {
    height: 70vh;
    display: flex;
}


#av {
    display: flex;

}





.g2 {
    width: 50%;
    height: 25rem;
    background-color: #89d2ea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}

.g2 h2 {
    text-align: center;
}

.d2 {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}
.d2 p {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}



@media (max-width: 720px) {
    .disp {
        flex-direction: column;
        height: auto;
    }

    .desc {
        width: 100%;
        height: auto;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .annim {
        width: 100%;
        height: 60vh;
    }

    .annim model-viewer {
        width: 100%;
        height: 100%;
    }
    .g2, .d2{
        width: 100%;
    }
    #suiv a {
        font-size: 1.3rem;
    }

    #av {
        flex-direction: column;
    }



}