/* Compléments au design : vignettes vidéo, fenêtre de lecture, formulaire */
html { scroll-behavior: smooth; }
:focus-visible { outline: 3px solid #FDCB68; outline-offset: 2px; }

.video-vignette { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: 10px; overflow: hidden; cursor: pointer; background: #1E3A45; }
.video-vignette img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform .3s ease; }
.video-vignette:hover img { transform: scale(1.03); }
.video-pastille { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(30,58,69,0.88); color: #FFFFFF;
  font-family: inherit; font-size: 13px; font-weight: 600; }

.video-modale { position: fixed; inset: 0; z-index: 1000; box-sizing: border-box; padding: 24px;
  background: rgba(22,40,47,0.9); display: flex; align-items: center; justify-content: center; }
.video-cadre { width: 100%; max-width: 960px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.video-fermer { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 0;
  border-radius: 999px; background: #FFFFFF; color: #1E3A45; font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 16px; font-weight: 600; cursor: pointer; }
.video-cadre video { display: block; width: 100%; max-height: 80vh; aspect-ratio: 16 / 9; border-radius: 12px; background: #000000; }

.form-message { margin: 0; font-size: 17px; }
.form-message:empty { display: none; }
.form-message.ok { padding: 16px 20px; border-radius: 10px; background: #E8F0EC; color: #1E3A45; font-weight: 600; }
#candidature button[disabled] { opacity: .6; cursor: default; }
