/* =========================================================
   Viskoo Sites — Design System (protótipo estático)
   Inspirado nas referências: cartões arredondados, preto + lima,
   violeta, pastéis e serifada itálica para destaques.
   ========================================================= */

:root {
  /* Base */
  --bg: #f1f1ec;
  --surface: #ffffff;
  --surface-2: #f6f6f2;
  --line: #e6e6df;
  --ink: #0f0f0d;
  --ink-2: #3a3a36;
  --muted: #7a7a72;

  /* Marca */
  --lime: #d6f55b;
  --lime-ink: #1c2400;
  --violet: #7357f6;
  --violet-2: #9a84ff;
  --forest: #12301f;
  --orange: #ff6a2b;

  /* Pastéis */
  --p-lilac: #ece3fd;
  --p-mint: #dcf4df;
  --p-sky: #dfecfc;
  --p-butter: #fcf0c8;
  --p-peach: #fde0d0;
  --p-rose: #fbdbe6;

  /* Status */
  --ok: #22a061;
  --warn: #e7a400;
  --bad: #e5484d;
  --info: #3b82f6;

  /* Forma */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 13, .05), 0 2px 8px rgba(15, 15, 13, .04);
  --shadow-md: 0 10px 30px -12px rgba(15, 15, 13, .18);
  --shadow-lg: 0 30px 80px -30px rgba(15, 15, 13, .35);

  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #262622; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { box-shadow: 0 0 0 6px rgba(214, 245, 91, .35); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: #6345f0; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.btn .arrow {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); margin-right: -10px;
}
.btn-lime .arrow { background: var(--ink); color: var(--lime); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-new { background: var(--p-sky); color: #1d4f9c; }
.b-queue { background: var(--p-butter); color: #7a5700; }
.b-dev { background: var(--p-lilac); color: #4a2fc4; }
.b-review { background: var(--p-peach); color: #a2421a; }
.b-wait { background: var(--p-rose); color: #a3254f; }
.b-live { background: var(--p-mint); color: #16723f; }
.b-late { background: #ffe1e1; color: #b4232a; }
.b-ink { background: var(--ink); color: #fff; }
.b-lime { background: var(--lime); color: var(--lime-ink); }

/* ---------- Cartões ---------- */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); padding: 22px;
}
.card-dark { background: var(--ink); color: #fff; border-color: transparent; }
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-size: 15px; outline: none; transition: border .15s, background .15s;
}
.textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); background: #fff; }
.input::placeholder, .textarea::placeholder { color: #a6a69e; }

/* ---------- Avatares ---------- */
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--p-lilac); color: #4a2fc4;
}
img.avatar { object-fit: cover; display: block; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid #fff; margin-left: -8px; width: 30px; height: 30px; font-size: 11px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- Barra de progresso ---------- */
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.segbar { display: flex; gap: 3px; }
.segbar i { flex: 1; height: 10px; border-radius: 3px; background: rgba(0,0,0,.08); }
.segbar i.on { background: var(--lime); }

/* ---------- Ícones (SVG inline via <svg class="ic">) ---------- */
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }

/* ---------- Navegador do protótipo ---------- */
/* Recolhida por padrão (não cobre botões); abre ao passar o mouse ou tocar */
.proto-nav {
  position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 999;
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(15,15,13,.92); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); max-width: calc(100vw - 24px); overflow-x: auto;
}
.proto-nav a {
  color: #cfcfc6; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  display: none;
}
.proto-nav:hover a, .proto-nav.open a { display: block; }
.proto-nav a:hover { color: #fff; }
.proto-nav a.on { background: var(--lime); color: var(--lime-ink); }
.proto-nav .tag { color: #9b9b93; font-size: 10.5px; padding: 6px 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; align-self: center; cursor: pointer; white-space: nowrap; }

/* Utilitário de logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
}
.logo-mark svg { width: 20px; height: 20px; }

