/* Réparation à vie */

.d-flex {
    display: flex;
}

.text-decoration-underline {
    text-decoration: underline;
}

p {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
}

p strong {
    font-weight: 700;
}

#cms #wrapper {
    padding: 0;
    width: 100% !important;
    max-width: 1280px;
}

#cms .page-content.page-cms {
    text-align: left;
}

#cms #main .page-header {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-top: 50px;
    height: 410px;
    background-image: url(../img/cms-page-86-garantie-cimalp/bg.png);
    margin-bottom: 86px;
    margin-top: 0px;
}

#cms #main .page-header::before {
    position: absolute;
    content: '';
    background-image: url('../img/cms-page-86-garantie-cimalp/header-background.svg');
    height: 100%;
    width: 100%;
    top: 0;
    left: 30%;
    z-index: 0;
    background-repeat: no-repeat;
    background-position-y: bottom;
}
/*
#cms .page-header::after {
    content: '';
    position: absolute;
    background-color: #D9D9D9;
    height: 29px;
    width: 100%;
    left: 0;
    bottom: 0;
}*/

#cms .page-header h1 {
    max-width: 1280px;
    margin: 0 auto;
    display: block;
    font-weight: 900;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.02em;
    color: #26AC6D;
}

.sustainability-commitment {
    gap: 20px;
}

.sustainability-commitment .text-block,
.sustainability-commitment .img-block {
    width: calc(50% - 10px);
}

.sustainability-commitment .text-title {
    max-width: 540px;
    font-weight: 900;
    font-size: 40px;
    letter-spacing: -0.02em;
    line-height: 1.17;
}

.sustainability-commitment .text-description {
    margin-top: 15px;
}

.sustainability-commitment .text-description p {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.17;
}

.sustainability-commitment .text-detail {
    margin-top: 15px;
    padding-right: 40px;
}

.sustainability-commitment .text-detail p {
    line-height: 18px;
}

.sustainability-commitment .text-detail p.mb {
    margin-bottom: 11px;
}

.lifetime-repair-info {
    margin-top: 80px;
}

.lifetime-repair-info .text-title-block {
    width: 100%;
    order: 1;
}

.lifetime-repair-info .text-title-block .text-title {
    font-weight: 900;
    font-size: 40px;
    line-height: 48.5px;
    letter-spacing: -0.02em;
    color: #22AB6C;
}

.lifetime-repair-info .text-title-block .text-description {
    font-weight: 900;
    font-size: 28px;
    line-height: 48.5px;
    letter-spacing: -0.02em;
}

.lifetime-repair-info .text-detail {
    order: 2;
    width: calc((100% - 20px) / 2);
    padding-top: 60px;
}

.lifetime-repair-info .wrapper-block {
    gap: 20px;
    align-items: center;
    position: relative;
}

.lifetime-repair-info .img-block {
    order: 1;
    width: calc((100% - 20px) / 2);
    position: relative;
    overflow: hidden;
    padding-right: 9%;
    z-index: 0;
}

.lifetime-repair-info .img-block::after {
    content: '';
    position: absolute;
    top: 13%;
    left: 0;
    width: calc(100% - 40px);
    height: 100%;
    background-image: url(../img/cms-page-86-garantie-cimalp/bg.png);
    z-index: -1;
}

.lifetime-repair-info .img-block img {
    width: 100%;
    height: auto;
}

.lifetime-repair-info .text-detail p {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}

.lifetime-repair-info .text-detail p.mb {
    margin-bottom: 11px;
}

.lifetime-repair-info .text-detail p:last-child {
    margin-top: 20px;
    font-size: 12px;
}

.cimalp-lifetime-repairability {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cimalp-lifetime-repairability .text-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cimalp-lifetime-repairability .block-1 .text-description {
    max-width: 620px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.cimalp-lifetime-repairability .block-1 .text-description p.mb {
    margin-bottom: 20px;
}

.cimalp-lifetime-repairability .block-2 {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    gap: 5px;
    aspect-ratio: 1728 / 238;
    margin-top: 30px;
    overflow: hidden;
}

.cimalp-lifetime-repairability .img-container {
    overflow: hidden;
}

.cimalp-lifetime-repairability .img-container.item-1 {
    flex: 0 0 33.26%;
}

.cimalp-lifetime-repairability .img-container.item-2 {
    flex: 0 0 36.18%;
}

.cimalp-lifetime-repairability .img-container.item-3 {
    flex: 0 0 29.96%;
    position: relative;
}

.cimalp-lifetime-repairability .img-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cimalp-lifetime-repairability .img-container.item-3 img {
    position: absolute;
    width: auto;
    height: 213%;
    top: -66%;
    left: -50%;
}

.cimalp-lifetime-repairability .block-3,
.cimalp-lifetime-repairability .block-4 {
    max-width: 843px;
    margin: 0 auto;
}

.cimalp-lifetime-repairability .img-block {
    justify-content: space-between;
    align-items: center;
}

.cimalp-lifetime-repairability .block-3 .img-block {
    margin-top: 50px;
}

.cimalp-lifetime-repairability .img-block .text {
    font-size: 14px;
    line-height: 16px;
}

.cimalp-lifetime-repairability .block-3 .img-block .text {
    margin-top: 10px;
}

.cimalp-lifetime-repairability .img-block .item {
    text-align: center;
    max-width: 110px;
}

.cimalp-lifetime-repairability .img-block .item text {
    margin-top: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
}

.cimalp-lifetime-repairability .block-3 .text-description {
    margin-top: 46px;
    text-align: center;
}

.cimalp-lifetime-repairability .text-description p.mb {
    margin-bottom: 11px;
}

.cimalp-lifetime-repairability .img-block .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cimalp-lifetime-repairability .text-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

.cimalp-lifetime-repairability .block-4 .text-title {
    margin-top: 80px;
    max-width: 840px;
}

.cimalp-lifetime-repairability .block-4 .text-description {
    margin-top: 50px;
    padding: 0 60px;
}

.cimalp-lifetime-repairability .block-4 .img-block {
    align-items: flex-start;
    margin-top: 50px;
}

.cimalp-lifetime-repairability .block-4 .img-block .item {
    max-width: 100%;
}

.cimalp-lifetime-repairability .block-4 .img-block .img-wrapper {
    height: 145px;
    position: relative;
}

.cimalp-lifetime-repairability .block-4 .img-block .img-wrapper .step-number {
    position: absolute;
    left: -13px;
    top: 0px;
    color: #22AB6C;
    font-size: 16px;
    font-weight: 900;
}

.cimalp-lifetime-repairability .block-4 .img-block .item .text {
    width: 191px;
    line-height: 18px;
}

.end-of-life {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 73px;
    height: 391px;
    background-image: url(../img/cms-page-86-garantie-cimalp/bg.png);
    background-size: cover;
}

.end-of-life .block-wrapper {
    width: 100%;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.end-of-life .text-block {
    max-width: 604px;
}

.end-of-life .text-title {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: #22AB6C;
}

.end-of-life .text-description {
    margin-top: 20px;
}

.end-of-life img {
    margin-left: 175px;
}

#main .page-content {
    margin-bottom: 0px;
}

@media (min-width: 2100px) {
    #cms #main .page-header::before {
        left: 34%;
    }
}

@media (max-width: 1650px) {
    #cms #main .page-header::before {
        left: 24%;
    }
}

@media (max-width: 1400px) {
    #cms #main .page-header::before {
/*        left: 20%;*/
    background-size: contain;
    left: 30%;
    }
    #cms #main .page-header {
        height: 300px;
    }
}

@media (max-width: 1330px) {
    .sustainability-commitment,
    .lifetime-repair-info,
    .cimalp-lifetime-repairability {
        padding-left: 20px;
        padding-right: 20px;
    }

    #cms .page-header h1 {
        margin-left: 30px;
    }

    .end-of-life .text-block {
        margin-left: 20px;
    }
}

@media (max-width: 1300px) {
    .sustainability-commitment,
    .lifetime-repair-info,
    .cimalp-lifetime-repairability {
        padding-left: 30px;
        padding-right: 30px;
    }
    .end-of-life .text-block {
        margin-left: 30px;
    }
}

@media (max-width: 1200px) {
    #cms .page-header h1 {
        margin-left: 15px;
    }
    .sustainability-commitment,
    .lifetime-repair-info,
    .cimalp-lifetime-repairability {
        padding-left: 15px;
        padding-right: 15px;
    }
    .end-of-life .text-block {
        margin-left: 15px;
    }
}

@media (max-width: 1200px) {
    #cms .page-header h1 {
        margin-left: 20px;
    }
}

@media (max-width: 991px) {
    #cms #main .page-header {
        height: 500px;
        margin-bottom: 40px;
        background-size: auto 100%;
    }

    #cms #main .page-header::before {
        left: auto;
        top: auto;
        bottom: 66px;
        right: -9%;
        height: 284px;
        width: 799px;
        background-size: contain;
    }

    #cms .page-header::after {
        height: 66px;
    }

    .sustainability-commitment {
        flex-direction: column;
    }

    .sustainability-commitment .text-block,
    .sustainability-commitment .img-block {
        width: 100%;
    }

    .sustainability-commitment .text-title {
        display: block;
        font-size: 32px;
        line-height: 38px;
    }

    .sustainability-commitment .text-description p {
        font-size: 20px;
        line-height: 1.1;
    }

    .sustainability-commitment .text-detail {
        padding-right: 0;
    }

    .sustainability-commitment .img-block {
        aspect-ratio: 350 / 437;
        overflow: hidden;
    }

    .sustainability-commitment .img-block img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .lifetime-repair-info {
        margin-top: 40px;
    }

    .lifetime-repair-info .text-title-block .text-title {
        font-size: 32px;
        line-height: 38px;
    }

    .lifetime-repair-info .text-title-block .text-description {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 23px;
    }

    .lifetime-repair-info .wrapper-block {
        gap: 6px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .lifetime-repair-info .text-detail {
        padding-top: 0;
        order: 1;
        width: 100%;
    }

    .lifetime-repair-info .img-block {
        order: 2;
        width: 100%;
        padding-right: 0;
    }

    .lifetime-repair-info .img-block::after {
        width: 100%;
        top: 6%;
    }

    .lifetime-repair-info .text-detail p:last-child {
        margin-top: 0px;
    }

    .cimalp-lifetime-repairability {
        margin-top: 40px;
    }

    .cimalp-lifetime-repairability .block-1 {
        order: 1;
    }

    .cimalp-lifetime-repairability .block-2 {
        order: 3;
    }

    .cimalp-lifetime-repairability .block-3 {
        order: 2;
    }

    .cimalp-lifetime-repairability .block-4 {
        order: 4;
    }

    .cimalp-lifetime-repairability .block-1 .text-title {
        font-size: 28px;
        line-height: 23px;
        text-align: left;
    }

    .cimalp-lifetime-repairability .block-1 .text-description {
        margin-top: 10px;
        text-align: left;
    }

    .cimalp-lifetime-repairability .block-1 .text-description p.mb {
        margin-bottom: 10px;
    }

    .cimalp-lifetime-repairability .block-3 .img-block {
        flex-wrap: wrap;
        row-gap: 30px;
        max-width: 300px;
        margin: 40px auto 0 auto;
    }

    .cimalp-lifetime-repairability .img-block .item {
        width: 50%
    }

    .cimalp-lifetime-repairability .block-3 .text-description {
        margin-top: 40px;
        text-align: left;
    }

    .cimalp-lifetime-repairability .block-2 {
        margin-top: 40px;
        flex-direction: column;
        gap: 5px;
        aspect-ratio: auto;
    }

    .cimalp-lifetime-repairability .img-container.item-1 {
        flex-basis: 100%;
        aspect-ratio: 390 / 180;
    }

    .cimalp-lifetime-repairability .img-container.item-2 {
        flex-basis: 100%;
        aspect-ratio: 390 / 180;
    }

    .cimalp-lifetime-repairability .img-container.item-3 {
        flex-basis: 100%;
        aspect-ratio: 390 / 200;
    }

    .cimalp-lifetime-repairability .img-container.item-3 img {
        left: -46%;
    }

    .cimalp-lifetime-repairability .block-4 .text-title {
        margin-top: 60px;
    }

    .cimalp-lifetime-repairability .block-3,
    .cimalp-lifetime-repairability .block-4 {
        max-width: 100%;
    }

    .cimalp-lifetime-repairability .block-4 .img-block {
        flex-wrap: wrap;
        row-gap: 50px;
        max-width: 360px;
        margin: 50px auto 0 auto;
    }

    .cimalp-lifetime-repairability .block-4 .img-block .item .text {
        width: 168px;
    }

    .cimalp-lifetime-repairability .block-4 .text-description-wrapper {
        margin-top: 50px;
        padding: 0;
        margin-left: -11px;
        margin-right: -11px;
    }

    .cimalp-lifetime-repairability .block-4 .text-description {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .end-of-life {
        height: auto;
    }

    .end-of-life .block-wrapper {
        max-width: 100%;
        margin-top: 80px;
        flex-direction: column;
        gap: 10px;
        padding: 40px 0;
    }

    .end-of-life .text-block {
        margin-right: 20px;
    }

    .end-of-life .text-title {
        font-size: 20px;
        line-height: 23px;
    }

    .end-of-life .text-description {
        margin-top: 10px;
    }

    .end-of-life img {
        margin-left: 0;
        width: 105%;
    }
}

@media (max-width: 500px) {
    #cms #main .page-header {
        height: calc(100vw * 1.05);
        padding-top: 25px;
    }
    #cms #main .page-header::before {
        background-image: url('../img/cms-page-86-garantie-cimalp/header-background-mobile.svg');
        width: 100%;
        right: 0;
        background-position: center bottom;
        height: 100%;
        bottom: 30px;
    }
    #cms .page-header h1 {
        margin-left: 13px;
    }
}