/* ============================================================
   Rise Films — protótipo estrutural
   Duas vozes tipográficas:
   - Space Grotesk: fonte padrão da Rise — menu, botões, UI, textos corridos
     e as palavras de impacto dentro dos títulos editoriais.
   - Canela Light: trechos conceituais dos títulos editoriais.
     Arquivo licenciado (trial) entregue pelo cliente em
     web/assets/fonts/canela/canela-light.otf.
   ============================================================ */

/* Space Grotesk hospedada localmente (SIL OFL): o navegador não consulta
   servidores do Google para exibir o texto do site. Fonte variável 300–700. */
@font-face {
  font-family: "Space Grotesk";
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk/SpaceGrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk/SpaceGrotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Canela";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/canela/canela-light.otf") format("opentype");
}

:root {
  --green-black: #121211;
  --surface: #1a1a18;
  --surface-2: #212020;
  --ice: #fffef7;
  --ice-60: rgba(255, 254, 247, 0.6);
  --ice-40: rgba(255, 254, 247, 0.4);
  --ice-15: rgba(255, 254, 247, 0.15);
  --ice-08: rgba(255, 254, 247, 0.08);
  --acid: #aefe15;
  --font-body: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-editorial: "Canela", Georgia, serif;
  --section-pad-desktop: 140px;
  --section-pad-mobile: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--green-black);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grão de filme: aplicado apenas em superfícies pontuais (.grain), nunca na
   página inteira nem sobre texto — ver uso em hero, showreel e equipe */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* o conteúdo real sempre fica acima do grão — nunca por baixo dele */
.grain > .wrap { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--acid); color: var(--green-black);
  padding: 10px 16px; z-index: 10000; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: 3px;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px;
}
@media (max-width: 1100px) { .wrap { padding: 0 48px; } }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }

section { position: relative; }

.section-pad {
  padding-top: var(--section-pad-desktop);
  padding-bottom: var(--section-pad-desktop);
}
@media (max-width: 640px) {
  .section-pad { padding-top: var(--section-pad-mobile); padding-bottom: var(--section-pad-mobile); }
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-40);
  margin: 0 0 18px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

h2.section-title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
/* mesma escala do section-title, mas para h2 em .editorial-title — sem
   max-width, que atrapalharia as linhas desenhadas sem quebra própria */
.section-editorial { font-size: clamp(32px, 4.2vw, 56px); }

/* ============================================================
   TÍTULO EDITORIAL — duas vozes (Canela Light + Rise), reservado a
   momentos conceituais. Cada .e-line é uma linha desenhada à parte
   (recuo próprio); cada trecho marca sua voz com .e-canela ou .e-rise.
   Reutilizável: a composição (recuos, tamanho, alinhamento) muda por
   seção via um modificador de contexto (ex.: .intro-editorial).
   ============================================================ */
.editorial-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  text-transform: uppercase;
}
.editorial-title .e-line {
  display: block;
  line-height: 1.08;
}
@media (min-width: 641px) {
  .editorial-title .e-line { white-space: nowrap; }
}
.editorial-title .e-canela {
  font-family: var(--font-editorial);
  font-weight: 300;
  letter-spacing: -0.005em;
  /* ajuste óptico: a Canela Light "lê" menor que a Rise no mesmo tamanho nominal */
  font-size: 1.12em;
}
.editorial-title .e-rise {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.editorial-title .e-in-2 { margin-left: 0.55em; }
.editorial-title .e-in-3 { margin-left: 1.1em; }
@media (max-width: 640px) {
  .editorial-title .e-in-2, .editorial-title .e-in-3 { margin-left: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--ice-40);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ice);
  background: transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover, .btn:focus-visible { border-color: var(--ice); background: var(--ice-08); }
.btn.primary {
  background: var(--ice);
  color: var(--green-black);
  border-color: var(--ice);
}
.btn.primary:hover, .btn.primary:focus-visible {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--green-black);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  /* sem faixa/fundo — só a marca pequena e o sanduíche, soltos sobre a página */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 16px 96px;
  border-bottom-color: transparent;
}
@media (max-width: 1100px) { .nav, .nav.scrolled { padding-left: 48px; padding-right: 48px; } }
@media (max-width: 640px) { .nav, .nav.scrolled { padding: 18px 22px; } }

.nav-logo {
  width: 170px; height: 96px; /* proporção real da marca (1948:1095) num box de 170px de largura */
  flex-shrink: 0;
  -webkit-mask-image: url("../assets/logo/logo-rise.png");
  mask-image: url("../assets/logo/logo-rise.png");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background-color: var(--ice);
  transition: background-color 0.2s, width 0.4s var(--ease), height 0.4s var(--ease);
}
@media (max-width: 640px) { .nav-logo { width: 118px; height: 66px; } }
.nav-logo:hover { background-color: var(--acid); }
/* rolou a página: a marca encolhe no canto esquerdo */
.nav.scrolled .nav-logo { width: 128px; height: 72px; }
@media (max-width: 640px) { .nav.scrolled .nav-logo { width: 92px; height: 52px; } }

/* sanduíche sempre visível, desde o topo da página — os links vivem no
   menu em tela cheia (ver MENU abaixo) */
.nav-burger {
  display: block;
  width: 40px; height: 40px;
  border: 1px solid var(--ice-40);
  background: rgba(18, 18, 17, 0.28); /* legível também sobre o vídeo claro do topo */
  position: relative;
}
/* o botão vive dentro de .nav (z-index:500) — nenhum z-index só no botão o
   tira de trás da camada do menu (8500), já que o ancestral limita o
   contexto de empilhamento. Solução: elevar o .nav inteiro enquanto o menu
   estiver aberto, e esconder o resto do seu conteúdo (marca/links), deixando
   só o sanduíche visível e clicável por cima dos painéis. */
.nav.menu-open { z-index: 8600; }
.nav.menu-open .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
/* as duas barras são elementos reais (não ::before/::after) para o GSAP poder
   animar cada uma — pseudo-elementos não são alvo direto de tweens do GSAP */
.nav-burger-bar {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ice);
  top: calc(50% - 6px);
}
.nav-burger-bar-2 { top: calc(50% + 6px); }
/* sobre o contato (acid green): tinta no lugar de branco */
.nav--ink:not(.menu-open) .nav-logo { background-color: var(--green-black); }
.nav--ink:not(.menu-open) .nav-burger { border-color: rgba(18, 18, 17, 0.55); background: transparent; }
.nav--ink:not(.menu-open) .nav-burger-bar { background: var(--green-black); }


/* ============================================================
   MENU — camada fixa com fundo escurecido + painéis Acid Green que
   entram pela direita (abertura) e caem pra fora da tela (fechamento).
   Coreografia via GSAP (ver MENU em main.js); aqui só o estado visual
   de base e o fallback estático para quando o GSAP não carrega.
   ============================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 8500; /* acima do case-modal (8000), abaixo do cursor (9500) e da abertura (9999) */
  visibility: hidden;
  pointer-events: none;
}
.menu-overlay.is-active { visibility: visible; pointer-events: auto; }
.menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(18, 18, 17, 0.94);
  opacity: 0;
}
.menu-panels {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; /* rede de segurança em telas muito baixas (celular deitado) */
}
.menu-panel {
  position: relative;
  flex: 1 1 0;
  min-height: 76px;
  display: flex; align-items: center;
  padding: 0 clamp(24px, 6vw, 96px);
  background: var(--acid);
  border-bottom: 1px solid rgba(18, 18, 17, 0.14);
  text-decoration: none;
  overflow: hidden;
  /* estado fechado por padrão (sem depender do GSAP terminar de rodar antes
     do primeiro paint): fora da tela à direita — GSAP assume a partir daqui */
  transform: translateX(100%);
}
.menu-panel:last-child { border-bottom: none; }
.menu-panel-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--green-black);
  opacity: 0;
}
@media (max-width: 640px) {
  .menu-panel { padding: 0 24px; min-height: 64px; }
  .menu-panel-text { font-size: clamp(30px, 11vw, 52px); }
}

/* sem GSAP (falha de rede/CDN): mostra/esconde direto, sem coreografia —
   o menu continua 100% utilizável */
.menu-overlay.no-gsap-open .menu-backdrop { opacity: 1; }
.menu-overlay.no-gsap-open .menu-panel { transform: translateX(0); }
.menu-overlay.no-gsap-open .menu-panel-text { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .menu-backdrop, .menu-panel, .menu-panel-text { transition: opacity 0.2s linear; }
}

/* ============================================================
   PLACEHOLDER MEDIA (hero, showreel, cards, fotos)
   ============================================================ */
.placeholder-media {
  position: relative;
  width: 100%;
  height: 100%;
  /* luz direcional entrando por um canto sobre matéria escura — não um gradiente
     decorativo atrás de título, e sim a textura de base da imagem ausente */
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(174, 254, 21, 0.16), transparent 58%),
    linear-gradient(155deg, #1d1d1a 0%, #131311 48%, #0a0a09 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.placeholder-media::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.placeholder-tag {
  position: relative;
  z-index: 2;
  margin: 18px;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-black);
  background: var(--acid);
}

/* ============================================================
   ABERTURA — marca centralizada desloca para a esquerda (técnica FLIP:
   o elemento já nasce na posição final via layout normal; o JS calcula
   o deslocamento até o centro da viewport e anima até 0 — por isso não
   há posições absolutas fixas aqui, tudo vem do fluxo normal + GSAP).
   A frase revela à direita via GSAP ScrambleTextPlugin (ver main.js).
   Substitui a composição anterior (máscara de luz).
   ============================================================ */

@font-face {
  font-family: "Big Caslon CC";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* arquivo original (Carter & Cone) trazia tabelas AAT legadas (morx/feat/
     fond/prop) que o sanitizador de fontes do Chrome rejeitava ("bad table
     directory rangeShift"). Removidas e a fonte re-salva (fontTools) sem
     alterar nenhum glifo — mesmo desenho, só a estrutura interna do arquivo. */
  src:
    url("../assets/fonts/bigcaslon/BigCaslon.woff2") format("woff2"),
    url("../assets/fonts/bigcaslon/BigCaslon.ttf") format("truetype");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk/HankenGrotesk-VariableFont_wght.ttf") format("truetype-variations"), url("../assets/fonts/hanken-grotesk/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
}

.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green-black);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.intro[hidden] { display: none; }
/* abertura em cena: rolagem travada até ela terminar (ver unlockIntroScroll
   em main.js); touch-action evita o arrasto no celular */
html.intro-locked { overflow: hidden; }
.intro { touch-action: none; overscroll-behavior: none; }
.intro.intro-curtain { transform: translateY(-100%); }

.intro-inner {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(64px, 12vw, 220px);
  padding: 0 96px;
}

.intro-symbol-wrap {
  position: relative;
  flex-shrink: 0;
  width: min(24vw, 340px);
  aspect-ratio: 410 / 577;
  will-change: transform, opacity;
}
.intro-symbol {
  position: absolute; inset: 0;
  -webkit-mask-image: url("../assets/logo/rise-symbol.svg");
  mask-image: url("../assets/logo/rise-symbol.svg");
  -webkit-mask-size: cover; mask-size: cover;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background-color: var(--acid); /* fallback caso a textura falhe ao carregar */
  background-image: url("../assets/textures/green-texture.png");
  background-size: 260% auto;
  background-position: 20% 30%;
}
.intro-wordmark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 66%;
  aspect-ratio: 1948 / 1095;
  -webkit-mask-image: url("../assets/logo/logo-rise.png");
  mask-image: url("../assets/logo/logo-rise.png");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background-color: var(--ice);
}

.intro-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(22px, 3.4vw, 46px);
  text-align: right;
  will-change: opacity;
}
.intro-line { display: block; white-space: nowrap; }
.intro-plain {
  font-family: "Hanken Grotesk", var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ice);
  font-size: clamp(13px, 1.35vw, 20px);
}
.intro-accent {
  display: inline-block;
  font-family: "Big Caslon CC", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(23px, 2.43vw, 36px); /* ~1.8x do trecho em Hanken Grotesk */
  margin-left: 0.3em;
  position: relative;
  top: 0.07em; /* ajuste óptico: alinha a linha de base das duas fontes */
  background-color: var(--acid); /* fallback sem background-clip:text */
  background-image: url("../assets/textures/green-texture.png");
  background-size: 480% auto;
  background-position: 25% 60%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* recortes escolhidos por palavra — regiões claras da textura, pra nenhuma
   ficar ilegível sobre uma parte escura demais */
.intro-accent[data-word="DIZ"] { background-position: 20% 68%; }
.intro-accent[data-word="SENTEM"] { background-position: 10% 75%; }
.intro-accent[data-word="FILME"] { background-position: 30% 90%; }
@supports not (background-clip: text) {
  .intro-accent { background-image: none; color: var(--acid); -webkit-text-fill-color: currentColor; }
}

.intro-skip {
  position: absolute; right: 28px; bottom: 28px; z-index: 2;
  background: transparent;
  border: 1px solid var(--ice-15);
  color: var(--ice-60);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.intro-skip:hover, .intro-skip:focus-visible { color: var(--ice); border-color: var(--ice-40); }

@media (max-width: 860px) {
  .intro-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px;
    gap: 28px;
  }
  .intro-symbol-wrap { width: min(42vw, 200px); }
  .intro-lines { align-items: flex-start; text-align: left; }
  .intro-line { white-space: normal; }
  .intro-plain { letter-spacing: 0.16em; }
  .intro-accent { margin-left: 0; display: block; margin-top: 0.08em; }
}

/* sem pin/deslocamento nem embaralhamento: composição final direto,
   texto real sempre legível — ver também a checagem de reducedMotion
   em main.js, que pula a timeline do GSAP por completo */
@media (prefers-reduced-motion: reduce) {
  .intro { transition: none !important; }
  .intro-symbol-wrap, .intro-lines { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HERO — 5 projetos em vídeo, corte limpo, 10s cada
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.hero-track { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; /* troca instantânea — sem transição — para o corte limpo entre projetos */
}
.hero-slide.active { opacity: 1; }
.hero-slide video, .hero-slide img, .hero-slide .placeholder-media { width: 100%; height: 100%; object-fit: cover; }
/* a etiqueta de placeholder sobe para o topo, livre da navegação: a base do
   hero agora pertence ao índice numerado e ao crédito do case ativo */
.hero-slide .placeholder-media { align-items: flex-start; }
.hero-slide .placeholder-tag { margin-top: 164px; } /* limpa a nav não-rolada (148px) com folga */
@media (max-width: 640px) { .hero-slide .placeholder-tag { margin-top: 118px; } }
/* leve acomodação na revelação da abertura, não entre projetos */
.hero-track { transform: scale(1.025); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.hero.revealed .hero-track { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .hero-track { transform: none; transition: none; }
}
/* véu discreto só para a navegação continuar legível — sem finalidade decorativa */
.hero::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: 180px;
  background: linear-gradient(180deg, rgba(18,18,17,0.55) 0%, transparent 100%);
  pointer-events: none;
}

/* cromagem do hero: índice numerado (esq.) + crédito do case ativo (dir.) —
   refletem o mesmo estado do carrossel de vídeos já controlado em main.js */
.hero-chrome {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding: 0 96px 44px;
  pointer-events: none;
}
.hero-chrome::before {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; z-index: -1;
  height: 220px;
  background: linear-gradient(0deg, rgba(18,18,17,0.6) 0%, transparent 100%);
}
@media (max-width: 1100px) { .hero-chrome { padding: 0 48px 40px; } }
@media (max-width: 640px) {
  .hero-chrome { padding: 0 22px 88px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 16px; }
}

.hero-index { display: flex; gap: 28px; pointer-events: auto; }
@media (max-width: 640px) { .hero-index { gap: 18px; } }
.hero-index-item {
  position: relative;
  background: none; border: none; padding: 0 0 10px;
  color: var(--ice-40);
  transition: color 0.3s var(--ease);
}
.hero-index-item:hover, .hero-index-item:focus-visible { color: var(--ice-60); }
.hero-index-item.active { color: var(--ice); }
.hero-index-num { font-size: 14px; letter-spacing: 0.04em; font-weight: 600; }
.hero-index-bar {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ice-15);
  overflow: hidden;
}
.hero-index-bar::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--acid);
  transform: scaleX(0); transform-origin: left;
}
.hero-index-item.running .hero-index-bar::after { animation: hero-progress 10s linear forwards; }
@keyframes hero-progress { to { transform: scaleX(1); } }

.hero-current {
  text-align: right;
  color: var(--ice);
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer;
  pointer-events: auto;
}
.hero-current:hover .hero-current-client, .hero-current:focus-visible .hero-current-client { color: var(--acid); }
@media (max-width: 640px) { .hero-current { text-align: left; } }
.hero-current-client {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  text-transform: uppercase; letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}
.hero-current-title {
  color: var(--ice-60);
  font-size: clamp(13px, 1.2vw, 15px);
}
@media (prefers-reduced-motion: reduce) {
  .hero-index-bar::after { animation: none !important; }
}

/* movido para o topo, abaixo da navegação: o rodapé do hero agora pertence
   ao índice numerado (esq.) e ao crédito do case ativo (dir.) */
.hero-motion-toggle {
  position: absolute; z-index: 2;
  right: 96px; top: 108px;
  border: 1px solid var(--ice-15);
  background: transparent;
  color: var(--ice-40);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-motion-toggle:hover, .hero-motion-toggle:focus-visible { color: var(--ice); border-color: var(--ice-40); }
@media (max-width: 1100px) { .hero-motion-toggle { right: 48px; } }
@media (max-width: 640px) { .hero-motion-toggle { display: none; } }

.scroll-indicator {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%);
  z-index: 2;
}
@media (max-width: 640px) { .scroll-indicator { display: none; } }
.scroll-indicator .line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--acid), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator .line { animation: none; opacity: 0.6; }
}

/* ============================================================
   CLIENTES
   ============================================================ */
.clients { padding: 72px 0; }
.clients-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-40);
  margin-bottom: 40px;
}
/* carrossel contínuo: todas as marcas com o mesmo peso, lado a lado, em loop */
.clients-track-outer {
  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);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: clients-marquee 60s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* logos reais, todos em Ice White chapado (mesmo arquivo, sem cor de marca) —
   só a altura é fixa (50px); a largura de cada logo respeita sua proporção
   original, sem teto de largura */
.client-logo { display: flex; align-items: center; flex-shrink: 0; }
.client-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.client-logo img:hover { opacity: 1; }
@media (max-width: 640px) {
  .clients-track { gap: 48px; animation-duration: 45s; }
  .client-logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
  }
  .clients-track [aria-hidden="true"] { display: none; }
}

/* ============================================================
   SHOWREEL CINEMÁTICO — o vídeo cresce até tela cheia conforme a
   rolagem, depois escurece e revela o manifesto por cima
   ============================================================ */
.cinematic {
  position: relative;
  height: 340vh; /* distância de rolagem que alimenta as três fases: crescer, escurecer, construir o texto */
}
.cinematic-anchor { position: absolute; top: 82%; left: 0; }
.cinematic-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cinematic-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  /* tamanho inicial de segurança — o JS assume o controle assim que roda */
  width: min(1040px, 90vw);
  height: calc(min(1040px, 90vw) * 9 / 16);
}
.cinematic-media .showreel-player { width: 100%; height: 100%; display: block; }
.showreel-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
}
.showreel-video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  background: var(--surface);
}
/* botão textual do showreel: só no modo "reduzir movimento", onde o botão
   circular não existe e o quadro já está escurecido sob o manifesto */
.showreel-alt { display: none; }
@media (prefers-reduced-motion: reduce) {
  .showreel-alt {
    display: inline-flex; align-items: center; gap: 10px;
    position: absolute; left: 50%; bottom: clamp(96px, 14vh, 150px); transform: translateX(-50%);
    z-index: 6; padding: 12px 20px;
    border: 1px solid var(--ice-40); border-radius: 0;
    background: rgba(18, 18, 17, 0.7); color: var(--ice);
    font: 600 13px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; transition: border-color 0.2s, color 0.2s;
  }
  .showreel-alt svg { fill: currentColor; }
  .showreel-alt:hover, .showreel-alt:focus-visible { border-color: var(--acid); color: var(--acid); }
  /* tocando: o texto e o escurecimento saem da frente do player */
  .cinematic.is-showreel-playing .cinematic-darken,
  .cinematic.is-showreel-playing .cinematic-text { opacity: 0 !important; visibility: hidden; pointer-events: none; }
}
.showreel-embed {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; border: 0; background: #000;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid var(--ice-40);
  background: rgba(18,18,17,0.55);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, opacity 0.4s var(--ease);
  /* é um <button> de verdade agora — sem isso, o navegador soma a própria
     borda/aparência nativa por cima do círculo desenhado aqui */
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font: inherit;
}
.play-btn:hover, .play-btn:focus-visible { transform: translate(-50%, -50%) scale(1.08); border-color: var(--acid); }
/* some quando o manifesto começa a aparecer, ou assim que a reprodução
   começa — nos dois casos os controles nativos do vídeo já bastam */
.cinematic-media.text-phase .play-btn,
.showreel-player.is-playing .play-btn { opacity: 0; pointer-events: none; }
.play-btn svg { fill: var(--ice); margin-left: 4px; }
.play-btn:hover svg, .play-btn:focus-visible svg { fill: var(--acid); }

/* opacidade controlada via JS (style.opacity), amarrada ao progresso do scroll —
   sem transição CSS aqui, para acompanhar a rolagem 1:1, sem atraso */
.cinematic-darken {
  position: absolute; inset: 0; z-index: 2;
  background: var(--green-black);
  opacity: 0;
  pointer-events: none;
}

/* marcas decorativas (mesmo grafismo do "REC & ROLL") girando em paralaxe
   sobre o vídeo escurecido — puro fundo, sempre atrás do manifesto
   (z-index 3). O ciclo de troca de quadros é o mesmo "method-mark-cycle";
   a rotação/paralaxe/desfoque por velocidade vem do scroll (ver main.js). */
.cinematic-marks { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.cinematic-mark {
  position: absolute;
  width: clamp(220px, 22vw, 380px);
  aspect-ratio: 1 / 1;
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform, filter;
}
.cinematic-mark--a { top: 6%; left: -4%; }
.cinematic-mark--b { bottom: 4%; right: -6%; width: clamp(180px, 18vw, 320px); }
.cinematic-mark-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: method-mark-cycle 7s ease-in-out infinite;
}
.cinematic-mark-frame:nth-child(2) { animation-delay: 2.33s; }
.cinematic-mark-frame:nth-child(3) { animation-delay: 4.66s; }
.cinematic-mark--b .cinematic-mark-frame { animation-duration: 8s; animation-delay: 1s; }
.cinematic-mark--b .cinematic-mark-frame:nth-child(2) { animation-delay: 3.66s; }
.cinematic-mark--b .cinematic-mark-frame:nth-child(3) { animation-delay: 6.33s; }
@media (max-width: 640px) {
  .cinematic-mark--a { width: clamp(140px, 40vw, 220px); top: 4%; left: -8%; }
  .cinematic-mark--b { width: clamp(120px, 34vw, 190px); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-mark-frame { animation: none !important; opacity: 0; }
  .cinematic-mark-frame:first-child { opacity: 1; }
}

.cinematic-text {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 32px;
  pointer-events: none;
}
.manifesto-lines {
  max-width: min(1400px, 94vw);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 20px);
  line-height: 1.85;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
/* cada caractere se constrói conforme a rolagem passa por essa faixa —
   estado "não construído": completamente invisível até o momento exato em
   que a rolagem chega nele — nada de pré-visualização fantasma */
.manifesto-lines .word { display: inline-block; white-space: nowrap; }
.manifesto-lines .char {
  display: inline-block;
  opacity: 0;
  filter: blur(3px);
  transform: translateY(4px);
  transition: opacity 0.12s linear, filter 0.12s linear, transform 0.12s linear, color 0.2s linear;
}
.manifesto-lines .char.active { opacity: 1; filter: blur(0); transform: translateY(0); }
.manifesto-lines .line.accent .char.active { color: var(--acid); }

/* sem rolagem-espetáculo: vídeo já em tela cheia e escurecido, texto
   inteiramente construído — a experiência continua completa parada */
@media (prefers-reduced-motion: reduce) {
  .cinematic { height: auto; }
  .cinematic-stage { position: relative; height: 100svh; }
  .cinematic-media { width: 100% !important; height: 100% !important; }
  .play-btn { display: none; }
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 44px;
}
.portfolio-head--centered { display: block; text-align: center; margin-bottom: 0; }

/* título "É assim que a gente vê" — nasce no canto direito e é arrastado
   até o canto esquerdo conforme a rolagem desce, sem pin (ver
   setupPortfolioTitle em main.js) — nada de distância de rolagem extra
   reservada depois dela, e o texto nunca é deformado. Sem JS, fica parado
   e centralizado (é o estado de repouso abaixo).
   Fonte única (sem mistura Canela/Rise), tudo maiúsculo. */
.portfolio-title-stage {
  position: relative;
  height: clamp(120px, 20vh, 200px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.portfolio-title-track {
  width: 100%;
  display: flex;
  justify-content: center;
  will-change: transform;
}
.portfolio-title-text {
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: clamp(30px, 4.6vw, 60px);
  color: var(--ice);
}
@media (max-width: 640px) {
  .portfolio-title-stage { height: clamp(80px, 16vh, 140px); }
}

/* marcas da Rise deslizando em sentido contrário ao título (ver
   setupPortfolioMarks em main.js) — puro fundo, atrás do texto, com o
   mesmo grafismo/ciclo de quadros do "REC & ROLL". Posição de repouso (sem
   JS/GSAP ou com prefers-reduced-motion): uma em cada lado. */
.portfolio-intro { position: relative; }
.portfolio-intro > .wrap, .portfolio-title-stage { position: relative; z-index: 1; }
.portfolio-marks {
  position: absolute; inset: -56px 0 -32px 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.portfolio-mark {
  position: absolute; left: 0;
  aspect-ratio: 1 / 1;
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform, filter;
}
.portfolio-mark--a { top: 6%; width: clamp(180px, 17vw, 320px); transform: translateX(4vw); }
.portfolio-mark--b { top: 46%; width: clamp(110px, 10vw, 190px); transform: translateX(86vw); }
.portfolio-mark-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: method-mark-cycle 6s ease-in-out infinite;
}
.portfolio-mark-frame:nth-child(2) { animation-delay: 2s; }
.portfolio-mark-frame:nth-child(3) { animation-delay: 4s; }
.portfolio-mark--b .portfolio-mark-frame { animation-duration: 7s; }
.portfolio-mark--b .portfolio-mark-frame:nth-child(2) { animation-delay: 2.33s; }
.portfolio-mark--b .portfolio-mark-frame:nth-child(3) { animation-delay: 4.66s; }
@media (max-width: 640px) {
  .portfolio-mark--a { width: clamp(120px, 34vw, 180px); }
  .portfolio-mark--b { width: clamp(80px, 22vw, 120px); }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-mark-frame { animation: none !important; opacity: 0; }
  .portfolio-mark-frame:first-child { opacity: 1; }
}

.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  margin-bottom: 44px;
}
.filter-chip {
  position: relative;
  padding: 0 0 8px;
  border: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ice-40);
  background: transparent;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.filter-chip::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--acid);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.filter-chip:hover { color: var(--ice-60); }
.filter-chip.active { color: var(--ice); }
.filter-chip.active::after { transform: scaleX(1); }

/* grade edge-to-edge: capas coladas uma na outra, sem gutter nem traço
   de fundo entre elas — divisão direta, um card encosta no outro */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.p-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.p-card img, .p-card .placeholder-media { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.p-card:hover img, .p-card:hover .placeholder-media { transform: scale(1.035); }
/* quando há vídeo real: a capa serve de poster e o vídeo entra em crossfade
   por cima ao passar o mouse — pausado e escondido fora do hover */
.p-card video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.p-card:hover video { opacity: 1; }

/* nome do projeto centralizado sobre a capa: mix-blend-mode:difference inverte
   o texto pixel a pixel contra a imagem por baixo — fica legível tanto sobre
   fundos claros (vira escuro) quanto escuros (vira claro), sem precisar de
   véu/scrim que esconderia a própria foto de capa */
.p-card-title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.p-card-title span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 2.1vw, 30px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ice);
  mix-blend-mode: difference;
  max-width: 20ch;
}
@media (max-width: 720px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .p-card { aspect-ratio: 4/3; }
}

/* faixa de selos: altura máxima de 50px cada, espaçada e com respiro
   generoso em cima e embaixo; overflow:hidden segura a deriva horizontal
   da paralaxe sem gerar rolagem lateral na página */
.portfolio-seals {
  position: relative; z-index: 3;
  overflow: hidden;
  /* a faixa sobe e cobre a base dos últimos portfólios: o recuo negativo
     é o respiro de cima (padding) + ~5vw de sobreposição de verdade — a
     ponta esquerda (que desce pela inclinação) entra ~2,5vw, a direita ~7,5vw */
  --seals-pad-top: clamp(64px, 8vw, 150px);
  margin-top: calc(-1 * (var(--seals-pad-top) + 5vw));
  padding: var(--seals-pad-top) 0 clamp(20px, 2.5vw, 48px);
  pointer-events: none; /* o espaço vazio das pontas não bloqueia os cards */
}
.portfolio-seals .seals-tape { pointer-events: auto; }
/* fitas de ponta a ponta (mais largas que a tela), em ângulos opostos: a
   verde com os nomes por baixo, a preta com os selos por cima, apertadas
   uma contra a outra formando uma cunha */
.seals-tape {
  position: relative;
  width: 118vw; margin-left: -9vw;
  display: flex; align-items: center;
  overflow: hidden;
}
.seals-tape--text {
  height: clamp(110px, 11.6vw, 200px);
  /* a base da fita fica sob a fita preta: o texto sobe pra nunca ser
     cortado pela sobreposição */
  padding-bottom: clamp(26px, 3.8vw, 66px);
  box-sizing: border-box;
  background: var(--acid); color: var(--green-black);
  transform: rotate(-2.4deg);
  z-index: 1;
}
.seals-tape--seals {
  height: clamp(116px, 11vw, 200px);
  margin-top: clamp(-34px, -2.2vw, -16px);
  background: #080807;
  transform: rotate(1.9deg);
  z-index: 2;
}
.seals-track { display: flex; align-items: center; flex: 0 0 auto; width: max-content; will-change: transform; }
.seals-tape--text .seals-track { white-space: nowrap; }
.seals-tape--text span {
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 82px); line-height: 1; letter-spacing: -0.03em;
}
.seals-tape--text i { font-style: normal; margin: 0 0.45em; }
.seals-tape--seals .seals-track { gap: clamp(48px, 5.2vw, 100px); padding-right: clamp(48px, 5.2vw, 100px); }
/* selo = máscara do PNG branco pintada com background-color: no hover vira
   o verde da marca e cresce um pouco (altura fixa, largura pela proporção) */
.portfolio-seal {
  display: block; flex: 0 0 auto;
  height: clamp(56px, 5.6vw, 96px);
  aspect-ratio: var(--ar);
  background-color: var(--ice);
  /* a imagem (mask-image) vem inline no HTML, relativa ao documento */
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: 0.85;
  cursor: default;
  transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.portfolio-seal:hover {
  background-color: var(--acid);
  opacity: 1;
  transform: scale(1.18);
}
@media (max-width: 640px) {
  .seals-tape--text { height: 96px; padding-bottom: 26px; }
  .seals-tape--seals { height: 96px; }
  .portfolio-seal { height: 52px; }
}

/* ============================================================
   WORK CINEMA — cada case é uma "página de título" ao estilo de um serviço
   de streaming, dentro de UMA seção pinada (sem pin aninhado por imagem).
   A rolagem vertical avança uma única timeline GSAP: a imagem entra em
   quadro reduzido, cresce até tela cheia e escurece nas bordas; por cima,
   ao mesmo tempo, a logo real do cliente + descrição + botão de play (abre
   o trailer) e a fileira de imagens do case (desliza da direita) — tudo no
   mesmo quadro, sem etapas separadas. Ver WORK CINEMA em main.js.
   Verde-ácido só em detalhes de navegação/indicador — nunca sobre a
   imagem do case. Sem
   GSAP/ScrollTrigger, com prefers-reduced-motion ou em telas estreitas,
   cai num fluxo vertical comum (.work-cinema--flow) sem pin/zoom/paralaxe.
   ============================================================ */
.work-cinema { position: relative; background: var(--green-black); }
.work-cinema-head {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  padding-top: 64px; padding-bottom: 28px;
  background: var(--green-black);
}
@media (max-width: 640px) { .work-cinema-head { padding-top: var(--section-pad-mobile); padding-bottom: 28px; } }
.work-cinema-head .eyebrow { color: rgba(255, 254, 247, 0.5); }
.work-skip {
  border: none; background: none; padding: 4px 0;
  font-family: var(--font-body); font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 254, 247, 0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.work-skip:hover, .work-skip:focus-visible { color: var(--acid); }
/* sem pin (reduced-motion, telas estreitas ou falha de ScrollTrigger): os
   cases já ficam legíveis em fluxo normal, pular não agrega nada */
.work-cinema--flow .work-skip { display: none; }

.work-cinema-viewport {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--green-black);
}
.work-cinema-stage { position: absolute; inset: 0; }

.work-veil {
  position: absolute; inset: 0;
  background: var(--green-black);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

/* -------- palco de cada case: os dois cases ficam empilhados no mesmo
   espaço; só o ativo é visível/focável (visibility soma a opacity pra
   tirar o inativo da ordem de tabulação, não só da tela) -------- */
.work-case {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.work-case.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

/* página de título: a imagem do case já ocupa a tela inteira (sem moldura,
   sem recorte animado); por cima, na ordem em que a rolagem avança, a
   vinheta escurece esquerda + base, entram logo, texto e selos, o play
   aparece e a fileira de imagens desliza da direita pra esquerda. As
   proporções seguem a composição de referência (16:9 a 2000px): tudo em
   vw, com limite por vh pra telas baixas. */
.wc-hero { position: absolute; inset: 0; }
.wc-hero-frame {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--surface);
}
.wc-hero-frame img, .wc-hero-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wc-hero-frame video { opacity: 0; transition: opacity 0.5s; }
.wc-hero-frame video.is-playing { opacity: 1; }
/* vinheta: escurece a esquerda e a base (onde ficam texto e imagens),
   deixando o lado direito/alto da imagem limpo — nunca uma camada verde */
.wc-vignette {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.62) 20%, rgba(8, 8, 8, 0.2) 40%, rgba(8, 8, 8, 0) 56%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.55) 18%, rgba(8, 8, 8, 0) 46%);
}

/* ficha do título — ancorada embaixo à esquerda (x = 6,5vw na referência) */
.wc-hero-text {
  position: absolute; z-index: 2;
  left: 6.5vw; bottom: 11vh;
  width: min(26vw, 520px);
  font-size: clamp(12px, min(1.05vw, 1.8vh), 21px);
}
.wc-logo {
  display: block;
  width: min(25vw, 40vh); height: auto;
  margin: 0 0 clamp(18px, 2.6vw, 52px);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.4));
}
/* sem logo cadastrado (ver campo "logo" em data.js): título estilizado */
.wc-title {
  margin: 0 0 clamp(18px, 2.6vw, 52px);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  line-height: 0.96; letter-spacing: -0.01em;
  font-size: clamp(34px, 5.6vw, 76px);
  color: var(--ice);
}
.wc-title-line { display: block; white-space: nowrap; }
/* Space Grotesk Medium, branco, mesma medida da referência */
.wc-desc p, .wc-services {
  margin: 0 0 1.2em;
  font-family: var(--font-body); font-weight: 500;
  font-size: 1em; line-height: 1.22;
  color: var(--ice);
}
.wc-desc p:last-child { margin-bottom: 0; }
.wc-services { margin: 1.2em 0 0; }
/* selos reais da Rise (assets/seals, extraídos do .ai do cliente) */
.wc-seals {
  display: flex; align-items: flex-end; gap: clamp(14px, 1.8vw, 36px);
  margin-top: clamp(22px, 3.4vw, 68px);
}
.wc-seal { display: block; height: clamp(54px, 5.4vw, 108px); width: auto; }

/* play grande, translúcido, na área da imagem (x 72%, y 38% na referência) */
.wc-play-btn {
  position: absolute; z-index: 2;
  left: var(--play-x, 72%); top: var(--play-y, 38%);
  width: clamp(72px, 6.8vw, 136px); height: clamp(72px, 6.8vw, 136px);
  margin: calc(clamp(72px, 6.8vw, 136px) / -2) 0 0 calc(clamp(72px, 6.8vw, 136px) / -2);
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(190, 196, 206, 0.34);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: rgba(255, 254, 247, 0.72);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.wc-play-btn svg { width: 34%; height: auto; margin-left: 6%; }
.wc-play-btn:hover, .wc-play-btn:focus-visible { background: var(--ice); color: var(--green-black); }

/* fileira de imagens: começa em 35,8vw e continua além da borda direita
   (a terceira fica cortada, como na referência); cada cartão 20,3vw x 16:9 */
.wc-side-gallery {
  position: absolute; z-index: 2;
  left: 35.8vw; bottom: 10.7vh;
  display: flex; gap: 2.35vw;
}
.wc-thumb {
  flex: 0 0 auto; padding: 0; border: none; border-radius: clamp(8px, 0.6vw, 12px);
  width: 20.3vw; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--surface);
  cursor: pointer;
}
/* o hover mexe só na imagem interna — transform/transition no próprio
   cartão brigaria com o deslize controlado pela rolagem (GSAP) */
.wc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.wc-thumb:hover img, .wc-thumb:focus-visible img { transform: scale(1.05); }

.work-chrome {
  position: absolute;
  left: 0; right: 0; bottom: clamp(20px, 3.6vh, 40px);
  z-index: 7;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  pointer-events: none;
}
.work-chrome > * { pointer-events: auto; }
.work-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 254, 247, 0.3);
  background: rgba(18, 18, 17, 0.55);
  color: var(--ice);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}
.work-nav-btn:hover, .work-nav-btn:focus-visible { border-color: var(--acid); background: var(--acid); color: var(--green-black); }
.work-nav-btn:disabled { opacity: 0.3; cursor: default; }
.work-nav-btn:disabled:hover { border-color: rgba(255, 254, 247, 0.3); background: rgba(18, 18, 17, 0.55); color: var(--ice); }
.work-progress {
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 254, 247, 0.55);
  min-width: 5.5ch; text-align: center;
}
#workProgressNum { color: var(--acid); }

/* ---- fluxo (reduced-motion, telas estreitas ou sem ScrollTrigger):
   narrativa vertical simples por case — imagem principal, logo + descrição,
   selos, play, fileira de imagens. Nada de pin, zoom contínuo ou
   paralaxe; textos e link reais, sempre acessíveis. */
.work-cinema--flow .work-cinema-viewport { height: auto; overflow: visible; }
.work-cinema--flow .work-cinema-stage { position: static; }
.work-cinema--flow .work-veil, .work-cinema--flow .work-chrome { display: none; }
.work-cinema--flow .work-case {
  position: relative; inset: auto;
  opacity: 1; visibility: visible; pointer-events: auto;
  display: block;
  padding: 64px 24px;
}
.work-cinema--flow .wc-hero { position: relative; inset: auto; display: block; }
.work-cinema--flow .wc-hero-frame {
  position: relative; inset: auto;
  width: 100%; aspect-ratio: 4/3; max-width: 720px; margin: 0 auto 28px;
}
.work-cinema--flow .wc-hero-frame video { display: none; } /* prévia é um efeito do modo cinema; no fluxo, só a imagem */
.work-cinema--flow .wc-vignette { display: none; } /* texto já fica abaixo da imagem no fluxo */
.work-cinema--flow .wc-hero-text {
  position: relative; inset: auto !important; left: auto !important; bottom: auto !important;
  width: auto; max-width: 720px; margin: 0 auto;
  font-size: 16px;
}
.work-cinema--flow .wc-logo { width: min(70vw, 300px); }
.work-cinema--flow .wc-seal { height: 64px; }
.work-cinema--flow .wc-play-btn {
  position: relative; inset: auto; left: auto; top: auto;
  display: flex; width: 72px; height: 72px; margin: 28px auto 0; max-width: 720px;
}
.work-cinema--flow .wc-side-gallery {
  position: relative; inset: auto !important; left: auto !important; bottom: auto !important;
  max-width: 720px; margin: 28px auto 0;
  flex-wrap: wrap; gap: 14px;
}
.work-cinema--flow .wc-side-gallery .wc-thumb { width: calc(50% - 7px); opacity: 1 !important; transform: none !important; }
@media (max-width: 640px) {
  .work-cinema--flow .wc-side-gallery .wc-thumb { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-hero-text, .wc-side-gallery, .wc-thumb, .wc-play-btn { transition: none !important; }
}

/* ============================================================
   SPLIT TEXT REVEAL — utilitário reaproveitável (metodologia e, no
   futuro, outros trechos): cada `.split` dentro de um `.container` é
   dividido em linhas mascaradas (GSAP SplitText) e revelado conforme
   cruza o centro da viewport (ver setupMethod em main.js). Visível por
   padrão (opacity:1) para nunca depender do JS/plugin pra aparecer —
   só o movimento de entrada é reforço, nunca condição de acesso.
   ============================================================ */
.split { opacity: 1; }

/* ============================================================
   METODOLOGIA — fundo fotográfico com paralaxe (GSAP), texto em cima
   revelado linha a linha. O gradiente escurece a imagem da esquerda
   (onde a pessoa aparece) para a direita (onde o texto fica), e
   esmaece nas bordas superior/inferior pra costurar com as seções
   escuras vizinhas sem uma quebra visível.
   ============================================================ */
.method { position: relative; overflow: hidden; background: var(--green-black); }
.method-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.method-bg img {
  position: absolute; left: 0; top: -15%;
  width: 100%; height: 130%;
  object-fit: cover; object-position: left center;
  will-change: transform;
}
.method-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--green-black) 0%, rgba(18, 18, 17, 0) 14%, rgba(18, 18, 17, 0) 86%, var(--green-black) 100%),
    linear-gradient(90deg, rgba(18, 18, 17, 0.05) 0%, rgba(18, 18, 17, 0.55) 48%, rgba(18, 18, 17, 0.92) 76%, var(--green-black) 100%);
}
.method-content { position: relative; z-index: 1; }
.method-content .eyebrow { text-align: right; }

/* Marca decorativa (recorte com transparência) no canto superior esquerdo —
   puro fundo, atrás do título/conteúdo. Três quadros (mesmo grafismo em
   ângulos diferentes) se revezam num ciclo contínuo e suave, lendo como um
   desfoque de movimento girando — nunca chega a ficar nítido/estático. */
.method-mark {
  position: absolute;
  top: clamp(-48px, -5vh, -8px); left: clamp(-64px, -5vw, -12px);
  width: clamp(240px, 24vw, 420px);
  aspect-ratio: 1 / 1;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, filter;
}
.method-mark-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: method-mark-cycle 6s ease-in-out infinite;
}
.method-mark-frame:nth-child(2) { animation-delay: 2s; }
.method-mark-frame:nth-child(3) { animation-delay: 4s; }
@keyframes method-mark-cycle {
  0%, 100% { opacity: 0; }
  8% { opacity: 1; }
  28% { opacity: 1; }
  40% { opacity: 0; }
}
@media (max-width: 640px) { .method-mark { width: clamp(160px, 40vw, 240px); top: -24px; left: -28px; } }
@media (prefers-reduced-motion: reduce) {
  .method-mark-frame { animation: none !important; opacity: 0; }
  .method-mark-frame:first-child { opacity: 1; }
}

/* Foto (recorte com transparência) — camada acima do conteúdo/linhas
   (z-index maior que .method-content), ancorada à esquerda/base da seção,
   no mesmo lugar em que a pessoa aparecia antes dentro do fundo. As linhas
   de ".method-item" continuam de ponta a ponta da seção por baixo dela. */
.method-photo {
  position: absolute;
  left: 0; bottom: 0;
  height: clamp(420px, 62vh, 760px);
  max-width: 60vw;
  z-index: 2;
  pointer-events: none;
}
.method-photo img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: left bottom; }
@media (max-width: 860px) { .method-photo { height: clamp(320px, 48vh, 520px); max-width: 46vw; } }
@media (max-width: 640px) { .method-photo { height: clamp(220px, 32vh, 340px); max-width: 40vw; } }

/* Título "REC & ROLL" — três elementos independentes (não uma imagem):
   REC (sans bold) e ROLL (sans leve) compartilham a linha de base; o &
   (serifado, Canela) é bem maior e se sobrepõe às palavras pra cima e pra
   baixo, formando uma assinatura única. A composição final já nasce
   montada aqui via CSS — a entrada (REC da esquerda, ROLL da direita, &
   caindo por cima) é só um reforço de movimento aplicado por cima via
   transform (ver setupMethodTitle em main.js); sem JS/GSAP ou com
   prefers-reduced-motion, o título já aparece exatamente nesta posição. */
.method-title {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 22px 0 18px;
  padding: 0.2em 0 0.1em;
  font-family: var(--font-body); text-transform: uppercase;
  font-size: clamp(38px, 6.6vw, 100px);
  line-height: 0.92; letter-spacing: -0.01em;
  color: var(--ice);
}
.mt-rec, .mt-roll {
  position: relative;
  z-index: 1;
  display: inline-block;
  will-change: transform, filter;
}
.mt-rec { font-weight: 800; margin-right: -0.06em; }
.mt-roll { font-weight: 300; margin-left: -0.06em; }
.mt-amp {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: 2.3em;
  line-height: 1;
  color: var(--acid);
  will-change: transform, filter;
}
@media (max-width: 640px) {
  .method-title { font-size: clamp(30px, 13vw, 46px); padding: 0.3em 0 0.15em; }
}
.method-lead {
  margin: 0 0 0 auto;
  font-family: var(--font-editorial); font-weight: 300;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--ice-60);
  max-width: 38ch;
  text-align: right;
}
@media (max-width: 640px) { .method-lead { max-width: 64vw; } }
/* sequência tipográfica, não cartões: um hairline entre passos, sem caixas.
   A linha (border-top) fica de ponta a ponta da seção — a foto (z-index
   acima) se sobrepõe à parte esquerda dela; só o par número+texto é
   empurrado pro lado direito via justify-content, sem estreitar a linha. */
.method-sequence { margin-top: 64px; }
.method-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 480px);
  justify-content: end;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--ice-08);
}
.method-sequence .method-item:last-child { border-bottom: 1px solid var(--ice-08); }
@media (max-width: 640px) {
  /* a foto ocupa até 40vw à esquerda — a coluna de texto fica presa a uma
     largura que sobra limpa à direita dela, com folga, nunca sobrepondo */
  .method-item { grid-template-columns: 32px minmax(0, 46vw); gap: 14px; padding: 24px 0; }
  .method-item h3 { font-size: 17px; }
  .method-item p { font-size: 13.5px; }
}
.method-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--acid); }
.method-item h3 { font-size: 20px; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.method-item p { color: var(--ice-60); font-size: 14.5px; margin: 0; max-width: 52ch; }
.method-support {
  margin-top: 56px; margin-left: auto; margin-right: 0;
  text-align: right; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 24px);
  color: var(--ice-60); max-width: 30ch;
}
@media (max-width: 640px) { .method-support { max-width: 48vw; font-size: 16px; } }

/* ============================================================
   DIRETORES — retratos em 360°, um por vez; rolagem controla o
   currentTime do vídeo, a posição/nitidez do nome e a revelação da bio.
   Progresso vem de getBoundingClientRect, igual ao padrão do .cinematic.
   ============================================================ */
.directors {
  position: relative;
  background: var(--green-black);
}
.directors-stage {
  position: relative;
  height: 600vh; /* ~2 alturas de viewport por diretor (3 diretores) */
}
@media (max-width: 640px) {
  .directors-stage { height: 480vh; }
}
.directors-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.directors-label {
  position: absolute;
  top: 128px;
  left: 24px;
  z-index: 4;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-60);
}
.directors-index { color: var(--ice-40); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .directors-label { top: 96px; left: 20px; } }

.directors-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.directors-nav-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 4px 6px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ice-40);
  cursor: pointer;
  transition: color 0.2s ease;
}
.directors-nav-btn:hover { color: var(--ice-60); }
.directors-nav-btn[aria-current="true"] { color: var(--acid); }

.directors-progress {
  width: 64px;
  height: 1px;
  background: var(--ice-15);
  overflow: hidden;
}
.directors-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform-origin: left;
  transform: scaleX(0);
}

.directors-status {
  position: absolute;
  top: 160px;
  left: 24px;
  z-index: 4;
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-40);
}
.directors-status:empty { display: none; }
@media (max-width: 640px) {
  .directors-status { top: 128px; left: 20px; }
  .directors-progress { width: 40px; }
}

.directors-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--green-black) center 30% / cover no-repeat;
  /* o poster do diretor ativo fica de fundo (JS troca via background-image)
     até a sequência de imagens carregar — nunca aparece um quadro vazio */
}
.directors-canvas {
  width: 100%;
  height: 100%;
  display: block;
  /* o recorte (foco + zoom, ver DIRECTORS[].framing) é feito no drawImage,
     quadro a quadro — canvas não tem object-fit/transform equivalentes */
}
/* poster fica no fundo só até o primeiro quadro real ser desenhado no canvas */
.directors-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,17,0.35) 0%, transparent 18%, transparent 72%, rgba(18,18,17,0.55) 100%);
  pointer-events: none;
}

.directors-people {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.director-entry {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden; /* nome nunca provoca rolagem horizontal da página */
}
/* composição de referência (16:9 a 2000px): nome + cargo à esquerda do
   retrato, alinhados à direita e terminando em 34% da largura; bio à
   direita, de 59% a 84,5%; os dois blocos centralizados na altura. */
.director-id {
  position: absolute;
  inset: 0 66vw 0 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  text-align: right;
  will-change: transform, filter, opacity;
}
.director-name {
  margin: 0;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(34px, 4vw, 84px);
  line-height: 1.02;
  text-transform: uppercase;
}
.director-name .d-first, .director-name .d-last { display: block; }
.director-role {
  margin: 0.45em 0 0;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(11px, 1.05vw, 22px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 254, 247, 0.55);
}
.director-copy {
  position: absolute;
  inset: 0 14vw 0 60vw;
  display: flex; align-items: center;
}
.director-bio {
  margin: 0;
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 27px);
  line-height: 2.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ice);
}
.director-bio .word {
  opacity: 0;
  filter: blur(3px);
  transition: opacity 0.18s linear, filter 0.18s linear;
}
.director-bio .word.active { opacity: 1; filter: blur(0); }

/* marcas da Rise em paralaxe (ver updateDirectors em main.js): puro fundo,
   acima do retrato e abaixo dos textos. Mesmo grafismo/ciclo de quadros do
   "REC & ROLL"; a rotação e o deslocamento vêm da rolagem. */
.directors-marks { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.directors-mark {
  position: absolute;
  aspect-ratio: 1 / 1;
  opacity: 0.85;
  mix-blend-mode: screen;
  filter: blur(1.5px);
  transition: filter 0.3s ease-out;
  will-change: transform, filter;
}
.directors-mark--a { top: -6vw; right: -7vw; width: clamp(240px, 33vw, 700px); }
.directors-mark--b { bottom: -6vw; left: -6vw; width: clamp(180px, 23vw, 480px); }
.directors-mark-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: method-mark-cycle 7s ease-in-out infinite;
}
.directors-mark-frame:nth-child(2) { animation-delay: 2.33s; }
.directors-mark-frame:nth-child(3) { animation-delay: 4.66s; }
.directors-mark--b .directors-mark-frame { animation-duration: 8s; }

@media (max-width: 900px) {
  .director-id { inset: auto 6vw 38% 6vw; align-items: flex-start; text-align: left; }
  .director-name { font-size: clamp(34px, 9.5vw, 60px); }
  .director-role { font-size: 12px; }
  .director-copy { inset: auto 6vw 6% 6vw; }
  .director-bio { font-size: clamp(11.5px, 3.3vw, 15px); line-height: 1.75; }
  .directors-mark--a { top: -12vw; right: -16vw; width: 62vw; }
  .directors-mark--b { bottom: -10vw; left: -14vw; width: 48vw; }
}

/* sem rolagem-espetáculo: os três diretores em lista estática, com poster
   e texto completos — sem pin, sem vídeo controlado por scroll. O poster
   só vira fundo aqui (var --poster); no modo normal quem aparece é o
   canvas, nunca uma imagem estática por cima dele. */
@media (prefers-reduced-motion: reduce) {
  .directors-stage { height: auto; }
  .directors-sticky { position: relative; height: auto; display: flex; flex-direction: column; }
  .directors-label { position: static; margin: var(--section-pad-mobile) 24px 32px; }
  .directors-index { display: none; }
  .directors-nav, .directors-progress { display: none; }
  .directors-status { display: none; }
  .directors-media { display: none; }
  .directors-marks { display: none; }
  .directors-people { position: static; }
  .director-entry {
    position: relative;
    inset: auto;
    opacity: 1;
    overflow: visible;
    min-height: 70vh;
    background-image: var(--poster);
    background-size: cover;
    background-position: 50% 22%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .director-id, .director-copy { position: relative; inset: auto; align-items: flex-start; text-align: left; padding: 0 24px; opacity: 1 !important; filter: none !important; transform: none !important; }
  .director-copy { padding-bottom: 40px; max-width: 60ch; margin-top: 14px; }
  .director-name { font-size: clamp(34px, 9vw, 56px); }
  .director-bio .word { opacity: 1 !important; filter: none !important; transition: none; }
}

/* ============================================================
   CONTATO — superfície inteira em acid green (fechamento da página).
   Tudo em tinta (green-black) sobre o verde; tipografia só Space Grotesk,
   igual ao resto do site (maiúsculas pesadas nos títulos, Medium no corpo).
   ============================================================ */
.contact {
  position: relative;
  background: var(--acid);
  color: var(--green-black);
  overflow: hidden;
  --ink: var(--green-black);
  --ink-60: rgba(18, 18, 17, 0.62);
  --ink-30: rgba(18, 18, 17, 0.3);
}
/* faixa corrente no topo: tinta chapada, letras no verde */
.contact-ticker { background: var(--ink); color: var(--acid); overflow: hidden; white-space: nowrap; position: relative; z-index: 2; }
.contact-ticker-track { display: inline-flex; animation: contact-ticker 38s linear infinite; }
.contact-ticker span {
  padding: 14px 0;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(13px, 1.1vw, 17px); letter-spacing: 0.14em; text-transform: uppercase;
}
.contact-ticker i { font-style: normal; margin: 0 1.1em; }
@keyframes contact-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* marcas da Rise em silhueta de tinta (o grafismo verde vira preto), atrás
   do texto, girando/deslocando com a rolagem (ver main.js) */
.contact-marks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-mark { position: absolute; aspect-ratio: 1 / 1; opacity: 0.9; will-change: transform; }
.contact-mark--a { top: 3vw; right: -7vw; width: clamp(240px, 32vw, 640px); }
.contact-mark--b { bottom: -9vw; left: -8vw; width: clamp(200px, 26vw, 520px); }
.contact-mark-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: brightness(0);
  opacity: 0;
  animation: method-mark-cycle 7s ease-in-out infinite;
}
.contact-mark-frame:nth-child(2) { animation-delay: 2.33s; }
.contact-mark-frame:nth-child(3) { animation-delay: 4.66s; }
.contact-mark--b .contact-mark-frame { animation-duration: 8s; }

.contact-inner {
  position: relative; z-index: 1;
  padding: clamp(56px, 7vw, 120px) 6.5vw clamp(72px, 8vw, 140px);
}
.contact-eyebrow { color: var(--ink); opacity: 0.7; margin: 0 0 clamp(14px, 1.6vw, 28px); }
.contact-title {
  margin: 0 0 clamp(44px, 6vw, 110px);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 8.4vw, 170px);
  line-height: 0.88; letter-spacing: -0.035em;
  color: var(--ink);
}
.contact-title .ct-line { display: block; white-space: nowrap; }
/* linha do meio só contorno e recuada: o "quebra" da composição */
.contact-title .ct-outline {
  margin-left: 12vw;
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.17vw, 3.5px) var(--ink);
}
@media (max-width: 640px) {
  .contact-title { font-size: clamp(34px, 12.4vw, 64px); }
  .contact-title .ct-outline { margin-left: 8vw; }
  .contact-title .ct-line { white-space: normal; }
}

.contact-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .contact-body { grid-template-columns: 1fr; gap: 48px; } }
.contact-side { position: sticky; top: 120px; }
@media (max-width: 900px) { .contact-side { position: static; } }
.contact-lead {
  margin: 0 0 clamp(32px, 4vw, 64px);
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(18px, 1.7vw, 28px); line-height: 1.3;
  max-width: 24ch;
}
.contact-direct { margin: 0; font-family: var(--font-body); }
.contact-direct span {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60);
}
.contact-direct a {
  display: inline-block;
  font-weight: 600; font-size: clamp(16px, 1.35vw, 22px); line-height: 1.3;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: background 0.2s, color 0.2s;
}
.contact-direct a:hover, .contact-direct a:focus-visible { background: var(--ink); color: var(--acid); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(22px, 2.4vw, 38px); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: clamp(22px, 2.4vw, 38px); }
.form-row .field { margin-bottom: 0; }
.field label {
  display: block; margin-bottom: 4px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-60);
}
.field label .optional { text-transform: none; letter-spacing: 0.02em; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(18px, 1.6vw, 26px);
  padding: 10px 0 12px;
  transition: background 0.2s, padding 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10' fill='none'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%23121211' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field select option { background: var(--ink); color: var(--acid); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background-color: rgba(18, 18, 17, 0.07);
  padding-left: 12px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg {
  display: none; margin: 8px 0 0;
  font-weight: 600; font-size: 13px; color: #7a0014;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #7a0014; }
.field.invalid .error-msg { display: block; color: #7a0014; }

/* enviar: barra de tinta de ponta a ponta, texto no verde; inverte no hover */
.contact-submit {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  margin-top: clamp(12px, 1.6vw, 28px);
  padding: clamp(18px, 2vw, 32px) clamp(20px, 2.4vw, 40px);
  border: 2px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--acid);
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(16px, 1.7vw, 28px); letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.contact-submit svg { flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.contact-submit:hover, .contact-submit:focus-visible { background: transparent; color: var(--ink); }
.contact-submit:hover svg, .contact-submit:focus-visible svg { transform: translateX(8px); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 20px; font-family: var(--font-body); font-weight: 600; font-size: 15px; min-height: 20px; color: var(--ink); }
.form-status.success { color: var(--ink); }
.form-status.error { color: #7a0014; }

@media (prefers-reduced-motion: reduce) {
  .contact-ticker-track { animation: none; }
  .contact-mark-frame { animation: none !important; opacity: 0; }
  .contact-mark-frame:first-child { opacity: 1; }
}

/* ============================================================
   LOCALIZAÇÕES
   ============================================================ */
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
@media (max-width: 760px) { .locations-grid { grid-template-columns: 1fr; gap: 36px; } }
.location-item h3 { font-size: 15px; letter-spacing: 0.06em; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.location-item .country { color: var(--ice-40); font-size: 12.5px; margin-bottom: 16px; }
.location-item p { margin: 0 0 4px; color: var(--ice-60); font-size: 14px; line-height: 1.6; }
.location-item .phone { margin-top: 10px; color: var(--ice); font-size: 14px; }

/* ============================================================
   RODAPÉ
   ============================================================ */
footer {
  padding: 64px 0 40px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
  margin-bottom: 48px;
}
.footer-logo {
  width: 130px; height: 40px;
  -webkit-mask-image: url("../assets/logo/logo-rise.png");
  mask-image: url("../assets/logo/logo-rise.png");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background-color: var(--ice);
}
/* marca da Rise + marca do grupo (TBS Group), lado a lado, separadas por
   um fio vertical fino — a Rise continua sendo a principal */
.footer-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 20px clamp(20px, 2.4vw, 36px); }
/* a caixa da marca da Rise passa a ter a proporção real (1948:1095) — sem
   o vão que o 130px fixo deixava entre ela e o fio */
.footer-brands .footer-logo { width: 78px; height: 44px; }
.footer-brands-sep { width: 1px; height: 38px; background: var(--ice-15); }
.footer-tbs { display: block; line-height: 0; opacity: 0.8; transition: opacity 0.2s; }
.footer-tbs img { display: block; height: 44px; width: auto; }
.footer-tbs:hover, .footer-tbs:focus-visible { opacity: 1; }
/* ANCINE — Manual de Aplicação de Logomarca: sem filtro, opacidade ou recolorização;
   escala uniforme (altura 56px >= Rise 44px e TBS 44px); reserva de integridade =
   altura da letra "a" (24% de 56px = 13,4px) livre em volta — aqui 32px+ de cada lado */
.footer-ancine { display: block; line-height: 0; flex: 0 0 auto; margin-left: clamp(12px, 1.6vw, 24px); }
.footer-ancine img { display: block; height: 56px; width: auto; }
.footer-ancine:focus-visible { outline: 1px solid var(--acid); outline-offset: 8px; }
@media (max-width: 640px) {
  .footer-brands .footer-logo { width: 68px; height: 38px; }
  .footer-tbs img { height: 38px; }
  .footer-ancine { margin-left: 0; }
  .footer-ancine img { height: 48px; }
  .footer-brands-sep { height: 30px; }
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--ice-60); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.footer-nav a:hover { color: var(--acid); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.footer-social a { color: var(--ice-60); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--acid); }
.footer-phone { white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  color: var(--ice-40); font-size: 12.5px;
}

/* ============================================================
   CURSOR CUSTOMIZADO (apenas sobre mídia)
   ============================================================ */
.media-cursor {
  position: fixed;
  z-index: 9500;
  width: 60px; height: 60px;
  border: 1px solid var(--ice);
  color: var(--ice);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.media-cursor.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (hover: none) { .media-cursor { display: none; } }

/* ============================================================
   MODAL DE CASE
   ============================================================ */
.case-modal[hidden] { display: none; }
.case-modal { position: fixed; inset: 0; z-index: 8000; }
.case-modal-backdrop { position: absolute; inset: 0; background: #080807; }
/* "tomada de tela": o case ocupa a viewport inteira — palco preto com a
   íntegra à esquerda, coluna verde ácido com a história à direita, faixa
   corrente com o nome do cliente no topo. Entra varrendo da direita. */
.case-modal-panel {
  position: absolute; inset: 0;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--green-black);
  animation: cm-in 0.65s var(--ease) both;
  --cm-ink: var(--green-black);
}
@keyframes cm-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.case-modal-close {
  position: fixed; top: clamp(14px, 2vw, 28px); right: clamp(14px, 2.4vw, 40px); z-index: 6;
  display: flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 20px;
  border: 2px solid var(--cm-ink, var(--green-black)); border-radius: 0;
  background: var(--green-black); color: var(--acid);
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.case-modal-close:hover, .case-modal-close:focus-visible { background: var(--ice); color: var(--green-black); }

.cm-ticker { background: #080807; color: var(--acid); overflow: hidden; white-space: nowrap; }
.cm-ticker-track { display: inline-flex; animation: contact-ticker 46s linear infinite; }
.cm-ticker span {
  padding: 14px 0;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.cm-ticker i { font-style: normal; margin: 0 1.2em; }

.cm-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: calc(100svh - 44px); }
.cm-stage {
  position: sticky; top: 0; align-self: start;
  height: calc(100svh - 44px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 4vw, 72px);
  background: #0c0c0b;
}
.cm-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cm-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-poster { position: absolute; inset: 0; }
.cm-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,7,0.7), rgba(8,8,7,0) 45%); pointer-events: none; }
.cm-player.is-playing::after { display: none; }
.cm-play {
  position: absolute; left: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 32px); z-index: 2;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0; border: 0; background: transparent; color: var(--ice); cursor: pointer;
}
.cm-play-icon {
  display: flex; align-items: center; justify-content: center;
  width: clamp(64px, 6vw, 96px); height: clamp(64px, 6vw, 96px);
  background: var(--acid); color: var(--green-black); border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.cm-play-icon svg { width: 34%; margin-left: 6%; }
.cm-play:hover .cm-play-icon, .cm-play:focus-visible .cm-play-icon { transform: scale(1.1); }
.cm-play-label {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(13px, 1.1vw, 17px); letter-spacing: 0.12em; text-transform: uppercase;
}
.cm-play-label i { font-style: normal; margin-left: 8px; color: var(--acid); }

/* a capa do próprio projeto serve de poster até o play — nada de imagem
   externa carregada antes do clique */
/* espaço reservado: projetos sem vídeo no canal */
.cm-player--empty { background: #111; }
.cm-player-bg { position: absolute; inset: 0; filter: grayscale(1) brightness(0.45); }
.cm-player-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-slot {
  position: absolute; inset: clamp(14px, 2vw, 32px); z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px;
  border: 2px dashed var(--acid); padding: clamp(16px, 2vw, 32px);
}
.cm-slot-tag {
  padding: 6px 12px; background: var(--acid); color: var(--green-black);
  font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.cm-slot p { margin: 0; color: var(--ice); font-weight: 500; font-size: clamp(14px, 1.2vw, 18px); }
.cm-slot a { color: var(--acid); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--acid); }

.cm-films { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: clamp(16px, 1.8vw, 28px); }
.cm-film {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 12px 16px; border: 2px solid var(--ice-40); border-radius: 0; background: transparent; color: var(--ice);
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cm-film b { font-weight: 800; color: var(--acid); }
.cm-film i { font-style: normal; color: var(--ice-60); }
.cm-film:hover, .cm-film:focus-visible { border-color: var(--acid); }
.cm-film[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--green-black); }
.cm-film[aria-pressed="true"] b, .cm-film[aria-pressed="true"] i { color: var(--green-black); }
.cm-yt {
  margin-left: auto;
  color: var(--ice); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 2px solid var(--acid); padding-bottom: 3px;
}
.cm-yt:hover, .cm-yt:focus-visible { color: var(--acid); }

.cm-info {
  position: relative; overflow: hidden;
  background: var(--acid); color: var(--green-black);
  padding: clamp(88px, 8vw, 120px) clamp(24px, 4vw, 72px) clamp(40px, 5vw, 80px);
}
.cm-info > *:not(.cm-mark) { position: relative; z-index: 1; }
.cm-mark {
  position: absolute; z-index: 0; top: -9vw; right: -10vw;
  width: clamp(240px, 28vw, 480px); aspect-ratio: 1 / 1;
  opacity: 0.2; mix-blend-mode: multiply;
  animation: cm-spin 60s linear infinite;
  pointer-events: none;
}
.cm-mark img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0); }
@keyframes cm-spin { to { transform: rotate(360deg); } }
.cm-eyebrow { margin: 0 0 14px; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.cm-title {
  margin: 0 0 clamp(14px, 1.6vw, 24px);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 80px); line-height: 0.92; letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.cm-tagline { margin: 0 0 clamp(24px, 3vw, 44px); font-weight: 600; font-size: clamp(16px, 1.45vw, 23px); line-height: 1.25; max-width: 30ch; }
.cm-body p { margin: 0 0 14px; font-weight: 500; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; max-width: 48ch; }
.cm-quote {
  margin: clamp(24px, 3vw, 44px) 0;
  padding: 4px 0 4px 18px; border-left: 6px solid var(--green-black);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(17px, 1.6vw, 26px); line-height: 1.12;
}
.cm-credits { margin: 0 0 clamp(28px, 3vw, 48px); border-top: 2px solid var(--green-black); }
.cm-credits div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(18, 18, 17, 0.3); }
.cm-credits dt { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.cm-credits dd { margin: 0; font-weight: 600; font-size: 15px; }
.cm-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(16px, 1.6vw, 26px) clamp(18px, 2vw, 32px);
  background: var(--green-black); color: var(--acid); border: 2px solid var(--green-black);
  font-weight: 700; font-size: clamp(15px, 1.4vw, 22px); letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cm-cta svg { transition: transform 0.3s var(--ease); }
.cm-cta:hover, .cm-cta:focus-visible { background: transparent; color: var(--green-black); }
.cm-cta:hover svg, .cm-cta:focus-visible svg { transform: translateX(8px); }

@media (max-width: 900px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-stage { position: relative; height: auto; padding: 72px 20px 24px; }
  .cm-yt { margin-left: 0; }
  .cm-info { padding: 40px 20px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-modal-panel { animation: none; }
  .cm-ticker-track, .cm-mark { animation: none; }
}

/* ============================================================
   MODAL DE VÍDEO (botão de play do Work Cinema) — cinematográfico: vídeo
   dominante, fundo bem escuro, sem painel/caixa pesada.
   ============================================================ */
.video-modal[hidden] { display: none; }
.video-modal { position: fixed; inset: 0; z-index: 8200; display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 17, 0.97); }
.video-modal-panel { position: relative; width: min(94vw, 1440px); }
.video-modal-video { display: block; width: 100%; max-height: 82vh; background: #000; }
.video-modal-video[hidden] { display: none; }
/* player do YouTube: 16:9, nunca mais alto que 82vh (a largura encolhe junto) */
.video-modal-embed {
  display: block; border: 0; background: #000;
  width: min(100%, calc(82vh * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto;
}
.video-modal-close {
  position: absolute; top: -52px; right: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--ice-15);
  background: transparent; color: var(--ice);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.video-modal-close:hover, .video-modal-close:focus-visible { border-color: var(--acid); color: var(--acid); }
.video-modal-title { margin: 16px 0 0; text-align: center; font-size: 13px; letter-spacing: 0.04em; color: var(--ice-40); }
@media (max-width: 640px) {
  .video-modal { padding: 24px 16px; }
  .video-modal-close { top: 12px; right: 12px; background: rgba(18, 18, 17, 0.7); border-color: var(--ice-40); }
  .video-modal-video { max-height: 60vh; }
  .video-modal-embed { width: 100%; }
}

/* animação de entrada de seção */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
/* "none" (não "translateY(0)"): qualquer transform diferente de "none" cria
   um novo bloco de contenção pra descendentes "position:fixed" — isso
   quebrava o pin do GSAP (usa fixed por baixo dos panos) em qualquer
   seção ".reveal" já revelada, como o título do portfólio */
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* links dos cases no rodapé — rastreáveis (internal linking) e discretos */
.footer-cases { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 28px 0 8px; }
.footer-cases span { color: var(--ice-40); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-cases a { color: var(--ice-60); font-size: 12.5px; letter-spacing: 0.04em; font-weight: 500; }
.footer-cases a:hover, .footer-cases a:focus-visible { color: var(--acid); }
