.teresopolis-section {
  padding: 0 0 121px;
  background: var(--rsf-white);
}

.teresopolis-shell {
  width: min(1274px, calc(100% - 48px));
}

.teresopolis-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 58px;
  color: var(--rsf-dark);
  text-align: center;
}

.teresopolis-heading .rsf-title {
  width: 767px;
  max-width: 100%;
  color: var(--rsf-dark);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.5;
}

.teresopolis-heading .rsf-title span,
.teresopolis-heading .rsf-title strong {
  display: block;
}

.teresopolis-heading .rsf-title strong {
  background: var(--rsf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.teresopolis-heading .rsf-copy {
  width: 683px;
  max-width: 100%;
  color: var(--rsf-dark);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.teresopolis-heading .rsf-copy span {
  display: block;
}

.teresopolis-grid {
  display: flex;
  flex-direction: column;
  gap: 61px;
  width: 1274px;
  max-width: 100%;
}

.teresopolis-grid article {
  display: grid;
  grid-template-columns: 950px 315px;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.teresopolis-grid img {
  width: 950px;
  height: 370px;
  border-radius: 13px;
  object-fit: cover;
}

.teresopolis-grid article:nth-child(1) img {
  object-position: center;
}

.teresopolis-grid article:nth-child(2) img {
  object-position: center 45%;
}

.teresopolis-grid article:nth-child(3) img,
.teresopolis-grid article:nth-child(4) img {
  object-position: center;
}

.teresopolis-grid div {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 315px;
}

.teresopolis-grid h3 {
  margin: 0;
  color: var(--rsf-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.teresopolis-grid p {
  margin: 0;
  color: var(--rsf-muted);
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .teresopolis-grid article {
    grid-template-columns: 1fr;
  }

  .teresopolis-grid img,
  .teresopolis-grid div {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .teresopolis-section {
    padding: 34px 0 62px;
  }

  .teresopolis-shell {
    width: min(302px, calc(100% - 32px));
  }

  .teresopolis-heading {
    gap: 0;
    margin-bottom: 28px;
  }

  .teresopolis-heading .rsf-title {
    width: 252px;
    font-size: 15px;
  }

  .teresopolis-heading .rsf-copy {
    display: none;
  }

  .teresopolis-grid {
    gap: 28px;
  }

  .teresopolis-grid article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
  }

  .teresopolis-grid img {
    height: 122px;
    border-radius: 13px;
  }

  .teresopolis-grid div {
    gap: 13px;
    width: 100%;
  }

  .teresopolis-grid h3 {
    font-size: 20px;
  }

  .teresopolis-grid p {
    font-size: 15px;
  }
}
