/* Hero com a fachada no fundo inteiro, com máscara preta em gradiente,
   mais forte onde fica o texto (à esquerda no computador, embaixo no celular). Cores dos tokens de marca/.
   Carregado depois do site.css. Escolhido pelo Adriano em 24/10 (antes era a variação HERO=fundo). */

.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 86vh; min-height: 86svh; padding: 0; background: #000;
}
.hero .hero-grade {
  position: static; display: block; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--pad);
}
.hero .hero-grade > div:first-child { position: relative; z-index: 2; max-width: 600px; }

/* A foto: <img> com object-fit, para manter srcset, sizes e prioridade de carga. */
.hero-midia { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-recorte {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; border-radius: 0; box-shadow: none;
}
.hero-recorte img {
  width: 100%; height: 100%; max-width: none; aspect-ratio: auto;
  object-fit: cover; object-position: 50% 18%;
}
.hero-recorte::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .88) 45%, rgba(0, 0, 0, .58) 62%, rgba(0, 0, 0, .22) 80%, rgba(0, 0, 0, .12) 100%);
}
.hero .legenda {
  position: absolute; left: var(--pad); bottom: 16px; z-index: 2; margin: 0; padding: 0;
  font-size: 13px; color: var(--linen);
}
@media (min-width: 1281px) { .hero .legenda { left: calc((100% - var(--max)) / 2 + var(--pad)); } }

/* Texto e botões sobre o escuro */
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--gold); }
.hero .lead { color: var(--linen); }
.hero .btn { background: var(--gold); color: var(--ink); box-shadow: none; }
.hero .btn:hover { background: var(--cream); color: var(--ink); }
.hero .btn-contorno { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.hero .btn-contorno:hover { background: var(--cream); color: var(--ink); }

/* Celular: texto embaixo, máscara mais forte embaixo; a foto mostra o letreiro da esquerda e o painel da frase,
   e o pote (à direita do pilar) fica fora do quadro. */
@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero .hero-grade { padding-top: 28vh; padding-top: 28svh; padding-bottom: 48px; }
  .hero-recorte { aspect-ratio: auto; }
  .hero-recorte img { width: 100%; object-position: 13% 50%; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .2em; margin-bottom: 12px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 18px; margin-top: 14px; }
  .hero .btns { margin-top: 22px; gap: 10px; }
  .hero .btn { min-height: 48px; }
  .hero-recorte::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, .90) 0%, rgba(0, 0, 0, .82) 52%, rgba(0, 0, 0, .30) 74%, rgba(0, 0, 0, .10) 100%);
  }
  .hero .legenda { bottom: 20px; }
}
