/* Galerie LUXERIDE — direction éditoriale 2026 */
.gallery-page { background: #f7f5f0; }
.gallery-page .section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

.gallery-hero {
  background-image: url('img/gallery/vieux-lyon-quais-saone.webp');
  background-position: center 58%;
}
.gallery-hero .hero__overlay {
  background: linear-gradient(90deg, rgba(4,5,7,.92) 0%, rgba(4,5,7,.66) 43%, rgba(4,5,7,.12) 78%), linear-gradient(180deg, rgba(4,5,7,.08) 42%, rgba(4,5,7,.68) 100%);
}
.gallery-section-heading__eyebrow {
  margin: 0 0 1rem;
  color: #d9bc78;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.gallery-introduction { background: #f7f5f0; scroll-margin-top: 5rem; }
.gallery-section-heading {
  max-width: 850px;
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
  text-align: center;
}
.gallery-section-heading h2,
.gallery-collection__heading h2,
.gallery-signature__intro h2 {
  margin: 0;
  color: #111214;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.gallery-section-heading > p:last-child {
  max-width: 650px;
  margin: 1.5rem auto 0;
  color: #62636a;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
}

.gallery-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: clamp(.8rem, 1.5vw, 1.25rem);
  min-height: clamp(610px, 67vw, 820px);
}
.gallery-editorial figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #111214;
}
.gallery-editorial__lead { grid-row: 1 / span 2; }
.gallery-editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
}
.gallery-editorial__lead img { object-position: center 58%; }
.gallery-editorial figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4,5,7,.78) 100%);
  pointer-events: none;
}
.gallery-editorial figure:hover img { transform: scale(1.025); filter: saturate(.9); }
.gallery-editorial figcaption {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.25;
}
.gallery-editorial figcaption span {
  display: block;
  margin-bottom: .65rem;
  color: #d9bc78;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gallery-destinations {
  overflow: hidden;
  background: #ece8df;
  scroll-margin-top: 72px;
}

.gallery-section-heading--wide {
  max-width: 930px;
}

.gallery-places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.gallery-page .gallery-place {
  display: flex;
  grid-column: auto;
  flex-direction: column;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: #f8f6f1;
  border: 1px solid rgba(17,18,20,.1);
  border-radius: 2px;
  box-shadow: none;
  cursor: zoom-in;
  transition: border-color 220ms ease, transform 220ms ease;
}

.gallery-page .gallery-place--lead,
.gallery-page .gallery-place--wide { grid-column: auto; grid-row: auto; }

.gallery-page .gallery-place::after {
  display: none;
}

.gallery-page .gallery-place img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(.9) contrast(1.02);
  transition: filter 250ms ease;
}

.gallery-page .gallery-place:hover { border-color: rgba(124,93,31,.38); transform: translateY(-3px); }
.gallery-page .gallery-place:hover img { transform: none; filter: saturate(1); }

.gallery-page .gallery-place figcaption {
  position: static;
  display: block;
  flex: 1 1 auto;
  min-height: 136px;
  padding: 1.1rem 1.15rem 1.25rem;
  color: #16171a;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
}

.gallery-page .gallery-place figcaption span,
.gallery-page .gallery-place figcaption strong,
.gallery-page .gallery-place figcaption small {
  display: block;
}

.gallery-page .gallery-place figcaption span {
  margin-bottom: .55rem;
  color: #806225;
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gallery-page .gallery-place figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 500;
  line-height: 1.12;
}

.gallery-page .gallery-place figcaption small {
  margin-top: .45rem;
  color: #73747a;
  font-size: .66rem;
  letter-spacing: .065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.gallery-places__hint {
  display: none;
  margin: .8rem 0 0;
  color: #777269;
  font-size: .69rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.gallery-places__story {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-top: clamp(2.25rem, 4vw, 3.75rem);
  border-top: 1px solid rgba(17,18,20,.18);
}

.gallery-places__story h3 {
  max-width: 440px;
  margin: 0;
  color: #151619;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.gallery-places__story p {
  margin: 0 0 1.15rem;
  color: #5e5f64;
  line-height: 1.85;
}

.gallery-places__story p:last-child {
  margin-bottom: 0;
}

.gallery-places__story a {
  color: #7c5d1f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(124,93,31,.35);
  text-underline-offset: .2em;
}

.gallery-interiors {
  background: #f7f5f0;
}

.gallery-interiors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.gallery-page .gallery-interior-card:nth-child(3) img,
.gallery-page .gallery-interior-card:nth-child(5) img {
  object-position: center 56%;
}

.gallery-page .gallery-interior-card:nth-child(4) img {
  object-position: center 46%;
}

.gallery-collection { overflow: hidden; background: #f7f5f0; }
.gallery-collection--dark { color: #fff; background: #0b0c0e; }
.gallery-collection__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.gallery-collection__heading > div:first-child { max-width: 760px; }
.gallery-collection__heading h2 { font-size: clamp(2.35rem, 4.7vw, 4.5rem); }
.gallery-collection--dark .gallery-collection__heading h2 { color: #fff; }
.gallery-collection__heading > div:first-child > p:last-child {
  max-width: 610px;
  margin: 1.1rem 0 0;
  color: #6d6e74;
  line-height: 1.7;
}
.gallery-collection--dark .gallery-collection__heading > div:first-child > p:last-child { color: rgba(255,255,255,.58); }
.gallery-collection__controls { display: flex; flex: 0 0 auto; gap: .65rem; }
.gallery-collection__button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  color: #18191c;
  background: transparent;
  border: 1px solid rgba(17,18,20,.25);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.gallery-collection--dark .gallery-collection__button { color: #fff; border-color: rgba(255,255,255,.28); }
.gallery-collection__button:hover:not(:disabled),
.gallery-collection__button:focus-visible { color: #0b0c0e; background: #d9bc78; border-color: #d9bc78; }
.gallery-collection__button:disabled { opacity: .3; cursor: default; }

.gallery-rail {
  display: flex;
  gap: clamp(.9rem, 1.5vw, 1.35rem);
  margin: 0;
  padding: 0 0 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.gallery-rail:focus-visible { outline: 2px solid #c7a457; outline-offset: 8px; }
.gallery-page .gallery-slide {
  flex: 0 0 clamp(320px, 58vw, 740px);
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #17181b;
  border-radius: 0;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.gallery-page .gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4,5,7,.88) 100%);
  pointer-events: none;
}
.gallery-page .gallery-slide img {
  border-radius: 0;
  filter: saturate(.9) contrast(1.03);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter 350ms ease;
}
.gallery-page .gallery-slide:hover img { filter: saturate(1) brightness(.88); transform: scale(1.035); }
.gallery-page .gallery-slide figcaption {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.2rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem 1rem;
  align-items: end;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
}
.gallery-page .gallery-slide figcaption span {
  grid-row: 1 / span 2;
  align-self: stretch;
  padding-right: 1rem;
  color: #d9bc78;
  border-right: 1px solid rgba(255,255,255,.28);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.gallery-page .gallery-slide figcaption strong,
.gallery-page .gallery-slide figcaption small { display: block; }
.gallery-page .gallery-slide figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}
.gallery-page .gallery-slide figcaption small {
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-rail--interiors {
  align-items: stretch;
}

.gallery-page .gallery-rail--interiors .gallery-slide {
  flex-basis: clamp(520px, 54vw, 720px);
  height: clamp(450px, 44vw, 580px);
  aspect-ratio: auto;
}

.gallery-page .gallery-rail--interiors .gallery-slide--portrait {
  flex-basis: clamp(300px, 34vw, 430px);
}
.gallery-collection__hint {
  display: none;
  margin: .55rem 0 0;
  color: #75767c;
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
.gallery-collection--dark .gallery-collection__hint { color: rgba(255,255,255,.45); }

.gallery-signature { color: #fff; background: #151619; }
.gallery-signature__intro {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  align-items: end;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.gallery-signature__intro .gallery-section-heading__eyebrow { margin: 0; }
.gallery-signature__intro h2 { max-width: 760px; color: #fff; font-size: clamp(2.4rem, 4.9vw, 4.6rem); }
.gallery-signature__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-signature__grid article {
  min-height: 285px;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.75rem);
  border-right: 1px solid rgba(255,255,255,.13);
}
.gallery-signature__grid article:first-child { padding-left: 0; }
.gallery-signature__grid article:last-child { padding-right: 0; border-right: 0; }
.gallery-signature__grid article > span { color: #d9bc78; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.gallery-signature__grid h3 {
  max-width: 260px;
  margin: 3.75rem 0 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
}
.gallery-signature__grid p {
  max-width: 285px;
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: .9rem;
  line-height: 1.7;
}
.gallery-signature__note {
  max-width: 720px;
  margin: 0;
  padding-top: 2rem;
  color: rgba(255,255,255,.43);
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .76rem;
  line-height: 1.65;
}
.gallery-page .cta-section {
  color: #151619;
  background: #f3eee5;
}
.gallery-page .cta-section .cta-section__title { color: #151619; }
.gallery-page .cta-section__text { color: #5b5c61; }
.gallery-page .cta-section__note { color: #686963; }
.gallery-page .cta-section__button:not(.cta-section__button--outline) {
  color: #0b0c0e;
  background: #c7a457;
  border: 2px solid #c7a457;
}
.gallery-page .cta-section__button:not(.cta-section__button--outline):hover {
  color: #fff;
  background: #8f6c25;
  border-color: #8f6c25;
}
.gallery-page .cta-section__button--outline {
  color: #6f531c;
  background: transparent;
  border-color: #8f6c25;
}
.gallery-page .cta-section__button--outline:hover {
  color: #fff;
  background: #8f6c25;
}
.gallery-page .lightbox__caption { color: #fff; }

@media (max-width: 800px) {
  .gallery-hero { background-position: 62% center; }
  .gallery-hero .hero__overlay { background: linear-gradient(180deg, rgba(4,5,7,.2) 18%, rgba(4,5,7,.93) 92%); }
  .gallery-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(390px, 62vw) minmax(230px, 36vw);
    min-height: 0;
  }
  .gallery-editorial__lead { grid-column: 1 / -1; grid-row: auto; }
  .gallery-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-page .gallery-place,
  .gallery-page .gallery-place--lead,
  .gallery-page .gallery-place--wide { grid-column: auto; grid-row: auto; }
  .gallery-places__story { grid-template-columns: 1fr; }
  .gallery-interiors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-collection__controls { display: none; }
  .gallery-collection__hint { display: block; }
  .gallery-signature__intro { grid-template-columns: 1fr; }
  .gallery-signature__grid article { min-height: 260px; }
}

@media (max-width: 600px) {
  .gallery-page .section { padding-block: 4.5rem; }
  .gallery-section-heading h2 br { display: none; }
  .gallery-editorial {
    display: flex;
    min-height: 0;
    margin-right: calc(var(--container-padding) * -1);
    padding-right: var(--container-padding);
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .gallery-editorial::-webkit-scrollbar { display: none; }
  .gallery-editorial figure {
    flex: 0 0 min(84vw, 380px);
    min-height: 470px;
    scroll-snap-align: start;
  }
  .gallery-places {
    grid-template-columns: 1fr;
  }
  .gallery-page .gallery-place,
  .gallery-page .gallery-place--lead,
  .gallery-page .gallery-place--wide {
    width: 100%;
    height: auto;
  }
  .gallery-page .gallery-place figcaption { min-height: 0; }
  .gallery-places__story { margin-top: 3.5rem; }
  .gallery-interiors-grid { grid-template-columns: 1fr; }
  .gallery-collection__heading { display: block; }
  .gallery-rail {
    margin-right: calc(var(--container-padding) * -1);
    padding-right: var(--container-padding);
  }
  .gallery-page .gallery-slide,
  .gallery-page .gallery-rail--interiors .gallery-slide,
  .gallery-page .gallery-rail--interiors .gallery-slide--portrait {
    flex-basis: min(84vw, 380px);
    height: 500px;
    aspect-ratio: auto;
  }
  .gallery-signature__grid { grid-template-columns: 1fr; }
  .gallery-signature__grid article,
  .gallery-signature__grid article:first-child,
  .gallery-signature__grid article:last-child {
    min-height: 0;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .gallery-signature__grid article:last-child { border-bottom: 0; }
  .gallery-signature__grid h3 { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-rail { scroll-behavior: auto; }
  .gallery-editorial img,
  .gallery-page .gallery-slide img { transition: none; }
}
