/* ============================================================
   Growth Design — versão "Vercel" (alta fidelidade)
   Inspiração direta: vercel.com (HTML baixado).
   Sistema Geist: preto absoluto, escala de cinza precisa,
   bordas finas sólidas, near-white #ededed, azul de link #52aeff,
   botões de raio 6px, tipografia Geist Sans/Mono. Minimalismo de produto.
   ============================================================ */

/* ---------- Reset & tokens (Geist) ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  /* Fundos */
  --background:     #000000;   /* página */
  --background-100: #0a0a0a;   /* superfície/cartão */
  --background-200: #000000;

  /* Escala de cinza Geist (dark) */
  --gray-100: #1a1a1a;   /* hover de superfície */
  --gray-200: #1f1f1f;
  --gray-300: #292929;
  --gray-400: #2e2e2e;
  --gray-600: #666666;
  --gray-700: #8f8f8f;   /* texto terciário */
  --gray-900: #a1a1a1;   /* texto secundário */
  --gray-1000:#ededed;   /* texto de alto contraste */

  /* Texto */
  --foreground:      #ededed;  /* corpo */
  --foreground-pure: #ffffff;  /* títulos */
  --secondary:       #a1a1a1;
  --tertiary:        #8f8f8f;

  /* Bordas (sólidas, como na vercel.com sobre preto) */
  --border:        #242424;
  --border-strong: #343434;

  /* Acentos */
  --blue:       #0096ff;   /* azul de marca */
  --blue-link:  #52aeff;   /* link/foco no dark */
  --green:      #0cce6b;   /* status "operacional" */
  --focus:      #52aeff;

  /* Tipografia */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --page-width: 1200px;
  --gutter: clamp(1.25rem, 5vw, 1.5rem);
  --radius: 12px;
  --radius-btn: 6px;
  --nav-h: 64px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], header[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

body {
  font-family: var(--sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(0, 150, 255, 0.35); color: #fff; }

/* Foco acessível (estilo ring Geist) */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--focus);
  border-radius: 5px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; box-shadow: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--foreground-pure); color: #000;
  padding: 0.6rem 1rem; border-radius: var(--radius-btn);
  font-size: 0.85rem; font-weight: 500;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--page-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0;
  color: var(--tertiary);
  margin-bottom: 1.1rem;
}

/* Gradiente sutil branco→cinza (tratamento Geist) */
.grad {
  background: linear-gradient(180deg, #fff 25%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Destaque multicor — mesma paleta, em tons neon (mais vivos, alto contraste no preto) */
.grad-multi {
  background: linear-gradient(90deg, #b88bff 0%, #ff9a4d 50%, #e85dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Botões (Geist Button) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0 0.875rem;
  height: 40px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease),
              border-color 0.15s var(--ease), opacity 0.15s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.15s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

.btn--primary { background: var(--foreground-pure); color: #000; }
.btn--primary:hover { background: #d4d4d4; }

.btn--secondary {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--gray-100); border-color: #4a4a4a; }

.btn--block { width: 100%; }
.btn--lg { height: 48px; padding: 0 1.25rem; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: calc(var(--page-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--foreground-pure);
}
.brand__mark { width: 20px; height: 18px; fill: currentColor; flex: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin-left: 1.25rem;
  margin-right: auto;
}
.nav__link {
  font-size: 0.875rem;
  color: var(--secondary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-btn);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__link:hover { color: var(--foreground-pure); background: var(--gray-100); }
.nav__actions { display: flex; align-items: center; gap: 0.4rem; }
.nav__login {
  font-size: 0.875rem;
  color: var(--secondary);
  padding: 0 0.75rem;
  height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s var(--ease);
}
.nav__login:hover { color: var(--foreground-pure); }
.nav__burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 4rem));
  padding-bottom: clamp(4rem, 9vh, 7rem);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 75% at 50% 0%, #000 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 5%, transparent 70%);
  opacity: 0.5;
}
.hero__glow {
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 120%); height: 600px;
  z-index: 0;
  background:
    radial-gradient(45% 50% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(40% 45% at 50% 50%, rgba(0, 150, 255, 0.10), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: var(--secondary);
  background: var(--background-100);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.4rem 0.3rem 0.8rem;
  margin-bottom: 1.75rem;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.pill:hover { border-color: var(--border-strong); color: var(--foreground); }
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-link);
  box-shadow: 0 0 0 3px rgba(82, 168, 255, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.pill__arrow {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--gray-200);
  color: var(--secondary);
  font-size: 0.75rem;
}

.hero__title {
  font-size: clamp(2.7rem, 7.5vw, 6rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--foreground-pure);
  max-width: 17ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6), 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.25rem);
  color: var(--secondary);
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}
.hero__sub strong { color: var(--foreground); font-weight: 500; }
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero__meta {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 760px;
}
.hero__meta-item { text-align: center; }
.hero__meta-num {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--foreground-pure);
}
.hero__meta-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-top: 0.5rem;
}

/* ============================================================
   TUBES CURSOR como FUNDO do hero (21st.dev / jodesh18, adaptado)
   Canvas full-bleed atrás do conteúdo — segue o mouse em toda a seção.
   ============================================================ */
.hero__tubes {
  position: absolute;
  inset: 0;
  z-index: 0;            /* atrás do conteúdo (hero__inner = z-index 1) */
  width: 100%;
  height: 100%;
  display: block;
}
.hero__hint {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0;
  color: var(--tertiary);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   LOGOS / MARQUEE
   ============================================================ */
.logos { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--border); }
.logos__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 2rem;
}
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--background), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--background), transparent); }
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-word {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--tertiary);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.logo-word:hover { color: var(--foreground); }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding-block: clamp(4.5rem, 11vh, 8rem); }
.section--tight { padding-block: clamp(3rem, 7vh, 5rem); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; }
.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--foreground-pure);
}
.section__lead {
  margin-top: 1.1rem;
  max-width: 54ch;
  color: var(--secondary);
  font-size: 1.0625rem;
}

/* ============================================================
   MÉTRICAS
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--background-100);
}
.metric {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-right: 1px solid var(--border);
}
.metric:last-child { border-right: none; }
.metric__num {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--foreground-pure);
  display: flex;
  align-items: baseline;
}
.metric__num .sym { color: var(--tertiary); font-size: 0.5em; font-weight: 500; }
.metric__label {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--secondary);
  max-width: 24ch;
}

/* ============================================================
   PROBLEMA — vs
   ============================================================ */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.vs__col {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-100);
}
.vs__col--good { border-color: var(--border-strong); }
.vs__head {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}
.vs__sign {
  width: 22px; height: 22px; flex: none;
  display: grid; place-items: center;
  border-radius: 6px; font-size: 0.8rem;
}
.vs__col--bad .vs__sign { background: var(--gray-200); color: var(--tertiary); }
.vs__col--good .vs__sign { background: rgba(0, 150, 255, 0.15); color: var(--blue-link); }
.vs__list { list-style: none; display: flex; flex-direction: column; gap: 0.95rem; }
.vs__list li { display: flex; gap: 0.7rem; font-size: 0.9375rem; line-height: 1.45; color: var(--secondary); }
.vs__list li::before { font-family: var(--mono); flex: none; }
.vs__col--bad li::before { content: "✕"; color: var(--gray-600); }
.vs__col--good li::before { content: "✓"; color: var(--blue-link); }

/* ============================================================
   SERVIÇOS — bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(1rem, 2vw, 1.25rem);
}
.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-100);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.card__glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover .card__glow { opacity: 1; }
.card__no {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--tertiary);
}
.card__title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.55rem;
  color: var(--foreground-pure);
}
.card__desc { color: var(--secondary); font-size: 0.9375rem; max-width: 46ch; }
.tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--secondary);
  background: var(--gray-200);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25em 0.55em;
}

/* ============================================================
   CASES
   ============================================================ */
.cases__list { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.25rem); }
.case {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-100);
  transition: border-color 0.2s var(--ease);
}
.case:hover { border-color: var(--border-strong); }
.case__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue-link);
}
.case__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0.85rem 0 1.5rem;
  line-height: 1.08;
  color: var(--foreground-pure);
}
.case__rows { display: flex; flex-direction: column; gap: 1rem; }
.case__row { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; }
.case__row dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tertiary);
  padding-top: 0.1rem;
}
.case__row dd { color: var(--secondary); font-size: 0.9375rem; line-height: 1.45; }
.case__quote {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--foreground);
}
.case__quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--tertiary);
}
.case__panel {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.5rem;
}
.case__stat { border-left: 2px solid var(--blue); padding-left: 1.1rem; }
.case__stat-num {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--foreground-pure);
}
.case__stat-num .sym { color: var(--tertiary); font-size: 0.5em; }
.case__stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--secondary);
  margin-top: 0.5rem;
}

/* ============================================================
   TRABALHOS — cards expansíveis (adaptado do pen z-/OBPJKK)
   Clique em um card para expandi-lo; os demais recolhem.
   ============================================================ */
.works__options {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: clamp(360px, 52vh, 460px);
  gap: 14px;
}
/* Curva única, suave e simétrica para todo o componente */
.works__option {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 64px;
  max-width: 92px;          /* recolhido: faixa estreita */
  border-radius: 18px;
  background-color: var(--background-100);
  background-image: var(--optionBackground, none);
  background-size: cover;   /* estático — não animamos a imagem (evita repaint a cada frame) */
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 1px solid var(--border);
  /* Animamos a LARGURA via max-width: interpola linear em px => fluido e simétrico */
  transition: max-width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s var(--ease);
  will-change: max-width;
}
.works__option:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.works__option.active {
  max-width: 680px;         /* expandido */
  border-radius: 26px;
  border-color: var(--border-strong);
}
/* Escurecimento inferior via gradiente; só a opacidade anima (composição na GPU) */
.works__shadow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0) 100%);
  transition: opacity 0.5s ease;
}
.works__option:not(.active) .works__shadow { opacity: 0.45; }
.works__option.active .works__shadow { opacity: 1; }
.works__label {
  display: flex;
  align-items: center;
  position: absolute;
  left: 22px;
  bottom: 20px;
  height: 44px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.works__option:not(.active) .works__label { transform: translate(-10px, 8px); }
.works__option.active .works__label { transform: none; }
.works__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background: #fff;
  color: #111;
}
.works__icon svg { width: 20px; height: 20px; }
.works__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 12px;
  color: #fff;
  white-space: pre;
}
.works__info > div {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease-out;
  will-change: transform, opacity;
}
.works__option:not(.active) .works__info > div { transform: translateX(16px); opacity: 0; }
.works__option.active .works__info > div { transform: none; opacity: 1; }
.works__main { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.works__sub {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  transition-delay: 0.08s; /* leve stagger em relação ao título */
}

@media (max-width: 720px) {
  .works__options { flex-direction: column; height: auto; }
  /* No empilhamento vertical, animamos a ALTURA (mesma curva linear/suave) */
  .works__option {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-height: 64px;
    max-height: 64px;
    transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s var(--ease);
  }
  .works__option.active { max-height: 340px; }
}

/* ============================================================
   DEPOIMENTOS (componente 21st.dev adaptado ao sistema Vercel)
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.tcard {
  background: var(--background-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.tcard:hover { border-color: var(--border-strong); }
.tcard__media { position: relative; overflow: hidden; }
.tcard__media img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s var(--ease);
}
.tcard:hover .tcard__media img { transform: scale(1.05); }
.tcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--background-100) 3%, transparent 55%);
}
.tcard__body { padding: 0 1.25rem 1.35rem; }
.tcard__quote {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--foreground);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.tcard__name { margin-top: 1rem; font-size: 0.9375rem; color: var(--foreground-pure); }
.tcard__role {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: linear-gradient(90deg, #8b5cf6, #e0724a, #9938ca);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   MÉTODO / STEPS
   ============================================================ */
.method__name {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--secondary);
  margin-top: 1.1rem;
}
.method__name b { color: var(--blue-link); font-weight: 500; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--background-100);
}
.step {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step__no {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--foreground);
}
.step__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 1.1rem 0 0.55rem;
  color: var(--foreground-pure);
}
.step__desc { color: var(--secondary); font-size: 0.875rem; line-height: 1.5; }

/* ============================================================
   INVESTIMENTO / PLANOS
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.25rem); }
.plan {
  position: relative;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-100);
  display: flex;
  flex-direction: column;
}
.plan--feature {
  border-color: var(--border-strong);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 150, 255, 0.08), transparent 55%),
    var(--background-100);
}
.plan__badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  background: var(--foreground-pure);
  padding: 0.3em 0.7em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.plan__name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground-pure);
}
.plan__desc { color: var(--secondary); font-size: 0.9375rem; margin-top: 0.6rem; }
.plan__price {
  margin: 1.6rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.plan__price-from {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--tertiary);
  width: 100%;
}
.plan__price-val {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--foreground-pure);
}
.plan__price-per { font-family: var(--mono); font-size: 0.8rem; color: var(--tertiary); }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; margin-bottom: 1.8rem; }
.plan__list li { display: flex; gap: 0.6rem; font-size: 0.9375rem; color: var(--secondary); }
.plan__list li::before { content: "✓"; color: var(--blue-link); flex: none; font-family: var(--mono); }
.invest__note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--tertiary);
}

/* ============================================================
   CTA / FORM
   ============================================================ */
.cta {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--background-100);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 150, 255, 0.1), transparent 70%);
  pointer-events: none;
}
.cta__copy, .form { position: relative; z-index: 1; }
.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--foreground-pure);
}
.cta__sub { margin-top: 1.1rem; color: var(--secondary); max-width: 40ch; }
.cta__list { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.cta__list li { display: flex; gap: 0.6rem; font-size: 0.875rem; color: var(--secondary); font-family: var(--mono); }
.cta__list li::before { content: "✓"; color: var(--blue-link); }

.form { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tertiary);
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  padding: 0.65rem 0.8rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-600); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.25);
}
.field textarea { resize: vertical; min-height: 84px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form__success {
  display: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 150, 255, 0.5);
  border-radius: var(--radius-btn);
  background: rgba(0, 150, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--blue-link);
}
.form__success.show { display: block; }
.form__hint { font-family: var(--mono); font-size: 0.6875rem; color: var(--tertiary); }

/* ============================================================
   FOOTER (estilo vercel.com)
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand .brand { font-size: 1.05rem; margin-bottom: 1rem; }
.footer__tag { color: var(--tertiary); max-width: 30ch; font-size: 0.875rem; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--foreground-pure);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--secondary); font-size: 0.875rem; transition: color 0.15s var(--ease); }
.footer__col a:hover { color: var(--foreground-pure); }
.footer__bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--tertiary);
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--secondary);
}
.footer__status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 206, 107, 0.18);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__cta { display: none; }
  .nav__burger {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-btn);
    background: transparent;
    gap: 5px;
  }
  .nav__burger span { width: 18px; height: 1.5px; background: var(--foreground); display: block; }
  .vs { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); }
  .metric:last-child { border-bottom: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.04em; color: var(--foreground-pure); }
.mobile-menu .btn { margin-top: 1rem; font-size: 1rem; }

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