/* ============================================
   READY — coming soon
   Typo : Archivo (condensée, très light) / fond : vidéo plein écran
   ============================================ */

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

html,
body {
  height: 100%;
}

body {
  background: #000; /* fallback si la vidéo ne charge pas */
  color: #f3f3ea;
  font-family: "Archivo", sans-serif;
  font-stretch: 68%;   /* version condensée d'Archivo */
  font-weight: 200;    /* graisse Extra Light (un cran sous Light) */
  overflow: hidden;
}

strong {
  font-weight: 700; /* les mots en gras */
}

/* ---- Vidéo de fond ---- */

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit l'écran sans déformer */
  z-index: 0;
}

/* ---- Voile sombre pour la lisibilité ---- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* ajuster l'opacité ici : 0 = invisible, 1 = noir total */
  z-index: 1;
}

/* ---- Contenu centré (logo + tagline) ---- */

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  padding-bottom: 2vh; /* bloc quasi centré verticalement — augmenter pour remonter le logo */
  text-align: center;
  animation: fadein 1.6s ease both; /* fondu d'entrée au chargement */
}

.logo {
  width: min(420px, 75vw); /* ajuster la taille du logo ici */
  height: auto;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1; /* interligne = taille du texte, comme la maquette (24/24) */
}

/* Curseur clignotant façon terminal */
.cursor {
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---- Bloc projet (bas de page, centré) ---- */

.project {
  position: fixed;
  z-index: 2;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1; /* interligne = taille du texte */
  padding: 0 1.5rem;
  animation: fadein 1.6s ease 0.5s both;
}

/* Le lien "HERE" : souligné, cliquable, toujours blanc
   (y compris déjà visité, en train d'être cliqué, ou au clavier) */
.here,
.here:visited,
.here:hover,
.here:active,
.here:focus {
  color: #f3f3ea;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  -webkit-tap-highlight-color: transparent;
}

.here:hover {
  opacity: 0.7;
}

/* ---- Mention Solab, angle inférieur droit ---- */

.footer {
  position: fixed;
  z-index: 2;
  bottom: 1.6rem;
  right: 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1;
  animation: fadein 1.6s ease 0.5s both;
}

/* Le lien "SOLAB FILMS" : cliquable mais invisible en tant que lien
   (blanc, pas de soulignement, dans tous les états) */
.solab,
.solab:visited,
.solab:hover,
.solab:active,
.solab:focus {
  color: #f3f3ea;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* ---- Fondu d'entrée ---- */

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Sur petit écran : le bloc projet remonte pour ne pas
        chevaucher la mention Solab ---- */

@media (max-width: 700px) {
  .project {
    bottom: 5rem;
  }
}

/* ---- Accessibilité : pas d'animation si l'utilisateur les désactive ---- */

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .content,
  .project,
  .footer {
    animation: none;
  }
}
