/* Page Galerie (palette propre à cette page, comme dans la maquette). */

:root {
	--g-ink: oklch(0.26 0.05 272);
	--g-ink2: oklch(0.45 0.04 272);
	--g-night: oklch(0.24 0.06 272);
	--g-cream: oklch(0.96 0.02 82);
	--g-bg: oklch(0.965 0.02 82);
	--g-gold: oklch(0.8 0.145 76);
	--g-rust: oklch(0.58 0.15 38);
	--g-tile: oklch(0.925 0.035 78);
	--ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
.galerie-page { margin: 0; min-height: 100vh; background: var(--g-bg); color: var(--g-ink); font-family: 'Work Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.galerie-page a { color: oklch(0.5 0.14 36); }
.galerie-page a:hover { color: var(--g-ink); }
.galerie-page ::selection { background: var(--g-gold); color: var(--g-ink); }
.galerie-page button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--g-rust); outline-offset: 3px; }

.g-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(20px, 4vw, 48px); }
.g-logo { display: block; height: clamp(48px, 5.4vw, 64px); width: auto; }
.g-header__btns { display: flex; align-items: center; gap: 8px; }
.g-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.galerie-page .g-btn--line { border: 1px solid oklch(0.26 0.05 272 / .25); color: inherit; }
.galerie-page .g-btn--line:hover { border-color: var(--g-ink); color: inherit; }
.galerie-page .g-btn--gold { background: var(--g-gold); color: var(--g-ink); }
.g-btn--lb { border: 1px solid oklch(1 0 0 / .3); background: transparent; color: var(--g-cream); }
.g-btn--lb:hover { background: var(--g-cream); color: var(--g-ink); }

.g-intro { padding: clamp(48px, 8vw, 110px) clamp(20px, 4vw, 48px) 0; }
.g-wrap { max-width: 1440px; margin: 0 auto; }
.g-intro__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.g-chip { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 9px; border-radius: 999px; border: 1px solid oklch(0.26 0.05 272 / .22); font-size: 14px; font-weight: 500; }
.g-chip span { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--g-gold); }
.g-intro h1 { margin: 22px 0 0; font-family: 'Outfit', sans-serif; font-weight: 300; font-size: clamp(52px, 9vw, 150px); line-height: .92; letter-spacing: -.05em; }
.g-intro h1 .accent { font-style: normal; color: var(--g-rust); font-weight: 400; }
.g-intro__text { margin: 0; max-width: 400px; font-size: 16.5px; line-height: 1.7; color: var(--g-ink2); text-wrap: pretty; }
.g-filters { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 5vw, 64px); padding: 14px 0; background: oklch(0.965 0.02 82 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.g-filters button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid oklch(0.26 0.05 272 / .22); background: transparent; color: var(--g-ink); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color .35s, color .35s, border-color .35s; }
.g-filters button span { font-family: 'Outfit', sans-serif; font-size: 13px; opacity: .7; }
.g-filters button[aria-selected="true"] { background: var(--g-night); border-color: var(--g-night); color: var(--g-cream); }

.g-grid-sec { padding: 20px clamp(12px, 3vw, 48px) clamp(100px, 12vw, 160px); }
.g-grid { max-width: 1440px; margin: 0 auto; columns: 3 300px; column-gap: 12px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: clamp(16px, 2vw, 26px); overflow: hidden; background: var(--g-tile); cursor: zoom-in; break-inside: avoid; }
.g-item img { display: block; width: 100%; height: auto; object-fit: cover; transition: scale 1.2s var(--ease); }
.g-item:hover img { scale: 1.05; }
.g-item__cat { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: oklch(0.965 0.02 82 / .92); color: var(--g-ink); font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); }
.g-outro { max-width: 1440px; margin: 48px auto 0; text-align: center; font-size: 15px; color: var(--g-ink2); }
.g-outro a { font-weight: 600; }

.g-lb { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: oklch(0.18 0.05 272 / .96); color: var(--g-cream); }
.g-lb__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 500; }
.g-lb__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(12px, 8vw, 110px); }
.g-lb__stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: clamp(12px, 1.6vw, 22px); }
.g-lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid oklch(1 0 0 / .3); background: oklch(0.18 0.05 272 / .5); color: var(--g-cream); font-size: 20px; cursor: pointer; transition: background-color .3s, color .3s; }
.g-lb__nav:hover { background: var(--g-cream); color: var(--g-ink); }
.g-lb__nav--prev { left: clamp(8px, 2vw, 32px); }
.g-lb__nav--next { right: clamp(8px, 2vw, 32px); }
.g-lb__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; padding: 20px 24px 28px; text-align: center; }
.g-lb__cap [data-lb-cap] { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; }
.g-lb__cap [data-lb-cat] { font-size: 13.5px; font-weight: 500; color: var(--g-gold); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
