/* HERO.CSS — estilos específicos do hero cinematográfico
   Extraído de cinematic.css para facilitar manutenção
*/

/* ============================================================
   HERO CINEMATOGRÁFICO — vídeo em tela cheia
   ============================================================ */

.cine-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.cine-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cine-hero-media video,
.cine-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}

/* Vinheta cinematográfica */
.cine-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0; /* acima do vídeo, abaixo do conteúdo */
  /* Fundo preto semi-transparente para garantir legibilidade do texto */
  background:
    linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.346) 35%, rgba(0, 0, 0, 0.335) 15%, rgba(3, 7, 17, 0.605) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgb(0, 0, 0) 100%);
}

/* Linhas de scanline sutis (toque futurista) */
.cine-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1; /* acima da vinheta, abaixo do conteúdo */
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

.cine-hero-content {
  position: relative;
  z-index: 2; /* garante que o texto fique acima do overlay */
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 22vh 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cine-green-soft);
  margin: 0 0 1.4rem;
  text-shadow: 0 0 24px rgba(51, 204, 74, 0.8);
}

.cine-eyebrow::before,
.cine-eyebrow::after {
  content: '';
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cine-green-soft));
}
.cine-eyebrow::after {
  background: linear-gradient(90deg, var(--cine-green-soft), transparent);
}

.cine-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 12.5vw, 10rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  color: var(--cine-white);
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.7);
}

.cine-title .stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--cine-green-soft);
  text-shadow: 0 0 46px rgba(51, 204, 74, 0.35);
}

.cine-sub {
  max-width: 620px;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2.2rem;
}

.cine-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Botões futuristas com canto cortado */
.cine-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cine-btn-primary {
  background: var(--cine-green);
  color: #02140a;
  box-shadow: 0 0 42px rgba(51, 204, 74, 0.35);
}

.cine-btn-primary:hover {
  transform: translateY(-3px);
  background: var(--cine-green-soft);
  box-shadow: 0 0 64px rgba(51, 204, 74, 0.6);
}

.cine-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

.cine-btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--cine-blue);
  color: var(--cine-blue);
  box-shadow: 0 0 42px rgba(163, 201, 255, 0.25);
}

/* Faixa inferior do hero: métricas + indicador de scroll */
.cine-hero-bottom {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 3.5rem auto 0;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.cine-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.cine-metric strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: #fff;
  line-height: 1;
}

.cine-metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.cine-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.cine-scroll-cue::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--cine-green-soft), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
}

@keyframes cue-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: top; }
  56%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* RESPONSIVO RELACIONADO AO HERO */
@media (max-width: 820px) {
  .cine-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }
  .cine-scroll-cue { display: none; }
}

@media (max-width: 520px) {
  .cine-hero-content { padding-top: 18vh; }
  .cine-btn { width: 100%; justify-content: center; }
}

/* MOVIMENTO REDUZIDO (hero) */
@media (prefers-reduced-motion: reduce) {
  .cine-scroll-cue::after { animation: none; }
}
