
/* GRUPPO AGUST — V6.20
   Layout finale: un solo sistema di spaziatura, contenitori allineati,
   scenari scrollabili, barra strumenti flottante, sfondi statici.
   Non modifica palette, loghi, video e contenuti approvati. */
:root{--ui-side:clamp(16px,4vw,44px);--ui-radius:18px;--ui-gap:12px;--ui-control:46px;--ui-max:1040px;--ui-soft:#f9fbf1;--ui-line:#dfe6dc}
html,body{height:100%;height:100dvh;overflow:hidden}
.site{height:100dvh;min-height:0;overflow:hidden}
.site .ribbons,.site .home-paper{pointer-events:none;position:absolute;will-change:auto}
.site .ribbons{z-index:1}
.site .home-paper{z-index:0;border:0}
.site .home-paper svg{display:block;vertical-align:bottom;transform:translateY(.5px)}
/* Nessuna toolbar o fascia trasparente: soltanto tre pulsanti indipendenti. */
.topbar,.site .topbar{position:absolute;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;transform:translateX(-50%);width:min(1240px,calc(100% - 2*var(--ui-side)));height:48px;z-index:60;margin:0;padding:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
.topbar .back,.topbar .contactLink,.topbar .lang{pointer-events:auto;min-height:42px;min-width:42px;background:var(--ui-soft)!important;color:#344338!important;border:1px solid #dce5d8!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(38,47,34,.055)!important;backdrop-filter:none!important}
.topbar .back{align-items:center;gap:6px;padding:0 12px!important;font-size:12.5px;white-space:nowrap}
.topbar .contactLink{display:flex;align-items:center;justify-content:center;padding:0 15px!important;font-size:12.5px;white-space:nowrap}
.topbar .lang{padding:4px;display:flex;gap:2px}
.topbar .lang button{min-width:31px;height:32px;border-radius:10px;font-size:12px}
.topbar .topright{gap:9px;margin-left:auto;pointer-events:none}
.topbar .back svg{width:17px;height:17px}
.site:not(.is-home) .back{display:inline-flex!important}
/* Il solo livello che scorre è la schermata attiva. Niente scrolling del body/header. */
.site main{height:100%;min-height:0;position:relative;overflow:hidden;z-index:3;flex:1}
.scene,.scene.active{position:absolute;inset:0;height:100%;min-height:0;width:100%;padding:calc(72px + env(safe-area-inset-top,0px)) var(--ui-side) calc(32px + env(safe-area-inset-bottom,0px));overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:none;align-items:flex-start;justify-content:flex-start;box-sizing:border-box;scroll-padding-top:80px}
.scene::-webkit-scrollbar{display:none}
.scene:focus{outline:none}
.scene:not(.active){pointer-events:none}
.scene.active{pointer-events:auto;transform:translate3d(0,0,0) scale(1);transition:opacity .14s ease-out,transform .46s cubic-bezier(.18,1.09,.35,1),visibility 0s}
.scene:not(.active){transform:translate3d(19px,0,0) scale(.991);transition:opacity .14s ease-out,transform .42s cubic-bezier(.18,1.09,.35,1),visibility 0s linear .43s}
/* HOME: nessuna altezza forzata, contenuti e pulsanti sempre raggiungibili su telefoni bassi. */
#s-home.scene{overflow-y:auto!important}
#s-home .home{height:auto!important;min-height:calc(100% - 12px);margin:0 auto!important;padding:4px 0 30px!important;max-width:840px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start!important;gap:clamp(13px,1.8vh,22px)!important}
#s-home .home-identity{margin:0 0 3px;flex:none}
#s-home .home-logo{height:clamp(95px,13vh,136px)!important;width:auto;max-width:min(100%,290px);object-fit:contain}
#s-home .main-video{width:min(750px,100%);max-height:none!important;min-height:0;aspect-ratio:16/9;height:auto!important;flex:none;box-sizing:border-box;border-radius:24px}
#s-home .main-video video{object-fit:contain;object-position:center;background:#64372f}
#s-home .home-discover{width:100%;gap:10px;flex:none}
#s-home .home-question{max-width:600px;font-size:clamp(16px,2.1vw,20px);line-height:1.35;margin:0 auto;text-align:center;color:#64372f}
#s-home .home-help{min-height:50px;min-width:200px;border-radius:17px;background:#177da9!important;border-color:#177da9!important;color:#fff!important;padding:0 25px;font-weight:800;box-shadow:0 11px 23px rgba(20,106,146,.18)}
#s-home .brand-grid{width:min(750px,100%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px auto 0!important;flex:none}
#s-home .brand-tile{width:100%;min-height:98px;border-radius:19px;padding:12px;background:#fff;box-shadow:0 6px 16px rgba(31,43,29,.04)}
#s-home .home-extra{display:flex!important;align-items:center;justify-content:center;gap:10px 12px;min-height:44px;margin:15px auto 0!important;padding:0 0 12px!important;flex:none;width:100%;max-width:750px}
#s-home .home-extra button{min-height:44px;padding:9px 14px;border-radius:14px;background:#fff;border:1px solid #dce5d7;box-shadow:0 4px 12px rgba(32,45,29,.04);font-size:12px;line-height:1.3;white-space:normal}
#s-home .home-extra button:hover{background:#f5f8ef}
/* Step di scelta: box identici e griglia continua. */
#s-goal .question,#s-priority .question{width:min(880px,100%);margin:auto;min-width:0}
#s-goal .choices,#s-priority .choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,16px);width:min(800px,100%);margin:25px auto 0;align-items:stretch}
#s-goal .choice,#s-priority .choice{height:100%;min-width:0;min-height:148px;border-radius:20px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;overflow:hidden}
#s-goal .choice-copy,#s-priority .choice-copy{width:100%;min-width:0}
#s-goal .choice-copy strong,#s-priority .choice-copy strong{font-size:clamp(13.5px,1.7vw,16px);line-height:1.32;overflow-wrap:break-word}
#s-goal .choice-copy small,#s-priority .choice-copy small{font-size:12px;line-height:1.4}
#s-goal .choice-index,#s-priority .choice-index{display:none!important}
/* Brand: larghezza unica di video, benefici, premi e pulsanti nella colonna. */
#s-brand.scene{display:block!important;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overflow-x:hidden!important}
#s-brand .feature{width:min(1120px,100%);max-width:1120px;margin:0 auto!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:start;gap:clamp(26px,4vw,58px);padding:12px 0 42px!important;position:relative;z-index:4}
#s-brand .feature-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:none!important;width:100%;gap:0}
#s-brand .feature-copy .heading{font-size:clamp(27px,3vw,40px);line-height:1.18;max-width:100%}
#s-brand .feature-copy .intro{font-size:14px;line-height:1.6;max-width:100%;margin:10px 0 0}
#s-brand .feature-visual{width:100%;max-width:445px;justify-self:center;position:relative;z-index:3;margin:0}
#s-brand .feature-visual .feature-media{width:100%;max-width:none;max-height:none!important;aspect-ratio:1/1;border-radius:24px;overflow:hidden}
#s-brand .feature[data-brand="natura"] .feature-media{aspect-ratio:2.65/1!important;min-height:116px}
#s-brand .feature-media video{object-fit:contain}
#s-brand .brand-benefits,#s-brand .brand-awards,#s-brand .feature .actions{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin-left:0!important;margin-right:0!important}
#s-brand .brand-benefits{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
#s-brand .brand-benefit{width:100%;min-width:0;display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.95);box-shadow:0 5px 14px rgba(31,38,26,.035);box-sizing:border-box}
#s-brand .brand-benefit-copy{min-width:0;flex:1}
#s-brand .brand-benefit-copy strong{font-size:13px;line-height:1.3}
#s-brand .brand-benefit-copy small{font-size:11.5px;line-height:1.5}
#s-brand .brand-awards{margin-top:16px!important;padding:5px 16px 7px!important;border-radius:18px;box-sizing:border-box;background:#fff;box-shadow:0 7px 18px rgba(28,40,26,.04)}
#s-brand .award-v18-heading{gap:12px}
#s-brand .award-v18-rows{padding-left:58px}
#s-brand .award-v18-row{min-width:0;gap:9px}
#s-brand .award-v18-row strong,#s-brand .award-v18-row span{overflow-wrap:anywhere;white-space:normal}
#s-brand .feature .actions{display:grid!important;grid-template-columns:1fr;gap:10px;margin-top:20px!important;padding-bottom:0!important;justify-items:stretch;align-items:stretch}
#s-brand .feature .actions .btn.secondary,#s-brand .feature .actions .plainlink{display:flex!important;width:100%;min-height:46px;align-items:center;justify-content:center;border-radius:15px;background:#fff;border:1px solid #dae4d7;color:#344538;text-align:center;font-weight:800;box-shadow:none;box-sizing:border-box;grid-column:auto;max-width:none;margin:0;padding:10px 16px!important}
#s-brand .feature .actions .plainlink{font-size:13px}
#s-brand .feature .actions .btn.primary{display:none!important}
#s-brand .feature[data-brand="natura"] .product-cup{width:96px!important;height:96px!important;right:3px!important;bottom:-33px!important}
#s-brand .feature[data-brand="natura"] .product-cup img{transform:rotate(12deg)!important}
.brand-fixed-cta{z-index:70;bottom:calc(14px + env(safe-area-inset-bottom,0px));max-width:420px;width:calc(100% - 32px);min-height:54px;box-shadow:0 11px 30px rgba(23,94,126,.19);border-radius:17px}
/* Fondo fotografico: elemento fuori dal pannello, non si sposta allo scrolling. */
/* Layout fotografico approvato: prima metà video su fondo chiaro;
   dalla metà del video in poi fotografia a tutta larghezza, sotto una sola onda sottile.
   La fotografia è nella SITE, fuori dallo scroller: resta ferma al passaggio dei contenuti. */
.site>.brand-photo-landscape{display:none;position:absolute;left:0;right:0;top:var(--brand-photo-top,360px);bottom:0;margin:0;height:auto;width:100%;max-width:none;transform:none;border:0;border-radius:0;background-color:#e7ebe4;background-position:center 25%;background-size:cover;overflow:hidden;pointer-events:none;z-index:2;isolation:isolate}
.site>.brand-photo-landscape #brandPhotoImage{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;pointer-events:none;z-index:0}
.site>.brand-photo-landscape .brand-photo-mask{position:absolute;inset:0 0 auto;width:100%;height:64px;z-index:1;background:none;border-radius:0;pointer-events:none}
.site>.brand-photo-landscape .brand-photo-mask svg{display:block;width:100%;height:100%;overflow:visible}
.site.is-brand>.brand-photo-landscape{display:none}
/* Compare: schede con stessa larghezza e allineamento, senza ranking. */
#s-compare .wrap{width:min(var(--ui-max),100%);margin:auto}
#s-compare .brand-overviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
#s-compare .brand-overview{min-height:100%;border-radius:20px;gap:12px;padding:18px 16px;align-items:stretch}
#s-compare .overview-cup{height:125px;max-height:125px;align-items:center}
#s-compare .overview-copy{gap:9px}
#s-compare .overview-headline{min-height:42px}
#s-compare .overview-benefit{font-size:12px}
/* Servizi / certificazioni: testi non sforano, card ordinate, nessun indice superfluo. */
#s-services .section-page,#s-certifications .section-page{width:min(var(--ui-max),100%);max-width:var(--ui-max);margin:auto;min-width:0}
#s-services .section-page .heading,#s-certifications .section-page .heading{font-size:clamp(27px,3.5vw,43px);line-height:1.14;max-width:770px}
#s-services .section-page .intro,#s-certifications .section-page .intro{max-width:720px;font-size:14px;line-height:1.56}
#s-services .service-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px auto 0;align-items:stretch}
#s-services .service-card{min-height:0;height:100%;border-radius:20px;padding:26px;gap:0;box-sizing:border-box}
#s-services .service-card h2{font-size:clamp(20px,2.2vw,26px);line-height:1.25;margin:0 0 10px}
#s-services .service-card p{font-size:13.5px;line-height:1.6}
#s-services .service-index,#s-services .section-small{display:none!important}
#s-services .section-actions,#s-certifications .section-actions{margin:24px auto 10px!important;display:flex;justify-content:center;align-items:stretch;gap:10px;flex-wrap:wrap;max-width:100%}
#s-services .section-actions .btn,#s-certifications .section-actions .btn{min-height:48px;max-width:100%;padding:10px 18px;white-space:normal}
#s-certifications .cert-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;margin-top:26px}
#s-certifications .cert-card{min-width:0;min-height:238px;border-radius:20px;padding:18px;height:100%;align-items:flex-start;box-sizing:border-box}
#s-certifications .cert-image{width:100%;height:62px;min-height:62px;margin:0 0 14px;display:flex;align-items:center}
#s-certifications .cert-image img{max-height:60px;max-width:100%}
#s-certifications .cert-card h2{font-size:17px;line-height:1.2;margin:0 0 9px}
#s-certifications .cert-card p{font-size:12px;line-height:1.55;margin:0 0 14px}
#s-certifications .cert-card .cert-type{margin-top:auto}
/* Footer e modulo contatti. */
#s-contact1 .narrow,#s-contact2>.narrow{width:min(650px,100%);min-width:0}
#s-contact2.scene{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-bottom:0!important}
#s-contact2>.narrow{margin:8px auto 0}
#s-contact1 .form-panel,#s-contact2 .form-panel{width:100%;max-width:100%;box-sizing:border-box}
#s-contact1 .field input,#s-contact2 .field input,#s-contact2 .field textarea{width:100%;min-width:0;border-radius:12px}
.company-footer{box-sizing:border-box;width:100vw;max-width:none;margin:44px 0 0;padding:32px max(22px, calc((100vw - 1040px)/2)) calc(24px + env(safe-area-inset-bottom));flex:none;border-radius:26px 26px 0 0;position:relative}
.company-footer-inner{align-items:start}
/* Media e feedback di interazione. */
.main-video .media-toggle,.feature-media .media-toggle{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%) scale(.96)!important}
.main-video.available .media-toggle,.feature-media.available .media-toggle{opacity:0;pointer-events:none}
.main-video:not(.available) .media-toggle,.feature-media:not(.available) .media-toggle{display:none!important}
.main-video.available.is-paused .media-toggle,.feature-media.available.is-paused .media-toggle{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)!important}
.main-video .media-toggle-icon:before,.feature-media .media-toggle-icon:before{clip-path:none!important;background:none!important;border-left:13px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent;width:0!important;height:0!important;left:3px;top:1px}
.main-video .media-toggle-icon:after,.feature-media .media-toggle-icon:after{display:none!important}
.btn,.home-help,.brand-tile,.brand-overview,.choice,.home-extra button,.topbar button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .18s ease,box-shadow .22s ease,transform .35s cubic-bezier(.19,1.2,.34,1)}
.btn:active,.home-help:active,.brand-tile:active,.brand-overview:active,.choice:active,.home-extra button:active{transform:scale(.975)}
/* TABLET */
@media (max-width:960px){
 #s-home .brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 #s-brand .feature{grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:24px}
 #s-certifications .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #s-compare .brand-overviews{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 #s-compare .brand-overview{padding:15px 13px}
}
/* SMARTPHONE + small tablets: all card columns share exactly the same max width. */
@media (max-width:760px){
 :root{--ui-side:clamp(16px,4.7vw,25px)}
 .topbar{top:calc(7px + env(safe-area-inset-top,0px));height:46px}
 .topbar .back,.topbar .contactLink,.topbar .lang{min-height:40px;border-radius:14px!important}
 .topbar .topright{gap:7px}
 .topbar .lang{padding:3px}
 .topbar .lang button{min-width:30px;height:32px}
 .scene,.scene.active{padding-top:calc(76px + env(safe-area-inset-top,0px));padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
 #s-home .home{gap:14px!important;min-height:calc(100% - 14px);padding-top:4px!important;padding-bottom:30px!important}
 #s-home .home-logo{height:clamp(88px,13vh,112px)!important}
 #s-home .main-video{width:min(100%,360px);border-radius:20px}
 #s-home .home-question{font-size:clamp(16px,4.1vw,18px);line-height:1.3;max-width:330px}
 #s-home .home-help{min-height:47px;min-width:205px;font-size:13px}
 #s-home .brand-grid{width:min(100%,360px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px auto 0!important}
 #s-home .brand-tile{height:72px;min-height:72px;max-height:72px;border-radius:17px;padding:10px}
 #s-home .brand-tile[data-brand="pura"] img{width:58px;height:58px}
 #s-home .brand-tile[data-brand="natura"] img{width:58px;height:58px}
 #s-home .brand-tile[data-brand="evo"] img{width:91px;height:auto}
 #s-home .brand-tile[data-brand="private"] img{width:126px;height:auto}
 #s-home .home-extra{width:min(100%,360px);gap:8px;margin:13px auto 0!important;padding-bottom:18px!important;display:grid!important;grid-template-columns:1fr 1fr}
 #s-home .home-extra button{font-size:11.3px;line-height:1.25;padding:9px 6px;height:100%;min-height:46px;border-radius:13px}
 #s-goal .choices,#s-priority .choices{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px;gap:10px}
 #s-goal .choice,#s-priority .choice{min-height:158px;padding:14px 12px;border-radius:17px}
 #s-goal .choice-copy strong,#s-priority .choice-copy strong{font-size:13.5px;line-height:1.32}
 #s-goal .choice-copy small,#s-priority .choice-copy small{font-size:11.2px;line-height:1.35}
 /* mobile brand layout: display:contents allows media to follow heading naturally, then all aligned width */
 #s-brand.scene{padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))!important}
 #s-brand .feature{width:min(100%,420px);display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:6px!important;padding-bottom:42px!important}
 #s-brand .feature-copy{display:contents!important}
 #s-brand .feature .feature-logo{order:1;align-self:center;margin:4px auto 12px!important;max-height:90px;object-position:center}
 #s-brand .feature .heading{order:2;align-self:stretch;text-align:center;font-size:clamp(22px,5.6vw,29px);line-height:1.16;letter-spacing:-.045em;margin:0}
 #s-brand .feature .intro{order:3;align-self:stretch;text-align:center;margin:9px 0 0;font-size:13px;line-height:1.53}
 #s-brand .feature-visual{order:4;width:100%;max-width:420px;align-self:stretch;margin:21px auto 46px!important}
 #s-brand .feature-visual .feature-media{width:100%;max-width:none;aspect-ratio:1/1;border-radius:20px}
 #s-brand .feature[data-brand="natura"] .feature-media{aspect-ratio:2.65/1!important;min-height:112px}
 #s-brand .product-cup{width:108px;height:108px;right:-2px;bottom:-40px}
 #s-brand .feature[data-brand="natura"] .product-cup{width:92px!important;height:92px!important;right:4px!important;bottom:-31px!important}
 #s-brand .feature[data-brand="natura"] .product-cup img{transform:rotate(12deg)!important}
 #s-brand .brand-benefits{order:5;align-self:stretch;grid-template-columns:1fr;gap:9px;margin-top:0}
 #s-brand .brand-awards{order:6;align-self:stretch;margin-top:16px!important}
 #s-brand .feature .actions{order:7;align-self:stretch;margin-top:18px!important}
 .site.is-brand>.brand-photo-landscape{display:block}
 #s-compare .brand-overviews{grid-template-columns:1fr;gap:11px}
 #s-compare .brand-overview{min-height:auto;grid-template-columns:90px minmax(0,1fr);display:grid;gap:13px;align-items:center;text-align:left;padding:14px;border-radius:18px}
 #s-compare .overview-cup{height:110px;max-height:110px;width:90px}
 #s-compare .overview-copy{gap:8px}
 #s-compare .overview-headline{font-size:15px;min-height:0}
 #s-compare .overview-benefits{gap:7px}
 #s-compare .overview-benefit{font-size:11.5px}
 #s-services .service-grid{grid-template-columns:1fr;gap:11px;margin-top:20px}
 #s-services .service-card{padding:20px;border-radius:18px;min-height:0}
 #s-services .service-card h2{font-size:20px}
 #s-services .section-actions,#s-certifications .section-actions{display:grid;grid-template-columns:1fr;width:100%;gap:9px;margin-top:18px!important}
 #s-services .section-actions .btn,#s-certifications .section-actions .btn{width:100%;min-height:46px}
 #s-certifications .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
 #s-certifications .cert-card{min-height:0;padding:14px;gap:0;border-radius:17px}
 #s-certifications .cert-image{height:48px;min-height:48px;margin-bottom:10px}
 #s-certifications .cert-image img{max-height:46px}
 #s-certifications .cert-card h2{font-size:15px}
 #s-certifications .cert-card p{font-size:11.2px;line-height:1.45}
 #s-contact2 .company-footer{margin-top:36px;border-radius:24px 24px 0 0;padding:28px 22px calc(28px + env(safe-area-inset-bottom))}
 #s-contact2 .company-footer-inner{grid-template-columns:1fr;gap:22px}
}
@media(max-width:370px){
 #s-home .home{gap:12px!important}
 #s-home .home-logo{height:84px!important}
 #s-home .brand-grid,#s-home .home-extra,#s-home .main-video{max-width:300px}
 #s-home .brand-tile{height:68px;min-height:68px;max-height:68px}
 #s-brand .feature .heading{font-size:22px}
 #s-brand .award-v18-rows{padding-left:0}
 #s-brand .award-v18-cover{width:39px;height:63px}
 #s-brand .award-v18-heading h3{font-size:12.5px}
 #s-services .section-page .heading,#s-certifications .section-page .heading{font-size:28px}
}
@media(max-height:700px) and (max-width:760px){
 #s-home .home{gap:11px!important}
 #s-home .home-logo{height:80px!important}
 #s-home .brand-grid{margin-top:2px!important}
}
@media(prefers-reduced-motion:reduce){.scene,.scene.active,.btn,.home-help,.choice,.brand-tile,.brand-overview,.topbar button{animation:none!important;transition:none!important}}
/* Ultimi controlli UX: niente titoli con contorno di focus e niente doppie schermate nella transizione. */
.scene h1[tabindex="-1"]:focus,.scene h1[tabindex="-1"]:focus-visible{outline:none!important}
.site{transition:background-color .16s ease,color .16s ease}
.scene:not(.active){opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity 0s,visibility 0s,transform .38s cubic-bezier(.2,1,.32,1)!important}
.scene.active{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:opacity .16s ease-out,transform .48s cubic-bezier(.18,1.06,.33,1),visibility 0s!important}
/* I contenuti scompaiono dolcemente sotto i comandi: nessuna barra di sfondo. */
@supports ((mask-image:linear-gradient(black,transparent)) or (-webkit-mask-image:linear-gradient(black,transparent))){
 .scene{mask-image:linear-gradient(to bottom,transparent 0,transparent 50px,#000 79px,#000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent 50px,#000 79px,#000 100%)}
}
/* Target touch leggermente più generosi senza ingrandire la topbar. */
.topbar .lang button{min-width:36px;height:34px}
@media(max-width:360px){.topbar .lang button{min-width:33px;height:34px}.topbar .contactLink{padding:0 12px!important}}
