.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(0.55);
}

.hero__tubes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.hero__tubes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .hero__tubes {
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 35%, rgba(0,0,0,0.5) 55%, black 100%);
    mask-image: linear-gradient(to right, transparent 35%, rgba(0,0,0,0.5) 55%, black 100%);
  }
  .hero__tubes img {
    object-position: right center;
    filter: grayscale(1) brightness(0.75) contrast(1.1);
    animation: hero-tubes-drift 24s ease-in-out infinite alternate;
  }
}

@keyframes hero-tubes-drift {
  from { transform: scale(1.0) translateX(0); }
  to   { transform: scale(1.06) translateX(-12px); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,25,0.80);
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__overlay {
    background: linear-gradient(
      to right,
      rgba(26,26,25,0.97) 0%,
      rgba(26,26,25,0.92) 38%,
      rgba(26,26,25,0.72) 65%,
      rgba(26,26,25,0.45) 100%
    );
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-h) + var(--space-6));
  padding-bottom: var(--space-20);
  width: 100%;
}

.hero__label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--color-yellow);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  max-width: 14ch;
  margin-bottom: var(--space-6);
  line-height: 1.0;
}

.hero__title em {
  font-style: normal;
  color: var(--color-yellow);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 42ch;
  margin-bottom: var(--space-10);
  line-height: 1.4;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.4;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}

.hero__scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-yellow);
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Decorative diagonal corner */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-black);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}

/* CTA full-width em telas pequenas */
@media (max-width: 479px) {
  .hero__cta {
    flex-direction: column;
  }
  .hero__cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero__title {
    font-size: var(--text-4xl);
  }
}
