/* ==========================================================
   CASA 235
   PÁGINA: A CASA
   ========================================================== */

.casa-page {
  background: #f2f0e9;
  color: #111;
}

/* HEADER */
.casa-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
}

/* HERO */
.casa-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #172016;
}

.casa-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casa-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.53) 0%, rgba(0,0,0,.17) 55%, rgba(0,0,0,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.30), transparent 45%);
}

.casa-hero-content {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 0 auto;
  padding-bottom: 80px;
  color: #fff;
}

.casa-hero h1 {
  max-width: 900px;
  margin: 18px 0 26px;
  font-size: clamp(3.5rem, 4.4vw, 8.4rem);
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 500;
  font-style: normal;
}

.casa-hero-intro {
  max-width: 500px;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* BLOCOS EDITORIAIS PRINCIPAIS */
.casa-origin,
.casa-market,
.casa-practice,
.casa-minimal {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 100px;
  padding: 140px 0;
}

.casa-origin h2,
.casa-market h2,
.casa-practice h2,
.casa-minimal h2,
.casa-freedom h2,
.casa-cta h2 {
  margin: 22px 0 0;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
  font-style: normal;
}

.casa-origin-copy,
.casa-market-copy,
.casa-minimal-copy {
  max-width: 620px;
}

.casa-origin-copy p,
.casa-market-copy p,
.casa-minimal-copy p {
  margin: 0 0 22px;
  font-size: 1.04rem;
  line-height: 1.58;
}

.casa-origin-copy .lead,
.casa-market-copy .lead,
.casa-minimal-copy .lead {
  font-size: 1.28rem;
  line-height: 1.45;
}

/* IMAGEM EM LARGURA TOTAL */
.casa-image-full {
  position: relative;
  margin: 0;
  height: min(78vh, 900px);
  overflow: hidden;
  background: #111;
}

.casa-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casa-image-full figcaption {
  position: absolute;
  left: max(48px, calc((100vw - min(calc(100vw - 96px), 1440px)) / 2));
  bottom: 42px;
  padding: 7px 10px;
  background: #fff;
  color: #111;
  font-size: .88rem;
}

/* WELLNESS REAL ESTATE / CONTEXTO DE MERCADO */
.casa-market {
  position: relative;
  grid-template-areas:
    "heading copy"
    "stats stats"
    "source source";
}

.casa-market-heading { grid-area: heading; }
.casa-market-copy { grid-area: copy; }

.casa-stats {
  grid-area: stats;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #b9b5a8;
  border-bottom: 1px solid #b9b5a8;
	
	
}

.casa-stat {
  padding: 48px 42px 48px 0;
}

.casa-stat + .casa-stat {
  padding-left: 42px;
  border-left: 1px solid #b9b5a8;
}

.casa-stat strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 4.8vw, 5.6rem);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 500;
}

.casa-stat span {
  display: block;
  max-width: 330px;
  font-size: .92rem;
  line-height: 1.45;
}

.casa-source {
  grid-area: source;
  margin: 22px 0 0;
  font-size: .74rem;
  color: #66645e;
}

/* COMO ISSO APARECE NA CASA */
.casa-practice {
  grid-template-columns: .72fr 1.28fr;
}

.casa-practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.casa-topic {
  min-height: 330px;
  padding: 0 46px 46px 0;
  border-top: 1px solid #b9b5a8;
}

.casa-topic:nth-child(even) {
  padding-left: 46px;
  border-left: 1px solid #b9b5a8;
}

.casa-number {
  display: block;
  margin: 18px 0 60px;
  font-size: .76rem;
  color: #77736a;
}

.casa-topic h3 {
  margin: 0 0 24px;
  font-size: 1.65rem;
  line-height: 1.03;
  letter-spacing: -.03em;
  font-weight: 500;
  font-style: normal;
}

.casa-topic p {
  max-width: 410px;
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}

/* DUAS IMAGENS */
.casa-images {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  height: 480px;
}

.casa-images figure {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.casa-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MINIMALISMO */
.casa-minimal {
  background: #f2f0e9;
}

.casa-highlight {
  margin-top: 48px !important;
  font-size: 1.35rem !important;
  font-weight: 700;
}

/* LIBERDADE PARA CONTINUAR A CASA */
.casa-freedom {
  padding: 150px 0;
  background: #192117;
  color: #fff;
}

.casa-freedom-content {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 100px;
}

.casa-freedom .eyebrow {
  color: rgba(255,255,255,.58);
}

.casa-freedom-text {
  align-self: end;
  padding-top: 0;
}

.casa-freedom-text p:last-child {
  margin-bottom: 0;
}

.casa-freedom-text p {
  max-width: 600px;
  margin: 0 0 24px;
  font-size: 1.04rem;
  line-height: 1.58;
  color: rgba(255,255,255,.78);
}

/* CTA FINAL */
.casa-cta {
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 100px;
}

.casa-cta-actions {
  align-self: end;
  max-width: 520px;
}

.casa-cta-actions p {
  margin: 0 0 34px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.casa-cta-actions a {
  margin-right: 12px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .casa-hero { min-height: 82vh; }
  .casa-hero-content { padding-bottom: 44px; }
  .casa-hero h1 { font-size: clamp(3.2rem, 13vw, 5.6rem); }

  .casa-origin,
  .casa-market,
  .casa-practice,
  .casa-minimal,
  .casa-freedom-content,
  .casa-cta {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .casa-market {
    grid-template-areas:
      "heading"
      "copy"
      "stats"
      "source";
  }

  .casa-stats { grid-template-columns: 1fr; }
  .casa-stat { padding: 32px 0; }

  .casa-stat + .casa-stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #b9b5a8;
  }

  .casa-practice-grid { grid-template-columns: 1fr; }

  .casa-topic,
  .casa-topic:nth-child(even) {
    min-height: auto;
    padding: 0 0 42px;
    border-left: 0;
  }

  .casa-number { margin-bottom: 32px; }
  .casa-images { grid-template-columns: 1fr; min-height: 0; }
  .casa-images figure { height: 60vh; }
  .casa-freedom-text { padding-top: 0; }
}

@media (max-width: 620px) {
  .casa-hero { min-height: 76vh; }
  .casa-hero-content { padding-bottom: 34px; }

  .casa-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
    line-height: .91;
  }

  .casa-hero-intro {
    max-width: 90%;
    font-size: 1rem;
  }

  .casa-origin,
  .casa-market,
  .casa-practice,
  .casa-minimal,
  .casa-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .casa-origin h2,
  .casa-market h2,
  .casa-practice h2,
  .casa-minimal h2,
  .casa-freedom h2,
  .casa-cta h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .casa-origin-copy .lead,
  .casa-market-copy .lead,
  .casa-minimal-copy .lead {
    font-size: 1.12rem;
  }

  .casa-image-full { height: 64vh; }

  .casa-image-full figcaption {
    left: 20px;
    bottom: 20px;
  }

  .casa-stat strong { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .casa-topic h3 { font-size: 1.45rem; }
  .casa-images figure { height: 52vh; }
  .casa-freedom { padding: 82px 0; }

  .casa-cta-actions a {
    display: inline-flex;
    margin: 0 8px 10px 0;
  }
}

/* ALINHAMENTO EDITORIAL DAS COLUNAS */
@media (min-width: 901px) {

  .casa-market-copy,
  .casa-minimal-copy {
    align-self: end;
  }

  .casa-market-copy p:last-child,
  .casa-minimal-copy p:last-child {
    margin-bottom: 0;
  }

}

.casa-freedom .freedom-secondary {
  display: block;
  margin-top: .18em;
  font-size: .56em;
  line-height: .96;
}

