/* Holofote Filmes — site institucional. Cores do logo: noite, ciano, magenta e amarelo holográficos. */
@font-face { font-family: "Exo 2"; src: url("exo2.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("montserrat-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("montserrat-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --noite: #05070f;
  --noite-2: #0b0f1f;
  --texto: #e9ecf5;
  --suave: #a7aec4;
  --ciano: #00e5ff;
  --magenta: #ff40c8;
  --amarelo: #ffec78;
  --violeta: #7c4dff;
  --wpp: #25d366;
  --holo: linear-gradient(90deg, var(--ciano), var(--magenta) 55%, var(--amarelo));
  --raio: 20px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--noite); color: var(--texto);
  font: 600 17px/1.6 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Exo 2", sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; font-style: italic; }
h3 { font-size: 21px; font-weight: 700; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px); background: linear-gradient(180deg, rgba(5,7,15,.85), rgba(5,7,15,0));
}
.topo-logo img { width: 170px; height: auto; }
.topo-menu { display: flex; gap: 26px; align-items: center; }
.topo-menu a { text-decoration: none; color: var(--suave); font-size: 15px; }
.topo-menu a:hover { color: #fff; }
@media (max-width: 760px) { .topo-menu a:not(.btn) { display: none; } .topo-logo img { width: 140px; } }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 900; font-size: 16px; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-wpp { background: var(--wpp); color: #04150a !important; box-shadow: 0 8px 30px rgba(37,211,102,.35); }
.btn-linha { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.btn-linha:hover { border-color: var(--ciano); box-shadow: 0 0 24px rgba(0,229,255,.35); }
.btn-peq { padding: 9px 18px; font-size: 14px; }
.acoes { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- abertura 3D ---------- */
.abertura { height: 320vh; position: relative; }
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#cena3d { width: 100%; height: 100%; display: block; }
.sem3d { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#cena3d { background: #05070f; }
.palco::after { /* escurece a esquerda para o texto das eras ler bem por cima do filme */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,7,15,.75), rgba(5,7,15,0) 45%), linear-gradient(0deg, rgba(5,7,15,.85), rgba(5,7,15,0) 35%);
}
.palco > :not(canvas):not(.sem3d) { z-index: 2; }
.era {
  position: absolute; left: clamp(16px, 6vw, 90px); top: 22vh; max-width: 520px; pointer-events: none;
  transition: opacity .5s;
}
.era-ano {
  display: block; font: italic 800 clamp(64px, 13vw, 150px)/0.9 "Exo 2", sans-serif;
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(124,77,255,.35));
}
.era-nome { display: block; letter-spacing: .28em; text-transform: uppercase; font-size: 14px; color: var(--suave); margin-top: 10px; }
.era-frase { font: 600 clamp(20px, 2.6vw, 28px)/1.3 "Montserrat", sans-serif; margin: 18px 0 0; }
.era.trocando { opacity: 0; }
.era-ano { animation: letra .8s cubic-bezier(.2,.8,.2,1) both; transform-origin: left bottom; }
@keyframes letra { from { opacity: 0; transform: translateY(30%) skewX(-12deg) scale(.92); filter: blur(14px) drop-shadow(0 0 30px rgba(124,77,255,.35)); } to { opacity: 1; transform: none; filter: drop-shadow(0 0 30px rgba(124,77,255,.35)); } }
.era-frase { animation: sobe .8s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.linha-tempo {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(420px, 70vw); height: 3px;
  background: rgba(255,255,255,.15); border-radius: 3px; display: flex; justify-content: space-between;
}
.linha-tempo span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--holo); border-radius: 3px; }
.linha-tempo i { width: 9px; height: 9px; margin-top: -3px; border-radius: 50%; background: #1b2038; position: relative; z-index: 1; }
.final-abertura {
  position: absolute; left: 0; right: 0; bottom: 12vh; text-align: center; padding: 0 16px;
  opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s; pointer-events: none;
}
.final-abertura.visivel { opacity: 1; transform: none; pointer-events: auto; }
.final-abertura h1 { font-size: clamp(22px, 3.2vw, 36px); font-weight: 700; max-width: 820px; margin: 0 auto 26px; }
.h1-marca { display: block; font-size: .55em; letter-spacing: .3em; text-transform: uppercase; color: var(--ciano); margin-bottom: 10px; }
.pular {
  position: absolute; right: clamp(16px, 4vw, 48px); bottom: 26px; font-size: 13px; color: var(--suave); text-decoration: none;
}
.rolar {
  position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); font-size: 13px; color: var(--suave);
  letter-spacing: .15em; text-transform: uppercase; transition: opacity .4s; text-align: center;
}
.rolar span { display: block; width: 2px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--ciano), transparent); animation: desce 1.6s infinite; }
@keyframes desce { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .era { top: 14vh; } .final-abertura { bottom: 9vh; } }

/* ---------- seções ---------- */
.secao { padding: clamp(80px, 12vw, 140px) clamp(16px, 6vw, 90px); max-width: 1240px; margin: 0 auto; }
.secao-escura { max-width: none; background: radial-gradient(1000px 500px at 20% 0%, rgba(124,77,255,.18), transparent), var(--noite-2); }
.secao-escura > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.sobre-titulo { color: var(--ciano); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.lead { color: var(--suave); font-size: 19px; max-width: 700px; margin: 0 0 48px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--raio); padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,.5); box-shadow: 0 20px 50px rgba(0,229,255,.12); }
.card-ico { font-size: 34px; display: block; margin-bottom: 14px; }
.card p { color: var(--suave); margin: 0; font-size: 15px; }

.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.video-card { margin: 0; border-radius: var(--raio); overflow: hidden; position: relative; background: #000; aspect-ratio: 9/16; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: flex; flex-direction: column; font-size: 13px; color: var(--suave);
}
.video-card figcaption strong { color: #fff; font-size: 16px; }

.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.passos li { padding: 28px; border-radius: var(--raio); border: 1px solid rgba(255,255,255,.08); }
.passos li > span {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  background: var(--holo); color: var(--noite); font: 900 20px "Exo 2", sans-serif;
}
.passos p { color: var(--suave); margin: 0; font-size: 15px; }

.contato { text-align: center; }
.contato .lead { margin-left: auto; margin-right: auto; }
.rodape { text-align: center; padding: 50px 16px 90px; color: var(--suave); font-size: 13px; border-top: 1px solid rgba(255,255,255,.06); }
.rodape img { margin: 0 auto 14px; opacity: .8; }
.rodape a { color: inherit; }
.rodape a:hover { color: var(--ciano); }

.wpp-flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .abertura { height: 100vh; }
}

/* ---------- modernidade: faixa, fundo vivo, bento, vidro, entradas ---------- */
.faixa { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); padding: 22px 0; position: relative; z-index: 2; }
.faixa-trilho { display: flex; gap: 60px; width: max-content; animation: corre 28s linear infinite; }
.faixa span { font: italic 800 clamp(26px, 4vw, 44px) "Exo 2", sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); white-space: nowrap; }
.faixa span:nth-child(3n+1) { color: transparent; background: var(--holo); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
@keyframes corre { to { transform: translateX(-50%); } }

.fundo-vivo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fundo-vivo i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(110px); opacity: .16; animation: flutua 26s ease-in-out infinite alternate; }
.fundo-vivo i:nth-child(1) { background: var(--ciano); left: -10vmax; top: 20vh; }
.fundo-vivo i:nth-child(2) { background: var(--magenta); right: -12vmax; top: 60vh; animation-duration: 32s; }
.fundo-vivo i:nth-child(3) { background: var(--violeta); left: 30vw; top: 120vh; animation-duration: 38s; }
@keyframes flutua { to { transform: translate(8vw, -12vh) scale(1.15); } }
main { position: relative; z-index: 1; }
body::after { /* granulado de cinema */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.bento .card-destaque { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; position: relative; min-height: 440px; }
.card-destaque video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.card-destaque .card-conteudo { position: absolute; inset: auto 0 0 0; padding: 30px; background: linear-gradient(transparent, rgba(5,7,15,.95) 45%); }
.card-destaque h3 { font-size: 30px; }
.selo-novo { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--holo); color: var(--noite); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }

.bento .card-largo { grid-column: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .card-destaque, .bento .card-largo { grid-column: auto; grid-row: auto; } }

.card { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(255,255,255,.035); position: relative; isolation: isolate; }
.card::before { /* borda holográfica que segue o mouse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0,229,255,.75), rgba(255,64,200,.45) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 30px 80px rgba(124,77,255,.18); }

.revelar { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s; }
.revelar.visto { opacity: 1; transform: none; filter: none; }
.bento .revelar:nth-child(2) { transition-delay: .08s; } .bento .revelar:nth-child(3) { transition-delay: .16s; }
.bento .revelar:nth-child(4) { transition-delay: .24s; } .bento .revelar:nth-child(5) { transition-delay: .32s; } .bento .revelar:nth-child(6) { transition-delay: .4s; }

.btn-wpp { position: relative; }
.btn-wpp::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; background: var(--holo); z-index: -1; filter: blur(12px); opacity: .55; animation: pulsa 2.4s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: .2; } }
.video-card { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.video-card:hover { transform: translateY(-8px) scale(1.02); }
@media (prefers-reduced-motion: reduce) { .revelar { opacity: 1; transform: none; filter: none; } .faixa-trilho, .fundo-vivo i { animation: none; } }
