/* ============================================================
   Adam Barros — sistema visual
   Osso, chocolate e o verde da Amazônia. Uma família: Clash Grotesk.
   ============================================================ */

@font-face { font-family: "Clash Grotesk"; src: url("/fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #e5e1d8;
  --surface: #dad5ca;
  --surface-2: #cfc9bc;
  --ink: #2a1d17;
  --muted: #5f5047;
  --accent: #456f3a;
  --accent-deep: #37592e;
  --accent-ink: #ebe7df;
  --night: #2a1d17;
  --night-2: #3a2a22;
  --night-ink: #e5e1d8;
  --night-muted: #c4b8ab;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 1.6rem + 6.4vw, 7.5rem);

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --section-gap: clamp(96px, 6vw + 60px, 200px);
  --margin: clamp(16px, 2.2vw, 32px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--margin); top: -80px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--step-head); }
p { max-width: 62ch; text-wrap: pretty; }

/* ── Botões: retangulares, uma cor ─────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0;
  font-size: var(--step-body); font-weight: 500; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}
.btn > span { position: relative; z-index: 1; }
/* Preenchimento que sobe no hover */
.btn::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 100%;
  background: var(--accent-deep);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink::before { background: #120c09; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.link:hover { text-decoration-color: currentColor; color: var(--accent); }

/* ── A fileira (dentes) ───────────────────────────────────── */
.row-teeth {
  display: flex; gap: 0; height: 56px; overflow: hidden;
}
.row-teeth i {
  flex: 0 0 28px; height: 100%;
  background: var(--ink);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 28ms);
}
.row-teeth i:nth-child(2n) { background: transparent; }
.js .row-teeth:not(.aligned) i { transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg)); }
.row-teeth.thin { height: 8px; }
.row-teeth.thin i { flex-basis: 28px; }

/* ============================================================
   PALCO — metade fixa, metade que rola
   ============================================================ */
.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}
.stage-read { min-width: 0; }
.stage-fixed {
  position: sticky; top: 12px;
  height: calc(100svh - 24px);
  overflow: hidden;
  background: var(--night);
}
.stage-fixed figure {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.stage-fixed figure.on { opacity: 1; }
.stage-fixed img, .stage-fixed video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s linear;
}
.stage-fixed figure.on img { transform: scale(1); }
.stage-fixed .top { object-position: 50% 0%; }
.stage-fixed figcaption {
  position: absolute; left: var(--space-lg); bottom: var(--space-lg); right: var(--space-lg);
  left: auto; right: auto; width: fit-content;
  background: var(--night); color: var(--night-ink); font-size: var(--step-small); padding: 6px 10px;
}

/* Cartão do hero */
.hero-card {
  min-height: calc(100svh - 24px);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.hero-body {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-3xl) clamp(24px, 4vw, 64px) var(--space-2xl);
  gap: 0;
}
.hero-role {
  font-size: var(--step-lead); font-weight: 400; line-height: 1.2;
  margin-bottom: var(--space-lg);
}
.hero-card h1 {
  font-size: var(--step-display);
  letter-spacing: -0.045em; line-height: 0.88;
}
.hero-lead {
  margin: 40px auto 0;
  max-width: 34ch;
  font-size: var(--step-lead); line-height: 1.3;
}
.hero-actions { margin-top: var(--space-2xl); }
.hero-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  padding: 0 var(--space-lg) 28px;
  font-size: var(--step-body);
}
.hero-links a { text-decoration: none; padding: 6px 0; position: relative; }
.hero-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.hero-links a:hover::after, .hero-links a:focus-visible::after { transform: scaleX(1); }

.hero-mobile-photo { display: none; }

/* Coluna de leitura */
.read-block {
  padding: var(--section-gap) clamp(24px, 5vw, 72px) 0;
}
.read-block h2 { max-width: 14ch; margin-bottom: var(--space-2xl); }
.intro p + p { margin-top: 1.1em; }
.intro p { max-width: 46ch; }
.intro p:first-of-type { font-size: var(--step-lead); line-height: 1.3; font-weight: 500; max-width: 30ch; }

.facts {
  margin-top: var(--space-3xl);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-xl);
  max-width: 560px;
}
.facts li { display: flex; flex-direction: column; gap: var(--space-xs); }
.facts strong { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--accent-deep); }
.facts span { color: var(--ink); font-size: var(--step-body); line-height: 1.35; max-width: 22ch; }

.letter { padding-bottom: var(--section-gap); }
.letter-sheet { background: var(--surface); padding: clamp(28px, 4vw, 60px); max-width: 640px; }
.letter-sheet img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; }
.letter-sheet p { max-width: 48ch; }
.letter-sheet p + p { margin-top: 1em; }
.letter-sheet mark { background: color-mix(in oklab, var(--accent) 22%, transparent); color: inherit; padding: 0 0.15em; }
.signature { margin-top: var(--space-xl); }
.signature b { display: block; font-size: var(--step-lead); font-weight: 500; }
.signature span { color: var(--muted); font-size: var(--step-small); }
.letter-photo { display: none; }

/* ============================================================
   ALINHAMENTO — a coisa viva
   ============================================================ */
.align {
  background: var(--accent); color: var(--accent-ink);
  margin: 0 12px;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88svh;
}
.align-plate {
  padding: 40px;
  display: flex; align-items: center; justify-content: center;
}
.align-plate .plate {
  width: 100%; max-width: 640px; aspect-ratio: 1;
  background: var(--bg);
  position: relative;
}
.align-plate svg { width: 100%; height: 100%; }
.tooth { fill: #f7f4ee; stroke: var(--ink); stroke-width: 2.2; }
.tooth.moving { fill: #fffdf8; }
.tray { fill: none; stroke: color-mix(in oklab, var(--accent) 30%, transparent); stroke-linecap: round; stroke-linejoin: round; }
.plate-note {
  position: absolute; left: 20px; bottom: 16px; right: 20px;
  font-size: var(--step-small); color: var(--muted);
}
.align-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2xl);
  padding: 56px clamp(24px, 4vw, 64px) 40px 24px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.tabs button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-size: var(--step-lead); color: var(--accent-ink); opacity: 1;
  position: relative;
}
.tabs button[aria-pressed="true"] { color: var(--accent-ink); font-weight: 500; }
.tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent-ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.tabs button:hover { color: var(--accent-ink); }
.align h2 { max-width: 12ch; }
.align-top { display: flex; flex-direction: column; gap: var(--space-xl); }
.align-desc { margin-top: var(--space-2xl); max-width: 38ch; }
.stage-control { margin-top: var(--space-2xl); max-width: 460px; }
.stage-readout {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-sm);
}
.stage-readout b { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stage-readout span { font-size: var(--step-body); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 10px; background: var(--accent-deep); }
input[type="range"]::-moz-range-track { height: 10px; background: var(--accent-deep); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 44px; margin-top: -17px; background: var(--accent-ink); border: 0;
  transition: transform 0.2s var(--ease-out);
}
input[type="range"]::-moz-range-thumb { width: 28px; height: 44px; background: var(--accent-ink); border: 0; border-radius: 0; }
input[type="range"]:active::-webkit-slider-thumb { transform: scaleX(1.3); }
input[type="range"]:focus-visible { outline-color: var(--accent-ink); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cells a {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 22px; text-decoration: none; font-weight: 500;
  transition: background-color 0.2s ease, transform 0.25s var(--ease-out);
}
.cells a:first-child { background: var(--ink); color: var(--bg); }
.cells a:first-child:hover { background: #120c09; }
.cells a:last-child { background: var(--accent-deep); color: var(--accent-ink); }
.cells a:last-child:hover { background: #2c4824; }
.cells a:active { transform: scale(0.985); }

/* ============================================================
   PROJETOS — nomes grandes, prévia fixa
   ============================================================ */
.work {
  padding: var(--section-gap) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
}
.work-head { grid-column: 1 / -1; margin-bottom: var(--space-2xl); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.work-head h2 { font-size: var(--step-head); }
.work-head p { color: var(--muted); max-width: 40ch; }
.work-list { grid-column: 1 / 9; }
.work-list li + li { margin-top: var(--space-md); }
.work-item {
  display: block; text-decoration: none; padding: 10px 0;
  color: var(--muted);
  transition: color 0.25s ease;
}
.work-item .name {
  display: block;
  font-size: clamp(2.75rem, 1rem + 4.6vw, 5.25rem); font-weight: 500;
  letter-spacing: -0.045em; line-height: 1;
  transition: transform 0.4s var(--ease-out);
}
.work-item .meta { display: block; margin-top: 10px; font-size: var(--step-body); }
.work-item .desc {
  display: block; margin-top: 6px; max-width: 52ch; color: var(--muted);
  font-size: var(--step-body);
}
.work-item.active, .work-item:hover, .work-item:focus-visible { color: var(--ink); }
.work-item.active .name { transform: translateX(14px); }
.work-media { display: none; }
.work-frame {
  grid-column: 9 / 13;
  position: sticky; top: 15vh; align-self: start;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface);
}
.work-frame > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.35s ease, transform 0.8s var(--ease-out);
  transform: scale(1.05);
}
.work-frame > .on { opacity: 1; transform: scale(1); }

/* ============================================================
   ONDE ENSINOU — nomes em colunas
   ============================================================ */
.proof {
  padding: var(--section-gap) var(--margin);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
}
.proof-head { grid-column: 1 / 5; }
.proof-head h2 { font-size: var(--step-head); max-width: 9ch; }
.proof-head p { margin-top: var(--space-lg); color: var(--muted); max-width: 30ch; }
.proof-names {
  grid-column: 6 / 13;
  columns: 3; column-gap: 32px;
  font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); line-height: 1.5; letter-spacing: -0.02em;
  padding-top: 4px;
}
.proof-names li { break-inside: avoid; transition: transform 0.3s var(--ease-out), color 0.2s; }
.proof-names li:hover { transform: translateX(8px); color: var(--accent); }
.proof-logos {
  grid-column: 6 / 13; margin-top: var(--space-3xl);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.proof-logos img {
  height: 64px; width: auto; background: #fff; padding: 10px 14px;
  filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.proof-logos img:hover { filter: none; opacity: 1; }

/* ============================================================
   CONTATO — faixa de fotos e barra de três células
   ============================================================ */
.contact {
  background: var(--night); color: var(--night-ink);
  margin: 0 12px;
  padding: 48px 0 var(--space-4xl);
  min-height: 80svh;
  overflow: hidden;
}
.strip { overflow: hidden; }
.strip-track {
  display: flex; gap: 8px; width: max-content;
  animation: drift 70s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 150px; width: auto; object-fit: cover; }
.strip img.r34 { aspect-ratio: 3 / 4; }
.strip img.r11 { aspect-ratio: 1; }
.strip img.r32 { aspect-ratio: 3 / 2; }
@keyframes drift { to { transform: translateX(-50%); } }

.contact-inner { padding: 72px clamp(24px, 4vw, 64px) 0; max-width: 1280px; }
.contact h2 { font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem); }
.contact-lead { margin-top: var(--space-lg); color: var(--night-muted); max-width: 52ch; }
.topics { margin: 40px 0 var(--space-md); border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { width: 100%; margin-bottom: var(--space-sm); color: var(--night-muted); font-size: var(--step-body); padding: 0; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topics span {
  display: block; padding: 12px 18px; background: var(--night-2); color: var(--night-ink);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.topics label:hover span { background: #4a382e; }
.topics input:checked + span { background: var(--night-ink); color: var(--night); }
.topics input:focus-visible + span { outline: 3px solid var(--night-ink); outline-offset: 2px; }
.bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bar input, .bar button {
  height: 96px; border: 0; border-radius: 0; padding: 0 24px;
  font-size: var(--step-lead); text-align: center;
}
.bar input { background: var(--night-2); color: var(--night-ink); transition: background-color 0.2s ease; }
.bar input::placeholder { color: var(--night-muted); }
.bar input:focus { background: #4f3c32; outline: none; }
.bar input:focus-visible { outline: 3px solid var(--night-ink); outline-offset: -3px; }
.bar button {
  background: var(--night-ink); color: var(--night); cursor: pointer; font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}
.bar button:hover { background: #fff; }
.bar button:active { transform: scale(0.985); }
.bar button[disabled] { opacity: 0.7; cursor: progress; }
.fine {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: var(--space-sm);
  font-size: var(--step-small); color: var(--night-muted);
}
.fine a { color: var(--night-ink); }
.form-status { margin-top: var(--space-lg); font-size: var(--step-lead); min-height: 1.4em; }
.form-status.error { color: #f0b9a6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: armadilha invisível do formulário */

/* ============================================================
   RODAPÉ — foto e menu
   ============================================================ */
.footer-band { margin: var(--section-gap) 12px 0; }
.footer {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.footer-photo { overflow: hidden; background: var(--night); }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.footer-menu {
  padding: 80px clamp(24px, 5vw, 80px) 28px;
  display: flex; flex-direction: column;
}
.footer-word { font-size: var(--step-lead); font-weight: 500; text-decoration: none; margin-bottom: var(--space-3xl); }
.footer-menu nav ul { display: flex; flex-direction: column; gap: 14px; }
.footer-menu nav a {
  display: inline-block; text-decoration: none;
  font-size: clamp(2rem, 1rem + 2.6vw, 3.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
}
.footer-menu nav:hover a { color: var(--muted); }
.footer-menu nav a:hover, .footer-menu nav a:focus-visible { color: var(--ink); transform: translateX(12px); }
.footer-info {
  margin-top: var(--space-3xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-size: var(--step-body);
}
.footer-info b { display: block; font-weight: 500; margin-bottom: 6px; }
.footer-info a { display: block; width: fit-content; white-space: nowrap; }
.legal { margin-top: auto; padding-top: var(--space-3xl); font-size: var(--step-small); color: var(--muted); max-width: none; }

/* ============================================================
   VÍDEOS E REDES
   ============================================================ */
.media {
  padding: var(--section-gap) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--space-3xl);
}
.media-head { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.media-head h2 { max-width: 8ch; }
.media-title { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.media-title svg { flex: none; }
.btn-ico { display: inline-flex; background: #fff; padding: 6px 6px; margin-left: -10px; }
.btn-ico svg { display: block; }
.insta-label { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.insta-label svg { flex: none; }
.social { display: inline-flex !important; align-items: center; gap: 8px; }
.social svg { flex: none; }
.media-head p { color: var(--muted); max-width: 30ch; }
.media-videos { grid-column: 5 / 13; display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.yt h3 { margin-top: var(--space-md); font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; max-width: 26ch; }
.yt p { margin-top: 6px; color: var(--muted); font-size: var(--step-body); }
.yt-play { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.yt-play img, .yt-play iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play img { transition: transform 0.8s var(--ease-out); }
.yt-play:hover img { transform: scale(1.04); }
.yt-btn {
  position: absolute; left: 16px; bottom: 16px; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
}
.yt-play:hover .yt-btn { transform: scale(1.08); background: var(--accent-deep); }
.media-videos .yt:nth-child(2) { margin-top: var(--space-4xl); }
.insta {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 24px;
  padding: clamp(28px, 4vw, 56px); background: var(--surface); text-decoration: none;
  transition: background-color 0.25s ease;
}
.insta:hover { background: var(--surface-2); }
.insta-label { font-size: var(--step-lead); color: var(--muted); }
.insta-handle {
  font-size: clamp(2.75rem, 1rem + 4.6vw, 5.25rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  transition: transform 0.4s var(--ease-out);
}
.insta:hover .insta-handle { transform: translateX(14px); }
.insta-go { font-size: var(--step-lead); font-weight: 500; color: var(--accent-deep); }
.insta-feed {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
  margin-top: calc(var(--space-3xl) * -1 + 8px);
}
.insta-feed[hidden] { display: none; }
.insta-post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); text-decoration: none; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.insta-post:hover img, .insta-post:focus-visible img { transform: scale(1.06); }
.insta-post .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: var(--night); color: var(--night-ink); font-size: var(--step-small); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transform: translateY(101%); transition: transform 0.35s var(--ease-out);
}
.insta-post:hover .cap, .insta-post:focus-visible .cap { transform: none; }
.insta-post .kind {
  position: absolute; top: 10px; right: 10px; padding: 4px 8px;
  background: var(--night); color: var(--night-ink); font-size: var(--step-small);
}
.js .insta-post { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .insta-feed.in .insta-post { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .insta-post { opacity: 1; transform: none; transition: none; }
}
.footer-info { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .media { display: block; }
  .media-head { margin-bottom: var(--space-2xl); }
  .media-head h2 { max-width: none; }
  .media-videos { grid-template-columns: 1fr 1fr; }
  .insta { margin-top: var(--space-2xl); }
  .insta-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
}
@media (max-width: 959px) {
  .footer-info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .media { padding-top: 96px; }
  .media-videos { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .media-videos .yt:nth-child(2) { margin-top: 0; }
  .insta { grid-template-columns: 1fr; gap: 8px; }
  .insta-handle { font-size: 9.6vw; }
  .insta-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insta-post .cap { display: none; }
}

/* ============================================================
   Página da formação
   ============================================================ */
.hero-card h1.page-title { font-size: clamp(2.75rem, 1.2rem + 4.4vw, 5.5rem); line-height: 0.92; max-width: 12ch; }
.hero-status { margin-top: var(--space-lg); color: var(--accent-deep); font-weight: 500; }
.fit { display: grid; gap: var(--space-md); max-width: 640px; }
.fit > div { padding: clamp(24px, 3vw, 40px); }
.fit-yes { background: var(--accent); color: var(--accent-ink); }
.fit-no { background: var(--surface); }
.fit h3 { font-size: var(--step-lead); margin-bottom: var(--space-md); letter-spacing: -0.02em; }

.modules { padding: var(--section-gap) var(--margin) 0; }
.modules h2 { margin-bottom: var(--space-3xl); }
.modules ol {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.modules li { background: var(--surface); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: var(--space-md); }
.modules li:nth-child(2) { background: var(--ink); color: var(--bg); }
.modules li:nth-child(2) .outcome { color: var(--bg); }
.modules h3 { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); letter-spacing: -0.035em; margin-bottom: var(--space-sm); }
.modules .outcome { margin-top: auto; padding-top: var(--space-lg); font-weight: 500; color: var(--accent-deep); }
.classes {
  margin: var(--space-3xl) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl);
}
.classes dt { color: var(--muted); font-size: var(--step-body); margin-bottom: 6px; }
.classes dd { margin: 0; font-size: var(--step-lead); line-height: 1.25; font-weight: 500; }

.profs { padding: var(--section-gap) var(--margin) 0; }
.profs h2 { margin-bottom: var(--space-3xl); }
.profs-list { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.prof img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: var(--space-lg); filter: grayscale(1); transition: filter 0.6s ease; }
.prof:hover img { filter: none; }
.prof h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: var(--space-sm); }
.prof p { max-width: 44ch; }
.prof:nth-child(2) { margin-top: var(--space-4xl); }
.prof:nth-child(3) { margin-top: calc(var(--space-4xl) * 2); }
.prof-initials {
  aspect-ratio: 4 / 5; margin-bottom: var(--space-lg);
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: flex-end; padding: var(--space-lg);
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.05em; line-height: 0.8;
}

.faq {
  padding: var(--section-gap) var(--margin);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
}
.faq h2 { grid-column: 1 / 5; max-width: 9ch; }
.faq-list { grid-column: 6 / 13; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 64px 22px 24px; position: relative;
  font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25;
  transition: background-color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.75rem; font-weight: 400; transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { background: var(--surface-2); }
.faq details p { padding: 0 24px 24px; max-width: 60ch; }

@media (max-width: 1100px) {
  .modules ol { grid-template-columns: 1fr; }
  .classes { grid-template-columns: 1fr 1fr; }
  .profs-list { grid-template-columns: 1fr 1fr; }
  .prof:nth-child(2) { margin-top: var(--space-3xl); }
  .prof:nth-child(3) { margin-top: 0; }
  .faq { display: block; }
  .faq h2 { margin-bottom: var(--space-2xl); }
}
@media (max-width: 640px) {
  .profs-list { grid-template-columns: 1fr; }
  .prof:nth-child(2), .prof:nth-child(3) { margin-top: 0; }
  .classes { grid-template-columns: 1fr; gap: var(--space-lg); }
  .modules, .profs { padding-top: 96px; }
  .faq { padding: 96px var(--margin); }
}

/* ============================================================
   Entradas
   ============================================================ */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .row-teeth:not(.aligned) i { transform: none; }
  .strip-track { animation: none; }
  .stage-fixed img, .stage-fixed figure.on img { transform: none; transition: none; }
  .stage-fixed figure { transition: none; }
  .btn::before { transition: none; }
}

/* ============================================================
   Tablet e celular
   ============================================================ */
@media (max-width: 1100px) {
  .align { display: flex; flex-direction: column; min-height: 0; padding: 48px 24px; gap: 32px; }
  .align-text { display: contents; }
  .align-top { order: 1; }
  .align-plate { order: 2; padding: 0; }
  .align-text > div:nth-child(2) { order: 3; }
  .align-text .cells { order: 4; }
  .align-desc { margin-top: 0; }
  .proof-head { grid-column: 1 / -1; margin-bottom: var(--space-2xl); }
  .proof-names, .proof-logos { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  .stage { grid-template-columns: 1fr; padding: 12px; }
  .stage-fixed { display: none; }
  .hero-mobile-photo { display: block; height: 52svh; overflow: hidden; background: var(--night); }
  .hero-mobile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .hero-card { min-height: 0; margin: -24px 12px 0; position: relative; }
  .row-teeth { height: 40px; }
  .hero-body { padding: 40px 20px 32px; }
  .hero-lead { margin-top: 28px; }
  .read-block { padding: 96px 12px 0; }
  .letter-photo { display: block; margin: 0 0 var(--space-lg); aspect-ratio: 4 / 5; overflow: hidden; }
  .letter-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .work { display: block; padding: 96px var(--margin) 0; }
  .work-frame { display: none; }
  .work-list li + li { margin-top: 40px; }
  .work-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: var(--space-md); background: var(--surface); }
  .work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; }
  .work-item { color: var(--ink); }
  .work-item.active .name { transform: none; }
  .work-item .name { font-size: 9.5vw; }
  .proof { display: block; padding: 96px var(--margin); }
  .proof-names { columns: 2; column-gap: 20px; font-size: 1.125rem; }
  .proof-logos img { height: 52px; }
  .contact { padding-top: 32px; }
  .strip img { height: 110px; }
  .contact-inner { padding: 48px 20px 0; }
  .bar, .fine { grid-template-columns: 1fr; }
  .bar input, .bar button { height: 60px; font-size: var(--step-body); text-align: left; }
  .bar button { text-align: center; }
  .footer { grid-template-columns: 1fr; min-height: 0; }
  .footer-photo { height: 50svh; }
  .footer-menu { padding: 40px 20px 24px; }
  .footer-menu nav a { font-size: 8vw; }
  .footer-info { grid-template-columns: 1fr; }
  .cells { grid-template-columns: 1fr; }
  .cells a { min-height: 60px; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .tabs button { font-size: 1.0625rem; }
}
