.section--project {
    position: relative;
    width: 100%;
    background: radial-gradient(at 0% 0%, #7831a4, #c8145c 50%, #fa1e5a 80%, #fa5354);
    padding: 8% 30px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.section__title--project,
.section__description--project,
.press__title,
.press__description {
    text-align: center;
}

.section__title--project,
.press__title {
    font-size: 25px;
    font-weight: 900;
}

.section__description--project,
.press__description {
    font-size: 18px;
    font-weight: normal;
    margin-top: 15px;
}

.step__container {
    max-width: 1920px;
    margin: auto;
    margin-top: 30px;
}

.btn__wrapper {
    margin-top: 30px;
    text-align: center;
}

/* === Slider === */
.step-card__slider {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    max-width: 1150px;
    margin: auto;
    gap: 20px;
    cursor: grab;
    scrollbar-width: none;
    user-select: none;
    /* Masquer scrollbar Firefox */
    -ms-overflow-style: none;
    /* Masquer scrollbar IE */
}

.step-card__slider::-webkit-scrollbar {
    display: none;
    /* Masquer scrollbar Chrome */
}

/* === Group Card (Desktop) === */
.step-card__group--top,
.step-card__group--bottom {
    display: none;
}

/* === Step Card === */
.step-card {
    flex: 0 0 100%;
    position: relative;
    border-radius: 20px;
    background-color: rgba(28, 27, 57, 0.95);
    max-width: 100%;
    min-height: 330px;
    padding: 20px 25px;
    color: #fff;
}

.step-card__title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.step-card__title {
    font-size: 21px;
}

.step-card__number {
    font-family: 'Lato', sans-serif;
    font-weight: normal;
    font-size: 55px;
    font-weight: 900;
}

.step-card__description {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.5;
}

/* === Card Progress Line === */
.step-card__line {
    width: 90%;
    height: 2px;
    background-color: rgba(238, 95, 140, 0.9);
    border-radius: 50px;
    position: relative;
    margin: 30px auto 10px auto;
    transition: all 0.1s ease-in-out;
}

.step-card__line--progress {
    height: 100%;
    width: 0%;
    background-color: #fff;
    border-radius: 50px;
    transition: width 0.1s ease-in-out;
}

.step-card__line-points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.step-card__line-point {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-right: -10px;
    position: relative;
    border-radius: 50%;
    outline: 1px rgba(238, 95, 140, 1) solid;
    transition: all 0.2s ease-in-out;
    transform: scale(0.95);
}

.step-card__line-point::before {
    content: "";
    width: 12px;
    height: 12px;
    background: rgba(238, 95, 140, 1);
    border-radius: 50%;
}

.step-card__line-point.active {
    outline-color: #fff;
    transform: scale(1.05);
}

.step-card__line-point.active::before {
    background: #fff;
}

/* === PRESS === */
.press__section {
    padding: 30px 5%;
}

.press__carousel {
    position: relative;
    margin-top: 20px;
    width: 100%;
    scroll-snap-type: x mandatory;
}

/* Press Card */
.press__card {
    display: flex;
    flex-direction: column;
    background-color: #3E3D55;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 3px 8px 0 rgba(0, 0, 0, 0.25);
    width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 300px;
    transition: all 0.3s ease-in-out;
}

.press__card:hover {
    filter: brightness(0.75);
}

/* Press Card Header */
.press__card-header,
.press__card-content {
    padding: 20px;
}

.press__card-header {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
}

.press__gradient-filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    background: linear-gradient(to right, #A1144C 0%, #1C1B3B 60%);
    opacity: 0.8;
    z-index: 0;
    user-select: none;
}

.press__header-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.press__logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.press__header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.press__card-title {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.press__card-date {
    font-size: 14px;
    font-weight: 200;
}

.press__card-description {
    font-size: 17px;
    font-weight: normal;
}

.swiper-wrapper {
    align-items: stretch;
}

.press__carousel .swiper-slide {
    height: 100%;
    flex-shrink: 0;
}

.press__swiper--static {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Swiper arrows */
.press__nav--hidden {
    display: none;
}

.press__section .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.press__section .swiper-button-next,
.press__section .swiper-button-prev {
    color: #fff !important;
}

.press__section .swiper-button-next::after,
.press__section .swiper-button-prev::after {
    font-size: 25px !important;
    color: #fff !important;
    font-weight: 600;
    margin-inline: -5px;
    top: 60%;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {

    .section__title--project,
    .section__description--project,
    .press__title,
    .press__description {
        text-align: start;
    }

    .step-card__slider {
        scroll-snap-type: x mandatory;
        cursor: default;
        gap: 0;
    }

    .step-card {
        scroll-snap-align: center;
    }

    /* Supprime le retour à la ligne en mobile */
    .step-card__break {
        display: none;
    }
}

@media (min-width: 641px) {
    .step-card {
        flex: 0 0 80%;
        min-width: 250px;
        max-width: 350px;
    }

    .press__card {
        width: 100%;
    }

    .press__carousel .swiper-slide {
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .press__card-header,
    .press__card-content {
        padding: 30px;
    }
}

@media (min-width: 768px) {
    .section--project {
        padding: 50px 100px;
    }

    .section__title--project,
    .press__title {
        font-size: 35px;
    }

    .section__description--project,
    .press__description {
        font-size: 19px;
        margin-top: 22px;
    }

    .step__container {
        margin-top: 60px;
    }

    .step-card__slider {
        gap: 50px;
    }

    .step-card {
        min-height: 350px;
    }

    .step-card__number {
        font-size: 60px;
    }

    .step-card__title {
        font-size: 24px;
    }

    .step-card__description {
        font-size: 18px;
    }

    .step-card__line {
        height: 3px;
        margin-top: 60px;
    }

    .step-card__line-point {
        width: 30px;
        height: 30px;
    }

    .step-card__line-point::before {
        width: 20px;
        height: 20px;
    }

    .btn__wrapper {
        margin-top: 50px;
    }

    /* Press */
    .press__section {
        padding: 50px 5%;
    }

    .press__carousel {
        margin-top: 40px;
    }

    .press__card-title {
        font-size: 22px;
    }

    .press__header-content {
        gap: 25px;
    }

    .press__header-text {
        gap: 10px;
    }

    .press__card-date {
        font-size: 15px;
    }

    .press__logo {
        width: 85px;
        height: 85px;
    }

    .press__section .swiper-button-next::after,
    .press__section .swiper-button-prev::after {
        font-size: 35px!important;
        margin-inline: 0;
    }
}

@media (min-width: 1024px) {

    /* Press */

    .press__card-header,
    .press__card-content {
        padding: 40px;
    }

    .press__card-title {
        font-size: 25px;
    }

    .press__card-description {
        font-size: 18px;
    }

    .press__swiper--static {
        gap: 60px;
    }
}

@media (min-width: 1281px) {

    .section__description--project,
    .press__description {
        font-size: 20px;
    }

    .step-card__slider {
        display: none;
    }

    .step-card__line {
        max-width: 1150px;
    }

    /* === Group Card (Desktop) === */
    .step-card__group--top,
    .step-card__group--bottom {
        display: flex;
        justify-content: center;
        max-width: 100%;
        gap: 40px;
        transition: all 0.3s ease;
    }

    .step-card__group--bottom {
        margin-top: 60px;
    }
}

@media (min-width: 1536px) {

    .step-card__group--bottom,
    .step-card__group--top {
        gap: 100px;
    }

    .step-card__group--bottom {
        padding-left: 15%;
    }

    .step-card__group--top {
        padding-right: 15%;
    }
}

@supports (-webkit-overflow-scrolling: touch) {
    .step-card__slider {
        scroll-behavior: auto !important;
    }
}