/* ==========================================================
   FONTS
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Playfair+Display+SC:wght@400;700&display=swap');


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: sticky;

    top: 0;

    z-index: 9000;

    width: 100%;

    padding: 0 40px;

    background: #000000;

    color: #FFFFFF;

    transition:
        box-shadow 0.35s ease,
        background 0.35s ease;
}


/* Ombre quand on scroll */

.site-header.is-scrolled {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}


/* Ligne très légère sous le header */

.site-header::after {
    content: "";

    position: absolute;

    left: 40px;
    right: 40px;
    bottom: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(226, 164, 177, 0.25) 20%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(226, 164, 177, 0.25) 80%,
        transparent 100%
    );
}


/* ==========================================================
   HEADER INNER
========================================================== */

.header-inner {
    max-width: 1600px;

    min-height: 110px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 220px 1fr 220px;

    align-items: center;

    gap: 45px;
}


/* ==========================================================
   LOGO
========================================================== */

.header-logo {
    display: flex;

    align-items: center;

    width: 200px;

    text-decoration: none;
}


.header-logo img {
    display: block;

    width: 200px;

    height: auto;

    object-fit: contain;

    transition:
        transform 0.4s cubic-bezier(.2, .7, .2, 1),
        opacity 0.3s ease;
}


.header-logo:hover img {
    transform: translateX(4px);
}


/* ==========================================================
   NAVIGATION DESKTOP
========================================================== */

.header-nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: clamp(22px, 2vw, 42px);
}


.header-nav a {
    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 42px 0;

    font-family: "DM Sans", sans-serif;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0.025em;

    white-space: nowrap;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* Ligne rose sous le lien */

.header-nav a::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: 28px;

    width: 0;

    height: 1px;

    background: #E2A4B1;

    transform: translateX(-50%);

    transition:
        width 0.35s cubic-bezier(.2, .7, .2, 1);
}


.header-nav a:hover {
    color: #FFFFFF;

    transform: translateY(-2px);
}


.header-nav a:hover::after {
    width: 100%;
}


/* ==========================================================
   CTA HEADER
========================================================== */

.header-cta {
    position: relative;

    justify-self: end;

    display: inline-flex;

    align-items: center;

    gap: 17px;

    padding: 7px 7px 7px 21px;

    overflow: hidden;

    border: 1px solid rgba(226, 164, 177, 0.7);

    border-radius: 100px;

    color: #FFFFFF;

    text-decoration: none;

    isolation: isolate;

    transition:
        color 0.4s ease,
        border-color 0.4s ease;
}


.header-cta::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background: #E2A4B1;

    transform: translateX(-101%);

    transition:
        transform 0.5s cubic-bezier(.77, 0, .18, 1);
}


.header-cta-text {
    font-family: "Libre Baskerville", serif;

    font-size: 12px;

    font-style: italic;

    white-space: nowrap;
}


.header-cta-icon {
    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #E2A4B1;

    color: #000000;

    font-family: "DM Sans", sans-serif;

    font-size: 18px;

    transition:
        transform 0.45s cubic-bezier(.2, .7, .2, 1),
        background 0.35s ease,
        color 0.35s ease;
}


.header-cta:hover {
    color: #000000;

    border-color: #E2A4B1;
}


.header-cta:hover::before {
    transform: translateX(0);
}


.header-cta:hover .header-cta-icon {
    background: #000000;

    color: #FFFFFF;

    transform: rotate(45deg);
}


/* ==========================================================
   BURGER
========================================================== */

.header-burger {
    display: none;

    width: 46px;

    height: 46px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 50%;

    background: #000000;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}


.header-burger span {
    display: block;

    width: 18px;

    height: 1px;

    background: #FFFFFF;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.header-burger:hover {
    border-color: #E2A4B1;
}


.header-burger:hover span {
    background: #E2A4B1;
}


/* ==========================================================
   FULLSCREEN MENU
========================================================== */

.fullscreen-menu {
    position: fixed;

    inset: 0;

    z-index: 9999;

    width: 100%;

    height: 100vh;
    height: 100dvh;

    padding: 0 25px 30px;

    display: flex;

    flex-direction: column;

    background: #000000;

    color: #FFFFFF;

    visibility: hidden;

    opacity: 0;

    transform: translateY(-100%);

    transition:
        transform 0.7s cubic-bezier(.77, 0, .18, 1),
        opacity 0.4s ease,
        visibility 0.7s;
}


.fullscreen-menu.is-open {
    visibility: visible;

    opacity: 1;

    transform: translateY(0);
}


/* ==========================================================
   FULLSCREEN HEADER
========================================================== */

.fullscreen-menu-header {
    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-shrink: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


.fullscreen-logo {
    display: flex;

    align-items: center;
}


.fullscreen-logo img {
    display: block;

    width: 175px;

    height: auto;
}


/* ==========================================================
   BOUTON FERMETURE
========================================================== */

.fullscreen-close {
    position: relative;

    width: 46px;

    height: 46px;

    padding: 0;

    border: 1px solid rgba(226, 164, 177, 0.6);

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}


.fullscreen-close span {
    position: absolute;

    top: 50%;

    left: 50%;

    width: 18px;

    height: 1px;

    background: #FFFFFF;
}


.fullscreen-close span:first-child {
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


.fullscreen-close span:last-child {
    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}


.fullscreen-close:hover {
    background: #E2A4B1;

    border-color: #E2A4B1;
}


.fullscreen-close:hover span {
    background: #000000;
}


/* ==========================================================
   FULLSCREEN NAV
========================================================== */

.fullscreen-nav {
    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    padding: 30px 0;
}


.fullscreen-nav a {
    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 15px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    color: #FFFFFF;

    text-decoration: none;

    opacity: 0;

    transform: translateY(30px);

    transition:
        color 0.3s ease,
        padding-left 0.4s cubic-bezier(.2, .7, .2, 1),
        opacity 0.5s ease,
        transform 0.5s ease;
}


.fullscreen-nav a > span:last-child {
    font-family: "Playfair Display SC", serif;

    font-size: clamp(27px, 5vw, 55px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.02em;
}


.menu-number {
    width: 25px;

    flex-shrink: 0;

    font-family: "DM Sans", sans-serif;

    color: #E2A4B1;

    font-size: 9px;

    letter-spacing: 0.1em;
}


.fullscreen-nav a:hover {
    padding-left: 15px;

    color: #E2A4B1;
}


/* ==========================================================
   ANIMATION MENU
========================================================== */

.fullscreen-menu.is-open .fullscreen-nav a {
    opacity: 1;

    transform: translateY(0);
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(1) {
    transition-delay: 0.18s;
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(2) {
    transition-delay: 0.23s;
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(3) {
    transition-delay: 0.28s;
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(4) {
    transition-delay: 0.33s;
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(5) {
    transition-delay: 0.38s;
}


.fullscreen-menu.is-open .fullscreen-nav a:nth-child(6) {
    transition-delay: 0.43s;
}


/* ==========================================================
   BAS DU FULLSCREEN
========================================================== */

.fullscreen-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.fullscreen-bottom p {
    font-family: "Libre Baskerville", serif;

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;

    font-style: italic;
}


.fullscreen-contact {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 8px 8px 8px 22px;

    border: 1px solid #E2A4B1;

    border-radius: 100px;

    font-family: "Libre Baskerville", serif;

    color: #FFFFFF;

    font-size: 11px;

    font-style: italic;

    text-decoration: none;
}


.fullscreen-contact span {
    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #E2A4B1;

    color: #000000;

    font-family: "DM Sans", sans-serif;

    font-size: 17px;
}


/* ==========================================================
   BODY MENU OUVERT
========================================================== */

body.menu-open {
    overflow: hidden;
}


/* ==========================================================
   DESKTOP INTERMÉDIAIRE
========================================================== */

@media (max-width: 1350px) {

    .header-inner {
        grid-template-columns: 200px 1fr auto;

        gap: 30px;
    }


    .header-nav {
        gap: 20px;
    }


    .header-nav a {
        font-size: 13px;
    }


    .header-cta-text {
        display: none;
    }


    .header-cta {
        padding: 6px;

        border: none;
    }

}


/* ==========================================================
   FULLSCREEN CACHÉ SUR DESKTOP
========================================================== */

@media (min-width: 1051px) {

    .fullscreen-menu {
        display: none;
    }

}


/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 1050px) {

    .site-header {
        padding: 0 25px;
    }


    .site-header::after {
        left: 25px;

        right: 25px;
    }


    .header-inner {
        min-height: 88px;

        display: flex;

        align-items: center;

        justify-content: space-between;
    }


    .header-nav,
    .header-cta {
        display: none;
    }


    .header-burger {
        display: flex;
    }


    /*
     * Le logo descend légèrement en taille
     * uniquement à partir de la tablette.
     */

    .header-logo,
    .header-logo img {
        width: 175px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 550px) {

    .site-header {
        padding: 0 18px;
    }


    .site-header::after {
        left: 18px;

        right: 18px;
    }


    .header-inner {
        min-height: 78px;
    }


    .header-logo,
    .header-logo img {
        width: 150px;
    }


    .header-burger {
        width: 43px;

        height: 43px;
    }


    .header-burger span {
        width: 17px;
    }


    /* FULLSCREEN */

    .fullscreen-menu {
        padding: 0 18px 22px;
    }


    .fullscreen-menu-header {
        min-height: 78px;
    }


    .fullscreen-logo img {
        width: 150px;
    }


    .fullscreen-close {
        width: 43px;

        height: 43px;
    }


    .fullscreen-nav {
        padding: 20px 0;
    }


    .fullscreen-nav a {
        gap: 15px;

        padding: 12px 0;
    }


    .fullscreen-nav a > span:last-child {
        font-size: clamp(25px, 8vw, 38px);
    }


    .fullscreen-bottom p {
        display: none;
    }


    .fullscreen-contact {
        width: 100%;

        justify-content: space-between;
    }

}