main {
    background-color: #FFF7E6;
    padding-top: 90px;

    --mask-size: 150px;
    /* --mask-size: 165px; */
    --text-color: #FFFFFF;
}

.page-template-template-parcours main {
    max-width: 100% !important;
}

hr.spacer {
    height: 24px;
    background-color: #FFF7E6;
    color: #FFF7E6;
    position: relative;
    z-index: 2;
    border: none;
    margin: 0;
}

.fixed-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.section {
    position: relative;
    background-color: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
}

.section--beige {
    --background-color: #FFF7E6;
}

.section--green {
    --background-color: #ACCC55;
}

.section--purple {
    --background-color: #461C39;
    color: #FFFFFF;
}

.section--red {
    --background-color: #E3074D;
}

.section--yellow {
    --background-color: #FFB83D;
}

.text-color--green {
    --text-color: #ACCC55;
}

.text-color--yellow {
    --text-color: #FFB83D;
}

.text--bold {
    font-weight: 600;
}

.section--control .section__front-image {
    height: 433px;
    width: auto;
}

.section__front-image--opacity-light {
    opacity: 0.75;
}

.section__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(10px, 1fr);
    align-items: center;
    justify-content: center;
    position: relative;
}

.section__intro,
.section__content {
    background-color: var(--background-color);
    height: 100%;
    z-index: 2;
}

.section__mask-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.section__mask {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: relative;
    background-color: var(--background-color);
    mask-image: radial-gradient(circle var(--mask-size) at center,
            transparent 0,
            transparent 99%,
            black 100%);

    -webkit-mask-image: radial-gradient(circle var(--mask-size) at center,
            transparent 0,
            transparent 99%,
            black 100%);
}

.section__mask-background,
.section__front-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--mask-size) * 2);
}

.section__mask-background--on-top {
    z-index: 2;
}

.section__front-image {
    z-index: 2;
}

.section__sur-title {
    color: var(--text-color);
    font-weight: 600;
}

.section-image__image {
    width: 100%;
    height: 453px;
    background-image: url("assets/tapis-responsive.webp");
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 95dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("assets/ciel-responsive.webp");
    background-size: cover;
    background-position: center;
    padding: 0 25px;
    position: relative;
    border-radius: 15px;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: -66px;
    width: 100%;
    z-index: 3;
    background-image: url("assets/feuille-responsive.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
}

.hero__wrapper {
    max-width: 825px;
    margin: auto;
    z-index: 4;
    padding: 25px 0;
}

.hero__wrapper svg {
    margin-bottom: 25px;
}

.hero .hero__title {
    margin-top: 0;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.hero .hero__surtitle {
    font-size: 4rem;
    font-family: var(--e-global-typography-primary-font-family), sans-serif;
    line-height: 1;
    text-transform: none;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 25px;
    display: block;
}

.hero .hero__subtitle {
    font-size: 1.875rem;
    font-weight: 500;
}

.hero .hero__description {
    color: #FFFFFF;
    margin-bottom: 50px;
}

.fruit-switcher {
    display: inline-flex;
    gap: 5px;
    padding: 5px;
    border: 2px solid #FFFFFF;
    border-radius: 500px;
    height: 75px;
    align-items: center;
    background: transparent;
}

.fruit-switcher__option {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    font-size: 0.85rem;
    height: 65px;
    border: none;
    border-radius: 500px;
    background: transparent;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.fruit-switcher__option:hover {
    color: #FFFFFF;
}

.fruit-switcher__option--active {
    background: #FFFFFF;
    color: #7DA6C6;
}

.fruit-switcher__option--active:hover {
    color: #7DA6C6;
}

@media screen and (max-width: 766px) {
    .section__wrapper {
        padding: 0 25px;
        grid-template-rows: minmax(10px, max-content) calc((var(--mask-size) * 2) + 75px + 75px) minmax(10px, max-content);
    }

    .section__intro {
        padding-top: 50px;
    }

    .section__content {
        padding-bottom: 50px;
    }
}

@media screen and (min-width: 767px) {
    main {
        padding-left: 25px;
        padding-right: 25px;

        --mask-size: 225px;
    }

    .fixed-image {
        width: 280px;
    }

    .hero {
        background-image: url("assets/ciel-desktop.webp");
    }

    .hero::after {
        background-image: url("assets/feuille-desktop.webp");
    }

    .hero .hero__surtitle {
        font-size: 7.5rem;
    }

    .fruit-switcher__option {
        padding: 0 36px;
        font-size: 1.25rem;
    }

    .section--control .section__front-image {
        height: 580px;
    }

    .section__wrapper {
        min-height: 95dvh;
        grid-template-columns: minmax(10px, 1fr) calc((var(--mask-size) * 2) + 75px + 75px) minmax(10px, 1fr);
        padding: 0 25px;
    }

    .section__intro,
    .section__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 25px 0;
    }

    .section-image__image {
        height: 618px;
        background-image: url("assets/tapis-desktop.webp");
        background-size: cover;
        background-position: center;
    }

}