/* Estilo automático para a página: empreendimentos */
section {
  h2 {
    font-size: 32px;
    line-height: 114%;
  }
}

section.filtro {
  a {
    color: #7b7b7b;
    text-decoration: none;
    &.selected {
      color: inherit;
      text-decoration: none;
      font-weight: 700;
    }
  }
}

section.empreendimentos {
  .card-emp {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;

    .card-thumb {
      position: relative;
      z-index: 0;
      max-height: 340px;
      height: 40svh;
      overflow: hidden;

      .badge-holder {
        position: absolute;
        top: 20px;
        left: 28px;
        z-index: 2;

        .badge {
          /* background-color: #3d1d00; */
          height: 36px;
          /* color: #ffd1a3; */
          padding: 0;
          font-size: 16px;
          font-weight: 500;
          z-index: 2;
          display: flex;
          align-items: center;
          border-radius: 80px;

          .holder {
            /* background-color: #ffd1a3; */
            border-radius: 50%;
            padding: 14px 7px;
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);

            svg path {
              /* fill: #3d1d00; */
            }
          }

          .outer {
            /* background-color: #3d1d00; */
            height: 36px;
            align-content: center;
            padding-left: 38px;
            padding-right: 16px;
            border-radius: 80px;
          }
        }
      }

      @media (max-width: 768px) {
        max-height: 280px;
        height: 32svh;
      }
    }

    .price {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 8px;
      transition: 300ms all ease-in-out;
      font-size: 18px;

      bold {
        font-size: 24px;
        font-weight: 600;
        line-height: 135%;
      }
      @media (min-width: 992px) and (max-width: 1400px) {
        font-size: 16px;
        bold {
          font-size: 20px;
        }
      }
      @media (max-width: 380px) {
        font-size: 14px;
        bold {
          font-size: 18px;
        }
      }
    }

    .card-body {
      width: 100%;
      flex-grow: 1;
      padding: 24px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      gap: 16px;
      box-shadow: 4px 4px 25px 2px #56596726;
      border-radius: 0 0 15px 15px;

      .title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;

        .loc {
          display: flex;
          align-items: center;
          gap: 8px;
          padding: 4px 12px;
          border-radius: 5px;
          outline: 0.6px solid #afafaf;
          color: #555866;
          font-size: 14px;
          img {
            width: 12px;
          }
        }
      }

      h3 {
        color: #23252f;
        font-weight: 700;
        font-size: 22px;
        line-height: 135%;
        margin: 0;
        @media (min-width: 992px) {
          font-size: 22px;
        }
        @media (max-width: 768px) {
          font-size: 20px;
        }
      }

      .diferenciais {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;

        .dif {
          flex: 1 1 calc(48% - 8px);
          padding: 14px 26px;
          border-radius: 5px;
          line-height: 16px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 6px;
          color: #555866;
          text-align: center;
          border: 1px solid var(--laranja);
          background-color: #ff6a001a;
          aspect-ratio: 2 / 1;
          /* max-height: 87px;
          max-width: 176px; */
          font-size: 16px;
          font-weight: 400;
          opacity: 1;
          font-size: 15px;

          &.renda {
            flex: 2;
            flex-direction: row;
            gap: 16px;
            text-align: start;
            line-height: 110%;
            color: var(--cinza);
            font-size: 14px;
            aspect-ratio: auto;
            max-width: 100%;
            padding: 8px;

            bold {
              font-weight: 600;
              font-size: 22px;
              line-height: 135%;
              color: var(--laranja);
            }
          }

          @media (max-width: 380px) {
            padding: 8px;
            font-size: 10px;
            line-height: 10px;
            .price .bold {
              font-size: 18px;
            }
          }

          @media (max-width: 768px) {
            padding: 12px;
            font-size: 12px;
            line-height: 12px;
          }

          @media (min-width: 992px) and (max-width: 1400px) {
            font-size: 12px;
            padding: 12px 18px;
            .price {
              font-size: 12px;
            }
          }
        }
      }

      a {
        color: var(--roxo);
      }
      @media (max-width: 768px) {
        padding: 16px;
        gap: 12px;
      }
    }
  }

  .img-placeholder {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 340px;
    height: 40svh;
    object-fit: cover;
    transition: 500ms all ease-in-out;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 15px 15px 0 0;
    }
    @media (max-width: 768px) {
      max-height: 280px;
      height: 32svh;
    }
  }
}

.filtro-full {
  h3,
  p {
    color: #ffeecc;
  }

  hr {
    border: 1px solid #9178a7;
    margin-bottom: 24px;
  }

  label {
    font-size: 16px;
  }
}
