/* Movimentos equivalentes aos blocos da referência. */
.reveal-ready .reveal{opacity:1;transform:none;transition:none}
.motion-enter{opacity:0;transition:opacity 1s ease-in-out,transform 1s ease-in-out}
.motion-enter[data-motion-direction="left"]{transform:translateX(5%)}
.motion-enter[data-motion-direction="right"]{transform:translateX(-5%)}
.motion-enter[data-motion-direction="top"]{transform:translateY(-5%)}
.motion-enter[data-motion-direction="bottom"]{opacity:1;transform:translateY(10%);transition:transform 1.5s ease-in-out .2s}
.motion-enter.motion-visible,.motion-enter:focus-within{opacity:1;transform:none}
.motion-enter:focus-within{transition:none}
@media(prefers-reduced-motion:reduce){.motion-enter,.motion-enter.motion-visible{opacity:1!important;transform:none!important;transition:none!important}}

/* Abertura: zoom discreto no texto e deslizamento no botão, como na referência. */
@keyframes hero-reference-zoom{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
@keyframes hero-reference-slide{from{opacity:0;transform:translateX(-5%)}to{opacity:1;transform:translateX(0)}}
.hero-copy > :not(.button){animation:hero-reference-zoom 1s ease-in-out both}
.hero-copy > .button{animation:hero-reference-slide 1s ease-in-out both}
.hero-image{animation:none}
@media(prefers-reduced-motion:reduce){.hero-copy > :not(.button),.hero-copy > .button,.hero-image{animation:none!important}}
.hero-copy > p:not(.eyebrow){animation-delay:0s}

/* Fundo em camadas e menu compacto ao rolar, como no site de referência. */
@media (min-width:1151px){
  .header{position:sticky;top:0;z-index:100;transition:height .3s ease,box-shadow .3s ease}
  .header .logo{transition:width .3s ease}
  .header.header-compact{height:68px;box-shadow:0 2px 12px #4c311c12}
  .header.header-compact .logo{width:180px}
  [id]{scroll-margin-top:80px}
}
.hero-copy{isolation:isolate}
.hero-copy::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle, #d3d8ad 0 49%, transparent 50%),radial-gradient(circle, #e3dfc0 0 49%, transparent 50%);background-repeat:no-repeat;background-size:clamp(180px,26vw,360px) clamp(180px,26vw,360px),clamp(110px,15vw,210px) clamp(110px,15vw,210px);background-position:calc(-1 * clamp(125px,16vw,225px)) calc(-20px + var(--hero-depth, 0px)), 94% calc(84% + var(--hero-depth, 0px));opacity:.45}
@media(prefers-reduced-motion:reduce){.header,.header .logo{transition:none}.hero-copy::before{background-position:calc(-1 * clamp(125px,16vw,225px)) -20px,94% 84%}}
