/* colors and variables */
:root {
    --darkBlue: #051C2C;
    --actionBlue: #2563EB;
    --orange: #FFAD01;
    --main-text-color: #212529;
    --cta-primary-bg: var(--actionBlue);
    --cta-primary-bg-hover: var(--main-text-color);
    --cta-primary-color: #fff;
    --cta-secondary-bg: transparent;
    --cta-secondary-color: var(--main-text-color);
    --cta-secondary-color-hover: var(--actionBlue);
    --cta-secondary-border: var(--main-text-color);
    --cta-secondary-border-hover: var(--actionBlue);
}


html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    font-family: 'century-gothic-std', sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 1.5em;
    color: var(--main-text-color);
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
}


/* ################# SCROLLBARS */
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
/* button */
::-webkit-scrollbar-button {
    background: var(--yellow);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #2d415f;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #2d415f;
}
/* Track */
::-webkit-scrollbar-track {
    background: #0f1e36;
}



/* ################# LINKS */
a {
    text-decoration: none;
    transition: all 0.2s ease-in-out 0s;
    color: var(--actionBlue);
    &:hover {
        color: var(--main-text-color);
    }
}
p {
    font-size: 1.1em;
    line-height: 1.3em;
    font-weight: 400;
}
ul {
    font-size: 1.1em;
    line-height: 1.3em;
    font-weight: 400;
}



/* ################# CTAs */
.cta {
    display: flex;
    border-radius: 2rem;
    gap: 1rem;
    align-items: center;
    font-weight: 700;
    &.auto {
        width: auto;
    }
}
.cta-primary {
    padding: .9rem 1.5rem;
    background: var(--cta-primary-bg);
    color: var(--cta-primary-color);
    &.lg {
        padding: 1.2rem 1.8rem;
        font-size: 1.1rem;
    }
    &:hover {
        background: var(--cta-primary-bg-hover);
        color: #fff;
    }
}
.cta-secondary {
    padding: calc(.8rem - 2px) calc(1.5rem - 2px);
    background: var(--cta-secondary-bg);
    color: var(--cta-secondary-color);
    border: 2px solid var(--cta-secondary-border);
    &:hover {
        border-color: var(--cta-secondary-border-hover);
        color: var(--cta-secondary-color-hover);
    }
    &.sm {
        padding: calc(.7rem - 2px) calc(1.1rem - 2px) calc(.6rem - 2px) calc(1.1rem - 2px);
    }
    &.light {
        border-color: #fff;
        color: #fff;
        &:hover {
            border-color: var(--actionBlue);
            color: var(--actionBlue);
        }
    }
    &.lg {
        padding: 1.2rem 1.8rem;
        font-size: 1.1rem;
    }
}


.is-revealed {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-revealed-reverse {
    opacity: 0;
    transform: translateY(-2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.revealed {
    opacity: 1;
    transform: translateY(0);
}
.is-revealed-left {
    opacity: 0;
    transform: translateX(-20vw);
    transition: opacity 1s ease, transform 1s ease-in-out 0s;
}
.revealed-left {
    opacity: 1;
    transform: translateX(0);
}
.is-revealed-right {
    opacity: 0;
    transform: translateX(20vw);
    transition: opacity 1s ease, transform 1s ease-in-out 0s;
}
.revealed-right {
    opacity: 1;
    transform: translateX(0);
}
.is-revealed-left-delay {
    opacity: 0;
    transform: translateX(-5vw);
    transition: opacity 3s ease-in .5s, transform 2s ease-in-out .5s;
}
.revealed-left-delay {
    opacity: 1;
    transform: translateX(0);
}

/* header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2rem;
    transition: top .8s ease-in-out 0s;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #fff;
    .logo-container {
        display: flex;
        width: 20%;
        svg {
            transition: all 0.6s ease-in-out 0s;
            height: 1.8rem;
            g.letters {
                path {
                    fill: #000;
                }
            }
            .dot {
                fill: var(--actionBlue);
            }
        }
    }
    .menu {
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
        ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            gap: 1rem;
            li {
                font-size: .9em;
                margin: 0;
                a {
                    font-weight: 700;
                    color: var(--main-text-color);
                    &:hover {
                        color: var(--actionBlue);
                    }
                }
            }
        }
        .actions {
            display: flex;
            gap: 1rem;
            align-items: center;
            .store {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 3rem;
                height: 3rem;
                border-radius: 50%;
                background: var(--cta-primary-bg);
                color: var(--cta-primary-color);
            }
            .hamburger {
                display: none;
                align-items: center;
                cursor: pointer;
                .ham-cont {
                    display: flex;
                    flex-direction: column;
                    position: relative;
                    height: 24px;
                    width: 20px;
                    .line1 {
                        width: 20px;
                        height: 2px;
                        background-color: #fff;
                        margin: 3px 0px;
                        position: relative;
                        transition: all 250ms ease-in 0s;
                    }
                    .line2 {
                        height: 2px;
                        background-color: #fff;
                        margin: 3px 0px;
                        width: 16px;
                        position: relative;
                    }
                    .line3 {
                        width: 20px;
                        height: 2px;
                        background-color: #fff;
                        margin: 3px 0px;
                        position: relative;
                        transition: all 250ms ease-in 0s;
                    }
                }
                &.on {
                    .ham-cont {
                        .line1 {
                            position: absolute;
                            transform: rotate(45deg);
                            top: 7px;
                        }
                        .line2 {
                            opacity: 0;
                            width: 0px;
                        }
                        .line3 {
                            position: absolute;
                            top: 7px;
                            transform: rotate(-45deg);
                        }
                    }
                }
            }
        }
    }
    &.is-minimized {
        top: -15vh;
        .logo-container {
            svg {
                height: 1.5rem;
            }
        }
    }
    &.light {
        background-color: var(--darkBlue);
        .logo-container {
            svg {
                g.letters {
                    path {
                        fill: #fff;
                    }
                }
            }
        }
        .menu {
            ul {
                li {
                    a {
                        color: #fff;
                        &:hover {
                            color: var(--actionBlue);
                        }
                    }
                }
            }
            .actions {
                a.cta {
                    color: #fff;
                    border-color: #fff;
                    &:hover {
                        color: var(--actionBlue);
                        border-color: var(--actionBlue);
                    }
                }
            }
        }
    }
}


/* sections */
main {
    position: relative;
    display: flex;
    z-index: 1;
    width: 100%;
}
section {
    display: flex;
    width: 100%;
}


footer {
    width: 100%;
    margin-top: 10vh;
    .sep {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 0 10vh 0;
        hr {
            width: 20%;
            margin: .6rem 0 .5rem 0;
            background: transparent;
            border-top: 2px solid var(--darkBlue);
        }
    }
    .footer-container {
        width: 100%;
        padding: 0 12vw;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        .sections {
            display: flex;
            gap: 4rem;
            .section {
                flex-direction: column;
                .section-title {
                    font-size: 1.5rem;
                    font-weight: 700;
                }
                hr {
                    width: 40%;
                    margin: .6rem 0 .5rem 0;
                    background: transparent;
                    border-top: 2px solid #A2A095;
                }
                .links {
                    padding: 0;
                    list-style: none;
                    font-size: 1.1rem;
                    line-height: 1.7rem;
                    li {
                        margin: 0 0 .3rem 0 !important;
                        a {
                            font-weight: 700;
                            color: var(--main-text-color);
                            &:hover {
                                color: var(--actionBlue);
                            }
                        }
                    }
                }
            }
        }
        .contact-zone {
            display: flex;
            gap: 1rem;
            .social {
                height: 4rem;
                width: 4rem;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                background-color: var(--actionBlue);
                img {
                    width: 1.7rem;
                }
            }
        }
    }
    .mentions {
        display: flex;
        justify-content: center;
        margin: 0 0 5vh 0;
        p {
            text-align: center;
            font-size: 1rem;
        }
    }
}



.main-modal-wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99;
    background: var(--darkBlue);
    opacity: 0;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    &.on {
        visibility: visible;
        opacity: .9;
    }
}



#formWrapper {
    display: flex;
    flex-wrap: wrap;
    width: 40vw;
    margin: 2rem;
    height: calc(100vh - 4rem);
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 0;
    background: var(--actionBlue);
    border-radius: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility .5s ease, opacity .5s ease;
    &.on {
        visibility: visible;
        opacity: 1;
    }
    .close {
        position: absolute;
        z-index: 6;
        right: 1rem;
        top: 1rem;
        svg {
            width: 2rem;
            height: 2rem;
            circle {
                stroke: black;
                fill: black;
            }
            path {
                stroke: #fff;
            }
        }
    }
    .form-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: calc(100% - 7rem);
        padding: 2rem;
        align-content: center;
        gap: 2rem;
        .form-header {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            width: 100%;
            gap: 1rem;
            color: #fff;
            svg {
                height: 5vh;
                .dot {
                    fill: #fff;
                }
            }
            span {
                display: flex;
                width: 100%;
            }
        }
    }
    .processing {
        width: 100%;
        height: 100%;
        background: #080d16;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        opacity: .99;
        display: none;
        border-radius: 1rem;
        &.on {
            display: flex;
        }
        .spinner {
            width: 5rem;
            height: 5rem;
            display: none;
            img {
                width: 100%;
                height: 100%;
            }
            &.on {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        .congrats {
            width: 100%;
            padding: 0 2rem;
            display: none;
            color: #fff;
            h3 {
                width: 100%;
                text-align: center;
                font-weight: 700;
                font-size: 2rem;
                margin: 0 0 1rem 0;
            }
            p {
                text-align: center;
            }
            &.on {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }
        }
    }
}


/* FORM */
form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 1.5em;
    .form-block {
        width: 100%;
        position: relative;
        display: flex;
        &.half {
            width: 50%;
            margin: 0;
            z-index: 1;
        }
        label {
            display: none;
        }
        input, select {
            width: 100%;
            background: #fff;
            color: var(--darkBlue);
            border: 0;
            outline: none;
            font-size: 1.1em;
            font-weight: 400;
            padding: .8em 1.5em;
            box-sizing: border-box;
            font-family: inherit;
            border-radius: .4rem;
            -webkit-transition: all 0.2s ease-in-out 0s;
            transition: all 0.2s ease-in-out 0s;
        }
        textarea {
            width: 100%;
            height: 13vh;
            background: #fff;
            color: var(--darkBlue);
            border: 0;
            border-radius: .4rem;
            outline: none;
            font-size: 1.1em;
            line-height: 1.5em;
            font-weight: 400;
            padding: .8em 1.5em;
            box-sizing: border-box;
            font-family: inherit;
            resize: none;
            -webkit-transition: all 0.2s ease-in-out 0s;
            transition: all 0.2s ease-in-out 0s;
        }
        .ellipse {
            position: absolute;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            left: calc(50% - 16px);
            top: calc(50% - 16px);
            background: var(--main-text-color);
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }
        &:last-child {
            margin: 0;
            justify-content: flex-end;
        }
        .cta {
            background-color: var(--main-text-color);;
        }
        #sujetName {
            color: #fff;
        }
    }
}


.grecaptcha-badge {
    right: -500px !important;
}
#cookiescript_badge {
    transform: scale(.7);
    transform-origin: left;
}



/* ##################################################################################################### */
/* ##################################  R E S P O N S I V E  ############################################ */
/* ##################################################################################################### */
/* Ecrans larges */
@media (max-height: 768px) and (min-width: 1366px) {

}
/* Small Laptops */
@media screen and (min-width: 1024px) and (max-width: 1366px) {

}
@media (max-width: 1366px) {
    header {
        .logo-container {
            width: auto;
        }
        .menu {
            width: auto;
            gap: 1rem;
            ul {
                li {
                    font-size: .8rem;
                }
            }
            .actions {
                .cta {
                    font-size: .8rem;
                }
            }
        }
    }
}
@media (max-width: 1199px) {
    header {
        .logo-container {
            svg {
                height: 1.5rem;
            }
        }
    }
    footer {
        .footer-container {
            padding: 0 8vw;
        }
    }
}
@media (max-width: 991px) {
    html, body {
        font-size: 15px;
    }
    .cta-primary {
        padding: .7rem 1.2rem .6rem 1.5rem;
    }
    .cta-secondary {
        padding: calc(.7rem - 2px) calc(1.2rem - 2px) calc(.6rem - 2px) calc(1.5rem - 2px);
    }
    p,ul {
        font-size: 1.1em;
        line-height: 1.3em;
    }
    header {
        .logo-container {
            position: relative;
            z-index: 2;
        }
        .menu {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 15vh 2rem 2rem 2rem;
            left: -100vw;
            background-color: var(--main-text-color);
            transition: all .5s ease-in-out;
            z-index: 1;
            flex-wrap: wrap;
            height: 100vh;
            align-items: flex-start;
            ul {
                width: 100%;
                flex-wrap: wrap;
                gap: 3rem;
                li {
                    width: 100%;
                    font-size: 1.8rem;
                }
            }
            .actions {
                position: fixed;
                z-index: 2;
                top: 1rem;
                right: 1rem;
                .cta {
                    font-size: 1rem;
                    padding: calc(.8rem - 2px) calc(1.5rem - 2px);
                }
                .hamburger {
                    display: flex;
                }
            }
            &.on {
                left: 0;
            }
        }
        &.is-minimized {
            top: 0;
        }
    }
    footer {
        .footer-container {
            padding: 0 5vw;
            .sections {
                gap: 2rem;
                .section {
                    .section-title {
                        font-size: 1.3rem;
                    }
                }
            }
        }
    }
}
@media (max-width: 767px) {
    p,ul {
        font-size: 1.1em;
    }
    header {
        padding: 2rem 5vw;
    }
    footer {
        .footer-container {
            margin-bottom: 3vh;
            flex-wrap: wrap;
            .sections {
                width: 100%;
                justify-content: space-between;
            }
            .contact-zone {
                width: 100%;
                justify-content: center;
            }
        }
        .sep {
            margin: 0 0 6vh 0;
        }
    }
    #formWrapper {
        width: calc(100% - 1rem);
        height: calc(100% - 1rem);
        margin: .5rem;
        .form-container {
            gap: 1.2rem;
            padding: 1rem;
            height: calc(100% - 2rem);
            width: 100%;
            .form-header {
                svg {
                    height: 7vh;
                }
                span {
                    line-height: 1.3em;
                }
            }
            form {
                gap: 1rem;
                .form-block {
                    input, select {
                        font-size: 1rem;
                        padding: .7rem 1rem;
                    }
                    textarea {
                        font-size: 1rem;
                        padding: .5rem 1rem;
                    }
                }
            }
        }
    }
}
@media (max-width: 550px) {
    header {
        .logo-container {
            svg {
                height: 1.3rem !important;
            }
        }
    }
    footer {
        .footer-container {
            .sections {
                gap: 1rem;
                flex-wrap: wrap;
                .section {
                    width: 100%;
                    hr {
                        width: 100%;
                    }
                }
            }
        }
    }
}