/* Fonte (opcional, mas ajuda a ficar mais "clean") */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ============================================
   MENU SYNTECH - CSS MODERNO COM QUICKMENU.JS
   ============================================ */
body {    font-family: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* MENU CONTAINER */
#menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background:rgb(51,51,51);
   
    z-index: 1000;
   
}

#menu-wrapper table {
    width: 100%;
    height: 100%;
}

/* LOGO */
.menu-logo {
    padding: 8px 9px;
    display: flex;
    align-items: center;
}

.menu-logo img {
    max-height: 65px;
    width: auto;
    display: block;
}

/* QUICKMENU MAIN CONTAINER */
#qm0 {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 150px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    width: 100%;
    position: relative;
}

#qm0 a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
    position: relative;
    border: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    font-weight: 500;
    float: left;
}

#qm0 a:hover {
    color: #ff9941!important;
    background: rgba(112, 112, 112, 0.08) !important;
    border-radius: 4px;
}

/* SETAS NOS DROPDOWNS */
.qmparent::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    color: #ffffff!important;
}

#qm0 .qmparent {
    background: transparent !important;
    background-position: unset !important;
}

/* ACTIVE STATE */
body #qm0 .qmactive,
body #qm0 .qmactive:hover {
    color: #ff9941!important;
    background: rgba(112, 112, 112, 0.08) !important;
    border-radius: 4px;
}

/* SUBMENU CONTAINER - BRANCO SÓLIDO */
#qm0 div {
    visibility: hidden !important;
    position: absolute !important;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 8px 0 !important;
    min-width: 200px;
    z-index: 1001 !important;
    opacity: 1 !important;
    margin-top: 8px;
}

#qm0 div a {
    display: block !important;
    float: none !important;
    padding: 12px 20px !important;
    border: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 15px !important;
    border-left: 3px solid transparent !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    width: auto;
}

#qm0 div a:hover {
    background: #f5f5f5 !important;
    border-left-color: #ff9941!important;
    color: #ff9941!important;
    padding-left: 22px !important;
}

#qm0 div a.qmactive,
#qm0 div a.qmactive:hover {
    background: #f5f5f5 !important;
    border-left-color: #ff9941!important;
    color: #ff9941!important;
}

/* MOSTRAR SUBMENU */
#qm0 div[style*="inherit"] {
    visibility: visible !important;
}


.teamviewer-btn img {
    height: 28px;
    width: auto;
}




.contatos-badge{
  display: block;
  width: fit-content;
  
  padding: 6px 16px;
  border: 1px solid #f60;
  border-radius: 30px;
  color: #f60;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 auto 9px;
  font-family: Arial, sans-serif;
}

.contatos-title{
   text-align: center;
  font-size: 39px;
  font-weight: 700;
  color: #000;
    margin: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.contatos-line{
   text-align: center;
   width: 125px;
  height: 4px;
  background: #f60;
  border-radius: 10px;
  margin: 12px auto 0;
}




/* RESPONSIVO */
@media (max-width: 768px) {
    #qm0 {
        flex-wrap: wrap;
        height: auto;
        padding: 10px !important;
    }

    #qm0 a {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .teamviewer-btn {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
        float: none;
        height: auto;
        padding-right: 0;
        padding: 10px;
    }

    .teamviewer-btn a {
        width: 100%;
        justify-content: center;
    }

    #qm0 div {
        min-width: 150px;
    }
}

/* CORREÇÃO PARA TABELAS DENTRO DO DROPDOWN */
#qm0 div table {
    width: 100%;
    border: none;
}

#qm0 div table tr td {
    padding: 0;
    border: none;
}

#qm0 div table tr td a {
    padding: 12px 20px !important;
    display: block;
    border-left: 3px solid transparent !important;
    background: #ffffff !important;
}

#qm0 div table tr td a:hover {
    background: #f5f5f5 !important;
}

/* REMOVE ESPAÇAMENTO DESNECESSÁRIO */
.qmclear {
    display: none !important;
}

/* MENU WRAPPER AJUSTE DE CONTEÚDO */
#menu-wrapper table td {
    vertical-align: middle;
  
}

/* AJUSTE DO CONTEÚDO PARA MENU FIXO */
body {
    padding-top: 70px;
}

  .menu-bar-mobile,
  .sidebar-toggle,
  #sidebar-overlay {
    display: none;
  }

/* Mobile sidebar - escondido no desktop */
#mobile-sidebar {
  display: none;
}

/* ============================================
   MOBILE: SIDEBAR RECOLHÍVEL + TOPBAR LOGO
   ============================================ */

@media screen and (max-width: 1000px) and (orientation: portrait) {
  :root {
    --sidebar-width: 260px;
    --sidebar-bg: #222;
  }

  .menu-desktop {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }

  /* Esconde o QuickMenu no mobile - o sidebar mobile substitui */
  #qm0 {
    display: none !important;
  }

  .menu-bar-mobile {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 10px;
    background: rgb(51,51,51);
  }

  .sidebar-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 6px 10px;
    display: flex;
    z-index: 9999;
  }

  .menu-bar-mobile .menu-logo {
    margin-left: auto;
  }

  .menu-bar-mobile .menu-logo img {
    max-height: 60px;
  }

  /* SIDEBAR MOBILE */
  #mobile-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: calc(-1 * var(--sidebar-width));
   width: 200px;
    height: 100vh;
    background: rgb(51,51,51);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-top: 60px;
  }

  #mobile-sidebar.active {
    left: 0;
  }

  #mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 46px;
  }

  .mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: #fff !important;
    font-size: 18px;
    font-family: Arial, sans-serif;
    text-decoration: none !important;
  
    transition: background 0.2s, color 0.2s;
    text-align: left;
    
  }

  .mobile-nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: #ff9941 !important;
  }



  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap:10px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-family: Arial, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
   
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle.open {
    background: rgba(255,255,255,0.06);
    color: #f60;
  }

  .mobile-nav-arrow {
    font-size: 18px;
    transition: transform 0.25s ease;
    display: inline-block;
    flex-shrink: 0;
  }

  .mobile-nav-submenu {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.25);
  }

  .mobile-nav-submenu.open {
    display: flex;
  }

  .mobile-nav-submenu a {
    display: block !important;
    padding: 12px 5px 12px 16px !important;
    color: #ccc !important;
    font-size: 18px !important;
    font-family: Arial, sans-serif !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s, color 0.2s;
    text-align: left;
  }

  .mobile-nav-submenu a:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #ff9941 !important;
  }

  /* Overlay escuro atrás do sidebar */
  #sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1500;
  }

  #sidebar-overlay.active {
    display: block;
  }

  body {
    padding-top: 60px;
  }

  #mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 60px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

}

#mobile-sidebar-header span {
  color: #fff;
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#mobile-sidebar-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  transition: color 0.2s;
}

#mobile-sidebar-close:hover {
  color: #ff9941;
}
.contatos-badge {
  padding: 4px 13px;
}
.contatos-title {
  text-align: center;
  font-size: 33px;
}
}
