.pendu {
  background: #000;
}

.pendu::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgb(0 0 0 / 80%), rgb(0 0 0 / 80%)),
    url("images/le-pendu.png") center / cover no-repeat;
  pointer-events: none;
}

.chargement {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
}

.progression {
  width: 100%;
  max-width: 360px;
  color: #e5c99f;
  text-align: center;
}

.pourcentage {
  margin: 0 0 20px;
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.barre {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(229 201 159 / 18%);
}

.remplissage {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #e5c99f;
  transform: scaleX(0);
  transform-origin: left;
}

.zone-message {
  min-height: 116px;
  padding-top: 28px;
}

.message {
  margin: 0;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.8;
  text-transform: uppercase;
  animation: apparition 1s ease-out both;
}

.message[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .message { animation: none; }
}
