/* ==========================================================
   Animafilm — site
   Preto puro, tipografia do sistema (SF Pro nos Apple), vidro líquido
   ========================================================== */
:root {
  --black: #000;
  --surface: #1d1d1f;
  --surface-2: #2c2c2e;
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #424245;
  --line: rgba(255, 255, 255, .12);
  --red: #e30a17;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--text); color: var(--black); }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.section-title {
  font-size: clamp(40px, 6.2vw, 96px); font-weight: 650; line-height: 1; letter-spacing: -.045em;
}

/* ---------- Vidro líquido ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 0 0 1px rgba(255,255,255,.07);
  /* sem sombra externa: ela desalinha a refração do vidro no Chrome */
}
/* Reflexo de borda (a "luz" do vidro) */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, rgba(255,255,255,.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--text); color: var(--black); }
.btn-solid:hover { background: #fff; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn-lg svg { width: 22px; height: 22px; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
  transition: transform .6s var(--ease), opacity .4s;
}
.nav.is-hidden { transform: translateY(-140%); opacity: 0; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  height: var(--nav-h); padding: 0 8px 0 18px; border-radius: 999px;
}
.nav-logo img { width: 30px; height: auto; }
.nav-logo { padding: 6px 10px 6px 0; }
.nav-links { display: flex; gap: 2px; }
.nav-links a, .nav-sheet a {
  display: block; padding: 9px 14px; border-radius: 999px; font-size: 14px; color: rgba(245,245,247,.82);
  transition: color .25s, background-color .25s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--text); background: rgba(255,255,255,.1); }
.nav-cta {
  margin-left: 6px; height: 40px; display: inline-flex; align-items: center; padding: 0 18px;
  border-radius: 999px; background: var(--text); color: var(--black); font-size: 14px; font-weight: 500;
  transition: transform .4s var(--ease);
}
.nav-cta:hover { transform: scale(1.04); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet {
  pointer-events: auto; width: min(92vw, 420px); border-radius: 28px; padding: 10px;
  display: grid;
}
.nav-sheet a { font-size: 22px; font-weight: 600; padding: 14px 16px; border-radius: 18px; }
.nav-sheet[hidden] { display: none; }

/* ---------- Topo / projetor ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.hero-media, .hero-fx, .hero-video, .hero-reel, .hero-shade, .hero-frame { position: absolute; inset: 0; }
.hero-fx { width: 100%; height: 100%; display: block; background: radial-gradient(80% 70% at 25% 20%, #2a2a2c, #000 70%); }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-ready { opacity: 1; }
.hero-reel { overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.hero-reel.is-ready { opacity: 1; }
.hero-reel iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100vw, 177.78vh); height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%) scale(1.02);
}
.hero-shade {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%);
  opacity: 0;
}
.hero-frame { width: 100%; height: 100%; pointer-events: none; }
.hf-black { fill: var(--black); }
.hf-body { fill: var(--text); }

.hero-intro {
  position: absolute; left: 50%; bottom: clamp(32px, 7vh, 72px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(78vw, 560px);
}
.hero-intro img { width: 100%; height: auto; }
.hero-hint { font-size: 13px; color: var(--muted); letter-spacing: 0; display: flex; align-items: center; gap: 10px; }
.hero-hint::before {
  content: ""; width: 1px; height: 22px; background: linear-gradient(var(--muted), transparent);
  animation: hint 2.2s var(--ease) infinite;
}
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-content {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 8vh, 96px);
  max-width: var(--max); opacity: 0; visibility: hidden;
}
.hero-content h1 {
  font-size: clamp(52px, 10.5vw, 168px); font-weight: 700; line-height: .92; letter-spacing: -.055em;
  max-width: 11ch;
}
.hero-sub { margin-top: 22px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; color: rgba(245,245,247,.78); letter-spacing: -.02em; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Estado sem animação (movimento reduzido ou sem scripts externos) */
.is-static .hero-frame, .is-static .hero-intro { display: none; }
.is-static .hero-content { opacity: 1; visibility: visible; }
.is-static .hero-shade { opacity: 1; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 22vh, 260px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.manifesto-text {
  font-size: clamp(30px, 4.4vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em;
  max-width: 24ch;
}
.manifesto-text .w { color: var(--faint); transition: color .2s linear; }
.manifesto-text .w.on { color: var(--text); }
.no-split .manifesto-text { color: var(--text); }

/* ---------- Trabalhos ---------- */
.works { padding: 0 var(--gutter) clamp(100px, 16vh, 200px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.filters { display: flex; flex-wrap: wrap; gap: 2px; padding: 5px; border-radius: 999px; position: relative; }
.filters button {
  position: relative; z-index: 1; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; color: rgba(245,245,247,.72); transition: color .3s;
}
.filters button:hover, .filters button.is-active { color: var(--black); }
.filters button:hover:not(.is-active) { color: var(--text); }
.filters-thumb {
  position: absolute; z-index: 0; top: 5px; left: 0; height: 38px; width: 0; border-radius: 999px;
  background: var(--text); transition: transform .6s var(--ease), width .6s var(--ease);
}

.works-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2.4vw, 36px); row-gap: clamp(48px, 7vw, 96px); }
.work { min-width: 0; }
.work.is-wide { grid-column: 1 / -1; }
.work.is-right { margin-top: clamp(60px, 9vw, 140px); }
.work.is-hidden { display: none; }
.work-media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 24px); background: var(--surface); cursor: pointer;
  transform: translateZ(0);
}
div.work-media { cursor: default; }
.work.is-wide .work-media { aspect-ratio: 2 / 1; }
.work-media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
  will-change: transform;
}
.work-media:hover img { transform: scale(1.04); }
.work-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.85); transition: opacity .4s, transform .6s var(--ease);
}
.work-play svg { width: 22px; height: 22px; fill: var(--text); margin-left: 3px; }
.work-media:hover .work-play, .work-media:focus-visible .work-play { opacity: 1; transform: scale(1); }
.work-meta { padding-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.work-meta h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.work-meta p { font-size: 15px; color: var(--muted); letter-spacing: -.01em; }
.empty { color: var(--muted); font-size: 19px; }
@media (hover: none) { .work-play { opacity: 1; transform: scale(.8); } }

/* ---------- Serviços ---------- */
.services {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px;
  padding: clamp(100px, 16vh, 200px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  border-top: 1px solid var(--line);
}
.services-aside { position: sticky; top: 120px; align-self: start; }
.services-aside p { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 26ch; }
.service { padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.service:first-child { padding-top: 0; }
.service h3 { font-size: clamp(28px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.service p { margin-top: 14px; max-width: 46ch; color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; }
.js .service { opacity: .28; }
.js .service.is-on { opacity: 1; }

/* ---------- Clientes ---------- */
.clients { padding: clamp(80px, 12vh, 160px) 0 clamp(100px, 16vh, 200px); overflow: hidden; }
.clients .section-title { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto clamp(48px, 6vw, 80px); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.client {
  display: flex; align-items: center; padding: 0 clamp(24px, 3vw, 48px); height: clamp(64px, 8vw, 120px);
  font-size: clamp(30px, 5vw, 76px); font-weight: 650; letter-spacing: -.045em; color: var(--faint); white-space: nowrap;
  transition: color .4s;
}
.client:hover { color: var(--text); }
.client img { height: 56%; width: auto; max-width: 260px; object-fit: contain; filter: brightness(0) invert(1); opacity: .4; transition: opacity .4s; }
.client:hover img { opacity: 1; }
.client img.is-color { filter: none; opacity: .85; }
.client:hover img.is-color { opacity: 1; }
.marquee:nth-child(odd) .client { color: #2f2f32; }

/* ---------- Contato ---------- */
.contact { padding: clamp(100px, 16vh, 200px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; border-top: 1px solid var(--line); }
.contact-title { font-size: clamp(48px, 8.6vw, 140px); font-weight: 700; letter-spacing: -.055em; line-height: .95; max-width: 12ch; }
.contact-head p { margin-top: 24px; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); max-width: 40ch; }
.contact-grid { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-direct { display: grid; gap: 40px; justify-items: start; }
.contact-list { margin: 0; display: grid; gap: 22px; }
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.025em; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--text); color: var(--black); border-color: var(--text); }

.contact-form { border-radius: 32px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 14px; color: rgba(245,245,247,.8); }
.field label span { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); letter-spacing: -.01em;
  background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  transition: border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #5f5f64; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.5); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff6961; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.ok { color: #30d158; }
.form-status.err { color: #ff6961; }
.contact-form button[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Rodapé ---------- */
.footer { padding: 0 var(--gutter) 36px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.footer-mark { width: 100%; height: auto; opacity: .12; }
.footer-row { margin-top: 28px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }
.footer-row a:hover { color: var(--text); }

/* ---------- Player ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--text); overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .5s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox-inner { width: min(92vw, 1180px, calc((100svh - 250px) * 16 / 9)); min-width: min(92vw, 560px); position: relative; }
.lightbox-video { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); }
.lightbox-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-info { padding: 22px 4px 0; display: grid; gap: 4px; }
.lightbox-info h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.lightbox-meta { color: var(--muted); font-size: 15px; }
.lightbox-desc { color: rgba(245,245,247,.8); max-width: 60ch; margin-top: 6px; }
.lightbox-desc:empty, .lightbox-meta:empty { display: none; }
.lightbox-close {
  position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
}
.lightbox-close svg { width: 16px; height: 16px; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; fill: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-pill { padding: 0 6px 0 16px; gap: 10px; }
  .services, .contact-grid { grid-template-columns: 1fr; }
  .services-aside { position: static; }
}
@media (max-width: 700px) {
  :root { --nav-h: 52px; }
  .works-grid { grid-template-columns: 1fr; }
  .work.is-right { margin-top: 0; }
  .work.is-wide .work-media { aspect-ratio: 16 / 9; }
  .field-row { grid-template-columns: 1fr; }
  .filters { border-radius: 24px; }
  .filters-thumb { display: none; }
  .filters button.is-active { background: var(--text); }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .service { opacity: 1; }
  .manifesto-text .w { color: var(--text); }
}

/* Vidro escuro para a navegação: legível sobre qualquer imagem */
.nav-pill, .nav-sheet { background: linear-gradient(180deg, rgba(36,36,38,.52), rgba(22,22,24,.38)); }

main section[id] { scroll-margin-top: 72px; }

/* ==========================================================
   v2 — vários vídeos, prévia em movimento, equipe, WhatsApp
   ========================================================== */
.work-preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.work-preview.is-on { opacity: 1; }
.work-count {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  background: linear-gradient(180deg, rgba(30,30,32,.55), rgba(18,18,20,.45));
}
.work-play { z-index: 2; }

/* Lista de vídeos no player */
.lightbox-list {
  display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 4px; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--faint) transparent;
}
.lightbox-list[hidden] { display: none; }
.lightbox-list button {
  flex: 0 0 auto; width: 168px; display: grid; gap: 8px; text-align: left; scroll-snap-align: start;
  opacity: .55; transition: opacity .3s;
}
.lightbox-list button:hover, .lightbox-list button.is-on { opacity: 1; }
.lightbox-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s; }
.lightbox-list button.is-on img { outline-color: var(--text); }
.lightbox-list span { font-size: 13px; line-height: 1.3; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Serviço que leva aos trabalhos */
.service-link {
  display: inline-block; margin-top: 16px; font-size: 15px; color: var(--text);
  border-bottom: 1px solid rgba(245,245,247,.3); padding-bottom: 2px; transition: border-color .3s;
}
.service-link:hover { border-color: var(--text); }

/* Quem faz */
.team { padding: clamp(100px, 16vh, 200px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; border-top: 1px solid var(--line); }
.team-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; }
.team-head p { color: var(--muted); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; max-width: 34ch; letter-spacing: -.02em; }
.team-grid { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.person-photo { aspect-ratio: 4 / 5; border-radius: clamp(14px, 1.6vw, 24px); overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.person:hover .person-photo img { filter: grayscale(0); transform: scale(1.03); }
.person-photo span { font-size: 96px; font-weight: 700; color: var(--faint); letter-spacing: -.05em; }
.person h3 { margin-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.person p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 45; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text);
  background: linear-gradient(180deg, rgba(36,36,38,.6), rgba(22,22,24,.45));
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float:hover { transform: scale(1.04); }
@media (max-width: 900px) {
  .team-head { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .wa-float { height: 50px; padding: 0 18px 0 14px; }
  .lightbox-list button { width: 132px; }
}
.lightbox-inner { max-height: 100svh; overflow-y: auto; padding-block: 24px; scrollbar-width: none; }
@media (max-width: 700px) {
  .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float svg { width: 26px; height: 26px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .person h3 { font-size: 18px; }
}

/* Vídeos verticais (9:16): capa em pé no centro, com a própria imagem desfocada ao fundo */
.work-media.is-vertical .v-bg { left: -10%; width: 120%; filter: blur(26px) brightness(.42) saturate(1.3); }
.v-frame { position: absolute; inset: 7% 0; display: flex; justify-content: center; z-index: 1; pointer-events: none; }
.v-box { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: clamp(10px, 1.1vw, 16px); overflow: hidden; box-shadow: 0 20px 60px -10px rgba(0,0,0,.7); background: var(--surface); }
.v-box img.v-fg { position: absolute; inset: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.work-media:hover .v-box img.v-fg { transform: scale(1.04); }
.lightbox-video.is-vertical { aspect-ratio: 9 / 16; height: min(calc(100svh - 250px), 820px); width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-list button[data-v] img { object-fit: contain; background: #000; }
