/* Trilha de Aprendizagem — abertura v30.
   SOMENTE logotipo original transparente gira; nao existe moldura, quadrado,
   cartao ou imagem de fundo aplicada atras do professor.
   O azul corresponde ao fundo da tela nativa do PWA. */
#trilha-launch-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  background: #010a78;
  background-image: none;
  -webkit-tap-highlight-color: transparent;
}
html.trilha-launch-on #trilha-launch-splash {
  display: grid;
  visibility: visible;
  pointer-events: auto;
  animation: trilha-splash-v30-leave .28s ease 2.14s forwards;
}
#trilha-launch-splash::before,
#trilha-launch-splash::after,
#trilha-launch-splash .trilha-launch-emblem::before,
#trilha-launch-splash .trilha-launch-emblem::after {
  content: none !important;
  display: none !important;
}
#trilha-launch-splash .trilha-launch-emblem {
  position: relative;
  display: block;
  width: min(90vw,62svh,590px);
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  background-image: none;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform,filter;
  animation: trilha-splash-v30-spin 2.1s cubic-bezier(.32,.08,.18,1) both;
}
#trilha-launch-splash .trilha-launch-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  background-image: none;
  backface-visibility: visible;
}
@keyframes trilha-splash-v30-spin {
  0%   {opacity:1;transform:perspective(1100px) rotateY(0deg) scale(.94);filter:brightness(1)}
  20%  {opacity:1;transform:perspective(1100px) rotateY(64deg) scale(1);filter:brightness(1.13)}
  42%  {opacity:1;transform:perspective(1100px) rotateY(156deg) scale(1.015);filter:brightness(1.24)}
  63%  {opacity:1;transform:perspective(1100px) rotateY(250deg) scale(1);filter:brightness(1.03)}
  82%  {opacity:1;transform:perspective(1100px) rotateY(335deg) scale(1.01);filter:brightness(1.20)}
  100% {opacity:1;transform:perspective(1100px) rotateY(360deg) scale(1);filter:brightness(1.07)}
}
@keyframes trilha-splash-v30-leave {
  from {opacity:1;visibility:visible}
  99%  {opacity:0;visibility:visible}
  to   {opacity:0;visibility:hidden;pointer-events:none}
}
@media(min-aspect-ratio:1/1) {
  #trilha-launch-splash .trilha-launch-emblem {width:min(58vw,68svh,590px)}
}
@media(prefers-reduced-motion:reduce) {
  html.trilha-launch-on #trilha-launch-splash {animation:trilha-splash-v30-leave .15s linear .5s forwards}
  #trilha-launch-splash .trilha-launch-emblem {animation:none!important;transform:none!important;filter:none!important;will-change:auto!important}
}
