
:root {

    /* Couleurs */
    --color-white: #fff;
    --color-black: #1A1B1D;
    --color-grey: #C0C0C0;

    --color-primary: #D9B898;
    --color-secondary: #004F64;
    --color-third:#BB8E6E;

}

/******************/
/** Styles Reset **/
/******************/

* {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Bodoni", serif;
    font-weight: 200;
    font-style: normal;
}

ul, ol {
    list-style: none;
    padding-left: 0;
}

button {
    background: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn {
    display: inline-flex;
    gap: 8px;

    text-decoration: none;
    font-weight: 400;
    padding: 14px 20px;
    font-size: 23px;
    text-align: center;
    transition: ease-in-out .15s;
    font-style: normal;
    width: 48px;

    overflow: hidden;
}

.btn span:nth-child(1) {
    display: none;
    text-wrap: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn:hover {
    color: var(--color-white);
    width: 150px;
}

.btn:hover span:nth-child(1) {
    display: block;
}

@media all and (max-width: 1024px) {
    .btn {
        font-size: 20px;
    }

    .btn:hover {
        width: 130px;
    }
}

@media all and (max-width: 768px) {
    .btn {
        font-size: 18px;
    }
}

@media all and (max-width: 600px) {
    .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn span:nth-child(1) {
        display: block;
    }

    .btn:hover {
        width: 100%;
    }
}

main ul {
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

main ul li {
    width: 100%;
    padding-left: 30px;
}


:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 25px;
}

@media all and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

@media all and (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

html, body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "wdth" 100;

    /*overflow-x: hidden;*/
    scroll-behavior: smooth;
}

body.no-scroll {
    overflow: hidden;
}

strong {
    font-weight: 500;
}


.h1-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* -------------------- Default section -------------------- */

.section {
}

.section .container {
}

.section .section__header {
    margin: 0 0 50px 0;
}

.section .section__title {
    font-size: 50px;
    line-height: 1;
}

.section .section__subtitle {
    line-height: 1.4;
}

.section .section__text {
    font-size: 20px;
    line-height: 1.4;
}

.section .section__text p:not(:first-child) {
    margin-top: 20px;
}

.section .section__text a {
    color: var(--color-black);
    text-decoration: none;
}

.section .section__text a:hover {
    text-decoration: underline;
}

.section .section__content {
}

.section .section__footer {
    margin: 40px 0 0 0;
}

.section .section__image {
    max-width: 100%;
}

.section .section__image img {
    max-width: 100%;
}

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

    .section .section__header {
        margin: 0 0 40px 0;
    }
    .section .section__title {
        font-size: 32px;
    }

    .section .section__subtitle {
        font-size: 20px;
    }

    .section .section__text {
        font-size: 16px;
    }

    .section .section__text p br {
        display: none;
    }

    ul li br {
        display: none;
    }
    .section .section__text p:not(:first-child) {
        margin-top: 10px;
    }
}

@media all and (max-width: 768px) {
    .section .section__header {
        margin: 0 0 30px 0;
    }
    .section .section__title {
        font-size: 28px;
    }

    .section .section__subtitle {
        font-size: 18px;
    }
}

/* -------------------- page-header -------------------- */
.navigation {
    padding: 30px 0;

    position: fixed;
    top:0;
    left:0;
    width: 100%;
    background: var(--color-white);
    z-index: 999;

    transition: linear .15s;
}

.navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation .block--logo {
    max-width: 120px;
    display: block;
}

.navigation .block--logo img {
    max-width: 100%;
}

.navigation .block__list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation .block__list a {
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 18px;
    padding: 0 15px;
}

.navigation .block__list li:not(.why).active a {
    font-weight: 500;
}
.navigation .block__list a:hover {
    text-decoration: underline;
}

.navigation .block__list li:not(:last-child) {
    border-right: 2px solid var(--color-primary);
}

.navigation .block__list li:first-child a {
    padding-left: 0;
}

.navigation .block__list li:last-child a {
    padding-right: 0;
}

.navigation .block__networks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.navigation .block__networks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.navigation .block__networks .social {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: linear .15s;
}

.navigation .block__networks .social svg {
}

.navigation .block__networks .social svg * {
    fill: var(--color-primary);
}

.navigation .block__networks .social--facebook svg {
    width: 18px;
}

.navigation .block__networks .social--instagram svg {
    width: 21px;
}

.navigation .block__networks .social--linkedin svg {
    width: 19px;
}

.navigation .block__networks .social:hover {
    background: var(--color-primary);
}

.navigation .block__networks .social:hover svg * {
    fill: var(--color-white);
}

.navigation .btn--menu {
    display: none;
}

.navigation.is-scrolling {
    padding: 10px 0;
}
.navigation.is-scrolling .block--logo img{
    max-height: 70px;
}

@media all and (max-width: 1254px) {
    .navigation .block--logo {
        max-width: 110px;
    }

    .navigation .block__list a {
        font-size: 16px;
        padding: 0 13px;
    }

    .navigation .block__networks .social {
        width: 26px;
        height: 26px;
    }

    .navigation .block__networks .social--facebook svg {
        width: 16px;
    }

    .navigation .block__networks .social--instagram svg {
        width: 19px;
    }

    .navigation .block__networks .social--linkedin svg {
        width: 17px;
    }
}

@media all and (max-width: 1154px) {
    .navigation .block--logo {
        max-width: 90px;
    }

    .navigation .block__list a {
        font-size: 16px;
        padding: 0 10px;
    }

    .navigation .block__networks {
        gap: 5px;
    }


    .navigation .block__networks {
        display: none;
    }
}

@media all and (max-width: 1024px) {
    .page {
        margin-top: 80px;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9000;
        background: var(--color-white);
        transition: ease-in-out .25s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        padding: 0;
        height: 80px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navigation .block__list {
        display: none;
    }

    .navigation .row--top {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
    }

    .navigation .block--logo img {
        max-height: 50px;
    }

    .navigation .row--bottom {
        display: none;
    }

    .navigation .btn--menu {
        width: 40px;
        height: 40px;
        background: 0 0;
        padding: 0;
        cursor: pointer;
        border: none;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        flex-direction: row;
    }

    .navigation .btn--menu .bar {
        width: 100%;
        height: 3px;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--color-secondary);
        border-radius: 3px;
        transition: linear .15s;
    }

    .navigation .btn--menu .bar:nth-child(2) {
        top: 9px;
    }

    .navigation .btn--menu .bar:nth-child(3) {
        top: 18px;
    }

    .navigation .btn--menu .btn__title {
        font-size: 10px;
        text-transform: uppercase;
        width: 100%;
        text-align: center;
        line-height: 1.5;
        font-weight: 400;
        color: var(--color-secondary);
        display: block;
    }
}


/* -------------------- Modal Navigation -------------------- */


.modal--menu {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: 90px 1fr;
    background: var(--color-white);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
}

.modal--menu.is-open {
    z-index: 9999;
    opacity: 1;
    pointer-events: initial;
    visibility: visible;
    transform: translateY(0);
}

/* Supprime les animations pour les utilisateurs qui préfèrent une expérience sans mouvements */
@media (prefers-reduced-motion: reduce) {
    .modal--menu,
    .modal--menu.is-open {
        transition: none;
        transform: none;
    }
}

/* Modal Header */

.modal--menu .modal__header {
    width: 100%;
}

.modal--menu .modal__header .modal__logo {
    display: block;
}

.modal--menu .modal__header .modal__logo img {
}

.modal--menu .modal__header .row--top .block--responsive {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.modal--menu .modal__header .btn--close {
    width: 40px;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: row;
    background: none;
    padding: 0;
    cursor: pointer;
    border: none;
}

.modal--menu .modal__header .btn--close .bar {
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    transition: linear .15s;
}

.modal--menu .modal__header .btn--close .bar:nth-child(1) {
    transform: translate(0%, 12px) rotate(45deg);
}

.modal--menu .modal__header .btn--close .bar:nth-child(2) {
    transform: translate(0%, 12px) rotate(-45deg);
}

.modal--menu .modal__header .btn--close .btn__title {
    width: 100%;
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-secondary);
}

.modal--menu .modal__header .btn--close:hover .bar {
    background: var(--color-primary);
}

/* Content of the modal */

.modal--menu .modal__content {
    width: 100%;
    padding: calc(90px + 50px) 0 50px 0;
    overflow-y: auto;
    height: 100vh;
}

.modal--menu .modal__content .modal__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px 0;
    flex-shrink: 0;
}

.modal--menu .modal__content .modal__list li {
    width: 100%;
    text-align: center;
    padding-left: 0;
}

.modal--menu .modal__content .modal__list li::before {
    display: none;
}

.modal--menu .modal__content .modal__list li a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.75;
    transition: ease-in-out .15s;
}

.modal--menu .modal__content .modal__list li .btn:hover {
    color: var(--color-white);
}

.modal--menu .modal__content .modal__list li .btn {
    min-width: 250px;
    width: auto;
    text-align: center;
    margin: 8px auto;

    display: inline-block;
    color: var(--color-white);
}


@media all and (max-width: 600px) {
    .modal--menu .modal__content .modal__list li .btn {
        width: calc(100% - 32px);
    }
}


/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
    margin: 32px 0 64px 0;
}

.breadcrumb .container {
}

.breadcrumb .breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 3px;
}

.breadcrumb .breadcrumb__list__item {
    display: inline-flex;
    align-items: center;
    font-size: clamp(10px, 2vw, 12px);
}

.breadcrumb .breadcrumb__list__item:not(:last-child)::after {
    content: '/';
    margin: 0 0 0 3px;
    font-size: clamp(10px, 2vw, 12px);
}

.breadcrumb .breadcrumb__list__link {
    color: var(--color-black);
    text-decoration: none;
    transition: color .15s linear, text-decoration-color .15s linear;
}

.breadcrumb .breadcrumb__list__link:hover,
.breadcrumb .breadcrumb__list__link:focus-visible {
    text-decoration: underline;
    color: var(--color-primary);
}

.breadcrumb .breadcrumb__list__item [aria-current="page"],
.breadcrumb .breadcrumb__list__item[aria-current="page"] span {
}

@media all and (max-width: 1024px) {
    .breadcrumb {
        margin: 16px 0 32px 0;
    }

}


/* -------------------- page-footer -------------------- */
.page-footer {
    padding: 24px 0;
}

.page-footer .container {
    display: flex;
    justify-content: space-between;
}

.page-footer .page-footer__list {
    width: calc(100% - 175px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-footer .page-footer__list a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: linear .15s;
}

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

.page-footer .page-footer__networks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.page-footer .page-footer__networks .social {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2Px solid var(--color-primary);
    border-radius: 50%;
    transition: linear .15s;
}

.page-footer .page-footer__networks .social svg {
}

.page-footer .page-footer__networks .social svg * {
    fill: var(--color-primary);
}

.page-footer .page-footer__networks .social--facebook svg {
    width: 18px;
}

.page-footer .page-footer__networks .social--instagram svg {
    width: 21px;
}

.page-footer .page-footer__networks .social--linkedin svg {
    width: 19px;
}

.page-footer .page-footer__networks .social:hover {
    background: var(--color-primary);
}

.page-footer .page-footer__networks .social:hover svg * {
    fill: var(--color-white);
}

@media all and (max-width: 1024Px) {
    .page-footer .container {
        flex-direction: column;
        gap: 20px;
    }

    .page-footer .page-footer__list {
        flex-direction: column;
        width: 100%;
    }

    .page-footer .page-footer__list a {
        width: 100%;
        text-align: center;
        line-height: 40px;
    }

    .page-footer .page-footer__networks {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-footer .page-footer__networks.social {
        width: 26px;
        height: 26px;
    }

    .page-footer .page-footer__networks .social--facebook svg {
        width: 16px;
    }

    .page-footer .page-footer__networks .social--instagram svg {
        width: 19px;
    }

    .page-footer .page-footer__networks .social--linkedin svg {
        width: 17px;
    }
}

/* -------------------- Section Error404  -------------------- */

.section--error {
    margin-bottom: 200px;
    margin-top:138px
}

.section--error .section__title {
    width: 100%;
    text-align: center;
    color:var(--color-secondary);
}

.section--error .section__text {
    width: 100%;
    text-align: center;
}

.section--error .section__footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section--error .section__footer .btn {
    width: auto;
}
.section--error .section__footer .btn:hover {
    background:var(--color-secondary);
}

@media all and (max-width: 1024px) {
    .section--error  {
        margin-top:80px
    }
    .error404 main {
        padding: 90px 0 0 0;
    }
}
