/* hero.css — hero escuro com linhas topográficas, headline com serifa, CTA lime e painel inclinado em perspectiva */
.hero { position: relative; min-height: min(100svh, 62.5vw + 6rem); min-height: max(44rem, min(100svh, 60vw)); display: grid; align-items: center; background: var(--cor-fundo-hero); overflow: clip; isolation: isolate; padding-top: 5.5rem; }
.hero__fundo { position: absolute; inset: 0; z-index: -1;
  /* a base do fundo (linhas e brilho) se dissolve, sem borda reta na troca para a faixa de redes; --fade-base vem de config-efeitos.js (fadeLinhas) */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--fade-base, 14rem)), transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--fade-base, 14rem)), transparent 100%); background:
  radial-gradient(60% 70% at 78% 60%, rgba(84, 52, 255, 0.34), transparent 70%),
  radial-gradient(40% 40% at 10% 0%, rgba(94, 106, 210, 0.10), transparent 70%); }
.hero__topo { position: absolute; inset: -6% -4%; width: 108%; height: 112%; max-width: none; object-fit: cover; opacity: 0.9; will-change: transform; }
.hero__interno { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); width: 100%; padding: 1rem var(--pad-pagina) 3rem; }
.hero__texto { position: relative; z-index: 2; }
.hero h1 { color: var(--cor-texto); font-size: var(--titulo-hero); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.hero h1 em { font-size: 1.12em; letter-spacing: -0.02em; line-height: 0.9; }
.hero__linha { display: block; }
@media (min-width: 1001px) { .hero__linha { white-space: nowrap; } }
.hero__sub { max-width: 31rem; margin-top: 1.9rem; color: var(--cor-texto-2); font-size: var(--texto-lg); line-height: 1.55; opacity: 0.85; text-wrap: pretty; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__redes { display: flex; gap: 1.7rem; margin-top: 2.6rem; }
.hero__redes .icone { width: 1.65rem; height: 1.65rem; opacity: 1; }

.hero__visual { position: relative; padding-right: 1%; z-index: 1; perspective: 1900px; min-width: 0; margin-right: calc(-1 * var(--pad-pagina) * 0.55); }
.hero__cena { scale: 1.2; --rot-y: -26deg; --rot-x: 6deg; --rot-z: 1.2deg; position: relative; transform-style: preserve-3d; transform: rotateY(var(--rot-y)) rotateX(var(--rot-x)) rotateZ(var(--rot-z)); transform-origin: 45% 50%; will-change: transform; }
.hero__cena .moldura { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), -30px 50px 100px -20px rgba(70, 40, 255, 0.55), 0 60px 120px -30px rgba(0, 0, 0, 0.9); }
.hero__reflexo { position: absolute; inset: auto 6% -26% 6%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 80, 255, 0.35), transparent 75%); filter: blur(24px); transform: translateZ(-60px) scaleY(0.6); pointer-events: none; }

@media (max-width: 1000px) {
  .hero { min-height: 0; padding-top: 6.5rem; }
  .hero__interno { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { margin-right: 0; }
  .hero__cena { --rot-y: -12deg; --rot-x: 5deg; --rot-z: 0deg; }
}
@media (max-width: 560px) {
  .hero__interno { padding-bottom: 2rem; }
  .hero__acoes .botao { flex: 1 1 auto; }
  .hero__redes { gap: 1.2rem; }
  .hero__cena { --rot-y: -8deg; --rot-x: 4deg; --rot-z: 0deg; }
}

/* estado inicial da entrada (só com JS + movimento permitido; o GSAP assume a partir daí) */
html.anima .hero__sub, html.anima .hero__acoes .botao, html.anima .hero__redes li, html.anima .hero__cena:not(.com-js) { opacity: 0; }
