.pa-hb-sezione { position: relative; } .pa-hb-autonomo {
display: flex; flex-direction: column; align-items: center; justify-content: center;
width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
min-height: 70svh; padding: 60px 24px; box-sizing: border-box; overflow: hidden;
} .pa-hb-con-altezza:not(.pa-hb-autonomo) { display: flex; flex-direction: column; justify-content: center; } .pa-hb-media-diretto { overflow: hidden; }
.pa-hb-media-diretto > *:not(.pa-hb-media):not(.pa-hb-box) { position: relative; z-index: 1; }
.pa-hb-media { background: #2b2724; }
.pa-hb-sezione > .row-bg-wrap { background: #2b2724; overflow: hidden; } .pa-hb-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; } .pa-hb-zoom { position: absolute; inset: -3%; opacity: 0; transform: scale(1.10); transition: opacity 1.2s ease; }
.pa-foto-ok .pa-hb-zoom { opacity: 1; animation: paHbZoom 14s cubic-bezier(.2,.6,.2,1) both; }
@keyframes paHbZoom { from { transform: scale(1.10); } to { transform: scale(1); } }
.pa-hb-nozoom .pa-hb-zoom,
.pa-foto-ok .pa-hb-nozoom .pa-hb-zoom { transform: none; animation: none; }
.pa-hb-nofade .pa-hb-zoom { transition: none; }
.pa-hb-zoom img {
display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover;
margin: 0 !important; border-radius: 0 !important;
transform: translate3d(calc(var(--pa-mx, 0) * -16px), calc(var(--pa-my, 0) * -10px), 0);
will-change: transform;
} .pa-hb-slider .pa-hb-zoom img {
position: absolute; inset: 0;
clip-path: inset(0 0 0 0);
transition: opacity var(--pa-tr, 1.4s) ease, filter var(--pa-tr, 1.4s) ease,
translate var(--pa-tr, 1.4s) cubic-bezier(.7,0,.3,1), clip-path var(--pa-tr, 1.4s) cubic-bezier(.7,0,.3,1);
}
.pa-hb-fx-dissolvenza .pa-hb-zoom img.pa-hb-s-in,
.pa-hb-fx-kenburns .pa-hb-zoom img.pa-hb-s-in { opacity: 0; }
.pa-hb-fx-kenburns .pa-hb-zoom img { animation: paHbKb var(--pa-kb, 9s) linear both; }
@keyframes paHbKb { from { scale: 1.14; } to { scale: 1; } }
.pa-hb-fx-scorrimento .pa-hb-zoom img.pa-hb-s-in { translate: 100% 0; }
.pa-hb-fx-scorrimento .pa-hb-zoom img.pa-hb-s-out { translate: -30% 0; }
.pa-hb-fx-sfocatura .pa-hb-zoom img.pa-hb-s-in { opacity: 0; filter: blur(24px); }
.pa-hb-fx-sfocatura .pa-hb-zoom img.pa-hb-s-out { filter: blur(10px); }
.pa-hb-fx-tendina .pa-hb-zoom img.pa-hb-s-in { clip-path: inset(0 0 0 100%); }
.pa-hb-fx-tendina .pa-hb-zoom img.pa-hb-s-out { opacity: .6; } .pa-hb-video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.pa-hb-video.pa-hb-video-ok { opacity: 1; }
.pa-hb-solo-video { background: #111; }
.pa-hb-solo-video .pa-hb-video { transition-duration: 1.6s; }
.pa-hb-video video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.pa-hb-video iframe { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.02); border: 0; pointer-events: none; max-width: none !important; }
.pa-hb-velo { position: absolute; inset: 0; }
.pa-hb-luce {
position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; mix-blend-mode: soft-light;
background: radial-gradient(620px circle at var(--pa-lx, 50%) var(--pa-ly, 50%),
rgba(255,226,190,.5), rgba(255,226,190,.18) 40%, rgba(255,226,190,0) 75%);
}
.pa-hb-sezione.pa-hb-attivo .pa-hb-luce { opacity: 1; } .pa-hb-box {
position: absolute; right: 40px; bottom: 48px;
z-index: 20; width: 380px; max-width: calc(100% - 32px); text-align: left;
}
.pa-hb-box.pa-hb-lato-sinistra { right: auto; left: 40px; }
.pa-hb-card {
position: relative; overflow: hidden; border-radius: 6px;
background: rgba(22,19,17,.55); border: 1px solid rgba(255,255,255,.18);
-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
} .pa-hb-facce { display: grid; }
.pa-hb-sezione .pa-hb-faccia {
grid-area: 1 / 1; display: flex; flex-direction: column;
padding: 18px 22px 22px; color: #fff; text-decoration: none; border: 0; box-shadow: none;
opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.pa-hb-sezione .pa-hb-faccia.pa-hb-attiva { opacity: 1; pointer-events: auto; }
.pa-hb-sezione .pa-hb-faccia:hover,
.pa-hb-sezione .pa-hb-faccia:focus { color: #fff; text-decoration: none; }
.pa-hb-etichetta {
display: block; margin-bottom: auto; padding: 0 70px 10px 0;
font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.pa-hb-riga { display: block; min-height: 1.5em; margin-bottom: 4px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.65); transition: opacity .25s ease; }
.pa-hb-riga.pa-hb-cambia { opacity: 0; }
.pa-hb-titolo {
display: block; color: #fff; font-size: 17px; line-height: 1.35;
font-family: var(--pa-hb-font, inherit); font-weight: var(--pa-hb-peso, 600);
}
.pa-hb-titolo::after { content: "→"; display: inline-block; margin-left: 2px; transition: transform .4s cubic-bezier(.2,.6,.2,1); } .pa-hb-card::after {
content: ""; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 1px; z-index: 2; pointer-events: none;
background: rgba(255,255,255,.85); transform: scaleX(0); transform-origin: left;
transition: transform .5s cubic-bezier(.2,.6,.2,1);
} .pa-hb-card:hover { background: rgba(14,12,11,.72); border-color: rgba(255,255,255,.4); box-shadow: 0 14px 34px rgba(0,0,0,.35); transform: translateY(-3px); }
.pa-hb-card:hover .pa-hb-titolo::after { transform: translateX(6px); }
.pa-hb-card:hover::after { transform: scaleX(1); } .pa-hb-puntini { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; }
.pa-hb-puntini button {
width: 22px; height: 22px; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; cursor: pointer;
display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0;
}
.pa-hb-puntini button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .3s ease, transform .3s ease; }
.pa-hb-puntini button[aria-current="true"]::before { background: #fff; transform: scale(1.2); }
.pa-hb-puntini button:focus-visible { outline: 1px solid #fff; outline-offset: -3px; border-radius: 50%; } .pa-js .pa-hb-box { transform: translateY(16px); transition: transform .9s cubic-bezier(.2,.6,.2,1) .9s; }
.pa-js .pa-hb-card {
background: rgba(22,19,17,0); border-color: rgba(255,255,255,0);
-webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
transition: background .9s ease .9s, border-color .9s ease .9s, -webkit-backdrop-filter .9s ease .9s, backdrop-filter .9s ease .9s, box-shadow .4s ease, transform .4s ease;
}
.pa-js .pa-hb-facce, .pa-js .pa-hb-puntini { opacity: 0; transition: opacity .7s ease 1.2s; }
.pa-js.pa-foto-ok .pa-hb-box { transform: none; }
.pa-js.pa-foto-ok .pa-hb-card { background: rgba(22,19,17,.55); border-color: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pa-js.pa-foto-ok .pa-hb-card:hover { background: rgba(14,12,11,.72); border-color: rgba(255,255,255,.4); transition-delay: 0s; }
.pa-js.pa-foto-ok .pa-hb-facce, .pa-js.pa-foto-ok .pa-hb-puntini { opacity: 1; } .pa-js .pa-hb-box.pa-hb-nofade, .pa-js .pa-hb-nofade .pa-hb-card,
.pa-js .pa-hb-nofade .pa-hb-facce, .pa-js .pa-hb-nofade .pa-hb-puntini { transition-delay: 0s; transition-duration: 0s; } @media (max-width: 767px) {
.pa-hb-box, .pa-hb-box.pa-hb-lato-sinistra { left: 16px; right: 16px; bottom: 16px; width: auto; }
.pa-hb-box.pa-hb-nomobile { display: none; }
.pa-hb-sezione .pa-hb-faccia { padding: 12px 16px 18px; }
.pa-hb-titolo { font-size: 15px; }
.pa-hb-card::after { left: 16px; right: 16px; bottom: 9px; }
} @media (prefers-reduced-motion: reduce) {
.pa-hb-zoom, .pa-foto-ok .pa-hb-zoom { animation: none; transform: none; transition: none; }
.pa-hb-zoom img { transform: none; }
.pa-hb-fx-kenburns .pa-hb-zoom img { animation: none; }
.pa-hb-luce { display: none; }
.pa-hb-box, .pa-hb-card, .pa-hb-facce, .pa-hb-puntini, .pa-hb-faccia, .pa-hb-riga,
.pa-js .pa-hb-box, .pa-js .pa-hb-card, .pa-js .pa-hb-facce, .pa-js .pa-hb-puntini { transition: none !important; }
}  .pa-hb-testi-on .nectar-split-heading,
.pa-hb-testi-on .pa-solo-desktop,
.pa-hb-testi-on .pa-solo-mobile,
.pa-hb-testi-on .nectar-rotating-words-title,
.pa-hero-foto:has(.pa-hb-testi) .nectar-split-heading,
.pa-hero-foto:has(.pa-hb-testi) .pa-solo-desktop,
.pa-hero-foto:has(.pa-hb-testi) .pa-solo-mobile,
.pa-hero-foto:has(.pa-hb-testi) .nectar-rotating-words-title { display: none !important; }
.pa-hb-testi { position: relative; z-index: 2; margin: 0 auto; max-width: var(--t-max, 1000px); }
.pa-hb-al-center { text-align: center; }
.pa-hb-al-left { text-align: left; margin-left: 0; } .pa-hb-testi .pa-hb-h {
margin: 0; padding: 0;
color: var(--t-col, #fff);
line-height: var(--t-lh, 1.2);
letter-spacing: var(--t-ls, 0);
text-shadow: var(--t-ombra, none);
}
.pa-hb-t-size .pa-hb-h { font-size: clamp(calc(var(--t-m) * 1px), calc(var(--t-m) * 1px + (var(--t-d) - var(--t-m)) * ((100vw - 375px) / 1065)), calc(var(--t-d) * 1px)); }
.pa-hb-t-peso .pa-hb-h { font-weight: var(--t-peso); }
.pa-hb-t-font .pa-hb-h, .pa-hb-t-font .pa-hb-frasi { font-family: var(--t-font); }
.pa-hb-t-maiusc .pa-hb-h { text-transform: uppercase; } .pa-hb-testi { transition: opacity var(--pa-tt, .5s) ease, transform var(--pa-tt, .5s) ease; }
.pa-hb-testi.pa-hb-testi-esce { opacity: 0; transform: translateY(8px); }
.pa-hb-frasi .pa-hb-sotto { display: none; }
.pa-hb-frasi.pa-hb-con-sotto .pa-hb-sotto { display: inline; }
.pa-hb-frasi.pa-hb-con-sotto .pa-hb-rot, .pa-hb-frasi.pa-hb-con-sotto .pa-hb-pref { display: none; } :where(.pa-hb-pos-on) { position: relative; min-height: 60svh; }
.pa-hb-sezione.pa-hb-pos-on > .pa-hb-testi {
--pa-pm: clamp(20px, 6vw, 96px);
position: absolute; z-index: 15; margin: 0;
width: max-content; max-width: min(var(--t-max, 1000px), calc(100% - 2 * var(--pa-pm)));
}
.pa-hb-sezione.pa-hb-pos-on > [class*="pa-hb-pos-alto"]   { top: 18%; }
.pa-hb-sezione.pa-hb-pos-on > [class*="pa-hb-pos-basso"]  { bottom: 12%; }
.pa-hb-sezione.pa-hb-pos-on > .pa-hb-pos-centro,
.pa-hb-sezione.pa-hb-pos-on > [class*="pa-hb-pos-centro-"] { top: 50%; translate: 0 -50%; }
.pa-hb-sezione.pa-hb-pos-on > [class*="-sinistra"] { left: var(--pa-pm); text-align: left; }
.pa-hb-sezione.pa-hb-pos-on > [class*="-destra"]   { right: var(--pa-pm); text-align: right; }
.pa-hb-sezione.pa-hb-pos-on > .pa-hb-pos-alto-centro,
.pa-hb-sezione.pa-hb-pos-on > .pa-hb-pos-basso-centro { left: 50%; translate: -50% 0; text-align: center; }
.pa-hb-sezione.pa-hb-pos-on > .pa-hb-pos-centro { left: 50%; translate: -50% -50%; text-align: center; }
.pa-hb-sezione.pa-hb-pos-on > [class*="-sinistra"] .pa-hb-rot { justify-items: start; }
.pa-hb-sezione.pa-hb-pos-on > [class*="-destra"] .pa-hb-rot   { justify-items: end; } .pa-hb-testi .pa-hb-azioni { margin: var(--b-spazio, 28px) 0 0; padding: 0; }
.pa-hb-testi a.pa-hb-btn {
display: inline-block; padding: .85em 1.9em; border: 2px solid var(--b-bg, #fff); border-radius: var(--b-r, 4px);
font-family: inherit; font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; line-height: 1.2; letter-spacing: .02em;
text-decoration: none !important; box-shadow: none; cursor: pointer;
transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pa-hb-btn-pieno a.pa-hb-btn { background: var(--b-bg, #fff); color: var(--b-col, #1d1d1d) !important; }
.pa-hb-btn-pieno a.pa-hb-btn:hover, .pa-hb-btn-pieno a.pa-hb-btn:focus-visible { background: transparent; color: var(--b-bg, #fff) !important; }
.pa-hb-btn-contorno a.pa-hb-btn { background: transparent; color: var(--b-bg, #fff) !important; }
.pa-hb-btn-contorno a.pa-hb-btn:hover, .pa-hb-btn-contorno a.pa-hb-btn:focus-visible { background: var(--b-bg, #fff); color: var(--b-col, #1d1d1d) !important; }
.pa-hb-ent-dissolvenza .pa-hb-azioni, .pa-hb-ent-parole .pa-hb-azioni { animation: paHbDiss var(--t-dur, .8s) ease both; animation-delay: calc(var(--t-dur, .8s) * .8); }
.pa-hb-ent-sale .pa-hb-azioni { animation: paHbSale var(--t-dur, .8s) cubic-bezier(.2,.6,.2,1) both; animation-delay: calc(var(--t-dur, .8s) * .6); } .pa-hb-testi .pa-hb-frasi {
margin: var(--f-spazio, 16px) 0 0; padding: 0;
color: var(--f-col, #d7d7d7);
line-height: 1.35;
letter-spacing: var(--f-ls, 0);
text-shadow: var(--t-ombra, none);
}
.pa-hb-f-maiusc .pa-hb-frasi { text-transform: uppercase; }
.pa-hb-f-size .pa-hb-frasi { font-size: clamp(calc(var(--f-m) * 1px), calc(var(--f-m) * 1px + (var(--f-d) - var(--f-m)) * ((100vw - 375px) / 1065)), calc(var(--f-d) * 1px)); }
.pa-hb-f-peso .pa-hb-frasi { font-weight: var(--f-peso); } .pa-hb-rot { display: inline-grid; vertical-align: bottom; justify-items: center; }
.pa-hb-al-left .pa-hb-rot { justify-items: start; }
.pa-hb-frase {
grid-area: 1 / 1; white-space: nowrap; opacity: 0;
transition: opacity var(--f-tr, .5s) ease, transform var(--f-tr, .5s) cubic-bezier(.2,.6,.2,1), filter var(--f-tr, .5s) ease;
}
.pa-hb-frase.attiva { opacity: 1; } .pa-hb-eff-scorrimento { overflow: hidden; padding: .08em 0; }
.pa-hb-eff-scorrimento .pa-hb-frase { transform: translateY(80%); }
.pa-hb-eff-scorrimento .pa-hb-frase.attiva { transform: none; }
.pa-hb-eff-scorrimento .pa-hb-frase.uscita { transform: translateY(-80%); } .pa-hb-eff-sfocatura .pa-hb-frase { filter: blur(8px); }
.pa-hb-eff-sfocatura .pa-hb-frase.attiva { filter: none; } .pa-hb-eff-macchina.pa-hb-scrive .pa-hb-frase { opacity: 0 !important; transition: none; }
.pa-hb-scrivi { grid-area: 1 / 1; white-space: nowrap; }
.pa-hb-scrivi::after { content: ""; display: inline-block; width: .08em; height: 1em; margin-left: .06em; vertical-align: -.12em; background: currentColor; animation: paHbCursore 1s steps(1) infinite; }
@keyframes paHbCursore { 50% { opacity: 0; } } .pa-hb-ent-dissolvenza .pa-hb-h,
.pa-hb-ent-dissolvenza .pa-hb-frasi { animation: paHbDiss var(--t-dur, .8s) ease both; }
.pa-hb-ent-sale .pa-hb-h,
.pa-hb-ent-sale .pa-hb-frasi { animation: paHbSale var(--t-dur, .8s) cubic-bezier(.2,.6,.2,1) both; }
.pa-hb-ent-parole .pa-hb-parola { display: inline-block; animation: paHbSale var(--t-dur, .8s) cubic-bezier(.2,.6,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.pa-hb-ent-parole .pa-hb-frasi { animation: paHbDiss var(--t-dur, .8s) ease both; }
.pa-hb-ent-dissolvenza .pa-hb-frasi,
.pa-hb-ent-sale .pa-hb-frasi { animation-delay: calc(var(--t-dur, .8s) * .45); }
.pa-hb-ent-parole .pa-hb-frasi { animation-delay: calc(var(--t-dur, .8s) * .8); }
@keyframes paHbDiss { from { opacity: .01; } to { opacity: 1; } }
@keyframes paHbSale { from { opacity: .01; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
.pa-hb-testi .pa-hb-h, .pa-hb-testi .pa-hb-frasi, .pa-hb-testi .pa-hb-azioni, .pa-hb-parola { animation: none !important; }
.pa-hb-frase { transition: none !important; transform: none !important; filter: none !important; }
.pa-hb-scrivi::after { animation: none; }
}