/* Hugo Adriano, site estático. Sem JS, sem build, sem requisição externa. */
:root {
  --ink: #e6ebf5;
  --ink-2: #b4bfd3;
  --muted: #9aa6bb;
  --faint: #8a96ab;
  --line: #1f2a40;
  --line-2: #2a3752;
  --bg: #0b1120;
  --soft: #111a2e;
  --card: #111a2e;
  --accent: #6ee7b7;
  --accent-ink: #0b1120;
  --accent-soft: rgba(110, 231, 183, .1);
  --ok: #6ee7b7;
  --ok-soft: rgba(110, 231, 183, .1);
  --code-bg: #070b16;
  --code-ink: #d8dde6;
  --code-dim: #aab2c0;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 70rem;
  --measure: 44rem;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.65 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--bg); padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; z-index: 20; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--measure); }

/* Cabeçalho */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; font-size: 15.5px; white-space: nowrap; }
.brand .mark { width: 26px; height: 26px; border-radius: 7px; }
.brand span { color: var(--muted); font-weight: 450; }
nav.site { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 8px 11px; border-radius: 8px; }
nav.site a:hover { color: var(--ink); background: var(--soft); }
nav.site a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
nav.site a.btn { margin-left: 8px; padding: 8px 14px; font-size: 14px; min-height: 38px; color: var(--bg); background: var(--ink); }
nav.site a.btn:hover { color: var(--bg); background: var(--ink); opacity: .9; }
@media (max-width: 760px) {
  nav.site a:not(.btn) { display: none; }
  .brand span { display: none; }
}

/* Tipografia */
h1 { text-wrap: balance; font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -0.028em; margin: 0 0 22px; font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 680; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.012em; margin: 0 0 8px; font-weight: 640; }
p { margin: 0 0 15px; max-width: 66ch; text-wrap: pretty; }
.page p, .page ul:not(.list) { max-width: 40rem; }
.page li { color: var(--ink); }
.lead { font-size: clamp(17.5px, 2.1vw, 20px); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.small, .meta { font-size: 14px; color: var(--muted); }
.case .cols > p { margin: 0 0 12px; }
.eyebrow { display: inline-block; font: 600 13.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 7px; }
strong { font-weight: 640; color: var(--ink); }

section { padding: 88px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; }
.section-head { margin-bottom: 36px; max-width: 46rem; }
.section-head p { color: var(--muted); }

/* Botões */
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid var(--ink); transition: transform .12s ease, opacity .12s ease;
  min-height: 44px;
}
.btn:hover { opacity: .9; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--soft); opacity: 1; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Hero */
.hero { padding: 56px 0 56px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero-grid figure { margin: 0; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .hero-grid figure { margin-top: 0; } .hero { padding-top: 48px; } }
.hero-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  nav.site a.btn { padding: 8px 12px; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 48px; }
}
.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink-2); background: var(--card);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px 6px 11px; margin-bottom: 26px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

/* Faixa de provas */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-top: 40px; }
.proof div { padding: 20px 22px; border-left: 1px solid var(--line); }
.proof div:first-child { border-left: 0; }
.proof b { display: block; font-size: 22px; letter-spacing: -0.02em; font-weight: 680; color: var(--ink); line-height: 1.2; }
.proof span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
@media (max-width: 820px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Terminal */
.term { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #1d2129; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #1d2129; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f39; display: block; }
.term-bar span { margin-left: 8px; font: 12px var(--mono); color: var(--code-dim); }
.term pre { margin: 0; padding: 18px 20px 20px; font: 12.5px/1.75 var(--mono); overflow-x: auto; white-space: pre; }
.term .c { color: var(--code-dim); }
.term .p { color: #7ea2ff; }
.term .g { color: #5fd39a; }
.term .y { color: #f2c66d; }
.term-cap { font-size: 13px; color: var(--muted); margin: 12px 2px 0; }

/* Casos */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.case:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.case.feature { grid-column: 1 / -1; border-color: var(--line-2); }
.case .kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.case h3 { font-size: 20px; margin-bottom: 10px; }
.case p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.case dl { margin: 6px 0 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.case dt { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-top: 16px; }
.case dd { margin: 7px 0 0; color: var(--ink-2); font-size: 15.5px; }
.case .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.case .foot .stack { font: 12.5px/1.5 var(--mono); color: var(--muted); }
.case .foot .more { font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.case .foot .more:hover { text-decoration: underline; }
.case .foot .more.quiet { color: var(--muted); font-weight: 500; }
.case > p:last-of-type { margin-bottom: 18px; }
.case.feature .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
@media (max-width: 820px) { .case.feature .cols { grid-template-columns: 1fr; } }
.errors { list-style: none; padding: 0; margin: 8px 0 0; }
.errors li { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line-2); margin: 0; font-size: 15px; color: var(--ink-2); }
.errors li:first-child { border-top: 0; }
.errors code { font: 600 13px var(--mono); color: var(--accent); }

/* Chips */
.chip, .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12.5px/1 var(--mono); color: var(--muted);
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
}
.chip.accent, .tag.open { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.chip.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.tag { padding: 3px 9px; margin: 0 6px 0 0; vertical-align: 2px; }

/* Domínios e stack */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.box h3 { margin-bottom: 6px; font-size: 16.5px; }
.box p { margin: 0; font-size: 14.5px; color: var(--muted); }
.stackrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Ofertas */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 920px) { .offers { grid-template-columns: 1fr; } }
.offer { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.offer ul { flex: 1; }
.offer.main { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.offer .step { font: 600 12.5px/1 var(--mono); color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.offer.main .step { color: var(--accent); }
.offer h3 { font-size: 20px; margin: 12px 0 4px; }
.offer .price { margin: 4px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); min-height: 76px; }
.offer .price b { display: block; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; }
.offer .price span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.offer ul { list-style: none; padding: 0; margin: 4px 0 0; }
.offer li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); margin-bottom: 9px; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.offer .note { margin: 0; padding-top: 14px; font-size: 13.5px; color: var(--muted); min-height: 54px; }

/* Processo */
.dark { background: var(--code-bg); color: #eceef2; border-top: 0; }
.dark .eyebrow { color: #9db8ff; }
.dark .steps div::before { color: #9db8ff; }
.dark h2, .dark h3 { color: #eceef2; }
.dark .steps { border-color: #22262e; }
.dark .steps div { background: transparent; border-color: #22262e; }
.dark .steps p { color: #9aa3b2; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps div { padding: 22px; border-left: 1px solid var(--line); background: var(--card); }
.steps div:first-child { border-left: 0; }
@media (max-width: 820px) { .steps div { border-left: 0; border-top: 1px solid var(--line); } .steps div:first-child { border-top: 0; } }
.steps div::before { counter-increment: s; content: "0" counter(s); display: block; font: 600 12.5px var(--mono); color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 16px; margin-bottom: 4px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Listas de projetos */
.list { list-style: none; padding: 0; margin: 14px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.list li { border-top: 1px solid var(--line); padding: 16px 20px; margin: 0; }
.list li:first-child { border-top: 0; }
.list .name { font-weight: 620; }
.list .name a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.list .name a::after { content: " ↗"; font-size: .85em; }
.list .name a:hover { color: var(--accent); }
.list .desc { display: block; color: var(--muted); font-size: 15px; margin-top: 3px; }
.list .stk { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.page h2 { margin-top: 56px; font-size: clamp(22px, 2.8vw, 26px); }
.page h1 { font-size: clamp(32px, 5vw, 48px); max-width: 22ch; }
.page { padding: 72px 0 24px; }
.page ul:not(.list):not(.errors) li { color: var(--ink-2); }

/* Contato final */
.closing { text-align: left; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; }
@media (max-width: 820px) { .closing { grid-template-columns: 1fr; padding: 32px 26px; } }
.closing h2 { margin-bottom: 8px; }
.closing p { color: var(--muted); margin: 0; }
.closing .cta { margin: 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 88px; padding: 28px 0 52px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer.site p { font-size: 14px; color: var(--muted); margin: 0; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }

/* Celular: a saída do terminal quebra linha em vez de sumir na borda (fica no fim para vencer a regra base). */
@media (max-width: 560px) {
  .term pre { font-size: 11.5px; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .term-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .term-bar .long { display: none; }
}
.term-bar i { background: #3a404c; }
.term { border-color: #262b34; }
.offer .price b.soft { font-size: 20px; color: var(--ink-2); padding-top: 4px; }
.dark .section-head p { color: #aab2c0; }
.closing h2 { font-size: clamp(24px, 3vw, 30px); }
.closing .cta { gap: 12px; }

@media print {
  header.site, .cta, footer.site, 