/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  z-index: 10;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0 40px;
  /* overflow: visible — não corta o título no desktop */
  overflow: visible;
}

.hero__grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}

.hero__left  { grid-column: 1 / span 8; }
.hero__right {
  grid-column: 10 / span 3;
  justify-self: end;
  text-align: right;
  padding-bottom: 10px;
  position: relative;
  z-index: 20;
}

.kicker {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .95;
  margin-bottom: 18px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: .86;
  font-size: clamp(3.25rem, 9.5vw, 9.75rem);
  position: relative;
  z-index: 5;
}

.hero__subtitle-wrapper {
  margin-top: 1.2rem;
  position: relative;
  z-index: 4;
  display: block;
}

.hero__desc {
  margin: 0 0 34px;
  max-width: 340px;
  color: var(--dim);
  line-height: 1.55;
  font-size: 14.5px;
}

/* CTA Magnético */
.magnetic-area {
  display: inline-block;
  padding: 18px;
  border-radius: 999px;
}

.cta {
  width: 168px; height: 168px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: border-color .25s ease;
  transform: translate3d(0,0,0);
}
@media (min-width: 769px) {
  .cta { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.cta:hover { border-color: rgba(176,38,255,.35); }

.cta__glow {
  position: absolute; inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(120px 120px at 30% 25%, rgba(176,38,255,.55), transparent 65%),
    radial-gradient(120px 120px at 75% 78%, rgba(0,229,255,.42), transparent 65%);
  opacity: .12; filter: blur(8px);
  transition: opacity .25s ease;
  pointer-events: none;
}
.cta:hover .cta__glow { opacity: .22; }

.cta__label {
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  opacity: .92; text-align: center;
}
.cta__icon { width: 22px; opacity: .9; transition: transform .35s ease; }
.cta:hover .cta__icon { transform: translateX(6px); }

/* HUD */
.hud {
  position: absolute; top: 120px; left: 40px; z-index: 11;
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(255,255,255,.36); line-height: 1.55; user-select: none;
}
.hud__block { white-space: nowrap; }

/* Rodapé da Hero */
.ui-footer {
  position: absolute;
  left: 40px; right: 40px; bottom: 30px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 11; font-size: 10px; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.ui-footer__right { display: flex; gap: 22px; }
.ui-link { transition: color .2s ease; }
.ui-link:hover { color: rgba(255,255,255,.9); }

/* ── RESPONSIVIDADE ── */
@media (max-width: 1024px) {
  .hero        { padding: 0 22px; }
  .hud         { display: none; }
  .hero__left  { grid-column: 1 / -1; }
  .hero__right { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .ui-footer   { left: 22px; right: 22px; }
}

@media (max-width: 768px) {
  .hero {
    /* Garante que o título não vaza — o body já tem overflow-x: hidden */
    padding: 0 20px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 13.5vw, 4.2rem);
    letter-spacing: -0.03em;
    line-height: 0.88;
  }

  .hero__right { margin-top: 28px; }

  .cta { width: 128px; height: 128px; }
  .magnetic-area { padding: 10px; }
  .ui-footer { display: none; }
}

@media (min-width: 1400px) {
  .hero__subtitle-wrapper { margin-top: 2rem; }
}