/* MPAIVA_ · upaiva.dev · tema preto e branco
   Fontes Inter servidas localmente (assets/fonts), sem dependências externas de CSS. */

@font-face { font-family: "Display"; src: url("/assets/fonts/inter-display-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Thin"; src: url("/assets/fonts/inter-display-thin.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Text"; src: url("/assets/fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Label"; src: url("/assets/fonts/inter-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #000;
  --panel: #070707;
  --panel-2: #0c0c0c;
  --line: #1c1c1c;
  --line-2: #2a2a2a;
  --ink: #fff;
  --soft: #d4d4d4;
  --muted: #8c8c8c;
  --dim: #5c5c5c;
  --display: "Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --thin: "Thin", "Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label: "Label", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font: 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 1000px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 99px; font: 13px var(--label); }
.skip-link:focus { top: 16px; }

/* ---------- tipografia ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11.5px/1 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.label-dim { color: var(--dim); }
.h2 { font: 300 clamp(34px, 4.6vw, 64px)/1.04 var(--display); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.h3 { font: 300 clamp(28px, 3vw, 42px)/1.08 var(--display); letter-spacing: -.03em; color: var(--ink); }
.lead { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; color: var(--muted); max-width: 60ch; }

/* setas desenhadas em CSS */
.arrow { display: inline-block; position: relative; width: .6em; height: .6em; margin-left: .35em; flex: none; transition: transform .5s var(--ease); }
.arrow::before { content: ""; position: absolute; right: 0; top: 0; width: 72%; height: 72%; border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor; }
.arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 1.4px; height: 138%; background: currentColor; transform-origin: top right; transform: rotate(45deg); }
.arrow-up { transform: rotate(-45deg); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  height: 52px; padding: 0 26px; border-radius: 99px; border: 1px solid transparent;
  font: 500 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #d9d9d9; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn-lg { height: 60px; padding: 0 32px; }

.link { display: inline-flex; align-items: center; font: 500 12px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: #fff; padding-bottom: 6px; background: linear-gradient(#fff, #fff) no-repeat left bottom / 0 1px; transition: background-size .6s var(--ease); }
.link:hover { background-size: 100% 1px; }
.link:hover .arrow { transform: translate(3px, -3px); }

.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: pulse 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- cursor e progresso ---------- */
body::after { content: ""; position: fixed; inset: 0; z-index: 85; pointer-events: none; opacity: .05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 90; opacity: 0; mix-blend-mode: difference; transition: opacity .3s; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.7); transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease); }
.cursor.is-on, .cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; border-color: #fff; }
.cursor.is-hover { opacity: 0; }
.cursor-ring.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto !important; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 1px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .5s, border-color .5s, transform .6s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font: 300 26px/1 var(--display); letter-spacing: -.03em; color: #fff; display: inline-flex; align-items: flex-end; }
.wordmark-lg { font-size: 44px; }
.caret { display: inline-block; width: .5em; height: 2.5px; background: #fff; margin: 0 0 .14em .1em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font: 500 11.5px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 14px; }


.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.4px; background: #fff; transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: #000; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; }
.menu[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; }
.menu a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 300 clamp(34px, 9vw, 54px)/1.05 var(--display); letter-spacing: -.03em; color: #fff; }
.menu small { font: 500 11px var(--label); letter-spacing: .2em; color: var(--dim); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; padding: calc(var(--nav-h) + 28px) 0 28px; overflow: hidden; isolation: isolate; }
.hero-stage { position: absolute; z-index: -1; top: 50%; right: max(-8vw, -140px); width: min(64vw, 980px, 118svh); aspect-ratio: 1; transform: translateY(-46%); pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(18px, 3svh, 32px); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hero-copy { margin-top: auto; display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 26px); max-width: min(56vw, 820px); }
.hero-kicker { font: 500 12px/1.5 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }
.hero-display { font: 300 clamp(50px, min(7.4vw, 11.6svh), 132px)/.9 var(--display); letter-spacing: -.05em; color: #fff; }
.line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.line-dim > span { color: #474747; }
.is-ready .hero .line > span, .in .line > span, .line.in > span { transform: none; }
.hero .line:nth-child(2) > span { transition-delay: .08s; } .hero .line:nth-child(3) > span { transition-delay: .16s; } .hero .line:nth-child(4) > span { transition-delay: .24s; }
.has-gsap .line > span { transform: none; transition: none; }
.split-char { display: inline-block; will-change: transform; }
[data-shine] { background: linear-gradient(100deg, #474747 0 40%, #fff 50%, #474747 60% 100%) no-repeat; background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 7s var(--ease-io) 2.4s infinite; }
@keyframes shine { 0%, 45% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 46ch) auto; justify-content: space-between; align-items: end; gap: 28px 64px; }
.hero-foot .lead { font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.available { display: inline-flex; align-items: center; gap: 12px; color: var(--soft); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font: 500 11px var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.hero-fade > *, .hero-fade.hero-kicker { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero-fade > *, .is-ready .hero-fade.hero-kicker { opacity: 1; transform: none; }
.hero-foot.hero-fade > * { transition-delay: .6s; } .hero-foot.hero-fade > * + * { transition-delay: .7s; } .hero-bottom.hero-fade > * { transition-delay: .85s; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; white-space: nowrap; }
.marquee-track { display: flex; flex: none; animation: marquee 60s linear infinite; font: 300 clamp(34px, 4.4vw, 60px)/1.25 var(--display); letter-spacing: -.03em; color: #fff; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; color: #555; }
.marquee-track span { padding: 0 .55em; }
.marquee-track span.sep { color: #2a2a2a; padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.section > .wrap { position: relative; z-index: 2; }
.section-head { display: grid; grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head > div { display: flex; flex-direction: column; gap: 22px; }
.index { font: 100 64px/.8 var(--thin); color: #fff; letter-spacing: -.04em; align-self: start; }
.section-desc { color: var(--muted); line-height: 1.7; max-width: 52ch; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- listas índice (produção, github) ---------- */
.index-list { border-top: 1px solid var(--line); counter-reset: idx; }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr) 24px; gap: 24px; align-items: center; padding: 28px 0; transition: padding .6s var(--ease), color .4s; }
.index-list a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111, #0a0a0a 70%, transparent); left: calc(var(--gutter) * -1 + 8px); right: -8px; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.index-list .n { font: 500 11px var(--label); letter-spacing: .2em; color: var(--dim); }
.index-list .t { font: 300 clamp(24px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -.025em; color: #fff; transition: transform .6s var(--ease); }
.index-list .c { font-size: 14px; color: var(--muted); }
.index-list .d { font: 500 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.index-list .arrow { color: #fff; justify-self: end; }
.index-list a:hover .t { transform: translateX(14px); }
.index-list a:hover .arrow { transform: translate(3px, -3px); }
.index-list a:hover::before { transform: scaleY(1); }
.index-list li.index-empty { padding: 28px 0; color: var(--dim); }
.index-list { position: relative; z-index: 0; }

.preview { position: fixed; left: 0; top: 0; width: 360px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s var(--ease), transform .5s var(--ease); background: #111; border: 1px solid var(--line-2); }
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.preview.is-empty img { display: none; }
.preview.is-empty::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font: 500 11px/1.5 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: repeating-linear-gradient(135deg, #0b0b0b 0 10px, #0f0f0f 10px 20px); }
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); }
@media (hover: none) { .preview { display: none; } }

/* ---------- linhas de serviço ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .n { font: 100 44px/.9 var(--thin); color: #fff; }
.row { position: relative; isolation: isolate; }
.row::before { content: ""; position: absolute; z-index: -1; inset: -1px calc(var(--gutter) * -1); background: #fff; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.row .n, .row h3, .row-body p, .row .tags li { transition: color .5s var(--ease), border-color .5s var(--ease), transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .row:hover::before { transform: scaleY(1); }
  .row:hover .n, .row:hover h3 { color: #000; }
  .row:hover h3 { transform: translateX(18px); }
  .row:hover .row-body p { color: #333; }
  .row:hover .tags li { color: #111; border-color: rgba(0,0,0,.2); }
}
.row h3 { font: 300 clamp(26px, 2.6vw, 38px)/1.1 var(--display); letter-spacing: -.025em; color: #fff; }
.row-body { display: flex; flex-direction: column; gap: 20px; }
.row-body p { color: var(--muted); line-height: 1.7; }

/* ---------- processo ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: 56px; }
.step { position: relative; padding: 36px 28px 36px 0; display: flex; flex-direction: column; gap: 14px; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .bar { position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io); }
.steps.in .step .bar { transform: scaleX(1); }
.steps.in .step:nth-child(2) .bar { transition-delay: .15s; } .steps.in .step:nth-child(3) .bar { transition-delay: .3s; }
.steps.in .step:nth-child(4) .bar { transition-delay: .45s; } .steps.in .step:nth-child(5) .bar { transition-delay: .6s; }
.steps.is-scrubbed .step .bar { transition: none; }
.step .n { font: 500 11px var(--label); letter-spacing: .24em; color: var(--dim); }
.step h3 { font: 300 24px/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.step .out { margin-top: auto; font: 500 10.5px/1.5 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }

.composer { border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel-2); overflow: hidden; }
.composer-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.composer-body { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 24px; align-items: end; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field span { font: 500 10.5px var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.field select { appearance: none; height: 52px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 18px center; color: #fff; font-size: 15px; cursor: pointer; }
.field select:hover { border-color: #fff; }
.composer-result { display: flex; flex-direction: column; gap: 10px; }
.composer-result p { color: var(--soft); line-height: 1.55; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq + .faq { border-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 300 clamp(20px, 2vw, 26px)/1.3 var(--display); letter-spacing: -.015em; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(#fff, #fff) center / 100% 1.4px no-repeat, linear-gradient(#fff, #fff) center / 1.4px 100% no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 30px 0; color: var(--muted); line-height: 1.75; max-width: 72ch; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 80px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { color: var(--soft); font-size: 15px; }
.footer-brand .dim { color: var(--dim); font-size: 14px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1180px) and (min-width: 901px) { .footer-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; } .footer-inner > .footer-brand { grid-column: 1 / -1; } }
.footer-col h4 { font: 500 10.5px var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-col a { font-size: 15px; color: var(--muted); transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--line); font: 500 10.5px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* tecnologias do site: ficha técnica com ícones monocromáticos */
.stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr); gap: 24px 48px; align-items: start; padding-top: 32px; padding-bottom: 56px; }
.stack-title { margin: 0; padding-top: 16px; }
.stack-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.stack-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.stack-box { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)); color: var(--muted); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.stack-ic { width: 18px; height: 18px; fill: currentColor; }
.stack-ic .stack-ease { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.stack-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stack-txt b { font: 300 17px/1 var(--display); letter-spacing: -.01em; color: #fff; }
.stack-txt small { font: 500 9.5px/1.2 var(--label); letter-spacing: .14em; white-space: nowrap; text-transform: uppercase; color: var(--dim); transition: color .5s var(--ease); }
.stack-item:hover .stack-box { background: #fff; border-color: #fff; color: #000; transform: translateY(-2px); }
.stack-item:hover small { color: var(--muted); }
@media (max-width: 1200px) { .stack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fecho do rodapé: o mesmo logo do menu, maior, que se decodifica como um terminal */
.footer-top { padding-bottom: clamp(40px, 5vw, 64px); }
.footer-mark { margin: 0; font-size: clamp(48px, 6vw, 88px); text-transform: none; white-space: nowrap; cursor: default; }
.footer-mark .caret { height: max(2.5px, .045em); }
.footer-mark .fm-word.is-decoding { display: inline-block; overflow: hidden; vertical-align: bottom; }
.footer-meta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
/* assinatura da home: as partículas do fundo se juntam e escrevem mPaiva_; sem elas, o texto aparece em degradê */
.footer-giant { --shine: -60%; --glow: 0; position: relative; isolation: isolate; font: 400 clamp(56px, 12.5vw, 200px)/1.05 var(--display); letter-spacing: -.055em; padding: .08em var(--gutter) .14em; margin: 0 0 clamp(32px, 5vw, 64px); white-space: nowrap; text-align: center; perspective: 900px; overflow: hidden; }
.footer-giant > span, .footer-giant .ch { display: inline-block; color: transparent; background: linear-gradient(180deg, #fff 18%, #bdbdbd 58%, #5c5c5c 100%); -webkit-background-clip: text; background-clip: text; }
.footer-giant .ch { transform-origin: 50% 85%; will-change: transform, opacity, filter; }
.footer-giant .fg-caret { animation: blink 1.05s steps(1) infinite; }
.footer-giant::before { content: ""; position: absolute; inset: 0 max(10%, calc(50% - 480px)); z-index: -1; transform: scale(calc(.6 + var(--glow) * .4)); background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,0)); opacity: var(--glow); pointer-events: none; }
.footer-giant::after { content: attr(data-text); position: absolute; inset: 0; padding: inherit; color: transparent; background: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 58%) var(--shine) 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; pointer-events: none; }
.has-ambient .footer-giant { --glow: .55; }
.has-ambient .footer-giant > span { visibility: hidden; }
.has-ambient .footer-giant::after { display: none; }
@media (max-width: 600px) { .footer-giant { font-size: 21vw; } }
.to-top { display: inline-flex; align-items: center; color: var(--muted); }
.to-top:hover { color: #fff; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; border-radius: 99px; background: #fff; color: #000; font: 500 12px var(--label); letter-spacing: .14em; text-transform: uppercase; transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* estilos do analytics no tema */
.analytics-privacy-footer-wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter) 28px; }
.analytics-privacy-footer-link { background: none !important; border: 0 !important; color: var(--dim) !important; font: 500 10.5px var(--label) !important; letter-spacing: .2em !important; text-transform: uppercase; cursor: pointer; padding: 0 !important; }


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

/* ---------- trabalho: faixa horizontal fixada ---------- */
.work-section { padding-bottom: clamp(72px, 9vw, 120px); }
.work-section .section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.work-pin { overflow: hidden; }
.work-track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.work-card { width: min(64vw, 920px); flex: none; display: flex; flex-direction: column; gap: 28px; }
.work-visual { position: relative; display: block; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, #131313, #040404 70%); overflow: hidden; aspect-ratio: 16 / 9; }
.work-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform 1.4s var(--ease); }
.work-visual:hover img { transform: scale(1.05); }
.work-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.11), transparent 60%); transition: opacity .5s var(--ease); }
.work-visual:hover::after { opacity: 1; }
.work-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px 40px; align-items: start; }
.work-body .work-meta, .work-body .h3 { grid-column: 1; }
.work-body p, .work-body .link { grid-column: 2; }
.work-body p { grid-row: 1 / span 2; color: var(--muted); line-height: 1.7; font-size: 15.5px; }
.work-body .link { justify-self: start; }
.work-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font: 500 11px/1 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 10.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); }
.production { margin-top: clamp(80px, 10vw, 140px); }
.production-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.production-head h3 { font-size: 10.5px; }
.production .index-list .t { font-size: clamp(22px, 2.2vw, 30px); }
.production .index-list a { padding: 22px 0; }
.services-more { margin-top: 40px; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(120px, 16vw, 240px) 0; }
.manifesto .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.manifesto-text { font: 300 clamp(34px, 5.4vw, 88px)/1.04 var(--display); letter-spacing: -.04em; color: #fff; max-width: 18ch; text-wrap: balance; }
.manifesto-text .w { display: inline; opacity: .14; transition: opacity .2s linear; }
.principles-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.principle { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); }
.principle .n { font: 500 11px var(--label); letter-spacing: .24em; color: var(--dim); }
.principle h3 { font: 300 22px/1.2 var(--display); letter-spacing: -.02em; color: #fff; }
.principle p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.manifesto-note { max-width: 70ch; font-size: 14px; color: var(--dim); line-height: 1.7; border-left: 1px solid var(--line-2); padding-left: 20px; }

/* ---------- trajetória compacta ---------- */
.tl { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, .7fr); gap: 8px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.tl-row:hover { padding-left: 12px; }
.tl-row time { font: 500 11px/1.6 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.tl-row h3 { font: 300 clamp(22px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.tl-row .org { font: 500 11px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); justify-self: end; text-align: right; }
.tl-row.is-now time { color: #fff; display: inline-flex; gap: 12px; align-items: center; }
.tl-row.is-now time::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ring 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } to { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.tl-row:not(.is-now) h3 { color: var(--soft); }

/* ---------- faq em duas colunas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px 80px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; gap: 22px; }

/* ---------- contato ---------- */
.contact { padding-bottom: clamp(80px, 9vw, 130px); }
.contact .wrap { display: flex; flex-direction: column; gap: 40px; }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.contact-live { display: inline-flex; align-items: center; gap: 12px; }
.contact-live time { color: #fff; font-variant-numeric: tabular-nums; }
.contact-display { font: 300 clamp(52px, 10.4vw, 178px)/.9 var(--display); letter-spacing: -.05em; color: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.intents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.intent { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; background: var(--bg); font: 300 19px/1.25 var(--display); color: #fff; letter-spacing: -.01em; transition: background .45s var(--ease), color .45s var(--ease); }
.intent:hover { background: #fff; color: #000; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-links a { display: inline-flex; align-items: center; font: 500 12px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.contact-links a:hover { color: #fff; }


/* ---------- guias (home): vitrine da série "Entenda a IA" ---------- */
/* cards horizontais: o desenho em partículas à esquerda e o texto à direita; 3 colunas, 2 no tablet e 1 no celular */
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.guides-grid > li { display: flex; }
.guide-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto auto 1fr auto; width: 100%; padding-bottom: 22px; border: 1px solid var(--line-2); border-radius: 20px; background: #050505; overflow: hidden; color: inherit; transition: border-color .6s var(--ease), background .6s var(--ease), transform .6s var(--ease); }
.guide-card:hover, .guide-card:focus-visible { border-color: #5a5a5a; background: #090909; transform: translateY(-4px); }
.guide-card:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.guide-viz { position: relative; display: block; grid-column: 1; grid-row: 1 / -1; min-height: 214px; margin-bottom: -22px; border-right: 1px solid var(--line); background: radial-gradient(110% 90% at 50% 42%, #111 0%, #060606 62%, #050505 100%); }
.guide-viz canvas { position: absolute; inset: 0; display: block; }
.guide-card > :not(.guide-viz) { grid-column: 2; }
.guide-meta { display: flex; justify-content: space-between; gap: 10px; padding: 20px 20px 0; font: 500 10px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.guide-meta span:first-child { color: #fff; }
.guide-title { display: block; padding: 14px 20px 0; font: 300 clamp(20px, 1.5vw, 23px)/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.guide-desc { display: block; padding: 10px 20px 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.guide-go { display: inline-flex; align-items: center; align-self: end; justify-self: start; gap: 10px; margin: 18px 20px 0; font: 500 10.5px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.guide-go .arrow { transition: transform .5s var(--ease); }
.guide-card:hover .guide-go .arrow, .guide-card:focus-visible .guide-go .arrow { transform: translate(3px, -3px); }
@media (max-width: 1180px) and (min-width: 641px) {
  .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { grid-template-columns: 124px minmax(0, 1fr); padding-bottom: 18px; }
  .guide-viz { min-height: 150px; margin-bottom: -18px; }
  .guide-meta { padding: 16px 16px 0; }
  .guide-title { padding: 10px 16px 0; font-size: 20px; }
  .guide-desc { padding: 8px 16px 0; }
  .guide-go { margin: 14px 16px 0; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step + .step { padding: 32px 24px 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .composer-body { grid-template-columns: 1fr 1fr; }
  .composer-result { grid-column: 1 / -1; }
  .principles-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle { padding-bottom: 28px; }
  .intents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
    .hero { flex-direction: column; padding-top: var(--nav-h); }
  .hero-stage { position: relative; top: auto; right: auto; transform: none; width: calc(100% + 40px); max-width: 520px; margin: -8px auto -14%; align-self: center; }
  .hero-inner { flex: 1; }
  .hero-copy { max-width: none; margin-top: 0; }
  .hero-display { font-size: clamp(46px, 14vw, 96px); }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-bottom .scroll-cue { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .index { font-size: 44px; }
  .work-track { flex-direction: column; width: auto; gap: 64px; }
  .work-card { width: 100%; }
  .work-body { grid-template-columns: 1fr; }
  .work-body > * { grid-column: 1 !important; grid-row: auto !important; }
  .row { grid-template-columns: 60px minmax(0, 1fr); }
  .row-body { grid-column: 2; }
  .index-list a { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 6px 16px; padding: 22px 0; }
  .index-list .c { grid-column: 2; grid-row: 2; }
  .index-list .d { display: none; }
  .index-list .arrow { grid-column: 3; grid-row: 1; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .tl-row .org { justify-self: start; text-align: left; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stack { grid-template-columns: 1fr; padding-top: 8px; }
  .stack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-title { padding-top: 0; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-top .label-dim { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
      .steps, .principles-row, .intents { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(even) { padding: 28px 0; border-left: 0; }
  .principle, .principle + .principle { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .composer-body { grid-template-columns: 1fr; }
  .btn, .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .row-body { grid-column: auto; }
  .faq details p { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { gap: 14px 22px; }
  .stack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .stack-item { gap: 12px; }
  .stack-box { width: 38px; height: 38px; border-radius: 11px; }
  .stack-txt b { font-size: 16px; }
  .stack-txt small { font-size: 9px; letter-spacing: .12em; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .line > span, .hero-fade > *, .hero-fade.hero-kicker { opacity: 1 !important; transform: none !important; }
  .manifesto-text .w { opacity: 1 !important; }
}

/* ---------- agora: card do cargo atual, com a rede neural da página Head of AI ---------- */
@property --mx { syntax: "<length-percentage>"; inherits: true; initial-value: 78%; }
@property --my { syntax: "<length-percentage>"; inherits: true; initial-value: 18%; }
.now { position: relative; padding: clamp(72px, 9vw, 140px) 0; border-top: 1px solid var(--line); }
.now-card {
  --r: clamp(20px, 2.2vw, 32px);
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(36px, 4vw, 56px);
  min-height: clamp(600px, 50vw, 760px); padding: clamp(24px, 3.2vw, 48px);
  border-radius: var(--r);
  background: radial-gradient(80% 110% at 76% 34%, #111 0%, #080808 52%, #040404 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 50px 120px -60px rgba(255,255,255,.08);
  transition: --mx .5s var(--ease), --my .5s var(--ease);
}
/* contorno fino que acende perto do cursor */
.now-card::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.5), rgba(255,255,255,.12) 50%, rgba(255,255,255,.09)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.now-spot { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(560px circle at var(--mx) var(--my), rgba(255,255,255,.06), rgba(255,255,255,0) 60%); opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.now-card.is-lit .now-spot { opacity: 1; }
.now-visual { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 68%; pointer-events: none; }
.now-net { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.now-net.is-on { opacity: 1; }
.now-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.now-top .label { display: inline-flex; align-items: center; gap: 12px; }
.now-top .label:first-child { color: #fff; }
.now-body { align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2vw, 28px); max-width: min(600px, 48%); }
.now-title { margin: 0; font: 300 clamp(54px, 7.2vw, 120px)/.94 var(--display); letter-spacing: -.05em; color: #fff; }
.nt-line { display: block; overflow: hidden; padding: 0 .04em .08em 0; margin-bottom: -.08em; }
.nt-line > span { display: block; }
.nt-line em { font-style: normal; color: transparent; background: linear-gradient(180deg, #9a9a9a 10%, #4c4c4c 95%); -webkit-background-clip: text; background-clip: text; }
.now-lead { margin: 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--muted); max-width: 42ch; }
.now-cta { display: inline-flex; align-items: center; gap: 16px; height: 52px; padding: 0 6px 0 24px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); color: #fff; font: 500 11px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.now-cta::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: var(--r); }
.now-cta-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; transition: background .5s var(--ease), color .5s var(--ease); }
.now-cta-ic .arrow { width: 10px; height: 10px; margin: 0; }
.now-card:hover .now-cta, .now-cta:focus-visible { background: #fff; color: #000; border-color: #fff; }
.now-card:hover .now-cta-ic, .now-cta:focus-visible .now-cta-ic { background: #000; color: #fff; }
.now-card:hover .now-cta-ic .arrow { transform: translate(2px, -2px); }
.now-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.now-pillars { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.now-pillars li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 0 0; font: 300 clamp(15px, 1.15vw, 18px)/1.3 var(--display); color: #fff; }
.now-pillars li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.now-pillars li::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.2), #fff); transform: scaleX(var(--fill, 1)); transform-origin: left; }
.now-pillars span { font: 500 10.5px var(--label); letter-spacing: .22em; color: var(--dim); }

/* selo do hero e linha atual da trajetória */
.role-chip { position: relative; isolation: isolate; padding: 11px 16px 11px 14px; border-radius: 99px; color: #fff; font: 500 11px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; }
.role-chip b { font-weight: 500; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-2); }
.role-chip::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--spin, 0deg), rgba(255,255,255,.08) 0 62%, rgba(255,255,255,.95) 78%, rgba(255,255,255,.08) 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4.5s linear infinite; }
.role-chip::after { content: ""; position: absolute; inset: 1px; z-index: -2; border-radius: inherit; background: rgba(255,255,255,.03); transition: background .4s var(--ease); }
.role-chip:hover::after { background: rgba(255,255,255,.09); }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.tl-row.is-now { position: relative; }
.tl-link { display: inline-flex; align-items: baseline; gap: .12em; }
.tl-link::after { content: ""; position: absolute; inset: 0; }
.tl-link .arrow { width: .42em; height: .42em; color: #fff; }
.tl-row.is-now:hover .tl-link .arrow { transform: translate(3px, -3px); }
.tl-now { color: transparent; background: linear-gradient(100deg, #fff 0 40%, #6f6f6f 50%, #fff 60% 100%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 5s var(--ease-io) infinite; }
@keyframes sheen { 0%, 35% { background-position: 100% 0; } 75%, 100% { background-position: 0 0; } }

/* ---------- terminal (Ctrl K) ---------- */
.term-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: #fff; cursor: pointer; transition: border-color .3s, background .3s; }
.term-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.term-glyph { font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.term-btn kbd { font: 500 10px/1 var(--label); letter-spacing: .16em; color: var(--muted); }
.term { width: min(760px, calc(100vw - 32px)); max-height: min(560px, calc(100svh - 64px)); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(6,6,6,.92); color: var(--soft); box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; font: 400 13.5px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.term[open] { display: flex; flex-direction: column; animation: term-in .5s var(--ease); }
.term::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes term-in { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(6px); } }
.term-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line); font: 500 10.5px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.term-dots { display: inline-flex; gap: 7px; }
.term-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2); }
.term-dots i:first-child { background: #fff; border-color: #fff; }
.term-close { margin-left: auto; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: inherit; letter-spacing: .14em; cursor: pointer; }
.term-close:hover { color: #fff; border-color: #fff; }
.term-out { flex: 1; min-height: 220px; overflow-y: auto; padding: 18px 20px 6px; overscroll-behavior: contain; }
.term-out p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.term-out .cmd { color: #fff; }
.term-out .cmd::before { content: "~ $ "; color: var(--dim); }
.term-out .dim { color: var(--dim); }
.term-out .hi { color: #fff; }
.term-out a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.term-out a:hover { text-decoration-color: #fff; }
.term-out .gap { height: 10px; }
.term-line { display: flex; align-items: center; gap: 10px; padding: 8px 20px 12px; }
.term-ps { color: var(--dim); flex: none; }
.term-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; caret-color: #fff; }
.term-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.term-chips button { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: 500 10.5px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
.term-chips button:hover { color: #fff; border-color: #fff; }
html.has-cursor .term, html.has-cursor .term * { cursor: auto !important; }
html.has-cursor .term button, html.has-cursor .term a { cursor: pointer !important; }
html.term-open .cursor, html.term-open .cursor-ring { opacity: 0 !important; }

@media (max-width: 900px) {
  .now-card { min-height: 0; grid-template-rows: none; gap: 28px; padding: 22px 20px 26px; }
  .now-visual { position: relative; z-index: -1; top: auto; right: auto; bottom: auto; width: auto; height: clamp(260px, 62vw, 380px); margin: -12px -20px -8px; }
  .now-body { max-width: none; }
  .now-cta { padding-left: 20px; letter-spacing: .16em; }
  .now-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .now-pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .now-pillars li:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); }
  .term-btn kbd { display: none; }
  .term-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .term-input { font-size: 16px; }
}
@media (max-width: 600px) {
  .now-cta { height: 50px; gap: 12px; font-size: 10.5px; }
  .role-chip b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .role-chip::before, .tl-now { animation: none; }
  .now-net { transition: none; }
}
