/* ============================================================
   PRANDO GODOY — "Aprendizagem em Jogo"
   Design system próprio · OKLCH · Cabinet Grotesk + Erode
   ============================================================ */

/* ---------- Fontes (self-hosted, Fontshare ITF FSL) ---------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Erode';
  src: url('../fonts/Erode-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Erode';
  src: url('../fonts/Erode-VariableItalic.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  font-style: italic;
}

/* ---------- Tokens ---------- */
:root {
  /* cor — herdada da Prando, modernizada em OKLCH */
  --red:        oklch(60.5% 0.234 20.4);   /* #ed1941 — acentos gráficos grandes */
  --red-strong: oklch(52%   0.205 22);     /* vermelho p/ superfícies com texto pequeno (AA) */
  --red-sect:   oklch(54%   0.212 22);     /* vermelho drenched p/ fundos com texto */
  --red-deep:   oklch(40%   0.16  22);
  --cyan:       oklch(72.4% 0.131 219.7);  /* #00b8de */
  --cyan-tint:  oklch(93%   0.035 219);
  --cyan-deep:  oklch(38%   0.085 225);
  --lime:       oklch(86.9% 0.187 112.4);  /* #d7df21 */
  --lime-tint:  oklch(95%   0.075 112);
  --lime-ink:   oklch(31%   0.068 118);
  --amber:      oklch(78.9% 0.162 74);     /* laranja do logo */
  --amber-deep: oklch(41%   0.09  70);
  --pink:       oklch(65.8% 0.203 353.1);  /* do “a” do logo */
  --green:      oklch(68.3% 0.182 145.2);  /* das listras do balão */
  --ink:        oklch(22.2% 0.010 308);
  --ink-soft:   oklch(38%   0.014 308);
  --ink-2:      oklch(30%   0.012 308);
  --paper:      oklch(98.5% 0.004 220);
  --paper-dim:  oklch(95.6% 0.007 230);
  --line:       oklch(87%   0.01  260);

  /* tipografia */
  --f-display: 'Cabinet Grotesk', 'Avenir Next', system-ui, sans-serif;
  --f-body: 'Erode', Georgia, serif;
  --fs-hero: clamp(2.7rem, 6.8vw, 5.5rem);
  --fs-h2: clamp(2.1rem, 4.6vw, 3.7rem);
  --fs-h3: clamp(1.35rem, 2.4vw, 1.8rem);
  --fs-lead: clamp(1.15rem, 1.9vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-tiny: 0.8125rem;

  /* espaçamento e forma */
  --sect: clamp(4.5rem, 10vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --r-chip: 999px;
  --r-card: 1.25rem;
  --r-tile: 1.75rem;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 0.45s;
  --dur-2: 0.7s;

  /* z-scale semântica */
  --z-nav: 50;
  --z-menu: 70;
  --z-modal: 90;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-weight: 780;
}
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
a { color: var(--cyan-deep); text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--lime-ink); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: calc(var(--z-nav) + 1);
  background: var(--ink); color: var(--paper); padding: 0.7rem 1.2rem;
  font-family: var(--f-display); border-radius: 0 0 var(--r-card) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Botões / fichas ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.6em; border-radius: var(--r-chip);
  border: 2.5px solid var(--ink); background: var(--red-strong); color: var(--paper);
  text-decoration: none; line-height: 1;
  box-shadow: 0.22em 0.28em 0 var(--ink);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background var(--dur-1);
}
.btn:hover { transform: translate(-0.08em, -0.14em); box-shadow: 0.34em 0.44em 0 var(--ink); }
.btn:active { transform: translate(0.1em, 0.16em); box-shadow: 0.08em 0.1em 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.btn--paper { background: var(--paper); color: var(--ink); }

/* ---------- Balões de conversa (sistema gráfico) ---------- */
.balloon {
  position: relative;
  border-radius: 1.6em 1.6em 1.6em 0.35em;
  padding: 1.1em 1.35em;
}
.balloon--r { border-radius: 1.6em 1.6em 0.35em 1.6em; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  transition: background var(--dur-1), box-shadow var(--dur-1);
}
.nav.is-scrolled {
  background: oklch(98.5% 0.004 220 / 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: 0.9rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.45rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
  margin-right: auto;
}
.nav__logo svg { width: 44px; height: auto; }
.nav__links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem;
  color: var(--ink); text-decoration: none;
  padding: 0.5em 0.85em; border-radius: var(--r-chip);
  transition: background var(--dur-1);
}
.nav__links a:hover, .nav__links a.is-active { background: var(--lime); color: var(--lime-ink); }
.nav__langs {
  display: flex; gap: 0.15rem; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem;
  border: 2px solid var(--ink); border-radius: var(--r-chip); padding: 0.18rem;
}
.nav__langs a {
  color: var(--ink-soft); text-decoration: none; padding: 0.28em 0.6em; border-radius: var(--r-chip);
}
.nav__langs a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav__langs a:hover:not([aria-current="true"]) { background: var(--paper-dim); }
.nav__burger {
  display: none; background: none; border: 2.5px solid var(--ink); border-radius: var(--r-chip);
  padding: 0.55em 0.8em; font-family: var(--f-display); font-weight: 700;
}
.nav .btn { padding: 0.7em 1.3em; font-size: 0.95rem; }

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink); color: var(--paper);
  display: none; flex-direction: column; padding: 5.5rem var(--gutter) 2rem;
}
.menu.is-open { display: flex; }
.menu a {
  font-family: var(--f-display); font-weight: 780; font-size: clamp(2rem, 8vw, 3rem);
  color: var(--paper); text-decoration: none; padding: 0.35em 0; line-height: 1.1;
}
.menu a:hover { color: var(--lime); }
.menu__langs { margin-top: auto; display: flex; gap: 1.25rem; font-family: var(--f-display); }
.menu__langs a { font-size: 1.1rem; color: var(--cyan); }
.menu__close {
  position: absolute; top: 1.1rem; right: var(--gutter);
  background: var(--paper); color: var(--ink); border: none; border-radius: var(--r-chip);
  font-family: var(--f-display); font-weight: 700; padding: 0.6em 1.1em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-content: center;
  padding-block: clamp(7rem, 16vh, 9rem) clamp(3rem, 8vh, 5rem);
  overflow: clip;
}
.hero__title {
  font-size: var(--fs-hero);
  max-width: 13.5ch;
  margin-bottom: 0.45em;
}
.hero__title .hl-viva {
  color: var(--red); display: inline-block;
}
.hero__title .hl-conteudo {
  background-image: linear-gradient(transparent 68%, var(--lime) 68%);
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero__lead {
  font-size: var(--fs-lead); color: var(--ink-2); max-width: 46ch; margin-bottom: 2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-bottom: 3rem; }
.hero__proof {
  font-family: var(--f-display); font-weight: 500; font-size: var(--fs-small);
  color: var(--ink-soft); max-width: 60ch;
}
.hero__proof strong { color: var(--ink); font-weight: 700; }

/* palavras cinéticas flutuando em balões */
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.float-chip {
  position: absolute;
  font-family: var(--f-display); font-weight: 780; letter-spacing: 0.01em;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  padding: 0.55em 1em; border: 2.5px solid var(--ink);
  border-radius: 1.4em 1.4em 1.4em 0.3em;
  background: var(--paper); color: var(--ink);
  box-shadow: 0.18em 0.22em 0 var(--ink);
  will-change: transform;
}
.float-chip--red   { background: var(--red-strong); color: var(--paper); }
.float-chip--cyan  { background: var(--cyan);  color: var(--ink); }
.float-chip--lime  { background: var(--lime);  color: var(--lime-ink); }
.float-chip--amber { background: var(--amber); color: var(--ink); }
.float-chip--tail-r { border-radius: 1.4em 1.4em 0.3em 1.4em; }
.float-chip--think { border-radius: 999px; }

.hero__scrollcue {
  position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: var(--f-display); font-size: var(--fs-tiny); font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
}
.hero__scrollcue svg { animation: cue-bob 1.6s var(--ease-out) infinite alternate; }
@keyframes cue-bob { from { transform: translateY(0); } to { transform: translateY(7px); } }

/* ---------- MANIFESTO (drenched ink) ---------- */
.manifesto {
  background: var(--ink); color: var(--paper);
  padding-block: var(--sect);
  position: relative; overflow: clip;
}
.manifesto__quote {
  font-family: var(--f-body); font-style: italic; font-weight: 460;
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  line-height: 1.24; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 0 1.2em; text-wrap: balance;
}
.manifesto__quote .w { opacity: 1; display: inline-block; }
.manifesto__quote em { color: var(--lime); font-style: inherit; }
.manifesto__sub {
  font-size: var(--fs-lead); color: oklch(80% 0.01 260); max-width: 52ch; line-height: 1.7;
}
.manifesto__sub strong { color: var(--paper); }
.manifesto__stripes {
  position: absolute; top: 0; right: clamp(1rem, 8vw, 6rem);
  display: flex; gap: 0.5rem; height: 100%;
  opacity: 0.55; pointer-events: none;
}
.manifesto__stripes i { width: clamp(6px, 0.8vw, 11px); border-radius: 0 0 99px 99px; height: 22%; }
.manifesto__stripes i:nth-child(1) { background: var(--red);   height: 30%; }
.manifesto__stripes i:nth-child(2) { background: var(--amber); height: 18%; }
.manifesto__stripes i:nth-child(3) { background: var(--cyan);  height: 40%; }
.manifesto__stripes i:nth-child(4) { background: var(--green); height: 24%; }

/* ---------- Section headers ---------- */
.sect-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sect-head h2 { font-size: var(--fs-h2); max-width: 20ch; }
.sect-head .kicker {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  background: var(--ink); color: var(--paper);
  padding: 0.4em 1em; border-radius: 1.2em 1.2em 1.2em 0.25em;
  margin-bottom: 1.1rem;
}
.sect-head .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 52ch; }

/* ---------- MÉTODO (trilha de tabuleiro) ---------- */
.metodo { padding-block: var(--sect); position: relative; }
.metodo__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.trail { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.trail__line {
  position: absolute; left: 27px; top: 10px; bottom: 10px; width: 4px;
  background: repeating-linear-gradient(var(--ink) 0 10px, transparent 10px 20px);
  border-radius: 99px;
}
.trail li {
  position: relative; padding: 0 0 2.2rem 4.6rem; counter-increment: passo;
}
.trail li:last-child { padding-bottom: 0; }
.trail__dot {
  position: absolute; left: 0; top: 0;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
  border: 3px solid var(--ink);
  box-shadow: 0.14em 0.18em 0 var(--ink);
  background: var(--paper);
}
.trail__dot::before { content: counter(passo); }
.trail li:nth-child(1) .trail__dot { background: var(--red);   color: var(--paper); }
.trail li:nth-child(2) .trail__dot { background: var(--cyan);  color: var(--ink); }
.trail li:nth-child(3) .trail__dot { background: var(--lime);  color: var(--lime-ink); }
.trail li:nth-child(4) .trail__dot { background: var(--amber); color: var(--ink); }
.trail li:nth-child(5) .trail__dot { background: var(--pink);  color: var(--paper); }
.trail h3 { font-size: var(--fs-h3); margin-bottom: 0.3em; }
.trail p { color: var(--ink-2); margin: 0; max-width: 46ch; }

.metodo__obj { position: sticky; top: 6.5rem; }
.metodo__obj figure { margin: 0; }
.metodo__obj img {
  border-radius: var(--r-tile); border: 3px solid var(--ink);
  box-shadow: 0.5rem 0.6rem 0 var(--lime);
  rotate: 1.6deg;
}
.museum-label {
  margin-top: 1.4rem; padding: 0.9rem 1.1rem;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0.6rem;
  max-width: 34rem; rotate: -0.6deg;
  box-shadow: 0.2rem 0.25rem 0 var(--ink);
}
.museum-label b { font-family: var(--f-display); font-weight: 750; display: block; font-size: 1rem; }
.museum-label span { font-size: var(--fs-small); color: var(--ink-2); font-style: italic; }

/* ---------- SERVIÇOS (peças modulares) ---------- */
.servicos { padding-block: var(--sect); background: var(--paper-dim); }
.pieces {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(6, 1fr);
}
.piece {
  border: 3px solid var(--ink); border-radius: var(--r-tile);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--paper);
  position: relative;
  transition: box-shadow var(--dur-1) var(--ease-out);
  box-shadow: 0.3rem 0.38rem 0 var(--ink);
}
/* transform entra na transição só após a animação de entrada (GSAP) terminar,
   senão a transition CSS briga com o tween de entrada e trava num valor parcial */
.piece.is-revealed { transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out); }
.piece:hover { transform: translate(-3px, -6px) rotate(-0.4deg); box-shadow: 0.55rem 0.7rem 0 var(--ink); }
.piece h3 { font-size: var(--fs-h3); }
.piece p { color: var(--ink-2); font-size: 1rem; margin-bottom: 0; }
.piece__tag {
  display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-tiny);
  padding: 0.35em 0.9em; border-radius: var(--r-chip); border: 2px solid var(--ink);
  margin-bottom: 1rem;
}
.piece--curadoria { grid-column: span 4; background: var(--red-strong); color: var(--paper); }
.piece--curadoria p { color: oklch(95% 0.025 20); }
.piece--curadoria .piece__tag { border-color: var(--paper); color: var(--paper); }
.piece--curadoria h3 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.piece--material { grid-column: span 2; background: var(--lime); color: var(--lime-ink); }
.piece--material p { color: oklch(36% 0.06 118); }
.piece--material .piece__tag { border-color: var(--lime-ink); color: var(--lime-ink); }
.piece--facilit { grid-column: span 2; }
.piece--arquit { grid-column: span 2; background: var(--cyan-tint); }
.piece--custom { grid-column: span 2; background: var(--ink); color: var(--paper); }
.piece--custom p { color: oklch(82% 0.012 260); }
.piece--custom .piece__tag { border-color: var(--paper); color: var(--paper); }
.piece__formats { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }
.piece__formats span {
  font-family: var(--f-display); font-weight: 600; font-size: var(--fs-tiny);
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  padding: 0.3em 0.8em; border-radius: var(--r-chip);
}

/* ---------- PANORAMA (por que agora) ---------- */
.panorama { padding-block: var(--sect); }
.panorama__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
}
.stat { border-top: 4px solid var(--ink); padding-top: 1.2rem; }
.stat__num {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.95;
  margin-bottom: 0.35rem;
}
.stat:nth-child(1) .stat__num { color: var(--red); }
.stat:nth-child(2) .stat__num { color: var(--cyan-deep); }
.stat:nth-child(3) .stat__num { color: var(--amber-deep); }
.stat p { font-size: 1rem; color: var(--ink-2); margin-bottom: 0.5rem; }
.stat cite {
  font-style: normal; font-family: var(--f-display); font-size: var(--fs-tiny);
  color: var(--ink-soft); font-weight: 600;
}
.stat cite a { color: inherit; }

/* ---------- PORTFÓLIO (museu vivo) ---------- */
.galeria { padding-block: var(--sect); background: var(--paper-dim); }
.filters {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.6rem;
}
.filters button {
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  padding: 0.55em 1.25em; border-radius: var(--r-chip);
  border: 2.5px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: background var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem;
  grid-auto-flow: dense;
}
.work {
  grid-column: span 2;
  border: 3px solid var(--ink); border-radius: var(--r-tile);
  background: var(--paper); overflow: hidden;
  text-align: left; padding: 0;
  transition: box-shadow var(--dur-1) var(--ease-out);
  box-shadow: 0.25rem 0.3rem 0 var(--ink);
  display: flex; flex-direction: column;
}
.work.is-revealed { transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out); }
.work:hover { transform: translate(-3px, -7px) rotate(0.35deg); box-shadow: 0.6rem 0.75rem 0 var(--ink); }
.work--featured { grid-column: span 3; }
.work.is-hidden { display: none; }
.work.is-entering { animation: work-in var(--dur-2) var(--ease-out) both; }
@keyframes work-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--ink); }
.work--featured .work__img { aspect-ratio: 16 / 10; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-2) var(--ease-out); }
.work:hover .work__img img { scale: 1.045; }
.work__label { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.work__label b { font-family: var(--f-display); font-weight: 760; font-size: 1.18rem; letter-spacing: -0.01em; }
.work__label span { font-style: italic; font-size: var(--fs-small); color: var(--ink-2); }
.work__cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.7rem; }
.work__cats i {
  font-style: normal; font-family: var(--f-display); font-weight: 650; font-size: 0.72rem;
  padding: 0.25em 0.75em; border-radius: var(--r-chip); border: 1.5px solid var(--ink-soft); color: var(--ink-2);
}
.work__label .work__hint {
  font-family: var(--f-display); font-size: var(--fs-tiny); font-weight: 700;
  color: var(--red-strong); font-style: normal;
}

/* dialog de case */
.case-dialog {
  border: 3px solid var(--ink); border-radius: var(--r-tile);
  padding: 0; width: min(880px, calc(100vw - 2rem));
  background: var(--paper); color: var(--ink);
  box-shadow: 0.6rem 0.75rem 0 oklch(22.2% 0.01 308 / 0.35);
}
.case-dialog::backdrop { background: oklch(22.2% 0.01 308 / 0.62); backdrop-filter: blur(6px); }
.case-dialog img { width: 100%; max-height: 46vh; object-fit: cover; border-bottom: 3px solid var(--ink); }
.case-dialog__body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.case-dialog h3 { font-size: var(--fs-h3); margin-bottom: 0.2em; }
.case-dialog .case-kind { font-style: italic; color: var(--ink-2); display: block; margin-bottom: 1rem; }
.case-dialog p { color: var(--ink-2); }
.case-dialog .work__cats { padding-top: 1rem; }
.case-dialog__close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--r-chip);
  font-family: var(--f-display); font-weight: 700; padding: 0.45em 1em;
  box-shadow: 0.15em 0.2em 0 var(--ink);
}

/* ---------- VÍDEO (drenched red) ---------- */
.video-sect {
  background: var(--red-sect); color: var(--paper);
  padding-block: var(--sect);
  position: relative; overflow: clip;
}
.video-sect .sect-head .kicker { background: var(--paper); color: var(--red-deep); }
.video-sect h2 { color: var(--paper); }
.video-sect .lead { color: oklch(93% 0.035 20); }
.marquee {
  position: relative; margin-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: clip; white-space: nowrap; user-select: none;
  border-block: 3px solid oklch(96% 0.02 20 / 0.5);
  padding-block: 0.55rem;
}
.marquee__track {
  display: inline-flex; gap: 2.4rem; padding-right: 2.4rem;
  animation: marquee 26s linear infinite;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
}
.marquee__track span { color: var(--paper); }
.marquee__track span:nth-child(even) { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

.player {
  position: relative; max-width: 820px; margin-inline: auto;
  border: 4px solid var(--paper); border-radius: var(--r-tile);
  overflow: hidden; background: var(--ink);
  box-shadow: 0.7rem 0.85rem 0 oklch(30% 0.12 22);
}
.player video { width: 100%; aspect-ratio: 16 / 9; }
.player__poster {
  position: absolute; inset: 0; width: 100%;
  display: grid; place-items: center;
  background: var(--ink); border: 0; padding: 0;
}
.player__poster svg { width: 100%; height: 100%; }
.player__poster:hover .play-badge { scale: 1.08; }
.play-badge {
  position: absolute;
  width: clamp(72px, 12vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red-strong); border: 3.5px solid var(--paper);
  display: grid; place-items: center;
  transition: scale var(--dur-1) var(--ease-out);
  box-shadow: 0 10px 34px oklch(0% 0 0 / 0.4);
}
.play-badge svg { width: 38%; height: auto; translate: 8% 0; }
.video-sect__note {
  text-align: center; margin: 1.6rem auto 0; font-style: italic;
  color: oklch(93% 0.035 20); font-size: var(--fs-small); max-width: 60ch;
}

/* ---------- DEPOIMENTOS ---------- */
.depoimentos { padding-block: var(--sect); }
.depo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.depo {
  border: 3px solid var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0.35rem 0.45rem 0 var(--ink);
}
.depo--cyan { background: var(--cyan-tint); border-radius: 2rem 2rem 2rem 0.4rem; }
.depo--lime { background: var(--lime-tint); border-radius: 2rem 2rem 0.4rem 2rem; rotate: 0.5deg; }
.depo blockquote { margin: 0 0 1.4rem; font-size: 1.12rem; line-height: 1.7; font-style: italic; color: var(--ink-2); }
.depo footer { display: flex; align-items: center; gap: 0.9rem; }
.depo img { width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid var(--ink); object-fit: cover; }
.depo b { font-family: var(--f-display); font-weight: 750; display: block; line-height: 1.2; }
.depo small { font-family: var(--f-display); color: var(--ink-soft); font-size: var(--fs-tiny); }

/* ---------- CLIENTES (mural tipográfico) ---------- */
.clientes { padding-block: var(--sect); background: var(--ink); color: var(--paper); }
.clientes .sect-head .kicker { background: var(--lime); color: var(--lime-ink); }
.clientes h2 { color: var(--paper); }
.clientes .lead { color: oklch(80% 0.01 260); }
.client-wall { display: flex; flex-wrap: wrap; gap: 0.7rem 0.8rem; max-width: 1080px; }
.client-wall span {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  padding: 0.42em 1.05em; border-radius: var(--r-chip);
  border: 2px solid oklch(60% 0.012 260);
  color: oklch(88% 0.008 260);
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.client-wall span:hover { transform: translateY(-3px) rotate(-1deg); }
.client-wall span:nth-child(5n+1):hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.client-wall span:nth-child(5n+2):hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.client-wall span:nth-child(5n+3):hover { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.client-wall span:nth-child(5n+4):hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.client-wall span:nth-child(5n+5):hover { background: var(--pink); border-color: var(--pink); color: var(--paper); }
.client-wall .is-big { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--paper); border-color: oklch(75% 0.01 260); }

/* ---------- CONTATO (drenched lime) ---------- */
.contato {
  background: var(--lime); color: var(--lime-ink);
  padding-block: var(--sect);
  position: relative; overflow: clip;
}
.contato h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem); color: var(--lime-ink); max-width: 16ch;
}
.contato .lead { font-size: var(--fs-lead); color: oklch(36% 0.06 118); max-width: 46ch; }
.contato__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.contato__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.contato__meta { font-family: var(--f-display); font-size: 1rem; line-height: 1.9; }
.contato__meta a { color: var(--lime-ink); font-weight: 700; }
.contato__meta b { font-weight: 800; display: block; margin-bottom: 0.2rem; }
.contato__balloon {
  position: absolute; right: -3rem; top: -3.5rem; width: clamp(180px, 24vw, 320px);
  opacity: 0.35; rotate: 12deg; pointer-events: none;
}

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: oklch(78% 0.01 260); padding-block: 3.5rem 2rem; font-family: var(--f-display); }
.footer a { color: oklch(88% 0.008 260); text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.6rem; }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.3rem; color: var(--paper); }
.footer__brand svg { width: 40px; }
.footer__tag { font-family: var(--f-body); font-style: italic; margin-top: 0.8rem; font-size: var(--fs-small); max-width: 30ch; }
.footer h4 { color: var(--paper); font-size: 0.95rem; margin-bottom: 0.8rem; font-weight: 750; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--fs-small); }
.footer__legal {
  border-top: 1px solid oklch(38% 0.01 260); padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--fs-tiny);
}

/* ---------- Reveals (conteúdo visível por padrão; JS só realça) ---------- */
.reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .pieces { grid-template-columns: repeat(2, 1fr); }
  .piece--curadoria, .piece--material, .piece--facilit, .piece--arquit, .piece--custom { grid-column: span 1; }
  .piece--curadoria { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .work, .work--featured { grid-column: span 1; }
  .work--featured { grid-column: span 2; }
  .metodo__grid { grid-template-columns: 1fr; }
  .metodo__obj { position: static; max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__links, .nav__langs, .nav .btn--nav-cta { display: none; }
  .nav__burger { display: block; }
  .panorama__grid { grid-template-columns: 1fr; gap: 2rem; }
  .depo-grid { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__title { max-width: 100%; }
  /* em telas estreitas os balões invadiriam o texto — hero fica limpo */
  .float-chip { display: none; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .work--featured { grid-column: span 1; }
  .work__img, .work--featured .work__img { aspect-ratio: 3 / 2; }
  .pieces { grid-template-columns: 1fr; }
  .piece--curadoria { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .hero__scrollcue { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .marquee__track { animation: none; transform: none; }
  .hero__scrollcue svg { animation: none; }
}
