/* MAEXTRO | Hero — vídeo de fundo em tela cheia, conteúdo centralizado e rodapé interno (classes com prefixo mxh-)
   Composição baseada no ResponsiveHeroBanner (referência em Results gerados/Texto colado.txt), sem React. */
.mxh {
  --mxh-midnight: #070E1B;
  --mxh-navy: #0C1F41;
  --mxh-champagne: #D6AF73;
  --mxh-ivory: #F3F0E9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: min(1080px, 100svh);
  padding-top: 73px; /* cabeçalho fixo */
  background: var(--mxh-midnight);
  color: var(--mxh-ivory);
  outline: none;
}
.mxh, .mxh * { box-sizing: border-box; }

/* Vídeo de fundo: cobre toda a seção; o poster aparece enquanto o vídeo carrega */
.mxh__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mxh-midnight) url('../assets/video/hero-maextro-planeta-poster.jpg') 50% 50% / cover no-repeat;
}
.mxh__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* camada navy: mais densa no centro (atrás do texto) e no rodapé (atrás dos indicadores) */
.mxh__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 54% at 50% 46%, rgba(7,14,27,.66) 0%, rgba(7,14,27,.46) 55%, rgba(7,14,27,0) 100%),
    linear-gradient(180deg, rgba(7,14,27,.42) 0%, rgba(7,14,27,.24) 26%, rgba(12,31,65,.22) 62%, rgba(7,14,27,.72) 100%);
}

.mxh__inner {
  width: min(100% - 2 * clamp(20px, 4vw, 48px), 1320px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 8vh, 104px) 0 clamp(28px, 4.5vh, 48px);
}
/* margem automática: o conteúdo fica centralizado no espaço acima do rodapé (ou na altura toda, sem rodapé) */
.mxh__copy { max-width: 900px; margin: auto 0; display: flex; flex-direction: column; align-items: center; }

.mxh__title {
  margin: 0;
  max-width: 12.5em;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 88px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #FFFFFF;
  text-wrap: balance;
}
.mxh__title em { font-style: italic; color: var(--mxh-champagne); }

.mxh__lead {
  max-width: 46ch;
  margin: 28px auto 0;
  font: 400 clamp(16px, 1.2vw, 18.5px)/1.65 'Geist', system-ui, sans-serif;
  color: #C3CDDD;
  text-wrap: pretty;
}

.mxh__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.mxh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font: 600 15px/1.2 'Geist', system-ui, sans-serif;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.mxh__btn--primary { background: var(--mxh-champagne); color: var(--mxh-midnight); border: 1px solid var(--mxh-champagne); }
.mxh__btn--primary:hover { background: #E2C08A; border-color: #E2C08A; color: var(--mxh-midnight); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.3); }
.mxh__btn-arrow { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mxh__btn--primary:hover .mxh__btn-arrow { transform: translateX(4px); }
.mxh__btn--ghost { color: var(--mxh-ivory); border: 1px solid rgba(243,240,233,.34); background: rgba(7,14,27,.18); }
.mxh__btn--ghost:hover { color: var(--mxh-ivory); border-color: var(--mxh-ivory); background: rgba(243,240,233,.06); transform: translateY(-2px); }

@media (min-width: 1024px) and (max-height: 820px) {
  .mxh__inner { padding: 28px 0 24px; }
  .mxh__title { font-size: clamp(48px, 5vw, 76px); }
  .mxh__lead { margin-top: 22px; }
  .mxh__actions { margin-top: 30px; }
}
@media (max-width: 1023px) {
  .mxh { min-height: min(900px, 100svh); }
  .mxh__inner { padding: 56px 0 32px; }
  .mxh__title { font-size: clamp(40px, 6.4vw, 60px); }
  .mxh__lead { margin-top: 22px; font-size: 16px; }
  .mxh__actions { margin-top: 32px; }
}
@media (max-width: 720px) {
  .mxh { min-height: 100svh; }
  .mxh__bg::after {
    background:
      radial-gradient(ellipse 90% 50% at 50% 44%, rgba(7,14,27,.62) 0%, rgba(7,14,27,.42) 60%, rgba(7,14,27,0) 100%),
      linear-gradient(180deg, rgba(7,14,27,.5) 0%, rgba(7,14,27,.4) 30%, rgba(7,14,27,.4) 66%, rgba(7,14,27,.74) 100%);
  }
  .mxh__inner { padding: 40px 0 24px; }
  .mxh__title { font-size: clamp(40px, 11vw, 56px); max-width: 11em; }
  .mxh__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-top: 30px; }
  .mxh__btn { width: 100%; }
}
