/* Navegação entre os módulos do HAFID ERP: caminho de volta no topo e vitrine no rodapé.
   Cores e medidas vêm do mesmo conjunto das páginas de módulo (greensys-modules.css). */

.gs-pilot .gs-eyebrow a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.gs-pilot .gs-eyebrow a:hover,
.gs-pilot .gs-eyebrow a:focus-visible{
  color: #0d4f5d;
}

.gs-pilot .gs-modnav{
  padding: 46px 0 10px;
  background: #fff;
  border-top: 1px solid #dbe6eb;
}
.gs-pilot .gs-modnav-titulo{
  font-size: 19px;
  margin: 0 0 18px;
  color: #113a60;
}
.gs-pilot .gs-modnav-lista{
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 2px 0 20px;
  list-style: none;
  overflow-x: auto;
  /* sem scroll-snap: o carrossel gira sozinho e o encaixe puxaria a faixa de volta */
  scrollbar-width: thin;
  scrollbar-color: #9cbac5 #eef5f7;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.gs-pilot .gs-modnav-lista.gs-modnav-arrastando{
  cursor: grabbing;
  user-select: none;
}
/* durante o arrasto o ponteiro manda; o item não pode "roubar" o movimento */
.gs-pilot .gs-modnav-lista.gs-modnav-arrastando a,
.gs-pilot .gs-modnav-lista.gs-modnav-arrastando span{
  pointer-events: none;
}
.gs-pilot .gs-modnav-lista::-webkit-scrollbar{ height: 8px; }
.gs-pilot .gs-modnav-lista::-webkit-scrollbar-track{ background: #eef5f7; border-radius: 8px; }
.gs-pilot .gs-modnav-lista::-webkit-scrollbar-thumb{ background: #9cbac5; border-radius: 8px; }
.gs-pilot .gs-modnav-lista li{
  flex: 0 0 auto;
  margin: 0;
}
.gs-pilot .gs-modnav-lista a,
.gs-pilot .gs-modnav-atual{
  display: block;
  white-space: nowrap;
  padding: 11px 20px;
  border: 1px solid #dbe6eb;
  border-top: 3px solid #1b8699;
  border-radius: 9px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  color: #164663;
}
.gs-pilot .gs-modnav-lista a:hover,
.gs-pilot .gs-modnav-lista a:focus-visible{
  background: #eef5f7;
  border-color: #91b3c1;
  border-top-color: #116c7e;
}
.gs-pilot .gs-modnav-atual{
  background: #116c7e;
  border-color: #116c7e;
  border-top-color: #0d4f5d;
  color: #fff;
  cursor: default;
}

@media (max-width: 600px){
  .gs-pilot .gs-modnav{ padding-top: 32px; }
  .gs-pilot .gs-modnav-lista{ gap: 10px; }
  .gs-pilot .gs-modnav-lista a,
  .gs-pilot .gs-modnav-atual{ padding: 10px 16px; font-size: 14px; }
}
