main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


h1 {
    font-size: 4.8rem;
    font-weight: 700;
    text-align: center;
    text-wrap: pretty;
    margin: 1em 0;
    color: #fff;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
    /*temp*/
}

main h2 {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin: 1em 0;
}

main h3 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1em;
}

section.section {
    min-height: calc(100vh - var(--header-hauteur));
    width: 100%;
    position: relative;
    padding: 20px 40px;
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    align-items: center;
    justify-content: flex-start;
}

main p {
    font-size: 1.8rem;
    font-weight: 400;
}

.media-overlay {
    height: calc(100vh - var(--header-hauteur));
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 4rem;
    justify-content: space-around;
    z-index: 0;
    background-color: rgba(198, 210, 84, 0.3);
}

.hero-banner__texte {
    background-color: rgba(255, 255, 255, .95);
    padding: 2em;
    margin: auto 3em;
}

.hero-banner__texte p {
    font-size: 1.8rem;
    line-height: 1.8;
}

.media-container {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: calc(100vh - var(--header-hauteur));
}

.hero-banner__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}


/*  ----------------------------- LISTE ----------------------------- */
ol {
    padding-left: 1em;
}

.hr-list {
    /* background-color: #c6d204; */
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}


.list__subtitle {
    text-align: center;
    color: #000;
    margin-bottom: 2em;
}


.hr-list__container {
    font-size: 1.8rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8rem;
    margin-bottom: 5rem;
}

.hr-list__container .list {
    flex-basis: 43%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.hr-list__container li {
    padding: 0px 0px 13px 9px;
    border-bottom: 1px solid #000;
    margin-bottom: 13px;
    width: 100%;
}

.list__images {
    flex-basis: 43%;
    aspect-ratio: 1.3/1;
    overflow: hidden;
    background-color: transparent;
}

.list__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.context {
    background-color: #c6d204;
}

.context .hr-list__container {
    flex-direction: row-reverse;
}

.avantages {
    background-color: #F7C128;
}

.avantages .hr-list__container {
    flex-direction: row-reverse;
}

.conclusion {
    background-color: #fff;
    justify-content: flex-start;
    align-items: unset;
    flex-direction: column;
}

.conclusion p {
    padding-bottom: 1em;
}

.conclusion__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2em;
}


/* couleurs LVH*/
.cas-lvh h1 {
    color: #fff;
}

.cas-lvh .list__title {
    color: #000;
}

.cas-lvh .media-overlay {
    background-color: rgba(198, 210, 84, 0.3);
}

.cas-lvh .hero-banner__texte {
    background-color: rgba(255, 255, 255, .95);
}

.cas-lvh .hr-list {
    background-color: #fff;
}

.cas-lvh .list__subtitle {
    color: #000;
}

.cas-lvh .hr-list__container li {
    color: #000;
}

.cas-lvh .context {
    background-color: #c6d204;
}

.cas-lvh .avantages {
    background-color: #F7C128;
}

.cas-lvh .conclusion {
    background-color: #c6d204;
}

/* ------------------------------------------ */
/* odocar */
.cas-odocar h1 {
    color: #fff;
}

.cas-odocar .list__title {
    color: #000;
}

.cas-odocar .media-overlay {
    background-color: rgba(0, 204, 151, 0.2);
}

.cas-odocar .hero-banner__texte {
    background-color: rgba(255, 255, 255, .95);
}

.cas-odocar .hr-list {
    background-color: #fff;
    flex-direction: column;

}

.cas-odocar .list__subtitle {
    color: #000;
}

.cas-odocar .hr-list__container li {
    color: #000;
    border: none;
    padding: 0;
}

.cas-odocar .hr-list__container .list-item {
    display: flex;
    justify-content: center;
    gap: 8rem;
}

.cas-odocar .hr-list__container .list-item:nth-child(even) {
    flex-direction: row-reverse;
}

.cas-odocar .hr-list__container .list {
    flex-basis: unset;
}

.cas-odocar .context {
    background-color: rgb(0, 204, 151);
}

.cas-odocar .impact {
    background-color: #F7C128;
}

.cas-odocar .impact .list__subtitle {
    text-align: unset;
    margin-bottom: 1.3em;
}

.cas-odocar .hr-list.solution {
    height: 100%;
}

.cas-odocar .conclusion {
    /* background-color: rgba(0, 204, 151, .8); */
    background-color: #fff;
}



/* ------------------------------------------ */



/* Media Queries */

@media screen and (max-width: 1489px) {
    .cas-odocar .hr-list__container {
        justify-content: center;
    }

    .cas-odocar .hr-list__container .list-item {
        gap: 4rem;
    }

    .cas-odocar .list__images {
        flex-basis: unset;
    }
}






@media screen and (max-width: 1139px) {
    section.section {
        min-height: calc(100vh - var(--header-hauteur));
        height: fit-content;
    }
}

@media screen and (max-width: 1023px) {
    h1{
        margin-top: 0;
        font-size: 3.6rem;
    }
    main h2{
        font-size: 2.4rem;
    }

    .cas-odocar .hr-list__container {
        justify-content: unset;
    }

    .hr-list__container {
        gap: 4rem;
    }


}

@media screen and (max-aspect-ratio: 1/1) {
    section.section {
        min-height: calc(100vh - var(--header-hauteur));
        flex-direction: column;
    }

    .hr-list__container {
        gap: 4rem;
    }

    .hr-list__container .list {
        margin-top: 0;
    }


    .list__images {
        flex-basis: 80%;
    }

    .list__images {
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 900px) {
    section.section {
        padding: 20px 25px;
    }

    .hero-banner__texte {
        margin: 0;
        text-wrap: pretty;
    }
    .hr-list__container {
        width: 100%;
    }
    .hr-list__container .list {
        flex-basis: 90%;
    }

    .list__images {
        aspect-ratio: 4/3;
        flex-basis: 90%;
    }
}

@media screen and (max-width: 800px){
    .cas-odocar .hr-list__container .list-item, .cas-odocar .hr-list__container .list-item:nth-child(even){
        flex-direction: column;
    }
}