.container-tarif{
    padding: 4.65rem 0;
    width: 80%;
    margin: 0 auto;
}
.header-tarif{
    padding-bottom: 5rem;
}

.hebergement{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10rem;
}

.texte-hebergement{
    width: 50%;
}

.titre-heberg-maintenance{
    font-size: 2rem;
    color: #415FFF;
    margin-bottom: 3rem;
    text-align: center;
}

.hebergement p{
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.hebergement a{
    font-size: 1.3rem;
}

.hebergement img{
    width: 45%;
}

.tarif{
    grid-template-columns: auto 70%;
    padding-bottom: 32px;
    display: grid;
    align-self: flex-start;
    justify-content: center;
    grid-auto-rows: auto;
    width: 100%;
}
.tarif-table{
    display: grid;
    grid-gap: 14px;
    grid-auto-rows: auto;
}
.tarif-table-row{
    display: flex;
}
.right-tarif .tarif-table-row{
    justify-content: center;
}

.right-tarif .tarif-table-row .tarif-table-column:last-child {
    width: 5.3em ;
    text-align: center;
}
.left-tarif{
    padding: 24px 0;
}

.right-tarif{
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    grid-template-columns: repeat(4, 1fr);
    /* border: 1px solid #d7e0ff; */
    border-radius: 12px;
}
.basic{
    grid-area: 2 / 1 / 6 / 2;
    border: 1px solid #d7e0ff;
    border-right: none;
    border-radius: 12px 0 0 12px;
}
.avantage{
    grid-area: 2 / 2 / 6 / 3;
}
.partenaire{
    grid-area: 2 / 3 / 6 / 4;
    border: 1px solid #d7e0ff;
}
.pro{
    grid-area: 2 / 4 / 6 / 5;
    border: 1px solid #d7e0ff;
    border-left: none;
    border-radius: 0 12px 12px 0;
}
.tarif-table-column{
    padding: 18px 0;
}


.tarif-table-column i{
    color: #415de8;
}

.basic,.avantage,.partenaire,.pro{
    padding: 24px 0;
}

.column_recommended{
    /* background-color: #d7e0ff; */
    position: relative;
}

.column_recommended::before{
    content: "";
    position: absolute;
    top: -32px;
    width: calc(100% + 1px);
    height: calc(100% + 64px);
    background-color: #d7e0ff;
    border: 1px solid #d7e0ff;
    border-radius: 12px;
    z-index: -1;
}

.hide-desktop{
    display: none;
    width: 50%;
}

.tarif-table-row h3{
    line-height: 1.4;
    margin-bottom: 1rem;
}

.btn-xs{
    padding: 8px 14px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 2rem;
}

.btn-xs:hover{
    background-color: #2941b8;
    transition: 0.5s;
}
.hidden{
    visibility: hidden;
}
.plan-year{
    display: none;
}
.plan-year, .plan-month{
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
}
.text_xs{
    margin-bottom: 1.5rem;
    font-size: 11px;
    font-weight: normal;
}
.color_grey{
    color: #6c789d;
}
.margin-default{
    margin-bottom: 4rem;
    grid-area: 1 / 1 / 2 / 5;
}
.ta-c{
    text-align: center;
}
.checkbox-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.checkbox-switch__text{
    font-size: 15px;
    transition: font-weight .25s linear;
    cursor: pointer;
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #6c789d;
    border: 1px solid #d7e0ff;
}
.active {
    color: #fff;
    background-color: #415de8;
    border: 1px solid #415de8;
}
.checkbox-switch__text_before{
    padding-right: 8px;
    padding-left: 14px;
    border-radius: 18px 0 0 18px;
}
.checkbox-switch__text_after{
    padding-right: 14px;
    padding-left: 8px;
    border-radius: 0 18px 18px 0;
}
.ask-carre{
    z-index: 2;
    width: 18rem;
    height: fit-content;
    line-height: 1.5;
    padding: 2rem 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    background: #415de8;
    border-radius: 10px;
}
.resp-carre{
    font-size: 1.3rem;
    width: auto;
    box-sizing: border-box;
    margin-left: -5rem;
    margin-top: 5rem;
    padding: 2rem 3rem 2rem 7rem;
    background-color: #d7e0ff;
    border-radius: 10px;
}
.resp-carre li{
    margin-bottom: 0.5rem;
    display: flex;
}

h2.ta-c{
    width: 80%;
    margin: 0 auto 4rem auto;
    color: #415fff;
    font: normal normal normal 2.4rem/2.7rem Obvia;
}
.togo{
    min-width: 30px;
    background-color:white;
    margin-right: 1rem;
}

.ask-hide{
    display: none;
    margin-bottom: 2rem;
    color: #415fff;
    font: normal normal normal 2rem/3rem Obvia;
}

.tarif-table-column strong{
    font-weight: bold;
}


@media (max-width: 1200px){
    .tarif-table-row{
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;

    }

    .ask-hide{
        display: block;
    }
    .ask-carre{
        display: none;
    }
    .resp-carre{
        width: 100%;
        margin-left: 0;
        padding: 3rem 3rem;
        margin-top: 0;
    }
    h2.ta-c{
        margin-bottom: 4rem;
    }
    .tarif{
        grid-template-columns: 100%;
    }
    .left-tarif{
        display: none;
    }
    .hide-desktop{display: inline-block;}
    .container-tarif{width: 95%;}
    .tarif-table .tarif-table-row{
        justify-content: space-between;
    }

}
@media (max-width: 960px){

    .hebergement img {
        width: 75%;
        margin: 5rem auto 0 auto;
    }

    .texte-hebergement{
        width: 100%;
    }

    .right-tarif{
        grid-template-columns: 1fr ;
        grid-gap: 1.5rem;
    }
    .margin-default {
        grid-area: 1 / 1 / 2 / 2;
        margin-bottom: 3rem;
    }
    .basic {
        border: 1px solid #d7e0ff;
        grid-area: 2 / 1 / 3 / 2;
        border-radius: 12px;
    }
    .avantage { grid-area: 3 / 1 / 4 / 2; }
    .partenaire {
        grid-area: 4 / 1 / 5 / 2;
        border-radius: 12px;
        border: 1px solid #d7e0ff;
    }
    .pro {
        grid-area: 5 / 1 / 6 / 2;
        border-radius: 12px;
        border: 1px solid #d7e0ff;
    }
    .column_recommended::before{
        top: 0;
        height: 100%;
    }
}
@media (max-width: 500px){
    .ask-hide{
        font: normal normal normal 1.9rem/2rem Obvia;
    }
    .resp-carre{
        padding: 2rem 1.5rem;
    }
}