:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-top: #171717;
  --text: #f2f2f2;
  --text-2: #a6a6a6;
  --muted: #767676;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --surface: #131313;
  --surface-2: #1c1c1c;
  --surface-3: #2a2a2a;
  --pill: rgba(26, 26, 26, .72);
  --neon: #4dff1f;
  --magenta: #ff3fcf;
  --gold: #c9a467;
  --dim: #2f3944;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 900px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--neon); color: #000; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -.02em; }
h1 em, h2 em, .foot-sign em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 8px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
}
.center { text-align: center; }

/* ---------- botões ---------- */
.btn-primary, .btn-secondary, .btn-neon {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 10px; padding: 8px 14px;
  font-size: 16px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--text); color: #0a0a0a; font-weight: 500; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-neon { background: var(--neon); color: #0a0a0a; font-weight: 500; }
.btn-neon:hover { box-shadow: 0 0 40px 4px rgba(77,255,31,.4); transform: translateY(-2px); }
.btn-lg { padding: 14px 22px; font-size: 18px; border-radius: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: var(--gutter); right: var(--gutter);
  max-width: calc(var(--max) - 80px); margin: 0 auto;
  display: flex; gap: 10px; align-items: stretch;
}
.pill {
  background: var(--pill);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 40px rgba(0,0,0,.35);
  display: flex; align-items: center;
}
.pill-main { flex: 1; padding: 10px 14px 10px 14px; gap: 28px; min-width: 0; }
.pill-cta { padding: 8px; gap: 6px; flex: none; }
.pill-cta .ghost { padding: 8px 12px; border-radius: 10px; color: var(--text-2); }
.pill-cta .ghost:hover { background: rgba(255,255,255,.06); color: var(--text); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: 6px; white-space: nowrap; min-width: 0;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--neon); color: #0a0a0a;
  font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1;
  padding-top: 2px;
}
.logo-name { font-size: 18px; font-weight: 600; letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; }
.links { display: flex; gap: 22px; font-size: 16px; color: var(--text-2); }
.links a { position: relative; transition: color .2s ease; }
.links a:hover { color: var(--text); }
.links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.links a:hover::after { transform: scaleX(1); }
.more {
  margin-left: auto; width: 36px; height: 36px; border: 0; background: transparent; flex: none;
  border-radius: 10px; display: grid; place-content: center; gap: 3px; cursor: pointer;
}
.more:hover { background: rgba(255,255,255,.08); }
.more span { width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: rgba(20,20,20,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 16px; padding: 10px; display: grid;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px rgba(0,0,0,.5);
}
.menu[hidden] { display: none; }
.menu a { padding: 14px 16px; border-radius: 10px; font-size: 22px; }
.menu a:hover { background: rgba(255,255,255,.06); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 110px var(--gutter) clamp(48px, 8vh, 90px);
  text-align: center;
  isolation: isolate;
  overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 38%;
  width: min(1000px, 140vw); aspect-ratio: 2 / 1; translate: -50% -50%;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(255,63,207,.16), transparent),
    radial-gradient(closest-side at 65% 50%, rgba(77,255,31,.12), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.fan {
  position: relative; width: min(900px, 100%); height: clamp(200px, 29vw, 350px);
  margin: 0 auto clamp(-40px, -3vw, -20px);
}
.shot {
  position: absolute; left: 50%; top: 50%; width: 56%;
  translate: -50% -50%;
  transition: rotate .5s cubic-bezier(.2,.8,.2,1), translate .5s cubic-bezier(.2,.8,.2,1);
}
.shot-in {
  background: var(--surface-2); border-radius: 18px; padding: 8px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px rgba(0,0,0,.65);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.shot .frame-bar { padding: 2px 4px 8px; }
.shot .frame-bar i { width: 8px; height: 8px; }
.shot img { width: 100%; height: auto; border-radius: 11px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.s1 { rotate: -9deg; translate: -96% -46%; }
.s1 .shot-in { animation-delay: -2s; filter: brightness(.82); }
.s3 { rotate: 9deg; translate: -4% -46%; }
.s3 .shot-in { animation-delay: -4s; filter: brightness(.82); }
.s2 { z-index: 2; translate: -50% -56%; }
.fan:hover .s1 { rotate: -12deg; translate: -102% -46%; }
.fan:hover .s3 { rotate: 12deg; translate: 2% -46%; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
.hero-copy { position: relative; z-index: 3; max-width: 1100px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.hero h1 em { color: var(--neon); }
.hero-sub {
  margin: 22px auto 0; max-width: 620px; color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 20px);
}
.hero-sub b { font-weight: 500; color: var(--text); }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- clientes ---------- */
.clients { padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 70px); }
.marquee {
  margin-top: 28px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; width: max-content; align-items: center;
  animation: marquee 32s linear infinite; will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee-track { gap: 0; }
.tile {
  flex: none; height: 96px; padding: 0 34px; border-radius: 20px; margin-right: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile img { height: 100%; width: auto; padding: 18px 0; }
.t-harm { background: #f1e8e4; }
.t-harm img { padding: 16px 0; }
.t-videira { background: #fffaf5; }
.t-videira img { padding: 20px 0; }
.t-apto { background: #10161d; color: #fff; gap: 12px; }
.t-apto svg { width: 40px; height: 40px; flex: none; }
.apto-txt { display: grid; line-height: 1.1; text-align: left; }
.apto-txt b { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 23px; letter-spacing: -.01em; }
.apto-txt small { font-family: "Manrope", system-ui, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

/* ---------- manifesto ---------- */
.statement {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 14vw, 180px) var(--gutter);
}
.statement h2 {
  margin-top: 20px;
  font-size: clamp(32px, 4.8vw, 66px);
  line-height: 1.08; letter-spacing: -.025em;
  max-width: 1100px;
}
.reveal-words .w { color: var(--dim); transition: color .25s linear; }
.reveal-words .w.on { color: var(--text); }

/* ---------- títulos de seção ---------- */
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head h2 { margin-top: 12px; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; }
.section-head h2 em { color: var(--text-2); }

/* ---------- trabalhos ---------- */
.work { padding-bottom: clamp(60px, 10vw, 120px); }
.timeline {
  max-width: var(--max); margin: 48px auto 0;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: var(--surface); border-radius: 22px; padding: 14px;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.5);
}
.tl-bar { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; }
.tl-play { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-3); position: relative; flex: none; }
.tl-play::after {
  content: ""; position: absolute; left: 10px; top: 8px;
  border-left: 8px solid #ddd; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.tl-time { color: #9a9a9a; }
.tl-ruler {
  flex: 1; height: 8px; border-radius: 4px; position: relative;
  background: repeating-linear-gradient(90deg, #333 0 1px, transparent 1px 22px);
}
.tl-ruler i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--neon); opacity: .8; border-radius: 4px; transition: width .4s ease; }
.tl-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.clip {
  aspect-ratio: 16 / 10; border-radius: 16px; position: relative; overflow: hidden;
  background: var(--surface-2) var(--img) top center / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s ease;
}
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8)); }
.clip span { position: absolute; z-index: 1; left: 14px; bottom: 12px; color: #fff; font-size: 16px; }
.clip:hover { transform: translateY(-4px); }

.project {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.project.flip .p-copy { order: 2; }
.p-copy h3 { margin: 14px 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.p-copy > p:not(.mono) { color: var(--text-2); max-width: 480px; }
.tags { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line);
}
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 18px; border-bottom: 1px solid var(--text); padding-bottom: 2px; }
.link-arrow:hover { color: var(--neon); border-color: var(--neon); }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translate(3px, -3px); }

.frame {
  display: block; background: var(--surface-2); border-radius: 22px; padding: 10px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 90px rgba(0,0,0,.55);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.frame-bar .url {
  margin-left: 10px; padding: 4px 10px; border-radius: 6px; background: var(--surface);
  color: #9a9a9a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.frame img { border-radius: 14px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- serviços ---------- */
.services { padding: clamp(60px, 10vw, 120px) 0; }
.cards {
  max-width: var(--max); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 22px 22px 28px; min-height: 420px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2); }
.card h3 { margin-top: auto; font-size: 34px; letter-spacing: -.03em; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.blob {
  height: 200px; border-radius: 20px; background: var(--surface-2);
  display: grid; place-items: center; margin-bottom: 28px; overflow: hidden;
}
.blob span {
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 34px;
  font-size: 44px; font-weight: 600; letter-spacing: -.04em;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.3);
}
.card:hover .blob span { transform: scale(1.08) rotate(-6deg); }
.blob-inflate span {
  color: #fff; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 52px;
  background: radial-gradient(circle at 30% 25%, #fff 0, #f6b8ff 14%, #a35cff 45%, #3a1a8a 100%);
  box-shadow: inset -8px -10px 24px rgba(0,0,0,.35), inset 8px 10px 24px rgba(255,255,255,.4), 0 20px 40px rgba(163,92,255,.35);
  text-shadow: 0 2px 6px rgba(60,0,120,.5);
}
.blob-glow span {
  color: #fff; background: radial-gradient(circle, #0e2a5a 30%, #08142b 70%);
  box-shadow: 0 0 0 3px var(--neon), 0 0 30px 8px rgba(77,255,31,.45), inset 0 0 30px rgba(77,255,31,.5);
  font-size: 64px;
}
.blob-chrome span {
  color: #222; font-family: var(--mono); font-size: 40px;
  background: linear-gradient(135deg, #fff 0, #8d8d8d 25%, #f6f6f6 45%, #4b4b4b 65%, #e2e2e2 85%, #7a7a7a 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}

/* ---------- processo ---------- */
.process { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 10vw, 120px); }
.proc {
  max-width: var(--max); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 14px;
}
.proc-tabs { display: grid; gap: 6px; align-content: start; }
.proc-tabs button {
  font: inherit; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em;
  text-align: left; background: transparent; border: 0; padding: 10px 18px; border-radius: 16px;
  color: #4a4a4a; cursor: pointer; transition: color .2s ease, background .2s ease;
}
.proc-tabs button:hover { color: var(--text); }
.proc-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-2); }
.proc-panel {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(22px, 3vw, 36px); min-height: 360px;
  display: grid; grid-template-rows: auto 1fr; gap: 28px;
}
.panel-ui { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; }
.panel-num { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--neon); }
.dial { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; }
.dial i {
  position: absolute; top: 50%; left: var(--step, 25%); width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(255,255,255,.15);
  transition: left .45s cubic-bezier(.2,.9,.3,1);
}
.dial::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--step, 25%); background: var(--neon); border-radius: 3px; transition: width .45s cubic-bezier(.2,.9,.3,1); }
[role="tabpanel"] { align-self: end; animation: fadeUp .45s ease both; }
[role="tabpanel"] h3 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; }
[role="tabpanel"] p { margin-top: 12px; color: var(--text-2); max-width: 520px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- CTA ---------- */
.cta { padding: 0 var(--gutter) clamp(60px, 10vw, 120px); }
.cta-box {
  max-width: var(--max); margin: 0 auto; text-align: center;
  background: var(--surface); border-radius: 36px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(60px, 10vw, 130px) var(--gutter);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-box::before {
  content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; left: 50%; top: 100%;
  transform: translate(-50%, -45%); border-radius: 50%;
  background: radial-gradient(circle, rgba(77,255,31,.32), rgba(255,63,207,.16) 45%, transparent 70%);
  filter: blur(20px);
}
.cta-box h2 { margin: 14px auto 18px; max-width: 900px; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.cta-box h2 em { color: var(--neon); }
.cta-box > p:not(.mono) { color: var(--text-2); max-width: 520px; margin: 0 auto 30px; }
.cta-num { margin-top: 16px; }

/* ---------- footer ---------- */
.footer { padding: 0 var(--gutter); overflow: hidden; }
.foot-row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); }
.foot-row a:hover { color: var(--text); }
.foot-sign {
  text-align: center; white-space: nowrap;
  font-size: clamp(44px, 12.4vw, 190px); font-weight: 500; letter-spacing: -.055em;
  line-height: .95; margin: 24px 0 0; padding-bottom: .1em;
  background: linear-gradient(180deg, var(--text) 35%, rgba(242,242,242,.12));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- entrada por scroll ---------- */
.fx { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.fx.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .links, .pill-cta .ghost { display: none; }
  .project, .proc { grid-template-columns: minmax(0, 1fr); }
  .project.flip .p-copy { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 0; }
  .proc-tabs { grid-auto-flow: column; overflow-x: auto; }
  .proc-tabs button { font-size: 22px; white-space: nowrap; padding: 10px 14px; }
}
@media (min-width: 961px) { .more { display: none; } .menu { display: none !important; } }
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { gap: 8px; top: 12px; }
  .pill-main { padding: 6px 4px 6px 8px; gap: 8px; }
  .pill-cta { padding: 6px; }
  .pill-cta .btn-primary { padding: 8px 11px; font-size: 14px; }
  .more { width: 32px; }
  .logo { gap: 8px; }
  .logo-name { font-size: 14.5px; letter-spacing: -.04em; }
  .logo-mark { width: 28px; height: 28px; font-size: 20px; }
  .tl-clips { grid-template-columns: 1fr 1fr; }
  .tl-clips .clip:last-child { display: none; }
  .clip span { font-size: 13px; }
  .tile { height: 76px; padding: 0 24px; border-radius: 16px; }
  .apto-txt b { font-size: 19px; }
  .t-apto svg { width: 32px; height: 32px; }
  .hero { padding-bottom: 40px; }
}

@media (max-width: 370px) {
  .logo-mark { display: none; }
  .pill-main { padding-left: 12px; }
  .nav { gap: 6px; }
  .more { width: 28px; }
  .pill-cta .btn-primary { padding: 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot-in, .marquee-track { animation: none; }
  .fx { opacity: 1; transform: none; transition: none; }
  .reveal-words .w { color: var(--text); }
}
