:root {
    --orange: #ff6e00;
    --noir-titres: #333;
    --noir-textes: #222;
    --footer-fond: #23364e;
    --footer-textes: #eee;
    --box-shadow: 0px 10px 15px rgba(36,55,77,0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}



/* ----------------- .layout-header */

.layout-header {
    display: flex;
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: var(--footer-fond);
    z-index: 3;
    top: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: var(--box-shadow);
}

.layout-header * {
    margin: 0;
    padding: 0;
    font-size: 0;
}

.layout-header.page {   
    transform: translateY(-100px);
    animation-name: show_fixed_header;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show_fixed_header {
    from {
        transform: translateY(-100px);
    }
    to {
        transform: translateY(0px);
    }    
}

.layout-top {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--footer-fond);
}

.layout-top {}

.layout-header .layout-logo {
    position: absolute;
    display: flex;
    top: 10px;
    left: 20px;
    width: 100px;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.layout-header .layout-logo svg {
    width: 100%;
    color: #fff;
}

.layout-header .layout-logo p {
    display: none;
}

.layout-header .layout-navigation {
    display: block;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 30px;
}

.layout-header .layout-navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 4%;    
}

.layout-header .layout-navigation li:nth-child(4),
.layout-header .layout-navigation li:nth-child(5),
.layout-header .layout-navigation li:nth-child(6),
.layout-header .layout-navigation li:nth-child(7),
.layout-header .layout-navigation li:nth-child(8) {
    display: none;
}

.layout-header .layout-navigation li a {
    font-family: 'poppins-semi-bold';
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.layout-header .layout-button {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    z-index: 2;
}

.layout-header .layout-button button {
    background-color: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    outline: none;
}

.layout-header .layout-button button svg {
    width: 100%;
    height: auto;
    color: #fff;
}

.layout-header .layout-button button svg:nth-child(2) {
    display: none;
}

/* ----------------- .layout-header.nav-on */

.layout-header.nav-on {
    overflow-y: auto;
    height: 110vh;
    min-height: 110vh;
    background-color: var(--footer-fond);
    position: fixed;
    transform: initial !important;
}

.layout-header.nav-on .layout-top {
    position: fixed;
    z-index: 2;
    background-color: var(--footer-fond);
}

.layout-header.nav-on .layout-logo {
    width: 100px !important;
}


.layout-header.nav-on .layout-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-header.nav-on .layout-logo p {
    font-family: 'poppins-regular';
    font-size: 12px;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-align: center;
    margin-top: 5px;
    text-wrap: nowrap;
    display: none;
}


.layout-header.nav-on .layout-button button svg:nth-child(1) {
    display: none;
}

.layout-header.nav-on .layout-button button svg:nth-child(2) {
    display: inline-block;
}

.layout-header.nav-on .layout-navigation {
    display: block;
    position: relative;
    left: initial;
    top: initial;
    margin-top: 80px;
    padding-top: 50px;
    padding-bottom: 200px;
    padding-left: 0;
    transform: initial;
}

.layout-header.nav-on .layout-navigation ul {
    flex-direction: column;
    display: flex;
    gap: initial;
    align-items: center;
    animation-name: show_items;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.layout-header.nav-on .layout-navigation li {
    display: inline-block;
}

.layout-header.nav-on li a {
    display: inline-block;
    font-size: 20px;
    padding: 15px 0px;
    color: #fff;
}


@keyframes show_items {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}




/* --------------- .cta-contact */

.cta-contact {
    display: flex;
    flex-direction: column;
}

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

.cta-contact.left {
    align-items: flex-start;
}

.cta-contact.right {
    align-items: flex-end;
}

.cta-contact div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-contact div a {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px 30px;
    padding-right: 30px;
    background-color: var(--orange);
    border-radius: 30px;
    color: #fff;
    font-family: 'poppins-medium';
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1;
    align-items: center;
    outline: none;
    text-align: center;
}

.cta-contact div a svg {
    width: 22px;
    height: auto;
}

.cta-contact div p {
    color: var(--noir-textes);
    font-family: 'poppins-bold';
    font-size: 22px;
    letter-spacing: 0.01em;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.cta-contact div p a {
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--noir-textes);
    font-family: 'poppins-bold';
    font-size: 22px;
    letter-spacing: 0.01em;
    line-height: 1;
    margin: 0;
    padding: 0;
}


/* --------------- .layout-vehicles */

.layout-vehicles {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.layout-vehicles * {
    margin: 0;
    padding: 0;
    font-size: 0;
}

.layout-vehicles .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.layout-vehicles .head p {font-family: 'poppins-light';font-size: 24px;margin-bottom: 0px;color: var(--noir-titres);text-align: center;}

.layout-vehicles .head h2 {
    font-family: 'poppins-bold';
    font-size: 40px;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--noir-titres);
    text-align: center;
}

.layout-vehicles .head div {
    font-family: 'poppins-light';
    font-size: 18px;
    max-width: 600px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 50px;
    color: var(--noir-textes);
    text-align: center;
}

.layout-vehicles .body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.layout-vehicles .vehicle {
    max-width: 350px;
    min-width: 250px;
}

.layout-vehicles .vehicle div:nth-child(1) {
    width: 100%;
    aspect-ratio: 1.4;
    margin-bottom: 0px;
    border-radius: 4px;
    overflow: hidden;
}

.layout-vehicles .vehicle div:nth-child(2) {
    padding-top: 20px;
}

.layout-vehicles .vehicle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.layout-vehicles .vehicle h3 {
    font-family: 'poppins-semi-bold';
    font-size: 20px;
    color: var(--noir-textes);
    line-height: 1;
}

.layout-vehicles .vehicle p {
    font-family: 'poppins-regular';
    font-size: 16px;
    color: var(--noir-textes);
    margin-bottom: 10px;
}

.layout-vehicles .vehicle ul {
    list-style-type: none;
}

.layout-vehicles .vehicle li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 10px;
    line-height: 1;
    align-items: flex-start;
}

.layout-vehicles .vehicle li svg {
    color: var(--noir-textes);
    width: 22px;
    height: auto;
    min-width: 22px;
}

.layout-vehicles .vehicle li span {
    font-family: 'poppins-light';
    font-size: 14px;
    color: var(--noir-textes);
    line-height: 1.3;
    max-width: 250px;
}


@media screen and (max-width:768px) {

    .layout-vehicles .body {
        flex-direction: column;
    }

    .layout-vehicles .vehicle h3 {
        font-size: 25px;
        line-height: 1;
    }
}

/* --------------- .layout-footer */

.layout-footer {
    margin-top: 200px;
}

.layout-footer * {
    margin: 0;
    padding: 0;
}

.layout-footer .content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    padding: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--footer-fond);
}

.layout-footer .content>div:not(.layout-logo) {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
}

.layout-footer .content>div>div {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: space-between;
}

.layout-footer .content>div>div:last-child>div:last-child li {
    margin-bottom: 10px;
}

.layout-footer h3 {
    font-family: 'poppins-medium';
    font-size: 18px;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
}

.layout-footer ul {
    list-style-type: none;
}

.layout-footer li {
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: 'poppins-regular';
    font-size: 14px;
    color: var(--footer-textes);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.layout-footer li.icon {
    margin-bottom: 15px;
}

.layout-footer li.icon svg {
    width: 20px;
    vertical-align: top;
    margin-right: 5px;
    margin-bottom: 10px;
}

.layout-footer li.icon span {
    display: inline-block;
    line-height: 1.2;
}

.layout-footer a {
    padding: 2px 0px;
    font-family: 'poppins-light';
    font-size: 14px;
    color: var(--footer-textes);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
}

.layout-footer a:hover {
    text-decoration: underline;
}

.layout-footer .layout-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-footer .layout-logo p {
    font-family: 'poppins-regular';
    font-size: 10px;
    color: var(--footer-textes);
    line-height: 1;
    margin-top: 10px;
    text-align: center;
}

.layout-footer .layout-logo svg {
    width: 100px;
    color: #fff;
    height: auto;
}

.layout-footer .cta-contact p {
    display: none;
}

.layout-footer .cta-contact a {
    padding: 8px 30px;
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {

    .layout-footer .content>div:not(.layout-logo) {
        display: flex;
        flex-direction: column;
    }

    .layout-footer .content>div>div {
        display: flex;
        justify-content: flex-start;
    }

    .layout-footer .content>div>div>div {
        min-width: 210px;
    }

}

@media screen and (max-width: 781px) {

    .layout-header .layout-navigation {
        display: none;
    }

    .layout-footer .content>div:not(.layout-logo) {
        gap: 40px;
    }

    .layout-footer .content>div>div {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {

    .layout-footer .content {
        flex-direction: column;
        align-items: center;
    }

    .layout-footer .content>div>div>div {
        min-width: initial;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .layout-footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .layout-footer li {
        text-align: center;
    }

    .layout-footer li,
    .layout-footer li a {
        font-size: 16px;
        padding: 4px 0px;
    }

    .layout-footer li svg {
        display: none;
    }

    .layout-footer li .cta-contact svg {
        display: inline-block;
    }

}