/* ---------- hero da home: foto full-bleed ---------- */
.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: clamp(440px, 56vw, 640px);
  align-items: center;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(14, 14, 16, 0.96) 0%,
    rgba(14, 14, 16, 0.9) 26%,
    rgba(14, 14, 16, 0.55) 46%,
    rgba(14, 14, 16, 0.16) 62%,
    rgba(14, 14, 16, 0) 78%
  );
  content: '';
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  padding-block: clamp(56px, 9vw, 100px);
  color: var(--text-on-ink);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  text-wrap: balance;
  color: var(--text-on-ink);
}

.hero-sub {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--text-on-ink-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .button-ghost {
  border-color: var(--line-on-ink-strong);
  color: var(--text-on-ink);
}

.hero .button-ghost:hover {
  border-color: var(--text-on-ink-muted);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- celular: mesma foto de fundo, texto por cima ---------- */
@media (max-width: 640px) {
  .hero {
    min-height: clamp(420px, 130vw, 560px);
  }

  .hero-media img {
    object-position: 80% center;
  }

  .hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(14, 14, 16, 0.55) 0%,
      rgba(14, 14, 16, 0.88) 55%,
      rgba(14, 14, 16, 0.96) 100%
    );
  }

  .hero-content {
    max-width: none;
    padding-block: 40px 32px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
