@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.otf");
}

@font-face {
    font-family: "MontserratSemiBold";
    src: url("../fonts/Montserrat-SemiBold.otf");
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}


body {
    margin: 0;
    background-color: #faf7f3;
}

:root {
    --largeur-site: 1600px;
    --padding-site: 40px;
    --hauteur-header: 79px;
    --beige-separateur: #f4eee9;
}

/*===========================MENU DE NAVIGATION===========================*/

:root {
    --hauteur-header: 88px;
    --largeur-site: 1900px;
    --padding-site: 40px;
    --beige-separateur: #ede5dc;
    --debord-menu: 55px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: var(--hauteur-header);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 max(
        24px,
        calc((100vw - var(--largeur-site)) / 2 - var(--debord-menu))
    );

    background-color: #faf7f3;
    border-bottom: 1px solid var(--beige-separateur);

    box-sizing: border-box;
}

header > a {
    display: flex;
    align-items: center;

    text-decoration: none;
}

header > a img {
    height: 64px;
    width: auto;
    margin-right: 15px;

    display: block;
}

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    display: flex;
    align-items: center;

    list-style: none;
    gap: 78px;

    margin: 0;
    padding: 0;
}

header nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 12px 0;

    color: #0c2033;
    text-decoration: none;

    font-family: "MontserratSemiBold", sans-serif;
    font-size: 15px;
    line-height: 1;

    user-select: none;

    transition: color 0.2s ease;
}

header nav a:hover {
    color: #7a0a0f;
}

header nav a.actif {
    color: #7a0a0f;
}

header nav a.actif::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 3px;

    width: 24px;
    height: 2px;

    background-color: #7a0a0f;
}


/*===========================BANDE CTA #PROMO TS SAUF INDEX===========================*/

.bande-cta-contact {
    width: 100%;
    height: 41px;
    min-height: 41px;

    margin: 0;
    padding: 0;

    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #0c2033;

    border-top: 1px solid #f4eee9;
    border-bottom: 1px solid #f4eee9;

    box-sizing: border-box;
    overflow: hidden;
}

/* Hachures gauche */
.bande-cta-contact::before {
    content: "";

    position: absolute;
    top: 0;
    left: max(0px, calc((100vw - 1600px) / 2 - 80px));

    width: 195px;
    height: 100%;

    background-image: url("../patterns/pattern-hachure-beige.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0.05;
    pointer-events: none;
}

/* Hachures droite */
.bande-cta-contact::after {
    content: "";

    position: absolute;
    top: 0;
    right: max(0px, calc((100vw - 1600px) / 2 - 80px));

    width: 195px;
    height: 100%;

    background-image: url("../patterns/pattern-hachure-beige.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0.1;
    pointer-events: none;
}

.bande-cta-contact-contenu {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1600px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    box-sizing: border-box;
}

.reduction-cta-contact {
    margin: 0;

    color: #faf7f3;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.3px;

    white-space: nowrap;
}

.separateur-cta-contact {
    width: 1px;
    height: 28px;

    display: block;
    flex: 0 0 1px;

    background-color: #b0161d;
}

.texte-cta-contact {
    margin: 0;

    color: #faf7f3;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    white-space: nowrap;
}

.bouton-cta-contact {
    width: 124px;
    height: 30px;

    margin-left: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 0.5px solid #b0161d;
    border-radius: 3px;

    color: #faf7f3;
    text-decoration: none;
    text-transform: uppercase;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 9px;
    letter-spacing: 0.45px;

    box-sizing: border-box;

    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease;
}

.bouton-cta-contact img {
    width: 10px;
    height: auto;

    display: block;

    transition: transform 0.22s ease;
}

.bouton-cta-contact:hover {
    transform: translateY(-1px);

    background-color: rgba(250, 247, 243, 0.08);
    border-color: #faf7f3;
}

.bouton-cta-contact:hover img {
    transform: translateX(4px);
}


/*RESPONSIVE BANDE CTA CONTACT*/

@media screen and (max-width: 900px) {

    .bande-cta-contact {
        height: 51px;
        min-height: 51px;
    }

    .bande-cta-contact-contenu {
        padding: 0 22px;
        gap: 18px;
    }

    .reduction-cta-contact {
        font-size: 24px;
    }

    .separateur-cta-contact {
        height: 25px;
    }

    .texte-cta-contact {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .bouton-cta-contact {
        width: 116px;
        height: 28px;

        margin-left: 0;
        gap: 8px;

        border-width: 0.5px;

        font-size: 8px;
    }

    .bouton-cta-contact img {
        width: 9px;
    }
}


@media screen and (max-width: 650px) {

    .bande-cta-contact {
        height: 48px;
        min-height: 48px;
    }

    .bande-cta-contact::before,
    .bande-cta-contact::after {
        width: 120px;
        opacity: 0.035;
    }

    .bande-cta-contact::before {
        left: -60px;
    }

    .bande-cta-contact::after {
        right: -60px;
    }

    .bande-cta-contact-contenu {
        padding: 0 16px;
        gap: 12px;
    }

    .reduction-cta-contact {
        font-size: 22px;
    }

    .separateur-cta-contact {
        height: 23px;
    }

    .texte-cta-contact {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .bouton-cta-contact {
        width: 104px;
        height: 27px;

        gap: 7px;

        border-width: 0.5px;

        font-size: 7.5px;
    }

    .bouton-cta-contact img {
        width: 8px;
    }
}


@media screen and (max-width: 520px) {

    .bande-cta-contact {
        height: auto;
        min-height: 50px;
        padding: 8px 0;
    }

    .bande-cta-contact-contenu {
        padding: 0 14px;
        gap: 9px;

        display: grid;
        grid-template-columns: auto 1px 1fr auto;
        align-items: center;
    }

    .reduction-cta-contact {
        font-size: 21px;
    }

    .separateur-cta-contact {
        height: 24px;
    }

    .texte-cta-contact {
        min-width: 0;

        font-size: 10px;
        line-height: 1.15;
        letter-spacing: 0.65px;

        white-space: normal;
    }

    .bouton-cta-contact {
        width: 96px;
        height: 26px;

        gap: 6px;

        border-width: 0.5px;

        font-size: 7px;
    }

    .bouton-cta-contact img {
        width: 8px;
    }
}


@media screen and (max-width: 390px) {

    .bande-cta-contact-contenu {
        grid-template-columns: auto 1px 1fr;
    }

    .bouton-cta-contact {
        display: none;
    }

    .reduction-cta-contact {
        font-size: 20px;
    }

    .texte-cta-contact {
        font-size: 9.5px;
        letter-spacing: 0.55px;
    }
}

/*===========================FOOTER / PIED DE PAGE===========================*/

.footer-plono {
    background-color: #0c2033;
    color: #faf7f3;

    padding: 58px 80px 42px;

    box-sizing: border-box;
}

.footer-contenu {
    max-width: var(--largeur-site);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 70px;

    align-items: start;
}

/* Identité gauche */

.footer-identite {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 18px;

    width: fit-content;
    text-decoration: none;
}

.footer-logo img:first-child {
    width: 120px;   /* logo principal */
    height: auto;
    display: block;
}

.footer-logo img:last-child {
    width: 38px;    /* emblème rouge */
    height: auto;
    display: block;
}

/* Réseaux sociaux */

.footer-reseaux {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-reseaux a {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #faf7f3;
    border-radius: 6px;

    text-decoration: none;
    box-sizing: border-box;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.footer-reseaux a:hover {
    transform: translateY(-2px);
    border-color: #b0161d;
    background-color: rgba(250, 247, 243, 0.05);
}

.footer-reseaux img {
    width: 16px;
    height: 16px;

    display: block;
    object-fit: contain;
}


/* Navigation */

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    gap: 28px;
}

.footer-colonne h2 {
    margin: 0 0 20px;

    color: #faf7f3;
    font-family: "MontserratSemiBold", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-colonne ul {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 13px;

    list-style: none;
}

.footer-colonne a {
    color: #faf7f3;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.35;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-colonne a:hover {
    color: #e0b2a6;
}

/* Ligne légale */

.footer-legal {
    max-width: var(--largeur-site);
    margin: 58px auto 0;

    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 55px;

    align-items: center;
}

.footer-legal p {
    margin: 0;

    color: #faf7f3;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.3;
}

.footer-liens-legaux {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 55px;

    max-width: 760px;
    margin: 0 auto;
}

.footer-liens-legaux a {
    color: #faf7f3;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.3;

    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.footer-liens-legaux a:hover {
    color: #e0b2a6;
}

/*-----------RESPONSIVE FOOTER-----------*/

@media screen and (max-width: 1150px) {
    .footer-plono {
        padding: 52px 40px 38px;
    }

    .footer-contenu {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .footer-identite {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 35px;
    }

    .footer-navigation {
        grid-template-columns: repeat(4, minmax(130px, 1fr));
        gap: 38px 32px;
    }

    .footer-legal {
        grid-template-columns: 1fr;
        gap: 26px;

        margin-top: 48px;
    }

    .footer-liens-legaux {
        justify-content: start;
        grid-template-columns: repeat(2, auto);
    }
}

@media screen and (max-width: 700px) {
    .footer-plono {
        padding: 44px 24px 34px;
    }

    .footer-identite {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo img:first-child {
        width: 92px;
    }

    .footer-logo img:last-child {
        width: 42px;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .footer-colonne h2 {
        font-size: 13px;
    }

    .footer-colonne a {
        font-size: 11px;
    }

    .footer-liens-legaux {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media screen and (max-width: 430px) {
    .footer-navigation {
        grid-template-columns: 1fr;
    }
}


/*===========================PAGE TEMPORAIREMENT INDISPONIBLE / PAGE EN TRAVEAUX===========================*/

.page-indisponible {
    min-height: auto;

    padding: 200px 40px 225px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #faf7f3;

    box-sizing: border-box;
}

.contenu-page-indisponible {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    color: #0c2033;

    font-family: "Montserrat", sans-serif;
    text-align: center;
}

.illustration-page-indisponible {
    width: min(100%, 390px);
    height: auto;

    margin: 0 auto 42px;

    display: block;
}

.contenu-page-indisponible h1 {
    max-width: 760px;

    margin: 0 auto 28px;

    position: relative;

    color: #0c2033;

    font-family: "MontserratSemiBold", sans-serif;
    font-size: 38px;
    line-height: 1.25;
}

.contenu-page-indisponible h1::after {
    content: "";

    width: 38px;
    height: 2px;

    position: absolute;
    left: 50%;
    bottom: -14px;

    background-color: #7a0a0f;

    transform: translateX(-50%);
}

.contenu-page-indisponible p {
    max-width: 690px;

    margin: 0 auto 10px;

    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
}

.contenu-page-indisponible .remerciement-page-indisponible {
    margin-top: 20px;

    font-weight: 400;
}


/* Boutons */
.boutons-page-indisponible {
    margin-top: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.boutons-page-indisponible a {
    min-width: 255px;
    height: 48px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    font-family: "MontserratSemiBold", sans-serif;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 4px;

    user-select: none;
    box-sizing: border-box;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease;
}

.boutons-page-indisponible a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(12, 32, 51, 0.08);
}

.boutons-page-indisponible img {
    width: auto;
    height: 19px;
}

.boutons-page-indisponible .bouton-plein {
    background-color: #0c2033;
    border: 2px solid #0c2033;

    color: #faf7f3;
}

.boutons-page-indisponible .bouton-contour {
    background-color: transparent;
    border: 2px solid #7a0a0f;

    color: #7a0a0f;
}

.boutons-page-indisponible .bouton-contour:hover {
    background-color: rgba(237, 229, 220, 0.45);
}


/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 760px) {

    .page-indisponible {
        padding: 60px 22px 75px;
    }

    .illustration-page-indisponible {
        width: min(100%, 315px);

        margin-bottom: 36px;
    }

    .contenu-page-indisponible h1 {
        font-size: 31px;
    }

    .boutons-page-indisponible {
        gap: 18px;
    }

    .bouton-indisponible {
        width: 235px;
    }
}

@media screen and (max-width: 560px) {

    .contenu-page-indisponible h1 {
        font-size: 27px;
    }

    .boutons-page-indisponible {
        flex-direction: column;
    }

    .bouton-indisponible {
        width: 100%;
        max-width: 290px;
    }
}