/* Widget Vidéo YouTube (chargée au clic, sans cookie avant) */

.il-video-w { background: var(--il-jaune); padding-block: clamp(64px, 9vw, 120px) clamp(72px, 11vw, 150px); }
.il-video-w .il-video { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.il-video-w .il-video h3 { font-size: clamp(2rem, 4vw, 3.25rem); }
.il-video-w .il-video p { margin-top: 14px; }
.il-video-w .il-lien { display: inline-block; margin-top: 18px; font-weight: 700; }

.il-video-w .il-lecteur { position: relative; aspect-ratio: 16 / 9; background: var(--il-encre); outline: 2px solid var(--il-encre); }
.il-video-w .il-lecteur button, .il-video-w .il-lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; border-radius: 0; }
.il-video-w .il-lecteur button { cursor: pointer; background: var(--il-encre); }
.il-video-w .il-lecteur button:hover, .il-video-w .il-lecteur button:focus { background: var(--il-encre); }
.il-video-w .il-lecteur button img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s; }
.il-video-w .il-lecteur button:hover img { opacity: 1; }
.il-video-w .il-lecteur .il-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--il-rouge); display: grid; place-items: center;
  transition: scale .3s var(--il-ease);
}
.il-video-w .il-lecteur button:hover .il-play { scale: 1.08; }
.il-video-w .il-lecteur .il-play svg { width: 34px; margin-left: 5px; fill: var(--il-blanc); }
.il-video-w .il-lecteur small { position: absolute; left: 12px; bottom: 10px; color: var(--il-blanc); font-size: .8rem; background: oklch(0 0 0 / .55); padding: 3px 8px; }

@media (max-width: 860px) {
  .il-video-w .il-video { grid-template-columns: 1fr; }
}
