.container-values {
    height: 530px;
}

.container-background-1 {
    background-color: #FCFAFF;
}

.row-our-core-values {
    display: flex;
    flex-wrap: wrap;
}

.card-group-title-values {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
    text-align: left;
    padding: 20px 0;
    text-transform: uppercase;

    @media screen and (max-width: 1580px) {
        font-size: 25px;
        line-height: 30px;
    }

    @media screen and (max-width: 992px) {
        font-size: 20px;
        line-height: 24px;
    }

    @media screen and (max-width: 768px) {
        padding-top: 40px;
        padding-bottom: 16px;
    }

    @media screen and (max-width: 520px) {
        font-size: 16px;
        line-height: 20px;
    }
}

.card-group-description-values {
  font-size: 22px;
  line-height: 26.82px;
  font-weight: 400;
  color: #222222;
  margin: -20px 0 30px;

  @media screen and (max-width: 768px) {
    font-size: 16px;
    line-height: 19.5px;
    text-align: center;
  }
}

.card-values {
    display: flex;
    flex-direction: column;
    height: 100%;

    @media screen and(max-width: 1280px) {
        width: auto;
        height: auto;
    }


    @media screen and (max-width: 768px) {
        max-width: 365px;
    }
}

.field--name-field-digital-office-content {
    .card-values {
      @media screen and (max-width: 768px) {
        max-width: 100% !important;
    }
  }
}

.vertical-columns-mobile {
  @media screen and (max-width: 768px) {
    .card-group-title-values {
      text-align: center;
    }

    .card-values {
      flex-direction: row;

      .card-img-top-values {
        width: 125px;
        height: 275px;
        border-radius: 16px;
        margin-right: -10px;
        z-index: 1;
      }

      .card-body-values {
        margin-top: 0;
        border-radius: 0 16px 16px 0;
      }
    }
  }
}

.card-img-top-values {
    width: 100%;
    height: 230px;
    border-radius: 40px;
    object-fit: cover;
}


.card-title-values {
    font-size: 22px;
    line-height: 26px;

    @media screen and (max-width: 1580px) {
        font-size: 18px;
        line-height: 22px;
    }

    @media screen and (max-width: 720px) {
        font-size: 16px;
        line-height: 20px;
    }
}

.card-body-values {
    margin-top: -100px;
    border-radius: 40px;
    position: relative;
    border: 1px solid #e0e0e0;
    background-color: white;
    flex-grow: 1;

    h5 {
        font-weight: 700;
        margin: 0;
        padding: 0 10px;
    }
}

.container-card-title-values {
    margin-top: 20px;
    color: #6800FF;
    text-align: center;

    @media screen and(max-width: 1280px) {
        width: auto;
        height: auto;
    }
}

.container-card-text-values {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
    margin-top: 15px;
    padding: 0 16px;
    margin-bottom: 21px;

    .card-text-values {
        margin: 0;
    }

    @media screen and (max-width: 1580px) {
        margin-top: 10px;
    }

    @media screen and(max-width: 1280px) {
        width: auto;
        height: auto;
    }
}



@media screen and (max-width: 1200px) {
    .row-our-core-values {
        justify-content: center;
        gap: 30px 0
    }

    .container-values {
        height: 790px;
    }
}

@media screen and (max-width: 991px) {
    .row-our-core-values {
        padding-bottom: 75px;
    }

    .container-values {
        height: auto;
    }
}

@media screen and (max-width: 720px) {
    .row-our-core-values {
        gap: 25px 0;
        padding-bottom: 30px;
    }
}


@media screen and (max-width: 580px) {}

.field--name-field-digital-office-content {
    .container-values {
        height: auto;
    }

    .card-group-title-values,
    .card-group-description-values {
        text-align: center;    
    }

    .row-our-core-values {
        justify-content: center;
    }

    .card-values {
        position: relative;
        background: #FCFAFF;
        border-radius: 16px;
        overflow: visible; /* permite que o ::before “vaze” do contêiner */
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    @media screen and (min-width: 992px) {
        .card-values::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            background: conic-gradient(from -90deg at 50% 50%, #3E0099 0deg, #E92651 161.25deg, #3E0099 360deg);
            opacity: 0.5;
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
            z-index: -1;
        }
        
        /* Gradiente para cada posição */
        .card-values--1::before {
            transform: translate(-15px, 15px);
        }
        .card-values--2::before {
            transform: translate(0px, 15px);
        }
        .card-values--3::before {
            transform: translate(15px, 15px);
        }
    }

    .card-img-top-values {
        border-radius: 0;
        border-top-left-radius: 16.41px;
        border-top-right-radius: 16.41px;
    }

    .card-body-values {
        margin-top: 0;
        border-radius: 0;
        border-bottom-left-radius: 16.41px;
        border-bottom-right-radius: 16.41px;
        position: relative;
        border: none;
    }
}