.page--solucoes .subnav .nav {
  overflow: auto;
  white-space: nowrap;
}
.page--solucoes .subnav .nav .nav-link {
  margin-right: 24px;
  display: inline-block;
}
@media only screen and (max-width: 1024px) {
  .page--solucoes .subnav .nav .nav-link:first-child {
    margin-left: 12px;
  }
}
.page--solucoes .item-solucoes:hover .img-cover {
  transform: scale(1.1);
}
.page--solucoes .item-solucoes .img-cover {
  min-height: 390px;
  object-fit: cover;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.page--solucoes .plataforma {
  position: relative;
}
.page--solucoes .plataforma::before {
  width: 100%;
  height: 50%;
  background: #0020c6;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 1;
  content: "";
}
.page--solucoes .plataforma .container {
  position: relative;
  z-index: 2;
}
.page--solucoes .beneficios .card {
  min-height: 180px;
}
@media only screen and (max-width: 768px) {
  .page--solucoes .beneficios .card {
    min-height: auto;
    padding-bottom: 36px !important;
  }
}
/* ==========================================================================
   Página de Soluções - Documentação Técnica & Automações (HageTags)
   Arquivo: public/assets/web/scss/app/pages/solucoes.scss
   ========================================================================== */

/* --- Sidebar Fixa da Documentação --- */
.doc-sidebar {
  position: sticky;
  top: 100px;
  height: max-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  z-index: 10;

  .doc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .doc-link {
    display: block;
    padding: 8px 16px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    margin-bottom: 4px;
    border-left: 3px solid transparent;

    &:hover,
    &.active {
      background-color: #f8f9fa;
      color: #0d6efd;
      border-left-color: #0d6efd;
      transform: translateX(4px);
    }
  }
}

/* --- Caixas de Código Escuras (Dark Mode Box) --- */
.code-box {
  position: relative;
  background-color: #0b1727;
  border: 1px solid #111b2e;
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin-top: 0.5rem;

  pre {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #e6edf7;
    font-family:
      ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
      monospace;
    white-space: pre-wrap;
    word-break: break-word;
    background: transparent;
    border: none;
    padding: 0;

    code {
      color: #e6edf7;
      background: transparent;
      font-family: inherit;
      padding: 0;
    }
  }
}

/* --- Callouts / Alertas de Aviso --- */
.callout {
  background: #f8f9fa;
  border: 1px solid #e4e8ef;
  border-left: 4px solid #0d6efd;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #5b6472;
  font-size: 14px;

  &.callout--warn {
    border-left-color: #ffc107;
    background: #fff6e0;
    color: #664d03;
  }
}

/* --- Badges de Seções --- */
.part-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;

  &.part-badge--1 {
    background-color: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
  }

  &.part-badge--2 {
    background-color: rgba(255, 193, 7, 0.2);
    color: #8a5a00;
  }
}

/* --- Helpers de Layout --- */
.max-w-700 {
  max-width: 700px;
}

.br-10 {
  border-radius: 10px;
}

.br-30 {
  border-radius: 30px;
}
