* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
}

/* Fond vidéo plein écran */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.7) saturate(0.95);
  transition: opacity 1.6s ease;
}

.bg video.on { opacity: 1; }

/* Vignette pour garder le texte lisible */
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%);
}

/* Barre du haut */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px clamp(16px, 4vw, 48px);
}

.top .home {
  margin-right: auto;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding: 9px 26px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.btn:hover, .btn:focus-visible {
  background: #fff;
  color: #000;
  border-color: #fff;
  outline: none;
}
