/* =========================================================================
   Matheus Santos — Portfólio (one page)
   Estrutura/interações: painéis empilhados, títulos vazados que se preenchem
   com a rolagem, palavras que acendem, cards de projeto empilhados, arquivo
   com prévia no hover e visualizador de cases.
   Identidade (mathsantos.com.br): preto #000001, vidro líquido (branco
   translúcido + blur + saturação), vídeo azul elétrico, Bricolage Grotesque
   nos títulos e Geist no texto, grão de filme e cursor em ponto.
   ========================================================================= */

:root {
  --bg: #000001;
  --bg-2: #02040a;
  --bg-3: #0a0c12;
  --fg: #ededed;
  --white: #ffffff;
  --n-200: #e5e5e5;
  --n-300: #d4d4d4;
  --n-400: #a1a1a1;
  --n-500: #737373;
  --n-600: #525252;
  --n-800: #262626;
  --n-900: #171717;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-2: rgba(255, 255, 255, 0.15);

  /* azul do vídeo líquido do hero */
  --blue-300: #01a2f2;
  --blue-400: #017fde;
  --blue-500: #0362c2;
  --blue-600: #0152ae;
  --blue-700: #024390;
  --blue-800: #013b80;
  --blue-900: #011732;

  --title-grad: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));

  /* vidro líquido: pílula (branco 10%), card claro (branco 6%) e card escuro (preto 30%) */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: blur(24px) saturate(1.5);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-dark: rgba(0, 0, 0, 0.3);
  --card-border: rgba(255, 255, 255, 0.15);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --gutter: clamp(24px, 3.2vw, 40px);
  --maxw: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent; scrollbar-width: thin;
}
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue-400); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 8px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.32); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 500; padding: 10px 16px; border-radius: 999px;
  background: var(--white); color: #000; font-size: 14px; text-decoration: none; transition: top .3s;
}
.skip:focus { top: 16px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* grão de filme, cursor em ponto e intro — herdados do site atual */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); pointer-events: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 34px; height: 34px; }
/* sobre os depoimentos o ponto vira "arraste" */
.cursor span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: 0.04em; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-drag { width: 78px; height: 78px; }
.cursor.is-drag span { opacity: 1; transition-delay: .1s; }
html.has-cursor .voices__track { cursor: none; }
html.has-cursor body { cursor: none; }
html.case-open .cursor { display: none; }
html.has-cursor.case-open body { cursor: auto; }

.intro {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: #000; transition: opacity .6s ease-in-out;
}
html.show-intro .intro { display: flex; }
.intro span {
  font-family: var(--f-display); font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; color: var(--white);
  animation: intro-in .6s ease-out both;
}
.intro.is-out { opacity: 0; }
.intro.is-out span { opacity: 0; transform: translateY(-16px); transition: opacity .6s ease-out, transform .6s ease-out; }
@keyframes intro-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- tipografia ---------- */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500);
}
.label::before { content: "✦"; font-size: 11px; letter-spacing: 0; color: rgba(255, 255, 255, 0.3); }
.label--plain::before { content: none; }

/* título "fantasma" que o gradiente prateado preenche com a rolagem (--p) */
.big-title {
  position: relative; display: block; width: fit-content; margin: 18px auto 0;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(44px, 10vw, 184px);
  line-height: 0.95; letter-spacing: -0.035em; white-space: nowrap;
}
.big-title__ghost, .big-title__fill { display: block; padding: 0 0.04em 0.1em; }
.big-title__ghost { color: rgba(255, 255, 255, 0.09); clip-path: inset(-10% 0 -10% calc(var(--p, 1) * 100%)); }
.big-title__fill {
  position: absolute; inset: 0;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(-10% calc(100% - var(--p, 1) * 100%) -10% 0);
}

.statement {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3.2vw, 50px);
  line-height: 1.12; letter-spacing: -0.03em; color: var(--white);
}
.statement .soft { color: var(--n-500); }
.h-lg { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -0.025em; color: var(--white); }
.h-lg .soft { color: var(--n-500); }

.sec-head { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; text-align: center; }
.sec-head .statement { max-width: 22ch; margin: 7vh auto 0; }
.sec-intro { max-width: 58ch; margin: 22px auto 0; font-size: clamp(15px, 1.1vw, 17px); color: var(--n-400); }

[data-words] .w { transition: opacity .2s linear; }

.i-arrow {
  display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.i-arrow--down-right { transform: rotate(45deg); }
.i-arrow--down { transform: rotate(90deg); }
.i-arrow--up-right { transform: rotate(-45deg); }

/* ---------- vidro líquido ---------- */
.glass {
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.glass-card {
  background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--glass-hi), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.glass-dark {
  background: var(--card-dark); border: 1px solid var(--card-border); box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
/* luz azul "líquida" atrás do vidro — ecoa o vídeo do hero */
.glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(30px);
  background: radial-gradient(closest-side, rgba(1, 127, 222, 0.42), rgba(1, 82, 174, 0.16) 55%, transparent 75%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, -3%, 0) scale(1); }
  to { transform: translate3d(5%, 4%, 0) scale(1.1); }
}

/* ---------- botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  font-family: var(--f-display); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s, translate .45s var(--ease);
}
.btn .i-arrow { font-size: 16px; }
.btn:hover .i-arrow--right { transform: translateX(3px); }
.btn:hover .i-arrow--down-right { transform: rotate(45deg) translateX(3px); }
.btn:hover .i-arrow--up-right { transform: rotate(-45deg) translateX(3px); }
.btn:hover .i-arrow--down { transform: rotate(90deg) translateX(3px); }
.btn--light { background: var(--white); color: #000; }
.btn--light:hover { background: var(--n-200); }
.btn--glass {
  color: var(--white); background: var(--glass-bg); border-color: var(--glass-border); box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn--glass:hover { background: var(--white); border-color: rgba(255, 255, 255, 0.6); color: #000; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }

/* pílula "✦ Art Director" do hero atual */
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px; border-radius: 999px;
  font-family: var(--f-display); font-size: clamp(14px, 1.1vw, 16px); letter-spacing: -0.01em; color: var(--white);
  transition: background-color .3s, border-color .3s, color .3s;
}
.pill:hover { background: var(--white); border-color: rgba(255, 255, 255, 0.6); color: #000; }
.pill__star { display: inline-block; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) 20px;
  color: var(--white); mix-blend-mode: difference;
}
.nav > * { pointer-events: auto; }
.brand { font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: -0.02em; text-decoration: none; }
.nav__links { display: flex; gap: clamp(20px, 2.8vw, 40px); font-size: 14px; }
.nav__links a { position: relative; display: inline-block; padding: 4px 0; text-decoration: none; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease-out;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; color: var(--white); }

/* ---------- painéis empilhados ---------- */
.panel { position: relative; overflow-x: clip; background: var(--bg); }
.panel--alt { background: var(--bg-2); }
.panel--blue { background: radial-gradient(120% 70% at 50% 0%, #062a5c 0%, var(--blue-900) 36%, #01050d 72%, var(--bg) 100%); }
.panel + .panel { border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); box-shadow: 0 -1px 0 var(--line), 0 -30px 60px -20px rgba(0, 0, 0, 0.8); }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: inherit;
  background: #000; opacity: calc(var(--dim, 0) * 0.6);
}
.has-stack .panel[data-stack] { position: sticky; top: var(--stick, 0px); }
.has-stack .panel[data-stack]:nth-child(1) { z-index: 1; }
.has-stack .panel[data-stack]:nth-child(2) { z-index: 2; }
.has-stack .panel[data-stack]:nth-child(3) { z-index: 3; }
.has-stack .panel[data-stack]:nth-child(4) { z-index: 4; }
.has-stack .panel[data-stack]:nth-child(5) { z-index: 5; }
.is-measuring .panel[data-stack],
.is-measuring .pcard { position: relative !important; top: auto !important; }

/* vídeo líquido preso à tela enquanto o painel passa */
.panel__bg { position: absolute; inset: 0; z-index: 0; overflow: clip; border-radius: inherit; pointer-events: none; background: var(--bg); }
.panel__bg-inner { position: sticky; top: 0; height: 100vh; height: 100svh; }
.panel__bg video { width: 100%; height: 100%; object-fit: cover; }
.panel__bg-inner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 1, 0.55); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; align-items: center;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 24px;
  background: var(--bg);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg) url("../video/hero-poster.webp") center / cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 20s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 1, 0.55) 22%, rgba(0, 0, 1, 0) 45%), linear-gradient(to bottom, rgba(0, 0, 1, 0.45), rgba(0, 0, 1, 0) 20%);
}
.hero__content { position: relative; z-index: 2; width: min(100%, 1180px); }
.hero__title {
  width: fit-content; padding-bottom: 0.06em;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(48px, 8.2vw, 136px); line-height: 0.95; letter-spacing: -0.035em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 30px rgba(255, 255, 255, 0.25));
}
.hero__role { margin-top: 26px; }
.hero__tagline { max-width: 32ch; margin-top: 4.5vh; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; color: var(--n-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__stats {
  position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--n-400);
}
.hero__stats li::before { content: "✦ "; color: rgba(255, 255, 255, 0.3); }
.hero__stats strong { font-weight: 500; color: var(--white); }

/* =========================================================================
   DEPOIMENTOS (carrossel logo após o hero) + REEL
   ========================================================================= */
.voices { position: relative; padding: 14vh 0 12vh; overflow: clip; }
.voices .glow { width: 72vw; height: 46vw; left: 14vw; top: 30%; }
.voices__head {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap;
}
.voices__head .label { margin-bottom: 18px; }
.voices__title { max-width: 16ch; }
.voices__nav { display: flex; align-items: center; gap: 10px; }
.voices__count { margin-right: 10px; font-family: var(--f-display); font-size: 14px; letter-spacing: 0.02em; color: var(--n-500); }
.voices__count b { font-weight: 400; color: var(--white); }
.voices__arrow {
  width: 52px; height: 52px; border-radius: 50%; font-size: 17px; color: var(--white);
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background-color .3s, color .3s, border-color .3s;
}
.voices__arrow:hover { background: var(--white); border-color: rgba(255, 255, 255, 0.6); color: #000; }

/* trilho com scroll-snap: swipe nativo no toque; setas, arrasto e teclado via JS */
.voices__track {
  --card: min(860px, 84vw);
  position: relative; z-index: 1; display: flex; align-items: stretch; gap: 20px; margin-top: 5vh;
  padding: 12px calc(50% - var(--card) / 2);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.voices__track::-webkit-scrollbar { display: none; }
.voices__track:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
.voices__track.is-drag { scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.voice {
  flex: none; width: var(--card); scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius-lg);
  opacity: 0.32; transform: scale(0.94); transition: opacity .6s var(--ease), transform .8s var(--ease), border-color .4s;
}
.voice.is-active { opacity: 1; transform: none; border-color: rgba(255, 255, 255, 0.22); }
.voice:not(.is-active) { cursor: pointer; }
.voice__mark {
  display: block; height: 0.42em; font-family: var(--f-display); font-size: clamp(72px, 7vw, 112px); line-height: 0.8;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.voice__quote p { font-family: var(--f-display); font-weight: 400; font-size: clamp(16.5px, 1.5vw, 22px); line-height: 1.42; letter-spacing: -0.015em; color: var(--white); }
.voice__quote p + p { margin-top: 0.8em; }
.voice--short .voice__quote p { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -0.025em; }
.voice--long .voice__quote p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; letter-spacing: -0.005em; color: var(--n-200); }
/* no celular a recomendação longa abre sob demanda */
.voice__more { display: none; }
.voice__who { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.voice__who img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; background: var(--n-800); }
.voice__name { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; color: var(--white); }
.voice__role { display: block; font-size: 13px; color: var(--n-400); }
.voices__progress { position: relative; z-index: 1; width: min(240px, 50vw); height: 2px; margin: 5vh auto 0; border-radius: 2px; overflow: hidden; background: var(--line); }
.voices__progress span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0.2); transition: transform .6s var(--ease); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.reel { display: grid; gap: 12px; overflow: hidden; }
.reel__row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.reel__row:nth-child(2) { transform: translateX(-18%); }
.reel__item { flex: none; width: clamp(240px, 26vw, 420px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel__item:hover img { transform: scale(1.05); }

/* =========================================================================
   SOBRE
   ========================================================================= */
.about { position: relative; padding: 16vh var(--gutter) 18vh; }
.about .glow { width: 64vw; height: 64vw; left: 18vw; top: 38%; }
.about__grid {
  position: relative; z-index: 1; max-width: 1180px; margin: 11vh auto 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 16px;
}
.profile { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 26px; align-items: start; padding: 22px; border-radius: var(--radius-lg); }
.profile__photo { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--n-900); border: 1px solid var(--line); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile__name { margin: 10px 0 4px; font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1.05; letter-spacing: -0.025em; color: var(--white); }
.profile__role { font-size: 14px; color: var(--n-400); }
.profile__list { margin-top: 18px; border-top: 1px solid var(--line); }
.profile__list div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.profile__list dt { padding-top: 2px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500); }
.profile__list dd { font-size: 14.5px; line-height: 1.4; color: var(--n-200); overflow-wrap: break-word; }
.profile__list a { text-decoration: none; }
.profile__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.impact {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 26px 28px; border-radius: var(--radius-lg); color: var(--white);
}
.impact::before {
  content: ""; position: absolute; z-index: -1; right: -22%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(20px);
  background: radial-gradient(closest-side, rgba(1, 162, 242, 0.34), rgba(1, 82, 174, 0.12) 60%, transparent);
}
.impact__main { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.impact__big {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(76px, 8vw, 128px); line-height: 0.85; letter-spacing: -0.05em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.impact__big small { font-size: 0.24em; letter-spacing: -0.02em; }
.impact__text { flex: 1; min-width: 200px; max-width: 34ch; padding-bottom: 6px; font-size: 15px; line-height: 1.5; color: var(--n-300); }
.impact__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.impact__stats strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.3vw, 34px); line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.impact__stats li > span { display: block; margin-top: 8px; font-size: 13px; color: var(--n-400); }

/* =========================================================================
   SKILLS
   ========================================================================= */
.skills { padding: 16vh var(--gutter) 20vh; }
.skills .glow { width: 72vw; height: 72vw; left: 14vw; top: 30%; }
.tracks { position: relative; z-index: 1; max-width: var(--maxw); margin: 9vh auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.track {
  position: relative; isolation: isolate; overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 26px; border-radius: var(--radius-lg);
  transition: border-color .4s, transform .6s var(--ease);
}
.track::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; filter: blur(16px);
  background: radial-gradient(closest-side, rgba(1, 162, 242, 0.3), rgba(3, 98, 194, 0.12) 60%, transparent);
  transition: transform 1.2s var(--ease);
}
.track:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px); }
.track:hover::before { transform: translate(-12%, 14%) scale(1.15); }
.track__num { font-family: var(--f-display); font-size: 13px; color: var(--blue-300); }
.track__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -0.03em; color: var(--white); }
.track__text { max-width: 34ch; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--n-300); }
/* IA First: card largo de destaque com o número grande */
.track--ai { grid-column: 1 / -1; min-height: 0; gap: 36px; }
.track--ai::before { right: auto; left: 38%; top: -60%; width: 60%; background: radial-gradient(closest-side, rgba(1, 162, 242, 0.38), rgba(3, 98, 194, 0.14) 60%, transparent); }
.track__ai { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px; }
.track__stat { text-align: right; }
.track__stat strong {
  display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(96px, 12vw, 200px); line-height: 0.82; letter-spacing: -0.05em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.track__stat > span { display: block; max-width: 24ch; margin: 14px 0 0 auto; font-size: 14px; line-height: 1.4; color: var(--n-400); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--n-300);
  transition: border-color .3s, background-color .3s, color .3s;
}
.chips li:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); color: var(--white); }

/* =========================================================================
   PROJETOS
   ========================================================================= */
.projects { padding: 16vh var(--gutter) 16vh; }
.stack { --stack-top: calc(var(--nav-h) + 14px); --peek: 64px; --n: 5; position: relative; max-width: var(--maxw); margin: 9vh auto 0; }
.pcard {
  position: sticky; top: calc(var(--stack-top) + var(--i) * var(--peek));
  height: max(460px, calc(100vh - var(--stack-top) - (var(--n) - 1) * var(--peek) - 24px));
  height: max(460px, calc(100svh - var(--stack-top) - (var(--n) - 1) * var(--peek) - 24px));
  margin-bottom: 8vh; padding: 0 14px 14px;
  display: grid; grid-template-rows: var(--peek) minmax(0, 1fr);
  border-radius: var(--radius-lg); background: linear-gradient(180deg, #0b1020, #05070d);
  border: 1px solid var(--card-border); box-shadow: var(--glass-hi), 0 -20px 60px -20px rgba(0, 0, 0, 0.9);
}
.pcard:last-child { margin-bottom: 0; }
.pcard__head { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 0 6px; }
.pcard__num { font-family: var(--f-display); font-size: 13px; color: var(--blue-300); white-space: nowrap; }
.pcard__id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.pcard__client { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500); white-space: nowrap; }
.pcard__title { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__meta { margin-left: auto; font-size: 13.5px; color: var(--n-400); white-space: nowrap; }
.pcard__head .btn { flex: none; }
.pcard__media { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; transform-origin: 50% 0; }
.pcard__fig { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); cursor: pointer; }
.pcard__fig--big { grid-row: 1 / span 2; }
.pcard__media--2 { grid-template-rows: 1fr; }
.pcard__media--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pcard__media--2 .pcard__fig--big, .pcard__media--1 .pcard__fig--big { grid-row: auto; }
.pcard__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard__fig:hover img { transform: scale(1.04); }
.pcard__summary { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; }
.pcard__lead {
  max-width: 46ch; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--white);
  background: rgba(0, 0, 1, 0.4); border: 1px solid var(--card-border); box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}

.archive { max-width: var(--maxw); margin: 18vh auto 0; }
.archive__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.archive__head .label { margin-bottom: 12px; }
.archive__hint { max-width: 40ch; font-size: 15px; color: var(--n-400); }
.alist { border-top: 1px solid var(--line); }
.arow { border-bottom: 1px solid var(--line); }
.arow__btn {
  width: 100%; text-align: left; display: grid; grid-template-columns: 52px minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1fr) 40px;
  align-items: center; gap: 20px; padding: 18px 10px; border-radius: 14px; transition: background-color .3s, padding-left .45s var(--ease);
}
.arow__btn:hover, .arow__btn:focus-visible { background: rgba(255, 255, 255, 0.045); padding-left: 20px; }
.arow__num { font-family: var(--f-display); font-size: 12.5px; color: var(--blue-300); }
.arow__thumb { display: none; }
.arow__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(16px, 1.35vw, 19px); letter-spacing: -0.015em; color: var(--white); }
.arow__client { font-size: 14.5px; color: var(--n-300); }
.arow__cat { font-size: 13.5px; color: var(--n-500); }
.arow__arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
  border: 1px solid var(--card-border); transition: background-color .3s, color .3s, border-color .3s;
}
.arow__arrow .i-arrow { font-size: 14px; }
.arow__btn:hover .arow__arrow { background: var(--white); border-color: var(--white); color: #000; }

.peek {
  position: fixed; left: 0; top: 0; z-index: 70; width: 300px; aspect-ratio: 808 / 632; pointer-events: none;
  border-radius: var(--radius); overflow: hidden; opacity: 0; background: var(--bg-3); border: 1px solid var(--card-border);
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0) scale(0.88) rotate(-2deg);
  transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.8);
}
.peek.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(0deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.noscript { margin-top: 40px; text-align: center; color: var(--n-400); }

/* =========================================================================
   TRAJETÓRIA + FORMAÇÃO
   ========================================================================= */
.career { padding: 16vh var(--gutter) 18vh; }
.career .glow { width: 60vw; height: 60vw; right: -10vw; top: 18%; }
.jobs {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 9vh auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px;
}
.job { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); transition: border-color .35s, transform .5s var(--ease); }
.job:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-3px); }
.job__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.job__period { font-family: var(--f-display); font-size: 13px; color: var(--blue-300); }
.job__now { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(1, 162, 242, 0.14); color: #6fcbff; font-size: 12px; }
.job__now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.job h3 { margin-top: 16px; font-family: var(--f-display); font-weight: 500; font-size: 23px; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.job__role { font-size: 14px; color: var(--n-400); }
.job__clients { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--n-200); }
.job__clients span { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500); }
.job--first { border: 1px dashed var(--line-2); }

.recog { position: relative; z-index: 1; max-width: var(--maxw); margin: 16vh auto 0; }
.recog__head { max-width: 780px; }
.recog__head .label { margin-bottom: 16px; }
.recog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6vh; }
.recog__col { padding: 24px; border-radius: var(--radius); }
.recog__kind { margin-bottom: 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-300); }
.recog__col li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.recog__col li:last-child { border-bottom: 0; padding-bottom: 0; }
.recog__col strong { display: block; font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--white); }
.recog__col span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--n-400); }

/* =========================================================================
   CONTATO (sobre o vídeo)
   ========================================================================= */
.contact { position: relative; z-index: 1; padding: 16vh var(--gutter) calc(18vh + var(--radius-xl)); }
.contact__grid {
  max-width: var(--maxw); margin: 9vh auto 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center;
}
.contact__lead { max-width: 44ch; margin-top: 24px; font-size: 16px; color: var(--n-300); }
.ccards { display: grid; gap: 12px; }
.ccard {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 16px 20px 16px 16px; border-radius: var(--radius); text-decoration: none;
  transition: transform .45s var(--ease), border-color .3s, background-color .3s;
}
.ccard:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.45); }
.ccard__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-border); color: var(--white); transition: border-color .3s; }
.ccard__icon svg { width: 17px; height: 17px; }
.ccard:hover .ccard__icon { border-color: rgba(255, 255, 255, 0.4); }
.ccard__body { display: grid; min-width: 0; }
.ccard__label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-400); }
.ccard__value { font-family: var(--f-display); font-size: clamp(17px, 1.5vw, 20px); color: var(--white); overflow-wrap: anywhere; }
.ccard__cta { display: inline-flex; gap: 6px; font-size: 14px; color: var(--n-300); white-space: nowrap; transition: color .3s; }
.ccard__cta span { transition: transform .3s; }
.ccard:hover .ccard__cta { color: var(--white); }
.ccard:hover .ccard__cta span { transform: translateX(4px); }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.footer {
  position: relative; z-index: 10; overflow: hidden; margin-top: calc(-1 * var(--radius-xl));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0; color: var(--fg); background: var(--bg);
  box-shadow: 0 -1px 0 var(--line), 0 -30px 60px -20px rgba(0, 0, 0, 0.8);
  padding: 14vh var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 22px);
}
.footer .glow { width: 80vw; height: 50vw; left: 10vw; bottom: -22vw; }
.footer__cta { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-bottom: 12vh; border-bottom: 1px solid var(--line); text-align: center; }
.footer__cta .label { margin-bottom: 26px; }
.footer__big {
  display: block; width: fit-content; margin: 0 auto; text-decoration: none;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 7vw, 124px); line-height: 0.9; letter-spacing: -0.035em; color: var(--white);
  transition: opacity .3s;
}
.footer__big:hover { opacity: 0.7; }
.footer__cols { position: relative; z-index: 1; max-width: var(--maxw); margin: 7vh auto 0; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer__cols h2 { margin-bottom: 14px; }
.footer__cols a { display: block; width: fit-content; padding: 4px 0; font-size: 15px; color: var(--n-300); text-decoration: none; transition: color .25s; }
.footer__cols a:hover { color: var(--white); }
.footer__quote { max-width: 26ch; margin-bottom: 16px; font-family: var(--f-display); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); }
.footer__word {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 12vh auto 0; padding-bottom: 0.08em;
  display: flex; justify-content: center; gap: 0.25em; white-space: nowrap;
  font-family: var(--f-display); font-weight: 500; font-size: 12vw; line-height: 0.85; letter-spacing: -0.04em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 6vh auto 0; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--n-500);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }

/* =========================================================================
   BARRA FLUTUANTE
   ========================================================================= */
.dock {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 75;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 24px); padding: 7px 7px 7px 8px; border-radius: 999px;
  background: rgba(8, 10, 16, 0.55); border: 1px solid var(--card-border);
  box-shadow: var(--glass-hi), 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transform: translate(-50%, 160%); transition: transform .7s var(--ease);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock__photo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.dock__who { display: grid; line-height: 1.25; padding-right: 8px; }
.dock__who strong { font-family: var(--f-display); font-weight: 500; font-size: 13.5px; letter-spacing: -0.01em; color: var(--white); }
.dock__who span { font-size: 12px; color: var(--n-400); }
.dock__actions { display: flex; align-items: center; gap: 6px; }

/* =========================================================================
   VISUALIZADOR DE CASE
   ========================================================================= */
.case { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--fg); overflow: hidden; }
.case::backdrop { background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5); }
.case__panel {
  position: absolute; inset: 16px; top: calc(env(safe-area-inset-top, 0px) + 16px); max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border);
  box-shadow: var(--glass-hi), 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.case__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.case__count { font-family: var(--f-display); font-size: 13px; color: var(--blue-300); }
.case__controls { display: flex; gap: 8px; }
.case__btn {
  width: 40px; height: 40px; border-radius: 50%; font-size: 16px; color: var(--white);
  background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .25s, color .25s;
}
.case__btn:hover { background: var(--white); color: #000; }
.case__close { font-size: 22px; line-height: 1; }
.case__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vh, 56px) clamp(20px, 4.5vw, 64px) 72px; }
.case__content { max-width: 1120px; margin: 0 auto; }
.case__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); }
.case__intro > div:first-child { position: sticky; top: 0; align-self: start; }
.case__title {
  margin: 14px 0 0; padding-bottom: 0.06em; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1; letter-spacing: -0.035em; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case__chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--n-300); }
.case__summary { font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -0.02em; color: var(--white); }
.case__block { margin-top: 26px; }
.case__block .label { margin-bottom: 8px; }
.case__block p:not(.label) { color: var(--n-300); }
.case__credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.case__credits dt { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500); }
.case__credits dd { margin-top: 2px; font-size: 14px; color: var(--n-200); }
.case__cta { margin-top: 28px; }
.case__video { position: relative; margin-top: 7vh; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.case__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; margin-top: 7vh; }
.case__gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.case__gallery img { width: 100%; height: auto; }
.case__gallery .is-wide { grid-column: 1 / -1; }
.case__gallery .is-tall { grid-column: 1 / -1; width: 100%; max-width: 820px; justify-self: center; }
.case__strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.case__strip figure { aspect-ratio: 1; }
.case__strip img { height: 100%; object-fit: cover; }
.case__next {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-top: 8vh; padding: 28px;
  border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); text-align: left;
  transition: background-color .35s, color .35s;
}
.case__next small { display: flex; margin-bottom: 8px; }
.case__next strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -0.025em; color: var(--white); }
.case__next .i-arrow { font-size: 26px; color: var(--white); }
.case__next:hover { background: var(--white); }
.case__next:hover strong, .case__next:hover .label, .case__next:hover .i-arrow { color: #000; }
html.case-open { overflow: hidden; }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr 1fr; }
  .tracks .track:nth-child(3) { grid-column: 1 / -1; min-height: 340px; }
  .recog__grid { grid-template-columns: 1fr 1fr; }
  .recog__col:last-child { grid-column: 1 / -1; }
  .pcard__meta { display: none; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --radius-xl: 30px; --nav-h: 62px; }
  .nav { mix-blend-mode: normal; padding-top: calc(env(safe-area-inset-top, 0px) + 14px); padding-bottom: 12px; }
  .nav::before {
    content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 1, 0.82), rgba(0, 0, 1, 0.4) 60%, rgba(0, 0, 1, 0));
  }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__links {
    position: fixed; left: var(--gutter); right: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 64px);
    flex-direction: column; gap: 2px; padding: 8px; border-radius: 22px;
    background: rgba(8, 10, 16, 0.72); border: 1px solid var(--card-border); box-shadow: var(--glass-hi), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; border-radius: 14px; font-size: 16px; }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { background: rgba(255, 255, 255, 0.08); }
  .tracks { grid-template-columns: 1fr; }
  .tracks .track:nth-child(3) { grid-column: auto; }
  .track { min-height: 0; }
  .track__ai { grid-template-columns: 1fr; }
  .track__stat { text-align: left; }
  .track__stat > span { margin-left: 0; }
  .arow__btn { grid-template-columns: 34px minmax(0, 1fr) 38px; gap: 4px 14px; padding: 16px 6px; }
  .arow__num { grid-row: 1 / span 3; align-self: start; padding-top: 3px; }
  .arow__title, .arow__client, .arow__cat { grid-column: 2; }
  .arow__arrow { grid-column: 3; grid-row: 1 / span 3; }
  .contact__grid { grid-template-columns: 1fr; }
  .case__intro { grid-template-columns: 1fr; }
  .case__intro > div:first-child { position: static; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero { align-items: end; padding-top: calc(var(--nav-h) + 6vh); }
  .hero__content { padding-bottom: 4vh; }
  .hero__title { font-size: 15vw; }
  .hero__tagline { margin-top: 3vh; font-size: 17px; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; font-size: 12.5px; }
  .voices { padding-top: 12vh; }
  .voices__head { align-items: flex-start; }
  .voices__nav { width: 100%; }
  .voices__count { margin-right: auto; }
  .voices__arrow { width: 44px; height: 44px; }
  .voices__track { --card: 86vw; gap: 12px; margin-top: 5vh; align-items: flex-start; }
  .voice { gap: 22px; justify-content: flex-start; }
  .voice--long .voice__quote {
    max-height: 17rem; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent);
  }
  .voice--long.is-open .voice__quote { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .voice__more {
    display: inline-flex; align-self: flex-start; align-items: center; margin-top: -6px; padding: 8px 14px;
    border-radius: 999px; border: 1px solid var(--card-border); font-size: 13px; color: var(--white);
  }
  .reel__item { width: 64vw; }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 220px; }
  .impact__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stack { --peek: 58px; }
  .pcard { padding: 0 10px 10px; }
  .pcard__head { gap: 10px; }
  .pcard__num { display: none; }
  .pcard__id { flex-direction: column; gap: 0; align-items: flex-start; }
  .pcard__client { font-size: 11px; }
  .pcard__title { font-size: 16px; max-width: 48vw; }
  .pcard__head .btn { margin-left: auto; padding: 0 12px; }
  .pcard__media { grid-template-columns: 1fr 1fr; grid-template-rows: 1.6fr 1fr; gap: 8px; }
  .pcard__fig--big { grid-row: auto; grid-column: 1 / -1; }
  .pcard__media--2, .pcard__media--1 { grid-template-rows: 1.6fr 1fr; }
  .pcard__media--1 { grid-template-rows: 1fr; }
  .pcard__media--2 .pcard__fig { grid-column: 1 / -1; }
  .pcard__lead { display: none; }
  .pcard__fig { border-radius: 12px; }
  .recog__grid { grid-template-columns: 1fr; }
  .recog__col:last-child { grid-column: auto; }
  .ccard { grid-template-columns: 44px minmax(0, 1fr); }
  .ccard__icon { width: 44px; height: 44px; }
  .ccard__cta { display: none; }
  .footer__word { flex-direction: column; align-items: center; gap: 0; font-size: 20vw; }
  .footer__bottom { justify-content: center; text-align: center; }
  .case__panel { inset: 0; top: 0; border-radius: 0; border: 0; }
  .case__gallery { grid-template-columns: 1fr; }
}

/* celular estreito: a barra flutuante fica só com a foto e os dois atalhos */
@media (max-width: 480px) {
  .dock { gap: 8px; }
  .dock__who { display: none; }
}

/* no toque não há prévia no hover: a miniatura aparece na própria linha */
@media (hover: none) {
  .peek { display: none; }
  .arow__btn { grid-template-columns: 34px 88px minmax(0, 1fr) 38px; }
  .arow__thumb { display: block; grid-column: 2; grid-row: 1 / span 3; width: 88px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
  .arow__title, .arow__client, .arow__cat { grid-column: 3; }
  .arow__arrow { grid-column: 4; }
}
@media (hover: none) and (min-width: 901px) {
  .arow__btn { grid-template-columns: 52px 88px minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1fr) 40px; }
  .arow__title { grid-column: 3; } .arow__client { grid-column: 4; } .arow__cat { grid-column: 5; } .arow__arrow { grid-column: 6; }
  .arow__thumb { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__video { animation: none; }
}
