.grao { position: fixed; inset: -50%; z-index: 45; pointer-events: none; background: none; opacity: .028; animation: grao .7s steps(1) infinite; will-change: transform; }
.grao.on { background: url(img/grao.png) repeat; }
@keyframes grao { 0% { transform: translate(0, 0); } 14% { transform: translate(-6%, 4%); } 28% { transform: translate(5%, -7%); } 42% { transform: translate(-3%, -4%); } 57% { transform: translate(7%, 3%); } 71% { transform: translate(-7%, 6%); } 85% { transform: translate(3%, -2%); } }
@media (prefers-reduced-motion: reduce) { .grao { animation: none; } }

.ph-type { position: absolute; left: 0; bottom: 0; height: 46px; display: none; align-items: center; font-size: 17px; font-weight: 480; color: #737373; pointer-events: none; white-space: nowrap; }
.ph-type i { width: 1.5px; height: 20px; margin-left: 2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ph-type.show { display: inline-flex; }


.hero-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; overflow: hidden; transition: opacity .9s var(--ease); }
.hero-light::before { content: ''; position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,176,104,.16), rgba(217,176,104,.06) 45%, rgba(217,176,104,0) 100%); transform: translate(var(--lx, 70vw), var(--ly, 40vh)); will-change: transform; }
.hero-light.live { opacity: 1; }
.hero-in, .results { position: relative; }

.hero-obj { position: absolute; right: -3vw; top: 88px; width: 29vw; height: calc(29vw * 1.55); z-index: 0; pointer-events: none; will-change: transform, opacity; }
.hero-in { z-index: 1; }
.hero .fm { background: rgba(255,255,255,.62); backdrop-filter: blur(22px) saturate(1.5); border-color: rgba(255,255,255,.85); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px -24px rgba(14,14,14,.22); }
.obj-3d { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.obj-3d.vivo { opacity: 1; }
.obj-3d canvas { display: block; }
.obj-shadow { position: absolute; left: 50%; bottom: -2%; width: 46%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70,52,20,.32), rgba(70,52,20,0)); filter: blur(6px); transform: translateX(-50%); }
@media (max-width: 1099px) { .hero-obj { display: none !important; } }
.m-dia-w, .m-seal { display: none; }
.obj-3d .still { width: 70%; height: auto; margin: 8% auto 0; display: block; }
@media (max-width: 1099px) {
  .m-dia-w { display: block; position: relative; height: 0; margin-bottom: calc(-1 * clamp(32px, 6vw, 96px)); z-index: 0; }
  .m-dia { display: block; position: absolute; right: -6px; top: -34px; width: 92px; height: auto; transform: rotate(8deg); animation: mfloat 6s ease-in-out infinite; pointer-events: none; }
  .hero .fm { z-index: 1; }
  .m-seal { display: block; width: 52px; height: auto; margin: 0 auto 18px; }
  @keyframes mfloat { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-8px) rotate(5deg); } }
}
@media (prefers-reduced-motion: reduce) { .m-dia { animation: none; } }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
section[id], #pedido { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html.fm-lock .hero-in { z-index: 90; }
.fm-veil { position: fixed; inset: 0; z-index: 79; background: rgba(14,14,14,.32); backdrop-filter: blur(10px) saturate(1.1); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.fm-veil.on { opacity: 1; pointer-events: auto; }
.fm-close { display: none; position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); cursor: pointer; place-items: center; transition: background-color .2s var(--ease); }
.fm-close:hover { background: #E6E6E3; }
.fm-close svg { width: 16px; height: 16px; }
.hero .fm.as-modal { position: fixed; z-index: 80; left: 50%; top: 50%; width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; animation: none; transform: translate(-50%, -48%) scale(.97); opacity: 0; transition: opacity .3s var(--ease), transform .4s var(--ease); background: var(--paper); backdrop-filter: none; box-shadow: 0 40px 100px -30px rgba(14,14,14,.5); }
.hero .fm.as-modal.on { opacity: 1; transform: translate(-50%, -50%); }
.hero .fm.as-modal .fm-close { display: grid; }
.hero .fm.as-modal .fm-top { padding-right: 44px; }
.fm-sub .in-modal, .hero .fm.as-modal .fm-sub .in-hero { display: none; }
.hero .fm.as-modal .fm-sub .in-modal { display: inline; }
.fm-hold { display: none; }
.fm-hold.on { display: block; }
html.fm-lock { overflow: hidden; }

.consent { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(23rem, calc(100vw - 40px)); padding: 20px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(14,14,14,.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .26s ease-out, transform .26s ease-out; }
.consent[hidden] { display: none; }
.consent.on { opacity: 1; transform: none; pointer-events: auto; }
.consent-t { margin: 0; font-size: 15px; font-weight: 680; letter-spacing: -0.01em; }
.consent-p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent-p a { color: var(--ink); }
.consent-a { display: flex; gap: 8px; margin-top: 16px; }
.consent-a .btn { flex: 1; }
@media (max-width: 620px) { .consent { left: 12px; right: 12px; bottom: 12px; width: auto; } }
.faq .small a, .fm-micro a, .consent-p a, .f-bot a, .f-contact a { transition: color .2s var(--ease), text-decoration-thickness .2s var(--ease); }
.faq .small a:hover, .fm-micro a:hover, .consent-p a:hover { color: var(--gold); }
.f-bot a:hover { color: var(--on-night); }
.acc-i button { transition: color .2s var(--ease); }
.acc-i button:hover { color: #8A6420; }
.nav .brand:hover img { opacity: .7; }
.field input:hover, .field select:hover { border-bottom-color: var(--ink); }
.f-legal { display: inline-flex; gap: 20px; align-items: center; }
.f-cookies { background: none; border: 0; padding: 0; font: inherit; color: var(--on-night-mute); text-decoration: underline; cursor: pointer; }
.f-cookies:hover { color: var(--on-night); }

.final { position: relative; overflow: hidden; }
.final-in { position: relative; z-index: 1; }
.obj-anchor { position: absolute; pointer-events: none; visibility: hidden; }
.obj-final { right: 5vw; top: 12%; width: 17vw; height: calc(17vw * 1.55); }
.obj-foot { right: 1.6vw; top: 17%; width: max(14vw, 190px); height: calc(max(14vw, 190px) * 1.55); }
body { position: relative; }
.fly-clip { position: absolute; inset: 0; overflow: clip; pointer-events: none; z-index: 2; }
.obj-fly { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; display: none; opacity: 0; will-change: transform, opacity; }
.obj-fly canvas { display: block; }
.obj-fly .fly-sh { position: absolute; inset: 0; }
.obj-fly .obj-shadow { display: block; }
.fly-clip .obj-fly { display: block; }
.final-in { z-index: 3; }
.foot .f-main, .foot .f-bot { z-index: 3; }
.foot .f-vert { background: rgba(255,255,255,.07); backdrop-filter: blur(14px) saturate(1.3); }
@media (max-width: 1099px) { .obj-fly { display: none !important; } }
