.formation-hero--container {
    max-width: 1360px;
    margin-inline: auto;
}

.formation-hero--wrapper {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    border-radius: 32px;
    overflow: hidden;
    padding: 24px;
}

@media screen and (min-width: 992px) {
    .formation-hero--wrapper {
        min-height: 558px;
        padding: clamp(16px, 5.56vw, 80px);
        justify-content: unset;
        align-items: flex-start;
    }
}

.formation-hero--wrapper::before {
    content: "";
    background: linear-gradient(180deg, rgba(255, 253, 255, 0.14) 0%, rgba(28, 20, 34, 0.9) 38%);
    width: 100%;
    height: calc(100% + 80px);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

@media screen and (min-width: 992px) {
    .formation-hero--wrapper::before {
        background: linear-gradient(270deg, rgba(255, 253, 255, 0.14) 0%, rgba(28, 20, 34, 0.9) 58%);
    }
}

.formation-hero--wrapper>img:not(.logo) {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -2;
}

@media screen and (min-width: 992px) {
    .formation-hero--wrapper {
        align-items: flex-start;
    }
}

.formation-hero--content {
    text-align: center;
    display: flex;
    gap: 16px;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
}

@media screen and (min-width: 992px) {
    .formation-hero--content {
        text-align: left;
        gap: 24px;
        align-items: flex-start;
    }
}

.formation-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.formation-hero .breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;

    color: white;
    font-size: 0.5625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.formation-hero .breadcrumb .breadcrumb-item a,
.formation-hero .breadcrumb .breadcrumb-item span {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font: inherit;
    line-height: 1;
}

.formation-hero .breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 1px;
    height: 16px;
    background: white;
    transform: rotate(20deg);
}

.formation-hero .breadcrumb .current,
.formation-hero .breadcrumb .active {
    font-weight: 700;
}

.formation-hero h1,
.formation-hero h2,
.formation-hero p {
    color: white;
}

.formation-hero .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 16px;
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .formation-hero p:not(.uptitle) {
        font-size: 18px;
    }
}

.formation-hero .logo {
    display: none;
    position: absolute;
    right: 24px;
    top: 24px;
}

@media screen and (min-width: 992px) {
    .formation-hero .logo {
        display: block;
        width: clamp(80px, 11.67vw, 168px);
        height: clamp(80px, 11.67vw, 168px);
    }
}

.formation-hero .btn.tertiary {
    background-color: var(--blanc);
    color: var(--bleu-nuit);
}

.formation-hero .btn.tertiary::after {
    background-color: var(--bleu-nuit) !important;
}

@media (hover: hover) {
    .formation-hero .btn.tertiary.btn.tertiary:hover {
        background-color: var(--bleu-ciel);
        color: var(--blanc);
        border-color: var(--bleu-ciel);
    }

    .formation-hero .btn.tertiary:hover::after {
        background-color: var(--blanc) !important;
    }
}