/* Hero em vídeo (Castilho tatuando, câmera lenta, loop de 9s). */

  .vh { padding: 0 !important; margin-top: -69px; position: relative; height: 100svh; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #121311; overflow: hidden; }

  /* Texto */
  .vh-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 96px clamp(16px, 5vw, 80px) 56px; }
  .vh-kicker { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #A9B993; display: flex; align-items: center; gap: 10px; margin: 0 0 26px; }
  .vh-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #D8463A; box-shadow: 0 0 0 0 rgba(216,70,58,.6); animation: rec 1.6s ease-out infinite; }
  @keyframes rec { 70% { box-shadow: 0 0 0 9px rgba(216,70,58,0); } 100% { box-shadow: 0 0 0 0 rgba(216,70,58,0); } }
  .vh, .vh h1 { color: #E4E5DE; }
  .vh h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; margin: 0; max-width: 11ch; }
  .vh h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
  .vh h1 .ln span { display: block; transform: translateY(105%); animation: lnUp .95s cubic-bezier(.2,.8,.2,1) forwards; }
  .vh h1 .ln:nth-child(2) span { animation-delay: .12s; }
  .vh h1 .ln:nth-child(3) span { animation-delay: .24s; }
  .vh h1 em { font-style: normal; color: #A9B993; }
  @keyframes lnUp { to { transform: none; } }
  .vh-lede { color: #B9BBB1; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; max-width: 40ch; margin: 26px 0 32px; opacity: 0; animation: fade .9s ease .55s forwards; }
  .vh-cta { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 52px; padding: 0 28px; background: #7C8A6C; color: #121311; text-decoration: none; font-weight: 600; letter-spacing: .04em; opacity: 0; animation: fade .9s ease .7s forwards; transition: background .25s; }
  .vh-cta:hover { background: #A9B993; }
  @keyframes fade { to { opacity: 1; } }

  /* Vídeo: painel que "enche" de baixo pra cima, como tinta */
  .vh-film { position: relative; margin: 0 !important; height: 100%; min-height: 0; align-self: stretch; max-width: none; padding: 0; overflow: hidden; clip-path: inset(100% 0 0 0); animation: inkFill 1.4s cubic-bezier(.7,0,.2,1) .1s forwards; }
  @keyframes inkFill { to { clip-path: inset(0 0 0 0); } }
  .vh-film video, .vh-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.08); animation: settle 2.4s cubic-bezier(.2,.8,.2,1) .1s forwards; }
  @keyframes settle { to { transform: scale(1); } }
  .vh-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121311 0%, rgba(18,19,17,0) 22%), linear-gradient(0deg, rgba(18,19,17,.55), rgba(18,19,17,0) 30%); pointer-events: none; }
  .vh-meta { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(228,229,222,.8); }
  .vh-bar { position: absolute; z-index: 2; left: 0; bottom: 0; height: 2px; width: 100%; background: #3FC8D8; transform-origin: left; transform: scaleX(0); }
  .vh-play { min-width: 44px; min-height: 44px; display: grid; place-items: center; background: none; border: 1px solid rgba(228,229,222,.35); color: inherit; cursor: pointer; }
  .vh-play svg { width: 12px; height: 12px; fill: currentColor; }

  @media (min-width: 861px) and (max-height: 780px) {
    .vh-copy { padding-top: 84px; padding-bottom: 28px; }
    .vh h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
    .vh-kicker { margin-bottom: 16px; }
    .vh-lede { margin: 16px 0 22px; }
  }
  /* Celular e tablet em pé: vídeo em cima, texto embaixo, sem sobreposição */
  @media (max-width: 860px) and (orientation: portrait) {
    .vh { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
    .vh-film { order: -1; }
    .vh-film::after { background: linear-gradient(0deg, #121311 0%, rgba(18,19,17,0) 34%), linear-gradient(180deg, rgba(18,19,17,.7), rgba(18,19,17,0) 24%); }
    .vh-meta { bottom: 12px; left: 16px; right: 16px; }
    .vh-copy { padding: 4px 16px 24px; }
    .vh-film { margin-top: 0 !important; }
    .vh-kicker { margin-bottom: 12px; }
    .vh h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); max-width: none; }
    .vh-lede { margin: 12px 0 18px; font-size: .95rem; }
    .vh-cta { align-self: stretch; justify-content: center; }
  }
  @media (max-width: 860px) and (orientation: portrait) and (max-height: 700px) {
    .vh-lede { display: none; }
    .vh-copy { padding-bottom: 18px; }
  }
  /* Celular deitado */
  @media (orientation: landscape) and (max-height: 500px) {
    .vh { min-height: 0; grid-template-columns: 1.2fr 1fr; }
    .vh-copy { padding: 64px 24px 16px; }
    .vh h1 { font-size: clamp(1.6rem, 4.4vw, 2.2rem); max-width: none; }
    .vh-lede, .vh-kicker { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .vh *, .vh-film { animation: none !important; clip-path: none; opacity: 1 !important; transform: none !important; }
  }

/* Contato: vídeo da premiação (só o ângulo do zoom), esfumado nas bordas
   pra se fundir com o fundo da seção e com o rodapé */
.contact-band .contact-art {
  top: 0; bottom: 0; right: 0; left: auto; width: 46%; height: 100%;
  object-fit: cover; object-position: 30% 50%; opacity: 1; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
          mask-composite: intersect;
}
@media (max-width: 980px) {
  .contact-band .contact-art {
    position: relative; display: block; width: 100%; height: auto; aspect-ratio: 900 / 826;
    margin: -24px 0 0; object-position: 0% 0%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 66%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 66%, transparent 100%);
  }
}

/* Abertura: a marca se desenha no centro e a tela abre pro vídeo */
.abertura { display: none; }
html.intro-on .abertura {
  position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: #121311; color: #E4E5DE;
  animation: abSai .8s cubic-bezier(.7,0,.2,1) 2.3s forwards;
}
.ab-mark { height: clamp(150px, 34svh, 300px); width: auto; overflow: visible; }
.ab-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ab-line { stroke: #F3ECDA; stroke-width: 120; animation: abDesenha 1.5s cubic-bezier(.6,0,.3,1) .2s forwards; }
.ab-bleed { stroke: #A9B993; stroke-width: 170; opacity: .35; filter: blur(14px); animation: abDesenha 1.5s cubic-bezier(.6,0,.3,1) .28s forwards; }
.ab-name { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; animation: fade .7s ease 1.4s forwards; }
.ab-name span { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .2em; text-transform: uppercase; }
.ab-name small { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #A9B993; }
@keyframes abDesenha { to { stroke-dashoffset: 0; } }
@keyframes abSai { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.intro-on .abertura { clip-path: inset(0 0 0 0); }
/* Hero espera a abertura terminar */
html.intro-on .vh-film { animation-delay: 2.5s; }
html.intro-on .vh-film video { animation-delay: 2.5s; }
html.intro-on .vh h1 .ln span { animation-delay: 2.7s; }
html.intro-on .vh h1 .ln:nth-child(2) span { animation-delay: 2.82s; }
html.intro-on .vh h1 .ln:nth-child(3) span { animation-delay: 2.94s; }
html.intro-on .vh-lede { animation-delay: 3.2s; }
html.intro-on .vh-cta { animation-delay: 3.35s; }
@media (prefers-reduced-motion: reduce) { html.intro-on .abertura { display: none; } }
