:root {
    --contour: 30px;

    --ltspace: 30px;
    --mdspace: 100px;
    --bigspace: 125px;

    --sm-side: 2.5vw;
    --md-side: 5vw;

    --noir: #1D1B25;
    --griscasaq: #7F7D88;
    --rouge: #FF0026;
    --Blanc: #ffffff;

}


::selection {
    background-color: var(--noir);
    color: var(--Blanc);
}

/* Firefox */
::-moz-selection {
    background-color: var(--noir);
    color: var(--Blanc);
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--Blanc);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--noir);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--noir);
    width: 2px;
}
body{
    background: var(--Blanc);
}
#container{
    background: var(--Blanc);
}
* {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
}






/* Footer */

#footer{
    background-color: #0A246A;
}

#copyright{
    color: var(--Blanc, #FFF);
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    opacity: 0.5;
    display: flex;
}
#copyright a, #copyright a:visited, #copyright a:hover{
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--Blanc);
}
#copyright .realisation-break a{
    margin-left: 4px;
}
#copyright .lien_footer, #copyright .realisation-break, #copyright>span{
    display: flex;
}
#footer #copyright .realisation-break a{
    display: inline-flex;
}
#footer #copyright .realisation-break a>svg{
    transform: translateY(3px);
    fill: var(--Blanc);
}


/* Cookie */

.cookie-popup {
    position: fixed;
    inset: auto auto 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}
.cookie-popup.show {
    visibility: visible;
    opacity: 1;
}
.cookie-popup-content {
    background: rgba(0, 14, 28, 0.95);
    padding: 2rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cookie-popup-content>div{
    display: flex;
    align-items: center
}
.cookie-popup-content p {
    color: var(--Blanc);
    margin: 1rem 0;
    font-size: 0.95rem;
}
.cookie-popup-content a {
    color: var(--Blanc);
    text-decoration: underline;
}
.cookie-popup-content button {
    background: var(--Blanc);
    color: var(--noir);
    border: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    height: fit-content;
    width: fit-content;
    transition: 0.2s;
    margin-left: 20px;
}
.cookie-popup-content button:hover {
    background-color: var(--noir);
    color: var(--Blanc);
}

/* Crayon */

#wpadminbar{
    display: none;
}
.header-edit-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
.header-edit-link>a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-edit-link .dashicons {
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.header-edit-link:hover {
    background-color: #000;
}


/****
GENERAL
 */

html.lenis, html.lenis body {
    height: auto;
}

html {
    overflow-x: hidden !important;
    margin: 0!important;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}
body{
    padding: 0 var(--contour) var(--contour) var(--contour);
}
h1, .h1{
    font-size: 82px;
    font-weight: 400;
    line-height: 112%;
    letter-spacing: -1.64px;
    color: var(--rouge);
}
h2, .h2{
    font-size: 62px;
    font-weight: 400;
    line-height: 116%;
    letter-spacing: -1.24px;
    color: var(--rouge);
    margin:  0 0 50px 0;

}
.lt-h2{
    font-size: 42px;
    font-weight: 400;
    line-height: 122%; /* 51.24px */
    letter-spacing: -0.84px;
    color: var(--rouge);
    margin:  0 0 50px 0;
}
h3,.h3{
    font-size: 26px;
    font-weight: 400;
    line-height: 120%;
    margin: 0 0 15px 0;
    color: var(--noir);
}
.red{
    color: var(--rouge);
}
.gradient-title{
    background: linear-gradient(210deg, #DB5495 36.43%, #7680D7 84.41%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn_base{
    background: var(--rouge);
    display: flex;
    color: white;
    padding: 7px 20px;
    width: fit-content;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
a,
.p,
p,
.txt li {
    font-size: 18px;
    font-weight: 400;
    color: var(--griscasaq);
}
.big-p *,
.big-p{
    font-size: 22px;
    font-weight: 400;
    color: var(--noir);
}
#container{
    margin-top: 100px;
}
p{
    margin: 0 0 20px 0;
}
p:last-child{
    margin-bottom: 0;
}

.pd-base{
    padding-left: var(--md-side);
    padding-right: var(--md-side);
}
.link-follow{
    color: var(--rouge);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: var(--ltspace);
    position: relative;
    display: flex;
    padding-right: 17px;
    width: fit-content;
}
.link-follow::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 7px;
    width: 7px;
    height: 7px;
    border: solid var(--rouge);
    border-width: 0 0 2px 2px;
    transform: translate(50%, -4px) rotate(-135deg);
}
/*****
MENU
 */
#header{
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-gap: 50px;
    align-items: center;
    padding: 30px calc(var(--md-side) + var(--contour));
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
}
.menu-toggle{
    display: none;
}
#logo-container img{
    width: 100%;
}
.menu {
    display: flex;
    margin-left: auto;
    width: fit-content;
}
.menu a{
    margin-right: 30px;
    color: var(--noir);

}



/*****

First page
 */

.hero__container{
    background: linear-gradient(180deg, #FFF 0%, #ECEDFC 50%, #FBDBEB 100%);
    padding: var(--mdspace) var(--md-side) var(--ltspace) var(--md-side);
    position: relative;
    height: calc(100vh - 130px);

}

.home-tools__video,
.home-suisse__image img,
.hero__image img{
    width: 100%;
}
.hero__content{
    position: relative;
    z-index: 6;
}
.hero__image{
    position: absolute;
    box-shadow: 0 0 92.857px 0 rgba(86, 44, 44, 0.20);
    right: var(--md-side);
    bottom: -100px;
    width: 45vw;
    z-index: 5;
    line-height: 0;
}

.hero__intro{
    max-width: 400px;
}
.svg-round{
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
}


.home-tools{
    margin-top: 200px;
}

.home-tools h2{
    max-width: 900px;
}
.home-tools__grid{
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    grid-gap: 80px;
}
.home-tools__item {
    display: flex;
    flex-wrap: wrap;
    transition: 0.5s ease-in-out all;
    padding: var(--ltspace);
    background: white;
}
.home-tools__item.is-active{
    background: linear-gradient(90deg, #EAE8F2 0%, rgba(234, 232, 245, 0.00) 100%);
}
.home-tools__item h3{
    margin-bottom: 7px;
}
.home-tools__number{
    width: 40px;
    display: block;
}
.home-tools__item-content{
    width: calc(100% - 40px);
}
.home-tools__media *{
    width: 100%;
}
.home-suisse{
    margin-top: var(--mdspace);
}
.home-suisse__grid{
    position: relative;
}
.home-suisse__text{
    position: absolute;
    right: var(--md-side);
    top: 0;
    width: 100%;
    max-width: 650px;
    z-index: 6;
}
.home-suisse__image{
    position: relative;

}
.home-suisse__image::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    z-index: 5;
    background: linear-gradient(215deg, rgba(255, 255, 255, 0.40) 33.39%, rgba(255, 255, 255, 0.00) 43.2%), linear-gradient(180deg, #FFF 1.46%, rgba(255, 255, 255, 0.70) 17.38%, rgba(255, 255, 255, 0.00) 30.53%);
}


.home-formules {
    margin-top: var(--mdspace);
}
.grid-formules{
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    grid-gap: 80px;
}
.home-formules__cards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}
.home-formules__card{
    background: linear-gradient(180deg, #FFF 0%, #ECEDFC 51.92%, #FBDBEB 100%);
    padding: var(--ltspace);
}
/***
fonction
 */
.home-features {
    margin-top: var(--mdspace);
}
.home-features__heading{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    align-items: center;
}
.home-features__heading  .link-follow{
    margin-left: auto;
    margin-top: 0;
}
.home-features__title{
    margin-bottom: 0;
}

.home-features__swiper-wrapper{
    margin-top: 50px;
    position: relative;
    width: calc(100% + var(--md-side));
}
.home-features__swiper-wrapper::after{
    content: "";
    position: absolute;
    right: -30px;
    width: 10vw;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
    z-index: 10;
    top: 0;
    height: 100%;

}
.home-features__swiper-wrapper .home-features__slider{
    padding-right: var(--md-side);
}
.home-features__media{
    box-shadow: 0 4px 50px 0 rgba(109, 0, 54, 0.10) inset;
    background: linear-gradient(180deg, #FFF 0%, #ECEDFC 38.46%, #FBDBEB 100%);
    line-height: 0;
}
.home-features__media *{
    width: 100%;
    height: 30vw;
    object-fit: cover;
}