/* =========================================================
   AGÊNCIA MV — Design System
   Branco · Preto · Grafite. Editorial, minimalista, borderless.
   Sem sombras. Ritmo por alternância de superfície.
   ========================================================= */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* superfícies */
  --paper: #ffffff;
  --canvas: #f5f5f7;
  --wash: #ebebef;
  --graphite-900: #101114;
  --graphite-800: #17181c;
  --graphite-700: #242528;

  /* tinta */
  --ink: #0a0a0b;
  --ink-2: #4a4b50;
  --ink-3: #77787d;
  --hairline: #dcdce0;

  /* tinta sobre grafite */
  --ink-inv: #ffffff;
  --ink-inv-2: rgba(255, 255, 255, 0.66);
  --ink-inv-3: rgba(255, 255, 255, 0.44);
  --hairline-inv: rgba(255, 255, 255, 0.13);

  /* assinatura secundária — prisma (uso muito contido) */
  --prism: linear-gradient(
    103deg,
    #79c6ff 0%,
    #b5a4ff 26%,
    #ffc4d6 52%,
    #ffe1a3 76%,
    #a4efd9 100%
  );

  /* tipografia */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman',
    serif;

  /* espaço */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --s-80: 80px;
  --s-120: 120px;
  --section: clamp(76px, 10.5vw, 132px);

  /* raio */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* medida */
  --max: 1200px;
  --prose: 66ch;
  --nav-h: 56px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 720ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.022em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--ink-2);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus {
  left: 0;
}

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

/* ---------- Tipografia ---------- */
.display {
  font-size: clamp(44px, 8.4vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(36px, 5.8vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(29px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h4 {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.lead {
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 400;
  line-height: 1.46;
  letter-spacing: -0.016em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body {
  font-size: 17px;
  line-height: 1.53;
  color: var(--ink-2);
  text-wrap: pretty;
}
.caption {
  font-size: 14px;
  line-height: 1.42;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.overline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(56px, 7vw, 88px);
}
.stack {
  display: flex;
  flex-direction: column;
}
.gap-8 {
  gap: var(--s-8);
}
.gap-12 {
  gap: var(--s-12);
}
.gap-16 {
  gap: var(--s-16);
}
.gap-20 {
  gap: var(--s-20);
}
.gap-24 {
  gap: var(--s-24);
}
.gap-32 {
  gap: var(--s-32);
}
.gap-40 {
  gap: var(--s-40);
}
.gap-64 {
  gap: var(--s-64);
}
.measure {
  max-width: var(--prose);
}
.measure-sm {
  max-width: 52ch;
}

/* superfícies alternadas */
.surface-canvas {
  background: var(--canvas);
}
.surface-dark {
  background: var(--graphite-900);
  color: var(--ink-inv);
}
.surface-dark .lead,
.surface-dark .body {
  color: var(--ink-inv-2);
}
.surface-dark .caption,
.surface-dark .overline {
  color: var(--ink-inv-3);
}
.surface-dark a {
  color: var(--ink-inv);
}
.surface-dark a:hover {
  color: var(--ink-inv-2);
}

.rule {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}
.surface-dark .rule {
  background: var(--hairline-inv);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.018em;
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--graphite-700);
  color: var(--paper);
}
.btn--ghost {
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--wash);
  color: var(--ink);
  border-color: var(--wash);
}
.surface-dark .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.surface-dark .btn--primary:hover {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}
.surface-dark .btn--ghost {
  border-color: var(--hairline-inv);
  color: var(--ink-inv);
}
.surface-dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink-inv);
}
.btn--sm {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  min-height: 44px;
}
.link-arrow .chev {
  transition: transform var(--dur-fast) var(--ease);
}
.link-arrow:hover .chev {
  transform: translateX(3px);
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  transition: background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24);
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.brand__mark {
  height: 21px;
  width: auto;
}
.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-inline: 12px;
  font-size: 13px;
  font-weight: 450;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--wash);
}
.nav__links a[aria-current='true'] {
  color: var(--ink);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
}
.nav__toggle:hover {
  background: var(--wash);
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__toggle span + span {
  margin-top: 5px;
}
.nav[data-open='true'] .nav__toggle span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}
.nav[data-open='true'] .nav__toggle span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-8) 0 var(--s-24);
  display: none;
}
.drawer[data-open='true'] {
  display: block;
}
.drawer a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.022em;
  border-bottom: 1px solid var(--hairline);
}
.drawer a:last-of-type {
  border-bottom: 0;
}
.drawer .btn {
  width: 100%;
  margin-top: var(--s-16);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(64px, 13vh, 132px));
  padding-bottom: clamp(64px, 11vw, 128px);
  overflow: hidden;
}
/* assinatura de prisma — halo único, muito contido */
.hero__prism {
  position: absolute;
  top: -26%;
  left: 50%;
  width: min(1320px, 140vw);
  aspect-ratio: 1.55 / 1;
  transform: translateX(-50%);
  background: var(--prism);
  filter: blur(110px) saturate(115%);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(
    ellipse 52% 50% at 50% 46%,
    #000 0%,
    rgba(0, 0, 0, 0.45) 55%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 52% 50% at 50% 46%,
    #000 0%,
    rgba(0, 0, 0, 0.45) 55%,
    transparent 80%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__sig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.hero__sig::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
}
.surface-canvas .card {
  background: var(--paper);
}
.surface-dark .card {
  background: var(--graphite-800);
}
.surface-canvas .card.card--canvas,
.card.card--canvas {
  background: var(--wash);
}

.grid {
  display: grid;
  gap: var(--s-16);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

/* lista de perdas (seção problema) */
.loss {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 var(--s-20);
  padding-block: var(--s-32);
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.loss:last-child {
  border-bottom: 1px solid var(--hairline);
}
.loss__n {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.loss__t {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
}

/* ---------- Funil ---------- */
.funnel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.funnel__stages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stage {
  --w: 100%;
  width: var(--w);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  background: #2a2b30;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.stage:hover {
  background: #35363c;
  color: rgba(255, 255, 255, 0.86);
}
.stage[aria-selected='true'] {
  background: var(--ink);
  color: var(--ink-inv);
}
.stage__label {
  font-size: clamp(15px, 1.5vw, 19px);
}
.stage:nth-child(1) {
  --w: 100%;
}
.stage:nth-child(2) {
  --w: 87%;
}
.stage:nth-child(3) {
  --w: 74%;
}
.stage:nth-child(4) {
  --w: 61%;
}
.stage:nth-child(5) {
  --w: 48%;
}

.funnel__panel {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  min-height: 340px;
}
.panel__body > * {
  animation: fade-up var(--dur-slow) var(--ease-out) both;
}
.panel__meta {
  display: grid;
  gap: var(--s-8);
  padding-top: var(--s-20);
  margin-top: var(--s-20);
  border-top: 1px solid var(--hairline);
}
.panel__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: var(--s-16);
  font-size: 15px;
  align-items: baseline;
}
.panel__row dd {
  margin: 0;
}
.panel__row dt {
  color: var(--ink-3);
  font-size: 13px;
}

/* ---------- Método (cadeia) ---------- */
.chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.chain__item {
  background: var(--paper);
  padding: var(--s-28, 28px) var(--s-20) var(--s-32);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chain__n {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.chain__t {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ---------- Capacidades ---------- */
.cap {
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
  height: 100%;
}
.cap__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: var(--s-20);
  border-top: 1px solid var(--hairline);
}
.cap__list li {
  font-size: 15px;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}
.cap__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
  margin-top: 9px;
}

/* ---------- Fundadores ---------- */
.founder {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}
.founder__role {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-inv-3);
}
.founder__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-8);
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding-inline: 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.surface-dark .tag {
  border-color: var(--hairline-inv);
  color: var(--ink-inv-2);
}

/* ---------- Evidências ---------- */
.evidence {
  display: grid;
  gap: var(--s-16);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.note {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-16);
  padding: var(--s-24);
  border-radius: var(--r-md);
  background: var(--wash);
}
.surface-dark .note {
  background: var(--graphite-800);
}
.surface-dark .phase {
  border-top-color: var(--hairline-inv);
}
.note svg {
  margin-top: 2px;
  color: var(--ink-3);
}

/* ---------- Processo ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-16);
  counter-reset: phase;
}
.phase {
  padding-top: var(--s-20);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Formulário ---------- */
.h2--cta {
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.026em;
}

.form {
  display: grid;
  gap: var(--s-16);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-inv-2);
  letter-spacing: -0.005em;
}
.field input,
.field select,
.field textarea {
  min-height: 50px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline-inv);
  background: var(--graphite-800);
  color: var(--ink-inv);
  font-size: 16px;
  letter-spacing: -0.018em;
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
  width: 100%;
  appearance: none;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-inv-3);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--graphite-700);
}
.field[data-invalid='true'] input,
.field[data-invalid='true'] select {
  border-color: #ff8a7a;
}
.field__error {
  font-size: 13px;
  color: #ff9c8e;
  display: none;
}
.field[data-invalid='true'] .field__error {
  display: block;
}

/* ---------- Rodapé ---------- */
.footer {
  padding-block: var(--s-64) var(--s-40);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-32);
  justify-content: space-between;
  align-items: flex-start;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--s-12);
  font-size: 15px;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  margin-inline: -10px;
  border-radius: var(--r-pill);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16) var(--s-32);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-40);
  padding-top: var(--s-24);
  border-top: 1px solid var(--hairline-inv);
}
.footer .brand__mark {
  height: 30px;
  width: auto;
  align-self: flex-start;
  filter: invert(1);
}

/* ---------- Motion ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .chain {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .funnel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-40);
  }
  .funnel__panel {
    position: static;
    min-height: 0;
  }
  .funnel__stages {
    align-items: stretch;
  }
  .stage {
    --w: 100% !important;
    justify-content: flex-start;
    text-align: left;
    min-height: 56px;
  }
  .stage[aria-selected='true'] {
    background: var(--ink);
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__cta .btn {
    display: none;
  }
  .grid--2,
  .grid--3,
  .grid--12 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid--12 > * {
    grid-column: 1 / -1 !important;
    align-self: start !important;
  }
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
}

@media (min-width: 901px) {
  .drawer {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .loss {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-8);
    padding-block: var(--s-24);
  }
  .loss__n {
    padding-top: 0;
  }
  .footer__bottom {
    justify-content: flex-start;
  }
}

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

@media print {
  .nav,
  .drawer,
  .hero__prism {
    display: none !important;
  }
  body {
    color: #000;
  }
}

/* ---------- Utilitários (substituem style inline) ---------- */
/* atrasos escalonados do reveal */
.d1 { --d: 60ms; }
.d80 { --d: 80ms; }
.d2 { --d: 120ms; }
.d3 { --d: 180ms; }
.d4 { --d: 240ms; }

.row {
  flex-direction: row;
  flex-wrap: wrap;
}

.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.self-end { align-self: end; }
.grid--wide { gap: clamp(32px, 5vw, 64px); }
.measure-xs { max-width: 34ch; }

/* assinatura serifada */
.sig { padding-top: 20px; }
.sig--hero {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--ink);
}
.sig--dark {
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--ink-inv);
}
.sig--footer {
  font-size: 26px;
  color: var(--ink-inv);
}

/* painel do funil */
.panel__q { margin-top: 12px; }
.panel__p { margin-top: 16px; }

/* cards e blocos */
.card__t { margin-bottom: 14px; }
.founder__name { padding-top: 8px; }
.note__p { margin: 0; }
.note__t { margin-bottom: 10px; }
.note strong {
  color: var(--ink-inv);
  font-weight: 600;
}
.surface-canvas .note strong { color: var(--ink); }

/* página 404 */
.page-center {
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.mark-lg {
  height: 34px;
  width: auto;
  align-self: flex-start;
}
