/* Introduction
============================================================ */

.history-page .introduction {
    position: relative;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    padding: 30px 100px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .history-page .introduction {
        grid-template-columns: 1fr;
        padding: 30px;
        height: auto;
    }
}

/* Contenu
============================================================ */

.history-page .introduction .content {
    position: relative;
    order: 2;
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 15px;
    align-self: center;
}

.history-page .introduction .content .logo {
    display: block;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

.history-page .introduction .content .text-wrapper {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 100%;
}

.history-page .introduction .content .title {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
}

.history-page .introduction .content .text {
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.history-page .introduction .content .big {
    max-width: 700px;
    margin: 0 auto;
    font-family: "ImperialScript", serif;
    font-size: 50px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
}

@media (min-width: 992px) {
    .history-page .introduction .part-two-mobile {
        display: none;
    }
}

@media (max-width: 991px) {
    .history-page .introduction .content {
        order: unset;
    }

    .history-page .introduction .content .text-wrapper:has(.big) {
        display: none;
    }

    .history-page .introduction .content .big {
        text-align: center;
    }

    .history-page .introduction .part-two-mobile {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/* Images
============================================================ */

.history-page .introduction .image-left,
.history-page .introduction .image-right {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.history-page .introduction .image-right {
    order: 3;
}

.history-page .introduction .image-left .image-wrapper,
.history-page .introduction .image-right .image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.history-page .introduction img {
    display: block;
}

.history-page .introduction .image-top,
.history-page .introduction .image-bottom {
    max-width: 100%;
    max-height: 100%;
}

.history-page .introduction .image-left .first .image-top {
    position: absolute;
    top: 15%;
    left: 0;
}

.history-page .introduction .image-left .first .image-bottom {
    position: absolute;
    right: 0;
    bottom: 15%;
}

.history-page .introduction .image-right .first .image-top {
    position: absolute;
    top: 15%;
    right: 0;
}

.history-page .introduction .image-right .first .image-bottom {
    position: absolute;
    bottom: 15%;
    left: 0;
}

.history-page .introduction .image-left .second .image-top {
    position: absolute;
    top: 15%;
    left: 0;
}

.history-page .introduction .image-left .second .image-bottom {
    position: absolute;
    right: 0;
    bottom: 15%;
}

.history-page .introduction .image-right .second .image-top {
    position: absolute;
    top: 15%;
    left: 0;
}

.history-page .introduction .image-right .second .image-bottom {
    position: absolute;
    bottom: 15%;
    right: 0;
}

@media (max-width: 991px) {
    .history-page .introduction .image-left,
    .history-page .introduction .image-right {
        order: unset;
        width: 300px;
        max-width: 100%;
        margin-inline: auto;
    }

    .history-page .introduction .image-left .image-wrapper .image-top {
        margin-right: auto;
    }

    .history-page .introduction .image-left .image-wrapper .image-bottom {
        margin-left: auto;
        margin-top: -80px;
    }

    .history-page .introduction .image-right .image-wrapper .image-top {
        margin-left: auto;
    }

    .history-page .introduction .image-right .image-wrapper .image-bottom {
        margin-right: auto;
        margin-top: -40px;
    }

    .history-page .introduction .part-two-mobile .image-right .image-wrapper .image-top {
        margin-left: 0;
        margin-right: auto;
    }

    .history-page .introduction .part-two-mobile .image-right .image-wrapper .image-bottom {
        margin-right: 0;
        margin-left: auto;
        max-width: calc(100% - 15px);
    }

    .history-page .introduction .image-left .image-wrapper,
    .history-page .introduction .image-right .image-wrapper,
    .history-page .introduction .image-left .first .image-top,
    .history-page .introduction .image-left .first .image-bottom,
    .history-page .introduction .image-right .first .image-top,
    .history-page .introduction .image-right .first .image-bottom {
        position: unset;
    }

    .history-page .introduction .image-left .second,
    .history-page .introduction .image-right .second {
        display: none;
    }
}

/* Animation
============================================================ */

.history-page .introduction.is-animated .text-wrapper,
.history-page .introduction.is-animated .image-wrapper {
    visibility: hidden;
}

.history-page .introduction .logo,
.history-page .introduction .text-wrapper,
.history-page .introduction .image-wrapper,
.history-page .introduction .image-top,
.history-page .introduction .image-bottom {
    will-change: transform, opacity;
}

/* Timeline
============================================================ */

.history-page .timeline {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.history-page .timeline .timeline-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 992px) {
    .history-page .timeline .timeline-item .flower-one,
    .history-page .timeline .timeline-item .title,
    .history-page .timeline .timeline-item .image-one,
    .history-page .timeline .timeline-item .text,
    .history-page .timeline .timeline-item .image-two,
    .history-page .timeline .timeline-item .image-three,
    .history-page .timeline .timeline-item .flower-two {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 991px) {
    .history-page .timeline {
        overflow: visible;
    }

    .history-page .timeline .timeline-wrapper {
        height: auto;
        display: block;
        overflow: visible;
    }
}

/* Navigation de la timeline
============================================================ */

.history-page .timeline .timeline-line {
    flex: 0 0 100px;
    background-color: var(--color-beige);
}

.history-page .timeline .timeline-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: max-content;
    min-width: 100%;
}

.history-page .timeline .timeline-track::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #878787;
}

.history-page .timeline .timeline-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.history-page .timeline .timeline-dot {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 1px solid #878787;
    border-radius: 50%;
    background-color: var(--color-beige);
    transition: border-color color 0.35s ease;
}

.history-page .timeline .timeline-dot::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background-color: currentColor;
    opacity: 0;
    transform: scale(0);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.history-page .timeline .timeline-step-title {
    display: block;
    max-width: 130px;
    font-family: "InriaSerif", serif;
    font-size: 0.875rem;
    line-height: 1.25;
    color: #878787;
    transition: color 0.35s ease;
}

/* Étape actuellement affichée */

.history-page .timeline .timeline-step.is-active .timeline-dot {
    border-color: #000;
}

.history-page .timeline .timeline-step.is-active .timeline-dot::after {
    opacity: 1;
    transform: scale(1);
}

.history-page .timeline .timeline-step.is-active .timeline-step-title {
    color: #000;
}

@media (max-width: 991px) {
    .history-page .timeline .timeline-line {
        position: sticky;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        overflow: scroll;
        gap: 50px;
        padding-block: 20px;
    }

    .history-page .timeline .timeline-line .timeline-step {
        flex-shrink: 0;
    }

    .history-page .timeline .timeline-step-title {
        width: 130px;
    }
}

/* Contenu horizontal
============================================================ */

.history-page .timeline .timeline-content {
    position: relative;
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    will-change: transform;
    flex: 0 0 calc(100% - 100px);
}

@media (max-width: 991px) {
    .history-page .timeline .timeline-content {
        flex-direction: column;
        gap: 70px;
        width: 100%;
        height: auto;
    }
}

/* Optimisation des éléments animés
============================================================ */

.history-page .timeline .timeline-item .flower-one,
.history-page .timeline .timeline-item .flower-two,
.history-page .timeline .timeline-item .title,
.history-page .timeline .timeline-item .text,
.history-page .timeline .timeline-item .image-one,
.history-page .timeline .timeline-item .image-two {
    display: block;
    will-change: transform, opacity;
}

/* Timeline item
============================================================ */

.timeline-item {
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.timeline-item .inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.timeline-item .flower-one img,
.timeline-item .flower-two img,
.timeline-item .image-one img,
.timeline-item .image-two img,
.timeline-item .image-three img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.timeline .timeline-item .text {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .timeline-item > * {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .timeline-item .flower-one img,
    .timeline-item .flower-two img,
    .timeline-item .image-one img,
    .timeline-item .image-two img,
    .timeline-item .image-three img {
        width: auto;
        height: auto;
        object-fit: unset;
    }
}

/* Timeline item one
============================================================ */

/* Grille
------------------------------- */

.timeline-item .one {
    display: grid;
    grid-template-columns: 1fr 5fr 2fr 4fr 4fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 30px;
}

.timeline-item .one .flower-one {
    grid-column: 1 / 4;
    grid-row: 1;
}

.timeline-item .one .title {
    grid-column: 2 / 3;
    grid-row: 2;
}

.timeline-item .one .image-one {
    grid-column: 2 / 3;
    grid-row: 3 / 6;
}

.timeline-item .one .text {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
}

.timeline-item .one .image-two {
    grid-column: 5 / 6;
    grid-row: 1 / 3;
}

.timeline-item .one .flower-two {
    grid-column: 3 / 6;
    grid-row: 5 / 6;
}

@media (max-width: 991px) {
    .timeline-item .one .image-two img {
        display: block;
        margin-inline: auto;
    }
}

/* Elements
------------------------------- */

.timeline-item .one .title {
    position: relative;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2em;
}

.timeline-item .one .title::first-letter {
    font-size: 10rem;
}

.timeline-item .one .title::before {
    content: '';
    width: 120px;
    height: 180px;
    position: absolute;
    bottom: 0;
    left: 0;
    translate: -95% 40%;
    background-image: url("../img/timeline-one-title.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 991px) {
    .timeline-item .one .title {
        font-size: 1.5rem;
        padding-left: 70px;
    }

    .timeline-item .one .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .one .title::before {
        width: 80px;
        height: 120px;
        left: 0;
        translate: 0 40%;
    }
}

/* Timeline item two
============================================================ */

/* Grille
------------------------------- */

.timeline-item .two {
    display: grid;
    grid-template-columns: 1fr 5fr 2fr 1fr 4fr 1fr;
    grid-template-rows: auto auto auto auto auto auto auto;
    gap: 30px;
}

.timeline-item .two .flower-one {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.timeline-item .two .title {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
}

.timeline-item .two .text {
    grid-column: 2 / 3;
    grid-row: 2 / 8;
}

.timeline-item .two .image-one {
    grid-column: 3 / 5;
    grid-row: 3 / 6;
}

.timeline-item .two .image-two {
    grid-column: 5 / 6;
    grid-row: 4 / 7;
}

.timeline-item .two .flower-two {
    grid-column: 4 / 7;
    grid-row: 5 / 8;
}

/* Elements
------------------------------- */

.timeline-item .two .flower-one img {
    object-position: top left;
}

.timeline-item .two .title {
    position: relative;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.timeline-item .two .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.timeline-item .two .title::before {
    content: '';
    width: 100px;
    height: 90px;
    position: absolute;
    bottom: 0;
    left: 0;
    translate: -50% -40%;
    background-image: url("../img/timeline-two-title.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.timeline-item .two .text {
    margin-top: 50px;
}

.timeline-item .two .flower-two img {
    object-position: bottom right;
}

@media (max-width: 991px) {
    .timeline-item .two .title {
        font-size: 1.5rem;
        padding-left: 70px;
        margin-top: -60px;
    }

    .timeline-item .two .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .two .title::before {
        width: 80px;
        height: 70px;
        left: 0;
        translate: 0 0;
    }

    .timeline-item .two .text {
        margin-top: 0;
    }
}

/* Timeline item three
============================================================ */

/* Grille
------------------------------- */

.timeline-item .three {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 2fr 3fr 3fr 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    gap: 30px;
}

.timeline-item .three .flower-one {
    grid-column: 1 / 3;
    grid-row: 3 / 7;
}

.timeline-item .three .title {
    grid-column: 2 / 4;
    grid-row: 3 / 6;
}

.timeline-item .three .text {
    grid-column: 4 / 6;
    grid-row: 1 / 5;
}

.timeline-item .three .image-one {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.timeline-item .three .image-two {
    grid-column: 5 / 6;
    grid-row: 5 / 7;
}

.timeline-item .three .image-three {
    grid-column: 6 / 7;
    grid-row: 2 / 6;
}

.timeline-item .three .flower-two {
    grid-column: 6 / 8;
    grid-row: 1 / 4;
}

/* Elements
------------------------------- */

.timeline-item .three .title {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.timeline-item .three .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.timeline-item .three .flower-one img {
    object-position: bottom left;

}

.timeline-item .three .image-one img {
    object-position: top left;
}

.timeline-item .three .flower-two img {
    object-position: top right;
}

@media (max-width: 991px) {
    .timeline-item .three .flower-one img,
    .timeline-item .three .flower-two img {
        width: 150px;
        transform: rotateX(180deg);
    }

    .timeline-item .three .flower-one img {
        margin-bottom: -120px;
    }

    .timeline-item .three .flower-two img {
        display: block;
        margin-left: auto;
        margin-top: -120px;
    }

    .timeline-item .three .title {
        font-size: 1.5rem;
        padding-left: 70px;
    }

    .timeline-item .three .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .three .image-two img {
        display: block;
        margin-left: auto;
    }
}

/* Timeline item four
============================================================ */

/* Grille
------------------------------- */

.timeline-item .four {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr 2fr 1fr 4fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 30px;
}

.timeline-item .four .flower-one {
    grid-column: 1 / 5;
    grid-row: 3 / 6;
}

.timeline-item .four .title {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.timeline-item .four .image-one {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
}

.timeline-item .four .text {
    grid-column: 3 / 6;
    grid-row: 2 / 5;
}

.timeline-item .four .image-two {
    grid-column: 6 / 7;
    grid-row: 2 / 6;
}

.timeline-item .four .flower-two {
    grid-column: 4 / 8;
    grid-row: 1 / 4;
}

/* Elements
------------------------------- */

.timeline-item .four .title {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.timeline-item .four .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.timeline-item .four .flower-one img {
    object-position: bottom left;
}

.timeline-item .four .flower-two img {
    object-position: top right;
}

@media (max-width: 991px) {
    .timeline-item .four .flower-one img,
    .timeline-item .four .flower-two img {
        transform: rotateX(180deg);
    }

    .timeline-item .four .flower-one img {
        margin-bottom: -120px;
    }

    .timeline-item .four .flower-two img {
        margin-top: -100px;
    }

    .timeline-item .four .title {
        font-size: 1.5rem;
        padding-left: 70px;
    }

    .timeline-item .four .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .four .image-one img,
    .timeline-item .four .image-two img {
        max-width: 200px;
    }

    .timeline-item .four .image-two img {
        display: block;
        margin-inline: auto;
    }
}

/* Timeline item five
============================================================ */

.timeline-item .five {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr 4fr 1fr;
    grid-template-rows: 50px auto auto auto;
    gap: 30px;
}

.timeline-item .five .flower-one {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.timeline-item .five .title {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.timeline-item .five .text {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.timeline-item .five .image-one {
    grid-column: 4 / 5;
    grid-row: 1 / 5;
}

.timeline-item .five .flower-two {
    grid-column: 3 / 6;
    grid-row: 2 / 5;
}

/* Elements
------------------------------- */

.timeline-item .five .title {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.timeline-item .five .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.timeline-item .five .flower-one img {
    object-position: top left;
}

.timeline-item .five .flower-two img {
    object-position: bottom right;
}

@media (max-width: 991px) {
    .timeline-item .five .flower-one img {
        margin-bottom: -120px;
    }

    .timeline-item .five .flower-two img {
        margin-top: -100px;
    }

    .timeline-item .five .title {
        font-size: 1.5rem;
        padding-left: 70px;
    }

    .timeline-item .five .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .five .image-one img {
        display: block;
        margin-inline: auto;
        max-width: 200px;
    }
}

/* Timeline item six
============================================================ */

/* Grille
------------------------------- */

.timeline-item .six {
    display: grid;
    grid-template-columns: 1fr 2fr 4fr 4fr 1fr 2fr 1fr;
    grid-template-rows: auto auto auto auto auto auto auto;
    gap: 30px;
}

.timeline-item .six .flower-one {
    grid-column: 1 / 4;
    grid-row: 3 / 6;
}

.timeline-item .six .title {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
}

.timeline-item .six .text {
    grid-column: 4 / 6;
    grid-row: 2 / 7;
}

.timeline-item .six .image-one {
    grid-column: 2 / 4;
    grid-row: 4 / 8;
}

.timeline-item .six .image-two {
    grid-column: 6 / 7;
    grid-row: 2 / 5;
}

.timeline-item .six .flower-two {
    grid-column: 5 / 8;
    grid-row: 4 / 7;
}

/* Elements
------------------------------- */

.timeline-item .six .title {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.timeline-item .six .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.timeline-item .six .flower-one img {
    object-position: top left;
}

.timeline-item .six .flower-two img {
    object-position: bottom right;
}

@media (max-width: 991px) {
    .timeline-item .six .flower-one img {
        margin-bottom: -120px;
    }

    .timeline-item .six .flower-two img {
        margin-top: -130px;
    }

    .timeline-item .six .title {
        font-size: 1.5rem;
        padding-left: 70px;
    }

    .timeline-item .six .title::first-letter {
        font-size: 100px;
    }

    .timeline-item .six .image-two img {
        display: block;
        margin-inline: auto;
    }
}

/* Timeline item seven
============================================================ */

.conclusion {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(30px, calc((100% - 1200px) / 2)) minmax(0, 400px) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 0;
}

.conclusion .content {
    grid-column: 2;
}

.conclusion .category-carousel {
    grid-column: 3;
    min-width: 0;
}

.conclusion .title {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}

.conclusion .title::first-letter {
    font-size: 10rem;
    line-height: 1;
}

.conclusion .subtitle {
    font-family: "ImperialScript", serif;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1;
}

.conclusion .text {
    font-size: 1.25rem;
    line-height: normal;
}

@media (max-width: 991px) {
    .conclusion {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .conclusion .content {
        grid-column: unset;
    }

    .conclusion .category-carousel {
        grid-column: unset;
        margin-inline: -30px;
    }

    .conclusion .title {
        font-size: 1.5rem;
    }

    .conclusion .title::first-letter {
        font-size: 100px;
    }
}
/* Stage horizontal Introduction -> Timeline
============================================================ */

@media (min-width: 992px) {
    .history-page .history-horizontal-stage {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .history-page .history-horizontal-track {
        position: relative;
        display: flex;
        align-items: stretch;
        width: 200vw;
        height: 100vh;
        will-change: transform;
    }

    .history-page .history-horizontal-track > .introduction,
    .history-page .history-horizontal-track > .timeline {
        flex: 0 0 100vw;
        width: 100vw;
        height: 100vh;
    }

    /*
     * Le pin appartient désormais au stage commun. La timeline ne doit
     * donc plus créer son propre contexte de pin vertical.
     */
    .history-page .history-horizontal-track > .timeline {
        overflow: hidden;
    }

    .history-page .timeline .timeline-wrapper {
        height: 100vh;
    }
}

@media (max-width: 991px) {
    .history-page .history-horizontal-stage,
    .history-page .history-horizontal-track {
        display: contents;
    }
}

/* Ajustements desktop : intro 1440, navigation mobile et conclusion
============================================================ */
@media (min-width: 992px) {
    /* Au-delà de 1440px, on conserve l'écartement visuel d'un viewport 1440. */
    .history-page .introduction {
        padding-inline: max(100px, calc((100vw - 1440px) / 2 + 100px));
    }

    .history-page .history-horizontal-track {
        width: 300vw;
    }

    .history-page .history-horizontal-track > .introduction,
    .history-page .history-horizontal-track > .timeline,
    .history-page .history-horizontal-track > .conclusion {
        flex: 0 0 100vw;
        width: 100vw;
        height: 100vh;
    }

    .history-page .history-horizontal-track > .conclusion {
        min-height: 100vh;
    }
}

/* Un indicateur unique se déplace physiquement d'une période à l'autre. */
.history-page .timeline .timeline-indicator {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 1px solid #000;
    border-radius: 50%;
    background-color: var(--color-beige);
    transform: translateX(-50%);
    pointer-events: none;
    will-change: transform;
}

.history-page .timeline .timeline-indicator::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background-color: #000;
}

/* Les étapes sont maintenant des boutons accessibles. */
.history-page .timeline button.timeline-step {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

@media (min-width: 992px) {
    .history-page .timeline .timeline-dot::after {
        display: none;
    }

    .history-page .timeline .timeline-step.is-active .timeline-dot {
        border-color: #878787;
    }
}

@media (max-width: 991px) {
    .history-page .timeline .timeline-indicator {
        display: none;
    }
}
