/* ════════════════════════════════════════════════════════════════
   ARCORY / ARCOLL — site.css
   Folha de estilos GLOBAL do site (fora do editor Studio).
   Cobre: topbar, sidebar + navegação interna, dashboard, área do
   cliente (chamados), área de suporte, painel admin (shell),
   telas de login/registro, landing page e componentes comuns
   (botões, badges, tabelas, formulários, modais, switches).

   Este arquivo foi recriado do zero em 04/07/2026 porque o
   site.css original havia sido perdido — as classes usadas em
   includes/header.php, includes/sidebar.php, dashboard.php,
   cliente/chamados.php, login.php, registrar.php, index.php e
   admin/*.php não tinham mais nenhuma definição CSS em lugar
   nenhum do backup.

   Carregar SEMPRE antes de assets/css/arcory.css:
   <link rel="stylesheet" href="assets/css/site.css">
   <link rel="stylesheet" href="assets/css/arcory.css">
   ════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   1. VARIÁVEIS GLOBAIS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Superfícies */
  --bg:        #0a0a12;
  --bg2:       #0d0d16;
  --panel:     #12121e;
  --panel2:    #161624;
  --surface2:  #141420;
  --side:      #10101a;
  --hover:     rgba(255,255,255,.06);

  /* Bordas */
  --border:    rgba(255,255,255,.08);
  --bd:        rgba(255,255,255,.08);
  --border2:   rgba(255,255,255,.14);

  /* Texto */
  --tx:        #f0f0f8;
  --text:      #f0f0f8;
  --muted:     rgba(240,240,248,.55);
  --muted2:    rgba(240,240,248,.32);
  --tx2:       rgba(240,240,248,.55);
  --tx3:       rgba(240,240,248,.28);

  /* Marca / acentos */
  --purple:    #7c3aed;
  --purple2:   #a78bfa;
  --acc:       #7c3aed;
  --acc2:      #a78bfa;
  --acc3:      #3b82f6;
  --blue:      #3b82f6;
  --blue2:     #60a5fa;
  --green:     #10b981;
  --green2:    #34d399;
  --yellow:    #f59e0b;
  --yellow2:   #fbbf24;
  --red:       #ef4444;
  --red2:      #f87171;
  --pink:      #ec4899;

  --grad-brand: linear-gradient(135deg, #7c3aed, #3b82f6);
  --grad-text:  linear-gradient(135deg, #c4b5fd, #93c5fd);

  /* Layout */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --sidebar-w: 250px;
  --topbar-h:  62px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow:    0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.45);

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ──────────────────────────────────────────────────────────────
   2. RESET / BASE
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.arcory-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(124,58,237,.10), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(59,130,246,.08), transparent 55%),
    var(--bg);
  color: var(--tx);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

.arcory-body h1, .arcory-body h2, .arcory-body h3, .arcory-body h4 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--tx);
}

.arcory-body p { margin: 0; }
.arcory-body a { color: inherit; text-decoration: none; }
.arcory-body ::selection { background: rgba(124,58,237,.35); color: #fff; }

.arcory-body ::-webkit-scrollbar { width: 8px; height: 8px; }
.arcory-body ::-webkit-scrollbar-track { background: transparent; }
.arcory-body ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.arcory-body ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

.arcory-body input, .arcory-body select, .arcory-body textarea, .arcory-body button {
  font-family: inherit;
  color: inherit;
}

@keyframes arcFadeUp { from { opacity:0; transform:translateY(10px);} to { opacity:1; transform:translateY(0);} }
@keyframes arcFadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes arcFloat   { 0%,100% { transform:translateY(0);} 50% { transform:translateY(-14px);} }
@keyframes arcPulse   { 0%,100% { opacity:1;} 50% { opacity:.55;} }

/* ──────────────────────────────────────────────────────────────
   3. BOTÕES GLOBAIS (.btn)
   ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), opacity .15s var(--ease);
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,58,237,.35);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(124,58,237,.5); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--tx);
  border-color: var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,.11); border-color: var(--border2); }

.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 9px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ──────────────────────────────────────────────────────────────
   4. TOPBAR (includes/header.php)
   ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: rgba(10,10,18,.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.topbar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
  flex-shrink: 0;
}
.topbar-brand-text {
  font-size: 17px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.2px;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .15s var(--ease);
}
.topbar-link:hover { background: var(--hover); color: var(--tx); }

.topbar-user { position: relative; }
.topbar-user-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 10px 6px 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s var(--ease);
}
.topbar-user-btn:hover { background: rgba(255,255,255,.09); }

.topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.topbar-user-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.topbar-user-name { font-size: 12.5px; font-weight: 700; color: var(--tx); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user-role { font-size: 10.5px; color: var(--muted); }

.topbar-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s var(--ease);
  z-index: 600;
}
.topbar-user.open .topbar-user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.topbar-dropdown-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; }
.topbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tx2);
  transition: all .12s;
}
.topbar-dropdown-item:hover { background: var(--hover); color: var(--tx); }
.topbar-dropdown-item i { width: 16px; text-align: center; opacity: .8; }
.topbar-dropdown-sep { height: 1px; background: var(--border); margin: 6px 4px; }
.topbar-dropdown-danger { color: #f87171 !important; }
.topbar-dropdown-danger:hover { background: rgba(248,113,113,.12) !important; }

@media (max-width: 720px) {
  .topbar { padding: 0 14px; }
  .topbar-brand-text { display: none; }
  .topbar-user-info { display: none; }
  .topbar-link span { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   5. APP SHELL — sidebar + área principal
   (includes/sidebar.php: .app-shell > .dash-sidebar + .dash-main)
   ────────────────────────────────────────────────────────────── */
.app-shell {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - var(--topbar-h));
}

.dash-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--side);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  z-index: 400;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
}
.dash-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.dash-brand-name { font-size: 14px; font-weight: 800; color: var(--tx); }
.dash-brand-ver { font-size: 10px; color: var(--muted2); }

.dash-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-nav-group-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted2);
  padding: 10px 10px 8px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
  cursor: pointer;
  transition: all .14s var(--ease);
  list-style: none;
}
.dash-nav-item::-webkit-details-marker { display: none; }
.dash-nav-item i:first-child { width: 17px; text-align: center; font-size: 14px; flex-shrink: 0; opacity: .85; }
.dash-nav-item:hover { background: var(--hover); color: var(--tx); }
.dash-nav-item.active {
  background: rgba(124,58,237,.16);
  color: #c4b5fd;
}
.dash-nav-item.active i:first-child { opacity: 1; color: #a78bfa; }

.dash-nav-item-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dash-nav-caret { margin-left: auto; font-size: 10px !important; opacity: .5; transition: transform .18s var(--ease); }
.dash-nav-group[open] > .dash-nav-parent .dash-nav-caret { transform: rotate(180deg); }
.dash-nav-parent { justify-content: flex-start; }

.dash-nav-children {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 14px;
  margin-top: 2px;
  border-left: 1px solid var(--border);
  margin-left: 22px;
  animation: arcFadeIn .15s var(--ease);
}
.dash-nav-sub { font-size: 12.5px; padding: 8px 10px; font-weight: 500; }

.dash-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--border);
}
.dash-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.dash-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--tx);
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

.dash-main {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 60px;
  position: relative;
}

@media (max-width: 980px) {
  .dash-sidebar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    height: calc(100vh - var(--topbar-h));
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
    transition: transform .22s var(--ease);
  }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-sidebar-toggle { display: inline-flex; }
  .dash-main { padding: 20px 16px 48px; }
}

/* ──────────────────────────────────────────────────────────────
   6. CONTEÚDO DO DASHBOARD / PÁGINAS INTERNAS (.dash-*)
   ────────────────────────────────────────────────────────────── */
.dash-storage { padding: 14px 16px; background: rgba(255,255,255,.02); }

.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  animation: arcFadeUp .35s var(--ease);
}
.dash-title { font-size: 24px; font-weight: 800; letter-spacing: -.4px; display: flex; align-items: center; gap: 10px; }
.dash-subtitle { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.dash-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.dash-btn-new, .dash-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s var(--ease);
  white-space: nowrap;
}
.dash-btn-new {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,58,237,.35);
}
.dash-btn-new:hover { box-shadow: 0 8px 24px rgba(124,58,237,.5); transform: translateY(-1px); }
.dash-btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--tx2);
  border: 1px solid var(--border);
}
.dash-btn-secondary:hover { background: rgba(255,255,255,.11); color: var(--tx); }

/* Stats grid */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.dash-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
  animation: arcFadeUp .35s var(--ease) backwards;
}
.dash-stat-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.dash-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dash-stat-num { font-size: 24px; font-weight: 800; line-height: 1.1; }
.dash-stat-label { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Sections */
.dash-section { margin-bottom: 34px; animation: arcFadeUp .4s var(--ease) backwards; }
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dash-section-title {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dash-section-title i { color: #a78bfa; }

.dash-search, .dash-select, .dash-form-input {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12.5px;
  color: var(--tx);
  outline: none;
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.dash-search:focus, .dash-select:focus, .dash-form-input:focus {
  border-color: rgba(124,58,237,.5);
  background: rgba(255,255,255,.06);
}
.dash-search { width: 220px; }
.dash-search::placeholder, .dash-form-input::placeholder { color: var(--muted2); }
.dash-form-input { width: 100%; }
.dash-form-label { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .3px; }

/* Sizes grid (criação rápida) */
.dash-sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
.dash-size-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  cursor: pointer;
  transition: all .15s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-size-card:hover { border-color: rgba(124,58,237,.4); background: rgba(124,58,237,.06); transform: translateY(-2px); }
.dash-size-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.dash-size-label { font-size: 12.5px; font-weight: 700; }
.dash-size-dim { font-size: 11px; color: var(--muted2); }

/* Mode cards (editor de imagem/vídeo/áudio) */
.dash-mode-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  transition: all .18s var(--ease);
  text-align: left;
}
.dash-mode-card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-3px); box-shadow: var(--shadow); }

/* Projects grid */
.dash-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.dash-proj-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .18s var(--ease);
}
.dash-proj-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow); }
.dash-proj-thumb {
  position: relative;
  aspect-ratio: 1/1;
  background: #0d0d16;
  cursor: pointer;
  overflow: hidden;
}
.dash-proj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-proj-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--muted2); }
.dash-proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,16,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .18s;
}
.dash-proj-card:hover .dash-proj-overlay { opacity: 1; }
.dash-proj-overlay button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: background .15s;
}
.dash-proj-overlay button:hover { background: rgba(255,255,255,.22); }

.dash-proj-mode-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(10,10,16,.65);
  backdrop-filter: blur(4px);
  color: #fff;
}
.dash-mode-imagem i, .dash-mode-imagem { color: #a78bfa; }
.dash-mode-video i   { color: #60a5fa; }
.dash-mode-audio i   { color: #34d399; }

.dash-proj-info { padding: 12px 14px; }
.dash-proj-title { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-proj-meta { font-size: 11px; color: var(--muted2); margin-top: 4px; }
.dash-proj-status {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 3px 9px;
  border-radius: 20px;
}
.dash-status-publicado { background: rgba(16,185,129,.15); color: #34d399; }
.dash-status-rascunho  { background: rgba(245,158,11,.15); color: #fbbf24; }

/* Empty state */
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  gap: 6px;
}
.dash-empty i { font-size: 40px; color: var(--muted2); margin-bottom: 10px; }
.dash-empty h3 { font-size: 15px; font-weight: 700; }
.dash-empty p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }

/* User picker (admin/menus.php) */
.user-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background .15s;
}
.user-pick:hover { background: var(--hover); }
.user-pick.active { background: rgba(124,58,237,.16); }

/* Permission table + switch (admin/menus.php) */
.perm-table { width: 100%; border-collapse: collapse; }
.perm-table tr { border-bottom: 1px solid var(--border); }
.perm-table tr:last-child { border-bottom: none; }
.perm-table td { padding: 10px 8px; font-size: 12.5px; color: var(--tx2); }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  border-radius: 22px;
  transition: background .18s;
}
.switch-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s var(--ease);
}
.switch input:checked + .switch-slider { background: var(--grad-brand); }
.switch input:checked + .switch-slider::before { transform: translateX(18px); }

/* ──────────────────────────────────────────────────────────────
   7. BADGES (chamados / tickets)
   ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}
.badge-aberto        { background: rgba(59,130,246,.16);  color: #60a5fa; }
.badge-em_andamento  { background: rgba(245,158,11,.16);  color: #fbbf24; }
.badge-respondido    { background: rgba(16,185,129,.16);  color: #34d399; }
.badge-fechado       { background: rgba(148,163,184,.16); color: #94a3b8; }
.badge-baixa         { background: rgba(148,163,184,.16); color: #94a3b8; }
.badge-normal        { background: rgba(59,130,246,.16);  color: #60a5fa; }
.badge-alta          { background: rgba(245,158,11,.16);  color: #fbbf24; }
.badge-urgente       { background: rgba(239,68,68,.16);   color: #f87171; }

/* ──────────────────────────────────────────────────────────────
   8. ÁREA DO CLIENTE / SUPORTE — CHAMADOS (tickets)
   ────────────────────────────────────────────────────────────── */
.area-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.area-tab {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .15s;
}
.area-tab:hover { color: var(--tx); }
.area-tab.active { color: #a78bfa; border-bottom-color: #a78bfa; }

.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.ticket-card:hover { border-color: rgba(124,58,237,.35); transform: translateY(-1px); }
.ticket-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ticket-subject { font-size: 14px; font-weight: 700; }
.ticket-meta { font-size: 11.5px; color: var(--muted2); margin-top: 5px; }

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.ticket-msg {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  max-width: 82%;
}
.ticket-msg.mine {
  align-self: flex-end;
  background: rgba(124,58,237,.12);
  border-color: rgba(124,58,237,.3);
}
.ticket-msg-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted2);
  margin-bottom: 6px;
}
.ticket-msg-head strong { color: var(--tx2); font-weight: 700; }

@media (max-width: 640px) {
  .ticket-msg { max-width: 100%; }
}

/* ──────────────────────────────────────────────────────────────
   9. ALERTAS (login/registro/chamados)
   ────────────────────────────────────────────────────────────── */
.auth-err, .auth-ok {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.auth-err { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.auth-ok  { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.25); }

/* ──────────────────────────────────────────────────────────────
   10. TELAS DE AUTENTICAÇÃO (login.php / registrar.php)
   ────────────────────────────────────────────────────────────── */
.auth-split {
  display: grid;
  grid-template-columns: minmax(0,520px) 1fr;
  min-height: calc(100vh - var(--topbar-h));
}

.auth-split-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.auth-split-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.auth-split-logo-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
}
.auth-split-logo-name { font-size: 19px; font-weight: 800; }

.auth-split-content { animation: arcFadeUp .4s var(--ease); }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 26px;
}
.auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s var(--ease);
}
.auth-tab.active { background: var(--grad-brand); color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.35); }

.form-tab { display: none; animation: arcFadeIn .25s var(--ease); }
.form-tab.active { display: block; }

.auth-split-title { font-size: 22px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px; }
.auth-split-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }

.auth-uline-group { margin-bottom: 20px; }
.auth-uline-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 9px;
}
.auth-uline-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 8px 2px 10px;
  font-size: 14.5px;
  color: var(--tx);
  outline: none;
  transition: border-color .18s;
}
.auth-uline-input:focus { border-color: #a78bfa; }
.auth-uline-input::placeholder { color: var(--muted2); }

.auth-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-split-row a { color: #a78bfa; font-weight: 600; }
.auth-split-row a:hover { text-decoration: underline; }
.auth-check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.auth-check input { accent-color: #7c3aed; }

.auth-btn-pill {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(124,58,237,.4);
  transition: all .15s var(--ease);
}
.auth-btn-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(124,58,237,.55); }

.auth-split-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 26px 0 16px;
}
.auth-split-divider::before, .auth-split-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-visitor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
  transition: all .15s;
}
.auth-visitor:hover { background: rgba(255,255,255,.07); color: var(--tx); }

.auth-split-foot { font-size: 11px; color: var(--muted2); text-align: center; margin-top: 22px; line-height: 1.6; }

/* Lado direito — branding */
.auth-split-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  background: linear-gradient(160deg, #150e2b 0%, #0d0d16 60%);
  border-left: 1px solid var(--border);
}
.auth-split-orbs { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.auth-split-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: arcFloat 9s ease-in-out infinite; }
.auth-split-orb1 { width: 340px; height: 340px; background: #7c3aed; top: -80px; right: -60px; }
.auth-split-orb2 { width: 280px; height: 280px; background: #3b82f6; bottom: -60px; left: -40px; animation-delay: -4s; }

.auth-split-badge {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 26px;
}
.auth-split-brand h2 { position: relative; z-index: 1; font-size: 32px; font-weight: 800; line-height: 1.25; letter-spacing: -.6px; max-width: 460px; }
.auth-split-brand h2 span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth-split-brand p { position: relative; z-index: 1; font-size: 14px; color: rgba(240,240,248,.6); max-width: 440px; margin-top: 16px; line-height: 1.7; }
.auth-split-brand-cta {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  width: fit-content;
  padding: 12px 22px;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 13.5px;
  font-weight: 700;
  transition: all .18s var(--ease);
}
.auth-split-brand-cta:hover { background: rgba(255,255,255,.14); transform: translateX(3px); }

@media (max-width: 980px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split-brand { display: none; }
  .auth-split-form { padding: 40px 24px; }
}

/* ──────────────────────────────────────────────────────────────
   11. LANDING PAGE (index.php) — .lp-*
   ────────────────────────────────────────────────────────────── */
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.lp-section { padding: 90px 0; }
.lp-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}
.lp-section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; }
.lp-section-head p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Hero */
.lp-hero {
  position: relative;
  padding: 110px 28px 100px;
  overflow: hidden;
  text-align: center;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(700px 400px at 85% 20%, rgba(59,130,246,.18), transparent 60%);
  z-index: 0;
}
.lp-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  color: #c4b5fd;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 26px;
}
.lp-hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 22px;
}
.lp-hero h1 span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-hero p { font-size: 16.5px; color: var(--muted); max-width: 620px; margin: 0 auto 36px; line-height: 1.7; }
.lp-hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.lp-hero-stats { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.lp-hero-stat-num { font-size: 26px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-hero-stat-label { font-size: 12px; color: var(--muted2); margin-top: 4px; }

/* Feature grid */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lp-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s var(--ease);
}
.lp-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: var(--shadow); }
.lp-card-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.lp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Modos */
.lp-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.lp-mode-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .2s var(--ease);
}
.lp-mode-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.35); }
.lp-mode-card i { font-size: 30px; margin-bottom: 14px; display: block; }
.lp-mode-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lp-mode-card p { font-size: 12.5px; color: var(--muted); }

/* Planos */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.lp-plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all .2s var(--ease);
}
.lp-plan:hover { transform: translateY(-4px); }
.lp-plan.featured { border-color: rgba(124,58,237,.5); background: linear-gradient(160deg, rgba(124,58,237,.10), var(--panel) 60%); box-shadow: 0 12px 32px rgba(124,58,237,.2); }
.lp-plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-plan-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.lp-plan-price { font-size: 36px; font-weight: 800; margin: 10px 0 6px; }
.lp-plan-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.lp-plan-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.lp-plan-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.lp-plan-feats div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--tx2); }
.lp-plan-feats i { color: #34d399; font-size: 12px; }

/* CTA final */
.lp-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(59,130,246,.12));
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
}
.lp-cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.lp-cta p { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); padding: 56px 28px 26px; }
.lp-footer-grid {
  max-width: 1180px; margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
}
.lp-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.lp-footer-grid > div:first-child p { font-size: 13px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.lp-footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin-bottom: 14px; }
.lp-footer-col a { display: block; font-size: 13px; color: var(--tx2); margin-bottom: 10px; transition: color .15s; }
.lp-footer-col a:hover { color: #a78bfa; }
.lp-footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 26px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted2); text-align: center; }

@media (max-width: 860px) {
  .lp-hero h1 { font-size: 36px; }
  .lp-section { padding: 60px 0; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-hero-stats { gap: 30px; }
}

/* ──────────────────────────────────────────────────────────────
   12. UTILITÁRIOS
   ────────────────────────────────────────────────────────────── */
.arc-hidden { display: none !important; }
.arc-flex { display: flex; }
.arc-text-center { text-align: center; }
.arc-mt-0 { margin-top: 0 !important; }