.web {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    padding: 100px 64px;
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

.texte-verticale-web {
    font-family: 'Mukta';
    font-weight: 800;
    font-size: 353px;
    -webkit-text-stroke: 1px #8889ac;
    color: white;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    cursor: default; 
    position: absolute;
    right: -71px;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.mmi-pret {
    grid-column: 2 / span 4;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 416/234; 
    margin-top: 75px;
    border: #8889ac 1px solid;
}

.mmi-pret img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mmi-pret:hover img {
    transform: scale(1.1);
}

.mmi-pret::before {
    content: "Site MMI prêt";
    font-family: 'Mukta';
    font-size: 18px;
    font-weight: 300;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(
        to top,
        #8889ac 0%,
        #8889ac02 100%
    );
    color: white;
    transform: translateY(100%);
    transition: transform 0.8s ease;
    font-size: 1.5rem;
    z-index: 1;
}

.mmi-pret:hover::before {
    transform: translateY(0);
}

.recyle-et-vous {
    grid-column: 6 / span 4;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 416/234; 
    margin-top: 400px;
    border: #8889ac 1px solid;
}

.recyle-et-vous img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.recyle-et-vous:hover img {
    transform: scale(1.1);
}

.recyle-et-vous::before {
    content: "Site Recycle&vous";
    font-family: 'Mukta';
    font-size: 18px;
    font-weight: 300;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(
        to top,
        #8889ac 0%,
        #8889ac02 100%
    );
    color: white;
    transform: translateY(100%);
    transition: transform 0.8s ease;
    font-size: 1.5rem;
    z-index: 1;
}

.recyle-et-vous:hover::before {
    transform: translateY(0);
}