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

.texte-verticale-graphisme {
    font-family: 'Mukta';
    font-weight: 800;
    font-size: 139px;
    -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; 
    position: absolute;
    right: -27px;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

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

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

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

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

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

.charte-perso {
    grid-column: 7 / span 4;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; 
    aspect-ratio: 416/234; 
    margin-top: 400px;
    border: #8889ac 1px solid;
    display: none;
}

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

.charte-perso:hover img {
    transform: scale(1.1);
}

.charte-perso::before {
    content: "Charte graphique";
    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;
}

.charte-perso:hover::before {
    transform: translateY(0);
}