@charset "UTF-8";
/* CSS Document */


/* =============================================================================
   LOADER (version flex + 150% height)
   ========================================================================== */

#loader-wrapper {
  display: flex;
  position: absolute;
  width: 100%;
  height: 150%;            /* déborde légèrement pour cacher la barre Safari */
  z-index: 2000;
  background: #fff;
  overflow: hidden;
  flex-direction: row;
  align-items: center;     /* centre verticalement */
  justify-content: center; /* centre horizontalement */
}

.loader-logo {
  position: absolute;      /* pour se placer par-dessus le loader */
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;             /* logo centré verticalement par rapport au 150% */
  display: flex;
  flex-direction: row;     /* labels sur une ligne */
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
  z-index: 1003;
  opacity: 1;
  pointer-events: none;    /* ne bloque pas les clics */
  gap: 20px;
}

.loader-logo img {
  max-width: 100%;
  width: 99.99%;
}

/* Disparition du loader */
.loaded #loader-wrapper {
  transform: translateY(-100%);
  transition: all 0.3s 1s ease-out;
}

.loaded .loader-logo {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out;
}

/* Animation des labels du logo */
.loader-logo label {
  opacity: 0;
  display: inline-block;
}

@keyframes lol {
  0%   { opacity: 0; transform: translateX(-300px); }
  33%  { opacity: 1; transform: translateX(0px); }
  66%  { opacity: 1; transform: translateX(0px); }
  100% { opacity: 0; transform: translateX(300px); }
}

.loader-logo label:nth-child(6) { animation: lol 0.5s 50ms infinite ease-in-out; }
.loader-logo label:nth-child(5) { animation: lol 1s 300ms infinite ease-in-out; }
.loader-logo label:nth-child(4) { animation: lol 0.5s 600ms infinite ease-in-out; }
.loader-logo label:nth-child(3) { animation: lol 1s 900ms infinite ease-in-out; }
.loader-logo label:nth-child(2) { animation: lol 0.5s 1200ms infinite ease-in-out; }
.loader-logo label:nth-child(1) { animation: lol 1s 1500ms infinite ease-in-out; }

.loader-logo svg {
  height: 15px;
}
