/* =============================================================================
 * O'GEMME — COUCHE PREMIUM
 * Filigranes, entrées au défilement, parallaxe, micro-interactions.
 *
 * Chargée après style.css : ne modifie ni la grille ni l'ordre des sections,
 * uniquement l'habillage et le mouvement.
 *
 * Règles du jeu
 *   - html.js            : posée par le script d'amorçage (inc/premium.php).
 *                          Aucun contenu n'est masqué sans cette classe.
 *   - html.is-ready      : lance l'entrée du hero.
 *   - .rv / .is-in       : entrée au défilement (posées par premium.js).
 *   - --par              : position de la section dans l'écran (-1 → 1),
 *                          mise à jour au défilement, pilote les parallaxes.
 *
 * Sommaire
 *   0. Police d'ornement + variables      7. Menus / publications
 *                                         8. Événements (coverflow)
 *   2. En-tête                            9. À propos / Burger
 *   3. Hero                              10. Galerie + lightbox + curseur
 *   4. Filigranes                        11. Contact
 *   5. Titres, boutons, entrées          12. Pied de page, 404
 *   6. Avis                              13. Responsive / animations réduites
 * ========================================================================== */

/* ==========================================================================
   0. POLICE D'ORNEMENT + VARIABLES
   Cormorant Garamond italique (SIL OFL, auto-hébergée, 16 Ko) : réservée aux
   filigranes, aux guillemets et aux légendes de la lightbox. Les textes restent
   en Montserrat.
   ========================================================================== */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

:root {
    --color-gold-light: #d9bf8a;
    --color-ink:        #2b251f;

    --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;

    --ease-out:    cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.76, 0, .24, 1);

    /* Grain photographique (bruit SVG) : donne de la matière aux aplats bruns. */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");

    /* Ornement de titre : filet — losange — filet. */
    --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 11'%3E%3Cpath d='M0 5h50v1H0zM82 5h50v1H82z'/%3E%3Cpath fill-rule='evenodd' d='M66 0l5.5 5.5L66 11l-5.5-5.5zM66 2.4l-3.1 3.1L66 8.6l3.1-3.1z'/%3E%3C/svg%3E");

    /* Pomme de pin au trait (motif du logo). */
    --cone: url("../images/filigrane-pomme-de-pin.svg");
}

::selection { background: var(--color-gold); color: #fff; }

/* ==========================================================================
   2. EN-TÊTE
   Effet verre dépoli au défilement, barre de progression dorée, rubrique
   courante soulignée. La hauteur ne change pas (les ancres restent justes).
   ========================================================================== */
.site-header {
    transition: background-color .5s ease, box-shadow .5s ease, border-color .5s ease;
}
.site-header.is-scrolled {
    /* Fond quasi opaque plutôt qu'un flou d'arrière-plan : le flou, recalculé
       à chaque image pendant le défilement, provoquait des saccades. */
    background-color: rgba(231, 222, 209, .97);
    box-shadow: 0 18px 44px -26px rgba(58, 51, 43, .6);
    border-bottom-color: transparent;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled { background-color: rgba(231, 222, 209, .97); }
}

.site-header__progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
    transform-origin: 0 50%;
    transform: scaleX(var(--scroll, 0));
    pointer-events: none;
}

.site-brand__logo img { transition: transform .6s var(--ease-out); }
.site-brand:hover .site-brand__logo img { transform: scale(1.05) rotate(-2deg); }

/* Rubrique en cours de lecture */
.main-nav a.is-current::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.main-nav a::after { transition: transform .5s var(--ease-out); }

/* ==========================================================================
   3. HERO
   Photo en zoom lent + parallaxe, voile et cadre fin, accroche révélée mot
   à mot, repère de défilement.
   ========================================================================== */
.hero {
    background: #5d4f43;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(640px, calc(100vh - 124px), 940px);
    min-height: clamp(640px, calc(100svh - 124px), 940px);
    padding-bottom: 120px;
    --hero-delay: .1s;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    transform: translate3d(0, var(--hy, 0px), 0);
    will-change: transform;
}
.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image, linear-gradient(135deg, #6d5d4e, #857260)) center / cover no-repeat;
    transform: scale(1.05);
}
/* Voile : léger au centre (la terrasse reste lisible), plus dense sur les bords */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(110% 85% at 50% 45%, rgba(40, 34, 28, .02) 0%, rgba(40, 34, 28, .36) 100%),
        linear-gradient(180deg, rgba(40, 34, 28, .26) 0%, rgba(40, 34, 28, .08) 38%, rgba(40, 34, 28, .42) 100%);
}
.hero__frame {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(232, 220, 196, .42);
    pointer-events: none;
}
.hero__content { position: relative; z-index: 1; }

/* Repère de défilement : « On passe à table » au-dessus du trait lumineux,
   mène à la galerie. Le reflet doré traverse le texte puis descend le long
   du trait, dans le même cycle. */
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.hero__scroll-label {
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: .02em;
    padding: 0 .15em .08em;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(100deg,
        rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .88) 38%,
        var(--color-gold-light) 50%,
        rgba(255, 255, 255, .88) 62%, rgba(255, 255, 255, .88) 100%) 0 0 / 260% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 8px rgba(30, 24, 18, .45));
    animation: hero-shimmer 4.8s var(--ease-in-out) infinite;
    transition: letter-spacing .5s var(--ease-out), transform .5s var(--ease-out);
}
/* Petits filets dorés de part et d'autre du texte */
.hero__scroll-label::before,
.hero__scroll-label::after {
    content: "";
    position: absolute;
    top: 55%;
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light));
    opacity: .75;
    transition: width .5s var(--ease-out), opacity .5s ease;
}
.hero__scroll-label::before { right: 100%; margin-right: 8px; }
.hero__scroll-label::after  { left: 100%;  margin-left: 8px; transform: scaleX(-1); }
.hero__scroll-line {
    position: relative;
    width: 1px;
    height: 54px;
    overflow: hidden;
    background: rgba(255, 255, 255, .35);
}
.hero__scroll-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 24px;
    background: linear-gradient(transparent, var(--color-gold-light));
    box-shadow: 0 0 6px var(--color-gold-light);
    animation: hero-scroll 2.4s var(--ease-in-out) infinite;
}
.hero__scroll:hover .hero__scroll-label,
.hero__scroll:focus-visible .hero__scroll-label { letter-spacing: .06em; transform: translateY(-2px); }
.hero__scroll:hover .hero__scroll-label::before,
.hero__scroll:hover .hero__scroll-label::after,
.hero__scroll:focus-visible .hero__scroll-label::before,
.hero__scroll:focus-visible .hero__scroll-label::after { width: 34px; opacity: 1; }
.hero__scroll:focus-visible { outline: 1px solid var(--color-gold-light); outline-offset: 8px; border-radius: 4px; }
@keyframes hero-scroll {
    0%   { transform: translate3d(0, -24px, 0); }
    100% { transform: translate3d(0, 54px, 0); }
}
@keyframes hero-shimmer {
    0%, 35% { background-position: 100% 0; }
    75%, 100% { background-position: 0 0; }
}

/* Place réservée sous le contenu pour « On passe à table » */
.hero { padding-top: 48px; padding-bottom: 138px; }

/* Accroche découpée mot à mot par premium.js */
.hero__tagline .w { display: inline-block; white-space: pre; }

/* --- Entrée orchestrée ---------------------------------------------------
   États masqués uniquement avant .is-ready ; les animations partent de leur
   image « from » (fill backwards) : si les animations sont coupées, tout
   reste visible. */
/* Entrée du hero (3.1) : courte, douce, et lancée DÈS LE PREMIER AFFICHAGE
   (plus d'attente du JavaScript ni de contenu masqué) : tout est en place
   en moins d'une seconde. */
.hero__bg::before { animation: hero-zoom 1.6s var(--ease-out) both; }
.hero__frame   { animation: hero-frame .8s ease .1s both; }
.hero__logo    { animation: hero-logo .7s var(--ease-out) both; }
.hero__tagline { animation: hero-rise .7s var(--ease-out) .12s both; }
.hero__actions { animation: hero-rise .7s var(--ease-out) .24s both; }
.hero__jobs    { animation: hero-rise .7s var(--ease-out) .32s both; }
.hero__scroll  { animation: hero-fade-x .8s ease .5s both; }

@keyframes hero-zoom  { from { transform: scale(1.04); } }
@keyframes hero-frame { from { opacity: 0; transform: scale(1.01); } }
@keyframes hero-logo  { from { opacity: 0; transform: translate3d(0, 6px, 0) scale(.985); } }
@keyframes hero-word  { from { opacity: 0; transform: translate3d(0, .2em, 0); filter: blur(2px); } }
@keyframes hero-rise  { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@keyframes hero-fade  { from { opacity: 0; } }
@keyframes hero-fade-x { from { opacity: 0; transform: translate3d(-50%, 6px, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   4. FILIGRANES
   Grands mots en contour (Cormorant italique) glissés derrière les titres,
   qui dérivent doucement au défilement. Pomme de pin au trait dans les
   sections brunes. Grain sur les aplats foncés.
   ========================================================================== */
.section,
.site-footer,
.error-404 {
    position: relative;
    overflow: hidden;
    overflow: clip;
}
/* Le contenu passe au-dessus des filigranes */
.section > .container,
.section > .coverflow,
.site-footer > .container,
.error-404__inner,
.about-panel__inner { position: relative; z-index: 1; }

.watermark {
    position: absolute;
    left: 50%;
    z-index: 0;
    margin-top: 44px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(104px, 20vw, 310px);
    line-height: .8;
    letter-spacing: -.01em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(133, 114, 96, .34);
    transform: translate3d(calc(-50% + var(--par, 0) * var(--wm-dir, 1) * 2vw), -50%, 0);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, .25) 100%);
    mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, .25) 100%);
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform;
}
@supports not (-webkit-text-stroke: 1px #000) {
    .watermark { color: rgba(133, 114, 96, .1); }
}
.section--taupe .watermark,
.section--contact .watermark,
.about-panel .watermark { -webkit-text-stroke-color: rgba(255, 255, 255, .2); }
.section--burger .watermark { -webkit-text-stroke-color: rgba(111, 95, 80, .26); }

/* Second titre d'une même section (« Événements passés ») : marge du titre comprise */
.watermark--second { margin-top: 108px; }

/* À propos : posé en pied de panneau */
.watermark--about {
    left: 5vw;
    bottom: -.1em;
    margin: 0;
    font-size: clamp(110px, 15vw, 250px);
    transform: translate3d(calc(var(--par, 0) * 1vw), 0, 0);
}
/* Pied de page : signature */
.watermark--footer {
    bottom: -.16em;
    margin: 0;
    font-size: clamp(120px, 25vw, 400px);
    -webkit-text-stroke-color: rgba(79, 69, 57, .17);
    transform: translate3d(calc(-50% + var(--par, 0) * 1.5vw), 0, 0);
    -webkit-mask-image: none;
    mask-image: none;
}
/* 404 */
.watermark--404 {
    top: 50%;
    margin: 0;
    font-size: clamp(140px, 30vw, 460px);
}

/* Matière : grain + halo lumineux sur les sections brunes */
.section--taupe {
    background-image:
        var(--grain),
        radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .13), transparent 70%);
}
.section--contact {
    background-image:
        var(--grain),
        radial-gradient(70% 55% at 85% 0%, rgba(255, 255, 255, .1), transparent 70%);
}
.about-panel {
    background-image:
        var(--grain),
        radial-gradient(80% 60% at 0% 100%, rgba(0, 0, 0, .16), transparent 70%);
}

/* Pomme de pin au trait */
.reviews::after,
.section--contact::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(180px, 22vw, 340px);
    aspect-ratio: 200 / 280;
    background: rgba(255, 255, 255, .1);
    -webkit-mask: var(--cone) center / contain no-repeat;
    mask: var(--cone) center / contain no-repeat;
    pointer-events: none;
}
.reviews::after {
    right: -3%;
    bottom: -8%;
    transform: translate3d(0, calc(var(--par, 0) * -16px), 0) rotate(calc(16deg + var(--par, 0) * 3deg));
}
.section--contact::after {
    left: -4%;
    top: 6%;
    transform: translate3d(0, calc(var(--par, 0) * -18px), 0) rotate(calc(-18deg + var(--par, 0) * -3deg));
}

/* ==========================================================================
   5. TITRES, BOUTONS, ENTRÉES AU DÉFILEMENT
   ========================================================================== */

/* --- Ornement sous les titres ------------------------------------------- */
.section__title::after {
    content: "";
    display: block;
    width: 132px;
    height: 11px;
    margin: 20px auto 0;
    background: var(--color-gold);
    -webkit-mask: var(--ornament) center / contain no-repeat;
    mask: var(--ornament) center / contain no-repeat;
}
.section--taupe .section__title::after,
.section--contact .section__title::after,
.about-title::after { background: var(--color-gold-light); }
.about-title::after { margin-left: 0; }

/* --- Titre révélé derrière un masque (enveloppes posées par premium.js) -- */
.tm {
    display: block;
    overflow: hidden;
    padding: .1em 0 .14em;
    margin: -.1em 0 -.14em;
}
.tm__in { display: block; }
html.js .rv-title .tm__in {
    opacity: 0;
    transform: translate3d(0, 18%, 0);
    transition: opacity .9s ease, transform 1s var(--ease-out);
}
html.js .rv-title::after {
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 1.3s var(--ease-out) .3s;
}
html.js .about-title.rv-title::after { clip-path: inset(0 100% 0 0); }
html.js .rv-title.is-in .tm__in { opacity: 1; transform: none; }
html.js .rv-title.is-in::after { clip-path: inset(0 0 0 0); }

/* --- Entrées génériques --------------------------------------------------
   .rv est posée par premium.js puis retirée une fois l'entrée jouée, pour
   rendre la main aux survols de chaque élément. */
html.js .rv {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition:
        opacity .9s ease var(--rv-d, 0s),
        transform 1s var(--ease-out) var(--rv-d, 0s);
    will-change: opacity, transform;
}
/* Version douce : plus de glissement latéral, simple fondu ascendant. */
html.js .rv--left,
html.js .rv--right { transform: translate3d(0, 12px, 0); }
html.js .rv--scale { transform: scale(.985); }
html.js .rv.is-in  { opacity: 1; transform: none; }
/* Variante photo : l'image, d'abord agrandie, se pose dans son cadre */
html.js .rv--zoom img { transform: scale(1.04); transition: transform 1.4s var(--ease-out) var(--rv-d, 0s); }
html.js .rv--zoom.is-in img { transform: none; }

/* --- Boutons : reflet au survol, léger « aimant » (via --mx / --my) ------ */
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
    transition:
        transform .6s var(--ease-out),
        background-color .35s ease,
        border-color .35s ease,
        box-shadow .5s ease,
        color .35s ease;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .34) 50%, transparent 68%);
    transform: translate3d(-130%, 0, 0);
    transition: transform .9s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translate3d(130%, 0, 0); }
.btn:hover { box-shadow: 0 16px 34px -16px rgba(43, 37, 31, .7); }
.btn .btn__icon,
.btn > svg { transition: transform .6s var(--ease-out); }
.btn:hover .btn__icon,
.btn:hover > svg { transform: rotate(-8deg) scale(1.08); }

/* Bouton du hero : verre dépoli */
.hero .btn {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero .btn--outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .8); }

/* Icônes sociales : anneau qui s'ouvre au survol */
.social-icon {
    position: relative;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
    transition: transform .6s var(--ease-out), background-color .35s ease, color .35s ease;
}
.social-icon::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid var(--color-gold-light);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.78);
    transition: opacity .45s ease, transform .6s var(--ease-out);
}
.social-icon:hover { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }
.social-icon:hover::after,
.social-icon:focus-visible::after { opacity: 1; transform: scale(1); }
.social-icon svg { transition: transform .6s var(--ease-out); }
.social-icon:hover svg { transform: scale(1.12); }
.site-footer__social .social-icon::after { border-color: var(--color-gold-dark); }

/* ==========================================================================
   6. AVIS
   ========================================================================== */
.review-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(var(--color-gold), var(--color-gold)) left top / var(--line, 0%) 2px no-repeat,
        #faf9f7;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
    transition:
        transform .7s var(--ease-out),
        box-shadow .7s var(--ease-out),
        background-size .8s var(--ease-out);
}
/* Guillemet en filigrane */
.review-card::after {
    content: "\201D";
    position: absolute;
    right: 14px;
    bottom: -.52em;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 170px;
    line-height: 1;
    color: rgba(181, 147, 78, .17);
    pointer-events: none;
}
/* Reflet qui suit le pointeur */
.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(181, 147, 78, .2), transparent 70%);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.review-card:hover {
    --lift: -8px;
    --line: 100%;
    box-shadow: 0 30px 54px -24px rgba(0, 0, 0, .55);
}
.review-card:hover::before { opacity: 1; }
.review-card > * { position: relative; }

.review-card__avatar { box-shadow: 0 0 0 2px #faf9f7, 0 0 0 3px rgba(181, 147, 78, .55); }

.reviews__arrow {
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
    transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.reviews__arrow:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); color: var(--color-ink); }

/* Étoiles : reflet qui passe de temps en temps */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .reviews__rating .stars,
    .burger-feature__card .stars {
        background: linear-gradient(100deg, #f5b400 42%, #fff1b8 50%, #f5b400 58%) 100% 0 / 300% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: stars-shine 5.5s ease-in-out 1.2s infinite;
    }
}
@keyframes stars-shine {
    0%, 55% { background-position: 100% 0; }
    100%    { background-position: 0% 0; }
}

/* ==========================================================================
   7. MENUS / PUBLICATIONS
   ========================================================================== */
/* Double cadre : un filet doré décalé derrière la carte */
.embed-card {
    box-shadow:
        var(--shadow),
        14px 14px 0 -1px var(--color-cream-alt),
        14px 14px 0 0 var(--color-gold);
    transition: box-shadow .7s var(--ease-out), transform .7s var(--ease-out);
}
.embed-card:hover {
    transform: translate3d(-3px, -3px, 0);
    box-shadow:
        0 22px 50px -18px rgba(58, 51, 43, .4),
        20px 20px 0 -1px var(--color-cream-alt),
        20px 20px 0 0 var(--color-gold);
}
.embed-card__avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--color-gold); }

/* ==========================================================================
   8. ÉVÉNEMENTS (coverflow)
   ========================================================================== */
/* Ombre portée au sol sous les affiches */
.coverflow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: min(980px, 92%);
    height: 70px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(0, 0, 0, .4), transparent);
    pointer-events: none;
}
.coverflow__item { transition: transform .8s var(--ease-out), opacity .6s ease; }
.coverflow__img,
.coverflow__ph { transition: filter .6s ease, box-shadow .6s ease; }
.coverflow__item[data-active] .coverflow__card {
    box-shadow:
        0 0 0 1px rgba(217, 191, 138, .85),
        0 0 0 9px rgba(217, 191, 138, .12),
        0 40px 70px -12px rgba(0, 0, 0, .7);
}
.coverflow__nav {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .5s var(--ease-out), background-color .35s ease, border-color .35s ease, color .35s ease;
}
.coverflow__nav:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-ink);
}
.ae-empty { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ==========================================================================
   9. À PROPOS / BURGER
   ========================================================================== */
.about-photo { overflow: hidden; }
/* Parallaxe : la photo, légèrement agrandie, glisse dans son cadre */
html.js:not(.reduced-motion) .about-photo img {
    transform: translate3d(0, calc(var(--par, 0) * -14px), 0) scale(1.06);
    will-change: transform;
}
/* Rideau brun qui se retire en découvrant la photo */
html.js .about-photo.rv-curtain::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #6b5b50 var(--grain);
    transition: opacity 1.1s ease;
}
html.js .about-photo.rv-curtain.is-in::after { opacity: 0; }

.about-deco { animation: deco-float 14s ease-in-out infinite; }
@keyframes deco-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50%      { transform: translate3d(0, 5px, 0) rotate(1.5deg); }
}

.burger-deco { transform: translate3d(0, calc(var(--par, 0) * -22px), 0) rotate(calc(var(--par, 0) * 4deg)); }
.burger-feature__photo { transition: transform 1s var(--ease-out); }
.burger-feature:hover .burger-feature__photo { transform: translate3d(0, -4px, 0) rotate(-1deg) scale(1.015); }
.burger-feature__card {
    background-image: var(--grain);
    box-shadow: 0 30px 60px -28px rgba(43, 37, 31, .7);
}

/* ==========================================================================
   10. GALERIE + LIGHTBOX + CURSEUR
   ========================================================================== */
.gallery__item { box-shadow: 0 14px 34px -18px rgba(58, 51, 43, .45); }
.gallery__item img { transition: transform 1.4s var(--ease-out); }
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.09); }

/* Légende : dégradé en pied d'image, texte qui remonte */
.gallery__caption {
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 26px 28px;
    font-size: .95rem;
    letter-spacing: 1.5px;
    background: linear-gradient(to top, rgba(30, 26, 22, .86) 0%, rgba(30, 26, 22, .3) 45%, rgba(30, 26, 22, 0) 75%);
    transition: opacity .6s ease;
}
/* Filet intérieur qui se resserre au survol */
.gallery__item::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 3px;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .6s ease, transform .9s var(--ease-out);
    pointer-events: none;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; transform: none; }

/* --- Lightbox : fondu + image qui se pose -------------------------------- */
.lightbox {
    display: flex;
    opacity: 0;
    visibility: hidden;
    background: rgba(28, 24, 20, .93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity .45s ease, visibility 0s linear .45s;
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility 0s;
}
.lightbox img:not([src]),
.lightbox img[src=""] { visibility: hidden; }
.lightbox img.is-shown { animation: lightbox-in .7s var(--ease-out) both; }
@keyframes lightbox-in {
    from { opacity: 0; transform: scale(.955); }
}
.lightbox__caption {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: .01em;
}
.lightbox__nav,
.lightbox__close { transition: background-color .35s ease, color .35s ease, transform .5s var(--ease-out); }
.lightbox__nav { border: 1px solid rgba(255, 255, 255, .28); }
.lightbox__nav:hover { background: var(--color-gold-light); color: var(--color-ink); }
.lightbox__close:hover { transform: rotate(90deg); color: var(--color-gold-light); }

/* --- Pastille qui suit le pointeur sur les images cliquables ------------- */
.cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 998;
    width: 0;
    height: 0;
    pointer-events: none;
    transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0);
}
.cursor__dot {
    position: absolute;
    left: -46px;
    top: -46px;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(181, 147, 78, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-indent: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(.2);
    transition: transform .5s var(--ease-out), opacity .3s ease;
}
.cursor.is-active .cursor__dot { opacity: 1; transform: none; }

/* ==========================================================================
   11. CONTACT
   ========================================================================== */
.contact-form input,
.contact-form select,
.contact-form textarea,
.ogemme-cf7 input,
.ogemme-cf7 select,
.ogemme-cf7 textarea {
    transition: background-color .4s ease, box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus,
.ogemme-cf7 input:not([type="checkbox"]):not([type="submit"]):focus,
.ogemme-cf7 select:focus,
.ogemme-cf7 textarea:focus {
    background-color: #ebe1d3;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 0 0 2px var(--color-gold-light), 0 18px 30px -18px rgba(0, 0, 0, .6) !important;
}

/* Bouton d'envoi : reflet (fonctionne aussi sur l'<input> de Contact Form 7) */
.contact-form__submit,
.ogemme-cf7 .wpcf7-submit {
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
    background-size: 280% 100%;
    background-position: 130% 0;
    background-repeat: no-repeat;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
    transition:
        background-position 1s var(--ease-out),
        background-color .35s ease,
        box-shadow .5s ease,
        transform .6s var(--ease-out);
}
.contact-form__submit:hover,
.ogemme-cf7 .wpcf7-submit:hover {
    background-color: #e9dfd0;
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
    background-size: 280% 100%;
    background-repeat: no-repeat;
    background-position: -30% 0;
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .65);
}

/* Encart coordonnées : filet intérieur + pomme de pin */
.contact-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .6);
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(154, 125, 63, .4);
    border-radius: 8px;
    pointer-events: none;
}
.contact-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -64px;
    width: 210px;
    aspect-ratio: 200 / 280;
    background: rgba(109, 93, 82, .13);
    -webkit-mask: var(--cone) center / contain no-repeat;
    mask: var(--cone) center / contain no-repeat;
    transform: rotate(-20deg);
    pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card__block a {
    background: linear-gradient(var(--color-gold-dark), var(--color-gold-dark)) left bottom / 0% 1px no-repeat;
    transition: background-size .5s var(--ease-out), color .3s ease;
}
.contact-card__block a:hover { background-size: 100% 1px; text-decoration: none; }
.hours-list__row { transition: padding .45s var(--ease-out), color .3s ease; }
.hours-list__row:not(.is-closed):hover { padding-left: 8px; padding-right: 8px; color: var(--color-ink); }

/* ==========================================================================
   12. PIED DE PAGE, CARTE, 404
   ========================================================================== */
/* Carte : légèrement désaturée pour s'accorder à la palette, pleine couleur au survol */
.site-map iframe {
    filter: grayscale(.4) sepia(.14);
    transition: filter .9s ease;
}
.site-map:hover iframe,
.site-map:focus-within iframe { filter: none; }

.site-footer { padding-bottom: clamp(60px, 9vw, 130px); }
.site-footer__links a {
    background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
    padding-bottom: 3px;
    transition: background-size .5s var(--ease-out), color .3s ease;
}
.site-footer__links a:hover { background-size: 100% 1px; }
.site-footer__credit-logo img { transition: opacity .3s ease, transform .6s var(--ease-out); }
.site-footer__credit-logo:hover img { transform: translate3d(0, -2px, 0); }

.error-404__code {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(120px, 20vw, 210px);
    letter-spacing: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-gold);
}
@supports not (-webkit-text-stroke: 1px #000) {
    .error-404__code { color: var(--color-gold); }
}
.error-404__links a {
    background: linear-gradient(var(--color-gold), var(--color-gold)) left bottom / 0% 1px no-repeat;
    transition: background-size .5s var(--ease-out), color .3s ease;
}
.error-404__links a:hover { background-size: 100% 1px; }

/* ==========================================================================
   13. RESPONSIVE / ANIMATIONS RÉDUITES
   ========================================================================== */
@media (max-width: 1280px) {
    .hero {
        min-height: clamp(600px, calc(100vh - 84px), 860px);
        min-height: clamp(600px, calc(100svh - 84px), 860px);
    }
    /* Menu mobile : les liens se déroulent en cascade */
    .main-nav.is-open li { animation: nav-in .6s var(--ease-out) backwards; }
    .main-nav.is-open li:nth-child(1) { animation-delay: .04s; }
    .main-nav.is-open li:nth-child(2) { animation-delay: .09s; }
    .main-nav.is-open li:nth-child(3) { animation-delay: .14s; }
    .main-nav.is-open li:nth-child(4) { animation-delay: .19s; }
    .main-nav.is-open li:nth-child(5) { animation-delay: .24s; }
    .main-nav.is-open li:nth-child(6) { animation-delay: .29s; }
    .main-nav.is-open li:nth-child(n+7) { animation-delay: .34s; }
    .main-nav a.is-current { color: var(--color-gold-dark); }
}
@keyframes nav-in {
    from { opacity: 0; transform: translate3d(0, 4px, 0); }
}

@media (max-width: 900px) {
    .watermark--about { font-size: clamp(96px, 26vw, 200px); }
    html.js:not(.reduced-motion) .about-photo img {
        transform: translate3d(0, calc(var(--par, 0) * -10px), 0) scale(1.05);
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: clamp(520px, calc(100vh - 84px), 760px);
        min-height: clamp(520px, calc(100svh - 84px), 760px);
        padding-bottom: 118px;
    }
    .hero__frame { inset: 12px; }
    .hero__scroll { bottom: 20px; gap: 9px; }
    .hero__scroll-label { font-size: 1.25rem; }
    .hero__scroll-line { height: 36px; }
    .watermark { margin-top: 30px; font-size: clamp(88px, 27vw, 170px); }
    .watermark--second { margin-top: 94px; }
    .watermark--footer { font-size: clamp(110px, 34vw, 220px); }
    .section__title::after { width: 110px; margin-top: 16px; }
    .embed-card,
    .embed-card:hover {
        box-shadow:
            var(--shadow),
            8px 8px 0 -1px var(--color-cream-alt),
            8px 8px 0 0 var(--color-gold);
    }
    .gallery__caption { padding: 18px 20px; }
    .review-card::after { font-size: 130px; }
    .reviews::after,
    .section--contact::after { opacity: .7; }
}

/* Écrans tactiles : pas d'effets liés au survol */
@media (hover: none) {
    .gallery__item::after { display: none; }
    .review-card:hover { --lift: 0px; }
    .contact-form input:focus,
    .contact-form textarea:focus,
    .ogemme-cf7 input:focus,
    .ogemme-cf7 textarea:focus { transform: none; }
}

/* Réglage système « réduire les animations » : tout est visible, rien ne bouge. */
@media (prefers-reduced-motion: reduce) {
    html.js .rv,
    html.js .rv--zoom img { opacity: 1; transform: none; }
    html.js .rv-title .tm__in { transform: none; }
    html.js .rv-title::after,
    html.js .about-title.rv-title::after { clip-path: none; }
    html.js .about-photo.rv-curtain::after { display: none; }
    .hero__bg::before, .hero__frame, .hero__logo, .hero__tagline,
    .hero__actions, .hero__jobs, .hero__scroll { animation: none !important; }
    .hero__scroll-line::after,
    .hero__scroll-label,
    .about-deco,
    .reviews__rating .stars,
    .burger-feature__card .stars { animation: none; }
    .watermark,
    .watermark--about,
    .watermark--footer,
    .reviews::after,
    .section--contact::after,
    .burger-deco { --par: 0; }
    .cursor { display: none; }
}

/* Impression : pas de décor */
@media print {
    .watermark,
    .cursor,
    .hero__scroll,
    .site-header__progress { display: none !important; }
}
