:root { color-scheme: only light; }   /* sem inversão automática de cores no modo escuro forçado do Android */
/* Pé Grande Pro · portfolio. Tokens from copy/brand-kit.md; layout from the approved mockup (assets/review/mockup/). */
:root {
  --bg: #F1ECE2; --surface: #E7E0D3; --ink: #141210; --text: #17140F; --text-on-ink: #EDE7DB;
  --muted: #7A7266; --muted-on-ink: #A39B8E; --accent: #E5063D; --line: #CFC6B6; --line-ink: #2B2723;
  --head: "Schibsted Grotesk", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));   /* celular deitado: o texto não entra embaixo da câmera */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 13px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }


/* ---------- 0. Tela de entrada ---------- */
.entry { position: relative; height: 100vh; min-height: 560px; background: #120F0D; color: var(--text-on-ink); overflow: hidden; display: grid; place-items: center; text-align: center; }
/* névoa: desenhada em baixa resolução num canvas e ampliada (fica macia e leve) */
.entry .fog { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; image-rendering: auto; }
/* oscilação de luz de projetor, quase imperceptível */
.entry .flicker { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: rgba(237,231,219,.018); animation: flick 7s steps(1) infinite; }
@keyframes flick { 0%{opacity:.6} 9%{opacity:1} 11%{opacity:.4} 23%{opacity:.8} 41%{opacity:.5} 57%{opacity:.9} 74%{opacity:.45} 88%{opacity:.75} }
.entry::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.55) 100%);
  background-blend-mode: multiply; pointer-events: none; }
.grain { position: absolute; inset: -40px; opacity: .16; pointer-events: none; mix-blend-mode: overlay; z-index: 1; animation: grain .9s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>"); }
@keyframes grain { 0%{transform:translate(0,0)} 17%{transform:translate(-18px,9px)} 33%{transform:translate(12px,-14px)} 50%{transform:translate(-7px,16px)} 67%{transform:translate(15px,6px)} 83%{transform:translate(-13px,-9px)} 100%{transform:translate(0,0)} }
.entry::after { z-index: 1; }
.entry-inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.entry .counter { font: 400 12px var(--mono); letter-spacing: .2em; color: var(--muted-on-ink); margin-bottom: 40px; }
.entry h1 { font: 500 clamp(22px, 3.4vw, 52px)/1.18 var(--head); letter-spacing: -.02em; margin: 0 auto; filter: blur(.3px); }
.entry h1 span { display: block; white-space: nowrap; }
.entry .cta { margin-top: 48px; font: 400 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.entry .quiet { margin-top: 14px; font: 400 11px var(--mono); color: var(--muted-on-ink); letter-spacing: .08em; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 1. Hero: a montanha ---------- */
.world { position: relative; background: #2B8A92; }
.world-bg { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; z-index: 0; }
.world-bg .live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.hero { position: relative; z-index: 1; height: 100vh; min-height: 560px; margin-top: -100vh; }
@media (max-height: 600px) { .world-bg, .hero, .entry { min-height: 0; } .hero { --lw: min(24vw, 260px); } }
@supports (height: 100svh) { .world-bg { height: 100svh; } .hero { height: 100svh; margin-top: -100svh; } }
/* celular (dono, 16/11/2026): o fundo da montanha vai até a altura da tela sem as barras do navegador, para não aparecer
   uma faixa vazia embaixo dela quando as barras somem ao rolar. A primeira tela (.hero) continua com a altura visível. */
@supports (height: 100lvh) { .world-bg { height: 100lvh; } .hero { margin-top: -100lvh; } }
.topbar { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 22px var(--gutter); }
.menu { display: flex; gap: 22px; align-items: center; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-ink);
  background: rgba(20,18,16,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 999px; }
.menu .sound { display: inline-flex; gap: 6px; align-items: center; }
.menu .sound.off i { background: #8A8276; box-shadow: 5px 0 0 #8A8276, 10px 0 0 #8A8276; height: 2px; animation: none; }
.menu .sound:not(.off) i { animation: eq 1.1s ease-in-out infinite; }
@keyframes eq { 0%,100% { height: 10px; } 50% { height: 4px; } }
.thumb iframe.preview { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; z-index: 1; }
.thumb iframe.preview.ready { opacity: 1; }
.thumb::after { z-index: 2; }
.thumb .credits, .thumb .play { z-index: 3; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,10,9,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-frame { width: min(92vw, calc(86vh * 16 / 9)); aspect-ratio: 16 / 9; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-close { position: absolute; top: 18px; right: 22px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-ink); background: none; border: 1px solid #4A443B; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.menu .sound i { display: inline-block; width: 3px; height: 10px; background: var(--accent); box-shadow: 5px -3px 0 var(--accent), 10px 2px 0 var(--accent); margin-right: 10px; }
.hero .logo-big { position: absolute; z-index: 5; left: calc(var(--gutter) - var(--lw) * .065); top: calc(22px - var(--lw) * .0612); width: var(--lw); filter: drop-shadow(0 2px 14px rgba(10,30,32,.45)); }
/* subtítulo: bem discreto, colado embaixo do logo, alinhado à pegada; mesma largura do desenho */
.hero .tagline { position: absolute; z-index: 5; left: var(--gutter); top: calc(22px + var(--lw) * .415 + 12px); max-width: calc(var(--lw) * .872);
  margin: 0; font: 500 11px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-wrap: balance; color: rgba(251,247,239,.9);
  text-shadow: 0 1px 2px rgba(10,30,32,.8), 0 0 12px rgba(10,30,32,.65), 0 0 28px rgba(10,30,32,.35); }   /* passa por cima da neve: sombra curta + halo escuro */
.hero { --lw: min(30vw, 440px); }
.menu .lang button, .contact .lang button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 4px 2px; margin: -4px 0; cursor: pointer; opacity: .55; transition: opacity .25s ease; }
.menu .lang button[aria-pressed="true"], .contact .lang button[aria-pressed="true"] { opacity: 1; color: #fff; cursor: default; }
.menu .lang button:hover, .contact .lang button:hover { opacity: 1; }
.menu .lang .sep, .contact .lang .sep { opacity: .45; }
.hero .scroll { position: absolute; z-index: 5; right: var(--gutter); bottom: 9vh; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-ink); text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ---------- 2. Work ---------- */
.work { position: relative; z-index: 1; color: var(--text-on-ink); padding: 34vh var(--gutter) 140px;
  background: linear-gradient(180deg, rgba(18,15,13,0) 0, rgba(18,15,13,.55) 18vh, rgba(18,15,13,.80) 40vh, rgba(18,15,13,.86) 100%); }
.work .meta { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.work .thumb { box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.work-head { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line-ink); padding-bottom: 18px; margin-bottom: 40px; }
.work-head h2 { font: 700 clamp(44px, 7vw, 108px)/.9 var(--head); letter-spacing: -.035em; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 28px; }
.card { position: relative; grid-column: span 6; }
.card.w7 { grid-column: span 7; } .card.w5 { grid-column: span 5; align-self: end; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 2px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.meta .client { font: 700 clamp(20px, 2.1vw, 30px)/1 var(--head); letter-spacing: -.015em; text-transform: uppercase; }
.meta .title { font: 400 12.5px var(--mono); color: var(--muted-on-ink); margin-top: 6px; }
.meta .num { font: 400 12px var(--mono); color: var(--muted-on-ink); }
.credits-m { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-ink); font: 400 11px/1.65 var(--mono); color: #D6CEC0; }
.credits-m .aw { color: #FF6B8E; margin-bottom: 2px; } .credits-m .k { color: var(--muted-on-ink); }
.award-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
/* hover em qualquer filme: o cartão cresce, ganha sombra, a imagem dá um leve zoom e a ficha técnica aparece */
.card { transition: transform .6s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.card .thumb { transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s ease; }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0) 25%, rgba(10,9,8,.55) 50%, rgba(10,9,8,.88) 78%, rgba(10,9,8,.94) 100%); opacity: 0; transition: opacity .5s ease; }
.card .credits, .card .play { opacity: 0; transform: translateY(8px); transition: opacity .45s ease .08s, transform .45s ease .08s; }
.card:hover .thumb { transform: scale(1.05); box-shadow: 0 34px 90px rgba(0,0,0,.6); z-index: 3; }
.card:hover .thumb img { transform: scale(1.04); }
.card:hover .thumb::after { opacity: 1; }
.card:hover .credits, .card:hover .play { opacity: 1; transform: none; }
.card:hover .client { color: #fff; }
.grid:hover .card:not(:hover) { opacity: .55; }
.card { transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.credits { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 20px; font: 500 13px/1.7 var(--mono); color: #FBF7EF;
  text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 14px rgba(0,0,0,.6); }
.credits .aw { color: #FF6B8E; font-weight: 500; margin-bottom: 4px; } .credits .k { color: #D6CEC0; font-weight: 400; }
.play { position: absolute; z-index: 4; top: 18px; right: 18px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(237,231,219,.92); color: var(--ink); padding: 7px 10px; border-radius: 999px; }

/* ---------- 3. What we do ---------- */
.services { position: relative; background: var(--bg); padding: 110px var(--gutter) 120px; }
.services .kicker { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.services ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { position: relative; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding: 10px 0 6px; }
.services li span { font: 700 clamp(40px, 6.6vw, 112px)/1 var(--head); letter-spacing: -.035em; max-width: calc(84% - clamp(120px, 14vw, 210px) - 24px); }
.services li em { font: 400 12px var(--mono); font-style: normal; color: var(--muted); }
  /* Cada serviço tem o seu Pé Grande, parado e "cortado" entre a linha de cima e a de baixo da própria faixa. */
.services li .peek-clip { position: absolute; right: 16%; top: 0; bottom: 0; width: clamp(120px, 14vw, 210px); overflow: hidden; pointer-events: none; transition: opacity .7s cubic-bezier(.4,0,.2,1); }
.services li .peek-clip img { position: absolute; left: 0; width: 100%; top: -22%; }
/* Ao passar o mouse num serviço: o dele aparece inteiro (passando das linhas) e os outros somem. */
.services li .peek-full { position: absolute; right: 16%; bottom: 0; width: clamp(150px, 17vw, 250px); pointer-events: none; opacity: 0; z-index: 3; transition: opacity .7s cubic-bezier(.4,0,.2,1); }
@media (hover: hover) {   /* só onde existe mouse: no celular o "hover" ficaria grudado depois do toque */
  .services ul:hover li .peek-clip { opacity: 0; }
  .services li:hover .peek-full { opacity: 1; }
  .services li:hover span { color: var(--accent); }
}
.services li span { transition: color .6s cubic-bezier(.4,0,.2,1); }

/* ---------- 4. Footer / contato ---------- */
.contact { position: relative; background: var(--ink); color: var(--text-on-ink); padding: 100px var(--gutter) 36px; overflow: hidden; }
.contact .kicker { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 18px; }
.contact .mail { display: inline-block; font: 700 clamp(36px, 7.2vw, 118px)/1 var(--head); letter-spacing: -.035em; border-bottom: 3px solid var(--accent); padding-bottom: 6px; }
.contact .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; border-top: 1px solid var(--line-ink); padding-top: 22px; }
.contact .row .k { color: var(--muted-on-ink); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.contact .row a { font: 500 14px var(--mono); }
.contact .bottom { display: flex; justify-content: space-between; align-items: end; margin-top: 70px; }
.contact .bottom img { width: 160px; }
.contact .bottom .to-top { display: block; transition: opacity .3s; } .contact .bottom .to-top:hover { opacity: .75; }   /* o logo do rodapé volta para a montanha */
.contact .bottom small { color: var(--muted-on-ink); font-size: 11px; }
.trail { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.trail img { position: absolute; width: 30px; opacity: 0; transform-origin: 50% 50%; transition: opacity .5s ease; filter: none; }
.trail img.on { opacity: .8; }
.contact > *:not(.trail):not(.wave):not(.night):not(.camp) { position: relative; z-index: 1; }
@media (max-width: 760px) { .trail img { width: 18px; } }


@media (min-width: 761px) and (max-width: 1024px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .card, .card.w7, .card.w5 { grid-column: auto; align-self: start; }
  .services li .peek-clip { right: 6%; } .services li .peek-full { right: 6%; }
  .hero { --lw: min(38vw, 360px); }
  .contact .row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1600px) { .work, .services, .contact { padding-left: calc((100vw - 1500px) / 2); padding-right: calc((100vw - 1500px) / 2); } }
/* ---------- celular (o próprio site em telas estreitas) ---------- */
@media (max-width: 760px) {
  .menu { gap: 12px; padding: 8px 10px; font-size: 10px; }
  .menu .hide-sm { display: inline-flex; }
  .menu { gap: 10px; padding: 8px 12px; font-size: 9.5px; letter-spacing: .1em; }
  .hero { --lw: 62vw; }
  .hero .logo-big { top: calc(70px - var(--lw) * .0612); }
  .hero .tagline { top: calc(70px + var(--lw) * .415 + 10px); font-size: 9.5px; letter-spacing: .14em; }
  .hero .scroll { display: none; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .card, .card.w7, .card.w5 { grid-column: auto; }
  .card .credits, .card .play, .card .thumb::after { display: none; }
  .card .credits-m { display: block; }   /* no celular não existe hover: a ficha fica sempre visível, pequena, embaixo do filme */
  .services li em { display: none; }
  .services li { padding: 12px 0 8px; min-height: 64px; }
  .services li span { font-size: clamp(28px, 8.4vw, 40px); max-width: calc(100% - 96px); }
  .services li .peek-clip { right: 0; width: 88px; }
  .services li .peek-full { display: none; }
  .contact .row { grid-template-columns: 1fr 1fr; }
  .contact .row a { font-size: 12px; letter-spacing: -.01em; white-space: nowrap; }
  .contact .bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- site real: o que o mockup não precisava ---------- */
.world-bg { background: #2B8A92 url("assets/map/montanha-1280.jpg") 56% 50% / cover no-repeat; }   /* enquanto a montanha viva carrega (ou sem WebGL) */
.world-bg .live { opacity: 0; transition: opacity 1.2s ease; }
.world-bg .live.ready { opacity: 1; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card:focus-visible { outline-offset: 6px; }
.menu a, .menu button, .sound { min-height: 28px; display: inline-flex; align-items: center; }
button.sound { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.services li { cursor: default; }

/* entrada: o contador conta de 000 a 100 enquanto a montanha carrega; depois a frase sai do desfoque para o foco */
.entry { cursor: progress; }
body.ready .entry { cursor: pointer; }
.entry h1 span { opacity: 0; filter: blur(10px); transform: translateY(6px); transition: opacity 1.4s ease, filter 1.6s ease, transform 1.6s ease; }
body.ready .entry h1 span { opacity: 1; filter: blur(0); transform: none; }
body.ready .entry h1 span:nth-child(2) { transition-delay: .35s; }
body.ready .entry h1 span:nth-child(3) { transition-delay: .7s; }
body.ready .entry h1 span:nth-child(4) { transition-delay: 1.05s; }
.entry .cta, .entry .quiet { opacity: 0; transition: opacity 1s ease 1.6s; }
body.ready .entry .cta, body.ready .entry .quiet { opacity: 1; }
.entry .quiet { background: none; border: 0; color: var(--muted-on-ink); cursor: pointer; padding: 6px 4px; }
.entry .cta { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
body:not(.ready) .entry .cta { animation: none; }
.entry .counter { font-variant-numeric: tabular-nums; transition: opacity .8s ease; }
.entry .counter img { display: inline-block; width: 12px; vertical-align: -2px; margin-right: 10px; opacity: .7; }

.lightbox .lb-close:hover { border-color: var(--accent); }
.card .thumb img { background: #0d0b0a; }

/* 44 px de área de toque em telas de toque */
@media (pointer: coarse) {
  .menu a, .menu button, .menu .lang button, .contact .lang button, .contact .row a, .lb-close, .entry .quiet { min-height: 44px; display: inline-flex; align-items: center; }
  .menu .lang button, .contact .lang button { margin: 0; padding: 0 6px; }
}
/* decisão do dono (13/11/2026): o site fica sempre vivo, mesmo com "Reduzir movimento" ligado no aparelho.
   Só a rolagem suave dos links do menu vira instantânea para quem pede menos movimento. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.meta .client { margin: 0; }
h2.kicker { margin-top: 0; }
.menu { white-space: nowrap; }
.menu > * { flex-shrink: 0; }
@media (pointer: coarse) and (max-width: 760px) {
  /* a pílula inteira vira área de toque: cada item com 40 px de altura, sem quebrar a linha */
  .menu { padding: 0 12px; gap: 12px; }
  .menu a, .menu button, .menu .lang button { min-height: 40px; }
}

/* ---------- menu: Work e Contact chegam no lugar certo ---------- */
/* o link Work leva ao título (não ao respiro de montanha que vem antes dele), com uma pequena folga no topo */
.work-head { scroll-margin-top: clamp(28px, 6vh, 64px); }
/* o rodapé ocupa a tela inteira: o link Contact chega com o contato ocupando a tela toda.
   O e-mail fica no meio da parte de cima; links, logo e o Pé Grande acenando ficam embaixo. */
.contact { min-height: 100vh; display: flex; flex-direction: column; }
@supports (height: 100svh) { .contact { min-height: 100svh; } }
.contact .kicker { margin-top: auto; }
.contact .mail { align-self: flex-start; margin-bottom: 80px; }   /* folga mínima até os links */
.contact .row { margin-top: auto; }

/* ---------- rodapé à noite: a montanha do começo, estrelas, o aviãozinho, a névoa da entrada e o Pé Grande na fogueira ---------- */
.night { position: absolute; left: 0; top: 0; width: 100%; height: max(calc(100vw * 672 / 1920), 360px); max-height: 78%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); }
.night-mtn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.stars { position: absolute; inset: 0; }
.stars i { position: absolute; border-radius: 50%; background: #EDE7DB; opacity: var(--lo); animation: twinkle var(--d) ease-in-out var(--dl) infinite; }
@keyframes twinkle { 0%, 100% { opacity: var(--lo); } 50% { opacity: var(--hi); } }
.night-plane { position: absolute; top: 5%; left: 0; width: clamp(28px, 2.4vw, 46px); animation: nightfly 64s linear -22s infinite; }
.night-plane img { display: block; width: 100%; height: auto; filter: brightness(.4) saturate(.5); }
.night-plane i { position: absolute; left: 28%; top: 40%; width: 3px; height: 3px; border-radius: 50%; background: #FF4058; box-shadow: 0 0 6px 2px rgba(255, 64, 88, .55); animation: blink 1.5s steps(1) infinite; }
@keyframes nightfly { 0% { transform: translate(-80px, 6px); } 50% { transform: translate(calc(100vw + 80px), -10px); } 100% { transform: translate(calc(100vw + 80px), -10px); } }
@keyframes blink { 0% { opacity: 1; } 14% { opacity: 0; } 100% { opacity: 0; } }
.night-fog { position: absolute; left: 0; top: 18%; width: 100%; height: 76%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 70%, transparent 100%); }

.camp { position: absolute; z-index: 1; right: max(var(--gutter), 5vw); top: clamp(80px, 12vh, 140px); width: clamp(150px, 13vw, 230px); pointer-events: none; }
.camp img { position: relative; display: block; width: 100%; height: auto; }
/* o brilho da fogueira (o fogo fica embaixo, à esquerda da ilustração) oscila devagar, como chama */
.camp .glow { position: absolute; left: -32%; top: 39%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 60, .34) 0%, rgba(229, 6, 61, .13) 38%, rgba(229, 6, 61, 0) 70%); animation: fire 2.8s ease-in-out infinite; }
@keyframes fire { 0% { opacity: .72; transform: scale(1); } 21% { opacity: 1; transform: scale(1.07); } 39% { opacity: .8; transform: scale(.96); }
  61% { opacity: .96; transform: scale(1.04); } 80% { opacity: .7; transform: scale(.99); } 100% { opacity: .72; transform: scale(1); } }
.camp .spark { position: absolute; left: 13%; top: 68%; width: 3px; height: 3px; border-radius: 50%; background: #FFB45A; opacity: 0; animation: spark 3.6s ease-out infinite; }
.camp .spark:nth-of-type(3) { left: 17%; animation-duration: 4.4s; animation-delay: -1.5s; }
.camp .spark:nth-of-type(4) { left: 10%; animation-duration: 5.2s; animation-delay: -3.1s; width: 2px; height: 2px; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: .9; } 100% { opacity: 0; transform: translate(-10px, -70px); } }

@media (max-width: 760px) {
  .night { height: 340px; }
  .camp { width: 120px; top: 58px; right: 8px; }
}

/* o Pé Grande da fogueira senta sobre a linha fininha acima dos contatos (o chão da ilustração fica a 97,6% da altura) */
.contact .row .camp { top: auto; bottom: 100%; right: calc(max(var(--gutter), 5vw) - var(--gutter)); transform: translateY(2.4%); }
@media (max-width: 760px) { .contact .row .camp { top: auto; right: 0; } }

/* o Pé Grande da fogueira animado: o vídeo (fundo verde recortado) cobre a ilustração parada quando está pronto */
.camp .camp-live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.camp.live .camp-live { opacity: 1; }
.camp.live img { opacity: 0; transition: opacity .6s ease .3s; }

/* ---------- link para a página com todos os trabalhos, no fim do Work (mesmo desenho do e-mail do rodapé) ---------- */
.all-work { display: table; margin: 96px 0 0; font: 700 clamp(26px, 3.4vw, 52px)/1.05 var(--head); letter-spacing: -.03em; color: var(--text-on-ink);
  border-bottom: 3px solid var(--accent); padding-bottom: 6px; text-shadow: 0 2px 18px rgba(0,0,0,.55); transition: color .35s ease; }
.all-work:hover { color: #fff; }
@media (pointer: coarse) { .all-work { min-height: 44px; } }

/* ---------- o menu fica sempre à mão depois da entrada (dono, 12/11/2026) ---------- */
/* depois do clique de entrada, o menu fica preso no topo à direita em toda a página; a faixa vazia do topo não bloqueia cliques */
body.entered .hero .topbar { position: fixed; z-index: 60; pointer-events: none; }
body.entered .hero .topbar .menu { pointer-events: auto; transition: background-color .45s ease, box-shadow .45s ease; }
/* fora da montanha (filmes, serviços em papel claro, rodapé) a pílula fica mais escura, para o texto continuar legível */
body.entered.menu-solid .hero .topbar .menu { background: rgba(20,18,16,.86); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
/* no celular o menu ocupa quase a largura toda: o título "Work" para logo abaixo dele */
@media (max-width: 760px) { .work-head { scroll-margin-top: 84px; } }

/* o menu mora dentro da camada da montanha (.hero); com ela no mesmo nível do Work, os filmes passavam por cima do menu.
   A montanha sobe um nível: ela só ocupa a primeira tela, então nada dela cobre os filmes, e o menu preso fica sempre por cima. */
.hero { z-index: 2; }
/* celular: com "What we do" o menu não cabia. O som vira só o ícone das barrinhas (o nome continua para leitores de tela)
   e o idioma mostra só a opção para trocar ("PT-BR" quando está em inglês, "ENG" quando está em português). */
@media (max-width: 760px) {
  .hero .menu .sound { font-size: 0; gap: 0; letter-spacing: 0; padding-left: 2px; }
  .hero .menu .sound i { margin-right: 10px; }
  .hero .menu .lang .sep, .hero .menu .lang button[aria-pressed="true"] { display: none; }
}

/* ---------- celular (iPhone): ajustes do dono, 13/11/2026 ---------- */
@media (hover: none), (max-width: 760px) {
  /* a frase da entrada: no iPhone o desfoque com "filter" deixava o texto mole e as linhas apareciam juntas.
     Aqui o mesmo efeito de foco é feito com a sombra do próprio texto: cada linha sai do desfoque e termina nítida. */
  .entry h1 { filter: none; }
  .entry h1 span { filter: none; color: transparent; text-shadow: 0 0 16px rgba(237,231,219,.85);
    transition: opacity 1.6s ease, color 1.8s ease, text-shadow 1.8s ease, transform 1.8s ease; }
  body.ready .entry h1 span { filter: none; color: var(--text-on-ink); text-shadow: 0 0 0 rgba(237,231,219,0); }
  body.ready .entry h1 span:nth-child(2) { transition-delay: .5s; }
  body.ready .entry h1 span:nth-child(3) { transition-delay: 1s; }
  body.ready .entry h1 span:nth-child(4) { transition-delay: 1.5s; }
  .entry .cta, .entry .quiet { transition-delay: 2.2s; }
}
@media (max-width: 760px) {
  /* "What we do" lido como uma coisa só: menos espaço entre as palavras de cada item do menu */
  .menu a { word-spacing: -.32em; }
}

/* ---------- a entrada é uma tela só (dono, 13/11/2026): sem rolagem até o clique ---------- */
html.entry-lock, html.entry-lock body { overflow: hidden; overscroll-behavior: none; }
html.entry-lock .entry { touch-action: none; }

/* ---------- "What we do" lido como uma coisa só: as palavras de cada item do menu bem juntas ---------- */
.menu a { word-spacing: -.42em; }
@media (max-width: 760px) { .menu a { word-spacing: -.5em; } }

/* ---------- a frase da entrada entra linha por linha mesmo com "Reduzir movimento" ligado (dono, 13/11/2026) ----------
   A regra geral de movimento reduzido desliga todas as transições; esta exceção mantém só o esmaecer da frase e do convite
   (nada se desloca: sem o deslize vertical), porque é ele que dá a sensação da entrada. */
@media (prefers-reduced-motion: reduce) {
  .entry h1 span { transform: none !important; transition-property: opacity, color, text-shadow, filter !important;
    transition-duration: 1.6s !important; transition-timing-function: ease !important; transition-delay: 0s !important; }
  body.ready .entry h1 span:nth-child(2) { transition-delay: .5s !important; }
  body.ready .entry h1 span:nth-child(3) { transition-delay: 1s !important; }
  body.ready .entry h1 span:nth-child(4) { transition-delay: 1.5s !important; }
  .entry .cta, .entry .quiet { transition-property: opacity !important; transition-duration: 1s !important; transition-delay: 2.2s !important; }
}

/* ---------- What we do no celular: o mesmo efeito do computador, no toque (dono, 13/11/2026) ---------- */
.services .tap-hint { display: none; }
@media (hover: none) {
  .services .tap-hint { display: inline; margin-left: 8px; color: var(--muted); opacity: .75; text-transform: none; letter-spacing: .04em; }
  .services .tap-hint::before { content: "· "; }
  .services li { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .services ul.has-active li .peek-clip { opacity: 0; }
  .services li.active .peek-full { opacity: 1; }
  .services li.active span { color: var(--accent); }
}
@media (hover: none) and (max-width: 760px) {
  .services li .peek-full { display: block; right: 0; width: 132px; }   /* o Pé Grande inteiro, do tamanho que cabe ao lado da palavra */
}

/* troféu dos filmes premiados (dono, 16/11/2026): só antes do título do filme, no Work e no All work */
.trophy { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .35em; object-fit: contain; }
.work .client .trophy { width: .9em; height: .9em; vertical-align: -.08em; margin-right: .25em; }   /* Work da página inicial: o troféu abre o nome da marca (dono, 16/11) */

/* o Pé Grande da fogueira responde ao clique (dono, 16/11/2026): mãozinha do mouse e um pulinho discreto */
.contact .camp.talks { pointer-events: auto; cursor: pointer; }
.contact .camp.bump { animation: campBump .45s ease; }
@keyframes campBump { 0%, 100% { translate: 0 0; } 35% { translate: 0 -4px; } }
