body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, sans-serif;
  background-color: #f5f7f1;
  color: #5a6a61;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
}

.page-loading .splash-screen img {
  margin-left: calc(100vw - 100%);
  margin-bottom: 28px;
  height: 56px !important;
  max-width: 78vw;
}

/* Barre de chargement : un segment citron qui glisse. */
.page-loading .splash-screen .splash-bar {
  position: relative;
  display: block;
  width: 120px;
  height: 4px;
  border-radius: 4px;
  background: #dde4d6;
  overflow: hidden;
}

.page-loading .splash-screen .splash-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  border-radius: 4px;
  background: #c6f135;
  box-shadow: 0 0 0 1px #07241b inset;
  animation: splash-slide 1.1s ease-in-out infinite;
}

@keyframes splash-slide {
  0% { left: -44px; }
  100% { left: 120px; }
}
