
      /* ============ N●DUS · tokens (contrato: raio 0, 1px, mono; noite verde) ============ */
      :root {
        --fg: #e6ece7;
        --bg: #0a0e0c;
        --fg-2: #9fb0a6;
        --fg-3: #45554c;
        --fg-4: #1c2621;
        --signal: #7cdf81;
        /* destaques: lima para títulos, teal para índices, musgo e ardósia para superfícies */
        --lima: #a2e09c;
        --teal: #6fb3a5;
        --musgo: #456b41;
        --ardosia: #364058;
        --on-lima: #07100a;
        --panel: rgba(10, 16, 13, 0.66);
        --mono: "JetBrains Mono", ui-monospace, monospace;
        --prose: "Space Grotesk", system-ui, sans-serif;
        --ease: cubic-bezier(0.2, 0, 0, 1);
        --gutter: clamp(16px, 4vw, 64px);
        --maxw: 1200px;
      }
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-radius: 0 !important;
      }
      html {
        background: #060807;
      }
      body {
        background: transparent;
        color: var(--fg);
        font-family: var(--mono);
        font-size: 13px;
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }
      /* fundo: noite verde, camada fixa atrás do conteúdo */
      body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background:
          radial-gradient(120% 70% at 88% 4%, rgba(96, 158, 147, 0.16), transparent 58%),
          radial-gradient(95% 65% at 6% 46%, rgba(69, 107, 65, 0.3), transparent 64%),
          radial-gradient(150% 85% at 62% 112%, rgba(26, 59, 42, 0.55), transparent 62%),
          linear-gradient(162deg, #121a16 0%, #0b100e 44%, #060807 100%);
      }
      ::selection {
        background: var(--lima);
        color: var(--on-lima);
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      .wrap {
        max-width: var(--maxw);
        margin-inline: auto;
        padding-inline: var(--gutter);
      }

      .eyebrow {
        font-size: 11px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--fg-2);
      }
      .eyebrow b {
        color: var(--teal);
        font-weight: 500;
      }
      .rule {
        border: 0;
        border-top: 1px dashed var(--fg-3);
      } /* o ponto corrido como régua */

      /* topbar */
      .nav {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px var(--gutter);
        background: rgba(7, 11, 9, 0.8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--fg-3);
        transition: padding 0.3s var(--ease);
      }
      .nav-logo svg {
        height: 34px;
        width: auto;
        display: block;
        color: var(--fg);
      }
      .nav-links {
        display: flex;
        align-items: center;
        gap: 24px;
        list-style: none;
      }
      .nav-links a {
        font-size: 11px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--fg-2);
        transition: color 0.1s var(--ease);
      }
      .nav-links a:not(.nav-cta):hover {
        color: var(--lima);
      }
      .nav-links .nav-cta,
      .nav-cta {
        font-size: 11px;
        letter-spacing: 0.14em;
        font-weight: 500;
        border: 1px solid var(--lima);
        padding: 8px 14px;
        color: var(--lima);
        transition:
          background 0.18s var(--ease),
          color 0.18s var(--ease),
          border-color 0.18s var(--ease);
      }
      /* hover: preenche em lima e o texto vira tinta escura (antes sumia no fundo) */
      .nav-links .nav-cta:hover,
      .nav-cta:hover {
        background: var(--lima);
        border-color: var(--lima);
        color: var(--on-lima);
      }
      /* ---------- navegação: gaveta no mobile, barra no desktop ----------
         Base = telefone. O desktop é reconstruído em (min-width: 761px). */
      .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        flex: none;
        border: 1px solid var(--fg);
        border-radius: 0;
        background: var(--panel);
        color: var(--fg);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition:
          border-color 0.3s,
          background 0.3s;
      }
      .nav-toggle-box {
        position: relative;
        display: block;
        width: 18px;
        height: 12px;
      }
      .nav-toggle-bar {
        position: absolute;
        left: 0;
        right: 0;
        height: 1.5px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.34s cubic-bezier(0.7, 0, 0.2, 1);
      }
      .nav-toggle-bar:nth-child(1) {
        top: 0;
      }
      .nav-toggle-bar:nth-child(2) {
        bottom: 0;
      }
      .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
        transform: translateY(5.25px) rotate(45deg);
      }
      .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
        transform: translateY(-5.25px) rotate(-45deg);
      }

      .nav-scrim {
        position: fixed;
        inset: 0;
        z-index: 45;
        background: rgba(12, 10, 18, 0.62);
        opacity: 0;
        transition: opacity 0.35s;
      }
      .nav-scrim.is-open {
        opacity: 1;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 46;
        width: min(86vw, 360px);
        padding: 5.5rem var(--gutter) 2rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        list-style: none;
        background: #0b110e;
        border-left: 1px solid var(--fg-3);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(101%);
        visibility: hidden;
        /* visibility vira 'visible' na hora ao abrir (senão o foco não entra na
           gaveta) e só volta a 'hidden' depois que a saída termina */
        transition:
          transform 0.42s cubic-bezier(0.7, 0, 0.2, 1),
          visibility 0s linear 0.42s;
      }
      .nav-links.is-open {
        transform: none;
        visibility: visible;
        transition:
          transform 0.42s cubic-bezier(0.7, 0, 0.2, 1),
          visibility 0s;
      }
      /* alvo de toque cheio: 52px de altura por item */
      .nav-links > li > a:not(.nav-cta) {
        display: flex;
        align-items: center;
        min-height: 52px;
        font-size: 12px;
        letter-spacing: 0.18em;
        border-bottom: 1px solid var(--fg-4);
        -webkit-tap-highlight-color: transparent;
      }
      .nav-cta-li {
        margin-top: auto;
        padding-top: 1.6rem;
      }
      .nav-cta-li .nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
      }

      @media (min-width: 761px) {
        .nav-toggle,
        .nav-scrim {
          display: none;
        }
        .nav-links {
          position: static;
          width: auto;
          padding: 0;
          flex-direction: row;
          align-items: center;
          gap: 24px;
          background: none;
          border-left: 0;
          overflow: visible;
          transform: none;
          visibility: visible;
        }
        .nav-links > li > a:not(.nav-cta) {
          display: inline;
          min-height: 0;
          font-size: 11px;
          letter-spacing: 0.18em;
          border-bottom: 0;
        }
        .nav-cta-li {
          margin-top: 0;
          padding-top: 0;
        }
        .nav-cta-li .nav-cta {
          display: inline-block;
          min-height: 0;
        }
      }

      /* hero */
      .hero {
        position: relative;
        isolation: isolate;
        min-height: 100svh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: clamp(24px, 5vw, 64px);
        padding-top: 72px;
      }
      /* fio contínuo: a linha da agulha atravessa o hero por trás da marca e do título */
      .hero-thread {
        position: absolute;
        top: 14%;
        left: calc(-1 * var(--gutter));
        width: calc(100% + 2 * var(--gutter));
        height: 72%;
        z-index: -1;
        pointer-events: none;
        overflow: visible;
      }
      .hero-thread path {
        fill: none;
        stroke: var(--teal);
        stroke-width: 1.5;
        stroke-dasharray: 7 6;
        vector-effect: non-scaling-stroke;
        opacity: 0.75;
        animation: fio 2.4s linear infinite;
      }
      @keyframes fio {
        to {
          stroke-dashoffset: -26;
        }
      }
      @media (max-width: 880px) {
        /* no mobile a marca fica acima do texto: o fio corre só na faixa da marca */
        .hero-thread {
          top: 22%;
          height: 30%;
          opacity: 0.6;
        }
      }
      .hero-mark {
        width: min(100%, 460px);
        justify-self: center;
      }
      .hero-mark svg {
        width: 100%;
        height: auto;
        display: block;
        color: var(--fg);
      }
      .hero-copy {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }
      .hero-h1 {
        font-family: var(--mono);
        font-weight: 700;
        font-size: clamp(28px, 4.6vw, 58px);
        line-height: 1.12;
        letter-spacing: -0.01em;
        max-width: 16ch;
      }
      .hero-h1 .hl,
      .work-title .hl,
      .mani .end .hl {
        color: var(--lima);
      }
      .hero-sub {
        font-family: var(--prose);
        font-size: clamp(15px, 1.6vw, 18px);
        font-weight: 400;
        color: var(--fg-2);
        max-width: 44ch;
        line-height: 1.7;
      }
      .hero-meta {
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--fg-2);
      }
      .hero-meta span {
        color: var(--fg-3);
      }
      @media (max-width: 880px) {
        .hero {
          grid-template-columns: 1fr;
          gap: 24px;
          padding-top: 96px;
          align-content: center;
        }
        .hero-mark {
          width: min(70vw, 320px);
          justify-self: start;
        }
      }

      /* seções */
      .section {
        padding-block: clamp(64px, 12vh, 128px);
      }
      .section-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: clamp(32px, 6vh, 64px);
      }
      .section-title {
        font-family: var(--mono);
        font-weight: 700;
        font-size: clamp(20px, 3vw, 28px);
        letter-spacing: -0.01em;
      }

      /* sistemas (§01–§06) — linhas que invertem no hover */
      .sys-list {
        list-style: none;
        border-top: 1px solid rgba(230, 236, 231, 0.3);
      }
      .sys {
        border-bottom: 1px solid rgba(230, 236, 231, 0.3);
        display: grid;
        grid-template-columns: 170px 1fr;
        gap: 24px;
        padding: 20px 12px;
        transition:
          background 0.1s var(--ease),
          color 0.1s var(--ease);
        cursor: default;
      }
      .sys:hover {
        background: var(--lima);
        color: var(--on-lima);
      }
      .sys:hover .sys-desc,
      .sys:hover .sys-id {
        color: rgba(7, 16, 10, 0.72);
      }
      .sys-id {
        color: var(--teal);
        transition: color 0.1s var(--ease);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.08em;
      }
      .sys-name {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .sys-desc {
        font-size: 13px;
        color: var(--fg-2);
        margin-top: 6px;
        max-width: 70ch;
        transition: color 0.1s var(--ease);
      }
      @media (max-width: 640px) {
        .sys {
          grid-template-columns: 1fr;
          gap: 6px;
        }
      }

      /* trabalhos (sistemas em produção) */
      .work-title {
        font-family: var(--mono);
        font-weight: 700;
        font-size: clamp(22px, 3.2vw, 32px);
        letter-spacing: -0.01em;
        line-height: 1.3;
        max-width: 24ch;
        margin-bottom: clamp(24px, 5vh, 48px);
      }
      .work-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
      }
      .work {
        border: 1px solid var(--fg-3);
        background: var(--panel);
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: background 0.1s var(--ease);
      }
      .work-node {
        font-size: 11px;
        letter-spacing: 0.18em;
        color: var(--teal);
      }
      .work-cat {
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--fg-2);
        margin-top: 16px;
      }
      .work h3 {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.01em;
      }
      .work-desc {
        font-size: 12.5px;
        color: var(--fg-2);
        line-height: 1.7;
      }
      .work-metric {
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px dashed var(--fg-3);
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 9px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.55;
      }
      .work-metric i {
        width: 8px;
        height: 8px;
        background: var(--signal);
        margin-top: 4px;
        font-style: normal;
      }
      @media (max-width: 960px) {
        .work-grid {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 640px) {
        .work-grid {
          grid-template-columns: 1fr;
        }
      }

      /* princípios */
      .pr-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: var(--fg-3);
        border: 1px solid var(--fg-3);
      }
      .pr {
        background: #0b110e;
        padding: clamp(20px, 3vw, 32px);
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .pr-k {
        font-size: 11px;
        letter-spacing: 0.2em;
        color: var(--teal);
      }
      .pr h3 {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1.4;
      }
      .pr p {
        font-family: var(--prose);
        font-size: 14px;
        color: var(--fg-2);
        line-height: 1.65;
      }
      .pr code {
        background: var(--fg-4);
        color: var(--lima);
        padding: 1px 6px;
        font-family: var(--mono);
        font-size: 12px;
      }
      @media (max-width: 720px) {
        .pr-grid {
          grid-template-columns: 1fr;
        }
      }

      /* manifesto */
      .mani {
        max-width: 640px;
      }
      .mani p {
        font-family: var(--prose);
        font-size: clamp(16px, 2vw, 20px);
        line-height: 1.75;
        color: var(--fg);
      }
      .mani p + p {
        margin-top: 20px;
      }
      .mani .dim {
        color: var(--fg-2);
      }
      .mani .end {
        font-family: var(--mono);
        font-weight: 700;
        font-size: clamp(18px, 2.4vw, 24px);
        line-height: 1.5;
      }

      /* CTA */
      .cta-big {
        font-family: var(--mono);
        font-weight: 700;
        font-size: clamp(1.45rem, 2.4vw, 2rem);
        letter-spacing: -0.02em;
        line-height: 1.2;
      }
      .cta-big .cursor {
        color: var(--lima);
        animation: blink 1.1s steps(1) infinite;
      }
      @keyframes blink {
        50% {
          opacity: 0;
        }
      }
      .cta-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        border: 1px solid var(--teal);
        color: var(--teal);
        padding: 7px 12px;
      }
      .cta-tag i {
        width: 8px;
        height: 8px;
        background: var(--signal);
        display: inline-block;
        font-style: normal;
      }
      .cta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
      }
      .btn {
        font-family: var(--mono);
        font-size: 12px;
        letter-spacing: 0.14em;
        font-weight: 500;
        text-transform: uppercase;
        padding: 14px 24px;
        border: 1px solid var(--fg);
        color: var(--fg);
        transition:
          background 0.1s var(--ease),
          color 0.1s var(--ease);
      }
      .btn:hover {
        background: var(--fg);
        border-color: var(--fg);
        color: var(--on-lima);
      }
      .btn--solid {
        background: var(--lima);
        border-color: var(--lima);
        color: var(--on-lima);
      }
      .btn--solid:hover {
        background: transparent;
        border-color: var(--lima);
        color: var(--lima);
      }
      .cta-note {
        margin-top: 20px;
        font-size: 11px;
        letter-spacing: 0.12em;
        color: var(--fg-2);
        text-transform: uppercase;
      }

      /* footer */
      footer {
        border-top: 1px solid rgba(230, 236, 231, 0.3);
        padding: clamp(40px, 8vh, 72px) 0 24px;
      }
      .foot-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 32px;
      }
      .foot-brand svg {
        height: 40px;
        width: auto;
        color: var(--fg);
      }
      .foot-brand p {
        margin-top: 14px;
        font-family: var(--prose);
        font-size: 13px;
        color: var(--fg-2);
        max-width: 30ch;
      }
      .foot-col h4 {
        font-size: 11px;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        color: var(--fg-2);
        font-weight: 500;
        margin-bottom: 14px;
      }
      .foot-col ul {
        list-style: none;
        display: grid;
        gap: 8px;
      }
      .foot-col a {
        font-size: 12px;
        color: var(--fg-2);
        transition: color 0.1s var(--ease);
      }
      .foot-col a:hover {
        color: var(--lima);
      }
      .foot-bottom {
        margin-top: clamp(32px, 6vh, 56px);
        padding-top: 16px;
        border-top: 1px dashed var(--fg-3);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        font-size: 11px;
        letter-spacing: 0.14em;
        color: var(--fg-2);
        text-transform: uppercase;
      }
      @media (max-width: 880px) {
        .foot-grid {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 520px) {
        .foot-grid {
          grid-template-columns: 1fr;
        }
      }

      /* crédito */
      .nodus-credit {
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--fg-2);
        transition: color 0.1s var(--ease);
      }
      .nodus-credit:hover {
        color: var(--fg);
      }

      a:focus-visible,
      button:focus-visible {
        outline: 2px solid var(--lima);
        outline-offset: 3px;
      }
      .btn:active,
      .nav-cta:active {
        transform: translateY(1px);
      }
      .hero-h1,
      .cta-big {
        text-wrap: balance;
      }

      .js [data-reveal] {
        visibility: hidden;
      }
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.001s !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.001s !important;
        }
        .js [data-reveal] {
          visibility: visible;
        }
      }
    

/* atalho de teclado: fora da tela ate receber foco */
.pular {
  position: fixed;
  left: 0.75rem;
  top: -4rem;
  z-index: 9999;
  padding: 0.7rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.18s ease;
}
.pular:focus {
  top: 0.75rem;
}
