/* Etapa 1 · Hero: teclas 3D com gravidade + "Aperte agora o [F2] na sua marca." */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
#cena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
#cena.pronto { opacity: 1; }

.hero-texto {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter) 6vh calc(var(--gutter) + 5vw);
  pointer-events: none;
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(44px, 6.4vw, 108px); line-height: .98; letter-spacing: -0.03em;
}
.hero h1 .linha { display: flex; align-items: center; gap: .22em; white-space: nowrap; }
.hero h1 .tecla { margin-top: .08em; }
.apoio { margin-top: 32px; color: var(--cinza); font-weight: 300; font-size: clamp(15px, 1.4vw, 21px); letter-spacing: .01em; }
.dica { margin-top: 14px; font-family: Menlo, monospace; font-size: 12px; color: #8a8e98; }
.dica kbd { font-family: inherit; color: var(--verde); }

/* tecla de seta para baixo: pequena, grafite como as teclas 3D; de tempos em tempos é "apertada" sozinha */
.tecla-desce {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; translate: -50% 0;
  width: 38px; height: 36px; display: grid; place-items: center; border-radius: 7px;
  background: linear-gradient(180deg, #2a2b2f, #1b1c1f); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 0 #0b0b0c, 0 8px 14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  color: #d9dade; transition: color .2s; animation: toque 2.6s ease-in-out infinite;
}
.tecla-desce svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tecla-desce:hover, .tecla-desce:focus-visible { color: var(--verde); }
.tecla-desce:focus-visible { outline: 2px solid var(--verde); outline-offset: 4px; }
.tecla-desce:active { transform: translateY(3px); box-shadow: 0 1px 0 #0b0b0c, 0 3px 6px rgba(0,0,0,.4); }
@keyframes toque { 0%, 78%, 100% { transform: none; box-shadow: 0 4px 0 #0b0b0c, 0 8px 14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
  84% { transform: translateY(3px); box-shadow: 0 1px 0 #0b0b0c, 0 3px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08); } }
@media (prefers-reduced-motion: reduce) { .tecla-desce { animation: none; } }

@media (max-width: 720px) {
  .hero-texto { justify-content: flex-start; padding: 22vh var(--gutter) 0; }
  .hero h1 .linha { flex-wrap: wrap; }
}
