:root {
  --bg: #0b1220;
  --surface: #111a2d;
  --surface-2: #18233c;
  --text: #edf3ff;
  --muted: #9fb0ce;
  --primary: #4f7cff;
  --primary-2: #7b61ff;
  --success: #15c27a;
  --warning: #f4b740;
  --danger: #f25563;
  --info: #3ab7ff;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --surface-2: #f0f4ff;
  --text: #0d1a32;
  --muted: #4c5d7c;
  --border: rgba(11, 25, 51, 0.12);
  --shadow: 0 14px 26px rgba(18, 33, 66, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(1200px 500px at 10% -30%, rgba(79,124,255,.25), transparent), var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.btn {
  border: 0;
  border-radius: 12px;
  padding: .8rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-success { background: var(--success); color: #fff; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display:flex; align-items:center; justify-content:space-between; padding: .95rem 0; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: .3px; }
.brand span { color: var(--primary); }
.nav { display:flex; gap:.6rem; flex-wrap: wrap; }
.nav-link {
  padding: .55rem .85rem;
  border-radius: 10px;
  color: var(--muted);
}
.nav-link.is-active, .nav-link:hover { background: var(--surface); color: var(--text); }

.hero { padding: 4.2rem 0 2rem; display:grid; gap:1.1rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0; line-height: 1.05; }
.hero p { color: var(--muted); max-width: 70ch; }
.hero-actions { display:flex; gap:.8rem; flex-wrap:wrap; }

.grid { display:grid; gap:1rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 92%, #fff 8%), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.card h3, .card h4 { margin-top:0; }
.section { padding: 1.3rem 0; }
.kpi { font-size: 1.5rem; font-weight: 800; }
.muted { color: var(--muted); }

.table-wrap { overflow:auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width:100%; border-collapse: collapse; min-width: 740px; background: var(--surface); }
th, td { padding: .8rem; border-bottom: 1px solid var(--border); text-align:left; }
thead { background: var(--surface-2); }

.layout { display:grid; grid-template-columns: 270px 1fr; min-height: 100vh; }
.sidebar {
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: .9rem;
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}
.side-title { font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1rem 0 .4rem; }
.side-link { display:block; padding:.64rem .75rem; border-radius: 10px; color: var(--muted); }
.side-link:hover, .side-link.active { background: var(--surface-2); color: var(--text); }
.side-link--danger {
  border: 1px solid rgba(242, 85, 99, .25);
  color: color-mix(in srgb, var(--danger) 75%, var(--text));
}
.side-link--danger:hover { background: rgba(242,85,99,.12); }
.content { padding: 1.2rem; }
.toolbar {
  display:flex; justify-content:space-between; align-items:center; gap: .7rem;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: .8rem;
}
.input, select, textarea {
  width:100%; background: var(--surface-2); color: var(--text); border:1px solid var(--border);
  border-radius: 10px; padding: .68rem .78rem;
}
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:.9rem; }
.form-grid .col-2 { grid-column: span 2; }
.badge {
  border-radius: 999px; font-size: .72rem; padding:.3rem .55rem; font-weight: 700;
  border: 1px solid transparent;
}
.badge-success { background: rgba(21,194,122,.14); color:#5ff0ab; border-color: rgba(21,194,122,.35); }
.badge-warning { background: rgba(244,183,64,.15); color:#ffd281; border-color: rgba(244,183,64,.35); }
.badge-danger { background: rgba(242,85,99,.14); color:#ff9da7; border-color: rgba(242,85,99,.35); }
.badge-info { background: rgba(58,183,255,.14); color:#8fdcff; border-color: rgba(58,183,255,.35); }
.badge-muted, .badge-default { background: rgba(159,176,206,.14); color:#b8c7e4; border-color: rgba(159,176,206,.35); }

.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: var(--surface); border:1px solid var(--border); border-radius: 12px;
  padding: .8rem .9rem; box-shadow: var(--shadow); max-width: 320px;
}
.hidden { display:none !important; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .col-2 { grid-column: span 1; }
}

/* ===========================
   PREMIUM UI EXTENSIONS
   =========================== */

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.vix-animate-in { animation: vixFadeUp .45s ease both; }
@keyframes vixFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .vix-animate-in { animation: none; }
  .btn:hover { transform: none; }
}

.btn-sm { padding: .55rem .8rem; font-size: .92rem; border-radius: 10px; }
.btn-block { display: inline-flex; justify-content: center; width: 100%; }

.card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:.8rem; margin-bottom:.7rem; }
.card-head h3, .card-head h4 { margin: 0; }

.kpi-hint { margin-top: .2rem; font-size: .9rem; }
.kpi-label { font-size: .88rem; font-weight: 700; }
.card-kpi { padding: 1rem; }
.card-kpi .kpi { font-size: 1.6rem; }

.card-plan--featured {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  box-shadow: 0 18px 60px rgba(79,124,255,.18);
}
.plan-ribbon {
  position: absolute;
  top: 10px;
  right: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .72rem;
  color: #fff;
}
.card-plan { position: relative; }

.plan-price { display:flex; flex-direction: column; gap: .1rem; margin: .7rem 0 .2rem; }
.price-tag { font-weight: 900; font-size: 1.2rem; }

.checklist { padding-left: 1.1rem; margin: .6rem 0 .8rem; }
.checklist li { margin: .35rem 0; }

.card-actions { display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.8rem; }
.card-actions .btn { flex: 1; }

.filters-toolbar { gap: .6rem; }
.table-advanced td.td-actions, .table-advanced th.td-actions { text-align: right; }

.table-advanced table, .table-advanced { width: 100%; }
.table-advanced { background: var(--surface); }
.table-advanced thead th {
  background: var(--surface-2);
  position: sticky;
  top: 0;
}
.table-advanced td { vertical-align: middle; }

/* Dropdown */
.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .35rem;
}
.dropdown-panel a {
  display:block;
  padding: .6rem .75rem;
  border-radius: 10px;
  color: var(--text);
}
.dropdown-panel a:hover { background: var(--surface-2); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}
.modal.is-open { display: block; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.modal-panel {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  margin: 7vh auto 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  padding: 1rem 1rem .8rem 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-body { padding: 1rem; }
.modal-foot {
  padding: .9rem 1rem;
  display:flex;
  justify-content:flex-end;
  gap: .6rem;
  border-top: 1px solid var(--border);
}
.icon-btn {
  border: 0;
  background: var(--surface-2);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Tabs */
.tabs { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.tablist { display:flex; gap: .2rem; padding: .35rem; background: var(--surface-2); }
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  padding: .65rem .8rem;
  border-radius: 12px;
  cursor:pointer;
}
.tab.is-selected { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.tab-panel { padding: 1rem; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: .35rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display:flex; gap: .6rem; align-items:center; flex-wrap: wrap; }
.breadcrumbs a { color: var(--primary); font-weight: 700; }
.bc-sep { color: var(--muted); }
.bc-current { color: var(--text); font-weight: 900; }

/* Pagination */
.pagination { display:flex; align-items:center; justify-content:space-between; gap: 1rem; }
.pager-btns { display:flex; gap: .6rem; }

/* Timeline */
.timeline { list-style:none; padding: 0; margin: 0; display:flex; flex-direction: column; gap: .9rem; }
.timeline-item { display:flex; gap: .75rem; align-items:flex-start; }
.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  margin-top: .45rem;
  box-shadow: 0 0 0 6px rgba(79,124,255,.12);
}

/* Dots */
.dot { display:inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .6rem; }
.dot-success { background: var(--success); }
.dot-info { background: var(--info); }
.dot-warning { background: var(--warning); }
.dot-muted { background: rgba(159,176,206,.7); }

/* Lists */
.list-premium { list-style:none; padding: 0; margin: 0; display:flex; flex-direction:column; gap: .8rem; }
.list-premium li { display:flex; gap: .8rem; align-items:flex-start; }
.list-premium strong { display:block; margin-bottom: .2rem; }

/* Layout app */
.layout-app { grid-template-columns: 280px 1fr; }
.sidebar-premium { border-right: 0; background: rgba(17,26,45,.88); }
.sidebar-brand .small { font-size: .75rem; }
.sidebar-toggle, .sidebar-close { display:none; }
.app-main { padding-bottom: 3rem; }
.topbar-app { margin-bottom: 1rem; }

.content-app { padding-top: 0; }
.topbar-app-center { flex: 1; }

.sidebar-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 55;
}

.sidebar-scroll { display:flex; flex-direction:column; gap:.15rem; }

/* Mobile sidebar */
@media (max-width: 960px) {
  .layout-app { grid-template-columns: 1fr; }
  .layout-app .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 60; transform: translateX(-110%); transition: transform .25s ease; }
  .layout-app.sidebar--open .sidebar { transform: translateX(0); }
  .layout-app .sidebar-toggle { display:inline-flex; }
  .layout-app .sidebar-close { display:inline-flex; }
  .layout-app .topbar-app .sidebar-toggle { display:inline-flex; }
}

/* Hamburger icon */
.icon-menu {
  display:inline-block;
  width: 18px;
  height: 12px;
  position: relative;
}
.icon-menu:before, .icon-menu:after, .icon-menu span {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.icon-menu:before { top: 0; }
.icon-menu:after { bottom: 0; }

/* Chat thread */
.chat-thread {
  padding: 1rem;
  display:flex;
  flex-direction: column;
  gap: .75rem;
}
.chat-bubble {
  padding: .75rem .9rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  max-width: 75%;
}
.chat-bubble--them { background: var(--surface-2); align-self:flex-start; }
.chat-bubble--me { background: color-mix(in srgb, var(--primary) 20%, var(--surface-2)); align-self:flex-end; }
.chat-bubble .muted { margin-bottom: .25rem; }

/* CSS Chart (demo) */
.css-chart { display:flex; gap: .45rem; align-items:flex-end; height: 160px; padding: .2rem .1rem; }
.css-chart-bar {
  width: 18px;
  background: linear-gradient(180deg, rgba(79,124,255,.85), rgba(123,97,255,.65));
  border-radius: 10px;
  height: calc(var(--h) * 1%);
}

/* Loader / Skeleton */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 120;
  padding: 1rem;
}
.loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: var(--primary);
  animation: spin .7s linear infinite;
  margin-right: .8rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.page-loader { flex-direction: row; }

.skeleton-block { display:flex; flex-direction: column; gap: .6rem; }
.skeleton-line {
  height: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06));
  background-size: 200% 100%;
  animation: skeletonShimmer 1.2s ease infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.input-error { border-color: color-mix(in srgb, var(--danger) 65%, var(--border)) !important; }

.tabs .tab:focus { outline: 2px solid color-mix(in srgb, var(--primary) 55%, #fff); outline-offset: 2px; }

/* Alerts */
.alert {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.alert-info { border-color: rgba(58,183,255,.35); background: rgba(58,183,255,.08); }
.alert-success { border-color: rgba(21,194,122,.35); background: rgba(21,194,122,.08); }
.alert-warning { border-color: rgba(244,183,64,.35); background: rgba(244,183,64,.08); }
.alert-danger { border-color: rgba(242,85,99,.35); background: rgba(242,85,99,.08); }

/* Search / Topbar helpers */
.topbar-actions { display:flex; align-items:center; gap: .6rem; }
.search-global { display:flex; align-items:center; gap:.6rem; min-width: 240px; }
.search-ico {
  width: 10px;
  height: 10px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  position: relative;
  opacity: .9;
}
.search-ico:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--muted);
  right: -7px;
  bottom: -6px;
  transform: rotate(35deg);
  border-radius: 2px;
}
.input-search { padding-left: .9rem; }

/* Card variants */
.card-product-head, .card-service-top, .card-invoice-top, .card-ticket-top, .card-contract {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:.9rem;
}
.card-invoice-meta { display:flex; justify-content:space-between; align-items:flex-end; gap:1rem; flex-wrap:wrap; margin-top:.2rem; }
.card-service-meta { display:flex; justify-content:space-between; align-items:baseline; margin-top:.4rem; }
.dl-grid { display:grid; grid-template-columns: 1fr 1.5fr; gap: .55rem 1rem; margin: 0; }
.dl-grid dt { color: var(--muted); font-weight: 800; }
.dl-grid dd { margin: 0; }

.quick-actions .btn { margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SITE INSTITUCIONAL — ESTILOS PREMIUM
   ═══════════════════════════════════════════════════════════════════════════ */

/* Gradiente de texto */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Link primário */
.link-primary { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* Topbar site */
.brand-lg { font-size: 1.25rem; gap: .4rem; display: flex; align-items: center; }
.brand-icon { font-size: 1.1rem; color: var(--primary); }
.nav-site { gap: .3rem; }
.topbar-cta { display: flex; align-items: center; gap: .5rem; }
.sidebar-toggle-site { display: none; }

/* Mobile nav */
.mobile-nav {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: .4rem; }
.mobile-nav-links a {
  padding: .75rem 1rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
}
.mobile-nav-links a:hover { background: var(--surface-2); }
.mobile-nav-links hr { border: 0; border-top: 1px solid var(--border); margin: .5rem 0; }

/* Seções */
.section-sm { padding: .8rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: .4rem 0 .8rem; line-height: 1.1; }
.section-desc { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* Hero full */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 5rem;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 1.2rem; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 1.2rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; border-radius: 14px; }
.btn-arrow { margin-left: .4rem; transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.whatsapp-ico { margin-right: .5rem; }

.hero-stats { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 1.3rem; font-weight: 900; color: var(--text); }
.hero-stat-label { font-size: .82rem; color: var(--muted); }
.hero-stat-sep { color: var(--border); font-size: 1.5rem; }

/* Orbs de fundo */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,124,255,.2), transparent 70%);
  top: -200px; right: -100px;
}
.hero-bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,97,255,.15), transparent 70%);
  bottom: 0; left: -50px;
}
.hero-bg-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(21,194,122,.1), transparent 70%);
  top: 30%; left: 40%;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  display: block;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .4; }
}

/* Trust bar */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.trust-label { text-align: center; font-size: .82rem; margin-bottom: .8rem; }
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  opacity: .75;
}

/* Domain box */
.section-domain { }
.domain-box { padding: 2.5rem; text-align: center; }
.domain-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .5rem; }
.domain-form {
  display: flex;
  gap: .6rem;
  max-width: 600px;
  margin: 1.5rem auto 1rem;
  flex-wrap: wrap;
}
.domain-input { flex: 1; min-width: 0; font-size: 1rem; }
.domain-tlds { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.tld-badge {
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.product-card {
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 92%, #fff 8%), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.product-card h3 { margin: .7rem 0 .5rem; font-size: 1.1rem; }
.product-card--cta {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  background: linear-gradient(150deg, rgba(79,124,255,.08), var(--surface));
}
.product-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.product-icon--blue { background: rgba(79,124,255,.15); }
.product-icon--purple { background: rgba(123,97,255,.15); }
.product-icon--green { background: rgba(21,194,122,.15); }
.product-icon--orange { background: rgba(244,183,64,.15); }
.product-icon--teal { background: rgba(58,183,255,.15); }
.product-icon--gradient { background: linear-gradient(135deg, rgba(79,124,255,.2), rgba(123,97,255,.2)); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: .8rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.feature-list li {
  font-size: .9rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
  font-size: .85rem;
}

/* Plans section */
.section-plans { background: radial-gradient(800px 600px at 50% 0%, rgba(79,124,255,.06), transparent); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.plan-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.card-plan--featured {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  box-shadow: 0 24px 80px rgba(79,124,255,.22);
  transform: scale(1.02);
}
.plan-card-top h3 { margin: .5rem 0 .2rem; font-size: 1.2rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin: .4rem 0;
}
.plan-currency { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan-amount { font-size: 2.8rem; font-weight: 900; line-height: 1; color: var(--text); }
.plan-period { font-size: .9rem; color: var(--muted); }
.plan-features { color: var(--muted); font-size: .92rem; }
.plans-footer { text-align: center; margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; align-items: center; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.benefit-item { display: flex; flex-direction: column; gap: .6rem; }
.benefit-ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.benefit-ico--blue { background: rgba(79,124,255,.15); }
.benefit-ico--purple { background: rgba(123,97,255,.15); }
.benefit-ico--green { background: rgba(21,194,122,.15); }
.benefit-ico--orange { background: rgba(244,183,64,.15); }
.benefit-ico--teal { background: rgba(58,183,255,.15); }
.benefit-ico--red { background: rgba(242,85,99,.15); }
.benefit-item h4 { margin: 0; font-size: 1rem; }

/* Platform section */
.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.platform-checklist {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.platform-checklist li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
}
.check-ico {
  color: var(--success);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Platform mockup */
.platform-mockup { padding: 0; overflow: hidden; }
.mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot--red { background: #f25563; }
.mockup-dot--yellow { background: #f4b740; }
.mockup-dot--green { background: #15c27a; }
.mockup-url { font-size: .78rem; margin-left: .5rem; }
.mockup-content {
  display: flex;
  height: 280px;
  gap: 0;
}
.mockup-sidebar {
  width: 60px;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: 1rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mock-item {
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
}
.mock-active { background: rgba(79,124,255,.25); }
.mockup-main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.mock-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.mock-kpi { height: 55px; border-radius: 8px; }
.mock-chart { height: 90px; border-radius: 8px; }
.mock-table { flex: 1; border-radius: 8px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.testimonial-card { padding: 1.6rem; }
.testimonial-stars { color: var(--warning); font-size: 1rem; margin-bottom: .8rem; letter-spacing: .1em; }
.testimonial-card blockquote {
  margin: 0 0 1.2rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}

/* Certs */
.certs-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-align: center;
}
.cert-ico { font-size: 2rem; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.about-stat { display: flex; flex-direction: column; gap: .2rem; }
.about-stat-n { font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.tech-stack { padding: 1.5rem; }
.tech-stack h4 { margin: 0 0 1rem; }
.tech-items { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-tag {
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 800px; margin: 0 auto; }
.faq-item { padding: 0; cursor: pointer; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.1rem; }
.faq-answer p { margin: 0; color: var(--muted); line-height: 1.65; }

/* CTA final */
.section-cta { }
.cta-box { position: relative; overflow: hidden; padding: 4rem 3rem; text-align: center; }
.cta-bg-orb {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(79,124,255,.2), transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 .8rem; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .8rem; }
.footer-tagline { font-size: .88rem; margin: 0; }
.footer-social { display: flex; gap: .6rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.social-btn:hover { background: var(--primary); }
.footer-links {
  display: contents;
}
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h5 { margin: 0 0 .5rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }
.footer-col a { font-size: .9rem; color: var(--muted); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-tech { opacity: .65; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,.55);
}

/* Page title */
.page-title { margin: 0; font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA DE LOGIN — PREMIUM
   ═══════════════════════════════════════════════════════════════════════════ */

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-visual {
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 25%, var(--bg)), var(--bg));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.login-visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.login-visual-orb--1 {
  width: 350px; height: 350px;
  background: rgba(79,124,255,.25);
  top: -100px; right: -80px;
}
.login-visual-orb--2 {
  width: 250px; height: 250px;
  background: rgba(123,97,255,.2);
  bottom: -80px; left: -50px;
}
.login-visual-content { position: relative; z-index: 1; text-align: center; }
.login-visual-logo { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.login-visual-logo span { color: var(--primary); }
.login-visual-tagline { color: var(--muted); font-size: 1rem; max-width: 30ch; margin: 0 auto; }
.login-visual-stats { display: flex; gap: 2rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.login-stat { text-align: center; }
.login-stat-n { display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.login-stat-l { font-size: .78rem; color: var(--muted); }

.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--bg);
}
.login-box { width: 100%; max-width: 440px; }
.login-box h1 { font-size: 1.8rem; margin: 0 0 .3rem; }
.login-tabs { display: flex; gap: .4rem; margin: 1.5rem 0; background: var(--surface-2); padding: .3rem; border-radius: 12px; }
.login-tab {
  flex: 1;
  text-align: center;
  padding: .6rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  color: var(--muted);
  background: transparent;
  transition: all .2s;
}
.login-tab.active { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.form-label { font-size: .88rem; font-weight: 600; }
.form-hint { font-size: .8rem; color: var(--muted); }
.input-wrap { position: relative; }
.input-ico {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .9rem;
  pointer-events: none;
}
.input-with-ico { padding-left: 2.4rem; }
.login-options { display: flex; justify-content: space-between; align-items: center; margin: .5rem 0 1.2rem; font-size: .88rem; }
.login-sep { text-align: center; color: var(--muted); font-size: .82rem; margin: 1rem 0; position: relative; }
.login-sep::before, .login-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.login-sep::before { left: 0; }
.login-sep::after { right: 0; }
.login-footer-links { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; font-size: .88rem; }
.login-footer-links a { color: var(--muted); }
.login-footer-links a:hover { color: var(--text); }

.error-box {
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(242,85,99,.1);
  border: 1px solid rgba(242,85,99,.3);
  color: #ff9da7;
  font-size: .88rem;
  margin-bottom: 1rem;
  display: none;
}
.error-box.visible { display: block; }
.success-box {
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(21,194,122,.1);
  border: 1px solid rgba(21,194,122,.3);
  color: #5ff0ab;
  font-size: .88rem;
  margin-bottom: 1rem;
  display: none;
}
.success-box.visible { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   PLANOS — PÁGINA PREMIUM
   ═══════════════════════════════════════════════════════════════════════════ */

.plans-hero { padding: 3.5rem 0 2rem; text-align: center; }
.plans-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .5rem 0 .8rem; }
.billing-toggle {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .3rem;
  gap: .3rem;
  margin: 1.2rem auto;
}
.billing-btn {
  padding: .55rem 1.1rem;
  border-radius: 10px;
  border: 0;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: all .2s;
}
.billing-btn.active { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.discount-badge { color: var(--success); font-size: .8rem; font-weight: 800; margin-left: .4rem; }

.compare-table-wrap { overflow: auto; border-radius: var(--radius); border: 1px solid var(--border); margin-top: 3rem; }
.compare-table { background: var(--surface); width: 100%; min-width: 700px; }
.compare-table thead th { background: var(--surface-2); padding: 1rem; }
.compare-table td, .compare-table th { padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
.compare-table td:first-child { color: var(--muted); font-size: .9rem; }
.compare-check { color: var(--success); font-weight: 900; font-size: 1.1rem; }
.compare-cross { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE — MOBILE FIRST EXTRAS
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .platform-inner, .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form-area { min-height: 100vh; }
}

@media (max-width: 960px) {
  .nav-site, .topbar-cta { display: none; }
  .sidebar-toggle-site { display: inline-flex; }
  .hero-full { min-height: 80vh; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .domain-form { flex-direction: column; }
  .domain-form .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 1.5rem; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .whatsapp-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  .card-plan--featured { transform: none; }
}

@media (max-width: 600px) {
  .hero-stats { gap: .8rem; }
  .hero-stat-sep { display: none; }
  .certs-row { gap: 1.5rem; }
  .footer-links { grid-template-columns: 1fr; }
  .trust-logos { gap: 1rem; }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA DE PRODUTOS — CATÁLOGO PREMIUM
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero produtos */
.products-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(800px 400px at 80% 0%, rgba(79,124,255,.07), transparent);
}
.products-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.products-search-form { width: 100%; }
.products-search-box {
  display: flex;
  gap: .6rem;
}
.products-search-box .input { flex: 1; }

/* Categoria tabs */
.cat-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
  position: sticky;
  top: 56px;
  z-index: 10;
}
.cat-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: .1rem;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  white-space: nowrap;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all .18s;
  flex-shrink: 0;
}
.cat-tab:hover { background: var(--surface-2); color: var(--text); }
.cat-tab.active {
  background: rgba(79,124,255,.12);
  border-color: rgba(79,124,255,.4);
  color: var(--primary);
}

/* Grid do catálogo */
.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

/* Card do produto no catálogo */
.product-catalog-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  transition: transform .22s, box-shadow .22s;
}
.product-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.pcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .3rem;
}
.pcc-title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.pcc-desc { font-size: .88rem; line-height: 1.55; flex: 1; }
.pcc-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin: .3rem 0;
}
.pcc-from { font-size: .75rem; }
.pcc-value { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.pcc-period { font-size: .8rem; }
.pcc-actions {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}

/* Highlights de categoria */
.cat-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.cat-highlight-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.4rem;
  transition: transform .2s, border-color .2s;
}
.cat-highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79,124,255,.35);
}
.cat-highlight-card h4 { margin: 0; font-size: 1rem; }

/* Integrações */
.section-integrations { background: color-mix(in srgb, var(--surface) 50%, transparent); }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .85rem;
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.2rem .8rem;
  text-align: center;
}
.integration-item strong { font-size: .9rem; }
.integration-item span { font-size: .78rem; }
.integration-ico { margin-bottom: .1rem; }

/* Responsivo produtos */
@media (max-width: 960px) {
  .products-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cat-bar { top: 0; }
}
@media (max-width: 600px) {
  .products-search-box { flex-direction: column; }
  .products-catalog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAINEL ADMIN PREMIUM — Cliente VIX Master
   ═══════════════════════════════════════════════════════════════════════════ */

/* Layout raiz */
.vix-admin-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.vix-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 30;
  transition: transform .26s cubic-bezier(.4,0,.2,1);
}

.vix-sidebar-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1.1rem 1rem .8rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.vix-sidebar-logo {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .4px;
}
.vix-sidebar-logo span { color: var(--primary); }
.vix-sidebar-tag {
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  background: rgba(79,124,255,.13);
  border: 1px solid rgba(79,124,255,.3);
  border-radius: 999px;
  padding: .15rem .55rem;
  margin-left: auto;
}

.vix-sidebar-close {
  display: none;
  position: absolute;
  top: .7rem;
  right: .7rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: .2rem .45rem;
  border-radius: 6px;
  line-height: 1;
}
.vix-sidebar-close:hover { background: var(--surface-2); color: var(--text); }

.vix-sidebar-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.vsearch-ico { color: var(--muted); flex-shrink: 0; }
.vsearch-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: .84rem;
  font-family: inherit;
}
.vsearch-input::placeholder { color: var(--muted); }

.vix-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: .4rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.vix-sidebar-nav::-webkit-scrollbar { width: 4px; }
.vix-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.vix-sidebar-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Groups */
.vsb-group { margin-bottom: .1rem; }
.vsb-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .38rem .9rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  font-family: inherit;
  border-radius: 6px;
  margin-top: .35rem;
  transition: color .15s;
}
.vsb-group-head:hover { color: var(--text); }
.vsb-group-arrow { transition: transform .2s; opacity: .6; }
.vsb-group-head[aria-expanded="false"] .vsb-group-arrow { transform: rotate(-90deg); }

/* Links */
.vsb-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .48rem .9rem;
  border-radius: 8px;
  margin: 1px .4rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all .16s;
  cursor: pointer;
}
.vsb-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.vsb-link--active {
  background: rgba(79,124,255,.13);
  color: var(--primary);
  font-weight: 700;
}
.vsb-link--active .vsb-link-ico { color: var(--primary); }
.vsb-link-ico { flex-shrink: 0; color: inherit; display: flex; }
.vsb-link-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Logout link */
.vix-sidebar-logout {
  padding: .5rem .4rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.vsb-link--danger { color: var(--danger); }
.vsb-link--danger:hover { background: rgba(242,85,99,.1); color: var(--danger); }

/* Scrim (mobile) */
.vix-sidebar-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 29;
}

/* ── Main area ─────────────────────────────────────────────────────────────── */
.vix-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* ── Topbar ────────────────────────────────────────────────────────────────── */
.vix-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 1.2rem;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.vix-topbar-left {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
}
.vix-topbar-burger {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: .35rem .45rem;
  cursor: pointer;
  display: none;
  line-height: 0;
  flex-shrink: 0;
}
.vix-topbar-burger:hover { background: var(--surface-2); color: var(--text); }

/* Breadcrumb */
.vix-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8rem;
}
.vix-breadcrumb a { color: var(--muted); transition: color .15s; }
.vix-breadcrumb a:hover { color: var(--text); }
.vbc-sep { color: var(--muted); opacity: .5; }
.vbc-current { color: var(--text); font-weight: 600; }

.vix-topbar-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.vix-topbar-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .4rem .75rem;
  color: var(--muted);
}
.vtb-search-input {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: .84rem;
  font-family: inherit;
  width: 180px;
}
.vtb-search-input::placeholder { color: var(--muted); }

.vix-topbar-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .38rem .48rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
  position: relative;
  transition: all .15s;
}
.vix-topbar-btn:hover { background: var(--surface-2); color: var(--text); }

.notif-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--danger);
  border: 1.5px solid var(--surface);
}

/* Avatar */
.vix-topbar-notif, .vix-topbar-avatar { position: relative; }
.vix-avatar-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .38rem .65rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  color: var(--text);
  transition: all .15s;
}
.vix-avatar-btn:hover { border-color: rgba(79,124,255,.4); }
.vix-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(79,124,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* Dropdown panel */
.vix-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  padding: .4rem;
  z-index: 100;
}
.vdp-head {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  padding: .3rem .6rem .5rem;
}
.vdp-empty { font-size: .84rem; padding: .4rem .6rem; }
.vix-dropdown-panel a, .vix-dropdown-panel button {
  display: block;
  width: 100%;
  padding: .48rem .6rem;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--text);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.vix-dropdown-panel a:hover, .vix-dropdown-panel button:hover { background: var(--surface-2); }
.vdp-sep { border: 0; border-top: 1px solid var(--border); margin: .3rem 0; }
.vdp-danger { color: var(--danger) !important; }
.vdp-danger:hover { background: rgba(242,85,99,.1) !important; }

/* ── Content area ──────────────────────────────────────────────────────────── */
.vix-content {
  flex: 1;
  padding: 1.5rem 1.6rem;
}
.vix-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.vix-page-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}

/* ── KPI Cards ─────────────────────────────────────────────────────────────── */
.vix-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.vix-kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  transition: transform .2s, box-shadow .2s;
}
.vix-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.vix-kpi-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(79,124,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vix-kpi-body { min-width: 0; }
.vix-kpi-value { font-size: 1.35rem; font-weight: 900; line-height: 1.1; }
.vix-kpi-label { font-size: .8rem; margin-top: .15rem; }
.vix-kpi-delta { font-size: .76rem; font-weight: 700; margin-top: .2rem; }
.kpi-up { color: var(--success); }
.kpi-down { color: var(--danger); }

/* ── Toolbar (filtros + ação) ──────────────────────────────────────────────── */
.vix-toolbar {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.vix-toolbar .input { min-width: 220px; flex: 1; }
.vix-toolbar-right { margin-left: auto; display: flex; gap: .5rem; }

/* ── Table ─────────────────────────────────────────────────────────────────── */
.vix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.vix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.vix-table th {
  background: var(--surface-2);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.vix-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  vertical-align: middle;
}
.vix-table tbody tr:last-child td { border-bottom: 0; }
.vix-table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }

/* ── Pagination ────────────────────────────────────────────────────────────── */
.vix-pagination {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
}
.vp-btn {
  min-width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0 .5rem;
  transition: all .15s;
}
.vp-btn:hover { background: var(--surface-2); color: var(--text); }
.vp-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Forms admin ────────────────────────────────────────────────────────────── */
.vix-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  max-width: 760px;
}
.vix-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}
.vix-form-grid .col-2 { grid-column: 1 / -1; }
.vix-form-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ── Section cards ─────────────────────────────────────────────────────────── */
.vix-section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.2rem;
}
.vix-section-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.vix-section-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Module stub ────────────────────────────────────────────────────────────── */
.vix-module-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  gap: 1rem;
}
.vms-ico { color: var(--muted); opacity: .6; }
.vix-module-stub h2 { font-size: 1.4rem; margin: 0; }
.vix-module-stub p { max-width: 42ch; }
.vms-badges { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }

/* ── Alert rows ─────────────────────────────────────────────────────────────── */
.vix-alert-list { display: flex; flex-direction: column; gap: .55rem; }
.vix-alert-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--surface-2);
  border-radius: 10px;
  border-left: 3px solid var(--warning);
  font-size: .88rem;
}
.vix-alert-item.vai--danger { border-color: var(--danger); }
.vix-alert-item.vai--success { border-color: var(--success); }
.vix-alert-item.vai--info { border-color: var(--info); }

/* ── Integration cards ─────────────────────────────────────────────────────── */
.vix-integ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.vix-integ-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: border-color .2s, transform .2s;
}
.vix-integ-card:hover { border-color: rgba(79,124,255,.4); transform: translateY(-2px); }
.vix-integ-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vix-integ-name { font-weight: 800; font-size: .95rem; }
.vix-integ-desc { font-size: .82rem; color: var(--muted); }
.vix-integ-status {
  font-size: .72rem;
  font-weight: 800;
  padding: .22rem .6rem;
  border-radius: 999px;
}
.vis--active { background: rgba(21,194,122,.15); color: var(--success); }
.vis--inactive { background: rgba(159,176,206,.1); color: var(--muted); }
.vis--error { background: rgba(242,85,99,.12); color: var(--danger); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vix-admin-wrap { grid-template-columns: 1fr; }
  .vix-sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 280px;
    transform: translateX(-100%);
    z-index: 40;
  }
  .vix-sidebar--open { transform: translateX(0); }
  .vix-sidebar-close { display: block; }
  body.sidebar-open .vix-sidebar-scrim { display: block; }
  .vix-topbar-burger { display: flex; }
  .vtb-search-input { width: 120px; }
}
@media (max-width: 700px) {
  .vix-content { padding: 1rem .9rem; }
  .vix-kpi-grid { grid-template-columns: 1fr 1fr; }
  .vix-form-grid { grid-template-columns: 1fr; }
  .vix-form-grid .col-2 { grid-column: 1; }
  .vix-topbar-search { display: none; }
}
@media (max-width: 480px) {
  .vix-kpi-grid { grid-template-columns: 1fr; }
}

