/* ==========================================================================
   Lanzi Labs — estilos
   Fonte de verdade visual: specs/design.md
   ========================================================================== */

/* ---------- Fontes (IBM Plex, auto-hospedadas) ---------- */
@font-face { font-family: "IBM Plex Sans"; src: url("../assets/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../assets/fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../assets/fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens (design.md §3–§7) ---------- */
:root {
  /* Tema escuro — padrão */
  --bg: #0A0A0A;
  --bg-raised: #111111;
  --bg-card: #171717;
  --line: #262626;
  --line-strong: #3A3A3A;
  --text: #F2F2F2;
  --text-muted: #A3A3A3;
  --text-faint: #7A7A7A;

  /* Status — única exceção de cor (design.md §3.2) */
  --status-live: #22C55E;
  --status-progress: #EAB308;
  --status-next: #EF4444;

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-display: clamp(3rem, 7vw + 1rem, 8.5rem);
  --fs-h2: clamp(2rem, 3vw + 1rem, 4rem);
  --fs-h3: clamp(1.25rem, 0.8vw + 1rem, 1.75rem);
  --fs-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-9: 96px; --space-10: 128px; --space-11: 192px;

  --margin: 20px;
  --gutter: 16px;
  --section-pad: 80px;
  --head-gap: 32px;
  --content-max: 1280px;
  --header-h: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-ui: 200ms;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-raised: #F2F2F2;
  --bg-card: #FFFFFF;
  --line: #E3E3E3;
  --line-strong: #C7C7C7;
  --text: #0A0A0A;
  --text-muted: #5C5C5C;
  --text-faint: #707070;
  --status-live: #16A34A;
  --status-progress: #A16207;
  --status-next: #DC2626;
  color-scheme: light;
}

@media (min-width: 640px) {
  :root { --margin: 32px; --gutter: 20px; --section-pad: 112px; --head-gap: 48px; }
}
@media (min-width: 1024px) {
  :root { --margin: 40px; --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1200px) {
  :root { --margin: 48px; --section-pad: 160px; --head-gap: 64px; }
}

/* ---------- Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

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

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

.skip-link {
  position: absolute;
  left: var(--margin);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--text);
  color: var(--bg);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-3); }

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

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
}
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--line);
}

/* Rótulo de seção: acima do título no celular/tablet, coluna lateral no desktop */
.section__head { row-gap: var(--space-4); margin-bottom: var(--head-gap); }
.section__label { grid-column: 1 / -1; }
.section__title { grid-column: 1 / -1; }
.section__body  { grid-column: 1 / -1; }

@media (min-width: 1024px) {
  .section__label { grid-column: 1 / span 3; padding-top: 0.6em; }
  .section__title { grid-column: 4 / span 8; }
  .section__body  { grid-column: 4 / span 9; }
}

/* ---------- Tipografia ---------- */
.display {
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
/* Título em duas camadas: complemento em tom apagado */
.h2 .muted { color: var(--text-muted); }

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 62ch;
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.label .num { color: var(--text); }

/* ---------- Botões (design.md §3.3, §8) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-ui),
              border-color var(--dur-ui) var(--ease-ui),
              opacity var(--dur-ui) var(--ease-ui);
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { opacity: 0.88; }
.btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--text); }

.btn .arrow { transition: transform var(--dur-ui) var(--ease-ui); }
.btn:hover .arrow,
.link-arrow:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.arrow { display: inline-block; }

/* ---------- Chip de status (design.md §3.2, §8) ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
a.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip__glyph { color: var(--text); }
.is-live { color: var(--status-live); }
.is-progress { color: var(--status-progress); }
.is-next { color: var(--status-next); }
.chip__glyph.is-live { color: var(--status-live); }
.chip__glyph.is-progress { color: var(--status-progress); }
.chip__glyph.is-next { color: var(--status-next); }

/* ---------- Cabeçalho / navegação ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; }

.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--space-3);
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-ui);
}
.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--text); }
.nav__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lang {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
}
.lang a,
.lang span[aria-current] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
  text-decoration: none;
}
.lang a { color: var(--text-faint); transition: color var(--dur-ui) var(--ease-ui); }
.lang a:hover { color: var(--text); }
.lang span[aria-current] { color: var(--text); }
.lang__sep { color: var(--line-strong); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; }

/* Ícone do tema: mostra o tema para o qual o botão leva */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-tools .lang,
.header-tools .theme-toggle { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-tools .lang,
  .header-tools .theme-toggle { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Menu de tela cheia (celular/tablet) */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: var(--space-7);
  background: var(--bg);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu__link .nav__num { font-size: var(--fs-label); }
.mobile-menu__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.mobile-menu__tools .theme-toggle { width: auto; padding: 0 var(--space-3); gap: var(--space-2); border-color: var(--line); }
.mobile-menu__tools .theme-toggle .label { color: var(--text-muted); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

body.menu-open { overflow: hidden; }

/* ---------- Conteúdo principal ---------- */
main { padding-top: var(--header-h); }

/* ---------- Revelação de entrada (design.md §13) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   01 — Hero (design.md §16)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--space-9) var(--space-10);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg); /* necessário para o mix-blend-mode da Minerva */
}

/* Arte: Minerva */
.hero__art {
  position: relative;
  z-index: -1;
  width: min(100%, 420px);
  margin: var(--space-7) auto 0;
  pointer-events: none;
  /* O blend fica no elemento que forma o contexto de empilhamento, para misturar com o fundo do .hero */
  mix-blend-mode: screen;
}
.hero__art img {
  width: 100%;
  height: auto;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
:root[data-theme="light"] .hero__art { mix-blend-mode: multiply; }
:root[data-theme="light"] .hero__art img { filter: invert(1); }

.hero__inner { position: relative; width: 100%; }
.hero__content { position: relative; max-width: 760px; }

.hero__chip { margin-bottom: var(--space-6); }

/* Título letra a letra */
.hero__title { font-size: var(--fs-display); line-height: 0.95; letter-spacing: -0.035em; }
.hero__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: ch-in 900ms var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 45ms + 120ms);
}
@keyframes ch-in { to { opacity: 1; transform: none; } }

/* Palavra que troca */
.rotator {
  margin-top: var(--space-5);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-muted);
}
.rotator__slot {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
  color: var(--text);
}
.rotator__word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 700ms var(--ease-out), opacity 700ms var(--ease-out);
}
.rotator__word.is-current { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-100%); }

.hero__lead { margin-top: var(--space-5); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-5);
}
.hero__foot .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.motion-toggle { background: var(--bg); cursor: pointer; }

@media (min-width: 1024px) {
  .hero__inner { position: static; }
  .hero__art {
    position: absolute;
    right: max(-4vw, calc((100vw - 1500px) / 2));
    bottom: 0;
    width: auto;
    height: min(100%, 900px);
    aspect-ratio: 1;
    margin: 0;
  }
  .hero__art img { height: 100%; width: auto; }
  .hero__content { max-width: 58%; }
}

/* ==========================================================================
   02/03 — História
   ========================================================================== */
.chapters {
  position: relative;
  padding-left: var(--space-6);
}
.chapters__list {
  display: grid;
  gap: var(--space-8);
  list-style: none;
  padding: 0;
}
.chapters::before,
.chapters__progress {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
}
.chapters::before { background: var(--line); }
.chapters__progress {
  background: var(--text);
  transform-origin: top;
}
.js .chapters__progress { transform: scaleY(var(--p, 0)); }

.chapter { position: relative; display: grid; gap: var(--space-3); }
.chapter::before {
  content: "";
  position: absolute;
  left: calc(var(--space-6) * -1 - 4px);
  top: 4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: var(--bg);
}
.chapter__text { font-size: var(--fs-lead); line-height: 1.55; max-width: 58ch; }

@media (min-width: 1024px) {
  .chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--gutter); }
  .chapter .label { padding-top: 0.45em; }
}

.statement {
  margin-top: var(--space-9);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.statement .muted { display: block; color: var(--text-muted); }

/* ==========================================================================
   04 — Ecossistema / órbita (design.md §9.1)
   ========================================================================== */
.eco__intro { margin-bottom: var(--space-8); }
.eco__intro .prose p { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); }
.eco__intro .prose p strong { color: var(--text); font-weight: 500; }

.eco {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .eco { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); }
}

.orbit__stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit__ring {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.orbit__ring--inner { inset: 30%; border-style: dashed; border-color: var(--line); }

.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
}
.orbit__core img { width: 34px; height: 34px; }
.orbit__pulse {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: orbit-ping 3.2s var(--ease-out) infinite;
}
.orbit__pulse + .orbit__pulse { animation-delay: 1.6s; }
.orbit.is-paused .orbit__pulse { animation-play-state: paused; }
@keyframes orbit-ping {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

.orbit__list { list-style: none; margin: 0; padding: 0; }
.orbit__item {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 300ms var(--ease-ui);
}
.orbit__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background-color 300ms var(--ease-ui), color 300ms var(--ease-ui),
              border-color 300ms var(--ease-ui), transform 300ms var(--ease-ui);
}
.orbit__btn:hover { border-color: var(--text); }
.orbit__btn[aria-expanded="true"] {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: scale(1.15);
}
/* Logos das empresas em preto e branco via filtro (funciona também em file://).
   brightness(0) deixa o logo preto; invert(1) o deixa branco. */
.orbit__logo,
.companies__logo {
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
:root[data-theme="light"] .orbit__logo,
:root[data-theme="light"] .companies__logo { filter: brightness(0); }

.orbit__logo { width: 70%; height: 50%; }

/* Indicador de status no nó (verde: no ar · vermelho: próximo) */
.orbit__status {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: currentColor;
}
.orbit__logo--z { width: 42%; height: 42%; }
.orbit__glyph { font-family: var(--font-mono); font-size: 1.25rem; line-height: 1; }
.orbit__name {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}
.orbit__btn[aria-expanded="true"] .orbit__name { color: var(--text); }
.orbit__btn[aria-expanded="true"] .orbit__logo { filter: brightness(0); }
:root[data-theme="light"] .orbit__btn[aria-expanded="true"] .orbit__logo { filter: brightness(0) invert(1); }
.orbit__btn[aria-expanded="true"] .orbit__glyph { color: var(--bg); }

.orbit-panel {
  position: relative;
  min-height: 300px;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
.orbit-panel:focus-visible { outline-offset: 4px; }
.orbit-card[hidden] { display: none; }
.orbit-card { display: grid; gap: var(--space-4); }
.orbit-card:focus { outline: none; }
.orbit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.orbit-card__top .icon-btn { margin: -10px -10px -10px 0; }
.orbit-card__desc { color: var(--text-muted); }
.orbit-card__meta {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}


/* ==========================================================================
   05 — Futuro
   ========================================================================== */
.manifesto {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.manifesto + .manifesto { margin-top: var(--space-7); }
.js .manifesto[data-words] .w { color: var(--text-faint); transition: color 300ms var(--ease-ui); }
.js .manifesto[data-words] .w.is-on { color: var(--text); }

.coda {
  margin-top: var(--space-10);
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 500;
}

/* ==========================================================================
   06 — Contato / encerramento
   ========================================================================== */
.contact {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); }
  .contact__aside { padding-left: var(--space-8); border-left: 1px solid var(--line); }
}

.form { display: grid; gap: var(--space-6); max-width: 560px; }
.field { display: grid; gap: var(--space-2); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--space-2) 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.125rem;
  transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); opacity: 1; }
.field input:hover,
.field textarea:hover { border-bottom-color: var(--text-muted); }
.field input:focus,
.field textarea:focus { outline: none; }
.field input:focus-visible,
.field textarea:focus-visible {
  border-bottom-color: var(--text);
  box-shadow: 0 1px 0 0 var(--text);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom-style: dashed; border-bottom-color: var(--text); }
.field__error { font-size: var(--fs-small); color: var(--text); }
.field__error:empty { display: none; }
.field__error::before { content: "× "; font-family: var(--font-mono); }

.form__privacy { font-size: var(--fs-small); color: var(--text-muted); max-width: 52ch; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form__status { font-size: var(--fs-small); color: var(--text); }
.form__status:empty { display: none; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.founder { display: grid; gap: var(--space-3); }
.founder__name { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
.founder__roles { color: var(--text-muted); }
.founder__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }

.companies {
  display: grid;
  gap: 0;
  margin-top: var(--space-7);
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.companies li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.companies__logo { height: 22px; width: 80px; object-position: left center; }
.companies__logo--z { width: 24px; }
.companies__meta { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--text-muted); text-align: right; }

/* ---------- Rodapé ---------- */
.site-footer {
  padding-block: var(--space-8) var(--space-7);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-bottom: var(--space-7);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  padding: 0;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--dur-ui) var(--ease-ui);
}
.site-footer__links a:hover { color: var(--text); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .ch { animation: none; opacity: 1; transform: none; }
  .orbit__pulse { animation: none; opacity: 0; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
