/* ==========================================================================
   GABRIEL CLOW — portfólio
   Estética: colagem editorial / zine. Papel de jornal, retícula (halftone),
   gravura em tinta preta, raios de sol, rabiscos de spray, estrelas de 4 pontas,
   pontilhado Memphis, xadrez de losangos, órbitas e timeline de edição.
   Paleta: papel creme + jornal + tinta + sol/brasa/ouro.
   ========================================================================== */

:root {
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.22, 1, .36, 1);
  --papel: #ece6d6;
  --papel-claro: #f6f1e4;
  --jornal: #d9d5ca;
  --tinta: #17161a;
  --tinta-2: #2b2926;
  --cinza: #6d685f;
  --sol: #f2ae1c;
  --brasa: #e0761a;
  --ouro: #f8cc63;
  --behance: #0057ff; /* só nos selos do Behance (cor da marca deles) */

  --fonte-titulo: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --fonte-maquina: 'Special Elite', 'Courier New', Courier, monospace;
  --fonte-marcador: 'Permanent Marker', 'Comic Sans MS', cursive;
  --fonte-jornal: 'Old Standard TT', Georgia, 'Times New Roman', serif;

  --margem: clamp(1rem, 3.2vw, 3rem);
  --altura-topo: 84px;

  --recorte-1: polygon(0% 9%, 5% 0%, 21% 5%, 38% 0%, 61% 4%, 80% 0%, 100% 7%, 98% 34%, 100% 63%, 97% 100%, 76% 95%, 53% 100%, 31% 96%, 10% 100%, 0% 92%, 2% 52%);
  --recorte-2: polygon(2% 2%, 24% 6%, 47% 0%, 69% 5%, 91% 0%, 100% 12%, 97% 48%, 100% 88%, 88% 100%, 64% 94%, 41% 100%, 17% 95%, 0% 100%, 3% 61%, 0% 30%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--altura-topo) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte-titulo);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sol); color: var(--tinta); }
:focus-visible { outline: 3px dashed var(--brasa); outline-offset: 4px; }
[hidden] { display: none !important; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.pular {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--sol); color: var(--tinta); padding: .7rem 1.1rem;
  font-weight: 800; text-decoration: none; transition: top .2s;
}
.pular:focus { top: 1rem; }

/* granulação de impressão por cima de tudo */
.grao {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .08 0 0 0 0 .1 .62 0 0 0 -.24'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- texturas reutilizáveis ---------- */
.tinta { filter: url(#f-tinta); }

.titulo {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .82;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.titulo--papel { color: var(--papel-claro); }
.titulo--gigante { font-size: clamp(4.2rem, 17vw, 15rem); }

.kicker {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline;
  margin: 0 0 1rem;
  font-family: var(--fonte-maquina); font-size: .92rem; letter-spacing: .06em;
}
.kicker span:first-child { background: var(--tinta); color: var(--papel-claro); padding: .1em .5em; }
.kicker--papel span:first-child { background: var(--sol); color: var(--tinta); }

/* retícula (halftone) — funciona em imagem, vídeo e gradiente, sem ler pixels */
.ht {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fff;
  filter: contrast(var(--ht-contraste, 16));
  mix-blend-mode: multiply;
  transition: filter .5s ease;
}
.ht > img, .ht > video, .ht > .ht__fonte {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(var(--ht-brilho, 1.08)) contrast(var(--ht-c, 1.15)) blur(.4px);
  transition: filter .5s ease;
}
.ht::after {
  content: ''; position: absolute; inset: -60%; pointer-events: none;
  background: radial-gradient(closest-side, #848484, #fff) 0 0 / var(--ht-ponto, 6px) var(--ht-ponto, 6px);
  transform: rotate(45deg);
  mix-blend-mode: multiply;
  transition: opacity .5s ease;
}
.ht--gradiente .ht__fonte { background: linear-gradient(135deg, #000 0%, #fff 85%); }

.pontilhado {
  background-image: radial-gradient(var(--tinta) 1.6px, transparent 1.9px);
  background-size: 12px 12px;
}
.xadrez {
  height: 30px;
  background: conic-gradient(from 45deg, var(--sol) 25%, var(--tinta) 0 50%, var(--sol) 0 75%, var(--tinta) 0) 0 0 / 22px 30px;
}

.estrela { width: 100%; height: 100%; fill: var(--tinta); overflow: visible; }
[data-estrela="sol"] .estrela { fill: var(--sol); }
[data-estrela] { display: block; animation: girar 40s linear infinite; }

.cruz { position: absolute; width: 34px; height: 34px; }
.cruz::before, .cruz::after { content: ''; position: absolute; background: var(--tinta); }
.cruz::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.cruz::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }

.orbitas { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--tinta); stroke-width: 1.1; opacity: .5; pointer-events: none; }
.orbitas__tracejado { stroke-dasharray: 3 7; }
.orbitas__ponto { fill: var(--tinta); stroke: none; }
.orbitas__ponto--sol { fill: var(--brasa); }
#orbita-texto { stroke: none; }
.orbitas__texto { fill: var(--tinta); stroke: none; font-family: var(--fonte-maquina); font-size: 15px; letter-spacing: 3px; }

/* jornal (colunas de texto ao fundo) */
.jornal {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  columns: 7 150px; column-gap: 18px; column-rule: 1px solid rgba(23, 22, 26, .35);
  padding: calc(var(--altura-topo) + .5rem) 1rem 1rem;
  font-family: var(--fonte-jornal); font-size: 10.5px; line-height: 1.32; text-align: justify; hyphens: auto;
  color: var(--tinta); opacity: .2;
}
.jornal h4 { margin: .2rem 0 .35rem; font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 70%; font-size: 15px; line-height: 1; break-after: avoid; }
.jornal p { margin: 0 0 .7rem; }

/* respingos de tinta */
.respingos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.r-tinta { fill: var(--tinta); }
.r-sol { fill: var(--brasa); }
.r-papel { fill: var(--papel-claro); }
[data-respingos] { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* ---------- rabiscos (spray) ---------- */
[data-rabisco] { position: relative; }
.rabisco {
  position: absolute; pointer-events: none; overflow: visible;
  fill: none; stroke: var(--cor-rabisco, var(--brasa)); stroke-width: var(--traco, 3.5px);
  stroke-linecap: round; stroke-linejoin: round;
  filter: url(#f-spray);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .55s cubic-bezier(.65, 0, .35, 1);
}
.rabisco path { vector-effect: non-scaling-stroke; }
.rabisco--circulo { left: -24%; top: -48%; width: 148%; height: 196%; }
.rabisco--sublinhado { left: -4%; bottom: -.55em; width: 108%; height: .6em; }
.rabisco--seta { width: 90px; height: 90px; }
.rabisco--xis { inset: 0; width: 100%; height: 100%; }

.visivel > .rabisco,
a:hover > .rabisco, a:focus-visible > .rabisco,
button:hover > .rabisco, button:focus-visible > .rabisco,
.ativo > .rabisco, [aria-pressed="true"] > .rabisco { clip-path: inset(0 0 0 0); }

/* pichação (marcador/spray com escorrido) */
.pichacao {
  position: absolute; z-index: 6; pointer-events: none;
  font-family: var(--fonte-marcador); font-weight: 400; line-height: .9;
  color: var(--brasa); text-transform: uppercase; white-space: nowrap;
  filter: url(#f-spray);
}
.escorrido {
  position: absolute; top: 70%; left: var(--x); width: 3px; height: var(--h);
  background: currentColor; border-radius: 0 0 3px 3px; transform-origin: top;
  animation: escorrer 2.6s var(--d, 0s) cubic-bezier(.3, .1, .3, 1) both;
}
.escorrido::after { content: ''; position: absolute; bottom: -3px; left: -2px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* marca-texto (pincel seco amarelo) */
.marca-texto { position: relative; z-index: 0; display: inline-block; }
.marca-texto::before {
  content: ''; position: absolute; z-index: -1;
  left: -.3em; right: -.3em; top: .12em; bottom: .02em;
  background: var(--sol);
  filter: url(#f-pincel);
  transform: rotate(-1.3deg) skewX(-6deg);
}
.marca-texto--grande::before { top: .3em; bottom: .02em; left: -.12em; right: -.18em; }

/* carimbo de status */
.carimbo {
  display: inline-flex; align-items: center; gap: .55em; width: fit-content;
  margin: 0; padding: .55em .95em;
  font-weight: 800; font-stretch: 75%; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brasa);
  border: 3px solid currentColor; outline: 1.5px solid currentColor; outline-offset: 3px;
  transform: rotate(-5deg);
  filter: url(#f-tinta);
}
.carimbo--papel { color: var(--sol); }
.carimbo__ponto { width: .7em; height: .7em; border-radius: 50%; background: currentColor; animation: pulsar 1.8s ease-in-out infinite; }
.carimbo--fechado { color: var(--cinza); }
.carimbo--fechado .carimbo__ponto { animation: none; }

/* ---------- botões ---------- */
.botao {
  --fundo: var(--tinta); --texto: var(--papel-claro); --sombra: var(--sol);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.75em; border: 0; background: none; cursor: pointer;
  font-family: var(--fonte-titulo); font-weight: 800; font-stretch: 78%; font-size: 1.05rem; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--texto);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), color .2s;
}
.botao::before, .botao::after { content: ''; position: absolute; inset: 0; transition: transform .2s, background-color .2s; }
.botao::before { z-index: -1; background: var(--fundo); clip-path: var(--recorte-1); }
.botao::after { z-index: -2; background: var(--sombra); clip-path: var(--recorte-2); transform: translate(6px, 6px); }
.botao:hover { transform: rotate(-2deg) scale(1.03); }
.botao:hover::after { transform: translate(-5px, 7px) rotate(1.5deg); }
.botao:active { transform: translate(3px, 3px); }
.botao:active::after { transform: translate(1px, 1px); }
.botao[disabled] { cursor: progress; opacity: .7; transform: none; }

.botao--sol { --fundo: var(--sol); --texto: var(--tinta); --sombra: var(--tinta); }
.botao--sol:hover { --fundo: var(--ouro); }
.botao--tinta:hover { --fundo: var(--tinta-2); }
.botao--risco { --texto: var(--tinta); }
.botao--risco::before {
  background: transparent; clip-path: none;
  border: 2.5px solid var(--tinta);
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
}
.botao--risco::after { opacity: 0; clip-path: none; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.botao--risco:hover::before { background: var(--sol); }
.botao--pequeno { padding: .75em 1.15em; font-size: .85rem; }
.botao--pequeno::after { transform: translate(4px, 4px); }

/* ---------- topo (papel rasgado + timeline) ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 60; filter: drop-shadow(0 2px 0 rgba(23, 22, 26, .18)); }
.topo__papel {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem var(--margem) 1.25rem;
  background: var(--papel-claro);
}
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinta); }
.logo__clow { font-weight: 900; font-stretch: 62%; font-size: 2.3rem; line-height: .8; letter-spacing: -.01em; filter: url(#f-tinta); }
.logo__meta { display: flex; flex-direction: column; font-family: var(--fonte-maquina); font-size: .66rem; line-height: 1.25; letter-spacing: .08em; }

.nav { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); }
.nav__link {
  font-weight: 800; font-stretch: 75%; font-size: 1.05rem; letter-spacing: .14em;
  text-decoration: none; padding: .35em .1em;
}
.topo__acoes { display: flex; align-items: center; gap: 1.1rem; }
.idiomas { display: flex; gap: .2rem; font-family: var(--fonte-maquina); }
.idioma {
  border: 0; background: none; cursor: pointer; padding: .35em .45em;
  font-family: var(--fonte-maquina); font-size: .9rem; letter-spacing: .06em; color: var(--cinza);
}
.idioma[aria-pressed="true"] { color: var(--tinta); }
.idioma .rabisco--circulo { left: -18%; top: -22%; width: 136%; height: 144%; }

.menu-botao {
  display: none; align-items: center; gap: .55rem;
  border: 0; background: var(--tinta); color: var(--papel-claro); cursor: pointer;
  padding: .6em .85em; clip-path: var(--recorte-2);
  font-weight: 800; font-stretch: 75%; font-size: .85rem; letter-spacing: .14em;
}
.menu-botao__linhas { width: 18px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

.timeline { position: relative; z-index: 1; height: 22px; margin-top: -12px; background: var(--tinta); }
.timeline__regua {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(246, 241, 228, .45) 0 1px, transparent 1px 12px) 0 100% / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(246, 241, 228, .85) 0 1px, transparent 1px 60px) 0 100% / 100% 11px no-repeat;
}
.timeline__cabeca { position: absolute; top: 4px; bottom: -8px; left: 0; width: 2px; background: var(--sol); transform: translateX(var(--x, 0px)); will-change: transform; }
.timeline__cabeca::before { content: ''; position: absolute; top: -4px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--sol); }
.timeline__cabeca--fim .timeline__tc { left: auto; right: 6px; }
.timeline__tc {
  position: absolute; top: 12px; left: 6px; white-space: nowrap;
  font-family: var(--fonte-maquina); font-size: .7rem; color: var(--tinta); background: var(--sol); padding: 0 .35em;
}

.menu-movel {
  position: fixed; inset: 0; z-index: 55; overflow: auto;
  padding: calc(var(--altura-topo) + 2rem) var(--margem) 2rem;
  background: var(--papel-claro);
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
}
.menu-movel__nav { position: relative; z-index: 2; display: flex; flex-direction: column; gap: .4rem; }
.menu-movel__nav a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font-weight: 900; font-stretch: 62%; font-size: clamp(3.4rem, 17vw, 7rem); line-height: .9; text-transform: uppercase; }
.menu-movel__nav small { font-family: var(--fonte-maquina); font-size: 1rem; color: var(--brasa); }
.menu-movel__idiomas { position: relative; z-index: 2; display: flex; gap: .6rem; }
.menu-movel__idiomas .idioma { font-size: 1.3rem; padding: .4em .7em; border: 2px solid var(--tinta); }
.menu-movel__idiomas .idioma[aria-pressed="true"] { background: var(--sol); }

/* ---------- divisores de papel rasgado ---------- */
.rasgo { position: relative; z-index: 4; height: 34px; margin: -30px 0 -4px; }
.rasgo--tinta { background: var(--tinta); }
.rasgo--papel { background: var(--papel); }
.rasgo--quadriculado { background: var(--papel-claro); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--altura-topo) + 1rem) var(--margem) 4.4rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse 55% 40% at 55% 34%, rgba(248, 204, 99, .3), transparent 72%), var(--papel);
}

/* A Criação de Adão em retícula, com a faísca (estrela do sol) entre os dedos */
.hero__criacao { position: relative; width: min(1180px, 100%); margin: 0; --faisca-x: 55.7%; --faisca-y: 57%; }
.hero__maos {
  width: 100%; aspect-ratio: 3.2 / 1; --ht-ponto: 5.5px; --ht-brilho: 1.72; --ht-c: .98; --ht-contraste: 12;
}
/* vinheta branca ANTES da retícula: os pontos diminuem até sumir nas bordas */
.hero__maos::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 68% 86% at 50% 50%, transparent 60%, #fff 100%); }
.hero__maos::after { z-index: 2; }
.hero__maos img { object-position: 50% 55%; }
.hero__orbita {
  position: absolute; left: var(--faisca-x); top: var(--faisca-y); width: 78%; aspect-ratio: 1000 / 320;
  transform: translate(-50%, -50%) rotate(-5deg);
  fill: none; stroke: var(--tinta); stroke-width: 1; opacity: .25; pointer-events: none;
}
.hero__brilho {
  position: absolute; left: var(--faisca-x); top: var(--faisca-y); width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, rgba(242, 174, 28, .6) 0%, rgba(242, 174, 28, .2) 32%, transparent 64%);
}
.hero__faisca {
  position: absolute; left: var(--faisca-x); top: var(--faisca-y); width: clamp(36px, 5.4vw, 74px); aspect-ratio: 1;
  animation: faisca 3.4s ease-in-out infinite;
}
.hero__faisca .estrela { fill: var(--sol); filter: drop-shadow(0 0 8px rgba(242, 174, 28, .9)); }
.hero__credito { position: absolute; right: .6rem; top: .4rem; font-family: var(--fonte-maquina); font-size: .7rem; color: var(--cinza); }

.hero__conteudo { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: clamp(-3.4rem, -3.6vw, -1rem); }
.hero__kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .8rem; align-items: center; margin: 0 0 .7rem; font-family: var(--fonte-maquina); font-size: .95rem; }
.hero__kicker > span:first-child { background: var(--tinta); color: var(--papel-claro); padding: .1em .5em; }
/* faixa de papel atrás dos cargos: a retícula das mãos não passa por cima do texto */
.hero__kicker [data-funcao] { background: var(--papel); padding: .1em .4em; box-decoration-break: clone; }
.cargo { white-space: nowrap; }
.hero__nome { margin: 0; font-weight: 900; font-stretch: 62%; font-size: clamp(3.8rem, 12.4vw, 10.6rem); line-height: .8; letter-spacing: -.01em; }
.hero__ola { margin: 1.1rem 0 0; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.32rem); }
.hero__desde { font-family: var(--fonte-maquina); font-weight: 400; color: var(--cinza); white-space: nowrap; }
.hero__desde::before { content: '· '; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 1.5rem; margin-top: 1.9rem; }
.botao--grande { min-width: 16.5rem; padding: 1.2em 2.1em; font-size: clamp(1.05rem, 1.45vw, 1.28rem); }
.botao--grande::after { transform: translate(7px, 7px); }
.botao__icone { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.hero__carimbo { margin-top: 1.7rem; transform: rotate(-3deg); font-size: .8rem; }
.hero__rolar {
  position: absolute; left: 50%; bottom: 2.6rem; transform: translateX(-50%);
  font-family: var(--fonte-maquina); font-size: .9rem; text-decoration: none; letter-spacing: .1em;
  animation: flutuar 2.2s ease-in-out infinite;
}

/* raios de sol (usados no "sobre") */
.sol-caixa { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.sol { width: 100%; height: 100%; overflow: visible; }
.sol__raios { filter: url(#f-pincel); transform-origin: center; animation: girar 160s linear infinite; }
.raio-a { fill: var(--sol); }
.raio-b { fill: var(--brasa); }
.raio-c { fill: var(--ouro); }
.sol__halo { fill: var(--ouro); opacity: .95; filter: url(#f-aspero); }

/* ---------- CLIENTES ---------- */
.clientes { position: relative; background: var(--tinta); color: var(--papel-claro); padding: 4.5rem 0 4rem; overflow: hidden; }
.clientes__xadrez { position: absolute; left: 0; right: 0; top: 0; height: 22px; opacity: .95; }
.clientes__xadrez--baixo { top: auto; bottom: 0; }
.clientes__cabeca { position: relative; display: flex; justify-content: center; margin: 1.2rem 0 2.6rem; }
.clientes__nota { position: absolute; right: 18%; top: -.4rem; color: var(--sol); font-size: clamp(1.3rem, 2.6vw, 2.2rem); transform: rotate(-9deg); }
.faixa { overflow: hidden; border-block: 2px solid rgba(246, 241, 228, .25); padding: 1.1rem 0; }
.faixa__trilho { display: flex; width: max-content; animation: faixa 48s linear infinite; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa__item { display: inline-flex; align-items: center; gap: 1.3rem; padding: 0 1.3rem; white-space: nowrap; font-weight: 900; font-stretch: 62%; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; text-transform: uppercase; }
.faixa__item:nth-child(even) .faixa__nome { color: transparent; -webkit-text-stroke: 1.5px var(--papel-claro); }
.faixa__item .estrela { width: .7em; height: .7em; fill: var(--sol); flex: none; }

/* ---------- TRABALHOS ---------- */
.trabalhos { position: relative; padding: 5.5rem var(--margem) 6rem; background: var(--papel); overflow: hidden; }
.trabalhos > * { position: relative; z-index: 2; }
.trabalhos__cabeca {
  position: relative; max-width: 1280px; margin: 0 auto 2.4rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 3rem;
}

/* placar de views: recorte de jornal colado com fita, número em sol */
.placar {
  position: relative; justify-self: end; width: min(100%, 23rem); margin: 0 .8rem .4rem 0; padding: 1.5rem 1.8rem 1.3rem;
  background: var(--tinta); color: var(--papel-claro); transform: rotate(-2.2deg); box-shadow: 7px 8px 0 var(--sol);
}
.placar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(242, 174, 28, .4) 1.3px, transparent 1.7px); background-size: 8px 8px;
  mask-image: linear-gradient(200deg, #000, transparent 45%);
}
.placar__fita { position: absolute; left: 50%; top: -12px; width: 96px; height: 24px; background: rgba(248, 204, 99, .85); transform: translateX(-50%) rotate(4deg); }
.placar__kicker { display: flex; align-items: center; gap: .55rem; margin: 0; font-family: var(--fonte-maquina); font-size: .85rem; letter-spacing: .1em; color: var(--ouro); }
.placar__estrela { position: relative; display: inline-block; width: 16px; height: 22px; flex: none; }
.placar__numero {
  margin: .25rem 0 0; font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 62%;
  font-size: clamp(4.4rem, 8.6vw, 7.4rem); line-height: .85; color: var(--sol); font-variant-numeric: tabular-nums;
}
.placar__detalhe { position: relative; z-index: 1; margin: .7rem 0 0; font-family: var(--fonte-maquina); font-size: .88rem; line-height: 1.4; }
/* milhões gerados: adesivo de sol colado na base do placar, vazando pelas bordas */
.placar__ganhos {
  position: relative; z-index: 1; margin: 1.1rem -2.6rem -2.2rem -1.2rem; padding: .85rem 1.1rem .9rem;
  background: var(--sol); color: var(--tinta); transform: rotate(1.6deg); box-shadow: 5px 6px 0 var(--tinta);
}
.placar__ganhos-titulo { margin: 0; font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 62%; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: .9; }
.placar__ganhos-texto { margin: .35rem 0 0; font-family: var(--fonte-maquina); font-size: .85rem; line-height: 1.35; }
.trabalhos__cabeca .titulo { display: inline-block; vertical-align: bottom; }
.trabalhos__nota { position: relative; display: inline-block; vertical-align: top; margin: .4rem 0 0 1.4rem; font-size: clamp(1.4rem, 3vw, 2.6rem); transform: rotate(-8deg); }
.trabalhos__estrela { position: absolute; right: 2%; top: 1rem; width: 74px; height: 74px; }

.filtros, .subfiltros { max-width: 1280px; margin: 0 auto 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.subfiltros { margin-bottom: 2.6rem; gap: .5rem 1.2rem; }
.filtro {
  position: relative; isolation: isolate; cursor: pointer; border: 0; background: none;
  padding: .8em 1.15em; font-weight: 800; font-stretch: 75%; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
}
.filtro::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border: 2px solid var(--tinta); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transition: background .2s, transform .2s;
}
.filtro sup { font-family: var(--fonte-maquina); font-size: .7em; margin-left: .25em; }
.filtro:hover::before { background: var(--ouro); transform: rotate(-1.5deg); }
.filtro[aria-pressed="true"] { color: var(--papel-claro); transform: rotate(-1.5deg); }
.filtro[aria-pressed="true"]::before { background: var(--tinta); border-radius: 0; clip-path: var(--recorte-1); box-shadow: none; }
.filtro[aria-pressed="true"]::after { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--sol); clip-path: var(--recorte-2); transform: translate(5px, 5px); }

.subfiltro {
  position: relative; cursor: pointer; border: 0; background: none; padding: .3em .1em;
  font-family: var(--fonte-maquina); font-size: .95rem; letter-spacing: .03em; color: var(--tinta-2);
}
.subfiltro[aria-pressed="true"] { color: var(--tinta); }

.grade {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1280px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 3.2rem 2.4rem;
}
.peca { --giro: 0deg; transform: rotate(var(--giro)); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.peca:hover, .peca:focus-within { transform: rotate(0deg) translateY(-4px); z-index: 3; }
.peca__botao { display: flex; flex-direction: column; gap: .7rem; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.peca__imagem { position: relative; display: block; padding: 7px; background: var(--papel-claro); box-shadow: 3px 4px 0 rgba(23, 22, 26, .22); }
/* Retícula suave nas miniaturas: as sombras sobem antes dos pontos (nada de preto chapado)
   e a cor original nunca aparece — no hover entra um tom de sol, não a foto colorida. */
.peca__imagem .ht { display: block; aspect-ratio: 16 / 9; --ht-ponto: 4.5px; --ht-contraste: 3.4; }
.peca__imagem .ht > img { filter: grayscale(1) contrast(.6) brightness(1.42); }
.peca__imagem::after {
  content: ''; position: absolute; inset: 7px; z-index: 1; pointer-events: none;
  background: var(--sol); mix-blend-mode: multiply; opacity: 0; transition: opacity .4s ease;
}
.peca:hover .ht, .peca:focus-within .ht { filter: contrast(2.4); }
.peca:hover .ht > img, .peca:focus-within .ht > img { filter: grayscale(1) contrast(.68) brightness(1.48); }
.peca:hover .ht::after, .peca:focus-within .ht::after { opacity: .6; }
.peca:hover .peca__imagem::after, .peca:focus-within .peca__imagem::after { opacity: .5; }
.peca__fita {
  position: absolute; z-index: 3; top: -13px; left: 50%; width: 92px; height: 26px;
  background: rgba(248, 204, 99, .8); transform: translateX(-50%) rotate(var(--giro-fita, -3deg));
  clip-path: polygon(0 14%, 5% 0, 95% 5%, 100% 20%, 96% 50%, 100% 84%, 94% 100%, 6% 95%, 0 80%, 4% 50%);
}
.peca__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--tinta); --traco: 4px; --cor-rabisco: var(--sol);
}
.peca__play::before { content: ''; position: absolute; left: 39%; top: 31%; border-left: 19px solid var(--papel-claro); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.peca__play .rabisco--circulo { left: -40%; top: -34%; width: 180%; height: 168%; }
.peca:hover .peca__play > .rabisco, .peca:focus-within .peca__play > .rabisco { clip-path: inset(0 0 0 0); }
.peca__tc { position: absolute; z-index: 2; left: 14px; bottom: 14px; font-family: var(--fonte-maquina); font-size: .78rem; background: var(--tinta); color: var(--papel-claro); padding: .1em .5em; }
.peca__origem {
  position: absolute; z-index: 2; right: 14px; top: 14px;
  font-weight: 800; font-stretch: 80%; font-size: .72rem; letter-spacing: .12em;
  background: var(--papel-claro); color: var(--tinta); padding: .3em .6em; border: 1.5px solid var(--tinta);
}
.peca__origem--behance { background: var(--behance); color: #fff; border-color: var(--behance); font-size: .85rem; padding: .35em .7em; }
.peca__via { color: var(--behance); font-weight: 700; }
.peca__origem--behance b { font-weight: 900; margin-right: .3em; }
.peca__behance { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tinta); }
.peca__behance-logo { position: absolute; left: 9%; top: 50%; transform: translateY(-50%); font-weight: 900; font-stretch: 100%; font-size: clamp(3rem, 7vw, 5.5rem); color: var(--papel-claro); letter-spacing: -.04em; line-height: 1; }
.peca__behance .pontilhado { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(var(--sol) 1.6px, transparent 1.9px); }
.peca__legenda { display: flex; gap: .7rem; align-items: baseline; font-family: var(--fonte-maquina); font-size: .82rem; }
.peca__cat { color: var(--brasa); }
.peca__titulo { font-weight: 800; font-stretch: 85%; font-size: 1.12rem; line-height: 1.15; }
.peca__cliente { display: flex; align-items: center; gap: .65rem; margin-top: .15rem; }
.peca__avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--tinta); box-shadow: 2px 3px 0 var(--sol); filter: grayscale(1) contrast(1.08); background: var(--jornal);
}
.peca__cliente-texto { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-width: 0; }
.peca__cliente-nome { font-family: var(--fonte-maquina); font-size: .85rem; color: var(--tinta-2); }
/* inscritos em destaque: etiqueta de sol, condensada e em caixa alta */
.peca__inscritos {
  padding: .1em .5em; background: var(--sol); color: var(--tinta); transform: rotate(-1.5deg);
  font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 70%; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--tinta);
}
.grade__vazio { text-align: center; font-family: var(--fonte-maquina); }
.grade__mais { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- SOBRE (papel quadriculado) ---------- */
.sobre {
  position: relative; overflow: hidden;
  padding: 5.5rem var(--margem) 6.5rem;
  background-color: var(--papel-claro);
  background-image:
    linear-gradient(rgba(23, 22, 26, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 26, .085) 1px, transparent 1px);
  background-size: 28px 28px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.sobre > * { position: relative; z-index: 2; }
.sobre__retrato { position: relative; min-height: min(560px, 80vw); }
.sobre__sol { width: 104%; }

/* átomo em retícula no miolo do sol: órbitas em elipse e elétrons girando */
.sobre__sol .sol__halo { display: none; }
.atomo { position: absolute; z-index: 3; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.atomo__orbita {
  position: absolute; left: 0; top: calc(50% - var(--altura, 30%) / 2); width: 100%; height: var(--altura, 30%);
  transform: rotate(var(--giro));
}
.atomo__orbita::before {
  content: ''; position: absolute; inset: 0; border: 2px solid var(--tinta); border-radius: 50%; opacity: .88;
  mask: conic-gradient(from var(--inicio, 0deg), #000 var(--traco), transparent 0); /* --traco: traço da caneta na entrada */
}
/* --x0/--y0: ponto da órbita onde o elétron fica parado (movimento reduzido) */
.atomo__orbita--1 { --giro: -16deg; --t: 3.2s; --fase: 0s; --x0: 40%; --y0: -30%; --atraso: .25s; --atraso-e: 1.35s; --inicio: 200deg; }
.atomo__orbita--2 { --giro: 18deg; --t: 4.1s; --fase: -2.3s; --x0: -42%; --y0: 27%; --atraso: .4s; --atraso-e: 1.45s; --inicio: 20deg; }
.atomo__orbita--3 { --giro: 94deg; --altura: 26%; --t: 3.7s; --fase: -1.1s; --x0: 35%; --y0: 36%; --atraso: .55s; --atraso-e: 1.55s; --inicio: 110deg; }
/* x e y em ondas defasadas de 1/4 de volta = elipse; as % são do tamanho da órbita */
.atomo__x, .atomo__y { position: absolute; inset: 0; }
.atomo__x { transform: translateX(var(--x0)); animation: atomo-x var(--t) cubic-bezier(.37, 0, .63, 1) var(--fase) infinite alternate; }
.atomo__y { transform: translateY(var(--y0)); animation: atomo-y var(--t) cubic-bezier(.37, 0, .63, 1) calc(var(--fase) - var(--t) / 2) infinite alternate; }
@keyframes atomo-x { from { transform: translateX(-50%); } to { transform: translateX(50%); } }
@keyframes atomo-y { from { transform: translateY(-50%); } to { transform: translateY(50%); } }

/* esferas: cor base com brilho + retícula multiplicada por cima (sombra em pontos) */
.atomo__bola {
  position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 32% 28%, var(--papel-claro) 0 9%, var(--cor) 42%);
}
.atomo__bola > .ht { position: absolute; inset: 0; border-radius: 50%; --ht-ponto: 6px; --ht-contraste: 9; --ht-brilho: 1; }
.atomo__bola .ht__fonte { background: radial-gradient(circle at 34% 30%, #fff 0 12%, #a2a2a2 42%, #333 86%, #151515 100%); }
.atomo__nucleo { position: absolute; z-index: 2; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.atomo__bola--a { --cor: var(--jornal); width: 56%; left: 2%; top: 22%; z-index: 3; --atraso: .95s; }
.atomo__bola--b { --cor: var(--brasa); width: 50%; left: 44%; top: 4%; z-index: 1; --atraso: .7s; }
.atomo__bola--c { --cor: var(--brasa); width: 50%; left: 40%; top: 46%; z-index: 2; --atraso: .82s; }
.atomo__bola--eletron { --cor: var(--sol); left: 50%; top: 50%; width: 9%; margin: -4.5% 0 0 -4.5%; rotate: calc(var(--giro) * -1); --atraso: var(--atraso-e); }
.atomo__bola--eletron > .ht { --ht-ponto: 4px; }
.sobre__anos {
  position: absolute; z-index: 5; left: 0; bottom: 6%;
  display: flex; flex-direction: column; padding: .8rem 1rem;
  background: var(--tinta); color: var(--papel-claro); transform: rotate(-4deg);
  font-family: var(--fonte-maquina); font-size: .85rem; text-transform: uppercase;
}
.sobre__anos strong { font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 62%; font-size: 4.6rem; line-height: .85; color: var(--sol); }
.sobre__nota { right: 0; top: 4%; font-size: clamp(1.6rem, 3vw, 2.6rem); transform: rotate(8deg); }
.sobre__seta { position: absolute; z-index: 5; right: 16%; top: 13%; width: 90px; height: 90px; transform: rotate(200deg) scaleX(-1); --traco: 4px; }
.sobre__seta .rabisco { left: 0; top: 0; width: 100%; height: 100%; }
.sobre__estrela { position: absolute; z-index: 5; left: 8%; top: 8%; width: 70px; height: 100px; }

.artigo { max-width: 680px; }
.artigo__assinatura { margin: 1rem 0 1.6rem; font-family: var(--fonte-maquina); font-size: .92rem; border-block: 1.5px solid var(--tinta); padding: .5rem 0; }
.artigo__texto { columns: 2 250px; column-gap: 2rem; column-rule: 1px solid rgba(23, 22, 26, .3); font-family: var(--fonte-jornal); font-size: 1.08rem; line-height: 1.6; text-align: justify; hyphens: auto; }
.artigo__texto p { margin: 0 0 1rem; }
.artigo__texto p:first-child::first-letter { float: left; font-family: var(--fonte-titulo); font-weight: 900; font-stretch: 62%; font-size: 4.6em; line-height: .78; margin: .06em .1em 0 0; color: var(--brasa); }
.artigo__citacao { position: relative; margin: 1.6rem 0 2rem; padding: 0 0 0 1.3rem; border-left: 5px solid var(--sol); }
.artigo__citacao p { margin: 0; font-family: var(--fonte-marcador); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; color: var(--tinta); }
.artigo__sub { margin: 0 0 1rem; font-weight: 800; font-stretch: 75%; letter-spacing: .14em; font-size: .95rem; }
.recortes-texto { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem .6rem; }
.recortes-texto + .artigo__sub { margin-top: 1.8rem; }
.recortes-texto li { padding: .45em .7em; transform: rotate(var(--giro, 0deg)); font-size: 1rem; line-height: 1; box-shadow: 2px 2px 0 rgba(23, 22, 26, .15); }
.recortes-texto li:nth-child(4n+1) { background: var(--tinta); color: var(--papel-claro); font-weight: 900; font-stretch: 70%; text-transform: uppercase; }
.recortes-texto li:nth-child(4n+2) { background: var(--ouro); font-family: var(--fonte-maquina); }
.recortes-texto li:nth-child(4n+3) { background: var(--papel); border: 1.5px solid var(--tinta); font-family: var(--fonte-jornal); font-style: italic; font-weight: 700; }
.recortes-texto li:nth-child(4n) { background: var(--brasa); color: var(--tinta); font-family: var(--fonte-marcador); }

/* ---------- CONTATO (céu estrelado) ---------- */
.contato { position: relative; overflow: hidden; padding: 5.5rem var(--margem) 6rem; background: var(--tinta); color: var(--papel-claro); }
.contato > * { position: relative; z-index: 2; }
.contato > .contato__estrelas { position: absolute; z-index: 0; opacity: .85; }
.contato__lua {
  position: absolute !important; z-index: 1 !important; right: 7%; top: 3.5rem; width: clamp(80px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, var(--ouro), var(--sol) 55%, var(--brasa));
}
.contato__lua::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(rgba(23, 22, 26, .35) 1.3px, transparent 1.6px); background-size: 8px 8px; mask-image: linear-gradient(135deg, transparent 35%, #000); }
.contato__cabeca { position: relative; max-width: 1280px; margin: 0 auto 3rem; }
.contato__pichacao { left: clamp(10rem, 48vw, 40rem); top: 45%; color: var(--sol); font-size: clamp(2rem, 5.2vw, 4.8rem); transform: rotate(-10deg); }
.contato__cabeca .carimbo { margin-top: 1.6rem; }

.contato__corpo { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.carta {
  position: relative; padding: 2.4rem clamp(1.4rem, 3vw, 2.6rem) 2rem;
  background: var(--papel-claro); color: var(--tinta);
  transform: rotate(-.7deg);
  box-shadow: 8px 9px 0 var(--sol);
}
.carta__titulo { margin: 0 0 1.4rem; font-weight: 900; font-stretch: 66%; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: .95; }
.campo { position: relative; display: flex; flex-direction: column; margin-bottom: 1.3rem; }
.campo label { font-family: var(--fonte-maquina); font-size: .88rem; letter-spacing: .05em; margin-bottom: .3rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--tinta); border-radius: 0;
  background: transparent; color: var(--tinta);
  font-family: var(--fonte-titulo); font-size: 1.05rem; padding: .55em .1em; outline: none;
  transition: background .2s, border-color .2s;
}
.campo select {
  appearance: none; cursor: pointer; padding-right: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%2317161a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") right .3rem center / 16px no-repeat;
}
.campo textarea {
  resize: vertical; min-height: 9rem; line-height: 1.75rem;
  background-image: repeating-linear-gradient(transparent 0 calc(1.75rem - 1px), rgba(23, 22, 26, .16) calc(1.75rem - 1px) 1.75rem);
  background-attachment: local;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--brasa); background-color: rgba(248, 204, 99, .22); }
.campo--erro input, .campo--erro textarea { border-color: var(--brasa); }
.campo__erro { min-height: 1.2em; font-family: var(--fonte-marcador); font-size: .95rem; color: var(--brasa); }
.campo--captcha { min-height: 65px; }
.campo__opcional { font-size: .9em; color: var(--cinza); letter-spacing: 0; }
.carta__linha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2rem; }
.campo__rodape { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .3rem; }
.campo__aviso { font-family: var(--fonte-maquina); font-size: .75rem; color: var(--cinza); transition: color .2s ease; }
.campo__aviso--ok { color: var(--tinta); }
.campo__aviso--ok::before { content: '✓ '; color: var(--brasa); font-weight: 700; }
.campo__dica { align-self: flex-end; font-family: var(--fonte-maquina); font-size: .75rem; color: var(--cinza); }
.pote { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.carta__rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.carta__privacidade { margin: 0; font-family: var(--fonte-maquina); font-size: .78rem; color: var(--cinza); max-width: 26ch; }
.carta__status { margin: 1.2rem 0 0; min-height: 1.4em; font-family: var(--fonte-marcador); font-size: 1.1rem; }
.carta__status--ok { color: var(--tinta); background: var(--sol); padding: .4em .7em; display: inline-block; transform: rotate(-1deg); }
.carta__status--erro { color: var(--brasa); }

.redes { display: flex; flex-direction: column; gap: 1.4rem; }
.redes__titulo { margin: 0; font-family: var(--fonte-marcador); font-size: 1.5rem; color: var(--sol); transform: rotate(-3deg); }
.rede {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  padding: 1.2rem 1.3rem; text-decoration: none;
  background: var(--papel-claro); color: var(--tinta);
  transform: rotate(var(--giro, -1.5deg));
  transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), background .2s;
}
.rede:nth-of-type(2) { --giro: 1.8deg; }
.rede svg { grid-row: span 2; width: 40px; height: 40px; fill: var(--tinta); }
.rede__nome { font-weight: 900; font-stretch: 70%; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.rede__detalhe { font-family: var(--fonte-maquina); font-size: .9rem; }
.rede:hover, .rede:focus-visible { background: var(--sol); transform: rotate(0deg) translate(-4px, -4px); box-shadow: 6px 6px 0 var(--papel-claro); }

/* ---------- RODAPÉ (timeline) ---------- */
.rodape { position: relative; background: var(--tinta); color: var(--papel-claro); padding: 1.6rem var(--margem) 1.6rem; border-top: 2px solid rgba(246, 241, 228, .2); }
.rodape__timeline { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px 0; overflow: hidden; }
.rodape__trilha { display: flex; align-items: stretch; height: 34px; gap: 6px; }
.rodape__rotulo { flex: none; width: 34px; display: grid; place-items: center; font-family: var(--fonte-maquina); font-size: .75rem; background: var(--tinta-2); }
.rodape__clipes { flex: 1; display: flex; gap: 3px; min-width: 0; }
.rodape__clipe { flex: var(--peso, 1); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 .5rem; display: flex; align-items: center; font-family: var(--fonte-maquina); font-size: .68rem; color: var(--tinta); background: var(--cor, var(--sol)); border-radius: 3px; }
.rodape__onda { flex: 1; min-width: 0; }
.rodape__onda svg { width: 100%; height: 100%; fill: var(--ouro); opacity: .8; }
.rodape__cabeca { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--sol); animation: cabeca 24s linear infinite; }
.rodape__linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; margin-top: 1.2rem; font-family: var(--fonte-maquina); font-size: .85rem; }
.rodape__linha p { margin: 0; }
.rodape__fim { color: var(--sol); letter-spacing: .14em; }
.rodape__topo { text-decoration: none; border-bottom: 1.5px solid currentColor; }
.rodape__topo:hover { color: var(--sol); }

/* ---------- MODAL ---------- */
.modal { width: min(1240px, 94vw); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--tinta); overflow: visible; }
.modal::backdrop { background: rgba(23, 22, 26, .93); }
.modal__conteudo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 1.4rem; align-items: start; }
.modal__video { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 8px 8px 0 var(--sol); }
.modal__video--vertical { aspect-ratio: 9 / 16; max-height: 86vh; width: auto; justify-self: center; }
.modal__video--behance { aspect-ratio: auto; height: min(78vh, 720px); background: var(--papel-claro); }
.modal__video iframe, .modal__video video { width: 100%; height: 100%; border: 0; background: #000; }
.modal__ficha { position: relative; padding: 1.6rem 1.4rem; background: var(--papel-claro); transform: rotate(1deg); max-height: 86vh; overflow: auto; }
.modal__origem { display: inline-flex; gap: .4em; align-items: center; margin: 0 0 .8rem; padding: .35em .7em; background: var(--tinta); color: var(--papel-claro); font-weight: 800; font-stretch: 80%; font-size: .8rem; letter-spacing: .14em; }
.modal__origem--behance { background: var(--behance); color: #fff; font-size: .95rem; }
.modal__coluna { display: flex; flex-direction: column; min-width: 0; }
.modal__fonte {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem;
  padding: .7rem .9rem; background: var(--papel-claro); color: var(--tinta);
  border-bottom: 4px solid var(--behance);
}
.selo-behance {
  flex: none; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 9px;
  background: var(--behance); color: #fff; font-weight: 900; font-stretch: 100%; font-size: 1.2rem; letter-spacing: -.04em;
}
.modal__fonte-texto { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.modal__fonte-texto strong { font-weight: 900; font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; }
#modal-fonte-titulo { font-family: var(--fonte-maquina); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal__fonte-link {
  flex: none; padding: .7em 1.1em; background: var(--behance); color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: 80%; font-size: .85rem; letter-spacing: .1em;
}
.modal__fonte-link:hover, .modal__fonte-link:focus-visible { background: var(--tinta); }
.modal__categoria { margin: 0 0 .4rem; font-family: var(--fonte-maquina); color: var(--brasa); font-size: .9rem; }
.modal__titulo { margin: 0 0 1rem; font-weight: 900; font-stretch: 70%; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; text-transform: uppercase; }
.modal__dados { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: 0 0 1rem; font-size: .92rem; }
.modal__dados dt { font-family: var(--fonte-maquina); font-size: .78rem; padding-top: .15em; }
.modal__dados dd { margin: 0; font-weight: 700; }
.modal__descricao { margin: 0 0 1rem; font-family: var(--fonte-jornal); font-size: 1.02rem; line-height: 1.5; }
.modal__aviso { margin: 0 0 1rem; padding: .6rem .8rem; border: 1.5px dashed var(--tinta); font-family: var(--fonte-maquina); font-size: .82rem; }
.modal__link { font-weight: 800; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; }
.modal__fechar { position: absolute; z-index: 5; right: -14px; top: -18px; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--sol); cursor: pointer; --cor-rabisco: var(--tinta); --traco: 5px; }
.modal__fechar span { position: absolute; inset: 14px; }
.modal__fechar .rabisco { clip-path: inset(0 0 0 0); }
.modal__fechar:hover { transform: rotate(90deg); transition: transform .3s; }

/* aviso flutuante */
.aviso {
  position: fixed; z-index: 95; left: 50%; bottom: 1.5rem; transform: translate(-50%, 160%) rotate(-2deg);
  padding: .7rem 1.2rem; background: var(--sol); color: var(--tinta);
  font-family: var(--fonte-marcador); font-size: 1.2rem; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.aviso--visivel { transform: translate(-50%, 0) rotate(-2deg); }

/* respingo ao clicar */
.splat { position: absolute; z-index: 80; width: 90px; height: 90px; pointer-events: none; transform: translate(-50%, -50%); animation: splat 1.8s ease-out forwards; }
.splat circle { fill: var(--brasa); }

/* ---------- contagem de película ---------- */
.contagem { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: var(--tinta); animation: sumir .45s 1.15s forwards; }
.ja-viu .contagem { display: none; }
.contagem__circulo { position: relative; width: min(56vw, 260px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--papel-claro); display: grid; place-items: center; overflow: hidden; }
.contagem__cruz::before, .contagem__cruz::after { content: ''; position: absolute; background: rgba(246, 241, 228, .5); }
.contagem__cruz::before { left: 50%; top: 0; bottom: 0; width: 2px; }
.contagem__cruz::after { top: 50%; left: 0; right: 0; height: 2px; }
.contagem__varredura { position: absolute; inset: 0; background: conic-gradient(rgba(242, 174, 28, .55) 0 25%, transparent 25%); animation: girar .38s linear 3; }
.contagem__numero { position: relative; font-weight: 900; font-stretch: 62%; font-size: min(36vw, 170px); line-height: 1; color: var(--papel-claro); }

/* ---------- revelação ao rolar ---------- */

/* ================= MOVIMENTO =================
   Os estados "antes" só valem com html.movimento (o JS só põe a classe sem "reduzir movimento"). */

/* recorte de papel: os cards caem, giram e assentam com mola, em cascata por coluna;
   a miniatura "imprime" (a retícula escurece aos poucos) */
.movimento .revelar:not(.visivel) { opacity: 0; }
.movimento .revelar.visivel { animation: papel-entra .9s var(--mola) calc(var(--ordem, 0) * 90ms) backwards; }
.movimento .peca.visivel .peca__imagem .ht > img { animation: imprimir-miniatura 1.4s ease-out calc(var(--ordem, 0) * 90ms + .2s) backwards; }
@keyframes papel-entra { from { opacity: 0; transform: translateY(48px) rotate(calc(var(--giro, 0deg) + 4deg)) scale(.92); } }
@keyframes imprimir-miniatura { from { filter: grayscale(1) contrast(.6) brightness(3.2); } }

/* carimbo: títulos e selos batem na página */
.titulo[data-entrada="carimbo"] { transform-origin: 18% 60%; }
.movimento [data-entrada="carimbo"]:not(.visivel) { opacity: 0; }
.movimento [data-entrada="carimbo"].visivel { animation: carimbar .75s var(--mola) backwards; }
@keyframes carimbar { 0% { opacity: 0; scale: 1.45; rotate: -5deg; } 40% { opacity: 1; } }

/* spray: a pichação é "pintada" da esquerda para a direita e só então escorre */
.movimento [data-entrada="spray"]:not(.visivel) { opacity: 0; } /* clip-path aqui faria o IntersectionObserver achar que está invisível */
.movimento [data-entrada="spray"]:not(.visivel) .escorrido { animation: none; }
.movimento [data-entrada="spray"].visivel { animation: spray 1s cubic-bezier(.5, 0, .2, 1) .15s backwards; }
@keyframes spray { from { clip-path: inset(-30% 100% -300% -10%); } to { clip-path: inset(-30% -10% -300% -10%); } }

/* átomo: quando o "sobre" aparece, os raios explodem, as órbitas se desenham, o núcleo salta
   com mola e a retícula imprime; por último entram os elétrons, o selo, a estrela e o "that's me" */
@property --traco { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.movimento .sobre__retrato:not(.visivel) :is(.atomo__orbita, .atomo__bola, .sobre__estrela, .sobre__anos, .sobre__nota, .sobre__seta),
.movimento .sobre__retrato:not(.visivel) .sobre__sol > .sol { opacity: 0; }
.movimento .sobre__retrato.visivel .sobre__sol > .sol { animation: raios-explodem 1.6s var(--suave) backwards; }
.movimento .sobre__retrato.visivel .atomo__orbita { animation: orbita-entra 1.2s var(--mola) var(--atraso) backwards; }
.movimento .sobre__retrato.visivel .atomo__orbita::before { animation: orbita-traco 1.3s cubic-bezier(.65, 0, .35, 1) var(--atraso) backwards; }
.movimento .sobre__retrato.visivel .atomo__bola {
  animation: bola-entra .85s var(--mola) var(--atraso) backwards, flutuar-gravidade var(--deriva, 7s) ease-in-out var(--deriva-atraso, 0s) infinite;
}
/* cada bolinha num ritmo e numa fase, para nunca andarem juntas */
.atomo__bola--a { --deriva: 7.6s; --deriva-atraso: -1.3s; }
.atomo__bola--b { --deriva: 6.4s; --deriva-atraso: -3.1s; }
.atomo__bola--c { --deriva: 8.3s; --deriva-atraso: -5.2s; }
.atomo__orbita--1 .atomo__bola--eletron { --deriva: 5.2s; --deriva-atraso: -0.7s; }
.atomo__orbita--2 .atomo__bola--eletron { --deriva: 6.1s; --deriva-atraso: -2.4s; }
.atomo__orbita--3 .atomo__bola--eletron { --deriva: 5.7s; --deriva-atraso: -4.1s; }
.movimento .sobre__retrato.visivel .atomo__bola .ht__fonte { animation: imprimir 1.6s ease-out var(--atraso) backwards; }
.movimento .sobre__retrato.visivel .sobre__estrela { animation: estrela-gira 1s var(--mola) .5s backwards; }
.movimento .sobre__retrato.visivel .sobre__anos { animation: selo-cola .7s var(--mola) 1.15s backwards; }
.movimento .sobre__retrato.visivel .sobre__nota { animation: spray 1s cubic-bezier(.5, 0, .2, 1) 1.7s backwards; }
.movimento .sobre__retrato.visivel .sobre__seta { animation: aparecer .5s ease 2.1s backwards; }
@keyframes raios-explodem { from { opacity: 0; scale: .15; rotate: -60deg; } }
@keyframes orbita-entra { from { opacity: 0; scale: .3; rotate: -75deg; } }
@keyframes orbita-traco { from { --traco: 0deg; } }
@keyframes bola-entra { from { opacity: 0; scale: 0; } }
@keyframes flutuar-gravidade {
  0%, 100% { translate: 0 0; }
  22% { translate: 7% -10%; }
  46% { translate: -4% -15%; }
  68% { translate: -9% -5%; }
  86% { translate: 3% 5%; }
}
@keyframes imprimir { from { filter: grayscale(1) brightness(3.4) contrast(1.15) blur(.4px); } }
@keyframes estrela-gira { from { opacity: 0; scale: 0; rotate: -200deg; } }
@keyframes selo-cola { from { opacity: 0; scale: 1.6; } }
@keyframes aparecer { from { opacity: 0; } }

/* ---------- animações ---------- */
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes faisca { 0%, 100% { transform: translate(-50%, -50%) scale(.82) rotate(0deg); } 50% { transform: translate(-50%, -50%) scale(1.12) rotate(45deg); } }
@keyframes pulsar { 50% { opacity: .35; transform: scale(.75); } }
@keyframes flutuar { 50% { transform: translate(-50%, 7px); } }
@keyframes faixa { to { transform: translateX(-50%); } }
@keyframes escorrer { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cabeca { from { left: 0; } to { left: 100%; } }
@keyframes splat { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); } }
@keyframes sumir { to { opacity: 0; visibility: hidden; } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  :root { --altura-topo: 76px; }
  .nav, .topo__acoes .idiomas { display: none; }
  .menu-botao { display: inline-flex; }

  .sobre { grid-template-columns: 1fr; }
  .contato__corpo { grid-template-columns: 1fr; }
  .modal__conteudo { grid-template-columns: 1fr; }
  .modal__ficha { transform: none; max-height: none; }
  .modal { max-height: 92vh; overflow: auto; }
}

@media (max-width: 600px) {
  .topo__contratar { display: none; }
  .logo__clow { font-size: 1.9rem; }
  .hero { padding-bottom: 4rem; }
  .hero__criacao { width: calc(100% + 2 * var(--margem)); }
  .hero__maos { aspect-ratio: 2.4 / 1; --ht-ponto: 4.5px; }
  .hero__credito { right: var(--margem); top: .2rem; }
  .hero__nome { font-size: 19vw; }
  .hero__desde { display: block; margin-top: .3rem; }
  .hero__desde::before { content: ''; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 22rem; }
  .botao--grande { width: 100%; min-width: 0; }
    .clientes__nota { right: 4%; top: -1.6rem; }
  .contato__pichacao { left: auto; right: .5rem; top: 9.2rem; font-size: 2.1rem; }
  .contato__lua { top: 1.6rem; width: 64px; }
  .trabalhos__nota { margin-left: 0; display: block; width: fit-content; }
  .artigo__texto { columns: 1; }
  .carta { transform: none; box-shadow: 5px 6px 0 var(--sol); }
  .sobre__anos { bottom: -2%; padding: .55rem .75rem; }
  .sobre__anos strong { font-size: 3.2rem; }
  .carta__linha { grid-template-columns: 1fr; }
  .trabalhos__cabeca { grid-template-columns: 1fr; }
  .placar { justify-self: start; margin-left: .3rem; }
  .modal__fechar { right: 4px; top: 4px; }
  .jornal { columns: 3 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .contagem { display: none; }
  .faixa__trilho { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .revelar { opacity: 1; transform: rotate(var(--giro, 0deg)); }
}

@media print {
  .topo, .grao, .contagem, .menu-movel, .modal, .aviso { display: none !important; }
}
