:root {
  --primary: #6c3fc5;
  --primary-dark: #5a32a3;
  --primary-light: #8b5cf6;
  --sidebar-width: 245px;
  --topbar-h: 64px;
  --card-radius: 14px;
  --body-bg: #f0edf8;
}

/* ══════════════════════════════════════════════
   BASE
   ══════════════════════════════════════════════ */
* { box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--body-bg); color: #1e1b2e; margin: 0; }
a { text-decoration: none; }

/* ══════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════ */
.main-wrapper { margin-left: var(--sidebar-width); min-height: 100vh; overflow-x: hidden; }
.content-area { padding: 1.5rem; }

/* ══════════════════════════════════════════════
   SIDEBAR — tema claro
   ══════════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background: #fff;
  border-right: 1px solid #e9e5f5;
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #e9e5f5 transparent;
  transition: transform .3s ease;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #e9e5f5; border-radius: 4px; }

/* Brand */
.sidebar-brand {
  padding: 1rem 1rem .9rem;
  display: flex; align-items: center; gap: .65rem;
  border-bottom: 1px solid #f0edf8;
  flex-shrink: 0;
}
.sidebar-brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-brand-icon i { color: #fff; font-size: 1.2rem; }
.sidebar-brand-name { font-size: 1.1rem; font-weight: 800; color: var(--primary); line-height: 1; }
.sidebar-brand-name span { color: #f59e0b; }
.sidebar-brand-badge { display: none; }

/* Section label */
.sidebar-section-label {
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: #9ca3af; padding: .9rem 1rem .3rem;
}

/* Items */
.sidebar-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .52rem 1rem;
  color: #374151; font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: all .15s;
  border-left: 3px solid transparent;
  margin: .5px 0; position: relative;
}
.sidebar-item i { font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-item:hover { color: var(--primary); background: #f0ebff; border-left-color: rgba(108,63,197,.4); }
.sidebar-item.active { color: var(--primary); background: #ede9ff; border-left-color: var(--primary); font-weight: 700; }

/* Dark sidebar theme (superadmin) */
.sidebar-dark .sidebar-item { color: #e5e7eb; }
.sidebar-dark .sidebar-item:hover { color: #c4b5fd; background: rgba(139,92,246,.15); border-left-color: rgba(139,92,246,.5); }
.sidebar-dark .sidebar-item.active { color: #c4b5fd; background: rgba(139,92,246,.2); border-left-color: #a78bfa; font-weight: 700; }
.sidebar-dark .sidebar-section-label { color: #6b7280; }
.sidebar-dark .sidebar-bottom { border-top-color: rgba(255,255,255,.1); }
.sidebar-dark .sidebar-user-name { color: #e5e7eb; }
.sidebar-dark .sidebar-user-role { color: #9ca3af; }

/* Sub-items inside open group — indented with vertical guide line */
.sidebar-group-body .sidebar-item {
  padding-left: 1.15rem;
  font-size: .86rem;
  color: #4b5563;
  border-left: none;
  margin-left: 2.35rem;
  border-radius: 8px;
  margin-right: 4px;
}
.sidebar-group-body .sidebar-item:hover { color: var(--primary); background: #ede9ff; }
.sidebar-group-body .sidebar-item.active { color: var(--primary); background: #ddd6fe; font-weight: 700; }

/* Quick nav */
.sidebar-quicknav { padding-top: .25rem; }

/* Divider */
.sidebar-divider { height: 1px; background: #f0edf8; margin: .35rem 0; }

/* Group accordion */
.sidebar-group {
  border: none;
  border-radius: 12px;
  margin: 1px 6px;
  overflow: hidden;
  transition: background .18s;
}

.sidebar-group-header {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .9rem;
  cursor: pointer; list-style: none;
  font-size: .8rem; font-weight: 700;
  color: #374151;
  user-select: none;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.sidebar-group-header::-webkit-details-marker { display: none; }
.sidebar-group-header:hover { color: var(--primary); background: #f0ebff; }

/* Aberto — fundo colorido e header destacado */
details.sidebar-group[open] {
  background: #f5f0ff;
  margin-bottom: 4px;
}
details.sidebar-group[open] > summary.sidebar-group-header {
  color: var(--primary);
  background: transparent;
  font-weight: 800;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #ede9ff;
  padding-bottom: .55rem;
  margin-bottom: 2px;
}

.sidebar-group-icon {
  width: 24px; height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}

.sidebar-chevron {
  margin-left: auto; font-size: .72rem;
  color: #9ca3af; transition: transform .22s;
}
details.sidebar-group[open] > summary .sidebar-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.sidebar-group-body {
  padding: 4px 6px 6px;
  position: relative;
}
/* Linha vertical guia dos sub-itens */
.sidebar-group-body::before {
  content: '';
  position: absolute;
  left: 2.7rem;
  top: 4px;
  bottom: 6px;
  width: 1.5px;
  background: #ddd6fe;
  border-radius: 2px;
}

/* Badge (suporte) */
.sidebar-badge {
  background: #ef4444; color: #fff;
  border-radius: 99px; font-size: .62rem; font-weight: 700;
  padding: .12rem .45rem; margin-left: auto;
}

/* Bottom */
.sidebar-bottom { margin-top: auto; padding: .5rem 0; border-top: 1px solid #f0edf8; }
.sidebar-user { display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; }
.sidebar-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; flex-shrink: 0;
}
.sidebar-user-name { font-size: .82rem; font-weight: 600; color: #374151; line-height: 1.2; }
.sidebar-user-role { font-size: .68rem; color: #9ca3af; }

.sidebar-item-store { color: var(--primary); font-weight: 600; }
.sidebar-item-danger { color: #ef4444 !important; }
.sidebar-item-danger:hover { background: #fef2f2 !important; border-left-color: #ef4444 !important; }

/* ══════════════════════════════════════════════
   TOPBAR — gradiente roxo
   ══════════════════════════════════════════════ */
.topbar {
  height: var(--topbar-h);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem; gap: 1rem;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(108,63,197,.35);
}
.topbar-title { color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }
.topbar-right  { display: flex; align-items: center; gap: .75rem; }

.topbar-user { display: flex; align-items: center; gap: .5rem; }
.topbar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  border: 2px solid rgba(255,255,255,.35);
}
.topbar-user-name { color: #fff; font-size: .88rem; font-weight: 600; }
.topbar-company  { color: rgba(255,255,255,.65); font-size: .76rem; display: block; }

.topbar-btn-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none;
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .95rem; transition: background .15s;
}
.topbar-btn-icon:hover { background: rgba(255,255,255,.25); }

/* Topbar overflow fix — left group shrinks, right group stays fixed */
.topbar > div:first-child { min-width: 0; overflow: hidden; }
.topbar > .ms-auto { flex-shrink: 0; }

/* Toggle sidebar (mobile) */
.toggle-sidebar {
  background: rgba(255,255,255,.15); border: none;
  color: #fff; border-radius: 8px;
  width: 36px; height: 36px;
  display: none; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: background .15s;
}
.toggle-sidebar:hover { background: rgba(255,255,255,.25); }
.btn-icon { background: transparent; border: none; cursor: pointer; padding: .3rem .5rem; border-radius: 6px; }

/* Overlay */
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; }
.overlay.show { display: block; }

/* ══════════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════════ */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.page-header h1 { font-size: 1.4rem; font-weight: 800; color: #1e1b2e; margin: 0; }

/* ══════════════════════════════════════════════
   DASHBOARD — GREETING
   ══════════════════════════════════════════════ */
.dash-greeting {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.75rem;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.dash-greeting::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -60px; right: -40px;
}
.dash-greeting::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  bottom: -30px; right: 120px;
}
.dash-greeting-title { font-size: 1.35rem; font-weight: 800; margin-bottom: .25rem; }
.dash-greeting-title span { color: #c4b5fd; }
.dash-greeting-sub { color: rgba(255,255,255,.7); font-size: .85rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dash-greeting-badge {
  background: rgba(255,255,255,.18);
  border-radius: 99px; padding: .25rem .75rem;
  font-size: .78rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
}

/* ══════════════════════════════════════════════
   KPI CARDS — gradiente colorido
   ══════════════════════════════════════════════ */
.kpi-card {
  border-radius: var(--card-radius);
  padding: 1.2rem 1.1rem;
  position: relative; overflow: hidden; height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.kpi-card::after {
  content: '';
  position: absolute;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  bottom: -20px; right: -20px;
}
.kpi-card .kpi-label { font-size: .73rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card .kpi-value { font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1; }
.kpi-card .kpi-sub   { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: .3rem; }
.kpi-card .kpi-icon  { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; opacity: .2; }

.kpi-purple { background: linear-gradient(135deg, #6c3fc5 0%, #8b5cf6 100%); }
.kpi-green  { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.kpi-orange { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }
.kpi-pink   { background: linear-gradient(135deg, #db2777 0%, #ec4899 100%); }
.kpi-blue   { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%); }
.kpi-teal   { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }

/* ══════════════════════════════════════════════
   STAT CARDS — fundo branco
   ══════════════════════════════════════════════ */
.stat-card {
  background: #fff; border-radius: var(--card-radius);
  padding: 1.2rem; border: 1px solid #ede9ff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.stat-value { font-size: 1.9rem; font-weight: 900; color: #1e1b2e; line-height: 1; }
.stat-label { font-size: .76rem; color: #9ca3af; margin-top: .3rem; font-weight: 500; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

/* ══════════════════════════════════════════════
   CARDS GERAIS
   ══════════════════════════════════════════════ */
.card { background: #fff; border-radius: var(--card-radius); border: 1px solid #ede9ff; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.card-header {
  background: #fff; border-bottom: 1px solid #f3f4f6;
  padding: .9rem 1.2rem; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  color: #1e1b2e;
}
.card-body { padding: 1.2rem; }

/* ══════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════ */
.table { font-size: .86rem; margin: 0; }
.table thead th {
  font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .05em;
  color: #9ca3af; border-bottom: 1px solid #f3f4f6;
  padding: .65rem 1rem; background: #fafafa; white-space: nowrap;
}
.table tbody td { padding: .7rem 1rem; border-bottom: 1px solid #f9f8ff; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #faf8ff; }

/* Status badges */
.badge-confirmed { background: #d1fae5; color: #065f46; border-radius: 99px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge-pending   { background: #fef3c7; color: #92400e; border-radius: 99px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge-cancelled { background: #fee2e2; color: #991b1b; border-radius: 99px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge-completed { background: #ede9ff; color: #5b21b6; border-radius: 99px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge-expired   { background: #f3f4f6; color: #6b7280; border-radius: 99px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }

/* ══════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════ */
.form-label { font-size: .82rem; font-weight: 600; color: #374151; margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-size: .88rem; padding: .55rem .8rem;
  color: #1e1b2e; background: #fff; transition: all .15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,63,197,.1); outline: none;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn-primary-admin {
  background: var(--primary); border-color: var(--primary);
  color: #fff; border-radius: 8px; font-weight: 600;
  padding: .5rem 1.1rem; font-size: .875rem;
}
.btn-primary-admin:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-sm-action { border: none; border-radius: 6px; padding: .3rem .65rem; font-size: .78rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.btn-edit   { background: #eff6ff; color: #2563eb; }
.btn-edit:hover { background: #dbeafe; }
.btn-delete { background: #fef2f2; color: #dc2626; }
.btn-delete:hover { background: #fee2e2; }
.btn-view   { background: #f0fdf4; color: #16a34a; }
.btn-view:hover { background: #dcfce7; }

/* ══════════════════════════════════════════════
   AGENDA / CALENDAR
   ══════════════════════════════════════════════ */
.cal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-nav-btn { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: .4rem .9rem; cursor: pointer; font-weight: 600; }
.cal-today-btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.admin-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day-header { text-align: center; font-size: .75rem; font-weight: 700; color: #6b7280; padding: .5rem; background: #fafafa; }
.cal-cell { min-height: 100px; border: 1px solid #f0f0f0; padding: .5rem; background: #fff; border-radius: 6px; cursor: pointer; transition: background .2s; }
.cal-cell:hover { background: #faf8ff; }
.cal-cell.today { background: #f3f0ff; border-color: var(--primary); }
.cal-cell .day-num { font-size: .8rem; font-weight: 600; color: #374151; margin-bottom: .3rem; }
.cal-event { font-size: .72rem; padding: .2rem .4rem; border-radius: 4px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.cal-event-confirmed { background: #d1fae5; color: #065f46; }
.cal-event-pending   { background: #fef3c7; color: #92400e; }

/* ══════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════ */
.modal-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.modal-header .btn-close { filter: invert(1); }

/* ══════════════════════════════════════════════
   CHART
   ══════════════════════════════════════════════ */
.chart-container { position: relative; height: 230px; }

/* ══════════════════════════════════════════════
   SIMULADOR
   ══════════════════════════════════════════════ */
.sim-log { background: #1e1b2e; border-radius: 10px; padding: 1rem; height: 280px; overflow-y: auto; font-family: 'Courier New', monospace; font-size: .82rem; }
.sim-log .log-line { padding: .15rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.sim-log .log-info { color: #60a5fa; }
.sim-log .log-success { color: #34d399; }
.sim-log .log-error { color: #f87171; }
.sim-log .log-warn { color: #fbbf24; }

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤992px)
   ══════════════════════════════════════════════ */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; }
  .overlay { display: none; }
  .overlay.show { display: block; }
  .toggle-sidebar { display: flex; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤768px)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .content-area { padding: 1rem .75rem; }
  .page-header { flex-direction: column; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; }
  .page-header h1 { font-size: 1.2rem; }
  .kpi-card .kpi-value { font-size: 1.5rem; }
  .chart-container { height: 200px; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 540px; }
  .table th, .table td { font-size: .8rem; white-space: nowrap; padding: .55rem .75rem; }
  .card-body { padding: 1rem; }
  .topbar { padding: 0 .75rem; }
  .row.g-3 > [class*="col-md"] { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-greeting { padding: 1.2rem 1.25rem; }
  .dash-greeting-title { font-size: 1.15rem; }
  .btn-sm-action { min-height: 36px; }
  .btn-primary-admin { min-height: 40px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Phone (≤480px)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .content-area { padding: .75rem .5rem; }
  .topbar-company { display: none; }
  .topbar-user-name { display: none; }
  .chart-container { height: 170px; }
  .card-body { padding: .75rem; }
  .modal-dialog { margin: .5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .dash-greeting-sub { gap: .5rem; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Landscape phone
   ══════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  .sidebar-brand { padding: .6rem 1rem; }
  .chart-container { height: 150px; }
}

/* Security page card hover */
.sec-card:hover { background: rgba(255,255,255,.07) !important; border-color: rgba(79,70,229,.4) !important; }

/* ══════════════════════════════════════════════
   SETUP GUIDE — empty-state com checklist
   ══════════════════════════════════════════════ */
.setup-guide { background:linear-gradient(135deg,#f8f5ff 0%,#faf9ff 100%); border-radius:16px; padding:2.5rem 2rem; max-width:680px; margin:1.5rem auto; text-align:center; }
.setup-guide-icon { width:80px; height:80px; border-radius:50%; background:linear-gradient(135deg,#6c3fc5,#8b5cf6); display:flex; align-items:center; justify-content:center; margin:0 auto 1.25rem; font-size:2rem; color:#fff; box-shadow:0 8px 24px rgba(108,63,197,.3); }
.setup-guide h4 { font-size:1.2rem; font-weight:800; color:#1e1b2e; margin-bottom:.3rem; }
.setup-guide .sg-sub { color:#6b7280; font-size:.88rem; margin-bottom:1.75rem; }
.setup-checklist { list-style:none; padding:0; margin:0 0 1.75rem; text-align:left; }
.setup-checklist li { display:flex; align-items:flex-start; gap:.85rem; padding:.7rem 0; border-bottom:1px solid #ede9f5; }
.setup-checklist li:last-child { border-bottom:none; }
.sg-num { width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.82rem; font-weight:800; flex-shrink:0; margin-top:.05rem; }
.sg-num.sg-done    { background:#dcfce7; color:#16a34a; }
.sg-num.sg-active  { background:linear-gradient(135deg,#6c3fc5,#8b5cf6); color:#fff; }
.sg-num.sg-pending { background:#f0edf8; color:#9ca3af; }
.sg-body { flex:1; }
.sg-title { font-weight:700; font-size:.87rem; color:#1e1b2e; line-height:1.3; }
.sg-desc  { font-size:.78rem; color:#6b7280; margin-top:.15rem; }
.sg-link  { font-size:.78rem; font-weight:600; color:#6c3fc5; margin-top:.2rem; display:inline-block; }
.sg-link:hover { color:#4f2fa3; }
.sg-cta { background:linear-gradient(135deg,#6c3fc5,#8b5cf6); border:none; color:#fff; border-radius:10px; padding:.65rem 1.75rem; font-weight:700; font-size:.9rem; cursor:pointer; transition:opacity .2s; }
.sg-cta:hover { opacity:.9; color:#fff; }
.sg-faq { margin-top:1.5rem; text-align:left; }
.sg-faq-item { border:1px solid #e9e5f5; border-radius:10px; margin-bottom:.5rem; overflow:hidden; background:#fff; }
.sg-faq-q { padding:.7rem 1rem; font-weight:600; font-size:.83rem; cursor:pointer; display:flex; justify-content:space-between; align-items:center; color:#374151; user-select:none; }
.sg-faq-q:hover { background:#f8f5ff; }
.sg-faq-a { padding:.6rem 1rem .8rem; font-size:.81rem; color:#4b5563; background:#faf9ff; display:none; line-height:1.6; }
.sg-faq-item.sg-open .sg-faq-a { display:block; }
.sg-faq-item.sg-open .sg-chevron { transform:rotate(180deg); }
.sg-chevron { transition:transform .2s; font-size:.75rem; color:#9ca3af; flex-shrink:0; }
