/* =====================================================================
   WeGrow — o site de bywegrow.com (apps/site): Home, Consulting, Systems, Book
   Paleta: Branco Sinal #FFFFFF (base) · Preto Operação #040303 (tinta,
   estrutura) · Ciano WeGrow #39C7D8 (só destaque: CTA, estado ativo, dado).
   Tipografia: Be Vietnam Pro 400/500/700 + Instrument Serif itálico (acento).
   Padrão da marca: frase em duas vozes — sans 700 + serifa itálica.
   ===================================================================== */

:root {
  --white: #ffffff;
  --ink: #040303;
  --cyan: #39c7d8;
  --graphite: #343231;
  --grey: #666564;
  --grey-light: #8a8a8a;
  --paper-2: #f5f5f4;

  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --sec-y: clamp(96px, 12vw, 176px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}

/* ---- tons: cada seção declara se é clara, cinza-clara ou escura ---- */
.tone-light,
.tone-soft {
  --bg: var(--white);
  --fg: var(--ink);
  --fg-2: var(--graphite);
  --fg-3: var(--grey);
  --line: rgba(4, 3, 3, 0.1);
  --line-2: rgba(4, 3, 3, 0.2);
  --soft: rgba(4, 3, 3, 0.035);
  --card: #ffffff;
}

.tone-soft {
  --bg: var(--paper-2);
}

.tone-dark {
  --bg: var(--ink);
  --fg: var(--white);
  --fg-2: rgba(255, 255, 255, 0.78);
  --fg-3: var(--grey-light);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);
  --soft: rgba(255, 255, 255, 0.045);
  --card: rgba(255, 255, 255, 0.035);
}

.tone-light,
.tone-soft,
.tone-dark {
  background: var(--bg);
  color: var(--fg);
}

/* ---- base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.page-light {
  background: var(--white);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, canvas {
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sec {
  position: relative;
  padding: var(--sec-y) 0;
}

.muted {
  color: var(--fg-3);
}

/* ---- tipografia: o par sans + serifa itálica ---- */
.h-hero,
.h-display,
.h-mid,
.h-small {
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h-hero {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.h-display {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.04;
}

.h-mid {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08;
}

.h-small {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* segunda metade da frase em serifa itálica — um pouco maior para compensar
   a altura-x menor da Instrument Serif */
.h-hero em,
.h-display em,
.h-mid em,
.h-small em,
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.h-hero em,
.h-display em,
.h-mid em,
.h-small em {
  font-size: 1.12em;
}

.em-block em {
  display: block;
  line-height: 1;
}

.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 48ch;
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--fg-3);
}

.caps {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* cabeçalho de seção */
.sec-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.sec-head.split {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: end;
}

.sec-head.split > :first-child {
  grid-column: 1 / span 7;
}

/* o texto ao lado do título (e a sua versão curta do celular, .copy-short) */
.sec-head.split > :not(:first-child) {
  grid-column: 9 / span 4;
}

.sec-head.center {
  justify-items: center;
  text-align: center;
}

.sec-head.center .lede {
  margin: 0 auto;
}

/* ---- botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.3s ease, transform 0.35s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--white);
  box-shadow: 0 12px 44px -10px rgba(57, 199, 216, 0.6);
}

.tone-light .btn-primary:hover,
.tone-soft .btn-primary:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 40px -12px rgba(4, 3, 3, 0.5);
}

.btn-primary:focus-visible {
  outline-color: var(--fg);
}

/* link de navegação entre páginas (não compete com o CTA da página) */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s ease, gap 0.3s var(--ease);
}

.btn-link svg {
  width: 17px;
  height: 17px;
}

.btn-link:hover {
  border-color: var(--cyan);
  gap: 14px;
}

/* =====================================================================
   ENTRADAS POR ROLAGEM — [data-reveal], títulos palavra a palavra
   ([data-split]), números que contam ([data-count]), texto que acende com
   a rolagem ([data-scrub]) e barras de progresso ([data-progress]).
   Sem JS ou com movimento reduzido, tudo aparece no estado final.
   ===================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="blur"] { transform: translate3d(0, 18px, 0); filter: blur(10px); }
.js [data-reveal="fade"] { transform: none; }

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* títulos: cada palavra sobe de dentro de uma máscara */
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* folga dos lados: o itálico passa da caixa da letra (o "?" cortava) */
  padding: 0 0.14em 0.08em;
  margin: 0 -0.14em -0.08em;
}

.js [data-split] .w > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms));
}

.js [data-split].is-in .w > span {
  transform: none;
}

/* texto que acende palavra por palavra com a rolagem */
.js [data-scrub] .sw {
  opacity: 0.3;
  transition: opacity 0.5s ease;
  transition-delay: min(calc(var(--k, 0) * 22ms), 1400ms);
}

.js [data-scrub].is-lit .sw {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-split] .w > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .js [data-scrub] .sw {
    opacity: 1;
  }
}

/* =====================================================================
   NAVBAR — fixa em todas as páginas. Sobre a hero escura é transparente
   (logo e links brancos); ao rolar, vira a barra branca. "Book a call"
   sempre visível, inclusive no celular.
   ===================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.45s var(--ease);
}

.nav.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: rgba(4, 3, 3, 0.08);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: none;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav .logo-dark,
.nav.is-solid .logo-light {
  display: none;
}

.nav.is-solid .logo-dark {
  display: block;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 15px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav.is-solid .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.nav-cta:hover,
.nav.is-solid .nav-cta:hover {
  background: var(--cyan);
  color: var(--ink);
}

.nav-menu {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  place-items: center;
  cursor: pointer;
  opacity: 0.8;
}

.nav-menu svg {
  width: 17px;
  height: 17px;
}

.menu-sheet {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 59;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 24px;
  background: var(--white);
  border-bottom: 1px solid rgba(4, 3, 3, 0.1);
  box-shadow: 0 24px 40px -20px rgba(4, 3, 3, 0.25);
}

.menu-sheet[hidden] {
  display: none;
}

.menu-sheet a {
  padding: 15px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(4, 3, 3, 0.08);
}

.menu-sheet a:last-child {
  border-bottom: 0;
}

/* Blog: fora do menu, ao lado do "Book a call", na voz serifada e mais
   baixa, com um fio separando da chamada. Está à mão sem disputar o olhar
   com as seções e o botão. No celular vai para o fim do menu, na mesma voz. */
.nav-aside {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: 4px;
  padding: 6px 0 6px 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  opacity: 0.6;
  transition: opacity 0.25s ease, text-decoration-color 0.25s ease;
}

.nav-aside::after {
  content: "";
  width: 1px;
  height: 18px;
  background: currentColor;
  opacity: 0.4;
}

.nav-aside:hover,
.nav-aside[aria-current="page"] {
  opacity: 1;
  text-decoration-color: var(--cyan);
}

.menu-sheet a.menu-aside {
  padding-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--grey);
}

/* página de agendamento: navegação mínima, sem distração */
.nav.nav-min .nav-links,
.nav.nav-min .nav-menu,
.nav.nav-min .nav-cta,
.nav.nav-min .nav-aside {
  display: none;
}

.nav-back {
  display: none;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg-3, var(--grey));
}

.nav.nav-min .nav-back {
  display: inline-flex;
}

.nav-back:hover {
  color: var(--ink);
}

/* =====================================================================
   HERO DA HOME — campo de pixels (canvas) + logo com mascote vivo
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  cursor: crosshair;
}

.field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-grid {
  flex: 1;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(16px, 4vh, 56px)) var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}

.hero-mark {
  grid-column: 1 / span 6;
  pointer-events: none;
}

.hero-logo {
  width: 100%;
  max-width: min(600px, calc((86svh - 280px) * 1.324));
  height: auto;
  color: var(--white);
  overflow: visible;
}

.mascot {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.mascot.hop {
  animation: hop 0.62s var(--ease);
}

@keyframes hop {
  0%   { transform: translateY(0) scale(1, 1); }
  18%  { transform: translateY(0) scale(1.06, 0.9); }
  45%  { transform: translateY(-16%) scale(0.96, 1.05); }
  75%  { transform: translateY(0) scale(1.04, 0.95); }
  100% { transform: translateY(0) scale(1, 1); }
}

.hero-copy {
  grid-column: 7 / span 6;
  padding-left: clamp(0px, 2vw, 32px);
  text-shadow: 0 0 2px rgba(4, 3, 3, 0.95), 0 1px 3px rgba(4, 3, 3, 0.85);
}

.hero-copy .btn {
  text-shadow: none;
}

.hero-title {
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 32px;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.hero-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 46ch;
}

.hero-foot {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 16px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  font-size: 13px;
  pointer-events: none;
}

.hero-hint {
  grid-column: 3;
  justify-self: end;
  color: var(--fg-3);
  transition: opacity 0.6s ease;
}

.hero.touched .hero-hint {
  opacity: 0;
}

/* entrada orquestrada da hero (na carga da página) */
.js .hero-in {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: heroIn 1.1s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---- carrossel de clientes (base da hero) ----
   Mesma esteira e MESMOS TAMANHOS da página antiga: a escala --u abaixo é a
   mesma fórmula de lá (1vw num 16:9, encolhe em telas mais baixas) e os
   números *-tam / *-alt foram copiados sem mudança. Só a estética é nova. */
.clients {
  --u: min(1vw, calc(100svh / 56.25));
  --edge: 28px; /* mesmo recuo da nav */
}

/* "Trusted by" no meio da linha fina, que vai de ponta a ponta da tela */
.clients-label {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--edge);
  margin-bottom: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1;
  color: var(--fg-3);
  white-space: nowrap;
  /* o campo de pixels passa por trás da faixa: sombra justa segura a leitura */
  text-shadow: 0 0 2px rgba(4, 3, 3, 0.95), 0 1px 3px rgba(4, 3, 3, 0.85);
}

.clients-label::before,
.clients-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.marquee {
  overflow: hidden;
  /* esteira de ponta a ponta da tela, sumindo suave nas duas bordas */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  /* movida pelo assets/js/marquee.js (velocidade lá). Sem will-change de
     propósito: promover a esteira a camada faz o Chrome descartar os tiles
     fora da tela e as logos entram invisíveis pela direita */
  display: flex;
  width: max-content;
}

.marquee-set {
  display: flex;
  align-items: center;
  flex: none;
  gap: calc(6 * var(--u));
  padding-right: calc(6 * var(--u));
}

/* =====================================================================
   AJUSTE DAS LOGOS — mesmos números da página antiga.
   *-tam = TAMANHO (maior = maior) · *-alt = posição vertical (positivo desce)
   ===================================================================== */
.marquee-set {
  --key2enable-tam: 6;   --key2enable-alt: -0.2;
  --clara-tam: 4.2;      --clara-alt: 0;
  --tarsi-tam: 5;        --tarsi-alt: -0.2;
  --hubble-tam: 4.8;     --hubble-alt: 0;
  --gedaii-tam: 3.2;     --gedaii-alt: 0;
}

/* as logos não levam ao site de ninguém (pedido dos sócios, 08/10/2026) */
.marquee-set > span {
  position: relative;
  display: block;
}

/* o "pixel" da marca acende embaixo da logo em foco */
.marquee-set > span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 2.7 * var(--u));
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: var(--cyan);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.marquee-set > span:hover::after {
  transform: scale(1);
}

.marquee-set img {
  width: auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.marquee-set > span:hover img {
  opacity: 1;
}

.marquee-set img[src*="key2enable"] {
  height: calc(var(--key2enable-tam) * var(--u));
  transform: translateY(calc(var(--key2enable-alt) * var(--u)));
}

.marquee-set img[src*="clara-senior"] {
  height: calc(var(--clara-tam) * var(--u));
  transform: translateY(calc(var(--clara-alt) * var(--u)));
}

.marquee-set img[src*="tarsi-ai"] {
  height: calc(var(--tarsi-tam) * var(--u));
  transform: translateY(calc(var(--tarsi-alt) * var(--u)));
}

.marquee-set img[src*="hubble"] {
  height: calc(var(--hubble-tam) * var(--u));
  transform: translateY(calc(var(--hubble-alt) * var(--u)));
}

.marquee-set img[src*="gedaii"] {
  height: calc(var(--gedaii-tam) * var(--u));
  transform: translateY(calc(var(--gedaii-alt) * var(--u)));
}

/* mobile (mesmo corte de 820px da página antiga): grade estática de 2
   linhas, sem esteira nem ímã — escala e tamanhos também iguais aos de lá */
@media (max-width: 820px) {
  .clients {
    --u: min(calc(100svh / 65), 3.35vw);
    --edge: var(--gutter);
    padding: 0 var(--edge);
  }

  .clients-label {
    padding: 0;
    gap: 16px;
    font-size: 19px;
    margin-bottom: 14px;
  }

  .marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    display: block;
    width: auto;
    transform: none !important; /* vence o JS da esteira, se rodar */
  }

  /* só o primeiro conjunto vira a grade; os 3 clones do loop somem */
  .marquee-set:not(:first-child) {
    display: none;
  }

  .marquee-set {
    --clara-tam: 3.45;
    --tarsi-tam: 4.1;
    --hubble-tam: 2.65;
    --gedaii-tam: 2.1;
    --key2enable-tam: 4;
    --logos-larg: 27;   /* largura da grade (controla onde a linha quebra) */
    --logos-gapx: 2.6;  /* espaço horizontal entre as logos */
    --logos-gapy: 0;    /* espaço vertical entre as linhas */

    flex-wrap: wrap;
    justify-content: center;
    gap: calc(var(--logos-gapy) * var(--u)) calc(var(--logos-gapx) * var(--u));
    padding-right: 0;
    width: calc(var(--logos-larg) * var(--u));
    /* sem teto de 100%: a margem lateral nova não pode apertar a grade e
       quebrar 3 linhas (27u nunca passa de ~90% da tela, cabe sempre) */
    max-width: none;
    /* centrada na tela mesmo se passar da área de padding */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* ordem da grade: Clara + Tarsi / Hubble + GEDAII + key2enable */
  .marquee-set [data-co="clara"]      { order: 1; }
  .marquee-set [data-co="tarsi"]      { order: 2; }
  .marquee-set [data-co="hubble"]     { order: 3; }
  .marquee-set [data-co="gedaii"]     { order: 4; }
  .marquee-set [data-co="key2enable"] { order: 5; }

  .marquee-set > span::after { display: none; }
}

/* "Trusted by" → linha de enquadramento da faixa */
.clients-label {
  text-shadow: 0 0 2px rgba(4, 3, 3, 0.95), 0 1px 3px rgba(4, 3, 3, 0.85);
}

/* =====================================================================
   HERO DAS PÁGINAS INTERNAS (Consulting, Systems) — sem botão
   ===================================================================== */
.phero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(72px, 9vw, 128px);
}

/* grade de pontos fixa, a mesma textura do campo da home */
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}

.phero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: center;
}

.phero-copy {
  grid-column: 1 / span 5;
}

.phero-kicker {
  margin-bottom: 20px;
}

.phero-title {
  font-size: clamp(36px, 4.4vw, 66px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.phero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 44ch;
}

.phero-visual {
  grid-column: 7 / span 6;
  position: relative;
}

/* Growies (crowd.js): os brancos vivem na hero, por cima de tudo, sem
   pegar o clique; os pretos ficam pendurados na borda, para a seção de baixo */
.crowd-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease 0.5s;
}

.crowd-ledge {
  position: relative;
  z-index: 3;
  height: 0;
}

.crowd-ledge canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 230px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease 0.5s;
}

.crowd-on .crowd-canvas,
.crowd-on + .crowd-ledge canvas {
  opacity: 1;
}

html.crowd-grab,
html.crowd-grab * {
  cursor: grab !important;
}

html.crowd-grabbing,
html.crowd-grabbing * {
  cursor: grabbing !important;
  user-select: none !important;
}

/* com a oficina, a hero ocupa a primeira tela quase toda: texto e quadro
   no meio, o chão dos Growies no pé dela e os pendurados logo abaixo */
.phero[data-crowd] {
  min-height: calc(100vh - 134px);
  min-height: calc(100svh - 134px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(60px, 6vw, 104px));
  padding-bottom: clamp(80px, 7vw, 120px);
}

/* laptops e janelas baixas: a hero inteira cabe na primeira tela, como no
   PC. As folgas, o título e o quadro seguem também a altura da janela, e o
   chão com os Growies fica à vista ao abrir a página (em 1920×950 tudo dá
   o mesmo de antes) */
@media (min-width: 901px) and (max-width: 1920px) {
  .phero[data-crowd] {
    --top: clamp(60px, min(6vw, 11svh), 104px);
    --bot: clamp(80px, min(7vw, 12.7svh), 120px);
    padding-top: calc(var(--nav-h) + var(--top));
    padding-bottom: var(--bot);
  }
  .phero[data-crowd] .phero-title { font-size: clamp(34px, min(4.4vw, 7.4svh), 66px); }
  /* o quadro nunca mais alto que o que sobra da tela; menor, ele encosta na
     margem da direita e a legenda vai junto */
  .phero[data-crowd] .phero-visual {
    --room: calc(100svh - 24px - var(--nav-h) - var(--top) - var(--bot) - 40px);
    justify-self: end;
    width: min(100%, calc(var(--room) * 600 / 440));
  }
  .phero[data-crowd]:has([data-ws="systems"]) .phero-visual {
    width: min(100%, calc(var(--room) * 600 / 410));
  }
}

/* telas grandes (2K, 4K): passando de 1920px, texto, quadro e folgas
   crescem na proporção da tela, como se fosse a mesma hero de 1920 */
@media (min-width: 1921px) {
  .phero[data-crowd] {
    min-height: calc(100vh - 6.98vw);
    min-height: calc(100svh - 6.98vw);
    padding-top: calc(var(--nav-h) + 5.42vw);
    padding-bottom: 6.25vw;
  }
  .phero[data-crowd] .wrap { max-width: calc(64.58vw + var(--gutter) * 2); }
  .phero[data-crowd] .phero-grid { column-gap: 1.25vw; }
  .phero[data-crowd] .phero-kicker { font-size: 1.146vw; margin-bottom: 1.04vw; }
  .phero[data-crowd] .phero-title { font-size: 3.44vw; }
  .phero[data-crowd] .phero-sub { font-size: 0.99vw; margin-top: 1.35vw; }
  .phero[data-crowd] .ws-caption { font-size: 0.68vw; margin-top: 0.83vw; }
}

/* =====================================================================
   A OFICINA (crowd.js): o quadro fixo, as peças soltas, os fios e os
   lugares vazios. A posição de cada peça vem do JS (SCENES); aqui fica
   só a cara. --s é a escala do palco (largura real / largura de referência).
   ===================================================================== */
.ws {
  --s: 1;
  position: relative;
  z-index: 1;
  aspect-ratio: 600 / 440;
  font-family: var(--sans);
  line-height: 1.3;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}

.ws[data-ws="systems"] { aspect-ratio: 600 / 410; }

/* o JS testa o clique na mão: nada aqui pega o ponteiro */
.ws,
.ws * { pointer-events: none; }

.ws-board {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--s) * 20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.3px) 0 0 / calc(var(--s) * 22px) calc(var(--s) * 22px),
    radial-gradient(80% 70% at 70% 55%, rgba(57, 199, 216, 0.09), transparent 70%),
    #090808;
}

/* os três verbos do título, que acendem com o grupo de peças no lugar */
.ws-steps {
  position: absolute;
  left: calc(var(--s) * 20px);
  right: calc(var(--s) * 20px);
  top: 0;
  height: calc(var(--s) * 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: calc(var(--s) * 12px);
  font-size: calc(var(--s) * 16px);
}

.ws-steps::after,
.ws-prog {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.ws-prog {
  z-index: 1;
  background: var(--cyan);
  box-shadow: 0 0 0.6em var(--cyan);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.ws-step {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
  transition: color 0.5s ease;
}

.ws-step span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.5s ease;
}

.ws-step.on { color: #fff; }
.ws-step.on span { color: var(--cyan); }

/* a barra do Systems */
.ws-bar {
  position: absolute;
  left: calc(var(--s) * 20px);
  right: calc(var(--s) * 20px);
  top: 0;
  height: calc(var(--s) * 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: calc(var(--s) * 12px);
}

.ws-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.85);
}

.ws-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.75em;
  border-radius: 2em;
  background: rgba(57, 199, 216, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9em;
  white-space: nowrap;
  transition: background 0.4s ease;
}

.ws-status b { color: #fff; }

.ws-status i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0.6em var(--cyan);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ws-status.warn { background: rgba(255, 255, 255, 0.07); }
.ws-status.warn i { background: rgba(255, 255, 255, 0.45); box-shadow: none; }

/* ---------- as peças ---------- */
.ws-mod {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  box-sizing: border-box;
  transform-origin: 50% 50%;
  will-change: transform;
  font-size: calc(var(--s) * 12px);
}

/* encaixou: um tranco de leve */
.ws-mod.ws-click { animation: wsClick 0.42s cubic-bezier(.3, 1.6, .5, 1); }

@keyframes wsClick {
  0% { scale: 1.07; }
  100% { scale: 1; }
}

/* cutucou sem arrancar */
.ws-mod.ws-poke { animation: wsPoke 0.4s ease; }

@keyframes wsPoke {
  25% { scale: 1.035 0.97; }
  60% { scale: 0.985 1.02; }
}

/* o dado chegou */
.ws-mod.ws-ping { animation: wsPing 0.6s ease; }

@keyframes wsPing {
  30% { box-shadow: 0 0 0 1px rgba(57, 199, 216, 0.9), 0 0 1.6em -0.2em rgba(57, 199, 216, 0.7); }
}

.ws-dk {
  display: grid;
  align-content: start;
  gap: 0.3em;
  padding: 0.85em 0.95em;
  border-radius: 0.95em;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #0f0e0e;
  box-shadow: 0 1.2em 2em -1.2em rgba(0, 0, 0, 0.9);
}

.ws-dk small,
.ws-sys small {
  font-size: 0.76em;
  color: var(--grey-light);
}

/* o playbook: papel branco; os passos encaixam por cima */
.ws-paper {
  border-radius: 0.95em;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2.4em 3.6em -1.8em rgba(0, 0, 0, 0.95), 0 0 3.2em -1em rgba(57, 199, 216, 0.4);
}

.ws-paper-h {
  position: absolute;
  left: 1.15em;
  right: 1.15em;
  top: 0;
  height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(4, 3, 3, 0.08);
}

.ws-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3em;
}

.ws-logo i {
  width: 0.55em;
  height: 0.55em;
  background: var(--cyan);
}

.ws-v {
  padding: 0.15em 0.6em;
  border-radius: 1em;
  background: var(--ink);
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
}

.ws-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  border-radius: 0.45em;
  border: 2px solid var(--cyan);
  background: #fff;
  color: #1f9aa8;
  font-size: calc(var(--s) * 12.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0.6em 1.4em -0.6em rgba(4, 3, 3, 0.45);
}

.ws-stamp svg {
  width: 1.1em;
  height: 1.1em;
}

/* ---------- Consulting: os hábitos, a máquina e os passos ---------- */
.ws-zone {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(var(--s) * 13px);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.ws-zone { transition: opacity 0.5s ease; }
.ws-zone.off { opacity: 0; }

/* a frase do fim, no lugar dos hábitos que o gigante comeu */
.ws-done {
  position: absolute;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: calc(var(--s) * 24px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.ws-done b { font-weight: 700; }

.ws-done em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.ws-done.on {
  opacity: 1;
  transform: none;
  transition-delay: 0.6s;
}

.ws.narrow .ws-done { font-size: calc(var(--s) * 21px); }

/* o hábito: um bilhete escrito à mão, preso com fita */
.ws-note {
  display: flex;
  align-items: center;
  padding: 0 0.95em;
  border-radius: 0.35em;
  background: #fbfaf7;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(var(--s) * 13.5px);
  line-height: 1.05;
  box-shadow: 0 0.7em 1.4em -0.8em rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.4s ease;
}

.ws-note::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.35em;
  width: 2.6em;
  height: 0.7em;
  background: rgba(57, 199, 216, 0.55);
  transform: translateX(-50%) rotate(-3deg);
}

/* lido pelo feixe do gigante */
.ws-note.seen { box-shadow: 0 0 0 2px var(--cyan), 0 0.7em 1.4em -0.8em rgba(0, 0, 0, 0.9); }

/* o gigante (crowd.js) é desenhado no canvas; a peça é só o corpo rígido */
.ws-mach { background: none; }

/* o gigante revisando: a linha lida acende; a reescrita pisca; a versão sobe */
.ws-stepc { transition: box-shadow 0.3s ease; }
.ws-stepc.seen { box-shadow: 0 0 0 2px var(--cyan); }
.ws-mod.ws-stepc.ws-rev { animation: wsRev 1.3s ease; }

@keyframes wsRev {
  0% { background: #c9f1f5; box-shadow: 0 0 0 2px var(--cyan), 0 0 1.4em -0.2em rgba(57, 199, 216, 0.8); scale: 1.04; }
  30% { scale: 1; }
  100% { background: #f4f4f3; box-shadow: 0 0 0 0 rgba(57, 199, 216, 0); }
}

.ws-v { transition: background 0.3s ease, color 0.3s ease; }
.ws-v.flash { animation: wsFlash 0.9s ease; }

@keyframes wsFlash {
  0%, 40% { background: var(--cyan); color: var(--ink); }
}

/* um passo do playbook: o hábito, desenhado e escrito */
.ws-stepc {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0 0.85em;
  border-radius: 0.6em;
  border: 1px solid rgba(4, 3, 3, 0.08);
  background: #f4f4f3;
  color: var(--ink);
  font-size: calc(var(--s) * 10.8px);
  font-weight: 600;
  line-height: 1.2;
}

.ws-stepc b {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.5em;
  background: var(--ink);
  color: #fff;
  font-size: 0.8em;
}

.ws-paper-f {
  position: absolute;
  left: 1.15em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: calc(var(--s) * 9.6px);
  color: var(--grey);
  white-space: nowrap;
}

.ws-paper-f svg {
  width: 4.6em;
  height: 1.4em;
  color: var(--ink);
}

/* voltar tudo: o único botão de verdade no quadro */
.ws .ws-retry {
  pointer-events: auto;
  position: absolute;
  top: calc(var(--s) * 9px);
  right: calc(var(--s) * 12px);
  width: calc(var(--s) * 26px);
  height: calc(var(--s) * 26px);
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ws .ws-retry:hover {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(57, 199, 216, 0.12);
}

.ws-retry svg {
  width: 56%;
  height: 56%;
}

.ws-retry.spin svg { animation: wsSpin 0.7s var(--ease-out); }

@keyframes wsSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* o cabeçalho deixa lugar para o botão */
.ws-steps,
.ws-bar { right: calc(var(--s) * 48px); }

/* ---------- Systems: os sistemas, o feed e a leitura da semana ---------- */
.ws-sys {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0.7em;
  row-gap: 0.15em;
  padding: 0 0.95em;
}

.ws-sys b {
  align-self: end;
  font-size: 0.98em;
  white-space: nowrap;
}

.ws-sys small {
  grid-column: 2;
  align-self: start;
  line-height: 1.25;
}

.ws-ic {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.7em;
  background: rgba(57, 199, 216, 0.13);
  color: var(--cyan);
}

.ws-ic svg {
  width: 1.15em;
  height: 1.15em;
}

/* a luz de cada sistema: acesa quando o fio liga ao feed */
.ws-led {
  position: absolute;
  right: 0.75em;
  top: 0.75em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ws-led.on {
  background: var(--cyan);
  box-shadow: 0 0 0.6em var(--cyan);
}

.ws-hub {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.6em;
  padding: 0.85em 0.95em 0.8em;
  overflow: hidden;
}

.ws-hub-h {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.95em;
}

.ws-mascot {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  background: #fff;
  color: var(--ink);
}

.ws-mascot svg {
  width: 72%;
  height: auto;
}

.ws-mascot.c { background: var(--cyan); }

.ws-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8em;
  color: var(--grey-light);
}

.ws-live i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--cyan);
  animation: wsLive 1.6s ease-in-out infinite;
}

@keyframes wsLive {
  50% { opacity: 0.35; }
}

.ws-feed {
  display: grid;
  align-content: start;
  gap: 0.45em;
  min-height: 0;
  overflow: hidden;
}

.ws-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.6em;
  border-radius: 0.65em;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82em;
  line-height: 1.25;
}

.ws-row .ws-ic {
  grid-row: auto;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.55em;
}

.ws-row p { margin: 0; }

.ws-row time {
  font-size: 0.85em;
  color: var(--grey-light);
  font-variant-numeric: tabular-nums;
}

.ws-row.warn { background: rgba(255, 255, 255, 0.02); color: var(--grey-light); }
.ws-row.warn .ws-ic { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.6); }

.ws-row.ws-in { animation: wsRow 0.5s var(--ease-out); }

@keyframes wsRow {
  from { opacity: 0; transform: translateY(-0.6em); }
}

.ws-hub-f {
  font-size: 0.8em;
  color: var(--grey-light);
}

.ws-hub-f b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ws-read {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
  gap: 0.9em;
  padding: 0 1.1em;
}

.ws-read .ws-mascot {
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.7em;
}

.ws-read-t {
  display: grid;
  gap: 0.15em;
}

.ws-read-t b { font-size: 1.05em; }

.ws-kpis {
  display: flex;
  gap: 1.3em;
}

.ws-kpis span {
  display: grid;
  font-size: 0.74em;
  color: var(--grey-light);
}

.ws-kpis b {
  font-size: 1.55em;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ---------- os lugares vazios: a planta do que falta ---------- */
.ws-slot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 0.8em;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(var(--s) * 12px);
  color: rgba(255, 255, 255, 0.34);
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.25s ease, background 0.25s ease;
}

.ws-slot.lt {
  border-color: rgba(4, 3, 3, 0.2);
  color: rgba(4, 3, 3, 0.36);
}

.ws-slot.show { opacity: 1; }

.ws-slot.near {
  border-color: var(--cyan);
  background: rgba(57, 199, 216, 0.1);
}

/* ---------- os fios ---------- */
.ws-wires {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ws-wires path {
  fill: none;
  stroke-linecap: round;
}

.ws-wires .ln {
  stroke: rgba(57, 199, 216, 0.55);
  stroke-width: 1.5;
}

.ws-wires .ln.taut {
  stroke: rgba(57, 199, 216, 0.9);
  stroke-width: 1;
}

.ws-wires .ln.fresh { animation: wsWire 0.55s var(--ease-out); }

@keyframes wsWire {
  from { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
}

.ws-wires .stub {
  stroke: rgba(57, 199, 216, 0.5);
  stroke-width: 1.5;
}

.ws-wires circle { fill: var(--cyan); }

.ws-wires .pk {
  filter: drop-shadow(0 0 3px var(--cyan));
}

/* a linha embaixo do quadro */
.ws-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-3);
}

.ws-caption b {
  color: var(--fg);
  font-weight: 700;
}

.ws-coarse { display: none; }

@media (hover: none) {
  .ws-fine { display: none; }
  .ws-coarse { display: inline; }
}

/* celular: o JS troca para o arranjo estreito; o texto das peças encolhe */
@media (max-width: 640px) {
  .ws { aspect-ratio: 350 / 560; }
  .ws[data-ws="systems"] { aspect-ratio: 350 / 462; }
  .ws.narrow .ws-mod { font-size: calc(var(--s) * 10px); }
  .ws.narrow .ws-sys small,
  .ws.narrow .ws-kpis span:nth-child(3) { display: none; }
  .ws.narrow .ws-note { font-size: calc(var(--s) * 12px); padding: 0 0.75em; }
  .ws.narrow .ws-stepc { font-size: calc(var(--s) * 10px); }
  .ws.narrow .ws-steps { font-size: calc(var(--s) * 13px); left: calc(var(--s) * 12px); right: calc(var(--s) * 44px); height: calc(var(--s) * 38px); }
  .ws.narrow .ws-bar { left: calc(var(--s) * 12px); right: calc(var(--s) * 44px); height: calc(var(--s) * 38px); font-size: calc(var(--s) * 10.5px); }
  .ws.narrow .ws-retry { top: calc(var(--s) * 7px); }
  .ws.narrow .ws-sys { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 0 0.7em; row-gap: 0.4em; }
  .ws.narrow .ws-sys .ws-ic { grid-row: auto; width: 1.9em; height: 1.9em; }
  .ws.narrow .ws-sys b { align-self: start; font-size: 0.92em; }
  .ws.narrow .ws-read { gap: 0.7em; padding: 0 0.8em; }
  .ws.narrow .ws-kpis { gap: 0.9em; }
  /* Systems no celular: menos coisa e letra que se lê. Cada sistema é o ícone e o
     nome no centro; o feed mostra três linhas maiores; a leitura da semana sai */
  .ws[data-ws="systems"].narrow .ws-bar { font-size: calc(var(--s) * 12px); }
  .ws[data-ws="systems"].narrow .ws-sys {
    font-size: calc(var(--s) * 12px);
    justify-items: center;
    align-content: center;
    padding: 0 0.35em;
    row-gap: 0.5em;
    text-align: center;
  }
  .ws[data-ws="systems"].narrow .ws-sys .ws-ic { width: 2.3em; height: 2.3em; }
  .ws[data-ws="systems"].narrow .ws-sys b { align-self: center; font-size: 0.96em; line-height: 1.15; white-space: normal; }
  .ws[data-ws="systems"].narrow .ws-hub { font-size: calc(var(--s) * 12.5px); }
  .ws[data-ws="systems"].narrow .ws-row { font-size: 0.88em; }
  .ws[data-ws="systems"].narrow .ws-read { display: none; }
  .ws-caption { text-align: center; }
  .phero[data-crowd] .phero-visual { margin-top: 36px; }
  /* no celular não há Growies no chão nem nada para tocar: menos chão, sem dica de toque */
  .phero[data-crowd] { padding-bottom: 56px; }
  .ws-caption .ws-fine,
  .ws-caption .ws-coarse { display: none; }
  .ws[data-ws="systems"] .ws-retry { display: none; }
}

/* =====================================================================
   HOME — PROBLEMA e SOLUÇÃO: três cartões com cenas animadas
   ===================================================================== */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out);
}

/* luz que segue o cursor dentro do cartão */
.tcard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(57, 199, 216, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tcard:hover::before {
  opacity: 1;
}

.tcard:hover {
  border-color: var(--line-2);
}

.tcard-vis {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--soft);
  overflow: hidden;
}

.tcard-body {
  padding: 26px 14px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tcard-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tcard-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
}

.tcard-text {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
}

.tcard-link {
  margin-top: auto;
  padding-top: 26px;
}

.tcard-n {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 2;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

/* =====================================================================
   HOME — COMO FUNCIONA: quatro passos ligados por uma linha que se
   desenha com a rolagem
   ===================================================================== */
.steps4 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps4-track {
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}

.steps4-fill {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

.step4 {
  position: relative;
}

.step4-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease, transform 0.6s var(--ease-out);
}

.step4.is-on .step4-num {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  transform: rotate(-4deg);
}

.step4-title {
  margin-top: 28px;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step4-text {
  margin-top: 12px;
  font-size: 16px;
  color: var(--fg-2);
  max-width: 30ch;
}

.step4-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--fg);
}

/* =====================================================================
   HOME — SÓCIOS (#about)
   ===================================================================== */
.people3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pcard {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* sem foto definitiva: bloco sólido com as iniciais (spec do documento);
   a grade de pontos acende em volta do cursor */
.pcard-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--ink);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.pcard-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px) 0 0 / 18px 18px;
}

.pcard-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(57, 199, 216, 0.95) 2.4px, transparent 2.8px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
  mask-image: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pcard:hover .pcard-photo::after {
  opacity: 1;
}

.pcard-initials {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pcard-photo img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
}

/* com foto: os pontos ciano acendem por cima dela, em volta do cursor */
.pcard-photo.has-img::after {
  z-index: 1;
  mix-blend-mode: screen;
}

.pcard:hover .pcard-photo img {
  transform: scale(1.045);
  filter: contrast(1.06);
}

.pcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 14px 0;
}

.pcard-name {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pcard-role {
  margin-top: 8px;
  color: var(--fg-3);
}

.pcard-bio {
  margin: 16px 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
}

.pcard-results {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.pcard-results li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
}

.pcard-results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.pcard-results b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* =====================================================================
   HOME — POR QUE A WEGROW: título fixo, três blocos que acendem
   ===================================================================== */
.why {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.why-head {
  grid-column: 1 / span 5;
}

.why-head-in {
  position: sticky;
  top: calc(var(--nav-h) + 56px);
}

.why-list {
  grid-column: 7 / span 6;
}

.why-item {
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
  opacity: 0.3;
  transition: opacity 0.6s ease;
}

.why-item:last-child {
  border-bottom: 1px solid var(--line);
}

.why-item.is-active {
  opacity: 1;
}

.why-who {
  margin-bottom: 14px;
}

.why-title {
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.why-text {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}

.why-text em {
  font-family: var(--serif);
  font-size: 1.12em;
}

/* =====================================================================
   HOME — ARREMATE: o texto e o painel das ferramentas que viram um time
   ===================================================================== */
.closer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 64px;
  align-items: center;
}

.closer-copy {
  grid-column: 1 / span 6;
}

.closer-body {
  margin-top: 36px;
  display: grid;
  gap: 22px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  max-width: 40ch;
}

.closer-body .closer-price {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.closer-vis {
  grid-column: 8 / span 5;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}

/* =====================================================================
   CTA FINAL — campo de pixels de novo, como fecho de cada página
   ===================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(110px, 14vw, 200px) 0;
  text-align: center;
  cursor: crosshair;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(4, 3, 3, 0.85), transparent 75%);
}

.cta-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 26px;
}

.cta .h-display {
  max-width: 16ch;
}

.cta .lede {
  margin: 0 auto;
  max-width: 46ch;
  text-align: center;
}

.cta .btn {
  margin-top: 10px;
}

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer {
  padding: clamp(80px, 9vw, 128px) 0 36px;
  border-top: 1px solid var(--line);
}

.foot-sign {
  font-size: clamp(34px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.foot-sign em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  color: var(--fg-2);
}

.foot-row {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.foot-logo {
  height: 28px;
  width: auto;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.foot-links a,
.foot-links button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  text-decoration: none;
  color: var(--fg-2);
  cursor: pointer;
}

.foot-links a:hover,
.foot-links button:hover {
  color: var(--fg);
}

.foot-small {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 13.5px;
  color: var(--fg-3);
}

/* quem opera o site e os textos legais (a verificação da Meta lê a razão social) */
.foot-legal {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-3);
}

.foot-legal a,
.foot-legal button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.foot-legal a:hover,
.foot-legal button:hover {
  color: var(--fg);
}

.foot-legal p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

/* =====================================================================
   CONSULTING — o mapa do funil montado camada por camada
   ===================================================================== */
.mapsec {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.map-stage {
  grid-column: 1 / span 6;
}

.map-stage-in {
  container-type: inline-size;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.map-list {
  grid-column: 8 / span 5;
  counter-reset: mi;
}

.map-item {
  counter-increment: mi;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 46vh;
  padding: 28px 0 28px 56px;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.5s ease;
}

.map-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.map-item::before {
  content: "0" counter(mi);
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.75em;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.map-item.is-active {
  opacity: 1;
}

.map-item.is-active::before {
  color: var(--fg);
}

.map-item h3 {
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.map-item p {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 44ch;
}

.map-next {
  margin-top: 56px;
}

/* --- o quadro (board): uma planta com sete módulos. Os que ainda não
   chegaram aparecem tracejados, com número e nome; cada passo materializa o
   seu módulo e acende os fios que o ligam aos anteriores --- */
.board {
  position: relative;
  aspect-ratio: 1 / 1.16;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(rgba(4, 3, 3, 0.09) 1px, transparent 1.3px) 0 0 / 20px 20px,
    var(--white);
  overflow: hidden;
  font-size: clamp(9px, 2.05cqi, 13.5px);
  box-shadow: 0 40px 90px -50px rgba(4, 3, 3, 0.45);
}

.board-title {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 2.6%;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.05em;
  font-weight: 700;
}

.board-title i {
  width: 0.7em;
  height: 0.7em;
  background: var(--cyan);
}

.board-title span {
  font-weight: 400;
  color: var(--grey);
}

.board-count {
  margin-left: auto;
  padding: 0.2em 0.65em;
  border-radius: 1em;
  background: rgba(4, 3, 3, 0.05);
  font-style: normal;
  font-size: 0.82em;
  font-weight: 500;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}

.board-count b {
  font-weight: 700;
  color: var(--ink);
}

/* os fios: tracejados enquanto o módulo não chegou; acesos e com o dado passando depois */
.bp-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bp-w path {
  fill: none;
  stroke: rgba(4, 3, 3, 0.16);
  stroke-width: 1.4px;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.5s ease;
}

.bp-w circle {
  fill: var(--white);
  stroke: rgba(4, 3, 3, 0.22);
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
  transition: fill 0.4s ease, stroke 0.4s ease;
}

.bp-w.on path {
  stroke: var(--cyan);
  stroke-width: 2.4px;
  stroke-dasharray: 2 7;
  animation: bpFlow 0.9s linear infinite;
}

.bp-w.on circle {
  fill: var(--cyan);
  stroke: var(--cyan);
}

@keyframes bpFlow {
  to { stroke-dashoffset: -9; }
}

.b-mod {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 0.8em 0.9em;
  border-radius: 0.9em;
  border: 1.5px dashed rgba(4, 3, 3, 0.18);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.6s ease, transform 0.6s var(--ease-out);
}

.b-mod-h {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.92em;
  font-weight: 700;
  color: var(--grey-light);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.b-mod-h span {
  display: grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  border: 1.5px dashed rgba(4, 3, 3, 0.2);
  font-size: 0.8em;
  font-variant-numeric: tabular-nums;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* o que ainda não chegou aparece como prévia: apagado, sem cor e desfocado */
.b-mod-c {
  flex: 1;
  min-height: 0;
  opacity: 0.16;
  filter: grayscale(1) blur(1.6px);
  transform: scale(0.98);
  transform-origin: left top;
  transition: opacity 0.5s ease 0.1s, filter 0.6s ease 0.1s, transform 0.6s var(--ease-out) 0.1s;
}

.board[data-step] .b-mod.on {
  border-style: solid;
  border-color: rgba(4, 3, 3, 0.1);
  background: var(--white);
  box-shadow: 0 1.4em 2.6em -1.8em rgba(4, 3, 3, 0.35);
}

.b-mod.on .b-mod-h {
  color: var(--ink);
}

.b-mod.on .b-mod-h span {
  border: 0;
  background: var(--cyan);
  color: var(--ink);
}

.b-mod.on .b-mod-c {
  opacity: 1;
  filter: none;
  transform: none;
}

/* o módulo do passo atual ganha um anel */
.board[data-step="1"] .b-mod[data-from="1"],
.board[data-step="2"] .b-mod[data-from="2"],
.board[data-step="3"] .b-mod[data-from="3"],
.board[data-step="4"] .b-mod[data-from="4"],
.board[data-step="5"] .b-mod[data-from="5"],
.board[data-step="6"] .b-mod[data-from="6"],
.board[data-step="7"] .b-mod[data-from="7"] {
  box-shadow: 0 0 0 0.3em rgba(57, 199, 216, 0.2), 0 1.6em 3em -1.8em rgba(57, 199, 216, 0.6);
  border-color: rgba(57, 199, 216, 0.8);
}

/* 1 · funil */
.b-fun {
  display: grid;
  align-content: center;
  gap: 0.5em;
}

.b-st {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(var(--w) * 0.8);
  height: 2.15em;
  padding: 0 0.8em;
  border-radius: 0.5em;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}

.b-st b {
  font-variant-numeric: tabular-nums;
}

.b-st em {
  position: absolute;
  left: calc(100% + 0.6em);
  font-style: normal;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
}

.b-st.c {
  background: var(--cyan);
  color: var(--ink);
}

/* 2 · canais */
.b-ch {
  display: grid;
  align-content: center;
  gap: 0.75em;
}

.b-ch div {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr) 2.4em;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9em;
}

.b-ch i {
  height: 0.45em;
  border-radius: 1em;
  background: rgba(4, 3, 3, 0.07);
  overflow: hidden;
}

.b-ch i::after {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.b-ch .best i::after { background: var(--cyan); }
.b-ch .weak { color: var(--grey); }
.b-ch .weak i::after { background: rgba(4, 3, 3, 0.25); }

.b-ch b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 3 · teste */
.b-tst {
  display: grid;
  align-content: center;
  gap: 0.3em;
}

.b-tst small {
  font-size: 0.82em;
  color: var(--grey);
  line-height: 1.3;
}

.b-prog {
  position: relative;
  margin-top: 0.35em;
  height: 0.45em;
  border-radius: 1em;
  background: rgba(4, 3, 3, 0.07);
}

.b-prog i {
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: inherit;
  background: var(--cyan);
}

.b-tst .b-day {
  font-size: 0.72em;
  font-weight: 700;
  color: var(--graphite);
}

/* 4 · trimestre */
.b-qtr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5em;
}

.b-qtr div {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 0.5em;
  border-radius: 0.55em;
  background: #f4f4f3;
}

.b-qtr small {
  font-size: 0.74em;
  font-weight: 700;
  color: var(--grey);
}

.b-qtr span {
  padding: 0.2em 0.45em;
  border-radius: 0.35em;
  background: var(--white);
  border: 1px solid rgba(4, 3, 3, 0.1);
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}

.b-qtr span.k {
  border-color: rgba(57, 199, 216, 0.6);
  background: rgba(57, 199, 216, 0.12);
}

/* 5 · oferta */
.b-off {
  display: grid;
  align-content: center;
  gap: 0.35em;
}

.b-off div {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.3em 0.5em;
  border-radius: 0.4em;
  font-size: 0.88em;
}

.b-off span {
  color: var(--graphite);
}

.b-off b {
  font-weight: 700;
}

.b-off .leak {
  background: var(--ink);
  color: var(--white);
}

.b-off .leak span {
  color: rgba(255, 255, 255, 0.75);
}

.b-off .leak b {
  color: var(--cyan);
}

/* 6 · processo */
.b-gate {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.b-gate div {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 0.15em;
  padding: 0.5em 0.2em;
  border-radius: 0.55em;
  border: 1px solid rgba(4, 3, 3, 0.12);
  text-align: center;
}

.b-gate b {
  font-size: 0.86em;
}

.b-gate small {
  font-size: 0.72em;
  color: var(--grey);
}

.b-gate small::before {
  content: "exit: ";
  opacity: 0.7;
}

.b-gate i {
  flex: none;
  width: 0.9em;
  height: 1.5px;
  background: var(--cyan);
}

/* 7 · métricas: o cabeçalho ao lado dos números */
.b-mod[data-from="7"] {
  flex-direction: row;
  align-items: center;
  gap: 1.2em;
}

.b-kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6em;
}

.b-kpi div {
  display: grid;
  gap: 0.1em;
  padding: 0.45em 0.7em;
  border-radius: 0.55em;
  background: rgba(57, 199, 216, 0.12);
  border: 1px solid rgba(57, 199, 216, 0.5);
}

.b-kpi b {
  font-size: 0.95em;
}

.b-kpi small {
  font-size: 0.74em;
  color: var(--graphite);
  white-space: nowrap;
}

/* cartão de um módulo só, usado no celular dentro de cada passo */
.map-mini {
  display: none;
}

.board-mini {
  aspect-ratio: auto;
  padding: 1em;
  border-radius: 16px;
  font-size: 12.5px;
  box-shadow: 0 30px 60px -46px rgba(4, 3, 3, 0.45);
}

.board-mini .b-mod {
  position: static;
  width: auto !important;
  height: auto !important;
  border: 0;
  padding: 0.2em;
  background: transparent;
  box-shadow: none;
}

.board-mini .b-mod-h {
  color: var(--ink);
}

.board-mini .b-mod-h span {
  border: 0;
  background: var(--cyan);
  color: var(--ink);
}

.board-mini .b-mod-c {
  opacity: 1;
  filter: none;
  transform: none;
}

.board-mini .b-fun {
  padding-right: 3.6em;
}

.board-mini .b-st {
  width: var(--w);
}

.board-mini .b-mod[data-from="7"] {
  flex-direction: column;
  align-items: stretch;
}

.board-mini .b-kpi small {
  white-space: normal;
}

.js .board-mini {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}

.js .board-mini.is-in {
  opacity: 1;
  transform: none;
}


/* =====================================================================
   HOME — PERGUNTAS: título fixo à esquerda, respostas que abrem à direita
   ===================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  align-items: start;
}

.faq-head {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  justify-items: start;
  gap: 28px;
}

.faq-list {
  grid-column: 6 / span 7;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.35s var(--ease-out);
}

.faq-item summary:hover i {
  border-color: var(--fg);
}

.faq-item[open] summary i {
  background: var(--cyan);
  border-color: var(--cyan);
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.faq-a {
  max-width: 60ch;
  padding-bottom: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}

.faq-item[open] .faq-a {
  animation: faqIn 0.45s var(--ease-out);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   CONSULTING — COMO RODA: um cronograma de 12 semanas que corre sozinho
   quando aparece (no tempo, não na rolagem) e acende a fase da vez
   ===================================================================== */
.plan {
  display: grid;
  gap: 28px;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-week {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--fg-2);
}

.plan-week b {
  display: inline-block;
  min-width: 1.3em;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.plan-week span {
  color: var(--fg-3);
}

.plan-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--fg-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, border-color 0.3s ease, color 0.3s ease;
}

.plan-replay svg {
  width: 15px;
  height: 15px;
}

.plan.is-done .plan-replay {
  opacity: 1;
  pointer-events: auto;
}

.plan-replay:hover {
  border-color: var(--cyan);
  color: var(--white);
}

/* o gráfico de Gantt: régua, barras das fases e a agulha da semana */
.plan-gantt {
  position: relative;
  padding: 20px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.plan-ruler,
.plan-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.plan-ruler span {
  padding-left: 6px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.plan-ruler span::before {
  content: "W";
  opacity: 0.6;
}

/* barras finas, com o nome da fase em cima: nenhum nome fica espremido */
.plan-bars {
  margin-top: 34px;
  row-gap: 30px;
}

.plan-bar {
  position: relative;
  grid-column: calc(var(--s) + 1) / calc(var(--e) + 1);
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.plan-bar:nth-child(1) { grid-row: 1; }
.plan-bar:nth-child(2) { grid-row: 2; }
.plan-bar:nth-child(3) { grid-row: 3; }
.plan-bar:nth-child(4) { grid-row: 4; }

.plan-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(57, 199, 216, 0.85), var(--cyan));
  transform: scaleX(var(--f, 0));
  transform-origin: left;
}

.plan-bar.open i {
  background: linear-gradient(90deg, var(--cyan), rgba(57, 199, 216, 0.85) 70%, rgba(57, 199, 216, 0.15));
}

.plan-bar span {
  position: absolute;
  left: 0;
  bottom: calc(100% + 7px);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.plan-bar.lit span {
  color: var(--white);
}

.plan-head {
  position: absolute;
  top: 12px;
  bottom: 14px;
  left: calc(22px + (100% - 44px) * var(--t, 0));
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.plan-head i {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

.plan.is-done .plan-head {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* as três fases, cada uma com o que acontece nela */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  opacity: 0.45;
  transition: opacity 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}

.plan-card.on {
  opacity: 1;
}

.plan-card.now {
  border-color: rgba(57, 199, 216, 0.6);
  background: rgba(57, 199, 216, 0.06);
}

.plan-card h3 {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.plan-card > p:not(.run-when) {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}

.run-when {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
}

.pv {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

/* cada linha do painel acende quando a agulha chega nela */
.pv-row,
.pv-sessions span,
.pv-doc,
.pv-flow,
.pv-months {
  opacity: 0.25;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-out), background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.pv .on {
  opacity: 1;
  transform: none;
}

.pv-row {
  display: grid;
  grid-template-columns: 6.6em minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pv-k {
  font-size: 12px;
  color: var(--fg-3);
}

.pv-tools,
.pv-avs,
.pv-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pv-tools i {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.pv-row.on .pv-tools i {
  border-color: rgba(57, 199, 216, 0.6);
  background: rgba(57, 199, 216, 0.1);
}

.pv-avs i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #0b0a0a;
  background: #2a2928;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.pv-avs i:first-child {
  margin-left: 0;
}

.pv-row.on .pv-avs i:last-child {
  background: var(--cyan);
  color: var(--ink);
}

.pv-fun {
  display: grid;
  gap: 3px;
}

.pv-fun i {
  width: var(--w);
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}

.pv-fun i:last-child {
  background: var(--cyan);
}

.pv-sessions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.pv-sessions span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pv-sessions b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
}

.pv-sessions span.on {
  border-color: rgba(57, 199, 216, 0.6);
}

.pv-sessions span.on b {
  background: var(--cyan);
  color: var(--ink);
}

.pv-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.pv-doc-ic {
  display: grid;
  gap: 3px;
  width: 26px;
  height: 32px;
  padding: 6px 5px;
  border-radius: 4px;
  background: #f0f0ef;
}

.pv-doc-ic i {
  height: 2.5px;
  border-radius: 2px;
  background: rgba(4, 3, 3, 0.35);
}

.pv-doc-ic i:last-child {
  width: 60%;
  background: var(--cyan);
}

.pv-doc-t {
  flex: 1;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.pv-doc-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(4, 3, 3, 0.08);
  overflow: hidden;
}

.pv-doc-bar i {
  display: block;
  height: 100%;
  width: var(--d, 0%);
  background: var(--cyan);
}

.pv-doc em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pv-flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pv-chip.c {
  background: var(--cyan);
}

.pv-ic-doc,
.pv-ic-sys {
  width: 12px;
  height: 14px;
  border-radius: 2px;
  border: 1.6px solid currentColor;
}

.pv-ic-sys {
  width: 14px;
  height: 12px;
  border-radius: 3px;
  box-shadow: inset 4px 0 0 currentColor;
}

.pv-arrow {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--line-2);
  overflow: hidden;
}

.pv-arrow i {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: var(--cyan);
}

.pv-flow.on .pv-arrow i {
  animation: pvGo 1.3s ease-in-out infinite;
}

@keyframes pvGo {
  to { left: 100%; }
}

.pv-months {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pv-dots i {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.pv-dots i {
  transition: background 0.35s ease, color 0.35s ease;
}

.pv-dots i.on {
  background: var(--cyan);
  color: var(--ink);
}

/* testes rodando e a medida que passa da meta */
.pv-trow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  opacity: 0.25;
  transition: opacity 0.45s ease;
}

.pv-trow.on {
  opacity: 1;
}

.pv-trow b {
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
}

.pv-tbar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pv-tbar i {
  display: block;
  height: 100%;
  width: var(--d, 0%);
  background: var(--cyan);
}

.pv-meas {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  opacity: 0.25;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-out);
}

.pv-meas.on {
  opacity: 1;
  transform: none;
}

.pv-meas .pv-k {
  color: var(--grey);
}

.pv-meas b {
  grid-row: span 2;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pv-meas em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
}

.pv-meas.ok em {
  color: #1f9aa8;
}

.pv-meas.ok em::before {
  content: "✓ ";
}

.pv-dots i.more {
  background: transparent;
  color: var(--fg-3);
}

/* =====================================================================
   SYSTEMS — A TESE: "no papel" × "no software"
   ===================================================================== */
.thesis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: start;
}

.thesis-copy {
  grid-column: 1 / span 6;
}

.thesis-copy .thesis-body {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 52ch;
}

.scenario {
  grid-column: 8 / span 5;
  container-type: inline-size;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 40px 90px -60px rgba(4, 3, 3, 0.5);
}

.scn-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scn-clock {
  font-size: 13.5px;
  color: var(--fg-3);
}

.scn-clock b {
  color: var(--fg);
}

.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.seg button {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  padding: 7px 14px;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  cursor: pointer;
  transition: color 0.3s ease;
}

.seg button[aria-pressed="true"] {
  color: var(--ink);
}

.seg::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(4, 3, 3, 0.12);
  transition: transform 0.45s var(--ease-out), background 0.45s ease;
}

.seg.is-sw::before {
  transform: translateX(100%);
  background: var(--cyan);
}

.scn-rows {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.scn-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.scn-row p {
  font-size: 13px;
  color: var(--fg-3);
}

.scn-row strong {
  display: block;
  margin-top: 2px;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.scn-out {
  position: relative;
  min-width: 152px;
  height: 30px;
  text-align: right;
}

.scn-out span {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(-50%);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
}

.scn-out .bad {
  background: var(--soft);
  border: 1px dashed var(--line-2);
  color: var(--fg-2);
}

.scn-out .good {
  background: var(--cyan);
  color: var(--ink);
  opacity: 0;
  transform: translateY(0%);
}

/* card estreito (tablet, coluna de 5): o resultado desce para baixo do passo,
   em vez de passar por cima do texto */
@container (max-width: 430px) {
  .scn-row { grid-template-columns: minmax(0, 1fr); }
  .scn-out { min-width: 0; text-align: left; }
  .scn-out span { right: auto; left: 0; }
}

.scenario.is-sw .scn-out .bad {
  opacity: 0;
  transform: translateY(-120%);
}

.scenario.is-sw .scn-out .good {
  opacity: 1;
  transform: translateY(-50%);
}

.scenario.is-sw .scn-row {
  border-color: rgba(57, 199, 216, 0.45);
}

.scn-row:nth-child(2) .scn-out span { transition-delay: 0.12s; }
.scn-row:nth-child(3) .scn-out span { transition-delay: 0.24s; }

.scn-foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--fg-3);
}

/* =====================================================================
   SYSTEMS — O QUE CONSTRUÍMOS: grupos com painel fixo que troca de tela
   ===================================================================== */
.build-head {
  max-width: 820px;
}

.build-note {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 62ch;
}

.group {
  padding-top: clamp(72px, 9vw, 120px);
}

.group-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}

.group-n {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.group-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.group-count {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--fg-3);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.sc-list {
  grid-column: 1 / span 5;
}

.sc-stage {
  grid-column: 7 / span 6;
}

.showcase.flip .sc-list {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.showcase.flip .sc-stage {
  grid-column: 1 / span 6;
  grid-row: 1;
}

.sc-stage-in {
  position: sticky;
  top: calc(var(--nav-h) + 6vh);
  padding: 9vh 0;
}

.sc-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62vh;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.3;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.sc-item:last-child {
  border-bottom: 0;
}

.sc-item.is-active {
  opacity: 1;
  cursor: default;
}

.sc-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.sc-name::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--fg-3);
  transition: background 0.4s ease, transform 0.5s var(--ease-out);
}

.sc-item.is-active .sc-name::before {
  background: var(--cyan);
  transform: rotate(45deg) scale(1.15);
}

.sc-desc {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 46ch;
}

.sc-media {
  display: none;
}

/* moldura da tela: a "janela" de cada sistema. Quem a recebe é container:
   abaixo de 580px a tela vira app de celular (demos.css) e a moldura fica
   5:6, pela largura dela e não pela da janela, para as duas regras andarem
   juntas também no tablet e no painel fixo */
.sc-media,
.sc-stage-in,
.growie-vis {
  container-type: inline-size;
}

.screen {
  position: relative;
  aspect-ratio: 16 / 10.4;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(4, 3, 3, 0.1);
  box-shadow: 0 50px 100px -40px rgba(4, 3, 3, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@container (max-width: 579.98px) {
  .screen { aspect-ratio: 5 / 6; }
}

/* celular de 320px: um pouco mais alta, para o mesmo conteúdo caber */
@container (max-width: 299.98px) {
  .screen { aspect-ratio: 4 / 5; }
}

.tone-dark .screen {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(57, 199, 216, 0.25);
}

.screen-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-3);
}

.screen-caption b {
  color: var(--fg);
  font-weight: 700;
}

.build-close {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid;
  justify-items: start;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2);
}

.build-close p {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 30ch;
}

/* =====================================================================
   SYSTEMS — TRACKING e GROWIE (#tracking)
   ===================================================================== */
.track-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: center;
}

.track-copy {
  grid-column: 1 / span 6;
}

.track-copy .lede {
  margin-top: 28px;
  max-width: 52ch;
}

.track-vis {
  grid-column: 8 / span 5;
}

.instead {
  margin-top: clamp(72px, 9vw, 120px);
}

.instead-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.instead-list li {
  position: relative;
  padding: 24px 0 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
}

.instead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill-rule='evenodd' d='M0 0h14v14H0zM5.6 10.6 2.3 7.3l1.1-1.1 2.2 2.2 5-5 1.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill-rule='evenodd' d='M0 0h14v14H0zM5.6 10.6 2.3 7.3l1.1-1.1 2.2 2.2 5-5 1.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.growie {
  margin-top: clamp(96px, 12vw, 160px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: center;
}

.growie-copy {
  grid-column: 1 / span 5;
}

.growie-body {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}

.growie-body .strong {
  color: var(--fg);
  font-weight: 700;
}

.growie-vis {
  position: relative;
  grid-column: 7 / span 6;
  padding-top: clamp(64px, 7vw, 96px);
}

/* o mascote sentado na borda de cima da tela, com o balão ao lado */
.growie-pal {
  position: absolute;
  right: 7%;
  top: calc(clamp(64px, 7vw, 96px) + 1px);
  z-index: 2;
  width: clamp(76px, 8.6vw, 118px);
  color: var(--cyan);
  transform: translateY(-96%);
  cursor: pointer;
  filter: drop-shadow(0 10px 24px rgba(57, 199, 216, 0.35));
}

.growie-bot {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.growie-shape {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.growie-shape.hop {
  animation: hop 0.62s var(--ease);
}

.growie-say {
  position: absolute;
  right: calc(100% + 14px);
  top: 4%;
  max-width: min(320px, 58vw);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7);
  transform-origin: 100% 100%;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}

.growie-say.out {
  opacity: 0;
  transform: scale(0.92) translateY(4px);
}

.growie-say .dots {
  display: inline-flex;
  gap: 4px;
  padding: 2px 0;
}

.growie-say .dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey-light);
  animation: typing 1s ease-in-out infinite;
}

.growie-say .dots i:nth-child(2) { animation-delay: 0.15s; }
.growie-say .dots i:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 640px) {
  .growie-say {
    white-space: normal;
    width: max-content;
    max-width: 52vw;
    font-size: 12.5px;
  }
}

.track-close {
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  max-width: 28ch;
}

/* =====================================================================
   SYSTEMS — DEPOIS DO BUILD: a volta da semana em torno do que é seu.
   Um anel com três paradas (10h, 2h e 6h); um pixel ciano dá a volta e a
   parada da vez acende. No meio, o que fica com o cliente. No celular as
   duas primeiras paradas sobem para cima do anel e a terceira fica embaixo.
   ===================================================================== */
.orbit {
  --od: clamp(300px, 31vw, 420px);
  --og: clamp(28px, 4vw, 64px);
  --ttl: clamp(19px, 1.7vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--od) minmax(0, 1fr);
  grid-template-areas:
    "left ring right"
    ".    stop3 .";
  --rg: 30px;
  column-gap: var(--og);
  row-gap: var(--rg);
}

.orbit-ring {
  grid-area: ring;
  position: relative;
  width: var(--od);
  aspect-ratio: 1;
  container-type: inline-size;
}

.orbit-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-ring circle {
  fill: none;
}

.orbit-track {
  stroke: var(--line-2);
  stroke-width: 0.7;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}

.orbit.is-on .orbit-track {
  stroke-dashoffset: 0;
}

.orbit-trail {
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 0 360;
}

/* as paradas e o pixel: quadradinhos, a linguagem dos pixels da marca */
.orbit-node,
.orbit-px {
  position: absolute;
  left: 50%;
  top: 50%;
}

.orbit-node {
  width: 14px;
  height: 14px;
  margin: -7px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--bg);
  transform: rotate(var(--a)) translateY(-49.5cqi) rotate(calc(-1 * var(--a))) scale(0);
  transition: transform 0.6s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit.is-on .orbit-node {
  transform: rotate(var(--a)) translateY(-49.5cqi) rotate(calc(-1 * var(--a)));
}

.orbit.is-on .orbit-node:nth-of-type(2) { transition-delay: 0.45s, 0s, 0s, 0s; }
.orbit.is-on .orbit-node:nth-of-type(3) { transition-delay: 0.9s, 0s, 0s, 0s; }

.orbit-node.on {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(57, 199, 216, 0.18);
}

.orbit-px {
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 0 2px var(--bg);
  opacity: 0;
  transform: rotate(var(--ang, 300deg)) translateY(-49.5cqi) rotate(calc(-1 * var(--ang, 300deg)));
}

.orbit.is-run .orbit-px {
  opacity: 1;
}

/* o miolo: o que é do cliente */
.orbit-core {
  grid-area: ring;
  place-self: center;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: calc(var(--od) * 0.03);
  width: calc(var(--od) * 0.66);
  aspect-ratio: 1;
  padding: 6%;
  border-radius: 50%;
  background: var(--paper-2);
  text-align: center;
}

.orbit-core h3 {
  font-size: max(15px, calc(var(--od) * 0.045));
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.orbit-core h3 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.1em;
  letter-spacing: 0;
  line-height: 1;
}

.orbit-core ul {
  list-style: none;
  display: grid;
  gap: 1px;
  font-size: max(12.5px, calc(var(--od) * 0.032));
  line-height: 1.4;
  color: var(--fg-2);
}

/* as paradas: o título fica na altura do quadradinho, com um fio até ele */
.orbit-stop {
  position: relative;
  max-width: 30ch;
}

.orbit-stop h3 {
  font-size: var(--ttl);
  letter-spacing: -0.025em;
  line-height: 1.15;
  transition: color 0.35s ease;
}

.orbit-stop p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
}

.orbit.is-run .orbit-stop:not(.is-on) h3 {
  color: var(--fg-3);
}

.orbit-stop::after {
  content: "";
  position: absolute;
  background: var(--line-2);
  transition: background-color 0.35s ease;
}

.orbit-stop.is-on::after {
  background: var(--cyan);
}

.orbit-stop.at-left,
.orbit-stop.at-right {
  align-self: start;
  margin-top: calc(var(--od) * 0.25 - var(--ttl) * 0.575);
}

.orbit-stop.at-left {
  grid-area: left;
  justify-self: end;
  text-align: right;
}

.orbit-stop.at-right {
  grid-area: right;
  justify-self: start;
}

/* o fio vai da borda do texto até o quadradinho (às 10h e às 2h ele fica
   6,7% do diâmetro para dentro da borda do anel) */
.orbit-stop.at-left::after,
.orbit-stop.at-right::after {
  top: calc(var(--ttl) * 0.575);
  width: calc(var(--og) + var(--od) * 0.067 - 22px);
  height: 1px;
}

.orbit-stop.at-left::after { left: calc(100% + 14px); }
.orbit-stop.at-right::after { right: calc(100% + 14px); }

.orbit-stop.at-bottom {
  grid-area: stop3;
  justify-self: center;
  text-align: center;
  padding-top: 0;
}

.orbit-stop.at-bottom::after {
  left: 50%;
  bottom: calc(100% + 6px);
  width: 1px;
  height: calc(var(--rg) - 19px);
}

@media (max-width: 640px) {
  .orbit {
    --od: min(84vw, 340px);
    --ttl: 17px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "left  right"
      "ring  ring"
      "stop3 stop3";
    column-gap: 20px;
  }

  .orbit-ring {
    justify-self: center;
  }

  .orbit-stop.at-left,
  .orbit-stop.at-right {
    margin-top: 0;
    justify-self: stretch;
  }

  .orbit-stop.at-left,
  .orbit-stop.at-right {
    text-align: left;
  }

  .orbit-stop p {
    font-size: 15px;
  }

  .orbit-stop.at-left::after,
  .orbit-stop.at-right::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-track,
  .orbit-node {
    transition: none !important;
  }
}

/* =====================================================================
   BOOK — página mínima: texto + formulário embutido
   ===================================================================== */
.book {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
}

/* laptop: em tela baixa o conteúdo sobe, para abrir já centrado na tela (a
   coluna da esquerda fica presa ali enquanto o formulário rola); em telas
   altas a folga é a mesma de antes */
@media (min-width: 901px) {
  .book {
    padding-top: calc(var(--nav-h) + clamp(32px, 21svh - 104px, 96px));
  }
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}

.book-copy {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.book-copy .lede {
  margin-top: 26px;
}

.book-steps {
  margin-top: 40px;
  counter-reset: bk;
  border-top: 1px solid var(--line);
}

.book-steps li {
  counter-increment: bk;
  position: relative;
  padding: 18px 0 18px 46px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--fg-2);
}

.book-steps li::before {
  content: counter(bk);
  position: absolute;
  left: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.book-steps b {
  color: var(--fg);
}

.book-panel {
  grid-column: 7 / span 6;
}

.book-small {
  margin-top: 18px;
  font-size: 14px;
  color: var(--fg-3);
  text-align: center;
}

/* a serifa das heros, um pouco maior para casar com a altura-x do sans */
.hero-title em,
.phero-title em {
  font-size: 1.1em;
  line-height: 1.02;
}

.hero-title em {
  display: block;
}

/* formulário embutido da /book: as mesmas classes do modal (lead-form.css),
   com os tokens declarados aqui porque não está dentro de .wg-dialog */
.book-card {
  --wg-ink: var(--ink);
  --wg-paper: #fff;
  --wg-cyan: var(--cyan);
  --wg-line: rgba(4, 3, 3, 0.14);
  --wg-line-2: rgba(4, 3, 3, 0.26);
  --wg-muted: var(--grey);
  --wg-sans: var(--sans);
  --wg-serif: var(--serif);
  font-family: var(--sans);
  color: var(--ink);
  box-shadow: 0 40px 90px -60px rgba(4, 3, 3, 0.5);
}

.book-card .book-card-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.05;
}

.book-card h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1100px) {
  .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a { padding: 8px 11px; }
  .nav-links a::after { left: 11px; right: 11px; }

  .trio,
  .people3 {
    gap: 16px;
  }

  .steps4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .steps4-track { display: none; }

  /* a vitrine dos sistemas empilha: com o painel fixo, a tela ficava com
     400px e letra de 5px; aqui cada sistema tem a sua tela larga */
  .showcase { display: block; }
  .sc-stage { display: none; }
  .sc-item { min-height: 0; padding: 40px 0; opacity: 1; cursor: default; }
  .sc-media { display: block; }
  .sc-name { order: -1; margin-bottom: 22px; }
  .sc-media .screen { box-shadow: 0 22px 36px -26px rgba(4, 3, 3, 0.42); }
  .sc-desc { margin-top: 22px; }
  .group-count { display: none; }
}

/* painel fixo entre 1101 e 1300px: uma coluna a mais, para a tela passar
   dos 580px e ficar no desenho do computador */
@media (min-width: 1101px) and (max-width: 1300px) {
  .sc-stage { grid-column: 6 / span 7; }
  .showcase.flip .sc-stage { grid-column: 1 / span 7; }
  .showcase.flip .sc-list { grid-column: 8 / span 5; }
}

@media (max-width: 900px) {
  :root { --nav-h: 60px; }

  .nav { padding: 0 14px; gap: 10px; }
  .nav-logo img { height: 22px; }
  .nav-links { display: none; }
  .nav-aside { display: none; }
  .nav-menu { display: grid; }
  .nav-cta { font-size: 13px; padding: 8px 15px; }

  /* o mesmo peso da regra do computador (:not(:first-child) conta como uma classe) */
  .sec-head.split > :first-child,
  .sec-head.split > :not(:first-child) { grid-column: 1 / -1; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    row-gap: 40px;
    padding-top: calc(var(--nav-h) + 28px);
  }

  .hero-mark,
  .hero-copy { grid-column: 1; }

  .hero-logo { max-width: min(76vw, 420px); }
  .hero-copy { padding-left: 0; }
  .hero-actions { justify-items: center; text-align: center; }
  .hero-note { text-align: center; }
  .hero-hint { display: none; }

  .phero-copy,
  .phero-visual { grid-column: 1 / -1; }

  .trio,
  .people3 { grid-template-columns: minmax(0, 1fr); }

  .why-head,
  .why-list { grid-column: 1 / -1; }
  .why-head-in { position: static; margin-bottom: 24px; }
  .why-item { opacity: 1; }

  .closer-copy,
  .closer-vis { grid-column: 1 / -1; }
  .closer-vis { justify-self: center; max-width: 480px; }

  /* celular: sem o quadro grande; cada passo mostra a sua camada */
  .mapsec { display: block; }
  .map-stage { display: none; }
  .map-mini { display: block; margin-bottom: 22px; }
  .map-item { display: flex; flex-direction: column; min-height: 0; padding: 32px 0; opacity: 1; }
  .map-item::before { position: static; margin: 0 0 6px; }
  .map-mini { order: -1; }

  /* entradas de lado viram de baixo: nada passa da largura da tela */
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translate3d(0, 34px, 0); }

  .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-head,
  .faq-list { grid-column: 1 / -1; }
  .faq-head { display: contents; }
  .faq-head .btn-link { order: 1; grid-column: 1 / -1; justify-self: start; }
  .plan-gantt { padding: 16px 14px 18px; }
  .plan-head { left: calc(14px + (100% - 28px) * var(--t, 0)); }

  .thesis-copy,
  .scenario { grid-column: 1 / -1; }
  .scenario { position: static; }

  .track-copy,
  .track-vis,
  .growie-copy,
  .growie-vis { grid-column: 1 / -1; }

  .instead-list { grid-template-columns: minmax(0, 1fr); }

  .book-copy,
  .book-panel { grid-column: 1 / -1; }
  .book-copy { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  /* cronograma estreito */
  .plan-ruler span { padding-left: 3px; font-size: 9.5px; }
  .plan-ruler span::before { content: none; }
  .plan-bars { row-gap: 26px; margin-top: 30px; }
  .plan-bar span { font-size: 11.5px; }
  .plan-bar:nth-child(4) span { left: auto; right: 0; }
  .plan-cards { grid-template-columns: minmax(0, 1fr); }

  /* cenário: o relógio numa linha e as abas embaixo, de ponta a ponta */
  .scn-top { flex-direction: column; align-items: stretch; gap: 14px; }
  .seg { display: grid; }

  /* Growie e o fecho do tracking, centralizados */
  .growie-copy .h-display { text-align: center; }
  .track-close { margin-inline: auto; text-align: center; }

  .steps4 { grid-template-columns: minmax(0, 1fr); }

  .scn-row { grid-template-columns: minmax(0, 1fr); }
  .scn-out { min-width: 0; text-align: left; height: 30px; }
  .scn-out span { right: auto; left: 0; }

  .foot-links { gap: 10px 20px; }
  .hero-foot { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================
   CELULAR (27/10/2026): um eixo só, no centro, e o texto curto.
   Títulos, heros, cabeçalhos de seção, passos, cartões, sócios e chamadas
   centralizam. O parágrafo longo de um bloco cede o lugar à versão curta
   (.copy-long e .copy-short, as duas no HTML; no computador vale a longa).
   Ficam alinhados à esquerda o que se lê em linha: as perguntas do FAQ, o
   formulário, o cronograma e as telas dos sistemas.
   ===================================================================== */
.copy-short { display: none; }

@media (max-width: 900px) {
  /* Consulting, mapa: o título com o número na mesma linha, depois o cartão, depois o texto */
  .map-item::before { content: none; }
  .map-item h3 { order: -2; }
  .map-item h3::before {
    content: "0" counter(mi);
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    margin-right: 10px;
    border-radius: 7px;
    background: var(--cyan);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: 0.2em;
    font-variant-numeric: tabular-nums;
  }
  .map-item .map-mini { order: -1; margin: 20px 0 22px; }
  .board-mini .b-mod-h { display: none; }
}

@media (max-width: 640px) {
  .copy-long { display: none; }
  .copy-short { display: block; }

  /* home: a marca, o título, o texto e o botão num eixo */
  .hero-grid { justify-items: center; row-gap: 26px; text-align: center; }
  .hero-mark { display: flex; justify-content: center; width: 100%; }
  .hero-logo { max-width: min(70vw, 290px); }
  .hero-copy { display: grid; justify-items: center; }
  .hero-title { max-width: 14ch; font-size: clamp(30px, 8.6vw, 36px); }
  .hero-sub { margin-top: 16px; max-width: 31ch; font-size: 16px; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .hero-note { max-width: 30ch; font-size: 13px; }

  /* heros de Consulting e Systems */
  .phero-grid { row-gap: 36px; }
  .phero-copy { display: grid; justify-items: center; text-align: center; }
  .phero-kicker { margin-bottom: 12px; }
  .phero-title { max-width: 13ch; }
  .phero-sub { margin-top: 18px; max-width: 31ch; font-size: 16.5px; }

  /* cabeçalhos de seção e blocos de título */
  .sec-head,
  .sec-head.split { justify-items: center; text-align: center; }
  .sec-head .lede { margin-inline: auto; max-width: 32ch; }
  .why-head,
  .closer-copy,
  .thesis-copy,
  .track-copy,
  .growie-copy,
  .book-copy,
  .faq h2 { text-align: center; }
  .track-copy .lede,
  .thesis-body,
  .book-copy .lede { margin-inline: auto; max-width: 32ch; }
  .faq-head h2 { grid-column: 1 / -1; }
  .faq-head .btn-link { justify-self: center; }
  .book-steps { text-align: left; }
  .lede { font-size: 17px; }

  /* como funciona: os passos descem pelo centro, ligados por um fio que
     acende junto com o passo */
  .steps4 { gap: 0; }
  .step4 { display: grid; justify-items: center; text-align: center; }
  .step4-title { margin-top: 18px; }
  .step4-text { margin-inline: auto; }
  .step4:not(:last-child)::after {
    content: "";
    width: 2px;
    height: 40px;
    margin: 24px 0;
    border-radius: 2px;
    background: var(--line-2);
    transition: background 0.5s ease;
  }
  .step4.is-on:not(:last-child)::after { background: var(--cyan); }

  /* cartões: o título e o texto curto no meio, o link embaixo */
  .tcard-body { align-items: center; text-align: center; padding: 22px 8px 0; }
  .tcard-text { max-width: 31ch; }
  .tcard-link { padding-top: 20px; }

  /* sócios */
  .pcard-body { align-items: center; text-align: center; padding-inline: 8px; }
  .pcard-bio { max-width: 33ch; }
  .pcard-results { width: 100%; justify-items: center; }
  .pcard-results li { padding-left: 0; }
  .pcard-results li::before { position: static; display: inline-block; margin-right: 9px; vertical-align: 0.08em; }

  /* por que a WeGrow e o arremate */
  .why-item { text-align: center; }
  .why-text { margin-inline: auto; max-width: 33ch; font-size: 16px; }
  .closer-body { margin-inline: auto; max-width: 31ch; font-size: 18px; }

  /* texto centralizado quebra em linhas parecidas, sem palavra sozinha no fim */
  .hero-sub, .hero-note, .phero-sub, .lede, .tcard-text, .step4-text, .pcard-bio,
  .why-title, .why-text, .closer-body p, .map-item p, .sc-desc, .thesis-body p { text-wrap: balance; }

  /* Consulting: o mapa da aquisição (o cartão ocupa a largura toda) */
  .map-item { align-items: center; text-align: center; }
  .map-item .map-mini { align-self: stretch; }
  .map-item p { margin-inline: auto; max-width: 32ch; }
  .map-next { display: flex; justify-content: center; }
  .pcard-results li { text-wrap: balance; }

  /* Systems: grupos, cada sistema, o que construímos no lugar */
  .build-head { text-align: center; }
  .build-head .lede,
  .build-note { margin-inline: auto; max-width: 32ch; text-wrap: balance; }
  .group-head { justify-content: center; text-align: center; }
  .orbit-stop.at-left,
  .orbit-stop.at-right { text-align: center; }
  .sc-name { justify-content: center; text-align: center; }
  .sc-desc { margin-inline: auto; max-width: 32ch; text-align: center; }
}
