/* ─── Section vidéo tutoriel ─── */
.video-demo {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.video-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--border-med));
}

.video-wrapper {
  margin-top: 48px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-med);
  background: var(--bg-card);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
}

.video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
  .video-demo {
    padding: 80px 0;
  }
  .video-wrapper {
    border-radius: var(--r-md, 12px);
  }
}
