/* =========================
   FONTS
   ========================= */

@font-face {
  font-family: "Nasalization";
  src: url("../assets/fonts/Nasalization.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Bold.ttf") format("truetype");
  font-weight: 700;
}


/* ======================================================
   RESET & BASE (SOCLE GLOBAL)
   ====================================================== */

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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  background: #0b0f0d;
  color: #cfd6d3;

  font-family: "Oxanium", system-ui, sans-serif;
  font-weight: 300;

  overflow: hidden;
  overscroll-behavior: none;
}


/* ======================================================
   HOME / ACCUEIL
   ====================================================== */

.home {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;

  /* fond global assumé */
  background: #0b0f0d;
}

/* Image plein écran */
.home-image {
  position: absolute;
  inset: 0;

  /* fond derrière l’image (desktop + mobile) */
  background-color: #0b0f0d;

  background-image: url("../assets/images/LF_01.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* mobile = immersion */
}

/* Assombrissement léger */
.home-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* ======================================================
   AJUSTEMENT DESKTOP
   ====================================================== */

@media (min-width: 1024px) {
  .home-image {
    background-size: contain; /* pas de crop */
  }
}

/* ======================================================
   BOUTON D’ENTRÉE
   ====================================================== */

.enter {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + clamp(32px, 6vh, 56px));
  transform: translateX(-50%);

  font-family: "Nasalization", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;

  color: #9ad4b3;
  opacity: 0.85;

  transition: opacity 0.2s ease;
}

.enter:hover {
  opacity: 1;
}


/* ======================================================
   SAS — écran d’entrée
   ====================================================== */

.sas-page {
  overflow: hidden;
}

.sas {
  width: 100%;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.sas-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}


/* ======================================================
   ITEM DU SAS
   ====================================================== */

.sas-item {
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;

  color: #cfd6d3;
  opacity: 0.8;

  transition: opacity 0.2s ease, color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover desktop uniquement */
@media (hover: hover) and (pointer: fine) {
  .sas-item:hover {
    opacity: 1;
  }
}

/* Tap / clic : signature Laniakea */
.sas-item:active {
  color: #9ad4b3;
}


/* ======================================================
   PROCESS
   ====================================================== */

.process-page {
  overflow: hidden;
}

.process {
  width: 100%;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.process-text {
  max-width: 520px;
  text-align: center;

  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;

  color: #cfd6d3;
  opacity: 0.85;
}

.process-text p {
  margin-bottom: 28px;
}

.process-closing {
  margin-top: 36px;
  opacity: 0.9;
}


/* ======================================================
   RETOUR / SIGNATURE (PROCESS)
   ====================================================== */

.process-back {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + clamp(32px, 6vh, 56px));
  transform: translateX(-50%);

  font-family: "Nasalization", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;

  color: #9ad4b3;
  opacity: 0.75;

  transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .process-back:hover {
    opacity: 1;
  }
}

/* SIGNAL — présent mais légèrement déphasé */
.sas-signal {
  opacity: 0.30;
  letter-spacing: 0.14em;
}

/* Hover desktop */
@media (hover: hover) and (pointer: fine) {
  .sas-signal:hover {
    opacity: 0.85;
  }
}

/* Tap / clic */
.sas-signal:active {
  color: #9ad4b3;
  opacity: 1;
}

.sas-signal {
  opacity: 0.3;
  letter-spacing: 0.14em;
}

/* ======================================================
   PROCESS — CURRENT NAVIGATION STATE
   ====================================================== */

.navigation-state {
  margin-top: 48px;
  text-align: center;

  /* intensité plus discrète que le texte principal */
  opacity: 0.55;
}

/* Titre : "Current navigation state" */
.navigation-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

/* Grille d’alignement des données */
.navigation-metrics {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 28px;
  row-gap: 10px;

  justify-content: center;

  /* légèrement plus petit que le texte Process */
  font-size: 9px;
}

/* Chaque ligne */
.metric {
  display: contents;
}

/* Libellés */
.metric .label {
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

/* Valeurs — alignées verticalement */
.metric .value {
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}