/* ================= SOBRE HOME ================= */

.homesobre {
  background-color: #F2F5F7;
  padding-top: 48px;
  padding-bottom: 48px;
}

.homesobre__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.homesobre__media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.homesobre__img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 4px solid #E2E5E6;
}

.homesobre__title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  color: #1F3A56;
  margin: 0 0 18px 0;
  text-align: center;
}

.homesobre__text p {
  margin: 0 0 14px 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #4A4F55;
  text-align: center;
}

.homesobre__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .homesobre {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .homesobre__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6%;
  }

  .homesobre__media {
    flex: 0 0 36%;
    justify-content: flex-start;
  }

  .homesobre__img {
    max-width: 100%;
  }

  .homesobre__content {
    flex: 0 0 54%;
  }

  .homesobre__title {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: left;
  }

  .homesobre__text p {
    font-size: 20px;
    text-align: left;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .homesobre__grid {
    gap: 40px;
  }

  .homesobre__media {
    flex: 0 0 50%;
    justify-content: center;
  }

  .homesobre__img {
    max-width: 450px;
    border-radius: 50%;
    clip-path: none;
    border: 4px solid #E2E5E6;
  }

  .homesobre__content {
    flex: 0 0 44%;
  }
}
