/* Hero de vídeo com poster fotográfico. Tenta áudio ao abrir; respeita bloqueios de autoplay. */
.hero{isolation:isolate}
.hero-background-video{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:cover;object-position:center;pointer-events:none;opacity:0;transition:opacity .65s ease-out;background:transparent}
.hero-background-video.is-playing{opacity:1}
.hero-video-sound{position:absolute;z-index:7;right:max(24px,env(safe-area-inset-right));bottom:max(85px,env(safe-area-inset-bottom));min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;border:1px solid rgba(242,231,206,.65);border-radius:999px;background:rgba(23,32,19,.78);color:#f6ebd5;font:600 12px/1.2 'DM Sans',Arial,sans-serif;cursor:pointer;backdrop-filter:blur(10px);transition:background .2s,border-color .2s}
.hero-video-sound:hover{background:rgba(44,58,35,.92);border-color:#f5e4b9}
.hero-video-sound:focus-visible{outline:3px solid #e9cc88;outline-offset:3px}
.hero-video-sound svg{display:block;width:19px;height:19px;flex:none;stroke:currentColor}
.hero-video-sound[aria-pressed="true"]{background:rgba(240,222,181,.93);color:#253021;border-color:transparent}
.hero-video-sound:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:560px){.hero-video-sound{right:15px;bottom:80px;padding:11px;min-width:44px;min-height:44px}.hero-video-sound .sound-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.hero-background-video{transition:none}.hero-background-video:not(.is-user-playing){opacity:0!important}}

/* Os controles de áudio e luz permanecem juntos enquanto a página rola.
   O botão de som continua ligado ao vídeo original; nenhuma mídia duplicada. */
.aura-floating-controls {
  position:fixed;
  z-index:85;
  right:18px;
  bottom:18px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  max-width:calc(100vw - 24px);
}
.aura-floating-controls .hero-video-sound,
.aura-floating-controls .aura-lux-toggle {
  position:relative;
  inset:auto;
  right:auto;
  bottom:auto;
  margin:0;
  flex:0 0 auto;
}
@media(max-width:700px) {
  .aura-floating-controls {
    right:12px;
    bottom:max(12px,env(safe-area-inset-bottom));
    gap:8px;
  }
  .aura-floating-controls .hero-video-sound {
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
    border-radius:50%;
  }
  .aura-floating-controls .hero-video-sound .sound-label {
    position:absolute!important;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
  }
}
