/* NORTH Criativo · site 2026
   Preto, branco e luz laranja. Estrutura modelada no Velorn, código próprio. */

:root {
  --bg: #080808;
  --bg-2: #0f0f0e;
  --card: #131312;
  --fg: #f3f2ee;
  --fg-2: #c9c8c3;
  --muted: #8b8a85;
  --line: rgba(243, 242, 238, 0.12);
  --line-2: rgba(243, 242, 238, 0.22);
  --or: #ff5b1a;
  --or-2: #ff8a3d;
  --or-deep: #b83306;
  --or-glow: rgba(255, 91, 26, 0.55);
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--or); color: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- grão e luz ---------- */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 90;
  overflow: hidden;
}
.grain::before {
  content: "";
  position: absolute; inset: -50%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 4%); }
  100% { transform: translate(0, 0); }
}
.glow {
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(circle, var(--or-glow), transparent 65%);
}

/* ---------- tipografia ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.label { display: flex; align-items: center; gap: 12px; color: var(--fg-2); }
.label .tag { color: var(--or); }
.h-xxl {
  font-size: clamp(54px, 10.4vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.h-xl {
  font-size: clamp(42px, 6.6vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin: 0;
}
.h-l {
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 0;
}
.h-m {
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0;
}
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--fg-2); line-height: 1.5; margin: 0; }
.muted { color: var(--muted); }
.accent { color: var(--or); }

/* linhas que sobem */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- botões de texto (letra que rola) ---------- */
.roll {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 240px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.4s var(--ease);
}
.roll:hover { border-color: var(--or); }
.roll .roll-text { display: inline-flex; overflow: hidden; height: 1.5em; line-height: 1.5em; }
.roll .ch { position: relative; display: inline-block; white-space: pre; transition: transform 0.55s var(--ease); }
.roll .ch::after { content: attr(data-ch); position: absolute; left: 0; top: 100%; color: var(--or); }
.roll:hover .ch { transform: translateY(-100%); }
.roll .arrow { width: 12px; height: 12px; transition: transform 0.5s var(--ease); }
.roll:hover .arrow { transform: translate(3px, -3px); color: var(--or); }
.roll.solid {
  padding: 18px 20px 16px;
  border: 0;
  background: var(--fg);
  color: #000;
}
.roll.solid .ch::after { color: var(--or-deep); }
.roll.solid:hover { background: var(--or); }
.roll.solid:hover .ch::after { color: #000; }
.roll.orange { padding: 18px 20px 16px; border: 0; background: var(--or); color: #000; }
.roll.orange .ch::after { color: #fff; }
.roll.dark { padding: 18px 20px 16px; border: 0; background: #000; color: var(--fg); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #000;
}
.loader-inner { display: flex; align-items: center; gap: 10px; }
.loader-word { font-size: 30px; letter-spacing: -0.04em; overflow: hidden; display: inline-flex; }
.loader-word span { display: inline-block; transform: translateY(110%); }
.loader-blocks { display: flex; gap: 3px; height: 26px; }
.loader-blocks i { display: block; width: 26px; height: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
.loader-mark { width: 18px; height: 20px; color: var(--or); opacity: 0; }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
html.no-loader .loader { display: none; }

/* ---------- transição de página ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 190;
  pointer-events: none;
  overflow: hidden;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.wipe i { display: block; background: var(--or); transform: scaleY(0); transform-origin: bottom; }
.wipe i:nth-child(even) { background: #000; }

/* ---------- header ---------- */
.header {
  position: fixed; z-index: 80;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.brand svg { height: 20px; width: auto; }
.brand .brand-word { height: 15px; width: auto; }
.brand sup { font-family: var(--f-mono); font-size: 9px; color: var(--or); margin-left: -4px; transform: translateY(-5px); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-cta { color: #fff; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.menu-btn:hover { background: #fff; color: #000; }
.menu-btn .burger { display: grid; gap: 4px; width: 16px; }
.menu-btn .burger i { display: block; height: 1px; background: currentColor; }

/* ---------- menu lateral ---------- */
.menu {
  position: fixed; inset: 0; z-index: 120;
  pointer-events: none;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.8s;
}
.menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.menu-panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px;
  width: min(560px, calc(100% - 20px));
  background: #0c0c0b;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 90px 40px 36px;
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.8s var(--ease);
  overflow: hidden;
}
.menu-panel .glow { width: 420px; height: 420px; right: -160px; bottom: -200px; opacity: 0.7; }
.menu.open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.menu.open .menu-backdrop { opacity: 1; }
.menu.open .menu-panel { transform: none; }
.menu-close {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--or); border-radius: 999px;
  color: var(--or);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
}
.menu-close:hover { background: var(--or); color: #000; }
.menu-links { list-style: none; margin: 28px 0 0; padding: 0; }
.menu-links li { display: flex; align-items: flex-start; gap: 22px; overflow: hidden; }
.menu-links .n { font-family: var(--f-mono); font-size: 10px; color: var(--muted); padding-top: 14px; width: 18px; }
.menu-links a {
  display: inline-block;
  font-size: clamp(44px, 5.4vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1.04;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease), color 0.3s;
}
.menu.open .menu-links a { transform: none; }
.menu.open .menu-links li:nth-child(2) a { transition-delay: 0.06s; }
.menu.open .menu-links li:nth-child(3) a { transition-delay: 0.12s; }
.menu.open .menu-links li:nth-child(4) a { transition-delay: 0.18s; }
.menu-links a:hover { color: var(--or); }
.menu-links .count { margin-left: auto; padding-top: 14px; font-family: var(--f-mono); font-size: 11px; color: var(--or); }
.menu-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 22px; }
.menu-social { display: flex; gap: 26px; margin-bottom: 22px; font-size: 14px; }
.menu-social a { display: inline-flex; align-items: center; gap: 6px; }
.menu-social a:hover { color: var(--or); }

/* ---------- cartão flutuante ---------- */
.float-card {
  position: fixed; right: 14px; bottom: 14px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px;
  background: #fff; color: #000;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 0.8s var(--ease);
  max-width: 280px;
}
.float-card.show { transform: none; }
.float-card .ico { width: 38px; height: 38px; border-radius: 6px; background: var(--or); display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 18px; height: 18px; color: #000; }
.float-card strong { display: block; font-size: 14px; letter-spacing: -0.02em; font-weight: 600; }
.float-card span { display: block; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #555; }
.float-card:hover .ico { background: #000; }
.float-card:hover .ico svg { color: var(--or); }

/* ---------- 3D ---------- */
.mark3d {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.mark3d canvas { width: 100% !important; height: 100% !important; }
main, .footer { position: relative; z-index: 2; }

/* ---------- seções gerais ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 180px) var(--pad); }
.wrap { position: relative; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  padding: 140px var(--pad) 28px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero .glow.a { width: 70vw; height: 70vw; right: -24vw; bottom: -38vw; }
.hero .label { margin-bottom: 26px; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 28px; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.hero-bottom { margin-top: auto; padding-top: 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.scroll-hint svg { width: 11px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgba(8, 8, 8, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge svg { width: 30px; height: 30px; color: var(--or); }

/* ---------- estúdio ---------- */
.studio { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.studio h2 { max-width: 20ch; }
.studio-side { margin: 60px 0 0 auto; max-width: 440px; }
.studio-side .lead { color: var(--fg); }
.studio-side .roll { margin-top: 32px; }

/* ---------- visão / faixa ---------- */
.vision { padding-top: 60px; padding-bottom: 140px; overflow: hidden; }
.vision .label { margin-bottom: 40px; }
.marquee { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: flex; align-items: center; gap: 28px;
  padding-right: 48px;
  font-size: clamp(60px, 8.4vw, 140px);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}
.marquee-item .alt { font-family: var(--f-mono); font-size: 0.26em; letter-spacing: 0.04em; color: var(--or); align-self: flex-start; margin-top: 0.4em; }
.marquee-item .sep { color: var(--or); font-size: 0.3em; }
.marquee-item.ghost { color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 238, 0.35); }
.vision-note { margin-top: 36px; display: flex; align-items: center; gap: 10px; }
.vision-note .star { color: var(--or); }

/* ---------- método / bento ---------- */
.approach-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.approach-head > p { justify-self: end; max-width: 380px; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 12px;
}
.tile {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 22px;
  min-height: 300px;
  display: flex; flex-direction: column;
  background: var(--card);
}
.tile .mono { color: inherit; opacity: 0.85; }
.tile-text { margin-top: auto; max-width: 46ch; font-size: 15px; }
.t-game { grid-column: span 8; min-height: 400px; background: var(--or); color: #000; }
.t-tall { grid-column: span 4; grid-row: span 2; padding: 0; background: #000; }
.t-white { grid-column: span 4; background: var(--fg); color: #000; }
.t-dark { grid-column: span 4; background: #1a1a19; }
.t-mat { grid-column: span 4; background: #050505; min-height: 380px; }
.t-wide { grid-column: span 8; padding: 0; min-height: 380px; background: #000; }
.t-tall img, .t-wide img, .t-mat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-tall .over, .t-wide .over, .t-mat .over { position: relative; z-index: 2; height: 100%; padding: 22px; display: flex; flex-direction: column; }
.t-tall .over::before, .t-wide .over::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 35%, transparent 55%, rgba(0, 0, 0, 0.75));
}
.tile-title { margin-top: auto; font-size: clamp(28px, 2.6vw, 44px); letter-spacing: -0.04em; line-height: 1.02; }
.big-num { font-size: clamp(70px, 8vw, 128px); letter-spacing: -0.06em; line-height: 0.9; }
.t-white .row, .t-dark .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: auto 0 28px; }
.squares { position: relative; width: 140px; height: 140px; }
.squares i { position: absolute; inset: 0; border: 1.5px solid var(--or); }
.squares i:nth-child(2) { inset: 16px; }
.squares i:nth-child(3) { inset: 32px; }
.squares i:nth-child(4) { inset: 48px; }
.squares b { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); }
.squares b::before, .squares b::after { content: ""; position: absolute; background: var(--or); }
.squares b::before { left: 7px; top: 0; width: 2px; height: 16px; }
.squares b::after { top: 7px; left: 0; height: 2px; width: 16px; }
.bars { display: flex; align-items: center; gap: 9px; height: 70px; }
.bars i { display: block; width: 7px; background: var(--or); height: 30%; animation: eq 1.1s var(--ease) infinite; }
.bars i:nth-child(1) { height: 100%; animation-delay: -0.2s; }
.bars i:nth-child(2) { animation-delay: -0.5s; }
.bars i:nth-child(3) { animation-delay: -0.1s; }
.bars i:nth-child(4) { animation-delay: -0.7s; }
.bars i:nth-child(5) { animation-delay: -0.3s; }
.bars i:nth-child(6) { animation-delay: -0.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.bento-foot { margin-top: 26px; color: var(--muted); }

/* jogo */
.game { position: relative; flex: 1; margin: 18px 0 14px; cursor: pointer; min-height: 170px; }
.game canvas { width: 100%; height: 100%; position: absolute; inset: 0; image-rendering: pixelated; }
.game-score { position: absolute; right: 0; top: -10px; font-family: var(--f-mono); font-size: 12px; }
.game-hint {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: #000; color: var(--or);
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.3s;
}
.game.playing .game-hint { opacity: 0; pointer-events: none; }

/* ---------- trabalhos em faixas ---------- */
.works-head { text-align: center; padding-top: 30px; padding-bottom: 90px; }
.works-head .label { justify-content: center; margin-bottom: 18px; }
.band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 22px 0 60px;
}
.band.orange { background: var(--or); color: #000; border-color: transparent; }
.band.orange .muted { color: rgba(0, 0, 0, 0.62); }
.band-top { display: flex; justify-content: space-between; padding: 0 var(--pad); }
.band-stage { position: relative; height: clamp(360px, 36vw, 620px); margin-top: 70px; display: grid; place-items: center; }
.band-marquee {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; width: max-content;
  font-size: clamp(140px, 22vw, 380px);
  letter-spacing: -0.06em;
  line-height: 0.8;
  white-space: nowrap;
  will-change: transform;
}
.band-marquee span { display: inline-flex; align-items: center; gap: 0.18em; padding-right: 0.18em; }
.band-marquee .dot { display: inline-block; width: 0.09em; height: 0.09em; border-radius: 50%; background: currentColor; }
.band-media {
  position: relative; z-index: 2;
  width: clamp(220px, 24vw, 420px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: #1a1a1a;
}
.band-media img { width: 100%; height: 112%; object-fit: cover; object-position: top; will-change: transform; }
.band-media { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.band-desc { display: flex; justify-content: flex-end; padding: 50px var(--pad) 0; }
.band-desc p { max-width: 400px; margin: 0; font-size: 14px; }
.band a.cover { position: absolute; inset: 0; z-index: 3; }

.next {
  text-align: center;
  padding: clamp(110px, 12vw, 170px) var(--pad);
}
.next .mark-small { width: 92px; height: auto; margin: 0 auto 26px; color: var(--or); }
.next .label { justify-content: center; margin-bottom: 18px; }
.next .lead { max-width: 440px; margin: 26px auto 0; }
.next .roll { margin-top: 40px; }

/* ---------- serviços ---------- */
.services {
  position: relative;
  overflow: hidden;
  padding: 140px var(--pad) 120px;
  text-align: center;
  background: #000;
}
.services-bg { position: absolute; inset: -10%; z-index: 0; }
.services-bg i {
  position: absolute; top: -20%; height: 140%;
  width: 26vw;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent, var(--or) 35%, var(--or-deep) 60%, transparent);
  filter: blur(26px);
  transform: rotate(24deg);
  opacity: 0.9;
}
.services-bg i:nth-child(1) { left: -6%; }
.services-bg i:nth-child(2) { left: 32%; width: 20vw; opacity: 0.75; }
.services-bg i:nth-child(3) { left: 68%; width: 30vw; }
.services::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75) 80%); }
.services > :not(.services-bg) { position: relative; z-index: 1; }
.services .label { justify-content: center; margin-bottom: 30px; }
.svc-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; }
.svc-list li {
  position: relative;
  display: flex; justify-content: center; align-items: flex-start; gap: 18px;
  padding: 18px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.svc-list .n { font-family: var(--f-mono); font-size: 11px; padding-top: 0.9em; opacity: 0.7; }
.svc-list .t { font-size: clamp(54px, 8vw, 130px); letter-spacing: -0.055em; line-height: 0.95; }
.svc-list .d { position: absolute; right: 0; bottom: 22px; max-width: 220px; text-align: right; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.services .foot { margin-top: 40px; color: rgba(255, 255, 255, 0.8); }

/* ---------- aplicação (formulário estilo Typeform) ---------- */
.apply-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.apply-head .lead { max-width: 420px; }
.apply-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.apply-perks span { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.tf {
  position: relative;
  min-height: 560px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--or);
  color: #000;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
}
.tf-side {
  position: relative;
  padding: 30px;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.tf-side .h-m { margin-top: auto; max-width: 14ch; }
.tf-side .steps { margin-top: 26px; display: grid; gap: 8px; }
.tf-side .steps div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.18); opacity: 0.45; transition: opacity 0.3s; }
.tf-side .steps div.on { opacity: 1; }
.tf-side .steps div.done { opacity: 0.75; }
.tf-side .steps div.done::after { content: "✓"; }
.tf-mark { position: absolute; right: -60px; top: -40px; width: 280px; color: rgba(0, 0, 0, 0.12); }
.tf-main { position: relative; background: #0b0b0a; color: var(--fg); padding: 30px clamp(22px, 4vw, 60px); display: flex; flex-direction: column; }
.tf-progress { height: 2px; background: var(--line); margin-bottom: 40px; }
.tf-progress i { display: block; height: 100%; width: 0; background: var(--or); transition: width 0.6s var(--ease); }
.tf-steps { position: relative; flex: 1; }
.tf-step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(40px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.tf-step.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s, visibility 0s; }
.tf-step.out { transform: translateY(-40px); }
.tf-q { display: flex; gap: 14px; align-items: baseline; }
.tf-q .num { font-family: var(--f-mono); font-size: 12px; color: var(--or); white-space: nowrap; }
.tf-q h3 { margin: 0; font-size: clamp(24px, 2.5vw, 38px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.1; }
.tf-help { margin: 12px 0 0 34px; color: var(--muted); font-size: 15px; }
.tf-field { margin: 34px 0 0 34px; }
.tf-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0 12px;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  outline: none;
  transition: border-color 0.3s;
}
.tf-input:focus { border-color: var(--or); }
.tf-input::placeholder { color: rgba(243, 242, 238, 0.25); }
.tf-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tf-choice {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  text-align: left;
  font-size: 16px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.tf-choice .k { font-family: var(--f-mono); font-size: 10px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 3px; flex: none; }
.tf-choice:hover { border-color: var(--or); }
.tf-choice.sel { background: var(--or); border-color: var(--or); color: #000; }
.tf-choice.sel .k { border-color: #000; }
.tf-actions { display: flex; align-items: center; gap: 18px; margin: 30px 0 0 34px; }
.tf-ok {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--or); color: #000;
  border-radius: 3px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.25s;
}
.tf-ok:hover { background: #fff; }
.tf-ok[disabled] { opacity: 0.6; cursor: wait; }
.tf-enter { color: var(--muted); }
.tf-err { margin: 14px 0 0 34px; color: var(--or-2); font-size: 14px; min-height: 20px; }
.tf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.tf-nav .arrows { display: flex; gap: 8px; }
.tf-nav button { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.tf-nav button:hover { border-color: var(--or); color: var(--or); }
.tf-nav svg { width: 14px; }
.tf-done h3 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; margin: 18px 0 0; }
.tf-done p { color: var(--fg-2); font-size: 17px; max-width: 46ch; margin: 18px 0 0; }
.tf-done .roll { margin-top: 30px; }
.tf-done .alt-link { display: inline-block; margin-top: 18px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.tf-done .alt-link:hover { color: var(--or); border-color: var(--or); }

/* ---------- time ---------- */
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member { border-top: 1px solid var(--line); padding-top: 14px; }
.member-top { display: flex; justify-content: space-between; align-items: baseline; }
.member-top strong { font-size: 18px; font-weight: 400; letter-spacing: -0.02em; }
.member-top .n { font-family: var(--f-mono); font-size: 11px; color: var(--or); }
.member .role { margin-top: 4px; color: var(--muted); }
.member-photo {
  position: relative;
  margin-top: 22px;
  aspect-ratio: 4 / 4.6;
  border-radius: 3px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 110%, rgba(255, 91, 26, 0.55), transparent 60%), #0e0e0d;
  display: grid; place-items: center;
}
.member-photo .member-word { width: 58%; height: auto; color: var(--fg); opacity: 0.92; }
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member.ghost { display: flex; flex-direction: column; justify-content: flex-end; }
.member.ghost .box {
  margin-top: 22px;
  aspect-ratio: 4 / 4.6;
  border: 1px dashed var(--line-2);
  border-radius: 3px;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.member.ghost .box p { margin: 10px 0 0; color: var(--fg-2); max-width: 30ch; }

/* ---------- sempre em movimento ---------- */
.motion { position: relative; min-height: 120vh; overflow: hidden; }
.motion h2 { position: relative; z-index: 3; }
.motion h2 .indent { padding-left: clamp(60px, 13vw, 240px); }
.motion-copy { position: relative; z-index: 3; display: flex; align-items: flex-end; gap: 40px; margin-top: clamp(80px, 12vw, 200px); }
.motion-copy p { max-width: 280px; margin: 0; font-size: 18px; color: var(--fg); }
.floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.floater {
  position: absolute;
  width: clamp(160px, 19vw, 320px);
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.floater img { width: 100%; height: 100%; object-fit: cover; }
.floater:nth-child(1) { left: 16%; top: 14%; transform: rotate(-12deg); }
.floater:nth-child(2) { left: 42%; top: 36%; transform: rotate(-14deg); width: clamp(190px, 23vw, 380px); }
.floater:nth-child(3) { left: 70%; top: 52%; transform: rotate(9deg); }
.floater:nth-child(4) { left: 63%; top: 6%; transform: rotate(7deg); width: clamp(120px, 13vw, 220px); opacity: 0.7; }
.floater:nth-child(5) { left: 34%; top: 78%; transform: rotate(-6deg); width: clamp(120px, 14vw, 230px); opacity: 0.6; }

/* ---------- próximo capítulo ---------- */
.chapter { padding-top: 90px; }
.chapter-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: end; margin-top: 30px; }
.chapter-grid .roll { justify-self: end; }

/* ---------- rodapé ---------- */
.footer { padding: 0 var(--pad) 26px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-logo { position: relative; padding: clamp(50px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); color: var(--fg); }
.footer-logo .footer-word { width: calc(100% - clamp(40px, 5vw, 80px)); height: auto; }
.footer-logo .reg { position: absolute; right: 0; top: clamp(34px, 4vw, 60px); width: clamp(26px, 3.4vw, 58px); color: var(--or); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 30px; }
.footer-links .roll { min-width: 200px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom > :last-child { justify-self: end; }
.footer-bottom .by { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom .by svg { width: 14px; color: var(--or); }

/* ---------- cursor de projeto ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--or); color: #000;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.cursor.on { transform: scale(1); }

/* ---------- página de trabalhos ---------- */
.page-hero { padding: 150px var(--pad) 90px; }
.page-hero .label { margin-bottom: 26px; }
.page-hero .lead { margin-top: 30px; max-width: 46ch; }

/* ---------- página de projeto ---------- */
.case { display: grid; grid-template-columns: 0.4fr 0.6fr; min-height: 100vh; }
.case-side {
  position: sticky; top: 0;
  height: 100vh;
  padding: 120px var(--pad) 30px;
  display: flex; flex-direction: column;
}
.case-nav { display: flex; justify-content: space-between; gap: 12px; }
.case-nav a { flex: 0 0 auto; min-width: 140px; padding: 12px 14px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.case-nav a:hover { border-color: var(--or); color: var(--or); }
.case-side h1 { margin-top: 30px; font-size: clamp(38px, 3.6vw, 60px); letter-spacing: -0.045em; line-height: 1; font-weight: 400; }
.case-side .lead { margin-top: 16px; }
.case-tags { margin-top: 18px; font-size: 15px; }
.tabs { display: flex; gap: 22px; margin-top: 26px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 0 0 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--fg); border-color: var(--or); }
.tab-panel { display: none; margin-top: 18px; font-size: 16px; color: var(--fg); max-width: 46ch; }
.tab-panel.on { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.case-side .meta { margin-top: auto; color: var(--muted); }
.case-side .roll { margin-top: 16px; width: 100%; }
.case-media { padding: 90px 0 12px; display: grid; gap: 12px; }
.case-media figure { margin: 0; position: relative; overflow: hidden; background: #111; }
.case-media figure.stage {
  display: grid; place-items: center;
  padding: clamp(28px, 5vw, 80px);
  background: radial-gradient(90% 70% at 50% 110%, rgba(255, 91, 26, 0.45), transparent 60%), #0e0e0d;
}
.case-media figure.stage img { width: 100%; max-width: 520px; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border-radius: 2px; }
.case-media figure.hero-stage img { max-width: 600px; }
.case-media figure.story img { max-width: 380px; }
.case-media figure.wide { background: #0e0e0d; padding: clamp(20px, 3vw, 40px); }
.case-media img { width: 100%; height: auto; }
.case-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-media .pair figure.stage { padding: clamp(20px, 3vw, 44px); }
.case-statement {
  background: var(--or); color: #000;
  padding: clamp(40px, 6vw, 90px);
  font-size: clamp(30px, 3.4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.case-statement .mono { display: block; margin-bottom: 30px; }
.case-list { background: #111110; padding: clamp(30px, 4vw, 60px); display: grid; gap: 0; }
.case-list div { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; }
.case-list div span { font-family: var(--f-mono); font-size: 11px; color: var(--or); padding-top: 6px; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 0.45fr 0.55fr; gap: 40px; padding: 150px var(--pad) 100px; }
.contact-left { position: sticky; top: 140px; align-self: start; }
.contact-left .lead { margin-top: 30px; max-width: 30ch; }
.contact-left .direct { margin-top: 40px; display: grid; gap: 10px; }
.contact-left .direct a { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.contact-left .direct a:hover { color: var(--or); }
.cform-intro { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 40px; }
.cform fieldset { border: 0; padding: 0; margin: 0 0 46px; }
.cform legend { padding: 0; margin-bottom: 18px; color: var(--fg-2); }
.cfield { display: block; margin-bottom: 22px; }
.cfield .mono { display: block; color: var(--muted); margin-bottom: 4px; }
.cfield input, .cfield textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 8px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  outline: none;
  resize: vertical;
}
.cfield textarea { min-height: 90px; font-size: 20px; }
.cfield input:focus, .cfield textarea:focus { border-color: var(--or); }
.cfield input::placeholder, .cfield textarea::placeholder { color: rgba(243, 242, 238, 0.32); }
.chips-label { font-size: 20px; letter-spacing: -0.02em; margin: 26px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: all 0.25s;
}
.chip:hover { border-color: var(--or); }
.chip.sel { background: var(--or); border-color: var(--or); color: #000; }
.cform .note { color: var(--muted); font-size: 14px; margin: 10px 0 26px; }
.cform-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 26px 22px;
  background: var(--fg); color: #000;
  font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.04em;
  transition: background 0.3s;
}
.cform-submit:hover { background: var(--or); }
.cform-submit .mono { font-size: 12px; }
.cform-msg { margin-top: 16px; min-height: 22px; color: var(--or-2); }
.cform-done { display: none; padding: 40px; border: 1px solid var(--line-2); border-radius: 4px; background: #0d0d0c; }
.cform-done.on { display: block; animation: fadeUp 0.7s var(--ease); }

/* ---------- links da bio ---------- */
.links-page { min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 90px 18px 40px; position: relative; overflow: hidden; }
.links-page .glow { width: 520px; height: 520px; left: 50%; top: -160px; transform: translateX(-50%); }
.links-logo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.links-logo svg { width: 190px; height: auto; color: #fff; }
.links-logo .mono { letter-spacing: 0.6em; margin-right: -0.6em; color: var(--fg-2); }
.links-sub { margin-top: 22px; color: var(--fg-2); text-align: center; max-width: 30ch; }
.links-list { width: min(460px, 100%); margin-top: 34px; display: grid; gap: 10px; }
.link-row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 18px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgba(15, 15, 14, 0.8);
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
}
.link-row::before { content: ""; position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); z-index: 0; }
.link-row > * { position: relative; z-index: 1; }
.link-row:hover { color: #000; border-color: var(--or); }
.link-row:hover::before { transform: scaleX(1); }
.link-row strong { display: block; font-size: 19px; font-weight: 400; letter-spacing: -0.025em; }
.link-row span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; margin-top: 3px; }
.link-row svg { width: 14px; flex: none; }
.link-row.main { background: var(--or); color: #000; border-color: var(--or); }
.link-row.main::before { background: #fff; }
.links-foot { margin-top: auto; padding-top: 50px; color: var(--muted); text-align: center; }

/* ---------- legal e 404 ---------- */
.legal { max-width: 820px; padding: 150px var(--pad) 120px; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--fg-2); font-size: 16px; }
.legal .updated { color: var(--muted); }
.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad); }
.notfound .lead { margin-top: 24px; }
.notfound .roll { margin-top: 36px; }

/* ---------- revelação genérica ---------- */
.reveal { opacity: 0; transform: translateY(30px); }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .t-game { grid-column: span 12; }
  .t-tall { grid-column: span 12; grid-row: auto; min-height: 520px; }
  .t-white, .t-dark { grid-column: span 6; }
  .t-mat { grid-column: span 6; }
  .t-wide { grid-column: span 6; }
  .tf { grid-template-columns: 1fr; }
  .tf-side { border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.18); }
  .tf-side .h-m { margin-top: 30px; }
  .tf-side .steps { display: none; }
  .case { grid-template-columns: 1fr; }
  .case-side { position: relative; height: auto; padding-bottom: 20px; }
  .case-side .meta { margin-top: 40px; }
  .case-media { padding-top: 10px; }
  .contact { grid-template-columns: 1fr; }
  .contact-left { position: relative; top: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .header { padding: 16px; }
  .menu-btn { padding: 11px 16px; }
  .header-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .roll { min-width: 0; width: 100%; }
  .hero-actions { flex-direction: column; gap: 6px; }
  .approach-head, .apply-head, .chapter-grid { grid-template-columns: 1fr; }
  .approach-head > p { justify-self: start; }
  .chapter-grid .roll { justify-self: stretch; }
  .t-white, .t-dark, .t-mat, .t-wide { grid-column: span 12; }
  .tile { min-height: 260px; }
  .t-game { min-height: 360px; }
  .band-stage { margin-top: 40px; }
  .band-desc { padding-top: 30px; }
  .svc-list li { flex-direction: column; align-items: center; gap: 4px; }
  .svc-list .n { padding-top: 0; }
  .svc-list .d { position: static; text-align: center; max-width: 30ch; margin-top: 6px; }
  .tf { min-height: 640px; }
  .tf-main { padding: 24px 18px; }
  .tf-help, .tf-field, .tf-actions, .tf-err { margin-left: 0; }
  .tf-choices { grid-template-columns: 1fr; }
  .tf-enter { display: none; }
  .team-head { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .motion { min-height: 0; }
  .floater { opacity: 0.55 !important; }
  .motion-copy { flex-direction: column; align-items: flex-start; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom > :last-child { justify-self: start; }
  .case-nav a { min-width: 0; flex: 1; }
  .case-media .pair { grid-template-columns: 1fr; }
  .float-card { left: 14px; right: 14px; max-width: none; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
