/* ═══════════════════════════════════════════════════════════
   KAIIROS — design tokens
   ═══════════════════════════════════════════════════════════ */
:root {
  --abyss: #030b2b;      /* base escura: ultramarino profundo */
  --deep: #06164f;       /* azul noite */
  --klein: #1633ff;      /* assinatura: azul klein elétrico */
  --lumen: #9ec5ff;      /* luz fria */
  --mist: #e6ecf7;       /* fundo claro */
  --paper: #f4f7fd;      /* texto sobre escuro */
  --ink: #050e30;        /* texto sobre claro */

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --serif: "Bodoni Moda", "Didot", serif;
  --mono: "Fragment Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 2.2vw, 36px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --hdr-fg: var(--paper);

  /* métricas da Geist para os «i» desenhados (o JS mede a fonte real) */
  --cap: 0.7em;
  --xh: 0.53em;
  --stem: 0.085em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
i, em { font-family: var(--serif); font-style: italic; font-weight: 400; }

::selection { background: var(--klein); color: var(--paper); }

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

.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 14px; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 12px;
  transform: translateY(-150%);
}
.skip:focus-visible { transform: none; }

.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--gutter);
  background: #000;
  color: var(--paper);
}
.loader__row { display: flex; justify-content: space-between; align-items: baseline; }
.loader__time {
  align-self: center; justify-self: center;
  font-family: var(--mono);
  font-size: clamp(34px, 8.5vw, 132px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.loader__time.is-frozen { color: var(--lumen); }
.loader__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(158, 197, 255, 0.12);
}
.loader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--klein);
  transform: scaleX(0); transform-origin: left;
}

/* ═══════════════════════════════════════════════════════════
   CURSOR
   ═══════════════════════════════════════════════════════════ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor__dot {
  position: absolute; left: -5px; top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  transition: transform 0.45s var(--ease-out);
}
.cursor.is-hover .cursor__dot { transform: scale(4.2); }
.cursor.is-label .cursor__dot { transform: scale(9); }
.cursor__label {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%);
  color: #000; white-space: nowrap;
  opacity: 0; transition: opacity 0.25s;
}
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ═══════════════════════════════════════════════════════════
   HEADER + MENU
   ═══════════════════════════════════════════════════════════ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 18px var(--gutter);
  color: var(--hdr-fg);
  transition: color 0.5s var(--ease-out);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr[data-theme="light"] { --hdr-fg: var(--ink); }
.hdr__logo {
  justify-self: start;
  font-size: 22px; letter-spacing: -0.02em; line-height: 1;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.hdr__logo { --ki-dot: var(--lumen); }
.hdr[data-theme="light"] .hdr__logo { --ki-dot: var(--klein); }
.hdr__nav, .hdr__clock { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.hdr:not(.show-logo) .hdr__nav, .hdr:not(.show-logo) .hdr__clock { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hdr.show-logo .hdr__logo { opacity: 1; transform: none; }
.hdr__nav { display: flex; gap: clamp(14px, 2.6vw, 44px); }
.hdr__nav a, .hdr__menu { position: relative; padding: 6px 0; }
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.hdr__nav a:hover::after, .hdr__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.hdr__nav a:active { opacity: 0.6; }
.hdr__clock { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; min-width: 12ch; }
.hdr__pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--klein);
  box-shadow: 0 0 0 0 rgba(22, 51, 255, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 51, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(22, 51, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 51, 255, 0); }
}
.hdr__menu { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--klein);
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 90px var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: block; overflow: hidden;
  font-size: clamp(48px, 15vw, 120px); line-height: 0.98; letter-spacing: -0.045em;
}
.menu__nav a span { display: inline-block; }
.menu__nav a:active { opacity: 0.7; }
.menu__foot { margin-top: 32px; opacity: 0.8; }

@media (max-width: 820px) {
  .hdr { grid-template-columns: 1fr auto auto; gap: 18px; }
  .hdr__nav { display: none; }
  .hdr__menu { display: block; }
  .hdr:not(.show-logo) .hdr__clock { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   «i» DESENHADOS — haste + ponto circular, com a espessura da Geist
   ═══════════════════════════════════════════════════════════ */
.ki {
  display: inline-block; position: relative;
  width: calc(var(--stem) + 0.12em); height: var(--cap);
  vertical-align: baseline;
}
.ki__dot, .ki__stem { position: absolute; display: block; }
.ki__dot {
  top: 0; left: calc(50% - var(--stem) * 0.675);
  width: calc(var(--stem) * 1.35); height: calc(var(--stem) * 1.35);
  border-radius: 50%; background: var(--ki-dot, currentColor);
}
.ki__stem { bottom: 0; left: calc(50% - var(--stem) / 2); width: var(--stem); height: var(--xh); background: currentColor; }
.kmark { white-space: nowrap; }
.kmark .ki { margin-inline: -0.01em; }

/* ═══════════════════════════════════════════════════════════
   I. ENTRAR — preto, o fluido só vive dentro das letras
   ═══════════════════════════════════════════════════════════ */
.hero { position: relative; height: 380vh; background: #000; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; background: #000;
}
/* camada preta com letras brancas em multiply: preto tapa, branco deixa ver o fluido */
.hero__mask {
  position: absolute; inset: 0; z-index: 1;
  background: #000; mix-blend-mode: multiply;
  display: flex; align-items: center;
  padding: 0 calc(var(--gutter) * 0.6) 5vh;
}
.hero__mark {
  width: 100%;
  display: flex; justify-content: space-between; align-items: baseline;
  color: #fff; font-weight: 400; line-height: 1;
  letter-spacing: -0.035em; white-space: nowrap;
}
.wm__m { flex-shrink: 0; display: inline-block; overflow: hidden; line-height: 1; padding: 0.06em 0.02em 0.12em; margin: -0.06em -0.02em -0.12em; }
.wm__l { display: inline-block; }
.wm__l--it { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.035em; letter-spacing: -0.02em; }
.hero__mark .ki { --ki-dot: #fff; }
.hero.is-live:not(.is-zooming) .ki__dot[data-portal] { animation: breathe 2.8s var(--ease-io) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* anel que pulsa à volta do ponto-porta */
.hero__ring {
  position: absolute; z-index: 2; left: 0; top: 0;
  width: 0; height: 0; pointer-events: none; opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.hero__ring.on { opacity: 1; }
.hero.is-zooming .hero__ring { opacity: 0; }
.hero__ring::before, .hero__ring::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: var(--ring, 40px); height: var(--ring, 40px); border-radius: 50%;
  border: 1px solid rgba(158, 197, 255, 0.7);
  transform: translate(-50%, -50%) scale(1); opacity: 0;
  animation: ripple 2.8s var(--ease-out) infinite;
}
.hero__ring::after { animation-delay: 1.4s; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(4.2); opacity: 0; } }

.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  z-index: 3;
}
.hero__meta p { text-align: center; }
.hero__claim {
  position: absolute; left: 0; right: 0; bottom: calc(12vh + 30px);
  text-align: center;
  font-size: clamp(24px, 2.6vw, 44px);
  letter-spacing: -0.03em; line-height: 1;
  z-index: 3;
}
.hero__claim em { font-size: 1.08em; }
.hero__intro {
  position: absolute; inset: 0; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  text-align: center; z-index: 3; opacity: 0;
}
.hero__in { font-size: clamp(44px, 7vw, 120px); letter-spacing: -0.05em; line-height: 0.95; }
.hero__intro .mono { font-size: 12px; line-height: 1.7; max-width: 46ch; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--paper);
}
.hero__scroll i { width: 1px; height: 28px; background: currentColor; transform-origin: top; animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__shade { position: absolute; inset: 0; z-index: 4; background: var(--abyss); opacity: 0; pointer-events: none; }

@media (max-width: 820px) {
  .hero__meta { flex-wrap: wrap; row-gap: 6px; top: 70px; }
  .hero__meta p { order: 3; width: 100%; }
  .hero__claim { bottom: calc(14vh + 24px); }
}

/* ═══════════════════════════════════════════════════════════
   CAPÍTULOS — o fio da história, à direita
   ═══════════════════════════════════════════════════════════ */
.rail {
  position: fixed; right: calc(var(--gutter) - 2px); top: 50%; z-index: 58;
  transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease-out), color 0.5s var(--ease-out);
  color: var(--paper);
}
.rail.on { opacity: 1; pointer-events: auto; }
.rail[data-theme="light"] { color: var(--ink); }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.rail button {
  display: flex; align-items: center; gap: 10px; padding: 3px 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase;
}
.rail button::after {
  content: ""; width: 14px; height: 1px; background: currentColor; opacity: 0.4;
  transition: width 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.rail__t { opacity: 0; transform: translateX(6px); white-space: nowrap; transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); }
.rail__n { min-width: 2.6em; text-align: right; opacity: 0.4; transition: opacity 0.4s var(--ease-out); }
.rail li.is-active .rail__t, .rail button:hover .rail__t, .rail button:focus-visible .rail__t { opacity: 1; transform: none; }
.rail li.is-active .rail__n { opacity: 1; }
.rail li.is-active button::after { width: 34px; opacity: 1; }
.rail button:active { opacity: 0.6; }
@media (max-width: 900px) { .rail { display: none; } }

/* ═══════════════════════════════════════════════════════════
   II–III. O MOMENTO + PARA QUEM — um só astrolábio, dois capítulos
   ═══════════════════════════════════════════════════════════ */
.orbit {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 72% 50%, rgba(22, 51, 255, 0.22), transparent 70%),
    var(--abyss);
}
.orbit__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 1; }
/* os capítulos são espaçadores de scroll por baixo do mesmo ecrã fixo */
.orbit__ch { position: relative; pointer-events: none; }
.orbit__ch--moment { height: 400vh; margin-top: -100vh; }
.orbit__ch--sectors { height: 620vh; }

.manifesto__text {
  position: absolute; left: var(--gutter); top: 50%;
  transform: translateY(-50%);
  width: min(45vw, 760px);
  z-index: 2;
}
.manifesto__p {
  font-size: clamp(26px, 3.3vw, 54px);
  line-height: 1.08; letter-spacing: -0.03em;
  text-wrap: pretty;
}
.manifesto__p em { font-size: 1.06em; }
.manifesto__p .word { opacity: 0.14; }
.manifesto__coords {
  position: absolute; left: var(--gutter); bottom: var(--gutter);
  display: flex; gap: 28px; z-index: 2; color: var(--lumen);
}
.manifesto__coords b { font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; }
.manifesto__nowwrap { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.manifesto__now {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(90px, 21vw, 360px);
  letter-spacing: -0.06em; line-height: 1;
  opacity: 0;
}
.manifesto__now i { font-size: 1.06em; letter-spacing: -0.02em; }

/* mostrador dos setores */
.dial {
  position: absolute; left: var(--gutter); top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: min(40vw, 580px);
  display: flex; flex-direction: column; gap: 22px;
  opacity: 0; visibility: hidden;
}
.dial__label { display: flex; justify-content: space-between; color: var(--lumen); }
.dial__label b { font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; }
.dial__panels { position: relative; min-height: clamp(280px, 36vh, 360px); }
.dial__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.45s var(--ease-out), transform 0.8s var(--ease-out);
}
.dial__panel.is-active { opacity: 1; transform: none; }
.dial__panel h3 { font-size: clamp(42px, 5.2vw, 88px); line-height: 0.94; letter-spacing: -0.05em; text-wrap: balance; }
.dial__panel h3 i { font-size: 1.05em; letter-spacing: -0.02em; }
.dial__sub { color: var(--lumen); }
.dial__panel ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 46ch; }
.dial__panel li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; color: rgba(244, 247, 253, 0.86); }
.dial__panel li::before { content: ""; width: 7px; height: 7px; margin-top: 0.55em; border-radius: 50%; border: 1px solid var(--lumen); }
.dial__list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(158, 197, 255, 0.2); display: flex; flex-wrap: wrap; gap: 6px 16px; color: rgba(158, 197, 255, 0.45); }
.dial__list li { transition: color 0.4s var(--ease-out); font-variant-numeric: tabular-nums; }
.dial__list li.is-active { color: var(--paper); }

@media (max-width: 820px) {
  .manifesto__text { width: auto; right: var(--gutter); top: auto; bottom: 22%; transform: none; }
  .orbit__gl { opacity: 0.6; }
  .manifesto__coords { flex-direction: column; gap: 4px; }
  .dial { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 5vh; transform: none; gap: 14px; }
  .dial__panels { min-height: 250px; }
  .dial__panel h3 { font-size: clamp(36px, 10vw, 52px); }
  .dial__list { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   IV. O QUE FAZEMOS — a placa de circuito
   ═══════════════════════════════════════════════════════════ */
.placa { position: relative; height: 1370vh; background: #01030c; }
.placa__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.placa__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 3, 12, 0.84) 0%, rgba(1, 3, 12, 0.42) 30%, transparent 50%);
}
.placa__panels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pl {
  position: absolute; left: var(--gutter); top: 50%;
  max-width: min(540px, 38vw);
  opacity: 0; transform: translateY(calc(-50% + 24px));
  transition: opacity 0.5s var(--ease-out), transform 0.9s var(--ease-out);
}
.pl.on { opacity: 1; transform: translateY(-50%); }
.pl .mono { color: var(--lumen); }
.pl h2, .pl h3 { margin-top: 16px; font-size: clamp(42px, 5.2vw, 90px); line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.pl h2 i, .pl h3 i { font-size: 1.05em; letter-spacing: -0.02em; }
.pl__t { margin-top: 18px; max-width: 38ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: rgba(244, 247, 253, 0.82); }
.placa__hud {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 150px); bottom: var(--gutter); z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  color: var(--lumen); font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none;
}
.placa__hud b { font-weight: 400; color: var(--paper); }
.placa__stats { display: flex; flex-direction: column; gap: 4px; }
.placa__log { margin: 0; font: inherit; line-height: 1.6; white-space: pre; color: rgba(158, 197, 255, 0.85); text-align: left; }
.placa__tip {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none;
  padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--ink);
  opacity: 0; transition: opacity 0.2s; white-space: nowrap;
}
/* no fim a placa fica klein: é daqui que nasce a íris de «O tempo perdido» */
.placa__klein { position: absolute; inset: 0; z-index: 6; background: var(--klein); opacity: 0; pointer-events: none; }

@media (max-width: 900px) { .placa__hud { right: var(--gutter); } }
@media (max-width: 820px) {
  .placa__scrim { background: linear-gradient(0deg, rgba(1, 3, 12, 0.9) 0%, rgba(1, 3, 12, 0.45) 36%, transparent 58%); }
  .pl { top: auto; bottom: 92px; right: var(--gutter); max-width: none; transform: translateY(24px); }
  .pl.on { transform: none; }
  .pl h2, .pl h3 { font-size: clamp(34px, 9.6vw, 44px); }
  .pl__t { font-size: 15px; margin-top: 12px; }
  .placa__log { display: none; }
  .placa__stats { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; font-size: 9px; }
}

/* ═══════════════════════════════════════════════════════════
   A TUA VEZ — o método é um relógio; no fim só ficam 20 minutos
   ═══════════════════════════════════════════════════════════ */
.twenty {
  position: relative; height: 560vh;
  background:
    radial-gradient(ellipse 50% 60% at 28% 50%, rgba(22, 51, 255, 0.2), transparent 70%),
    var(--abyss);
}
.twenty__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: 0 calc(var(--gutter) + 130px) 0 var(--gutter);
}
.twenty__dial { --d: min(76vh, 42vw); position: relative; width: var(--d); height: var(--d); justify-self: center; }
.twenty__svg { display: block; width: 100%; height: 100%; overflow: visible; }

.tw-ring { fill: none; stroke: rgba(158, 197, 255, 0.22); stroke-width: 1.5; }
.tw-tick { stroke: rgba(244, 247, 253, 0.28); stroke-width: 2; }
.tw-tick--major { stroke: rgba(244, 247, 253, 0.75); stroke-width: 3.5; }
.tw-quad { fill: none; stroke-width: 14; }
.tw-quad--track { stroke: rgba(158, 197, 255, 0.14); }
.tw-quad--fill { stroke: var(--klein); stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.tw-arc20 { fill: none; stroke: var(--klein); stroke-width: 22; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: url(#tw-glow); }
.tw-cap { fill: var(--paper); opacity: 0; filter: url(#tw-glow); }
.tw-hand { transform-box: view-box; transform-origin: 500px 500px; }
.tw-hand line { stroke: var(--paper); stroke-width: 4; stroke-linecap: round; }
.tw-hand__tip { fill: var(--lumen); }
.tw-hand__hub { fill: var(--paper); }
.tw-hand__pin { fill: var(--klein); }
.tw-lab { transition: opacity 0.5s var(--ease-out); opacity: 0.32; }
.tw-lab.is-on { opacity: 1; }
.tw-lab__n { font-family: var(--mono); font-size: 19px; letter-spacing: 0.06em; fill: var(--lumen); text-transform: uppercase; }
.tw-lab__t { font-family: var(--sans); font-size: 34px; letter-spacing: -0.02em; fill: var(--paper); }

.twenty__center { position: absolute; inset: 0; pointer-events: none; }
.twenty__roll {
  position: absolute; left: 50%; top: 62%;
  transform: translateX(-50%);
  height: 1em; overflow: hidden;
  font-family: var(--serif); font-style: italic;
  font-size: calc(var(--d) * 0.15); line-height: 1;
}
.twenty__roll > span { display: flex; flex-direction: column; will-change: transform; }
.twenty__roll b { display: block; height: 1em; font-weight: 400; }
.twenty__min {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: calc(var(--d) * 0.018);
  opacity: 0; white-space: nowrap;
}
.twenty__num { font-size: calc(var(--d) * 0.16); font-weight: 300; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.twenty__min .mono { color: var(--lumen); }

.twenty__panel { position: relative; width: 100%; max-width: 580px; }
.twenty__label {
  display: flex; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: clamp(24px, 4vh, 40px);
  border-bottom: 1px solid rgba(158, 197, 255, 0.2);
  color: var(--lumen);
  transition: opacity 0.5s var(--ease-out);
}
.twenty__label b { font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; }
.twenty__states { position: relative; min-height: clamp(320px, 44vh, 440px); }
.twenty__steps { list-style: none; margin: 0; padding: 0; }
.tw-state {
  position: absolute; left: 0; top: 0; width: 100%;
  opacity: 0; visibility: hidden; transform: translateY(28px);
  transition: opacity 0.22s ease-in, transform 0.4s ease-in, visibility 0s 0.22s;
}
/* sai depressa, entra com um pequeno atraso: os títulos nunca se sobrepõem */
.tw-state.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--ease-out) 0.18s, transform 1s var(--ease-out) 0.18s, visibility 0s; }
.tw-state h3, .twenty__title { font-size: clamp(44px, 5vw, 88px); line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.tw-state h3 i, .twenty__title i { font-size: 1.05em; letter-spacing: -0.02em; }
.tw-state p:not(.mono) { margin-top: 20px; max-width: 42ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(244, 247, 253, 0.8); }
.tw-state > .mono { display: inline-block; margin-top: 22px; color: var(--lumen); }
.tw-state--cta h3 { font-size: clamp(38px, 3.9vw, 68px); }
.tw-state--cta .btn { margin-top: clamp(26px, 4vh, 40px); }
.tw-state > .tw-alt { display: block; margin-top: 20px; color: rgba(244, 247, 253, 0.6); }
.tw-alt a { color: var(--paper); border-bottom: 1px solid rgba(244, 247, 253, 0.35); }
.tw-alt a:hover, .tw-alt a:focus-visible { color: var(--lumen); }

.btn--klein { background: var(--klein); color: var(--paper); box-shadow: 0 12px 50px -12px rgba(22, 51, 255, 0.8); }
.btn--klein::before { background: var(--paper); }
.btn--klein:hover, .btn--klein:focus-visible { color: var(--ink); }

@media (max-width: 900px) {
  .twenty__sticky { padding-right: var(--gutter); }
}
@media (max-width: 820px) {
  .twenty__sticky {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    align-items: start; gap: 22px;
    padding: 84px var(--gutter) 24px;
  }
  .twenty__dial { --d: min(78vw, 40svh); }
  .tw-labels { display: none; }
  .twenty__label { margin-bottom: 18px; }
  .twenty__states { min-height: 0; }
  .tw-state h3, .twenty__title { font-size: clamp(34px, 9.5vw, 48px); }
  .tw-state--cta h3 { font-size: clamp(30px, 8vw, 40px); }
  .tw-state p:not(.mono) { margin-top: 12px; font-size: 15px; }
  .tw-state > .mono { margin-top: 12px; }
  .tw-state--cta .btn { margin-top: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   O TEMPO PERDIDO — relógio de corda manual que passa a automático
   ═══════════════════════════════════════════════════════════ */
.tempo { position: relative; height: 1220vh; background: #01030c; margin-top: -1px; }
.tempo__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tempo__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 3, 12, 0.8) 0%, rgba(1, 3, 12, 0.38) 34%, transparent 54%);
}
.tempo__lines { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tl {
  position: absolute; left: var(--gutter); top: 50%;
  max-width: min(560px, 40vw);
  opacity: 0; transform: translateY(calc(-50% + 24px));
  transition: opacity 0.5s var(--ease-out), transform 0.9s var(--ease-out);
}
.tl.on { opacity: 1; transform: translateY(-50%); }
.tl--top { top: 17%; transform: translateY(24px); }
.tl--top.on { transform: none; }
.tl--big { font-size: clamp(40px, 5.6vw, 96px); line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.tl--mid { font-size: clamp(26px, 3vw, 48px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.tl i { font-size: 1.05em; letter-spacing: -0.02em; }
.tl .mono { display: block; margin-bottom: 18px; color: var(--lumen); letter-spacing: 0.02em; }

/* vista explodida: as tarefas em coluna, ligadas à sua roda; acendem quando a roda gira */
.tempo__tags {
  position: absolute; left: var(--gutter); top: 44%; z-index: 3;
  width: min(440px, 36vw);
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}
.tempo__tags.on { opacity: 1; }
.tt {
  --a: 0;
  display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: baseline;
  opacity: calc(0.22 + 0.78 * var(--a));
  transform: translateX(calc(var(--a) * 8px));
}
.tt__n { color: var(--lumen); }
.tt__t { justify-self: start; font-size: clamp(17px, 1.45vw, 22px); letter-spacing: -0.015em; line-height: 1.2; }
.tt--you { margin-bottom: 6px; }
.tt--you .tt__t { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.4vw, 38px); color: var(--lumen); }
.tempo__leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.tempo__leaders line { stroke: var(--lumen); stroke-width: 1.2; }
.tempo__leaders circle { fill: var(--klein); stroke: var(--lumen); stroke-width: 1; }

.tempo__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  color: var(--lumen); font-variant-numeric: tabular-nums;
  opacity: 0;
}
.tempo__hud b { font-weight: 400; color: var(--paper); }
.tempo__meter { display: flex; flex-direction: column; gap: 6px; min-width: 260px; }
.tempo__bar { display: block; height: 2px; background: rgba(158, 197, 255, 0.18); }
.tempo__bar i { display: block; height: 100%; background: var(--klein); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--klein); }
.tempo__stat { display: flex; flex-direction: column; gap: 4px; text-align: right; }

/* a passagem: o azul de «O que fazemos» fecha-se num círculo que vira o balanço */
.tempo__iris { position: absolute; inset: 0; z-index: 5; background: var(--klein); pointer-events: none; will-change: clip-path, opacity; }

@media (max-width: 820px) {
  .tempo__scrim { background: linear-gradient(0deg, rgba(1, 3, 12, 0.88) 0%, rgba(1, 3, 12, 0.42) 34%, transparent 56%); }
  .tl, .tl--top { top: auto; bottom: 108px; right: var(--gutter); max-width: none; transform: translateY(24px); }
  .tl.on, .tl--top.on { transform: none; }
  .tl--big { font-size: clamp(34px, 10vw, 44px); }
  .tl--mid { font-size: clamp(22px, 6.2vw, 28px); }
  .tl .mono { margin-bottom: 10px; }
  .tempo__tags { top: 78px; width: auto; right: var(--gutter); gap: 4px; }
  .tt { grid-template-columns: 58px minmax(0, 1fr); }
  .tt__t { font-size: 14px; }
  .tt--you { margin-bottom: 2px; }
  .tt--you .tt__t { font-size: 20px; }
  .tempo__leaders { display: none; }
  .tempo__meter { min-width: 150px; }
}

/* ═══════════════════════════════════════════════════════════
   VISÃO
   ═══════════════════════════════════════════════════════════ */
.vision { position: relative; height: 560vh; background: #020824; }
.vision__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.vision__head {
  position: absolute; top: clamp(76px, 12vh, 120px); left: var(--gutter); right: var(--gutter);
  z-index: 2;
}
.vision__head .mono { color: var(--lumen); margin-bottom: 14px; }
.vision__title { font-size: clamp(34px, 4.4vw, 76px); line-height: 0.98; letter-spacing: -0.045em; }
.vision__title i { font-size: 1.05em; }
.vision__panels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.venture {
  position: absolute; left: 50%; top: 56%;
  width: min(560px, calc(100% - 2 * var(--gutter)));
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
}
.venture__state { display: inline-flex; align-items: center; gap: 8px; color: var(--lumen); }
.venture h3 { margin-top: 14px; font-size: clamp(44px, 6.4vw, 110px); line-height: 0.95; letter-spacing: -0.05em; }
.venture h3 i { font-size: 1.05em; letter-spacing: -0.02em; }
.venture p { margin: 18px auto 0; max-width: 40ch; font-size: clamp(15px, 1.2vw, 18px); color: rgba(244, 247, 253, 0.8); }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--lumen); display: inline-block; }
.dot--on { background: #5cf2b0; border-color: #5cf2b0; box-shadow: 0 0 10px #5cf2b0; }
.dot--dev { background: var(--lumen); box-shadow: 0 0 10px var(--lumen); }
.vision__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; z-index: 2; color: var(--lumen);
  font-variant-numeric: tabular-nums;
}
.vision__hud b { font-weight: 400; color: var(--paper); }

/* ═══════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════ */
.contact {
  position: relative; min-height: 100vh; min-height: 100svh;
  overflow: hidden; background: var(--deep);
}
.contact__inner {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(90px, 14vh, 140px) var(--gutter) 0;
}
.contact__title {
  text-align: center;
  font-size: clamp(30px, 3.5vw, 58px);
  line-height: 1.02; letter-spacing: -0.035em;
}
.contact__actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(40px, 9vh, 90px); }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 30px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 16px; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 40px -10px rgba(3, 11, 43, 0.6);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--klein);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(0.97); }
.btn__label { transition: color 0.3s; }
.totop {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--abyss); color: var(--paper);
  transition: background 0.4s var(--ease-out);
}
.totop svg { width: 18px; height: 18px; }
.totop:hover, .totop:focus-visible { background: var(--klein); }
.totop:active { transform: scale(0.94); }

.contact__giant {
  margin-top: auto;
  width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: clamp(64px, 14.2vw, 260px);
  line-height: 0.74; letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--paper);
  user-select: none;
  overflow: hidden;
  padding-top: 0.08em;
}
.contact__giant > * { display: inline-block; flex-shrink: 0; }
.contact__giant i { font-size: 1.05em; letter-spacing: -0.02em; }
.contact__giant .sp { width: 0.28em; }
.footer {
  width: calc(100% + 2 * var(--gutter));
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px var(--gutter) 18px;
  background: var(--abyss);
  color: var(--paper);
}
.footer a { position: relative; }
.footer a:hover, .footer a:focus-visible { color: var(--lumen); }

@media (max-width: 820px) {
  .footer { justify-content: flex-start; column-gap: 22px; }
  .footer > span { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero { height: 100vh; }
  .hero__claim { display: none; }
  .hero__intro { opacity: 1; inset: auto 0 12vh 0; }
  .hero__in { display: none; }
  .orbit__sticky { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; gap: 12vh; padding: 18vh var(--gutter) 14vh; }
  .orbit__gl { height: 100vh; opacity: 0.35; }
  .orbit__ch--moment, .orbit__ch--sectors { height: 0; margin: 0; }
  .manifesto__text, .manifesto__coords, .dial { position: relative; inset: auto; left: auto; top: auto; bottom: auto; transform: none; width: auto; opacity: 1; visibility: visible; }
  .manifesto__nowwrap, .dial__list { display: none; }
  .manifesto__p .word { opacity: 1; }
  .dial__panels { min-height: 0; display: grid; gap: 48px; }
  .dial__panel { position: relative; opacity: 1; transform: none; }
  .vision { height: auto; }
  .vision__sticky { position: relative; height: auto; padding: 30vh 0 12vh; }
  .vision__panels { position: relative; display: grid; gap: 80px; }
  .venture { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin: 0 auto; }
  .placa { height: auto; }
  .placa__sticky { position: relative; height: auto; min-height: 100vh; padding: 16vh var(--gutter) 12vh; }
  .placa .gl { opacity: 0.45; }
  .placa__panels { position: relative; inset: auto; display: grid; gap: 56px; }
  .pl { position: relative; left: auto; top: auto; bottom: auto; right: auto; transform: none; opacity: 1; max-width: 32ch; }
  .placa__hud, .placa__tip, .placa__klein, .placa__scrim { display: none; }
  .tempo { height: auto; }
  .tempo__sticky { position: relative; height: auto; min-height: 100vh; padding: 18vh var(--gutter) 14vh; }
  .tempo .gl { opacity: 0.55; }
  .tempo__lines { position: relative; inset: auto; display: grid; gap: 56px; }
  .tl, .tl--top { position: relative; left: auto; top: auto; bottom: auto; right: auto; transform: none; opacity: 1; max-width: 24ch; }
  .tempo__iris, .tempo__tags, .tempo__leaders, .tempo__hud, .tempo__scrim { display: none; }
  .twenty { height: auto; }
  .twenty__sticky { position: relative; height: auto; overflow: visible; padding-top: 14vh; padding-bottom: 14vh; align-items: start; }
  .twenty__dial { position: sticky; top: 12vh; }
  .twenty__label { display: none; }
  .twenty__states, .twenty__steps { display: grid; gap: 56px; min-height: 0; }
  .tw-state { position: relative; opacity: 1; visibility: visible; transform: none; }
}
