:root{--page-title-display:none;}/* Start custom CSS *//* Bollini: cursore da "afferra" */
.lp-badge { cursor: grab; -webkit-user-drag: none; user-select: none; }
.lp-badge.lp-grab { cursor: grabbing; z-index: 6; }

/* Pulsante audio sul video */
.lp-audio {
  position: absolute; top: 24px; right: 24px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border: 0; border-radius: 999px;
  background: rgba(29,29,27,.72); color: #fff;
  font: 600 14px/1 Inter, sans-serif; letter-spacing: .01em;
  cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .25s ease, transform .25s ease;
}
.lp-audio svg { width: 20px; height: 20px; }
.lp-audio:hover { background: #fb3910; transform: scale(1.04); }
.lp-audio.is-on { background: #fb3910; }
.lp-audio:not(.is-on) svg { animation: lp-audio-hint 2.4s ease-in-out infinite; }
@keyframes lp-audio-hint { 0%,70%,100% { transform: scale(1); } 80% { transform: scale(1.18); } 90% { transform: scale(.95); } }
@media (max-width: 767px) { .lp-audio { top: 14px; right: 14px; padding: 9px 12px 9px 10px; font-size: 13px; } }

/* Numeri: piccolo rimbalzo a fine conteggio */
.lp-stat-num.lp-done { animation: lp-num-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes lp-num-pop { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* Feature: entrano in sequenza, poi ogni icona fa il suo gesto */
.lp-feature.lp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--lp-delay,0ms), transform .7s cubic-bezier(.22,1,.36,1) var(--lp-delay,0ms); }
.lp-feature.lp-reveal.lp-in { opacity: 1; transform: none; }

/* Icone SVG animate (inserite dal JS al posto delle immagini) */
.lp-svg-ic { width: 56px; height: 56px; color: #fb3910; overflow: visible; margin-bottom: 8px; display: block; }
.lp-svg-ic .d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.lp-svg-ic.go .d { animation: lp-draw .9s cubic-bezier(.65,0,.35,1) both; }
@keyframes lp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* pin: cade, rimbalza, il punto si accende, l'ombra si allarga */
.lp-svg-pin .pin { transform-box: fill-box; transform-origin: 50% 100%; }
.lp-svg-pin .dot, .lp-svg-pin .sh { transform-box: fill-box; transform-origin: 50% 50%; }
.lp-svg-pin.go .pin { animation: lp-pin-fall .9s cubic-bezier(.34,1.56,.64,1) both; }
.lp-svg-pin.go .dot { animation: lp-pop .5s cubic-bezier(.34,1.56,.64,1) .55s both; }
.lp-svg-pin.go .sh { animation: lp-shadow .9s ease-out both; }
@keyframes lp-pin-fall { 0% { transform: translateY(-22px); } 55% { transform: translateY(0) scale(1.08,.9); } 75% { transform: translateY(-5px) scale(.97,1.04); } 100% { transform: none; } }
@keyframes lp-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes lp-shadow { 0% { transform: scaleX(.3); opacity: 0; } 55% { transform: scaleX(1.15); opacity: .35; } 100% { transform: none; opacity: .25; } }

/* porta: si disegna, si apre, la freccia entra */
.lp-svg-door .panel { transform-box: view-box; transform-origin: 16px 33px; }
.lp-svg-door .d2 { animation-delay: .15s !important; }
.lp-svg-door.go .panel { animation: lp-door 1.6s cubic-bezier(.65,0,.35,1) .35s both; }
.lp-svg-door.go .arr { animation: lp-arrow 1.6s cubic-bezier(.65,0,.35,1) .35s both; }
@keyframes lp-door { 0% { transform: scaleX(0); opacity: 0; } 20% { transform: scaleX(1); opacity: 1; } 50%, 70% { transform: scaleX(.42) skewY(4deg); } 100% { transform: none; } }
@keyframes lp-arrow { 0%, 30% { transform: translateX(12px); opacity: 0; } 55% { transform: translateX(0); opacity: 1; } 70% { transform: translateX(-14px); opacity: 1; } 85% { opacity: 0; } 100% { transform: none; opacity: 1; } }

/* matita: il foglio si disegna, la matita scrive la riga */
.lp-svg-edit .pen { transform-box: view-box; transform-origin: 30px 46px; }
.lp-svg-edit.go .ink { animation: lp-draw 1s ease-in-out .45s both; }
.lp-svg-edit.go .pen { animation: lp-pen 1.1s ease-in-out .35s both; }
@keyframes lp-pen {
  0% { transform: translate(-14px,5px) rotate(-6deg); opacity: 0; }
  12% { opacity: 1; }
  30% { transform: translate(-9px,0) rotate(4deg); }
  50% { transform: translate(-6px,3px) rotate(-4deg); }
  72% { transform: translate(-2px,-1px) rotate(3deg); }
  100% { transform: none; opacity: 1; }
}

/* fumetti: si disegnano uno dopo l'altro, poi i tre puntini "scrivono" */
.lp-svg-chat .b2 { animation-delay: .3s !important; }
.lp-svg-chat .dots circle { transform-box: fill-box; transform-origin: 50% 50%; }
.lp-svg-chat.go .dots circle { animation: lp-typing .9s ease-in-out .8s 3 both; }
.lp-svg-chat.go .dots circle:nth-child(2) { animation-delay: .95s; }
.lp-svg-chat.go .dots circle:nth-child(3) { animation-delay: 1.1s; }
@keyframes lp-typing { 0%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }

.lp-feature:hover .lp-feature-label { letter-spacing: .08em; }
.lp-feature-label { transition: letter-spacing .35s ease; }

@media (prefers-reduced-motion: reduce) {
  .lp-badge { animation: none; transition: none; }
  .lp-feature.lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-feature-icon, .lp-stat-num, .lp-audio svg, .lp-svg-ic * { animation: none !important; }
}

/* Banner in movimento: VINÒFORUM 2027 | 6 → 12.09.2027 */
.lp-marquee { animation: lp-marquee 20s linear infinite; will-change: transform; }
a:hover > .lp-marquee { animation-play-state: paused; }
@keyframes lp-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 767px) { .lp-marquee { animation-duration: 13s; } }
@media (prefers-reduced-motion: reduce) { .lp-marquee { animation: none; } }

/* Hero stage */
.lp-stage .lp-badge { z-index: 3; }
.lp-video-stage .lp-audio { top: 20px; }
@media (min-width: 768px) { .lp-video-stage .lp-audio { top: 28px; right: 28px; } }

/* Partecipare: i quattro verbi */
.lp-c-green { --c: #00be67; } .lp-c-purple { --c: #8060af; } .lp-c-red { --c: #fb3910; } .lp-c-pink { --c: #f6bcd2; }
.lp-part .lp-arow {
  display: grid !important; grid-template-columns: 70px 1fr minmax(220px, 360px) 70px !important; align-items: center !important; gap: 24px !important;
  padding: 26px 0 !important; border-top: 1px solid rgba(255,255,255,.18); position: relative !important; isolation: isolate !important; overflow: visible !important; cursor: default;
}
.lp-part .lp-arow:last-of-type, .lp-part .lp-arow:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.18); }
.lp-part .lp-arow::before {
  content: "" !important; position: absolute !important; top: 0 !important; bottom: auto !important; left: -100vw !important; right: auto !important;
  width: calc(100% + 200vw) !important; height: 100% !important; background: var(--c) !important; border: 0 !important; border-radius: 0 !important;
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.22,1,.36,1); z-index: -1 !important; display: block !important;
}
.lp-part .lp-arow:hover::before { transform: scaleY(1); }
.lp-part .lp-anum, .lp-part .lp-averb, .lp-part .lp-atxt { display: block !important; }
.lp-part .lp-anum { font: 600 15px/1 Inter, sans-serif; color: #8d8d88; transition: color .3s; }
.lp-part .lp-averb { font-family: Inter, sans-serif; font-size: clamp(40px, 6.4vw, 112px); font-weight: 800; letter-spacing: -.035em; line-height: .95; color: #fff; transition: transform .45s cubic-bezier(.22,1,.36,1), color .3s; }
.lp-part .lp-atxt { font: 400 17px/1.45 Inter, sans-serif; color: #cfcfca; transition: color .3s; }
.lp-part .lp-aic { justify-self: end; color: var(--c); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.lp-part .lp-aic .lp-svg-ic { color: var(--c); margin: 0; transition: color .3s; }
.lp-part .lp-arow:hover .lp-averb { transform: translateX(16px); }
.lp-part .lp-arow:hover .lp-averb, .lp-part .lp-arow:hover .lp-anum, .lp-part .lp-arow:hover .lp-atxt, .lp-part .lp-arow:hover .lp-svg-ic { color: #1d1d1b; }
.lp-part .lp-arow:hover .lp-aic { transform: rotate(-8deg) scale(1.1); }
.lp-part .lp-svg-edit .pen path:first-child { fill: #1d1d1b; }
.lp-part .lp-svg-door .panel circle { fill: #1d1d1b; }
@media (max-width: 900px) {
  .lp-part .lp-arow { grid-template-columns: 34px 1fr 44px !important; gap: 6px 12px !important; padding: 22px 0 !important; }
  .lp-part .lp-atxt { grid-column: 2 / 4; font-size: 15px; }
  .lp-part .lp-aic { grid-row: 1; grid-column: 3; }
  .lp-part .lp-averb { font-size: clamp(30px, 9vw, 48px); }
  .lp-part .lp-aic .lp-svg-ic { width: 40px; height: 40px; }
}

/* ---- Pagine 2027: foto, loghi, contatti ---- */
.lp-ed-pic { position: relative !important; }
.lp-ed-pic img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.lp-ed-pic:hover img { transform: scale(1.05); }
.lp-logos { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; gap: 16px !important; }
.lp-logo { aspect-ratio: 3 / 2; background: #fff; border: 1px solid #e3e3e3; border-radius: 18px; padding: 18px !important; display: flex !important; align-items: center; justify-content: center; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease; }
.lp-logo:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); border-color: #cfcfcf; }
.lp-logo img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
@media (max-width: 767px) { .lp-logos { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } .lp-logo { padding: 12px !important; border-radius: 14px; } }
.lp-part .lp-corow { grid-template-columns: 70px minmax(0, 1fr) minmax(200px, 320px) 200px !important; color: inherit; }
.lp-part .lp-corow .lp-averb { font-size: clamp(32px, 4.4vw, 76px); }
.lp-part .lp-cocta { justify-self: end; font-weight: 700; color: #fff; }
.lp-part .lp-corow:hover .lp-cocta { color: #1d1d1b; }
@media (max-width: 900px) {
  .lp-part .lp-corow { grid-template-columns: 34px 1fr !important; }
  .lp-part .lp-corow .lp-atxt { grid-column: 2 / 3; }
  .lp-part .lp-corow .lp-cocta { justify-self: start; }
  .lp-part .lp-corow .lp-averb { font-size: clamp(28px, 8vw, 44px); }
}

/* ---- Edizione 2026 a card (17/11/2026) ----
   Card, titoli e colori stanno nelle classi globali ed-* (pannello Stile).
   Qui solo gli effetti che l'editor non gestisce. */
.ed-card .ed-img { transition: transform .7s cubic-bezier(.22,1,.36,1); }
.ed-card:hover .ed-img, .ed-card:focus-visible .ed-img { transform: scale(1.045); }
.ed-media::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c, #fb3910) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .3s; pointer-events: none;
}
.ed-card:hover .ed-media::after, .ed-card:focus-visible .ed-media::after { opacity: 1; transform: none; }
.ed-card:focus-visible { outline: 2px solid #1d1d1b; outline-offset: 6px; border-radius: 8px; }
@media (hover: none) { .ed-media::after { opacity: 1; transform: none; } }
/* Tablet e telefono: le card di ogni gruppo scorrono di lato */
@media (max-width: 1024px) {
  .ed-row { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(220px, 38%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ed-row::-webkit-scrollbar { display: none; }
  .ed-card { scroll-snap-align: start; }
}
@media (max-width: 767px) { .ed-row { grid-auto-columns: 74%; } }
@media (prefers-reduced-motion: reduce) { .ed-card .ed-img, .ed-media::after { transition: none; } }/* End custom CSS */