/* ==========================================================================
   WHERLOM ALMEIDA · PORTFÓLIO
   Layout e conteúdo: Figma "Port-wherlom" (frame 1920)
   Movimento e comportamento: template MONODRIFT (Framer)
   --------------------------------------------------------------------------
   Índice
   01. Tokens
   02. Base
   03. Utilitários e componentes (barras, CTA, marcadores, hatch, blur)
   04. Preloader
   05. Nav
   06. Hero
   07. Clientes
   08. Sobre
   09. Showreel
   10. Expertise + Acordeão
   11. Manifesto
   12. Resultados
   13. Notas
   14. Rodapé / Contato
   15. Tablet (810px a 1199px)
   16. Mobile (até 809px)
   17. Movimento reduzido
   ========================================================================== */

/* 01. TOKENS ============================================================== */
:root {
  --orange: #ff5900;
  --g5: #0e0e0e;
  --g15: #262626;
  --g30: #4d4d4d;
  --g54: #8a8a8a;
  --g77: #c4c4c4;
  --g89: #e3e3e3;
  --g90: #e6e6e6;
  --g96: #f4f4f4;
  --g98: #fafafa;
  --white: #fff;
  --hero-bg: #5c5c5c;

  --f-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Escala: 1px do Figma (frame de 1920) acompanha a largura da tela,
     sem passar de 1px real em telas maiores. */
  --s: min(calc(100vw / 1920), 1px);

  --gutter: 32px;
  --intro-w: max(400px, calc(531 * var(--s)));

  /* Easings de referência (Framer) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-tween: cubic-bezier(0, 0.69, 0.56, 1);
  --ease-spring: cubic-bezier(0.34, 1.26, 0.64, 1);
}

/* 02. BASE ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--g15);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
input, select, textarea { font: inherit; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-orange { color: var(--orange); }
.c-dark { color: var(--g15) !important; }

/* 03. UTILITÁRIOS E COMPONENTES ========================================== */
.t-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12.4px;
  line-height: 15.6px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--g15);
}
.t-label--sm { font-size: 11.4px; line-height: 14.4px; color: var(--g30); }
.t-kicker {
  font-size: 13px; line-height: 15.6px; letter-spacing: -0.3px;
  text-transform: uppercase; color: var(--g15);
}
.t-body { font-size: 15.1px; line-height: 19.2px; letter-spacing: -0.48px; color: var(--g54); }

/* Colchetes [ TEXTO ] */
.bracket { white-space: nowrap; color: var(--g30); }
.bracket__b { color: var(--g77); }
.bracket--grey {
  font-weight: 600; font-size: 11.8px; line-height: 14.4px; letter-spacing: -0.3px;
  text-transform: uppercase; color: var(--g54); padding-left: 4px;
}

/* Barras de progresso (preenchem da esquerda para a direita) */
.bar { display: block; position: relative; height: 2px; width: 100%; overflow: hidden; }
.bar--4 { height: 4px; }
.bar__fill {
  position: absolute; inset: 0;
  background: var(--orange);
  transform-origin: left center;
  transform: scaleX(0);
}
.bar__fill--grey { background: var(--g90); }

/* Faixa com barra vertical à esquerda */
.with-rule { display: flex; gap: 16px; align-items: stretch; }
.with-rule__bar { flex: 0 0 4px; background: var(--g89); }

/* Textura hachurada do MONODRIFT (opacidade 30%) */
.hatch {
  background-image: url("../assets/icons/hatch.svg");
  background-size: 6.5px 6.5px;
  opacity: 0.3;
  mix-blend-mode: darken;
}

/* Marcador: caixa escura com texto laranja */
.marker {
  display: inline-flex;
  background: var(--g15);
  color: var(--orange);
  padding: 0.0125em 0.17em 0.02em;
}
.marker--xl { padding: 0 10px; font-weight: 600; }
.marker--sm { padding: 0.5px 8px; }

/* CTA com canto chanfrado (bottom-right) */
.cta {
  --notch: 12px;
  position: relative;
  display: flex;
  /* conteúdo centrado: o espaço de cima é igual ao de baixo */
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 78px;
  padding: 20px 24px 20px 16px;
  color: var(--white);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: background-color 0.4s var(--ease-out);
}
/* espaço padrão entre a seta e o texto em todos os botões */
.cta__main { display: inline-flex; align-items: center; gap: 14pt; }
.cta__icon { width: 10.35px; height: 16px; fill: currentColor; flex: none; transition: transform 0.4s var(--ease-spring); }
.cta__text {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: max(20px, calc(24 * var(--s)));
  line-height: 1;
  letter-spacing: -1.08px;
  white-space: nowrap;
  text-transform: uppercase;
}
.cta__meta {
  align-self: center;
  font-size: 10.3px; line-height: 11px; letter-spacing: -0.3px;
  text-transform: uppercase; white-space: nowrap;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.cta, .cta__text, .cta__meta { transition: color 0.4s var(--ease-out); }
/* telas menores: o botão estreito cortava "RESPOSTA EM ATÉ 24H" */
@media (max-width: 1199px) { .hero__cta .cta__meta { display: none; } }
@media (hover: hover) {
  .cta:hover { color: var(--g15); }
  .cta:hover::before { background: var(--g96); }
  .cta:hover .cta__icon { transform: translateX(4px); }
}
.cta--block { min-height: 0; padding: 24px 16px; align-items: center; }
.cta--inline { width: auto; min-height: 0; padding: 24px 24px 24px 16px; align-items: center; }
.cta--inline .cta__text { letter-spacing: -0.4px; }
.cta--xl {
  --notch: 16px;
  width: min(100%, calc(636 * var(--s)));
  min-width: 420px;
  min-height: max(80px, calc(106.26 * var(--s)));
  padding: max(22px, calc(28 * var(--s))) max(24px, calc(32.7 * var(--s))) max(22px, calc(28 * var(--s))) max(16px, calc(21.8 * var(--s)));
}
.cta--xl .cta__main { gap: 14pt; }
.cta--xl .cta__icon { width: max(10.35px, calc(14.1 * var(--s))); height: max(16px, calc(21.8 * var(--s))); }
.cta--xl .cta__text { font-size: max(24px, calc(32.7 * var(--s))); line-height: 1; letter-spacing: -0.045em; }
.cta--xl .cta__meta { font-size: max(10.3px, calc(14.03 * var(--s))); line-height: 1.07; letter-spacing: -0.41px; }

/* Desfoque progressivo (base das seções de notas/manifesto) */
.pblur { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; pointer-events: none; z-index: 3; }
.pblur i { position: absolute; inset: 0; }
.pblur i:nth-child(1) { backdrop-filter: blur(0.28px); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 16.7%, #000 33.3%, transparent 50%); mask: linear-gradient(to bottom, transparent 0%, #000 16.7%, #000 33.3%, transparent 50%); }
.pblur i:nth-child(2) { backdrop-filter: blur(1.11px); -webkit-mask: linear-gradient(to bottom, transparent 16.7%, #000 33.3%, #000 50%, transparent 66.7%); mask: linear-gradient(to bottom, transparent 16.7%, #000 33.3%, #000 50%, transparent 66.7%); }
.pblur i:nth-child(3) { backdrop-filter: blur(2.5px); -webkit-mask: linear-gradient(to bottom, transparent 33.3%, #000 50%, #000 66.7%, transparent 83.3%); mask: linear-gradient(to bottom, transparent 33.3%, #000 50%, #000 66.7%, transparent 83.3%); }
.pblur i:nth-child(4) { backdrop-filter: blur(4.45px); -webkit-mask: linear-gradient(to bottom, transparent 50%, #000 66.7%, #000 83.3%, transparent 100%); mask: linear-gradient(to bottom, transparent 50%, #000 66.7%, #000 83.3%, transparent 100%); }
.pblur i:nth-child(5) { backdrop-filter: blur(6.95px); -webkit-mask: linear-gradient(to bottom, transparent 66.7%, #000 83.3%, #000 100%); mask: linear-gradient(to bottom, transparent 66.7%, #000 83.3%, #000 100%); }
.pblur i:nth-child(6) { backdrop-filter: blur(10px); -webkit-mask: linear-gradient(to bottom, transparent 83.3%, #000 100%); mask: linear-gradient(to bottom, transparent 83.3%, #000 100%); }

/* Marca (wordmark + emblema) */
.brand { display: inline-flex; align-items: center; gap: 3.6px; color: var(--white); }
.brand__word { width: 237px; height: 19.7px; fill: currentColor; }
.brand__emblem { width: 26px; height: 26px; fill: var(--orange); transition: transform 0.6s var(--ease-spring); }
.brand--dark { color: var(--g15); }
.brand--lg { gap: max(4px, calc(5.65 * var(--s))); }
.brand--lg .brand__word { width: max(237px, calc(371.4 * var(--s))); height: auto; aspect-ratio: 238 / 20; }
.brand--lg .brand__emblem { width: max(19px, calc(30.16 * var(--s))); height: auto; aspect-ratio: 1; }

/* Split de texto (gerado via JS) */
.split-word, .split-line { display: inline-block; will-change: transform, opacity; }
.split-line-wrap { display: block; }
.flip-char { display: inline-block; transform-origin: 50% 100%; backface-visibility: hidden; will-change: transform, opacity; }
.flip-word { display: inline-block; white-space: nowrap; perspective: 600px; }
/* Hover dos botões/links: flip 3D por letra, 0.3s (igual ao MONODRIFT) */
.fx { display: inline-flex; }
.fx-c {
  position: relative; display: inline-block;
  transform-style: preserve-3d;
  white-space: pre;
  transition: transform 0.3s var(--ease-out);
}
.fx-c > span { display: block; backface-visibility: hidden; }
.fx-c > span:nth-child(2) { position: absolute; inset: 0; transform: rotateX(180deg); }
@media (hover: hover) {
  .fx-host:hover .fx-c, a:hover > .fx .fx-c { transform: rotateX(180deg); }
}
.fx-host:focus-visible .fx-c { transform: rotateX(180deg); }

/* 04. PRELOADER =========================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--orange);
  pointer-events: none;
}
/* marca de abertura: o polvo em cima, centralizado, e os dois textos em
   branco num corpo que dá para ler de longe */
.preloader__brand {
  display: flex; flex-direction: column; align-items: center;
  gap: max(18px, calc(26 * var(--s)));
  padding: 0 var(--gutter);
  transition: opacity 0.35s ease, transform 0.6s var(--ease-out);
}
.preloader__emblem {
  /* Marca pessoal em primeiro plano; emblema 25% menor. */
  width: 84pt; height: 84pt;
  max-width: 28.5vw; max-height: 28.5vw;
  fill: var(--white);
}
.preloader .brand { color: var(--white); gap: 0; }
.preloader .brand__word {
  width: min(420px, 66vw); height: auto; aspect-ratio: 238 / 20;
  fill: var(--white);
}
.preloader__tag {
  font-family: var(--f-body); font-weight: 600;
  font-size: max(11px, calc(13 * var(--s)));
  line-height: 1; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--white); opacity: 1;
  padding-left: 0.34em;
}
.preloader { background: transparent; }
.preloader__brand { position: relative; z-index: 1; animation: preBrandIn 1s cubic-bezier(.16,1,.3,1) .15s both; }
.preloader__wipe { position: absolute; inset: 0; background: var(--orange); clip-path: polygon(0% 0%,100% 0%,100% 100%,100% 100%,0% 100%); }
.preloader.is-wiping .preloader__brand { animation: preBrandOut .3s ease-in forwards; }
.preloader.is-wiping .preloader__wipe { animation: preReveal 1s cubic-bezier(.65,0,.35,1) .15s forwards; }
.preloader.is-gone { display: none; }
@keyframes preBrandIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes preBrandOut { to { opacity: 0; transform: translateY(-18px); } }
@keyframes preReveal {
  from { clip-path: polygon(0% 0%,100% 0%,100% 100%,100% 100%,0% 100%); }
  to { clip-path: polygon(0% 0%,100% 0%,100% -102%,-102% 100%,0% 100%); }
}
@media (max-width: 809px) {
  .preloader.is-wiping .preloader__wipe { animation-name: preRevealMobile; animation-timing-function: cubic-bezier(.16,1,.3,1); }
}
@keyframes preRevealMobile { to { transform: translateY(-101%); } }

/* 05. NAV ================================================================= */
.nav {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: var(--intro-w);
  background: var(--g5);
  color: var(--white);
  opacity: 0;
}
.nav__bar {
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(20px, calc(32 * var(--s)));
}
.nav__logo:hover .brand__emblem { transform: rotate(90deg) scale(1.1); }
.nav__logo { transition: opacity 0.4s var(--ease-out); }
.nav__logo:hover { opacity: 0.85; }
.nav__toggle { width: 32px; height: 32px; display: grid; place-items: center; }
.nav__toggle svg { fill: var(--white); overflow: visible; }
.nav__toggle .nav__icon-closed, .nav__toggle .nav__icon-open {
  transition: opacity .5s var(--menu-icon-ease, var(--ease-out));
}
.nav__toggle .nav__icon-closed { opacity: 1; }
.nav__toggle .nav__icon-open { opacity: 0; }
.nav.is-open .nav__icon-closed { opacity: 0; }
.nav.is-open .nav__icon-open { opacity: 1; }

.nav__menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out);
}
.nav.is-open .nav__menu { max-height: calc(100vh - 70px); max-height: calc(100svh - 70px); }
.nav__menu-inner {
  height: calc(100vh - 70px); height: calc(100svh - 70px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden auto;
  overscroll-behavior: contain;
}
.nav__menu-inner {
  height: calc(100vh - 70px); height: calc(100svh - 70px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden auto;
  overscroll-behavior: contain;
}
.nav__list { padding: 0 var(--gutter); }
.nav__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav__list a {
  display: flex; align-items: center;
  padding: 16px 2px 10px;
  font-family: var(--f-display);
  font-weight: 500; font-size: 22px; line-height: 24px; letter-spacing: -0.2px;
  transition: color 0.3s var(--ease-out);
}
.nav__list a:hover { color: var(--orange); }
/* quantidade de projetos e notas publicados, alinhada à direita */
.nav__count {
  margin-left: auto; padding-left: 16px;
  font-family: var(--f-body); font-weight: 600; font-size: 13px; line-height: 1;
  letter-spacing: -0.2px; font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s var(--ease-out);
}
.nav__list a:hover .nav__count { color: var(--orange); }
.nav__list li, .nav__foot { opacity: 0; transform: translateY(14px); transition: opacity 0.35s ease, transform 0.6s var(--ease-out); }
.nav.is-open .nav__list li, .nav.is-open .nav__foot { opacity: 1; transform: none; }
.nav.is-open .nav__list li:nth-child(1) { transition-delay: 0.08s; }
.nav.is-open .nav__list li:nth-child(2) { transition-delay: 0.12s; }
.nav.is-open .nav__list li:nth-child(3) { transition-delay: 0.16s; }
.nav.is-open .nav__list li:nth-child(4) { transition-delay: 0.20s; }
.nav.is-open .nav__list li:nth-child(5) { transition-delay: 0.24s; }
.nav.is-open .nav__foot { transition-delay: 0.3s; }
.nav__foot {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  font-weight: 600; font-size: 12px; line-height: 14px; letter-spacing: -0.3px; text-transform: uppercase;
}
.nav__contact { display: flex; flex-direction: column; gap: 8px; }
.nav__contact a { padding: 2px; }
.nav__time { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; color: var(--g77); font-size: 10.5px; line-height: 11px; }
.nav__time span:first-child { display: inline-flex; align-items: center; gap: 6.5px; }
.blink { width: 6.9px; height: 6.9px; border-radius: 50%; background: var(--orange); animation: blink 1s linear infinite alternate; }
@keyframes blink { from { opacity: 1; } to { opacity: 0.2; } }

/* 06. HERO ================================================================ */
.hero { position: relative; height: calc(100vh * var(--units, 2)); height: calc(100svh * var(--units, 2)); background: var(--hero-bg); z-index: 1; }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  min-height: 640px;
  overflow: hidden;
  --p: 0;
}
.hero__cascade {
  position: absolute; top: 0; bottom: 0; right: 0;
  left: calc(359 / 1920 * 100% * (1 - var(--p)));
  overflow: hidden;
  background: var(--g5);
  /* contexto próprio: os painéis nunca sobem por cima do painel branco */
  z-index: 1;
  isolation: isolate;
}
/* cada projeto é um painel: o ativo ocupa o palco, os próximos ficam
   enfileirados à direita com o numeral embaixo (igual ao MONODRIFT) */
.slide {
  position: absolute; top: 0; height: 100%;
  overflow: hidden;
  background: var(--g5);
}
.slide__media { position: absolute; left: 0; right: 0; top: 0; height: var(--mh, 100%); overflow: hidden; background: var(--tone, var(--hero-bg)); }
.slide__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 50%;
  transform: scale(calc(1 + 0.08 * (1 - var(--p))));
  transform-origin: 100% 50%;
  animation: heroImg 1.8s var(--ease-out) 1.1s both;
}
.slide__cap {
  position: absolute; left: 12px; right: 12px;
  top: calc(var(--mh, 100%) + 10px);
  font-weight: 600; font-size: 10px; line-height: 12px; letter-spacing: -0.2px;
  text-transform: uppercase; color: var(--g54);
  opacity: var(--qo, 0);
  transition: opacity 0.2s linear;
  pointer-events: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slide__num {
  position: absolute; left: 12px; bottom: -0.17em;
  font-family: var(--f-display); font-weight: 500;
  font-size: var(--numfs, 130px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--g30);
  opacity: var(--qo, 0);
  transition: opacity 0.2s linear;
  pointer-events: none;
}
/* espaço reservado dos projetos 02 a 06: tons de cinza diferentes */
.slide__ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
}
.slide__ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/icons/hatch.svg");
  background-size: 6.5px 6.5px;
  opacity: 0.12;
}
@keyframes heroImg { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }

.hero__intro {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: var(--intro-w);
  background: var(--white);
  transform: translateX(calc(-100% * var(--p)));
  z-index: 2;
}
.hero__body {
  height: 100%;
  display: flex; flex-direction: column; gap: 24px;
  padding: max(100px, calc(119 * var(--s))) max(20px, calc(32 * var(--s))) max(20px, calc(32 * var(--s)));
}
.eyebrow { display: flex; flex-direction: column; gap: 10px; }
.eyebrow__label { padding-left: 2.64px; }
.hero__header { display: flex; flex-direction: column; gap: 32px; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: max(46px, calc(90 * var(--s)));
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--g15);
  max-width: calc(var(--intro-w) - 2 * max(20px, calc(32 * var(--s))));
}
.hero__title > span:last-child { display: block; }
.hero__sub { max-width: 396px; }
.hero__spacer { flex: 1 1 0; min-height: 0; }
.hero__spacer.hatch { mix-blend-mode: normal; }
.hero__cta { display: flex; flex-direction: column; gap: 8px; }

.hero__card {
  position: absolute; bottom: 0; z-index: 20;
  left: calc(var(--intro-w) * (1 - var(--p)));
  width: max(520px, calc(796 * var(--s)));
  min-height: max(140px, calc(164 * var(--s)));
  padding: var(--gutter) calc(var(--gutter) + 46px) var(--gutter) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: var(--orange);
  color: var(--white);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}
.hero__count { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 10px; letter-spacing: -0.2px; }
.hero__count-bar { position: relative; width: 100px; height: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero__count-bar span { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(var(--count, 0.1667)); transition: transform 0.25s linear; }
.hero__card-title, .hero__card-desc { transition: opacity 0.25s ease-out, transform 0.35s var(--ease-out); }
.hero__card.is-swapping .hero__card-title, .hero__card.is-swapping .hero__card-desc { opacity: 0; transform: translateY(8px); }
.hero__card-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 32px; line-height: 32px; letter-spacing: -0.32px;
  text-transform: uppercase;
}
/* cadeado dos projetos com acesso restrito */
.hero__card-lock { width: 28px; height: 28px; flex: none; border-radius: 50%; }
.hero__card-lock[hidden] { display: none; }
.hero__card-desc { font-size: 12px; line-height: 17.4px; letter-spacing: -0.36px; text-transform: uppercase; }
.hero__card-arrow {
  position: absolute; right: var(--gutter); top: 50%;
  width: 21.15px; height: 34px; margin-top: -8px;
  fill: currentColor;
  transition: transform 0.5s var(--ease-spring);
}
@media (hover: hover) {
  .hero__card:hover { background: var(--g96); color: var(--g15); }
  .hero__card:hover .hero__card-arrow { transform: translateX(6px); }
}

/* botão por projeto: só aparece no celular, onde não há o palco em fila */
.slide__go { display: none; }

/* 07. CLIENTES ============================================================ */
.clients {
  /* fica preso no topo e a seção seguinte sobe por cima dele */
  position: sticky; top: 0; z-index: 0;
  overflow: hidden;   /* o ticker entra em escala 1.3: não pode vazar */
  background: var(--g15);
  padding: 100px 0;
}
.clients__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.clients__eyebrow { height: 95.6px; display: grid; place-items: center; }
.clients__emblem { width: 80px; height: 80px; fill: var(--orange); animation: floatY 1s linear infinite alternate; }
@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(10px); } }
.ticker {
  width: min(1400px, 100%);
  height: 120px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.ticker__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: 140px; padding-right: 140px; height: 100%; }
.ticker__group img {
  width: var(--w); height: auto; max-height: 108px;
  object-fit: contain;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-spring);
}
.ticker:hover .ticker__group img { opacity: 0.55; }
.ticker__group img:hover { opacity: 1 !important; transform: scale(1.06); }
.clients__foot {
  width: 310px;
  padding: 16px 0;
  border-top: 1px solid var(--g30);
  border-bottom: 1px solid var(--g30);
  display: flex; justify-content: center;
}
.clients__foot p {
  width: 270px; text-align: center;
  font-weight: 600; font-size: 12.7px; line-height: 15.6px; letter-spacing: -0.3px;
  text-transform: uppercase; color: var(--g77);
}

/* clientes e sobre ficam presos no topo; o que vem depois sobe por cima */
.about { position: sticky; top: 0; z-index: 1; }
.reel, .expertise, .manifesto, .results, .notes, .footer { position: relative; z-index: 2; }

/* 08. SOBRE =============================================================== */
.about {
  background: var(--white);
  padding: max(96px, calc(160 * var(--s))) var(--gutter) max(64px, calc(100 * var(--s)));
  display: flex; flex-direction: column; align-items: center; gap: max(40px, calc(64 * var(--s)));
}
.about__inner, .about__note { width: 100%; max-width: 1736px; }
.about__inner { display: flex; flex-direction: column; gap: 32px; }
.about__kicker { display: inline-flex; flex-direction: column; gap: 10px; width: max-content; min-width: 177px; }
.about__title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 calc(23 * var(--s));
  font-family: var(--f-display); font-weight: 500;
  font-size: max(56px, calc(120 * var(--s)));
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--g15);
}
.about__title .marker { font-weight: 600; }
.about__lead {
  max-width: calc(1326 / 1736 * 100%);
  font-size: max(22px, calc(32 * var(--s)));
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--g15);
}
.about__note p {
  max-width: 925px;
  font-size: max(16px, calc(20 * var(--s)));
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--g54);
}

/* 09. SHOWREEL ============================================================ */
.reel { background: var(--g5); overflow: hidden; }
.reel__frame {
  position: relative;
  height: max(100svh, calc(1200 * var(--s)));
  min-height: 640px;
  padding: max(56px, calc(80 * var(--s))) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white);
  overflow: hidden;
  transform-origin: 50% 50%;
}
/* a folga vertical precisa ser maior que o deslocamento do parallax,
   senão a foto sobe e abre uma faixa vazia embaixo */
.reel__bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.reel__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* camadas do mouse tracking: entram só quando a sequência está pronta */
.reel__plate, .reel__alpha { opacity: 0; transition: opacity 0.45s ease-out; pointer-events: none; }
.reel__alpha { position: absolute; inset: 0; width: 100%; height: 100%; }
/* desktop e tablet: a cena cresce 10% a partir da base para tirar o teto
   vazio; foto, fundo limpo e polvo animado escalam juntos */
@media (min-width: 810px) {
  .reel__bg img, .reel__alpha { transform: scale(1.1); transform-origin: 50% 100%; }
}
.reel.is-alpha .reel__plate, .reel.is-alpha .reel__alpha { opacity: 1; }
.reel.is-alpha-done .reel__photo { visibility: hidden; }
@media (max-width: 1199px), (pointer: coarse), (pointer: none), (prefers-reduced-motion: reduce) {
  .reel__plate, .reel__alpha { display: none; }
  /* Restaura a foto mesmo depois de a animação desktop ter ocultado essa camada. */
  .reel .reel__photo, .reel.is-alpha-done .reel__photo { display: block; visibility: visible; opacity: 1; }
  .reel__bg { transform: none !important; will-change: auto; }
  .reel__grain::after { animation: none; }
}
.reel__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-color: rgba(14, 14, 14, 0.2);
}
.reel__grain::after {
  content: ""; position: absolute; inset: -50%;
  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.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.reel__top, .reel__bottom { position: relative; z-index: 2; }
/* desfoque da base: acima da foto e do grão, abaixo do texto e do botão */
.pblur--reel { z-index: 1; height: 26%; }
/* no celular a marca no topo do polvo sai, o menu já mostra o nome */
@media (max-width: 809px) { .reel__top .brand { display: none; } }
.reel__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reel__label { font-size: max(15px, calc(19.2 * var(--s))); line-height: 1.15; letter-spacing: -0.6px; }
.reel__bottom { display: flex; flex-direction: column; gap: 12px; }
.reel__desc {
  max-width: max(340px, calc(455 * var(--s)));
  padding-bottom: 8px;
  font-size: max(22px, calc(29.6 * var(--s)));
  line-height: 1.19; letter-spacing: -0.96px;
}

/* 10. EXPERTISE =========================================================== */
.expertise {
  background: var(--white);
  padding-top: max(96px, calc(160 * var(--s)));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.expertise__header {
  position: relative;
  width: 100%; max-width: 1800px;
  height: max(440px, calc(500 * var(--s)));
  margin-bottom: max(40px, calc(80 * var(--s)) - 8px);
}
.expertise__left {
  position: absolute; top: 0; bottom: 0; left: var(--gutter);
  width: calc(428 / 1800 * 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 24px;
}
.section-title { display: inline-flex; flex-direction: column; gap: 6px; width: max-content; }
.section-title__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: 30.1px; line-height: 35.2px; letter-spacing: -0.96px;
}
.facts {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 16px 0 16px 16px;
  border-left: 2px solid var(--g90);
  margin-bottom: calc(500 * var(--s) - 371.19 * var(--s) - 128.8 * var(--s));
}
.facts div { display: flex; flex-direction: column; gap: 7px; }
.facts dt { font-weight: 400; font-size: 10.9px; line-height: 13.2px; letter-spacing: -0.24px; color: var(--g30); }
.facts dd { font-size: 14.9px; line-height: 19.2px; letter-spacing: -0.48px; color: var(--g15); }

.panel {
  position: absolute; top: 0; bottom: 0;
  left: calc(468 / 1800 * 100%); right: var(--gutter);
  padding: 32px 32px 32px 24px;
  overflow: hidden;
}
.panel__bg { position: absolute; inset: 0; background: var(--g96); transform-origin: left; transform: scaleX(0); }
.panel__pattern { position: absolute; top: 0; bottom: 0; left: 0; width: 24px; }
.panel__content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.panel .bracket { margin-bottom: 29px; display: block; }
.panel__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(34px, calc(48 * var(--s)));
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--g15);
  max-width: 13.2em;
}
.marker-line { display: block; white-space: nowrap; margin-bottom: 0.02em; }
.panel__title .marker { padding: 0.012em 0.1667em 0.02em; }
.panel__title .comma { margin-left: 0.12em; }
.panel__title-plain { display: block; line-height: 1.083; margin-top: 0.1em; }
.panel__sub { max-width: 677px; font-size: 12.6px; color: var(--g30); padding-right: 20px; }
.corner {
  position: absolute; right: -1px; bottom: -1px; width: 40px; height: 40px;
  background: var(--white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Acordeão ------------------------------------------------------------- */
.services { width: 100%; display: flex; flex-direction: column; gap: 1px; background: var(--white); transform-origin: 50% 0; }
.svc { --svc-l: calc(444.69 / 1856 * 100%); position: relative; background: var(--g96); color: var(--g5); transition: background-color 0.3s ease-out, color 0.3s ease-out; }
.svc__head {
  display: grid;
  width: 100%;
  text-align: left;
  grid-template-columns: var(--svc-l) 1fr;
  align-items: center;
  height: 180px;
  padding: 0 var(--gutter);
  overflow: hidden;
  transition: height 0.6s var(--ease-out);
}
.svc__col { display: flex; align-items: center; justify-content: space-between; min-width: 0; }
.svc__col--l { padding-right: 0; }
.svc__id { display: inline-flex; align-items: center; gap: 12px; }
.svc__num { font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 28px; letter-spacing: -0.56px; }
.svc__name { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.48px; text-transform: uppercase; }
.svc__name--wrap { max-width: 230px; }
.svc__chev { width: 24px; height: 15px; fill: currentColor; flex: none; transition: transform 0.5s var(--ease-out), fill 0.3s; }
.svc__teaser { padding-left: 24px; max-width: 600px; white-space: nowrap; font-size: 16px; line-height: 20.8px; letter-spacing: -0.32px; }
.svc__count, .svc__meta { font-size: 12px; line-height: 13.2px; letter-spacing: -0.24px; white-space: nowrap; }
@media (hover: hover) {
  .svc:not(.is-open):hover { background: var(--orange); color: var(--white); }
}

.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.svc__panel > .svc__grid { min-height: 0; overflow: hidden; }
.svc.is-open { background: var(--g15); color: var(--white); }
.svc.is-open .svc__head { height: 0; }
.svc.is-open .svc__panel { grid-template-rows: 1fr; }

.svc__grid {
  position: relative;
  display: grid;
  grid-template-columns: calc(476.69 / 1920 * 100%) calc(757 / 1920 * 100%) 1fr;
}
.svc__grid::before { content: ""; grid-column: 1 / -1; grid-row: 1; }
.svc__aside {
  grid-column: 1; grid-row: 1;
  min-height: max(640px, calc(847.19 * var(--s)));
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 80px 0 80px var(--gutter);
}
.svc__close { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--orange); }
.svc__close .svc__chev { transform: rotate(180deg); }
.svc__rule { display: block; width: 64px; height: 2px; margin-top: 12px; background: var(--orange); transform-origin: left; }
.svc__aside .svc__name { display: block; margin-top: 12px; color: var(--white); }
.svc__meta { color: var(--g54); }
.svc__body {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 80px 92px 80px 24px;
}
.svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc__text h4 {
  max-width: 600px;
  font-family: var(--f-display); font-weight: 500;
  font-size: max(28px, calc(36 * var(--s))); line-height: 1.1; letter-spacing: -0.03em;
  color: var(--white);
}
.svc__body p { max-width: 600px; font-size: 16px; line-height: 20.8px; letter-spacing: -0.48px; color: var(--g54); }
.svc__cap { font-size: 12px; line-height: 13.2px; letter-spacing: -0.24px; color: var(--white); }
.svc__stat { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.svc__line { display: block; width: 100%; height: 1px; background: var(--g54); opacity: 0.5; }
.svc__big {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(56px, calc(80 * var(--s))); line-height: 1; letter-spacing: -0.02em;
  color: var(--white);
}
.segments { display: flex; gap: 2px; width: 177px; }
.segments i { position: relative; flex: 1; height: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.segments i b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--ease-out); }
/* A imagem fica na coluna da direita e só expande sobre o texto no hover,
   com o botão "VER PROJETO" centralizado (igual ao MONODRIFT). */
.svc__media {
  grid-row: 1;
  grid-column: 2 / -1;
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 0 52.45%);
  transition: clip-path 0.65s var(--ease-out);
}
.svc__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateX(26.2%) scale(1.02);
  transition: transform 0.65s var(--ease-out);
}
.svc__view {
  /* tarja laranja presa na base da imagem: entra deslizando no hover */
  position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  display: flex; align-items: center; gap: 14pt;
  padding: max(13px, calc(18 * var(--s))) max(16px, calc(24 * var(--s)));
  background: var(--orange); color: var(--white);
  font-family: var(--f-display); font-weight: 500;
  font-size: max(15px, calc(22 * var(--s))); line-height: 1;
  letter-spacing: -0.02em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
@media (hover: none) {
  .svc__view { transform: translateY(0); }
}
/* .svc__media--fixa: imagem sem link, não abre no hover */
@media (hover: hover) {
  .svc__media:not(.svc__media--fixa):hover { clip-path: inset(0 0 0 0); }
  .svc__media:not(.svc__media--fixa):hover img { transform: translateX(0) scale(1.02); }
  .svc__media:hover .svc__view { transform: translateY(0); }
}
.svc__media:not(.svc__media--fixa):focus-visible { clip-path: inset(0 0 0 0); }
.svc__media:focus-visible .svc__view { transform: translateY(0); }

/* 11. MANIFESTO =========================================================== */
.manifesto { height: 420vh; background: var(--g96); }
.manifesto__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.manifesto__layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
}
.manifesto__layer--base { color: var(--g15); }
.manifesto__layer--orange {
  --wipe: 0;
  background: var(--orange);
  color: var(--white);
  clip-path: inset(0 calc(100% * (1 - var(--wipe))) 0 0);
  z-index: 1;
}
.manifesto__label {
  position: absolute;
  top: max(56px, calc(151 * var(--s)));
  right: max(var(--gutter), calc(92 * var(--s)));
  font-size: max(20px, calc(32 * var(--s))); line-height: 1; letter-spacing: -0.04em;
  white-space: nowrap;
}
.manifesto__text {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-display); font-weight: 500;
  font-size: max(40px, calc(104.8 * var(--s)));
  line-height: 1.2; letter-spacing: -0.03em;
  text-align: center; text-transform: uppercase;
}
.manifesto__text > span { display: block; }
/* caixa escura atrás da primeira linha */
.manifesto__text .mbox { display: inline-block; background: var(--g15); padding: 0.02em 0.14em 0.04em; }
/* antes do laranja entrar, o texto dentro da caixa preta fica laranja */
.manifesto__layer--base .manifesto__text .mbox { color: var(--orange); }
.manifesto__layer--orange .manifesto__text .mbox { color: var(--white); }
/* a caixa escura acompanha a primeira linha das três frases */

/* 12. RESULTADOS ========================================================== */
.results { background: var(--white); padding: max(56px, calc(80 * var(--s))) 0 max(96px, calc(160 * var(--s))); display: flex; justify-content: center; }
.stats {
  width: 100%; max-width: 1800px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 428fr 864fr 428fr;
  gap: 8px;
  overflow: hidden;
}
.stats__col { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 0; }
.stats__mid { position: relative; z-index: 1; background: var(--g98); display: flex; flex-direction: column; min-height: 100%; }
.stat {
  position: relative;
  height: max(440px, calc(496 * var(--s)));
  background: var(--g98);
  padding: 23px 24px 36px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.stat__head { display: inline-flex; flex-direction: column; gap: 4px; width: max-content; padding-bottom: 16px; }
.stat__head h3 { font-weight: 600; font-size: 12.6px; line-height: 15.6px; letter-spacing: -0.3px; color: var(--g5); }
.stat__viz { position: relative; flex: 1; min-height: 120px; margin-top: 7px; }
.stat__viz .hatch { position: absolute; inset: 0; }
.stat__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stat__corner { position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; background: var(--g98); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.stat__idx { position: absolute; right: 0; bottom: 48px; font-weight: 400; font-size: 11px; line-height: 9.24px; letter-spacing: -0.22px; color: var(--g77); }
.stat__data { padding-top: 8px; }
.stat__num {
  display: flex; align-items: flex-end; gap: 4px;
  padding-bottom: 3px;
  font-family: var(--f-display); font-weight: 500;
  font-size: max(60px, calc(78 * var(--s))); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--g15);
}
.stat__num small {
  font-size: 20px; line-height: 1; letter-spacing: 0; color: var(--g54);
  padding-bottom: 0.9em;
  text-transform: uppercase;
}

.spin { display: inline-flex; overflow: hidden; height: 1.1em; -webkit-mask-image: linear-gradient(transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 18%, #000 82%, transparent 100%); }
.spin__col { display: flex; flex-direction: column; will-change: transform; }
.spin__col span { height: 1.1em; display: block; text-align: center; }
.stat__sub {
  padding-top: 14.8px;
  font-weight: 600; font-size: 12.7px; line-height: 15.6px; letter-spacing: -0.3px;
  text-transform: uppercase; color: var(--g30);
}
.stat__sub--narrow { max-width: 210px; }

.stats__label { padding: 24px 24px 16px; font-size: 18.4px; line-height: 22px; letter-spacing: -0.6px; color: var(--g5); }
.stats__title {
  padding: 0 24px;
  max-width: calc(8.3em + 48px);
  font-family: var(--f-display); font-weight: 500;
  font-size: max(40px, calc(60 * var(--s))); line-height: 1.1; letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--g15);
}
.stats__title > span { display: inline; }
.stats__pattern { flex: 1; margin: 24px 24px 0; min-height: 60px; }
.stats__cta { padding: 0 24px 24px; margin-top: -24px; position: relative; }
.stats__cta .cta { width: calc(652.8 / 816 * 100%); }
.stats__cta p { padding: 31px 4px 0; }

/* 13. NOTAS =============================================================== */
.notes { position: relative; background: var(--white); padding-top: 60px; overflow: hidden; }
/* campo de notas: cards espalhados subindo em loop (igual ao MONODRIFT) */
.notes__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.notes__belt {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: min(calc(100% - 2 * var(--gutter)), max(900px, calc(1600 * var(--s))));
  transform: translate3d(-50%, var(--shift, 0px), 0);
}
.notes__card {
  position: absolute; top: 100%;
  will-change: transform;
  animation: notesDrift linear infinite;
}
@keyframes notesDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, calc(-1 * var(--travel, 1200px)), 0); }
}
.notes__sway {
  display: block; will-change: transform;
  animation: notesSway var(--swayd, 11s) ease-in-out infinite alternate;
}
@keyframes notesSway {
  from { transform: translate3d(calc(-1 * var(--sway, 16px)), 0, 0); }
  to   { transform: translate3d(var(--sway, 16px), 0, 0); }
}
.notes__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  background: var(--g90);
  overflow: hidden;
}
.notes__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.notes__cap {
  margin: 10px 0 0;
  font-family: var(--f-body); font-weight: 500;
  font-size: 10px; line-height: 12px; letter-spacing: -0.3px;
  text-transform: uppercase; color: var(--g15);
}
.notes__stage { position: relative; z-index: 2; pointer-events: none; }
.notes__stage a, .notes__stage button { pointer-events: auto; }
.notes__stage {
  height: max(680px, calc(1200 * var(--s)));
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
}
.notes__mast {
  width: min(100%, max(560px, calc(960 * var(--s))));
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  text-align: center;
}
.notes__mast .bracket { display: block; }
.notes__title {
  width: 100%;
  display: flex; justify-content: center;
  font-family: var(--f-display); font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.0667em;
  text-transform: uppercase;
  color: var(--g5);
  font-size: calc(334.9 * var(--s));
  white-space: nowrap;
}
.notes__title > span { display: inline-block; margin-right: -0.0667em; }
.notes__sub { font-size: 12.6px; color: var(--g30); }

/* 14. RODAPÉ / CONTATO ==================================================== */
.footer { background: var(--g98); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.footer__topbar { position: relative; display: block; width: 100%; height: 16px; }
.footer__inner {
  width: 100%; max-width: 1800px;
  padding: max(72px, calc(120 * var(--s))) var(--gutter) 0;
}
.footer__top { display: flex; gap: 24px; padding-bottom: 32px; }
/* rodapé sem o bloco de contato (página de projetos) */
.footer--slim .footer__inner { padding-top: max(40px, calc(64 * var(--s))); }
.footer__intro {
  flex: 0 0 calc(50% - 12px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
}
.footer__intro .bracket { display: block; font-size: 12.5px; }
.footer__title {
  margin-top: 21px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 3px 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: max(36px, calc(50 * var(--s))); line-height: 1; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.footer__title .marker { padding: 0.5px 8px; }
.footer__title-plain { display: block; max-width: 11.8em; color: var(--g15); }
.footer__lede { max-width: 450px; font-size: 12.5px; color: var(--g30); }

.form { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; justify-content: center; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-bottom: 16px; }
.field { position: relative; display: block; }
.field::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px;
  background: var(--g98);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.field input, .field select, .field textarea {
  width: 100%; height: 48px;
  padding: 12px;
  border: 0; border-radius: 0; outline: 0;
  background: var(--g96);
  font-family: var(--f-display); font-weight: 500;
  font-size: 16px; letter-spacing: -0.32px;
  color: var(--g15);
  -webkit-appearance: none; appearance: none;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--g54); text-transform: uppercase; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { background: #efefef; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--g90); box-shadow: inset 0 -2px 0 var(--orange); }
.field select { color: var(--g54); text-transform: uppercase; cursor: pointer; padding-right: 40px; }
.field select.has-value { color: var(--g15); }
.field__chev { position: absolute; right: 11px; top: 19px; width: 16px; height: 10px; fill: var(--g54); pointer-events: none; }
.field--area { grid-column: 1 / -1; }
.field textarea { height: 140px; min-height: 140px; resize: vertical; padding: 16px 12px; }

.submit {
  position: relative;
  display: flex; align-items: center; gap: 14pt;
  width: 100%; height: 64px;
  padding-left: 12px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--f-display); font-weight: 500; font-size: 18px; letter-spacing: -0.32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.submit__icon { width: 10.35px; height: 16px; fill: currentColor; transition: transform 0.4s var(--ease-spring); }
.submit:disabled { opacity: 0.5 !important; cursor: not-allowed; }
.submit.is-sent { background: var(--g15); color: var(--orange); opacity: 1; }
@media (hover: hover) {
  .submit:not(:disabled):hover { background: var(--g15); }
  .submit:not(:disabled):hover .submit__icon { transform: translateX(4px); }
}
.form__legal { width: 100%; max-width: none; font-weight: 600; font-size: 11.6px; line-height: 1.5; letter-spacing: -0.3px; text-transform: uppercase; color: var(--g54); }
.form__legal p { text-wrap: pretty; }
.form__legal p + p { margin-top: 6px; }
.form__legal a { white-space: nowrap; color: var(--g30); text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s; }
.form__legal a:hover { color: var(--orange); }

.footer__index {
  position: relative;
  display: flex; gap: 16px;
  padding: 32px 8px;
  border-top: 1px solid var(--g77);
}
.fcol { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fcol--studio { justify-content: space-between; gap: 51.8px; padding-right: 24px; }
.fcol--empty { flex: 0 0 calc(1065 / 1736 * 100%); }
.fcol__links { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--g77); margin-left: 0; }
.fcol__links a, .fcol__contact a, .nav__contact a {
  display: inline-flex; padding: 2px;
  font-weight: 600; font-size: 12px; line-height: 12px; letter-spacing: -0.3px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.fcol__links a:hover, .fcol__contact a:hover { color: var(--orange); }
.fcol--studio > div { display: flex; flex-direction: column; gap: 16px; }
.fcol__city { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.3px; }
.fcol__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fcol__hours { font-weight: 600; font-size: 10.5px; line-height: 13.2px; letter-spacing: -0.2px; color: var(--g54); }

.footer__logo {
  display: flex; align-items: center; gap: calc(39.23 / 1736 * 100%);
  padding: 24px 0;
  border-top: 1px solid var(--g77);
  color: #e9e9e9;
}
.footer__word { flex: 0 0 calc(1544.56 / 1736 * 100%); width: calc(1544.56 / 1736 * 100%); height: auto; aspect-ratio: 238 / 20; fill: currentColor; }
.footer__emblem { flex: 1; height: auto; aspect-ratio: 1; fill: currentColor; transition: transform 1.2s var(--ease-out), fill 0.4s; }
.footer__logo:hover .footer__emblem { transform: rotate(180deg); fill: var(--orange); }
.footer__rail {
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 16px;
  padding: 24px 8px;
  border-top: 1px solid var(--g77);
  font-weight: 600; font-size: 11.4px; line-height: 12px; letter-spacing: -0.36px; color: var(--g54);
}
.totop { justify-self: end; width: 24px; height: 24px; display: grid; place-items: center; }
.totop svg { width: 18px; height: 18px; fill: var(--orange); transition: transform 0.45s var(--ease-spring); }
.totop:hover svg { transform: translateY(-4px); }
.footer__gap { display: block; height: 16px; }
.footer__base { display: block; width: 100%; height: 16px; background: var(--orange); }

/* 15. TABLET (810px a 1199px) ============================================= */
@media (max-width: 1199px) {
  :root { --s: calc(100vw / 1300); --gutter: 24px; --intro-w: 44vw; }
  .hero__title { font-size: clamp(40px, 5.6vw, 64px); }
  .hero__card { width: min(56vw, 560px); }
  .ticker__group { gap: 96px; padding-right: 96px; }
  .ticker__group img { width: calc(var(--w) * 0.75); }
  .about__lead { max-width: 100%; }
  .expertise__header { height: auto; display: grid; grid-template-columns: 1fr; gap: 24px; padding: 0 var(--gutter); margin-bottom: 48px; }
  .expertise__left { position: static; width: auto; padding-top: 0; gap: 32px; }
  .facts { margin-bottom: 0; }
  .panel { position: relative; left: auto; right: auto; min-height: 440px; }
  .svc { --svc-l: 30%; }
  .svc__grid { grid-template-columns: var(--svc-l) 1fr; }
  .svc__body { padding-right: var(--gutter); }
  .svc__media { grid-column: 1 / -1; grid-row: 2; height: 56vw; clip-path: none; }
  .svc__media img { width: 100%; }
  .svc__aside { min-height: 0; padding-bottom: 48px; }
  .svc__body { padding-bottom: 48px; }
  .svc__head { height: 140px; }
  .svc__teaser { font-size: 14px; line-height: 18px; white-space: normal; }
  .svc__media img { transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__mid { grid-column: 1 / -1; grid-row: 1; min-height: 520px; }
  .stats__col--l { grid-column: 1; }
  .stats__col--r { grid-column: 2; }
  .notes__title { font-size: calc(334.9 * 100vw / 1920 * 1.3); }
  .footer__top { flex-direction: column; gap: 48px; }
  .footer__intro { flex: none; gap: 32px; }
  .fcol--empty { display: none; }
}

/* 16. MOBILE (até 809px) ================================================== */
@media (max-width: 809px) {
  :root { --gutter: 16px; --s: calc(100vw / 820); --intro-w: 100vw; }
  .nav { width: 100%; }
  .nav__bar { height: 60px; padding: 0 var(--gutter); }
  .nav__menu-inner { height: calc(100vh - 60px); height: calc(100svh - 60px); }
  .brand__word { width: 190px; height: 16px; }
  .brand__emblem { width: 22px; height: 22px; }

  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .hero__intro { position: relative; width: 100%; transform: none; order: 1; }
  .hero__body { padding: 92px var(--gutter) 24px; gap: 20px; }
  .hero__title { font-size: clamp(38px, 11vw, 56px); max-width: 100%; }
  .hero__title > span:last-child { display: inline; }
  .hero__spacer { display: none; }
  .hero__cta { margin-top: 24px; }
  .cta { min-height: 64px; padding: 16px 16px 16px 12px; }
  .cta__text { font-size: 20px; line-height: 20px; }
  .hero__cascade { position: relative; left: 0; order: 2; display: flex; flex-direction: column; height: auto; background: none; }
  .slide {
    position: relative; width: 100% !important; left: 0 !important;
    height: auto !important; max-height: none;
    display: flex; flex-direction: column;
  }
  .slide__media { position: relative; height: 118vw !important; max-height: 680px; }
  /* cada projeto com o seu botão logo abaixo da imagem */
  .slide__go {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px var(--gutter);
    background: var(--orange); color: var(--white);
  }
  .slide__go-in { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .slide__go-lock { width: 22px; height: 22px; flex: none; border-radius: 50%; }
  .slide__go-num {
    font-family: var(--f-body); font-weight: 600; font-size: 11px;
    letter-spacing: -0.2px; color: rgba(255, 255, 255, 0.7); flex: none;
  }
  .slide__go-name {
    font-family: var(--f-display); font-weight: 500;
    font-size: 22px; line-height: 1; letter-spacing: -0.03em;
    text-transform: uppercase;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .slide__go-arrow { width: 10.35px; height: 16px; fill: currentColor; flex: none; }
  /* o cartão único do fim sai de cena: cada card já tem o seu */
  .hero__card { display: none; }
  .slide__cap { display: none; }
  .slide__media img { transform: none; object-position: 62% 50%; }
  /* o número acompanha o fim da imagem, não o fim do card (que agora
     inclui o botão) */
  .slide__num {
    left: 16px; bottom: auto; top: min(118vw, 680px);
    transform: translateY(-100%); margin-top: -10px;
    opacity: 1 !important; font-size: 56px; color: rgba(255, 255, 255, 0.5);
  }
  .hero__card { position: relative; left: 0; width: 100%; order: 3; min-height: 0; padding: 20px 64px 20px var(--gutter); gap: 12px; }
  .hero__card-title, .hero__card-desc { transition: opacity 0.25s ease-out, transform 0.35s var(--ease-out); }
.hero__card.is-swapping .hero__card-title, .hero__card.is-swapping .hero__card-desc { opacity: 0; transform: translateY(8px); }
.hero__card-title { font-size: 26px; line-height: 26px; gap: 10px; }
  .hero__card-lock { width: 22px; height: 22px; }
  .hero__card-desc { font-size: 11px; line-height: 15px; }
  .hero__card-arrow { right: var(--gutter); width: 16px; height: 26px; margin-top: -13px; }

  .clients { position: relative; padding: 64px 0; }
  .clients__inner { gap: 24px; }
  .clients__emblem { width: 56px; height: 56px; }
  .clients__eyebrow { height: 72px; }
  .ticker { height: 90px; }
  .ticker__group { gap: 56px; padding-right: 56px; }
  .ticker__group img { width: calc(var(--w) * 0.5); }

  .about { padding: 72px var(--gutter) 56px; gap: 32px; }
  .about__title { font-size: clamp(34px, 10.4vw, 56px); gap: 0 10px; }
  .about__title .marker { margin-top: 6px; }
  .about__lead { font-size: 20px; line-height: 1.15; }
  .about__note p { font-size: 15px; }

  .reel__frame { height: 150vw; max-height: 820px; min-height: 560px; padding: 32px var(--gutter); }
  .reel__top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand--lg .brand__word { width: 220px; }
  .brand--lg .brand__emblem { width: 18px; }
  .reel__bg img { object-position: 50% 100%; }
  .reel__desc { font-size: 20px; max-width: 300px; }
  .cta--xl { width: 100%; min-width: 0; }

  .expertise { padding-top: 72px; }
  .panel { padding: 24px 20px 32px 24px; min-height: 0; }
  .panel__title { font-size: clamp(26px, 7.8vw, 40px); }
  .marker-line { white-space: normal; }
  .panel__content { gap: 40px; }

  .svc { --svc-l: 100%; }
  .svc__head { grid-template-columns: 1fr; height: auto; min-height: 96px; padding: 20px var(--gutter); gap: 10px; align-content: center; }
  .svc.is-open .svc__head { min-height: 0; padding-top: 0; padding-bottom: 0; }
  .svc__col--l { width: 100%; }
  .svc__col--r { flex-direction: column; align-items: flex-start; gap: 8px; }
  .svc__teaser { padding-left: 0; font-size: 13px; }
  .svc__name { font-size: 20px; line-height: 20px; }
  .svc__name--wrap { max-width: 200px; }
  .svc__grid { grid-template-columns: 1fr; }
  .svc__aside { grid-row: 1; padding: 32px var(--gutter) 0; gap: 12px; }
  .svc__body { grid-column: 1; grid-row: 2; padding: 32px var(--gutter); gap: 32px; }
  .svc__media { grid-column: 1; grid-row: 3; height: 72vw; margin: 0 var(--gutter) var(--gutter); }
  .svc__text h4 { font-size: 26px; }
  .svc__big { font-size: 56px; }

  .manifesto { height: 380vh; }
  .manifesto__text { font-size: clamp(28px, 8.4vw, 44px); line-height: 1.15; }
  .manifesto__text > span { display: inline; }
  .manifesto__label { top: 84px; right: var(--gutter); font-size: 18px; }

  .results { padding: 56px 0 80px; }
  .stats { padding: 0 8px; gap: 6px; }
  .stats__col { gap: 6px; }
  .stats__mid { min-height: 0; }
  .stats__label { padding: 16px; font-size: 15px; }
  .stats__title { padding: 0 16px; font-size: clamp(30px, 8.6vw, 44px); }
  .stats__title > span { display: inline; }
  .stats__pattern { display: none; }
  .stats__cta { margin-top: 32px; padding: 0 16px 16px; }
  .stats__cta .cta { width: 100%; }
  .stats__cta p { padding-top: 14px; }
  .stat { height: auto; min-height: 300px; padding: 14px 12px 18px; }
  .stat__viz { min-height: 90px; }
  .stat__num { font-size: 44px; }
  .stat__num small { font-size: 12px; padding-bottom: 0.7em; }
  .stat__sub { font-size: 10px; line-height: 12.5px; padding-top: 10px; }
  .stat__idx { bottom: 44px; }

  .notes { padding-top: 24px; }
  .notes__stage { height: auto; min-height: 100svh; padding: 96px var(--gutter); }
  .notes__mast { width: 100%; gap: 24px; }
  .notes__title { font-size: 31vw; }
  .notes__sub { font-size: 11px; }
  .notes__sub br { display: none; }

  .footer__inner { padding-top: 56px; }
  .footer__title { font-size: clamp(30px, 9vw, 44px); }
  .form__grid { grid-template-columns: 1fr; }
  .footer__index { flex-direction: column; gap: 40px; padding: 32px 4px; }
  .fcol--studio { gap: 24px; }
  .footer__rail { grid-template-columns: 1fr auto; }
  .footer__rail span { display: none; }
}

/* 18. PÁGINA DE PROJETOS ================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* o palco fica preso e as colunas sobem em loop enquanto a seção rola */
.work { position: relative; height: calc(100svh * 4); background: var(--white); }
.work__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  padding: calc(70px + max(16px, calc(24 * var(--s)))) var(--gutter) 0;
}
.work__grid { position: relative; height: 100%; width: 100%; max-width: 2027px; margin: 0 auto; }
.work__col {
  position: absolute; top: 0; height: 100%;
  width: calc(50% - max(12px, calc(30 * var(--s))));
}
.work__col[data-work-col="0"] { left: 0; }
.work__col[data-work-col="1"] { right: 0; }
.work__item {
  position: absolute; top: 0; left: 0; width: 100%;
  transform: translate3d(0, var(--y, 0px), 0);
  will-change: transform;
}
.work__card { display: block; color: var(--g15); }
.work__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding-bottom: max(10px, calc(14 * var(--s)));
}
.work__id { display: flex; flex-direction: column; gap: max(4px, calc(6 * var(--s))); }
.work__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(18px, calc(24 * var(--s))); line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.work__tag {
  font-family: var(--f-body); font-weight: 500;
  font-size: max(11px, calc(13 * var(--s))); line-height: 1.2;
  letter-spacing: -0.03em; color: var(--g30);
}
.work__num {
  font-family: var(--f-display); font-weight: 400;
  font-size: max(34px, calc(52 * var(--s))); line-height: 0.85;
  letter-spacing: -0.03em; color: var(--g54);
  transition: color 0.4s var(--ease-out);
}
.work__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 983.5 / 686;
  background: var(--tone, var(--g90));
}
/* a imagem é mais alta que o quadro e desliza dentro dele */
.work__media img, .work__ph {
  position: absolute; top: -7%; left: 0;
  width: 100%; height: 114%;
  object-fit: cover; object-position: 50% 50%;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1));
  transition: transform 0.6s var(--ease-out);
}
.work__lock {
  position: absolute; z-index: 3; pointer-events: none;
  top: max(14px, calc(22 * var(--s))); right: max(14px, calc(22 * var(--s)));
  width: max(24px, calc(35 * var(--s))); height: max(24px, calc(35 * var(--s)));
  color: var(--orange);
}
.work__lock svg { width: 100%; height: 100%; }
.work__ph {
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.28), transparent 60%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.22));
}
/* hover: a imagem escurece e o projeto se apresenta */
.work__over {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: max(20px, calc(32 * var(--s)));
  background: linear-gradient(180deg, rgba(14, 14, 14, 0) 30%, rgba(14, 14, 14, 0.72) 100%);
  opacity: 0; transition: opacity 0.45s var(--ease-out);
  color: var(--white);
}
.work__over-in { display: flex; flex-direction: column; gap: max(8px, calc(12 * var(--s))); max-width: 40ch; }
.work__over-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(26px, calc(40 * var(--s))); line-height: 1;
  letter-spacing: -0.04em; text-transform: uppercase;
}
.work__desc { font-size: max(13px, calc(16 * var(--s))); line-height: 1.35; letter-spacing: -0.02em; }
.work__over-cta {
  display: inline-flex; align-items: center; gap: 14pt;
  font-family: var(--f-display); font-weight: 500;
  font-size: max(14px, calc(18 * var(--s))); letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--orange);
}
.work__over-cta .cta__icon { width: 10.35px; height: 16px; fill: currentColor; }
@media (hover: hover) {
  .work__card:hover .work__over { opacity: 1; }
  .work__card:hover .work__media img, .work__card:hover .work__ph { --ps: 1.04; }
  .work__card:hover .work__num { color: var(--orange); }
}

/* canvas da deformação das imagens de projetos */
/* canvas da deformação: dentro do palco, atrás dos textos dos cards */
.gl-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* com o WebGL ativo some só o pixel da imagem: a estrutura, o link e o
   texto continuam iguais, e o palco passa a desenhar por cima do canvas */
.work.is-gl .work__item { z-index: 1; }
.work.is-gl .work__media { background: transparent; }
.work.is-gl .work__media img, .work.is-gl .work__ph { opacity: 0; }

/* projetos em telas estreitas: sem palco fixo, uma coluna corrida */
@media (max-width: 809px) {
  .work { height: auto; }
  .work__stage {
    position: relative; height: auto; min-height: 0; overflow: visible;
    padding: calc(70px + 24px) var(--gutter) 64px;
  }
  .work__grid { display: flex; flex-direction: column; gap: 48px; height: auto; }
  /* as duas colunas viram uma lista só, na ordem 1 a 6 */
  .work__col { display: contents; }
  .work__item { position: static; width: 100%; transform: none; }
  .work__col[data-work-col="0"] .work__item:nth-of-type(1) { order: 1; }
  .work__col[data-work-col="1"] .work__item:nth-of-type(1) { order: 2; }
  .work__col[data-work-col="0"] .work__item:nth-of-type(2) { order: 3; }
  .work__col[data-work-col="1"] .work__item:nth-of-type(2) { order: 4; }
  .work__col[data-work-col="0"] .work__item:nth-of-type(3) { order: 5; }
  .work__col[data-work-col="1"] .work__item:nth-of-type(3) { order: 6; }
  .work__over { opacity: 1; }
}


/* 19. NOTAS · PÁGINA ====================================================== */
/* Cabeçalho, trilho de ordenação e a grade de colunas do MONODRIFT: os
   cards têm altura livre (a imagem guarda a proporção original) e as
   colunas se equilibram sozinhas, como no template. */
.notesp { padding: 0 var(--gutter) max(72px, calc(120 * var(--s))); background: var(--white); }
.notesp__head { padding-top: max(88px, calc(140 * var(--s))); }
.notesp__kicker { display: block; text-align: right; font-size: 12.5px; }
.notesp__title {
  width: 100%;
  display: flex; justify-content: center;
  margin-top: max(10px, calc(18 * var(--s)));
  font-family: var(--f-display); font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.0667em;
  text-transform: uppercase;
  color: var(--g5);
  font-size: calc(334.9 * var(--s));
  white-space: nowrap;
}
/* o tracking negativo encolhe a caixa do último glifo: o padding devolve
   essa sobra para a medida bater com a tinta e a palavra ficar centrada */
.notesp__title > span { display: inline-block; padding-right: 0.0667em; margin-right: -0.0667em; }
.notesp__lede {
  margin-top: max(24px, calc(36 * var(--s)));
  max-width: min(100%, 1040px);
  font-size: max(16px, calc(20 * var(--s)));
  line-height: 1.1;
  color: var(--g30);
}
/* cada frase é um bloco: se precisar quebrar, quebra equilibrada, sem
   deixar uma palavra sozinha na segunda linha */
.notesp__lede .lede-l { display: block; text-wrap: balance; }
.notesp__bar { margin-top: max(20px, calc(28 * var(--s))); }

.notesp__rail {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  padding: max(14px, calc(20 * var(--s))) 0 max(10px, calc(14 * var(--s)));
  border-bottom: 1px solid var(--g89);
}
.notesp__sort { color: var(--orange); }

/* grade: colunas de largura igual, cards fluindo de cima para baixo */
.notesp__grid {
  margin-top: 32px;
  columns: 3;
  column-gap: 32px;
}
.ncard { break-inside: avoid; page-break-inside: avoid; margin: 0 0 32px; }
.ncard__link { display: block; color: var(--g15); }
.ncard__media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
  background: var(--g90);
}
.ncard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ncard__body { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.ncard__rule { display: block; height: 1px; background: var(--g89); }

.ncard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ncard__date,
.ncard__read b,
.ncard__read i,
.ncard__by b,
.ncard__by i {
  font-family: var(--f-body); font-weight: 600; font-style: normal;
  font-size: 11px; line-height: 13.2px; letter-spacing: -0.2px;
  text-transform: uppercase;
}
.ncard__date { color: var(--g54); }
.ncard__read { display: flex; gap: 6px; }
.ncard__read b { color: var(--g54); }
.ncard__read i { color: var(--g77); }

.ncard__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: 24px; line-height: 1; letter-spacing: -0.0125em;
  color: var(--g15);
}
.ncard__sub {
  font-family: var(--f-body); font-weight: 600;
  font-size: 13px; line-height: 1.2; letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--g54);
}

.ncard__foot { display: flex; align-items: center; gap: 16px; }
.ncard__bar { position: relative; flex: 1 1 auto; height: 10px; overflow: hidden; }
.ncard__by { display: flex; gap: 6px; flex: 0 0 auto; }
.ncard__by i { color: var(--g77); }
.ncard__by b { color: var(--g54); }

/* tablet: duas colunas, como no template */
@media (max-width: 1199px) {
  .notesp__title { font-size: calc(334.9 * 100vw / 1920 * 1.3); }
  .notesp__grid { columns: 2; column-gap: 24px; }
  .ncard { margin-bottom: 24px; }
  .ncard__title { font-size: 19px; line-height: 1; }
}

/* mobile: uma coluna corrida */
@media (max-width: 809px) {
  .notesp { padding-bottom: 64px; }
  .notesp__head { padding-top: 96px; }
  .notesp__kicker { text-align: left; }
  .notesp__title { font-size: 31vw; }
  .notesp__lede { font-size: 11px; }
  .notesp__lede br { display: none; }
  .notesp__grid { columns: 1; column-gap: 0; margin-top: 24px; }
  .ncard { margin-bottom: 32px; }
  .ncard__title { font-size: 20px; line-height: 1; }
}



/* CTA discreto da nota: só a seta e o texto, sem o bloco laranja, como no
   template. Mantém os 14pt entre seta e texto e o alinhamento vertical. */
.cta--link {
  width: auto; min-height: 0; padding: 0;
  color: var(--g15); background: none;
  justify-content: flex-start;
}
.cta--link::before, .cta--link::after { display: none; }
.cta--link .cta__main { align-items: center; }
.cta--link .cta__text { font-size: max(14px, calc(17 * var(--s))); letter-spacing: -0.03em; }
.cta--link .cta__icon { width: 8.4px; height: 13px; }
.cta--link:hover .cta__icon { transform: translateX(3px); }

/* 21. NOTA ABERTA ========================================================= */
/* Cabeçalho, capa em sangria, coluna do autor presa ao lado do texto e a
   grade de outras notas no fim, como na nota do MONODRIFT. */
.note { display: block; background: var(--white); }

.note__head {
  padding: max(88px, calc(140 * var(--s))) var(--gutter) max(28px, calc(40 * var(--s)));
  max-width: 1800px; margin: 0 auto;
}
.note__crumb { color: var(--orange); }
.note__rule { display: block; height: 1px; background: var(--g89); margin: max(10px, calc(14 * var(--s))) 0 max(20px, calc(28 * var(--s))); }
.note__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(30px, calc(93 * var(--s))); line-height: 0.9;
  letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--g15);
}
.note__sum {
  margin-top: max(24px, calc(44 * var(--s)));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.note__lede { flex: 1 1 auto; max-width: 800px; }
.note__lede p {
  font-size: max(15px, calc(20 * var(--s))); line-height: 1.1;
  letter-spacing: -0.03em; color: var(--g54);
}
.note__stamp { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.note__stamp time,
.note__read b,
.note__read i {
  font-family: var(--f-body); font-weight: 600; font-style: normal;
  font-size: 11px; line-height: 13.2px; letter-spacing: -0.2px; text-transform: uppercase;
}
.note__stamp time { color: var(--g15); }
.note__read { display: flex; gap: 6px; }
.note__read b { color: var(--g54); }
.note__read i { color: var(--g77); }

/* capa: ocupa a largura inteira da janela */
.note__cover { margin: 0; display: block; width: 100%; overflow: hidden; background: var(--g90); }
.note__cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

.note__body {
  max-width: 1800px; margin: 0 auto;
  padding: max(56px, calc(96 * var(--s))) var(--gutter) max(64px, calc(110 * var(--s)));
  display: grid;
  grid-template-columns: 30.2% minmax(0, 1fr);
  column-gap: 4.65%;
}
.note__aside { position: relative; }
.note__aside-in {
  position: sticky; top: max(90px, calc(120 * var(--s)));
  display: flex; flex-direction: column; align-items: flex-start;
}
.note__author {
  margin-top: max(14px, calc(22 * var(--s)));
  font-family: var(--f-display); font-weight: 500;
  font-size: max(20px, calc(26 * var(--s))); line-height: 1; letter-spacing: -0.03em;
  color: var(--g15);
}
.note__role {
  margin-top: 6px;
  font-family: var(--f-body); font-weight: 600; font-size: 12px; line-height: 1.2;
  letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54);
}
.note__facts { margin: max(18px, calc(26 * var(--s))) 0 0; width: 100%; max-width: 360px; }
.note__fact {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: max(10px, calc(13 * var(--s))) 0;
  border-top: 1px solid var(--g89);
}
.note__fact:last-child { border-bottom: 1px solid var(--g89); }
.note__fact dt {
  font-family: var(--f-body); font-weight: 600; font-size: 11px; line-height: 13.2px;
  letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54);
}
.note__fact dd { margin: 0; font-size: 13px; line-height: 1.2; letter-spacing: -0.2px; color: var(--g15); }
.note__aside .cta { margin-top: max(16px, calc(24 * var(--s))); }

.note__text { max-width: calc(760 / 896 * 100%); }
.note__text p {
  font-size: max(15px, calc(20 * var(--s))); line-height: 1.1;
  letter-spacing: -0.03em; color: var(--g15);
}
.note__text p + p { margin-top: max(16px, calc(22 * var(--s))); }
.note__text h2 {
  margin: max(34px, calc(58 * var(--s))) 0 max(16px, calc(24 * var(--s)));
  font-family: var(--f-display); font-weight: 500;
  font-size: max(22px, calc(32 * var(--s))); line-height: 0.9;
  letter-spacing: -0.01em; color: var(--g15);
}
.note__shot { margin: max(34px, calc(56 * var(--s))) 0; overflow: hidden; background: var(--g90); }
.note__shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* outras notas */
.more { background: var(--white); border-top: 1px solid var(--g89); padding: max(56px, calc(90 * var(--s))) var(--gutter) max(64px, calc(110 * var(--s))); }
.more__head {
  max-width: 1800px; margin: 0 auto max(24px, calc(34 * var(--s)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.more__grid {
  max-width: 1800px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: max(28px, calc(44 * var(--s))) 32px;
}
.mcard__link { display: flex; flex-direction: column; gap: 12px; color: var(--g15); }
.mcard__media { display: block; overflow: hidden; aspect-ratio: 437 / 367; background: var(--g90); }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; }
.mcard__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(17px, calc(21 * var(--s))); line-height: 1; letter-spacing: -0.02em;
  color: var(--g15);
}
.mcard__meta { display: flex; align-items: baseline; gap: 8px; }
.mcard__meta span,
.mcard__meta i {
  font-family: var(--f-body); font-weight: 600; font-style: normal;
  font-size: 11px; line-height: 13.2px; letter-spacing: -0.2px;
  text-transform: uppercase; color: var(--g54);
}
.mcard__meta i { color: var(--g77); }

/* tablet */
@media (max-width: 1199px) {
  .note__title { font-size: max(30px, calc(56 * 100vw / 810)); }
  .note__cover img { aspect-ratio: 9 / 7; }
  .note__body { grid-template-columns: minmax(0, 1fr); row-gap: max(28px, calc(40 * var(--s))); }
  .note__aside-in { position: relative; top: auto; }
  .note__facts { max-width: 100%; }
  .note__text { max-width: 100%; }
  .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}

/* mobile */
@media (max-width: 809px) {
  .note__head { padding-top: 96px; }
  .note__title { font-size: 9.2vw; }
  .note__cover img { aspect-ratio: 4 / 3; }
  .note__sum { flex-direction: column; align-items: flex-start; gap: 20px; }
  .note__stamp { align-items: flex-start; }
  .more__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}


/* 22. PROJETO ABERTO ====================================================== */
/* Mesma grade da nota: coluna estreita à esquerda com o marcador e o título
   da seção, coluna larga à direita com o texto. */
.pj { display: block; background: var(--white); }
.pj__wrap { max-width: 1800px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.pj__head { padding-top: max(88px, calc(140 * var(--s))); padding-bottom: max(28px, calc(40 * var(--s))); }
.pj__top { display: flex; align-items: baseline; gap: 16px; }
.pj__client {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(15px, calc(19 * var(--s))); line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--g15);
}
.pj__rule { display: block; height: 1px; background: var(--g89); margin: max(10px, calc(14 * var(--s))) 0 max(20px, calc(28 * var(--s))); }
.pj__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: max(30px, calc(93 * var(--s))); line-height: 0.9;
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--g15);
  text-wrap: balance;
}
.pj__sum { margin-top: max(24px, calc(44 * var(--s))); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.pj__lede { flex: 1 1 auto; max-width: 800px; }
.pj__lede p { font-size: max(15px, calc(20 * var(--s))); line-height: 1.1; letter-spacing: -0.03em; color: var(--g54); }
.pj__scope { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 6px; }
.pj__scope-lab,
.pj__scope li {
  font-family: var(--f-body); font-weight: 600; font-size: 11px; line-height: 13.2px;
  letter-spacing: -0.2px; text-transform: uppercase;
}
.pj__scope-lab { color: var(--g77); }
.pj__scope li { color: var(--g15); }

.pj__cover { margin: 0; width: 100%; overflow: hidden; background: var(--g90); }
.pj__cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

/* grade de duas colunas usada por todas as seções */
.pj__sec, .pj__data {
  display: grid; grid-template-columns: 30.2% minmax(0, 1fr);
  column-gap: 4.65%;
  padding-top: max(48px, calc(90 * var(--s)));
  padding-bottom: max(48px, calc(90 * var(--s)));
}
.pj__col-a { display: flex; flex-direction: column; gap: max(16px, calc(26 * var(--s))); }
.pj__col-b { display: flex; flex-direction: column; gap: max(14px, calc(20 * var(--s))); }
.pj__h {
  font-family: var(--f-display); font-weight: 500;
  /* era 42: no desktop a coluna estreita quebrava o título em 5 linhas */
  font-size: max(22px, calc(30 * var(--s))); line-height: 1.02; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--g15);
  text-wrap: balance;
}
.pj__sub {
  font-size: max(18px, calc(26 * var(--s))); line-height: 1.15; letter-spacing: -0.03em;
  color: var(--g15);
  text-wrap: pretty;
}
.pj__col-b p:not(.pj__sub) { font-size: max(15px, calc(20 * var(--s))); line-height: 1.1; letter-spacing: -0.03em; color: var(--g15); }

/* ficha do projeto */
.pj__idl { display: flex; flex-direction: column; gap: 4px; padding-bottom: max(12px, calc(18 * var(--s))); }
.pj__idl b { font-family: var(--f-display); font-weight: 500; font-size: max(18px, calc(24 * var(--s))); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.pj__idl span { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54); }
.pj__facts { margin: 0; }
.pj__fact {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: max(10px, calc(14 * var(--s))) 0; border-top: 1px solid var(--g89);
}
.pj__fact:last-of-type { border-bottom: 1px solid var(--g89); }
.pj__fact dt { font-family: var(--f-body); font-weight: 600; font-size: 11px; line-height: 13.2px; letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54); flex: 0 0 auto; }
.pj__fact dd { margin: 0; font-size: max(13px, calc(15 * var(--s))); line-height: 1.25; letter-spacing: -0.02em; color: var(--g15); text-align: right; }
.pj__data .cta { margin-top: max(20px, calc(30 * var(--s))); }

/* imagens */
.pj__wide { margin: 0; width: 100%; overflow: hidden; background: var(--g90); }
.pj__wide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pj__duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  padding-bottom: max(24px, calc(40 * var(--s)));
}
.pj__duo figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pj__duo .pj__shot { display: block; overflow: hidden; aspect-ratio: 2 / 3; background: var(--g90); }
.pj__duo img { width: 100%; height: 100%; object-fit: cover; }
.pj__duo figcaption {
  font-family: var(--f-body); font-weight: 600; font-size: 12px; line-height: 1.2;
  letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54);
}

/* métricas */
.pj__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: max(20px, calc(34 * var(--s))); }
.pj__metric { container-type: inline-size; display: flex; flex-direction: column; gap: 8px; padding-top: max(12px, calc(16 * var(--s))); border-top: 1px solid var(--g89); }
.pj__metric b {
  font-family: var(--f-display); font-weight: 500;
  /* 13.5cqi = tamanho em que "1 EXPERIÊNCIA" ou "US$ 16,27 BI" cabem numa linha
     da coluna; o valor acompanha a largura da métrica, não a da tela */
  font-size: max(32px, min(calc(70 * var(--s)), 13.5cqi)); line-height: 0.9; letter-spacing: -0.01em; color: var(--g15);
  overflow-wrap: normal; hyphens: none; text-wrap: balance;
}
.pj__metric u { text-decoration: none; font-family: var(--f-body); font-weight: 600; font-size: 11px; line-height: 13.2px; letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54); }
.pj__metric i { font-style: normal; font-family: var(--f-body); font-weight: 600; font-size: 12px; line-height: 1.25; letter-spacing: -0.2px; text-transform: uppercase; color: var(--g77); }
.pj__after { margin-top: max(20px, calc(30 * var(--s))); }

/* para fechar: bloco escuro */
.pj__final { background: var(--g15); color: var(--white); }
.pj__final .pj__sec { padding-top: max(56px, calc(100 * var(--s))); padding-bottom: max(56px, calc(100 * var(--s))); }
.pj__final .bracket { color: var(--g77); }
.pj__final .bracket__b { color: var(--g30); }
.pj__final .pj__sub { color: var(--white); font-size: max(18px, calc(32 * var(--s))); line-height: 1.1; }

/* créditos */
.pj__credits { margin: 0; }
.pj__credit { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: max(10px, calc(14 * var(--s))) 0; border-top: 1px solid var(--g89); }
.pj__credit:last-of-type { border-bottom: 1px solid var(--g89); }
.pj__credit dt { font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: -0.2px; text-transform: uppercase; color: var(--g54); }
.pj__credit dd { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: max(15px, calc(19 * var(--s))); line-height: 1; letter-spacing: -0.03em; color: var(--g15); }

/* tablet e mobile */
@media (max-width: 1199px) {
  .pj__title { font-size: max(30px, calc(56 * 100vw / 810)); }
  .pj__cover img { aspect-ratio: 9 / 7; }
  .pj__sec, .pj__data { grid-template-columns: minmax(0, 1fr); row-gap: max(20px, calc(32 * var(--s))); }
  .pj__metrics { gap: 20px; }
}
@media (max-width: 809px) {
  .pj__head { padding-top: 96px; }
  .pj__title { font-size: 9.2vw; }
  .pj__cover img { aspect-ratio: 4 / 3; }
  .pj__sum { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pj__scope { text-align: left; }
  .pj__metrics { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pj__duo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pj__fact { flex-direction: column; gap: 4px; }
  .pj__fact dd { text-align: left; }
}

/* 17. MOVIMENTO REDUZIDO ================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero { height: auto; }
  .hero__stage { position: relative; }
  .manifesto { height: auto; }
  .manifesto__stage { position: relative; }
  .manifesto__layer--orange { --wipe: 1 !important; }
  /* sem pino: as três frases ficam empilhadas e legíveis */
  .manifesto__layer { position: relative; }

}

/* Correspondência de movimento com MONODRIFT; conteúdo e identidade preservados. */
html.has-infinite-gallery, html.has-infinite-gallery body { overflow: hidden; overscroll-behavior: none; }
.work.is-infinite { height: 100vh; height: 100svh; overflow: hidden; }
.work.is-infinite .work__stage { position: relative; top: 0; height: 100%; min-height: 0; padding: 0 32px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.work.is-infinite .work__grid { height: 100%; max-width: none; display: block; }
.work.is-infinite .work__col { display: contents; }
.work.is-infinite .work__item { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
.work.is-infinite .work__head { position: absolute; bottom: 100%; width: 100%; padding-bottom: 12px; opacity: calc(1 - var(--hover, 0)); }
.work.is-infinite .work__id { gap: 8px; }
.work.is-infinite .work__name { font-size: 24px; }
.work.is-infinite .work__tag { font-size: 13px; }
.work.is-infinite .work__num { font-size: 52px; }
.work.is-infinite .work__media { aspect-ratio: auto; overflow: visible; }
.work.is-infinite .work__media img { top: 0; height: 100%; transform: none; transition: none; object-fit: cover; }
.work.is-infinite .work__over { opacity: var(--hover, 0); transition: none; background: rgba(0,0,0,.45); }
.work.is-infinite .is-textured .work__over { background: transparent; }
.work.is-infinite .work__over-in > * { transform: translateY(calc((1 - var(--hover, 0)) * 50px)); }
.work.is-infinite .work__card { outline-offset: 4px; }
.work.is-infinite.is-gl .work__media img { opacity: 1; }
.work.is-infinite.is-gl .is-textured .work__media img { opacity: 0; }
.work.is-infinite .gl-canvas { top: 0; bottom: 0; right: auto; height: 100%; z-index: 0; }
.work.is-infinite .work__grid { z-index: 1; }
.work.is-infinite .is-dragging, .work.is-infinite .is-dragging a { cursor: grabbing; }
.work__edge-blur { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; z-index: 5; pointer-events: none; overflow: hidden; }
.work__edge-blur i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); -webkit-mask-image: var(--mask); mask-image: var(--mask); }
@media (max-width: 1199px) {
  .work.is-infinite .work__stage { padding-inline: 16px; }
  .work.is-infinite .work__name { font-size: 22px; }
  .work.is-infinite .work__num { font-size: 40px; }
}
@media (max-width: 809px) {
  .work.is-infinite .work__item { position: absolute; }
  .work.is-infinite .work__over { opacity: var(--hover, 0); }
}
.work.is-static { height: auto; }
.work.is-static .work__stage { position: relative; height: auto; min-height: 0; overflow: visible; }
.work.is-static .work__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 32px; height: auto; }
.work.is-static .work__col { display: contents; }
.work.is-static .work__item { position: static; transform: none !important; }
.work.is-static .work__item:nth-child(1) { order: 1; }
.work.is-static [data-work-col="1"] .work__item:nth-child(1) { order: 2; }
.work.is-static [data-work-col="0"] .work__item:nth-child(2) { order: 3; }
.work.is-static [data-work-col="1"] .work__item:nth-child(2) { order: 4; }
.work.is-static [data-work-col="0"] .work__item:nth-child(3) { order: 5; }
.work.is-static [data-work-col="1"] .work__item:nth-child(3) { order: 6; }
@media (max-width: 767px) { .work.is-static .work__grid { grid-template-columns: minmax(0,1fr); } }

/* Progresso real da sequência do homem com o polvo, apenas na home. */
.preloader__progress {
  color: var(--white); font-family: var(--f-body);
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
  letter-spacing: -.06em; min-width: 4.5ch; text-align: center;
}

.preloader__progress[aria-valuetext] { font-size: clamp(16px, 3vw, 24px); letter-spacing: 0; }
@media (max-height: 600px) {
  .preloader__progress { font-size: clamp(32px, 8vh, 48px); }
  .preloader__brand { gap: 14px; }
  .preloader__emblem { max-height: 16.5vh; width: auto; }
}

/* As posições editoriais são links das mesmas notas da listagem. */
.notes__card { pointer-events: auto; text-decoration: none; color: inherit; }
.notes__card:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; animation-play-state: paused; }

/* Páginas legais: título amplo, índice lateral e seções numeradas do template. */
.legal { padding: 112px 32px 100px; }
.legal__head h1 { font-family: var(--f-display); font-size: clamp(42px, 5.35vw, 96px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; text-transform: uppercase; margin: 0 0 32px; }
.legal__meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; font-size: 12px; font-weight: 500; line-height: 1.4; text-transform: uppercase; }
.legal__meta p { color: var(--g54); }
.legal__meta a { flex-shrink: 0; }
.legal__layout { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.9fr); gap: 56px; margin-top: 90px; align-items: start; }
.legal__aside { position: sticky; top: 100px; }
.legal__label { color: var(--g54); font-size: 11px; margin-bottom: 32px; }
.legal__aside ol { list-style: none; padding: 0; margin: 0; }
.legal__aside li { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid var(--g89); font-size: 12px; line-height: 1.2; text-transform: uppercase; }
.legal__aside li > span { color: var(--g54); }
.legal__aside a:hover, .legal__content a:hover { color: var(--orange); }
.legal__help { margin-top: 32px; padding: 24px; background: var(--g15); color: var(--white); }
.legal__help > p + p { margin: 18px 0 24px; font-size: 16px; line-height: 1.3; }
.legal__help a { font-size: 12px; overflow-wrap: anywhere; }
.legal__content { padding-top: 44px; min-width: 0; }
.legal__section { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 32px; padding: 36px 0 46px; border-top: 1px solid var(--g89); scroll-margin-top: 100px; }
.legal__number { font-family: var(--f-display); font-size: 24px; line-height: 1.2; color: var(--g54); }
.legal__section h2 { font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 36px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 24px; }
.legal__section p { font-size: 16px; line-height: 1.5; letter-spacing: -.3px; color: var(--g30); }
.legal__section p + p { margin-top: 16px; }
.legal__section p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer__legal-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 10px; }
.footer__legal-links a:hover { color: var(--orange); }
@media (max-width: 1199px) {
  .legal { padding-inline: 24px; }
  .legal__layout { gap: 32px; grid-template-columns: 220px minmax(0,1fr); }
  .legal__section { grid-template-columns: 36px minmax(0,1fr); gap: 20px; }
}
@media (max-width: 809px) {
  .legal { padding: 102px 20px 64px; }
  .legal__head h1 { font-size: clamp(36px, 8.7vw, 66px); }
  .legal__meta { align-items: flex-start; flex-direction: column; gap: 18px; }
  .legal__layout { display: block; margin-top: 48px; }
  .legal__aside { position: static; }
  .legal__help { margin-top: 24px; }
  .legal__content { padding-top: 48px; }
  .legal__section { padding: 28px 0 36px; grid-template-columns: 30px minmax(0,1fr); gap: 16px; }
  .legal__number { font-size: 20px; }
  .footer__legal-links { justify-content: flex-start; gap: 12px; }
}

/* Fotografias autorais: preservar enquadramento e detalhe, sem ampliar o original. */
.note__cover { max-width: 1536px; margin-inline: auto; }
.note__cover img { display: block; height: auto; object-position: 50% 35%; }
.note__shot img { display: block; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }

.notes__thumb img, .ncard__media img, .mcard__media img, .note__cover img, .note__shot img { filter: grayscale(1); }
/* essas entram em preto e branco: o desfoque da revelação soma ao grayscale */
.notes__thumb img, .ncard__media img, .mcard__media img, .note__cover img, .note__shot img { --reveal-base: grayscale(1); }

/* Assuntos e composição editorial: alturas livres, ordem cronológica no DOM. */
.notesp__filters { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-top: 20px; }
.note-filter {
  appearance: none; border: 1px solid var(--g89); border-radius: 0;
  background: transparent; color: var(--g30); cursor: pointer;
  padding: 10px 14px; min-height: 44px;
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  line-height: 1.2; text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.note-filter:hover { border-color: var(--orange); color: var(--g5); }
.note-filter[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
/* quantidade de notas do assunto: aparece só no filtro ativo */
.note-filter__count { display: none; margin-left: 10px; font-variant-numeric: tabular-nums; }
.note-filter[aria-pressed="true"] .note-filter__count { display: inline; }
.note-filter:focus-visible { outline: 2px solid var(--g5); outline-offset: 3px; }
.notesp__grid { --note-columns: 3; position: relative; columns: auto; margin-top: 24px; overflow-anchor: none; }
.notesp__grid .ncard { position: absolute; margin: 0; }
.notesp__grid .ncard[hidden] { display: none; }
@media (max-width: 1199px) { .notesp__grid { --note-columns: 2; } }
@media (max-width: 809px) {
  .notesp__grid { --note-columns: 1; }
  .notesp__filters { gap: 8px; }
  .note-filter { padding-inline: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .note-filter { transition: none; } }

/* A seção do polvo rola normalmente (não fica mais presa no topo). */
.reel__frame { height: 100svh; min-height: 0; max-height: none; }


/* =========================================================================
   REVELAÇÃO DAS IMAGENS
   Enquanto a imagem não terminou de carregar ela fica invisível no lugar
   dela (sem mudar tamanho nem posição). Quando o carregamento termina de
   verdade, ela entra com um fade curto e um leve desfoque. Sem atraso: a
   animação começa no evento load da própria imagem.
   ========================================================================= */
/* enquanto espera o load, nenhuma outra animação de entrada roda por baixo:
   sem isso a animação própria da hero reiniciava depois da revelação e a
   imagem piscava, parecendo que carregava duas vezes */
img[data-reveal] { opacity: 0; animation: none; }
img.is-revealing {
  /* o "para onde vai" é o estado normal da imagem, então quem já nasce
     com opacidade própria (a galeria em WebGL, a foto do polvo) continua
     se comportando como antes */
  animation: img-reveal 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes img-reveal {
  from { opacity: 0; filter: var(--reveal-base, ) blur(4px); }
}
/* depois de revelada a imagem fica no estado final e nada mais a anima */
img.is-revealed { animation: none; }
@media (prefers-reduced-motion: reduce) {
  img[data-reveal] { opacity: 1; }
  img.is-revealing { animation: none; }
}

/* =========================================================================
   23. ACESSO RESTRITO (modal do Figma: modal-acesso-restrito, 1226 x 750)
   As medidas internas são proporcionais à largura do modal (cqw), então o
   desenho aprovado se mantém exato em qualquer largura no desktop e no
   tablet. Abaixo de 860px o modal vira a composição vertical do mobile.
   ========================================================================= */

/* o conteúdo do projeto continua visível, porém ilegível e sem interação */
html.is-locked, html.is-locked body { overflow: hidden; }
html.is-locked .nav, html.is-locked main, html.is-locked .footer { pointer-events: none; user-select: none; }
body.is-gate-locked { position: fixed; left: 0; right: 0; width: 100%; overscroll-behavior: none; }

.gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, 2.2vw);
  opacity: 0; transition: opacity 0.25s var(--ease-out);
}
.gate.is-open { opacity: 1; }
.gate.is-leaving { opacity: 0; }

.gate__veil {
  position: absolute; inset: 0;
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(18px) saturate(0.7) brightness(0.72);
  -webkit-backdrop-filter: blur(18px) saturate(0.7) brightness(0.72);
}
/* navegador sem backdrop-filter: desfoca o próprio conteúdo */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.is-locked .nav, html.is-locked main, html.is-locked .footer {
    filter: blur(16px) brightness(0.62);
  }
  .gate__veil { background: rgba(8, 8, 8, 0.45); }
}

.gate__dialog {
  container-type: inline-size;
  position: relative;
  display: flex; align-items: stretch;
  width: min(1226px, 92vw, calc(88vh * 1226 / 750));
  aspect-ratio: 1226 / 750;
  background: var(--g5);
  border: 1.442px solid var(--g15);
  overflow: hidden;
  opacity: 0; transform: scale(0.98);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.gate.is-open .gate__dialog { opacity: 1; transform: scale(1); }
.gate.is-leaving .gate__dialog { opacity: 0; }
.gate__dialog.is-shake { animation: gate-shake 0.35s ease-out; }
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* ---------- coluna da imagem ---------- */
.gate__side {
  position: relative; flex: none;
  width: 44.47cqw;                 /* 545.192 / 1226 */
  padding: 4.71cqw 3.76cqw;        /* 57.692 / 46.154 */
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fafafa; overflow: hidden;
}
.gate__art {
  position: absolute; left: -1.72%; top: -16.84%;
  width: 159.21%; height: 131.68%;
  max-width: none;                 /* anula o img{max-width:100%} global */
  object-fit: cover; object-position: 50% 50%;
}
.gate__block {
  position: absolute; right: 0; bottom: 0;
  width: 22.12cqw; height: 11.06cqw;   /* 271.154 x 135.577 */
  background: var(--orange);
}
.gate__eyebrows, .gate__claim, .gate__statement { position: relative; z-index: 1; }
.gate__eyebrows { display: flex; flex-direction: column; gap: 0.235cqw; }
.gate__eyebrows p {
  font-family: var(--f-display); font-weight: 500;
  font-size: 0.941cqw; line-height: 1.25; letter-spacing: 0.1176cqw;
  text-transform: uppercase; color: #5b5b5b;
}
.gate__eyebrows::after {
  content: ""; display: block; margin-top: 1.176cqw;
  width: 3.765cqw; height: 0.235cqw; background: var(--orange);
}
.gate__claim {
  max-width: 19.4cqw;
  font-family: var(--f-display); font-weight: 500;
  font-size: 3.425cqw; line-height: 1.167; letter-spacing: -0.0714cqw;
  color: var(--g15); text-transform: uppercase;
}
.gate__claim span { color: var(--orange); }
/* bloco vazio do Figma (statement 317 x 121): empurra a frase para o meio */
.gate__statement { display: block; width: 25.88cqw; height: 9.88cqw; }

/* ---------- coluna do conteúdo ---------- */
.gate__main {
  position: relative; flex: 1 1 auto; min-width: 0;
  padding: 4.71cqw;
  display: flex; flex-direction: column;
}
.gate__state {
  flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.4cqw;
  opacity: 0; transition: opacity 0.24s var(--ease-out);
}
.gate__state.is-on { opacity: 1; }
.gate__state[hidden] { display: none; }

.gate__close {
  position: absolute; top: 4.4cqw; right: 4.4cqw; z-index: 2;
  width: 2.82cqw; height: 2.82cqw; min-width: 34px; min-height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--white); opacity: 0.85; transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.gate__close:hover { opacity: 1; transform: rotate(90deg); }
.gate__close .gate__ico { width: 100%; height: 100%; }

.gate__head { display: flex; flex-direction: column; gap: 1.41cqw; }
.gate__rule, .gate__title { margin-right: 4.4cqw; }
.gate__rule { width: 3.765cqw; height: 0.235cqw; background: var(--orange); }
.gate__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 3.294cqw; line-height: 1.12; letter-spacing: 0.0588cqw;
  text-transform: uppercase; color: var(--white);
}
.gate__title span { color: var(--orange); }
.gate__text {
  font-family: var(--f-display); font-weight: 400;
  font-size: 1.647cqw; line-height: 1.286; color: var(--g54);
}

/* botões: mesmo componente .cta do site, com o corte no canto */
.gate__actions { display: flex; flex-direction: column; gap: 1.53cqw; }
.cta.gate__cta {
  --notch: 1.1cqw;
  min-height: 5.88cqw; padding: 1.53cqw 1.83cqw 1.53cqw 1.69cqw;
  border: 0; cursor: pointer; text-align: left;
}
.cta.gate__cta .cta__main { gap: 1.06cqw; }
.cta.gate__cta .cta__text { font-size: 1.832cqw; line-height: 1; letter-spacing: -0.0824cqw; }
.cta.gate__cta .gate__ico { width: 2.73cqw; height: 2.73cqw; flex: none; }
.cta.gate__cta .gate__arrow { width: 0.79cqw; height: 1.22cqw; flex: none; transition: transform 0.4s var(--ease-spring); }
.cta.gate__cta:hover .gate__arrow { transform: translateX(4px); }
.cta.gate__cta--dark::before { background: #383838; }
.cta.gate__cta--dark:hover::before { background: #454545; }
/* no fundo escuro o hover padrao (.cta:hover{color:var(--g15)}) some; aqui vira laranja */
.cta.gate__cta--dark:hover, .cta.gate__cta--dark:hover .cta__text { color: var(--orange); }
.cta.gate__cta[disabled] { cursor: not-allowed; }
.cta.gate__cta[disabled]::before { background: #383838; }
.cta.gate__cta[disabled] { color: var(--g54); }
.cta.gate__cta.is-busy { opacity: 0.7; pointer-events: none; }
/* anel de foco discreto por dentro do botão, sem virar borda */
.gate__dialog:focus, .gate__dialog:focus-visible { outline: none; }
.gate .cta.gate__cta:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.85); outline-offset: -8px; }
.gate__close:focus-visible, .gate__again a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.gate__or { display: flex; align-items: center; gap: 1.06cqw; }
.gate__or i { flex: 1 1 auto; height: 1px; background: #383838; }
.gate__or span {
  font-family: var(--f-display); font-size: 1.53cqw; line-height: 1;
  text-transform: uppercase; color: #383838;
}

.gate__privacy { display: flex; align-items: center; gap: 0.94cqw; }
.gate__privacy .gate__ico { width: 2.82cqw; height: 2.82cqw; flex: none; color: var(--g54); }
.gate__privacy span {
  font-family: var(--f-display); font-weight: 400;
  font-size: 1.294cqw; line-height: 1.273; color: var(--g54);
}

/* ---------- campos do código ---------- */
.gate__code { display: flex; flex-direction: column; gap: 1.2cqw; }
.gate__digits { display: flex; gap: 0.74cqw; }
.gate__digit {
  flex: 1 1 0; min-width: 0;
  height: 7.4cqw;                    /* 90.703 / 1226 */
  border: 0.123cqw solid #383838; border-radius: 0.74cqw;
  background: transparent; color: var(--white);
  font-family: var(--f-display); font-weight: 500;
  font-size: 3.1cqw; line-height: 1; text-align: center;
  caret-color: var(--orange);
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
  appearance: none; -webkit-appearance: none;
}
.gate__digit:focus { outline: none; border-color: var(--orange); background: rgba(255, 89, 0, 0.06); }
.gate__digit:focus-visible { outline: none; }
.gate__digit.is-wrong { border-color: #b23a12; }
.gate__error {
  font-family: var(--f-display); font-size: 1.24cqw; line-height: 1.3; color: #ff7a45;
}

.gate__again { display: flex; flex-direction: column; align-items: center; gap: 0.94cqw; }
.gate__line { display: block; width: 100%; height: 1px; background: #383838; margin-bottom: 0.6cqw; }
.gate__again p {
  font-family: var(--f-display); font-size: 1.882cqw; line-height: 1.2; color: var(--g54);
}
.gate__again a {
  display: inline-flex; align-items: center; gap: 0.47cqw;
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.412cqw; letter-spacing: 0.0588cqw; text-transform: uppercase; color: var(--orange);
}
.gate__again a .gate__arrow { width: 0.79cqw; height: 1.22cqw; transition: transform 0.4s var(--ease-spring); }
.gate__again a:hover .gate__arrow { transform: translateX(3px); }

/* ---------- tablet: mesma composição, respiro menor ---------- */
@media (max-width: 1199px) and (min-width: 860px) {
  .gate { padding: 20px; }
  .gate__dialog { width: min(1226px, 94vw, calc(90vh * 1226 / 750)); }
}

/* ---------- mobile: composição vertical ---------- */
@media (max-width: 859px) {
  .gate { padding: 12px; align-items: flex-start; }
  .gate__dialog {
    container-type: normal;
    width: calc(100% - 0px); max-width: 560px;
    aspect-ratio: auto; max-height: calc(100dvh - 24px);
    margin: 12px auto; flex-direction: column;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .gate__side {
    width: 100%; height: 30vh; min-height: 170px; max-height: 230px;
    padding: 18px 20px; justify-content: flex-end; gap: 10px;
  }
  /* no celular a faixa é baixa: mostra o muro claro, onde a frase fica legível */
  .gate__art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-position: 14% 32%; }
  .gate__side::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(250,250,250,0.94) 18%, rgba(250,250,250,0.55) 62%, rgba(250,250,250,0) 100%);
  }
  .gate__block { width: 38%; height: 54px; }
  .gate__eyebrows { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .gate__eyebrows p { font-size: 10px; letter-spacing: 1.2px; }
  .gate__eyebrows::after { margin-top: 0; width: 34px; height: 2px; align-self: center; }
  .gate__claim { max-width: 220px; font-size: 24px; line-height: 1.15; letter-spacing: -0.5px; }
  .gate__statement { display: none; }

  .gate__main { padding: 22px 20px 26px; }
  .gate__state { gap: 22px; }
  .gate__close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .gate__close .gate__ico { width: 26px; height: 26px; }
  .gate__head { gap: 12px; padding-right: 44px; }
  .gate__rule { width: 34px; height: 2px; }
  .gate__title { font-size: 28px; letter-spacing: 0.4px; }
  .gate__text { font-size: 15px; line-height: 1.35; }
  .gate__text br { display: none; }   /* no celular a quebra é a natural */

  .gate__actions { gap: 14px; }
  .cta.gate__cta {
    --notch: 12px;
    width: 100%; min-height: 56px; padding: 14px 16px 14px 14px;
  }
  .cta.gate__cta .cta__main { gap: 10px; min-width: 0; }
  .cta.gate__cta .cta__text { font-size: 14.5px; letter-spacing: -0.4px; white-space: normal; }
  .cta.gate__cta .gate__ico { width: 22px; height: 22px; }
  .cta.gate__cta .gate__arrow { width: 9px; height: 14px; }
  .gate__or { gap: 10px; }
  .gate__or span { font-size: 13px; }
  .gate__privacy { gap: 10px; }
  .gate__privacy .gate__ico { width: 24px; height: 24px; }
  .gate__privacy span { font-size: 12px; line-height: 1.35; }

  .gate__code { gap: 10px; }
  .gate__digits { gap: 6px; }
  .gate__digit {
    height: 62px; font-size: 24px;
    border-width: 1.5px; border-radius: 8px;
  }
  .gate__error { font-size: 12.5px; }
  .gate__again { gap: 8px; }
  .gate__line { margin-bottom: 4px; }
  .gate__again p { font-size: 15px; }
  .gate__again a { font-size: 13px; letter-spacing: 0.4px; }
  .gate__again a .gate__arrow { width: 8px; height: 12px; }
}

@media (max-width: 380px) {
  .gate__digits { gap: 5px; }
  .gate__digit { height: 56px; font-size: 21px; }
  .cta.gate__cta .cta__text { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .gate, .gate__dialog, .gate__state { transition: none; }
  .gate__dialog.is-shake { animation: none; }
  .gate__close:hover { transform: none; }
}
