.photo{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    padding: 100px 64px;
}

.texte-verticale-photo {
    font-family: 'Mukta';
    font-weight: 800;
    font-size: 106px;
    -webkit-text-stroke: 1px #8889ac;
    color: white;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-left: -12px;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    cursor: default; 
    margin-left: -20px;
    grid-column: 1;
    margin-left: -84px;
}

.paris {
    grid-column: 2 / span 3;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 304/540; 
    margin-top: 50px;
    border: #8889ac 1px solid;
}

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

.paris:hover img {
    transform: scale(1.1);
}

.paris::before {
    content: "Paris";
    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;
}

.paris:hover::before {
    transform: translateY(0);
}

.tour-de-france {
    grid-column: 5 / span 4;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 416/234; 
    margin-top: 50px;
    border: #8889ac 1px solid;
}

.tour-de-france img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tour-de-france:hover img {
    transform: scale(1.1);
}

.tour-de-france::before {
    content: "Tour de France";
    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;
}

.tour-de-france:hover::before {
    transform: translateY(0);
}

.tout-en-vrac {
    grid-column: 9 / span 4;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 416/234; 
    margin-top: 84%;
    border: #8889ac 1px solid;
}

.tout-en-vrac img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tout-en-vrac:hover img {
    transform: scale(1.1);
}

.tout-en-vrac::before {
    content: "Tout en vrac";
    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;
}

.tout-en-vrac:hover::before {
    transform: translateY(0);
}