/* tokens.css — variáveis de marca Go Car, compartilhadas entre CRM e Site público */
:root {
  --gocar-accent: oklch(0.55 0.2 25);
  --gocar-accent-dark: oklch(0.48 0.2 25);
  --gocar-accent-light: oklch(0.62 0.2 25);

  --gocar-black: #0c0c0d;
  --gocar-black-2: #161616;
  --gocar-sidebar-1: #17171f;
  --gocar-sidebar-2: #0f0f14;
  --gocar-white: #ffffff;
  --gocar-bg-soft: #f7f7f6;
  --gocar-border: #e2e2e2;
  --gocar-border-2: #ececec;
  --gocar-text: #111111;
  --gocar-text-muted: #9a9a9a;
  --gocar-text-muted-2: #8a8a8a;

  --gocar-whatsapp: #25d366;
  --gocar-status-red: #b91c1c;
  --gocar-status-green: #15803d;

  --gocar-radius-card: 14px;
  --gocar-radius-btn: 10px;
  --gocar-radius-input: 10px;

  --gocar-shadow-card: 0 10px 24px rgba(0, 0, 0, 0.08);
  --gocar-shadow-card-hover: 0 16px 32px rgba(0, 0, 0, 0.1);
  --gocar-shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.25);
  --gocar-shadow-sidebar: 2px 0 24px rgba(0, 0, 0, 0.15);

  --gocar-font: 'Poppins', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--gocar-font);
  background: var(--gocar-bg-soft);
  color: var(--gocar-text);
  -webkit-font-smoothing: antialiased;
}
#root { min-height: 100%; }
a { color: var(--gocar-accent); text-decoration: none; }
a:hover { color: var(--gocar-accent-dark); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--gocar-radius-btn);
  font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 22px; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.btn--accent { background: var(--gocar-accent); color: #fff; }
.btn--accent:hover { background: var(--gocar-accent-dark); }
.btn--dark { background: #111; color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: #fff; color: var(--gocar-text); border: 1px solid var(--gocar-border); }
.btn--ghost:hover { background: var(--gocar-bg-soft); }
.btn--wa { background: var(--gocar-whatsapp); color: #fff; }
.btn--wa:hover { filter: brightness(0.95); }
.btn--sm { padding: 7px 14px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.badge {
  display: inline-flex; align-items: center; font-family: var(--gocar-font); font-weight: 600;
  font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 9px; border-radius: 10px;
}
.badge--accent { background: var(--gocar-accent); color: #fff; }
.badge--ok { background: #dcfce7; color: var(--gocar-status-green); }
.badge--stop { background: #fee2e2; color: var(--gocar-status-red); }
.badge--muted { background: #eee; color: #666; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gocar-text-muted-2); }
.field input, .field select, .field textarea {
  border: 1px solid var(--gocar-border); border-radius: var(--gocar-radius-input);
  padding: 10px 12px; font-size: 13.5px; color: var(--gocar-text); outline: none; background: #fff;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gocar-accent); }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(12, 12, 13, 0.55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: #fff; border-radius: 16px; box-shadow: var(--gocar-shadow-modal);
  width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; padding: 28px;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal__head h3 { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.modal__close { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gocar-bg-soft); color: #666; }
.modal__close:hover { background: #eee; }
.modal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.lic { display: inline-flex; align-items: center; justify-content: center; }

.car-card {
  border: 1px solid var(--gocar-border-2);
  transition: transform 0.25s ease;
}
.car-card:hover { transform: translateY(-4px); }
.car-thumb { transition: transform 0.4s ease; }
.car-card:hover .car-thumb { transform: scale(1.06); }

/* rola normalmente, só sem mostrar a barra de rolagem */
.kanban-row { scrollbar-width: none; -ms-overflow-style: none; }
.kanban-row::-webkit-scrollbar { display: none; height: 0; }

.diff-card {
  background: #161616;
  transition: transform 0.25s ease, background 0.25s ease;
}
.diff-card:hover { transform: translateY(-4px); background: #1e1e1e; }
.diff-card__dot { transition: transform 0.25s ease; }
.diff-card:hover .diff-card__dot { transform: scale(1.15); }
