.crf-modalities {
    padding: var(--global-vertical-padding) 0px;
}

.crf-modalities__title {
    text-align: center;
    padding: 0px var(--global-lateral-padding);
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 36px;
}


.crf-modalities__swiper {
    padding: 0px var(--global-lateral-padding);
}

.crf-modalities__list {
    height: fit-content;
}

.crf-modalities__list-item,
.crf-modalities__list-item__circle {
    width: 210px;
    
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.crf-modalities__list-item__circle {
    height: 210px;
    border-width: 3px;
    border-style: solid;
    border-radius: 105px;
    
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    margin-top: 14px;
}
.crf-modalities__list-item__circle::before {
    content: "";
    display: block;
    position: absolute;
    width: 280px;
    height: 280px;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    transform: translateX(11.6%) scale(1.1);
    background-size: contain;
    z-index: -1;
}
.crf-modalities--blue .crf-modalities__list-item__circle::before {
    background-image: url('../../assets/images/svg/modalities-wave.svg');
}
.crf-modalities--white .crf-modalities__list-item__circle::before {
    background-image: url('../../assets/images/svg/modalities-wave--light.svg');
}

.crf-modalities__list-item:last-child .crf-modalities__list-item__circle::before {
    width: 244px;
    height: 244px;
    border-radius: 140px;
    transform: none;
}
.crf-modalities--blue .crf-modalities__list-item:last-child .crf-modalities__list-item__circle::before {
    background: #3A8DEB;
}
.crf-modalities--white .crf-modalities__list-item:last-child .crf-modalities__list-item__circle::before {
    background: #E3F0FF;
}
.crf-modalities__list-item__img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.crf-modalities__list-item__number {
    font-size: 60px;
    line-height: 36px;
    margin-bottom: 14px;
}

.crf-modalities__list-item__title,
.crf-modalities__list-item__description {
    text-align: center;
}

/* bg white */
.crf-modalities--white .crf-modalities__title {
    color: var(--crf--shiny-blue);
}
.crf-modalities--white .crf-modalities__list-item__circle {
    background-color: var(--crf--shiny-blue);
    color: var(--crf--white);
}
.crf-modalities--white .crf-modalities__list-item__description {
    color: var(--crf--blue);
}
.crf-modalities--white .crf-modalities__list-item__circle {
    border-color: var(--crf--shiny-blue);
}

/* bg blue */
.crf-modalities--blue .crf-modalities__title {
    color: var(--crf--white);
}

.crf-modalities--blue .crf-modalities__list-item__circle {
    border-color: var(--crf--light-grey);
}
.crf-modalities--blue {
    background-color: var(--crf--shiny-blue);
}
.crf-modalities--blue .crf-modalities__list-item__circle {
    background-color: var(--crf--white);
    color: var(--crf--blue);
}
.crf-modalities--blue .crf-modalities__list-item__number {
    color: var(--crf--shiny-blue);
}
.crf-modalities--blue .crf-modalities__list-item__description {
    color: var(--crf--white);
}

.crf-modalities__list-item__description {
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
    .crf-modalities__title {
        font-size: 60px;
        line-height: 60px;
        margin-bottom: 60px;
    }
}

.crf-modalities__list-item__img-container {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 70px;
}
.crf-modalities__list-item__img-container::before, 
.crf-modalities__list-item__img-container::after {
    content: "";
    background: var(--crf--white);
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 2px;
    position: absolute;
}
.crf-modalities__list-item__img-container::before {
    transform: translateY(175%);
}
.crf-modalities__list-item__img-container::after {
    transform: translateY(425%);
}

.crf-modalities__btn-prev,
.crf-modalities__btn-next {
    min-width: 0px;
    width: 60px;
    height: 60px;
    padding: 0px;
    border-radius: 30px;
    
    
    position: absolute;
    top: 249px; /* picto + margin below picto + margin above circle + half circle */
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
}
.crf-modalities--blue .crf-modalities__btn-prev,
.crf-modalities--blue .crf-modalities__btn-next {
    background-image: url("../../assets/images/svg/arrow-right--tail--blue.svg");
}
.crf-modalities--white .crf-modalities__btn-prev,
.crf-modalities--white .crf-modalities__btn-next {
    background-image: url("../../assets/images/svg/arrow-right--tail--white.svg");
}
.crf-modalities__btn-prev {
    left: 30px;
    transform: translateY(-50%) rotateZ(180deg);
}
.crf-modalities__btn-next {
    right: 30px;
}


.crf-modalities__btn--disabled {
    opacity: 0;
    pointer-events: none;
}







.crf-modalities__list-item__circle::after {
    content: "";
    display: block;
    position: absolute;
    inset: -4px;
    border-radius: 105px;
    opacity: 0;
    transition: opacity 0.4s ease 0s;
}
.crf-modalities--blue .crf-modalities__list-item__circle::after {
    background: var(--crf--shiny-blue);
}
.crf-modalities--white .crf-modalities__list-item__circle::after {
    background: var(--crf--white);
}

.crf-modalities__list-item.camo .crf-modalities__list-item__circle::after {
    opacity: 1;
}



@media screen and (min-width: 768px) {
    .crf-modalities__swiper {
        padding: 0px max(188px, var(--global-lateral-padding));
    }
    .crf-modalities--blue .crf-modalities__list-item:not(:last-child)::before,
    .crf-modalities--white .crf-modalities__list-item:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 226px;
        right: 0px;
        /* background: red; */
        width: 60px;
        height: 17px;
        transform: translate(100%, 14px);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 24px 17px;
    }
    .crf-modalities--blue .crf-modalities__list-item:not(:last-child)::before {
        background-image: url(../../assets/images/svg/arrow-right--tail--white.svg);
    }
    .crf-modalities--white .crf-modalities__list-item:not(:last-child)::before {
        background-image: url(../../assets/images/svg/arrow-right--tail--blue.svg);
    }
}