/* Walk Productions · site v4 · opção 5
   Espinha medida numa captura de 1920×1080 (estúdio escuro, títulos condensados em caixa-alta).
   Cada medida em px da captura vira vw (px / 19.2) com piso para telas pequenas e teto em 1920.
   Cor e as quatro vozes tipográficas: identidade da Walk (material-site/identidade.md). */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  /* cor · papéis da captura → tokens da Walk */
  --fundo: #08080a;    /* fundo #0b0b0b */
  --fundo-2: #101014;  /* superfície dos cartões #171717 */
  --linha: #1e1e22;    /* borda #292929 */
  --tinta: #fafafa;    /* tinta secundária #ffffff */
  --tinta-2: #a1a1a6;  /* tinta #878787 */
  --bone: #f2efe6;     /* superfície clara #ffffff (seção 09) */
  --sinal: #EE3A0C;    /* acento #ffff63 */

  /* as quatro vozes */
  --grosso: "Big Shoulders Display", "Arial Narrow", sans-serif;  /* no lugar da Founders Grotesk X Condensed */
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;          /* no lugar da Neue Haas Unica */
  --serifa: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;

  /* escala tipográfica medida: 232 · 180 · 112 · 48 · 24.
     A Founders X Condensed tem maiúscula de 0,646em; a Big Shoulders, de 0,8em. Os três tamanhos de
     título são multiplicados por 0,8075 para a maiúscula ter a mesma altura medida (150 px no hero)
     e o mesmo passo de linha (176 px): line-height 0,76 / 0,8075 = 0,941. */
  --t-hero: clamp(42px, 9.7552vw, 187.3px);
  --t-1: clamp(40px, 7.5703vw, 145.35px);
  --t-2: clamp(30px, 4.7104vw, 90.44px);
  --lh-grosso: 0.941;
  --t-3: clamp(24px, 2.5vw, 48px);
  --t-4: clamp(16px, 1.25vw, 24px);
  --t-hud: clamp(11px, 0.7292vw, 14px);

  /* espaço medido: 40 · 32 · 48 · 144 · 148 · 368 */
  --g: clamp(16px, 2.0833vw, 40px);
  --sp-32: clamp(16px, 1.6667vw, 32px);
  --sp-48: clamp(24px, 2.5vw, 48px);
  --sp-144: clamp(64px, 7.5vw, 144px);
  --sp-148: clamp(72px, 7.7083vw, 148px);
  --sp-368: clamp(120px, 19.1667vw, 368px);
  --col-gap: clamp(12px, 1.6667vw, 32px);

  --entrada: cubic-bezier(0.16, 1, 0.3, 1);
  --curva: cubic-bezier(0.9, 0, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fundo); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--tinta);
  font-family: var(--sans); font-size: var(--t-4); line-height: 1.3; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, 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; }
:focus-visible { outline: 2px solid var(--sinal); outline-offset: 3px; }
::selection { background: var(--sinal); color: var(--fundo); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: var(--g); top: -100px; z-index: 300; background: var(--sinal); color: var(--fundo); padding: 8px 12px; font-weight: 500; }
.pular:focus { top: 12px; }

/* ---------- vozes ---------- */
.t-hero, .t-1, .t-2 { font-family: var(--grosso); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.t-hero { font-size: var(--t-hero); line-height: var(--lh-grosso); }
.t-1 { font-size: var(--t-1); line-height: var(--lh-grosso); }
.t-2 { font-size: var(--t-2); line-height: var(--lh-grosso); }
.t-3 { font-size: var(--t-3); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.t-4 { font-size: var(--t-4); line-height: 1.3; }
.cinza { color: var(--tinta-2); }
.emo { font-family: var(--serifa); font-style: italic; font-weight: 400; text-transform: none; color: var(--sinal); letter-spacing: -0.01em; }
.nw { white-space: nowrap; }
.hud { font-family: var(--mono); font-size: var(--t-hud); font-weight: 400; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tinta-2); }
.hud--forte { color: var(--tinta); font-weight: 500; }

/* ---------- estrutura ---------- */
.sec { position: relative; background: var(--fundo); }
.cont { margin: 0 var(--g); position: relative; }
.sp { width: 100%; }
.sp--32 { height: var(--sp-32); } .sp--48 { height: var(--sp-48); } .sp--148 { height: var(--sp-148); } .sp--368 { height: var(--sp-368); }
.linha { height: 1.6px; background: var(--linha); width: 100%; }
.img { position: relative; overflow: clip; background: var(--fundo-2); }
.img > img, .img > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* botão "texto + seta" (pílula sem fundo, como medido) */
.btn { display: inline-flex; align-items: center; gap: 0.53em; padding: 8px 0 8px 8px; border-radius: 16000000px; font-weight: 500; line-height: 1; color: var(--tinta); }
.btn__seta { width: 0.53em; height: 0.53em; color: var(--sinal); transition: transform .3s var(--entrada); }
.btn:hover .btn__seta, .btn:focus-visible .btn__seta { transform: translate(0.12em, -0.12em); }
.btn > span { position: relative; }
.btn > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.12em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--entrada); }
.btn:hover > span::after { transform: scaleX(1); transform-origin: left; }
.btn--g { font-size: var(--t-3); padding: 8px 0; }

/* cabeçalho de seção: título 180 + contagem 48 à direita */
.cab { display: grid; grid-template-columns: 2fr 1fr; gap: var(--col-gap); align-items: end; margin: var(--g) 0 16px; }
.cab__titulo { max-width: 10.05em; }
.cab__conta { justify-self: end; margin-bottom: var(--sp-32); }
.cab--2 { grid-template-columns: 1fr 1fr; margin-bottom: var(--g); }
.cab--prova { margin-bottom: calc(var(--g) + 24px); }

/* ---------- divisão em letras / palavras (máscara para o reveal) ---------- */
.sl-w { display: inline-block; white-space: nowrap; }
.sl-m { display: inline-block; overflow: clip; padding: 0.16em 0.04em 0.06em; margin: -0.16em -0.04em -0.06em; vertical-align: baseline; }
.sl-c { display: inline-block; will-change: transform; }
.sp-m { display: inline-block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; vertical-align: baseline; }
.sp-w { display: inline-block; }
html.motion [data-split], html.motion .img--revela, html.motion .faixa { visibility: hidden; }

/* ---------- 01 · menu ---------- */
.nav { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
/* a barra inverte sobre o que passa embaixo (difference, como medido); o .nav fixo é o grupo que mistura */
.nav[data-nav="fechado"] { mix-blend-mode: difference; }
.nav__barra {
  position: absolute; top: 0; left: var(--g); right: var(--g); height: clamp(64px, 5.2083vw, 100px);
  display: flex; align-items: center; justify-content: space-between; z-index: 2;
}
.nav__logo, .nav__botao { pointer-events: auto; }
.nav__logo img { width: clamp(96px, 7.8125vw, 150px); height: auto; }
.nav__botao { position: relative; height: 60px; width: 96px; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; color: #f4f4f4; font-size: var(--t-4); font-weight: 500; }
.nav__botao-txt { display: block; transition: transform .6s var(--curva); }
.nav__botao-txt--fechar { position: absolute; right: 0; top: 0; height: 60px; display: flex; align-items: center; transform: translateY(120px); }
.nav[data-nav="aberto"] .nav__botao-txt--abrir { transform: translateY(-120px); }
.nav[data-nav="aberto"] .nav__botao-txt--fechar { transform: translateY(0); }
.nav__tela { position: absolute; inset: 0; background: var(--fundo); display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: auto; }
.nav__tela[hidden] { display: none; }
.nav__lista { display: flex; flex-direction: column; align-items: center; }
.nav__item { overflow: hidden; display: flex; justify-content: center; transition: opacity .3s; }
.nav__lista:has(.nav__item:hover) .nav__item { opacity: 0.15; }
.nav__lista:has(.nav__item:hover) .nav__item:hover { opacity: 1; }
.nav__link { display: block; font-family: var(--grosso); font-weight: 800; font-size: var(--t-2); line-height: 1.1; text-transform: uppercase; padding: 0 0.075em; overflow: hidden; }
.nav__link-txt { display: block; position: relative; transition: transform .5s var(--curva); }
.nav__link-txt::after { content: attr(data-txt); position: absolute; left: 0; top: calc(100% + 0.3em); color: var(--sinal); }
.nav__link:hover .nav__link-txt, .nav__link:focus-visible .nav__link-txt { transform: translateY(calc(-100% - 0.3em)); }
.nav__base { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 54px clamp(16px, 1.875vw, 36px) clamp(16px, 1.875vw, 36px); }
.nav__canal { color: var(--tinta-2); font-size: var(--t-4); transition: color .3s; }
.nav__canal:hover { color: var(--tinta); }

/* ---------- 01 · hero + vídeo que cresce ---------- */
.hero { position: relative; padding-top: calc(100px + 5.2083vw); padding-bottom: 8.4375vw; background: var(--fundo); }
.hero__titulo { text-align: center; margin: 0 var(--g); }
.video-escala {
  /* 146.5vh = o centro do quadro final quando a rolagem começa a 19vh (205 px em 1080) e dura 77.5vh (837 px) */
  margin-top: clamp(10vh, calc(146.5vh - 25.3125vw - 18.3333vw - 100px - 5.2083vw), 80vh);
  width: 90vw; aspect-ratio: 16 / 9; margin-left: auto; margin-right: auto; position: relative;
}
.video-escala__palco { position: absolute; inset: 0; --k: 0; clip-path: inset(calc(var(--k) * 36.111%)); background: var(--fundo); will-change: transform, clip-path; }
.video-escala__fonte, .video-escala__ascii { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-escala__fonte { opacity: 0; }
.no-gl .video-escala__fonte { opacity: 1; filter: grayscale(1) contrast(1.1); }
.no-gl .video-escala__ascii { display: none; }
.video-escala__hud { position: absolute; inset: calc(var(--k) * 36.111%); pointer-events: none; }
.video-escala__hud .hud { position: absolute; color: var(--bone); white-space: nowrap; }
.hud--se { left: var(--g); top: calc(var(--g) + 3.3vw); }
.hud--ie { left: var(--g); bottom: var(--g); }
.hud--id { right: var(--g); bottom: var(--g); }
.rec { color: var(--sinal); font-weight: 500; }

/* ---------- 02 · clientes ---------- */
.clientes { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; }
.clientes__cont { display: flex; flex-direction: column; gap: 40px; margin: 0; }
.clientes__titulo { text-align: center; margin: 0 var(--g) 24px; }
.faixa { overflow: hidden; height: clamp(96px, 8.3333vw, 160px); position: relative; }
.faixa__rolo { display: flex; height: 100%; width: max-content; margin-left: -25vw; will-change: transform; }
.faixa__grupo { display: flex; align-items: center; height: 100%; flex: none; }
.faixa__item { flex: none; margin: 0 4vw; font-size: var(--t-3); font-weight: 500; line-height: 1; white-space: nowrap; letter-spacing: -0.02em; }
.faixa__item--hud { font-family: var(--mono); font-size: clamp(12px, 1.0417vw, 20px); letter-spacing: 0.04em; color: var(--tinta-2); font-weight: 500; }

/* ---------- 03 · manifesto ---------- */
.manifesto__cont { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.manifesto__titulo { max-width: 5.53em; }
.manifesto__img { width: min(800px, 41.6667vw); aspect-ratio: 2 / 1; min-width: min(100%, 340px); }
.manifesto__texto { display: flex; flex-direction: column; align-items: center; }
.manifesto__texto p { max-width: 809px; margin-bottom: 40px; }

/* ---------- 04 · trabalho ---------- */
.obras { display: flex; flex-direction: column; gap: var(--sp-144); }
.obra__link { display: block; }
.obra__midia { aspect-ratio: 2 / 1; width: 100%; }
.obra__midia img { transition: transform 1.2s var(--entrada); }
.obra__link:hover .obra__midia img { transform: scale(1.02); }
.obra__midia--sistema { background: var(--fundo-2); position: relative; display: flex; align-items: center; justify-content: center; overflow: clip; }
.obra__modulos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; max-width: 70%; }
.obra__modulos span { font-family: var(--mono); font-size: clamp(11px, 1.0417vw, 20px); letter-spacing: 0.04em; color: var(--tinta); border: 1px solid var(--linha); padding: 0.6em 0.9em; }
.obra__aviso { position: absolute; left: var(--g); bottom: var(--g); }
.obra__rodape { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); margin-top: var(--sp-32); }
.obra__nome { grid-column: 1 / span 5; }
.obra__texto { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }

/* ---------- 05 · serviços (cartões empilhados) ---------- */
.verbo { position: sticky; top: 0; background: var(--fundo); }
.verbo__cont { padding: 0 var(--g) 56px; }
.verbo__cont > .linha { margin-bottom: 40px; }
.verbo__grade { display: grid; grid-template-columns: repeat(13, 1fr); gap: 40px; }
.verbo__texto { grid-column: 1 / span 5; display: flex; flex-direction: column; justify-content: space-between; }
.verbo__nome { margin-bottom: 32px; }
.verbo__pe { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; }
.verbo__num { font-weight: 500; }
.verbo__corpo { display: flex; flex-direction: column; gap: 8px; }
.verbo__corpo .t-4 { margin-bottom: 16px; }
.verbo__midia { grid-column: 9 / span 5; aspect-ratio: 1 / 1; }

/* ---------- 06 · CTA ---------- */
.cta { overflow: clip; min-height: 41vw; display: flex; flex-direction: column; }
.cta__fundo { position: absolute; inset: 0; }
.cta__fundo img { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 137%; object-fit: cover; }
.cta__veu { position: absolute; inset: 0; background: rgb(8 8 10 / 0.55); }
.cta__cont { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta__titulo { max-width: 7.04em; margin-bottom: clamp(80px, 16.6667vw, 320px); }
.cta__base { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--col-gap); align-items: end; }
.cta__texto { grid-column: 1 / span 3; max-width: 809px; color: var(--tinta); }
.cta__base .btn { grid-column: 5 / span 2; justify-self: end; }

/* ---------- 07 · como funciona ---------- */
.processo__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 144px 20px; }
.processo__col1 { position: relative; }
.processo__titulo { position: sticky; top: 192px; max-width: 4.52em; }
.processo__col2 { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.etapa { width: min(600px, 100%); background: var(--fundo-2); padding: 24px; display: flex; flex-direction: column; }
.etapa__topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: var(--sp-144); }
.etapa__num { color: var(--tinta-2); }

/* ---------- 08 · no ar (carrossel) ---------- */
.prova { overflow-x: clip; }
.prova__carrossel { display: flex; flex-direction: column; gap: 40px; }
.prova__swiper { margin: 0 -16px; overflow: visible; }
.ficha { height: auto; padding: 0 16px; width: 40%; }
.ficha__cartao { height: 100%; min-height: clamp(320px, 27.7604vw, 533px); background: var(--fundo-2); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-144); }
.ficha__texto { color: var(--tinta); }
.ficha__quem { display: flex; align-items: center; gap: 16px; }
.ficha__mini { width: 48px; height: 48px; object-fit: cover; flex: none; }
.ficha__mini--solido { display: block; background: var(--linha); }
.ficha__nome { color: var(--tinta-2); font-weight: 500; line-height: 1.1; margin-bottom: 4px; }
.prova__controles { display: flex; justify-content: space-between; align-items: center; }
.prova__setas { display: flex; gap: 24px; }
.seta { width: 64px; height: 64px; border-radius: 1920px; background: var(--sinal); color: var(--fundo); display: grid; place-items: center; transition: opacity .3s, transform .3s var(--entrada); }
.seta svg { width: 24px; height: 24px; }
.seta:hover { transform: scale(1.06); }
.seta.swiper-button-disabled { opacity: 0.45; cursor: default; transform: none; }
.prova__pontos { display: flex; gap: 16px; width: auto !important; }
.prova__pontos .swiper-pagination-bullet { width: 16px; height: 16px; margin: 0 !important; opacity: 1; background: transparent; border: 1px solid var(--linha); border-radius: 1920px; transition: background .3s; }
.prova__pontos .swiper-pagination-bullet-active { background: var(--tinta); border-color: var(--tinta); }

/* ---------- 09 · quem faz (seção clara) ---------- */
.estudio { background: var(--bone); color: var(--fundo); }
.estudio__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5833vw, 88px); }
.estudio__img { aspect-ratio: 5 / 4; background: var(--fundo); }
.estudio__col { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.estudio__titulo { max-width: 836px; margin-bottom: 24px; }
.estudio__texto { max-width: 742px; color: var(--fundo); }
.estudio__equipe { margin-top: 32px; display: flex; flex-direction: column; gap: 6px; }
.estudio__equipe .hud { color: var(--fundo); }
.estudio .btn { color: var(--fundo); align-self: flex-start; margin-top: 16px; }

/* ---------- 10 · contato ---------- */
.contato { min-height: 49.86vw; display: flex; flex-direction: column; }
.contato__cont { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contato__titulo { max-width: 7.04em; margin-bottom: 56px; }
.contato__grade { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; }
.contato__grade .btn { grid-column: 1 / span 4; justify-self: start; }
.contato__video { grid-column: 10 / span 3; aspect-ratio: 1 / 1.2; background: var(--fundo-2); }

/* ---------- 11 · rodapé ---------- */
.rodape { background: var(--fundo); }
.rodape__cont { border-top: 1px solid var(--linha); padding: 32px 0 48px; }
.rodape__grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 88px var(--col-gap); padding-top: 32px; }
.rodape__titulo { font-size: var(--t-4); font-weight: 500; line-height: 1.1; margin-bottom: 28.8px; }
.rodape__grupo li a { display: inline-block; color: var(--tinta-2); margin-bottom: 16px; transition: color .3s; }
.rodape__grupo li a:hover { color: var(--tinta); }
.rodape__base { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; }
.rodape__assina { color: var(--tinta-2); }

/* ---------- cursor dos trabalhos ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 168px; height: 48px; margin: -24px 0 0 -84px; border-radius: 16000000px; background: var(--sinal); color: var(--fundo); overflow: hidden; display: flex; align-items: center; transform: scale(0); font-weight: 500; }
.cursor__rolo { display: flex; white-space: nowrap; }
.cursor__rolo span { display: block; animation: cursorRolo 10s linear infinite; padding-left: 0; }
@keyframes cursorRolo { from { transform: none; } to { transform: translateX(-100%); } }
@media (hover: none) { .cursor { display: none; } }

/* ---------- telas menores ---------- */
@media (max-width: 900px) {
  .cab, .cab--2 { grid-template-columns: 1fr auto; }
  .obra__rodape { grid-template-columns: 1fr; gap: 12px; }
  .obra__nome, .obra__texto { grid-column: auto; }
  .obra__modulos { max-width: 92%; gap: 8px; }
  .obra__aviso { display: none; }
  .verbo { position: relative; }
  .verbo__grade { grid-template-columns: 1fr; gap: 24px; }
  .verbo__texto, .verbo__midia { grid-column: auto; }
  .verbo__midia { aspect-ratio: 4 / 3; }
  .verbo__pe { grid-template-columns: 1fr; gap: 12px; }
  .cta { min-height: 0; }
  .cta__base { grid-template-columns: 1fr; gap: 32px; }
  .cta__texto, .cta__base .btn { grid-column: auto; justify-self: start; }
  .processo__grade { grid-template-columns: 1fr; gap: 48px; }
  .processo__titulo { position: static; }
  .etapa { width: 100%; }
  .ficha { width: 86%; }
  .estudio__grade { grid-template-columns: 1fr; }
  .contato { min-height: 0; }
  .contato__grade { grid-template-columns: 1fr; gap: 40px; }
  .contato__grade .btn, .contato__video { grid-column: auto; }
  .contato__video { width: 60%; justify-self: end; }
  .rodape__grade { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rodape__base { flex-direction: column; align-items: flex-start; }
  .video-escala { width: calc(100vw - 2 * var(--g)); }
  .video-escala__hud { opacity: calc(1 - var(--k) * 1.6); }
  .video-escala__hud .hud--se { max-width: 70%; white-space: normal; }
  .nav__base { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .video-escala__palco { clip-path: none; }
  .video-escala__hud { inset: 0; }
}
