/* Splash démarrage PWA Continuum — fond blanc + logo animé */
.pwa-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0a1628;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: all;
  transition: opacity .45s ease, visibility .45s ease;
}

.pwa-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pwa-splash__logo {
  width: min(42vw, 168px);
  height: min(42vw, 168px);
  display: grid;
  place-items: center;
  animation: pwa-splash-pop .9s cubic-bezier(.22, 1.2, .36, 1) both;
}

.pwa-splash__logo img,
.pwa-splash__logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: pwa-splash-spin-in 1.15s cubic-bezier(.22, 1, .36, 1) both;
}

.pwa-splash__word {
  margin-top: 1.15rem;
  font-family: Outfit, Syne, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  letter-spacing: .18em;
  text-indent: .18em;
  text-transform: uppercase;
  color: #0a1628;
  opacity: 0;
  animation: pwa-splash-fade-up .55s ease .55s forwards;
}

.pwa-splash__tag {
  margin-top: .4rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: #e85d04;
  opacity: 0;
  animation: pwa-splash-fade-up .5s ease .75s forwards;
}

.pwa-splash__ring {
  position: absolute;
  width: min(58vw, 230px);
  height: min(58vw, 230px);
  border-radius: 50%;
  border: 2px solid rgba(232, 93, 4, .18);
  animation: pwa-splash-ring 1.4s ease-out both;
  pointer-events: none;
}

.pwa-splash__ring--2 {
  width: min(72vw, 290px);
  height: min(72vw, 290px);
  border-color: rgba(10, 22, 40, .08);
  animation-delay: .12s;
}

@keyframes pwa-splash-pop {
  from { transform: scale(.72); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pwa-splash-spin-in {
  from { transform: rotate(-28deg) scale(.85); opacity: 0; filter: blur(4px); }
  60% { filter: blur(0); }
  to { transform: rotate(0) scale(1); opacity: 1; filter: blur(0); }
}

@keyframes pwa-splash-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pwa-splash-ring {
  from { transform: scale(.55); opacity: 0; }
  40% { opacity: 1; }
  to { transform: scale(1); opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  .pwa-splash__logo,
  .pwa-splash__logo img,
  .pwa-splash__logo svg,
  .pwa-splash__word,
  .pwa-splash__tag,
  .pwa-splash__ring {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
