*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0f1117;
  color: #e2e8f0;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

.glass {
  background: rgba(22, 27, 39, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
}

@media (max-width: 380px) {
  .glass {
    border-radius: 12px;
  }
}

.bg-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.chart-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
}

@media (min-width: 480px) {
  .chart-container {
    height: 240px;
  }
}

@media (min-width: 768px) {
  .chart-container {
    height: 280px;
  }
}

@media (min-width: 1024px) {
  .chart-container {
    height: 300px;
  }
}

.markdown-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #00d97e;
  margin: 1rem 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(0, 217, 126, 0.2);
}

@media (min-width: 640px) {
  .markdown-body h2 {
    font-size: 1.1rem;
    margin: 1.2rem 0 0.5rem;
  }
}

.markdown-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #93c5fd;
  margin: 0.85rem 0 0.35rem;
}

@media (min-width: 640px) {
  .markdown-body h3 {
    font-size: 1rem;
    margin: 1rem 0 0.4rem;
  }
}

.markdown-body p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 0.65rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 640px) {
  .markdown-body p {
    line-height: 1.75;
    margin-bottom: 0.75rem;
  }
}

.markdown-body strong {
  color: #f1f5f9;
  font-weight: 600;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 1.2rem;
  margin-bottom: 0.65rem;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .markdown-body ul,
  .markdown-body ol {
    padding-left: 1.4rem;
    margin-bottom: 0.75rem;
  }
}

.markdown-body li {
  margin-bottom: 0.25rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.markdown-body blockquote {
  border-left: 3px solid #00d97e;
  padding-left: 0.85rem;
  color: #94a3b8;
  font-style: italic;
  margin: 0.65rem 0;
}

.markdown-body code {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.82em;
  word-break: break-all;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 217, 126, 0.25);
  border-top-color: #00d97e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.pulse-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge-up {
  background: rgba(0, 217, 126, 0.12);
  color: #00d97e;
}
.badge-down {
  background: rgba(255, 77, 109, 0.12);
  color: #ff4d6d;
}
.badge-neu {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}

#toast {
  transition: all 0.35s ease;
  transform: translateY(120px);
  opacity: 0;
  max-width: calc(100vw - 2rem);
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: #2d3748;
    border-radius: 3px;
  }
}

.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .nav-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

.nav-btn-ativo {
  background: rgba(0, 217, 126, 0.12) !important;
  color: #00d97e !important;
  border-color: rgba(0, 217, 126, 0.3) !important;
  font-weight: 600;
  position: relative;
}

.nav-btn-ativo::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #00d97e;
  border-radius: 2px 2px 0 0;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
}

.tab-ativo {
  background: rgba(0, 217, 126, 0.12);
  color: #00d97e;
  border-color: rgba(0, 217, 126, 0.25);
}

.tab-ativo:hover {
  background: rgba(0, 217, 126, 0.18);
}

.period-btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}

.period-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.period-ativo {
  background: rgba(0, 217, 126, 0.12);
  color: #00d97e;
  border-color: rgba(0, 217, 126, 0.25);
}

.period-ativo:hover {
  background: rgba(0, 217, 126, 0.18);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mob-nav-btn {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}

.mob-nav-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
}

.mob-nav-ativo {
  background: rgba(0, 217, 126, 0.1) !important;
  color: #00d97e !important;
  border-color: rgba(0, 217, 126, 0.25) !important;
  font-weight: 600;
}

.hdr-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
  padding: 0 0.25rem;
}

.hdr-burger {
  display: none !important;
}
.hdr-badge-mob {
  display: none !important;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.hdr-logo-text {
  display: block;
}

.hdr-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  min-width: 0;
  flex: 1 1 0;
  padding: 0 0.5rem;
}

.hdr-nav::-webkit-scrollbar {
  display: none;
}

.hdr-badge-desk {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
}

.hdr-badge-desk .badge-txt {
  white-space: nowrap;
}

@media (min-width: 640px) and (max-width: 1100px) {
  .hdr-logo-text {
    display: none;
  }
  .hdr-badge-desk .badge-txt,
  .hdr-badge-desk .pulse-dot {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 1280px) {
  .nav-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
}

.mob-menu-wrap {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

@media (max-width: 639px) {
  .hdr-inner {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    grid-template-areas: "burger badge logo";
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hdr-burger {
    grid-area: burger;
    display: flex !important;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  .hdr-badge-mob {
    grid-area: badge;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.65rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
  }

  .hdr-badge-mob .badge-txt {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    min-width: 0;
    font-size: 0.65rem;
  }

  .hdr-logo {
    grid-area: logo;
    justify-content: flex-end;
  }
  .hdr-logo-text {
    display: none;
  }
  .hdr-nav {
    display: none;
  }
  .hdr-badge-desk {
    display: none;
  }
  .mob-menu-wrap {
    display: block;
  }
}

html.light {
  --color-surface: #f0f4f8;
  --color-surface-card: #ffffff;
  --color-surface-border: #d1d9e6;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
}

html.light body {
  background-color: #f0f4f8;
  color: #0f172a;
}

html.light .glass {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}

html.light .bg-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
}

html.light .text-white {
  color: #0f172a !important;
}
html.light .text-slate-300 {
  color: #334155 !important;
}
html.light .text-slate-400 {
  color: #475569 !important;
}
html.light .text-slate-500 {
  color: #64748b !important;
}
html.light .text-slate-600 {
  color: #94a3b8 !important;
}
html.light .text-slate-700 {
  color: #cbd5e1 !important;
}
html.light .bg-surface {
  background-color: #f0f4f8 !important;
}
html.light .border-surface-border {
  border-color: #d1d9e6 !important;
}
html.light .border-white\/5 {
  border-color: rgba(0, 0, 0, 0.06) !important;
}
html.light .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
html.light .bg-white\/5 {
  background-color: rgba(0, 0, 0, 0.03) !important;
}
html.light .bg-white\/10 {
  background-color: rgba(0, 0, 0, 0.06) !important;
}
html.light .hover\:bg-white\/10:hover {
  background-color: rgba(0, 0, 0, 0.06) !important;
}

html.light .nav-btn {
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.08);
}
html.light .nav-btn:hover {
  background: rgba(0, 0, 0, 0.07);
  color: #334155;
  border-color: rgba(0, 0, 0, 0.12);
}
html.light .mob-nav-btn {
  background: rgba(0, 0, 0, 0.03);
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.06);
}
html.light .mob-nav-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #334155;
}
html.light .tab-btn {
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.08);
}
html.light .tab-btn:hover {
  background: rgba(0, 0, 0, 0.07);
  color: #334155;
}
html.light .period-btn {
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.08);
}
html.light .period-btn:hover {
  background: rgba(0, 0, 0, 0.07);
  color: #334155;
}
html.light .markdown-body p {
  color: #334155;
}
html.light .markdown-body h2 {
  border-bottom-color: rgba(0, 217, 126, 0.3);
}
html.light .markdown-body ul,
html.light .markdown-body ol {
  color: #334155;
}
html.light .markdown-body code {
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
}
html.light .markdown-body blockquote {
  color: #64748b;
}
html.light ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}
html.light .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}
html.light .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

.calc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-family: "Inter", system-ui, sans-serif;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.calc-input:focus {
  border-color: rgba(0, 217, 126, 0.4);
}
html.light .calc-input {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}
html.light .calc-input:focus {
  border-color: rgba(0, 217, 126, 0.5);
}

.calc-result-card {
  background: rgba(0, 217, 126, 0.06);
  border: 1px solid rgba(0, 217, 126, 0.15);
  border-radius: 0.875rem;
  padding: 1rem;
}
html.light .calc-result-card {
  background: rgba(0, 217, 126, 0.08);
  border-color: rgba(0, 217, 126, 0.25);
}

.pix-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pix-modal-overlay.aberto {
  opacity: 1;
  pointer-events: all;
}

.pix-modal {
  background: #161b27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.2s ease;
}

.pix-modal-overlay.aberto .pix-modal {
  transform: translateY(0) scale(1);
}

html.light .pix-modal {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.pix-qr-wrap {
  background: #ffffff;
  border-radius: 0.875rem;
  padding: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
}

.pix-key-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-family: "Inter", monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  word-break: break-all;
  text-align: center;
  line-height: 1.6;
}

html.light .pix-key-box {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

.pix-copy-btn {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 217, 126, 0.1);
  border: 1px solid rgba(0, 217, 126, 0.25);
  color: #00d97e;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pix-copy-btn:hover {
  background: rgba(0, 217, 126, 0.18);
}

.pix-copy-btn:active {
  transform: scale(0.98);
}

.pix-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}

.pix-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

html.light .pix-close-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .pix-close-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.apoio-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 217, 126, 0.08);
  border: 1px solid rgba(0, 217, 126, 0.2);
  color: #00d97e;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.apoio-btn:hover {
  background: rgba(0, 217, 126, 0.15);
}

.apoio-btn.w-full {
  width: 100%;
  justify-content: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  background: rgba(0, 217, 126, 0.1);
  border-color: rgba(0, 217, 126, 0.3);
  flex-shrink: 1;
  white-space: normal;
}

.apoio-btn.w-full:hover {
  background: rgba(0, 217, 126, 0.18);
}

@media (min-width: 640px) {
  .apoio-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

.apoio-btn-mob {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(0, 217, 126, 0.1);
  border: 1px solid rgba(0, 217, 126, 0.3);
  color: #00d97e;
  cursor: pointer;
  transition: background 0.15s;
}

.apoio-btn-mob:hover {
  background: rgba(0, 217, 126, 0.18);
}

html.light .apoio-btn-mob {
  background: rgba(0, 217, 126, 0.08);
  border-color: rgba(0, 217, 126, 0.25);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.aberto {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-dropdown-btn.nav-btn-ativo {
  background: rgba(0, 217, 126, 0.12);
  color: #00d97e;
  border-color: rgba(0, 217, 126, 0.3);
  font-weight: 600;
}

.nav-dropdown-chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.15s;
  flex-shrink: 0;
}

.nav-dropdown-btn.aberto .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: fixed;
  min-width: 160px;
  background: #1a2035;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  padding: 0.375rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    visibility 0.15s;
  z-index: 9999;
}

.nav-dropdown-menu.aberto {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.nav-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition:
    background 0.12s,
    color 0.12s;
  white-space: nowrap;
  text-align: left;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

.nav-dropdown-item.ativo {
  color: #00d97e;
  background: rgba(0, 217, 126, 0.08);
}

html.light .nav-dropdown-menu {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

html.light .nav-dropdown-item {
  color: #475569;
}

html.light .nav-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

@media (min-width: 640px) {
  .nav-dropdown-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

.mob-nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.375rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0.125rem 0;
}

.mob-nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  padding: 0 0.25rem;
  margin-bottom: 0.125rem;
}

html.light .mob-nav-section {
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .mob-nav-section-label {
  color: #94a3b8;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
  line-height: 1;
}

.lang-btn:hover {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn-ativo {
  background: #c9a84c !important;
  color: #0f1117 !important;
  border-color: #c9a84c !important;
}

html.light .lang-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #94a3b8;
}

html.light .lang-btn:hover {
  color: #475569;
  background: rgba(0, 0, 0, 0.08);
}

html.light .lang-btn-ativo {
  background: #c9a84c !important;
  color: #ffffff !important;
}

@media (min-width: 640px) {
  .lang-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.55rem;
  }
}
