/* Header forêt : conserver la photo présente, sans écran blanc opaque. */
.site-header {
  color: #fff;
  background: rgba(18, 46, 31, .16);
  border-bottom-color: rgba(255, 255, 255, .2);
  box-shadow: 0 8px 28px rgba(8, 22, 14, .12);
  backdrop-filter: blur(7px);
}

.site-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(7, 18, 11, .55));
}

.menu-toggle {
  color: #fff;
  background: rgba(20, 57, 37, .82);
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 8px 22px rgba(9, 25, 16, .22);
  text-shadow: 0 1px 5px rgba(5, 15, 9, .45);
}

.menu-toggle:hover {
  color: #fff;
  background: rgba(28, 72, 47, .94);
}

#navigation a {
  color: #fff;
  text-shadow: 0 1px 7px rgba(6, 16, 10, .45);
}

#navigation a span {
  color: #fff;
  opacity: .82;
}

.hero-media {
  inset: 0;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 27, 20, .62) 0%, rgba(83, 42, 30, .38) 30%, rgba(118, 55, 38, .12) 58%, transparent 78%),
    linear-gradient(0deg, rgba(18, 30, 22, .58) 0%, rgba(18, 30, 22, .12) 42%, transparent 66%);
}

.hero::after {
  background: rgba(169, 67, 45, .12);
  box-shadow: 0 0 72px 28px rgba(169, 67, 45, .14);
}

.hero-media img {
  filter: saturate(1.06) contrast(1.14) brightness(.9);
}

.hero-shade {
  background: linear-gradient(180deg, rgba(16, 24, 17, .08), transparent 48%, rgba(13, 24, 17, .32));
}

.hero-copy {
  color: #f7efdc;
  text-shadow: 0 2px 14px rgba(5, 13, 8, .7);
}

.hero h1 {
  line-height: .76;
  letter-spacing: -.035em;
  text-shadow: 0 3px 20px rgba(4, 11, 7, .72);
}

.hero h1 span {
  color: #d66b4d;
}

.hero-action {
  border-color: currentColor;
}

@media (max-width: 959px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(34, 27, 20, .58) 0%, rgba(82, 43, 31, .34) 38%, rgba(107, 50, 36, .08) 70%, transparent 92%),
      linear-gradient(0deg, rgba(17, 29, 21, .52) 0%, rgba(17, 29, 21, .08) 48%, transparent 68%);
  }

  .hero-media {
    inset: 0;
  }
}

/* Téléphones Galaxy et autres écrans mobiles utilisés en faible hauteur. */
@media (max-width: 959px) and (max-height: 650px) {
  .hero {
    height: auto;
    min-height: 740px;
  }

  .hero-copy {
    align-self: start;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 190px;
  }

  .hero h1 {
    margin-top: .55rem;
    font-size: clamp(4rem, 19vw, 5.8rem);
  }

  .hero-intro {
    margin-top: 1.35rem;
    font-size: 1.12rem;
    line-height: 1.3;
  }

  .hero-action {
    margin-top: .2rem;
  }

  .sound-line {
    bottom: 112px;
  }

  .next-date {
    bottom: .7rem;
    min-height: 94px;
  }
}

/* Galerie régulière : carrés complets, sans recadrage des photographies. */
.photo-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: start;
  gap: .8rem;
}

.photo-strip button,
.photo-strip button:nth-child(2n),
.photo-strip button:nth-child(3n),
.photo-strip button.is-featured {
  grid-row: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1.15rem !important;
  background: #172219;
  box-shadow: 0 10px 28px rgba(4, 12, 7, .2);
  transform: none;
}

.lightbox {
  width: min(94vw, 760px);
  max-width: none;
  padding: 3.2rem 2.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1.35rem;
  background: #172219;
}

.lightbox figure {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.lightbox figcaption {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: .65rem;
  text-align: center;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(23, 34, 25, .86);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev { left: .35rem; }
.lightbox-next { right: .35rem; }

.lightbox-counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  z-index: 3;
  padding: .35rem .65rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(9, 18, 11, .7);
  color: #fff;
  font: 600 .68rem Manrope, sans-serif;
  letter-spacing: .08em;
  transform: translateX(-50%);
}

@media (max-width: 540px) {
  .lightbox {
    width: 100vw;
    padding: 3.2rem 2.6rem .8rem;
    border-radius: 0;
  }
}

.photo-strip img,
.photo-strip button:nth-child(1) img,
.photo-strip button:nth-child(2) img,
.photo-strip button:nth-child(3) img,
.photo-strip button:nth-child(4) img {
  object-fit: cover;
  object-position: center;
}

.photo-strip button:hover img,
.photo-strip button:focus-visible img {
  transform: scale(1.035);
  opacity: 1;
}

@media (min-width: 720px) {
  .photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
