/* =========================================================
   01 · Hero — Desktop 708:3 · Mobile 721:90
   ========================================================= */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100vh; height: 100svh;
  min-height: 640px; max-height: 900px;
  background: var(--c-azul);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
}
.hero__selo {
  position: absolute; z-index: 2;
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: 22px;
  color: var(--c-branco); opacity: 0.8; white-space: nowrap;
}

.hero__container { position: relative; z-index: 1; display: flex; align-items: flex-end; }

/* Painel azul */
.hero__painel {
  display: flex; flex-direction: column; align-items: center;
  width: 470px; max-width: 100%;
  padding: 56px 48px 52px;
  background: var(--c-azul);
}

/* Logo · Moradas da Nova Cantareira (708:7) */
.hero__logo {
  display: flex; flex-direction: column; align-items: center;
  width: 217.44px; font-weight: inherit;
}
.hero__emblema { width: 153.6px; height: 76.8px; }
.hero__logo-textos {
  display: flex; flex-direction: column; align-items: center; gap: 11.52px;
  width: 100%; text-align: center; white-space: nowrap;
}
.hero__logo-textos > span:not(.sr-only) {
  display: block;
  text-box: trim-both cap alphabetic; /* = text-box-trim do Figma */
}
.hero__logo-condominio {
  font-family: var(--f-sans); font-weight: 400; font-size: 6.72px; line-height: 6.72px;
  letter-spacing: 0.864px; color: var(--c-latao);
}
.hero__logo-nome {
  font-family: var(--f-serif); font-weight: 500; font-size: 40.32px; line-height: normal;
  letter-spacing: 3.36px; color: var(--c-linho);
}
.hero__logo-sub {
  font-family: var(--f-sans); font-weight: 400; font-size: 11.52px; line-height: normal;
  letter-spacing: 2.4px; color: var(--c-linho);
}
/* Navegadores sem text-box: aproxima a altura das capitulares */
@supports not (text-box: trim-both cap alphabetic) {
  .hero__logo-textos { gap: 6px; }
  .hero__logo-condominio { line-height: 1; }
  .hero__logo-nome { line-height: 0.8; }
  .hero__logo-sub { line-height: 1; }
}

/* Eyebrow com traços */
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-top: 36px;
}
.hero__eyebrow-linha { width: 28px; height: 1px; background: var(--c-latao); flex-shrink: 0; }
.hero__eyebrow-texto {
  font-family: var(--f-sans); font-weight: 500; font-size: 11px; line-height: normal;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--c-latao-claro); white-space: nowrap;
}

.hero__texto {
  margin-top: 18px; width: 374px; max-width: 100%;
  font-family: var(--f-serif); font-weight: 300; font-size: 23px; line-height: 1.35;
  text-align: center; color: var(--c-linho);
}
.hero__texto-traco { display: none; } /* travessão só existe no texto mobile (721:118) */

.hero__acoes {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: 100%; margin-top: 32px;
}
.hero__cta { height: 52px; padding: 0 28px; line-height: normal; }
.hero__link {
  display: inline-flex; flex-direction: column; gap: 6px;
  font-family: var(--f-sans); font-weight: 500; font-size: 12px; line-height: normal;
  letter-spacing: 1.68px; text-transform: uppercase; color: var(--c-linho); white-space: nowrap;
}
.hero__link::after { content: ""; display: block; width: 100%; height: 1px; background: var(--c-linho); }

/* =========================================================
   Mobile 390 (721:90): imagem 523px + painel sobreposto 48px
   ========================================================= */
@media (max-width: 640px) {
  .hero {
    height: auto; min-height: 0; max-height: none;
    justify-content: flex-start; align-items: stretch;
    background: transparent;
    overflow: visible;
  }
  .hero__media { position: relative; inset: auto; width: 100%; height: 523px; overflow: hidden; }
  .hero__img { object-position: 55.5% center; }
  .hero__selo {
    top: 78px; right: 4px; bottom: auto;
    font-size: 9px; letter-spacing: 1.62px;
  }

  .hero__container { justify-content: center; padding-inline: 16px; margin-top: -48px; }
  .hero__painel { width: 100%; padding: 44px 28px 40px; }

  .hero__logo { width: 176.67px; }
  .hero__emblema { width: 124.8px; height: 62.4px; }
  .hero__logo-textos { gap: 9.36px; }
  .hero__logo-condominio { font-size: 5.46px; line-height: 5.46px; letter-spacing: 0.702px; }
  .hero__logo-nome { font-size: 32.76px; letter-spacing: 2.73px; }
  .hero__logo-sub { font-size: 9.36px; letter-spacing: 1.95px; }

  .hero__eyebrow { gap: 10px; margin-top: 30px; }
  .hero__eyebrow-linha { width: 20px; }
  .hero__eyebrow-texto { font-size: 10px; letter-spacing: 1.8px; }

  .hero__texto { margin-top: 16px; width: 302px; font-size: 21px; }
  .hero__texto-traco { display: inline; }

  .hero__acoes { gap: 20px; margin-top: 28px; }
  .hero__cta { padding: 0 22px; font-size: 12px; letter-spacing: 1.68px; }
  .hero__link { font-size: 11px; letter-spacing: 1.54px; }

  @supports not (text-box: trim-both cap alphabetic) {
    .hero__logo-textos { gap: 5px; }
  }
}
