.cards-infos {
    display: flex;
    flex-direction: column;
    padding: 100px var(--gutters);
    background-color: var(--wp--preset--color--violet);
    position: relative;
    z-index: 1;
    position: relative;
}
.cards-infos-border-top{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    transform: translateY(-100%);
    border-radius: 30px 30px 0px 0px;
    background-color: var(--wp--preset--color--violet);
}
@media (max-width: 768px) {
    .cards-infos-border-top {
        display: none;
    }
}
.cards-infos-head{
    display: flex;
    justify-content: space-between;
}
.cards-infos-title{
    display: flex;
    width: 50%;
}
.cards-infos-title h2{
    color: var(--wp--preset--color--white);
}
.cards-infos-text{
    width: 50%;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding-left: 2rem;
}
.cards-infos-text p{
    width: 400px;
    color: var(--wp--preset--color--white);
}
@media (max-width: 768px) {
    .cards-infos-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .cards-infos-title,
    .cards-infos-text,
    .cards-infos-text p {
        width: 100%;
    }
    .cards-infos-text {
        padding-left: 0;
    }
    .cards-infos-head,
    .cards-infos-head * {
        text-align: left !important;
    }
    .cards-infos-head br {
        display: none;
    }
    .cards-infos-title h2,
    .cards-infos-title h2 * {
        font-size: 30px !important;
    }
}
.cards-infos-content{
    display: flex;
    width: 100%;
    height: 720px;
    position: relative;
}
.cards-infos-message{
    display: flex;
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.cards-infos-message p{
    color: var(--wp--preset--color--white);
}
.cards-info-card{
    display: flex;
    flex-direction: column;
    padding: 25px 10px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #E5DCFB;
    background: var(--wp--preset--color--white);
    box-shadow: 0 1.119px 7.832px 3.357px rgba(75, 42, 203, 0.05);
    width: 210px;
    height: 180px;
    gap: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cards-info-title p, .cards-info-text p{
    margin: 0;
}
.cards-info-text p span{
    font-size: 13px!important;
}
.cards-infos-star{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background-image: url(../../../assets/svg/fluo-star.svg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width: 768px) {
    .cards-infos {
        padding-right: 0;
    }
    .cards-infos-head {
        padding-right: var(--gutters);
    }
    .cards-infos-message,
    .cards-infos-star {
        display: none;
    }
    .cards-infos-content {
        height: auto;
        margin-top: 1.5rem;
        min-width: 0;
    }
    .cards-infos-cards {
        display: flex;
        width: 100%;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .cards-infos-cards::-webkit-scrollbar {
        display: none;
    }
    .cards-info-card {
        position: static;
        transform: none;
        flex: 0 0 min(86%, 200px);
        width: min(86%, 200px);
        height: auto;
        min-height: 200px;
        aspect-ratio: 1;
        scroll-snap-align: start;
    }
}
