.text-image {
    margin: 56px auto !important;
}

@media screen and (min-width: 768px) {
    .text-image {
        margin: 112px auto !important;
    }
}

.text-image.bg {
    background-color: var(--grey);
    padding: 56px 16px;
    margin: 0 auto !important;
}

@media screen and (min-width: 768px) {
    .text-image.bg {
        padding: 112px 16px;
    }
}

.text-image.bg-gl {
    background-color: var(--green-light);
    padding: 56px 16px;
    margin: 0 auto !important;
}

@media screen and (min-width: 768px) {
    .text-image.bg-gl {
        padding: 80px 16px;
    }
}

.text-image.bg-gf {
    background-color: var(--green-dark);
    padding: 56px 16px;
    margin: 0 auto !important;
}

@media screen and (min-width: 768px) {
    .text-image.bg-gf {
        padding: 80px 16px;
    }
}

.text-image.bg-gf .highlight {
    border-color: var(--white);
}

.text-image.bg-gf .text-content .uptitle {
    color: var(--green-light);
}
.text-image.bg-gf .text-content h3, .text-image.bg-gf .text-content h2, .text-image.bg-gf .text-content p, .text-image.bg-gf .text-content li {
    color: var(--white);
}

@media screen and (min-width: 768px) {
    .text-image.reverse .text-image--container {
        flex-direction: row-reverse;
    }
}

.text-image--container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 768px) {
    .text-image--container {
        flex-direction: row;
        justify-content: space-between;
        align-content: stretch;
        flex: 1 1 50%;
        height: 100%;
    }
}

@media screen and (min-width: 768px) {
    .text-image--content {
        flex: 1 1 50%;
        height: 100%;
        padding: 64px 0;
        align-self: center;
    }
}

@media screen and (min-width: 1280px) {
    .text-image--content {
        flex: 0 0 660px;
    }
}

.text-image--content h3+p:not(.uptitle) {
    margin-top: 32px;
}

.text-image--content h2+p:not(.uptitle) {
    margin-top: 32px;
}

.text-image--content .highlight {
    padding-left: 32px;
    border-left: 3px solid var(--green-dark);
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
}

.text-image--content p:not(.uptitle)+ul {
    margin-top: 0;
}

.text-image--content ul {
    padding-left: 16px;
}

.text-image--content ul li {
    list-style-type: disc;
}

.text-image--image {
    height: 380px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .text-image--image {
        flex: 1 1 50%;
        height: unset;
    }
}

@media screen and (min-width: 1280px) {
    .text-image--image {
        flex: 0 1 500px;
    }
}

.text-image--image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.text-image .keynumbers--container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    row-gap: 40px;
    margin-top: 56px;
}

@media screen and (min-width: 1024px) {
    .text-image .keynumbers--container {
        margin-top: 112px;
    }
}

.text-image .keynumbers--container .feuille {
    position: absolute;
    left: -157px;
    top: -205px;
    height: 235px;
    width: 217px;
    object-fit: contain;
}

@media screen and (min-width: 1024px) {
    .text-image .keynumbers--container .feuille {
        height: 432px;
        width: 398px;
        left: -356px;
        top: -298px;
    }
}

.text-image .keynumbers--item {
    display: flex;
    flex-direction: column;
    flex: 1 1 280px;
    max-width: 394px;
}

@media screen and (min-width: 1024px) {
    .text-image .keynumbers--item {
        flex-direction: row;
        gap: 24px;
        flex: 1 1 340px;
    }
}

.text-image .keynumbers--item .key-number {
    font-family: var(--kanit);
    font-size: 72px;
    font-style: italic;
    font-weight: 900;
    line-height: 100%;
    text-transform: uppercase;
    flex-shrink: 0;
}

@media screen and (min-width: 1024px) {
    .text-image .keynumbers--item .key-number {
        top: -32px;
        position: relative;
    }
}

.text-image .keynumbers--item .key-number.visible .char {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.text-image .keynumbers--item .key-number .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotate(5deg);
    background: radial-gradient(109.32% 37.37% at 50.01% 50.02%, #328269 20%, #285041 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.text-image .keynumbers--item .key-number .char.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.text-image .keynumbers--item .key-number .char:last-child {
    padding-right: 3px;
}

.text-image .keynumbers--item .key-content h3 {
    color: var(--black);
    font-family: var(--asap);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-transform: none;
}

.text-image .keynumbers--item .key-content p {
    color: var(--green-dark);
    font-size: 14px;
}