/* Ajustes do site (desempenho e SEO). Carregado depois de style.css. */

/* Sem tela de carregamento: a página aparece assim que o HTML chega */
.page_loader { display: none !important; }

/* Fundo das páginas internas em WebP (618 KB -> 190 KB) */
.sub-banner { background-image: url(../img/img-7.webp); }

/* Banner: título principal da página com o visual do antigo h3 */
.banner .banner-slider-inner h1.banner-titulo {
    color: #fff;
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}
.banner picture, .banner picture img { display: block; width: 100%; height: 100%; }
.banner picture img { object-fit: cover; }

/* Títulos de seção viraram h2 (um único h1 por página) */
.main-title h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.property-box .detail h3.title,
.property-box .detail h2.title { font-size: 18px; font-weight: 400; margin-bottom: 10px; font-family: 'Roboto', sans-serif; }

/* Fotos com proporção fixa: a página não "pula" enquanto as imagens chegam */
.property-box .property-thumbnail img,
.property-box-5 .property-photo img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.popular-posts .media-object { width: 90px; height: 68px; object-fit: cover; }
.smail-properties img { aspect-ratio: 4 / 3; object-fit: cover; }
.blog-2 .photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.main-header .logos img { width: auto; }

/* Perguntas frequentes */
.faq-guedes { padding: 60px 0; }
.faq-guedes details { border-bottom: 1px solid #e5e5e5; padding: 14px 0; }
.faq-guedes summary { cursor: pointer; font-weight: 600; font-size: 17px; color: #343a40; list-style-position: outside; }
.faq-guedes details p { margin: 10px 0 0; color: #535353; }

/* Ficha do imóvel em texto */
.ficha-imovel { margin: 0 0 30px; }
.ficha-imovel dt { font-weight: 600; }
.ficha-imovel dd { margin-bottom: 8px; }

.status-envio { margin-top: 15px; }

@media (max-width: 992px) {
    .banner .banner-slider-inner h1.banner-titulo { font-size: 35px; margin-bottom: 15px; }
    .main-title h2 { font-size: 27px; }
}
@media (max-width: 768px) {
    .banner .banner-slider-inner h1.banner-titulo { font-size: 22px; }
    .main-title h2 { font-size: 24px; }
}
