:root {
    --small-margin: 40px;
    --medium-margin: 70px;
    --ltspace: 70px;
    --mdspace: 130px;
    --bigspace: 180px;

    --smside: 3vw;
    --mdside: 6vw;
    --bgside: 9vw;

    --Noir: #1D1D1B;
    --Blanc: #ffffff;

    --vert: #C7F5A1;
    --vertfonce: #002627;
    --bleu: #B9DBF0;
}


::selection {
    background-color: var(--Noir);
    color: white;
}

/* Firefox */
::-moz-selection {
    background-color: var(--Noir);
    color: white;
}

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

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--Noir);
    width: 2px;
}

body {
    background: #FEF7F0;
}

#container {
    background: #FEF7F0;
}

* {
    font-family: 'Silka';
    font-weight: 400;
}


@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Regular.eot');
    src: url('../fonts/Silka-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Regular.woff2') format('woff2'),
    url('../fonts/Silka-Regular.woff') format('woff'),
    url('../fonts/Silka-Regular.ttf') format('truetype'),
    url('../fonts/Silka-Regular.svg#Silka-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-RegularItalic.eot');
    src: url('../fonts/Silka-RegularItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-RegularItalic.woff2') format('woff2'),
    url('../fonts/Silka-RegularItalic.woff') format('woff'),
    url('../fonts/Silka-RegularItalic.ttf') format('truetype'),
    url('../fonts/Silka-RegularItalic.svg#Silka-RegularItalic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-SemiBold.eot');
    src: url('../fonts/Silka-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-SemiBold.woff2') format('woff2'),
    url('../fonts/Silka-SemiBold.woff') format('woff'),
    url('../fonts/Silka-SemiBold.ttf') format('truetype'),
    url('../fonts/Silka-SemiBold.svg#Silka-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Thin.eot');
    src: url('../fonts/Silka-Thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Thin.woff2') format('woff2'),
    url('../fonts/Silka-Thin.woff') format('woff'),
    url('../fonts/Silka-Thin.ttf') format('truetype'),
    url('../fonts/Silka-Thin.svg#Silka-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Black.eot');
    src: url('../fonts/Silka-Black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Black.woff2') format('woff2'),
    url('../fonts/Silka-Black.woff') format('woff'),
    url('../fonts/Silka-Black.ttf') format('truetype'),
    url('../fonts/Silka-Black.svg#Silka-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Bold.eot');
    src: url('../fonts/Silka-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Bold.woff2') format('woff2'),
    url('../fonts/Silka-Bold.woff') format('woff'),
    url('../fonts/Silka-Bold.ttf') format('truetype'),
    url('../fonts/Silka-Bold.svg#Silka-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka Extra';
    src: url('../fonts/Silka-ExtraLight.eot');
    src: url('../fonts/Silka-ExtraLight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-ExtraLight.woff2') format('woff2'),
    url('../fonts/Silka-ExtraLight.woff') format('woff'),
    url('../fonts/Silka-ExtraLight.ttf') format('truetype'),
    url('../fonts/Silka-ExtraLight.svg#Silka-ExtraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Light.eot');
    src: url('../fonts/Silka-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Light.woff2') format('woff2'),
    url('../fonts/Silka-Light.woff') format('woff'),
    url('../fonts/Silka-Light.ttf') format('truetype'),
    url('../fonts/Silka-Light.svg#Silka-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('../fonts/Silka-Medium.eot');
    src: url('../fonts/Silka-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Silka-Medium.woff2') format('woff2'),
    url('../fonts/Silka-Medium.woff') format('woff'),
    url('../fonts/Silka-Medium.ttf') format('truetype'),
    url('../fonts/Silka-Medium.svg#Silka-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* 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);
}

@media (max-width: 980px) {
    #footer #copyright {
        margin: 0 auto 0 0;
        flex-direction: column;
    }

    #copyright > span {
        flex-direction: column;
    }

    #copyright .trait_vertical {
        display: none;
    }
}

@media (max-width: 500px) {
    #copyright .realisation-break {
        flex-direction: column;
    }

    #copyright .realisation-break a {
        margin-left: 0;
    }
}

/* 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 h3 {
    margin-top: 0;
    color: var(--Blanc);
    font-weight: 700;
    margin-bottom: 10px;
}

.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);
}

@media (max-width: 500px) {
    .cookie-popup-content > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-popup-content h3 {
        font-size: 18px;
    }

    .cookie-popup-content p {
        font-size: 14px;
    }

    .cookie-popup-content button {
        margin: 0;
        padding: 8px 16px;
    }
}

/* 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;
}

html {
    margin: 0 !important;
}

.btn_base {
    border-radius: 30px;
    background: var(--vert);
    box-shadow: 0 0 4px 0 rgba(0, 38, 39, 0.05);
    padding: 15px 30px;
    font-weight: 500;
    color: var(--vertfonce);

}

img {
    width: 100%;
}
p{
    font-size: 20px;
    font-weight: 400;
    line-height: 146%;
    letter-spacing: -0.4px;
    color: var(--vertfonce);
}
.p-18, .p-18 *{
    font-size: 18px;
    letter-spacing: -0.36px;

}
h1, h1 *{
    font-size: 75px;
    font-weight: 400;
    line-height: 112%;
    letter-spacing: -3px;
    color: var(--vertfonce);
}

h1 strong {
    font-weight: 400;
    color: var(--vert);
}
.home h1 p{
    color: white;
}
.white, .white *{
    color: white;
}
h2{
    margin: 0;
    font-size: 52px;
    font-weight: 400;
    line-height: 114%;
    letter-spacing: -2.08px;
    color: var(--vertfonce);
}
h3{
    font-size: 22px;
    font-weight: 400;
    line-height: 140%; /* 30.8px */
    letter-spacing: -0.44px;
    color: var(--vertfonce);
    margin: 0 0 5px 0;
}

/****
Accueil
 */
#header {
    display: flex;
    align-items: center;
    padding: 20px var(--mdside);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.el-right-menu {
    display: flex;
    margin-left: auto;
}

#branding {
    display: flex;
    align-items: center;
}

.home #branding {
    filter: brightness(0) invert(1);
}

.home-hero__visual {
    /*position: relative;*/
    width: 100%;
    height: 150vh;
    overflow: hidden;
    background: #003c3b;
    margin-top: -30px;
    position: absolute;
    top: 0;
    left: 0;

}


/* IMAGE DE FOND */
.home-hero__bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* FILTRE SOMBRE */
.home-hero__visual::after {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

    pointer-events: none;

    background: linear-gradient(180deg, rgba(12, 65, 123, 0.70) 19.79%, rgba(16, 50, 85, 0.14) 39.67%, rgba(81, 125, 171, 0.00) 48.56%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 31.19%, rgba(0, 12, 13, 0.33) 44.89%, rgba(0, 26, 26, 0.68) 59.61%, #002627 73.12%);
}


/* GROS CERCLE CENTRAL */
.home-hero__focus {
    position: absolute;
    z-index: 4;
    inset: 0;

    clip-path: circle(280px at 50% 60%);

    pointer-events: none;
}

.home-hero__focus img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.home-hero__dot {
    position: absolute;
    inset: 0;
    z-index: 5;

    pointer-events: none;
}

.home-hero__dot img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* GAUCHE */
.home-hero__dot--1 {
    clip-path: circle(50px at 18% 47%);
}

.home-hero__dot--2 {
    clip-path: circle(30px at 16% 57%);
}

.home-hero__dot--3 {
    clip-path: circle(25px at 16.5% 67%);
}


/* DROITE */
.home-hero__dot--4 {
    clip-path: circle(25px at 84% 52%);
}

.home-hero__dot--5 {
    clip-path: circle(30px at 85% 62%);
}

.home-hero__dot--6 {
    clip-path: circle(50px at 84% 72%);
}


.home-hero {
    position: relative;
    padding-top: 140px;
    height: 140vh;
    overflow: hidden;
    padding-left: var(--mdside);
    padding-right: var(--mdside);
}

.home-hero__title {
    position: relative;

    /*top: 100px;*/
    /*left: var(--smside);*/
    /*right: var(--smside);*/
    z-index: 10;
    margin: 0;
    text-align: center;
}

.home-hero__title p {
    margin: 0;
}

.home-hero__baseline {
    color: var(--vertfonce);
}

.home-hero__baseline::before {
    content: "";
    margin-right: 5px;
    margin-left: 12px;
    background: var(--vertfonce);
    height: 15px;
    width: 1px;
    display: inline-block;
}


.home-opening {
    background: var(--vertfonce);
    padding: var(--mdspace) var(--smside);

}

.home-opening__title {
    font-size: 44px;
    font-style: normal;
    font-weight: 300;
    line-height: 118%; /* 51.92px */
    letter-spacing: -1.76px;
    color: white;
    opacity: 0.7;
    text-align: center;
    margin: 0;
}
.home-opening svg{
    display: flex;
    margin: 0 auto 40px auto;
}

.home-centre{
    background: var(--vertfonce);
    padding: 0 var(--mdside) 0 var(--mdside);

}
.home-centre__content{
    display: flex;
    border-radius: 22px;
    background: var(--bleu);
    overflow: hidden;
    flex-wrap: wrap;
    min-height: 600px;
    /*max-width: 1200x;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}
.home-centre__image{
    line-height: 0;
    /*height: 470px;*/
    width: 55%;
    position: relative;
}
.home-centre__image::before{
    content: "";
    left: -1px;
    top: 0;
    height: 100%;
    width:  30px;
    z-index: 2;
    position: absolute;
    clip-path: polygon(
            0% 0%,
            3% 1%,
            6% 2.5%,
            9% 4.5%,
            12% 7%,
            15% 10%,
            18% 13.5%,
            21% 17.5%,
            24% 22%,
            27% 27%,
            30% 32.5%,
            32% 38%,
            34% 44%,
            35% 50%,
            34% 56%,
            32% 62%,
            30% 67.5%,
            27% 73%,
            24% 78%,
            21% 82.5%,
            18% 86.5%,
            15% 90%,
            12% 93%,
            9% 95.5%,
            6% 97.5%,
            3% 99%,
            0% 100%
    );
    background: var(--bleu);
}
.home-centre__image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 100%;
}
.home-centre__text{
    padding: 50px 70px;
    width: 45%;
}

/****
SECTION ACTU
 */
.home-news{
    position: relative;

}
.home-news::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, #002627 0%, rgba(0, 38, 39, 0.70) 50%);

}
.home-news__background{
    position: sticky;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1;
    width: 100%;
}
.home-news__background img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.home-news__inner{
    position: relative;
    z-index: 10;
    margin-top: -100vh;
    padding: var(--mdspace) var(--mdside) 600px var(--mdside);
}
.home-news__inner{
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 80px;
}
.home-news__list{
    display: flex;
    flex-wrap: wrap;
}
.home-news__item{
    display: flex;
    width: 45%;
    background: #FEF7F0;
    border-radius: 22px;
    overflow: hidden;
    margin-top: 40px;
    height: fit-content;
}
.home-news__item:nth-of-type(2n){
    margin-top: 150px;
    margin-left: auto;
    margin-bottom: -60px;
}
.home-news__item img{
    height: 16vw;
    width: 100%;
    object-fit: cover;
}
.home-news__image{
    line-height: 0;
    position: relative;
}
.home-news__image::before{
    content: "";
    position: absolute;
    bottom: -26px;
    left: -5%;
    width: 110%;
    height: 48px;
    background: #FEF7F0;
    clip-path: polygon(
            50% 0%,
            59.75% 0.96%,
            69.13% 3.81%,
            77.78% 8.43%,
            85.36% 14.64%,
            91.57% 22.22%,
            96.19% 30.87%,
            99.04% 40.25%,
            100% 50%,
            99.04% 59.75%,
            96.19% 69.13%,
            91.57% 77.78%,
            85.36% 85.36%,
            77.78% 91.57%,
            69.13% 96.19%,
            59.75% 99.04%,
            50% 100%,
            40.25% 99.04%,
            30.87% 96.19%,
            22.22% 91.57%,
            14.64% 85.36%,
            8.43% 77.78%,
            3.81% 69.13%,
            0.96% 59.75%,
            0% 50%,
            0.96% 40.25%,
            3.81% 30.87%,
            8.43% 22.22%,
            14.64% 14.64%,
            22.22% 8.43%,
            30.87% 3.81%,
            40.25% 0.96%
    );
}
.home-news__content{
    padding: 30px 40px;
}
.home-news__content *{
    color: var(--vertfonce);
}
.home-news__intro{
    opacity: 0.7;
    margin: 0;
    font-size: 18px;
}
.home-news__footer{
    display: flex;
    align-items: center;
    margin-top: 5px;
}
.home-news__date{
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.15px;
    opacity: 0.5;
}
.home-news__arrow{
    display: flex;
    margin-left: auto;
}
/*****
Progression
 */
.home-progress__big-title{
    background: linear-gradient(
            180deg,
            #B9DBF0 0%,
            #FEF7F0 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 15vw;
    font-weight: 400;
    margin-bottom: 20px;
    padding-left: var(--mdside);
    padding-right: var(--mdside);
}

.home-progress{
    padding: var(--mdspace) 0;
}
.home-progress__intro{
    display: flex;
    max-width: calc(600px + var(--mdside) * 2);
    text-align: center;
    flex-direction: column;
    margin: 0 auto;
    padding-left: var(--mdside);
    padding-right: var(--mdside);
}


.home-progress__slider.swiper{
    width: 100%;
    padding-left: var(--mdside);
    padding-right: var(--mdside);
    overflow: hidden;
    margin-top: 30px;
}

.home-progress__step {
    position: relative;
    height: auto;
}

.home-progress__step-top {
    position: relative;
    height: 45px;
    display: flex;
    align-items: flex-start;
}

/* ligne horizontale */
.home-progress__step-top::before {
    content: "";
    position: absolute;

    top: 11px;
    left: 0;

    width: calc(100% + 1px);
    height: 1px;

    background: var(--vertfonce);
    opacity: 0.2;

}

/* point */
.home-progress__step-dot {
    position: relative;
    z-index: 2;

    display: block;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background: #CBCDC8;

}

/* petit point intérieur */
.home-progress__step-dot::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--vertfonce);
}

.home-progress__step-date {
    margin-bottom: 16px;
    font-size: 12px;
}

.home-progress__step-title {
    margin: 0 0 10px;

    font-size: 24px;
    line-height: 1.05;
}

.home-progress__step-text {
    opacity: 0.7;
}

.home-progress__step-more {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-top: 20px;

    border: 0;
    border-radius: 50%;

    background: #c7f5a1;

    cursor: pointer;
}

.home-progress__step-content{
    padding-right: 40px;
}