/* Lontrillo — animazione di avvio (dalla tavola "Avvio", CSS riusato così com'è).
   La lontra sale e galleggia, si guarda intorno, chiude gli occhi nel sorriso;
   poi "Lontrillo"; in basso il marchio del cliente entra ingrandendosi e si
   riduce. Circa 4 s; la regola su movimento ridotto la spegne del tutto (e
   avvio.js non la mostra nemmeno). */

#lt-avvio {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column;
  background: #F5F5F7; color: #1D1D1F; cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: opacity .35s ease;
}
#lt-avvio.lt-esce { opacity: 0; }
#lt-avvio .lt-centro { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
#lt-avvio svg { width: min(420px, 80vw); height: auto; display: block; }
#lt-avvio .lt-nome { margin: 0; font-size: clamp(40px, 11vw, 64px); }
#lt-avvio .lt-fascia { height: 160px; background: #FFFFFF; border-top: 1px solid #E8E8ED; display: flex; align-items: center; justify-content: center; }
#lt-avvio .lt-fascia img { height: 72px; width: auto; display: block; }
#lt-avvio .lt-salta { position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); min-height: 44px; padding: 0 18px;
  border-radius: 22px; border: 1px solid #D2D2D7; background: #FFFFFF; color: #1D1D1F; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }

.lt-sale{animation:lt-sale .7s cubic-bezier(.2,.8,.2,1) both}
.lt-galleggia{animation:lt-galleggia 1.1s ease-in-out .7s 2 both}
.lt-aperti{transform-box:fill-box;transform-origin:center;animation:lt-chiude .18s ease-in 2.3s both}
.lt-pupille{animation:lt-guarda 1.3s ease-in-out .9s both}
.lt-chiusi{animation:lt-appare .12s linear 2.4s both}
.lt-bocca{transform-box:fill-box;transform-origin:center;animation:lt-sorride .35s ease-out 2.4s both}
.lt-nome{animation:lt-entra .6s cubic-bezier(.2,.8,.2,1) 2.7s both}
.lt-pop{animation:lt-pop .9s cubic-bezier(.3,.7,.3,1) 3.3s both}
@keyframes lt-pop{0%{opacity:0;transform:scale(.2)}55%{opacity:1;transform:scale(1.35)}100%{opacity:1;transform:scale(1)}}
@keyframes lt-sale{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes lt-galleggia{0%,100%{transform:none}50%{transform:translateY(-5px)}}
@keyframes lt-guarda{0%{transform:none}25%{transform:translateX(-3px)}60%{transform:translateX(3px)}100%{transform:none}}
@keyframes lt-chiude{from{transform:none;opacity:1}to{transform:scaleY(.1);opacity:0}}
@keyframes lt-appare{from{opacity:0}to{opacity:1}}
@keyframes lt-sorride{0%{transform:none}50%{transform:scale(1.15)}100%{transform:none}}
@keyframes lt-entra{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.lt-sale,.lt-galleggia,.lt-pupille,.lt-chiusi,.lt-bocca,.lt-nome,.lt-pop{animation:none}.lt-aperti{animation:none;opacity:0}}
