/* Páginas de conteúdo do site (Azure DevOps, Jira...). Mesmas cores e componentes da landing. */
:root {
  --bg: #0b0b14;
  --bg-2: #11111d;
  --panel: #151524;
  --line: #262640;
  --text: #ececf6;
  --muted: #a3a3bd;
  --dim: #7c7c99;
  --orange: #fb923c;
  --green: #34d399;
  --grad: linear-gradient(120deg, #6366f1, #8b5cf6 55%, #a855f7);
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(980px, 100% - 32px); margin-inline: auto; }
.glow {
  position: fixed; inset: -20% -10% auto; height: 70vh; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(99, 102, 241, 0.22), transparent 70%),
    radial-gradient(35% 45% at 80% 10%, rgba(168, 85, 247, 0.18), transparent 70%);
}
header, main, footer { position: relative; z-index: 1; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.1rem; }
.brand img { width: 32px; height: 32px; }
.brand span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 0.98rem; text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.7); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; border-radius: 10px; }

.crumbs { color: var(--dim); font-size: 0.88rem; padding-top: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.intro { padding: 24px 0 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font-size: 0.85rem;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15); }
h1 { margin: 18px 0 0; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 850; }
h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 18px 0 0; max-width: 680px; font-size: 1.12rem; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.alt { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.alt a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

section { padding: 56px 0; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.eyebrow { color: #a5b4fc; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
h2 { margin: 10px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.2; }
.sub { color: var(--muted); max-width: 680px; margin: 12px 0 0; font-size: 1.04rem; }
.flow { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; }
.flow li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); background: var(--bg-2); border-radius: 14px; padding: 16px; }
.flow li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font-weight: 800;
}
.flow strong { display: block; margin-top: 2px; }
.flow span { color: var(--muted); }
.grid { display: grid; gap: 14px; margin-top: 28px; }
.feat { border: 1px solid var(--line); background: var(--bg-2); border-radius: 16px; padding: 20px; }
.feat h3 { margin: 0 0 6px; font-size: 1.02rem; }
.feat p { margin: 0; color: var(--muted); font-size: 0.96rem; }
code { font-family: var(--mono); font-size: 0.9em; background: rgba(255, 255, 255, 0.06); border-radius: 6px; padding: 1px 6px; }
pre {
  margin: 24px 0 0; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #0d0d17;
  font-family: var(--mono); font-size: 0.9rem; color: #d6d6ea; overflow-x: auto; line-height: 1.8;
}
pre code { background: none; padding: 0; font-size: inherit; }
pre .p { color: var(--orange); user-select: none; }
pre .c { color: var(--dim); }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 16px 18px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--dim); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
.cta-band {
  margin: 0 auto; text-align: center; border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 24px; padding: 44px 24px;
  background: radial-gradient(60% 120% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%), var(--bg-2);
}
.cta-band .ctas { justify-content: center; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 0.92rem; text-decoration: none; background: rgba(255, 255, 255, 0.02); }
.related a:hover { background: rgba(255, 255, 255, 0.06); }
footer { padding: 36px 0 48px; color: var(--dim); font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
