/* Hero: carrossel 3D, texto de abertura e tooltip */
/* ===== HERO 3D ===== */
/* o hero ocupa uma tela e rola normalmente: a animação de scroll acontece enquanto ele sai,
   sem prender a página (antes eram 230vh com o palco preso no topo) */
#hero{position:relative;height:100vh;height:100svh}
.stage{position:relative;height:100%;overflow:hidden}
#ring{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:pan-y}
#ring.dragging{cursor:grabbing}
#ring.hovering{cursor:pointer}
.hero-copy{position:absolute;left:0;right:0;bottom:clamp(28px,6vh,64px);pointer-events:none;transition:opacity .4s}
.hero-copy .wrap{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;flex-wrap:wrap}
.hero-copy .lede{max-width:40ch;color:var(--ink-soft);font-size:1.02rem;pointer-events:auto}
.hero-copy .lede em{font-style:normal;color:var(--ink);font-weight:500}
.hero-copy .eyebrow{font-family:var(--script);font-size:1.9rem;line-height:1;color:var(--ink);margin-bottom:10px;display:block}
.hero-copy .btns{display:flex;gap:12px;flex-wrap:wrap;pointer-events:auto}
.hint{position:absolute;top:50%;right:clamp(16px,3vw,40px);transform:translateY(-50%);writing-mode:vertical-rl;color:var(--ink-fade);pointer-events:none}
.tip{position:fixed;z-index:55;pointer-events:none;background:var(--ink);color:var(--paper-2);padding:8px 14px;border-radius:999px;font-size:.78rem;white-space:nowrap;opacity:0;transform:translate(14px,14px) scale(.9);transition:opacity .2s,transform .2s}
.tip.on{opacity:1;transform:translate(14px,14px) scale(1)}
.tip b{font-weight:600}
.fallback-name{display:none}
.no-webgl .fallback-name{display:block;position:absolute;top:30%;left:0;right:0;text-align:center;font-family:var(--display);font-size:clamp(3rem,10vw,8rem);line-height:1}
.no-webgl .fallback-name em{font-family:var(--script);font-style:normal;display:block;font-size:.8em}

/* o anel se encaixa no espaço que sobra entre o header e este texto (hero-ring.js) */
@media (max-width: 720px){
  .hero-copy{bottom:calc(24px + env(safe-area-inset-bottom))}
  .hero-copy .wrap{gap:20px}
  .hero-copy .lede{font-size:.95rem}
  .hint{display:none}
}
/* tablet e computador: o botão não fica embaixo do atalho do WhatsApp (canto inferior direito) */
@media (min-width: 721px){
  .hero-copy .btns{margin-right:max(0px, calc(96px - (100vw - min(1180px, 100vw - 48px)) / 2))}
}
/* celular deitado: texto à esquerda e anel à direita */
@media (orientation: landscape) and (max-height: 500px){
  .hero-copy{right:auto;width:min(46%,440px);bottom:calc(16px + env(safe-area-inset-bottom))}
  .hero-copy .wrap{width:auto;margin-left:calc(24px + env(safe-area-inset-left));margin-right:0;gap:14px}
  .hero-copy .eyebrow{font-size:1.5rem;margin-bottom:6px}
  .hero-copy .lede{font-size:.88rem;line-height:1.5}
  .hero-copy .btns{margin-right:0}
  .hint{display:none}
}
