/* PWA 12e Région — Sprint 3 : écran de démarrage */
.pwa-launch-screen{display:none}

@media (display-mode:standalone){
  .pwa-launch-screen{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:grid;
    place-items:center;
    padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    background:#fff;
    color:#123f78;
    opacity:1;
    visibility:visible;
    transition:opacity .28s ease,visibility .28s ease;
  }
  .pwa-launch-screen[hidden]{display:none}
  .pwa-launch-screen.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
  .pwa-launch-content{display:flex;max-width:320px;align-items:center;flex-direction:column;text-align:center}
  .pwa-launch-logo{
    width:132px;
    height:132px;
    object-fit:contain;
    filter:drop-shadow(0 12px 22px rgba(18,63,120,.18));
  }
  .pwa-launch-title{margin:22px 0 4px;font-size:1.35rem;line-height:1.15;font-weight:900}
  .pwa-launch-subtitle{margin:0;color:#62758a;font-size:.88rem;font-weight:700}
  .pwa-launch-progress{width:110px;height:4px;margin-top:24px;overflow:hidden;border-radius:99px;background:#dce7f2}
  .pwa-launch-progress::after{
    content:"";
    display:block;
    width:45%;
    height:100%;
    border-radius:inherit;
    background:#c9252d;
    animation:pwa-launch-progress 1s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion:reduce){
  .pwa-launch-screen{transition:none!important}
  .pwa-launch-progress::after{animation:none!important;width:100%}
}

@keyframes pwa-launch-progress{
  from{transform:translateX(-20%)}
  to{transform:translateX(145%)}
}
