html {
    width: 100%;
    margin: 0;
    padding: 0;

    /** Colors */
    --theme-color-white: #f5f4f4;
    --theme-color-white-transparent: rgba(255, 255, 255, 0.95);
    --theme-color-black: #000;
    --theme-color-black-oso: #010508;
    --theme-color-red: #cd222c;
    --theme-color-dark-red: #a30e09;
    --theme-color-red-oso: #d94032;
    --theme-color-red-disabled: #f0c6c5;
    --theme-color-blue-oso: #0c2c40;
    --theme-color-blue-oso-alt: #144766;
    --theme-color-blue-oso-duck: #397d92;
    --theme-color-blue-oso-duck-disable: #d3eaf0;
    --theme-color-blue-oso-duck-hover: #2c6070;
    --theme-color-green-oso: #004949;
    --theme-color-green-oso-alt: #015151;
    --theme-color-green-oso-duck: #006f6f;
    --theme-color-green-oso-duck-hover: #018b8b;
    --theme-color-purple-oso: #3d2b3d;
    --theme-color-purple-oso-alt: #4d354d;
    --theme-color-purple-oso-duck: #5d435d;
    --theme-color-purple-oso-duck-hover: #634b63;
    --theme-color-pale-grey: #f8f8fa;
    --theme-color-dark-blue: #2b2e42;
    --theme-color-light-grey: #c2c3c9;
    --theme-color-very-light-grey: #f0f0f5;
    --theme-color-silver: #e1e1e4;
    --theme-color-steel: #868793;
    --theme-color-gunmetal: #494c5d;
    --theme-color-gunmetal2: #eeeef0;
    --theme-color-green-disabled: #b7e5a1;
    --theme-color-green: #2ad344;
    --theme-color-peach: #faa97a;
    --theme-color-peach-light: #f2c8a2;

    --theme-color-controle-exterieur: #ffffff;
    --theme-color-controle-externe: #fffced;
    --theme-color-controle-autre: #ebe6f7;
    --theme-color-controle-externe-contrast: #fdf5ce;
    --theme-color-controle-autre-contrast: #d8ccf5;
    --theme-color-silver-three: #bec1cc;

    --theme-color-success: #31b225;
    --theme-color-warning: #ddbb5b;
    --theme-color-error: #c72626;

    /** Sample layers */
    --theme-color-layer0: #010508;
    --theme-color-layer1: #397d92;
    --theme-color-layer2: #d94032;
    --theme-color-layer3: #faa97a;
    --theme-color-layer4: #f2c8a2;
    --theme-color-layer5: #d3eaf0;
    --theme-color-layer6: #84a31f;
    --theme-color-layer7: #d5e5a1;
    --theme-color-layer8: #a30e09;
    --theme-color-layer9: #f0c6c5;

    --theme-application-card-background: linear-gradient(
        140deg,
        rgba(0, 111, 111, 0) 0%,
        rgb(0, 111, 111) 100%
    );
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background: transparent;
}
::-webkit-scrollbar * {
    background: transparent;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #397d9255;
    border: var(--theme-color-white) 1px solid;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: "Roboto";
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.25px;
    color: var(--theme-color-black-oso);
    background-image: linear-gradient(
        140deg,
        var(--theme-color-white) 50%,
        rgb(243, 243, 246) 80%,
        rgb(245, 246, 247) 100%
    );

    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        box-sizing: border-box;
    }
}

h1 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-family: "Inria Sans";
    font-weight: bold;
}

h2 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-family: "Roboto";
    font-weight: bold;
}

h3 {
    margin: 0;
    font-weight: normal;
    font-size: 13px;
}

nav {
    width: 100%;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    height: 88px;
    color: var(--theme-color-white);
}

nav.with-background {
    background: url(/assets/images/backgrounds/landing.svg),
        linear-gradient(
            230deg,
            #306b7d 0%,
            #103b56 60%,
            var(--theme-color-blue-oso) 100%
        );
    background-size: cover;
    background-position: right;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

nav > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--theme-color-white);
}
#logo > img {
    width: 100%;
    height: 100%;
}

#oso {
    font-size: 18px;
    font-weight: bold;
    font-family: "Fira Sans";
}

#oso > div:last-child {
    font-size: 14px;
    font-weight: normal;
}

#menu {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

#menu > * {
    color: var(--theme-color-white);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.13em;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-children {
    display: none;
    position: absolute;
    min-width: 160px;
    padding-top: 8px;
    z-index: 1;
}

.dropdown:hover .dropdown-children {
    display: block;
}

#menu > * > img {
    width: 13px;
    height: 13px;
    margin-left: 6px;
    float: right;
}

#menu > a::after {
    transition: all 0.1s ease-in;
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 0px;
    background-color: var(--theme-color-white);
}

#menu > a:hover::after {
    width: 25px;
}

#menu .card {
    background-color: var(--theme-color-blue-oso);
    padding: 0;
    gap: 8px;
    padding: 4px 0;
}

#menu .card a {
    padding: 6px 12px;
}

#menu .card a:hover {
    background-color: var(--theme-color-blue-oso-duck);
}

a {
    color: var(--theme-color-white);
    font-size: 12px;
    text-decoration: none;
    position: relative;
}
a:hover {
    font-weight: bold;
}

footer {
    padding: 8px 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--theme-color-black);
}

footer a {
    color: var(--theme-color-black);
}

button {
    outline: none;
    border: none;
    height: 32px;
    border-radius: 16px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 13px;
    font-family: "Roboto";
    cursor: pointer;
}

button:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
        rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.button-red {
    background-color: var(--theme-color-red-oso);
    color: var(--theme-color-white);
}

.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-radius: 8px;
    color: var(--theme-color-black);
    height: fit-content;
    transition: height 0.2s ease-in;
    flex-shrink: 0;
    position: relative;
    padding: 24px;
}

.card-depth {
    position: relative;
    transform-style: preserve-3d;
}

.card-depth > .card {
    transform: rotateX(47deg) rotateY(0deg) rotateZ(40deg);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 2px solid var(--theme-color-white);
    z-index: 2;
    padding: 0;
}

.card-depth > .card:last-child {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 5px;
    left: 0;
    background-color: var(--theme-color-silver);
    border: 1px solid var(--theme-color-steel);
    z-index: 1;
    box-shadow: inset rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Main */
#main {
    height: 100vh;
    color: var(--theme-color-white);
    background: url(/assets/images/backgrounds/landing.svg),
        linear-gradient(
            230deg,
            #306b7d 0%,
            #103b56 60%,
            var(--theme-color-blue-oso) 100%
        );
    background-size: cover;
    background-position: right;
    display: flex;
    flex-direction: column;
}

/* Landing */
#landing {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
    padding: 0 48px 88px 48px;
    gap: 48px;
}

#main-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    font-family: "Inria Sans";
    width: 40%;
    height: 80%;
}

#main-title > div:nth-child(2) {
    font-size: 44px;
    line-height: 46px;
}

#main-title > div:nth-child(3) {
    margin-top: 12px;
    font-size: 16px;
    font-family: "Roboto";
    font-weight: lighter;
}

#main-title-buttons {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

#main-screenshots {
    position: relative;
    width: 55%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
}

#main-screenshots > .card {
    box-shadow: rgba(17, 17, 26, 0.2) 0px 4px 16px,
        rgba(17, 17, 26, 0.2) 0px 8px 24px, rgba(17, 17, 26, 0.2) 0px 16px 56px;
    padding: 0;
    border: 2px solid var(--theme-color-light-grey);
}

#main-screenshots > .card:first-child {
    width: 100%;
}

#main-screenshots > .card:last-child {
    position: absolute;
    right: 0;
    top: 50%;
    width: 30%;
    transform: translate(-40%, -30%);
}

.content {
    padding: 64px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* solution */
#solution {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background-color: var(--theme-color-very-light-grey);
    border: 1px solid var(--theme-color-light-grey);
    border-radius: 16px;
    padding: 36px;
    gap: 24px;
}

#solution > div {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#solution > img {
    width: 55%;
}

#solution .row {
    margin-top: 24px;
    justify-content: space-around;
    align-items: stretch;
    width: 100%;
}

#solution .card {
    align-items: center;
    gap: 12px;
    padding: 12px;
    font-size: 12px;
    font-weight: 450;
    width: 25%;
    flex-grow: 1;
    height: unset;
    text-align: center;
}

#solution .card img {
    width: 48px;
    height: 48px;
}

/* Workflow */
#workflow {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

#workflow > div:first-child {
    text-align: center;
}

#workflow-items {
    padding-top: 24px;
    gap: 18px;
}

#workflow-items > div {
    position: relative;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
}

#workflow-items > div > div:first-child {
    border-bottom: 2px solid var(--theme-color-silver);
    position: absolute;
    top: -30px;
    left: 50%;
    width: 100%;
}

#workflow-items > div:last-child > div:first-child {
    border-bottom: none;
    width: 0;
}

#workflow-items > div > div:first-child::after {
    position: absolute;
    content: "";
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--theme-color-blue-oso);
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
        rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
        rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

#workflow-items h2 {
    text-align: center;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#workflow-items > div:nth-child(2) > div:first-child::after {
    background-color: var(--theme-color-red-oso);
}

#workflow-items > div:nth-child(3) > div:first-child::after {
    background-color: var(--theme-color-purple-oso);
}

#workflow-items > div:nth-child(4) > div:first-child::after {
    background-color: var(--theme-color-green-oso);
}

#workflow-items {
    text-align: justify;
}

.workflow-bullet {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 0 24px 8px 12px;
}

.workflow-bullet > img {
    width: 14px;
    height: 14px;
}

.workflow-bullet > div > div {
    font-weight: bold;
    font-size: 13px;
    text-align: left;
}

/* Applications */
#applications {
    background: linear-gradient(
        40deg,
        var(--theme-color-green-oso-duck) 0%,
        var(--theme-color-green-oso-alt) 40%,
        var(--theme-color-green-oso) 100%
    );
    background-size: cover;
    display: flex;
    flex-direction: column;
    color: var(--theme-color-white);
    gap: 48px;
    padding: 36px 48px;
    position: relative;
}

#applicationss::after {
    content: "";
    position: absolute;
    border-radius: 16px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--theme-color-white);
    background: linear-gradient(
        90deg,
        var(--theme-color-green-oso-duck) 0%,
        var(--theme-color-green-oso-alt) 68%,
        #00494900 100%
    );
}

#applications > div:first-child {
    text-align: center;
}

#applications > div:last-child {
    flex-grow: 1;
    z-index: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#applications > div:last-child > .card {
    background-color: var(--theme-color-green-oso-duck);
    font-family: "Inria Sans";
    font-size: 18px;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--theme-color-white);
    padding: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
    height: 250px;
    text-align: end;
}

#applications > div:last-child > .card:nth-child(1) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/chaussees-mobile.webp);
}

#applications > div:last-child > .card:nth-child(2) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/routiere-mobile.webp);
}

#applications > div:last-child > .card:nth-child(3) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/parking-mobile.webp);
}

#applications > div:last-child > .card:nth-child(4) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/ferroviaire-mobile.webp);
}

#applications > div:last-child > .card:nth-child(5) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/sportif-mobile.webp);
}

#applications > div:last-child > .card:nth-child(6) {
    background: var(--theme-application-card-background),
        url(/assets/images/applications/ouvrages-mobile.webp);
}

#applications-images {
    width: 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 64px 24px 64px 0;
    transform: perspective(400px) rotateY(-40deg);
}

#applications-images > img {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
    width: 30%;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
        rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
        rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

/* Chaussees */
#chaussees-ouvrages {
    border-radius: 16px;
    border: 1px solid var(--theme-color-light-grey);
    overflow: hidden;
}
.chaussees-ouvrages {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-bottom: 1px solid var(--theme-color-light-grey);
    padding: 36px;
    background: radial-gradient(
            circle at 100% 80%,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 10%,
            var(--theme-color-pale-grey) 50%,
            var(--theme-color-pale-grey) 100%
        ),
        url(/assets/images/screenshots/synoptique.png);
    background-size: auto 100%;
    background-position: right;
}

.chaussees-ouvrages:last-child {
    border-bottom: none;
    align-items: flex-end;
    background: radial-gradient(
            circle at 0% 80%,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 10%,
            var(--theme-color-pale-grey) 60%,
            var(--theme-color-pale-grey) 100%
        ),
        url(/assets/images/screenshots/ouvrages.png);
    background-position: left;
}

.chaussees-ouvrages:last-child h2 {
    text-align: end;
}

.chaussees-ouvrages:last-child h1 {
    text-align: end;
}

.chaussees-ouvrages h1 {
    font-size: 28px;
}

.chaussees-ouvrages > div > div {
    display: flex;
    flex-direction: column;
    padding: 36px 0 18px 8px;
    width: 70%;
    gap: 8px;
}

.chaussees-ouvrages > div > div > * {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}

.chaussees-ouvrages:last-child > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chaussees-ouvrages:last-child > div > div > * {
    flex-direction: row-reverse;
    text-align: right;
}

.chaussees-ouvrages > div > div > * > img {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    padding: 6px;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

/* Contact */
#contact {
    background-color: var(--theme-color-dark-blue);
    padding: 36px 48px;
    color: var(--theme-color-white);
    display: flex;
    flex-direction: row;
    gap: 24px;
}

#contact > div:first-child {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 300px;
    height: fit-content;
    position: relative;
    border-left: 4px solid var(--theme-color-white);
    padding-left: 12px;
}

#contact > div:first-child > h1 {
    margin: 0;
}

#contact form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 24px;
}

#contact form button {
    align-self: flex-end;
}

#contact .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#contact .form-group > label {
    font-weight: bold;
    padding-left: 12px;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 12px;
    transition: all 0.3s ease-in-out;
    background-color: var(--theme-color-very-light-grey);
    width: 100%;
    outline: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

textarea {
    min-height: 100px;
    padding: 12px;
}

input,
select {
    height: 32px;
}

@media (max-width: 900px) {
    #oso {
        display: none;
    }

    #landing {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #landing > * {
        width: 100%;
    }

    .content {
        padding: 0;
    }

    #solution {
        border-radius: 0;
        border-left: none;
        border-right: none;
        flex-direction: column;
    }

    #applications > div:last-child > .card {
        min-width: 200px;
    }

    #solution-breakpoint {
        gap: 36px;
    }

    #workflow {
        gap: 24px;
    }

    #workflow-items {
        flex-direction: column;
        padding-bottom: 48px;
        padding-right: 24px;
    }

    #workflow-items > div {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        height: fit-content;
    }

    #workflow-items > div > div:first-child {
        width: 40px;
        flex-shrink: 0;
        position: absolute;
        top: 23px;
        left: 0;
        border-bottom: none;
    }

    #workflow-items > div:last-child > div:first-child {
        width: 40px;
        height: 0;
    }

    #workflow-items > div > h2 {
        width: 30%;
        flex-shrink: 0;
        justify-content: flex-start;
        padding-left: 30px;
        text-align: left;
    }

    #workflow-items .workflow-bullets {
        flex-grow: 1;
    }
}

@media (max-width: 500px) {
    nav {
        padding: 12px;
        height: auto;
    }

    #menu {
        gap: 10px;
        font-size: 12px;
    }

    #landing {
        padding: 24px;
        justify-content: center;
        gap: 64px;
    }

    #main-screenshots {
        height: unset;
        padding: 12px;
    }

    #main-title {
        height: unset;
    }

    #main-title > div:nth-child(1) {
        font-size: 16px;
    }
    #main-title > div:nth-child(2) {
        font-size: 24px;
        line-height: 28px;
    }

    #solution {
        padding: 48px 24px;
    }

    #solution > img {
        width: 100%;
    }

    #workflow > div:first-child {
        padding: 0 12px;
    }

    #workflow-items {
        padding-right: 12px;
    }

    #applications {
        padding: 48px 24px;
        gap: 24px;
    }

    #applications > div:first-child {
        text-align: justify;
    }

    #applications h1 {
        text-align: center;
        margin-bottom: 18px;
    }

    #applications > div:last-child > .card {
        min-width: 40%;
        width: 40%;
        height: 75px;
    }

    .chaussees-ouvrages {
        padding: 24px 12px;
    }

    .chaussees-ouvrages h1 {
        font-size: 24px;
    }
    .chaussees-ouvrages > div > div {
        width: 100%;
        background-color: #f8f8fa70;
    }

    #contact {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
}
