
/* Bloc clé en main */

.section.bloc-cle-en-main {
    padding-top: 118px;
}

.bloc-cle-en-main::before {
    content: '';
    position: absolute;
    background: rgb(225, 222, 222);
    background: -moz-linear-gradient(90deg, rgba(225, 222, 222, 1) 0%, rgba(240, 239, 239, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(225, 222, 222, 1) 0%, rgba(240, 239, 239, 1) 100%);
    background: linear-gradient(90deg, rgba(225, 222, 222, 1) 0%, rgba(240, 239, 239, 1) 100%);
    width: 100%;
    left: 0;
    bottom: 0;
    height: calc(100% + 160px);
    z-index: -2;
}

.cle-en-main-bg-mobile,
.cle-en-main-bg-desktop,
.cle-en-main-bg-tab {
    mix-blend-mode: multiply;
    opacity: 0.4;
    position: absolute;
    z-index: -1
}

.cle-en-main-bg-desktop {
    display: none;
    bottom: 0;
}

.cle-en-main-bg-tab {
    display: none;
}

.cle-en-main-bg-mains {
    width: 106px;
    top: 0;
    left: 0;
}

.cle-en-main-bg-bulle {
    width: 118px;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
}

.cle-en-main-bg-cles {
    width: 125px;
    top: 30px;
    right: 10px;
}

.cle-en-main-bg-livre {
    width: 101px;
    bottom: -32px;
    right: -47px;
}

.cle-en-main-bg-chrono {
    width: 89px;
    top: 0;
    right: -19px;
}

.cle-en-main-bg-micro {
    width: 85px;
    top: 20%;
    left: -15px;
}

.cle-en-main-bg-etoiles {
    width: 104px;
    top: 45%;
    transform: translateY(-50%);
    right: -63px;
}

.cle-en-main-bg-soleil {
    width: 122px;
    bottom: 12%;
    left: -40px;
}

.cle-en-main-bg-ampoule {
    width: 81px;
    bottom: 32px;
    right: -29px;
}

.cle-en-main-bg-avion {
    width: 91px;
    bottom: 135px;
    left: -44px;
}

.cle-en-main-bg-discussion {
    width: 141px;
    bottom: 82px;
    right: -38px;
}

.cle-en-main-bg-planete {
    width: 141px;
    bottom: 0;
    left: 0;
}

.cle-en-main-wrapper {
    position: relative;
    padding: 88px 0 56px;
    margin-left: auto;
    margin-right: auto;
}

.cle-en-main-post-it {
    aspect-ratio: 43/30;
    width: 100%;
}

.cle-en-main-phrase {
    font-family: var(--font-hand-written);
    font-size: 2.28rem;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: -0.64px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
}

.cle-en-main-phrase-el {
    width: 100%;
}

.cle-en-main-phrase-el:first-child {
    max-width: 260px;
    align-self: start;
}

.cle-en-main-phrase-el:last-child {
    max-width: 260px;
    align-self: end;
}

.cle-en-main-phrase-el.rotate-wrapper {
    position: relative;
    line-height: 130%;
    font-size: 2.85rem;
    padding: 48px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cle-en-main-phrase-el.rotate-wrapper .rotate-el>a {
    color: var(--bs-body-color);
}

.cle-en-main-phrase-el.rotate-wrapper::before,
.cle-en-main-phrase-el.rotate-wrapper::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}

.cle-en-main-phrase-el.rotate-wrapper::before {
    background-image: url(./../img/autreman-cle-en-main-fleche-1.svg);
    width: 100px;
    height: 36px;
    top: -24px;
    left: 80px;
    transform: rotate(45deg);
}

.cle-en-main-phrase-el.rotate-wrapper::after {
    background-image: url(./../img/autreman-cle-en-main-fleche-2.svg);
    width: 100px;
    height: 36px;
    top: calc(100% - .375rem);
    right: 195px;
    transform: rotate(60deg);
}

.cle-en-main-cta {
    padding-bottom: 28px;
}

@media (min-width: 768px) {

    .cle-en-main-phrase {
        padding-left: 15%;
        padding-right: 15%;
    }

    .cle-en-main-post-it {
        aspect-ratio: initial;
        width: 100%;
        /* max-width: 450px; */
    }

    .cle-en-main-phrase-el.rotate-wrapper {
        max-width: 50%;
    }

    .cle-en-main-phrase-el.rotate-wrapper::before {
        left: 40%;
        transform: translateX(-50%) rotate(45deg);
    }

    .cle-en-main-phrase-el.rotate-wrapper::after {
        right: 48%;
        transform: translateX(50%) rotate(60deg);
    }

    .cle-en-main-bg-tab {
        display: block;
    }

    .cle-en-main-bg-documents {
        width: 130px;
        top: 20%;
        right: 10%;
    }

    .cle-en-main-bg-enveloppes {
        width: 120px;
        top: 40%;
        left: 15%;
    }

    .cle-en-main-bg-arbre {
        width: 85px;
        bottom: 20%;
        right: 12%;
    }

    .cle-en-main-bg-formes {
        width: 120px;
        bottom: 0;
        left: 13%;
    }

    .cle-en-main-bg-bulle {
        left: 30%;
    }

    .cle-en-main-bg-cles {
        right: 15%;
    }

    .cle-en-main-bg-velo {
        width: 110px;
        top: 35px;
        right: 42%;
    }

    .cle-en-main-bg-micro {
        width: 121px;
    }

    .cle-en-main-bg-ampoule {
        width: 101px;
    }

    .cle-en-main-bg-chrono,
    .cle-en-main-bg-avion {
        width: 111px;
    }

    .cle-en-main-bg-etoiles {
        width: 124px;
    }

    .cle-en-main-bg-soleil {
        width: 162px;
    }

    .cle-en-main-bg-discussion,
    .cle-en-main-bg-planete {
        width: 161px;
    }
}

@media (min-width: 992px) {

    .section.bloc-cle-en-main {
        padding-top: 56px;
    }

    .bloc-cle-en-main::before {
        height: calc(100% + 250px);
    }

    .cle-en-main-wrapper {
        padding: 0;
        margin-bottom: 40px;
    }

    .cle-en-main-phrase-el {
        width: 30%;
    }

    .cle-en-main-phrase-el.rotate-wrapper {
        font-size: 2.5rem;
        flex-grow: 0;
        max-width: none;
    }

    .cle-en-main-phrase {
        padding-left: 0;
        padding-right: 0;
    }

    .cle-en-main-phrase-el:first-child,
    .cle-en-main-phrase-el:last-child {
        max-width: none;
        align-self: auto;
    }

    .cle-en-main-phrase-el.rotate-wrapper::before {
        width: 150px;
        height: 60px;
        top: 50%;
        left: 0;
        transform: translate(-40%, -135%);
    }

    .cle-en-main-phrase-el.rotate-wrapper::after {
        width: 190px;
        height: 60px;
        top: 50%;
        right: 0;
        transform: translate(40%, 80%);
    }

    .cle-en-main-cta {
        padding-bottom: 0;
    }

    .cle-en-main-bg-mobile,
    .cle-en-main-bg-tab {
        display: none;
    }

    .cle-en-main-bg-desktop {
        width: 500px;
        display: block;
    }

    .cle-en-main-bg-left {
        right: 70%;
    }

    .cle-en-main-bg-right {
        left: 70%;
    }
}

@media (min-width: 1400px) {
    .cle-en-main-phrase {
        padding-bottom: 80px;
    }

    .cle-en-main-phrase {
        font-size: 2.5rem;
        letter-spacing: -0.8px;
    }

    .cle-en-main-bg-desktop {
        width: 580px;
    }

    .cle-en-main-bg-left {
        right: 65%;
    }

    .cle-en-main-bg-right {
        left: 65%;
    }
}

@media (min-width: 1600px) {
    .cle-en-main-bg-desktop {
        width: 680px;
    }
}

@media (min-width: 1800px) {
    .cle-en-main-bg-desktop {
        width: 680px;
    }

    .cle-en-main-bg-left {
        left: 0;
        right: auto;
    }

    .cle-en-main-bg-right {
        left: auto;
        right: 0;
    }
}