/* =========================================================
   02 · O empreendimento (Figma 708:42 desktop · 721:126 mobile)
   ========================================================= */
.empreendimento {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--c-papel);
  padding: 80px 0 50px;
}

.empreendimento > .container {
  position: relative;
  max-width: 1440px;
  padding-inline: 80px;
}

/* Fluxo normal (sem posição absoluta): se o texto ou a planta crescerem,
   a seção cresce junto e nada passa por cima da linha do horizonte */
.empreendimento__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 64px;
}

/* ---------- Coluna de texto (520px) ---------- */
.empreendimento__texto {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.empreendimento__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: normal;
}
.empreendimento__eyebrow-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: #7e6439;
}
.empreendimento__eyebrow-label {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--c-ardosia);
}
.empreendimento__eyebrow-linha {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--c-ardosia);
  opacity: 0.5;
}

.empreendimento__titulo {
  margin-top: 28px;
  max-width: 906px;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(48px, 4.44vw, 64px);
  line-height: 1.04;
  color: var(--c-azul);
}

.empreendimento__lead {
  margin-top: 30px;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  color: var(--c-azul);
}
.empreendimento__so-mobile { display: none; }

.empreendimento__corpo {
  margin-top: 18px;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-azul);
}

.empreendimento__destaques {
  margin: 44px 0 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid var(--c-linha);
  padding-top: 22px;
  line-height: normal;
}
.empreendimento__destaque {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.empreendimento__destaque + .empreendimento__destaque {
  border-left: 1px solid var(--c-linha);
  padding-left: 22px;
}
.empreendimento__destaque-rotulo {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.98px;
  text-transform: uppercase;
  color: var(--c-ardosia);
  white-space: nowrap;
}
.empreendimento__destaque-valor {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--c-azul);
  white-space: nowrap;
}

/* ---------- Imagem (640 × 800) ---------- */
.empreendimento__figura {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.empreendimento__img-wrap {
  width: 100%;
  aspect-ratio: 722 / 1261;          /* planta inteira na largura da coluna */
  flex: none;
  overflow: hidden;
  background: transparent;           /* planta em PNG sem fundo */
}
/* Planta de implantação (vertical): aparece inteira, sem cortes */
.empreendimento__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.empreendimento__legenda {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--c-ardosia);
  line-height: normal;
  white-space: nowrap;
}
.empreendimento__legenda-texto {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.72px;
}

/* ---------- Linha do horizonte (1320 × 110) ---------- */
.empreendimento__horizonte {
  position: relative;
  margin-top: -24px;         /* a linha reta fica no pé do desenho; os morros (centro) sobem sem tocar na planta */
  width: auto;
}
.empreendimento__horizonte img {
  width: 100%;
  height: 110px;
}

/* =========================================================
   Tablet 641–960
   ========================================================= */
@media (max-width: 960px) {
  .empreendimento {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 120px 0 80px;
  }
  .empreendimento > .container {
    height: auto;
    padding-inline: 40px;
  }
  .empreendimento__grid {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 56px;
  }
  .empreendimento__texto,
  .empreendimento__figura { width: 100%; height: auto; }
  .empreendimento__titulo { font-size: 52px; }
  .empreendimento__figura { max-width: 420px; margin-inline: auto; }
  .empreendimento__img-wrap { aspect-ratio: 722 / 1261; flex: none; }
  .empreendimento__horizonte {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 80px;
  }
  .empreendimento__horizonte img { height: 84px; }
}

/* =========================================================
   Mobile ≤640 (Figma 721:126)
   ========================================================= */
@media (max-width: 640px) {
  .empreendimento { padding: 88px 0 56px; }
  .empreendimento > .container { padding-inline: 20px; }
  .empreendimento__grid { gap: 48px; }

  .empreendimento__eyebrow { gap: 12px; }
  .empreendimento__eyebrow-num { font-size: 18px; }
  .empreendimento__eyebrow-label { font-size: 11px; letter-spacing: 2.2px; }
  .empreendimento__eyebrow-linha { width: 40px; }

  .empreendimento__titulo { margin-top: 24px; font-size: 38px; }
  .empreendimento__lead { margin-top: 22px; font-size: 18px; }
  .empreendimento__so-desktop { display: none; }
  .empreendimento__so-mobile { display: inline; }
  .empreendimento__corpo { margin-top: 14px; font-size: 16px; }

  .empreendimento__destaques { margin-top: 36px; padding-top: 18px; }
  .empreendimento__destaque { gap: 4px; }
  .empreendimento__destaque + .empreendimento__destaque { padding-left: 14px; }
  .empreendimento__destaque-rotulo { font-size: 10px; letter-spacing: 1.8px; }
  .empreendimento__destaque-valor { font-size: 24px; }

  .empreendimento__figura { gap: 12px; }
  .empreendimento__legenda-texto { font-size: 11px; letter-spacing: 0.66px; }
  .empreendimento__legenda-selo { font-size: 9px; letter-spacing: 1.62px; }

  .empreendimento__horizonte { margin-top: 56px; }
  .empreendimento__horizonte img { height: 58px; }
}
