:root {
    --seuil-affichage-mobile: 992px;
}

* > a {
    font-size: inherit!important;
    font-weight: inherit!important;

}

h1 {
    hyphens: auto;
}
.bannerLink :is(.wp-block-cover__inner-container, p, a) {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
    opacity: 0;
}
/* test style block */
.is-style-test-elefen {
    background-color: var(--wp--preset--color--vivid-red);
    position: relative;
}

.is-style-test-elefen::after {
    content: '';
    background-color: aqua;
    position: absolute;
    clip-path: polygon(44% 0%, 0% 100%, 66% 100%, 100% 0%);
    width: 56%;
    height: 60%;
    bottom: 0;
    z-index: 0;
    right: 0;
}

.is-style-test-elefen h2 {
    color: rgb(219, 233, 24);
    position: relative;
    z-index: 2;
}


.is-style-bouton-1 .wp-element-button {
    background-color: var(--wp--preset--color--luminous-vivid-amber);
    border-radius: 5px;
    transition: 0.5s all ease-in-out;
}

.is-style-bouton-1 .wp-element-button:hover {
    background-color: var(--wp--preset--color--vivid-purple);
    border-radius: 10px;
    padding-left: 50px;
    padding-right: 100px;
}

/*Top Bar*/
.top-bar {
    background-color: var(--theme--color--2);
    color: var(--theme--color--0);
}

.top-bar > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.menu-top-bar-menu-container .menu {
    margin: 0;
    display: flex;
    list-style: none;
    justify-content: flex-end;
}

.menu-top-bar-menu-container .menu li a {
    padding: 16px 18px 16px;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3.5px;
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 700;
    transition: all 0.5s ease-in-out;
}

.menu-top-bar-menu-container .menu li a:hover {
    color: var(--wp--preset--color--couleur-foncee-03);
}

.menu-top-bar-menu-container .menu li:last-child a {
    padding: 16px 0 16px 15px;
}

.content1_3 {
    flex-basis: calc(var(--wp--style--global--content-size) * 0.333 + (50vw - 600px)) !important;
}

.content2_3 {
    flex-basis: calc(var(--wp--style--global--content-size) * 0.666666 + (50vw - 600px)) !important;
}

.hamburger {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index:10;
}

.hamburger .line {
    width: 31px;
    height: 3px;
    background-color: #ecf0f1;
    display: block;
    margin: 3px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover{
    cursor: pointer;
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #fff;
    stroke-width: 3.5;
    stroke-linecap: round;
}

#hamburger-1 .line:nth-child(1) {
    width: 19px;
    align-self: flex-end;
}

#hamburger-1 .line:nth-child(3) {
    width: 19px;
}

#hamburger-1.is-active .line:nth-child(2){
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1){
    -webkit-transform: translateY(13px) rotate(45deg);
    -ms-transform: translateY(13px) rotate(45deg);
    -o-transform: translateY(13px) rotate(45deg);
    transform: translateY(13px) rotate(45deg);
    width: 31px;
}

#hamburger-1.is-active .line:nth-child(3){
    -webkit-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -o-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
    width: 31px;
}

@media screen and (max-width: 1200px) {
    .content2_3, .content1_3 {
        flex-basis: 50% !important;
    }
}

@media screen and (max-width: 782px) {
    .content2_3, .content2_3 .wp-block-cover {
        min-height: 300px !important;
    }

    .firstSectionOslo > .wp-block-group > .wp-block-columns {
        flex-direction: column-reverse;
    }
}

/* SubMenu */
.sub-menu {
    max-height: 0vh;
    overflow: hidden;
    transition: 0.5s all ease-in-out;
}

.sub_menu_open .sub-menu {
    max-height: 100vh;
}

.padding-left {
    padding-left: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 ), 100vw) !important;
}

.padding-right {
    padding-right: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 ), 100vw) !important;
}

.padding-right-wide {
    padding-right: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 - 60px ), 100vw) !important;
}

.padding-left-wide {
    padding-left: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 - 60px ), 100vw) !important;
}

.overContent {
    position: relative;
    z-index: 2;
}

.underPrevContent {
    position: relative;
    z-index: 1;
}

.mneg-right {
    margin-right: -10% !important;
}

.alignText, .alignText a {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer {
    margin-top: 0px;
}

.overNextContent {
    position: relative;
    z-index: 1;
}

.overNextNextContent {
    position: relative;
    z-index: 2;
}

.btnJaune a:hover {
    background-color: var(--wp--preset--color--custom-rouge) !important;
    color: #fff !important;
}

.btnRouge a:hover, .btnBlanc a:hover, input[type="submit"]:hover {
    background-color: var(--wp--preset--color--custom-jaune) !important;
}

.wp-block-button__link, input[type="submit"] {
    transition: 0.5s all ease-in-out;
    display: flex;
    gap: 5px;
    align-items: center;
}

.wp-block-button__link:hover, input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hero-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.floatEffect {
    animation: floatRandom 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatRandom {
    0%   { transform: translate(0px, 0px); }
    25%  { transform: translate(3px, -5px); }
    50%  { transform: translate(-4px, 4px); }
    75%  { transform: translate(5px, 2px); }
    100% { transform: translate(0px, 0px); }
}


@media screen and (max-width: 1160px) {
    .equalMobile > .wp-block-column{
        flex-basis: 50% !important;
    }
}

/* Remonté footer par dessu dernière section avec image par dessu footer */
.cta .wp-block-columns {
    position: relative;
    z-index: 2;
}

.cta + .wp-block-template-part {
    margin-top: -30px !important;
}

/* Formes cleo */
.formeTopLarge::before {
    content: '';
    background-image: url('../images/topLargeCLip.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    position: absolute;
    height: 94%;
    left: 0;
    top: 0;
    z-index: -1;
}

.formeSectionClip::before {
    content: '';
    background-image: url('../images/sectionClip.svg');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center center;
    width: 100%;
    position: absolute;
    height: 107%;
    left: 0;
    top: 50%;
    z-index: -1;
    transform: translateY(-50%);
}

.formebottomLarge::before {
    content: '';
    background-image: url('../images/bottomLargeClip.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    width: 100%;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
}


/* Menu oslo */


.pannel{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: -1;
    opacity: 0;
    transition: opacity .25s ease-in-out,z-index .5s ease;
    transition-delay: 700ms;
}

.pannel > .wp-block-group:first-child {
    background: var(--principal);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    position: relative;
    transition: transform 700ms cubic-bezier(.215,.61,.355,1);
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
}

.pannel > .wp-block-group:last-child {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 700ms cubic-bezier(.215,.61,.355,1);
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
}

a {
    transition: 0.5s all ease-in-out;
    cursor: pointer;
}

nav ul a:hover {
    color: var(--wp--preset--color--custom-rouge) !important;
}

.pannel.active > .wp-block-group  {
    transform: translateX(0)
}

.pannel.active {
    z-index: 4;
    opacity: 1;
    transition-delay: 0ms;
}

::placeholder {
    color: var(--wp--preset--color--custom-bleu-foncee);
    font-family: var(--wp--preset--font-family--roboto);
    font-size: var(--wp--preset--font-size--small) !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.9px;
    line-height: 1.5;
}

input, textarea {
    color: var(--wp--preset--color--custom-bleu-foncee);
    font-family: var(--wp--preset--font-family--roboto);
    font-size: var(--wp--preset--font-size--small) !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.9px;
    line-height: 1.5;
    border: 0px solid #fff;
    padding: 10px 20px !important;
    border-radius: 22px;
    background: var(--wp--preset--color--custom-jaune);
}

input[type="submit"] {
    border-radius: 22px;
    color: var(--wp--preset--color--white);
    padding: 10px 24px !important;
    text-transform: uppercase;
    background-color: var(--wp--preset--color--custom-rouge) !important;
    cursor: pointer;
}

.current-menu-item a {
    color: var(--wp--preset--color--custom-rouge) !important;
}

.backgroundJauneForme:after {
    content: '';
    background-image: url('/wp-content/uploads/2025/06/Trace-281.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    position: absolute;
    height: 60%;
    right: 8%;
    bottom: -6%;
    z-index: -1;
}

.formeTop {
    position: absolute;
    height: 60%;
    left: 0;
    z-index: -1;
    top: -9%;
    width: 100%;
    overflow: hidden;
    max-width: unset !important;
}

.formeTop:before {
    content: '';
    position: absolute;
    height: 60%;
    left: 15%;
    z-index: -1;
    top: 0;
    background-image: url('/wp-content/uploads/2025/06/Trace-311.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 38% 100%;
    width: 100%;
    max-width: unset !important;
}

.formeRouge:before {
    content: '';
    clip-path: polygon(0 7%, 100% 0, 100% 97%, 0 84%);
    width: 100%;
    position: absolute;
    height: 100%;
    background-color: var(--wp--preset--color--custom-rouge) !important;
    left: 0;
    z-index: 0;
    top: 0;
}

.formeJauneBottom:before {
    content: '';
    clip-path: polygon(0 7%, 100% 0, 100% 97%, 0 84%);
    width: 100%;
    position: absolute;
    height: 100%;
    background-color: var(--wp--preset--color--custom-jaune) !important;
    left: 0;
    z-index: 0;
    top: 0;
}

.formeJaune:before {
    content: '';
    clip-path: polygon(0 7%, 100% 0, 100% 97%, 0 84%);
    width: 100%;
    position: absolute;
    height: 100%;
    background-color: var(--wp--preset--color--custom-jaune) !important;
    left: 0;
    z-index: 0;
    top: 0;
}

.logoPartner {
    transition: transform 0.3s ease;
}
.logoPartner:hover {
    transform: translateY(-5px);
}



@media screen and (min-width: 1440px) {
    .padding-right-large-screen {
        padding-right: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 - 100px ), 100vw) !important;
    }

    .padding-left-large-screen {
        padding-left: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 - 100px ), 100vw) !important;
    }

    .formeJaune:before {
        clip-path: polygon(0 7%, 100% 0, 100% 98%, 0 82%);
    }
}

@media screen and (min-width: 1920px) {
    .formeJaune:before {
        clip-path: polygon(0 7%, 100% 0, 100% 97%, 0 79%);
    }
}

@media screen and (min-width: 2500px) {
    .formeTop, .backgroundJauneForme:after {
        display: none !important;
    }
}


@media screen and (max-width: 1300px) {
    .top-bar > div {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1100px) {
    .adjustMargin {
        margin-top: -100px !important;
    }
}

@media screen and (max-width: 992px) {
    .top-bar {
        background-color: var(--wp--preset--color--couleur-pale-01);
        color: black;
    }

    .menu-top-bar-menu-container .menu li a {
        padding: 16px !important;
    }

    .top-bar > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
        padding: 15px 0 0;
    }

    .menu-top-bar-menu-container .menu {
        margin: 0;
        display: flex;
        list-style: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    header > .top-bar {
        display: none;
    }

    .resetMarginVerMedScreen {
        margin-top: 0!important;
        margin-bottom: 0 !important;
    }

    .adjustMargin {
        margin-top: 30px !important;
    }
}

@media screen and (max-width: 782px) {
    .reverseMobile {
        flex-direction: column-reverse;
    }

    .gridFullWidthMobile {
        display: flex !important;
        flex-direction: column;
    }

    .is-content-justification-right {
        align-content: flex-start !important;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .rowReverseMobile {
        flex-direction: row-reverse;
    }

    .has-text-align-right {
        text-align: left;
    }

    .resetMarginMobile {
        margin: 0!important;
    }

    .footer .wp-block-navigation__container {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .resetPaddingHorMobile {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .mneg-right {
        margin-right: 0 !important;
    }

    .noPaddingVerMobile {padding-top: 0 !important;padding-bottom: 0 !important;}

    .NoPaddingHorMobile {padding-left: 0 !important;padding-right: 0 !important;}

    .alignLeftMobile {justify-content: left !important}

    .formeTop, .formeJaune:after  {
        display: none !important;
    }

    .formeJaune:before {
        content: '';
        clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
        width: 100%;
        position: absolute;
        height: 100%;
        background-color: var(--wp--preset--color--custom-jaune) !important;
        left: 0;
        z-index: 0;
        top: 0;
    }

    .resetMarginVerMobile {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}