/* SOMA EMPRESARIAL — CABECALHO GLOBAL V6 (ajuste leve)
   Referencia visual: cabecalho da Reforma Tributaria aprovado pelo cliente.
   Modifica SOMENTE proporcoes do cabecalho publico no desktop.
   Mantem imagens, cores, menus, conteudos, rodapes e Manager intactos.
   Substitui a V5 no mesmo caminho para nao modificar index.php. */

/* Desktop: reducao suave de altura e logo, mantendo as proporcoes. */
@media screen and (min-width: 1360px) {
  html body[class] header.site-header {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    background-color: #202020 !important;
    color: #f5f4f1 !important;
  }
  html body[class] header.site-header > .header-inner {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    background: transparent !important;
  }
  html body[class] header.site-header .header-inner > a.brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 92px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }
  html body[class] header.site-header .header-inner > a.brand > img {
    display: block !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: auto !important;
    max-height: 76px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  html body[class] header.site-header nav#navigation {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
  }
  html body[class] header.site-header nav#navigation > a,
  html body[class] header.site-header nav#navigation > a > span {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    color: #f5f4f1 !important;
    white-space: nowrap !important;
  }
  html body[class] header.site-header nav#navigation > a:hover,
  html body[class] header.site-header nav#navigation > a:focus-visible {
    color: #e8cfaa !important;
  }
  html body[class] header.site-header .header-inner > a.header-phone {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #f5f4f1 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    border-left: 0 !important;
  }
  html body[class] header.site-header .header-inner > a.header-phone > small {
    display: block !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.04em !important;
    color: #f5f4f1 !important;
  }
}

/* Notebooks: reducao suave com menu legivel e sem quebra. */
@media screen and (min-width: 1024px) and (max-width: 1359px) {
  html body[class] header.site-header {
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    background-color: #202020 !important;
    color: #f5f4f1 !important;
  }
  html body[class] header.site-header > .header-inner {
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 9px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }
  html body[class] header.site-header .header-inner > a.brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 82px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  html body[class] header.site-header .header-inner > a.brand > img {
    display: block !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
  }
  html body[class] header.site-header nav#navigation {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
  }
  html body[class] header.site-header nav#navigation > a,
  html body[class] header.site-header nav#navigation > a > span {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.015em !important;
    white-space: nowrap !important;
    color: #f5f4f1 !important;
  }
  html body[class] header.site-header .header-inner > a.header-phone {
    flex: 0 0 auto !important;
    font-size: 14px !important;
    color: #f5f4f1 !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }
  html body[class] header.site-header .header-inner > a.header-phone > small {
    font-size: 10px !important;
    color: #f5f4f1 !important;
  }
}

/* Em telas com menos de 1024px, o cabecalho responsivo permanece intacto. */
