/* ==========================================================================
   seu.bot — base dos novos projetos
   Folha de estilo única, sem dependências externas.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #05060c;
  --surface: rgba(255, 255, 255, .04);
  --surface-strong: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);
  --text: #eaeefb;
  --text-soft: #a6b0c8;
  --text-dim: #7d879e;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --brand-ink: #c9bcff;
  --ok: #34d399;
  --grid-line: rgba(255, 255, 255, .045);
  --glow-a: rgba(124, 92, 255, .30);
  --glow-b: rgba(34, 211, 238, .20);
  --shadow: 0 24px 60px -32px rgba(0, 0, 0, .9);
  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1120px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f7fb;
    --surface: rgba(11, 15, 30, .028);
    --surface-strong: rgba(11, 15, 30, .05);
    --border: rgba(11, 15, 30, .10);
    --border-strong: rgba(11, 15, 30, .20);
    --text: #0d1220;
    --text-soft: #4a5468;
    --text-dim: #6b7689;
    --brand-ink: #5334d4;
    --grid-line: rgba(11, 15, 30, .05);
    --glow-a: rgba(124, 92, 255, .18);
    --glow-b: rgba(34, 211, 238, .14);
    --shadow: 0 24px 50px -34px rgba(15, 23, 42, .45);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body > * { position: relative; z-index: 1; }

img,
svg { max-width: 100%; }

h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -.022em; font-weight: 680; }
p { margin: 0; }
ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }

code {
  font-family: var(--mono);
  font-size: .9em;
  padding: .12em .42em;
  border-radius: 6px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 99;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #08090f;
  font-weight: 650;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- fundo ---------- */

.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.bg-glow {
  position: absolute;
  display: block;
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-glow--a { top: -16vw; left: -8vw; background: var(--glow-a); }
.bg-glow--b { top: 22vh; right: -14vw; background: var(--glow-b); }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- estrutura ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

/* ---------- topo ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; width: 30px; height: 30px; }
.brand-word { font-size: 1.06rem; font-weight: 660; letter-spacing: -.03em; }
.brand-dot { color: var(--brand-2); }

.nav { display: flex; gap: clamp(14px, 2.4vw, 26px); margin-left: auto; }
.nav a {
  font-size: .93rem;
  color: var(--text-soft);
  font-weight: 520;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--brand-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .8rem;
  font-weight: 560;
  color: var(--text-soft);
  white-space: nowrap;
}
.topbar .pill { margin-left: auto; }
.nav + .pill { margin-left: 0; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  flex: none;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(46px, 8vw, 104px) clamp(34px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-ink);
  font-size: .75rem;
  font-weight: 640;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.05rem, 1.25rem + 3.6vw, 3.8rem); }

.grad {
  background-image: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: clamp(1rem, .95rem + .32vw, 1.16rem);
  line-height: 1.68;
  color: var(--text-soft);
}
.lead strong { color: var(--text); font-weight: 660; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 640;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-image: linear-gradient(115deg, #8b6bff, #6d8bff 52%, #22d3ee);
  color: #06070f;
  box-shadow: 0 16px 34px -18px rgba(124, 92, 255, .95);
}
.btn--primary:hover { box-shadow: 0 20px 40px -18px rgba(124, 92, 255, .95); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-strong); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  font-size: .88rem;
  color: var(--text-dim);
}
.meta li { display: flex; align-items: center; gap: 9px; }
.meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  flex: none;
}

/* ---------- painel do ambiente ---------- */

.panel {
  position: relative;
  padding: 24px 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 60%, transparent), transparent);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.panel-title {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.panel-tag {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ok) 34%, transparent);
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  color: var(--ok);
  font-size: .74rem;
  font-weight: 620;
  letter-spacing: .04em;
}

.panel-list { padding-top: 6px; }
.panel-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.panel-list > div:last-child { border-bottom: 0; }
.panel-list dt { font-size: .85rem; color: var(--text-dim); }
.panel-list dd {
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 560;
  color: var(--text);
  text-align: right;
}

.panel-foot { margin-top: 14px; font-size: .82rem; color: var(--text-dim); }

/* ---------- seções ---------- */

.section { padding-block: clamp(36px, 6vw, 76px); }

.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.7vw, 2.15rem); }
.section-head p { margin-top: 12px; color: var(--text-soft); font-size: 1.02rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.card h3 { font-size: 1.04rem; }
.card p { margin-top: 10px; color: var(--text-soft); font-size: .94rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand-ink);
  font-size: 1.15rem;
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: passo;
}

.step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 640;
  color: var(--brand-ink);
}
.step h3 { font-size: 1.02rem; }
.step p { margin-top: 10px; color: var(--text-soft); font-size: .94rem; }

/* ---------- faixa de status ---------- */

.status-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--ok) 26%, transparent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ok) 10%, transparent), color-mix(in srgb, var(--brand) 8%, transparent));
}
.status-copy h2 { font-size: clamp(1.3rem, 1.05rem + 1.3vw, 1.8rem); }
.status-copy p { margin-top: 12px; color: var(--text-soft); max-width: 52ch; }

.status-items { display: grid; gap: 12px; }
.status-items li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .95rem;
  color: var(--text-soft);
}

/* ---------- rodapé ---------- */

.footer {
  margin-top: clamp(30px, 5vw, 60px);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
}
.footer-brand { font-weight: 660; letter-spacing: -.02em; }
.footer-note { font-size: .85rem; color: var(--text-dim); }

/* ---------- página de erro ---------- */

.page-error body,
body.page-error { display: grid; }

.error-main {
  min-height: 88vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(40px, 8vw, 96px) clamp(18px, 4vw, 32px);
}
.error-code {
  font-family: var(--mono);
  font-size: clamp(3rem, 12vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background-image: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-main h1 { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem); max-width: 22ch; }
.error-main .lead { max-width: 54ch; margin-top: 4px; }
.error-main .actions { margin-top: 18px; }
.error-foot { margin-top: 26px; font-size: .85rem; color: var(--text-dim); }

/* ---------- responsivo ---------- */

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .status-band { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .topbar .pill { margin-left: auto; }
  .hero { padding-block: 34px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover,
  .card:hover { transform: none; }
}
