@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:   #020C2E;
  --navy2:  #02184A;
  --yellow: #FFC400;
  --yellow2:#FFD21A;
  --white:  #ffffff;
  --gray-50: #F5F7FA;
  --gray-100:#F0F2F5;
  --gray-200:#E5E7EB;
  --gray-500:#6B7280;
  --gray-700:#374151;
  --blue:   #2563EB;
  --blue2:  #3B82F6;
  --green:  #22c55e;
  --radius: 20px;
  --shadow: 0 4px 32px rgba(0,0,0,0.09);
  --shadow-sm: 0 2px 16px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ════════════════════════════════════════
   LOGIN
════════════════════════════════════════ */
.sys-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left col ─ navy */
.sys-login__left {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.sys-login__left::after {
  content: '';
  position: absolute;
  bottom: -160px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255,196,0,0.035);
  pointer-events: none;
}

.sys-logo { display: flex; align-items: center; text-decoration: none; }
.sys-logo__img { height: 90px; width: auto; }

.sys-login__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.sys-login__h1 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.sys-login__h1 span { color: var(--yellow); }

.sys-login__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 32px;
}

.sys-login__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.sys-login__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}

.sys-perk-check {
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sys-login__illus {
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

/* Right col ─ form */
.sys-login__right {
  background: var(--gray-50);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 40px 48px;
}

.sys-login__card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
}

.sys-login__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 18px;
}

.sys-login__card-h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.sys-login__card-sub {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Form elements */
.sys-form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.sys-form__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.sys-form__input {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sys-form__input:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.sys-form__input::placeholder { color: #C4C9D4; }

.sys-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.sys-form__btn {
  width: 100%;
  height: 50px;
  background: linear-gradient(180deg, var(--yellow2) 0%, var(--yellow) 100%);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 6px;
}

.sys-form__btn:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.sys-form__btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sys-login__back {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-500);
}

.sys-login__back a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.sys-login__back a:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   DASHBOARD — header
════════════════════════════════════════ */
.sys-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.sys-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sys-header__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.sys-header__logo-img { height: 80px; width: auto; }

.sys-header__divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
}

.sys-header__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

.sys-header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sys-header__user {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.sys-header__logout {
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.sys-header__logout:hover { border-color: var(--navy); color: var(--navy); }

.sys-header__refresh {
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.sys-header__refresh:hover:not(:disabled) { border-color: var(--blue2); background: #EFF6FF; }
.sys-header__refresh:disabled { opacity: 0.5; cursor: not-allowed; }

/* ════════════════════════════════════════
   DASHBOARD — layout
════════════════════════════════════════ */
.sys-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 40px 60px;
}

.sys-welcome { margin-bottom: 28px; }

.sys-welcome__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.sys-welcome__h1 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.sys-dash-grid {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 24px;
  align-items: start;
}

/* ── Main card (white) ── */
.sys-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.sys-card__head {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sys-card__marca {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.sys-card__cliente {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
}

.sys-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.sys-card__proc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sys-card__proc-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.sys-card__updated {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

.sys-card__status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.sys-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue2);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.22);
}

.sys-card__status-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* ── Timeline ── */
.sys-timeline-wrap { padding: 36px; }

.sys-timeline { display: flex; flex-direction: column; }

.sys-step {
  display: flex;
  gap: 18px;
}

.sys-step__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}

.sys-step__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background 0.3s;
}

.sys-step--done   .sys-step__circle { background: #ECFDF5; border: 2px solid var(--green); color: var(--green); }
.sys-step--active .sys-step__circle { background: #EFF6FF; border: 2px solid var(--blue2); color: var(--blue2); }
.sys-step--pending .sys-step__circle { background: var(--gray-100); border: 2px solid var(--gray-200); color: #9CA3AF; }

.sys-step__line {
  flex: 1;
  width: 2px;
  min-height: 20px;
  margin: 3px 0;
}

.sys-step--done   .sys-step__line { background: linear-gradient(to bottom, rgba(34,197,94,0.4), rgba(34,197,94,0.15)); }
.sys-step--active .sys-step__line { background: var(--gray-200); }
.sys-step--pending .sys-step__line { background: var(--gray-200); }
.sys-step--last   .sys-step__line { display: none; }

.sys-step__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 28px;
}

.sys-step--last .sys-step__content { padding-bottom: 0; }

.sys-step__info { display: flex; flex-direction: column; gap: 3px; }

.sys-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.sys-step--pending .sys-step__title { color: #9CA3AF; }

.sys-step__desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.55;
  max-width: 320px;
}

.sys-step--pending .sys-step__desc { color: #D1D5DB; }

.sys-step__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 10px;
}

.sys-step__badge--done    { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.sys-step__badge--active  { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.sys-step__badge--pending { background: var(--gray-100); color: #9CA3AF; border: 1px solid var(--gray-200); }

/* ── Side panel ── */
.sys-side { display: flex; flex-direction: column; gap: 16px; }

.sys-side__card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.sys-side__icon {
  width: 52px;
  height: 52px;
  background: rgba(255,196,0,0.1);
  border: 1px solid rgba(255,196,0,0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sys-side__h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.sys-side__p {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-bottom: 22px;
}

.sys-side__whats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  width: 100%;
  background: linear-gradient(180deg, var(--yellow2) 0%, var(--yellow) 100%);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sys-side__whats:hover { opacity: 0.9; }

.sys-info-block {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
}

.sys-info-block__h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.sys-info-block__p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   ADMIN — login
════════════════════════════════════════ */
.sys-admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding: 40px 20px;
}

.sys-admin-login-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 44px 40px;
  width: 100%;
  max-width: 380px;
}

.sys-admin-login-card__logo { margin-bottom: 28px; }
.sys-admin-login-card__logo img { height: 80px; width: auto; }

.sys-admin-login-card__h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.sys-admin-login-card__sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

/* ════════════════════════════════════════
   ADMIN — panel
════════════════════════════════════════ */
.sys-admin-panel {
  display: none;
  min-height: 100vh;
  background: var(--gray-50);
  flex-direction: column;
}

.sys-admin-header {
  background: var(--navy);
  height: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.sys-admin-header__logo img { height: 72px; width: auto; }

.sys-admin-header__divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
}

.sys-admin-header__title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.sys-admin-header__right { margin-left: auto; }

.sys-admin-header__out {
  height: 32px;
  padding: 0 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.sys-admin-header__out:hover { background: rgba(255,255,255,0.12); }

.sys-admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 40px 60px;
  width: 100%;
}

.sys-admin-topbar {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.sys-admin-topbar__h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.sys-admin-topbar__count {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.sys-table-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sys-table {
  width: 100%;
  border-collapse: collapse;
}

.sys-table thead tr {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.sys-table th {
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: left;
  white-space: nowrap;
}

.sys-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.sys-table tr:last-child td { border-bottom: none; }
.sys-table tr:hover td { background: #FAFBFD; }

.sys-table__marca   { font-weight: 700; color: var(--navy) !important; }
.sys-table__processo { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--gray-500) !important; font-size: 12px !important; }

/* Status badges na tabela */
.sys-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.sys-status-badge--1 { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.sys-status-badge--2 { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.sys-status-badge--3 { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.sys-status-badge--4 { background: #F3E8FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.sys-status-badge--5 { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.sys-status-badge--6 { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }

.sys-table__btn {
  height: 30px;
  padding: 0 12px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.sys-table__btn:hover { border-color: var(--navy); background: var(--gray-50); }

/* ── Modal ── */
.sys-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,12,46,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sys-modal-overlay.open { display: flex; }

.sys-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  position: relative;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.sys-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.sys-modal__close:hover { background: var(--gray-200); }

.sys-modal__h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.sys-modal__sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.sys-modal__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.sys-modal__select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  margin-bottom: 18px;
}

.sys-modal__select:focus { border-color: var(--blue2); }

.sys-modal__save {
  width: 100%;
  height: 46px;
  background: linear-gradient(180deg, var(--yellow2) 0%, var(--yellow) 100%);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sys-modal__save:hover { opacity: 0.9; }

.sys-modal__divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0 18px;
}

.sys-modal__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.sys-modal__etapa-group {
  margin-bottom: 14px;
}

.sys-modal__etapa-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.sys-modal__textarea {
  width: 100%;
  min-height: 72px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-700);
  background: #fff;
  outline: none;
  resize: vertical;
  line-height: 1.55;
  transition: border-color 0.2s;
}

.sys-modal__textarea:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.sys-modal__textarea::placeholder { color: #C4C9D4; }

.sys-modal__success {
  display: none;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 12px;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 960px) {
  .sys-login { grid-template-columns: 1fr; }

  .sys-login__left { padding: 32px; }
  .sys-login__illus { display: none; }
  .sys-login__copy { padding: 28px 0 20px; }

  .sys-login__right {
    min-height: calc(100vh - 200px);
    padding: 40px 24px;
  }

  .sys-dash-grid { grid-template-columns: 1fr; }

  .sys-admin-main { padding: 24px 24px 40px; }
}

@media (max-width: 640px) {
  .sys-header__inner { padding: 0 20px; }
  .sys-header__title { display: none; }
  .sys-header__divider { display: none; }
  .sys-header__user { display: none; }
  .sys-header__refresh { display: none; }

  .sys-main { padding: 20px 16px 40px; }

  .sys-card__head { padding: 20px; flex-direction: column; }
  .sys-card__meta { align-items: flex-start; }
  .sys-timeline-wrap { padding: 20px; }

  .sys-login__card { padding: 28px 22px; }

  .sys-table-wrap { overflow-x: auto; }
  .sys-table { min-width: 600px; }

  .sys-admin-header { padding: 0 20px; }
  .sys-admin-main { padding: 16px; }
}

/* ════════════════════════════════════════
   CARD DE INFORMAÇÕES DO PROCESSO
════════════════════════════════════════ */
.sys-info-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sys-info-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sys-info-card__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 6px;
  flex-shrink: 0;
}

.sys-info-card__marca {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.sys-info-card__cliente {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.sys-info-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.sys-info-card__proc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sys-info-card__proc-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.sys-info-card__classe {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

/* ════════════════════════════════════════
   CARDS DE STATUS (SITUAÇÃO + VIGÊNCIA)
════════════════════════════════════════ */
.sys-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.sys-status-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sys-status-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sys-status-card__value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.sys-status-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  flex-shrink: 0;
}

.sys-status-card__hint {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-top: -2px;
}

@media (max-width: 640px) {
  .sys-status-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   CARD DA TIMELINE
════════════════════════════════════════ */
.sys-timeline-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sys-timeline-card__head {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.sys-timeline-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}

.sys-timeline-card__sub {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

.sys-timeline-card__body {
  padding: 32px;
}

/* ════════════════════════════════════════
   TIMELINE DINÂMICA — ENTRADAS
════════════════════════════════════════ */
.sys-timeline-loading,
.sys-timeline-empty {
  font-size: 13px;
  color: var(--gray-500);
  padding: 8px 0;
}

.sys-entry {
  display: flex;
  gap: 20px;
}

.sys-entry__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
}

.sys-entry__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gray-200);
  flex-shrink: 0;
  margin-top: 5px;
}

.sys-entry__dot--active {
  background: var(--navy);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(2,12,46,0.2);
}

.sys-entry__line {
  flex: 1;
  width: 2px;
  background: var(--gray-200);
  margin: 8px 0 0;
  min-height: 20px;
}

.sys-entry__body {
  flex: 1;
  padding-bottom: 32px;
}

.sys-entry--last .sys-entry__body {
  padding-bottom: 0;
}

.sys-entry__date {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.sys-entry--last .sys-entry__date {
  color: #92400E;
  background: rgba(255,196,0,0.12);
  border-color: rgba(255,196,0,0.4);
}

.sys-entry__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.sys-entry__desc {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 400;
  margin-top: 4px;
}

/* ════════════════════════════════════════
   OBSERVAÇÃO (campo livre da planilha)
════════════════════════════════════════ */
.sys-obs-wrap {
  padding: 0 36px 28px;
}

.sys-obs {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 10px;
  padding: 14px 16px;
}

.sys-obs__icon {
  color: #0284C7;
  flex-shrink: 0;
  margin-top: 1px;
}

.sys-obs__text {
  font-size: 13px;
  color: #0C4A6E;
  line-height: 1.6;
  font-weight: 500;
}

/* ════════════════════════════════════════
   ADMIN — tela informativa (nova versão)
════════════════════════════════════════ */
.sys-admin-info-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding: 40px 20px;
}

.sys-admin-info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 44px 40px;
  width: 100%;
  max-width: 480px;
}

.sys-admin-info-card__logo { margin-bottom: 24px; }
.sys-admin-info-card__logo img { height: 80px; width: auto; }

.sys-admin-info-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.sys-admin-info-card__h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.sys-admin-info-card__sub {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 28px;
}

.sys-admin-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.sys-admin-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sys-admin-step__num {
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.sys-admin-step__text {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
}

.sys-admin-step__text strong { color: var(--navy); }
.sys-admin-step__text em { font-style: normal; font-weight: 600; color: var(--navy); }

.sys-admin-info-footer {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}

.sys-admin-info-back {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.sys-admin-info-back:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   BANNER — Certificado de registro
════════════════════════════════════════ */
.sys-cert-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.sys-cert-banner__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,196,0,0.18);
  border: 1px solid rgba(255,196,0,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sys-cert-banner__body {
  flex: 1;
  min-width: 200px;
}

.sys-cert-banner__title {
  font-size: 15px;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}

.sys-cert-banner__text {
  font-size: 13px;
  color: #78350F;
  line-height: 1.6;
}

.sys-cert-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--yellow2) 0%, var(--yellow) 100%);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  transition: opacity 0.2s;
}

.sys-cert-banner__btn:hover { opacity: 0.88; }
