/* ---------------------------------------------------------------------------------------
                                    GLOBAL
--------------------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    /* Colors */
    --c-white: #FAFBFD;
    --c-black: #2B2B2B;
    --c-purple--1: #DFDEFF;
    --c-purple--2: #A2ADFF;
    --c-purple--3: #7A79F3;
    --c-purple--4: #605FF4;
    --c-gold--1: #D7A84F;
    --c-gold--2: #C18514;

    /* Font size */
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-24: 24px;
    --fs-34: 34px;

    /* Font weight */
    --fw-regular: 400;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    /* Padding */
    --site-padding: 23px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    line-height: 1.75;
}

body {
    min-height: 100vh;
    color: var(--c-black);
    background-color: #7A79F3;
    -webkit-font-smoothing: antialiased;
    font-family: 'Poppins', sans-serif;
    font-size: var(--fs-16);
    line-height: 1.75;
    overflow-y: initial;
}

body::before {
    content: '';
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(122, 121, 243, 1) 0%, rgba(162, 173, 255, 1) 50%, rgba(122, 121, 243, 1) 100%)
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

:is(a, a:hover, button) {
    text-decoration: none;
}

li {
    list-style: none;
}

h1, h2, h3, h4, p {
    max-width: 85ch;
}

h2 {
    font-size: var(--fs-24);
    font-weight: var(--fw-bold);
    line-height: 1.15;
}

h3 {
    margin-bottom: 10px;
    font-size: var(--fs-16);
    font-weight: var(--fw-bold);
}


.video-player-container {
    position: relative;
    cursor: pointer;
}

.global-loader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: opacity 500ms ease;
    -moz-transition: opacity 500ms ease;
    -ms-transition: opacity 500ms ease;
    -o-transition: opacity 500ms ease;
    transition: opacity 500ms ease;
}

body.page-loaded .global-loader {
    opacity: 0;
}

.loader {
    width: 100px;
}

body.page-loaded-end .global-loader {
    display: none;
}

.loader svg path {
    animation: rotateLoader 1s linear infinite;
    transform-origin: center;
}

@keyframes rotateLoader {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------------------------------------
                                    LAYOUT
--------------------------------------------------------------------------------------- */

.l-flex {
    display: flex;
}

.l-flex__column {
    flex-direction: column;
}

.l-flex__align--center {
    align-items: center;
}

.l-flex__justify--center {
    justify-content: center;
}

.l-flex__justify--between {
    justify-content: space-between;
}

.l-flex__justify--around {
    justify-content: space-around;
}

.l-menu__rs {
    display: flex;
    justify-content: center;
    column-gap: 36px;
}

/* ---------------------------------------------------------------------------------------
                                   COMPONENT
--------------------------------------------------------------------------------------- */

/* CTA */

.c-cta {
    padding: 13px 20px;
    width: 300px;
    max-width: 100%;
    text-align: center;
    background: linear-gradient(45deg, var(--c-gold--2) 0%, var(--c-gold--1) 100%);
    color: var(--c-white);
    box-shadow: 0px 10px 20px 5px rgba(215, 168, 79, 0.36);
    font-weight: var(--fw-bold);
    border-radius: 10px;
    text-transform: uppercase;
}

/* Pastille */

.c-pastille {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 23px;
    right: 23px;
    z-index: 10;
    border-radius: 50%;
    background-color: var(--c-purple--3);
    box-shadow: 0px 10px 20px 5px rgba(42, 41, 160, 0.2);
    color: var(--c-white);
    font-size: 10px;
    font-weight: var(--fw-semi-bold);
    text-align: center;
}

/* RS */

.c-rs {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--c-purple--3);
}

.c-rs>img {
    width: 16px;
    height: 16px;
}


/* Header */

.c-header {
    width: 100vw;
    padding: 23px;
    position: fixed;
    top: 0;
    z-index: 99;
    background-color: transparent;
    transition: all .3s ease-out;
}

.c-header__logo svg {
    fill: var(--c-white);
    transition: all .3s ease-out;
}

.c-header--scrolled {
    background-color: var(--c-white);
}

:is(.c-header--scrolled .c-header__logo svg, .c-header__logo--2 svg) {
    fill: var(--c-purple--3);
}

/* Burger */

.c-burger {
    width: 40px;
    height: 40px;
    padding: 14px 12px;
    border-radius: 10px;
    background-color: var(--c-white);
    cursor: pointer;
}

.c-burger span {
    width: 8px;
    height: 2px;
    background-color: var(--c-purple--3);
    transition: all .3s ease-out;
    pointer-events: none;
}

.c-burger span:nth-of-type(1) {
    background-color: var(--c-gold--1);
}

.c-burger span:nth-of-type(2) {
    width: 16px;
}

.c-burger:hover span:not(:nth-of-type(2)) {
    width: 16px;
}

.c-burger:hover span:nth-of-type(2) {
    width: 8px;
    transform: translateX(8px);
}

.c-burger.open span:nth-of-type(1) {
    width: 8px;
    transform: translate(7px, 1px) rotate(-45deg);
}

.c-burger.open span:nth-of-type(2) {
    width: 16px;
    transform: translateX(0px) rotate(45deg);
}

.c-burger.open span:nth-of-type(3) {
    width: 8px;
    transform: translate(1px, -2px) rotate(-45deg);
}

/* Menu */

.c-menu {
    width: 100%;
    height: 100vh;
    padding: 63px var(--site-padding);
    display: grid;
    grid-template-rows: 1fr auto;
    row-gap: 150px;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
    background-color: var(--c-white);
    transform: translateY(-150%);
    transition: transform .45s cubic-bezier(0.39, 0.58, 0.57, 1);
}

.c-menu.open {
    transform: translateY(0);
}

.c-menu__nav ul {
    row-gap: 32px;
}

.c-menu__nav ul>li:not(:last-of-type) a {
    color: var(--c-black);
    font-size: var(--fs-24);
    font-weight: var(--fw-bold);
}

.c-menu__nav ul>li:last-of-type {
    margin-top: 24px;
    display: inherit;
}

/* Home */

.c-home {
    transform: translateY(-150px);
    max-width: 800px;
    margin: auto;
    flex-wrap: wrap;
}

.c-home__img {
    width: clamp(168px, 30vw, 268px);
    margin-bottom: 40px;
}

.c-home__content {
    font-size: var(--fs-16);
    text-align: left;
    width: 50%;
    padding-top: 200px;
}

.c-home__content h1 {
    margin-bottom: 15px;
    font-size: var(--fs-34);
    line-height: 1.15;
}

.c-home__content div {
    margin-top: 15px;
}

.c-home__content div>span {
    width: 13px;
    height: 2px;
    border-radius: 50px;
    background-color: var(--c-gold--1);
}

.c-home__content div>span:first-of-type {
    transform: rotate(45deg) translate(-6px, 0px);
}

.c-home__content div>span:last-of-type {
    transform: rotate(-45deg) translate(7px, -1px);
}

video.c-home__video {
    width: 50%;
}

.c-home__video-container {
    border-radius: 35px;
    width: 300px;
    height: 615px;
    box-shadow: 0px 7px 14px #00000033;
    position: relative;
}

.c-home__video-container::after {
    content: '';
    width: 111%;
    height: 111%;
    position: absolute;
    background: no-repeat center/contain url(./img/mockup_iphone.webp);
    top: -36px;
    left: -18px;
    user-select: none;
    pointer-events: none;
}

video.c-home__video-player {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 35px;
}

.c-home__video {
    width: 50%;
}

.c-home__video-player-button {
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 23px);
    width: 46px;
    height: 46px;
    border-radius: 100%;
    border: none;
    background: #c3881b;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    display: none;
    cursor: pointer;
}

.c-home__video-player-button.display {
    display: flex;
}

button.video-player-replay {
    z-index: 2;
    padding: 10px;
}

/* Prelude */

.c-prelude {
    max-width: 800px;
    padding-bottom: 32px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0px 20px 40px 5px rgba(43, 43, 43, 0.12);
    flex-wrap: wrap;
    margin: auto;
}

.c-prelude__text-container h2 {
    margin-bottom: 10px;
}

.c-prelude__video-container {
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.c-prelude>section {
    margin-inline: 24px;
}

.c-prelude>section:first-of-type {
    margin: 26px 24px;
    position: relative;
}

.c-prelude>section:first-of-type::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -12px;
    background-color: #EBEBEB;
}

.c-prelude__video {
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Slider */

.c-slider {
    width: min(820px, 100%);
    height: 350px;
    margin-inline: auto;
    margin-bottom: 115px;
    position: relative;
    overflow: hidden;
}

:is(.tns-nav, .tns-visually-hidden, .tns-outer button[data-action='stop']) {
    display: none;
}

.c-slider__inner {
    display: flex;
    gap: 16px;
    pointer-events: none;
}

.c-slider__card {
    border-radius: 5px;
}

.c-slider__bubble {
    width: auto;
    height: 275px;
    margin-bottom: 25px;
    padding: 16px;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--c-purple--4) 0%, var(--c-purple--2) 100%);
    color: var(--c-white);
    font-weight: var(--fw-bold);
    margin: auto;
}

.c-slider__stars {
    column-gap: 8px;
}

.c-slider__text {
    margin-top: 16px;
    line-height: 1.5;
    font-size: var(--fs-14);
    padding-bottom: 30px;
}

.c-slider__people {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: var(--fs-12);
}

/* Desc */

.c_arguments.l-flex {
    width: 1400px;
    max-width: 100%;
    margin: auto;
    align-items: flex-start;
    column-gap: 90px;
    margin-bottom: 90px;
}

.c-desc>section {
    margin-inline: auto;
    text-align: center;
}


.c-desc h2 {
    margin-bottom: 15px;
}

.c-desc__img {
    margin-inline: auto;
    margin-bottom: 30px;
    height: 139px;
}

/* Works */

.c-works, .c-who {
    max-width: 1080px;
    margin: 75px auto 0;
    padding-inline: var(--site-padding);
    color: var(--c-white);
    /* overflow: hidden; */
    column-gap: 30px;
    align-items: flex-start;
}

.c-who {
    flex-direction: row-reverse;
}

.c-works__img-container, .c-who__img-container {
    width: calc(60% - 15px);
}

.c-works__text-container, .c-who__text-container {
    width: calc(40% - 15px);
}

.c-works__img-container>img {
    width: 100%;
    height: auto;
}

.c-works__title {
    max-width: 12ch;
    margin: 40px 0 16px;
    align-self: flex-start;
}

.c-works__paragraph h3 {
    margin-bottom: auto;
}

.c-works__paragraph+.c-works__paragraph {
    margin-bottom: 37px;
}

.c-works .c-cta {
    align-self: center;
    box-shadow: 0px 10px 20px 5px rgba(42, 41, 160, 0.2);
    display: inline-block;
}

/* Who */

.c-who {
    margin-top: 110px;
    padding-inline: var(--site-padding);
    color: var(--c-white);
    overflow: hidden;
    align-items: center;
    margin-bottom: 90px;
}

.c-who__img-container {
    /* padding-top: 50px; */
}

.c-who__img-container>img {
    width: 100%;
    z-index: 2;
}

.c-who__img-container .c-bubble {
    transform: translateX(-20%);
}

.c-who__content {}

.c-who__content>*+* {
    margin-top: 16px;
}

/* Bubble */

.c-bubble {
    position: relative;
}

.c-bubble figure {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.c-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.c-bubble--1::before {
    content: '';
    width: 56px;
    height: 56px;
    position: absolute;
    top: -15px;
    left: 44px;
    z-index: 2;
    border-radius: 50%;
    background-color: var(--c-purple--2);
}

.c-bubble--1::after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    top: 216px;
    left: 32px;
    z-index: -1;
    border-radius: 50%;
    background-color: var(--c-gold--1);
}

.c-bubble--2::before {
    content: '';
    width: 56px;
    height: 56px;
    position: absolute;
    top: 256px;
    right: 40px;
    z-index: 2;
    border-radius: 50%;
    background-color: var(--c-purple--2);
}

/* FAQ */

.c-faq {
    max-width: 800px;
    margin: 40px var(--site-padding) 0;
    padding: 40px 16px;
    border-radius: 16px;
    background: linear-gradient(45deg, var(--c-gold--2) 0%, var(--c-gold--1) 100%);
    box-shadow: 0px 20px 40px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width:845px) {
    .c-faq {
        margin: 40px auto 0;
    }
}

.c-faq h2 {
    text-align: center;
    color: var(--c-white);
}

.c-faq>*+* {
    margin-top: 16px;
}

.c-faq details {
    padding: 13px 16px;
    position: relative;
    border-radius: 10px;
    background-color: #A87412;
    color: var(--c-white);
}

.c-faq details[open] {
    background-color: #FFF1D8;
    color: var(--c-black);
}

.c-faq details summary {
    padding-right: 55px;
    display: block;
    position: relative;
    cursor: pointer;
}

.c-faq details[open] summary {
    margin-bottom: 26px;
}

.c-faq details[open] summary::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -12px;
    left: 0;
    background-color: var(--c-gold--1);
}

.c-faq details summary span {
    width: 13px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 23px;
    border-radius: 10px;
    background-color: var(--c-white);
}

.c-faq details summary span:first-of-type {
    transform: rotate(45deg) translate(-6px, 0px);
}

.c-faq details summary span:last-of-type {
    transform: rotate(-45deg) translate(6px, 0px);
}

.c-faq details[open] summary span {
    background-color: var(--c-black);
}

.c-faq details[open] summary span:first-of-type {
    transform: rotate(45deg) translate(0px, -6px);
}

.c-faq details[open] summary span:last-of-type {
    transform: rotate(-45deg) translate(0px, -6px);
}

.c-faq__cta {
    margin: 37px auto 0;
    display: block;
    box-shadow: 0px 10px 20px 5px rgba(42, 41, 160, 0.2);
}

/* Services */

.c-services {
    margin: 112px calc((100% - 1640px) / 2) 61px;
    padding: 68px var(--site-padding);
    border-radius: 50px;
    background-color: var(--c-white);
    text-align: center;
}

.c-services>p {
    margin: 16px 0 40px;
}

.c-services__video {
    border-radius: 16px;
}

.c-services>.c-cta {
    margin-top: 16px;
    box-shadow: 0px 10px 20px 5px rgba(215, 168, 79, 0.36);
}

.c-services__gif-container {
    width: 500px;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

/* Footer */

.c-footer {
    width: 100%;
    padding: 40px calc((100% - 1640px) / 2) 90px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    background-color: rgba(250, 251, 253, .9);
}

.c-footer__line {
    display: flex;
    gap: 90px;
}

.c-footer__line--1 {
    justify-content: space-between;
}

.c-footer__line--2 {
    gap: inherit;
}

.c-footer__line--3 {
    justify-content: center;
}

.c-footer__text {
    max-width: 400px;
    line-height: 1.5;
}

.c-footer__nav {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--c-purple--1);
    border-bottom: 1px solid var(--c-purple--1);
    font-size: var(--fs-12);
}

.c-footer__nav>ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-weight: var(--fw-semi-bold);
}

.c-footer__nav>ul a {
    color: var(--c-purple--3);
}

.c-footer__rs>a {
    flex: 1;
}

.c-footer__copyright {
    color: var(--c-purple--2);
    font-size: var(--fs-12);
}

/* Mails */

.c-mails__inner {
    width: min(80%, 550px);
    margin-inline: auto;
    text-align: center;
}

.c-mails h3 {
    margin: 24px 0 9px;
    font-size: var(--fs-16);
}

.c-mails a {
    color: var(--c-black);
    text-decoration: underline;
    font-size: var(--fs-14);
}

/* Adresse */

.c-adress {
    margin: 65px auto;
    text-align: center;
}

.c-adress>h2 {
    max-width: min-content;
    margin: 0 auto 16px;
}

/* Team */

.c-team {
    padding-inline: var(--site-padding);
    display: grid;
    grid-template-rows: repeat(2, auto);
    align-content: center;
    justify-items: center;
    row-gap: 42px;
}

.c-team__peoples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 34px;
}

.c-team h2 {
    margin-bottom: 42px;
    text-align: center;
}

.c-people__img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.c-people__name {
    font-size: var(--fs-14);
    font-weight: var(--fw-semi-bold);
    line-height: 1.5;
}

.c-people__role {
    font-size: var(--fs-12);
    line-height: 1.5;
}

/* White container */

.c-white-container {
    margin: 30px calc((100% - 1640px) / 2) 0;
    padding: 55px 0 80px;
    border-radius: 50px;
    background-color: var(--c-white);
}

.c-white-container--2 {
    margin-top: 285px;
    padding: 55px 0 80px;
    padding: 0px var(--site-padding) 80px;
}

/* Contact */

.c-contact__title {
    max-width: 15ch;
    margin: 177px auto 0;
    color: var(--c-white);
    font-size: var(--fs-34);
    font-weight: var(--fw-bold);
    text-align: center;
}



/* Conditions générales et confidentialités */

.c-cdt {
    width: min(80%, 850px);
    margin-inline: auto;
    padding: var(--site-padding);
}

/* ---------------------------------------------------------------------------------------
                                   UTILITIES
--------------------------------------------------------------------------------------- */

.u-padding {
    padding-inline: var(--site-padding);
}

/* ---------------------------------------------------------------------------------------
                                   RESPONSIVE
--------------------------------------------------------------------------------------- */


@media screen and (min-width:960px) {
    .c-header__logo svg {
        width: 65px;
        height: 65px;
    }

    .c-prelude {
        margin: 45px auto 50px;
        box-shadow: none;
        background: none;
        column-gap: 50px;
        align-items: flex-start;
    }

    .c-prelude p {
        margin-bottom: 15px;
    }

    .c-prelude__text-container section:last-of-type p {
        margin-bottom: 0;
    }

    .c-prelude__video-container {
        width: 350px;
        height: 325px;
        border-radius: 20px;
    }

    .c-prelude__video-container .video-player {
        height: 400px;
        object-fit: cover;
    }

    .c-prelude__text-container {
        width: calc(100% - 350px - 50px);
    }
}


@media screen and (max-width:1700px) {
    .c-white-container, .c-services {
        max-width: 95%;
        margin-inline: auto;
    }

    .c-footer {
        padding: 40px var(--site-padding) 90px;
    }
}

@media screen and (max-width:1400px) {
    .c-footer__line--1 {
        gap: 50px;
    }
}

@media screen and (max-width:1100px) {
    .c-works, .c-who {
        flex-wrap: wrap;
    }

    .c-works__text-container, .c-who__text-container,
    .c-works__img-container, .c-who__img-container {
        width: 100%;
        text-align: center;
    }

    .c-works__img-container img, .c-who__img-container img {
        max-width: 500px;
        margin: auto;
    }

    .c-works__title,
    .c-works__paragraph p {
        max-width: none;
    }

}

@media screen and (max-width:959px) {
    .c_arguments.l-flex {
        flex-wrap: wrap;
        row-gap: 60px;
    }

    .c-prelude__text-container {
        padding: 30px;
    }

    .c-prelude__text-container section+section {
        margin-top: 24px;
        padding-top: 24px;
        border-top: #EBEBEB solid 1px;
    }

    .c-white-container--2 {
        padding: 0px var(--site-padding) 10px;
    }

    .c-footer__line--1 {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .c-footer__nav>ul {
        justify-content: center;
    }
}

@media screen and (max-width:820px) {
    .c-home__video {
        width: 100%;
    }

    .c-home__video-container {
        margin: auto;
    }

    .c-home__content {
        width: 100%;
        padding-top: 60px;
        text-align: center;
    }

    .c-home__content .c-cta {
        margin-inline: auto;
    }

    .c-slider__bubble {
        height: fit-content;
    }

    #tns1>.tns-item {
        font-size: 12px;
    }

    .c-pastille {
        width: 80vw;
        height: 50px;
        display: flex;
        left: 10vw;
        bottom: 10px;
        font-size: 18px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #c58b1f;
    }

    .c-pastille br {
        display: none;
    }
}

@media screen and (max-width:560px) {
    .c-works__img-container, .c-who__img-container {
        margin: 0 -23px;
        width: calc(100% + 46px);
        overflow: hidden;
    }

    .c-works__img-container img, .c-who__img-container img {
        width: 110vw;
        max-width: none;
    }

    .c-who__img-container img {
        margin-left: -20vw;
    }

    .c-pastille {
        font-size: 16px;
    }
}

@media screen and (max-width:450px) {
    .c-home__video-container {
        width: 275px;
        height: 575px;
    }

    .c-mails__inner {
        text-align: left;
    }
}