/* CONTAINER BOXED LAYOUT
 Laptop small and less*/
@media (max-width: 768px) {
    .e-con > .e-con-inner {
        width: 90%;
    }

    .e-con > .e-con-inner .e-con-inner {
        width: 100%;
    }
}
@media (min-width: 769px) and (max-width: 1600px) {
    .e-con > .e-con-inner {
        width: 95%;
    }
    .e-con > .e-con-inner .e-con-inner {
        width: 100%;
    }
}

/* buttons */
.wave a, #sendBtn {
    position: relative;
}
.wave a::after, #sendBtn::after {
    position: absolute;
    top: 0;
    z-index: 1;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask: url('../img/vague.svg') no-repeat 100% 50%;
    mask: url('../img/vague.svg') no-repeat 100% 50%;
    -webkit-mask-size: 60px;
    mask-size: 60px;
    -webkit-mask-origin: content;
}
.wave.cyan a::after, #sendBtn::after {
    background-color: #009eaa;
}
.wave.bleu a::after {
    background-color: #29235C;
}
.wave.orange a::after {
    background-color: #f9b233;
}

/* header : menu, separator */
#customNav li a {
    z-index: 5;
}
#customNav li:hover::after, #customNav li.current-menu-item:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask: url('../img/vague.svg') no-repeat center center;
    mask: url('../img/vague.svg') no-repeat center center;
    -webkit-mask-size: 60px;
    mask-size: 60px;
    background-color: #009eaa;
    animation: rotating 500ms linear both;
}

@keyframes rotating {
    from {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -o-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        transform: rotate(30deg);
    }
}

#headerContent .e-con-inner {
    position: relative;
}
#logoLamentin {
    z-index: 10;
    content: '';
    display: block;
    background: url('../img/blason-white.svg') no-repeat 50% 50%;
    background-size: cover;
}

/* Wave separated header & content */
#vague {
    margin-bottom: -6px;
}
#vague .elementor-icon {
    width: 100%;
    height: 0; /* Pour que la hauteur s'ajuste dynamiquement */
    padding-bottom: 15%; /* Pour maintenir le ratio d'aspect */
    position: relative;
}
#vague .elementor-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Remplir complètement le conteneur */
}

/* Footer */
#partnership .e-con-inner {
    align-items: center;
}
@media (min-width: 641px) {
    #partnership {
        position: absolute;
        top: 10%;
        right: 0;
        width: 200px;
    }
}
@media (min-width: 991px) {
    #partnership {
        top: 5%;
        width: fit-content;
    }
}

/* Colored Shapes */
.formeTitle::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    padding: .6em 1em;

}
.mb-1 {
    margin-bottom: -1em !important;
}
.ml-2 {
    margin-left: -2em !important;
}
.formeText::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    -webkit-clip-path: polygon(0% 10%, 100% 0%, 97% 94%, 2% 100%);
    clip-path: polygon(0% 10%, 100% 0%, 97% 94%, 2% 100%);
}
.formeText *, .formeText .elementor-widget-container, .formeTitle * {
    position: relative;
    z-index: 5;
}

.shape1::after {
    -webkit-clip-path: polygon(3% 8%, 100% 0%, 99% 100%, 0% 100%);
    clip-path: polygon(3% 8%, 100% 0%, 99% 100%, 0% 100%);
}
.shape2::after {
    -webkit-clip-path: polygon(1% 5%, 99% 5%, 100% 100%, 2% 100%);
    clip-path: polygon(1% 5%, 99% 5%, 100% 100%, 2% 100%);
}
.shape3::after {
    -webkit-clip-path: polygon(2% 0%, 97% 0%, 100% 95%, 4% 100%);
    clip-path: polygon(2% 0%, 97% 0%, 100% 95%, 4% 100%);
}
.shape4::after {
    -webkit-clip-path: polygon(3% 15%, 100% 20%, 96% 95%, 0% 100%);
    clip-path: polygon(3% 15%, 100% 20%, 96% 95%, 0% 100%);
}
.shape5::after {
    -webkit-clip-path: polygon(6% 0%, 100% 7%, 91% 100%, 0% 76%);
    clip-path: polygon(6% 0%, 100% 7%, 91% 100%, 0% 76%);
}
.shape6::after {
    -webkit-clip-path: polygon(3% 8%, 100% 0%, 100% 100%, 0% 88%);
    clip-path: polygon(3% 8%, 100% 0%, 100% 100%, 0% 88%);
}

.shape.cyan::after {
    background-color: #009eaa;
}
.shape.bleu::after {
    background-color: #29235C;
}
.shape.orange::after {
    background-color: #f9b233;
}
.shape.blanc::after {
    background-color: white;
}

/* Img with blason hover */
.blason::before {
    position: absolute;
    z-index: 10;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    margin-top: -30px;
    -webkit-mask: url('../img/blason.svg') no-repeat 50% 0;
    mask: url('../img/blason.svg') no-repeat 50% 0;
    -webkit-mask-size: 60px;
    mask-size: 60px;
    -webkit-mask-origin: content;
}
.blason.cyan::before {
    background-color: #009eaa;
}

/* Cookies page */
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 100%
}
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode,
#cmplz-document p, .editor-styles-wrapper .cmplz-unlinked-mode p,
#cmplz-document li, .editor-styles-wrapper .cmplz-unlinked-mode li,
#cmplz-document td, .editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: 1rem;
}