/* ==============================================
   BARRA DE ACESSIBILIDADE
   O contraste e font-size são controlados
   pelas classes do TEMA (theme-black, font-size-*)
   Este CSS cobre apenas o visual da barra.
============================================== */

.acc-topbar {
  width: 100%;
  background: #0a1929 !important;
  color: #fff !important;
  font-size: 13px;
  position: relative;
  z-index: 9999;
}

/* Remove qualquer fundo indevido do Elementor */
.acc-topbar .elementor,
.acc-topbar .elementor-section,
.acc-topbar .elementor-container,
.acc-topbar .e-con,
.acc-topbar .e-con-inner {
  background: transparent !important;
  background-color: transparent !important;
}

.acc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  box-sizing: border-box;
}

/* LINKS DE SKIP */
.acc-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.acc-left a {
  color: #c9d6e2 !important;
  margin-right: 14px;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
  font-size: 12px !important;
}

.acc-left a:hover,
.acc-left a:focus {
  color: #fff !important;
  text-decoration: underline;
  outline: none;
}

/* CONTROLES */
.acc-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.acc-right > span:not(.acc-label) {
  color: #7a9dbf;
  font-size: 12px;
}

.acc-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7a9dbf;
  font-weight: 500;
}

/* BOTÕES A− / A / A+ */
.acc-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 3px;
  line-height: 1.6;
  transition: background 0.15s;
  font-family: inherit;
}

.acc-btn:hover,
.acc-btn:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.acc-btn.acc-reset {
  font-size: 11px;
  opacity: 0.6;
}

.acc-btn.acc-reset:hover {
  opacity: 1;
}

/* SWITCH DE CONTRASTE */
.acc-toggle {
  width: 40px;
  height: 20px;
  background: #2a4a6a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
  padding: 0;
}

.acc-toggle .circle {
  width: 14px;
  height: 14px;
  background: #7a9dbf;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.25s, background 0.25s;
  pointer-events: none;
}

/* Ativo = tema escuro ligado */
.acc-toggle.acc-toggle--active {
  background: #4da3ff !important;
  border-color: #4da3ff !important;
}

.acc-toggle.acc-toggle--active .circle {
  left: 22px;
  background: #fff;
}

/* ==============================================
   RESPONSIVO
============================================== */
@media (max-width: 768px) {
  .acc-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
  }

  .acc-left a {
    margin-right: 8px;
  }
}