nav {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);;
}

/* Setinha indicando submenu */
.navbar-main .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.navbar-main .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 0.30rem solid transparent;
  border-right: 0.30rem solid transparent;
  border-top: 0.35rem solid currentColor; /* cor acompanha o texto */
  opacity: 0.75;
  transform: translateY(1px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-tools {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.scroll-tools.show {
  opacity: 1;
  pointer-events: auto;
}

/* Submenu (desktop): mostrar apenas ao passar o mouse */
@media (min-width: 992px) {
  .navbar-main .menu-item-has-children {
    position: relative;
  }
  /* Desktop: ao passar o mouse no item, gira a setinha */
  .navbar-main .menu-item-has-children:hover > a::after {
    transform: translateY(1px) rotate(180deg);
    opacity: 1;
  }

  .navbar-main .menu-item-has-children > .sub-menu {
    display: none;            /* ESSE é o principal ajuste */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;

    min-width: 220px;
    margin: 0;
    padding: 1rem;
    list-style: none;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
  }

  .navbar-main .menu-item-has-children:hover > .sub-menu {
    display: block;
  }

  .navbar-main .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .navbar-main .sub-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  /* Força submenu alinhado à esquerda (o menu principal usa text-center) */
  .navbar-main .menu-item-has-children > .sub-menu,
  .navbar-main .menu-item-has-children > .sub-menu li,
  .navbar-main .menu-item-has-children > .sub-menu a {
    text-align: left;
  }
}