/* ==========================================================================
   Landing Matrículas 2027 — Miguilim de portas abertas
   Minimalista, como uma carta: papel creme, um eixo centralizado e muito
   respiro. Título leve + negrito; uma única foto larga com o canto
   recortado do M; o texto numa coluna estreita (medida de leitura), com
   "Na chegada" e "Na saída" em negrito marcando o ritmo do dia; um fio
   curto e o fechamento com a assinatura "na Miguilim".
   ========================================================================== */

.portas {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 11svh, 7rem) var(--hero-borda) clamp(4rem, 11svh, 7rem);
  background: var(--papel);
  color: var(--tinta);
  text-align: center;
}

/* ---------------------------------------------------------------- cabeçalho */
.portas__pontos { font-size: 0.8rem; margin-bottom: clamp(1.25rem, 3svh, 2rem); }
.portas__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 300;
  font-size: clamp(2.1rem, 1rem + 3.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.portas__titulo strong { display: block; font-weight: 700; }
.portas__lead {
  max-width: 28rem;
  margin: clamp(1rem, 2.6svh, 1.5rem) auto 0;
  font-family: var(--fonte-titulo);
  font-weight: 300;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.35;
  text-wrap: balance;
  color: color-mix(in srgb, var(--tinta) 82%, var(--papel));
}

/* ---------------------------------------------------------------- foto */
.portas__foto {
  width: min(100%, 64rem);
  margin: clamp(2.25rem, 6svh, 4rem) 0 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.2rem), calc(100% - 2.2rem) 100%, 0 100%);
}
.portas__foto img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 54svh;
  height: auto;
  object-fit: cover;
  /* corte 2:1 centrado nas famílias no pátio, com a passarela em cima */
  object-position: 50% 68%;
  background: color-mix(in srgb, var(--kraft) 22%, var(--papel));
}

/* ---------------------------------------------------------------- carta */
.portas__carta {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
  margin-top: clamp(2.25rem, 6svh, 3.5rem);
  text-align: left;
}
.portas__carta p {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.7;
  color: color-mix(in srgb, var(--tinta) 86%, var(--papel));
  text-wrap: pretty;
}
.portas__carta strong { font-family: var(--fonte-titulo); font-weight: 600; color: var(--tinta); }

/* ---------------------------------------------------------------- fechamento */
.portas__fio { margin-block: clamp(2.25rem, 6svh, 3.5rem) clamp(1.75rem, 4.5svh, 2.75rem); }
.portas__fecho {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  font-size: clamp(1.25rem, 0.8rem + 1.4vw, 2.2rem);
}
.portas__assinatura { --l: 9.5em; --cor: var(--tinta); margin-bottom: 0.3em; }
.portas__frase {
  max-width: 24em;
  font-family: var(--fonte-titulo);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.portas__frase strong { font-weight: 700; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 63.99rem) {
  .portas { padding-inline: var(--margem); }
  .portas__foto img { aspect-ratio: 4 / 3; }
}
