.tarifs {
    background-color: #F8F9FB;
    background-image: url(../../../assets/img/info-cards-bg.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 1747px auto;
    background-position: 50% 100%;
}

.tarifs .container-lg {
    position: relative;
    z-index: 10;
}

.tarifs-tabs {
    display: flex;
    gap: 10px;
    text-align: center;
    position: relative;
}

.tarifs-tab {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 2px solid transparent;
    background: white;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    gap: 10px;
    transition: all .3s ease-in-out;
    z-index: 11111;
}

.tarifs-tabs {
    scrollbar-width: none;
margin:  0 0 40px 0;
    scrollbar-color: transparent transparent;

}

.tarifs-tab:hover {
    cursor: pointer;
    border-color: var(--color-blue);
}

.tarifs-tab::-webkit-scrollbar {
    width: 0px;
    background: transparent;

}

.tarifs-tab.is--active {
    border-color: var(--color-blue);
    box-shadow: 0px 8px 16px -6px rgba(141, 27, 230, 0.12);
    background: #ffffff;
    box-shadow: 0px 16px 24px -10px var(--shadow-brand-primary, rgba(33, 150, 243, 0.30));
}

.tarifs-tab__discount {
    border-radius: 6px;
    background: var(--color-blue);
    color: #ffffff;
    height: 24px;
    line-height: 24px;
    padding: 0px 8px;
    display: block;
}

.tarifs__container {
    margin-top: 8px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex-grow: 1;
    flex-basis: auto;
}

.tarifs__compare {
    position: absolute;
    right: 0;
    top: 0;
}

.tarifs-card {
    padding: 16px 24px 24px 24px;
    flex: 1;
    margin: 0;
    font-size: 15px;
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tarifs-card:last-of-type {
    border: none;
}

.tarifs-card__title {
    font-size: 28px;
    margin-bottom: 0;
    letter-spacing: -0.84px;
    font-weight: 600;
}

.tarifs-card__cost {
    font-size: 46px;
    font-style: normal;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.tarifs-card--popular *:not(.btn--white) {
    color: #ffffff;
}

.tarifs-cta .tarifs-card__cost-month {
    letter-spacing: 0;
    opacity: .7;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
}

.tarifs-card__cost-month {
    font-size: 15px;
    color: var(--color-gray);
    position: relative;
    font-weight: 500;
    white-space: nowrap;
    display: block;
    text-align: left;
    line-height: 22px;
    display: block;
}

.tarifs-card__cost-values {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: baseline;
    gap: 0;
    margin-bottom: 16px;
}

.tarifs-card__cost-value {
    display: flex;
}

.tarifs-card__cost-value:after {
    content: attr(data-current-value);
    font-size: 16px;
    color: #ADAAB1;
    position: relative;
    font-weight: 600;
    white-space: nowrap;
    display: none;
    margin: auto;
    font-size: 28px;
    margin: 0;
    transform: translate(3px, -5px);
    text-decoration: line-through;
}

.tarifs-card__cost-value.is--active:after {
    display: block;
}

.tarifs-card__options {
    list-style: none;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
    align-items: baseline;
}

.tarifs-card__options {
    list-style: none;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    align-items: baseline;
    font-weight: 500;
    font-size: 14px;
}

.tarifs-card__options-item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    padding: 0 0 0 28px;
    position: relative;
}
.tarifs-cta .tarifs-card__options-item {
    height: 20px;
}
.tarifs-card__options-mask {
    background-color: #B9BDC4;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 2px;
    left: 0;
}

.tarifs-card__options i {
    font-style: normal;
    color: var(--color-gray);
}

.tarifs-card__options-unlimited {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.0835 7.99996C2.0835 9.4267 3.24009 10.5833 4.66683 10.5833C5.24926 10.5833 5.78471 10.3914 6.2164 10.0672C6.54759 9.81843 7.01774 9.88525 7.26651 10.2164C7.51527 10.5476 7.44845 11.0178 7.11726 11.2665C6.43474 11.7792 5.58521 12.0833 4.66683 12.0833C2.41167 12.0833 0.583497 10.2551 0.583496 7.99996C0.583496 5.7448 2.41167 3.91663 4.66683 3.91663C6.92199 3.91663 8.75016 5.7448 8.75016 7.99996C8.75016 9.42669 9.90676 10.5833 11.3335 10.5833C12.7602 10.5833 13.9168 9.42669 13.9168 7.99996C13.9168 6.57322 12.7602 5.41663 11.3335 5.41663C10.751 5.41663 10.2154 5.60854 9.78368 5.93291C9.45252 6.18172 8.98236 6.11496 8.73355 5.7838C8.48474 5.45264 8.5515 4.98248 8.88266 4.73367C9.56526 4.22083 10.4149 3.91663 11.3335 3.91663C13.5887 3.91663 15.4168 5.7448 15.4168 7.99996C15.4168 10.2551 13.5887 12.0833 11.3335 12.0833C9.07833 12.0833 7.25016 10.2551 7.25016 7.99996C7.25016 6.57322 6.09356 5.41663 4.66683 5.41663C3.24009 5.41663 2.0835 6.57323 2.0835 7.99996Z' fill='%23B645EE'/%3E%3C/svg%3E");
}

.tarifs-card__options-mask.green-icon {
    background-color: #0F8D57;
}

.tarifs-card__cost-current, .tarifs-card__options-per-current {
    color: #ADAAB1;
    margin-left: -3px;
    display: none;
    text-decoration: line-through;
}

.tarifs-card__options-per-current {
    margin-left: 0px;
}

.tarifs-card__cost-form {
    font-size: 24px;
    margin-right: 8px;
}

.tarifs-card__cost-content {
    white-space: nowrap;
    letter-spacing: -0.29px;
}

.tarifs-card__cost-current {
    font-size: 28px;
    line-height: 1;
    transform: translate(8px, -19px);
}

.tarifs-card__total-cost {
    font-size: 15px;
    margin-top: 12px;
    font-weight: 500;
    display: none !important;
}

.tarifs-card__additional {
    padding: 16px 20px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #959CA6;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    border-radius: 16px;
    background: #F8F9FB;
}

.tarifs-card__additional-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.72px;
    color: var(--color-text);
}

.tarifs-card--popular {
    background: #091733;
}

.tarifs-card__popular-badge {
    border-radius: 8px;

    background: #0F8D57;
    height: 22px;
    padding: 0px 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    position: absolute;
    top: 16px;
    right: 16px;
}

.tarifs-card--popular .tarifs-card__cost-month {
    color: #959CA6;
}

.tarifs-card--popular .tarifs-card__additional {
    background: #1C2943;
    color: #959CA6;
}

.tarifs-card--popular .tarifs-card__additional-title {
    color: #ffffff;
}

.tarifs-cta .tarifs-card__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 85%;
}

.tarifs-cta .tarifs-card__options li {
    font-size: 14px;
}

.tarifs-card__options-item span, .tarifs-cta .tarifs-card__options li span {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: text-decoration-color .3s ease-in-out;
}

.tarifs-card__options-item span:hover, .tarifs-cta .tarifs-card__options li span:hover {
    text-decoration-color: transparent;
}

.tarifs-cta .tarifs-card__options-mask {
    background-color: #ffffff;
    opacity: .5;
}

.tarifs-cta {
    border-radius: 24px;

    align-items: center;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    background: linear-gradient(180deg, #2196F3 0%, #1565C0 100%);
    position: relative;
    overflow: hidden;
}

.tarifs-cta *:not(.btn) {
    color: #fff;
}

.tarifs .animation-cta {
    right: -90px;
    opacity: .5;
}

.tarifs-cta__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.tarifs-cta__content h4 {
    margin-bottom: 8px;
}

.tarifs-cta__price {
    min-width: 221px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.tarifs-cta__price .btn {
    width: 100%;
}

@media screen and (max-width: 1023px) {
    .tarifs-tabs {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: scroll;
        margin-right: -12px;
        max-width: calc(100% + 24px);
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        margin-left: -12px;
        padding: 0 12px 26px 12px;
        margin-bottom: 0;
        position: relative;
    }

    .tarifs-tab {
        padding: 10px 18px;
        font-size: 14px;
    }

    .tarifs__container {
        flex-direction: column;
    }

    .tarifs-card {
        padding: 16px;
        gap: 20px;
    }

    .tarifs-card__title {
        font-size: 18px;
        letter-spacing: -0.54px;
    }

    .tarifs-card__cost {
        line-height: 1;
        font-size: 32px;
        margin-top: -8px;
    }

    .tarifs-cta .tarifs-card__cost-month {
        font-size: 14px;
    }

    .tarifs-card__cost-month {
        margin-top: 4px;
    }

    .tarifs-card__cost-values {
        margin-bottom: 4px;
    }

    .tarifs-card--popular .tarifs-card__cost-month {
        color: #959CA6;
        margin-top: 4px;
    }

    .tarifs-cta .tarifs-card__options {
        display: flex;
        gap: 16px;
    }

    .tarifs-cta {
        margin-top: 6px;
        padding: 16px;
        flex-direction: column;
        gap: 20px;
    }

    .tarifs-cta:after {
        background-position: 0% 100%;
        width: 100%;
        background-image: url(../../../assets/img/cta-tarif-bg-mobile.svg);
        height: 190px;
        top: 60%;
        transform: translateX(-50%);
        right: auto;
        left: 50%;
    }

    .tarifs-cta__content {
        gap: 20px;
    }

    .tarifs-cta__price {
        width: 100%;
    }
    .tarifs__compare{
        right: 16px;
    }
    #tarif-compare .tarif-table__divider svg{
        transform: translateY(2px);
    }
    #tarif-compare .tarif-table__collapse.is--collapsed svg, 
    #tarif-compare .tarif-table__collapse[aria-expanded="false"] svg{
            transform: translateY(2px) rotate(180deg);

    }
}

#tarif-compare .popup-wrapper {
    width: calc(100% - 20px);
    max-width: 1160px;

}

#tarif-compare .popup {
    padding: 16px 24px 20px 24px;



    margin: 20px 0;
}

#tarif-compare .popup-close {




}
#tarif-compare .popup-close:hover{
    background: var(--color-text);
}
#tarif-compare .popup-close:hover svg path{
    fill: #ffffff;
}
.tarif-table {
    display: table;
    width: 100%;
}

.tarif-table__row {
    display: table-row;
    width: 100%;
}

.tarif-table__row:first-of-type .tarif-table__item, .tarif-table__row--header .tarif-table__item {
    border-radius: 16px 16px 0 0;
}

.tarif-table__row--header.is--sticky .tarif-table__item {
    border-radius: 0 0 16px 16px;
}

.tarif-compare__switch {
    position: relative;


    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
    white-space: nowrap;
    margin-right: 64px;
}

.tarif-table__item {
    padding: 1px 4px;
    background: #F9F9FC;
    height: 100%;
    display: table-cell;
    margin-left: 16px;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    min-width: 130px;
    max-width: 130px;
}

.tarif-table__row .tarif-table__item:first-of-type {
    width: 26%;
    font-size: 15px;
    font-weight: 500;
    line-height: 150%;
    background: transparent;
    padding: 11px 0;
    max-width: 390px;
}
.tarif-table--body .tarif-table__row:first-of-type .tarif-table__item{
    border-radius: 0;
}
.tarif-table__row .tarif-table__item:nth-child(2) {
    background: #F2F9FE;
}

.tarif-table__row:last-of-type:not(.tarif-table__row--header) .tarif-table__item {
    border-radius: 0 0 16px 16px;
}

.tarif-table--buttons .tarif-table__item {
    background: none !important;
    padding: 0 !important;
}

.tarif-table--buttons .mobile {
    display: none;
}

.tarif-table__item i {
    display: block;
    text-align: center;
    overflow: hidden;
    color: #959CA6;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-style: normal;
}

.tarif-table__item--title {
    text-align: center;
    color: #19181A;
    text-align: center;
    font-family: Gilroy;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    padding: 14px 0;
    border-radius: 16px 16px 0 0;
}

.tarif-table--header {
    position: sticky;
    top: 0px;
    z-index: 21;
}

.tarif-table__item .text, .tarif-table__item .checkbox {
    margin: auto;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tarif-table__item .text i {
    white-space: normal;
}

.tarif-table__item-content {
    display: block;
    width: 12vw;
    max-width: 113px;
    margin: auto;
    text-align: center;
}

.tarif-table__item .text[data-value], .tarif-table__item .checkbox {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='20' viewBox='0 0 21 20' fill='none'%3E%3Cpath d='M10.4993 1.66666C5.90768 1.66666 2.16602 5.40832 2.16602 9.99999C2.16602 14.5917 5.90768 18.3333 10.4993 18.3333C15.091 18.3333 18.8327 14.5917 18.8327 9.99999C18.8327 5.40832 15.091 1.66666 10.4993 1.66666ZM13.766 10.625H7.09935C6.75768 10.625 6.47435 10.3417 6.47435 9.99999C6.47435 9.65832 6.75768 9.37499 7.09935 9.37499H13.766C14.1077 9.37499 14.391 9.65832 14.391 9.99999C14.391 10.3417 14.116 10.625 13.766 10.625Z' fill='%23B9BDC4'/%3E%3C/svg%3E");
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px auto;
    text-indent: -9999px;
}

.tarif-table__item .checkbox[data-value='11'] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M8.69857 0.666687C4.1069 0.666687 0.365234 4.40835 0.365234 9.00002C0.365234 13.5917 4.1069 17.3334 8.69857 17.3334C13.2902 17.3334 17.0319 13.5917 17.0319 9.00002C17.0319 4.40835 13.2902 0.666687 8.69857 0.666687ZM12.6819 7.08335L7.9569 11.8084C7.84023 11.925 7.6819 11.9917 7.51523 11.9917C7.34857 11.9917 7.19023 11.925 7.07357 11.8084L4.71523 9.45002C4.47357 9.20835 4.47357 8.80835 4.71523 8.56669C4.9569 8.32502 5.3569 8.32502 5.59857 8.56669L7.51523 10.4834L11.7986 6.20002C12.0402 5.95835 12.4402 5.95835 12.6819 6.20002C12.9236 6.44169 12.9236 6.83335 12.6819 7.08335Z' fill='%230F8D57'/%3E%3C/svg%3E");
    background-size: 20px auto;
}

.tarif-table__divider {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin: 32px 0 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.tarif-table__divider svg {
    transition: all .3s ease-in-out;
}

.tarif-table__collapse[aria-expanded="false"] svg {
    transform: rotate(180deg);
}

.switcher {
    cursor: pointer;
    position: relative;
    transition: background-color .3s ease-in-out;
    width: 40px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 24px;
    background: #CECDD1;
}

.switcher.is--active {
    background-color: var(--color-blue);
}

.switcher i {
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: #ffffff;
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left .3s;
}

.switcher.is--active i {
    background-color: white;
    left: 20px;
}

.switcher__text {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
}

.tarif-table__row.is--hidden {
    display: none;
}
.tarif-compare__header{
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 36px;
}
.tarif-compare__title{
    font-size: 32px;
    margin-top: 0;
}
.tarif-compare{
    padding: 0;
}
@media screen and (max-width: 890px) {
    #tarif-compare .popup-wrapper {
        width: 100%;
        max-height: 100%;
        height: 100%;
        top: 0;
    }
    #tarif-compare .popup-wrapper {
        justify-content: flex-start!important;
    }

    #tarif-compare .popup {
        margin: 0;
        border-radius: 0;
        height: auto;
    }

    #tarif-compare .popup-close {
        right: 16px;
        top: 7px;
    }

    .tarif-compare__title {
        font-size: 20px;
        line-height: 115%;
        margin-bottom: 16px;
    }

    .tarif-table__row--header .tarif-table__item:first-of-type {
        display: none
    }

    .tarif-compare__header{
         margin-bottom: 34px; 
    }

    .tarif-table__row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px 4px;
    }

    .tarif-table__row--header .tarif-table__item .tarif-table__item-content {
        font-size: 17px;
        font-weight: 700;
    }

    .tarif-table__item {
        min-height: 36px;
        padding: 2px 0;
        display: flex;
        align-items: center;
        width: 19%;
        min-width: 1%;
        max-width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        height: auto;
    }
.tarif-table--header .tarif-table__row:first-of-type .tarif-table__item{
    border-radius: 16px;
}

    .tarif-table--buttons .tarif-table__item:first-of-type {
        display: none;
    }

    .tarif-table--buttons .desktop {
        display: none;
    }

    .tarif-table--buttons .mobile {
        display: block;
    }

    .tarif-table__item-content {
        width: 15vw;
        max-width: max-content;
    }

    .tarif-table__row .tarif-table__item:first-of-type {
        width: 100%;
        background: #ffffff;
        max-width: 100%;
        height: 24px;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 16px;
        line-height: 1;
        min-height: 2px;
    }

    .tarif-table__collapse .collapsed__content {
        margin-top: 4px;
    }
    .tarifs-card__options-item{
        height: auto;
    }
}
.tarifs__compare--mobile{
    display: none;
}
@media screen and (max-width: 680px) {
    .tarifs__compare--mobile{
     display: block;
    }
    .tarifs__compare--desktop{
     display: none;
    }
    .tarif-table__row--header .tarif-table__item .tarif-table__item-content {
        font-size: 14px;
    }
    .tarif-compare__title{
        order: 1;
        margin-top: 0;
        width: calc( 100% - 60px );
    }
    .tarif-compare__switch {
        position: relative;


        margin-bottom: 16px;
        order: 3;
        min-width: 100%;
    }
    #tarif-compare .popup-close{




    }
    .tarif-compare__header{
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-bottom: 8px;
    }

    .tarif-table__item .text, .tarif-table__item .checkbox {

    }

}

@media screen and (max-width: 480px) {
    .tarif-table__row--header .tarif-table__item .tarif-table__item-content {
        font-size: 14px;
    }

    .tarif-compare__switch {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 16px;
    }

    .tarif-table__item .text, .tarif-table__item .checkbox {
        font-size: 11px;
    }

    .tarifs-card__options-item {
        padding-bottom: 0;
    }




}
@media screen and (max-width: 768px) {
    .tarifs-tabs {
        margin-bottom: 16px;
        padding-bottom: 0;
    }
    .tarifs__compare {
        bottom: 0;
        left: auto;
        right: auto;
        top: auto;
        position: relative;
        width: 100%;
        margin-bottom: 30px;
    }
    .tarifs-cta .tarifs-card__options-item{
         height: auto;
    }
}

.tarif-table__divider {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin: 32px 0 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    letter-spacing: -0.72px;
    
}
.tarif-table__divider svg {
    transition: all .3s ease-in-out;
    transform: translateY(10px);
}
.tarif-table__collapse.is--collapsed svg,
.tarif-table__collapse[aria-expanded="false"] svg {
    transform: translateY(10px) rotate(180deg);
}
.tarif-table__collapse.is--collapsed .collapsed__content {
    display: none;
}
@media screen and (max-width: 768px) {
    .tarif-table--header{

    }
}
