/* ==========================================================
   PAGES INTERNES HÔTÉLIANCE
   ========================================================== */


/* ----------------------------------------------------------
   HERO PAGE
   ---------------------------------------------------------- */

.page-hero {
    background: var(--cream, #f3ead8);
    padding: 150px 0 80px;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 70px;
    align-items: center;
}

.page-hero-content {
    max-width: 760px;
}

.page-hero h1 {
    margin: 18px 0 28px;
    max-width: 850px;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: .98;
}

.page-hero-lead {
    max-width: 720px;
    margin-bottom: 32px;
    font-size: 1.08rem;
    line-height: 1.8;
}

.page-hero-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 2px;
}

.page-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 45, 55, .65),
        transparent 55%
    );
}

.page-hero-signature {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 30px;

    display: flex;
    justify-content: space-between;

    color: #fff;

    font-family: "Space Grotesk", sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* ----------------------------------------------------------
   SOUS-NAVIGATION
   ---------------------------------------------------------- */

:root {
    --main-header-height: 0px;
}

.page-subnav {
    position: sticky;
    top: var(--main-header-height);
    z-index: 70;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(15, 45, 55, .10);
}

.page-subnav-inner {
    min-height: 58px;

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

    gap: 34px;
}

.page-subnav a {
    position: relative;

    color: #0f2d37;
    text-decoration: none;

    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
}

.page-subnav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;

    height: 1px;

    background: #a8b09a;

    transition: right .25s ease;
}

.page-subnav a:hover::after {
    right: 0;
}


/* Décalage des ancres avec les navigations sticky */

#approche,
#intervention,
#performance,
#situations,
#experience-page,
#contact-page {
    scroll-margin-top: calc(
        var(--main-header-height) + 70px
    );
}


/* ----------------------------------------------------------
   CARTES NIVEAUX D'INTERVENTION
   ---------------------------------------------------------- */

.page-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;

    margin-top: 55px;
}

.page-service-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(15, 45, 55, .08);

    box-shadow:
        0 20px 45px rgba(15, 45, 55, .08);
}

.page-service-image {
    height: 230px;

    background-size: cover;
    background-position: center;
}

.page-service-content {
    position: relative;
    padding: 36px 32px 38px;
}

.page-service-number {
    display: block;

    margin-bottom: 18px;

    color: #a8b09a;

    font-family: "Space Grotesk", sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
}

.page-service-content h3 {
    margin: 0 0 15px;

    color: #0f2d37;

    font-size: 1.35rem;
}

.page-service-content p {
    margin: 0;

    line-height: 1.75;
}


/* ----------------------------------------------------------
   PERFORMANCE
   ---------------------------------------------------------- */

.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;

    margin-top: 55px;
}

.performance-card {
    position: relative;
    overflow: hidden;

    min-height: 220px;

    padding: 34px 38px;

    background: rgba(255, 255, 255, .78);

    border: 1px solid rgba(15, 45, 55, .12);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.performance-card::after {
    content: "";

    position: absolute;
    width: 145px;
    height: 145px;

    right: -48px;
    bottom: -55px;

    border-radius: 50%;

    background: rgba(168, 176, 154, .14);
}

.performance-card:hover {
    transform: translateY(-4px);

    background: #fff;

    box-shadow:
        0 18px 40px rgba(15, 45, 55, .08);
}

.performance-icon {
    width: 46px;
    height: 46px;

    margin-bottom: 22px;

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

    color: #78866d;
}

.performance-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.performance-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    color: #0f2d37;

    font-size: 1.25rem;
}

.performance-card p {
    position: relative;
    z-index: 2;

    max-width: 580px;

    margin: 0;

    line-height: 1.7;
}


/* ----------------------------------------------------------
   SITUATIONS
   ---------------------------------------------------------- */

.situations-intro {
    margin-bottom: 30px;
}

.situation-list {
    margin: 32px 0;
}

.situation-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;

    padding: 20px 0;

    border-top: 1px solid rgba(15, 45, 55, .12);
}

.situation-item:last-child {
    border-bottom: 1px solid rgba(15, 45, 55, .12);
}

.situation-item > span {
    padding-top: 4px;

    color: #a8b09a;

    font-family: "Space Grotesk", sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
}

.situation-item h3 {
    margin: 0 0 5px;

    color: #0f2d37;

    font-size: 1.02rem;
}

.situation-item p {
    margin: 0;

    font-size: .93rem;
    line-height: 1.55;
}


/* ----------------------------------------------------------
   EXPÉRIENCE
   ---------------------------------------------------------- */

.page-center-actions {
    justify-content: center;
    margin-top: 42px;
}


/* ----------------------------------------------------------
   CTA FINAL
   ---------------------------------------------------------- */

.page-final-cta {
    padding: 95px 0;

    background: #f3ead8;
}

.page-final-cta-inner {
    max-width: 900px;
}

.page-final-cta h2 {
    max-width: 820px;

    margin: 15px 0 22px;

    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
}

.page-final-cta-inner > p:not(.eyebrow) {
    max-width: 700px;

    margin-bottom: 30px;

    line-height: 1.75;
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1050px) {

    .page-hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .page-service-grid {
        gap: 18px;
    }

    .page-service-content {
        padding: 28px 24px 32px;
    }

}


@media (max-width: 850px) {

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .page-hero-visual {
        min-height: 420px;
    }

    .page-subnav {
        overflow-x: auto;
    }

    .page-subnav-inner {
        justify-content: flex-start;

        width: max-content;
        min-width: 100%;

        padding-left: 22px;
        padding-right: 22px;

        gap: 28px;
    }

    .page-service-grid {
        grid-template-columns: 1fr;
    }

    .page-service-image {
        height: 280px;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .page-hero h1 {
        font-size: 2.6rem;
    }

    .page-hero-visual {
        min-height: 350px;
    }

    .page-hero-signature {
        left: 20px;
        right: 20px;
        bottom: 20px;

        font-size: .65rem;
    }

    .page-service-image {
        height: 210px;
    }

    .performance-card {
        padding: 28px 25px;
    }

}

/* ----------------------------------------------------------
   BOUTON OUTLINE SUR FOND CLAIR
   ---------------------------------------------------------- */

.page-hero .button-outline,
.page-final-cta .button-outline {
    color: #0f2d37;
    border-color: #0f2d37;
    background: transparent;
}

.page-hero .button-outline:hover,
.page-final-cta .button-outline:hover {
    color: #fff;
    background: #0f2d37;
    border-color: #0f2d37;
}

@media (max-width: 850px) {

    .page-subnav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .page-subnav::-webkit-scrollbar {
        display: none;
    }

    .page-subnav-inner {
        display: flex;
        justify-content: flex-start;

        width: max-content;
        min-width: 100%;

        padding: 0 18px;

        gap: 24px;
    }

    .page-subnav a {
        white-space: nowrap;
        flex: 0 0 auto;
    }

}