/* 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;
    height: 100%;

    .card-thumb {
      position: relative;
      z-index: 0;
      height: 340px;
      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%);
          }

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

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

      bold {
        font-size: 24px;
        font-weight: 600;
        line-height: 135%;
      }
    }

    .card-body {
      width: 100%;
      height: max-content;
      padding: 24px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 24px;
      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;
        }
      }

      h3 {
        color: #23252f;
        font-weight: 700;
        font-size: 26px;
        line-height: 135%;
      }

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

        .dif {
          flex: 1 1 calc(50% - 8px);
          padding: 14px 26px;
          border-radius: 5px;
          line-height: 16px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 12px;
          color: #555866;
          text-align: center;

          border: 1px solid var(--laranja);
          background-color: #ff6a001a;

          &.renda {
            flex: 2;
            flex-direction: row;
            gap: 16px;
            text-align: start;
            line-height: 110%;
            color: var(--cinza);
            font-size: 14px;

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

      a {
        color: var(--roxo);
      }
    }
  }

  .row > div:nth-child(3n + 1) {
    .card-emp .price {
      background-color: #ebebff;
      color: #441f5d;
    }

    .card-emp .card-thumb .badge {
      color: #ebebff;

      svg {
        fill: #441f5d;
      }

      .outer {
        background-color: #441f5d;
      }

      .holder {
        background-color: #ebebff;
      }
    }
  }

  .row > div:nth-child(3n + 2) {
    .card-emp .price {
      background-color: #ffd1a3;
      color: #3d1d00;
    }

    .card-emp .card-thumb .badge {
      color: #ebebff;

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

  .row > div:nth-child(3n) {
    .card-emp .price {
      background-color: #d9c8b2;
      color: #3f3d3b;
    }

    .card-emp .card-thumb .badge {
      color: #d9c8b2;

      svg path {
        fill: #3f3d3b;
      }

      .outer {
        background-color: #3f3d3b;
      }

      .holder {
        background-color: #d9c8b2;
      }
    }
  }
}

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

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
  }
}

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

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

  label {
    font-size: 16px;
  }
}
