/* La vidéo (16:9) couvre tout l'écran. Le bouton est placé en % de la vidéo,
   exactement par-dessus le faux bouton « Login » dessiné dans la vidéo. */
:root {
  --fond: #0d1623;
  --bouton: rgba(13, 22, 35, 0.88);
  --bouton-survol: #e8772e;
  --texte: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--fond);
  overflow: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.7778vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%);
}

@supports (height: 100svh) {
  .stage {
    width: max(100vw, 177.7778svh);
    height: max(56.25vw, 100svh);
  }
}

.video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Faux bouton dans la vidéo : centre x 50 %, y 91,25 %, environ 10,7 % x 5,3 %. */
.login {
  position: absolute;
  left: 50%;
  top: 91.25%;
  transform: translate(-50%, -50%);
  width: 13%;
  min-width: 170px;
  height: 7%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  background: var(--bouton);
  color: var(--texte);
  font: 600 clamp(16px, 1.4vw, 22px) / 1 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(232, 119, 46, 0.45);
  transition: background 0.2s, border-color 0.2s;
}

.login:hover,
.login:focus-visible {
  background: var(--bouton-survol);
  border-color: var(--bouton-survol);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
