section.servicos-wrapper {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 55px;
  align-items: center;
  height: fit-content;
  width: 100%;
  max-width: 1366px;
  padding: 70px 90px 30px;
}

@media screen and (min-width: 1366px) {
  section.servicos-wrapper {
    margin: 0px auto;
  }
}

.servicos-header {
  display: flex;
  flex-direction: column;
  /* gap: 55px; */
  width: 100%;
  align-items: start;
}

h2.servicos-header-title {
  font-family: Roboto;
  font-size: 64px;
  font-weight: 700;
  line-height: 75px;
  letter-spacing: 0em;
  text-align: left;
}

p.servicos-header-content {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
}

.servicos-card-grid-content-title {
  width: 70%;
  font-size: 36px;
  font-weight: 700;
  line-height: 39px;
  letter-spacing: 0em;
  text-align: left;
  color: #455a64;
  text-transform: uppercase;
}

.servicos-card-grid-content-title > span {
  font-size: 26px;
  text-transform: none;
}

.repair-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  width: 100%;
}

.lending-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  margin-bottom: 74px;
  width: 100%;
}

.section-repair__image {
  background-image: url("../assets/Oficina.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
  display: flex;
  height: 582px;
  max-width: 437px;
  padding: 32px;
  width: 100%;
}

.section-lending__image {
  background-image: url("../assets/Empréstimo-de-produtos.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
  display: flex;
  height: 582px;
  max-width: 437px;
  padding: 32px;
  width: 100%;
}

.section-repair__image > p {
  align-self: flex-end;
  color: #ffffff;
  display: flex;
  font-size: 48px;
  font-weight: 700;
  gap: 24px;
  line-height: 56px;
  text-transform: uppercase;
}

.section-lending__image > p {
  align-self: flex-end;
  color: #ffffff;
  display: flex;
  font-size: 48px;
  font-weight: 700;
  gap: 24px;
  line-height: 56px;
  text-transform: uppercase;
}

.servicos-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servicos-card-content-title-wrapper {
  align-items: center;
  width: 100%;
}

.servicos-card-content-title-wrapper a,
.servicos-card-content-title-wrapper-text {
  color: #111111;
  display: flex;
  font-family: Roboto;
  font-size: 20px;
  font-weight: 400;
  gap: 15px;
  line-height: 30px;
  margin: 0;
  text-decoration: none;
}

.servicos-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  grid-gap: 60px;
  margin: 30px;
  height: 100%;
  max-width: 800px;
}

.servicos-card-grid > * {
  flex: 0 0 auto;
}

.time {
  align-self: baseline;
}

.time-title {
  color: #111111;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.date {
  align-items: center;
  color: #455a64;
  display: flex;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 400;
  gap: 12px;
  line-height: 23px;
}

.servicos-card-grid::-webkit-scrollbar {
  /* width: 0 !important; */
  border: 1px solid;
  border-radius: 5px;
  height: 5px;
}

.servicos-card-grid::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  height: 5px;
  border-radius: 5px;
}

.servicos-card-grid::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
  height: 5px;
  border-radius: 5px;
}

.servicos-card-grid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 388px;
  width: 100%;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
  background: #ffffff;
  box-shadow: 7px 7px 13px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
}

.servicos-card-grid-image {
  width: 100%;
  height: fit-content;
  min-height: 150px;
  overflow: hidden;
  background-image: url("../assets/article_image.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
}

.card-grid-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

img.servicos-card-grid-image {
  opacity: 0;
}

h2.servicos-card-grid-title {
  font-family: Roboto;
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
}

p.servicos-card-grid-content {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0em;
  text-align: left;
}

.servicos-card-grid-content > ul,
li {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

@media screen and (max-width: 1260px) {
  section.servicos-wrapper {
    padding-top: 50px;
  }

  .servicos-card-grid-content-title {
    font-size: 26;
    line-height: 29px;
    width: 100%;
  }

  .repair-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .lending-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .section-repair__image {
    height: 482px;
    max-width: 337px;
  }

  .section-lending__image {
    height: 482px;
    max-width: 337px;
  }

  .section-repair__image > p {
    font-size: 42px;
    line-height: 46px;
  }

  .section-lending__image > p {
    font-size: 42px;
    line-height: 46px;
  }

  h2.servicos-card-content-title-wrapper-text {
    font-size: 18px;
    line-height: 22px;
  }

  .servicos-card-grid-card {
    height: 450px;
    width: 340px;
  }

  h2.servicos-card-grid-title {
    font-size: 18px;
    line-height: 22px;
  }

  p.servicos-card-grid-content {
    font-size: 16px;
    line-height: 20px;
  }

  .servicos-card-grid-image {
    min-height: 100px;
  }
}

@media screen and (max-width: 768px) {
  section.servicos-wrapper {
    margin: 70px 0 0 0;
    padding: 32px;
  }

  section.servicos-wrapper:nth-child(3),
  section.servicos-wrapper:nth-child(4) {
    margin: 0;
  }

  .repair-wrapper {
    grid-gap: 30px;
    width: 100%;
  }

  .lending-wrapper {
    gap: 30px;
    width: 100%;
  }

  .section-repair__image {
    height: 360px;
    width: 100%;
    margin: 0px -32px;
    border-radius: 0%;
    max-width: unset;
  }

  .section-lending__image {
    height: 360px;
    width: 100%;
    margin: 0px -32px;
    border-radius: 0%;
    max-width: unset;
  }

  .section-repair__image > p {
    font-size: 22px;
    line-height: 30px;
  }

  .section-lending__image > p {
    font-size: 22px;
    line-height: 30px;
  }

  .servicos-card-grid {
    overflow-x: auto;
  }

  .servicos-card-grid-card {
    width: 290px;
  }

  h2.servicos-card-grid-title {
    font-size: 16px;
    line-height: 20px;
  }

  p.servicos-card-grid-content {
    font-size: 14px;
    line-height: 18px;
  }

  .servicos-card-grid-image {
    min-height: fit-content;
  }
}
