/* Facade YouTube : thumbnail + bouton play, charge l'iframe au clic.
   Evite le rate-limit YouTube (trop d'iframes simultanes sur la page). */

.video-facade {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000 center / cover no-repeat;
  cursor: pointer;
  overflow: hidden;
}

.video-facade .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.video-facade:hover .play-button {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.05);
}

.video-facade .play-button svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.video-facade iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade.is-activated { cursor: default; }
