/* ============================================================
   SMM BRAZIL - Tema "green" v2 (modernizado)
   Design system: cores estáveis via CSS variables
   Light mode (padrão) + Dark mode via classe .dark no <body>
   ============================================================ */

/* ---------- 1. TOKENS DE COR (paleta verde estável) ---------- */
:root {
  --green-700: #14532d;
  --green-600: #15803d;
  --green-500: #16a34a;   /* primária principal */
  --green-400: #22c55e;
  --green-300: #4ade80;
  --green-100: #dcfce7;
  --green-050: #f0fdf4;

  /* Light theme (padrão) */
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #e9eef5;
  --border: #dde5ee;
  --border-2: #c9d4e0;
  --text: #16202c;
  --text-2: #516174;
  --muted: #8596a8;

  --primary: var(--green-500);
  --primary-2: var(--green-400);
  --primary-3: var(--green-600);
  --primary-soft: var(--green-050);
  --grad-primary: linear-gradient(135deg, #16a34a 0%, #059669 100%);
  --grad-primary-soft: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);

  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --info: #0284c7;
  --info-soft: #e0f2fe;

  --sidebar-bg: #0c2118;
  --sidebar-bg-2: #0a1a12;
  --sidebar-text: #b7dcc6;
  --sidebar-icon: #d1fae5;
  --sidebar-active: var(--green-400);
  --sidebar-active-bg: rgba(34, 197, 94, 0.14);

  --header-bg: rgba(255, 255, 255, 0.86);
  --header-border: rgba(15, 23, 42, 0.06);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 6px 18px -6px rgba(16, 24, 40, 0.10), 0 2px 6px -2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, 0.18);

  --radius: 14px;
  --radius-sm: 10px;
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* aliases legados (compatibilidade com estilos antigos) */
  --color-0: #ffffff;
  --color-1: #f1f5f9;
  --color-2: #cbd5e1;
  --color-3: #16a34a;
  --border-1: #e2e8f0;
}

body.dark {
  /* dark mode acompanha o verde-escuro do sidebar */
  --bg: #0b1d14;
  --surface: #122b1e;
  --surface-2: #0e2419;
  --surface-3: #183824;
  --border: #1e4630;
  --border-2: #2b5e40;
  --text: #e8f3ec;
  --text-2: #a9c9b5;
  --muted: #6f9a82;

  --primary-soft: rgba(34, 197, 94, 0.12);
  --danger-soft: rgba(220, 38, 38, 0.14);
  --success-soft: rgba(34, 197, 94, 0.14);
  --warning-soft: rgba(217, 119, 6, 0.14);
  --info-soft: rgba(2, 132, 199, 0.14);

  --sidebar-bg: #0c2118;
  --sidebar-bg-2: #08130e;

  --header-bg: rgba(11, 29, 20, 0.85);
  --header-border: rgba(163, 230, 190, 0.10);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);

  --color-0: #122b1e;
  --color-1: #0e2419;
  --color-2: #2b5e40;
  --color-3: #4ade80;
  --border-1: #1e4630;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .25s ease, color .25s ease;
}

body.dashboard-body { background: var(--bg); }

a { color: var(--primary-3); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-2); text-decoration: none; }

img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.3; }

.hidden { display: none !important; }
.clearfix { clear: both; }
.nowrap { white-space: nowrap; }
.main-color { color: var(--primary-3) !important; }

::selection { background: var(--green-400); color: #fff; }

:focus { outline: 0 !important; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

body.dashboard-body .container-fluid { padding: 0 22px; }
.container-fluid { padding-right: 22px; padding-left: 22px; }

/* placeholder */
::placeholder { color: var(--muted); opacity: 1; }

/* ---------- 3. BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 20px;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background: var(--surface-3);
  color: var(--text);
  transition: all .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: .6; pointer-events: none; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(22, 163, 74, 0.55);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.65);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text-2);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--surface-2);
  border-color: var(--primary-2);
  color: var(--primary-3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-2);
  color: var(--text-2);
}
.btn-outline:hover { border-color: var(--primary-2); color: var(--primary-3); background: var(--primary-soft); }

.btn-border { border: 1px solid var(--border-2); }

.btn-dark {
  background: #0f172a;
  color: #fff;
}
.btn-dark:hover { background: #1e293b; color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: var(--green-600); color: #fff; }

.btn-default {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.btn-default:hover { color: var(--primary-3); border-color: var(--primary-2); }

.btn-link { background: none; color: var(--primary-3); box-shadow: none; min-height: 0; padding: 4px 8px; }
.btn-link:hover { color: var(--primary-2); background: none; }

.btn-block { display: flex; width: 100%; }

.btn-xs { padding: 5px 10px; font-size: 12px; min-height: 30px; border-radius: 8px; }
.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 34px; }
.btn-lg { padding: 14px 28px; font-size: 16px; min-height: 52px; }
.btn-xl { padding: 16px 34px; font-size: 17px; min-height: 58px; border-radius: var(--radius); }

.btn-big-primary { background: var(--grad-primary); color: #fff; }

/* dark mode toggle no header */
.darkmode {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 16px; cursor: pointer;
  transition: all .18s ease;
}
.darkmode:hover { color: var(--primary-2); border-color: var(--primary-2); transform: translateY(-1px); }
.darkmode i.fa-sun, .darkmode i.fa-moon { font-size: 16px; }
body:not(.dark) .darkmode i.fa-moon { display: inline-block; }
body:not(.dark) .darkmode i.fa-sun { display: none; }
body.dark .darkmode i.fa-sun { display: inline-block; color: #fbbf24; }
body.dark .darkmode i.fa-moon { display: none; }

/* ---------- 4. FORMULÁRIOS ---------- */
label, .control-label { display: block; color: var(--text-2); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-group { margin-bottom: 18px; }

.form-control {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background .2s ease;
  appearance: none;
}
.form-control:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  outline: 0;
}
select.form-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238596a8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-control.input-sm { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.form-control[readonly] { background: var(--surface-2); }

.input-group { display: flex; align-items: stretch; }
.input-group .input-group-prepend { display: flex; }
.input-group .input-group-text {
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  color: #fff;
  width: 50px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 16px;
}
.input-group .form-control { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

textarea.form-control { min-height: 110px; resize: vertical; }

/* campo com ícone (login / cadastro) */
.fga { position: relative; }
.fga .fla { margin-bottom: 8px; }
.fg {
  position: relative;
  display: flex; align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  min-height: 56px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fg:focus-within { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
.fg-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--primary-2); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  width: 22px; z-index: 2; pointer-events: none;
}
.fg-icon + .fg-control { padding-left: 48px; }
.fg .form-control { border: none !important; box-shadow: none !important; background: transparent; padding-left: 48px; }
.fg .fg-control {
  width: 100%;
  border: none;
  background: transparent;
  padding: 18px 14px 18px 48px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  border-radius: var(--radius-sm);
}
.fg .fg-control:focus { outline: none; }

.checkbox label, .form-check label { color: var(--text-2); }
.form-check-input { margin-top: 6px; }
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { background: var(--primary-2); border-color: var(--primary-2); }
.checkpoint { display: none; }

.input-style { background: transparent; }

/* ---------- 5. ALERTAS ---------- */
.alert {
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 13px 18px;
  font-size: 13.5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-success { background: var(--success-soft); color: var(--green-600); border-color: rgba(34, 197, 94, .25); }
.alert-danger { background: var(--danger-soft); color: #b91c1c; border-color: rgba(220, 38, 38, .25); }
.alert-dismissible .close { margin-left: auto; background: none; border: none; font-size: 20px; line-height: 1; color: inherit; opacity: .7; cursor: pointer; }
.alert strong { font-weight: 700; }

/* ---------- 6. LAYOUT DO PAINEL ---------- */
.app-container { position: relative; min-height: 100vh; }

/* ---- Sidebar ---- */
.app-container .app-sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 250px;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  z-index: 1030;
  transition: width .22s ease, transform .22s ease, margin .22s ease;
  overflow: hidden;
}
.app-container .app-sidebar .sidebar-header {
  padding: 22px 18px 6px;
  flex: 0 0 auto;
}
.app-container .app-sidebar .app-sb-content {
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 52px;
  padding: 0 6px;
}
.app-container .app-sidebar .app-sb-content img.logo-lg { max-height: 46px; width: auto; }
.app-container .app-sidebar .logo-sm { display: none; }

.app-container .app-sidebar .close-sidebar-btn {
  display: none;
  position: absolute; right: 14px; top: 14px;
  color: rgba(255,255,255,.75);
  font-size: 18px; cursor: pointer;
  z-index: 5;
}

.app-container .app-sidebar .sidebar-user { padding: 8px 16px 14px; }

.sidebar-balance {
  display: flex;
  width: 100%;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: var(--radius) !important;
  padding: 0 !important;
  color: #fff !important;
  min-height: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: background .2s ease;
}
.sidebar-balance:hover { background: rgba(255,255,255,.1); color: #fff !important; transform: none; }
.sidebar-balance .sb-content {
  display: flex; align-items: center;
  width: 100%;
  padding: 12px 12px;
  gap: 12px;
}
.sidebar-balance .sb-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.sidebar-balance .sb-right { flex: 1; min-width: 0; text-align: left; }
.sidebar-balance h3 { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-balance h4 { margin: 0; font-size: 15px; font-weight: 700; color: var(--green-300); }

.app-container .app-sidebar .sidebar-content { flex: 1; overflow-y: auto; padding: 6px 12px 24px; }
.app-container .app-sidebar .sidebar-content::-webkit-scrollbar { width: 4px; }
.app-container .app-sidebar .sidebar-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); }

.sidebar-menu { list-style: none; margin: 8px 0 0; padding: 0; }
.sidebar-menu li { display: block; margin: 2px 0; position: relative; }
.sidebar-menu li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--sidebar-text);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.sidebar-menu li > a .m-icon { font-size: 19px; color: var(--sidebar-icon); opacity: .9; transition: color .15s ease; flex: 0 0 auto; }
.sidebar-menu li > a .menu-text { overflow: hidden; text-overflow: ellipsis; }
.sidebar-menu li > a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-menu li.active > a {
  background: var(--sidebar-active-bg);
  color: #fff;
}
.sidebar-menu li.active > a .m-icon { color: var(--sidebar-active); }
.sidebar-menu li > a .badge { margin-left: auto; }

/* etiqueta "novidade" */
.badge-new {
  background: linear-gradient(135deg, #22c55e, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px 7px;
  border-radius: 20px;
  margin-left: auto;
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---- Header do painel ---- */
.app-container .app-header {
  position: fixed;
  top: 0; right: 0;
  left: 250px;
  height: 68px;
  z-index: 1020;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: left .22s ease, background .25s ease;
}
.app-container .app-header .row-80 { height: 68px; }
.app-container .app-header [class*="col-"], .app-container .app-header .col { display: flex; align-items: center; }

.dash-menu-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-2);
  font-size: 18px;
  cursor: pointer;
  transition: all .15s ease;
}
.dash-menu-btn:hover { color: var(--primary-2); border-color: var(--primary-2); }

.app-logo img { max-height: 40px; width: auto; }

/* dropdown do topo */.navbar-nav.langs {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 6px;
  margin: 0;
  list-style: none;
}
.navbar-nav.langs a { color: var(--text-2); display: block; padding: 6px 10px; text-decoration: none; }
.navbar-nav.langs a:hover { color: var(--primary-3); }
.navbar-nav.langs > li.dropdown { position: relative; }
.navbar-nav.langs .dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px !important;
  max-height: 50vh;
  overflow-y: auto;
}

.dd-top {
  background: none; border: none; padding: 0;
  color: var(--text-2); font-size: 17px;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .15s ease;
}
.dd-top:hover { color: var(--primary-2); border-color: var(--primary-2); }
.dd-orange { color: var(--text-2); }

.menu-dd.dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 8px !important;
  overflow: visible;
}
.menu-dd .dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.menu-dd .dropdown-item:last-child { border-bottom: none; }
.menu-dd .dropdown-item i { color: var(--primary-2); width: 16px; text-align: center; }
.menu-dd .dropdown-item:hover { background: var(--primary-soft); color: var(--primary-3); }

.dropdown-toggle::after { display: none !important; }

/* ---- Conteúdo ---- */
.app-container .app-content {
  position: relative;
  margin-left: 250px;
  padding: 96px 0 90px;
  min-height: 100vh;
  transition: margin .22s ease;
}

/* ---- Sidebar recolhida (desktop) ---- */
.app-container.sidebar-action .app-sidebar { width: 82px; }
.app-container.sidebar-action .app-sidebar .app-sb-content { justify-content: center; padding: 0; }
.app-container.sidebar-action .app-sidebar .logo-lg,
.app-container.sidebar-action .app-sidebar .sidebar-user h3,
.app-container.sidebar-action .app-sidebar .sidebar-user h4,
.app-container.sidebar-action .app-sidebar .sb-icon { display: none; }
.app-container.sidebar-action .app-sidebar .sidebar-user { padding: 8px 10px 14px; }
.app-container.sidebar-action .app-sidebar .sidebar-balance .sb-content { justify-content: center; padding: 12px 0; }
.app-container.sidebar-action .app-sidebar .sidebar-menu li > a { justify-content: center; padding: 13px 0; }
.app-container.sidebar-action .app-sidebar .sidebar-menu li > a .menu-text,
.app-container.sidebar-action .app-sidebar .sidebar-menu li > a .badge-new { display: none; }
.app-container.sidebar-action .app-sidebar .sidebar-menu li > a .m-icon { font-size: 20px; }
.app-container.sidebar-action .app-header { left: 82px; }
.app-container.sidebar-action .app-content { margin-left: 82px; }
.app-container.sidebar-action .app-sidebar .sidebar-content { padding: 6px 10px 24px; }

/* dica flutuante no modo recolhido */
.app-container.sidebar-action .app-sidebar .sidebar-menu li > a:hover .menu-text {
  display: none;
}

/* ---------- 7. CARDS ---------- */
.d-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  margin-bottom: 20px;
  transition: box-shadow .2s ease, transform .2s ease, background .25s ease;
}
.d-card:hover { box-shadow: var(--shadow); }
.d-card .d-card-head {
  display: flex; align-items: center;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: var(--radius) var(--radius) 0 0;
}
.d-card .d-card-head .dch-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 12px;
  margin-right: 12px;
  font-size: 17px;
  box-shadow: 0 6px 14px -6px rgba(22,163,74,.6);
}
.d-card .d-card-body { padding: 22px 24px 26px; }
.d-card.d-pad { padding: 26px 24px; }
.d-card.d-pad-2 { padding: 18px 24px; }
.d-card.d-card-border { border: 1px solid var(--border); }
.d-card.pt-3 { padding-top: 0; }

/* cartões de estatística do topo (dashboard) */
.dashcards-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.dashcards-row .dr-item { width: 25%; padding: 0 10px; }

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dash-card::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 40px;
  background: var(--grad-primary);
  border-radius: 0 3px 3px 0;
  transition: width .25s ease;
}
.dash-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(34,197,94,.35); }
.dash-card:hover::after { width: 100%; }
.dash-card .dcb-title { color: var(--text-2); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.dash-card .dcb-count { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.2; }
.dash-card .dcb-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-primary-soft);
  color: var(--primary-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: transform .2s ease;
}
.dash-card:hover .dcb-icon { transform: translateY(-4px); }
.dash-card.dcb-purple .dcb-icon { background: linear-gradient(135deg,#e0e7ff,#c7d2fe); color: #4f46e5; }
.dash-card.dcb-turq .dcb-icon { background: linear-gradient(135deg,#ccfbf1,#99f6e4); color: #0d9488; }
.dash-card.dcb-purple::after, .dash-card.dcb-turq::after { background: linear-gradient(90deg,#4f46e5,#0d9488); }

.g-card, .gcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.g-card-body, .gcard-body { padding: 24px; }
.gcard { margin-bottom: 16px; }

/* aviso do dashboard */
.antesdopedido {
  background: var(--grad-primary);
  color: #fff;
  text-align: center;
  margin: 14px 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(22,163,74,.5);
}
.antesdopedido summary { list-style: none; cursor: pointer; font-weight: 700; }
.antesdopedido summary::-webkit-details-marker { display: none; }
.antesdopedido p { margin: 8px 0 0; font-size: 12.5px; }
.antesdopedido details > p { text-align: center; }

.bnr-wrap img { border-radius: var(--radius); }

/* ---------- 8. TABELAS ---------- */
.table { width: 100%; max-width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.table td, .table th { padding: 12px 14px; vertical-align: middle; border-top: 1px solid var(--border); }
.table thead th {
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table tbody { color: var(--text); }
.table tbody td { font-size: 13.5px; }
.table-striped tbody tr:nth-of-type(odd) { background: var(--surface-2); }
.table-bordered, .table-bordered td, .table-bordered th { border: 1px solid var(--border); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table > :not(:first-child) { border-top: none; }

.thead-tr, .thead-tr th { background: var(--surface-2); border-bottom: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; }

.catetitle td { background: transparent !important; padding: 20px 0 8px !important; }
.catetitle td strong {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, var(--green-050), transparent);
  color: var(--green-600);
  font-weight: 700;
  font-size: 15px;
  border-left: 4px solid var(--primary-2);
  border-radius: 8px;
  padding: 10px 16px;
}
.catetitle td strong .fab, .catetitle td strong .fas, .catetitle td strong .far { font-size: 18px; }

/* listas em bloco (estilo "tablepen") */
.tablepen { width: 100%; display: table; border-collapse: collapse; }
.tablepen .sira { display: table-row; }
.tablepen .sira.headers { font-weight: 700; color: var(--text-2); }
.tablepen .hucre { display: table-cell; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.tablepen .sira:last-child .hucre { border-bottom: none; }
.tablepen .bx-none .hucre { border: none; }

/* lista responsiva de serviços/pedidos */
.app-mtable .app-block td { padding: 10px 14px; }
.app-mtable .app-block:hover { background: var(--surface-2); }
.app-mtable .app-block td:first-child { border-left: 3px solid transparent; }
.app-mtable .app-block:hover td:first-child { border-left-color: var(--primary-2); }

/* ---------- 9. BADGES / STATUS ---------- */
.badge { display: inline-block; padding: 3px 9px; font-size: 11px; font-weight: 700; border-radius: 20px; line-height: 1.4; }
.badge-primary { background: var(--primary-soft); color: var(--green-600); }

.desc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--primary-soft);
  color: var(--green-600);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.desc-btn:hover { background: var(--grad-primary); color: #fff; }

.op-stats {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 40px;
  white-space: nowrap;
}
.op-stats.op-stats-sm { padding: 6px 13px; font-size: 11.5px; }
.op-stats.primary { background: var(--success-soft); color: var(--green-600); }
.op-stats.secondary { background: var(--surface-3); color: var(--text-2); }
.op-stats.info { background: var(--info-soft); color: var(--info); }
.op-stats.warning { background: var(--warning-soft); color: var(--warning); }
.op-stats.danger { background: var(--danger-soft); color: var(--danger); }
.op-stats.op-stats-btn { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(22,163,74,.5); }
.op-stats.op-stats-btn:hover { color: #fff; transform: translateY(-1px); }
.op-stats.danger-btn { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(220,38,38,.3); }

/* ---------- 10. MODAIS ---------- */
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
}
.modal-title { font-size: 16px; font-weight: 700; color: var(--text); }
.modal-header .close { background: none; border: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-header .close:hover { color: var(--danger); }
.modal-body { padding: 22px; color: var(--text); font-size: 14px; }
.modal-footer { padding: 14px 22px; border-top: 1px solid var(--border); border-radius: 0 0 18px 18px; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 4rem); }

/* ---------- 11. PAGINAÇÃO ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.pagination li a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.pagination li a:hover { border-color: var(--primary-2); color: var(--primary-3); }
.pagination li.active a { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 14px -6px rgba(22,163,74,.5); }

/* ---------- 12. ABAS / ACCORDION ---------- */
.nav-tabs { border-bottom: 1px solid var(--border); }
.nav-tabs .nav-link { border: none; color: var(--text-2); font-weight: 600; }
.nav-tabs .nav-link.active { color: var(--primary-3); border-bottom: 2px solid var(--primary-2); background: transparent; }

.nav-link-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.nav-link-btn .icon { color: var(--primary-2); font-size: 18px; }
.nav-link-btn.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 14px -6px rgba(22,163,74,.5); }
.nav-link-btn.active .icon, .nav-link-btn.active .text { color: #fff; }

/* FAQ / abas sanfona */
.home-ss-tab, .sss-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}
.home-ss-tab .ss-tab-head, .sss-tab .sss-thead { font-weight: 700; font-size: 15px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home-ss-tab .ss-tab-head .right-p, .sss-tab .sss-thead .right-p { color: var(--primary-2); }
.home-ss-tab .ss-tab-content, .sss-tab .sss-tcontent { display: none; padding-top: 12px; color: var(--text-2); }
.home-ss-tab.active, .sss-tab.active { border-color: rgba(34,197,94,.4); box-shadow: var(--shadow); }
.faq-ss-tabs .fa-minus { display: none; }
.faq-ss-tabs .active .fa-minus { display: inline-block; }
.faq-ss-tabs .active .fa-plus { display: none; }

/* páginas de conteúdo (termos/faq/blog) */
.g-dash-content { min-height: 60vh; }
.terms-content { color: var(--text-2); width: min(760px, 100%); margin: 0 auto; }
.terms-content p, .terms-content li { font-size: 14px; }
.terms-content h3, .terms-content h2, .terms-content h1 { color: var(--text); }
.gcard-body h3 { color: var(--text); }

.faq-item .btn { min-height: auto; }

/* notícias / timeline (dashboard) */
.dh-noti { margin-bottom: 10px; }
.dh-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.dh-item .dh-item--title { font-weight: 700; color: var(--text); font-size: 14px; }
.dh-item .dh-item--text { color: var(--text-2); font-size: 13px; }
.dh-item .dh-item--text small { display: block; color: var(--muted); margin-top: 4px; }

/* ---------- 13. PEDIDOS (orders) ---------- */
.app-ord-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.app-ord-nav li a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.app-ord-nav li a:hover { border-color: var(--primary-2); color: var(--primary-3); }
.app-ord-nav li a.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 14px -6px rgba(22,163,74,.5); }
.app-ord-nav li.pull-right { margin-left: auto; }

.app-ord-search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 40px; padding: 0 4px 0 16px; min-width: 260px; height: 42px; }
.app-ord-search .app-ord-input { flex: 1; border: none; background: none; color: var(--text); font-size: 13px; height: 100%; min-width: 0; }
.app-ord-search .app-ord-submit { width: 36px; height: 36px; border: none; background: var(--primary-soft); color: var(--green-600); border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.app-ord-search .app-ord-submit:hover { background: var(--grad-primary); color: #fff; }

.op-card { margin-bottom: 18px; }
.op-card .op-card--top { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.op-card .op-card--bottom { padding-top: 14px; }
.op-service-title { font-size: 14px; font-weight: 700; color: var(--text); margin: 0; }
.op-date { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.op-date::before { content: ''; width: 8px; height: 8px; background: var(--green-400); border-radius: 50%; display: inline-block; }

.orders-nav-link {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: all .15s ease;
}
.orders-nav-link:hover { border-color: var(--primary-2); color: var(--primary-3); }
.orders-nav-link .icon { color: var(--primary-2); }
.orders-nav-link .link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }

.op-item { display: flex; flex-direction: column; gap: 4px; }
.op-item .title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 600; }
.op-item .icon { color: var(--primary-2); font-size: 17px; }
.op-item .text { font-size: 18px; font-weight: 800; color: var(--text); }
@media (min-width: 992px) { .op-item { flex-direction: row; align-items: center; gap: 8px; } }

.noorders img.smiley { max-width: 120px; opacity: .8; }

/* ---------- 14. NOVO PEDIDO ---------- */
.nwo-categories { padding: 4px 2px; }
.nwo-categories .swiper-slide { width: auto !important; }
.nwo-cat-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 10px 18px;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.nwo-cat-btn .icon { color: var(--primary-2); font-size: 16px; display: flex; }
.nwo-cat-btn:hover { border-color: var(--primary-2); color: var(--primary-3); }
.nwo-cat-btn.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(22,163,74,.55); }
.nwo-cat-btn.active .icon, .nwo-cat-btn.active .text { color: #fff; }
.swiper-button-prev, .swiper-button-next { color: var(--text-2); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 18px; font-weight: 900; }

/* campos do formulário de pedido */
#orderform-service, #orderform-category { color: var(--text-2); }
.dropdown-menu { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
#order-sItem, #order-cItem {
  display: block; width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 11px 16px;
  text-align: left;
  font-size: 13.5px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
#order-sItem:hover, #order-cItem:hover { background: var(--primary-soft); color: var(--primary-3); }

.charge-box { font-size: 20px; font-weight: 800; color: var(--primary-3); }

/* guia de "como pedir" */
.sira { display: flex; }
.hucre { flex: 1; }

/* ---------- 15. BUSCA (services) ---------- */
.app-search { position: relative; display: flex; }
.app-search .app-input, .app-search input {
  flex: 1;
  min-height: 46px;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  width: 100%;
}
.app-search .app-input:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.app-search .app-ord-submit {
  width: 52px;
  border: 1.5px solid var(--primary-2);
  border-left: none;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 15px;
}
.app-search .app-ord-submit:hover { background: linear-gradient(135deg, var(--green-400), var(--green-600)); }

.services-list { max-width: 720px; margin: 0 auto 10px; }
.services-list ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0; padding: 0; }
.services-list ul li { cursor: pointer; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); transition: all .15s ease; }
.services-list ul li i { font-size: 20px !important; }
.services-list ul li:hover { transform: translateY(-3px); border-color: var(--primary-2); box-shadow: var(--shadow); }
.services-list ul li.instagram i { color: #e1306c; }
.services-list ul li.facebook i { color: #1877f2; }
.services-list ul li.twitter i { color: #1da1f2; }
.services-list ul li.youtube i { color: #ff0000; }
.services-list ul li.spotify i { color: #1db954; }
.services-list ul li.twitch i { color: #9146ff; }
.services-list ul li.snapchat i { color: #fffc00; }
.services-list ul li.tiktok i { color: #010101; }
.services-list ul li.soundcloud i { color: #ff5500; }

/* ---------- 16. TICKETS / SUPORTE ---------- */
.pnd-tlist { list-style: none; padding: 0; margin: 0; }
.pnd-tlist .pnd-titem {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  color: var(--text);
  text-decoration: none;
  transition: all .15s ease;
}
.pnd-tlist .pnd-titem:hover { border-color: var(--primary-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pnd-tlist .pnd-titem .pnd-tinfo { flex: 1; }
.pnd-tlist .pnd-titem .pnd-tinfo p { margin: 2px 0; }
.pnd-tlist .pnd-titem .pnd-tstatus { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 40px; flex: 0 0 auto; }
.pnd-tlist .pnd-titem .pnd-tstatus.pending { background: var(--warning-soft); color: var(--warning); }
.pnd-tlist .pnd-titem .pnd-tstatus.completed { background: var(--success-soft); color: var(--green-600); }
.pnd-tlist .pnd-titem .pnd-tstatus.closed { background: var(--danger-soft); color: var(--danger); }
.pnd-tname { font-weight: 700; }

.ticket-message-block { margin-bottom: 16px; }
.ticket-message {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text);
}
.ticket-message-right { display: flex; justify-content: flex-end; }
.ticket-message-right .ticket-message { background: var(--grad-primary); border: none; color: #fff; border-radius: 14px 14px 4px 14px; }
.ticket-title { font-weight: 700; }

/* ---------- 17. API / CÓDIGO ---------- */
pre.code {
  background: #0d1526;
  color: #c9e3d4;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 12.5px;
  overflow: auto;
}
.code kbd, .code code { color: var(--green-300); }
.api-thead th { background: var(--surface-2); }

/* ---------- 18. TELA LOGIN / CADASTRO (público) ---------- */
.smm-page { min-height: 100vh; }

.home-head {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(34,197,94,.35), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(5,150,105,.4), transparent 55%),
    linear-gradient(150deg, #0b2318 0%, #0a1a12 55%, #0c2118 100%);
  color: #fff;
  overflow: hidden;
}
.home-head .home-head-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.home-head .home-head-content { position: relative; padding: 64px 0 80px; }
.home-head .hh-title { font-size: 34px; font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 18px; }
.home-head .hh-title h1 { color: #fff; font-size: inherit; line-height: inherit; margin: 0; }
.home-head .hh-title .main-color { color: var(--green-300) !important; }
.home-head .hh-text { font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,.85); white-space: pre-line; margin-bottom: 26px; }
.home-head .hh-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.header {
  height: 92px;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #0d281c 0%, #0b2017 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.home-page-header { position: absolute; left: 0; top: 0; width: 100%; }

.site-name { display: flex; align-items: center; height: 92px; }
.site-name img { max-height: 58px; width: auto; }
.header-menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: flex-end; height: 92px; }
.header-menu ul li a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 6px;
  margin: 0 12px;
  position: relative;
  text-decoration: none;
  transition: color .15s ease;
}.header-menu ul li a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: var(--green-300);
  transition: right .2s ease;
}
.header-menu ul li a:hover { color: #fff; }
.header-menu ul li a:hover::after { right: 0; }
.header-menu ul li.active a { color: #fff; }
.header-menu ul li.active a::after { right: 0; }

.home-menu-btn { display: none; color: #fff; cursor: pointer; font-size: 22px; }

/* caixa de login/cadastro */
.login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
}
.login-box .login-form { padding: 10px 32px 26px; }
.login-box .login-form .hlb-header { font-size: 20px; font-weight: 800; color: var(--text); display: flex; align-items: center; margin-bottom: 18px; }
.login-box .log-bottom { font-size: 13.5px; text-align: center; color: var(--text-2); padding: 14px 32px 0; border-top: 1px solid var(--border); margin-top: 20px; }
.login-box .log-bottom a { color: var(--primary-3); font-weight: 700; }
.frgpass { color: var(--text-2); }
.frgpass:hover { color: var(--primary-3); text-decoration: none; }

/* hero de páginas (services quando deslogado) */
.main-top { position: relative; background: linear-gradient(150deg, #0b2318, #0a1a12); padding: 120px 0 90px; }
.main-top-bg { position: absolute; inset: 0; opacity: .5; }

/* ---------- 19. SEÇÕES PÚBLICAS / SOCIAL ---------- */
.home-section { padding: 60px 0; }
.home-title h2 { font-size: 26px; font-weight: 800; color: var(--text); }
.home-title { color: var(--text); }
.ds-title h2 { font-size: 26px; font-weight: 800; color: var(--text); }
.ds-title p { color: var(--text-2); }
.divider { width: 90px; height: 4px; border-radius: 4px; margin: 16px auto; background: var(--grad-primary); }
.socials { text-align: center; }
.socials i { font-size: 30px; color: var(--text-2); transition: all .2s ease; }
.socials i:hover { color: var(--primary-2); transform: translateY(-4px) scale(1.1); }

/* ---------- 20. FOOTER PÚBLICO ---------- */
.footer { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--border); }
.footer .footer-content { padding: 46px 0 22px; }
.footer .footer-logo { max-height: 52px; width: auto; }
.footer .footer-top { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.footer .footer-bottom { padding: 24px 0 8px; }
.footer .fb-menu { list-style: none; margin: 0; padding: 0; }
.footer .fb-menu li { display: inline-block; }
.footer .fb-menu li a { color: var(--text-2); font-size: 13.5px; font-weight: 600; padding: 6px 16px 6px 0; }
.footer .fb-menu li a:hover { color: var(--primary-3); }
.footer .foot-copy { color: var(--muted); font-size: 13px; }

.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 18px;
  margin: 0 4px;
  transition: all .2s ease;
}
.social-icons a:hover { background: var(--grad-primary); border-color: transparent; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 16px -6px rgba(22,163,74,.5); }

/* ---------- 21. NAVEGAÇÃO MOBILE (rodapé fixo) ---------- */
.app-m-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--header-border);
  z-index: 2000;
}
.app-m-nav-link { list-style: none; margin: 0; padding: 6px 0; display: flex; }
.app-m-nav-link li { flex: 1; text-align: center; }
.app-m-nav-link li a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px;
  color: var(--text-2);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none !important;
}
.app-m-nav-link li a i { font-size: 19px; color: var(--text-2); }
.app-m-nav-link li.active a, .app-m-nav-link li.active a i { color: var(--primary-3); }
.app-m-nav-link li.active a { font-weight: 800; }

/* ---------- 22. ÍCONES (garantia de funcionamento) ---------- */
/* 'fal' (light) e 'far' (regular) usam a fonte free solid p/ nunca ficarem vazios */
.fal, .fa-light, .fat, .fa-thin, .fad, .fa-duotone { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.far, .fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }

/* ---------- 23. DARK MODE AJUSTES FINOS ---------- */
body.dark .d-card, body.dark .g-card, body.dark .gcard, body.dark .dash-card { background: var(--surface); }
body.dark .table thead th { background: var(--surface-2); color: var(--text-2); }
body.dark .table tbody td { color: var(--text); }
body.dark .table td { border-color: var(--border); }
body.dark .catetitle td strong { background: linear-gradient(90deg, rgba(34,197,94,.15), transparent); }
body.dark .dropdown-menu { background: var(--surface); }
body.dark .services-list ul li { background: var(--surface-2); }

/* ---------- 24. RESPONSIVO ---------- */
@media (max-width: 1199.98px) {
  .dashcards-row .dr-item { width: 50%; }
  .app-container .app-sidebar { width: 82px; }
  .app-container .app-sidebar .logo-lg, .app-container .app-sidebar .sb-right,
  .app-container .app-sidebar .sidebar-menu .menu-text,
  .app-container .app-sidebar .badge-new { display: none; }
  .app-container .app-sidebar .app-sb-content { justify-content: center; }
  .app-container .app-sidebar .sidebar-menu li > a { justify-content: center; padding: 13px 0; }
  .app-container .app-sidebar .sidebar-content { padding: 6px 10px 24px; }
  .app-container .app-sidebar.sidebar-open { width: 250px; }
  .app-container .app-sidebar.sidebar-open .logo-lg { display: inline-block; }
  .app-container .app-sidebar.sidebar-open .sb-right { display: block; }
  .app-container .app-sidebar.sidebar-open .sidebar-menu .menu-text,
  .app-container .app-sidebar.sidebar-open .badge-new { display: inline; }
  .app-container .app-sidebar.sidebar-open .sidebar-menu li > a { justify-content: flex-start; padding: 11px 14px; }
  .app-container .app-header { left: 82px; }
  .app-container .app-content { margin-left: 82px; }
  .app-container.sidebar-action .app-sidebar { width: 250px; }
  .app-container.sidebar-action .app-sidebar .logo-lg { display: inline-block; }
  .app-container.sidebar-action .app-sidebar .sb-right { display: block; }
  .app-container.sidebar-action .app-sidebar .sidebar-menu .menu-text,
  .app-container.sidebar-action .app-sidebar .badge-new { display: inline; }
  .app-container.sidebar-action .app-sidebar .sidebar-menu li > a { justify-content: flex-start; padding: 11px 14px; }
  .app-container.sidebar-action .app-header { left: 250px; }
  .app-container.sidebar-action .app-content { margin-left: 250px; }
}

@media (max-width: 991.98px) {
  .dashcards-row .dr-item { width: 50%; }
  .app-m-nav { display: block; }
  .app-container .app-content { padding-bottom: 96px; }
}

@media (max-width: 767.98px) {
  body.dashboard-body .container-fluid { padding: 0 14px; }
  .app-container .app-sidebar {
    width: 260px;
    transform: translateX(-105%);
    box-shadow: var(--shadow-lg);
  }
  .app-container .app-sidebar.sidebar-open { transform: translateX(0); }
  .app-container .app-sidebar .sidebar-user { display: block; }
  .app-container .app-sidebar .close-sidebar-btn { display: block; }
  .app-container .app-header { left: 0; }
  .app-container .app-content { margin-left: 0; padding-top: 88px; }
  .app-container.sidebar-action .app-sidebar { transform: translateX(0); }
  .app-container.sidebar-action .app-header { left: 0; }
  .app-container.sidebar-action .app-content { margin-left: 0; }

  .dashcards-row .dr-item { width: 100%; }
  .d-card .d-card-body { padding: 18px; }
  .g-card-body, .gcard-body { padding: 18px; }

  .home-head .home-head-content { padding: 100px 0 60px; }
  .home-head .hh-title { font-size: 26px; }
  .home-menu-btn { display: block; }
  .header .header-menu { display: none; }
  .head-menu {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, #0d281c 0%, #0a1a12 100%);
    padding: 96px 26px 40px;
    z-index: 3000;
    overflow-y: auto;
  }
  .head-menu.active { display: flex; flex-direction: column; }
  .head-menu .header-menu { display: block; }
  .head-menu .header-menu ul { flex-direction: column; align-items: stretch; height: auto; }
  .head-menu .header-menu ul li a { color: rgba(255,255,255,.9); padding: 15px 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .head-menu .header-menu ul li a::after { display: none; }
  .head-menu .mmff { width: 100%; margin-top: 10px; }
  .head-menu .btn { width: 100%; }
  .header { height: 80px; }
  .site-name { height: 80px; }
  .site-name img { max-height: 48px; }
  .app-ord-search { width: 100%; }
  .app-ord-nav li.pull-right { margin-left: 0; width: 100%; }
  .app-ord-nav li a { width: 100%; justify-content: center; }
  .footer .footer-top .col-md { text-align: center !important; }
  .login-box .login-form { padding: 8px 20px 20px; }
}

/* menu mobile (público): escondido no desktop */
@media (min-width: 992px) {
  .head-menu { display: none !important; }
}

/* ============================================================
   EXTRAS / COMPATIBILIDADE DE COMPONENTES (adicionado na v2)
   ============================================================ */

/* botÃµes dentro de dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  max-height: 45vh;
  overflow-y: auto;
}
.dropdown-item { display: block; width: 100%; padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: 13.5px; background: none; border: none; text-align: left; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--primary-soft); color: var(--primary-3); text-decoration: none; }

/* cards bootstrap (.card) usados em API/pedidos */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.card .card-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  color: var(--text);
  font-weight: 600;
}
.card .card-header h4, .card .card-header h5, .card .card-header h6 { margin: 0; font-size: 14px; }
.card .card-header code { color: var(--primary-3) !important; font-size: 12px; }
.card .card-header a { color: var(--primary-3); font-size: 12px; }
.card .card-header span { color: var(--text-2); font-size: 12px; }
.card .card-header span.sname, .card .card-header span.sno, .card .card-header span.sdate { color: var(--text); font-weight: 600; }
.card .card-header .fa-copy { color: var(--primary-2); }
.card .card-body { padding: 20px; color: var(--text); }
.card .card-header .ordStatus { margin-top: 4px; }
.card .btn.btn-secondary { margin-top: 4px; }

/* wrappers de pÃ¡gina */
.app-addfunds { display: block; }
.app-orders .op-orders-wrapper { margin-top: 8px; }
.op-orders-wrapper .d-card .d-card-body { padding: 20px 24px; }
.op-search-box.op-order-link { display: flex; width: 100%; }
.op-order-link .link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orders-btn { margin-bottom: 6px; }
.app-content .orders-btn .app-ord-nav { align-items: center; }

/* col-100 do header (anÃºncio/relÃ³gio, mantido inofensivo) */
.col-100 { max-height: 100px !important; }

/* fa base (alinha melhor os Ã­cones) */
.fa, .fas, .far, .fal, .fab { display: inline-block; text-align: center; }
.m-icon { font-style: normal; }

/* .fa-copy */
.fa-copy { cursor: pointer; }

/* painel/mensagens */
.panel-body {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  padding: 14px 16px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
}

/* afiliados (ref-item) */
.ref-items { margin-top: 6px; }
.ref-item { border-bottom: 1px solid var(--border); padding: 13px 4px; }
.ref-item:last-child { border-bottom: none; }
.ref-item .hlight-first { color: var(--primary-3); font-weight: 700; }
.ref-item i { color: var(--primary-2); margin-right: 8px; }
.ref-item.d-blue { color: var(--text); }

/* botÃµes/Ã­cones de detalhe em pedidos */
.order-actions { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.order-actions .op-stats { margin: 0; }

/* avatares */
.avatar-2 { width: 70px; height: 70px; border-radius: 16px; overflow: hidden; }
.avatar-2 img { width: 100%; height: 100%; object-fit: cover; }

/* topo do conteÃºdo de blog/notÃ­cias */
.blog-txt p { color: var(--text-2); }
.blog-txt h1 a, .blog-txt h1 { font-size: 18px; color: var(--text) !important; }

/* caixas de anÃºncio */
.top-notice {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 16px;
  font-weight: 600;
}
.top-notice-2 { border: 1px solid var(--primary-2); border-radius: var(--radius); padding: 10px 18px; color: var(--text-2); }

/* mensagens de chat de ticket */
.ticket-message-left { display: flex; justify-content: flex-start; }
.ticket-message-left .ticket-message { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; }

/* tickets: seleÃ§Ã£o de categoria (cc-*) */
.ticketSide .row { display: flex; flex-wrap: wrap; gap: 10px; }
.ticketSide .cc-area { position: relative; flex: 1 1 220px; }
.ticketSide .cc-input { position: absolute; opacity: 0; z-index: -1; }
.ticketSide .cc-label {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.ticketSide .cc-label::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border-2);
  transition: all .15s ease;
  flex: 0 0 auto;
}
.ticketSide .cc-input:checked ~ .cc-label { border-color: var(--primary-2); color: var(--primary-3); background: var(--primary-soft); }
.ticketSide .cc-input:checked ~ .cc-label::before { border-color: var(--primary-2); background: var(--grad-primary); box-shadow: inset 0 0 0 4px #fff; }

/* select2 (integraÃ§Ãµes/seletores) */
.select2-container .select2-selection--single { height: 46px; border: 1.5px solid var(--border-2) !important; border-radius: var(--radius-sm) !important; background: var(--surface) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--text); }
.select2-container .select2-selection__arrow { height: 44px !important; }
.select2-container--default .select2-results__option { color: var(--text); font-size: 13.5px; padding: 8px 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option[aria-selected=true] { background: var(--primary-soft) !important; color: var(--primary-3) !important; }
.select2-dropdown { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }

/* seÃ§Ãµes extras que as pÃ¡ginas usam */
.hfs-content .hfs-item { text-align: center; padding: 10px; }
.hfs-content .hfs-item .hfs-count { font-size: 30px; font-weight: 800; color: var(--primary-3); }
.hfs-content .hfs-item .hfs-title { color: var(--text-2); }

.hea-ann-title { background: var(--grad-primary); color: #fff; border-radius: 40px; padding: 8px 18px; font-size: 13px; font-weight: 600; }
.dhr-marquee { color: var(--text-2); font-size: 13px; }
.slist-text { color: var(--muted); font-size: 12px; }

/* sidebar: dropdown de moeda */
.sidebar-menu .dropdown { position: relative; }
.sidebar-menu .dropdown-menu {
  position: absolute !important;
  top: 100%; left: 14px; right: auto;
  width: 220px;
  margin-top: 2px;
  transform: none !important;
}
.app-container.sidebar-action .sidebar-menu .dropdown-menu { left: 64px; }
.sidebar-menu li > a .badge {
  background: var(--grad-primary);
  color: #fff;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  margin-left: auto;
  flex: 0 0 auto;
}

/* visibilidade por breakpoint */
.showOnMob { display: none !important; }
.for-mobile { display: none; }
.head-menu { display: none; }
.ms-lg-auto { margin-left: auto; }

/* footer: bolha decorativa */
.footer-bg { display: none; }

/* tabela vira cartÃµes no mobile (lista de serviÃ§os etc.) */
@media (max-width: 767.98px) {
  .table-mobile-cards thead { display: none; }
  .table-mobile-cards tr.table-mobile-card { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 14px; background: var(--surface); }
  .table-mobile-cards td { display: block; border: none; padding: 3px 0; font-size: 13px; }
  .table-mobile-cards td::before { content: attr(data-title); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }

  /* tabela .app-mtable vira blocos */
  .app-mtable thead { display: none; }
  .app-mtable tbody, .app-mtable tr { display: block; width: 100%; }
  .app-mtable tr.app-block {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }
  .app-mtable td { border: none !important; padding: 4px 0 !important; }
  .app-mtable td.app-col { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
  .app-mtable td.app-col::before { content: attr(data-title); min-width: 92px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
  .app-mtable td.app-col:first-child { border-left: none; }
  .catetitle td strong { font-size: 14px; }

  .tablepen, .tablepen .sira { display: block; }
  .tablepen .sira { margin-bottom: 8px; }
  .tablepen .hucre { display: block; padding: 5px 2px; border: none; }

  .showOnMob { display: block !important; }
  .for-mobile { display: block; }
}

@media (min-width: 768px) {
  .for-mobile { display: none; }
}

/* RTL bÃ¡sico */
.rtl-enable .app-sidebar { right: 0; left: auto; }
.rtl-enable .app-content { margin-right: 250px; margin-left: 0; }
.rtl-enable .app-header { left: 0; right: 250px; }
.rtl-enable .text-left { text-align: right !important; }
.rtl-enable .text-right { text-align: left !important; }
@media (max-width: 1199.98px) {
  .rtl-enable .app-content { margin-right: 82px; }
  .rtl-enable .app-header { right: 82px; }
}
@media (max-width: 767.98px) {
  .rtl-enable .app-content { margin-right: 0; }
  .rtl-enable .app-header { right: 0; }
  .rtl-enable .app-sidebar { right: auto; left: 0; }
}

/* impressÃ£o */
/* login-box: nunca herdar o branco do hero (termos legiveis) */
.login-box, .login-box .login-form { color: var(--text); }
.login-box a { color: var(--primary-3); }
.login-box .frgpass { color: var(--text-2); }
.checkbox, .custom-checkbox { color: var(--text); }
.checkbox a, .custom-checkbox a { color: var(--primary-3); font-weight: 600; }

/* tablet pequeno / celular: sidebar aberta SEMPRE mostra os textos */
@media (max-width: 991.98px) {
  .app-container.sidebar-action .app-sidebar .sidebar-menu li > a { justify-content: flex-start; padding: 11px 14px; }
  .app-container.sidebar-action .app-sidebar .sidebar-menu li > a .menu-text,
  .app-container.sidebar-action .app-sidebar .sidebar-menu li > a .badge-new { display: inline; }
  .app-container.sidebar-action .app-sidebar .logo-lg { display: inline-block; }
  .app-container.sidebar-action .app-sidebar .sb-right { display: block; }
  .app-container.sidebar-action .app-sidebar .sb-icon { display: flex; }
}
@media (max-width: 767.98px) {
  .app-container .app-sidebar .app-sb-content { justify-content: flex-start; padding: 0 6px; }
  .app-container .app-sidebar .logo-lg { display: inline-block; }
  .app-container .app-sidebar .sidebar-user { padding: 6px 10px 12px; }
  .app-container .app-sidebar .sidebar-balance .sb-content { justify-content: center; padding: 12px 0; gap: 0; }
  .app-container .app-sidebar .sidebar-balance .sb-icon { flex: 0 0 42px; }
  .app-container .app-sidebar .sb-right { display: none !important; }
  .app-container .app-sidebar .sidebar-menu li > a { justify-content: flex-start; padding: 11px 14px; }
  .app-container .app-sidebar .sidebar-menu .menu-text,
  .app-container .app-sidebar .sidebar-menu .badge-new { display: inline; }
}

@media print {
  .app-sidebar, .app-header, .app-m-nav, .footer, .header { display: none !important; }
  .app-content { margin: 0 !important; padding: 0 !important; }
  body { background: #fff; }
  .d-card, .dash-card, .card { box-shadow: none; }
}

/* g-dash-content (faq/termos) dentro do painel autenticado */
.app-container .g-dash-content {
  margin-left: 250px;
  padding: 96px 0 90px;
  min-height: 100vh;
  transition: margin .22s ease;
}
.app-container.sidebar-action .g-dash-content { margin-left: 82px; }
@media (max-width: 1199.98px) {
  .app-container .g-dash-content { margin-left: 82px; }
  .app-container.sidebar-action .g-dash-content { margin-left: 250px; }
}
@media (max-width: 767.98px) {
  .app-container .g-dash-content { margin-left: 0; padding: 88px 0 100px; }
}

/* cartao de destaque azul (dc-dblue usado em tickets) */
.g-card.dc-dblue { border-left: 4px solid #0284c7; }

/* ticket-title (viewticket) */
.ticket-title {
  font-weight: 800;
  color: var(--text);
  padding: 10px 20px;
  border: 1.5px dashed var(--primary-2);
  display: inline-block;
  border-radius: 12px;
  background: var(--primary-soft);
}

/* home hero do services deslogado: texto sempre legivel */
.home-page .header { position: absolute; }

/* ============ AJUSTES FINAIS v2 ============ */
.header-menu ul li a { position: relative; }
.header .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.header .btn-outline:hover { background: #fff; color: #0d281c; border-color: #fff; }
.head-menu .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.head-menu .btn-outline:hover { background: #fff; color: #0d281c; border-color: #fff; }

/* fundo de destaque (usado em cupom etc.) */
.bg-pattern {
  background:
    radial-gradient(600px 200px at 90% -20%, rgba(34,197,94,.25), transparent),
    linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--radius);
}
body.dark .bg-pattern {
  background:
    radial-gradient(600px 200px at 90% -20%, rgba(34,197,94,.18), transparent),
    linear-gradient(135deg, #0c1422 0%, #101a2b 100%);
  border-color: var(--border);
}

/* formularios dentro de cards */
.g-card-body .form-group .control-label { margin-bottom: 8px; }

/* painel de cadastro: checkbox de aceite */
.custom-checkbox { display: flex; align-items: center; gap: 8px; }
.custom-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-2); }
.checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-2); margin-right: 8px; }

/* container central (verificacao, redefinicao de senha) */
.center-big-content-block { max-width: 520px; margin: 0 auto; }
.verify .d-card, .km-account .d-card { margin-top: 8px; }
.app-content .page-row { padding-top: 10px; }

/* tela de verificaÃ§Ã£o/reset - cartÃµes com topo */
.login-extra { text-align: center; margin-top: 10px; color: var(--text-2); }

/* botÃµes do rodapÃ© mobile ativos */
.app-m-nav-link li.active a i { color: var(--primary-3); }

/* dropdown menu do topo fica Ã  direita */
.app-header .dropdown-menu.menu-dd { right: 0; left: auto !important; }
.app-header .navbar-nav.langs .dropdown-menu { right: 0; left: auto !important; }

/* animaÃ§Ã£o suave de entrada dos cards do dashboard */
.d-card, .dash-card, .g-card, .gcard { animation: fadeUp .35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet/pequeno: menu publico vira botao hamburger (ate 991px) */
@media (max-width: 991.98px) {
  .for-mobile { display: block !important; }
  .head-menu {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, #0d281c 0%, #0a1a12 100%);
    padding: 96px 26px 40px;
    z-index: 3000;
    overflow-y: auto;
  }
  .head-menu.active { display: block; }
  .head-menu .header-menu { display: block !important; }
  .head-menu .header-menu ul { flex-direction: column; align-items: stretch; height: auto; }
  .head-menu .header-menu ul li a { color: rgba(255,255,255,.92) !important; padding: 15px 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .head-menu .header-menu ul li a::after { display: none; }
  .head-menu .mmff { width: 100%; margin-top: 10px; display: flex !important; }
  .head-menu .btn { width: 100%; }
  .header .header-menu { display: none; }
}
@media (min-width: 992px) {
  .for-mobile { display: none !important; }
  .head-menu { display: none !important; }
}
