/* Identidade do perfil @oryanpontes: grafite, papel, âmbar; azul só na NodeChat.
   Grid de 4px, escala 1.25. Raios: 12px em cards e imagens, 8px em botões e campos. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fontes/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fontes/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fontes/geist-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fontes/geist-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Padrão: grafite (a cor principal do perfil) */
  --bg:          oklch(19% 0.008 280);   /* grafite #15161B */
  --surface:     oklch(23% 0.009 280);
  --tinta:       oklch(26% 0.01 280);
  --ink:         oklch(95% 0.012 75);    /* papel #F4EEE6 */
  --muted:       oklch(72% 0.012 70);
  --line:        oklch(32% 0.01 280);
  --accent:      oklch(76% 0.15 72);     /* âmbar #E8A23B */
  --accent-ink:  oklch(78% 0.15 72);
  --blue:        oklch(66% 0.19 252);    /* azul NodeChat */
  --blue-ink:    oklch(72% 0.17 252);
  --dark-bg:     oklch(14% 0.008 280);
  --dark-ink:    oklch(95% 0.012 75);
  --dark-muted:  oklch(72% 0.012 70);
  --dark-line:   oklch(32% 0.01 280);
  --grafite:     oklch(19% 0.008 280);
  --r-md: 8px; --r-lg: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
:root[data-tema="claro"] {
  --bg: oklch(95% 0.012 75); --surface: oklch(98% 0.006 75); --tinta: oklch(91% 0.016 75); --ink: oklch(19% 0.008 280);
  --muted: oklch(45% 0.012 70); --line: oklch(86% 0.012 75);
  --accent-ink: oklch(48% 0.12 62); --blue-ink: oklch(48% 0.17 252);
  --dark-bg: oklch(19% 0.008 280);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
       font-size: 16px; line-height: 1.6; font-feature-settings: "tnum" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1160px; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: 31px; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; letter-spacing: -0.01em; }
.eyebrow { font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 12px; }
section .eyebrow { font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 8px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
section { padding: 64px 0; border-top: 1px solid var(--line); }
ul.clean { margin: 0 0 16px; padding: 0; list-style: none; }
ul.clean li { position: relative; padding-left: 20px; margin-bottom: 8px; }
ul.clean li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Topo fixo */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
header.top.rolou { border-bottom-color: var(--line); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
header.top .name { font-weight: 600; text-decoration: none; padding: 12px 0; white-space: nowrap; }
header.top nav { display: flex; align-items: center; gap: 4px 20px; font-size: 15px; }
header.top nav a { text-decoration: none; color: var(--muted); padding: 12px 0; }
header.top nav a:hover, header.top nav a[aria-current="page"] { color: var(--ink); }
.bt-tema { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: var(--r-md); }
.js .bt-tema { display: inline-flex; }
.bt-tema:hover { color: var(--ink); }
.bt-tema i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .4s var(--ease); }
:root[data-tema="claro"] .bt-tema i { transform: rotate(180deg); }
@media (max-width: 479px) { header.top nav a.some-p { display: none; } header.top nav { gap: 4px 12px; } }
@media (max-width: 419px) { header.top nav a.some-pp { display: none; } }

/* Abertura da home: nome grande, recorte da foto por cima */
.hero { padding: 16px 0 0; overflow: hidden; }
.hero-grade { display: grid; grid-template-columns: 1fr; position: relative; }
.hero .eyebrow { margin-bottom: 8px; }
.nome { position: relative; z-index: 1; margin-left: -0.04em; font-size: clamp(64px, 21.5vw, 132px); font-weight: 700; line-height: .86; letter-spacing: -0.045em; text-transform: uppercase; }
.nome span { display: block; }
.nome span + span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-painel { grid-row: 3; grid-column: 1; align-self: end; height: 78%; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--tinta); }
.hero-foto { grid-row: 3; grid-column: 1; position: relative; z-index: 2; margin: -28px 0 0; justify-self: center; width: min(78vw, 420px); }
.hero-foto img { width: 100%; }
.hero-txt { padding: 24px 0 40px; border-top: 1px solid var(--line); }
.hero .lead { margin: 0 0 24px; max-width: 30em; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.cta, .cta-2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; min-height: 48px; border-radius: var(--r-md);
       text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .2s var(--ease), border-color .2s ease; }
.cta { background: var(--accent); color: var(--grafite); }
.cta:hover { color: var(--grafite); transform: translateY(-2px); }
.cta-2 { border: 1px solid var(--line); color: var(--ink); }
.cta-2:hover { color: var(--ink); border-color: var(--muted); }
.cta:active, .cta-2:active { transform: translateY(0) scale(.98); }
.nav-cta { font-weight: 600; color: var(--ink) !important; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px !important; min-height: 44px; display: inline-flex; align-items: center; }
.nav-cta:hover, .nav-cta[aria-current="page"] { border-color: var(--accent); }

/* Números logo abaixo da abertura */
.numeros { border-top: 1px solid var(--line); }
.numeros dl { display: grid; grid-template-columns: 1fr; margin: 0 auto; }
.numeros dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numeros dl > div:last-child { border-bottom: 0; }
.numeros dd { margin: 0; font-size: 49px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.numeros dt { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 16em; }
.numeros dt span { display: block; margin-top: 6px; color: var(--ink); max-width: 18em; }

/* Frase da bio em duas linhas. Cada linha cabe inteira na tela; com animação, elas entram pelos lados conforme a rolagem */
.faixa { padding: 40px 0; border-top: 1px solid var(--line); overflow: clip; }
.faixa p { margin: 0 auto; font-size: clamp(24px, 6.4vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; text-transform: uppercase; }
.faixa span { display: block; white-space: nowrap; }
.faixa span + span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); text-align: right; }

/* Áreas de atuação */
.areas { list-style: none; margin: 24px 0 0; padding: 0; }
.areas li { display: grid; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.areas h3 { margin: 0; font-size: 25px; }
.area-corpo { display: grid; gap: 16px; }
.area-corpo p { margin: 0; color: var(--muted); max-width: 34em; }
.provas { display: grid; grid-template-columns: 1fr; gap: 8px; }
.prova { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s ease, transform .3s var(--ease); }
.prova:hover { color: var(--ink); border-color: var(--muted); transform: translateY(-3px); }
.prova .capa { display: none; zoom: .5; padding: 20px; }
.prova .capa-imagem { padding: 0; }
.prova > span { display: block; padding: 14px 16px; font-size: 15px; font-weight: 600; line-height: 1.3; }

/* Frase grande que acende com a leitura */
.manifesto { padding: 72px 0; }
.acende { margin: 0; max-width: 18em; font-size: clamp(28px, 4.6vw, 64px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }

/* Pedido de diagnóstico: tela cheia, uma pergunta por vez */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* O html já reserva 88px no topo para âncoras; aqui a tela do pedido encosta no topo fixo (64px) */
.palco { padding: 0; scroll-margin-top: -24px; }
.tf { position: relative; }
.tf-prog { position: sticky; top: 64px; z-index: 3; height: 4px; background: var(--line); display: none; }
.tf-prog i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.tf-telas { width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 20px; display: grid; gap: 56px; }
.tf-tela { border: 0; margin: 0; padding: 0; min-width: 0; }
.tf-titulo { margin: 0 0 12px; font-size: clamp(31px, 4.6vw, 49px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.tf-sub { margin: 0 0 28px; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 30em; }
.tf-pergunta { display: block; position: relative; padding: 0; margin: 0 0 20px; font-size: clamp(25px, 3.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; }
.tf-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin-right: 12px; padding: 0 6px; border-radius: 6px; background: var(--accent); color: var(--grafite);
          font-family: 'Geist Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0; vertical-align: 0.2em; }
.tf-apoio { margin: -8px 0 20px; font-size: 17px; color: var(--muted); }
.tf input[type="text"], .tf textarea { display: block; width: 100%; font: inherit; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--muted);
          border-radius: 0; padding: 8px 0 12px; min-height: 56px; transition: border-color .2s ease; }
.tf textarea { resize: none; min-height: 120px; }
.tf input[type="text"]::placeholder, .tf textarea::placeholder { color: var(--muted); opacity: .75; }
.tf input[type="text"]:focus, .tf textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.tf input[type="text"]:focus-visible, .tf textarea:focus-visible { outline: 0; box-shadow: 0 2px 0 0 var(--accent); border-radius: 0; }
.tf .erro { display: block; margin-top: 12px; font-size: 15px; color: var(--accent-ink); }
.tf .erro:empty { display: none; }
.tf-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.tf-acoes button { border: 0; cursor: pointer; font-family: inherit; }
.tf-dica { font-size: 14px; color: var(--muted); }
.opcoes { display: grid; gap: 8px; max-width: 560px; }
.opcao { position: relative; display: block; cursor: pointer; }
.opcao input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcao > span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
                font-size: 17px; font-weight: 500; line-height: 1.3; transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease); }
.opcao kbd { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--muted); }
.opcao:hover > span { border-color: var(--muted); }
.opcao input:checked + span { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); }
.opcao input:checked + span kbd { background: var(--accent); border-color: var(--accent); color: var(--grafite); }
.opcao input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.opcao:active > span { transform: scale(.99); }
.parecidos { margin-top: 32px; }
.parecidos p { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.parecidos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.parecidos a { display: inline-block; padding: 10px 0; }
.tf .feito { margin: 24px 0 0; padding: 16px; border: 1px solid var(--accent); border-radius: var(--r-md); font-size: 15px; }
.tf-nav { display: none; }
/* Com script: uma tela por vez, centralizada na altura da janela */
.tf-js .tf-prog { display: block; }
.tf-js .tf-telas { min-height: calc(100dvh - 68px); align-content: center; padding: 48px 20px 96px; gap: 0; }
.tf-js .tf-nav { display: flex; gap: 4px; position: sticky; bottom: 20px; justify-content: flex-end; padding: 0 20px; margin-top: -64px; pointer-events: none; }
.tf-nav button { pointer-events: auto; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: var(--accent); color: var(--grafite); font: inherit; font-size: 20px; cursor: pointer; transition: opacity .2s ease, transform .2s var(--ease); }
.tf-nav button:disabled { opacity: .35; cursor: default; }
.tf-nav button:not(:disabled):active { transform: scale(.94); }

/* Passos (diagnóstico) */
.passos { display: grid; gap: 32px; }
.passos .lead { margin-bottom: 24px; max-width: 26em; }
.passos ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.passos ol li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 4px 0; padding: 20px 0; border-top: 1px solid var(--line); }
.passos ol li::before { content: counter(p); grid-row: span 2; font-family: 'Geist Mono', monospace; font-size: 15px; color: var(--accent-ink); padding-top: 2px; }
.passos ol b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.passos ol span { color: var(--muted); }

/* Página do diagnóstico */
.diag-hero { padding: 32px 0 56px; }
.diag-hero h1 { font-size: 39px; font-weight: 700; max-width: 14em; }
.diag-hero .lead { margin: 20px 0 24px; max-width: 32em; }
.provas-intro { margin-bottom: 24px; }
.provas-intro a { color: var(--ink); white-space: nowrap; }

/* Vitrine */
.vitrine { padding: 48px 0 64px; }
.vitrine h2 { margin: 0 0 20px; }
.controles { display: grid; gap: 16px; margin-bottom: 20px; }
.campo label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.campo input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; min-height: 48px; }
.campo input::placeholder { color: var(--muted); opacity: 1; }
.campo input:hover { border-color: var(--muted); }
.grupo-filtro { display: grid; gap: 8px; align-content: start; }
.grupo-filtro > span { font-size: 14px; font-weight: 600; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtros button { font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--muted); background: transparent; border: 1px solid var(--line);
                  border-radius: var(--r-md); padding: 10px 12px; min-height: 44px; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.filtros button:hover { color: var(--ink); border-color: var(--muted); }
.filtros button:active { transform: scale(.98); }
.filtros button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filtros button .n { font-family: 'Geist Mono', monospace; font-size: 13px; margin-left: 6px; }
.contagem { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.contagem b { color: var(--ink); font-weight: 600; }
.vazio { margin: 24px 0 0; padding: 32px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); text-align: center; }
.vazio button { font: inherit; color: var(--ink); background: none; border: 0; padding: 12px 4px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }

.grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; grid-auto-flow: dense; }
.pj[hidden] { display: none; }
.pj a { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .3s var(--ease); }
.pj a:hover { color: var(--ink); border-color: var(--muted); transform: translateY(-3px); }
.pj a:active { transform: translateY(0); }
.pj-corpo { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.pj-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.pj-cat { font-weight: 600; }
.pj h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.2; }
.pj p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: auto 0 0; padding: 20px 0 0; font-family: 'Geist Mono', monospace; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Estado: forma e texto, nunca só cor */
.estado { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--accent); }
.estado.construcao::before { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.estado.prototipo::before, .estado.planejado::before { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
.estado.entregue::before { background: var(--muted); }
.estado.pausado::before { background: var(--muted); border-radius: 2px; }

/* Capas: tela real ou gráfico feito com o número do próprio projeto */
.capa { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; align-content: center; padding: 20px; background: var(--tinta); color: var(--ink);
        --cm: var(--muted); --cl: var(--line); --cd: var(--accent); --cn: var(--ink); }
.capa.fundo-grafite { background: var(--dark-bg); color: var(--dark-ink); --cm: var(--dark-muted); --cl: var(--dark-line); --cd: var(--accent); --cn: var(--accent); }
.capa.fundo-ambar { background: var(--accent); color: var(--grafite); --cm: oklch(30% 0.03 70); --cl: oklch(62% 0.12 72); --cd: var(--grafite); --cn: var(--grafite); }
.capa-imagem { padding: 0; }
.capa-imagem img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.pj a:hover .capa-imagem img { transform: scale(1.04); }
.capa-numero b { display: block; font-size: 39px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--cn); }
.capa-numero span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--cm); max-width: 22em; }
.cmp-t { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--cm); }
.cmp-l { display: grid; gap: 4px; margin-bottom: 12px; }
.cmp-l:last-child { margin-bottom: 0; }
.cmp-r { font-size: 13px; color: var(--cm); }
.cmp-r b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--cn); margin-left: 8px; }
.capa.fundo-grafite .cmp-r b { color: var(--dark-ink); }
.cmp-b { display: block; height: 12px; min-width: 6px; width: var(--w); border-radius: 4px; background: var(--cm); transform-origin: 0 50%; }
.cmp-l.b .cmp-b { background: var(--cd); }
.nos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nos li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.nos li span { padding: 8px 12px; border: 1px solid var(--cl); border-radius: var(--r-md); }
.nos li:not(:last-child)::after { content: "→"; color: var(--cm); font-weight: 400; }
.nos li:last-child span { border-color: var(--cd); box-shadow: inset 3px 0 0 var(--cd); }

/* Página de projeto */
.progresso { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progresso { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20; background: var(--accent); transform-origin: 0 50%; animation: prog linear both; animation-timeline: scroll(root); }
    @keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
.volta { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); text-decoration: none; padding: 12px 0; }
.volta:hover { color: var(--ink); }
.caso-hero { padding: 8px 0 48px; }
.caso-topo { display: grid; gap: 32px; }
.caso-hero h1 { font-size: 31px; font-weight: 700; }
.caso-hero .lead { margin: 20px 0 0; max-width: 34em; }
.caso-hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.caso-hero .eyebrow .estado { color: var(--muted); font-weight: 500; }
.caso-capa .capa { border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px; }
.caso-capa .capa-imagem { padding: 0; }
.caso-capa .capa-numero b { font-size: 61px; }
.caso-capa .capa-numero span { font-size: 16px; }
.caso-capa .cmp-r b { font-size: 25px; }
.caso-capa .cmp-b { height: 16px; }
.caso-capa .nos li { font-size: 16px; }
.amplia { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.luz { width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: oklch(14% 0.008 280); color: var(--dark-ink); overflow: hidden; }
.luz::backdrop { background: oklch(14% 0.008 280 / .8); }
.luz img { width: 100%; max-height: calc(100dvh - 96px); object-fit: contain; }
.luz form { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; font-size: 14px; color: var(--dark-muted); }
.luz button { font: inherit; font-weight: 600; color: var(--dark-ink); background: transparent; border: 1px solid var(--dark-line); border-radius: var(--r-md); padding: 10px 16px; min-height: 44px; cursor: pointer; }
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.ficha div { min-width: 0; }
.ficha dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.ficha dd { margin: 0; font-size: 15px; line-height: 1.5; }
.ficha .dupla { grid-column: 1 / -1; }
.indice { display: none; }

/* Números */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.stat .v { font-size: 31px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat .v small { font-size: 16px; font-weight: 600; }
.stat .l { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.stats.tres { grid-template-columns: 1fr; }
.stats.dois { grid-template-columns: 1fr 1fr; }

/* Fluxo */
ol.flow { counter-reset: s; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
ol.flow li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 16px 60px; }
ol.flow li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font-family: 'Geist Mono', monospace;
                     font-size: 13px; font-weight: 500; color: var(--accent-ink); }
ol.flow li b { display: block; font-weight: 600; margin-bottom: 4px; }
ol.flow li span { font-size: 15px; color: var(--muted); line-height: 1.5; }
ol.flow li span a { color: var(--ink); }
ol.flow li.key { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }

.split { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 16px; margin: 24px 0 0; }

/* Bloco de contraste dentro de uma página de projeto */
.dark { background: var(--dark-bg); color: var(--dark-ink); border-top: 0; }
.dark .muted { color: var(--dark-muted); }
.dark .lead { color: var(--dark-ink); }
.dark .eyebrow { color: var(--accent); }
.dark a:hover { color: var(--accent); }
.nodechat .eyebrow { color: var(--blue-ink); }
.caso-hero.nodechat .eyebrow .estado::before { background: var(--blue); }
.promise { border-left: 3px solid var(--blue); padding: 4px 0 4px 16px; font-size: 20px; line-height: 1.5; font-weight: 500; margin: 24px 0; }

/* Passagem entre projetos */
.passagem { padding: 0; }
.passagem .wrap { display: grid; grid-template-columns: 1fr; }
.passagem a { display: block; padding: 32px 0; text-decoration: none; }
.passagem a + a { border-top: 1px solid var(--line); }
.passagem small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.passagem b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.passagem kbd { display: none; }

/* Sobre */
.sobre { display: grid; gap: 32px; }
.sobre-foto { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--tinta); }
.sobre-foto img { width: 100%; height: 100%; object-fit: cover; }
.trilha { list-style: none; margin: 32px 0 0; padding: 0; display: grid; border-left: 2px solid var(--line); }
.trilha li { position: relative; padding: 0 0 20px 20px; }
.trilha li:last-child { padding-bottom: 0; }
.trilha li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--muted); }
.trilha li:last-child::before { background: var(--accent); box-shadow: none; }
.trilha time { display: block; font-size: 39px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.trilha span { font-size: 16px; line-height: 1.35; display: block; color: var(--muted); margin-top: 4px; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--line); font-size: 15px; }
footer .fecho { font-size: clamp(31px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; max-width: 13em; margin: 0 0 28px; }
footer .cta { margin-bottom: 24px; }
footer .links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer .links a { padding: 12px 0; }

@media (min-width: 640px) {
  .provas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prova .capa { display: grid; }
  .prova > span { padding: 10px 12px; font-size: 14px; }
  .grade { grid-template-columns: 1fr 1fr; }
  .controles { grid-template-columns: 1fr 1fr; }
  .campo { grid-column: 1 / -1; max-width: 480px; }
  .stats.tres { grid-template-columns: repeat(3, 1fr); }
  .passagem .wrap { grid-template-columns: 1fr 1fr; }
  .passagem a + a { border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
  .passagem a.so { grid-column: 2; border-left: 1px solid var(--line); padding-left: 24px; }
  .trilha { grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 2px solid var(--line); gap: 16px; }
  .trilha li { padding: 20px 0 0; }
  .trilha li::before { left: 0; top: -6px; }
}
@media (min-width: 760px) {
  body { font-size: 17px; }
  h2 { font-size: 39px; }
  .ficha { grid-template-columns: repeat(4, 1fr); }
  .ficha .dupla { grid-column: span 2; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats.tres { grid-template-columns: repeat(3, 1fr); }
  .stats.dois { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  section { padding: 88px 0; }
  .vitrine { padding: 56px 0 88px; }
  .caso-hero h1 { font-size: 39px; }
  .passagem { padding: 0; }
  .passagem kbd { display: inline-block; font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 400; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 8px; }
}
@media (min-width: 900px) {
  .hero { padding: 24px 0 0; }
  .hero-grade { grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto auto 1fr; column-gap: 32px; }
  .hero .eyebrow { grid-column: 1; grid-row: 1; align-self: end; padding-top: 24px; }
  .nome { grid-column: 1 / -1; grid-row: 2; font-size: clamp(132px, 16.4vw, 212px); white-space: nowrap; }
  .hero-painel { grid-column: 2; grid-row: 1 / 4; height: 66%; }
  .hero-foto { grid-column: 2; grid-row: 1 / 4; align-self: end; justify-self: end; margin: 0; width: 122%; }
  .hero-txt { grid-column: 1; grid-row: 3; align-self: end; padding: 32px 0 56px; border-top: 0; }
  .numeros dl { grid-template-columns: repeat(3, 1fr); }
  .numeros dl > div { padding: 32px 24px 32px 0; border-bottom: 0; }
  .numeros dl > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
  .numeros dd { font-size: 61px; }
  .areas li { grid-template-columns: 0.8fr 1.2fr; gap: 16px 48px; align-items: start; }
  .areas h3 { font-size: 31px; }
  .provas { gap: 12px; }
  .passos { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .faixa { padding: 72px 0; }
  .manifesto { padding: 120px 0; }
  .diag-hero { padding: 56px 0 88px; }
  .diag-hero h1 { font-size: 61px; }
  .caso-topo { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
  .caso-hero h1 { font-size: 49px; }
  .sobre { grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 56px; }
}
@media (min-width: 1000px) {
  .grade { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pj.destaque { grid-column: span 2; }
  .pj.destaque a { flex-direction: row; }
  .pj.destaque .capa { flex: 0 0 52%; aspect-ratio: auto; min-height: 280px; padding: 28px; }
  .pj.destaque .capa-imagem { padding: 0; }
  .pj.destaque .pj-corpo { padding: 28px; }
  .pj.destaque h3 { font-size: 31px; margin-top: 20px; }
  .pj.destaque p { font-size: 17px; margin-top: 4px; }
  .pj.destaque .capa-numero b { font-size: 61px; }
  .pj.destaque .cmp-r b { font-size: 25px; }
}
@media (min-width: 1280px) {
  .js .indice { display: block; position: fixed; top: 128px; left: max(20px, calc(50% - 600px)); width: 184px; z-index: 5; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  .js .indice.ativo { opacity: 1; visibility: visible; }
  .indice p { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
  .indice ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .indice a { display: block; padding: 8px 0 8px 12px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; }
  .indice a:hover { color: var(--ink); }
  .indice a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
}

/* Rolagem suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* Movimento: só para quem não pediu redução */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .35s; animation-timing-function: var(--ease); }
  .caso-capa .capa { view-transition-name: capa; }
  .js .rev { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .rev.vis { opacity: 1; transform: none; }
  .js .capa.anima .cmp-b { transform: scaleX(0); transition: transform .9s var(--ease) .2s; }
  .js .capa.anima.vis .cmp-b { transform: scaleX(1); }

  /* Antes de a animação de entrada assumir, o topo fica oculto para não piscar */
  .intro .hero .nome, .intro .hero-foto, .intro .hero-painel, .intro .hero-txt, .intro .hero .eyebrow,
  .intro .caso-hero h1, .intro .caso-hero .lead, .intro .caso-hero .volta, .intro .caso-hero .eyebrow, .intro .ficha,
  .intro .diag-hero > .wrap > * { visibility: hidden; }
  .linha-mask { padding-bottom: .14em; margin-bottom: -.14em; }
  .letra { will-change: transform; }

  /* Luz que acompanha o ponteiro nos cards */
  .mv .pj a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
                     background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklch, var(--accent) 16%, transparent), transparent 62%); }
  .mv .pj a:hover::after { opacity: 1; }

  /* Trilhos: a linha enche com a rolagem e cada passo acende */
  .mv ol.flow.trilho { position: relative; padding-left: 28px; }
  .mv ol.flow.trilho::before, .mv ol.flow.trilho::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
  .mv ol.flow.trilho::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .mv ol.flow.trilho li { opacity: .5; transform: translateX(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .mv ol.flow.trilho li.passou { opacity: 1; transform: none; }
  .mv .passos ol.trilho { position: relative; }
  .mv .passos ol.trilho li { opacity: .5; transition: opacity .5s var(--ease); }
  .mv .passos ol.trilho li.passou { opacity: 1; }
  .mv .passos ol.trilho li::after { content: ""; grid-column: 1 / -1; grid-row: 1; align-self: start; height: 2px; margin-top: -21px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease); }
  .mv .passos ol.trilho li.passou::after { transform: scaleX(1); }
  .mv .trilha.trilho { position: relative; }
  .mv .trilha.trilho::after { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .mv .trilha.trilho li { opacity: .5; transition: opacity .5s var(--ease); }
  .mv .trilha.trilho li.passou { opacity: 1; }
  .mv .trilha.trilho li.passou::before { background: var(--accent); box-shadow: none; }
  @media (min-width: 640px) {
    .mv .trilha.trilho::after { left: 0; right: 0; top: -2px; bottom: auto; width: auto; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  }

  .tf-js .tf-tela.sobe { animation: tf-sobe .55s var(--ease) both; }
  .tf-js .tf-tela.desce { animation: tf-desce .55s var(--ease) both; }
  @keyframes tf-sobe { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
  @keyframes tf-desce { from { opacity: 0; transform: translateY(-56px); } to { opacity: 1; transform: none; } }
  .palavra { will-change: opacity; }

  /* Trajetória em rolagem horizontal */
  .mv-pan #trajetoria { min-height: 100dvh; display: grid; align-content: center; padding: 88px 0 40px; overflow: clip; }
  .mv-pan .trilha { display: flex; width: max-content; gap: 0; margin-top: 40px; border: 0; position: relative; }
  .mv-pan .trilha::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
  .mv-pan .trilha::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  /* Cada ano ocupa metade da largura útil: no fim da rolagem os dois últimos ficam inteiros na tela */
  .mv-pan .trilha li { width: calc((min(100vw, 1160px) - 40px) / 2); padding: 40px 48px 0 0; opacity: .35; transition: opacity .5s var(--ease); }
  .mv-pan .trilha li.passou { opacity: 1; }
  .mv-pan .trilha li::before { left: 0; top: -4px; }
  .mv-pan .trilha li.passou::before { background: var(--accent); box-shadow: none; }
  .mv-pan .trilha time { font-size: clamp(96px, 13vw, 200px); line-height: .9; letter-spacing: -0.05em; }
  .mv-pan .trilha span { font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 16px; max-width: 16em; line-height: 1.25; }

  /* Áreas presas: a rolagem troca a área em destaque */
  .mv-areas #areas { padding: 0; }
  .mv-areas #areas > .wrap { min-height: 100dvh; display: grid; align-content: center; padding-top: 88px; padding-bottom: 40px; }
  .mv-areas .areas { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 64px; align-items: center; margin-top: 8px; }
  .mv-areas .areas li { display: contents; }
  .mv-areas .areas h3 { grid-column: 1; margin: 0; padding: 8px 0; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.05; white-space: nowrap; cursor: pointer; color: transparent; -webkit-text-stroke: 1px var(--muted);
                        transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease), transform .6s var(--ease); }
  .mv-areas .areas li:nth-child(1) h3 { grid-row: 1; } .mv-areas .areas li:nth-child(2) h3 { grid-row: 2; }
  .mv-areas .areas li:nth-child(3) h3 { grid-row: 3; } .mv-areas .areas li:nth-child(4) h3 { grid-row: 4; }
  .mv-areas .areas li:nth-child(5) h3 { grid-row: 5; } .mv-areas .areas li:nth-child(6) h3 { grid-row: 6; }
  .mv-areas .areas li:nth-child(7) h3 { grid-row: 7; } .mv-areas .areas li:nth-child(8) h3 { grid-row: 8; }
  .mv-areas .areas li.ativo h3 { color: var(--ink); -webkit-text-stroke-color: transparent; transform: translateX(16px); }
  .mv-areas .area-corpo { grid-column: 2; grid-row: 1 / span var(--n, 4); opacity: 0; pointer-events: none; transform: translateY(48px); transition: opacity .4s var(--ease), transform .7s var(--ease); }
  .mv-areas .areas li.ativo .area-corpo { opacity: 1; pointer-events: auto; transform: none; }
  .mv-areas .area-corpo p { font-size: 20px; line-height: 1.5; color: var(--ink); }
  .mv-areas .prova { opacity: 0; transform: translateY(32px); transition: opacity .5s var(--ease), transform .8s var(--ease), border-color .2s ease; }
  .mv-areas .areas li.ativo .prova { opacity: 1; transform: none; }
  .mv-areas .areas li.ativo .prova:nth-child(2) { transition-delay: .08s; }
  .mv-areas .areas li.ativo .prova:nth-child(3) { transition-delay: .16s; }
  .mv-areas .areas li.ativo .prova:hover { transform: translateY(-4px); transition-delay: 0s; }
  .areas-prog { height: 3px; margin-top: 32px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta, .cta-2, .pj a, .prova, .capa-imagem img, .filtros button, .bt-tema i { transition: none; }
  .pj a:hover, .prova:hover, .cta:hover, .pj a:hover .capa-imagem img { transform: none; }
}
