/* GIT Consultoria — identidade visual compartilhada (index.html, privacidade.html) */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --dark: #000000;
  --dark-2: #1d1d1f;
  --dark-ink: #f5f5f7;
  --ok: #1f8a4c;
  --ok-soft: #e7f6ec;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --wide: 1024px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgb(0 113 227 / 0.6); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.sr-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Menu translúcido ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgb(251 251 253 / 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
}
header.site .container {
  max-width: var(--wide); margin: 0 auto; padding: 0 22px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.logo img { width: 22px; height: 22px; }
.logo:hover { text-decoration: none; }
header.site nav ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; }
header.site nav a { color: var(--ink); opacity: 0.8; font-size: 0.78rem; letter-spacing: -0.01em; }
header.site nav a:hover, header.site nav a[aria-current="page"] { opacity: 1; text-decoration: none; }
header.site nav a[aria-current="page"] { font-weight: 600; }
.menu-btn { display: none; background: none; border: 0; padding: 0.4rem; margin-right: -0.4rem; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s ease; }
.menu-btn span + span { margin-top: 6px; }
header.site.open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
header.site.open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Elementos comuns ---------- */
.pill {
  display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 980px;
  padding: 0.75rem 1.4rem; font: inherit; font-size: 1.05rem; cursor: pointer; letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.pill:hover { background: var(--blue-hover); color: #fff; text-decoration: none; transform: scale(1.02); }
.pill-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.pill-outline:hover { background: var(--blue); color: #fff; }
.chev { font-size: 1.05rem; color: var(--link); }
.chev::after { content: ' \203A'; }
.ctas { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.kicker { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin: 0 0 0.5rem; }
h2.title { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.07; font-weight: 700; letter-spacing: -0.005em; margin: 0 0 1.4rem; }
.grad {
  background: linear-gradient(90deg, #0071e3 0%, #42a1ec 50%, #0071e3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
section.block { padding: 6rem 0; }
section.alt { background: var(--bg-alt); }
section.flush-top { padding-top: 0; }
.code { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Rodapé ---------- */
footer.site { background: var(--bg-alt); color: var(--muted); font-size: 0.75rem; line-height: 1.5; letter-spacing: -0.005em; }
footer.site .container { max-width: var(--wide); margin: 0 auto; padding: 1.4rem 22px 1.8rem; }
footer.site .top { padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); margin-bottom: 0.9rem; }
footer.site small { display: block; font-size: inherit; }
footer.site .legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer.site .legal a { color: var(--ink-2); }
footer.site .links a + a { margin-left: 0.9rem; padding-left: 0.9rem; border-left: 1px solid var(--line); }

/* =========================================================
   Página inicial
   ========================================================= */
.hero { text-align: center; padding: 6.5rem 0 3.5rem; }
.eyebrow { font-size: 1.3rem; font-weight: 600; color: var(--muted); margin: 0 0 0.6rem; letter-spacing: 0.004em; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 auto 1.4rem; max-width: 15ch;
}
.hero p.lead { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.38; color: var(--ink-2); max-width: 34ch; margin: 0 auto 2.2rem; }
.hero .ctas { justify-content: center; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 4rem auto 0; max-width: 860px; }
.fact { background: var(--bg-alt); border-radius: 22px; padding: 1.6rem 1.4rem; text-align: left; }
.fact b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.3rem; }
.fact span { font-size: 0.92rem; color: var(--muted); }

.statement { font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.45; font-weight: 500; color: var(--muted); max-width: 52ch; margin: 0 0 3.5rem; }
.statement strong { color: var(--ink); font-weight: 600; }
.specs { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.spec h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.spec p, .spec ul { margin: 0; color: var(--ink-2); font-size: 1rem; }
.spec ul { padding-left: 1.1rem; }
.spec li { margin-bottom: 0.25rem; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  background: var(--bg); border-radius: 28px; padding: 2.4rem 2.2rem 2.6rem; min-height: 270px;
  display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}
.tile:hover { transform: scale(1.012); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.18); }
.tile .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto; }
.tile .icon svg { width: 26px; height: 26px; }
.tile h3 { font-size: 1.7rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 2.4rem 0 0.55rem; }
.tile p { margin: 0; color: var(--ink-2); font-size: 1.02rem; max-width: 36ch; }
.i-blue { background: #e8f2fe; color: #0071e3; } .i-purple { background: #f1ebfd; color: #8944ab; }
.i-green { background: #e7f6ec; color: #1f8a4c; } .i-orange { background: #fff1e5; color: #c75a00; }

.dark { background: var(--dark); color: var(--dark-ink); text-align: center; }
.dark .kicker { color: #86868b; }
.dark h2.title { color: #f5f5f7; max-width: 18ch; margin-left: auto; margin-right: auto; }
.dark p { color: #a1a1a6; font-size: 1.2rem; max-width: 40ch; margin: 0 auto 2rem; line-height: 1.4; }
.dark .chev { color: var(--link-dark); }

.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.contact address { font-style: normal; }
.contact dl { margin: 0; }
.contact dt { font-size: 0.85rem; color: var(--muted); margin-top: 1.4rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 0.2rem 0 0; font-size: 1.12rem; font-weight: 500; line-height: 1.4; }
.form-contato { background: var(--bg); border-radius: 28px; padding: 2.2rem; }
.form-contato form { display: grid; gap: 0.9rem; }
.form-contato label { font-size: 0.85rem; color: var(--muted); }
.form-contato input, .form-contato textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--bg-alt);
  border: 1px solid transparent; border-radius: 12px; padding: 0.85rem 1rem; margin-top: 0.3rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-contato input:focus, .form-contato textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 113 227 / 0.15); }
.form-contato textarea { min-height: 130px; resize: vertical; }
.form-contato [aria-invalid="true"] { border-color: #d70015; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 0.2rem 0 0; }
.form-error { font-size: 0.85rem; color: #d70015; margin: 0; min-height: 1.2em; }

/* =========================================================
   Política de privacidade
   ========================================================= */
.hero-split { text-align: left; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; padding: 5rem 0 3.5rem; }
.hero-split h1 { margin: 0 0 1.3rem; max-width: 17ch; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero-split p.lead { margin: 0 0 2rem; max-width: 36ch; font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
.hero-split .ctas { justify-content: flex-start; gap: 0.8rem; }
.updated { margin: 1.4rem 0 0; font-size: 0.82rem; color: var(--muted); }

.phone {
  justify-self: center; width: min(100%, 340px); margin: 0;
  background: #1d1d1f; border-radius: 44px; padding: 11px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(0 0 0 / 0.06);
}
.screen { background: #efeae2; border-radius: 34px; overflow: hidden; }
.chat-top { background: #f6f6f6; color: var(--ink); padding: 0.9rem 1rem 0.75rem; display: flex; align-items: center; gap: 0.65rem; border-bottom: 1px solid #e3e3e3; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.chat-top strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.chat-top span { font-size: 0.72rem; color: var(--muted); }
.chat { padding: 1rem 0.8rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 330px; }
.msg {
  max-width: 86%; padding: 0.55rem 0.7rem 0.4rem; border-radius: 14px; font-size: 0.84rem; line-height: 1.42; letter-spacing: -0.01em;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.07); opacity: 0; transform: translateY(8px); animation: msg-in 0.45s ease forwards;
}
.msg time { display: block; text-align: right; font-size: 0.64rem; color: var(--muted); margin-top: 0.15rem; }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.quick-replies { display: grid; gap: 0.3rem; margin-top: 0.5rem; }
.quick-replies span { display: block; text-align: center; border-radius: 9px; padding: 0.4rem; font-weight: 500; color: var(--link); font-size: 0.82rem; background: #f6f6f6; }
.quick-replies .chosen { background: var(--blue); color: #fff; }
.system {
  align-self: center; background: var(--ok-soft); color: var(--ok); font-size: 0.76rem; font-weight: 600;
  padding: 0.35rem 0.75rem; border-radius: 980px; display: inline-flex; align-items: center; gap: 0.35rem;
  opacity: 0; animation: msg-in 0.45s ease forwards;
}
.d1 { animation-delay: 0.3s; } .d2 { animation-delay: 1.3s; } .d3 { animation-delay: 2.2s; } .d4 { animation-delay: 3s; }
@keyframes msg-in { to { opacity: 1; transform: none; } }
.chat-caption { text-align: center; font-size: 0.8rem; color: #a1a1a6; margin: 0.8rem 0 0.2rem; }

.ledger dl { margin: 0; background: var(--bg-alt); border-radius: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger dl > div { padding: 1.3rem 1.4rem; border-right: 1px solid var(--line); }
.ledger dl > div:last-child { border-right: 0; }
.ledger dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.3rem; }
.ledger dd { margin: 0; font-size: 0.92rem; line-height: 1.45; font-weight: 500; }

.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3.5rem; align-items: start; padding: 4.5rem 0 5rem; }
.toc { position: sticky; top: 76px; font-size: 0.86rem; }
.toc p { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin: 0 0 0.7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: flex; gap: 0.6rem; padding: 0.28rem 0; color: var(--muted); }
.toc li a span { font-variant-numeric: tabular-nums; min-width: 1.3rem; color: #a1a1a6; }
.toc li a:hover { color: var(--ink); text-decoration: none; }
.toc li a.active { color: var(--ink); font-weight: 600; }
.toc li a.active span { color: var(--blue); }

.clause { padding: 0 0 2.6rem; margin: 0 0 2.6rem; border-bottom: 1px solid var(--line); }
.clause:last-child { border-bottom: 0; margin-bottom: 0; }
.clause-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.clause h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.15; margin: 0; }
.clause h2 .n { font-size: 1rem; font-weight: 600; color: var(--blue); margin-right: 0.55rem; vertical-align: 0.2em; font-variant-numeric: tabular-nums; }
.law { font-size: 0.74rem; color: var(--muted); background: var(--bg-alt); border-radius: 980px; padding: 0.25rem 0.75rem; white-space: nowrap; font-weight: 500; }
.clause p { margin: 0 0 0.9rem; max-width: 46rem; color: var(--ink-2); }
.clause ul { margin: 0 0 0.9rem; padding-left: 1.2rem; max-width: 46rem; color: var(--ink-2); }
.clause li { margin-bottom: 0.4rem; }
.clause strong { color: var(--ink); }
.clause .after { margin-top: 1.1rem; }

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin: 0.3rem 0 1.1rem; max-width: 46rem; }
.card { background: var(--bg-alt); border-radius: 18px; padding: 1.2rem 1.3rem; }
.card > strong { display: block; font-size: 1.02rem; margin-bottom: 0.25rem; }
.card p { margin: 0; font-size: 0.93rem; }
.card kbd { font-family: var(--mono); font-size: 0.8rem; background: #fff; border-radius: 6px; padding: 0.05rem 0.4rem; color: var(--ink); }

.table-wrap { overflow-x: auto; margin: 0.3rem 0 1rem; border-radius: 18px; background: var(--bg-alt); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap thead th { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.table-wrap td { color: var(--ink-2); }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); width: 36%; }

.assurance { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--ok-soft); color: #145c33; border-radius: 18px; padding: 1.1rem 1.3rem; margin: 0.3rem 0 1.2rem; max-width: 46rem; }
.assurance svg { flex: none; margin-top: 0.2rem; }
.assurance p { margin: 0; color: inherit; }

.request {
  background: var(--dark-2); color: #d2d2d7; border-radius: 28px; padding: 2.2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; margin-top: 0.4rem;
}
.request h3 { color: #f5f5f7; font-size: 1.35rem; font-weight: 700; margin: 0 0 1.1rem; letter-spacing: -0.01em; }
.request a { color: var(--link-dark); }
.request .steps { list-style: none; margin: 0; padding: 0; counter-reset: s; color: #d2d2d7; max-width: none; }
.request .steps li { counter-increment: s; position: relative; padding-left: 2.4rem; margin-bottom: 1rem; font-size: 0.95rem; }
.request .steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0.05rem; width: 1.65rem; height: 1.65rem; border-radius: 50%;
  background: #2c2c2e; color: #f5f5f7; font-size: 0.8rem; font-weight: 600; display: grid; place-items: center;
}
.request .steps strong { color: #f5f5f7; }
.mail { background: #000; border-radius: 16px; padding: 1.1rem 1.2rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: #d2d2d7; margin: 0 0 1.1rem; }
.mail b { color: var(--link-dark); font-weight: 600; }
.copy { font: inherit; font-size: 0.82rem; background: none; border: 0; padding: 0; color: var(--link-dark); cursor: pointer; margin-bottom: 0.6rem; }
.copy:hover { text-decoration: underline; }
.request .ctas { gap: 0.7rem; }
.request .pill-outline { color: #f5f5f7; box-shadow: inset 0 0 0 1.5px #6e6e73; }
.request .pill-outline:hover { background: #f5f5f7; color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin: 0; }
.contact-grid > div { background: var(--bg-alt); border-radius: 18px; padding: 1.1rem 1.2rem; font-size: 0.93rem; }
.contact-grid dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.25rem; }
.contact-grid dd { margin: 0; font-weight: 500; }

/* Desenvolvimento (GitHub) */
.tile-link { margin-top: 1rem; font-size: 1rem; }
.dev { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.25rem; align-items: start; }
.dev-profile { background: var(--bg-alt); border-radius: 28px; padding: 2.2rem; position: sticky; top: 76px; }
.gh-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 1.6rem; }
.gh-mark svg { width: 28px; height: 28px; }
.dev-profile h3 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 0.2rem; }
.dev-role { color: var(--muted); margin: 0 0 1.4rem; }
.dev-profile dl { margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.dev-profile dl > div { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.dev-profile dt { font-size: 0.78rem; color: var(--muted); }
.dev-profile dd { margin: 0.1rem 0 0; font-size: 0.98rem; font-weight: 500; }
.repos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.repo { background: var(--bg-alt); border-radius: 22px; padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.repo:hover { transform: scale(1.012); }
.repo h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin: 1.1rem 0 0.4rem; }
.repo p { margin: 0 0 1.2rem; color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.repo .chev { font-size: 0.98rem; }
.lang { align-self: flex-start; font-size: 0.74rem; font-weight: 600; border-radius: 980px; padding: 0.2rem 0.65rem; display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: var(--ink-2); }
.lang::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lang-php { color: #4f5d95; } .lang-blade { color: #e44b23; } .lang-js { color: #a08a00; }
@media (max-width: 960px) {
  .dev { grid-template-columns: minmax(0, 1fr); }
  .dev-profile { position: static; }
}
@media (max-width: 640px) {
  .repos { grid-template-columns: minmax(0, 1fr); }
  .dev-profile { padding: 1.6rem; }
}

.dev-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 3rem; }
.dev-stats b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.dev-stats b { background: linear-gradient(180deg, #1d1d1f 0%, #6e6e73 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dev-stats span { display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); max-width: 18ch; }
.stack-title { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.015em; margin: 4rem 0 1.4rem; }
.stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.stack-group { background: var(--bg-alt); border-radius: 22px; padding: 1.4rem 1.4rem 1.5rem; }
.stack-group h4 { margin: 0 0 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.stack-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.stack-group li { background: #fff; border-radius: 980px; padding: 0.35rem 0.8rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
@media (max-width: 860px) { .dev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

.dev-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 56rem; }
.timeline > li:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: #d2d2d7; }
.timeline > li.t-found::before { background: linear-gradient(180deg, #d2d2d7 0%, var(--blue) 100%); }
.timeline > li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.4rem; padding-bottom: 2.4rem; }
.timeline > li:last-child { padding-bottom: 0; }
.badge { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.badge svg { width: 24px; height: 24px; }
.t-legacy .badge { background: #ececf0; color: #6e6e73; } .t-mid .badge { background: #fff1e5; color: #c75a00; } .t-found .badge { background: #f1ebfd; color: #8944ab; }
.t-now .badge { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgb(0 113 227 / 0.14); }
.tl-body { background: var(--bg-alt); border-radius: 22px; padding: 1.3rem 1.5rem 1.4rem; }
.t-now .tl-body { background: linear-gradient(135deg, #eaf3ff 0%, #f5f5f7 70%); }
.when { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.2rem; letter-spacing: 0; }
.t-now .when { color: var(--blue); }
.timeline h4 { margin: 0 0 0.4rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.tl-tags { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tl-tags li { background: #fff; border-radius: 980px; padding: 0.25rem 0.7rem; font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }
.g-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--blue); margin-right: 0.55rem; vertical-align: middle; }
.g-ic svg { width: 18px; height: 18px; }
.stack-group h4 { display: flex; align-items: center; color: var(--ink); font-size: 0.92rem; }
@media (max-width: 640px) {
  .timeline > li:not(:last-child)::before { left: 19px; top: 40px; }
  .timeline > li { grid-template-columns: 40px minmax(0, 1fr); gap: 0.9rem; }
  .badge { width: 40px; height: 40px; }
  .badge svg { width: 20px; height: 20px; }
  .tl-body { padding: 1.1rem 1.2rem; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 3.5rem; }
  .ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger dl > div:nth-child(2) { border-right: 0; }
  .ledger dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 3rem; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 1.5rem; }
  .request { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .facts, .tiles, .contact { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
}
@media (max-width: 640px) {
  .menu-btn { display: block; }
  header.site nav ul {
    position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgb(251 251 253 / 0.97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 0.6rem 2.2rem 1.6rem; border-bottom: 1px solid rgb(0 0 0 / 0.08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  header.site.open nav ul { visibility: visible; opacity: 1; transform: none; }
  header.site nav a { display: block; font-size: 1.6rem; font-weight: 600; opacity: 1; padding: 0.45rem 0; letter-spacing: -0.01em; }
  .hero { padding-top: 4rem; }
  section.block { padding: 4.5rem 0; }
  section.flush-top { padding-top: 0; }
  .tile { padding: 2rem 1.6rem; min-height: 0; }
  .form-contato { padding: 1.5rem; }
  footer.site .legal { flex-direction: column; }
  .ledger dl { grid-template-columns: minmax(0, 1fr); }
  .ledger dl > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .ledger dl > div:last-child { border-bottom: 0; }
  .toc ol { columns: 1; }
  .cards-2, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .clause-head { flex-direction: column; gap: 0.4rem; }
  .request { padding: 1.5rem; }
  .hero-split .ctas .pill { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg, .system { animation: none; opacity: 1; transform: none; }
  .tile, .pill, .menu-btn span { transition: none; }
}
@media print {
  header.site, .toc, .phone, .ctas, footer.site, .copy { display: none !important; }
  .hero-split, .doc { display: block; }
  .request { background: none; color: var(--ink); border: 1px solid var(--line); }
  .request h3, .request .steps strong { color: var(--ink); }
  .mail { background: none; color: var(--ink); }
}
