:root {
    --green: #5C900A;
    --blue: #1C94CE;
    --orange: #F49A2D;
    --black: #1E1E1E;
}

* {
    font-family: 'Roboto', sans-serif;
    color: var(--black);
}

html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bg-blue {
    background-color: var(--blue);
}

.bg-green {
    background-color: var(--green);
}

.bg-orange {
    background-color: var(--orange);
}

nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    padding: 10px 0;
    font-size: 12px;
    z-index: 200;
}

nav img {
    height: 50px;
}

.only-desktop {
    display: none;
    color: white;
}


.navbar > .navbar-links-list {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
    list-style: none;
}

.navbar-link {
    display: inline-flex;
    color: white;
    font-weight: 500;
}

@media (min-width: 400px) {
    nav {
        flex-direction: row;
        font-size: 14px;
        justify-content: space-between;
        padding-inline: 20px;
    }

    .navbar > .navbar-links-list {
        width: auto;
        justify-content: end;
        margin-right: 70px;
    }

    .navbar-link {
        margin-right: 30px;
    }
}

.content {
    padding: 12px;
}

section {
    display: flex;
    flex-direction: column;
}


header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 100px;
}

header > div {
    padding: 20px;
    background-image: url('assets/ble.svg');
    background-repeat: no-repeat;
    background-position: right top;
}

header > img {
    width: 100vw;
}

@media (min-width: 400px) {
    section {
        padding: 56px;
    }

    header {
        flex-direction: row;
        margin-top: 60px;
    }

    header .content {
        padding: 56px;
    }

    header > div > img {
        width: 180px;
    }

    header > img {
        width: 30vw;
        object-fit: cover;
    }
}



h1 {
    color: var(--blue);
    font-weight: 900;
    font-size: 36px;
    line-height: 42px;
}

h2, h3 {
    text-transform: uppercase;
    margin: 0;
}

h2 {
    color: white;
}

q {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
}

q::before, q::after {
    content: '';
}



.text-blue {
    color: var(--blue);
}

.text-green {
    color: var(--green);
}

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

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

@media (min-width: 400px) {
    .sm.text-left.text-center {
        text-align: center;
    }
}

.quote-text {
    display: flex;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    color: white;
    max-width: 90vw;
    padding: 40px 12px;
}

@media (min-width: 400px) {
    .quote-text {
        font-size: 26px;
        padding: 20px;
        max-width: 75vw;
    }
}

.text-orange {
    color: var(--orange);
}

.quote-text::before, .quote-text::after {
    content: url('assets/quote-orange.svg');
    position: relative;
}

.quote-text.no-quote::before, .quote-text.no-quote::after {
    content: '';
}

.quote-text::after {
    rotate: 180deg;
    bottom: 0;
}

.quote-block .quote-text::before {
    top: -28px;
    left: 0;
}

.quote-block .quote-text::after {
    bottom: -28px;
}

@media (min-width: 400px) {
    .quote-text::before {
        top: -14px;
        left: -14px;
    }
    
    .quote-text::after {
        top: 50%;
        right: -14px;
    }

    .quote-block .quote-text::before {
        top: -28px;
    }
    .quote-block .quote-text::after {
        bottom: -28px;
    }
}

.quote-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    font-size: 18px;
    gap: 40px;
}

@media (min-width: 400px) {
    .quote-block {
        padding: 60px 50px;
        gap: 40px;
        margin: 0;
    }
}

.button {
    display: flex;
    justify-content: center;
    align-items: center ;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid;
    width: fit-content;
}

.orange-button {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
    font-weight: 700 ;
}

.uppercase {
    text-transform: uppercase;
}

.quote-block > .button {
    margin: auto;
}

.card {
    padding: 20px;
    padding-top: 40px;
    border-radius: 5px;
    box-shadow: 0px 2px 20px 0px #0000001A;
    position: relative;
}

.card > h4 {
    text-align: center;
}

.relative {
    position: relative;
}


.section-title {
    background-image: url('assets/logo-no-text.svg');
    background-repeat: no-repeat;
    background-position: left -170px top -50px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    border-bottom-right-radius: 60px;
    padding: 20px;
    margin-bottom: 56px;
}

@media (min-width: 400px) {
    .section-title {
        width: 380px;
        min-height: 100px;
        position: absolute;
        top: 0;
        left: 0;
        margin-bottom: 0;
    }

    .section-centered-content {
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        max-width: 100vw;
        align-items: center;
        gap: 60px;
    }
}

.section-title h2 {
    width: min-content;
    margin: auto 80px auto auto;
}

.section-title > h3 {
    color: white;
    opacity: 0.5;
}

.experience-grid {
    display: grid;
    width: fit-content;
    margin: auto;
    gap: 20px;
}

section .orange-button {
    margin-bottom: 40px;
}

@media (min-width: 400px) {
    #services .orange-button {
        margin-bottom: 0;
    }
}

#geographic-scope {
    border-top: solid 60px #1C94CE20;
}

#geographic-scope > .section-title {
    top: -60px;
}

.geographic-scope-grid {
    display: grid;
    gap: 20px;
}

.geographic-scope

#corroborators-icon {
    display: flex;
    width: 40px;
    margin: auto;
}

@media (min-width: 400px) {
    .geographic-scope-grid {
        width: fit-content;
        grid-template-columns: repeat(2, 1fr);
    }
    #company-values {
        flex-direction: row;
        padding: 0;
        justify-content: space-between;
    }
    
    #company-values .text {
        margin-top: 80px;
        padding: 100px;
    }

    #company-values img {
        max-width: 35vw;
        object-fit: cover;
    }
}


.text > p {
    margin-bottom: 20px;
}

.text > p:last-of-type {
    margin-bottom: 40px;
}

.timeline li {
    display: grid;
    grid-template-areas: 
        "year title"
        "-  description";
    grid-template-columns: minmax(40px, auto) 1fr;
    column-gap: 8px;
}

@media (min-width: 400px) {
    .timeline {
        width: auto;
    }

    .timeline li {
    column-gap: 20px;
    }
}


.timeline > li .year {
    grid-area: year;
    margin: 0;
    position: relative;
}

.year::before {
    content: url('assets/ble-list.svg');
    position: absolute;
    top: -8px;
    left: -32px;
}

.experience-title {
    grid-area: title;
}

.experience-description {
    grid-area: description;
}

.timeline li:nth-last-child(2) .experience-description:last-of-type {
    grid-area: title;
    margin: 0;
}

.experience-title.text-blue {
    margin-bottom: 0;
}

.experience-description.text-blue {
    margin-top: 8px;
}


#company-values > div {
    max-width: 600px;
    gap: 60px;
}

#company-values > img {
    width: 1/3;
}

#about {
    display: flex;
    flex-direction: column;
}

#about > div:first-child {
    display: flex;
    flex-direction: column;
}

#about div:first-child .section-title {
    height: 180px;
}

#about .director {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
}

#about div:nth-child(2) .section-title {
    background-image: none;
    justify-content: center;
    margin-left: auto;
    padding-right: 20%;
    align-items: start;
    left: auto;
    border-radius: 9999px 0 0 9999px;
}

@media (min-width: 400px) {
    #about > div {
        padding: 56px;
    }

    #about > div:first-child {
        flex-direction: row;
    }

    #about .director {
        padding-left: 300px;
    }

    #about div:first-child .section-title {
        height: 480px;
        width: 300px;
        justify-content: start;
        align-items: end;
        background-position: left 0 bottom 40px;
    }

    #about div:nth-child(2) .section-title {
        background-image: none;
        position: relative;
        justify-content: center;
        margin-bottom: 48px;
        padding-left: 80px;
        align-items: start;
        top: 0;
        right: -120px;
        left: auto;
        border-radius: 9999px 0 0 9999px;
    }
}



.bg-ble {
    background-image: url('assets/ble.svg');
}

#about div:first-child .section-title h2 {
    margin: 32px 80px 0 auto;
    width: fit-content;
}

#about div:first-child .section-title h3 {
    margin: 0px 80px auto auto;
}

#about div:nth-child(2) .section-title h2, #about div:nth-child(2) .section-title h3 {
    width: auto;
    margin: 0;
}



#profile-picture {
    display: flex;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    border: solid 10px;
    border-color: var(--blue); 
}

#contact {
    background-color: #1C94CE20;
}

.medium {
    font-weight: 600;
}

.semibold {
    font-weight: 700;
}

.text-sm {
    font-size: 24px;
}

.text-s {
    font-size: 16px;
}

.card .text-green::before {
    content: url('assets/quote-blue.svg ');
}
.card .text-orange::before {
    content: url('assets/quote-green.svg ')
}
.card .text-blue::before {
    content: url('assets/quote-orange.svg ')
}

.card h4::before {
    position: absolute;
    top: 20px;
    left: calc(50% - 10px);
}

.quote-orange-white.quote-text::after, .quote-orange-white.quote-text::before {
    content: url('assets/quote-orange-white.svg');
    position: relative;
}

.top-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    padding: 8px;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    right: 16px;
    bottom: 10vh;
    max-height: 40px;
    max-width: 40px;
    scroll-behavior: smooth;
}

footer {
    display: flex;
    background-color: var(--black);
    padding: 10px;
    align-items: center;
}

footer a {
    color: white;
    margin: auto;
}

#mentions-legales section :nth-child(2):first-of-type {
    margin-top: 60px;
}

@media (min-width: 960px) {
    #about > div, header .content, section {
        padding: 100px;
    }

    #about div:first-child .director {
        flex-direction: row;
    }

    #about div:first-child .section-title {
        height: 500px;
        justify-content: start;
        align-items: end;
        background-position: left 0 bottom 40px;
    }

    section {
        padding: 100px;
    }

    .timeline {
        width: 60%;
    }

    .quote-block {
        padding: 120px 100px;
        gap: 40px;
        margin: 0;
    }

    .experience-grid {
        grid-template-columns: repeat(3, 400px);
    }

    #about div:nth-child(2) .section-title {
        right: -250px;
    }

    .only-desktop {
        display: block;
    }
}