/* Maison con effetti (prova): foto ferma con testo che scorre, zoom lento, dissolvenze, video in loop */
.fx-pin{position:relative;background:#111}
.fx-bg{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.fx-bg img,.fx-bg video{width:100%;height:100%;object-fit:cover;display:block}
.fx-z{transform:scale(1.15);will-change:transform;transform-origin:50% 50%}
.fx-over{position:relative;z-index:2;margin-top:-100vh;margin-top:-100svh;padding:100vh 7vw 34vh;padding-top:100svh;display:flex;justify-content:flex-end}
.fx-card{background:#fff;max-width:470px;padding:46px 48px;box-sizing:border-box}
.fx-card h2{font-size:32px;font-weight:400;line-height:1.2;margin:0 0 18px;color:#18181b}
.fx-card p{font-size:15px;line-height:1.7;color:#3f3f46;margin:0}
.fx-card .mz-eye{margin:0 0 10px}
/* video a tutto schermo */
.fx-vid .fx-veil{position:absolute;inset:0;background:rgba(0,0,0,.42)}
.fx-vid .fx-over{justify-content:center;text-align:center;padding:62vh 24px 40vh}
.fx-vtxt{max-width:900px;color:#fff}
.fx-vtxt .mz-eye,.fx-vtxt h2,.fx-vtxt .mz-nums b,.fx-vtxt .mz-nums span,.fx-vtxt .mz-sf-p{color:#fff!important}
.fx-vtxt h2{font-size:38px;font-weight:400;line-height:1.2;margin:0 0 18px}
.fx-vtxt .mz-nums>div{opacity:0;transform:translateY(30px);transition:opacity 1s ease,transform 1s ease}
.fx-vtxt .mz-nums.in>div{opacity:1;transform:none}
.fx-vtxt .mz-nums.in>div:nth-child(2){transition-delay:.25s}
.fx-vtxt .mz-nums.in>div:nth-child(3){transition-delay:.5s}
.fx-page .mz-sf{padding-top:70px}
html:not([lang="it"]) .fx-page .mz-v2{display:none}
/* frase grande al centro */
.fx-quote{background:#fff;padding:22vh 24px;text-align:center}
.fx-quote .mz-eye{opacity:0;transition:opacity 1.2s ease .2s}
.fx-quote blockquote{margin:0 auto;max-width:980px;font-size:clamp(28px,4.2vw,56px);line-height:1.25;font-weight:400;color:#18181b;letter-spacing:.06em;opacity:0;transform:translateY(40px);transition:opacity 1.6s ease,transform 1.6s ease,letter-spacing 2.2s ease}
.fx-quote.in .mz-eye{opacity:1}
.fx-quote.in blockquote{opacity:1;transform:none;letter-spacing:0}
/* titolo in alto che sfuma scorrendo */
.fx-page .mz-hero img{transform-origin:50% 40%;will-change:transform}
.fx-page .mz-hero-txt{will-change:opacity,transform}
/* zoom lento delle foto nei riquadri */
.fx-page .mz-img img,.fx-page .mz-step img,.fx-page .h4-band img{will-change:transform}
@media(max-width:760px){
 .fx-over{padding:100svh 16px 30vh;justify-content:center}
 .fx-card{padding:32px 26px}
 .fx-card h2{font-size:26px}
 .fx-vid .fx-over{padding:55svh 16px 35svh}
 .fx-vtxt h2{font-size:28px}
 .fx-vtxt .mz-nums b{font-size:34px}
 .fx-quote{padding:16vh 18px}
}
@media(prefers-reduced-motion:reduce){
 .fx-z{transform:none!important}
 .fx-quote blockquote,.fx-quote .mz-eye,.fx-vtxt .mz-nums>div{opacity:1!important;transform:none!important;transition:none!important;letter-spacing:0!important}
}
