/*
Theme Name:   houzez Child
Template:     houzez
Version:      1.0.0
Text Domain:  houzez-child
Description:  Customizações do site. Único lugar onde código sobrevive a update do tema pai.
*/

/* Seu CSS aqui. Nunca editar o tema pai. */

/* ==========================================================================
   Refinamento visual v1 (2026-11) — mantém a identidade dourada da Hazas
   ========================================================================== */
:root {
	--hz-gold: #c5b000;
	--hz-gold-deep: #8f8200;     /* dourado escuro: texto sobre fundo claro (contraste AA) */
	--hz-ink: #1d1d1b;
	--hz-cream: #f8f5ef;
	--hz-radius: 14px;
	--hz-shadow: 0 1px 2px rgba(29,29,27,.05), 0 8px 24px rgba(29,29,27,.07);
	--hz-shadow-hover: 0 2px 4px rgba(29,29,27,.06), 0 18px 40px rgba(29,29,27,.14);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; color: var(--hz-ink); }
::selection { background: var(--hz-gold); color: #fff; }

/* Faixa superior mais discreta */
.top-bar-wrap { font-size: 12.5px; letter-spacing: .02em; font-weight: 500; }
.top-bar-wrap, .top-bar-wrap a { color: var(--hz-ink); }

/* Menu */
.main-nav .nav-link, .main-nav a { letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; font-weight: 600; transition: opacity .2s ease; }
.main-nav .nav-link:hover { opacity: .65; }

/* Títulos de seção */
.houzez_section_title {
	letter-spacing: -.02em;
	line-height: 1.12;
	font-weight: 700;
}
.elementor-widget-houzez_section_title .sub-title,
.elementor-widget-houzez_section_title p,
.section-title-wrap p { color: #6b6a63; letter-spacing: .01em; }
.houzez_section_title:not([style*="color: #fff"]) { color: var(--hz-ink); }

/* Cartões de imóveis */
.item-wrap {
	border: 0 !important;
	border-radius: var(--hz-radius) !important;
	overflow: hidden;
	box-shadow: var(--hz-shadow);
	transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
	background: #fff;
}
.item-wrap:hover { transform: translateY(-4px); box-shadow: var(--hz-shadow-hover); }
.item-wrap img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.item-wrap:hover img { transform: scale(1.04); }
.item-wrap .listing-image-wrap, .item-wrap .listing-thumb { overflow: hidden; }
.item-wrap .item-title a { color: var(--hz-ink); font-weight: 600; line-height: 1.35; }
.item-wrap .item-price, .item-wrap .item-price-wrap, .item-wrap .item-price a { color: var(--hz-gold-deep) !important; font-weight: 700; letter-spacing: -.01em; }
.item-wrap .label-wrap .hz-label, .item-wrap .labels-wrap a, .item-wrap .label {
	border-radius: 999px !important; letter-spacing: .06em; font-size: 10.5px; padding: 4px 10px;
}

/* Botões */
.btn-primary, .elementor-button, .houzez-search-button {
	border-radius: 10px !important;
	font-weight: 600;
	letter-spacing: .03em;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary:hover, .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(143,130,0,.28); }

/* Campos de formulário */
.form-control, .bootstrap-select > .dropdown-toggle, .elementor-field-textual, select, input[type=text], input[type=email] {
	border-radius: 10px !important;
	border-color: #dedbd1 !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .elementor-field-textual:focus {
	border-color: var(--hz-gold) !important;
	box-shadow: 0 0 0 3px rgba(197,176,0,.22) !important;
}

/* "Porque escolher a Hazas" — ícones com mais respiro */
.elementor-widget-icon-box .elementor-icon-box-title { letter-spacing: -.01em; font-weight: 600; }
.elementor-widget-icon-box .elementor-icon-box-description { color: var(--hz-gold-deep); }

/* Depoimentos */
.elementor-testimonial, .elementor-widget-testimonial { line-height: 1.6; }

/* Formulário final (bloco dourado) */
.elementor-widget-houzez_advanced_search .houzez-search-wrap,
.elementor-section .advanced-search-v1 {
	border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

/* Rodapé */
.footer-top-wrap { padding-top: 56px; padding-bottom: 40px; }
.footer-top-wrap a { transition: color .2s ease; }
.footer-top-wrap a:hover { color: var(--hz-gold); }
.footer-bottom-wrap { font-size: 12.5px; opacity: .8; }

/* Quem somos / texto corrido */
.elementor-widget-text-editor { line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
	.item-wrap:hover, .item-wrap:hover img { transform: none; }
}

/* ---- v1.1: hierarquia tipográfica e contraste ---- */
.houzez_section_subtitle {
	color: var(--hz-gold-deep) !important;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	margin-top: 10px;
}
.houzez_section_title_wrap .houzez_section_title { margin-bottom: 4px; }
.houzez_section_title_wrap.section-title-module::after { content: none; }
.elementor-widget-icon-box .elementor-icon-box-description { color: #6b6a63 !important; font-size: 14.5px; line-height: 1.6; }
.elementor-widget-icon-box .elementor-icon-box-wrapper { transition: transform .3s ease; }
.elementor-widget-icon-box:hover .elementor-icon-box-wrapper { transform: translateY(-3px); }
.elementor-icon-box-icon .elementor-icon { filter: drop-shadow(0 6px 10px rgba(143,130,0,.25)); }
.item-wrap li.item-price { color: var(--hz-gold-deep) !important; font-size: 18px; font-weight: 700; }
.item-wrap .item-title { font-size: 15.5px; }
.item-wrap .item-body { padding: 18px 20px 20px; }
.item-wrap .item-amenities, .item-wrap .h-beds, .item-wrap .h-baths { color: #6b6a63; font-size: 13px; }

/* Hero: leitura do título e do bloco de busca */
.elementor-top-section:first-of-type .elementor-heading-title,
.houzez_section_title.text-white { text-shadow: 0 2px 24px rgba(0,0,0,.45); }

/* Aviso de cookies mais limpo */
#cookie-law-info-bar, .cli-modal-dialog, #cookie-law-info-again { border-radius: 14px; }
.cli_settings_button, .cli_action_button { border-radius: 8px !important; font-weight: 600; }

/* Depoimentos como cartões */
.elementor-testimonial {
	background: #fff; border-radius: var(--hz-radius); padding: 28px 26px;
	box-shadow: var(--hz-shadow); height: 100%;
}
.elementor-testimonial-content { color: #3a3a36; font-size: 15px; }
.elementor-testimonial-name { color: var(--hz-ink); font-weight: 700; }
.elementor-testimonial-job { color: #6b6a63; }

/* Botão "Load More" */
.houzez-loadmore, a.btn-loadmore, .load-more-btn { border-radius: 10px; font-weight: 600; letter-spacing: .04em; }

/* ---- v1.2: correções de contraste ---- */
/* Faixa dourada "Quer vender…": subtítulo escuro sobre o dourado */
.elementor-element-607f5c9 .houzez_section_subtitle { color: var(--hz-ink) !important; opacity: .85; }
/* Barra final do rodapé: sem opacidade no fundo, só no texto */
.footer-bottom-wrap { opacity: 1; }
.footer-bottom-wrap, .footer-bottom-wrap a, .footer-bottom-wrap p { color: rgba(255,255,255,.75); }

/* ==========================================================================
   v2 — páginas internas (detalhe, listagem, formulários) e acabamento global
   ========================================================================== */
html { scroll-behavior: smooth; }
a { transition: color .2s ease; }
:focus-visible { outline: 3px solid rgba(197,176,0,.55); outline-offset: 2px; border-radius: 4px; }
img { image-rendering: auto; }

/* Cabeçalho: sombra leve para separar do conteúdo */
.header-main-wrap { box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.main-nav .nav-link { position: relative; }
.main-nav .nav-link::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
	background: var(--hz-ink); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav .nav-link:hover::after, .main-nav .current-menu-item > .nav-link::after { transform: scaleX(1); }

/* ---- Página do imóvel ---- */
.page-title-wrap h1, .property-title-price-wrap h1, h1.page-title, .page-title h1 {
	font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--hz-ink);
}
.item-price-wrap .item-price, .page-title-wrap .item-price { font-size: 30px; font-weight: 800; color: var(--hz-gold-deep) !important; letter-spacing: -.02em; }
.label-status { border-radius: 999px !important; letter-spacing: .08em; font-size: 11px; padding: 5px 12px; text-transform: uppercase; }

/* Galeria arredondada */
.listing-gallery-wrap img, .top-gallery-section img, [class*="gallery"] .hz-gallery-img, .property-gallery-wrap img { border-radius: 0; }
.property-overview-data { border-radius: var(--hz-radius); background: #fff; box-shadow: var(--hz-shadow); padding: 14px 6px; margin-top: 18px; }
.property-overview-data .overview-item strong, .property-overview-data strong { color: var(--hz-ink); font-weight: 700; }

/* Blocos de conteúdo como cartões */
.property-section-wrap, .widget-wrap, .block-wrap, .property-description-wrap {
	border: 0 !important; border-radius: var(--hz-radius) !important; box-shadow: var(--hz-shadow);
}
.property-section-wrap h2, .property-section-wrap .block-title-wrap h2, .widget-wrap .widget-title {
	font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--hz-ink);
	padding-bottom: 12px; border-bottom: 1px solid #ece8dc;
}
.property-section-wrap h2::after, .widget-wrap .widget-title::after {
	content: ""; display: block; width: 36px; height: 3px; background: var(--hz-gold); border-radius: 3px; margin: 12px 0 -13px;
}
.property-description-wrap li { line-height: 1.65; }
.property-description-wrap li::marker { color: var(--hz-gold); }

/* Caixa "Detalhes": troca o amarelo turvo por um creme limpo com filete dourado */
.detail-wrap { background: #fbf8ec !important; border: 1px solid #ece4b8 !important; border-left: 4px solid var(--hz-gold) !important; border-radius: 12px !important; }
.detail-wrap strong { color: var(--hz-ink); }

/* Formulário lateral */
.widget-property-form { background: #fff; }
.widget-property-form .btn, .property-form-wrap .btn-primary, .property-form-wrap button[type=submit] {
	background: var(--hz-gold) !important; border-color: var(--hz-gold) !important; color: #1d1d1b !important;
	font-weight: 700; padding: 12px 18px; border-radius: 10px !important;
}
.widget-property-form .btn:hover { background: #b09d00 !important; }
.widget-property-form textarea, .widget-property-form input { border-radius: 10px !important; border: 1px solid #dedbd1 !important; }
.widget-property-form a { color: var(--hz-gold-deep); font-weight: 600; }

/* "Últimos imóveis" (lateral) e navegação Prev/Next */
.widget-wrap .item-title a { font-weight: 600; color: var(--hz-ink); line-height: 1.35; }
.property-navigation-wrap a, .prev-next-wrap a { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
a.read-more, .read-more { color: var(--hz-gold-deep); font-weight: 600; }

/* Mapa */
.hz-btn-map { border-radius: 8px !important; font-weight: 600; }

/* ---- Listagem / busca ---- */
.listing-view .item-wrap, .listing-v1 .item-wrap { margin-bottom: 24px; }
.page-title-wrap { background: transparent; }
.pagination .page-link { border-radius: 8px; margin: 0 3px; border: 0; color: var(--hz-ink); font-weight: 600; }
.pagination .active .page-link { background: var(--hz-gold); color: #1d1d1b; }
.advanced-search, .advanced-search-v1 { border-radius: 14px; }
.advanced-search .btn-primary { font-weight: 700; }
.sort-by .btn, .listing-tools-wrap .btn { border-radius: 8px !important; }

/* ---- Páginas de texto (Sobre, Contato) ---- */
.page-wrap p, .elementor-widget-text-editor p { max-width: 70ch; }
.elementor-widget-image img { border-radius: var(--hz-radius); }
.elementor-widget-icon-list .elementor-icon-list-item { padding: 4px 0; }
.wpcf7-form input, .wpcf7-form textarea, .elementor-field-group .elementor-field { border-radius: 10px !important; }

/* Botão do WhatsApp flutuante: sombra mais suave */
.wp-whatsapp-wrap, .whatsapp-button, #whatsapp-chat-widget { filter: drop-shadow(0 8px 18px rgba(0,0,0,.22)); }

/* Mobile */
@media (max-width: 767px) {
	.item-wrap { border-radius: 12px !important; }
	.houzez_section_title { font-size: 32px !important; }
	.item-price-wrap .item-price { font-size: 24px; }
	.top-bar-wrap { font-size: 11.5px; }
}

/* ---- v2.1: correções de efeito colateral ---- */
.footer-top-wrap .widget-title, .footer-top-wrap .widget-wrap .widget-title { color: #fff !important; border-bottom: 0; padding-bottom: 0; }
.footer-top-wrap .widget-title::after { margin: 12px 0 0; }
.footer-top-wrap .widget-wrap { box-shadow: none; background: transparent; }
.widget-property-form .btn.dropdown-toggle, .property-form-wrap .btn.dropdown-toggle {
	background: #fff !important; border: 1px solid #dedbd1 !important; color: #6b6a63 !important; font-weight: 400; padding: .5rem .75rem;
}

/* ---- v2.2 ---- */
.footer-bottom-wrap { padding-top: 18px !important; padding-bottom: 18px !important; background: #141414 !important; }
.footer-bottom-wrap .container { min-height: 0; }
.footer-bottom-wrap, .footer-bottom-wrap .container, .footer-bottom-wrap .row, .footer-bottom-wrap [class*="col"] { min-height: 0 !important; height: auto !important; }
.footer-bottom-wrap p, .footer-bottom-wrap div { margin-top: 0; margin-bottom: 0; }
/* Cartões de contato e mapa */
.elementor-widget-google_maps iframe { border-radius: var(--hz-radius); filter: saturate(.9); }
.elementor-widget-text-editor .elementor-widget-container, .elementor-column-wrap .elementor-widget-wrap { border-radius: var(--hz-radius); }
.footer-bottom-wrap .footer-logo:empty, .footer-bottom-wrap .footer-nav:empty { display: none; }
.footer-bottom-wrap .footer-logo, .footer-bottom-wrap .footer-nav { margin-bottom: 0 !important; }

/* ---- Rodapé: 4ª coluna (chamada de contato) fica à direita ---- */
.footer-top-wrap .row > div:has(.hz-footer-cta) { order: 5; }
.hz-footer-cta p { color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.65; margin: 12px 0 18px; }
.hz-footer-cta .widget-title { margin-bottom: 0; }
.hz-cta-btn {
	display: inline-flex; align-items: center; gap: 8px; background: var(--hz-gold); color: #1d1d1b !important;
	font-weight: 700; font-size: 13.5px; padding: 11px 18px; border-radius: 10px; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hz-cta-btn:hover { background: #d6c200; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(197,176,0,.3); color: #1d1d1b !important; }
.hz-cta-link { display: block; margin-top: 14px; color: #fff !important; font-weight: 600; font-size: 13px; }
.hz-cta-link:hover { color: var(--hz-gold) !important; }
.hz-cta-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.6); }
.hz-cta-meta a { color: rgba(255,255,255,.85) !important; }
.hz-cta-meta a:hover { color: var(--hz-gold) !important; }

/* Faixa dourada do formulário final: subtítulos claros (dourado escuro some no dourado) */
.elementor-element-cba17d0 .houzez_section_subtitle { color: rgba(255,255,255,.92) !important; text-shadow: 0 1px 12px rgba(0,0,0,.18); }

/* ==========================================================================
   Cor da marca nos estados interativos (o Houzez usa o azul #00aeff padrão
   em foco/hover/clique e um azul próprio no link "Visitar Site" do painel)
   ========================================================================== */
:root { --hz-gold-hover: #a99700; }

/* Painel: link "Visitar Site" */
.vist-btn, .vist-btn i, .vist-btn .houzez-icon { color: var(--hz-gold) !important; transition: color .2s ease; }
.vist-btn:hover, .vist-btn:focus, .vist-btn:hover i, .vist-btn:focus i { color: var(--hz-gold-deep) !important; }

/* Botões primários (inclui o "Enviar" do formulário): hover, foco e clique */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:focus:active,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary.active, .show > .btn-primary.dropdown-toggle,
.fc-button-primary:hover, .fc-button-primary:focus, .fc-button-primary:active,
.houzez-search-button:hover, .houzez-search-button:focus, .houzez-search-button:active,
.elementor-button:active, .elementor-button:focus {
	background-color: var(--hz-gold-hover) !important;
	border-color: var(--hz-gold-hover) !important;
	color: #fff !important;
	box-shadow: none;
}
.btn-primary:focus-visible, .houzez-search-button:focus-visible { outline: 3px solid rgba(197,176,0,.45); outline-offset: 2px; }

/* Botões de contorno, paginação e links: sem azul no hover/ativo */
.btn-primary-outlined, .btn-primary-outlined:focus, .btn-primary-outlined:active,
.btn-primary-outlined:not(:disabled):not(:disabled):active { color: var(--hz-gold-deep) !important; border-color: var(--hz-gold) !important; }
.btn-primary-outlined:hover { background-color: var(--hz-gold) !important; border-color: var(--hz-gold) !important; color: #fff !important; }
.page-item.active .page-link, .page-link:hover { background-color: var(--hz-gold) !important; border-color: var(--hz-gold) !important; color: #1d1d1b !important; }
.page-link { color: var(--hz-gold-deep); }
a:hover, .primary-text, .item-title a:hover, .main-nav .navbar-nav .nav-item .nav-item a:hover { color: var(--hz-gold-deep); }
.header-v1 a:hover, .header-v2 a:hover { background-color: rgba(197,176,0,.12); color: var(--hz-gold-deep); }
.dashboard-side-menu-wrap .side-menu-dropdown a.active, .nav-box ul li a.active { color: var(--hz-gold); border-color: var(--hz-gold); }
.form-control:focus, .bootstrap-select > .dropdown-toggle:focus { border-color: var(--hz-gold) !important; box-shadow: 0 0 0 3px rgba(197,176,0,.22) !important; }

/* Botão "Enviar" do formulário e botões de busca: o Elementor desta página define hover azul (#33beff) */
.elementor .elementor-element .houzez-submit-button:hover, .elementor .elementor-element .houzez-submit-button:focus, .elementor .elementor-element .houzez-submit-button:active,
.elementor .elementor-element .houzez-contact-form-js:hover, .elementor .elementor-element .houzez-contact-form-js:active,
.elementor .elementor-element .houzez-search-button:hover, .elementor .elementor-element .houzez-search-button:active,
button.houzez-submit-button:hover, button.houzez-submit-button:active {
	background-color: var(--hz-gold-hover) !important;
	border-color: var(--hz-gold-hover) !important;
	color: #fff !important;
}
