/* ================================================================
   work-dark.css — Dark mode para páginas de trabalhos
   (amp_work.html, console_work.html, it_work.html, etc.)
   Carregar no <head> dessas páginas:
   <link rel="stylesheet" href="css/work-dark.css">
================================================================ */

/* ---- Fundo geral ---- */
[data-theme="dark"] body {
  background: #0f0f1a;
  color: #d0d0e0;
}

/* ---- Header ---- */
[data-theme="dark"] #header {
  background: #12121f;
  border-bottom: 1px solid #2a2a40;
}
[data-theme="dark"] .header-top-new {
  background: #12121f;
}
[data-theme="dark"] .nav-menu li a {
  color: rgba(255,255,255,0.7);
}
[data-theme="dark"] .nav-menu li a:hover {
  color: #fff;
}
[data-theme="dark"] .menu-link-active {
  background: #c0392b !important;
}

/* ---- Banner da página ---- */
[data-theme="dark"] .work-banner {
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.20);
}
/* ---- Secção intro ---- */
[data-theme="dark"] .work-intro {
  background: #13131f;
}
[data-theme="dark"] .work-intro h2 {
  color: #f0f0f0;
}
[data-theme="dark"] .work-intro p {
  color: #a0a0b8;
}

/* ---- Conteúdo principal ---- */
[data-theme="dark"] .post-content-area {
  background: #0f0f1a;
}

/* ---- Cards de reparação ---- */
[data-theme="dark"] .repair-post {
  border-color: #2a2a40;
}
[data-theme="dark"] .repair-title {
  color: #f0f0f0;
}
[data-theme="dark"] .repair-excerpt {
  color: #a0a0b8;
}
[data-theme="dark"] .repair-tag {
  background: #1e1e30;
  color: #a0a0b8;
  border-color: #2a2a40;
}
[data-theme="dark"] .repair-tag.marca {
  background: #2a1a1a;
  color: #e07070;
  border-color: #4a2a2a;
}
[data-theme="dark"] .repair-tag.estado {
  background: #1a2a1a;
  color: #70c070;
  border-color: #2a4a2a;
}
[data-theme="dark"] .repair-detail-box {
  background: #1e1e30;
}
[data-theme="dark"] .repair-detail-box h6 {
  color: #7070a0;
}
[data-theme="dark"] .repair-detail-box p {
  color: #a0a0b8;
}

/* ---- Sidebar ---- */
[data-theme="dark"] .sidebar-box {
  background: #1e1e30;
  border-color: #2a2a40 !important;
  box-shadow: none !important;
}
[data-theme="dark"] .sidebar-box h5 {
  color: #d0d0e0;
}
[data-theme="dark"] .sidebar-cat-list li a {
  color: #a0a0b8;
  border-color: #2a2a40;
}
[data-theme="dark"] .sidebar-cat-list li a:hover {
  color: #c0392b;
}
[data-theme="dark"] .sidebar-recent h6 {
  color: #d0d0e0;
}
[data-theme="dark"] .sidebar-recent p {
  color: #7070a0;
}

/* ---- SEO content ---- */
[data-theme="dark"] .repair-seo-content {
  background: #13131f;
}
[data-theme="dark"] .repair-seo-content h2 {
  color: #f0f0f0;
}
[data-theme="dark"] .repair-seo-content p {
  color: #a0a0b8;
}

/* ---- Paginação ---- */
[data-theme="dark"] .blog-pagination .page-link {
  background: #1e1e30;
  border-color: #2a2a40;
  color: #a0a0b8;
}
[data-theme="dark"] .blog-pagination .page-item.active .page-link {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

/* ---- Footer ---- */
[data-theme="dark"] .footer-area {
  background: #0a0a14;
}
[data-theme="dark"] .footer-text {
  color: rgba(255,255,255,0.5);
}

/* ---- Botão toggle dark mode ---- */
#dmToggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  margin-left: 10px;
  vertical-align: middle;
  transition: background .2s, border-color .2s, transform .2s;
}
#dmToggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.08);
}
html[data-theme="dark"] .work-intro h3 {
    color: #ffffff;
    font-weight: 600;
}

