/* =========================
   SOBRE — Mobile First
========================= */

.sobre {
  background-color: var(--bg-light);
}

/* Imagem oculta no mobile */
.sobre__img-wrapper {
  display: none;
}

/* Conteúdo ocupa tela toda no mobile, igual ao .container */
.sobre__content {
  width: 90%;
  margin: 0 auto;
  padding: var(--space-14) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

/* --- Label --- */
.sobre__label {
  font-family: var(--font-main);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Título --- */
.sobre__title {
  font-family: var(--font-main);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

/* --- Parágrafo --- */
.sobre__text {
  font-size: var(--fs-md);
  color: var(--text-light);
  line-height: 1.75;
}

/* =========================
   DESKTOP (≥ 768px)
========================= */
@media (min-width: 768px) {
  /* Grade de 2 colunas iguais, com no mínimo 100vh (cresce se o texto precisar) */
  .sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  /* Imagem visível, fixa na altura da tela (sticky) mesmo se o texto crescer */
  .sobre__img-wrapper {
    display: block;
    overflow: hidden;
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    align-self: start;
  }

  .sobre__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
      145deg,
      var(--primary-color) 0%,
      var(--color-bg-hero-mid) 100%
    );
  }

  /* Imagem cobre toda a coluna sem distorcer */
  .sobre__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* Conteúdo centralizado verticalmente na coluna da direita */
  .sobre__content {
    width: auto;
    margin: 0;
    padding: var(--space-16) var(--space-12) var(--space-16) var(--space-13);
    justify-content: center;
    max-width: 560px;
  }

  .sobre__title {
    font-size: var(--fs-3xl);
  }
}
