
:root {
    --olive: #46502b;
    --dark: #2f381e;
    --paper: #fbf8f2;
    --cream: #f5f0e7;
    --ink: #272b20;
    --muted: #7b766b;
    --line: rgba(64,70,48,.18);
}

* {
    box-sizing: border-box;
}

body.page-galerie-premium {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
}

body.page-galerie-premium a {
    text-decoration: none;
    color: inherit;
}


/* HEADER */

.fdg-header {
    background: rgba(248,244,236,.98);
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.fdg-header-inner {
    width: min(1280px, 94%);
    min-height: 118px;
    margin: auto;

    display: grid;
    grid-template-columns: 310px 1fr 64px;
    align-items: center;
    gap: 30px;
}

.fdg-brand img {
    width: 300px;
    max-height: 112px;
    object-fit: contain;
    display: block;
}

.fdg-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
}

.fdg-nav a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

    padding: 12px 0;

    border-bottom: 1px solid transparent;
}

.fdg-nav a:hover,
.fdg-nav a.active {
    color: var(--olive);
    border-bottom-color: var(--olive);
}

.fdg-cart {
    width: auto !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 22px !important;
}


/* HERO */

.galerie-hero {
    position: relative;

    min-height: 560px;

    background:
        url("img/6376.jpg")
        center 48% / cover no-repeat;
}

.galerie-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(28,34,20,.66),
            rgba(28,34,20,.08)
        );
}

.galerie-hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, 88%);
    margin: auto;

    padding-top: 145px;

    color: white;
}

.galerie-hero-content > p {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .28em;
}

.galerie-hero h1 {
    margin: 18px 0;

    color: white;

    font-size: clamp(58px, 7vw, 92px);
    line-height: .94;

    font-weight: 400;
    letter-spacing: -.045em;
}

.galerie-hero span {
    display: block;

    max-width: 570px;

    font-size: 20px;
    line-height: 1.55;

    color: rgba(255,255,255,.88);
}


/* INTRO */

.galerie-intro {
    max-width: 820px;

    margin: auto;

    text-align: center;

    padding: 90px 24px 55px;
}

.galerie-intro small {
    color: var(--olive);

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .26em;
}

.galerie-intro h2 {
    margin: 15px 0 20px;

    font-size: clamp(40px, 5vw, 62px);

    font-weight: 400;
}

.galerie-intro p {
    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}


/* GALERIE AUTOMATIQUE */

.galerie-grid {
    width: min(1380px, 94%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: 260px;

    gap: 16px;

    padding-bottom: 110px;
}

.galerie-item {
    position: relative;

    margin: 0;

    overflow: hidden;

    cursor: pointer;

    background: #ddd8ce;
}

.galerie-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.galerie-item-tall {
    grid-row: span 2;
}

.galerie-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease,
        filter .5s ease;
}

.galerie-item:hover img {
    transform: scale(1.035);
}

.galerie-item figcaption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 55px 28px 24px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(20,22,14,.75)
        );

    opacity: 0;

    transform: translateY(10px);

    transition: .3s ease;
}

.galerie-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.galerie-item figcaption strong {
    font-size: 22px;
    font-weight: 400;
}


/* GALERIE VIDE */

.galerie-vide {
    grid-column: 1 / -1;

    padding: 80px 30px;

    text-align: center;

    border: 1px dashed var(--line);

    background: var(--cream);
}

.galerie-vide h3 {
    margin-top: 0;

    font-size: 30px;

    font-weight: 400;
}

.galerie-vide p {
    color: var(--muted);
}


/* CTA */

.galerie-cta {
    min-height: 480px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(39,47,25,.92),
            rgba(39,47,25,.55)
        ),
        url("img/04_huile_olive.png")
        center / cover no-repeat;
}

.galerie-cta > div {
    width: min(1180px, 88%);

    margin: auto;

    color: white;
}

.galerie-cta small {
    color: rgba(255,255,255,.65);

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .24em;
}

.galerie-cta h2 {
    margin: 15px 0 20px;

    color: white;

    font-size: clamp(42px, 6vw, 72px);

    font-weight: 400;
    line-height: 1;
}

.galerie-cta p {
    max-width: 550px;

    color: rgba(255,255,255,.8);

    font-size: 17px;
    line-height: 1.65;
}

.galerie-cta a {
    display: inline-block;

    margin-top: 20px;

    padding: 14px 22px;

    border:
        1px solid rgba(255,255,255,.7);

    color: white;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .1em;
}


/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;

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

    background: rgba(17,19,13,.96);
}

.lightbox.ouverte {
    display: flex;
}

.lightbox-inner {
    max-width: min(1200px, 82vw);
    max-height: 86vh;

    text-align: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 76vh;

    object-fit: contain;
}

#lightbox-caption {
    padding-top: 16px;

    color: white;

    font-size: 20px;
}

.lightbox button {
    position: absolute;

    width: auto !important;

    border: 0 !important;

    background: transparent !important;

    color: white !important;

    cursor: pointer;
}

.lightbox-close {
    top: 20px;
    right: 28px;

    font-size: 42px !important;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;

    transform: translateY(-50%);

    font-size: 70px !important;
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}


/* TABLETTE */

@media (max-width: 900px) {

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

        padding: 14px 0;
    }

    .fdg-brand img {
        width: 220px;
    }

    .fdg-nav {
        grid-column: 1 / -1;

        order: 3;

        justify-content: flex-start;

        overflow-x: auto;

        gap: 20px;
    }

    .fdg-nav a {
        white-space: nowrap;
    }

    .galerie-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .fdg-brand img {
        width: 190px;
    }

    .galerie-hero {
        min-height: 500px;
    }

    .galerie-hero-content {
        padding-top: 115px;
    }

    .galerie-hero h1 {
        font-size: 52px;
    }

    .galerie-grid {
        width: 92%;

        grid-template-columns: 1fr;

        grid-auto-rows: 340px;
    }

    .galerie-item-large,
    .galerie-item-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .galerie-item figcaption {
        opacity: 1;

        transform: none;
    }

}
/* ==========================================================
   PAGES LÉGALES PREMIUM
========================================================== */

.page-legale-premium {
    background: var(--fdg-paper);
}

.page-legale-conteneur {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* HERO */

.legal-hero {
    background: var(--fdg-olive-dark);
    padding: 100px 5vw 90px;
}

.legal-hero-inner {
    width: min(1100px, 100%);
    margin: auto;
}

.legal-eyebrow {
    margin: 0 0 18px;

    color: rgba(255,255,255,.58) !important;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .25em;
}

.legal-hero h1 {
    margin: 0;

    color: white !important;

    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;

    font-weight: 400;
    letter-spacing: -.035em;
}

.legal-intro {
    max-width: 650px;

    margin-top: 28px;

    color: rgba(255,255,255,.75) !important;

    font-size: 18px;
    line-height: 1.7;
}


/* CONTENU */

.page-legale-bloc {
    width: min(900px, 90%) !important;
    max-width: 900px !important;

    margin: auto !important;

    padding: 85px 0 120px !important;

    text-align: left !important;
}

.date-mise-a-jour {
    margin-bottom: 26px !important;

    color: var(--fdg-muted) !important;

    font-family: Arial, sans-serif;
    font-size: 13px !important;
    font-style: normal !important;

    letter-spacing: .05em;
}

.separation-legale {
    margin: 0 0 55px !important;

    border: 0 !important;
    border-top: 1px solid var(--fdg-line) !important;
}

.page-legale-bloc h2 {
    margin: 52px 0 18px;

    color: var(--fdg-ink) !important;

    font-size: 28px;

    font-weight: 400;
}

.page-legale-bloc h2:first-of-type {
    margin-top: 0;
}

.page-legale-bloc p {
    margin: 0 0 20px !important;

    color: #69645a !important;

    font-size: 16px !important;
    line-height: 1.85 !important;
}

.page-legale-bloc strong {
    color: var(--fdg-ink);
}

.page-legale-bloc a {
    color: var(--fdg-olive);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ENCADRÉ IMPORTANT */

.legal-alert {
    margin: 35px 0;

    padding: 28px 30px;

    background: var(--fdg-cream);

    border-left: 3px solid var(--fdg-olive);
}

.legal-alert > strong {
    display: block;

    margin-bottom: 8px;

    color: var(--fdg-olive);

    font-family: Arial, sans-serif;
    font-size: 11px;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-alert p {
    margin-bottom: 0 !important;
}


/* CONTACT FINAL */

.legal-contact-box {
    margin-top: 80px;

    padding: 50px;

    background: var(--fdg-cream);

    text-align: center;
}

.legal-contact-box span {
    color: var(--fdg-olive);

    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: .22em;
}

.legal-contact-box h3 {
    margin: 13px 0 15px;

    color: var(--fdg-ink);

    font-size: 34px;
    font-weight: 400;
}

.legal-contact-box p {
    max-width: 520px;

    margin: 0 auto 24px !important;

    text-align: center;
}

.legal-contact-box a {
    display: inline-block;

    padding: 13px 20px;

    border: 1px solid var(--fdg-olive);

    color: var(--fdg-olive);

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .1em;
    text-transform: uppercase;

    text-decoration: none;
}

.legal-contact-box a:hover {
    background: var(--fdg-olive);
    color: white;
}


/* MOBILE */

@media (max-width: 600px) {

    .legal-hero {
        padding: 70px 22px 65px;
    }

    .legal-hero h1 {
        font-size: 48px;
    }

    .legal-intro {
        font-size: 16px;
    }

    .page-legale-bloc {
        width: 88% !important;

        padding: 60px 0 85px !important;
    }

    .page-legale-bloc h2 {
        font-size: 25px;
    }

    .legal-alert {
        padding: 24px 20px;
    }

    .legal-contact-box {
        padding: 38px 22px;
    }

}
