/* One camera remains in place while the chapters change around it. */
.cinema-world{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;perspective:1400px;background:#101113;opacity:0}
.cinema-plane{position:absolute;inset:0;will-change:opacity;opacity:0}
.cinema-plane>img,.cinema-plane>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cinema-plane:not([data-camera="ambiente"])>img,.cinema-plane:not([data-camera="ambiente"])>video{height:auto;top:50%;bottom:auto;transform:translateY(-50%);object-fit:contain;mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent)}
.cinema-plane .cinema-end{opacity:var(--cinema-reveal,0)}
.cinema-plane>video{opacity:0;transition:opacity .25s}
.cinema-plane>video.is-ready{opacity:1}
.cinema-plane::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#101113e8 0%,#10111380 37%,transparent 73%),linear-gradient(0deg,#101113,transparent 15%,transparent 89%,#101113)}
.cinema-plane[data-camera="ambiente"]::after{background:linear-gradient(90deg,#101113e3,#1011139a 37%,#10111310 75%),linear-gradient(0deg,#101113,transparent 15%,transparent 90%,#101113)}
.cinema-light{position:absolute;inset:-20%;opacity:0;pointer-events:none;background:radial-gradient(ellipse at 73% 46%,#dfad7720,transparent 42%)}
.cinema-active main{position:relative;z-index:1}
.cinema-active .cinema,.cinema-active .q-intro{background:transparent}
.cinema-active .cinema>.stage>.scene-media,.cinema-active .cinema>.stage>.shade,.cinema-active .cinema .media-caption{visibility:hidden}
.cinema-active .stage{z-index:1}
.cinema-active .contact,.cinema-active footer{position:relative;background:#101113;z-index:2}
.cinema-active .service-intro{opacity:var(--camera-copy,1)}
.scene-video{opacity:0!important;transition:opacity .25s}.scene-video.is-ready{opacity:1!important}
.hero .scene-media,.service-story .scene-media,.atmosphere .scene-media{transform:none}
@media(max-width:700px),(max-height:600px){
 .cinema-world{display:block;perspective:none}
 .cinema-plane:not([data-camera="ambiente"])>img,.cinema-plane:not([data-camera="ambiente"])>video{height:100%;top:0;transform:none;object-fit:cover;mask-image:none;object-position:70% center}
 .cinema-plane[data-camera="quadro"]>img,.cinema-plane[data-camera="quadro"]>video{object-fit:contain;object-position:center}
 .cinema-plane[data-camera="ambiente"]>img,.cinema-plane[data-camera="ambiente"]>video{object-position:60% center}
 .cinema-plane::after{background:linear-gradient(90deg,#101113ed,#101113cc 70%,#10111365)}
 .cinema-plane[data-camera="ambiente"]::after{background:linear-gradient(90deg,#101113ed,#101113cc 70%,#10111365)}
}
@media(max-width:700px){.hero .frame.first{width:100%;left:0;right:auto}.hero .scene-video{object-fit:contain}}
@media(prefers-reduced-motion:reduce){.cinema-world{display:none}}
@media(max-width:700px){.contact-heading{min-width:0;width:100%}.phone[href^="mailto:"]{display:block;overflow-wrap:anywhere;font-size:clamp(14px,4.2vw,18px)}}

/* Keep the approved sticky scenes on mobile; only the QDC composition changes. */
@media(max-width:700px){
 .hero{height:205svh}
 .hero .stage{height:100svh;min-height:560px;padding-bottom:0;display:block;overflow:hidden}
 .hero .scene-media{position:absolute;top:0;bottom:0;left:-18%;right:-35%;margin:0;aspect-ratio:auto;opacity:.5;mask-image:linear-gradient(transparent,#000 22%,#000 74%,transparent)}
 .hero .frame,.hero .frame.first,.hero .scene-video{width:100%;height:100%;inset:0;transform:none;object-fit:cover;object-position:95% center}
 .hero .shade{display:block;background:linear-gradient(90deg,#101113f2,#101113ad 52%,#10111335);pointer-events:none}
 .hero .chapter-reveal{top:105px}
 .hero .hero-copy{padding-top:105px}
 .hero .chapter-reveal::before{backdrop-filter:none;-webkit-backdrop-filter:none}
 .service-beat,.room-beat{opacity:1;transform:none}
 .button,.button.small,.contact-heading .button{background:transparent;color:var(--text);border:1px solid #dfad7780;border-radius:999px;box-shadow:none}
 .button:hover,.button:focus-visible{background:#dfad7715;color:var(--text);border-color:var(--accent)}
}
@media(max-width:700px) and (max-height:600px){
 .hero .chapter-reveal{display:block;top:48px}
 .hero .hero-copy{padding-top:48px}
}

/* A recognizable contact action, with a direct link and generous touch target. */
.button[data-whatsapp],.button.small[data-whatsapp],.contact-heading .button[data-whatsapp]{border:1px solid #25d36699;border-radius:999px;background:#10271d;color:#f1f0ed;gap:14px;position:relative;z-index:2;pointer-events:auto;touch-action:manipulation}
.button[data-whatsapp]:hover,.button[data-whatsapp]:focus-visible{background:#16402a;border-color:#25d366}
.whatsapp-icon{display:inline-block;width:22px;height:22px;flex:0 0 22px;color:#25d366;vertical-align:middle;pointer-events:none}
.service-beat a[data-service]{min-height:44px;display:inline-flex;align-items:center;gap:14px;position:relative;z-index:2;touch-action:manipulation;pointer-events:auto}

/* Manual horizontal chapters on every screen size. */
 .mobile-rail{position:relative;display:flex;align-items:stretch;gap:24px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;pointer-events:auto}
 .mobile-rail::-webkit-scrollbar{display:none}
 .mobile-rail>.service-beat,.mobile-rail>.room-beat,.reduced-motion .mobile-rail>.service-beat,.reduced-motion .mobile-rail>.room-beat{flex:0 0 100%;width:100%;min-height:0;scroll-snap-align:start;scroll-snap-stop:normal;padding:28px 0 32px;justify-content:flex-start;opacity:1;transform:none}
 .mobile-rail h3,.mobile-rail .room-beat h2{font-size:clamp(29px,8.5vw,38px)}
 .mobile-rail .service-beat p,.mobile-rail .room-beat>p:not(.eyebrow){max-width:none;font-size:16px;line-height:1.65;margin:20px 0}
 .mobile-rail .room-beat .button{margin-top:auto;font-size:14px;max-width:100%;gap:12px}
 .rail-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:2;pointer-events:auto}
 .rail-arrow,.rail-dot{border:0;background:transparent;color:var(--text);width:44px;height:44px;padding:0;cursor:pointer;touch-action:manipulation}
 .rail-arrow{font-size:24px;border:1px solid #ffffff30;border-radius:50%}.rail-arrow:disabled{opacity:.3;cursor:default}
 .rail-dots{display:flex;gap:0}.rail-dot{width:32px}.rail-dot::after{content:'';display:block;margin:auto;width:7px;height:7px;border-radius:50%;background:#ffffff40}
 .rail-dot[aria-current='true']::after{background:var(--accent);width:18px;border-radius:10px}
 .rail-count{font-size:12px;color:var(--muted);white-space:nowrap}
 .rail-hint{display:block;font-size:12px;color:#b8b9bb;margin:12px 0 0;letter-spacing:.3px}
 .rail-hint span{color:var(--accent);margin-left:8px}
 .service-intro{min-height:0;padding:80px 0 28px}
 .service-foot{padding-top:20px}
 .room-mobile-title{display:block;padding:80px 0 28px}.room-mobile-title h2{font-size:clamp(37px,10vw,50px)}
 .room-mobile-title .eyebrow{margin-bottom:20px}
 .story-content,.room-story{padding-bottom:60px}

@media(min-width:701px){
 .story-content,.room-story{padding-bottom:14svh}
 .mobile-rail,.rail-controls,.rail-hint{width:60%;max-width:760px}
 .mobile-rail>.service-beat,.mobile-rail>.room-beat{min-height:420px;padding:36px 0 48px}
 .mobile-rail h3,.mobile-rail .room-beat h2{font-size:clamp(34px,3.5vw,54px)}
 .mobile-rail .service-beat p,.mobile-rail .room-beat>p:not(.eyebrow){max-width:540px;font-size:17px}
 .service-intro,.reduced-motion .service-intro{min-height:0;padding:100px 0 40px}
 .room-mobile-title{padding:100px 0 40px}
 .room-mobile-title h2{font-size:clamp(40px,4.2vw,64px)}
 .service-intro h2{font-size:clamp(40px,4.2vw,64px)}
 .rail-hint{font-size:13px}
 .service-foot{max-width:60%}
}
@media(min-width:701px) and (max-width:1050px){
 .mobile-rail,.rail-controls,.rail-hint{width:72%}
}

.whatsapp-floating{position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:20;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#25d366;color:#082317;box-shadow:0 6px 24px #0006;border:1px solid #75eda5;touch-action:manipulation;pointer-events:auto}
.whatsapp-floating .whatsapp-icon{color:inherit;width:28px;height:28px;flex-basis:28px}
.whatsapp-floating:hover{background:#59e88d}.whatsapp-floating:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:700px){.whatsapp-floating{right:16px;width:52px;height:52px}footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
