/* ==========================================================================
   Kreative Labs — Portfólio
   Sistema visual do Manual de Identidade v1.0 (2026)
   Cores: Laranja Vibrante #FF5A36 · Preto Carbono #171717 · Off White #F7F4EE · Cinza Neutro #B7B5AF
   Tipos: Sora (títulos) · Inter (texto) · Space Mono (labels)
   ========================================================================== */

:root {
  --orange: #FF5A36;
  --orange-hover: #C9381A;
  --orange-75: #FF8368;
  --orange-50: #FFAC9A;
  --black: #171717;
  --deep: #0E0E0E;
  --n-26: #262626;
  --n-3a: #3A3A39;
  --n-6e: #6E6D69;
  --gray: #B7B5AF;
  --n-e4: #E4E1DA;
  --off: #F7F4EE;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 3.9vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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(--deep);
  color: var(--off);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mono i, .label i { font-style: normal; color: var(--orange); }
.o { color: var(--orange); }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }

/* máscara para títulos que sobem */
.line { display: block; overflow: hidden; padding: .06em 0 .08em; margin: -.06em 0 -.08em; }
.line > span { display: inline-block; will-change: transform; }

/* label do manual: traço laranja + Space Mono */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.label::before { content: ''; flex: none; width: 36px; height: 1px; background: var(--orange); }
.label--dark { color: var(--black); }
.label--dark::before { background: var(--black); }

/* cabeçalho de seção (como no topo das páginas do manual) */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 44px;
}
.sec-head__id { display: flex; flex-direction: column; }
.sec-head__id span { color: var(--n-6e); }
.sec-head__id b { color: var(--off); font-weight: 700; }
.sec-head__tag { color: var(--gray); text-align: right; max-width: 42ch; }
.sec-head--dark .sec-head__id span,
.sec-head--dark .sec-head__tag { color: rgba(23, 23, 23, .62); }
.sec-head--dark .sec-head__id b { color: var(--black); }

/* cantoneiras da "grade de laboratório" */
.frame { position: absolute; inset: 14px; pointer-events: none; z-index: 3; }
.frame i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(247, 244, 238, .75); }
.frame i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.frame i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }

/* ---------- botões (pílula, label em Space Mono) ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--black); }
.btn--primary::before { background: var(--off); }
.btn--ghost { border: 1px solid rgba(247, 244, 238, .32); color: var(--off); }
.btn--ghost::before { background: var(--off); }
.btn--ghost:hover { color: var(--black); border-color: var(--off); }
.btn--ghost:hover svg { transform: translate(2px, -2px); }

/* ---------- 3D ---------- */
.webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; pointer-events: none; }
.webgl-fallback { display: none; }
.no-webgl .webgl { display: none; }
.no-webgl .webgl-fallback {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 76% 50%, rgba(255, 90, 54, .14), transparent 45%), var(--deep);
}
.no-webgl .webgl-fallback::before {
  content: '';
  position: absolute;
  right: 3vw;
  top: 50%;
  width: min(84vh, 60vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url('../img/renders/knot.webp') center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
@media (max-width: 768px) {
  .no-webgl .webgl-fallback::before { right: 50%; width: 96vw; transform: translate(50%, -62%); }
}

main { position: relative; z-index: 1; }

/* ---------- camadas de interface ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

.grain {
  position: fixed;
  inset: -100px;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 18px); } 40% { transform: translate(22px, -26px); }
  60% { transform: translate(-14px, -40px); } 80% { transform: translate(36px, 12px); } 100% { transform: translate(0, 0); }
}

.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); transition: opacity .25s, background-color .3s; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(247, 244, 238, .45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--orange); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); border-color: var(--orange); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.is-text .cursor__dot, .cursor.is-text .cursor__ring { opacity: 0; }
body.on-light .cursor__ring { border-color: rgba(23, 23, 23, .45); }
body.on-orange .cursor__ring { border-color: rgba(23, 23, 23, .55); }
body.on-orange .cursor__dot { background: var(--black); }
body.on-orange .cursor.is-label .cursor__ring { background: var(--black); border-color: var(--black); }
body.on-orange .cursor.is-label .cursor__label { color: var(--orange); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor [role="button"] { cursor: none; } }

.hud {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 36px;
  z-index: 55;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  color: var(--n-6e);
  opacity: 0;
  transition: opacity .8s, color .4s;
}
.hud .mono { font-size: 10.5px; }
.is-ready .hud { opacity: 1; }
body.on-light .hud, body.on-orange .hud { color: rgba(23, 23, 23, .6); }

/* ---------- dock (barra flutuante) ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(23, 23, 23, .72);
  border: 1px solid rgba(247, 244, 238, .09);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transform: translate(-50%, 160%);
  transition: transform 1s var(--ease);
}
.is-ready .dock { transform: translate(-50%, 0); }
.dock.is-tucked { transform: translate(-50%, 160%); }
.dock__home { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); flex: none; }
.dock__home img { width: 22px; height: auto; }
.dock__link {
  height: 44px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .3s, background-color .3s;
}
.dock__link:hover, .dock__link.is-active { color: var(--off); background: rgba(247, 244, 238, .07); }
.dock__menu { display: none; height: 44px; padding: 0 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--off); border-radius: 999px; }
.dock__cta {
  height: 44px;
  margin-left: 4px;
  padding: 0 18px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s;
}
.dock__cta:hover { background: var(--off); }
.dock__pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.dock__pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--black); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- menu (celular) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  background: var(--deep);
  clip-path: circle(0% at 50% calc(100% - 44px));
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: circle(150% at 50% calc(100% - 44px)); visibility: visible; transition: clip-path .9s var(--ease-io); }
.menu__grid, .loader__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(247, 244, 238, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 244, 238, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 75%);
}
.menu__nav { position: relative; display: flex; flex-direction: column; gap: 4px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 11vw, 64px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.menu__nav a span { color: var(--orange); font-size: 11px; transform: translateY(-1.6em); }
.menu__foot { position: absolute; left: var(--gutter); bottom: 110px; color: var(--gray); }
.menu__foot b { color: var(--orange); }

/* ---------- preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--deep);
}
.loader__row { position: absolute; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 20px; color: var(--n-6e); }
.loader__row .mono { font-size: 11px; }
.loader__row--top { top: 34px; }
.loader__row--bottom { bottom: 34px; }
.loader__count { color: var(--off); font-size: 13px !important; min-width: 4ch; text-align: right; }
.loader__window { position: relative; width: clamp(120px, 11vw, 172px); aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--orange); }
.loader__window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.loader__window img.is-on { opacity: 1; }
.loader__dot { position: fixed; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); opacity: 0; pointer-events: none; z-index: 2; }
.no-js .loader { display: none; }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 34px var(--gutter) 0;
}
.topbar__logo { justify-self: start; }
.topbar__logo img { width: clamp(150px, 12.5vw, 196px); height: auto; }
.topbar__intro { max-width: 32ch; font-size: 14px; line-height: 1.55; color: var(--gray); }
.topbar__nav {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.topbar__nav a { color: var(--off); transition: color .3s; }
.topbar__nav a:hover { color: var(--orange); }

.hero__stage { position: absolute; inset: 0; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 8.3vw, 158px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--off);
}
.hw { position: absolute; display: block; white-space: nowrap; }
.hw--1 { left: var(--gutter); top: 24%; }
.hw--2 { left: 36%; top: 44%; }
.hw--3 { left: var(--gutter); top: 63%; }
.hw__meta { display: block; margin-top: 16px; font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: .18em; color: var(--gray); }
.hw--3 .hw__meta { margin: 0 0 16px 4px; }
.hw--1 .hw__meta { margin-left: 4px; }
.hero__arrow { position: absolute; right: var(--gutter); top: 63%; width: clamp(52px, 5.4vw, 92px); color: var(--off); transition: color .3s; }
.hero__arrow:hover { color: var(--orange); }
.hero__arrow svg { width: 100%; height: auto; overflow: visible; }

/* ==========================================================================
   02 · O QUE EU FAÇO
   ========================================================================== */
.statement { position: relative; }
.statement__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.statement__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: start;
}
.statement__inner .label { margin-top: .9em; }
.statement__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.75vw, 66px);
  line-height: 1.1;
  letter-spacing: -.022em;
  color: var(--off);
  max-width: 21ch;
}
.statement__text em, .about__lead em { font-style: normal; color: var(--orange); }
.statement__sub { margin-top: 40px; color: var(--gray); }
.js .statement__text .w, .js .about__lead .w { opacity: .13; }

.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater {
  position: absolute;
  width: clamp(130px, 12.5vw, 220px);
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(247, 244, 238, .08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  will-change: transform;
}
.floater--wide { aspect-ratio: 16 / 9; width: clamp(190px, 18vw, 330px); }
.floater img { width: 100%; height: 100%; object-fit: cover; }
.fl-1 { left: 3%; top: 62%; }
.fl-2 { left: 63%; top: 84%; }
.fl-3 { left: 21%; top: 104%; z-index: 3; }
.fl-4 { left: 86%; top: 38%; }
.fl-5 { left: 47%; top: 118%; z-index: 3; }
.fl-6 { left: 4%; top: 130%; }
.fl-7 { left: 77%; top: 128%; z-index: 3; }
.fl-8 { left: 33%; top: 150%; }
.fl-9 { left: 60%; top: 160%; }
.tcard {
  aspect-ratio: auto;
  width: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(23, 23, 23, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--off);
}
.tcard.mono { font-size: 11px; letter-spacing: .06em; text-transform: none; }
.tcard__k { color: var(--n-6e); }
.tcard--code b { color: var(--orange); font-weight: 400; }
.tcard--code i { color: var(--orange-50); font-style: normal; }
.tcard--swatch { flex-direction: column; min-width: 170px; }
.tcard--swatch.mono { letter-spacing: .14em; text-transform: uppercase; }
.tcard__chip { display: block; height: 70px; margin: -6px -8px 8px; border-radius: 8px; background: linear-gradient(135deg, var(--orange-75), var(--orange) 45%, var(--orange-hover)); }
.tcard--type { align-items: flex-start; min-width: 150px; }
.tcard__aa { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: .9; letter-spacing: -.03em; }
.tcard--type .tcard__k { font-size: 10.5px; }

/* ==========================================================================
   03 · SERVIÇOS (seção clara)
   ========================================================================== */
.services {
  position: relative;
  z-index: 2;
  background: var(--off);
  color: var(--black);
  border-radius: 32px 32px 0 0;
  padding-bottom: 140px;
}
.services .sec-head__id span, .services .sec-head__tag { color: var(--n-6e); }
.services .sec-head__id b { color: var(--black); }
.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin: 96px 0 72px;
}
.services__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6.3vw, 112px); line-height: 1; letter-spacing: -.03em; }
.services__title em { font-style: normal; color: var(--orange); }
.services__lead { font-size: 18px; line-height: 1.6; color: var(--n-3a); max-width: 36ch; justify-self: end; }
.svc-list { border-top: 1px solid rgba(23, 23, 23, .14); }
.svc {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 76px minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1fr) 44px;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(23, 23, 23, .14);
  transition: color .5s var(--ease);
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease);
}
.svc:hover::before { transform: scaleY(1); }
.svc:hover { color: var(--off); }
.svc__idx { color: var(--black); transition: color .5s; }
.svc:hover .svc__idx { color: var(--orange); }
.svc__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 58px); line-height: 1.04; letter-spacing: -.025em; transition: transform .6s var(--ease); }
.svc:hover .svc__name { transform: translateX(14px); }
.svc__desc { font-size: 16px; color: var(--n-3a); transition: color .5s; }
.svc:hover .svc__desc { color: var(--gray); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li { padding: 5px 12px; border: 1px solid rgba(23, 23, 23, .22); border-radius: 999px; font-size: 10px; transition: border-color .5s; }
.svc:hover .svc__tags li { border-color: rgba(247, 244, 238, .25); }
.svc__arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), color .4s; }
.svc:hover .svc__arrow svg { transform: rotate(45deg); color: var(--orange); }
.svc-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 250px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  will-change: transform;
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   04 · PROJETOS (cases empilhados)
   ========================================================================== */
.work { position: relative; z-index: 2; background: var(--deep); }
.work__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin: 90px 0 40px; }
.work__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 13.4vw, 250px); line-height: .84; letter-spacing: -.04em; text-transform: uppercase; }
.work__title b { color: var(--orange); }
.work__head .label { margin-bottom: 1.6vw; }
.cases { position: relative; }
.case {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  background: var(--deep);
  overflow: hidden;
}
.case + .case { border-top: 1px solid #1d1d1d; }
.case__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: stretch;
  transform-origin: 50% 30%;
  will-change: transform;
}
.case__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #121212;
  border: 1px solid var(--n-26);
}
.case__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.case__slides img.is-active { opacity: 1; transform: scale(1); }
.case__counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--off);
  background: rgba(14, 14, 14, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.case__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(255, 90, 54, .28) 49.6%, rgba(255, 131, 104, .9) 50%, rgba(255, 90, 54, .28) 50.4%, transparent 56%);
  transform: translateY(-100%);
  opacity: 0;
}
.case__media:hover .case__scan { animation: scan 1.3s var(--ease-io); }
@keyframes scan { 0% { transform: translateY(-60%); opacity: 1; } 100% { transform: translateY(60%); opacity: 1; } }
.case__info { display: flex; flex-direction: column; padding: 4px 0; min-width: 0; }
.case__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 6.2vw, 108px); line-height: .9; letter-spacing: -.03em; }
.case__lab { margin-top: 22px; color: var(--orange); }
.case__title { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.5vw, 42px); line-height: 1.12; letter-spacing: -.018em; }
.case__title b { color: var(--orange); }
.case__desc { margin-top: 16px; font-size: 16px; color: var(--gray); max-width: 44ch; }
.case__tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { padding: 5px 12px; border: 1px solid var(--n-3a); border-radius: 999px; font-size: 10px; color: var(--gray); }
.case__actions { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.case__next { color: var(--gray); font-size: 11px; transition: color .3s; }
.case__next:hover { color: var(--off); }
.case__shade { position: absolute; inset: 0; z-index: 4; background: #070707; opacity: 0; pointer-events: none; }
.case__media--cta { display: flex; align-items: flex-end; padding: clamp(24px, 3vw, 48px); background: #0f0f0f; }
.case__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 38%, rgba(255, 90, 54, .55), rgba(255, 90, 54, .12) 32%, transparent 60%), radial-gradient(circle at 20% 110%, rgba(201, 56, 26, .35), transparent 50%);
}
.case__media--cta .case__counter { right: auto; left: 24px; top: 22px; bottom: auto; }
.case__big {
  position: relative;
  z-index: 2;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.1vw, 72px);
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   05 · PROPÓSITO (seção laranja)
   ========================================================================== */
.purpose { position: relative; z-index: 2; background: var(--orange); color: var(--black); overflow: hidden; }
.purpose__pin { position: relative; min-height: 100vh; min-height: 100svh; }
.purpose__inner { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; pointer-events: none; }
.purpose__inner a, .purpose__inner button { pointer-events: auto; }
.purpose__copy { margin: auto 0; padding: 64px 0 96px; max-width: 58%; }
.purpose__title {
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 6.4vw, 122px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.purpose__text { margin-top: 38px; max-width: 50ch; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; color: var(--black); }
.purpose__inner { position: relative; }
.purpose__k { position: absolute; z-index: 1; right: -3vw; bottom: -6vh; width: min(47vw, 880px); }
.kmark { width: 100%; height: auto; overflow: visible; fill: var(--black); }
.kmark path { will-change: transform; }
.kparts {
  position: absolute;
  right: 0;
  top: 128px;
  display: grid;
  gap: 8px;
  text-align: right;
  color: var(--black);
}
.kparts li { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 11px; }
.kparts li span { color: rgba(23, 23, 23, .55); }
.kparts li em { font-style: normal; color: rgba(23, 23, 23, .62); }
.kparts li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--black); transition: background-color .3s; }
.kparts li.is-on::after { background: var(--black); }

/* ==========================================================================
   06 · MANIFESTO
   ========================================================================== */
.manifesto { position: relative; z-index: 2; background: var(--deep); }
.manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.manifesto__label { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); }
.manifesto__giant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 12.4vw, 236px);
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--off);
}
.manifesto__cards {
  position: relative;
  z-index: 2;
  margin-top: -12vh;
  padding-bottom: 32vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42vh;
}
.mcard {
  position: sticky;
  top: calc(50vh - 200px + var(--i) * 14px);
  width: min(460px, 88vw);
  min-height: 400px;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 26, 25, .9), rgba(18, 17, 16, .96));
  border: 1px solid rgba(247, 244, 238, .09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  transform-origin: 50% 0;
}
.mcard::after {
  content: '';
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -70%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(255, 90, 54, .22), transparent);
  pointer-events: none;
}
.mcard__n { font-family: var(--font-display); font-weight: 300; font-size: 66px; line-height: 1; letter-spacing: -.03em; }
.mcard p { position: relative; margin-top: 30px; font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.36; letter-spacing: -.01em; }
.mcard footer { position: relative; margin-top: auto; padding-top: 30px; font-size: 10.5px; color: var(--gray); }
.mcard footer b { color: var(--orange); font-weight: 400; }

/* ==========================================================================
   07 · SOBRE
   ========================================================================== */
.about { position: relative; z-index: 2; background: var(--deep); }
.about__lead {
  margin-top: 120px;
  max-width: 23ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.9vw, 68px);
  line-height: 1.1;
  letter-spacing: -.022em;
}
.about__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 3.2vw, 60px);
  align-items: start;
  margin-top: 120px;
}
.about__row .label { margin-top: 4px; }
.slot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: #121212;
  border: 1px solid var(--n-26);
}
.slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 110%, rgba(255, 90, 54, .28), transparent 55%);
  pointer-events: none;
}
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.slot--photo::after { background: linear-gradient(180deg, transparent 62%, rgba(14, 14, 14, .62)); }
.slot--photo:hover > img { transform: scale(1.04); }
.slot--photo figcaption { color: var(--off); }
.slot__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(247, 244, 238, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 244, 238, .05) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center;
}
.slot__cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); }
.slot__cross::before, .slot__cross::after { content: ''; position: absolute; background: var(--orange); }
.slot__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.slot__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.slot figcaption { position: absolute; left: 26px; bottom: 24px; z-index: 2; font-size: 10.5px; color: var(--gray); }
.slot figcaption span { color: var(--n-6e); }
.about__text p { font-size: 17px; line-height: 1.7; color: var(--gray); }
.about__text p + p { margin-top: 20px; }
.about__text .about__quote { color: var(--off); font-weight: 600; }
.values { margin-top: 140px; }
.values__list { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.values__list li { position: relative; padding-top: 22px; border-top: 1px solid var(--n-26); }
.values__list li::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--off); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.values__list li.is-in::before { transform: scaleX(1); }
.values__list span { color: var(--n-6e); font-size: 11px; }
.values__list h3 { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.45vw, 23px); letter-spacing: -.012em; line-height: 1.2; }
.values__list p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--gray); }
.about__lead--focus { margin-top: 160px; max-width: 24ch; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); margin-top: 100px; padding-bottom: 140px; }
.about__skills p { margin-top: 28px; max-width: 42ch; font-size: 19px; line-height: 1.7; color: var(--gray); }
.traits { margin-top: 18px; }
.traits li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--n-26); }
.traits b { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.02em; }
.traits b i { font-style: normal; color: var(--orange); }
.traits span { font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 22px); color: var(--n-6e); transition: color .4s; }
.traits li:hover span { color: var(--gray); }
.marquee { overflow: hidden; border-block: 1px solid var(--n-26); padding: 28px 0; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 6.2vw, 116px);
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--n-6e); }
.marquee__track i { font-style: normal; font-size: .42em; color: var(--orange); }

/* ==========================================================================
   08 · CONTATO
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding-bottom: 150px; }
.cta__stage { position: relative; min-height: 112vh; min-height: 112svh; display: grid; place-items: center; perspective: 1400px; }
.cta__field { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; will-change: transform; }
.ccard {
  position: absolute;
  left: calc(50% + var(--x) * 1vw);
  top: calc(50% + var(--y) * 1vh);
  width: clamp(110px, 11.5vw, 206px);
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(247, 244, 238, .08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  transform: translate(-50%, -50%) translateZ(calc(var(--z) * 1px)) rotate(calc(var(--r) * 1deg));
}
.ccard img { width: 100%; height: 100%; object-fit: cover; }
.ccard--wide { aspect-ratio: 16 / 9; width: clamp(170px, 17vw, 300px); }
.ccard--sm { opacity: .55; filter: blur(1.5px); }
.cta__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 140px var(--gutter) 90px; }
.cta__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8.2vw, 156px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.cta__text { margin-top: 30px; max-width: 38ch; font-size: 18px; color: var(--gray); }
.cta__cue { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--gray); transition: color .3s; }
.cta__cue:hover { color: var(--off); }
.cta__cue i { display: inline-block; animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* ---------- formulário de contato ---------- */
.cta__form { position: relative; z-index: 2; max-width: calc(880px + 2 * var(--gutter)); scroll-margin-top: 90px; }
.cform {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(27, 26, 25, .86), rgba(15, 14, 13, .93));
  border: 1px solid rgba(247, 244, 238, .09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .6);
}
.cform::before {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -75%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(255, 90, 54, .16), transparent);
  pointer-events: none;
}
.cform > * { position: relative; }
.cform .frame { position: absolute; }
.cform__honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.cform__time { color: var(--n-6e); font-size: 10.5px; }
.cform__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.field__label { font-size: 10.5px; color: var(--gray); }
.field__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 10px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--n-3a);
  border-radius: 0;
  background: transparent linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0% 1px;
  color: var(--off);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -.01em;
  outline: none;
  transition: background-size .6s var(--ease), border-color .3s;
}
.field__input::placeholder { color: #55534f; }
.field__input:focus { background-size: 100% 1px; }
textarea.field__input { min-height: 132px; resize: vertical; font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
.field.is-invalid .field__input { border-color: var(--orange-75); }
.field__error { min-height: 1.4em; font-size: 10px; letter-spacing: .12em; color: var(--orange-75); }
.chips { min-width: 0; margin: 6px 0 30px; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 14px; }
.chips legend em { margin-left: 10px; font-style: normal; color: var(--n-6e); }
.chips__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--n-3a);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip:hover span { border-color: var(--gray); color: var(--off); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.cform__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 6px; }
.cform__note { max-width: 40ch; font-size: 13px; line-height: 1.5; color: var(--n-6e); }
.cform__submit.is-loading { opacity: .7; pointer-events: none; }
.cform__submit.is-loading svg { animation: send 1s var(--ease-io) infinite; }
@keyframes send { 0% { transform: translateX(0); opacity: 1; } 60% { transform: translateX(10px); opacity: 0; } 61% { transform: translateX(-8px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
.cform__status { min-height: 1.6em; margin-top: 18px; font-size: 10.5px; color: var(--gray); text-transform: none; letter-spacing: .06em; }
.cform__status a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cform__done {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
  background: rgba(15, 14, 13, .97);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.cform.is-done .cform__done { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.cform__check { position: relative; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 50%; background: var(--orange); }
.cform__check::after { content: ''; position: absolute; left: 25px; top: 18px; width: 14px; height: 26px; border: solid var(--black); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.cform.is-done .cform__check { animation: pop .7s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.cform__done-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.cform__done-title b { color: var(--orange); }
.cform__done-text { max-width: 36ch; color: var(--gray); }
.cform__again { margin-top: 10px; }
.has-cursor .field__input { cursor: text; }
.has-cursor .chip { cursor: none; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer { position: relative; z-index: 2; background: var(--deep); border-top: 1px solid #1c1c1c; padding: 110px 0 128px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer__logo img { width: clamp(260px, 46vw, 760px); height: auto; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 6px; }
.footer__ask { margin-bottom: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.5vw, 42px); letter-spacing: -.02em; line-height: 1.1; }
.footer__ask b { color: var(--orange); font-weight: 500; }
.footer__contact a { font-size: 18px; color: var(--gray); transition: color .3s; }
.footer__contact a:hover { color: var(--off); }
.footer__phone { font-size: 18px; color: var(--gray); }
.footer__contact .footer__form { margin-top: 14px; font-size: 11px; color: var(--n-6e); }
.footer__contact .footer__form:hover { color: var(--off); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; margin-top: 110px; }
.footer__h { color: var(--n-6e); font-size: 11px; }
.footer__col ul { margin-top: 18px; display: grid; gap: 4px; }
.footer__col a { display: inline-block; font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--orange); transform: translateX(6px); }
.footer__cards { display: flex; justify-content: flex-end; gap: 14px; }
.fcard {
  position: relative;
  width: 156px;
  height: 156px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--n-26);
  background: linear-gradient(180deg, #161616, #0f0f0f);
  color: var(--off);
}
.fcard .mono { font-size: 10.5px; }
.fcard::after { content: ''; position: absolute; left: -40%; right: -40%; bottom: -80%; height: 110%; background: radial-gradient(closest-side, rgba(255, 90, 54, .2), transparent); }
.fcard__dot { align-self: flex-end; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); position: relative; z-index: 1; }
.footer__bottom { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--n-26); display: flex; justify-content: space-between; gap: 20px; color: var(--n-6e); }
.footer__bottom .mono, .footer__bottom { font-size: 11px; }
.footer__top-link { color: var(--gray); transition: color .3s; }
.footer__top-link:hover { color: var(--orange); }

/* ==========================================================================
   VISUALIZADOR DE PROJETO
   ========================================================================== */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.viewer.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--gutter); }
.viewer__lab { color: var(--orange); }
.viewer__close { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--n-3a); transition: border-color .3s, transform .5s var(--ease); }
.viewer__close:hover { border-color: var(--orange); transform: rotate(90deg); }
.viewer__close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--off); }
.viewer__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.viewer__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.viewer__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 2.7fr); gap: 44px; align-items: center; padding-left: var(--gutter); }
.viewer__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 46px); line-height: 1.06; letter-spacing: -.025em; }
.viewer__desc { margin-top: 18px; color: var(--gray); font-size: 16px; }
.viewer__tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.viewer__tags li { padding: 5px 12px; border: 1px solid var(--n-3a); border-radius: 999px; font-size: 10px; color: var(--gray); }
.viewer__hint { margin-top: 40px; color: var(--n-6e); font-size: 10.5px; }
.viewer__link { margin-top: 28px; height: 48px; padding: 0 22px; }
.viewer__link[hidden] { display: none; }
.viewer__link + .viewer__hint { margin-top: 26px; }
.viewer__track {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-right: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.viewer__track img {
  flex: none;
  height: min(66vh, 50vw);
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--n-26);
  background: #121212;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}
.viewer__nav { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 22px; }
.viewer__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--n-3a); font-size: 18px; transition: border-color .3s, color .3s; }
.viewer__nav button:hover { border-color: var(--orange); color: var(--orange); }
.viewer__count { color: var(--gray); min-width: 9ch; text-align: center; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1180px) {
  .dock__link:nth-of-type(4) { display: none; }
  .svc { grid-template-columns: 60px minmax(0, 1.3fr) minmax(0, 1.3fr) 40px; }
  .svc__tags { display: none; }
  .values__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
}

@media (max-width: 1024px) {
  .topbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .topbar__intro { grid-column: 1; grid-row: 2; }
  .topbar__nav { grid-column: 2; grid-row: 1 / span 2; }
  .hw--2 { left: 30%; }
  .statement__inner { grid-template-columns: 1fr; gap: 28px; }
  .statement__inner .label { margin-top: 0; }
  .case__inner { grid-template-columns: 1fr; gap: 28px; }
  .case { position: relative; height: auto; min-height: 0; padding: 80px 0; }
  .case__info { max-width: 640px; }
  .case__actions { margin-top: 0; }
  .purpose__copy { max-width: 100%; padding-bottom: 46vw; }
  .purpose__k { width: min(78vw, 640px); right: -6vw; bottom: -6vw; }
  .kparts { top: 108px; }
  .about__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .about__row .label { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cards { grid-column: 1 / -1; justify-content: flex-start; }
  .viewer__body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 20px; padding: 0 0 0 var(--gutter); }
  .viewer__hint { display: none; }
  .viewer__track img { height: min(52vh, 62vw); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hud { display: none; }
  .grain { animation: none; }
  .dock { bottom: 14px; }
  .dock__link { display: none; }
  .dock__menu { display: block; }
  .sec-head { padding-top: 28px; }
  .sec-head__tag { display: none; }

  .topbar { grid-template-columns: 1fr; padding-top: 24px; gap: 18px; }
  .topbar__nav { display: none; }
  .topbar__intro { grid-row: auto; font-size: 13px; max-width: 30ch; }
  .hero__title { font-size: clamp(40px, 11.6vw, 92px); }
  .hw--1 { top: auto; bottom: calc(18% + 2.2em); }
  .hw--2 { left: var(--gutter); top: auto; bottom: calc(18% + 1.1em); }
  .hw--3 { top: auto; bottom: 18%; }
  .hw--1 .hw__meta { display: none; }
  .hw--3 .hw__meta { position: absolute; left: 0; top: 100%; margin: 14px 0 0 2px; }
  .hero__arrow { top: auto; bottom: calc(18% + 2.35em); width: 30px; font-size: clamp(40px, 11.6vw, 92px); }

  .statement__text { font-size: clamp(27px, 7.6vw, 40px); }
  .floater { width: 104px; border-radius: 10px; }
  .floater--wide { width: 150px; }
  .fl-3, .fl-7, .fl-9 { display: none; }
  .fl-1 { left: -4%; }
  .fl-4 { left: 76%; top: 18%; }

  .services { border-radius: 24px 24px 0 0; padding-bottom: 90px; }
  .services__intro { grid-template-columns: 1fr; margin: 56px 0 44px; gap: 22px; }
  .services__lead { justify-self: start; font-size: 16px; }
  .svc { grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 8px 14px; padding: 26px 0; }
  .svc__desc { grid-column: 2 / -1; font-size: 15px; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .svc__arrow svg { width: 24px; height: 24px; }
  .svc-preview { display: none; }

  .work__head { margin: 56px 0 10px; grid-template-columns: 1fr; gap: 18px; }
  .work__head .label { margin: 0; }
  .case { padding: 56px 0; }
  .case__num { font-size: 52px; }
  .case__lab { margin-top: 14px; }

  .purpose__copy { padding: 48px 0 70vw; }
  .purpose__k { width: 92vw; right: -10vw; bottom: -8vw; }
  .kparts { position: relative; top: auto; right: auto; margin-top: 26px; text-align: left; justify-items: start; }
  .kparts li { justify-content: flex-start; }
  .kparts li::after { order: -1; }

  .manifesto__label { top: 32px; }
  .manifesto__giant { font-size: clamp(46px, 14.2vw, 110px); }
  .manifesto__cards { gap: 34vh; margin-top: -8vh; }
  .mcard { min-height: 330px; padding: 26px; top: calc(50vh - 170px + var(--i) * 10px); }
  .mcard__n { font-size: 52px; }

  .about__lead { margin-top: 80px; font-size: clamp(26px, 7vw, 38px); }
  .about__row { grid-template-columns: 1fr; margin-top: 70px; }
  .slot { max-width: 420px; }
  .values { margin-top: 90px; }
  .values__list { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .about__lead--focus { margin-top: 100px; }
  .about__grid { margin-top: 64px; padding-bottom: 90px; gap: 56px; }

  .cta { padding-bottom: 110px; }
  .cta__stage { min-height: 100svh; }
  .cta__content { padding: 110px var(--gutter) 70px; }
  .cform { border-radius: 22px; }
  .cform__grid { grid-template-columns: 1fr; }
  .cform__foot { flex-direction: column; align-items: stretch; }
  .cform__submit { width: 100%; }
  .chip span { height: 40px; padding: 0 15px; font-size: 10px; }
  .ccard--sm { display: none; }
  .ccard { width: 92px; }
  .ccard--wide { width: 130px; }
  .cta__title { font-size: clamp(42px, 12.4vw, 80px); }
  .cta__text { font-size: 16px; }

  .footer { padding: 80px 0 110px; }
  .footer__top { flex-direction: column; gap: 56px; }
  .footer__logo img { width: min(88vw, 420px); }
  .footer__cols { margin-top: 70px; gap: 40px 24px; }
  .footer__col a { font-size: 19px; }
  .fcard { width: calc(50% - 7px); height: 132px; }
  .footer__bottom { flex-direction: column; gap: 10px; margin-top: 64px; }
}

@media (max-width: 420px) {
  .dock__cta span { font-size: 10px; letter-spacing: .12em; }
  .btn { height: 52px; padding: 0 24px; }
}

/* sem JavaScript de módulo (fallback): tudo visível e estático */
.no-motion .statement__text .w, .no-motion .about__lead .w { opacity: 1; }
.no-motion .dock, .no-motion .hud { transform: translate(-50%, 0); opacity: 1; }
.no-motion .hud { transform: none; }
.no-motion .case__slides img:first-child { opacity: 1; transform: none; }
.no-motion .cursor { display: none; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .dock__pulse::after { animation: none; }
  .case__slides img { transition: opacity .4s; transform: none !important; }
  .js .statement__text .w, .js .about__lead .w { opacity: 1; }
}
