/* ── HERO ───────────────────────────────────────────────────────────────── */

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

/* Imagem de fundo — definida inline no HTML (background-image) */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay navy degradê sobre a imagem — opacidade entre 0.55 e 0.65 p/ legibilidade */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14, 27, 58, 0.65) 0%,
    rgba(14, 27, 58, 0.60) 60%,
    rgba(14, 27, 58, 0.55) 100%
  );
  z-index: 1;
}

/* Conteúdo — fica acima do overlay */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* H1 */
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-bg);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

.hero__title em {
  display: block;
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}

/* Subtítulo */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0;
  opacity: 0.9;
}

/* CTAs */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero__btn-primary,
.hero__btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.hero__btn-primary:hover,
.hero__btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hero__btn-secondary {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.hero__btn-secondary:hover,
.hero__btn-secondary:focus-visible {
  background-color: rgba(201, 162, 39, 0.12);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Animação de entrada — respeita prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__subtitle,
  .hero__actions {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 0.6s ease forwards;
  }

  .hero__title         { animation-delay: 0s;   }
  .hero__subtitle      { animation-delay: 0.1s; }
  .hero__actions       { animation-delay: 0.2s; }
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── TABLET ─────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .hero__content {
    padding: 6rem 2rem 4rem;
    max-width: 620px;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-xl);
  }

  .hero__actions {
    flex-direction: row;
    gap: 1rem;
  }

  .hero__btn-primary,
  .hero__btn-secondary {
    width: auto;
    min-width: 200px;
  }
}

/* ── DESKTOP ────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hero__content {
    padding: 8rem 4rem 5rem;
    max-width: 1280px;
  }

  .hero__title {
    font-size: var(--text-4xl);
    max-width: 600px;
  }

  .hero__subtitle {
    font-size: var(--text-lg);
    max-width: 500px;
  }
}
