/* VANTYX · estúdio digital */

:root {
  /* cores da marca: o vazio preto e a luz do visor */
  --bg: #0b0b0a;
  --surface: #161615;
  --surface-2: #22221f;
  --void: #000;
  --ink: #ecedea;
  --muted: #a6a59e;
  --accent: #c8ff2e;      /* verde-ácido: sites e ação principal */
  --accent-ink: #0b0b0a;
  --app: #5ec8ff;         /* azul: apps */
  --luz: var(--accent);

  --f: "TikTok Sans", "Arial Narrow", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);

  --m: clamp(16px, 2.2vw, 32px);      /* margem da página */
  --gap-sec: clamp(96px, 10vw, 160px);
  --topo-h: 64px;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-tela: cubic-bezier(.77, 0, .175, 1);
}

[data-cor="app"] { --luz: var(--app); }
[data-cor="site"] { --luz: var(--accent); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topo-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #3a3a36 var(--bg); }
input, textarea { caret-color: var(--accent); }

.ic { width: 1em; height: 1em; flex: none; }

.pular {
  position: absolute; left: var(--m); top: -60px; z-index: 50;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.pular:focus { top: 12px; }

/* títulos largos (a "voz" da marca) */
.hero-titulo, .titulo-sec, .serv-nome, .marca, .rodape-marca {
  font-stretch: 150%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ===== Botões: sempre redondos ===== */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: var(--step-small); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.botao:active { transform: scale(.97); }
.botao-p { background: var(--accent); color: var(--accent-ink); }
.botao-g { min-height: 60px; padding: 0 30px; font-size: var(--step-body); }
@media (hover: hover) and (pointer: fine) {
  .botao-p:hover { background: var(--ink); }
}

/* ===== Barra do topo ===== */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--topo-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--m);
  background: var(--bg);
}
.marca { font-size: 20px; text-decoration: none; display: inline-flex; align-items: baseline; }
.marca-v { position: relative; display: inline-block; }
.marca-v i {
  position: absolute; left: -0.06em; right: -0.06em; top: 46%;
  height: 0.1em; background: var(--luz);
  transition: background-color .5s var(--ease);
}
.menu { display: flex; gap: 28px; margin-left: auto; font-size: var(--step-small); }
.menu a { text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.menu a:hover, .menu a:focus-visible { color: var(--ink); }

/* ===== Topo: o Vantyx de máscara, foto de tela cheia ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 640px);
  padding: calc(var(--topo-h) + 24px) var(--m) clamp(24px, 3vw, 44px);
  display: grid; grid-template-rows: 1fr auto; row-gap: 28px;
  background: #030303;
}
.hero-foto { position: absolute; inset: 0; z-index: -2; }
.hero-foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  transition: transform 1.2s var(--ease);
}
.js .hero-foto img { animation: chegar 1.8s var(--ease) both; }
@keyframes chegar { from { transform: scale(1.18); filter: brightness(.25); } to { transform: translate3d(0, 0, 0) scale(1.04); filter: none; } }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48%; z-index: -1;
  background: linear-gradient(to top, rgba(3, 3, 3, .94) 18%, rgba(3, 3, 3, 0)); /* taste-skill-ignore: véu neutro sob o título na foto */
}
.hero-titulo {
  grid-row: 1; align-self: center;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(26px, 3vw, 58px); line-height: .95;
}
.hero-titulo .ln { display: block; white-space: nowrap; }
.h-dir { text-align: right; }
.hero-apoio { grid-row: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-apoio p { max-width: 40ch; }
.js .hero .ln { clip-path: inset(0 0 100% 0); transform: translateY(40%); animation: subir .8s var(--ease) .15s forwards; }
.js .hero .h-esq .ln + .ln { animation-delay: .23s; }
.js .hero .h-dir .ln { animation-delay: .31s; }
.js .hero .h-dir .ln + .ln { animation-delay: .39s; }

/* o gás: camada por cima de tudo, sem pegar clique */
.gas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.gas.aberto { position: absolute; z-index: 0; }   /* depois da abertura, a fumaça fica presa à capa, entre a foto e as letras */
.hero-titulo, .hero-apoio { position: relative; z-index: 1; }
.nevoa { position: fixed; inset: 0; z-index: 44; pointer-events: none; background: #5d8c0c; opacity: 0; }
.nevoa.fim { display: none; }
@keyframes subir { to { clip-path: inset(-10% 0 -10% 0); transform: none; } }

/* ===== Títulos de seção ===== */
.titulo-sec { font-size: var(--step-head); }

/* ===== Trabalhos: lista direta ===== */
.trabalhos { margin-top: var(--gap-sec); padding: 0 var(--m); }
.trab-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.trab-frase { max-width: 34ch; font-size: var(--step-lead); line-height: 1.3; }
.projetos { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 12px; }
.proj {
  display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(16px, 2.5vw, 40px); align-items: center;
  padding: clamp(18px, 2vw, 28px); background: var(--surface); border-radius: 8px;
  transition: background-color .3s var(--ease);
}
.proj-nome { font-stretch: 150%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; font-size: clamp(28px, 3.4vw, 58px); }
.proj-tipo { margin-top: 12px; color: var(--luz); font-weight: 600; font-size: var(--step-small); }
.proj-txt { max-width: 42ch; }
.proj-tela {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px;
  background: var(--surface-2); container-type: size;
}
.proj-tela img { width: 100%; transform: translateY(0); transition: transform .9s var(--ease); }
.proj-ver {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: .4em; padding: 7px 12px; border-radius: 999px;
  background: var(--bg); color: var(--ink); font-size: var(--step-small); font-weight: 600;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.proj-tela:focus-visible img, .proj-tela.visivel img { transform: translateY(calc(-100% + 100cqh)); transition: transform 7s linear; }
@media (hover: hover) and (pointer: fine) {
  .proj:hover { background: var(--surface-2); }
  .proj-tela:hover img { transform: translateY(calc(-100% + 100cqh)); transition: transform 7s linear; }
  .proj-tela:hover .proj-ver { background: var(--luz); color: var(--accent-ink); }
}
.proj-tela:active { transform: scale(.99); }

/* a fenda de luz (visor do pedido) */
.fenda {
  position: absolute; left: 0; right: 0; top: calc(50% - 2px); height: 4px;
  background: var(--luz); overflow: hidden;
  transition: background-color .5s var(--ease);
}
.scan {
  position: absolute; top: 0; bottom: 0; width: 18%;
  left: calc(var(--olhar, .5) * 82%);
  background: var(--ink);
  transition: left .35s var(--ease);
}

/* ===== Serviços ===== */
.servicos { margin-top: var(--gap-sec); padding: 0 var(--m); }
.serv {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px);
  align-items: start; margin-top: clamp(40px, 4vw, 64px);
}
.serv-cab { grid-column: 1 / span 5; }
.serv-nome { position: relative; display: inline-block; font-size: clamp(64px, 9vw, 150px); }
.fenda-txt {
  position: absolute; left: -0.04em; right: -0.04em; top: 47%; height: 0.07em;
  background: var(--luz); transform-origin: left; transform: scaleX(var(--fenda-s, 1));
  transition: transform 1s var(--ease-tela);
}
.serv-frase { margin-top: 24px; max-width: 30ch; font-size: var(--step-lead); line-height: 1.3; }
.serv-lista { grid-column: 6 / span 4; display: grid; gap: 22px; padding-top: 12px; }
.serv-lista b { font-weight: 600; color: var(--luz); }
.serv-fotos { grid-column: 10 / span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.serv-fotos img { border-radius: 6px; }
.serv-fotos img:nth-child(2) { margin-top: 48px; }
.serv-app { padding: clamp(40px, 5vw, 72px) 0; background: var(--surface); margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); padding-left: var(--m); padding-right: var(--m); }
.serv-app .serv-cab { grid-column: 8 / span 5; grid-row: 1; }
.serv-app .serv-lista { grid-column: 4 / span 4; grid-row: 1; }
.serv-app .serv-fotos { grid-column: 1 / span 3; gap: 20px; grid-row: 1; grid-template-columns: 1fr; }
.serv-fotos-tv figure img { border-radius: 4px; }
.serv-fotos-tv figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }

/* ===== Como funciona ===== */
.processo { margin-top: var(--gap-sec); padding: 0 var(--m); }
.proc-cab { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
.proc-cab .titulo-sec { grid-column: 1 / span 7; }
.proc-frase { grid-column: 9 / span 4; font-size: var(--step-lead); line-height: 1.3; }
.proc-passos { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.passo { display: flex; flex-direction: column; gap: 24px; }
.passo-txt b { display: block; font-size: var(--step-lead); font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.chat {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px; min-height: 200px; justify-content: flex-end;
  background: var(--surface); border-radius: 18px;
}
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: var(--step-small); line-height: 1.4; }
.msg-ele { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg-nos { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg-img { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.msg-img img { width: 64px; height: 96px; object-fit: cover; object-position: top; border-radius: 8px; }
.msg-link b { display: block; }
.msg-link span { font-size: var(--step-small); }

/* ===== Monte seu pedido ===== */
.pedido {
  margin-top: var(--gap-sec); padding: 0 var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: center;
}
.ped-esq { grid-column: 1 / span 6; }
.ped-frase { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.ped-form { margin-top: 40px; display: grid; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface-2); font-size: var(--step-small);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease);
}
.chips label:active span { transform: scale(.97); }
.chips input:checked + span { background: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .chips label:hover input:not(:checked) + span { background: #2f2f2b; }
}
.ped-dir { grid-column: 8 / span 5; display: grid; gap: 20px; justify-items: start; }
.ped-visor {
  position: relative; width: 100%;
  background: var(--void); border-radius: 28px;
  padding: 48px clamp(24px, 3vw, 40px) 40px; min-height: 260px;
}
.ped-visor .fenda { top: 24px; left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); }
.ped-msg { font-size: var(--step-lead); line-height: 1.35; min-height: 5.4em; }
.ped-nota { font-size: var(--step-small); color: var(--muted); }
.ped-msg .cursor { display: inline-block; width: .5em; height: 1em; vertical-align: -0.12em; background: var(--luz); margin-left: 2px; }

/* ===== Contato: o número em letra grande ===== */
.contato {
  margin-top: var(--gap-sec);
  min-height: 66svh;
  padding: 40px var(--m) 32px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  background: var(--accent); color: var(--accent-ink);
}
.contato-frase { font-size: var(--step-lead); font-weight: 500; max-width: 26ch; line-height: 1.3; }
.contato-num {
  align-self: end; justify-self: start;
  font-size: clamp(28px, 10.6vw, 210px); font-weight: 500; letter-spacing: -0.035em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-decoration-line: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.12em;
  text-decoration-color: transparent;
  transition: text-decoration-color .3s var(--ease), transform .3s var(--ease);
}
.contato-num:hover, .contato-num:focus-visible { text-decoration-color: currentColor; }
.contato-num:active { transform: scale(.99); }
.contato-pe { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--step-small); }

/* ===== Rodapé ===== */
.rodape { padding: 48px var(--m) 32px; background: var(--bg); overflow: hidden; }
.rodape-marca { font-size: clamp(48px, 15.4vw, 290px); line-height: .8; white-space: nowrap; }
.rodape-marca .marca-v i { --luz: var(--accent); }
.rodape-linha { margin-top: 72px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.rodape-lugares { grid-column: 1 / span 5; display: grid; gap: 8px; }
.rodape-lugares a { font-size: var(--step-lead); color: var(--accent); text-decoration: none; }
.rodape-lugares a:hover { text-decoration: underline; text-underline-offset: .15em; }
.rodape-links { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; align-content: start; }
.rodape-links a, .rodape-fim a { display: inline-block; padding: 8px 0; font-size: var(--step-small); color: var(--muted); text-decoration: none; }
.rodape-links a:hover, .rodape-fim a:hover { color: var(--ink); }
.rodape-fim { margin-top: 96px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small); color: var(--muted); }

/* ===== Entradas ao rolar ===== */
.js .rev { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 75ms); }
.js .rev.visto { opacity: 1; transform: none; }
.js .serv:not(.visto) .fenda-txt { --fenda-s: 0; }

/* ===== Tela média: o texto de apoio desce para baixo do título ===== */
@media (max-width: 1099.98px) {
  .hero { grid-template-rows: 1fr auto auto; }
  .hero-titulo { grid-row: 2; align-self: end; flex-direction: column; align-items: stretch; gap: 0; font-size: clamp(26px, 6.2vw, 56px); font-stretch: 100%; }
  .hero-titulo .ln { display: inline-block; }
  .h-dir { align-self: flex-end; }
  .hero-apoio { grid-row: 3; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .hero-titulo { font-size: clamp(26px, 8.6vw, 50px); font-stretch: 75%; }
  .hero-foto img { object-position: 50% 20%; }
}

/* ===== Tablet e celular ===== */
@media (max-width: 899.98px) {
  .menu { display: none; }
  .topo .botao { margin-left: auto; }
  .hero::after { height: 62%; }
  .proj { grid-template-columns: 1fr; }
  .proj-tela { order: 2; }
  .proj-txt { order: 3; }

  .serv, .proc-cab, .pedido, .rodape-linha { grid-template-columns: 1fr; }
  .serv-cab, .serv-lista, .serv-fotos,
  .serv-app .serv-cab, .serv-app .serv-lista, .serv-app .serv-fotos,
  .proc-cab .titulo-sec, .proc-frase, .ped-esq, .ped-dir,
  .rodape-lugares, .rodape-links { grid-column: 1; grid-row: auto; }
  .serv { row-gap: 32px; }
  .serv-fotos { grid-template-columns: 1fr 1fr; }
  .serv-app .serv-fotos { grid-template-columns: 1fr 1fr; order: 3; }
  .proc-frase { margin-top: 20px; }
  .proc-passos { grid-template-columns: 1fr; gap: 56px; }
  .chat { min-height: 0; }
  .ped-dir { margin-top: 48px; }
  .botao-g { width: 100%; }
  .rodape-links { grid-template-columns: 1fr 1fr; }
  .contato { min-height: auto; gap: 56px; padding-top: 56px; padding-bottom: 40px; }
}

/* ===== Menos movimento ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rev { opacity: 1; transform: none; }
  .hero-foto img { transform: none; }
  .gas, .nevoa { display: none; }
}
