/* dc */
section:has(>.ct-dc) {
    z-index: 1
}

.ct-dc {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.ct-dc .dc-1 {
    position: absolute;
    height: auto;
    width: min(1539px, 100vw);
    top: calc(min(12.2rem, 13vw) * -1);
    left: calc(50% - min(960px, 50vw));
}

.ct-dc .dc-2 {
    position: absolute;
    height: auto;
    width: min(1539px, 100vw);
    top: calc(min(12.2rem, 13vw) * -1);
    left: calc(50% - min(582px, 50vw));
}

.ct-dc .dc-3 {
    position: absolute;
    height: auto;
    width: min(385px, 30vw);
    top: calc(min(7rem, 13vw) * -1);
    left: calc(50% - min(903px, 50vw));
}

/* sc1 */
.sc1 {
    font-size: min(20px, 4.2vw);
    padding-bottom: min(1rem, 2vw);
    border-bottom: 1px solid var(--cLEbonyTranslucent);
}

.sc1:has(.cliping) {
    color: inherit;
}

.sc1 .cliping {
    bottom: 1rem;
    opacity: .4;
    height: calc(100% - min(1rem, 2vw));
    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: inherit;
        object-position: center;
    }
    @media screen and (width>=1200px) {
        & {opacity: 1;}
    }
}

.sc1 .cliping::after {
    content: none
}

/* sc2 */
.sc1:has(+ .sc2) {
    padding-bottom: min(8rem, 13vw)
}

.sc1+.sc2 {
    z-index: 1;
    margin-top: calc(min(6rem, 13vw) * -1);
}

.sc1+.sc2>div {
    padding-top: 0;
}

.sc2 {
    width: 100%;
    overflow: hidden;
}

.sc2 .row {
    position: relative;
    gap: min(2rem, 3vw);
}

.sc2 article {
    position: relative;
    display: flex;
    flex: 1 1 100%;
    overflow: hidden;
    border-radius: min(2rem, 1.5vw);
}

.sc2 article :is(h1, h2, h3, h4, h5, h6, [class*="ttl-"]) {
    color: inherit;
}

.sc2 article:not([class^="th-"]) {
    background-color: var(--cLWhite);
}

.sc2 article>figure {
    position: relative;
    width: min(120px, 30%);
    /* flex: 1 1 40%; */
}

.sc2 article>.text {
    position: relative;
    /* flex: 1 1 60%; */
    width: min(300px, 70%);
    row-gap: min(1rem, 4vw);
    /* justify-content: center; */
    padding: min(1.5rem, 4vw);
    font-size: min(14px, 3.8vw);

    & .next[class^=btn-] {
        margin-top: auto;
    }
}

/* sc3 */
.sc3 [class^="row"] {
    gap: min(2rem, 7vw) 5%;
}

/* sc4 */
.sc4::before {
    position: absolute;
    left: 50%;
    bottom: 0;
    content: '';
    display: block;
    top: min(17rem, 40vw);
    pointer-events: none;
    box-sizing: border-box;
    transform: translateX(-50%);
    border-radius: min(2rem, 3vw);
    width: min(1700px, calc(100vw - 1rem));
    background: linear-gradient(180deg, rgba(38, 89, 115, 1) 10%, rgba(38, 89, 115, 0.9) 100%);
}

.sc4 .listing {
    position: relative;
    width: 100vw;
    display: flex;
    overflow: auto;
    flex-wrap: nowrap;
    margin-left: -5vw;
    padding-inline: 5vw;
    padding-bottom: 2rem;
    scrollbar-width: none;
    gap: 2rem min(2rem, 3vw);
    -ms-overflow-style: none;
    scrollbar-color: transparent transparent;
    filter: drop-shadow(6px 6px 14px var(--cLBlackTranslucent2));
}

.sc4 .listing::-webkit-scrollbar {
    display: none;
}

.sc4 article {
    position: relative;
    flex: 0 0 auto;
    width: min(258px, 60vw);
}

.sc4 article:not(.notif) {
    color: var(--cLBlack);
    height: min(277px, 60vw);
}

.sc4 :is(article:not(.notif), article:not(.notif) figure, article:not(.notif) .text) {
    border-radius: min(1rem, 1.5vw);
}

.sc4 article:not(.notif) figure {
    position: relative;
    width: 100%;
    display: block;
}

.sc4 article figure>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: brightness(.7);
}

.sc4 article:hover figure>img {
    scale: 1.05;
}

.sc4 article figcaption {
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
    transition: all .2s;
    padding-inline: min(2rem, 5vw);
    bottom: calc(min(1.6rem, 8vw) * -1);
}

.sc4 article:hover figcaption {
    opacity: 0;
    visibility: hidden
}

.sc4 article figcaption .btn-white {
    max-width: 100%;
    text-align: left;
    white-space: inherit;
}

.sc4 article:not(.notif) .text {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    text-align: center;
    visibility: hidden;
    align-items: center;
    transition: all .2s;
    color: var(--cLWhite);
    padding: min(2rem, 5vw);
    justify-content: center;
    font-size: min(13px, 3vw);
    mix-blend-mode: hard-light;
    background-color: var(--cLDeepTealTranslucent);
}

.sc4 article:not(.notif):hover .text {
    opacity: 1;
    visibility: visible;
}

.sc4 article:not(.notif) .text>* {
    transition: all .3s;
    transform: translateY(3rem);
}

.sc4 article:not(.notif):hover .text>* {
    transform: translateY(0);
}

.sc4 article:not(.notif) .text :is(h1, h2, h3, h4, h5, h6, [class*="ttl-"]) {
    color: inherit;
}

.sc4 article:not(.notif) .text>[class*="ttl-"] {
    width: 100%;
    padding-bottom: min(1rem, 3vw);
    border-bottom: 1px solid currentColor;
}

.sc4 article:not(.notif) .text>p:not([class]) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc4 article.notif {
    margin-inline: auto;
    height: auto;
    color: var(--cLWhite);
    padding: min(3rem, 12vw);
    font-size: min(14px, 2.8vw);
    border-radius: min(1rem, 2vw);
}

.sc4 article.notif::before {
    position: absolute;
    content: '';
    display: block;
    inset: min(1rem, 3vw);
    pointer-events: none;
    border-radius: min(.3rem, 1vw);
    border: 1px solid var(--cLWhite);
}

.sc4 article.notif .flex {
    flex-wrap: nowrap;
    column-gap: 5%;
    align-items: center;
}

.sc4 article.notif .icn {
    position: relative;
    flex: 0 0 auto;
    width: min(60px, 15vw);
    height: min(60px, 15vw);
}

.sc4 article.notif .text {
    row-gap: .3rem;
    color: var(--cLSteelBlue);
}

.sc4 .row>article.notif {
    width: min(450px, 100%);
    margin-bottom: calc(min(15rem, 35vw) * -1);
}

.sc4 .listing article.notif {
    margin-block: auto;
}

.sc4+.sc5 {
    padding-top: min(4rem, 20vw);
}

/* sc5 */
.sc5 {
    overflow: hidden;
}

.sc5 [class^="row"] {
    gap: min(2rem, 5vw) 5%;
}

.sc5 [class^="row"] .left {
    flex: 1 1 200px;
}

.sc5 [class^="row"] .right {
    position: relative;
    width: 50%;
    flex: 1 1 400px;
}

.sc5 .right .y {
    row-gap: min(2rem, 8vw);
}

.sc5 .left .flex {
    position: relative;
    padding: min(2rem, 5vw);
    border-radius: min(1rem, 1.5vw);
    background-color: var(--cLWhite);
    filter: drop-shadow(6px 6px 14px var(--cLBlackTranslucent2));
}

.sc5 .ct-slide {
    position: relative;
    opacity: 0;
    display: flex;
    visibility: hidden;
    width: min(100%, 75vw);
}

.sc5 .ct-slide.slick-slider {
    opacity: 1;
    visibility: visible;
}

.sc5 .offres {
    position: relative;
    gap: 1.5rem 2%;
    display: flex;
    flex-wrap: wrap;
}

.sc5 .offres li {
    position: relative;
    width: 49%;
    display: flex;
    flex-direction: column;
}

.sc5 .offres .icn {
    display: block;
    width: max-content;
    border-radius: 100%;
    margin-inline: auto;
    color: var(--cLBlack);
    margin-bottom: -.5rem;
}

.sc5 .offres .icn[style^="--icn"]:not([class^=btn])::before {
    scale: .5;
    padding: min(3rem, 9vw);
}

.sc5 .offres .ctn {
    position: relative;
    flex: 1;
    display: flex;
    line-height: 1.1;
    text-align: center;
    align-items: center;
    margin-inline: auto;
    color: var(--cLBlack);
    width: min(170px, 100%);
    flex-direction: column;
    justify-content: center;
    font-size: min(15px, 4vw);
    border-radius: min(.5rem, 1.5vw);
    padding: min(0.4rem, 3vw) min(0.9rem, 4vw);
    background-color: var(--cLLightSkyBlue);
}

.sc5 .offres .ctn :is(b, strong) {
    text-transform: uppercase;
    font-size: min(18px, 4.2vw);
}

.sc5 .offres .ctn * {
    margin: 0;
}

/* sc6 */
.sc6::before {
    position: absolute;
    top: 0;
    left: 50%;
    content: '';
    height: 100%;
    pointer-events: none;
    transform: translateX(-50%);
    border-radius: min(2rem, 3vw);
    width: min(1700px, calc(100vw - 1rem));
    background: linear-gradient(270deg, rgba(230, 240, 242, 1) 28%, rgba(255, 255, 255, 1) 100%);
}

.sc6 [class^="row"] {
    gap: 2rem 0%;
}

.sc6 [class^="row"] .right {
    position: relative;
    width: min(450px, 100%);
    flex: 1 1 max(300px, 35%);
}

.sc6 [class^="row"] .left {
    position: relative;
    flex: 1 1 max(300px, 55%);
}

.sc6 [class^="row"] .left>svg {
    width: 100%;
    height: auto;
}

.sc6 [class^="row"] .left>svg.desk {
    margin-top: -7rem;
}

.sc5:has(+ .sc6) {
    z-index: 2;
}

.sc6:has(+ footer) {
    padding-bottom: min(5rem, 10vw);
}

.sc6+footer {
    position: relative;
    z-index: 1;
    margin-top: calc(min(5rem, 10vw) * -1);
}

@media (max-width:1199px) {
    .sc4 {
        z-index: 4 !important;
    }
}

@media (min-width:768px) {
    .sc2 .row {
        position: relative;
        width: 100vw;
        overflow: auto;
        flex-wrap: nowrap;
        margin-left: -5vw;
        padding-inline: 5vw;
        scrollbar-width: none;
        gap: 2rem min(2rem, 3vw);
        -ms-overflow-style: none;
        scrollbar-color: transparent transparent;
    }

    .sc2 .row::-webkit-scrollbar {
        display: none;
    }

    .sc2 article {
        position: relative;
        display: flex;
        flex: 0 0 auto;

        color: var(--cLBlack);
        width: min(400px, 80vw);

    }

    .sc5 .ct-slide {
        width: 100%;
    }
}

@media (min-width:1024px) {
    .sc2 .row {
        width: 100%;
        gap: 2rem 2%;
        flex-wrap: wrap;
        overflow: inherit;
        padding-inline: 0;
        margin-left: initial;
    }

    .sc2 article {
        width: 32%;
    }

    .sc4 article {
        width: 32%;
    }

    .sc4 .listing {
        width: 100%;
        gap: 2rem 2%;
        flex-wrap: wrap;
        overflow: inherit;
        padding-inline: 0;
        margin-left: initial;
    }

    .sc4 .row>article.notif {
        margin-bottom: calc(min(11rem, 17vw) * -1);
    }

    .sc5 .offres li {
        width: 23.5%;
    }

    .sc5 [class^="row"] .right {
        flex: 1 1 500px;
    }
}

@media (min-width:1200px) {
    .sc2 {
        overflow: visible;
    }

    .sc2 .row {
        filter: drop-shadow(6px 6px 14px var(--cLBlackTranslucent2));
    }

    .sc4 article {
        width: 18.4%;
    }

    .sc2 article:not(.notif) {
        transition: all .2s;
    }

    .sc2 article:hover {
        transform: translateY(.5rem);
    }

    /* .sc2 article:not(.notif)>figure {
        flex: 0 0 120px;
    } */

    .sc2 article:not(.notif)>figure>img {
        position: absolute;
        inset: 0;
    }

    .sc2 article:not(.notif):hover>figure>img {
        scale: 1.05;
    }

    /* .sc2 article>.text {
        width: inherit;
        flex: 1 1 60%;
    } */

    .sc4 article.notif {
        padding: min(1.1rem, 4vw);
    }

    .sc4 article.notif::before {
        inset: min(.5rem, 2vw);
    }

    .sc4 article.notif .icn {
        width: min(53px, 10vw);
        height: min(53px, 10vw);
    }

    .sc4:has(+ .sc5) {
        padding-bottom: min(10rem, 10vw);
    }

    .sc4+.sc5 {
        z-index: 2;
        padding-top: 0;
        margin-top: calc(min(15rem, 15vw) * -1);
    }

    .sc5 .ct-slide.slick-slider {
        clip-path: polygon(0 0, 56.2vw 0, 56.2vw 100%, 0% 100%);
    }

    .sc5 [class^="row"] .right {
        flex: 1 1 400px;
    }

    .sc5 .right .y>.text {
        color: var(--cLWhite);
    }

    .sc5 .right .y>.text :is(h1, h2, h3, h4, h5, h6, [class*="ttl-"]) {
        color: inherit
    }

    .sc5 .ct-slide article.slick-active~article:not(.slick-active) {
        opacity: .4;
    }
}

@media (min-width:1440px) {}

@media (min-width:1660px) {
    .sc6 [class^="row"] {
        gap: 2rem 0%;
    }

    /* .sc6 [class^="row"] .left {flex: 1 1 600px;} */
}

@media (min-width:1920px) {
    .sc5 .ct-slide.slick-slider {
        clip-path: polygon(0 0, 53.4vw 0, 53.4vw 100%, 0% 100%);
    }
}

@media (min-width:2100px) {}