:root {
    --color-primary: #006A6A;
    --color-primary-container: #00FCF0;
    --color-on-primary: #FFFFFF;
    --color-on-primary-container: #002020;
    --color-secondary: #4A6363;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Sora', sans-serif;
    }

    --color-secondary-container: #CCE8E7;
    --color-on-secondary: #FFFFFF;
    --color-on-secondary-container: #051F1F;
    --color-tertiary: #4B607C;
    --color-tertiary-container: #D3E4FF;
    --color-on-tertiary: #FFFFFF;
    --color-surface: #F7FAF9;
    --color-surface-container: #E6F0EF;
    --color-on-surface: #191C1C;
    --color-container: #E6F0EF;
}

html {
    background: var(--color-primary);
    font-family: 'Roboto', Arial, sans-serif;
    scroll-behavior: smooth;
    color: var(--color-on-surface);
    overflow-x: hidden;
    margin: 0;
}

body {
    margin: 0;
    background: var(--color-surface);
}

header {
    height: 100dvh;
    color: var(--color-on-primary);
    overflow: hidden;
}

.header-about {
    height: auto;
    min-height: 50vh;
    padding-bottom: 4rem;
}

.no-scroll {
    overflow-y: hidden;
    scrollbar-width: none;
}

.no-scroll::-webkit-scrollbar {
    display: none;
    /* Pour les navigateurs WebKit (Chrome, Safari, etc.) */
}

.no-scroll::-webkit-scrollbar-thumb {
    display: none;
    /* Pour les navigateurs WebKit (Chrome, Safari, etc.) */
}

.background-gradient--header {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 85%;
    background-image: url("assets/gradient.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.container-header {
    height: 100%;
    max-width: 1000px;
    padding: 0 2rem 0 2rem;
    display: flex;
    margin: auto;
    position: relative;
}

.container-header-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 75%;
    margin: 0 5rem 0 0;
    align-items: start;
}

.container-header-mockup {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 4rem;
}

.mockup {
    filter: drop-shadow(0px 0px 9px rgba(0, 0, 0, 0.4));
}

.launcher-logo-header{transform: rotate(3deg);
    height: 20%;
    position: absolute;
    z-index: 100;
    bottom: 25%;
    right: 0;
}

.mockup-header {
    position: relative;
    z-index: 10;
    height: 70vh;
    max-height: 650px;
}

.mockup-section {
    max-height: 70vh;
    height: 100%;
    width: 100%;
    max-width: 340px;
    object-fit: contain;
    margin: auto;
}

.mockup-article {
    display: block;
    max-width: 600px;
    margin: auto;
}

.mockup-footer {
    object-fit: contain;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 5rem;
}

.logo-header {
    position: absolute;
    margin: 2rem 0 2rem 0;
    filter: brightness(0) invert(1);
}

section {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    box-sizing: border-box;
    padding: 2rem;
    color: var(--color-on-surface);
}

section .box-grey {
    background-color: var(--color-container);
    width: 100%;
    height: 100%;
    border-radius: 90px;
}

section .box-grey-mockup-container {
    padding: 3rem;
    display: flex;
}

article {
    margin: 8rem 0 10rem 0;
    width: 100%;
    background-color: var(--color-container);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

footer {
    position: relative;
}

.card-container {
    max-width: 1000px;
    width: 100%;
    height: 100%;
    margin: auto;
    box-sizing: border-box;
    padding: 0 4rem 4rem 4rem;
    position: relative;
    z-index: 1;
}

.card-container .card-content {
    width: 100%;
    height: 100%;
    border-radius: 90px;
    background: var(--color-surface);
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: end;
}

.card-container .card-content-text {
    display: flex;
    flex-direction: column;
    flex: 4;
    padding: 4rem;
    padding-right: 2rem;
}

.row-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1.5rem;
}

.mail-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

.logo-link {
    text-decoration: none;
}

.simple-nav {
    padding: 1rem 2rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-surface-container);
}

.simple-nav .nav-content {
    max-width: 1000px;
    padding: 0 2rem;
    margin: 0 auto;
}

.simple-header {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.simple-header h1 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.simple-header .download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.store-button {
    background-color: #000;
    border-radius: 8px;
    padding: 8px 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.store-button:hover {
    opacity: 0.8;
}

.store-button img {
    height: 32px;
    width: auto;
}

.simple-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-surface-container);
}

.faq-item:last-child {
    border-bottom: none;
}

.simple-footer {
    text-align: center;
    padding: 2rem;
    background: var(--color-surface-container);
    margin-top: 2rem;
}

.faq-item h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

.store-button {
    background-color: black;
    border-radius: 100px;
    padding: 0.5rem 4rem;
    transition: opacity 0.2s;
}

.store-button:hover {
    opacity: 0.8;
}

.store-button img {
    height: 2rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    text-decoration: none;
    border-radius: 100px;
    transition: background-color 0.2s;
}

.contact-link:hover {
    background-color: var(--color-secondary);
}

.icon-contact {
    position: relative;
    top: 2px;
    margin-right: 12px;
}

.background-gradient--footer {
    position: absolute;
    bottom: 0px;
    z-index: 0;
    width: 100%;
    height: 60%;
    background-color: var(--color-primary);
}

.scroll-container {
    position: fixed;
    z-index: 200;
    top: 0;
    left: var(--left);
    width: 100dvw;
    height: 100dvh;
    background: var(--color-surface);
    transition: left 0.3s ease;
}

.reset {
    width: 3800px;
    aspect-ratio: 1/1;
}

.scroll-horizontal {
    overflow-y: hidden;
    position: sticky;
    left: 0;
    top: 0;
    height: 100dvh;
    width: 100dvw;
    scrollbar-width: none;
}

.scroll-horizontal::-webkit-scrollbar {
    display: none;
    /* Pour les navigateurs WebKit (Chrome, Safari, etc.) */
}

.scroll-horizontal::-webkit-scrollbar-thumb {
    display: none;
    /* Pour les navigateurs WebKit (Chrome, Safari, etc.) */
}

.scroll-vertical {
    overflow-x: hidden;
    position: fixed;
    z-index: 300;
    height: 100dvh;
    width: 100dvw
}

.scrollbar-container {
    position: absolute;
    left: 3vw;
    right: 3vw;
    bottom: calc(2vw + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
}

.close-button {
    background-color: #d0d0d0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
    margin-left: 1rem;
    z-index: 400;
}

.close-button:hover {
    background-color: #777;
}

.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
}

.close-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(135deg);
}

.close-button:hover .close-icon,
.close-button:focus .close-icon {
    background-color: #ccc;
}

.scrollbar-indicator {
    flex: 1;
    height: 3px;
    background-color: #d0d0d0;
    position: relative;
    overflow: hidden;
}

.scrollbar-indicator::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #777;
    border-radius: 10px;
    width: calc(var(--scroll) * 100%);
    transition: width 0.25s ease;
}

.scrollbar-indicator::after {
    content: var(--scroll);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

.content {
    display: flex;
    height: calc(100dvh - calc(20px + 2vw));
    justify-content: center;
    align-items: center;
    transform: translateX(calc(calc(calc(3800px - 100dvw) * var(--scroll) * -1)));
    position: fixed;
}

.element {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 800px;
    padding: 0 50px 0 50px;
}

.element:first-child {
    margin-left: 100px;
}

.element:last-child {
    margin-right: 100px;
}

.mockup-popup {
    max-width: 300px;
    max-height: 70%;
    margin-right: 50px;
}

.circle-element {
    width: 335px;
    overflow: hidden;
}

.circle-element * {
    overflow: hidden;
}

.input {
    width: 100%;
    height: 30px;
    border-radius: 100px;
    outline: none;
    border: none;
    padding: 5px 20px 5px 20px;
    background-color: transparent;
}

.input-label {
    position: absolute;
    top: -8px;
    left: 20px;
    background: var(--color-surface);
    padding: 0 10px 0 10px;
    font-size: 12px;
}

.input-wrapper {
    display: flex;
    position: relative;
    border: 2px solid black;
    border-radius: 100px;
    width: 90%;
    height: 40px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.submit-line {
    display: flex;
    align-items: center;
    width: 90%;
    height: 44.55px;
    margin-bottom: 1rem;
}

.line-label {
    color: var(--color-secondary);
    margin: 0 0 0 0;
    font-size: 0px;
    transition-delay: 1s;
    transition: all 0.8s ease;
}

.mail-send .line-label {
    font-size: 16px;
    margin: 0 0 0 1rem;
    text-indent: 0;
}

.submit-wrapper {
    background-color: var(--color-secondary);
    border-radius: 100px;

    background: var(--color-surface);
    width: 100%;
    height: 44.55px;
    position: relative;
    transition: width 0.8s ease;
}

.submit-wrapper:hover {
    background-color: var(--color-primary);
}

.mail-send .submit-wrapper:hover {
    background-color: var(--color-secondary);
}

.form-submit-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    fill: #fff;
    opacity: 0;
    cursor: default;
    transition-delay: 0.5s;
    transition: opacity 0.6s ease;
}


.input-submit {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    color: #fff;
}

.mail-send .form-submit-icon {
    opacity: 1;
}

.mail-send .input-submit {
    font-size: 0;
    cursor: default;
}

.mail-send .submit-wrapper {
    width: 44.55px;
    height: 44.55px;
    cursor: default;
}

.open {
    display: block;
}

.download-buttons {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 3rem 0 5rem 0;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.download-buttons .buttonStore {
    max-height: 40px;
    padding: 10px 12px 10px 12px;
    background-color: rgba(0, 0, 0, 1);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.download-buttons .buttonStore:hover {

    background-color: rgba(0, 0, 0, 0.8);
}

.download-buttons .buttonStore img {
    max-height: 30px;
}

h1 {
    font-family: "Roboto Flex", "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 44px;
    margin: 1rem 0 1rem 0;
}

h2 {
    font-family: "Roboto Flex", "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 40px;
    margin: 1rem 0 1rem 0;
}

h3 {
    font-family: "Roboto Flex", "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 30px;
    margin: 1rem 0 1rem 0;
}

h4 {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 300;
    margin: 0rem 0 1rem 0;
}

.btn {
    border-radius: 100px;
    cursor: pointer;
    outline: none;
    border: none;
}

.btn-tertiary {
    background-color: transparent;
    border: var(--color-on-primary) 1px solid;
    color: var(--color-on-primary);
    padding: 10px 30px 10px 30px;
}

.btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: var(--color-on-primary);
    color: var(--color-primary);
    border: var(--color-on-primary) 1px solid;
    font-weight: 600;
    padding: 10px 30px 10px 30px;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-on-primary);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    padding: 15px 35px 15px 35px;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
}

.font-weight--medium {
    font-weight: 600;
}

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

.min-width-100 {
    min-width: 100%;
}

a {
    text-decoration: none;
}

.flex {
    display: flex;
}

.flex1 {
    flex: 1;
}

.flex2 {
    flex: 2;
}

.flex3 {
    flex: 3;
}

.flex4 {
    flex: 4;
}

.flex5 {
    flex: 5;
}

.flex6 {
    flex: 6;
}

.flex7 {
    flex: 7;
}

.flex8 {
    flex: 8;
}

.flex9 {
    flex: 9;
}

.flex10 {
    flex: 10;
}

.column {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

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

.align-items--start {
    align-items: flex-start;
}

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

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

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

.m0 {
    margin: 0;
}

.ml2 {
    margin-left: 2rem;
}

.ml3 {
    margin-left: 3rem;
}

.ml4 {
    margin-left: 4rem;
}

.mr2 {
    margin-right: 2rem;
}

.mr3 {
    margin-right: 3rem;
}

.mr4 {
    margin-right: 4rem;
}

.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem;
}

.mt3 {
    margin-top: 3rem;
}

.mt4 {
    margin-top: 4rem;
}

.mb2 {
    margin-bottom: 2rem;
}

.mb3 {
    margin-bottom: 3rem;
}

.mb4 {
    margin-bottom: 4rem;
}

.p1 {
    padding: 1rem;
}

.p2 {
    padding: 2rem;
}

.p3 {
    padding: 3rem;
}

.p4 {
    padding: 4rem;
}

.pt3 {
    padding-top: 3rem;
}

.pb3 {
    padding-bottom: 3rem;
}

@media (orientation: portrait) and (max-width: 740px) {.launcher-logo-header{transform: rotate(2deg);
    height: 22%;
}

    header {
        height: auto;
    }

    .background-gradient--header {
        height: 75%;
    }

    .container-header {
        padding: 0;
        flex-direction: column;
        align-items: end;
    }

    .logo-header {
        width: 90px;
        align-self: center;
    }

    .container-header-text {
        margin: 5rem 0 2rem 0;
        padding: 0 2rem 0 2rem;
        flex: 0;
    }

    .container-header-mockup {
        position: relative;
        margin: 0;
        transform: rotate(5deg) translate(0%, -7%);
    }

    .mockup-header {
        height: 50vh;
    }

    section {
        padding-left: 0;
        padding-right: 0;
        height: auto;
        max-height: none;
    }

    section .box-grey {
        border-radius: 0;
    }

    section:nth-child(odd) .box-grey {
        flex-direction: column-reverse;
    }

    section:nth-child(even) .box-grey {
        flex-direction: column;
    }

    section .box-grey-mockup-container {
        padding: 0 6rem 3rem 6rem;
    }

    footer {
        overflow-x: hidden;
    }

    article div:last-child img {
        width: 90%;
    }

    .card-container {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .card-container .card-content {
        border-radius: 0 0 60px 60px;
        flex-direction: column;
        align-items: center;
    }

    .card-container .card-content-text {
        padding: 0 2rem 2rem 2rem;
    }

    .input-wrapper,
    .input-submit {
        width: 100%;
    }


    .mockup-footer {
        padding: 0 4rem 0 4rem;
    }

    .background-gradient--footer {
        height: 90%;
    }

    .download-buttons {
        margin: 0 3rem;
    }

    .download-buttons a:first-child {
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }


    @media (max-width: 400px) {
        header {
            padding-bottom: 2rem;
            background: var(--color-primary);
        }

        .background-gradient--header {
            display: none;
        }

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

        .container-header-mockup {
            transform: rotate(5deg) translate(0%, 0%);
        }
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    section {
        height: auto;
        max-height: none;
    }

    section .box-grey {
        height: auto;
    }

    section .box-grey-mockup-container {
        padding: 3rem 6rem 3rem 6rem;
    }

    .mockup-section {
        max-width: 200px;
    }

    .card-container .card-content {
        flex-direction: row;
    }

    @media (max-width: 800px) {
        section .box-grey-mockup-container {
            padding: 1rem 3rem 1rem 3rem;
        }
    }
}

@media (orientation: portrait) and (max-width: 740px) {
    .reset {
        width: 1600px;
    }

    .scroll-vertical {
        overflow: hidden;
    }

    .content {
        transform: translateX(calc(calc(calc(1600px - 100dvw) * var(--scroll) * -1)));
    }

    .element {
        padding: 0 50px 0 50px;
        flex-direction: column;
        width: 300px;
    }

    .element:first-child {
        margin: 0;
    }

    .element:last-child {
        margin: 0;
    }

    .circle-element {
        width: auto;
    }

    .mockup-popup {
        max-height: 50%;
        margin: 0 0 30px 0;
    }
}

@media (orientation: landscape) and (max-height: 740px) {
    header {
        height: auto;
        padding-bottom: 2rem;
        background: var(--color-primary);
    }

    .background-gradient--header {
        display: none;
    }

    header h1 {
        font-size: 30px;
    }

    .container-header {
        flex-direction: row;
        margin: 0;
        max-width: none;
        align-items: center;
    }

    .logo-header {
        top: 0;
        width: 80px;
    }

    .container-header-text {
        flex: 2;
        margin-top: 4rem;
    }

    .container-header-mockup {
        transform: rotate(5deg) translate(0%, 2%);
    }

    .mockup-header {
        height: 70vh;
    }
}