/* Identidade: Neves Visuals — Proposta Comercial (preto, roxo #7600FF, Poppins) */
:root {
  --preto: #000;
  --fundo-alt: #0B0B0B;
  --cartao: #141414;
  --linha: #2A2A2A;
  --branco: #FFF;
  --texto: #C9C9C9;
  --texto-fraco: #9A9A9A;
  --roxo: #7600FF;
  --roxo-claro: #A05CFF;
  --roxo-escuro: #241238;

  --margem: clamp(20px, 5vw, 72px);
  --suave: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: "Poppins", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }

h1, h2 {
  color: var(--branco);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7.4vw, 6rem); text-transform: uppercase; }

/* puxada de foco dos títulos (palavras separadas pelo script.js) */
.titulo-foco .palavra { display: inline-block; opacity: 0; }
.titulo-foco.focado .palavra {
  opacity: 1;
  animation: focar 1.25s var(--suave) backwards;
  animation-delay: calc(var(--i) * 110ms);
}
/* o "Neves!" do Sobre mantém o brilho correndo depois de focar */
.sobre-texto .titulo-foco.focado em.palavra {
  animation: focar 1.25s var(--suave) backwards, brilho 5s linear infinite;
  animation-delay: calc(var(--i) * 110ms), 0s;
}
@keyframes focar {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: scale(1.12);
    text-shadow: -14px 0 rgba(118, 0, 255, .9), 14px 0 rgba(160, 92, 255, .55);
  }
  45% {
    opacity: 1;
    filter: blur(3px);
    text-shadow: -5px 0 rgba(118, 0, 255, .8), 5px 0 rgba(160, 92, 255, .45);
  }
  /* passa um pouco do ponto e volta, como o foco de uma lente */
  70% {
    filter: blur(0);
    transform: scale(.985);
    text-shadow: 2px 0 rgba(118, 0, 255, .5), -2px 0 rgba(160, 92, 255, .3);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: 0 0 0 transparent, 0 0 0 transparent;
  }
}
h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
h2 em { color: var(--roxo-claro); font-style: normal; }

.sobretitulo {
  color: var(--roxo-claro);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.apoio { max-width: 46ch; color: var(--texto); }

/* ---------- Fundo animado ---------- */

.fundo { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
main, .rodape { position: relative; z-index: 1; }

/* cantos de foco que seguem o cursor */
.foco {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.foco.visivel { opacity: .9; }
.foco i { position: absolute; width: 10px; height: 10px; border: solid var(--roxo-claro); border-width: 0; transition: width .3s var(--suave), height .3s var(--suave); }
.foco i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.foco i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.foco i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.foco i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.foco.travado i { width: 16px; height: 16px; border-color: var(--roxo); }

/* HUD de gravação nos cantos do visor */
.hud {
  position: absolute;
  color: var(--texto-fraco);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .28em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.hud-rec { top: 4px; left: 40px; display: flex; align-items: center; gap: 10px; color: var(--branco); }
.hud-rec b { width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; animation: piscar 1.6s steps(1) infinite; }
.hud-tc { top: 4px; right: 40px; color: var(--branco); }
.hud-info { bottom: 4px; left: 40px; }
.hud-iso { bottom: 4px; right: 40px; }
@keyframes piscar { 50% { opacity: .15; } }

/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--margem);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--branco);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* o logo é preto: invertido para branco sobre o fundo escuro */
.logo { width: 40px; height: 40px; filter: invert(1); }

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav nav a { color: var(--texto-fraco); transition: color .2s; }
.nav nav a:hover { color: var(--branco); }
.nav nav .nav-cta {
  padding: 9px 16px;
  color: var(--branco);
  border: 1px solid var(--roxo);
}
.nav nav .nav-cta:hover { background: var(--roxo); }

/* ---------- Cantos de visor ---------- */

.visor { position: absolute; inset: clamp(16px, 3vw, 36px); pointer-events: none; }
.visor i, .moldura i {
  position: absolute;
  width: 26px;
  height: 26px;
  border: solid var(--roxo);
  border-width: 0;
}
.visor i:nth-child(1), .moldura i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.visor i:nth-child(2), .moldura i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.visor i:nth-child(3), .moldura i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.visor i:nth-child(4), .moldura i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--margem) 110px;
  text-align: center;
  overflow: hidden;
}
.hero .visor { top: 84px; }

.hero-fantasma {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120vh, 135vw);
  max-width: none;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  filter: invert(1);
  opacity: .055;
  transition: transform 1.2s var(--suave);
  pointer-events: none;
}

.hero-conteudo { position: relative; display: grid; justify-items: center; gap: 22px; }

.hero-sub {
  max-width: 34ch;
  color: var(--texto);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-style: italic;
}

.traco { width: 84px; height: 2px; margin: 10px 0; background: var(--roxo); }

.hero-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.botao {
  display: inline-block;
  padding: 15px 28px;
  color: var(--branco);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  background: var(--roxo);
  border: 1px solid var(--roxo);
  transition: background .25s, border-color .25s, transform .25s var(--suave);
}
.botao:hover { background: #8a26ff; border-color: #8a26ff; transform: translateY(-2px); }
.botao-linha { background: transparent; border-color: var(--linha); }
.botao-linha:hover { background: transparent; border-color: var(--roxo); }

.hero-rodape {
  position: absolute;
  inset: auto var(--margem) clamp(30px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  color: var(--texto-fraco);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.hero-rodape li + li::before { content: "—"; margin-right: 28px; color: var(--roxo); }

/* ---------- Seções ---------- */

.secao {
  position: relative;
  padding: clamp(80px, 11vw, 150px) var(--margem);
  overflow: hidden;
}
.secao-alt { background: rgba(11, 11, 11, .6); border-block: 1px solid var(--linha); }

.cabecalho {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

/* ---------- Sobre mim ---------- */

.sobre-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  max-width: 1240px;
  margin: 0 auto;
}

/* lente: vídeo circular com anéis girando em volta */
.lente {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  justify-self: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 1.1s var(--suave), transform .6s var(--suave);
}
.lente.revelar:not(.visivel) { transform: scale(.86); }

.lente-circulo {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cartao);
  box-shadow: 0 0 0 6px var(--preto), 0 30px 90px -20px rgba(118, 0, 255, .55);
  animation: respirar 5s ease-in-out infinite;
}
.lente-circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;  /* silhueta no centro do círculo */
  transform: scale(1.04);
  transition: transform 1.2s var(--suave);
}
.lente:hover .lente-circulo img { transform: scale(1.12); }
/* vinheta suave nas bordas */
.lente-circulo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

/* anel de luz roxa girando */
.lente-anel {
  position: absolute;
  inset: calc(12% - 3px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--roxo) 78%, var(--roxo-claro) 92%, transparent);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 10px var(--roxo));
  animation: girar 4.5s linear infinite;
}

/* órbita tracejada com um ponto viajando, no sentido contrário */
.lente-tracejado {
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  border: 1px dashed rgba(160, 92, 255, .35);
  animation: girar 22s linear infinite reverse;
}
.lente-tracejado b {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--roxo-claro);
  box-shadow: 0 0 14px 3px var(--roxo);
}

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes respirar {
  50% { box-shadow: 0 0 0 6px var(--preto), 0 30px 110px -12px rgba(118, 0, 255, .75); }
}

/* texto ao lado */
.sobre-texto { display: grid; gap: 20px; }
.sobre-texto > p:not(.sobretitulo) { max-width: 54ch; }
.sobre-texto strong { color: var(--branco); }
.sobre-texto h2 em {
  background: linear-gradient(90deg, var(--roxo-claro), #fff, var(--roxo-claro));
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: brilho 5s linear infinite;
}
@keyframes brilho { to { background-position: -200% 0; } }

.sobre-numeros { display: flex; gap: clamp(24px, 4vw, 48px); padding: 6px 0; }
.sobre-numeros li { display: flex; align-items: center; gap: 12px; }
.sobre-numeros b {
  color: var(--branco);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sobre-numeros b::after { content: "+"; color: var(--roxo-claro); }
.sobre-numeros span {
  max-width: 9ch;
  color: var(--texto-fraco);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
}

.sobre-chamada {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--linha);
}
.sobre-chamada p { color: var(--branco); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-style: italic; }

/* ---------- Carrossel vertical ---------- */

.carrossel { position: relative; --w: clamp(190px, 23vw, 300px); --vao: clamp(10px, 1.6vw, 22px); }

.palco {
  position: relative;
  height: calc(var(--w) * 16 / 9);
  margin: 18px 0;
  touch-action: pan-y;
  user-select: none;
}

.vcard {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--w);
  height: 100%;
  margin-left: calc(var(--w) / -2);
  background: var(--cartao);
  border: 1px solid var(--linha);
  overflow: hidden;
  filter: brightness(.42);
  transition: transform .7s var(--suave), filter .7s var(--suave), opacity .45s, border-color .4s;
  will-change: transform;
}
.vcard.ativo { filter: none; border-color: #3a3a3a; }
.vcard.oculto { opacity: 0; pointer-events: none; }

.midia { width: 100%; height: 100%; object-fit: cover; background: var(--cartao); }

.midia-vazia {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--roxo-escuro), transparent 70%),
    var(--cartao);
}
.midia-vazia span {
  color: rgba(255, 255, 255, .09);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.vcard-alvo { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; }
.vcard.tocando .vcard-alvo { display: none; }
.vcard .player { position: absolute; inset: 0; border: 0; background: #000; }

.play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--roxo);
  transition: transform .3s var(--suave), opacity .3s;
}
.play svg { width: 24px; height: 24px; fill: var(--branco); }
.vcard:not(.ativo) .play { opacity: 0; }
.vcard-alvo:hover .play, .hcard:hover .play { transform: scale(1.1); }

/* cantos roxos em volta do vídeo central */
.moldura {
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: 50%;
  width: calc(var(--w) + 28px);
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}

.controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  margin-top: clamp(34px, 4vw, 48px);
}

.seta {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--linha);
  transition: background .25s, border-color .25s;
}
.seta:hover { background: var(--roxo); border-color: var(--roxo); }
.seta:active { transform: scale(.94); }
.seta svg { width: 20px; height: 20px; fill: none; stroke: var(--branco); stroke-width: 2; }

.legenda { width: min(300px, 46vw); text-align: center; }
.legenda-titulo { color: var(--branco); font-size: 1.05rem; font-weight: 700; }
.legenda-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  color: var(--texto-fraco);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.contador { color: var(--roxo-claro); font-variant-numeric: tabular-nums; }

/* ---------- Grade horizontal 3×3 ---------- */

.grade {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  max-width: 1240px;
  margin: 0 auto;
}

.hcard { display: block; width: 100%; text-align: left; }

.hcard-quadro {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--linha);
  overflow: hidden;
  transition: border-color .3s;
}
.hcard-quadro .midia { transition: transform .8s var(--suave); }
.hcard-quadro .play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; }
button.hcard:hover .hcard-quadro { border-color: var(--roxo); }
button.hcard:hover .midia { transform: scale(1.04); }

.hcard-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
}
.hcard-info .num { color: var(--roxo-claro); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hcard-info .nome { color: var(--branco); font-size: .95rem; font-weight: 700; }
.hcard-info .tag {
  color: var(--texto-fraco);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.grade:not(.expandida) .extra { display: none; }
.ver-mais { display: block; margin: clamp(32px, 4vw, 48px) auto 0; }

/* ---------- Clientes ---------- */

.cabecalho-centro { justify-items: center; text-align: center; }

.clientes {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 40px);
  max-width: 1160px;
  margin: 0 auto;
}

.cliente { display: grid; justify-items: center; align-content: start; gap: 16px; min-width: 0; }

.cliente-circulo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cartao);
  border: 1px solid var(--linha);
  box-shadow: 0 0 0 0 var(--preto), 0 0 0 0 var(--roxo);
  transition: box-shadow .45s var(--suave), border-color .45s, transform .45s var(--suave);
}
.cliente-circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.8);
  transition: filter .45s, transform .7s var(--suave);
}
.cliente-logo img { object-fit: contain; }
.cliente-logo.cliente-inverter img { width: 50%; height: 50%; filter: invert(1) brightness(.8); }
.cliente-logo:not(.cliente-inverter) { background: #FFF; }

.cliente:hover .cliente-circulo {
  border-color: var(--roxo);
  box-shadow: 0 0 0 5px var(--preto), 0 0 0 6px var(--roxo);
  transform: translateY(-4px);
}
.cliente:hover img { filter: none; transform: scale(1.06); }
.cliente:hover .cliente-inverter img { filter: invert(1); }

.cliente-nome {
  color: var(--texto-fraco);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-align: center;
  transition: color .3s;
}
.cliente:hover .cliente-nome { color: var(--branco); }

/* ---------- Contato ---------- */

.contato { border-top: 1px solid var(--linha); text-align: center; padding-block: clamp(110px, 15vw, 200px); }
.contato > .revelar { position: relative; display: grid; justify-items: center; gap: 22px; }
.contato .hero-acoes { margin-top: 14px; }

.rodape {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px var(--margem) 38px;
  color: var(--texto-fraco);
  font-size: .82rem;
  text-align: center;
  border-top: 1px solid var(--linha);
}
.rodape a { color: var(--texto); transition: color .2s; }
.rodape a:hover { color: var(--roxo-claro); }
.rodape-credito { font-size: .74rem; color: #6f6f6f; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(1200px, 94vw);
  max-width: none;
  max-height: none;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox { width: min(1200px, 94vw, calc(82vh * 16 / 9)); }
.lightbox-palco { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--linha); }
.lightbox-palco .midia { width: 100%; height: 100%; border: 0; object-fit: contain; }
.fechar { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; }
.fechar svg { width: 22px; height: 22px; fill: none; stroke: var(--branco); stroke-width: 2; }

/* ---------- Entrada ao rolar ---------- */

.revelar { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--suave), transform .9s var(--suave); }
.revelar.visivel { opacity: 1; transform: none; }

/* ---------- Telas menores ---------- */

@media (max-width: 900px) {
  .hud-info, .hud-iso { display: none; }
  /* 4 + 3, segunda linha centralizada */
  .clientes { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 18px; }
  .cliente { width: calc((100% - 3 * 18px) / 4); }
}

@media (max-width: 860px) {
  .sobre-grade { grid-template-columns: 1fr; }
  .lente { width: min(84vw, 400px); }
  .sobre-texto { text-align: center; justify-items: center; }
  .sobre-chamada { justify-content: center; }
}

@media (max-width: 760px) {
  .grade { grid-template-columns: 1fr; }
  .cliente-nome { font-size: .6rem; letter-spacing: .14em; }
  .carrossel { --w: clamp(190px, 56vw, 270px); }
  .marca span { display: none; }
  .hero-rodape { letter-spacing: .28em; gap: 6px 16px; }
  .hero-rodape li + li::before { margin-right: 16px; }
}

@media (max-width: 600px) {
  .hud-rec, .hud-tc { left: auto; right: auto; top: 6px; }
  .hud-rec { left: 34px; }
  .hud-tc { right: 34px; }
  /* no celular o menu fica só com a marca e o Contato */
  .nav nav a:not(.nav-cta) { display: none; }
  .marca span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .revelar { opacity: 1; transform: none; }
  .lente-anel, .lente-tracejado, .lente-circulo, .sobre-texto h2 em { animation: none; }
}
