.hero {
    margin-top: 10rem;
    /* height: calc(100vh - 10rem); */
}
.h1__container {
    background-color: var(--color-back);
    padding: 4rem;
    position: relative;
}
h1 {
    color: var(--color-white);
    z-index: 1;
}
h1 .highlight {
    color: var(--color-front);
}
.h1__container svg {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    width: 13vw;
    height: auto;
}
.h2--home {
    font-size: var(--fs-h2);
    line-height: 0.9em;
    color: var(--color-p3);
}
/* .img__container {
    contain: size;
    overflow: hidden;
} */
.img__container {
    position: relative;
    overflow: hidden;
}
.img__container img {
    object-fit: cover;
    height: 100%;
}
.img__container p {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: var(--fs-900);
    font-family: var(--font-t);
    width: min-content;
    text-align: right;
    line-height: 1em;
}
.hero__text {
    grid-template-columns: 1fr 4fr 1fr;
}
.text__loin {
    background-color: var(--color-r1);
    color: var(--color-g3);
    padding: 2rem;
    position: relative;
}
.text__loin p a,
.text__button p a {
    font-size: var(--fs-700);
    line-height: 1.2em;
}
.text__loin p,
.text__button p {
    width: min-content;
}
.text__accroche {
    background-color: var(--color-y1);
    color: var(--color-p3);
    padding: 3rem;
}
.text__accroche p {
    font-size: var(--fs-800);
    line-height: 1.2em;
}
.text__button {
    background-color: var(--color-g1);
    color: var(--color-p3);
    padding: 2rem;
    position: relative;
}
.text__loin svg {
    position: absolute;
    bottom: 3.5rem;
    right: 2rem;
}
.text__button svg {
    position: absolute;
    top: 3.5rem;
    right: 2rem;
}
.imgFull {
    position: relative;
}
.imgFull__text {
    position: absolute;
    top: 4rem;
    left: 4rem;
    z-index: 1;
    height: calc(100% - 4rem);
}
.imgFull__text h2 {
    color: var(--color-white);
    font-size: 5.6rem;
}
.imgFull svg {
    position: absolute;
    bottom: 4rem;
    height: 5.6rem;
    width: auto;
    z-index: 1;
    left: 4rem;
}
.imgFull__text .highlight {
    color: var(--color-y1);
}
.imgFull:after {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 30%;
}
.programme h2 {
    font-size: var(--fs-h2);
}
.actes {
    /* grid-template-columns: 1fr 2fr; */
    column-count: 2;
}
.acte__container {
    padding: 4rem;
    background-color: var(--color-back);
    border-radius: var(--radius-root);
    margin-bottom: 1rem;
}
.acte__titre {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 5rem);
    line-height: 95%;
    max-width: 10ch;
    position: relative;
    z-index: 1;
}
.acte__titre svg path {
    fill: var(--color-white);
}
.acte__titre svg {
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% - 1rem);
    max-height: 3em;
    width: auto;
    z-index: -1;
    opacity: 0.5;
}
.acte__container:nth-of-type(even) .acte__titre svg{
    right: -4rem;
}
.acte__container {
    display: grid;
    gap: 2rem;
    height: fit-content;
    display: inline-block;
}
.acte__container p {
    font-size: 1.7rem;
    color: var(--color-white);
}
.acte__container p .highlight {
    background-color: var(--color-front);
}
.acte__button {
    padding: 2rem;
    background-color: var(--color-g1);
    border-radius: var(--radius-root);
}
.acte__button p     {
    font-family: var(--font-p--b);
    text-align: center;
    font-size: var(--fs-600);
    color: var(--color-p3);
}

.terrain__text {
    justify-content: space-between;
    align-items: center;
}
.terrain .social__social {
    font-size: 1.5rem;
}
.terrain__images {
    column-count: 3;
    column-gap: 1rem;
}
.terrain__images img {
    margin-bottom: 1rem;
    border-radius: var(--radius-root);
}
@media (max-width:1440px) {
    :root {
        --fs-900: 3rem;
        --fs-800: 2rem;
        --fs-700: 2rem;
        --fs-1000: 3rem;
        --fs-h2: 5rem;
        --fs-h3: 4rem;
    }
    .imgFull__text h2 {
        font-size: var(--fs-1000);
    }
    /* .actes {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    } */
    /* .acte__container {
        height: unset;
        grid-template-rows: subgrid;
        grid-row: span 3;
    } */
    .text__loin svg {
        width: 2em;
        bottom: 1rem;
    }
}
@media (max-width: 1280px) {
    .text__accroche {
        grid-column: span 2;
    }
    .text__button {
        grid-column: 3;
    }
    .text__button svg {
        top: 1rem;
        width: 2em;
    }
    .imgFull svg {
        width: 2em;
    }
}
@media (max-width: 960px) {
    :root {
        --fs-900: 2rem
    }
    .actes {
        column-count: 1;
    }
    .terrain__images {
        column-count: 2;
    }
    .grid--2-1 {
        grid-template-columns: 1fr 1fr;
    }
    .h1__container svg {
        width: 10vw;
    }
    .acte__titre {
        font-size: var(--fs-900);
    }
    .acte__container:nth-of-type(2n) .acte__titre svg {
        right: 0;
    }
    .imgFull__text h2 {
        font-size: var(--fs-900);
    }
    .imgFull svg {
        right: 2rem;
        left: unset;
    }
}
@media (max-width: 768px) {
    /* .actes {
        grid-template-columns: 1fr;
    } */
    .hero__slogan {
        grid-template-columns: 1fr;
    }
    .hero__text {
        grid-template-columns: 1fr;
    }
    .text__loin {
        width: fit-content;
        order: 2;
    }
}
@media (max-width: 550px) {
    :root {
        --fs-1000: 2.5rem;
        --fs-900: 1.8rem;
    }
    .h1__container {
        padding: 3rem;
    }
    .imgFull__text {
        top: 1rem;
        left: 1rem;
    }
    .terrain__text,
    .rejoindre__container {
        flex-direction: column;
    }
    .terrain__text h2 {
        align-self: flex-start;
    }
    .terrain__text .social {
        align-self: flex-end;
    }
}