  /* Fenêtre vidéo widht 90vw = 90% largeur(responsive)  960px = taille max en pixels   */
  .video-frame {
    position: relative;
    width: min(70vw, 960px);
    aspect-ratio: 16 / 9;
    background-color: var(--panel);
    /* background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");  */
	background-image: url("/contenu/video/ImgVideo.webp");
				
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.06);
  }
 
  /* Voile sombre sur l'image de fond pour lisibilité du bouton */
  .video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }
 
  .video-frame.is-playing::before {
    opacity: 0;
  }
 
  video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    background: #000;
  }
 
  .video-frame.is-playing video {
    display: block;
  }
 
  .video-frame.is-playing .play-button {
    display: none;
  }
 
  /* Bouton lire */
  .play-button {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 84px;
    height: 84px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.55);
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: transform 0.25s ease, background 0.25s ease;
  }
 
  .play-button:hover {
    transform: scale(1.08);
    background: rgba(20, 20, 20, 0.75);
  }
 
  .play-button svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
    margin-left: 4px; /* recentre visuellement le triangle */
  }
 
  .caption {
    position: absolute;
    bottom: 18px;
    left: 24px;
    z-index: 2;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.85;
  }
 
  .video-frame.is-playing .caption {
    display: none;
  }