/* Rodapé compartilhado, alinhado ao padrão visual da página inicial VaultPay. */
.site-footer:not(.docs-footer) { position:relative; isolation:isolate; overflow:hidden; margin-top:32px; padding:54px 24px 22px; border:0!important; background:#05080d none center 52%/cover no-repeat!important; color:#fff!important; }
.site-footer:not(.docs-footer)::before { display:block; content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(180deg,rgba(3,7,13,.78),rgba(3,7,13,.82)); }
.site-footer:not(.docs-footer) .site-footer-inner { position:relative; z-index:1; display:grid; grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,1fr)); align-items:start; gap:34px; max-width:1120px; margin:0 auto; }
.site-footer:not(.docs-footer) .footer-brand-block,.site-footer:not(.docs-footer) .footer-col { display:flex; flex-direction:column; align-items:flex-start; gap:11px; }
.site-footer:not(.docs-footer) .footer-brand { display:inline-flex; align-items:center; gap:10px; color:#fff; font-size:20px; font-weight:750; letter-spacing:-.035em; }
.site-footer:not(.docs-footer) .footer-brand img { width:36px; height:36px; object-fit:contain; }
.site-footer:not(.docs-footer) .footer-brand-block p { max-width:275px; margin:0; color:rgba(255,255,255,.9); font-size:12px; line-height:1.65; }
.site-footer:not(.docs-footer) .footer-col h3 { margin:4px 0 5px; color:#fff; font-size:12px; font-weight:700; letter-spacing:.025em; }
.site-footer:not(.docs-footer) .footer-col a { display:inline-flex; align-items:center; min-height:27px; color:rgba(255,255,255,.9); font-size:12px; line-height:1.45; text-decoration:none; transition:color .16s ease,transform .16s ease; }
.site-footer:not(.docs-footer) .footer-col a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; transform:translateX(2px); }
.site-footer:not(.docs-footer) .footer-col a img { width:16px; height:16px; margin-right:7px; object-fit:contain; }
.site-footer:not(.docs-footer) .footer-brand-block,.site-footer:not(.docs-footer) .footer-col { text-shadow:0 1px 8px rgba(0,0,0,.7); }
@media(max-width:900px){.site-footer:not(.docs-footer) .site-footer-inner{grid-template-columns:1.4fr 1fr 1fr;gap:26px}.site-footer:not(.docs-footer) .footer-brand-block{grid-column:1/-1}}
@media(max-width:700px){.site-footer:not(.docs-footer){padding:38px 18px 20px;background-position:center center!important}.site-footer:not(.docs-footer) .site-footer-inner{grid-template-columns:1fr 1fr;gap:24px 18px}.site-footer:not(.docs-footer) .footer-brand-block{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.site-footer:not(.docs-footer) .footer-col a{transition:none!important}}

/* Tema claro: exatamente o rodapé da home, em branco, com marca e descrição pretas. */
html[data-theme="light"]{--bg:#fff!important;--surface:#fff!important;--surface2:#fff!important;--text:#111827!important;--text2:#374151!important;--muted:#4b5563!important;--border:#dfe5ee!important;--blue:#1a8cff!important;--blue-soft:rgba(26,140,255,.10)!important}
html[data-theme="light"] body{background:#fff!important;color:#111827!important}
html[data-theme="light"] .site-header-inner,html[data-theme="light"] .dh-top-inner{background:#fff!important;border-color:#e1e6ee!important;box-shadow:0 8px 26px rgba(31,41,55,.08)!important}
html[data-theme="light"] .site-brand,html[data-theme="light"] .dh-brand,html[data-theme="light"] .dh-brand b{color:#111!important}
html[data-theme="light"] .site-nav-links>a,html[data-theme="light"] .dh-links>a,html[data-theme="light"] .dh-search,html[data-theme="light"] .theme-toggle,html[data-theme="light"] .nav-menu-toggle,html[data-theme="light"] .dh-burger,html[data-theme="light"] .site-login{color:#111827!important;background:#fff!important;border-color:#dfe5ee!important}
html[data-theme="light"] .site-nav-links>a:hover,html[data-theme="light"] .dh-links>a:hover,html[data-theme="light"] .dh-search:hover,html[data-theme="light"] .theme-toggle:hover,html[data-theme="light"] .nav-menu-toggle:hover,html[data-theme="light"] .dh-burger:hover,html[data-theme="light"] .site-login:hover{color:#111827!important;background:#f5f7fa!important;border-color:#cbd5e1!important}
html[data-theme="light"] .dh-tabs,html[data-theme="light"] .sb-tabs.dh-tabs{background:#fff!important;border-color:#dfe5ee!important;box-shadow:0 6px 18px rgba(31,41,55,.06)!important}
html[data-theme="light"] .tab,html[data-theme="light"] .tab.on{color:#111827!important} html[data-theme="light"] .tab.on{background:#f0f3f7!important;border-color:#e0e6ee!important;box-shadow:none!important}
html[data-theme="light"] .site-footer,html[data-theme="light"] .site-footer:not(.docs-footer),html[data-theme="light"] .site-footer.docs-footer{background:#fff!important;color:#111!important;border-top:1px solid #e5e7eb!important}
html[data-theme="light"] .site-footer::before,html[data-theme="light"] .site-footer:not(.docs-footer)::before{display:none!important}
html[data-theme="light"] .site-footer .footer-brand,html[data-theme="light"] .site-footer .footer-brand-block p,html[data-theme="light"] .site-footer .footer-col h3,html[data-theme="light"] .site-footer .footer-col a,html[data-theme="light"] .site-footer .footer-copyright,html[data-theme="light"] .site-footer .footer-links a{color:#111!important;text-shadow:none!important;-webkit-text-fill-color:#111!important;opacity:1!important}
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a,html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a .discord-ico{color:#5865f2!important;fill:#5865f2!important;stroke:#5865f2!important;-webkit-text-fill-color:#5865f2!important;font-weight:700}

/* Gaveta Docs mobile: a própria #sbWrap começa no topo, sem o deslocamento antigo. */
@media(max-width:860px){
  html[data-theme="light"] .dh,html[data-theme="light"] .dh-top,html[data-theme="light"] .dh-top-inner{background:#fff!important}
  html[data-theme="light"] .sb-wrap,html[data-theme="light"] .sb-wrap .sb{background:#fff!important;color:#111827!important}
  html[data-theme="light"] .scrim{background:rgba(17,24,39,.42)!important}
  html body .shell>aside#sbWrap,html body .shell>aside#sbWrap.open{position:fixed!important;top:0!important;left:0!important;right:auto!important;bottom:0!important;width:min(320px,88vw)!important;height:100dvh!important;max-height:none!important;min-height:100dvh!important;margin:0!important;padding:max(18px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom))!important;z-index:300!important;overflow-y:auto!important;transform:translateX(-105%)!important}
  html body .shell>aside#sbWrap.open{transform:translateX(0)!important}
  html:not([data-theme="light"]) body .shell>aside#sbWrap,html:not([data-theme="light"]) body .shell>aside#sbWrap .sb{background:#0b0f16!important}
}


/* Ajustes finais solicitados. */
.site-footer:not(.docs-footer) .footer-col[aria-label="Social"] { grid-column: 4; }
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a { color:#111 !important; -webkit-text-fill-color:#111 !important; }
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#5865f2 !important; fill:#5865f2 !important; stroke:#5865f2 !important; -webkit-text-fill-color:#5865f2 !important; }
@media (max-width:900px) {
  .site-footer:not(.docs-footer) .footer-col[aria-label="Social"] { grid-column:3; }
}
@media (max-width:700px) {
  .site-footer:not(.docs-footer) .footer-col[aria-label="Social"] { grid-column:2; }
}

/* Docs: abas menos avançadas, mais altas e sem ficarem coladas ao primeiro título. */
.sb-wrap > .sb-tabs {
  align-self: flex-start !important;
  width: 180px !important;
  margin: -8px 0 10px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.sb-wrap > .sb-tabs .tab {
  padding-inline: 9px !important;
  min-width: 78px !important;
}
.sb-wrap > .sb > h6:first-child { margin-top: 8px !important; }
@media (max-width:860px) {
  .sb-wrap > .sb-tabs {
    width: 100% !important;
    margin: -10px 0 8px 0 !important;
  }
  .sb-wrap > .sb > h6:first-child { margin-top: 4px !important; }
}

/* A documentação não possui rodapé em nenhum breakpoint. */
html body:has(.dh) .site-footer { display:none !important; }

/* Rodapé sem banner/imagem: superfície sólida nos dois temas. */
.site-footer:not(.docs-footer) { background-image:none!important; background-color:#07101b!important; }
:root[data-theme="light"] .site-footer:not(.docs-footer) { background-image:none!important; background-color:#fff!important; color:#101828!important; border-top:1px solid #e5e7eb!important; }
.site-footer:not(.docs-footer)::before { display:none!important; content:none!important; }
.site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#5865f2!important; fill:#5865f2!important; stroke:none!important; }

/* Override definitivo: rodapé sem imagem/banner. */
.site-footer, .site-footer:not(.docs-footer), .site-footer.docs-footer { background:#07101b!important; background-image:none!important; }
.site-footer::before, .site-footer:not(.docs-footer)::before, .site-footer.docs-footer::before { display:none!important; content:none!important; background:none!important; }
:root[data-theme="light"] .site-footer, :root[data-theme="light"] .site-footer:not(.docs-footer), :root[data-theme="light"] .site-footer.docs-footer { background:#fff!important; background-image:none!important; color:#101828!important; }

/* Ajuste final solicitado: fundo preto, sem azul e sem banner no rodapé. */
.site-footer, .site-footer:not(.docs-footer), .site-footer.docs-footer { background:#000!important; background-color:#000!important; background-image:none!important; color:#fff!important; }
.site-footer::before, .site-footer:not(.docs-footer)::before, .site-footer.docs-footer::before { display:none!important; content:none!important; background:none!important; }
.site-footer .footer-brand, .site-footer .footer-brand-block p, .site-footer .footer-col h3, .site-footer .footer-col a { color:#fff!important; text-shadow:none!important; -webkit-text-fill-color:#fff!important; }
.site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#5865f2!important; fill:#5865f2!important; -webkit-text-fill-color:#5865f2!important; }

/* Rodapé unificado: mesma estrutura/medidas do tema claro, trocando apenas a superfície para preto. */
.site-footer,
.site-footer:not(.docs-footer),
.site-footer.docs-footer {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  margin-top:32px!important;
  padding:30px 22px 22px!important;
  border-top:1px solid #202020!important;
  background:#000!important;
  background-color:#000!important;
  background-image:none!important;
  color:#fff!important;
}
.site-footer::before,
.site-footer:not(.docs-footer)::before,
.site-footer.docs-footer::before {
  display:none!important;
  content:none!important;
  background:none!important;
}
.site-footer .site-footer-inner,
.site-footer:not(.docs-footer) .site-footer-inner {
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,1fr))!important;
  align-items:start!important;
  gap:34px!important;
  max-width:1120px!important;
  margin:0 auto!important;
}
.site-footer .footer-brand-block,
.site-footer .footer-col,
.site-footer:not(.docs-footer) .footer-brand-block,
.site-footer:not(.docs-footer) .footer-col {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:11px!important;
  text-shadow:none!important;
}
.site-footer .footer-brand,
.site-footer:not(.docs-footer) .footer-brand {
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:750!important;
  letter-spacing:-.035em!important;
}
.site-footer .footer-brand img,
.site-footer:not(.docs-footer) .footer-brand img { width:36px!important; height:36px!important; object-fit:contain!important; }
.site-footer .footer-brand-block p,
.site-footer .footer-col h3,
.site-footer .footer-col a { color:#fff!important; text-shadow:none!important; -webkit-text-fill-color:#fff!important; }
.site-footer .footer-brand-block p { max-width:275px!important; margin:0!important; font-size:12px!important; line-height:1.65!important; opacity:.9!important; }
.site-footer .footer-col h3 { margin:4px 0 5px!important; font-size:12px!important; font-weight:700!important; letter-spacing:.025em!important; }
.site-footer .footer-col a { display:inline-flex!important; align-items:center!important; min-height:27px!important; font-size:12px!important; line-height:1.45!important; text-decoration:none!important; }
.site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#5865f2!important; fill:#5865f2!important; stroke:none!important; -webkit-text-fill-color:#5865f2!important; }
@media(max-width:900px){
  .site-footer .site-footer-inner,.site-footer:not(.docs-footer) .site-footer-inner { grid-template-columns:1.4fr 1fr 1fr!important; gap:26px!important; }
  .site-footer .footer-brand-block,.site-footer:not(.docs-footer) .footer-brand-block { grid-column:1/-1!important; }
}
@media(max-width:700px){
  .site-footer,.site-footer:not(.docs-footer) { padding:30px 22px 22px!important; }
  .site-footer .site-footer-inner,.site-footer:not(.docs-footer) .site-footer-inner { grid-template-columns:1fr 1fr!important; gap:24px 18px!important; }
}

/* Selo "Taxa fixa de R$ 0,40": carteira bem menor. */
.home-page .hero .badge .badge-logo { width:20px!important; height:20px!important; margin:-2px 0 -2px -3px!important; }

/* Dashboard: ícone da marca (aba lateral e topo) menor. */
.sidebar-brand>img { width:28px!important; height:28px!important; margin:0!important; }
.sidebar-brand { gap:9px!important; }
.top-brand img { width:22px!important; height:22px!important; }

/* Dashboard tema claro: tudo branco, sem cinza. */
:root[data-theme="light"]{--bg:#fff!important;--topbg:#fff!important;--strip:#fff!important;--side:#fff!important;--card:#fff!important}
:root[data-theme="light"] .app-header,:root[data-theme="light"] .app-header .header-inner,:root[data-theme="light"] .workspace{background:#fff!important}
:root[data-theme="light"] .metric-card,:root[data-theme="light"] .balance-card,:root[data-theme="light"] .home-dashboard .balance-card{background:#fff!important}

/* Social: ícone do Discord azul; texto igual aos demais links. */
.site-footer .footer-col[aria-label="Social"] a .discord-ico,
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#1a8cff!important; fill:#1a8cff!important; stroke:none!important; -webkit-text-fill-color:#1a8cff!important; }
.site-footer .footer-col[aria-label="Social"] a { font-weight:400!important; }
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a { color:#111!important; -webkit-text-fill-color:#111!important; font-weight:400!important; }
.site-footer .footer-col[aria-label="Social"] a:not(:hover) { opacity:1!important; }
.site-footer .footer-col a .discord-ico { display:block!important; flex:none!important; width:18px!important; height:18px!important; margin-right:7px!important; }
.site-footer .footer-col[aria-label="Social"] a { gap:0!important; }
.site-footer .footer-col a .discord-ico { margin-right:4px!important; }
.site-footer .footer-col[aria-label="Social"] a .discord-ico,
html[data-theme="light"] .site-footer .footer-col[aria-label="Social"] a .discord-ico { color:#5865f2!important; fill:#5865f2!important; -webkit-text-fill-color:#5865f2!important; }
.home-page .pv-menu-link[data-menu="home"]{display:none!important}

/* Dashboard: sem listra/faixa no topo (barra do topo com a mesma cor do fundo, sem borda, sombra ou blur). */
.app-header,.app-header .header-inner{background:var(--bg)!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.app-header::before,.app-header::after,.workspace::before,.workspace::after{display:none!important;content:none!important}

/* Celular: Navegação, Informações e Social lado a lado. */
@media(max-width:700px){
  .site-footer .site-footer-inner,.site-footer:not(.docs-footer) .site-footer-inner,.home-page .site-footer:not(.docs-footer) .site-footer-inner { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:22px 12px!important; }
  .site-footer .footer-brand-block,.site-footer:not(.docs-footer) .footer-brand-block { grid-column:1/-1!important; }
  .site-footer .footer-col[aria-label="Social"],.site-footer:not(.docs-footer) .footer-col[aria-label="Social"] { grid-column:auto!important; }
}

/* Desktop: só o Social mais perto de Informações; o resto do rodapé fica como era. */
@media(min-width:901px){ .site-footer .footer-col[aria-label="Social"] { position:relative; left:-60px; } }
@media(min-width:701px) and (max-width:900px){ .site-footer .footer-col[aria-label="Social"] { position:relative; left:-20px; } }
