/* Système D : Outfit, limité au deuxième écran de l'accueil. */
#collections {
  --collections-ink: #24221f;
  --collections-paper: #f5f2ed;
  padding: clamp(7rem, 9vw, 8.5rem) clamp(1.25rem, 4vw, 4rem) 3rem;
  background: var(--collections-paper);
  font-family: "Outfit", Arial, sans-serif;
}

#collections::before { content: none; }

#collections .collections__intro { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

#collections .collections__custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.25rem; }
#collections .collections__custom p { max-width: 64ch; margin: 0; font-size: .95rem; line-height: 1.6; color: #625c54; }
#collections .collections__custom strong { font-weight: 500; color: #24221f; }
#collections .collections__custom a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #24221f; font-size: .95rem; text-underline-offset: .3em; }

#collections .collections__intro h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

#collections .collections__triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  flex: none;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

#collections .collection-panel {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  color: var(--collections-ink);
  transition: none;
}

#collections .collection-panel__artwork {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.3rem;
  overflow: hidden;
  background: #e8e1d6;
  transform: none;
  filter: none;
  transition: none;
}

#collections .collection-panel__artwork::after { content: none; }

#collections .collection-panel__signature {
  position: absolute;
  right: 1rem;
  bottom: .9rem;
  color: #625c54;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .015em;
}


#collections .collection-panel__artwork-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: transform 280ms ease;
}

#collections .collection-panel__content h3 {
  font-family: inherit;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

#collections .collection-panel__content p {
  margin: .4rem 0 0;
  color: #625c54;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

#collections .collection-panel__link:focus-visible {
  outline: 2px solid var(--collections-ink);
  outline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  #collections .collection-panel:has(.collection-panel__link:hover) .collection-panel__artwork-image,
  #collections .collection-panel:has(.collection-panel__link:focus-visible) .collection-panel__artwork-image {
    transform: scale(1.025);
  }
}

@media (max-width: 700px) {
  #collections { padding: 6rem 1.25rem 2.5rem; }
  #collections .collections__triptych { grid-template-columns: 1fr; gap: 2.5rem; }
  #collections .collection-panel__artwork { height: auto; aspect-ratio: 1 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  #collections .collection-panel__artwork-image { transition: none; transform: none !important; }
}
