/* Façade YouTube (vitrine et aperçu admin) */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.yt-facade__thumb,
.yt-facade__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade__thumb {
  object-fit: cover;
}

.yt-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.yt-facade__play:hover svg,
.yt-facade__play:focus-visible svg {
  transform: scale(1.1);
}

.yt-facade__play svg {
  transition: transform 0.2s ease;
}

.yt-facade__play:focus-visible {
  outline: 3px solid #ffbb27;
  outline-offset: -6px;
}

.yt-facade__fallback {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  background: #ffbb27;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

.yt-facade__note {
  margin: 0.35rem 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: #9a9a9a;
  text-align: left;
}

.yt-facade__note a {
  color: inherit;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .yt-facade__play,
  .yt-facade__play svg {
    transition: none;
  }
}
