/* 02/12: mini-hero acima da parede (teste do Kaylan, só no PC dele: no site no ar a seção fica escondida).
   É o card de compartilhar virando a abertura do site: logo roxa, "Biografias de MULHERES LÉSBICAS BRASILEIRAS"
   e a bandeira ondulando embaixo. Mesma lateral e textura da imprensa e do Sobre. */
.mh[hidden] { display: none !important; }
.mh {
  position: relative; overflow: hidden; isolation: isolate;
  background: #f2f2f2 var(--grao-escuro); color: #0b0b0c;
  min-height: clamp(460px, 66svh, 680px);
  padding: calc(var(--topo-h) + clamp(28px, 4vw, 64px)) clamp(20px, 4.17vw, 60px) clamp(150px, 15vw, 250px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(36px, 5vw, 96px);
}
.mh-logo {
  display: block; width: clamp(190px, 19vw, 330px); aspect-ratio: 500 / 375;
  background: var(--roxo);
  -webkit-mask: url("../enc/acervo/marca/logo-enc.png") center / contain no-repeat;
  mask: url("../enc/acervo/marca/logo-enc.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(132, 38, 121, .18));
}
.mh-txt { margin: 0; min-width: 0; }
.mh-de {
  display: block; margin: 0 0 clamp(6px, .6vw, 12px);
  font: italic 400 clamp(34px, 3.5vw, 64px)/1 "Instrument Serif", Georgia, serif; letter-spacing: -.012em; color: #0b0b0c;
}
.mh-t {
  display: block; margin: 0;
  font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62;
  text-transform: uppercase; font-size: clamp(60px, 7.6vw, 140px); line-height: .94; letter-spacing: .002em; color: var(--roxo);
}
.mh-t span { display: block; white-space: nowrap; }
.mh-selo { margin: clamp(18px, 1.8vw, 30px) 0 0; font: 500 clamp(16px, .45vw + 12px, 21px)/1.3 Rubik, system-ui, sans-serif; color: #0b0b0c; }
.mh-selo a { color: inherit; text-decoration-color: var(--roxo); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.mh-selo a:hover { color: var(--roxo); }

/* a bandeira: duas voltas lado a lado andando devagar pra esquerda, sem emenda */
.mh-vento { position: absolute; z-index: -1; left: 0; bottom: clamp(-120px, -6.5vw, -56px); width: 200%; height: clamp(180px, 20vw, 340px); animation: mh-vento 26s linear infinite; pointer-events: none; }
.mh-pano { display: block; width: 100%; height: 100%; }
.mh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grao-escuro); opacity: .35; pointer-events: none; }  /* grão por cima do pano, como no card */
@keyframes mh-vento { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* entra junto com a página */
.movimento .mh-logo, .movimento .mh-txt > * { animation: mh-sobe .9s cubic-bezier(.2, .7, .2, 1) both; }
.movimento .mh-txt > :nth-child(2) { animation-delay: .08s; }
.movimento .mh-txt > :nth-child(3) { animation-delay: .16s; }
@keyframes mh-sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .mh-t span { white-space: normal; }
}
@media (max-width: 760px) {
  .mh { grid-template-columns: minmax(0, 1fr); row-gap: 22px; align-items: start; min-height: 0; padding-bottom: 130px; }
  .mh-logo { width: 150px; }
  .mh-de { font-size: 30px; }
  .mh-t { font-size: clamp(46px, 14vw, 64px); line-height: .95; }
  .mh-vento { height: 130px; bottom: -28px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-vento { animation: none; transform: translate3d(-12%, 0, 0); }
  .mh-logo, .mh-txt > * { animation: none !important; }
}

/* a parede vem logo depois: sem o espaço do topo fixo em cima dela (o mini-hero já desconta o topo) */
html.com-mh .parede { padding-top: 0; }
html.com-mh.parede-presa.parede-viva:not(.modo-lista):not(.agrupado):not(.explorando) .parede-area { margin-top: 0; }
