/* ===== VARIÁVEIS E RESET ===== */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A88B20;
  --navy: #0F1E3A;
  --navy-light: #1A2F55;
  --navy-mid: #162444;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-700: #495057;
  --gray-900: #212529;
  --success: #28A745;
  --danger: #DC3545;
  --warning: #FFC107;
  --info: #17A2B8;
  --sidebar-width: 260px;
  --header-height: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 15px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--gray-100); color: var(--gray-900); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* ===== LOGIN ===== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a6e 100%); position: relative; overflow: hidden; }
.login-page::before { content: '✝'; position: absolute; font-size: 400px; color: rgba(212,175,55,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.login-card { background: var(--white); border-radius: 20px; padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative; z-index: 1; }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo .cross { font-size: 48px; color: var(--gold); display: block; margin-bottom: 8px; }
.login-logo h1 { font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.5px; }
.login-logo p { color: var(--gray-500); font-size: 0.85rem; margin-top: 4px; }
.login-card h2 { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group .input-wrap { position: relative; }
.form-group .input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px 12px 40px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.95rem; transition: var(--transition); background: var(--gray-100);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.form-group input.no-icon, .form-group select.no-icon, .form-group textarea.no-icon { padding-left: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(212,175,55,0.4); }
.btn-secondary { background: var(--gray-200); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-300); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #c82333; }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #218838; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-block { width: 100%; justify-content: center; padding: 13px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-icon { padding: 8px; border-radius: 8px; }

/* ===== LAYOUT PRINCIPAL ===== */
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--white); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 100; transition: var(--transition); overflow-y: auto; }
.sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo { display: flex; align-items: center; gap: 12px; }
.sidebar-logo .logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--navy); flex-shrink: 0; }
.sidebar-logo .logo-text h2 { font-size: 0.95rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.sidebar-logo .logo-text span { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.nav-section { margin-bottom: 8px; }
.nav-section-title { font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1.5px; padding: 8px 10px 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500; transition: var(--transition); margin-bottom: 2px; cursor: pointer; }
.nav-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-item.active { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1)); color: var(--gold); border-left: 3px solid var(--gold); }
.nav-item i { width: 18px; text-align: center; font-size: 0.95rem; }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.user-info { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.05); }
.user-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--navy); font-weight: 700; flex-shrink: 0; }
.user-details { flex: 1; min-width: 0; }
.user-details .name { font-size: 0.82rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-details .role { font-size: 0.7rem; color: var(--gold); text-transform: capitalize; }
.btn-logout { background: none; color: rgba(255,255,255,0.5); padding: 6px; border-radius: 6px; transition: var(--transition); }
.btn-logout:hover { color: var(--danger); background: rgba(220,53,69,0.1); }

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content { margin-left: var(--sidebar-width); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar { height: var(--header-height); background: var(--white); border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.page-content { padding: 28px; flex: 1; }
.menu-toggle { display: none; background: none; color: var(--gray-700); font-size: 1.2rem; padding: 8px; border-radius: 8px; }
.menu-toggle:hover { background: var(--gray-100); }

/* ===== CARDS E COMPONENTES ===== */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 18px 22px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.card-body { padding: 22px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px; border-left: 4px solid var(--gold); transition: var(--transition); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-icon.gold { background: rgba(212,175,55,0.12); color: var(--gold-dark); }
.stat-icon.navy { background: rgba(15,30,58,0.08); color: var(--navy); }
.stat-icon.success { background: rgba(40,167,69,0.1); color: var(--success); }
.stat-icon.danger { background: rgba(220,53,69,0.1); color: var(--danger); }
.stat-info .value { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-info .label { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; font-weight: 500; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== TABELAS ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { background: var(--gray-100); padding: 12px 16px; text-align: left; font-size: 0.78rem; font-weight: 700; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--gray-200); white-space: nowrap; }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--gray-200); font-size: 0.88rem; color: var(--gray-700); vertical-align: middle; }
tbody tr:hover { background: rgba(212,175,55,0.03); }
tbody tr:last-child td { border-bottom: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(40,167,69,0.12); color: #1a7a32; }
.badge-danger { background: rgba(220,53,69,0.12); color: #a71d2a; }
.badge-warning { background: rgba(255,193,7,0.15); color: #856404; }
.badge-info { background: rgba(23,162,184,0.12); color: #0c6674; }
.badge-gold { background: rgba(212,175,55,0.15); color: var(--gold-dark); }
.badge-navy { background: rgba(15,30,58,0.1); color: var(--navy); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.25); transform: scale(0.95); transition: transform 0.25s; }
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white); z-index: 1; }
.modal-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.modal-close { background: var(--gray-100); border: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gray-700); transition: var(--transition); }
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; justify-content: flex-end; }

/* ===== ALERTAS ===== */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.alert-success { background: rgba(40,167,69,0.1); color: #1a7a32; border: 1px solid rgba(40,167,69,0.2); }
.alert-danger { background: rgba(220,53,69,0.1); color: #a71d2a; border: 1px solid rgba(220,53,69,0.2); }
.alert-warning { background: rgba(255,193,7,0.1); color: #856404; border: 1px solid rgba(255,193,7,0.2); }

/* ===== TOAST ===== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 380px; animation: slideIn 0.3s ease; border-left: 4px solid var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast i { font-size: 1.1rem; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }
.toast span { font-size: 0.88rem; font-weight: 500; color: var(--gray-700); flex: 1; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== PDV ===== */
.pdv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; height: calc(100vh - var(--header-height) - 56px); }
.pdv-left { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.pdv-search { display: flex; gap: 10px; }
.pdv-search input { flex: 1; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.95rem; transition: var(--transition); }
.pdv-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.produtos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; overflow-y: auto; padding-right: 4px; flex: 1; align-content: start; }
.produto-card { background: var(--white); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.produto-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.produto-card:active { transform: scale(0.97); }
.produto-card .prod-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; margin: 0 auto 10px; display: block; background: var(--gray-100); }
.produto-card .prod-img-placeholder { width: 60px; height: 60px; border-radius: 10px; background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(15,30,58,0.08)); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 1.5rem; color: var(--gold); }
.produto-card .prod-nome { font-size: 0.78rem; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.produto-card .prod-preco { font-size: 0.95rem; font-weight: 800; color: var(--gold-dark); }
.produto-card .prod-estoque { font-size: 0.7rem; color: var(--gray-500); margin-top: 2px; }
.produto-card.sem-estoque { opacity: 0.5; pointer-events: none; }

/* Carrinho */
.carrinho { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.carrinho-header { padding: 16px 18px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.carrinho-header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.carrinho-items { flex: 1; overflow-y: auto; padding: 12px; }
.carrinho-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--gray-100); margin-bottom: 8px; }
.carrinho-item .item-nome { flex: 1; font-size: 0.82rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.carrinho-item .item-preco { font-size: 0.78rem; color: var(--gray-500); }
.item-qty { display: flex; align-items: center; gap: 6px; }
.item-qty button { width: 26px; height: 26px; border-radius: 6px; background: var(--white); border: 1px solid var(--gray-300); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.item-qty button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.item-qty span { font-size: 0.88rem; font-weight: 700; min-width: 24px; text-align: center; }
.item-subtotal { font-size: 0.88rem; font-weight: 700; color: var(--navy); min-width: 60px; text-align: right; }
.item-remove { color: var(--gray-500); background: none; padding: 4px; border-radius: 4px; transition: var(--transition); }
.item-remove:hover { color: var(--danger); background: rgba(220,53,69,0.1); }
.carrinho-empty { text-align: center; padding: 40px 20px; color: var(--gray-500); }
.carrinho-empty i { font-size: 3rem; margin-bottom: 12px; display: block; opacity: 0.3; }
.carrinho-footer { padding: 16px 18px; border-top: 1px solid var(--gray-200); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.total-row .label { font-size: 0.85rem; color: var(--gray-500); }
.total-row .value { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }
.total-row.total-final .label { font-size: 1rem; font-weight: 700; color: var(--navy); }
.total-row.total-final .value { font-size: 1.4rem; font-weight: 800; color: var(--gold-dark); }
.pagamento-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.pgto-btn { padding: 10px 8px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-700); transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pgto-btn i { font-size: 1.1rem; }
.pgto-btn:hover, .pgto-btn.active { border-color: var(--gold); background: rgba(212,175,55,0.08); color: var(--navy); }
.troco-info { background: rgba(40,167,69,0.08); border: 1px solid rgba(40,167,69,0.2); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.troco-info span { font-size: 0.85rem; color: var(--success); font-weight: 600; }

/* ===== CUPOM ===== */
@media print {
  @page { size: 80mm auto; margin: 0; }
  html, body { margin: 0; padding: 0; }
  body * { visibility: hidden; }
  #cupom-print, #cupom-print * { visibility: visible; }
  #cupom-print {
    position: absolute;
    top: 0; left: 0;
    width: 80mm;
    padding: 4mm;
    box-sizing: border-box;
  }
  .cupom { page-break-inside: avoid; }
}
.cupom { width: 76mm; font-family: 'Courier New', monospace; font-size: 11px; padding: 8px; background: white; }
.cupom .loja-nome { text-align: center; font-size: 13px; font-weight: bold; margin-bottom: 2px; }
.cupom .loja-sub { text-align: center; font-size: 9px; color: #555; margin-bottom: 4px; }
.cupom .divider { border-top: 1px dashed #000; margin: 4px 0; }
.cupom .item-row { display: flex; justify-content: space-between; margin: 2px 0; }
.cupom .item-desc { flex: 1; }
.cupom .total-section { margin-top: 4px; }
.cupom .total-line { display: flex; justify-content: space-between; font-weight: bold; font-size: 12px; }
.cupom .pgto-line { display: flex; justify-content: space-between; margin-top: 3px; }
.cupom .mensagem { text-align: center; margin-top: 8px; font-style: italic; font-size: 9px; }
.cupom .data-hora { text-align: center; font-size: 9px; color: #555; margin-top: 3px; }

/* ===== GRÁFICO ===== */
.chart-bar-wrap { display: flex; flex-direction: column; gap: 8px; }
.chart-bar-item { display: flex; align-items: center; gap: 10px; }
.chart-bar-label { font-size: 0.78rem; color: var(--gray-700); min-width: 80px; text-align: right; }
.chart-bar-track { flex: 1; height: 22px; background: var(--gray-100); border-radius: 6px; overflow: hidden; }
.chart-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 6px; transition: width 0.6s ease; display: flex; align-items: center; padding-left: 8px; }
.chart-bar-fill span { font-size: 0.72rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.chart-bar-value { font-size: 0.78rem; font-weight: 700; color: var(--navy); min-width: 70px; }

/* ===== PONTO ===== */
.ponto-clock { text-align: center; padding: 32px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius); color: var(--white); }
.ponto-clock .time { font-size: 3.5rem; font-weight: 800; color: var(--gold); letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.ponto-clock .date { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
.ponto-status { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: 0.9rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.entrada { background: var(--success); box-shadow: 0 0 8px var(--success); }
.status-dot.saida { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

/* ===== FILTROS ===== */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select { padding: 9px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.88rem; transition: var(--transition); background: var(--white); }
.filters input:focus, .filters select:focus { border-color: var(--gold); }
.search-box { position: relative; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-size: 0.85rem; }
.search-box input { padding-left: 36px; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
  .pdv-layout { grid-template-columns: 1fr 340px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; }
  .pdv-layout { grid-template-columns: 1fr; height: auto; }
  .carrinho { height: 500px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-content { padding: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
  .filters { flex-direction: column; align-items: stretch; }
  .pagamento-btns { grid-template-columns: repeat(2, 1fr); }
}

/* ===== UTILITÁRIOS ===== */
.text-gold { color: var(--gold-dark); }
.text-navy { color: var(--navy); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.overlay-sidebar { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
.overlay-sidebar.open { display: block; }
