.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    padding: 32px;
    justify-items: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-footer);
}

.hero__content {
    position: relative;
    justify-items: center;
    width: 50%;
}

.hero__content h1 {
    font-weight: 500;
    font-size: 48px;
    margin-bottom: 32px;
}

.hero__content h1 em {
    background: linear-gradient(90deg, var(--color-red-dark), var(--color-red), var(--color-orange));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: bold;
}

.hero__content p {
    font-weight: bold;
    font-size: 24px;
}

.origin {
    justify-items: center;
    width: 50%;
    margin: 5.5rem auto;
}

.origin p {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.goal {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 5.5rem auto;
    padding: 0 6rem 3.5rem 6rem;
}

.goal__text {
    width: 70%;
    padding: 2rem 0 2rem 2rem;
}

.goal__image {
    display: flex;
}

.goal__image img {
    max-width: 100%;
}

.goal__text p {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.25rem;
}

.representation {
    position: relative;
    margin: 2.5rem auto;
    padding: 3rem 6rem;
    overflow: hidden;
    border-radius: 24px;
}

.representation__inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 3.5rem;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.representation__shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.representation__shape--top {
    background-color: var(--color-cream);
    clip-path: polygon(0 0, 100% 0%, 100% 60%, 0 40%);
}

/* La forme du dessus, plus foncée et plus étroite, légèrement décalée */
.representation__shape--bottom {
    background-color: var(--color-peach);
    clip-path: polygon(0 40%, 100% 60%, 100% 100%, 0 100%);
}

.representation__text {
    width: 70%;
    padding: 2rem 0 2rem 2rem;
}

.representation__image {
    display: flex;
}

.representation__image img {
    max-width: 100%;
}

.representation__text p {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.25rem;
}

@media (max-width: 1439px) {
    .goal {
        padding: 3rem 3rem;
    }

    .goal__text {
        padding: 0;
    }

    .representation {
        padding: 3rem 3rem;
    }

    .representation__text {
        padding: 0;
    }
}

@media (max-width: 1023px) {
    .goal {
        flex-wrap: wrap-reverse;
        padding: 16px;
    }

    .goal__text {
        width: 100%;
    }

    .representation {
        padding: 16px;
    }

    .representation__inner {
        flex-wrap: wrap-reverse;
    }

    .representation__text {
        width: 100%;
    }

    .hero__content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        border-radius: 0 0 24px 24px;
        padding: 32px;
    }

    .origin {
        width: 100%;
        margin: 5.5rem 2.5rem;
        max-width: fit-content;
    }

    .goal {
        flex-wrap: wrap-reverse;
        padding: 16px;
        margin: 5.5rem 24px;
    }

    .goal__text {
        width: 100%;
    }

    .representation {
        padding: 16px;
        margin: 5.5rem 24px;
    }

    .representation__inner {
        flex-wrap: wrap-reverse;
    }

    .representation__text {
        width: 100%;
    }
}