.servicos {
  padding: 80px 0;

  h1 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
  }

  .search-content {
    margin-bottom: 40px;
  }

  .oque-mudamos {
    background: #e6f5ff;
    border: 1px solid #045c99;
    border-radius: 8px;
    box-shadow: 0px 0.5px 1px #ffffff;
    display: flex;
    padding: 12px 16px;
    gap: 12px;
    margin-bottom: 16px;

    .text-content {
      h2 {
        color: #033e66;
        font-size: 16px;
        font-weight: bold;
        margin: 0;
      }

      p {
        color: #033e66;
        font-size: 16px;
        margin: 0;
      }
    }
  }

  .filter-content {
    .por-perfil {
      border: 1px solid #dbdbdb;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 10px;

      .title-content {
        display: flex;
        align-items: center;

        .title {
          display: flex;
          gap: 16px;
          align-items: center;

          p {
            font-size: 24px;
            font-weight: 600;
            margin: 0;
          }
        }
        .drop-icon {
          display: none;
          transition: 0.7s cubic-bezier(0.56, -0.01, 0, 0.99);
        }

        .drop-icon.active {
          transform: rotate(180deg);
        }
      }

      .filter-buttons {
        transition: 0.4s cubic-bezier(0.82, 0.01, 0.11, 1);

        .row {
          margin-top: 16px;
          row-gap: 16px;
        }
        .col-lg-4,
        .col-lg-6 {
          padding: 0 8px;
          margin: 0;

          .button-filter {
            border: 1px solid #dbdbdb;
            display: flex;
            flex-direction: column;
            height: 120px;
            border-radius: 8px;
            justify-content: center;
            align-items: center;

            .buttom-content {
              display: grid;
              justify-items: center;
              gap: 4px;

              p {
                margin: 0;
                color: #004f9f;
                font-size: 14px;
                font-weight: bold;
                text-align: center;
              }
            }
          }

          .button-filter.is-active {
            background: #004f9f;

            .buttom-content {
              svg {
                path {
                  fill: white;
                }
              }
              p {
                color: white;
              }
            }
          }
        }
      }
    }

    .por-categoria {
      border: 1px solid #dbdbdb;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 24px;

      .control-content {
        display: flex;
        justify-content: space-between;

        .title-content {
          display: flex;
          align-items: center;

          .title {
            display: flex;
            gap: 16px;
            align-items: center;

            p {
              font-size: 24px;
              font-weight: 600;
              margin: 0;
            }
          }
        }

        .controls {
          display: flex;
          gap: 10px;

          .cat-dots {
            display: flex;
            gap: 8px;
            align-items: center;

            button {
              background: #f5f5f5;
              border: none;
              width: 8px;
              height: 8px;
              padding: 0;
              border-radius: 50%;
            }

            button.is-active {
              background: #004f9f;
            }
          }

          .nav-control {
            display: flex;
            gap: 8px;

            button {
              display: grid;
              border: 2px solid #ededed;
              background: white;
              border-radius: 50%;
              width: 32px;
              height: 32px;
            }
          }
        }

        .drop-icon {
          display: none;
          transition: 0.7s cubic-bezier(0.56, -0.01, 0, 0.99);
        }
        .drop-icon.active {
          transform: rotate(180deg);
        }
      }

      .filter-buttons {
        .row {
          margin-top: 16px;

          .cat-slider {
            position: relative;
            width: 100%;

            .cat-viewport {
              overflow: hidden;

              .cat-track {
                display: flex;
                transition: transform 0.3s ease;

                .cat-slide {
                  flex: 0 0 100%;

                  .cat-grid {
                    display: grid;
                    grid-template-columns: repeat(4, minmax(0, 1fr));
                    gap: 16px;

                    .cat-cell {
                      .button-filter {
                        border: 1px solid #dbdbdb;
                        display: flex;
                        flex-direction: column;
                        height: 120px;
                        border-radius: 8px;
                        justify-content: center;
                        align-items: center;

                        .buttom-content {
                          display: grid;
                          justify-items: center;
                          gap: 4px;

                          svg {
                            path {
                              fill: #004f9f;
                            }
                          }

                          p {
                            padding: 6px;
                            margin: 0;
                            color: #004f9f;
                            font-size: 14px;
                            font-weight: bold;
                            text-align: center;
                          }
                        }
                      }

                      .button-filter.is-active {
                        background: #004f9f;

                        .buttom-content {
                          svg {
                            path {
                              fill: white;
                            }
                          }
                          p {
                            color: white;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .lista-servicos-wrap {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 0 !important;
    box-shadow: 0 8px 12px #f5f6f6;

    .table-filter {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      flex-wrap: wrap;

      h3 {
        color: #1d1d1b;
        font-size: 24px;
        font-weight: 600;
        margin: 0;
      }

      label {
        color: #30302e;
        font-size: 14px;
        font-weight: 600;
      }
    }

    .lista-servicos {
      .servico-item {
        a {
          display: flex;
          color: #30302e !important;
          font-size: 16px;
          font-weight: 600;
          width: 100%;
          justify-content: space-between;

          .svg-icone {
            display: none;
          }
        }

        a:hover {
          color: #004f9f !important;
          text-decoration-line: underline;

          svg {
            display: unset;
          }
        }
      }
    }

    .see-more {
      display: flex;
      justify-content: center;

      a {
        border-radius: 9999px;
        border: 2px solid #004f9f;
        color: #004f9f;
        font-size: 15px;
        font-weight: 700;
        padding: 7px 10px;
      }
    }
  }
}

@media (max-width: 991px) {
  .servicos {
    .title-content {
      .drop-icon {
        display: unset !important;
      }
    }
    .filter-buttons {
      height: 0;
      overflow: hidden;
      transition: height 0.3s ease;
    }
  }
}

@media (max-width: 991px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 500px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.alert-servicos {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f1f7ff;
  border: 1px solid #cfe3ff;
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
}

.alert-servicos .icon {
  flex: 0 0 auto;
}

.alert-servicos .text-content {
  flex: 1 1 auto;
}

.alert-servicos .alert-title {
  margin: 0 0 4px;
  font-size: 1.125rem;
  color: #033e66;
}

.alert-servicos .alert-desc {
  margin: 0;
  color: #033e66;
}

.alert-servicos .alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  border-radius: 6px;
}

.alert-servicos .alert-close:focus {
  outline: 2px solid #004f9f;
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}


.servico-item .servico-icone,
.servico-item .svg-icone {
  width: 20px !important;
  height: 20px !important;
  display: inline-block;
  vertical-align: middle;
  overflow: visible; /* evita clipping */
}

.servico-item .servico-titulo {
  display: inline-flex;
  gap: 1.4rem;
  align-items: flex-start; /* evita topo “comido” */
}