/* ============================================
   BLOC EQUIPES
   ============================================ */

.bloc-equipes {
    background: #F3F1F1;
    padding: 160px 0 80px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.bloc-equipes__inner {
    margin: 0 auto;
}

/* Header */
.bloc-equipes__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 39px;
    margin-bottom: 40px;
}

.bloc-equipes__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 5px;
    color: rgba(54, 69, 0, 0.85);
    text-align: center;
    margin: 0;
}

.bloc-equipes__separator {
    width: 124px;
    height: 5px;
    background: #DCDC01;
}

/* Description */
.bloc-equipes__description {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 140px;
    margin-bottom: 60px;
}

.bloc-equipes__description p {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 3px;
    color: #364500;
    text-align: center;
    margin: 0;

}

/* Content */
.bloc-equipes__content {
    position: relative;
    padding-bottom: 60px;
}

/* Members container */
.bloc-equipes__members {
    display: flex;
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.splide__list.bloc-equipes__members {
    align-items: flex-start;
}

.bloc-equipes__slider .splide__track {
    padding: 0 20px;
}

/* Member Item */
.bloc-equipes__member {
    flex: 0 0 348px;
    width: 348px;
}

/* Card */
.bloc-equipes__card {
    display: flex;
    flex-direction: column;
    height: 490px;
    overflow: hidden;
}

/* Image wrapper */
.bloc-equipes__image-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.bloc-equipes__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bloc-equipes__icon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 290px;
    height: 290px;
    /*transform: rotate(270deg);*/
}

.bloc-equipes__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Info box */
.bloc-equipes__info {
    border: 8px solid #DCDC01;
    padding: 15px;
    height: 156px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    overflow: hidden;
}

.bloc-equipes__name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.bloc-equipes__name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 4.8px;
    color: rgba(54, 69, 0, 0.85);
    text-align: center;
    margin: 0;
    max-width: 80%;
}

.bloc-equipes__underline {
    width: 40px;
    height: 5px;
    background: rgba(54, 69, 0, 0.85);
}

.bloc-equipes__role {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1.8px;
    color: rgba(54, 69, 0, 0.85);
    text-align: center;
    margin: 0;
}

/* Navigation */
.bloc-equipes__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.bloc-equipes__nav-prev,
.bloc-equipes__nav-next {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: #485904;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    color: #ffffff;
}

.bloc-equipes__nav-prev:hover,
.bloc-equipes__nav-next:hover {
    opacity: 0.8;
}

.bloc-equipes__nav-prev svg,
.bloc-equipes__nav-next svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive */

/* Tablette */
@media (max-width: 1199px) {
    .bloc-equipes {
        padding: 120px 0 60px;
    }

    .bloc-equipes__title {
        font-size: 4vw;
        letter-spacing: 0.5vw;
    }

    .bloc-equipes__description {
        padding: 0 60px;
        margin-bottom: 50px;
    }

    .bloc-equipes__description p {
        font-size: 2.5vw;
        letter-spacing: 0.25vw;
    }

    .bloc-equipes__member {
        flex: 0 0 300px;
        width: 300px;
    }

    .bloc-equipes__card {
        height: 430px;
    }

    .bloc-equipes__image-wrapper {
        height: 280px;
    }

    .bloc-equipes__icon {
        width: 200px;
        height: 200px;
    }

    .bloc-equipes__info {
        height: 150px;
        padding: 25px 15px;
    }

    .bloc-equipes__name {
        font-size: 20px;
        letter-spacing: 4px;
    }

    .bloc-equipes__role {
        font-size: 16px;
        letter-spacing: 1.6px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bloc-equipes {
        padding: 80px 0 40px;
    }

    .bloc-equipes__header {
        gap: 25px;
        margin-bottom: 30px;
    }

    .bloc-equipes__title {
        font-size: 6vw;
        letter-spacing: 0.6vw;
    }

    .bloc-equipes__separator {
        width: 80px;
        height: 4px;
    }

    .bloc-equipes__description {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .bloc-equipes__description p {
        font-size: 4vw;
        letter-spacing: 0.4vw;
    }

    .bloc-equipes__slider .splide__track {
        padding: 0;
    }

    .bloc-equipes__member {
        flex: 0 0 280px;
        width: 280px;
    }

    .bloc-equipes__card {
        height: 400px;
    }

    .bloc-equipes__image-wrapper {
        height: 260px;
    }

    .bloc-equipes__icon {
        width: 180px;
        height: 180px;
    }

    .bloc-equipes__info {
        border-width: 6px;
        height: 140px;
        padding: 20px 15px;
        gap: 5px;
    }

    .bloc-equipes__name-wrapper {
        gap: 10px;
    }

    .bloc-equipes__name {
        font-size: 18px;
        letter-spacing: 3.6px;
        max-width: 150px;
    }

    .bloc-equipes__underline {
        width: 30px;
        height: 4px;
    }

    .bloc-equipes__role {
        font-size: 14px;
        letter-spacing: 1.4px;
    }

    .bloc-equipes__navigation {
        margin-top: 40px;
    }
}