/* VSB Films, versão clara (referência: sand.black). Off-white + blocos pretos, Montserrat 800, serifa itálica de contraste, verde-oliva único destaque. */
:root {
  --paper: #efefec;
  --ink: #0b0b0a;
  --muted: #6b6a64;
  --muted-d: #9a988f;
  --line: #d3d2cc;
  --line-d: #2b2a27;
  --olive: #5d6b34;
  --olive-l: #a6b96b;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1360px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--olive-l); }
.inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--muted-d); }
i.s { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--olive); }
.dark i.s { color: var(--olive-l); }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.logo span { color: var(--olive); }
.topr { display: flex; align-items: center; gap: 24px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.clock { color: var(--muted); font-variant-numeric: tabular-nums; }
.menu-btn { font: 600 12px/1 var(--font); letter-spacing: .15em; text-transform: uppercase; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; min-height: 44px; padding: 0 22px; cursor: pointer; }
@media (max-width: 560px) { .clock { display: none; } }

/* menu em tela cheia */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--paper); padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1); visibility: hidden; overflow-y: auto; }
.sheet.open { transform: none; visibility: visible; }
.sheet .bar { display: flex; justify-content: space-between; align-items: center; }
.sheet .menu-btn { background: var(--paper); color: var(--ink); }
.sheet ul { list-style: none; margin: 24px 0; padding: 0; }
.sheet li a { display: block; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 9vw, 6rem); line-height: 1.06; letter-spacing: -.02em; transition: color .2s, padding .3s; }
.sheet li a:hover { color: var(--olive-l); padding-left: 12px; }
.sheet li.sub a { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 500; color: var(--muted-d); letter-spacing: 0; line-height: 1.5; }
.sheet .foot { display: flex; flex-wrap: wrap; gap: 20px 32px; font-size: 13px; color: var(--muted-d); letter-spacing: .1em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 14px/1 var(--font); letter-spacing: .06em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.line { background: transparent; color: var(--ink); }
.dark .btn { background: var(--olive-l); border-color: var(--olive-l); color: var(--ink); }
.dark .btn.line { background: transparent; color: var(--paper); border-color: var(--line-d); }
.dark .btn.line:hover { border-color: var(--olive-l); color: var(--olive-l); }

/* hero */
.hero { padding-block: clamp(40px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
h1 { font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(2.7rem, 11.5vw, 10.5rem); margin: 24px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
h1 i.s { font-size: 1.06em; letter-spacing: -.02em; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(28px, 5vw, 56px); }
.hero-foot p { margin: 0; max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* vídeo (reel e projetos): pôster com botão de play, o vídeo só carrega ao clicar */
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border: 0; padding: 0; cursor: pointer; display: block; }
.vid img, .vid video, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); transition: opacity .3s; }
.vid .play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; background: var(--olive-l); color: var(--ink); display: grid; place-items: center; font-size: 22px; padding-left: 4px; transition: transform .25s; }
.vid:hover .play { transform: scale(1.08); }
.vid .cap { position: absolute; z-index: 2; left: 16px; bottom: 14px; right: 16px; color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-align: left; }
.vid.on::after, .vid.on .play, .vid.on .cap { display: none; }
.reel { margin-top: clamp(28px, 4vw, 48px); }
.reel .vid { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .reel .vid { aspect-ratio: 4 / 3; } }

/* faixa */
.strip { background: var(--olive-l); color: var(--ink); overflow: hidden; white-space: nowrap; border-block: 1px solid var(--ink); }
.strip div { display: inline-flex; gap: 40px; padding-block: 14px; animation: run 28s linear infinite; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, 2.2vw, 1.5rem); }
.strip span::after { content: "•"; margin-left: 40px; }
@keyframes run { to { transform: translateX(-50%); } }

section { padding-block: clamp(64px, 10vw, 140px); }
h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: .98; font-size: clamp(2rem, 7vw, 6rem); margin: 18px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
h2 i.s { font-size: 1.05em; }

/* áreas (índice) */
.areas { list-style: none; margin: clamp(32px, 6vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--line-d); }
.areas li { border-bottom: 1px solid var(--line-d); }
.areas a { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 4px 16px; padding-block: clamp(18px, 3vw, 34px); transition: padding .3s, color .3s; }
.areas .n { font-size: 12px; color: var(--muted-d); letter-spacing: .15em; font-variant-numeric: tabular-nums; }
.areas .t { font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(1.6rem, 6vw, 4.4rem); min-width: 0; overflow-wrap: anywhere; }
.areas .d { grid-column: 2; color: var(--muted-d); font-size: 14px; max-width: 52ch; }
.areas .ar { grid-row: 1; grid-column: 3; font-size: 1.8rem; color: var(--olive-l); transition: transform .3s; }
.areas a:hover { padding-left: 14px; color: var(--olive-l); }
.areas a:hover .ar { transform: translateX(8px); }

/* quem somos */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 64px); align-items: start; }
.about > * { min-width: 0; }
.about .photo { background: var(--ink); aspect-ratio: 4 / 5; overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.about .lead { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 500; margin: 0 0 24px; max-width: 28ch; letter-spacing: -.01em; }
.about p { color: var(--muted); margin: 0 0 18px; max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); margin-top: clamp(40px, 6vw, 80px); }
.cast > * { min-width: 0; }
.person { display: grid; gap: 16px; align-content: start; }
.person .ph { aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.person:hover .ph img { transform: scale(1.04); }
.person b { display: block; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.8rem); letter-spacing: -.01em; line-height: 1.1; }
.person .role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.person .role a { color: var(--olive); }
.person p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .cast { grid-template-columns: 1fr; } .person { grid-template-columns: 120px 1fr; gap: 16px; } .person .ph { grid-row: span 3; } }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: 32px; }
.nums b { display: block; font-size: clamp(2.2rem, 8vw, 6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.nums span { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* origem (Patagônia) */
.origin { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 64px); align-items: center; }
.origin > * { min-width: 0; }
.origin p { color: var(--muted-d); margin: 0 0 18px; max-width: 52ch; }
@media (max-width: 800px) { .origin { grid-template-columns: 1fr; } }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 64px); }
.contact > * { min-width: 0; }
.contact .col { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact p { margin: 0; color: var(--muted-d); max-width: 40ch; }
.info { font-size: 14px; line-height: 1.9; }
.info a:hover { color: var(--olive-l); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-d); }
input, textarea { font: 400 16px/1.4 var(--font); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-d); padding: 12px 0; border-radius: 0; width: 100%; }
input:focus, textarea:focus { outline: 0; border-bottom-color: var(--olive-l); }
textarea { resize: vertical; min-height: 96px; }
.ok { color: var(--olive-l); font-size: 14px; min-height: 1.4em; margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line-d); font-size: 12px; color: var(--muted-d); letter-spacing: .08em; }

/* páginas de portfólio */
.phero { padding-block: clamp(40px, 8vw, 110px) clamp(24px, 4vw, 48px); }
.phero .back { display: inline-block; margin-bottom: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.phero .back:hover { color: var(--olive); }
.phero p { max-width: 50ch; color: var(--muted); margin: 24px 0 0; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.count { font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); padding-bottom: clamp(56px, 8vw, 110px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { display: grid; gap: 14px; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.card .im { aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; position: relative; }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.card:hover .im img { transform: scale(1.05); }
.card .badge { position: absolute; left: 12px; bottom: 12px; background: var(--olive-l); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.card h3 { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.15; overflow-wrap: anywhere; }
.card .sub { margin: 0; font-size: 13px; color: var(--muted); }
.others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.others a { border: 1px solid var(--line-d); border-radius: 999px; padding: 10px 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.others a:hover { border-color: var(--olive-l); color: var(--olive-l); }
.others a.cur { background: var(--olive-l); color: var(--ink); border-color: var(--olive-l); }

/* janela do projeto */
dialog { border: 0; padding: 0; background: var(--ink); color: var(--paper); width: min(1100px, 100%); max-height: 100dvh; max-width: 100%; margin: auto; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(0,0,0,.72); }
dialog .dbar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); background: var(--ink); border-bottom: 1px solid var(--line-d); }
dialog .dbar .menu-btn { background: var(--paper); color: var(--ink); }
dialog .dbody { padding: clamp(20px, 4vw, 48px) var(--gutter) clamp(32px, 5vw, 64px); display: grid; gap: clamp(20px, 3vw, 36px); }
dialog h2 { font-size: clamp(1.6rem, 4.5vw, 3.2rem); margin: 0; }
dialog .desc { margin: 0; color: var(--muted-d); max-width: 62ch; white-space: pre-line; }
dialog .chips { display: flex; flex-wrap: wrap; gap: 8px; }
dialog .chips span { border: 1px solid var(--line-d); border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
dialog .media { display: grid; gap: clamp(12px, 2vw, 20px); }
dialog .media .pic { background: var(--bg2, #141413); }
dialog .media img.pic { width: 100%; height: auto; }
dialog .dcta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
html.lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .strip div { animation: none; } .sheet { transition: none; } * { transition: none !important; } }

/* marcas: faixa de logos passando para a direita, em loop */
.brands { padding-block: clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands h2 { font-size: clamp(1.8rem, 5vw, 3.6rem); }
.marquee { margin-top: clamp(32px, 5vw, 64px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; width: max-content; animation: runright 45s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .set { display: flex; align-items: center; flex-shrink: 0; gap: clamp(48px, 7vw, 96px); padding-right: clamp(48px, 7vw, 96px); }
.marquee { --sc: 1; }
@media (max-width: 700px) { .marquee { --sc: .66; } }
.marquee img { height: calc(var(--k) * 1px * var(--sc)); width: auto; max-width: none; filter: brightness(0); opacity: .78; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes runright { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; width: auto; } .marquee .set[aria-hidden] { display: none; } .marquee .set { flex-wrap: wrap; padding: 0 var(--gutter); } }

/* vídeos verticais: ficam em pé, lado a lado quando há mais de um */
.vid.vert { aspect-ratio: 9 / 16; }
dialog .media .vrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px)); gap: clamp(12px, 2vw, 20px); justify-content: start; }
@media (max-width: 700px) { dialog .media .vrow { grid-template-columns: 1fr; } dialog .media .vrow .vid.vert { width: min(100%, 340px); justify-self: center; } }

/* logo oficial */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
@media (max-width: 480px) { .logo img { height: 34px; } }
/* marcas dentro de Quem somos */
.brands-in { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.brands-in h3 { margin: 14px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; font-size: clamp(1.5rem, 4vw, 2.8rem); text-wrap: balance; }
.brands-in h3 i.s { font-size: 1.05em; }
.brands-in .marquee { margin-top: clamp(24px, 4vw, 44px); }
/* marcas em tela cheia, sem esmaecer nas bordas */
.brands-in .marquee { position: relative; left: 50%; width: 100vw; margin-left: -50vw; -webkit-mask-image: none; mask-image: none; }

/* hero com vídeo de fundo (showreel mudo em loop) e texto por cima */
.vhero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 86vh, 920px); display: flex; align-items: flex-end; background: var(--ink); color: var(--paper); }
.vhero .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vhero .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.25) 40%, rgba(11,11,10,.78) 100%); }
.vhero .vcontent { width: 100%; padding-block: clamp(48px, 9vw, 120px) clamp(36px, 6vw, 72px); }
.vhero .eyebrow { color: rgba(239,239,236,.78); }
.vhero h1 { color: var(--paper); }
.vhero h1 i.s { color: var(--olive-l); }
.vhero .hero-foot p { color: rgba(239,239,236,.82); }
.vhero .btn.line { border-color: rgba(239,239,236,.45); }
#reel-dialog { width: min(1400px, 100%); }
#reel-dialog .dbody { padding-inline: clamp(8px, 2vw, 24px); }
#reel-dialog video { width: 100%; max-height: 80vh; background: #000; display: block; }
@media (prefers-reduced-motion: reduce) { .vhero .bgv { display: none; } .vhero { background: center / cover no-repeat var(--ink); } }

/* vídeo de fundo do topo em preto e branco, com 50% de opacidade */
.vhero .bgv { opacity: .5; filter: grayscale(1); }
.vhero .shade { background: linear-gradient(180deg, rgba(11,11,10,.35) 0%, rgba(11,11,10,.15) 40%, rgba(11,11,10,.6) 100%); }
@media (prefers-reduced-motion: reduce) { .vhero .bgv { display: block; } }

/* frase principal da home: mais longa, então um pouco menor */
.vhero h1 { font-size: clamp(2.4rem, 8.8vw, 8.4rem); }

/* ===== animações ao rolar a página (ativas só se o aparelho não pediu menos movimento) ===== */

/* topo da home: centralizado, com a palavra em destaque numa linha própria */
.vhero { align-items: center; }
.vhero .vcontent { text-align: center; }
.vhero .hero-meta { justify-content: center; gap: 8px 28px; }
.vhero h1 { text-align: center; font-size: clamp(2.5rem, 8.2vw, 7.8rem); line-height: .98; margin-top: 22px; text-wrap: balance; }
.vhero h1 .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.vhero h1 .ln > span { display: block; }
.vhero h1 i.s { font-size: 1.45em; line-height: .8; letter-spacing: -.02em; }
.vhero .hero-foot { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.vhero .hero-foot p { margin-inline: auto; }
.vhero .cta { justify-content: center; }

/* entrada do topo */
.anim .vhero h1 .ln > span { transform: translate3d(0, 108%, 0); }
.anim.hero-in .vhero h1 .ln > span { transform: none; transition: transform 1.1s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .vhero .rvh { opacity: 0; transform: translate3d(0, 22px, 0); }
.anim.hero-in .vhero .rvh { opacity: 1; transform: none; transition: opacity 1s ease var(--d, 0ms), transform 1s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.vhero .bgv { will-change: transform; }
.vhero .vcontent { will-change: transform, opacity; }

/* aparecer subindo */
.anim .rv { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .rv.in { opacity: 1; transform: none; }

/* fotos e vídeos se revelando de baixo para cima */
.anim .clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .clip.in { clip-path: inset(0 0 0 0); }
.anim .clip:not(.in) img, .anim .clip:not(.in) .vid { transform: scale(1.25); }
.anim .clip.in img { transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }

/* títulos: palavra por palavra */
.anim .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em; margin: 0 -.08em -.14em; }
.anim .split .wi { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 55ms); }
.anim .split.in .wi { transform: none; }

/* texto que vai acendendo conforme a rolagem */
.anim .fill .fw { opacity: .18; transition: opacity .45s ease; }
.anim .fill .fw.lit { opacity: 1; }

/* ===== suavização: aparecer dissolvendo, sem cortes ===== */
/* topo: cada linha dissolve (opacidade + desfoque), sem máscara */
.anim .vhero h1 .ln { overflow: visible; }
.anim .vhero h1 .ln > span { transform: scale(1.05); opacity: 0; filter: blur(16px); }
.anim.hero-in .vhero h1 .ln > span { transform: none; opacity: 1; filter: blur(0); transition: opacity 2.2s ease var(--d, 0ms), filter 2.2s ease var(--d, 0ms), transform 2.6s cubic-bezier(.2,.6,.2,1) var(--d, 0ms); }
.anim .vhero .rvh { transform: none; filter: blur(8px); }
.anim.hero-in .vhero .rvh { filter: blur(0); transition: opacity 1.8s ease var(--d, 0ms), filter 1.8s ease var(--d, 0ms); }
/* aparecer subindo: mais curto e mais lento, com desfoque leve */
.anim .rv { transform: translate3d(0, 18px, 0); filter: blur(6px); transition: opacity 1.3s ease var(--d, 0ms), transform 1.3s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), filter 1.3s ease var(--d, 0ms); }
.anim .rv.in { transform: none; filter: blur(0); }
/* títulos: as palavras dissolvem em vez de subir de dentro de uma máscara (nada é cortado) */
.anim .split .w { overflow: visible; padding: 0; margin: 0; }
.anim .split .wi { transform: translate3d(0, .22em, 0); opacity: 0; filter: blur(10px); transition: opacity 1.3s ease calc(var(--i, 0) * 70ms), transform 1.3s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 70ms), filter 1.3s ease calc(var(--i, 0) * 70ms); }
.anim .split.in .wi { transform: none; opacity: 1; filter: blur(0); }
/* fotos: recorte mais lento */
.anim .clip { transition: clip-path 1.6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }

/* ===== palavras inteiras nos títulos + sem estouro lateral (13/10/2026) ===== */
/* títulos do topo das páginas de portfólio: a palavra mais longa (ARQUITETURA, CORPORATIVO) tem que caber sem quebrar no meio */
.phero h1 { font-size: clamp(2rem, 9.2vw, 8.6rem); overflow-wrap: break-word; hyphens: manual; }
h1, h2, h3 { hyphens: manual; }
/* lista de áreas da home: nomes longos também não quebram */
.areas .t { font-size: clamp(1.4rem, 5.4vw, 4.4rem); overflow-wrap: break-word; }
/* blocos que se revelam não podem alargar a página enquanto estão escondidos/aumentados */
.clip { overflow: hidden; }
/* números da home em telas muito estreitas (até 380 px): cabem em 3 colunas */
.nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 380px) { .nums { gap: 10px; } .nums b { font-size: 1.9rem; } .nums span { font-size: 10px; letter-spacing: .06em; } }

/* ===== sol girando abaixo do texto de Quem somos + espaçamento dos números (13/10/2026) ===== */
.sol-spin { display: block; width: clamp(96px, 11vw, 150px); height: auto; margin-top: clamp(28px, 4vw, 56px); }
@keyframes spin360 { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { .sol-spin { animation: spin360 32s linear infinite; } }
/* rótulos dos números: linhas próximas (antes herdavam 25 px de altura de linha para letra de 10-12 px) */
.nums span { display: block; line-height: 1.35; margin-top: .6rem; }
@media (max-width: 480px) { .nums b { line-height: .95; } .nums { padding-top: 24px; } }

/* ===== rodada 2 (13/10/2026): acessibilidade, WhatsApp flutuante, destaques, como trabalhamos, janela do projeto, privacidade ===== */

/* link "Pular para o conteúdo" (aparece só com o teclado) */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font: 600 14px/1 var(--font); }
.skip:focus { left: 16px; }

/* rodapé */
footer .flinks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a:hover { color: var(--olive-l); }

/* WhatsApp flutuante e cabeçalho que some ao descer (só no celular) */
.wa-float { display: none; }
@media (max-width: 800px) {
  .wa-float { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--olive-l); color: var(--ink); font: 600 14px/1 var(--font); letter-spacing: .04em; box-shadow: 0 8px 28px rgba(0,0,0,.28); transition: transform .35s ease, opacity .3s ease; }
  .wa-float.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .top { transition: transform .35s ease; }
  .top.hide { transform: translateY(-100%); }
}

/* destaques na home */
.feat { padding-block: clamp(64px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.featgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(32px, 5vw, 64px); }
.fcard { display: grid; gap: 12px; align-content: start; color: inherit; min-width: 0; }
.fcard .fim { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.fcard .fim img, .fcard .fim video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fcard .fim img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.fcard:hover .fim img { transform: scale(1.05); }
.fcard .fim video { opacity: 0; transition: opacity .6s ease; }
.fcard .fim video.on { opacity: 1; }
.fcard .ftag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fcard h3 { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.15; overflow-wrap: break-word; }
@media (max-width: 1000px) { .featgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .featgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .featgrid::-webkit-scrollbar { display: none; }
  .fcard { flex: 0 0 78%; scroll-snap-align: start; }
}

/* como trabalhamos */
.como { padding-block: clamp(64px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 18px; min-width: 0; }
.steps .sn { font-size: 12px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 10px 0 8px; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.15; letter-spacing: -.01em; overflow-wrap: break-word; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* janela do projeto: anterior, próximo, compartilhar */
dialog .dnav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-d); padding-top: 20px; }
dialog .dnav .grp { display: flex; flex-wrap: wrap; gap: 10px; }
dialog .dnav .btn { min-height: 44px; padding: 0 20px; font-size: 13px; }
dialog .dnav .msg { flex-basis: 100%; font-size: 13px; color: var(--olive-l); min-height: 1.2em; }

/* página de privacidade */
.legal { max-width: 760px; padding-bottom: clamp(48px, 8vw, 100px); }
.legal h2 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); margin: 36px 0 10px; letter-spacing: -.01em; }
.legal p { color: var(--muted); margin: 0 0 14px; }
.legal a { color: var(--olive); text-decoration: underline; }

/* formulário real */
.chk { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.5; }
.chk input { width: 18px; height: 18px; margin-top: 2px; flex: none; padding: 0; accent-color: var(--olive-l); }
.chk a { text-decoration: underline; text-underline-offset: 3px; }
.ok.bad { color: #f0b4a4; }
form button[disabled] { opacity: .55; cursor: wait; }
.hp { opacity: 1 !important; transform: none !important; filter: none !important; }
/* depoimentos (avaliações do Google) */
.depos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 5vw, 64px); align-items: start; }
.depo { margin: 0; border-top: 1px solid var(--ink); padding-top: 18px; min-width: 0; }
.depo .stars { color: var(--olive); letter-spacing: .12em; font-size: 14px; }
.depo blockquote { margin: 14px 0 18px; }
.depo blockquote p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
.depo figcaption { display: grid; gap: 2px; font-size: 13px; }
.depo figcaption strong { font-weight: 600; letter-spacing: .04em; }
.depo figcaption span { color: var(--muted); }
.depo-src { margin: clamp(28px, 4vw, 48px) 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.depo-src a { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.depo-src a:hover { color: var(--olive); border-color: var(--olive); }
@media (max-width: 900px) { .depos { grid-template-columns: 1fr; } }
/* apresentação dos projetos: vídeos primeiro, depois a galeria de fotos (13/10/2026) */
dialog .media { display: grid; gap: clamp(32px, 5vw, 56px); }
dialog .mh { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(14px, 2vw, 22px); font: 500 12px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-d); }
dialog .mh span { border: 1px solid var(--line-d); border-radius: 999px; padding: 4px 10px; letter-spacing: .08em; }
dialog .mh::after { content: ""; flex: 1; height: 1px; background: var(--line-d); }
dialog .vwide { display: grid; gap: clamp(12px, 2vw, 20px); }
dialog .vtall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 300px)); gap: clamp(12px, 2vw, 20px); justify-content: start; }
dialog .vwide + .vtall { margin-top: clamp(12px, 2vw, 20px); }
dialog .vtall .vid { width: 100%; }
.vid video { object-fit: contain; background: #000; }
dialog .gallery { --h: 240px; display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 18px); }
dialog .gallery::after { content: ""; flex-grow: 1000; }
dialog .ph { position: relative; flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--h)); aspect-ratio: var(--r); min-width: 0; margin: 0; padding: 0; border: 0; background: #141413; overflow: hidden; cursor: zoom-in; }
dialog .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
dialog .ph:hover img { transform: scale(1.04); }
@media (max-width: 700px) { dialog .gallery { --h: 170px; } }
@media (max-width: 700px) {
  dialog .vtall { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
  dialog .vtall .vid { flex: 0 0 min(72%, 300px); width: auto; scroll-snap-align: start; }
}
#lb { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; overflow: hidden; background: #050505; }
#lb[open] { display: grid; place-items: center; }
#lb::backdrop { background: #000; }
#lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; box-sizing: border-box; padding: 64px 72px 20px; }
#lb img { display: block; max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
#lb figcaption { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); text-align: center; }
#lb button { position: absolute; z-index: 2; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line-d); background: rgba(0, 0, 0, .55); color: var(--paper); font: 400 22px/1 var(--font); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
#lb button[hidden] { display: none; }
#lb button:hover { background: var(--olive-l); color: var(--ink); }
#lb .lbx { top: 12px; right: 12px; }
#lb .lbp { left: 14px; top: 50%; translate: 0 -50%; }
#lb .lbn { right: 14px; top: 50%; translate: 0 -50%; }
@media (max-width: 700px) {
  #lb figure { padding: 64px 0 84px; }
  #lb .lbp, #lb .lbn { top: auto; bottom: 18px; translate: none; }
  #lb .lbp { left: 18px; } #lb .lbn { right: 18px; }
}

/* ajuste: as seções Vídeos/Fotos herdavam o espaçamento grande das seções do site */
dialog .mgrp { padding: 0; }
dialog .media { gap: clamp(24px, 3vw, 36px); }

/* WhatsApp flutuante: menor no celular e também no computador (13/10/2026) */
.wa-float { position: fixed; right: 28px; bottom: 28px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--olive-l); color: var(--ink); font: 600 13px/1 var(--font); letter-spacing: .04em; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .35s ease, opacity .3s ease, filter .2s; }
.wa-float:hover { filter: brightness(1.06); }
.wa-float svg { width: 20px; height: 20px; }
.wa-float.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 800px) {
  .wa-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 38px; padding: 0 14px 0 11px; gap: 7px; font-size: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
  .wa-float svg { width: 17px; height: 17px; }
}

/* depoimentos: uma fila de cartões que desliza para o lado (15/10/2026) */
.dhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dhead h2 { margin: 0; }
.darrows { display: flex; gap: 10px; flex: none; margin-bottom: 8px; }
.darr { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 400 20px/1 var(--font); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .2s, color .2s, opacity .2s; }
.darr:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.darr:disabled { opacity: .3; cursor: default; }
.dtrack { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-top: clamp(28px, 4vw, 48px); padding-bottom: 4px; cursor: grab; outline-offset: 6px; }
.dtrack::-webkit-scrollbar { display: none; }
.dtrack.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.dtrack .depo { flex: 0 0 min(400px, 86%); scroll-snap-align: start; margin: 0; background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 18px 8px 4px 0; }
.dtrack .depo blockquote { margin: 12px 0 18px; }
.dtrack .depo blockquote p { font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
@media (max-width: 600px) { .darr { width: 40px; height: 40px; } .dhead { align-items: flex-end; } }

/* SEO: contraste um pouco maior nos textos pequenos (16/10/2026) */
:root { --muted: #5f5e58; }
.vhero .eyebrow, .vhero .hero-foot p { color: rgba(239, 239, 236, .94); }

/* números abaixo dos 6 destaques (21/10/2026) */
.stats { padding-block: clamp(28px, 5vw, 56px); border-top: 1px solid var(--line); }
.stats .nums { margin-top: 0; border-top: 0; padding-top: 0; }
.stats .nums b { font-size: clamp(1.9rem, 6vw, 4.6rem); }
/* aviso de cookies (19/10/2026) */
.ckbar { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(420px, calc(100vw - 32px)); background: var(--ink); color: var(--paper); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 36px rgba(0,0,0,.35); font-size: 13.5px; line-height: 1.5; }
.ckbar p { margin: 0 0 12px; }
.ckbar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ckbtns { display: flex; gap: 10px; }
.ckbtns button { flex: 1; height: 40px; border-radius: 999px; border: 1px solid rgba(239,239,236,.55); background: transparent; color: var(--paper); font: 600 13px/1 var(--font); letter-spacing: .04em; cursor: pointer; }
.ckbtns button[data-ck="yes"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ckbtns button:focus-visible { outline: 2px solid var(--olive-l); outline-offset: 2px; }
@media (max-width: 700px) { body.ck-open .wa-float { opacity: 0; pointer-events: none; } }