/* ============================================================
   SOMA CONTENT — sistema visual
   Direção: editorial escuro, tipografia serifada em destaque,
   um único acento (verde SOMA) e o sinal "+" como motivo.
   ============================================================ */

:root {
  --ink: #0e0e0e;
  --ink-2: #161616;
  --ink-3: #1f1f1f;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --paper: #f3f1ea;
  --paper-2: #e9e6dc;
  --mute: #9a9a94;
  --mute-2: #6b6b66;
  --lime: #8dff6a;
  --lime-deep: #5ee23a;
  --ink-on-paper: #4a4a46;
  --veil: rgba(14, 14, 14, 0.72);
  --video-black: #000;

  color-scheme: dark;
  scrollbar-color: var(--mute-2) var(--ink);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
.clients, .team { color-scheme: light; }

/* atalho de teclado: aparece só no foco */
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 18px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 500;
  transform: translateY(-160%); transition: transform .35s var(--ease);
}
.skip:focus { transform: none; }

/* grão: textura parada sobre o site; fica por baixo do player (z-index 1000), que mostra o filme limpo */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
}

/* foco: anel sólido de 2px, afastado 3px (verde no escuro, tinta no claro) */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.clients :focus-visible, .team :focus-visible { outline-color: var(--ink); }
[hidden] { display: none !important; }

/* ---------- utilidades ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: "+"; color: var(--lime); font-size: 14px; }
.serif { font-family: var(--font-display); font-weight: 400; }
.it { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.lime { color: var(--lime); }
.mute { color: var(--mute); }

h1, h2, h3 { margin: 0; font-weight: 400; }
h2.eyebrow, h3.eyebrow { display: flex; }
p, h1, h2, h3, h4 { text-wrap: pretty; }
.h-display {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h-section {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-card {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}
.h-section .it { color: var(--lime); }
/* trecho do título que fica inteiro numa linha (no celular quebra normalmente) */
@media (min-width: 641px) { .h-section .nw { white-space: nowrap; } }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--paper); max-width: 40ch; }
.lead.mute { color: var(--mute); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--line-strong);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn::after { content: "→"; transition: transform .35s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn:hover { border-color: var(--paper); }
.btn.primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.primary:hover { background: var(--paper); border-color: var(--paper); }
.btn.ghost { background: transparent; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  mix-blend-mode: difference;
  color: #fff;
}
/* barra de fundo: aparece quando o conteúdo encosta no menu (classe .is-solid via site.js) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(14, 14, 14, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-solid { mix-blend-mode: normal; }
.site-header.is-solid::before { opacity: 1; }
.site-header.menu-open::before { opacity: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; }
.logo img { height: 18px; width: auto; display: block; }
@media (max-width: 600px) { .logo img { height: 15px; } }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-wa { padding: 9px 16px; border: 1px solid currentColor; border-radius: 999px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.nav .nav-wa::after { content: none; }
.site-header.is-solid .nav .nav-wa:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.nav-toggle { display: none; }
/* troca de idioma: PT | EN, o idioma atual em destaque */
.nav .nav-lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; }
.nav .nav-lang a { color: var(--mute); padding-inline: 4px; min-width: 24px; text-align: center; }
.nav .nav-lang a:hover, .nav .nav-lang a[aria-current] { color: var(--paper); }
.nav .nav-lang .sep { color: var(--mute-2); }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; background: var(--ink); mix-blend-mode: normal;
    flex-direction: column; justify-content: center; align-items: flex-start; padding-inline: var(--gutter); gap: 28px;
    transform: translateY(-100%); visibility: hidden;
    transition: transform .6s var(--ease), visibility 0s linear .6s; z-index: 90; }
  .nav a { font-size: 26px; font-family: var(--font-display); letter-spacing: 0; text-transform: none; padding: 8px 0; }
  .nav .nav-lang a { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; }
  .nav .nav-wa { margin-top: 12px; padding: 12px 24px; font-family: var(--font-body); font-size: 16px; font-weight: 500;
    background: var(--lime); border-color: var(--lime); color: var(--ink); }
  .nav.open { transform: translateY(0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; z-index: 95;
    min-width: 44px; min-height: 44px; padding: 9px; margin-right: -9px; }
  .nav-toggle span { width: 26px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-header.menu-open { mix-blend-mode: normal; }
}

/* celular deitado: o menu em tela cheia precisa caber em ~390px de altura */
@media (max-width: 960px) and (max-height: 540px) {
  .nav { gap: 4px; overflow-y: auto; padding: 64px var(--gutter) 16px; }
  .nav a { font-size: 22px; padding: 6px 0; }
  .nav .nav-wa { margin-top: 6px; padding: 10px 22px; }
}
/* tela de toque com o menu de computador (tablet deitado): alvos de 44px */
@media (pointer: coarse) and (min-width: 961px) {
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .nav .nav-wa { padding: 0 16px; }
  .nav .nav-lang a { min-width: 44px; justify-content: center; }
}

/* ---------- barra de WhatsApp (celular e tablet em pé) ----------
   aparece depois que os botões do topo saem da tela e some quando o contato chega;
   o polegar alcança, e o caminho até um sócio fica a um toque em qualquer ponto da página */
.wa-bar { display: none; }
@media (max-width: 960px) {
  .wa-bar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 80;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(14, 14, 14, 0.94); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .wa-bar.show { transform: none; }
  .no-scroll .wa-bar { transform: translateY(110%); }
  .wa-bar a { display: flex; align-items: center; gap: 12px; min-height: 44px; max-width: 560px; margin-inline: auto; }
  .wa-bar-faces { display: flex; flex: none; }
  .wa-bar-faces img { width: 32px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink-2); }
  .wa-bar-faces img + img { margin-left: -8px; }
  .wa-bar-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
  .wa-bar-t { font-size: 15px; font-weight: 500; line-height: 1.2; }
  .wa-bar-s { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wa-bar-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 16px; transition: background .3s var(--ease); }
  .wa-bar a:active .wa-bar-go { background: var(--paper); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: 140px 0 48px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink-2); }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.46;   /* aparece assim que chega, sem esperar o JS */
  transform: scale(1.04);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* vinheta discreta nas bordas + escurecimento de cima para baixo */
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, rgba(14,14,14,0) 35%, rgba(14,14,14,0.55) 100%),
    linear-gradient(180deg, rgba(14,14,14,0.6) 0%, rgba(14,14,14,0.28) 35%, rgba(14,14,14,0.88) 80%, var(--ink) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: end; }
/* título do topo: uma frase por linha, sem quebrar; o tamanho acompanha a largura da coluna */
.hero-title { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: min(clamp(40px, 7.4vw, 124px), 13.6cqi); line-height: 1.08; }
.h-display .line { display: block; white-space: nowrap; }
.hero h1 .it { color: var(--lime); }
.hero-side { display: grid; gap: 22px; justify-items: start; }
.hero-side p { margin: 0; color: var(--mute); font-size: 15px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-side .hero-who { margin-top: -8px; font-size: 13px; }

/* janela do reel — 16:9 inteiro, nunca corta */
.mini-reel {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden; cursor: pointer;
  background: var(--video-black); border: 1px solid var(--line-strong);
  isolation: isolate;
}
.mini-reel img, .mini-reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.mini-reel iframe { opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.mini-reel iframe.ready { opacity: 1; }

.mini-play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--veil); border: 1px solid var(--line-strong);
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.mini-play svg { width: 12px; height: 12px; fill: var(--paper); transform: translateX(1px); }
.mini-reel:hover .mini-play, .mini-reel:focus-visible .mini-play { background: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.mini-reel:hover .mini-play svg, .mini-reel:focus-visible .mini-play svg { fill: var(--ink); }

.hero-meta {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
}
.hero-meta .now-playing { display: inline-flex; gap: 10px; align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-side { width: 100%; }
}

@media (max-width: 640px) { .hero-meta .np-sub { display: none; } }

/* reveal ao carregar / rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 10vw, 160px) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .eyebrow { margin-bottom: 22px; display: inline-flex; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
/* cabeçalho sem texto ao lado: o título usa a largura toda */
.section-head.solo { grid-template-columns: 1fr; }

/* manifesto */
.manifesto { position: relative; }
.manifesto .big {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 62px); line-height: 1.12; letter-spacing: -0.015em;
  max-width: 22ch; text-wrap: balance; margin: 28px 0 0;
}
.manifesto .lead { margin-top: 32px; }
.manifesto .big em { font-style: italic; color: var(--lime); }
.manifesto-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
/* foto do manifesto: frame real, sem moldura nem sombra */
.manifesto-photo { margin: 0; align-self: center; border-radius: 6px; overflow: hidden; background: var(--ink-2); aspect-ratio: 3 / 2; }
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.02); }
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; gap: 40px; } }

/* serviços */
.services { border-top: 1px solid var(--line); }
.service-list { display: grid; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.service .name { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.service .desc { color: var(--mute); font-size: 15px; max-width: 46ch; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}
/* "Como trabalhamos" abre com traço, como as outras seções (e o espaço não soma com o de Serviços) */
.process { border-top: 1px solid var(--line); }

/* ---------- portfólio ---------- */
.work { background: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { border-color: var(--paper); color: var(--paper); }
.filter.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filter .c { color: var(--lime); margin-left: 6px; }
.filter.active .c { color: var(--mute-2); }

.collection { margin-bottom: clamp(72px, 8vw, 128px); scroll-margin-top: 96px; }
.collection-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.collection-head .num { font-family: var(--font-mono); font-size: 12px; color: var(--lime); letter-spacing: 0.14em; }
.collection-head h3 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.015em; }
.collection-head p { margin: 0; color: var(--mute); font-size: 14px; max-width: 42ch; }
@media (max-width: 800px) { .collection-head { grid-template-columns: 1fr; } }

.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
}
.card {
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--ink-3);
  cursor: pointer;
  grid-column: span 4;
  aspect-ratio: 16 / 10;
  isolation: isolate;
}
.card.wide { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; min-height: 320px; }
.card.tall { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; min-height: 360px; }
.card.half { grid-column: span 6; aspect-ratio: 16 / 9; }
.card.full { grid-column: span 12; aspect-ratio: 21 / 9; }
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--z, 1.02)); filter: saturate(0.85) contrast(1.02);
  transition: transform 1s var(--ease), filter .8s var(--ease), opacity .8s;
  opacity: 0;
}
.card img.loaded { opacity: 1; }
.card:hover img, .card:focus-visible img { transform: scale(calc(var(--z, 1.02) * 1.05)); filter: saturate(1.05); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,14,14,0.85) 100%);
  opacity: .9; transition: opacity .5s;
}
.card-body {
  position: absolute; inset: auto 0 0 0; padding: 48px 18px 18px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  /* faixa escura atrás do texto, do tamanho do texto: a legenda em mono passa de 4,5:1 mesmo sobre frame claro */
  background: linear-gradient(0deg, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.9) 62%, rgba(14,14,14,0) 100%);
}
.card-title { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.1; }
.card-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.card-play {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  background: var(--veil);
  transition: background .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.card-play svg { width: 12px; height: 12px; fill: var(--paper); transform: translateX(1px); }
.card:hover .card-play, .card:focus-visible .card-play { background: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.card:hover .card-play svg, .card:focus-visible .card-play svg { fill: var(--ink); }
.card .dur {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 8px; border-radius: 4px; background: var(--veil); color: var(--paper);
}
.card.hidden { display: none; }

@media (max-width: 1000px) {
  .card { grid-column: span 6; }
  .card.wide { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .card.tall { grid-column: span 4; grid-row: auto; aspect-ratio: 9 / 14; min-height: 0; }
  .card.full { aspect-ratio: 16 / 9; }
  .card.md-full { grid-column: span 12; aspect-ratio: 16 / 9; }
}
@media (min-width: 1001px) {
  .collection[data-col="social"] .card.tall { grid-column: span 3; }
}
@media (max-width: 640px) {
  .grid { gap: 10px; }
  .card, .card.wide, .card.half, .card.full, .card.md-full { grid-column: span 12; }
  .card.half, .card.full { aspect-ratio: 16 / 9; }
  .card.tall { grid-column: span 6; }
  .card-body { padding: 44px 14px 14px; }
}

/* só o primeiro bloco de cada grade; o resto abre em "Ver os N filmes" */
.grid:not(.expanded) .is-extra { display: none; }
.more {
  margin-top: 22px; min-height: 44px; padding: 12px 20px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--paper);
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.more::after { content: "+"; color: var(--lime); }
.more[aria-expanded="true"]::after { content: "−"; }
.more:hover { border-color: var(--paper); }

/* para começar: um filme grande e dois ao lado */
.featured-grid .card.feature-main { grid-column: span 7; grid-row: span 2; aspect-ratio: auto; min-height: 380px; }
.featured-grid .card.feature-side { grid-column: span 5; aspect-ratio: 16 / 9; }
.featured-grid .feature-main .card-title { font-size: clamp(24px, 2.2vw, 34px); }
@media (max-width: 1000px) {
  .featured-grid .card.feature-main { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .featured-grid .card.feature-side { grid-column: span 6; }
}
@media (max-width: 640px) {
  .featured-grid .card.feature-side { grid-column: span 12; }
  .featured-grid.has-v .card.feature-v .card-body { flex-direction: column-reverse; align-items: start; gap: 10px; padding: 40px 12px 12px; }
  .featured-grid.has-v .card.feature-v .card-title { font-size: 18px; }
  .featured-grid.has-v .card.feature-v .card-sub { letter-spacing: .06em; }
  .featured-grid.has-v .card.feature-v .card-play { width: 34px; height: 34px; }
}
/* para começar com verticais: dois horizontais empilhados à esquerda, dois verticais à direita */
@media (min-width: 1001px) {
  .featured-grid.has-v { grid-template-columns: minmax(0, 44fr) minmax(0, 28fr) minmax(0, 28fr); grid-auto-flow: row; }
  .featured-grid.has-v .card { grid-column: auto; }
  .featured-grid.has-v .card.feature-h { grid-column: 1; aspect-ratio: 16 / 9; }
  .featured-grid.has-v .card.feature-v { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 0; }
  .featured-grid.has-v .card.feature-v:nth-last-child(2) { grid-column: 2; }
  .featured-grid.has-v .card.feature-v:last-child { grid-column: 3; }
}
@media (max-width: 1000px) {
  .featured-grid.has-v { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
  .featured-grid.has-v .card.feature-h { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .featured-grid.has-v .card.feature-v { grid-column: span 1; grid-row: auto; aspect-ratio: 9 / 16; min-height: 0; }
}

/* ---------- home: chamada para os repertórios dos sócios ---------- */
.reps { border-top: 1px solid var(--line); background: var(--ink-2); }
.rep { display: grid; gap: 26px; padding-top: 22px; border-top: 1px solid var(--line-strong); }

/* rolo de filmes: grande + dois pequenos | vertical | grande + dois pequenos */
.rep-reel {
  /* proporções próximas de 16:9 nos horizontais e 9:16 no vertical, para a capa quase não cortar */
  grid-template-columns: 16fr 8fr 5fr 16fr 8fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 6 / 1;
}
.reel-item { min-width: 0; min-height: 0; display: grid; }
.reel-item.slot-1 { grid-column: 1; grid-row: 1 / 3; }
.reel-item.slot-2 { grid-column: 2; grid-row: 1; }
.reel-item.slot-3 { grid-column: 2; grid-row: 2; }
.reel-item.slot-4 { grid-column: 3; grid-row: 1 / 3; }
.reel-item.slot-5 { grid-column: 4; grid-row: 1 / 3; }
.reel-item.slot-6 { grid-column: 5; grid-row: 1; }
.reel-item.slot-7 { grid-column: 5; grid-row: 2; }
.rep-reel .card.reel-frame { grid-column: auto; grid-row: auto; aspect-ratio: auto; min-height: 0; height: 100%; }
.rep-reel .card-body { padding: 40px 14px 14px; background: none; }
/* faixa escura atrás do título do rolo (4,5:1 mesmo sobre frame claro); nos quadros pequenos ela aparece junto com o título */
.rep-reel .card-body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(14,14,14,0.9) 0%, rgba(14,14,14,0.86) 58%, rgba(14,14,14,0) 100%);
  transition: opacity .4s var(--ease);
}
.rep-reel .is-small .card-body::before, .rep-reel .is-v .card-body::before { opacity: 0; }
.rep-reel .is-small .card:hover .card-body::before, .rep-reel .is-small .card:focus-visible .card-body::before,
.rep-reel .is-v .card:hover .card-body::before, .rep-reel .is-v .card:focus-visible .card-body::before { opacity: 1; }
.rep-reel .card-title { font-size: clamp(16px, 1.3vw, 20px); }
.rep-reel .card-sub, .rep-reel .dur { display: none; }
.rep-reel .is-small .card-body, .rep-reel .is-v .card-body { padding: 34px 10px 10px; }
.rep-reel .is-small .card-body > div, .rep-reel .is-v .card-body > div { opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rep-reel .is-small .card:hover .card-body > div, .rep-reel .is-small .card:focus-visible .card-body > div,
.rep-reel .is-v .card:hover .card-body > div, .rep-reel .is-v .card:focus-visible .card-body > div { opacity: 1; transform: none; }
.rep-reel .is-small .card-play, .rep-reel .is-v .card-play { width: 32px; height: 32px; }
.rep-reel .is-small .card-title, .rep-reel .is-v .card-title { font-size: 16px; }

.rep-text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; align-items: end; }
.rep-who { display: grid; gap: 10px; }
.rep-name { font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.015em; }
.rep-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.rep-cta { display: inline-block; padding: 12px 0 8px; font-weight: 500; font-size: 15px; color: var(--lime); border-bottom: 1px solid currentColor; white-space: nowrap; }
.rep-cta::after { content: "→"; display: inline-block; margin-left: 10px; transition: transform .35s var(--ease); }
.rep-cta:hover::after, .rep-cta:focus-visible::after { transform: translateX(4px); }

/* telas médias e celular: o rolo corre para o lado */
@media (max-width: 1200px) {
  .rep-reel {
    --h: clamp(220px, 52vw, 340px);
    aspect-ratio: auto; height: var(--h);
    grid-template-columns: calc(var(--h) * 1.7778) calc((var(--h) - 10px) * .8889) calc(var(--h) * .5625) calc(var(--h) * 1.7778) calc((var(--h) - 10px) * .8889);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .rep-reel::-webkit-scrollbar { display: none; }
  .reel-item { scroll-snap-align: start; }
  .rep-reel .is-small .card-body > div, .rep-reel .is-v .card-body > div { opacity: 1; transform: none; }
  .rep-reel .is-small .card-body::before, .rep-reel .is-v .card-body::before { opacity: 1; }
}

/* tela de toque sem hover (tablet grande): o título do rolo não pode depender do mouse */
@media (hover: none) {
  .rep-reel .is-small .card-body > div, .rep-reel .is-v .card-body > div { opacity: 1; transform: none; }
  .rep-reel .is-small .card-body::before, .rep-reel .is-v .card-body::before { opacity: 1; }
}

/* ---------- repertório do diretor (portfólio pessoal do Luan) ---------- */
.director { background: var(--ink-2); border-top: 1px solid var(--line); }
.director-note {
  margin: -12px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.6; color: var(--mute); max-width: 64ch;
}
.director-note strong { color: var(--paper); font-weight: 500; }
.director .grid .card { filter: saturate(.85); grid-column: span 3; aspect-ratio: 16 / 10; }
.rep-block { margin-top: 40px; }
.rep-block + .rep-block { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); }
.rep-block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 22px; }
.rep-block-head h3 { font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.015em; }
.rep-block-meta .nw { white-space: nowrap; }
.rep-block-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

@media (max-width: 1000px) { .director .grid .card { grid-column: span 6; } }
@media (max-width: 640px) { .director .grid .card { grid-column: span 12; } }
.director .grid .card:hover { filter: none; }
.card .badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: var(--paper);
  background: var(--veil); border: 1px solid var(--line-strong);
}
.client-aside { margin-top: 36px; font-size: 15px; color: var(--mute-2); }
.client-aside .nw { white-space: nowrap; }
.client-aside strong { color: var(--ink); font-weight: 500; }

/* ---------- clientes ---------- */
.clients { border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.clients .eyebrow { color: var(--mute-2); }
.clients .eyebrow::before { color: var(--ink); }
.client-wall {
  display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 40px;
  font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 54px); line-height: 1.15; letter-spacing: -0.015em;
}
.client-wall span { display: inline-flex; align-items: center; }
.client-wall span::after { content: "+"; font-family: var(--font-mono); font-size: .55em; margin: 0 .55em; color: var(--lime-deep); transform: translateY(-.15em); }
.client-wall span:last-child::after { content: none; }

/* ---------- processo ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.step .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.step h3 { margin: 14px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; }
.step p { margin: 0; color: var(--mute); font-size: 14px; max-width: 46ch; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta .h-display { max-width: 14ch; margin-top: 24px; }
/* em inglês o título é um pouco mais largo, para "Let's make it add up." caber numa linha */
html[lang="en"] .cta .h-display { max-width: 15ch; }
.cta-note { margin: 28px 0 0; color: var(--mute); font-size: clamp(16px, 1.2vw, 18px); max-width: 40ch; }
/* trecho do título que não pode quebrar ("Let's make it add up.") */
.cta h2 .nw { white-space: nowrap; }
/* a segunda frase fica inteira na linha de baixo (no celular ela quebra normalmente) */
@media (min-width: 641px) { .cta-note { max-width: none; } .cta-note .nw { white-space: nowrap; } }
.cta .h-display .it { color: var(--lime); }
.cta-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.cta .plus-bg {
  position: absolute; right: -28vw; bottom: -34vw; transform: rotate(8deg); z-index: 0;
  width: 52vw; height: 52vw; color: rgba(141,255,106,0.14);
  pointer-events: none; user-select: none;
}
.cta .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* quem atende */
.cta-side { display: grid; gap: 22px; justify-items: start; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 440px; }
.partner { display: flex; flex-direction: column; gap: 6px; }
.partner-photo { display: block; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--ink-2); margin-bottom: 8px; }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.partner:hover .partner-photo img, .partner:focus-visible .partner-photo img { transform: scale(1.03); }
.partner-name { font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; letter-spacing: -0.01em; }
.partner-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
/* o rosto abre o WhatsApp do sócio: a linha verde diz isso antes do clique */
.partner-wa { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--lime); transition: color .3s var(--ease); }
.partner-wa::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform .35s var(--ease); }
.partner:hover .partner-wa, .partner:focus-visible .partner-wa { color: var(--paper); }
.partner:hover .partner-wa::after, .partner:focus-visible .partner-wa::after { transform: translateX(4px); }
.btn-wa { margin-top: 4px; }
.cta-alt { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.cta-alt a { color: var(--mute); font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cta-alt a:hover { color: var(--paper); border-color: var(--line-strong); }
.text-link { border-bottom: 1px solid currentColor; transition: color .3s var(--ease); }
.text-link:hover { color: var(--paper); }
.clients .text-link:hover { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer, .site-footer a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.site-footer a:hover { color: var(--paper); }
.site-footer .links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer .links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- lightbox ---------- */
.lightbox {
  /* altura livre para o vídeo: a tela menos as margens, a barra de cima e a legenda de baixo */
  --lb-pad: clamp(16px, 3vw, 40px);
  --lb-chrome: 140px;
  --lb-video-h: calc(100svh - 2 * var(--lb-pad) - var(--lb-chrome));
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,8,8,0.92); backdrop-filter: blur(14px);
  display: grid; padding: var(--lb-pad);
  overflow-y: auto; overscroll-behavior: contain;   /* se ainda faltar altura, o player rola */
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-sentinel { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.lightbox-inner {
  /* o filme horizontal nunca passa da altura da tela, então a barra do player fica sempre visível */
  width: min(100%, 1200px, max(280px, var(--lb-video-h) * 16 / 9)); position: relative; margin: auto;
  transform: translateY(20px) scale(.98); transition: transform .5s var(--ease);
}
.lightbox.open .lightbox-inner { transform: none; }
.lightbox-frame { position: relative; width: 100%; background: var(--video-black); border-radius: 8px; overflow: hidden; }
.lightbox-frame.landscape { aspect-ratio: 16 / 9; }
.lightbox-frame.portrait { aspect-ratio: 9 / 16; margin-inline: auto; width: auto; height: max(240px, min(78svh, var(--lb-video-h))); max-width: 100%; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.lightbox-nav { display: flex; gap: 6px; }
.lightbox-nav button, .lightbox-close {
  min-height: 44px; padding: 0 4px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; gap: 10px; align-items: center; color: var(--mute);
  transition: color .3s var(--ease);
}
.lightbox-nav button { padding: 0 14px 0 0; }
.lightbox-nav button:hover, .lightbox-close:hover { color: var(--paper); }
@media (max-width: 600px) { .lightbox-nav span { display: none; } .lightbox-nav button { padding: 0 12px; font-size: 16px; } }
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* YouTube fora de um servidor (arquivo aberto direto): capa + link */
.lb-yt-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.lb-yt-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.lb-yt-fallback span { position: relative; padding: 14px 22px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 500; font-size: 15px; }
.lightbox-meta { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; margin-top: 16px; flex-wrap: wrap; }
.lightbox-meta .t { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.lightbox-meta .s { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.lb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin-top: 4px; }
.lb-ext, .lb-copy { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); transition: color .3s var(--ease); }
.lb-ext:hover, .lb-copy:hover { color: var(--paper); }
.lb-ext { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.lb-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lb-wa { flex: none; font-size: 14px; font-weight: 500; color: var(--lime); padding: 10px 0; border-bottom: 1px solid currentColor; }
.lb-wa::after { content: " →"; }
.lb-wa:hover { color: var(--paper); }
.lightbox-close .x { font-size: 18px; color: var(--lime); }
/* tela baixa (celular deitado): menos moldura, mais vídeo */
@media (max-height: 520px) {
  .lightbox { --lb-chrome: 104px; }
  .lightbox-bar { margin-bottom: 4px; }
  .lightbox-meta { margin-top: 8px; }
  .lightbox-meta .s { display: none; }
}

/* celular: as prévias dos repertórios correm para o lado, como o rolo da home */
@media (max-width: 640px) {
  .rep-block .grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .rep-block .grid::-webkit-scrollbar { display: none; }
  .director .rep-block .grid .card { grid-column: auto; scroll-snap-align: start; }
}

/* ---------- Quem somos ---------- */
.about-hero { padding: 160px 0 clamp(64px, 8vw, 112px); }
.about-hero .wrap { container-type: inline-size; }
.about-hero .h-display { margin-top: 24px; }
.about-hero .h-display { font-size: min(clamp(38px, 7.4vw, 124px), 10.8cqi); line-height: 1.08; }
.about-hero .h-display .it { color: var(--lime); }
.about-intro { margin: 40px 0 0; max-width: 46ch; color: var(--mute); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; }
.about-intro strong { color: var(--paper); font-weight: 500; }

.team { background: var(--paper); color: var(--ink); border-top: 1px solid rgba(14, 14, 14, 0.12); }
.team .eyebrow { color: var(--mute-2); }
.team .eyebrow::before { color: var(--ink); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; margin-top: 48px; }
.person { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.person-body { display: grid; gap: 14px; align-content: start; }
.person .portrait {
  aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; position: relative;
  background: var(--paper-2);
}
/* retratos são P&B no arquivo; o hover só aproxima, pelo mouse ou pelo teclado */
.person .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.person:hover .portrait img, .person:focus-within .portrait img { transform: scale(1.03); }
.person h3 { font-family: var(--font-display); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -.01em; }
.person .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); margin-top: -4px; }
.person p { margin: 0; color: var(--ink-on-paper); font-size: 15px; line-height: 1.6; max-width: 48ch; }
.person-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
/* LinkedIn sempre na linha de baixo, igual nos dois sócios */
.plink-break { flex-basis: 100%; height: 0; }
.plink {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--ink-on-paper); border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.plink::after { content: "→"; transition: transform .35s var(--ease); }
.plink:hover { color: var(--ink); border-bottom-color: var(--ink); }
.plink:hover::after { transform: translateX(3px); }
.plink.primary { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; }
  .person .portrait { max-width: 420px; }
}

/* Claudinho: faixa na largura toda, na mesma grade dos sócios: nome à esquerda, texto na coluna da direita */
.ai-strip {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(14, 14, 14, 0.12);
}
.ai-who { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; }
@media (max-width: 1100px) { .ai-strip { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 28px; } }
@media (max-width: 640px) { .ai-strip { grid-template-columns: 1fr; } }
.ai-avatar { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--ink); }
.ai-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ai-strip h3 { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.ai-strip .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); margin-top: 8px; }
.ai-strip p { margin: 0; color: var(--ink-on-paper); font-size: 15px; line-height: 1.6; max-width: 52ch; }

.network { border-top: 1px solid var(--line); }
.network-roles { margin: 22px 0 0; max-width: 46ch; color: var(--mute); font-size: 15px; line-height: 1.6; }

/* ---------- 404 ---------- */
.not-found { min-height: 100svh; display: grid; align-items: center; padding-top: 140px; }
.not-found .cta-note { margin-bottom: 32px; }
/* sem o limite de 14ch do contato: "cartaz." não fica sozinho na linha de baixo */
.not-found .h-display { max-width: none; text-wrap: balance; }
