/* ============================================================
   HERO — componente único e reutilizável (todas as páginas)
   Só mudam título, subtítulo e conteúdo extra.
   Modificadores: .hero--tall .hero--narrow .hero--md .hero--compact
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 26px 20px 30px;
  background-color: #2A2420;
  background-image:
    linear-gradient(180deg, rgba(20,16,12,0.25) 0%, rgba(20,16,12,0.15) 38%, rgba(20,16,12,0.92) 100%),
    url('/assets/hero.jpg');
  background-size: cover;
  background-position: center 58%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero--narrow .hero-inner { max-width: 28rem; }
.hero--md .hero-inner { max-width: 42rem; }
.hero--compact .hero-inner { max-width: 720px; }

.hero--tall {
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 36px;
}

.hero-badge {
  display: inline-block;
  background: #D9531E;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1.14;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.hero-note {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
}
.hero-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}
.hero-card .hero-card-title {
  color: #fff;
  font-weight: 700;
  margin: 0 0 4px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.hero-btn {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #D9531E;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 16px 28px;
  cursor: pointer;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,0.6);
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.hero-btn:hover { background: #B8461E; }
.hero-btn:active { transform: scale(0.98); }

.hero-link-soft {
  display: inline-block;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.hero-link-soft:hover { color: #fff; }

.hero-link,
.hero-link-alt {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
  transition: text-decoration-color 0.15s ease;
}
.hero-link-alt { text-decoration-color: rgba(232,178,63,0.75); }
.hero-link:hover { text-decoration-color: rgba(255,255,255,1); }
.hero-link-alt:hover { text-decoration-color: rgba(232,178,63,1); }

@media (min-width: 640px) {
  .hero { padding: 34px 24px 38px; }
  .hero--tall { min-height: 46vh; }
  .hero-title { font-size: 2.4rem; }
  .hero-btn { width: auto; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn { transition: none; }
}
