.sectionTarifas {
  color: var(--background);

  .container {
    padding: 20px;
  }

  .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .sobtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-green2);
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .title {
    font-size: 36px;
    font-weight: 700;
    color: var(--background);
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .text {
    font-size: 16px;
    font-weight: 300;
    color: var(--background);
    width: 100%;
    max-width: 700px;
    text-align: center;
    margin: 0 auto 30px auto;
    padding: 0 10px;
  }

  .planos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .card {
    position: relative;
    background-color: var(--color-white);
    color: var(--background);
    border-radius: 16px;
    margin-top: 30px;
    flex: 1 1 300px;
    max-width: 100%;
  }

  .header-card2 {
    color: var(--background);
  }

  .card2 {
    background-color: var(--background);
    color: var(--color-white);
  }

  .card2 p {
    color: var(--color-white);
  }

  .card-header {
    position: absolute;
    top: -16px;
    left: 16px;
    background-color: var(--color-green2);
    border-radius: 4px;
    padding: 4px 12px;
  }

  .header-card1 {
    background-color: var(--background);
    color: var(--color-green2);
  }

  .description-card {
    margin-top: 40px;
    padding: 20px;
    font-size: 16px;
    color: var(--color-cinza);
    width: 100%;
  }

  .detals-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 20px;
  }

  .detal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
  }

  @media (max-width: 768px) {
    .title {
      font-size: 28px;
    }

    .planos {
      flex-direction: column;
      align-items: center;
    }

    .card {
      width: 100%;
      max-width: 90%;
    }
  }

  @media (max-width: 480px) {
    .sobtitle {
      font-size: 18px;
    }

    .title {
      font-size: 24px;
    }

    .text {
      font-size: 14px;
    }

    .detal {
      flex-direction: column;
      align-items: flex-start;
    }

    .detal span {
      margin-bottom: 4px;
    }

    .card-header {
      font-size: 12px;
      padding: 2px 8px;
    }
  }
}
