/**
 * GRUPO BIN HOLDING - ESTILOS VISUAIS & IDENTIDADE CORPORATIVA
 * "A rede de confiança"
 * Cores principais:
 * - Preto Carvão: #121214 / #1A1A1D
 * - Dourado Nobre: #C9A961 (variações #E3C98A e #A8873F)
 * - Prata Metálico: #C0C0C0 / #E5E5E5
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800;900&display=swap');

:root {
  --gb-bg-dark: #121214;
  --gb-bg-card: #18181c;
  --gb-bg-elevated: #222228;
  --gb-gold: #c9a961;
  --gb-gold-light: #e3c98a;
  --gb-gold-dark: #a8873f;
  --gb-gold-gradient: linear-gradient(135deg, #e3c98a 0%, #c9a961 50%, #a8873f 100%);
  --gb-silver: #c0c0c0;
  --gb-silver-light: #f1f5f9;
  --gb-text-primary: #ffffff;
  --gb-text-secondary: #cbd5e1;
  --gb-text-muted: #94a3b8;
  --gb-border: rgba(201, 169, 97, 0.25);
  --gb-border-strong: rgba(201, 169, 97, 0.55);
  --gb-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --gb-glow: 0 0 25px rgba(201, 169, 97, 0.25);
}

/* ==========================================================================
   1. TELA DE ENTRADA / SPLASH SCREEN DA HOLDING
   ========================================================================== */
.holding-splash-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.holding-splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.holding-splash-container {
  max-width: 580px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: gbFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gbFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.holding-splash-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

.holding-splash-logo {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), var(--gb-glow);
  border: 1.5px solid var(--gb-border);
  position: relative;
  overflow: hidden;
}

.holding-splash-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(227, 201, 138, 0.25), transparent);
  transform: skewX(-25deg);
  animation: gbSheen 4s infinite 1s ease-in-out;
  pointer-events: none;
}

@keyframes gbSheen {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.holding-splash-title {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  background: var(--gb-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.holding-splash-tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gb-silver);
  text-transform: uppercase;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.holding-splash-tagline::before,
.holding-splash-tagline::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--gb-gold);
  opacity: 0.7;
}

.holding-splash-desc {
  font-size: 14px;
  color: var(--gb-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  padding: 0 16px;
}

.holding-splash-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-holding-enter {
  background: var(--gb-gold-gradient);
  color: #121214;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-holding-enter:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(201, 169, 97, 0.5);
}

.btn-holding-skip {
  background: transparent;
  color: var(--gb-silver);
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.btn-holding-skip:hover {
  opacity: 1;
  color: var(--gb-gold-light);
}

/* ==========================================================================
   SELEÇÃO DE EMPRESAS NO INÍCIO DA HOLDING (1-CLIQUE PARA SENHA / CADASTRO)
   ========================================================================== */
.holding-splash-companies-section {
  width: 100%;
  margin: 18px 0 22px 0;
  text-align: left;
}

.holding-splash-companies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.holding-splash-companies-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gb-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.holding-splash-companies-sub {
  font-size: 11px;
  color: var(--gb-silver);
  font-weight: 600;
}

.holding-companies-grid-splash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  max-height: 270px;
  overflow-y: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--gb-gold) rgba(255, 255, 255, 0.05);
}

.holding-company-splash-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 24, 38, 0.85);
  border: 1.2px solid rgba(201, 169, 97, 0.28);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.holding-company-splash-card:hover {
  background: rgba(26, 36, 56, 0.98);
  border-color: var(--gb-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 169, 97, 0.38);
}

.holding-company-splash-card .splash-card-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 97, 0.4);
  flex-shrink: 0;
}

.holding-company-splash-card .splash-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.holding-company-splash-card .splash-card-info {
  flex: 1;
  min-width: 0;
}

.holding-company-splash-card .splash-card-info h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.holding-company-splash-card .splash-card-info p {
  margin: 3px 0 0;
  font-size: 11px;
  color: #cbd5e1 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.holding-company-splash-card .splash-card-action {
  font-size: 11px;
  font-weight: 800;
  color: #0b1320 !important;
  background: linear-gradient(135deg, #fce7b2 0%, #c9a961 100%) !important;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  letter-spacing: 0.4px;
  transition: all 0.2s;
}

.holding-company-splash-card:hover .splash-card-action {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   2. LOGIN EXECUTIVO DA GRUPO BIN HOLDING
   ========================================================================== */
.gb-login-brand-header {
  text-align: center;
  margin-bottom: 20px;
}

.gb-login-logo-mini {
  width: 140px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-glow);
  margin-bottom: 12px;
}

.gb-login-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

.gb-login-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gb-gold-light);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ==========================================================================
   3. HUB DA HOLDING (CENTRAL MULTIEMPRESAS)
   ========================================================================== */
.holding-hub-banner {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.95) 0%, rgba(35, 33, 40, 0.9) 100%);
  border: 1.5px solid var(--gb-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--gb-shadow);
  position: relative;
  overflow: hidden;
}

.holding-hub-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.holding-hub-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.holding-hub-brand-combo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.holding-hub-logo-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  object-position: center 25%;
  background: #0c1017;
  border-radius: 14px;
  border: 1.5px solid var(--gb-gold);
  box-shadow: var(--gb-glow);
}

.holding-hub-titles h2 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

.holding-hub-titles p {
  font-size: 13px;
  color: var(--gb-gold-light);
  margin: 3px 0 0 0;
  font-weight: 600;
}

.holding-hub-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-gb-gold {
  background: var(--gb-gold-gradient);
  color: #121214;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.25);
}

.btn-gb-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-gb-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gb-silver-light);
  border: 1.5px solid var(--gb-border);
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.btn-gb-outline:hover {
  background: rgba(201, 169, 97, 0.1);
  border-color: var(--gb-gold);
  color: #ffffff;
}

/* KPIs CONSOLIDADOS */
.holding-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.holding-kpi-card {
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--gb-gold);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: all 0.2s ease;
}

.holding-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--gb-border-strong);
}

.holding-kpi-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 6px;
}

.holding-kpi-value {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.holding-kpi-sub {
  font-size: 11px;
  color: var(--gb-silver);
  margin-top: 6px;
  display: block;
}

/* CARDS DE EMPRESAS NO HUB */
.holding-companies-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.holding-company-card-v2 {
  background: #18181c;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.25s ease;
  position: relative;
}

.holding-company-card-v2:hover {
  border-color: var(--gb-border-strong);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--gb-glow);
  transform: translateY(-3px);
}

.company-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.company-card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.company-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.company-card-ramo {
  font-size: 11.5px;
  color: var(--gb-text-muted);
  margin-top: 2px;
}

.company-card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

/* BADGES DE STATUS E ISENÇÃO */
.badge-exemption {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-exemption-vitalicia {
  background: rgba(168, 85, 247, 0.25);
  color: #d8b4fe;
  border: 1px solid #a855f7;
}

.badge-exemption-indeterminada {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid #3b82f6;
}

.badge-exemption-periodo {
  background: rgba(245, 158, 11, 0.25);
  color: #fde047;
  border: 1px solid #f59e0b;
}

.company-card-finance-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.finance-box-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.finance-box-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gb-text-muted);
  text-transform: uppercase;
}

.finance-box-value {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.finance-box-value.commission-highlight {
  color: var(--gb-gold-light);
}

.finance-box-value.commission-zero {
  color: #94a3b8;
  text-decoration: line-through;
}

.company-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.btn-company-enter {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, rgba(201, 169, 97, 0.08) 100%);
  border: 1.5px solid var(--gb-gold);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-company-enter:hover {
  background: var(--gb-gold-gradient);
  color: #121214;
}

.btn-company-contract {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gb-silver-light);
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-company-contract:hover {
  background: rgba(201, 169, 97, 0.2);
  border-color: var(--gb-gold);
  color: var(--gb-gold-light);
}

/* ==========================================================================
   4. MODAIS DA HOLDING (CONTRATOS, ISENÇÕES, CONVITES)
   ========================================================================== */
.holding-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.holding-modal-content {
  background: #18181c;
  border: 1.5px solid var(--gb-border);
  border-radius: 16px;
  box-shadow: var(--gb-shadow), var(--gb-glow);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: #ffffff;
  padding: 24px;
  animation: gbFadeUp 0.3s ease;
}

.holding-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.holding-modal-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--gb-gold-light);
  margin: 0;
  letter-spacing: 1px;
}

.holding-modal-close {
  background: transparent;
  border: none;
  color: var(--gb-text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.holding-modal-close:hover {
  color: #ffffff;
}

.holding-form-group {
  margin-bottom: 16px;
}

.holding-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gb-silver);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.holding-form-control {
  width: 100%;
  background: #121214;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  padding: 11px 14px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.holding-form-control:focus {
  outline: none;
  border-color: var(--gb-gold);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

.holding-radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.holding-radio-card {
  background: #121214;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.holding-radio-card input {
  display: none;
}

.holding-radio-card.active,
.holding-radio-card:has(input:checked) {
  border-color: var(--gb-gold);
  background: rgba(201, 169, 97, 0.12);
  box-shadow: var(--gb-glow);
}

.holding-radio-card .val {
  font-size: 16px;
  font-weight: 900;
  color: var(--gb-gold-light);
  display: block;
}

.holding-radio-card .desc {
  font-size: 11px;
  color: var(--gb-text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   5. REGRAS DE CONTRASTE & TEMA CLARO (WCAG AAA / GEMINI.md)
   ========================================================================== */
body.theme-light .holding-hub-banner,
html.theme-light .holding-hub-banner {
  background: #ffffff;
  border: 1.5px solid #d4af37;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

body.theme-light .holding-hub-titles h2,
html.theme-light .holding-hub-titles h2 {
  color: #0f172a;
}

body.theme-light .holding-hub-titles p,
html.theme-light .holding-hub-titles p {
  color: #854d0e;
}

body.theme-light .holding-kpi-card,
html.theme-light .holding-kpi-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-top: 3px solid #b45309;
}

body.theme-light .holding-kpi-label,
html.theme-light .holding-kpi-label {
  color: #475569;
}

body.theme-light .holding-kpi-value,
html.theme-light .holding-kpi-value {
  color: #0f172a;
}

body.theme-light .holding-company-card-v2,
html.theme-light .holding-company-card-v2 {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .company-card-name,
html.theme-light .company-card-name {
  color: #0f172a;
}

body.theme-light .company-card-ramo,
html.theme-light .company-card-ramo {
  color: #334155;
  font-weight: 600;
}

body.theme-light .company-card-finance-box,
html.theme-light .company-card-finance-box {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

body.theme-light .finance-box-label,
html.theme-light .finance-box-label {
  color: #475569;
}

body.theme-light .finance-box-value,
html.theme-light .finance-box-value {
  color: #0f172a;
}

body.theme-light .finance-box-value.commission-highlight,
html.theme-light .finance-box-value.commission-highlight {
  color: #b45309;
  font-weight: 900;
}

body.theme-light .btn-company-enter,
html.theme-light .btn-company-enter {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

body.theme-light .btn-company-enter:hover,
html.theme-light .btn-company-enter:hover {
  background: #b45309;
  color: #ffffff;
}

body.theme-light .holding-modal-content,
html.theme-light .holding-modal-content {
  background: #ffffff;
  color: #0f172a;
  border-color: #b45309;
}

body.theme-light .holding-modal-header h3,
html.theme-light .holding-modal-header h3 {
  color: #854d0e;
}

body.theme-light .holding-form-control,
html.theme-light .holding-form-control {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.theme-light .holding-form-group label,
html.theme-light .holding-form-group label {
  color: #1e293b;
}

/* ==========================================================================
   PAINEL OPERACIONAL EXECUTIVO - GRUPO BIN HOLDING (PADRÃO CONCEITO APROVADO)
   ========================================================================== */

/* Fundo geral da área móvel / painel */
.rap10-mobile-home {
  background: radial-gradient(circle at 50% 15%, rgba(13, 20, 32, 0.95) 0%, #060a12 100%) !important;
  color: #f8fafc !important;
}

/* 1. Header do Painel */
.mobile-top-header {
  background: rgba(10, 16, 26, 0.92) !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.15) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.mobile-top-title {
  font-family: 'Cinzel', serif !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbe094 60%, #d4af37 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

#mobile-top-empresa-sub {
  color: #fbe094 !important;
  font-family: 'Space Grotesk', 'Orbitron', monospace !important;
  letter-spacing: 1.5px !important;
  font-size: 9px !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5) !important;
}

.mobile-top-btn {
  background: rgba(212, 175, 55, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #fbe094 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
}

.mobile-top-btn:hover, .mobile-top-btn:active {
  background: rgba(212, 175, 55, 0.25) !important;
  border-color: #fbe094 !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.4) !important;
}

/* 2. Grid e Cartões em Vidro Fumê com Aresta em Ouro Imperial */
.mobile-square-card {
  background: rgba(10, 16, 26, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.32) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), 0 0 16px rgba(212, 175, 55, 0.15) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Linha especular de topo em cada card */
.mobile-square-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 10% !important;
  right: 10% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #ffffff, #fbe094, transparent) !important;
  filter: drop-shadow(0 0 4px #ffffff) !important;
  opacity: 0.8 !important;
}

.mobile-square-card:hover, .mobile-square-card:active {
  transform: translateY(-3px) scale(1.02) !important;
  border-color: #fbe094 !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.45) !important;
}

/* Ícones dos Cards Esculpidos em Ouro 3D */
.card-icon-wrapper,
.icon-gold-sculpted {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(10, 16, 26, 0.95) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.6) !important;
  color: #fbe094 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(212, 175, 55, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
}

.mobile-square-card:hover .card-icon-wrapper,
.mobile-square-card:hover .icon-gold-sculpted {
  border-color: #fbe094 !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.7) !important;
  transform: scale(1.06) !important;
}

/* Textos e Títulos dos Cards */
.card-title {
  font-family: 'Cinzel', serif !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbe094 60%, #d4af37 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.card-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  color: #e2c98d !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

/* Badges e Contadores em Cápsulas de Ouro */
.card-badge-counter, .card-badge-tag {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1.2px solid rgba(212, 175, 55, 0.45) !important;
  color: #fbe094 !important;
  font-family: 'Space Grotesk', 'Orbitron', monospace !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  padding: 3px 9px !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 8px rgba(212, 175, 55, 0.25) !important;
}

/* 3. Central de Operações / Banner Status */
.mobile-status-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(10, 16, 26, 0.92) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(14px) !important;
}

.banner-icon-box {
  background: linear-gradient(135deg, #fbe094 0%, #d4af37 60%, #997825 100%) !important;
  border: 1.5px solid #fff3c4 !important;
  color: #0b0f19 !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.5) !important;
}

.banner-title {
  font-family: 'Cinzel', serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  color: #ffffff !important;
}

.banner-desc {
  font-family: 'Inter', sans-serif !important;
  color: #e2c98d !important;
  font-size: 11px !important;
}

/* 4. Atalhos em Vidro Fumê com Acentos Ouro/Ciano */
.shortcut-chip {
  background: rgba(10, 16, 26, 0.88) !important;
  border: 1.2px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.25s ease !important;
}

.shortcut-chip:hover, .shortcut-chip:active {
  border-color: #fbe094 !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* 5. Botão de Alta Ação: Ouro Imperial Polido 3D (+ CRIAR NOVO ORÇAMENTO) */
.mobile-cta-btn {
  background: linear-gradient(135deg, #fff3c4 0%, #e5bd54 35%, #d4af37 70%, #aa820a 100%) !important;
  border: 1.5px solid #fff3c4 !important;
  color: #0b0f19 !important;
  font-family: 'Cinzel', 'Inter', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  font-size: 13px !important;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55), inset 0 1px 2px #ffffff !important;
  border-radius: 12px !important;
  height: 42px !important;
  min-height: 42px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-cta-btn:hover, .mobile-cta-btn:active {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.75), inset 0 1px 3px #ffffff !important;
}

/* 6. Barra Inferior Fixa (Bottom Navigation) */
.mobile-bottom-nav {
  background: rgba(8, 12, 20, 0.95) !important;
  border-top: 1.5px solid rgba(212, 175, 55, 0.3) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.15) !important;
}

.mobile-nav-item.active .nav-icon-pill {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(184, 134, 11, 0.5) 100%) !important;
  border: 1.2px solid #fbe094 !important;
  color: #fbe094 !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5) !important;
}

.mobile-nav-item.active .nav-label {
  color: #fbe094 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important;
}

