
.R100-65{  
 max-width: 1000px;
  aspect-ratio: 100 / 65;
}
.R16-9{  
 max-width: 1500px;
  aspect-ratio: 16 / 9;
}
.R130-65{  
 max-width: 1300px;
  aspect-ratio: 130 / 65;
}
.R133-74{  
 max-width: 1330px;
  aspect-ratio: 133 / 74;
}
/* =========================
   VARIABLES GLOBALES
========================= */
:root {
  --slide-duration: 4000ms;
  --fade-duration: 800ms;
  --caption-delay: 600ms;
}
/* =========================
   RESET CIBLÉ
========================= */
figure {
width: 100%;
  margin: 0;
  padding: 0;
}
/* =========================
   CONTENEUR
========================= */
.slideshow {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
	margin: auto;
}
/* =========================
   FIGURE = EXACTEMENT LE CONTENEUR
========================= */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--fade-duration) ease-in-out;
  box-sizing: border-box;
	z-index: 1;
}
.slide.is-active {
  opacity: 1;
  z-index: 1;
}
/* =========================
   IMAGES
========================= */
.images {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around; /* gouttières horizontales */
  align-items: center;
  box-sizing: border-box;
}
.images img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  flex: 1 1 auto;
}
/* =========================
   LÉGENDE
========================= */
figcaption {
  position: absolute;
	width: 95%;
  left: 50%;
  bottom: 1%;
  transform: translate(-50%, 30px);
  opacity: 0;
  transition:
    transform 600ms ease,
    opacity 600ms ease;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 0.4em 1em;
  border-radius: 4px;
  font-size: clamp(0.90rem, 2.5vw, 1.2rem);
  text-align: center;
  pointer-events: none;
	z-index: 2;
}
.slide.is-caption-active figcaption {
  transform: translate(-50%, 0);
  opacity: 1;
}
.controls {
  position: absolute;
  inset: 0;
  z-index: 5;              /* AU-DESSUS des slides */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
	z-index: 5;
}
.slideshow:hover .controls {
  opacity: 1;
  pointer-events: auto;
}
.controls button {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1.2rem;
  padding: 0.5em 0.7em;
  cursor: pointer;
}
.controls button:hover {
  background: rgba(0,0,0,0.8);
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

}
