/* ══════════════════════════════════════════════════════
   splash.css – Écran de démarrage + animations fadeup/load
   ══════════════════════════════════════════════════════ */

#splash {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s;
  padding: 2rem;
}
#splash.out {
  opacity: 0;
  pointer-events: none;
}
.sp-logo {
  width: min(320px, 80vw);
  height: auto;
  margin-bottom: 1.5rem;
  animation: fadeup 0.8s ease both;
}
.sp-sub {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 600;
  animation: fadeup 0.8s ease 0.2s both;
}
.sp-bar {
  width: 200px;
  height: 3px;
  background: var(--pink-lt);
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
  animation: fadeup 0.8s ease 0.3s both;
}
.sp-bar-fill {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
  animation: load 1.2s ease 0.4s both;
}
@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes load {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
