/* ============================================
   HERO.CSS — Full-screen cinematic hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
}

/* ── Background Image with Parallax ── */
.hero__background {
  position: absolute;
  inset: 0%;
  z-index: 1;
}

.hero__background picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__background-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 75% center;
  will-change: transform;
  transition: transform 0s linear;
}

/* ── Multi-layer Overlay — cinematic feel ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 31, 58, 0.35) 0%,
      rgba(11, 31, 58, 0.55) 40%,
      rgba(11, 31, 58, 0.8) 75%,
      rgba(11, 31, 58, 0.96) 100%),
    linear-gradient(90deg,
      rgba(11, 31, 58, 0.7) 0%,
      rgba(11, 31, 58, 0.1) 60%,
      transparent 100%);
  z-index: 2;
}

/* ── Noise texture for premium feel ── */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

/* ── Container ── */
.hero__container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-24);
}

/* ── Content ── */
.hero__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ── Label ── */
.hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.4rem 1.1rem;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-amber-light);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  animation: fadeInDown 0.7s var(--ease-out-expo) both;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-amber);
  border-radius: var(--radius-full);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

/* ── Title ── */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tighter);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.15s both;
}

.hero__title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-light) 50%, #FDE68A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description ── */
.hero__description {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-10);
  max-width: 560px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

/* ── Buttons ── */
.hero__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.45s both;
}

.hero__btn-primary {
  padding: 0.95rem 2rem;
  font-size: var(--fs-md);
  border-radius: var(--radius-md);
}

.hero__btn-secondary {
  padding: 0.95rem 1.75rem;
  font-size: var(--fs-md);
  border-radius: var(--radius-md);
}

/* ── Badges ── */
.hero__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.75);
}

.hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-full);
  font-size: 10px;
  color: var(--color-amber);
}

/* ── Scroll indicator ── */
.hero__scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s var(--ease-out-expo) 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.8) 50%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── Wave transition bottom ── */
.hero .section-wave svg {
  height: 100px;
}


/* ──────────────────────────────────────────
   Mobile
────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero__background {
    inset: 0;
  }

  .hero__background picture {
    width: 100%;
    height: 100%;
  }

  .hero__background-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: none;
  }
}

/* ──────────────────────────────────────────
   Tablet + Mobile
────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__background {
    inset: 0;
  }

  .hero__background picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero__background-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: none;
    will-change: auto;
  }
}

/* Desktop grande */
@media (max-width: 1400px) {}

/* Notebook */
@media (max-width: 1200px) {}

/* Tablet horizontal */
@media (max-width: 1024px) {
  .hero__background {
    inset: 0;
  }

  .hero__background picture {
    width: 100%;
    height: 100%;
  }

  .hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }
}

/* Tablet vertical */
@media (max-width: 900px) {
  .hero__background-image {
    object-position: center;
  }
}

/* Mobile grande */
@media (max-width: 768px) {
  .hero__background-image {
    object-position: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero__background-image {
    object-position: center;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .hero__background-image {
    object-position: center;
  }
}

/* iPhone SE / telas muito pequenas */
@media (max-width: 375px) {
  .hero__background-image {
    object-position: center;
  }
}