#contabilidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: var(--color-primary-3);
}

#cards img {
    width: 60%;
    height: auto;
}

#contabilidade .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;

}

#contabilidade .section-title {
    font-size: 40px;
    color: var(--color-primary-1);
    margin-bottom: 80px;
}

#cards {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 89%;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    gap: 18px;
    width: 275px;
    height: 300px;
    padding: 20px;
    background-color: var(--color-primary-1);
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card span {
    margin-bottom: 10%;
    margin-top: 0;
    font-size: 15pt;
    font-weight: 700;
}

.card-heart {
    position: absolute;
    background-color: var(--color-primary-6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.563rem;
    color: var(--color-primary-1);
    width: 70px;
    height: 70px;
    right: -10px;
    top: -10px;
    border-radius: 0px 37.5px 0px 42.5px;
}

.card-description {
    color: var(--color-primary-2);
    text-align: center;
}

.card-rate i {
    color: var(--color-primary-6);
}

.card-price {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 1170px) {
    #cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    #contabilidade .section-title {
        text-align: center;
    }


    .card {
        width: calc(50% - 12px);
    }
}

@media (max-width: 480px) {
  #contabilidade {
    min-height: auto;
    padding: 32px 6%;
  }

  #contabilidade .section-title {
    font-size: 18pt;
    text-align: center;
    margin-bottom: 10%;
  }

  .card {
    width: 100%;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 16px;
    gap: 12px;
  }

  .card span {
    font-size: 10pt;
  }

  #cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 4px;
    box-sizing: border-box;
    width: 100%;
  }

  #cards img {
    width: 60%;
  }
}