.home-hero {
  background-image: none;
  min-height: min(680px, calc(100svh - 94px));
  padding: clamp(76px, 8vh, 104px) 0;
  display: grid;
  align-items: center;
  text-align: center;
}
.home-hero .home-hero-inner { max-width: 1060px; }
.home-hero h1 {
  max-width: 23ch;
  margin: 24px auto 0;
  font-size: clamp(40px, 4.1vw, 68px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-hero .home-hero-copy p {
  max-width: 60ch;
  margin: 34px auto 0;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
  text-wrap: balance;
}
.home-hero .eyebrow { font-size: 12px; letter-spacing: .14em; }
.hero-motion {
  right: 24px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border-color: #ffffff35;
  border-radius: 50%;
  background: #001840ab;
  transition: background .2s, border-color .2s;
}
.hero-motion:hover { background: #08264a; border-color: #ffffff80; }
.intro-open { overflow: hidden; }
.site-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 32px;
  border: 0;
  background: #001840;
  color: white;
}
.site-intro[open] { display: grid; place-content: center; justify-items: center; gap: 20px; }
.site-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, #001840ad, #00184080);
}
.site-intro video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}
.site-intro-logo { z-index: 2; }
.home-hero-video { opacity: 1; }
@media(max-width:700px) {
  .home-hero { min-height: 540px; padding: 72px 0; }
  .home-hero h1 { max-width: 19ch; font-size: clamp(35px, 8.8vw, 49px); }
  .home-hero .home-hero-copy p { margin-top: 30px; font-size: 16px; }
  .hero-motion { right: 18px; bottom: 18px; }
  .site-intro { padding: 18px; }
}
@media(prefers-reduced-motion:reduce) { .hero-motion { transition: none; } }

.home-showroom [hidden]{display:none!important}.showroom-pending{min-height:240px;display:grid;place-items:center;border:1px solid #294360;border-radius:24px;background:#08264a;color:#d7e6f5}

.home-hero,.site-intro{background:radial-gradient(ellipse at 12% 75%,#006a86 0%,transparent 48%),radial-gradient(ellipse at 85% 18%,#004b83 0%,transparent 55%),#001840}
.aquenza-fluid{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.hero.home-hero::before,dialog.site-intro::before{background:radial-gradient(ellipse 62% 46% at 50% 46%,#00184080 0%,#00184026 58%,transparent 100%),linear-gradient(180deg,#00184026,transparent 22%,transparent 78%,#00184066)}
.aquenza-water-logo{position:relative;z-index:2;width:min(490px,82vw);aspect-ratio:2013/440;margin:0 auto 48px}
.aquenza-water-logo img{display:block;width:100%;height:auto}
.aquenza-water-logo canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.aquenza-water-logo.motion-ready img{visibility:hidden}
.site-intro .aquenza-water-logo{width:min(820px,85vw);margin:0}
.home-hero h1 .hero-accent{color:#00e0f0}
@media(max-width:700px){.aquenza-water-logo{width:min(380px,82vw);margin-bottom:36px}}

/* Explicit restoration: static blue; animate only the original blue logo. */
body,.home-hero,.site-intro{background:#001840!important;background-image:none!important}.aquenza-fluid,.site-fluid-canvas{display:none!important}.hero.home-hero::before,dialog.site-intro::before{background:none!important}.home-hero .aquenza-water-logo,.site-intro .aquenza-water-logo{filter:none!important}

.showroom-thumbs{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:10px 2px 14px;scrollbar-width:thin}.showroom-thumbs button{flex:0 0 126px;min-width:0;border:1px solid #9eb1c644;border-radius:10px;padding:5px;background:#08264a;color:#edf7ff;cursor:pointer;text-align:left}.showroom-thumbs button[aria-pressed=true]{border-color:#00e0f0;outline:1px solid #00e0f0}.showroom-thumbs img{display:block;width:114px;height:64px;object-fit:cover;border-radius:5px}.showroom-thumbs span{display:block;font-size:11px;line-height:1.35;margin:8px 3px}.showroom-thumbs button:focus-visible{outline:2px solid #00e0f0;outline-offset:2px}.showroom-grid>*{min-width:0}.showroom-screen img{object-fit:contain;background:#001840}@media(max-width:700px){.showroom-thumbs button{flex-basis:104px}.showroom-thumbs img{width:92px;height:52px}}

/* Abertura isolada: o vídeo continua, o hero aparece somente após o diálogo. */
.intro-open .home-hero-copy{visibility:hidden}
.home-hero{min-height:calc(100svh - 94px);padding-top:92px;padding-bottom:120px}
.home-hero .home-hero-copy p{margin-top:56px}
@media(max-width:700px){.home-hero{min-height:650px;padding-top:84px;padding-bottom:108px}.home-hero .home-hero-copy p{margin-top:44px}}
/* F5 first paint: a fast synchronous guard prevents the restored page peeking through before the intro dialog opens. */
html.aquenza-reload-pending{overflow:hidden}
html.aquenza-reload-pending::before,html.aquenza-reload-pending::after{content:"";position:fixed;inset:0;pointer-events:none}
html.aquenza-reload-pending::before{z-index:2147483646;background:#001840}
html.aquenza-reload-pending::after{z-index:2147483647;inset:50% auto auto 50%;width:min(82vw,820px);aspect-ratio:2013/440;transform:translate(-50%,-50%);background:url('/assets/brand/aquenza/AQUENZA-Lockup-Transparente.png') center/contain no-repeat}

.home-showroom[data-single-slide=true] .showroom-controls,.home-showroom[data-single-slide=true] .showroom-thumbs{display:none!important}

/* Keep the F5 introduction visually separate from the live page canvas. */
body.intro-open dialog.site-intro{background:rgba(0,24,64,.58)!important}
body.intro-open dialog.site-intro::backdrop{background:rgba(0,24,64,.82)!important}
