/* =========================================================
   CONKA FILMES — estilos
   Paleta oficial do manual: #181a22 · #021f59 · #035aa6 · #f87636 · #f2f5f7
   ========================================================= */

/* Raleway hospedada no próprio site (fonte variável: um arquivo cobre todos os pesos) */
@font-face { font-family: "Raleway"; src: url("../fonts/raleway.woff2") format("woff2"); font-weight: 200 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vezla"; src: url("../fonts/vezla.woff2") format("woff2"); font-display: swap; }

:root {
  --preto:   #0d0e12;
  --grafite: #181a22;
  --navy:    #021f59;
  --azul:    #035aa6;
  --laranja: #f87636;
  --gelo:    #f2f5f7;

  --texto:   #f2f5f7;
  --texto-2: rgba(242,245,247,.7);
  --texto-3: rgba(242,245,247,.52);
  --linha:   rgba(242,245,247,.12);

  --f-texto: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-apoio: "Vezla", "Raleway", system-ui, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1440px;
  /* curvas de movimento: saída longa e macia */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--preto); color: var(--texto);
  font-family: var(--f-texto); font-weight: 400; font-size: 17px; line-height: 1.65;
  text-rendering: optimizeLegibility; font-kerning: normal;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gelo); outline-offset: 3px; }   /* gelo sobre o fundo escuro: 17:1 */
::selection { background: var(--azul); color: #fff; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- tipografia ---------- */
.rotulo { font-size: 13px; color: var(--texto-3); margin: 0 0 12px; }
.titulo {
  font-weight: 400; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.025em;
  margin: 0; max-width: 18ch; text-wrap: balance;
}
.titulo strong { font-weight: 600; }
.titulo--xl { font-weight: 300; font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -.045em; max-width: 11ch; }
.secao__head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- botão pílula ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(242,245,247,.7);
  font-family: var(--f-texto); font-weight: 400; font-size: 15px; letter-spacing: 0;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s;
}
/* preenchimento que sobe de baixo ao passar o mouse */
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--texto);
  border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease);
}
.pill:hover { color: var(--preto); }
.pill:hover::before { transform: none; }
.pill--cheio { background: var(--texto); color: var(--preto); border-color: var(--texto); justify-content: center; }
.pill--cheio::before { background: var(--azul); }
.pill--cheio:hover { color: #fff; border-color: var(--azul); }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: padding .6s var(--ease), transform .8s var(--ease);
}
/* o fundo desfocado fica num pseudo-elemento: se ficasse no próprio .topo, o
   backdrop-filter prenderia o menu do celular (position: fixed) dentro do topo */
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(13,14,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .6s var(--ease);
}
.topo.is-solid { padding-block: 16px; }
.topo.is-solid::before { opacity: 1; }
.topo.is-escondido { transform: translateY(-100%); }
.topo__logo img { height: 18px; width: auto; }
.topo__nav { display: flex; align-items: center; gap: 34px; }
.topo__nav a:not(.pill) { font-size: 15px; font-weight: 400; color: var(--texto-2); position: relative; transition: color .3s; }
.topo__nav a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.topo__nav a:not(.pill):hover { color: var(--texto); }
.topo__nav a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.topo__nav .pill { height: 40px; padding: 0 18px; font-size: 14px; }
.topo__burger { display: none; width: 44px; height: 44px; position: relative; }
.topo__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--texto); transition: transform .5s var(--ease), top .5s var(--ease); }
.topo__burger span:first-child { top: 18px; }
.topo__burger span:last-child { top: 25px; }
.topo__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.topo__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- 1 · abertura ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(64px, 10vh, 120px); isolation: isolate; overflow: hidden; }
.hero__fundo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__brilho {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 78% 22%, rgba(3,90,166,.32), transparent 70%),
    radial-gradient(45% 50% at 12% 88%, rgba(2,31,89,.55), transparent 70%);
}
.hero__textura {
  position: absolute; inset: -10% 0 -20% 0;
  background: url("../img/textura-linhas.webp") center / 1400px auto repeat;
  opacity: .028;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 80% at 70% 35%, #000 20%, transparent 75%);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* símbolo CK gigante, quase transparente, saindo pela direita */
.hero__ck {
  position: absolute; top: 50%; right: -14vw; width: min(62vw, 980px); height: auto;
  transform: translate3d(0, -50%, 0); opacity: .1; pointer-events: none; user-select: none;
}
.hero.tem-video .hero__ck { opacity: .06; }
.hero.tem-video .hero__textura { opacity: 0; }
.hero.tem-video .hero__fundo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,18,.35) 0%, rgba(13,14,18,.15) 45%, rgba(13,14,18,.9) 100%);
}
.hero__inner { will-change: transform, opacity; }
.hero__title {
  font-weight: 300; font-size: clamp(32px, 7vw, 124px); line-height: .98; letter-spacing: -.05em;
  margin: 0;
}
.hero__linha { display: block; white-space: nowrap; }   /* frase sempre em 2 linhas */
.hero__title strong { font-weight: 600; }
/* linha que diz o que a Conka faz, discreta, abaixo da frase */
.hero__apoio { margin: clamp(20px, 2.4vw, 32px) 0 0; max-width: 40ch; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; color: var(--texto-2); }
.hero__rolar {
  position: absolute; right: var(--gutter); bottom: clamp(64px, 10vh, 120px);
  width: 1px; height: 64px; background: var(--linha); overflow: hidden;
}
.hero__rolar span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--texto); animation: rolar 2.4s var(--ease-io) infinite; }
@keyframes rolar { to { top: 100%; } }

/* grão de filme em todo o site */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2 · showreel em tela cheia ---------- */
.showreel { position: relative; height: 100svh; min-height: 480px; }
.showreel__palco {
  position: absolute; inset: 0; overflow: hidden; background: var(--grafite);
  /* o JS abre o recorte conforme a rolagem: começa como uma janela e vira tela cheia */
  clip-path: inset(var(--recorte-y, 0px) var(--recorte-x, 0px) round var(--recorte-r, 0px));
}
.showreel__capa, .showreel__previa {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--zoom, 1)); transform-origin: center;
}
.showreel__capa { filter: saturate(.85); }
.showreel.sem-capa .showreel__palco {
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(3,90,166,.35), transparent 70%),
    linear-gradient(160deg, #0b1636, #0d0e12 70%);
}
.showreel.sem-capa .showreel__palco::before {
  content: ""; position: absolute; inset: -10%;
  background: url("../img/textura-linhas.webp") center / 1200px auto repeat; opacity: .03;
  transform: scale(var(--zoom, 1));
}
.showreel__palco::after { content: ""; position: absolute; inset: 0; background: rgba(8,9,12,.42); pointer-events: none; transition: opacity .8s var(--ease); }
.showreel__botao {
  position: absolute; inset: 0; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .8s var(--ease);
}
.showreel__titulo {
  font-family: var(--f-apoio); text-transform: uppercase;
  font-size: clamp(28px, 6vw, 92px); letter-spacing: .32em; margin-right: -.32em; line-height: 1;
  transition: letter-spacing 1s var(--ease), margin 1s var(--ease);
}
.showreel__botao:hover .showreel__titulo { letter-spacing: .4em; margin-right: -.4em; }
.showreel__play {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(242,245,247,.5);
  transition: transform .8s var(--ease), background .5s var(--ease), border-color .5s;
}
.showreel__play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; transition: fill .5s; }
.showreel__botao:hover .showreel__play { transform: scale(1.12); background: var(--texto); border-color: var(--texto); }
.showreel__botao:hover .showreel__play svg { fill: var(--preto); }
.showreel__player { position: absolute; inset: 0; z-index: 3; }
.showreel__player:empty { pointer-events: none; }
.showreel__player iframe { width: 100%; height: 100%; border: 0; }
.showreel.is-tocando .showreel__botao, .showreel.is-tocando .showreel__palco::after { opacity: 0; pointer-events: none; }
.showreel.sem-video .showreel__botao { cursor: default; }
.showreel.sem-video .showreel__play { opacity: .5; }

/* ---------- 3 · portfólio ---------- */
.portfolio { padding-block: clamp(96px, 11vw, 168px) clamp(90px, 12vw, 180px); }
.portfolio__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 4.5vw, 64px); }
.filtros { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filtro { font-size: 15px; font-weight: 400; color: var(--texto-3); position: relative; padding: 4px 0; transition: color .3s; }
.filtro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.filtro:hover { color: var(--texto-2); }
.filtro[aria-selected="true"] { color: var(--texto); }
.filtro[aria-selected="true"]::after { transform: scaleX(1); transform-origin: left; }

.grade { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--grafite); text-align: left; isolation: isolate; }
.card.is-hidden { display: none; }
/* primeiro projeto em destaque: ocupa 2 colunas x 2 linhas */
.card--destaque { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.card--destaque .card__titulo { font-size: clamp(22px, 2.4vw, 34px); }
.card--largo { grid-column: span 2; aspect-ratio: auto; }
.card--faixa { grid-column: 1 / -1; aspect-ratio: 32/10; }
.card--destaque .card__marca img { width: 12%; }
.card__capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.card__capa.is-hq { top: -16%; bottom: auto; height: 132%; }   /* capa reserva do YouTube vem com faixas pretas */
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,0) 30%, rgba(8,9,12,.75)); opacity: 0; transition: opacity .8s var(--ease); z-index: 1; }
.card__info { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(16px, 1.8vw, 26px); }
.card__cliente, .card__titulo { overflow: hidden; }
.card__cliente span, .card__titulo span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
.card__titulo span { transition-delay: .05s; }
.card__cliente { font-family: var(--f-apoio); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--texto-2); margin: 0 0 6px; }
.card__titulo { font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; margin: 0; }
.card:hover .card__capa, .card:focus-visible .card__capa { transform: scale(1.06); }
.card:hover::after, .card:focus-visible::after { opacity: 1; }
.card:hover .card__info span, .card:focus-visible .card__info span { transform: none; }
/* capa provisória (vídeo ainda sem link) */
.card--vazio { cursor: default; }
.card--vazio:nth-child(6n+1) { background: #10131c; }
.card--vazio:nth-child(6n+2) { background: #141824; }
.card--vazio:nth-child(6n+3) { background: #0f1525; }
.card--vazio:nth-child(6n+4) { background: #151922; }
.card--vazio:nth-child(6n+5) { background: #0e1220; }
.card--vazio:nth-child(6n+6) { background: #12161f; }
.card__marca { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1.6s var(--ease); }
.card__marca img { width: 18%; opacity: .12; }
.card--vazio:hover .card__marca { transform: scale(1.08); }

/* ---------- 4 · clientes: esteira contínua ---------- */
.clientes { padding-bottom: clamp(96px, 11vw, 168px); }
.esteira {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--linha);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.esteira__trilho { display: flex; width: max-content; will-change: transform; }
.esteira--2 { border-top: 0; }   /* segunda linha, colada na primeira */
/* pausar/continuar as esteiras (WCAG 2.2.2) */
.clientes__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.esteira__pausa {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
  font-size: 14px; color: var(--texto-2); transition: color .3s;
}
.esteira__pausa:hover { color: var(--texto); }
.esteira__pausa-icone { position: relative; width: 10px; height: 12px; }
.esteira__pausa-icone::before, .esteira__pausa-icone::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; }
.esteira__pausa-icone::before { left: 0; }
.esteira__pausa-icone::after { right: 0; }
.esteira__pausa[aria-pressed="true"] .esteira__pausa-icone::before { width: 0; height: 0; top: 0; bottom: auto; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.esteira__pausa[aria-pressed="true"] .esteira__pausa-icone::after { display: none; }
.esteira--fixa { -webkit-mask-image: none; mask-image: none; }
.esteira--fixa .esteira__trilho { width: auto; justify-content: center; flex-wrap: wrap; will-change: auto; }
.esteira--fixa .esteira__item:first-child { border-left: 1px solid var(--linha); }
.esteira__item {
  flex: none; width: clamp(180px, 20vw, 300px); height: clamp(120px, 12vw, 170px);
  display: grid; place-items: center; padding: 0 clamp(28px, 3.2vw, 52px);
  border-right: 1px solid var(--linha);
}
.esteira__item img {
  max-width: 100%; max-height: clamp(36px, 3.6vw, 56px); width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .6;
  transition: filter .8s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
}
.esteira__item--largo { width: clamp(240px, 27vw, 400px); }   /* logos muito compridos e finos */
.esteira__item--cor img { filter: grayscale(1) brightness(1.5) contrast(.9); max-height: clamp(48px, 5vw, 76px); }
.esteira__item--alto img { max-height: clamp(60px, 6.4vw, 96px); }   /* logos quadrados ou em selo */
.esteira__item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.esteira__nome { font-weight: 600; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.01em; color: var(--texto); opacity: .6; text-align: center; line-height: 1.1; transition: opacity .8s var(--ease); }
.esteira__item:hover .esteira__nome { opacity: 1; }

/* ---------- 5 · sobre ---------- */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); padding-bottom: clamp(96px, 11vw, 168px); }
.sobre__texto { padding-top: 44px; }
.sobre__texto p { margin: 0 0 22px; color: var(--texto-2); max-width: 44ch; font-size: clamp(17px, 1.3vw, 19px); }

/* ---------- 6 · contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding-block: clamp(100px, 13vw, 180px); border-top: 1px solid var(--linha); }
.form__titulo { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.01em; margin: 0 0 6px; }
.form__titulo strong { font-weight: 600; }

.form { display: grid; gap: 26px; align-content: start; padding-top: 44px; }
.campo { display: flex; flex-direction: column; gap: 4px; position: relative; }
.campo label { font-size: 14px; color: var(--texto-2); transition: color .4s; }
.campo:focus-within label { color: var(--texto); }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 17px; font-weight: 400; color: var(--texto);
  background: transparent; border: 0; border-bottom: 1px solid rgba(242,245,247,.42); border-radius: 0;   /* linha visível: ~3:1 */
  padding: 10px 0 12px; appearance: none;
}
/* linha que cresce ao focar o campo */
.campo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--texto); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); pointer-events: none; }
.campo:focus-within::after { transform: none; }
.campo select { background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%), linear-gradient(135deg, var(--texto-2) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 4px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.campo select option { background: var(--grafite); }
.campo textarea { resize: vertical; min-height: 90px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; }
.campo .is-erro { border-color: var(--laranja); }
.campo__erro { margin: 6px 0 0; font-size: 14px; color: var(--laranja); }
.hp { position: absolute; left: -9999px; }
.form .pill { justify-self: start; min-width: 160px; margin-top: 8px; }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--texto-2); }
.form__privacidade { margin: -12px 0 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: var(--texto-3); }
.form__status.ok { color: #8fd4a8; }
.form__status.erro { color: var(--laranja); }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 64px 0 40px; }
.rodape__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; align-items: start; }
.rodape__selo { width: 110px; height: auto; opacity: .85; }
.rodape__col { font-size: 14px; color: var(--texto-2); display: grid; gap: 6px; }
.rodape__col .rotulo { margin-bottom: 10px; }
.rodape__col a { transition: color .3s; }
.rodape__col a:hover { color: var(--texto); }
.rodape__redes { display: flex; gap: 20px; flex-wrap: wrap; }
.rodape__copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--linha); font-size: 13px; color: var(--texto-3); }

/* ---------- player (portfólio) ---------- */
/* player: o vídeo 16:9 sempre cabe inteiro na tela visível (largura E altura).
   dvh = altura real do celular, descontando a barra do navegador (vh fica como reserva). */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  height: 100vh; height: 100dvh;
  padding: max(64px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: rgba(5,6,8,.96); animation: aparecer .6s var(--ease); overscroll-behavior: contain;
}
.modal__frame {
  width: min(1280px, 100%, calc((100vh - 112px) * 16 / 9));
  width: min(1280px, 100%, calc((100dvh - 112px) * 16 / 9));
  aspect-ratio: 16/9; background: #000; animation: subir .9s var(--ease);
}
/* celular deitado: o vídeo ocupa quase a tela toda; o X fica no canto, por cima da margem */
@media (orientation: landscape) and (max-height: 540px) {
  .modal { padding: 8px max(64px, env(safe-area-inset-right)) 8px max(64px, env(safe-area-inset-left)); }
  .modal__frame { width: min(100%, calc((100vh - 16px) * 16 / 9)); width: min(100%, calc((100dvh - 16px) * 16 / 9)); }
  .modal__fechar { top: 8px; right: 8px; }
}
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__fechar { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; display: grid; place-items: center; transition: transform .6s var(--ease); }
.modal__fechar:hover { transform: rotate(90deg); }
.modal__fechar svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.5; fill: none; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes subir { from { opacity: 0; transform: translateY(30px) scale(.98); } }

/* ---------- WhatsApp ---------- */
.zap { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.zap:hover { transform: scale(1.08); }
.zap svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- cursor personalizado (só em computador) ---------- */
.cursor { display: none; }
.tem-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cursor__ponto, .cursor__anel { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__ponto { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; transition: opacity .3s; }
.cursor__anel {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(242,245,247,.4);
  display: grid; place-items: center;
  transition: width .6s var(--ease), height .6s var(--ease), margin .6s var(--ease), background .5s var(--ease), border-color .5s, opacity .3s;
}
.cursor__texto {
  font-family: var(--f-apoio); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--preto);
  opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .6s var(--ease); white-space: nowrap; padding-left: .2em;
}
.cursor.is-link .cursor__anel { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: rgba(242,245,247,.7); }
.cursor.is-texto .cursor__anel { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--texto); border-color: var(--texto); }
.cursor.is-texto .cursor__texto { opacity: 1; transform: none; }
.cursor.is-texto .cursor__ponto { opacity: 0; }
/* nos vídeos: logo CK no lugar de "Play", em círculo escuro (o C do logo é claro) */
.cursor__texto, .cursor__ck { grid-area: 1 / 1; }
.cursor__ck { width: 46px; height: auto; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.cursor.is-ck .cursor__anel { background: rgba(13,14,18,.78); border-color: rgba(242,245,247,.55); }
.cursor.is-ck .cursor__ck { opacity: 1; transform: none; }
.cursor.is-fora .cursor__anel, .cursor.is-fora .cursor__ponto { opacity: 0; }
.tem-cursor .showreel__botao:not([aria-disabled]), .tem-cursor .card:not(.card--vazio) { cursor: none; }

/* ---------- entradas ---------- */
/* blocos: sobem devagar, com leve desfoque que se dissolve */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--atraso, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* títulos: cada palavra sobe de trás de uma máscara */
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palavra > span { display: inline-block; transform: translateY(115%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--atraso, 0s)); }
.is-in .palavra > span { transform: none; }
/* cards: cortina que se abre de baixo para cima */
.js .card::before {
  content: ""; position: absolute; inset: -1px; z-index: 4; background: var(--preto); pointer-events: none;
  transform-origin: top; transition: transform 1.4s var(--ease); transition-delay: var(--atraso, 0s);
}
.js .card.is-in::before { transform: scaleY(0); }
.js .card.sem-transicao::before, .js .card.sem-transicao .card__capa, .js .card.sem-transicao .card__marca { transition: none; }
.js .card .card__capa, .js .card .card__marca { scale: 1.2; transition: transform 1.6s var(--ease), scale 1.8s var(--ease); }
.js .card.is-in .card__capa, .js .card.is-in .card__marca { scale: 1; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .grade { grid-template-columns: repeat(2, 1fr); }
  .card--destaque { grid-row: auto; aspect-ratio: 16/9; }
  .card--largo { grid-column: auto; aspect-ratio: 16/10; }
  .card--faixa { grid-column: 1 / -1; aspect-ratio: 16/8; }
}
@media (max-width: 820px) {
  .topo__burger { display: block; }
  .topo__nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--preto); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease);
  }
  .topo__nav.is-open { opacity: 1; pointer-events: auto; }
  .topo__nav a:not(.pill) { font-size: 26px; font-weight: 300; color: var(--texto); }
  .sobre, .contato { grid-template-columns: 1fr; }
  .sobre__texto, .form { padding-top: 0; }
  .rodape__grid { grid-template-columns: 1fr 1fr; }
  .rodape__selo { grid-column: 1 / -1; }
  .showreel { height: 72svh; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* portfólio no celular: 2 vídeos por linha, o destaque ocupa a largura toda */
  .card { aspect-ratio: 1 / 1; }
  .card--destaque { aspect-ratio: 16/10; }
  .card--faixa { aspect-ratio: 16/9; }
  .card__info { padding: 10px 10px 11px; }
  .card__cliente { font-size: 8px; letter-spacing: .18em; margin-bottom: 3px; }
  .card__titulo { font-size: 13px; line-height: 1.2; font-weight: 500; }
  .card--destaque .card__titulo, .card--faixa .card__titulo { font-size: 17px; }
  .card--destaque .card__cliente, .card--faixa .card__cliente { font-size: 9px; }
  .rodape__grid { grid-template-columns: 1fr; }
  .topo__logo img { height: 15px; }
  .hero__rolar { display: none; }
  .hero__textura { background-size: 900px auto; }
  .hero__ck { width: 84vw; right: 8vw; top: 40%; opacity: .09; }   /* CK inteiro e centralizado no celular */
  .showreel__titulo { letter-spacing: .24em; margin-right: -.24em; }
}
@media (hover: none), (max-width: 820px) {
  body::after { display: none; }
}
@media (hover: none) {
  .card::after { opacity: 1; }
  .card__info span { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .palavra > span { transform: none; }
  .js .card::before { display: none; }
  .js .card .card__capa, .js .card .card__marca { scale: 1; }
  html:not(.lenis) { scroll-behavior: auto; }
}

/* clientes no celular: logos lado a lado, em colunas iguais */
@media (max-width: 560px) {
  .esteira--fixa .esteira__trilho { display: grid; grid-template-columns: repeat(3, 1fr); }
  .esteira--fixa .esteira__item { width: auto; height: 96px; padding: 0 16px; }
  .esteira--fixa .esteira__item:first-child { border-left: 0; }
  .esteira--fixa .esteira__item:nth-child(3n) { border-right: 0; }
}
