/* ---------------- BANDEAU ET PRÉSENTATION ---------------- */
.presentationEntete {
    isolation: isolate;
    overflow: clip;
}

.presentationEntete .bandeauImage {
    object-position: center 8%;
}

.presentationEntete .componentBandeau {
    min-height: 82vh;
    min-height: 82svh;
    z-index: 1;
}

.presentationVolet {
    display: grid;
    grid-template-rows: minmax(0, var(--presentation-ouverture, 1fr));
    align-content: end;
}

.componentPresentation {
    position: relative;
    align-self: end;
    block-size: max-content;
    padding: 60px 0 50px;
    border-radius: 0 0 70px 70px;
    background-color: var(--color-green-400);
}

/* Prolonge le vert derrière les angles arrondis du bandeau. */
.componentPresentation::before {
    content: '';
    position: absolute;
    inset: -70px 0 auto;
    height: 70px;
    background-color: inherit;
    pointer-events: none;
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    .presentationVolet:not(.presentationVolet--ouverte) {
        --presentation-ouverture: 0fr;
        visibility: hidden;
    }

    /* Le navigateur ne doit pas compenser le déplacement de la section suivante. */
    main:has(.presentationVolet:not(.presentationVolet--ouverte)) {
        overflow-anchor: none;
    }
}

.componentPresentation .presentationIntroduction {
    max-width: 1106px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}

@media (width > 1700px) {
    .componentPresentation .presentationIntroduction {
        max-width: 1270px;
    }
}

.presentationPhrase {
    font-family: var(--font-title);
    font-size: var(--b1-bis);
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.presentationParagraphe p + p {
    margin-top: 16px;
}

@media (max-width: 992px) {
    .componentPresentation .presentationIntroduction {
        padding-inline: 30px;
    }
}

@media (max-width: 767px) {
    .presentationEntete .bandeauImage {
        object-position: center top;
    }

    .presentationEntete .componentBandeau {
        min-height: 466px;
    }

    .componentPresentation::before {
        top: -50px;
        height: 50px;
    }

    .componentPresentation {
        padding-block: 40px 30px;
        border-radius: 0 0 50px 50px;
    }
}


.componentPresentation--bleue {
    background-color: var(--color-blue-400);
}
