/* =========================================================
   PAGE GALERIE
========================================================= */

#contenu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
   HERO
========================================================= */

.gallery-hero {
    padding: 74px 0 68px;
    background: #10151a;
    color: #fff;
}

.gallery-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    align-items: end;
    gap: 56px;
}

.gallery-hero h1 {
    margin: 10px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: .92;
}

.gallery-hero__inner > p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
}

/* =========================================================
   PAGE
========================================================= */

.gallery-page {
    padding: 72px 0 94px;
    background: #f3efe6;
    color: #10151a;
}

.gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    align-items: end;
    gap: 54px;
    margin-bottom: 40px;
}

.gallery-intro h2 {
    margin: 8px 0 0;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: .97;
}

.gallery-intro__note {
    padding: 20px 22px;
    border-left: 4px solid #d1a437;
    background: rgba(255, 255, 255, .58);
}

.gallery-intro__note strong {
    display: block;
    margin-bottom: 7px;
    color: #8d6a1a;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gallery-intro__note p {
    margin: 0;
    color: #5d6468;
    line-height: 1.65;
}

/* =========================================================
   PHOTOS
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #10151a;
    box-shadow: 0 16px 42px rgba(16, 21, 26, .12);
}

.gallery-card--featured {
    grid-column: 1 / -1;
}

.gallery-card__image {
    height: 380px;
    overflow: hidden;
}

.gallery-card--featured .gallery-card__image {
    height: clamp(400px, 53vw, 610px);
}

.gallery-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform .45s ease,
        filter .45s ease;
}

.gallery-card:hover .gallery-card__image img {
    transform: scale(1.025);
}

.gallery-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 52px 28px 26px;
    color: #fff;
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(9, 13, 16, .88) 70%
        );
}

.gallery-card figcaption span {
    color: #d1a437;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gallery-card figcaption strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}

/* =========================================================
   VIDE
========================================================= */

.gallery-empty {
    padding: 70px 30px;
    border: 1px solid rgba(16, 21, 26, .11);
    border-radius: 18px;
    text-align: center;
    background: #fff;
}

.gallery-empty__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    border-radius: 50%;
    color: #d1a437;
    font-size: 2.6rem;
    background: #10151a;
}

.gallery-empty h2 {
    margin: 8px 0 14px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.gallery-empty > p:not(.section-kicker) {
    margin: 0;
    color: #60666a;
}

/* =========================================================
   INFOS
========================================================= */

.gallery-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.gallery-info article {
    padding: 36px;
    border: 1px solid rgba(16, 21, 26, .1);
    border-radius: 16px;
    background: #fff;
}

.gallery-info__number {
    display: block;
    margin-bottom: 34px;
    color: #b98920;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.gallery-info h3 {
    margin: 0 0 14px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.gallery-info p {
    margin: 0 0 22px;
    color: #60666a;
    line-height: 1.68;
}

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

.gallery-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 42px;
    margin-top: 28px;
    padding: 42px;
    border-radius: 16px;
    background: #10151a;
    color: #fff;
}

.gallery-cta h2 {
    margin: 8px 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.gallery-cta p:not(.section-kicker) {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {
    .gallery-hero__inner,
    .gallery-intro,
    .gallery-info,
    .gallery-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card--featured {
        grid-column: auto;
    }

    .gallery-card__image,
    .gallery-card--featured .gallery-card__image {
        height: 330px;
    }
}

@media (max-width: 560px) {
    .gallery-hero {
        padding: 52px 0;
    }

    .gallery-page {
        padding: 48px 0 64px;
    }

    .gallery-card__image,
    .gallery-card--featured .gallery-card__image {
        height: 260px;
    }

    .gallery-card figcaption {
        padding: 45px 22px 22px;
    }

    .gallery-info article,
    .gallery-cta {
        padding: 28px 24px;
    }
}
