/***** FONT *****/
@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Bold.woff2') format('woff2'),
         url('../font/SFProDisplay-Bold.woff') format('woff'),
         url('../font/SFProDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Ultralight.woff2') format('woff2'),
         url('../font/SFProDisplay-Ultralight.woff') format('woff'),
         url('../font/SFProDisplay-Ultralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-LightItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-LightItalic.woff') format('woff'),
         url('../font/SFProDisplay-LightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Thin.woff2') format('woff2'),
         url('../font/SFProDisplay-Thin.woff') format('woff'),
         url('../font/SFProDisplay-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Medium.woff2') format('woff2'),
         url('../font/SFProDisplay-Medium.woff') format('woff'),
         url('../font/SFProDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Light.woff2') format('woff2'),
         url('../font/SFProDisplay-Light.woff') format('woff'),
         url('../font/SFProDisplay-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-HeavyItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-HeavyItalic.woff') format('woff'),
         url('../font/SFProDisplay-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-MediumItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-MediumItalic.woff') format('woff'),
         url('../font/SFProDisplay-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-BlackItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-BlackItalic.woff') format('woff'),
         url('../font/SFProDisplay-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Heavy.woff2') format('woff2'),
         url('../font/SFProDisplay-Heavy.woff') format('woff'),
         url('../font/SFProDisplay-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Semibold.woff2') format('woff2'),
         url('../font/SFProDisplay-Semibold.woff') format('woff'),
         url('../font/SFProDisplay-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-ThinItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-ThinItalic.woff') format('woff'),
         url('../font/SFProDisplay-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-SemiboldItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-SemiboldItalic.woff') format('woff'),
         url('../font/SFProDisplay-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Regular.woff2') format('woff2'),
         url('../font/SFProDisplay-Regular.woff') format('woff'),
         url('../font/SFProDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-Black.woff2') format('woff2'),
         url('../font/SFProDisplay-Black.woff') format('woff'),
         url('../font/SFProDisplay-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-BoldItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-BoldItalic.woff') format('woff'),
         url('../font/SFProDisplay-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-RegularItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-RegularItalic.woff') format('woff'),
         url('../font/SFProDisplay-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/SFProDisplay-UltralightItalic.woff2') format('woff2'),
         url('../font/SFProDisplay-UltralightItalic.woff') format('woff'),
         url('../font/SFProDisplay-UltralightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}



/***** General settings *****/

* {
    -webkit-font-smoothing: antialiased !important;
    font-family: "SF Pro Display", sans-serif;
    color: #14181E;
}

p, ul, li {
    font-weight: 300;
    font-size: 16px;
}

.w-400 {
    font-weight: 400;
}

b {
    font-weight: 500;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    background-color: #f0eff4;
    max-width: 100%;
    scroll-behavior: smooth !important;
    overflow-x: hidden !important;
}

body::-webkit-scrollbar {
    display: none !important;
}

/***** CSS in HTML *****/

.fixed {
    position: fixed;
}

.flex {
    display: flex !important;
}

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

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


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

.b-black {
    background-color: #14181e;
}

.b-white {
    background-color: #f0eff4 !important;
}

.b-rose {
    background: #FF314F !important;
}

.c-white {
    color: white;
}

.c-rose {
    color: #fe314f;
}

.c-hover-rose:hover {
    color: #fe314f;
}

.c-red {
    color: red;
}

.hover-rose:hover {
    background-color: #FF314F !important;
    border-color: #FF314F !important;
    color: white !important;
    /* transition: all .1s !important; */
}

.hover-rose:hover a {
    color: white !important;
}

.spell-out {
    speak: spell-out;
}

/**** Global CSS  *****/

.side {
    width: 17.1875%;
}

.content {
    width: 65.625%;
}

/**
 * WARNING : this is the only way i've found to fix the pixel shift caused by glide
 */
section.with-glide .content {
    width: calc(65.625% - 2px);
}


.chevron:before {
    content: '>';
    letter-spacing: 0.3em;
}

body > section > .content {
    padding: 7vh 0;
}

body > section:first-of-type {
    margin-top: 100px;
}

span.a,
a {
    text-decoration: underline;
}

span.a.chevron:before,
a.chevron:before {
    display: inline-block;
    text-decoration: none;
}

h2.title {
    text-indent: -0.875em; /* Align with chevron */
    font-size: 1.6em;
    font-weight: 400;
    margin: 1em calc(20px + 3vw);
}

h2.title:before {
    content: '>  ';
    color:  #FF314F;
}

h2.c-white.title:before {
    color: #FFF;
}

section.with-borders > .side:first-child {
    border-right: 1px solid #14181E;
    border-left: 1px solid transparent;
}

section.with-borders > .side:last-child {
    border-right: 1px solid transparent;
    border-left: 1px solid #14181E;
}

section.with-borders > .content {
    border-bottom: 1px solid #14181E;
}

.btn-container {
}

.btn-container > .btn {
    min-height: 60px;
    min-width: 33%;
    font-size: 1.3em;
    font-weight: 400;
    width: auto;
    padding: 0 1vw;
    margin-bottom: 0.5em;
}

.btn.b-black:hover {
    background: #FF314F;
}

.btn-container > .btn.disable {
    opacity: 0.25;
}

.btn-container > .btn > span.a,
.btn-container > .btn > a {
    padding: 0 20px;
}

.disable-btn-msg {
    color: #FF314F;
    letter-spacing: 0.03375em;
    font-size: 1.125em;
    font-style: italic;
}

button {
    cursor: pointer;
}


.anchor {
    margin-top: -100px;
    margin-bottom: 100px;
}

/***** Header *****/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-top: 1px solid #14181E;
    border-bottom: 1px solid #14181E;
    z-index: 999;
}

#header-1 img {
    height: 100%;
    width: 100%;
}

#header-1 {
    position: relative;
}

#header-logo-container {
    position: relative;
    width: 67%;
    height: 67%;
}

#header-2,
#header-3,
#header-4 {
    width: calc(65.625% / 3); /* 100% / 3 - les côtés */
}

#header-5 > h2 > a {
    font-weight: 500;
}

#header-6 {
    display: none;
}

header > .header-section:first-child {
    border-left: 1px solid #14181E;
}

header > .header-section {
    align-items: center;
    justify-content: center;
    border-right: 1px solid #14181E;
}

header > .header-section > h2 > a {
    letter-spacing: 0.0125em;
}

header h2 {
    font-weight: 400 !important;
    font-size: 1.2em;
}

header h2 > a:hover {
    text-decoration: underline;
}

/***** back Home button *****/

#back-home {
    position: fixed;
    top: 102px;
    height: 83px;
    width: 83px;
    left: calc(17.1875% - 85px);
    border: 1px solid #FFF;
    justify-content: space-evenly;
    cursor: pointer;
    text-decoration: none;
}

#back-home > p {
    margin: 0;
    font-size: 0.6875em;
}

/***** Page Top button *****/

#page-top {
    position: fixed;
    bottom: 0px;
    height: 83px;
    width: 83px;
    right: calc(17.1875% - 85px);
    border: 1px solid #FFF;
    text-decoration: none;
    justify-content: space-evenly;
    cursor: pointer;
    opacity: 1;
    transition: all 0.5s;
}

#page-top.hidden {
    opacity: 0;
}

#page-top img {
    transform: rotate(90deg);
    height: 35px;
    width: 35px;
}

#page-top p {
    display: flex;
    margin: 0;
    font-size: 0.6875em;
}

/***** Nav bar (for small screens) *****/
nav {
    position: fixed;
    display: none;
    height: 100%;
    width: auto;
    min-width: 70vw;
    top: 0;
    right: 0;
    background: #27272B;
    opacity: 0.96;
    z-index: 9999;
    transition: all 0.5s;
}

.nav-hidden {
    right: -100%;
}

nav > .nav-section {
    padding: 2vh 2vw;
    border-bottom: 1px solid #FFF;;
}
nav > .nav-section:first-child {
    border-bottom: 1px solid transparent;
}

#nav-1 {
    height: 70px;
    padding: 0 2vh;
    justify-content: flex-end;
}

#nav-2 {
    height: 70px;
    padding: 0 2vw;
}

#nav-2 > h3 {
    margin-top: 0;
    text-transform: uppercase;
    opacity: 0.7;;
}

nav h2 {
    font-size: 22pt;
}

nav h3 {
    font-size: 16pt;
}

nav h2,
nav h3 {
    margin-left: 5vw;
    margin-right: 5vw;
    font-weight: 400;
}

#cross {
    cursor: pointer;
    margin: 0 2vw;
}


/***** Arrow separator *****/

.arrow-down {
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-top: 28px solid #14181E;
    width: 0px;
    margin-left: calc(50% - 35px);

    margin-bottom: -56px;
    border-bottom: 28px solid transparent;
}

/***** Foldable sections *****/

section.foldable {
    overflow: hidden;
    transition: all 0.5s;
}

section.foldable > .side:first-child {
    border-right: 1px solid #14181E;
    border-left: 1px solid transparent;
}

section.foldable > .side:last-child {
    border-right: 1px solid transparent;
    border-left: 1px solid #14181E;
}

section.foldable > .content {
    border-top: none;
    border-bottom: none;
    padding: 0;
}

section.foldable > .content > .title-click {
    padding: 1.25em 4em;
    justify-content: space-between;
    cursor: pointer;
}

.no-border-bottom {
    border-bottom: none !important;
}


/* Hidden state */

section.foldable.hidden {
    border-top: none;
    border-bottom: none;
}

section.foldable.hidden > .content > .title-click {
    background: #F0EFF4;
}

section.foldable.hidden > .content > .title-click > h3 {
    color: #14181E;
}

section.foldable.hidden > .content > .title-click > img {
    filter: none;
    transform: none;
}

/* Visisble state */

section.foldable {
    border-top: 1px solid #14181E;
    border-bottom: 1px solid #14181E;
}

section.foldable .foldable-content {
    padding: 1vh 4em;
    /* transition: all 0.5s; */
    z-index: 1;
}

section.foldable > .content > .title-click > img {
    filter: invert(1);
    transform: rotate(180deg);
}

section.foldable > .content > .title-click {
    background: #FF314F;
    border-bottom: 1px solid #14181E;
    z-index: 10;
}

section.foldable > .content > .title-click > h3 {
    margin: 0;
    color: #FFF;
    font-size: 1.125em;
    font-weight: 500;
    letter-spacing: 0.03375em;
}


/***** Footer *****/

footer {
    padding-top: 6.375vh;
}

footer > .content > h2::before,
footer > .content > h2 {
    color: #F8F9FB;
}

footer h2.title {
    margin-top: 0;
    margin-bottom: 0;
}

#social-container {
    margin: 7.375vh 0;
}

#social-container > .social {
    margin-right: 3.828125vw;
}

#social-container > .social:hover > i,
#social-container > .social:hover > h5 > a {
    color: #FF314F;
    transition: all .5s;
}

#social-container > .social > i {
    font-size: 2em;
    margin-right: 1.17vw;
}

#social-container > .social > h5 {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02625em;
    font-size: 0.875em;
}

#bottom-container {
    margin-top: 2vh;
}

#bottom-container > .bottom {
    padding: 0 1.5vw;
}

/***** redirect section *****/

#redirect-section {
    height: calc(100vh - 400px);
}

#redirect-section > .side:first-child {
    border-right: 1px solid #14181E;
}

#redirect-section > .side:last-child {
    border-left: 1px solid #14181E;
}

/*----------------------------------------------------------------*/

/* Change header and sides width when < 1200px */
/* Move to mobile version when < 900px */


@media screen and (max-width:1200px) {
    .side {
        width: 7.5%;
    }

    .content {
        width: 85%;
    }

    section.with-glide .content {
        width: calc(85% - 3px);
    }

    body > section:first-of-type {
        margin-top: 0;
    }

    #redirect-section {
        border-top: 1px solid #14181E;
    }

    /***** header *****/

    body {
        padding-top: 70px;
    }

    header {
        height: 70px;
        justify-content: space-between;
    }

    header,
    .header-section {
        border: none !important;
    }

    #header-2,
    #header-3,
    #header-4,
    #header-5 {
        display: none !important;
    }

    #header-6 {
        display: flex !important;
    }

    #header-1,
    #header-6 {
        width: auto;
        height: 100%;
        padding: 0 4vw;
    }

    #header-logo-container {
        height: 100%;
        width: 100%;
    }

    #burger {
        cursor: pointer;
    }


    /***** Back home button *****/
    #back-home {
        display: none !important;
    }

    /***** Page top button *****/
    #page-top {
        height: 100px;
        width: 7.5%;
        right: 0;
    }
    #page-top p {
        display: none;
    }

    /***** Nav bar (for small screens) *****/
    nav {
        display: flex;
    }

    .anchor {
        margin-top: 5vh;
        margin-bottom: -5vh;
    }
}

@media screen and (max-width:900px) {
    /**** Global CSS  *****/

    .side {
        width: 8.7vw;
    }

    .content {
        width: calc(100% - 17.4vw);
    }

    section.with-glide .content {
        width: calc(100% - 17.4vw - 4px);
    }

    h2.title {
        font-size: 1.59em;
        margin: 1em 8vw;
        text-indent: -0.875em; /* Align with chevron */
    }

    .arrow-down {
        margin-top: -1px;
    }

    .btn-container > .btn {
        min-width: 64vw;
        min-height: 3.75em;
    }

    .disable-btn-msg {
        font-size: 1em;
        letter-spacing: 0.03em;
    }

    /***** Nav bar (for small screens) *****/

    #cross {
        /* margin: 0; */
    }

    /***** Page top button *****/
    #page-top {
        height: 4.5em;
        width: calc(8.7vw - 2px);
        right: 0;
    }

    #page-top img {
        height: 25px;
        width: 25px;
    }

    #page-top p {
        display: none;
    }


    /***** Foldable sections *****/
    section.foldable > .content > .title-click {
        padding-left: 0.9375em;
        padding-right: 1.5625em;
        padding-top: 1.125em;
        padding-bottom: 1.125em;
    }

    section.foldable > .content > .title-click > h3 {
        padding-right: 0.7em;
        text-indent: -1.2em;
        margin-left: 1.2em;
    }

    section.foldable .foldable-content {
        padding-top: 4vh;
        padding-bottom: 4vh;
        padding-left: 1.78125em;
        padding-right: 1.59375em;
    }

    section.foldable .foldable-content > p {
        font-size: 1.25em;
        letter-spacing: 0.05em;
        line-height: 1.5625em;
    }

    section.foldable .foldable-content > p.links {
        font-size: 1.17em;
        letter-spacing: 0.046em;
        line-height: 1.25em;

        margin-left: 1.2em;
    }
    section.foldable .foldable-content > p.links > a {
        text-indent: -1.2em;
        margin-bottom: 0.8125em;
    }

    /***** Footer *****/

    footer {
        padding-top: 3.3vh;
    }

    #social-container > .social > i {
        font-size: 2.6em;
    }

    #social-container > .social {
        flex-direction: column;
        margin: 0 3vw;
    }

    #social-container > .social > h5 {
        margin-top: 0.75em;
        font-size: 1em;
    }

    #bottom-container {
        flex-direction: column;
    }

    #bottom-container > .bottom:first-child {
        order: 5;
        margin: 2vh 0;
    }

    #bottom-container > .bottom:first-child p {
        margin-bottom: 0;
    }

    #bottom-container > .bottom {
        margin: 0.8vh 0;
        font-size: 1.25em;
        letter-spacing: 0.05em;
        font-weight: 300;
    }
}


@media screen and (max-height:800px) {
    .nav-section > h2 {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
}
