:root {
    --bg: #F2EFFF;
    --bgDark: #232233;
    --dark: #0A0A3A;
    --lessDark: #151573;
    --blue: #026AD5;
    --clair: #56a3e1;
    --gold: #fcbc77;

    --diagH: 700px;
    --diagCut: 16%;

    --headerH: 70px;
    --barH: 6px;
    --anchorOffset: calc(var(--headerH) + var(--barH));

    --t: 650ms;
    --ease: cubic-bezier(.25, .9, .25, 1);
}

* {
    box-sizing: border-box;
}

::selection {
    color: var(--bg);
    background-color: var(--gold);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Bebas Neue";




}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--bg);
}



/* ================= HEADER ======================================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--headerH);
    background: var(--bg);
    display: flex;
    align-items: center;

}





a  {
text-decoration: none;
}


#logo{
    width: clamp(90px, 7vw, 215px);
    height: auto;
    display: block;
}


.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a {

    text-decoration: none;
}

.nav .btn-frequence {
    padding: 10px 26px;
    font-size: 30px;
    line-height: 1;
}


.header{ z-index: 1100; }
.menu{ z-index: 1000; }
.overlay{ z-index: 900; }


@media (max-width: 1000px) {
    .nav {
        display: none;
    }
}


.is-active .btn-labels {
    color: var(--lessDark);
    transition: color 0.3s;
}

/* Burger ---------------------------------------------------------------------------------------*/

.burger{
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.burger__lines{
    position: relative;
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 420ms cubic-bezier(.2,.8,.2,1), background 150ms cubic-bezier(.2,.8,.2,1);
}


.burger__lines::before,
.burger__lines::after{
    content: "";
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transition:
            transform 420ms cubic-bezier(.2,.8,.2,1),
            top 420ms cubic-bezier(.2,.8,.2,1),
            opacity 300ms cubic-bezier(.2,.8,.2,1);
}

.burger__lines::before{ top: -8px; }
.burger__lines::after{ top: 8px; }


.burger.is-open .burger__lines{
    background: transparent;
}

.burger.is-open .burger__lines::before{
    top: 0;
    transform: rotate(45deg);
}

.burger.is-open .burger__lines::after{
    top: 0;
    transform: rotate(-45deg);
}


.burger:focus-visible{
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 10px;
}

@media (min-width: 1000px) {
    .burger{
        display: none;
    }
}



.menu{
    position: fixed;
    inset: 0;

    width: auto;
    transform: translateX(-100%);
    transition: transform var(--t) var(--ease);
    will-change: transform;
    z-index: 1000;

    background: var(--bg);
    color: var(--dark);
}

.menu__inner{

    padding-top: var(--headerH);
    display: grid;
    height: 100vh;

    background: var(--bg);

    gap: clamp(12px, 3.5vh, 24px);
    align-content: center;

}


.menu__inner .menu__link{
    font-size: clamp(60px, 12vw, 96px);
    font-style: italic;
    font-weight: 800;
    line-height: 0.95;
}

.menu__hit{
    width: 100%;
    transition: transform .18s ease, opacity .18s ease;
    transform-origin: left center;
}

.menu__hit.is-pressed{
    transform: scale(0.90);
    opacity: .75;
}


.menu__div span{

    font-size: clamp(28px, 7vw, 64px);
    font-weight: 800;
    text-align: right;
    line-height: 1;
}




.overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t) var(--ease);
    z-index: 900;
}


.nav-open .menu{ transform: translateX(0); }
.nav-open .overlay{
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .header .container{
        margin: 10vw;
    }
}

@media (max-width: 600px) {
    .menu__inner{
        padding: 10vw;
    }
}





/* blue bar  -------------------------------------------------------------------------------------------------*/
.bluebar {
    position: sticky;
    top: var(--headerH);
    z-index: 999;
    height: var(--barH);
    background: var(--bg);
    overflow: hidden;
}

.goldbar {
    position: sticky;
    top: var(--headerH);
    z-index: 999;
    height: var(--barH);
    background: var(--blue);
    overflow: hidden;
}

.bluebar__fill {
    height: 100%;
    width: 0%;
    background: var(--blue);
    transform-origin: left center;
}



.section {
    position: relative;
    height: auto;
    overflow: hidden;
    scroll-margin-top: var(--anchorOffset);
}




/* FOCUS LIENS ==================================================================*/
.speedlines{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;

    color: #64AEEA;


}


.speedlines path{
    stroke: currentColor;
    stroke-width: 0;

}


.section .container{
    position: relative;
    z-index: 1;
}


.section.dark .speedlines{
    color: rgba(255,255,255,.65);
    opacity: .50;
}
.section.light .speedlines{
    color: #64AEEA;
    opacity: .50;
}



/* couleurs -----------------------------------------------------------------------------------*/


#s2, #s3, #s4, #s5, #s6 {
    padding-bottom: 10vh;
}



.section.light {
    background: var(--bg);
}

.section.dark {
    background: var(--bgDark);
}

.section.light {
    --current: var(--bg);
}

.section.dark {
    --current: var(--bgDark);
}


.section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: var(--diagH);
    background: var(--current);
    z-index: -1;


    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - var(--diagCut)),
            0 100%
    );
}


.section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: var(--diagH);
    background: var(--next, transparent);
    z-index: 2;


    clip-path: polygon(
            0 100%,
            100% calc(100% - var(--diagCut)),
            100% 100%,
            0 100%
    );
}

#s1 {
    --next: var(--bgDark);
}

#s2 {
    --next: var(--bg);
}

#s3 {
    --next: var(--bgDark);
}

#s4 {
    --next: var(--bg);
}

#s5 {
    --next: var(--bgDark);
}


@media (max-width: 900px) {
    .nav {
        display: none;
    }

    :root {
        --diagH: 120px;
        --diagCut: 18%;
    }
}



.section.flip::before {

    clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 calc(100% - var(--diagCut))
    );
}

.section.flip::after {

    clip-path: polygon(
            0 calc(100% - var(--diagCut)),
            100% 100%,
            100% 100%,
            0 100%
    );
}


/* BOUTON ===================================================================================================*/


.btn-frequence {
    position: relative;
    display: inline-block;
    padding: 16px 48px;
    background: var(--gold);
    color: var(--dark);
    font: 800 30px/1 "Bebas Neue", sans-serif;
    font-style: italic;

    text-decoration: none;
    overflow: hidden;


    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    border-radius: 0.1em;

}

.btn-frequence {
    transform: skewX(-18deg);
}



.btn-frequence .btn-labels {
    display: inline-grid;
    align-items: center;
    justify-items: center;


    line-height: 1;
}


.btn-frequence .btn-txt {
    grid-area: 1 / 1;
    display: inline-block;


    transform: skewX(18deg) translateX(0) translateZ(0);

    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;


    position: relative;
    z-index: 2;

    transition: transform .45s cubic-bezier(.22, .61, .36, 1),
    opacity .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform, opacity;
}

.btn-frequence .btn-txt--base {
    opacity: 1;
    transform: skewX(18deg) translateX(0);
}

.btn-frequence .btn-txt--alt {

    transform: skewX(18deg) translateX(-160%);
}

.btn-frequence:hover .btn-txt--base {

    transform: skewX(18deg) translateX(160%);
}

.btn-frequence:hover .btn-txt--alt {

    transform: skewX(18deg) translateX(0);
}


.btn-frequence::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 40%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    opacity: 0;
}

.btn-frequence:hover::after {
    opacity: 1;
    animation: shine .65s ease forwards;
}

@keyframes shine {
    from {
        left: -60%;
    }
    to {
        left: 120%;
    }
}



/* BTN DECOUVRIR -----------------------------------------------------------------------------------------------*/
.btn-decouvrir {
    position: relative;
    display: inline-block;
    padding: 0px 17px;
    color: var(--dark);
    font-size: clamp(35px, 10vw, 100px);
    font-weight: bold;
    font-style: italic;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;


    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);


}





.btn-decouvrir .btn-labels {
    display: inline-grid;
    align-items: center;
    justify-items: center;


    line-height: 1;
}


.btn-decouvrir .btn-txt {
    grid-area: 1 / 1;
    display: inline-block;


    transform:  translateX(0) translateZ(0);

    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;


    position: relative;
    z-index: 2;

    transition: transform .45s cubic-bezier(.22, .61, .36, 1),
    opacity .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform, opacity;
}


.btn-decouvrir .btn-txt--base {
    opacity: 1;
    transform:  translateX(0);
}

.btn-decouvrir .btn-txt--alt {

    transform: translateX(-160%);
}


.btn-decouvrir:hover .btn-txt--base {

    transform: translateX(160%);
}

.btn-decouvrir:hover .btn-txt--alt {

    transform:  translateX(0);
}


.btn-decouvrir::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 40%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    opacity: 0;
}

#hero-info{
    color: var(--gold);
    font-size: clamp(14px, 3vw, 40px);
}


/* BOX PLUS =================================================================================================== */


.info-box {
    position: relative;
    padding: clamp(24px, 4vw, 56px);
}





.info-box .plus {
    position: absolute;
    font-weight: 900;
    color: var(--clair);
    font-size: clamp(24px, 2vw, 38px);
}


.zone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/svg/fond.svg") no-repeat center / 100% 100%;
    filter: drop-shadow(1em 1em var(--gold));
    z-index: -1;

}
.zone {
    position: relative;

}

.zone-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}



.gradient {
    position: relative;
    z-index: 1;
}

.gradient::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(
            ellipse at center,
            rgba(57, 135, 213, 0.35) 0%,
            rgba(55, 134, 205, 0.2) 25%,
            rgba(0, 0, 0, 0) 55%

    );
    filter: blur(40px);

    z-index: -1;
    pointer-events: none;
}


.plus-tl {
    top: 0;
    left: 0;
}

.plus-tr {
    top: 0;
    right: 0;
}

.plus-bl {
    bottom: 0;
    left: 0;
}

.plus-br {
    bottom: 0;
    right: 0;
}



.info-title {
    font-size: clamp(28px, 5vw, 80px);
    margin-bottom: 12px;
    font-weight: bold;
    color: var(--blue);
    line-height: 0.9;
    font-style: italic;
}

.info-subtitle {
    font-size: clamp(14px, 2vw, 36px);
    letter-spacing: .08em;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
}





.info-box p {
    font-size: clamp(14px, 2vw, 22px);
    line-height: 1.7;
    margin-bottom: 14px;
    opacity: .85;
    font-family: "blinker";
    color: var(--clair);
    text-align: justify;
}


.clair {
    color: var(--clair);
}

.blue {
    color: var(--blue);
}

.dark{
    color: var(--dark);
}


.giant {
    font-size: clamp(70px, 10vw, 200px);
}

.bigger {
    font-size: clamp(50px, 8vw, 130px);
}


.video-shape {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%) translateY(10px);

    aspect-ratio: 16 / 9; /* desktop */
    -webkit-clip-path: url(#videoMask2);
    clip-path: url(#videoMask2);
    overflow: hidden;
}


.video-shape video{
    width: 101%;
    height: 101%;
    object-fit: cover;
    display: block;

}


@media (max-width: 1000px) {
    .video-shape {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 600px) {
    .video-shape {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 600px) {
    .video-shape {
        aspect-ratio: 3 / 5;
        -webkit-clip-path: url(#videoMask3);
        clip-path: url(#videoMask3);
    }
}


.video-shape video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* FOOTER ====================================================================================================== */


#s7 {
    --next: transparent;
}


#s7::before,
#s7::after {
    bottom: 0;
}


.footer-title {
    font-size: 26px;
    letter-spacing: .12em;
    margin-bottom: 16px;
    color: var(--blue);
    text-transform: uppercase;
    font-style: italic;
}

.footer-links {
    list-style: none;
    font-family: "Blinker";
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--clair);
    text-decoration: none;
    font-size: 18px;
    transition: all .25s;
}

.footer-links a:hover {
    color: var(--blue);

}


.footer-text {
    font-size: 18px;
    line-height: 1.6;
    font-family: "Blinker";
    color: var(--clair);
}


/* ===== FOOTER BUTTON ======================================================= */

.footer-btn {
    display: inline-block;
    color: var(--clair);
    text-decoration: none;

    font-size: 18px;
    overflow: visible;
}

.footer-btn__inner {
    position: relative;
    display: inline-block;

    padding-left: 0;
    padding-right: 10px;
    transition: padding-left .35s cubic-bezier(.22, .61, .36, 1);
    z-index: 10;
}


.footer-btn__arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-18px, -50%);
    opacity: 0;

    color: var(--blue);
    font-weight: 800;

    transition: transform .35s cubic-bezier(.22, .61, .36, 1),
    opacity .35s cubic-bezier(.22, .61, .36, 1);
}

.footer-btn__text {
    display: inline-block;
    transform: translateX(0);
    transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}


.footer-btn:hover .footer-btn__inner {
    padding-left: 12px;
}

.footer-btn:hover .footer-btn__arrow {
    transform: translate(0, -50%);
    opacity: 1;
}

.footer-btn:hover .footer-btn__text {
    transform: translateX(10px);
}


#s6 {
    --next: var(--bg);
}


/* LOTTIES ============================================================================================= */


.lottie {
    justify-self: center;
    width: 80%;
}


.lottie-formation {
    justify-self: center;
    width: 100%;
}


.illu {
    width: 80%;
}

.illu-box {
    padding: 20px 0px;
    display: flex;
    justify-content: center
}


/* --------------------------------------------------------------------- CHARTS -------------------------------------*/

.chart {
    width: 100%;

    height: 360px;
}



