
.pageHistorique{
    position: relative;
}

.pageHistorique::after{
    content: '';
    position: absolute;
    top: -32px;
    right: 0px;
    transform: translate(0, 0);
    display: block;
    width: 35%;
    height: auto;
    aspect-ratio: 670/720;
    background-image: url('/wp-content/themes/ardevie/img/ellipse-page-historique.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

@media (max-width: 992px) {
    .pageHistorique::after{
        display: none;
    }
}

/* -------------------------- HEADER -------------------------- */

.pageHistorique .header{
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.pageHistorique .header .titre{
    font-size: 48px;
    line-height: 1.2em;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 600px;
}

.pageHistorique .header .titre strong{
    font-weight: 500;
    color: var(--color-secondary);
}

.pageHistorique .header .paragraphe{
    max-width: 900px;
    margin-bottom: 64px;
}

.pageHistorique .header .imgContainer{
    position: relative;
    aspect-ratio: 1920/700;
    width: 100%;
    height: auto;
    display: block;
}

.pageHistorique .header .imgContainer::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,rgba(46, 103, 215, 1) 0%, rgba(46, 103, 215, 1) 10%, rgba(255, 255, 255, 0) 60%);
}

.pageHistorique .header .imgContainer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1600px) {
    .pageHistorique .header .titre{
        font-size: 40px;
        margin-bottom: 25px;
    }
}

@media (max-width: 992px) {
    .pageHistorique .header .titre{
        font-size: 30px;
        max-width: none;
    }
    .pageHistorique .header .paragraphe{
        max-width: none;
        margin-bottom: 45px;
    }
    .pageHistorique .header .imgContainer{
        aspect-ratio: 414/296;
    }
}

/* -------------------------- SECTIONS -------------------------- */

.pageHistorique .sections{
    background: var(--color-secondary);
    padding-block: 65px 150px;
    position: relative;
    overflow: hidden;
}

.pageHistorique .sections .container{
    max-width: 1380px;
}

.pageHistorique .sections .sectionsContainer{
    display: flex;
    flex-direction: column;
    gap: 140px;
    padding-left: 80px;
    position: relative;
}

.pageHistorique .sections .line{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 1px;
    height: 100%;
    background: var(--color-quaternary);
}

.pageHistorique .sections .lineCursor{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 45px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='44.902' height='25.12' viewBox='0 0 44.902 25.12'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Cpath id='Tracé_193' data-name='Tracé 193' d='M1.979,20.889c5.6,11.191,18.152,7.029,18.152,7.029C20.336,19.251,6.073,14.269,0,12.7c0,0,.2,4.913,1.979,8.19' transform='translate(0 -12.699)' fill='none'/%3E%3C/clipPath%3E%3CclipPath id='clip-path-2'%3E%3Cpath id='Tracé_242' data-name='Tracé 242' d='M36.3,28.617s12.556,4.163,18.152-7.029C56.225,18.312,56.43,13.4,56.43,13.4c-6.073,1.57-20.336,6.552-20.131,15.218' transform='translate(-36.297 -13.399)' fill='none'/%3E%3C/clipPath%3E%3CclipPath id='clip-path-3'%3E%3Ccircle id='Ellipse_19' data-name='Ellipse 19' cx='8.052' cy='8.052' r='8.052' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Groupe_3402' data-name='Groupe 3402' transform='translate(-2388 -6981.781)'%3E%3Cg id='Groupe_3405' data-name='Groupe 3405' transform='translate(2388 6990.448)'%3E%3Cg id='Groupe_652' data-name='Groupe 652' clip-path='url(%23clip-path)'%3E%3Crect id='Rectangle_309' data-name='Rectangle 309' width='20.472' height='20.472' transform='translate(0 -0.621)' fill='%2300b7de'/%3E%3C/g%3E%3C/g%3E%3Cg id='Groupe_3406' data-name='Groupe 3406' transform='translate(2412.769 6990.925)' clip-path='url(%23clip-path-2)'%3E%3Crect id='Rectangle_333' data-name='Rectangle 333' width='20.472' height='20.472' transform='translate(-0.203 -0.417)' fill='%2300b7de'/%3E%3C/g%3E%3Cg id='Groupe_3407' data-name='Groupe 3407' transform='translate(2402.604 6981.781)'%3E%3Cg id='Groupe_658' data-name='Groupe 658' clip-path='url(%23clip-path-3)'%3E%3Crect id='Rectangle_312' data-name='Rectangle 312' width='16.378' height='16.378' transform='translate(-0.273 -0.144)' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    transform: translate(-50%, 0%);
    will-change: transform;
    z-index: 1;
}

.pageHistorique .sections .section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
}

.pageHistorique .sections .dot{
    position: absolute;
    left: 0px;
    width: 16px;
    height: 16px;
    background: var(--color-quaternary);
    border-radius: 50%;
    transform: translate(-50%, 0%);
}

.pageHistorique .sections .titre{
    font-size: 30px;
    line-height: 1.2em;
    font-weight: 500;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    color: #fff;
    font-family: "Space Grotesk";
}

.pageHistorique .sections .paragraphe{
    opacity: 0.5;
    transition: opacity 0.3s ease;
    color: #fff;
}

.pageHistorique .sections .paragraphe *{
    color: #fff;
}

.pageHistorique .sections .section.is-active .titre,
.pageHistorique .sections .section.is-active .paragraphe{
    opacity: 1;
}


@media (max-width: 1600px) {
    .pageHistorique .sections .titre{
        font-size: 26px;
    }
    .pageHistorique .sections .sectionsContainer{
        gap: 100px;
    }
}

@media (max-width: 1200px) {
    .pageHistorique .sections .section{
        gap: 100px;
    }
}

@media (max-width: 992px) {
    .pageHistorique .sections{
        background: var(--color-secondary);
        padding-block: 60px;
    }
    .pageHistorique .sections .container{
        padding-left: 40px;
    }
    .pageHistorique .sections .sectionsContainer{
        gap: 60px;
        padding-left: 50px;
    }
    .pageHistorique .sections .section{
        gap: 20px;
        grid-template-columns: 1fr;
    }
}