/* =========================
   HOME (legacy) — com Swiper (sem UI)
   ========================= */

.homepage-legacy {
  background: #fff;
}

.homepage-legacy .home-wrap {
  max-width: 1480px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

.homepage-legacy .home-hero {
  padding: 24px 0 10px;
}

.homepage-legacy .home-hero-media {
  overflow: hidden;
  width: 100%;
  margin-top: 190px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 510px;
}

/* Swiper ocupa a caixa inteira */
.homepage-legacy .home-hero-media .home-swiper,
.homepage-legacy .home-hero-media .swiper-wrapper,
.homepage-legacy .home-hero-media .swiper-slide{
  width: 100%;
  height: 100%;
}

/* Imagem dentro do slide */
.homepage-legacy .home-hero-media .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* desktop: mostra inteira */
  object-position: center;
}

/* garante que nada de UI apareça mesmo se algum CSS global existir */
.homepage-legacy .home-hero-media .swiper-pagination,
.homepage-legacy .home-hero-media .swiper-button-prev,
.homepage-legacy .home-hero-media .swiper-button-next{
  display: none !important;
}

.homepage-legacy .home-hero-copy {
  padding: 14px 0 0;
  color: #222;
  font-size: 13px;
  line-height: 1.45;
  max-width: 50%;
}

.homepage-legacy .home-hero-copy p {
  margin: 0 0 10px;
}

.homepage-legacy .home-hero-copy em {
  font-style: italic;
}
.contact-legacy .home-cta {
  color: var(--selecthousing-com-prussian-blue, var(--color-azure-13, #024))!important;
  margin-top: 20px!important;
  font-family: 'trebuchet-ms';
  font-size: 14.9px!important;
  font-style: normal;
  font-weight: var(--font-weight-700, 700);
  line-height: var(--line-height-19_5, 19.5px); /* 130.872% */
}
.homepage-legacy .home-cta {
  margin-top: 6px;
  font-weight: 700;
  color: #024; /* azul clássico do print */
}

/* Mobile spacing/padding */
@media (max-width: 1500px) {
  .homepage-legacy .home-wrap { padding: 0 20px; }
}

@media (max-width: 1100px) {
  .homepage-legacy .home-wrap { padding: 0 16px 32px; }
  .homepage-legacy .home-hero { padding-top: 16px; }

  .homepage-legacy .home-hero-media{
    aspect-ratio: 16 / 10;
    max-height: 470px;
    margin-top: 130px;
  }

  
  .homepage-legacy .home-hero-media .swiper-slide img{
    object-fit: cover;
  }

  .homepage-legacy .home-hero-copy { font-size: 14px; max-width: 100%; }
}

/* Menu overlay (mantido do seu) */
.menu.scroll-section {
  position: absolute !important;
  top: 0;
  left: 0;
  padding: 0 20px;
  width: 100%;
  z-index: 9999 !important;
  background: #FFF;
}

.page { overflow: visible !important; }

body.admin-bar .menu.scroll-section { top: 32px !important; }

@media screen and (max-width: 782px) {
  body.admin-bar .menu.scroll-section { top: 46px !important; }
}

body.admin-bar .hero-banner {
  padding-top: calc(15px + 32px);
}

/* (removível) pagination antiga do swiper anterior — deixei aqui, mas não será usada */
.hero-banner-wrapper .hero-pagination { display:none !important; }
.hero-banner-wrapper .hero-pagination .swiper-pagination-bullet { display:none !important; }
.hero-banner-wrapper .hero-pagination .swiper-pagination-bullet-active { display:none !important; }

@media (max-width: 782px) {
  .hero-banner-wrapper{ height: 62vh; height: 62svh; }
  @supports (height: 100dvh){
    .hero-banner-wrapper{ height: 100dvh; }
  }
  .hero-banner-media{
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
  }
  .hero-banner-content { padding: 22px; }
  .h1-bnn { font-size: 40px !important; margin-bottom: 18px; }
}

/* =========================
   CONTACT (legacy) — usa base da home
   (sem estilos do Gravity Forms)
   ========================= */

.contact-legacy .contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  /* margin-top: 18px; */
  align-items: start;
}

.contact-legacy .contact-title{
  margin: 0 0 16px;
  color: var(--selecthousing-com-prussian-blue, var(--color-azure-13, #024));

/* selecthousing.com/Trebuchet MS/Bold */
  font-family: var(--font-family-Font-2, "Trebuchet MS");
  font-size: 18.6px;
  font-style: normal;
  font-weight: var(--font-weight-700, 700);
  line-height: var(--line-height-17_29, 17.29px); /* 92.957% */
}

.contact-legacy .contact-text p{
  margin: 0 0 10px;
  color: var(--color-grey-33, #535353);

/* selecthousing.com/Semantic/Strong */
  font-family: var(--font-family-Font-2, "Trebuchet MS");
  font-size: var(--font-size-13, 13px);
  font-style: italic;
  font-weight: 700;
  line-height: var(--line-height-16, 16px); /* 123.077% */
}



.contact-text em {
    color: var(--color-grey-33, #535353);

 
    font-family: var(--font-family-Font-2, "Trebuchet-MS");
    font-size: var(--font-size-13, 13px);
    font-style: italic;
    font-weight: 700;
    line-height: var(--line-height-16, 16px); /* 123.077% */
    margin-bottom: 18px!important;
}

/* mobile */
@media (max-width: 900px){
  .contact-legacy .contact-row{
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
}
