/* ===== Menu com submenus (Arte e Design 3D / Soluções Digitais) ===== */
.nav-dd { position: relative; }
.nav-dd-btn {
  background: none; border: 0; font: inherit; cursor: pointer;
  color: var(--ink); font-weight: 600; font-size: .93rem;
  padding: 8px 10px; border-radius: 9px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-dd-btn::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .7;
}
.nav-dd-btn:hover, .nav-dd.is-current > .nav-dd-btn { background: var(--soft); color: var(--blue); }
.nav-dd-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px;
  flex-direction: column;
}
.nav-dd-menu a { display: block; padding: 10px 12px; }
.nav-dd-menu a small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.open .nav-dd-menu { display: flex; }
/* ponte invisível para o mouse não "cair" entre o botão e o submenu */
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }

@media (max-width: 1180px) {
  .nav-dd { width: 100%; }
  .nav-dd-btn { width: 100%; justify-content: space-between; padding: 12px; }
  .nav-dd-menu {
    position: static; display: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 6px 12px; padding: 0 0 0 8px; min-width: 0;
  }
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: none; }
  .nav-dd.open .nav-dd-menu { display: flex; }
}
