/* PrestaForm — écran de lancement de l'application installée (PWA)
   Feuille partagée par app.html et index.html ; affichage piloté par assets/js/lancement.js.
   Écran FIXE (aucune animation) : il couvre la page le temps du chargement puis disparaît aussitôt. */
#pf-lancement { display: none; }
html.pf-lancement, html.pf-lancement body { overflow: hidden; }
html.pf-lancement #pf-lancement { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(520px 380px at 50% 38%, rgba(217, 162, 59, .22), transparent 70%), linear-gradient(160deg, var(--navy-700, #163a66), var(--navy-900, #0b1d36));
  transition: opacity .15s linear; }
#pf-lancement.pl-fin { opacity: 0; pointer-events: none; }
/* Fond décoratif par défaut (statique) : trame de points + halos doré et bleu */
#pf-lancement::before, #pf-lancement::after { content: ''; position: absolute; pointer-events: none; z-index: -1; }
#pf-lancement::before { inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.4px, transparent 1.8px), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 46px);
  background-size: 26px 26px, auto;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 35%, transparent 85%); mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 35%, transparent 85%); }
#pf-lancement::after { inset: 0;
  background: radial-gradient(closest-side at 18% 22%, rgba(217, 162, 59, .26), transparent), radial-gradient(closest-side at 85% 78%, rgba(29, 76, 133, .65), transparent);
  background-size: 70% 55%, 80% 60%; background-repeat: no-repeat; }
/* Photo choisie dans Paramètres › Établissement, sous un voile bleu nuit */
html.pf-lancement #pf-lancement.pl-avec-fond { background: linear-gradient(180deg, rgba(11, 29, 54, .55), rgba(11, 29, 54, .72) 55%, rgba(11, 29, 54, .9)), var(--pl-fond) center / cover no-repeat, #0b1d36; }
#pf-lancement.pl-avec-fond::before, #pf-lancement.pl-avec-fond::after { display: none; }
.pl-centre { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.pl-marque { position: relative; width: 112px; height: 112px; margin-bottom: 26px; }
.pl-logo { position: relative; width: 100%; height: 100%; border-radius: 30px; display: grid; place-items: center; background: var(--navy-800, #0f2747);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(217, 162, 59, .4); }
.pl-logo svg { width: 64%; height: 64%; }
.pl-logo path { fill: none; stroke: var(--gold-500, var(--gold, #d9a23b)); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pl-logo.image { background: #fff; padding: 14px; }
.pl-logo.image img { width: 100%; height: 100%; object-fit: contain; }
.pl-anneau, .pl-barre { display: none; }
.pl-nom { font-size: 28px; font-weight: 800; letter-spacing: .3px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.pl-sous { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 320px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
