/* ============================================================
   hero.css — Banner hero principal
   ============================================================ */

.hero {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  background-color: var(--ecom-color-secondary-900);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 32rem;
  }
}

.hero__background {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(15 23 42 / 0.85) 0%,
    rgb(15 23 42 / 0.6) 50%,
    rgb(15 23 42 / 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-block: var(--ecom-space-12);
  text-align: left;
  margin-right: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ecom-space-2);
  padding: var(--ecom-space-2) var(--ecom-space-4);
  background-color: rgb(249 115 22 / 0.15);
  border: 1px solid rgb(249 115 22 / 0.3);
  border-radius: var(--ecom-radius-full);
  font-size: var(--ecom-text-xs);
  font-weight: var(--ecom-font-semibold);
  color: var(--ecom-color-primary-400);
  margin-bottom: var(--ecom-space-6);
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--ecom-color-primary-500);
  border-radius: var(--ecom-radius-full);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--ecom-text-3xl);
  color: var(--ecom-color-neutral-0);
  margin-bottom: var(--ecom-space-4);
  line-height: var(--ecom-leading-tight);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--ecom-text-4xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--ecom-text-5xl);
  }
}

.hero__description {
  font-size: var(--ecom-text-base);
  color: var(--ecom-color-neutral-300);
  margin-bottom: var(--ecom-space-8);
  line-height: var(--ecom-leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ecom-space-4);
}

/* ── MOBILE: botões da hero ocupam largura total ── */
@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }
}
