@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* End CSS reset */

/**
* Custom CSS
*/
/*
* AUTOFILL
*/
input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
    background-color: transparent !important;
}
/*
* GLOBAL
*/
:root {
    --main-blue: #023689;
    --light-blue: #8EA0B2;
    --text-white: #FFF;
    --form-bg: #F4F4F4;
}

strong {
    font-weight: bold;
}
body {
    font-family: 'Public Sans', sans-serif;
    font-size: 18px;
    line-height: 1.25em;
    padding: 20px 20px 0 20px;
    max-width: 1440px;
    margin: auto;
}

a {
    text-decoration: none;
    cursor: pointer;
}

a:not(.btn):hover {
    text-decoration: underline;
}

a.lien {
    text-decoration: underline;
}

section {
    border-radius: 24px;
    padding: 56px;
}

section ul {
    list-style: disc;
    padding-left: 20px;
}

.row {
    margin: 20px 0;
}

.mobile {
    display: none;
}

/*
* SKIP LINK
*/
.skip-btn {
    position: absolute;
    top: -100px;
    left: 0;
    background-color: var(--main-blue);
    color: var(--text-white);
    padding: 10px;
    text-align: center;
    z-index: 1000;
}

.skip-btn:focus {
    top: 0;
}

/*
* TYPOGRAPHY
*/


h1 {
    font-family: "Public Sans", sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 1.15em;
    letter-spacing: 5%;
    padding-bottom: 20px;
}

h2{
    font-size: 72px;
    line-height: 0.9em;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    margin-bottom: 0.3em;
}

h3 {
    font-size: 24px;
    font-family: "Public Sans", sans-serif;
    font-weight: 600;
    line-height: 1.3em;
}

h4,
h5 {
    font-size: 18px;
    line-height: 1.25em;
    font-weight: 700;
    padding-bottom: 10px;
}
h5 {
    text-decoration: underline;
}
p {
    font-size: 18px;
    line-height: 1.25em;
    padding: 20px 0;
}

ul li {
    font-size: 18px;
    line-height: 1.25em;
    padding-bottom: 10px;
}
address {
    font-size: 18px;
    line-height: 1.25em;
}

address p {
    padding: 10px 0;
}

p.message {
    font-style: italic;
}

h4.title-spacing {
    padding-bottom: 30px;
}

/*
* HEADER
*/
header {
    background-image: url("images/hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: fit-content;
    position: relative;
    border-top-right-radius: 26px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
}
header .logo {
    min-width: 200px;
    width: 15%;
    position: absolute;
    top: 0;
    left: 0;
}

header .navbar {
    display: flex;
}
header>div {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

header .content {
    text-align: center;
    color: var(--text-white);
    margin: auto;
    flex-direction: column;
    justify-content: space-between;
    padding: 15vh 0 0 0;
    min-height: 40vh;
    align-items: center;
}

header .content .x-large {
    font-family: "Bebas Neue", sans-serif;
    font-size: 500px;
    line-height: 0.7em;
    letter-spacing: 0.1em;
    animation: show 2s;
    color: var(--text-white);
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
    
}

header .content .next {
    text-align: center;
    color: var(--text-white);
    padding-top: 20px;
}

/*
* NAVIGATION
*/
nav {
    background-color: rgba(255,255,255, 0.8);
    padding: 16px 32px;
    margin-top: 20px;
    margin-right: 20px;
    border-radius: 39px;
    font-size: 16px;
    line-height: 2em;
    height: fit-content;
}

nav ul {
    display: flex;
    width: 100%;
    font-size: 16px;
    line-height: 1em;
}

nav ul li {
    padding: 0 5px;
}

nav ul li a {
    color: var(--main-blue);
    line-height: 1em;
    
}

nav ul li a:hover,
nav ul li a:focus {
    color: #15386D;
    text-decoration: underline;
}

nav .menu-toggle {
    display: none;
}
nav.mobile {
    display: none;
}

nav.mobile ul {
    flex-direction: column;
    gap: 20px;
}

nav.mobile ul li a {
    font-size: 20px;
}

nav.mobile ul li a:after {
    content: unset;
}

nav.mobile.open {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255, 0.9);
    z-index: 1000;
}

/*
* CLASSES DEFINITION
*/
.btn {
    cursor: pointer;
}

.bg-blue {
    background: linear-gradient(#023689, #15386D);
    color: var(--text-white);
}
.bg-blue p {
    padding-bottom: 20px;
}
.bg-blue a {
    color: var(--text-white);
}

.bg-grey a {
    color: var(--main-blue);
}

.bg-blue .btn {
    background-color: #F8F8F8;
    padding: 8px 24px;
    border-radius: 120px;
    font-size: 18px;
    line-height: 1.25em;
    color: var(--main-blue);
    display: block;
    margin-top: 20px;
    width: fit-content;
}

a.btn.btn-small {
    font-size: 16px;
    padding: 8px 22px;
}

.bg-blue .btn:hover {
    background-color: #E8E9EB;
}

.bg-grey {
    background: linear-gradient(#F7F7F7, #E8E9EB);
    color: var(--main-blue);
}

.bg-grey .btn {
    display: inline-flex;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 120px;
    border: 1px solid #1C55B2;
    background: linear-gradient(211deg, #0C4299 18.99%, #15386D 81.89%);
    box-shadow: 0px 7px 6px -4px rgba(21, 56, 109, 0.30);
    color: var(--text-white);
}

.bg-grey .btn:hover {
    background: linear-gradient(211deg, #15386D 18.99%, #133465 81.89%);
    box-shadow: 0px 14px 8px -8px rgba(21, 56, 109, 0.30);
}

.two-col {
    display: flex;
    gap: 20px;
}

/*
* LAYOUT
*/
footer {
    margin-top: 20px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

footer h2,
footer h3,
footer p {
    color: var(--text-white);
}

section .line-over {
    border-top: 1px solid rgba(255,255,255, 0.5);
    padding-top: 20px;
}

.two-col:not(.reverse) section {
    width: 66%;
    height: auto;
}

.two-col:not(.reverse) img {
    width: 33%;
    object-fit: cover;
    border-radius: 26px;
}

.two-col.reverse section {
    width: 40%;
    height: auto;
}

.two-col.reverse img {
    width: 60%;
    object-fit: cover;
    border-radius: 26px;
}

.two-col-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    font-size: 24px;
    line-height: 1.5em;
}

/*
* FOOTER
*/
footer {
    display: flex;
    flex-direction: column;
}

footer svg {
    max-width: 90%;
    margin: auto;
    stroke: var(--text-white);
}

footer svg:hover path{
    fill: var(--text-white);
    animation: fill 1s;
}

@keyframes fill {
    from {
        fill: transparent;
    } 
    to {
        fill: var(--text-white);
    }
}


footer ul {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
}

footer ul li,
footer ul a {
    color: var(--text-white);
    font-size: 15px;
    line-height: 1.5em;
}


/*
* FORM
*/
#contact form div {
    width: 100%;
    padding: 20px 0;
    display: flex;
    gap: 10px;
}

#contact form div.submit {
    justify-content: end;
}

#contact form div span.col-1 {
    width: 100%;
}

#contact form div span.col-2 {
    width: 50%;
}

span.input-wrapper {
    position: relative;
    border: 1px solid var(--text-white);
    border-radius: 14px;
    background-color: var(--form-bg);
    padding: 0 10px;
}

span.input-wrapper label {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 14px;
    line-height: 1.25em;
    color: var(--text-white);
    background: var(--main-blue);
	padding: 0 8px;
    border-radius: 8px;
}

span.input-wrapper input,
span.input-wrapper textarea {
    background: transparent!important;
    border: none;
    color: var(--main-blue);
    padding: 16px 8px;
    border-radius: 16px;
    width: 95%;
}

span.input-wrapper input:focus,
span.input-wrapper textarea:focus {
    outline: none;
}

span.input-wrapper textarea {
    resize: none;
    width: 99%;
    height: 100px;
}

span.input-wrapper:focus-within {
    border: 3px solid var(--text-white);
}

input::placeholder,
textarea::placeholder {
    color: var(--light-blue);
    opacity: 1;
    color: #8EA0B2;
    font-family: "Public Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5em;
}

button.btn {
    background-color: var(--text-white); 
    color: var(--main-blue);
    padding: 10px 20px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
}


/*
* SPECIFICATIONS
*/
#propos p {
    font-size: 24px;
    line-height: 1.5em;
}

#benefice p {
    padding: 10px 0;
}

#contact .info {
    padding: 0 64px 0 0;
}

#contact .confirm {
    display: none;
}
@media (max-width:500px) {
    .desktop {
        display: none;
    }

    section {
        padding: 20px;
    }
    header {
        border-top-right-radius: 26px;
    }
    header .logo {
        min-width: 150px;
    }

    header .content {
        min-height: 56vh;
    }
    header .content .x-large {
        font-size: 140px;
        letter-spacing: 0.05em;
    }
    nav ul{
        display: none;
    }

    h1 {
        font-size: 32px;
    }

    h2{
        font-size: 28px;
    }

    h3 {
        font-size: 18px;
    }
    
    h4 {
        font-size: 16px;
    }
    p {
        font-size: 16px;
    }
    
    ul li {
        font-size: 16px;
    }
    address {
        font-size: 16px;
    }

    .two-col {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        font-size: 16px;
    }
    .two-col-text {
        grid-template-columns: 1fr;
        gap: 10px;
        font-size: 16px;
    }

    .two-col:not(.reverse) img,
    .two-col:not(.reverse) section,
    .two-col.reverse img,
    .two-col.reverse section {
        width: 100%;
        max-width: fit-content;
    }

    footer ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    nav ul li.split,
    footer ul li.split {
        display: none;
    }

    #propos p {
        font-size: 20px;
    }

}

@media (min-width: 500px) and (max-width: 600px) {
    header .content .x-large {
        font-size: 190px;
        letter-spacing: 0.1em;
    }
}


@media (min-width: 600px) and (max-width: 700px) {
    header .content .x-large {
        font-size: 210px;
        letter-spacing: 0.1em;
    }
}

@media (min-width: 700px) and (max-width: 800px) {
    header .content .x-large {
        font-size: 240px;
        letter-spacing: 0.1em;
    }
}

@media (min-width: 800px) and (max-width: 900px) {
    header .content .x-large {
        font-size: 300px;
        letter-spacing: 0.1em;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    header .content .x-large {
        font-size: 360px;
        letter-spacing: 0.1em;
    }
}


@media  (min-width: 500px) and (max-width: 1023px) {
    .desktop {
        display: none;
    }
    
    header .content {
        min-height: 80vh;
    }

    nav ul{
        display: none;
    }

    h1 {
        font-size: 38px;
    }

    h2{
        font-size: 32px;
    }

    h3 {
        font-size: 18px;
    }
    
    h4 {
        font-size: 16px;
    }
    p {
        font-size: 16px;
    }
    
    ul li {
        font-size: 16px;
    }
    address {
        font-size: 16px;
    }

    .two-col {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        font-size: 18px;
    }
    .two-col-text {
        grid-template-columns: 1fr;
        gap: 15px;
        font-size: 18px;
    }

    .two-col:not(.reverse) img,
    .two-col:not(.reverse) section,
    .two-col.reverse img,
    .two-col.reverse section {
        width: 100%;
        max-width: fit-content;
    }
    .two-col:not(.reverse) img,
    .two-col.reverse img {
        align-self: center;
    }

    footer ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    nav ul li.split,
    footer ul li.split {
        display: none;
    }
}

@media (max-width: 1023px) {
    .logo {
        position: absolute;
        top: 0;
        left: 0;
    }
    .mobile {
        display: block;
    }

    nav .menu-toggle {
        display: flex;
        flex-direction: column;
        line-height: 0.3em;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    header .logo {
        min-width: 150px;
        width: 14%;
        max-width: 200px;
        object-fit: contain;
     }

    header .content .x-large {
        letter-spacing: 0.01em;
    }
    nav {
        margin-right: 5px;
        max-width: 735px;
        height: unset;
    }
    nav ul {
        font-size: 13px;
        gap: 3px;
        text-align: center;
    }

    nav ul li a {
        font-size: 13px;
    }

    nav ul li:not(:last-child) a:after {
        content: unset;
    }
    h1 {
        font-size: 48px;
    }

    h2{
        font-size: 72px;
    }

    .two-col {
        gap: 20px;
        font-size: 24px;
    }
    .two-col-text {
        gap: 80px;
        font-size: 24px;
    }

    footer ul {
        gap: 20px;
    }

    nav ul li.split,
    footer ul li.split {
        display: none;
    }
}

@media (min-width: 1280px) and (max-width: 1300px) {

    header .logo {
       min-width: 150px;
       width: 14%;
       max-width: 200px;
        object-fit: contain;
    }
    header .content .x-large {
        letter-spacing: 0.05em;
    }
    nav {
        margin-right: 5px;
        padding: 14px 20px;
    }
}

@media (min-width: 1300px) and (max-width: 1380px) {
    nav ul li.split {
       display: none;
    }
}

nav.mobile .close {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 24px;
    color: var(--main-blue);
}

nav.mobile.open {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 20px 0;
}

nav.mobile.open ul {
    display: block;
    text-align: center;
}

nav.mobile.open ul li {
    padding: 15px 0;
}