/* =========================================================
   PAGINE INTERNE: la fascia in cima richiama il film della home
   Stesso verde di prima (non più scuro), più le luci verdi e oro
   sfumate che si muovono piano e il titolo che compare parola per parola.
   ========================================================= */
.banner-luce {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  filter: blur(50px); will-change: transform;
}
.banner-luce--a { width: 46vmax; height: 46vmax; left: -14vmax; top: -24vmax; background: radial-gradient(circle, rgba(46, 140, 58, .55) 0%, rgba(46, 140, 58, 0) 65%); animation: banner-giro-a 7s linear infinite; }
.banner-luce--b { width: 40vmax; height: 40vmax; right: -12vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(212, 160, 23, .38) 0%, rgba(212, 160, 23, 0) 65%); animation: banner-giro-b 7s linear infinite; }
/* ---------- un "video" di 7 secondi che riparte senza scatti: tutto torna esattamente al punto di partenza ---------- */
/* le luci fanno un giro intero e tornano dove erano */
@keyframes banner-giro-a {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(14vmax, 5vmax) scale(1.12); }
  50%  { transform: translate(24vmax, 12vmax) scale(1); }
  75%  { transform: translate(9vmax, 9vmax) scale(.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes banner-giro-b {
  0%   { transform: translate(0, 0) scale(1.05); }
  25%  { transform: translate(-10vmax, -4vmax) scale(.95); }
  50%  { transform: translate(-20vmax, -9vmax) scale(1.1); }
  75%  { transform: translate(-7vmax, -8vmax) scale(1); }
  100% { transform: translate(0, 0) scale(1.05); }
}
/* le linee: ondeggiano appena e un riflesso di luce le percorre (pathLength = 1, lo mette js/banner.js) */
.page-banner__rings { animation: banner-linee 7s ease-in-out infinite; transform-origin: 70% 30%; }
@keyframes banner-linee { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(2.5deg) scale(1.04); } }
.page-banner__rings path.scorre { stroke-dasharray: .6 .4; animation: banner-scorre 7s linear infinite; }
.page-banner__rings path.scorre:nth-child(2n) { animation-direction: reverse; }
@keyframes banner-scorre { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
/* in fondo la fascia sfuma appena nel chiaro della pagina */
.page-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 0; pointer-events: none; background: linear-gradient(rgba(250, 249, 246, 0), var(--bianco-sporco)); }

/* ogni parola entra sfocata e sale appena, come nel film */
.banner-parola { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.25em); transition: opacity .5s ease, filter .5s ease, transform .65s cubic-bezier(.2, .8, .2, 1); }
.banner-parola.su { opacity: 1; filter: blur(0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .banner-luce, .page-banner__rings, .page-banner__rings path.scorre { animation: none; }
  .page-banner__rings path.scorre { stroke-dasharray: none; }
  .banner-parola { opacity: 1; filter: none; transform: none; transition: none; }
}
/* anche il bagliore dorato che c'era già gira in 7 secondi, così tutta la fascia riparte insieme */
.page-banner::before { animation-duration: 7s; }
/* le linee si vedono su una zona più ampia della fascia (prima sparivano quasi subito) */
.page-banner__rings {
  -webkit-mask-image: radial-gradient(circle at var(--rx) var(--ry), #000 0%, rgba(0, 0, 0, .75) 50%, rgba(0, 0, 0, .25) 95%, transparent 130%);
  mask-image: radial-gradient(circle at var(--rx) var(--ry), #000 0%, rgba(0, 0, 0, .75) 50%, rgba(0, 0, 0, .25) 95%, transparent 130%);
}
.page-banner__rings path { stroke: rgba(212, 160, 23, .62); }
.page-banner__rings path:nth-child(3n) { stroke: rgba(255, 255, 255, .55); }
