:root{--rth-home-accent:#ff5146;--rth-home-accent-dark:#e63c31;--rth-home-deep:#051320;--rth-ok:#2f9e63;--rth-ok-dark:#1d6b42;--rth-ok-soft:#effaf3;--rth-err:#b03a2e;--rth-err-soft:#fdf1ef;--rth-warn:#e8a23a;}
/* visual6 (Site5): ajustes sobre o CSS original do template (reference/css/style.css e module-css/*).
   Paleta do original: coral #FF5146 (--thm-base), azul-escuro #051320 (--thm-black), cinza #808080, bordas #E5E5E5.
   Fonte do original: Poppins. Botões .btn-one e blocos .project-block, .sec-title, .page-title do template. */
.rth-site {
    --rth-home-ink: #051320;
    --rth-home-deep: #051320;
    --rth-home-muted: #6b6b6b;
    --rth-home-accent: #ff5146;
    --rth-home-accent-dark: #e63c31;
    --rth-home-accent-text: #d93a30; /* coral escuro: texto e etiquetas (AA sobre branco); #ff5146 só em botões grandes */
    --rth-home-accent-text-dark: #b82e25;
    --rth-home-sand: #f8f8f8;
    --rth-home-line: #e5e5e5;
    --rth-home-muted-text: #6b6b6b; /* cinza AA (5,3:1 sobre branco) para texto pequeno */
    --rth-radius-field: 8px;
    --rth-radius-card: 12px;
    --rth-radius-pill: 30px;
    background: #fff;
    color: #808080;
    font-family: Poppins, sans-serif;
}
.rth-site a { color: var(--rth-home-deep); }
.rth-site a:hover { color: var(--rth-home-accent); }
.rth-site h1, .rth-site h2, .rth-site h3, .rth-site h4, .rth-site h5 { color: var(--rth-home-deep); font-family: Poppins, sans-serif; }
.rth-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rth-site .auto-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.rth-site .btn-one { color: #fff !important; font-weight: 600; text-transform: capitalize; }
.rth-site .btn-one .txt { color: #fff; position: relative; z-index: 2; }

/* ---------- Cabeçalho ---------- */
.rth-header { position: relative; z-index: 20; background: #fff; }
.rth-header .header-top { background: var(--rth-home-deep); padding: 9px 0; color: #fff; }
.rth-header .header-top .outer-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rth-header .header-contact-info ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.rth-header .header-contact-info li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; white-space: nowrap; }
.rth-header .header-contact-info li::before, .rth-header .header-contact-info li::after { content: none; display: none; }
.rth-header .header-contact-info .icon span { color: var(--rth-home-accent); font-size: 13px; }
.rth-header .header-contact-info h6 { margin: 0; font-size: 13px; font-weight: 400; color: #fff; }
.rth-header .header-contact-info a { color: #fff; }
.rth-header .header-top__right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; white-space: nowrap; }
.rth-header .header-top__left { min-width: 0; }
.rth-header .social-link ul { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rth-header .social-link a { color: #fff; font-size: 13px; }
.rth-header .signin-box a { color: #fff; font-size: 13px; }
.rth-header .signin-box a:hover, .rth-header .social-link a:hover, .rth-header .header-contact-info a:hover { color: var(--rth-home-accent); }
.rth-header .header { padding: 0; background: #fff; box-shadow: 0 4px 18px rgba(5,19,32,.06); }
.rth-header .header .outer-box { display: flex; align-items: center; gap: 24px; }
.rth-header .logo { text-align: center; }
.rth-header .header-left { flex: 0 0 auto; min-width: 0; }
.rth-header .header-right { flex: 0 0 auto; }
.rth-site-brand { display: inline-flex; align-items: center; }
.rth-site-brand-logo { display: block; height: 58px; width: auto; max-width: 220px; object-fit: contain; }
.rth-site-brand-name { display: none; font-weight: 700; font-size: 22px; color: var(--rth-home-deep); }
.rth-site-brand.is-text .rth-site-brand-logo { display: none; }
.rth-site-brand.is-text .rth-site-brand-name { display: inline; }
.rth-header .logo .creci { display: block; font-size: 11px; color: var(--rth-home-muted-text); }
.rth-header .header-middle { margin-left: auto; }
/* Mobile: painel lateral */
.rth-header .header-top__left { display: none; }
.rth-header .header-top .outer-box { justify-content: flex-end; }
.rth-header .header .outer-box { min-height: 72px; flex-wrap: wrap; }
.rth-header .header-right { display: none; margin-left: 8px; }
.rth-menu-toggle { display: block; background: var(--rth-home-accent); border: 0; padding: 10px 11px; }
.rth-bars { display: flex; flex-direction: column; gap: 4px; }
.rth-bars span { display: block; width: 22px; height: 2px; background: #fff; }
/* O template original (reference/responsive.css, <=1199px) esconde `.main-header .nav-outer .main-menu` com !important e forca position/width. Gaveta e menu desktop sao decididos aqui, com seletor de mesma especificidade carregado depois. */
.rth-header .nav-outer .rth-nav { display: block !important; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 86vw; float: none; background: #fff; z-index: 100; overflow-y: auto; transform: translateX(105%); visibility: hidden; transition: transform .3s, visibility 0s linear .3s; padding: 24px 0; box-shadow: -10px 0 30px rgba(5,19,32,.2); }
.rth-header .nav-outer .rth-nav.is-open { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }
.rth-nav .navigation { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0; list-style: none; }
.rth-nav .navigation > li { position: relative; padding: 0; }
.rth-nav .navigation > li > a, .rth-nav .navigation > li > .rth-menu-parent { display: block; padding: 13px 24px; border-bottom: 1px solid #e5e5e5; font-size: 15px; font-weight: 500; color: var(--rth-home-deep); text-transform: capitalize; }
.rth-nav .navigation > li:hover > a, .rth-nav .navigation > li:hover > .rth-menu-parent { color: var(--rth-home-accent-text); }
.rth-nav .navigation > li.dropdown > a::after, .rth-nav .navigation > li.dropdown > .rth-menu-parent::after { content: "\f107"; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; font-size: 11px; }
.rth-nav .navigation li ul { position: static; display: none; margin: 0; padding: 8px 0; list-style: none; background: #f8f8f8; }
.rth-nav .navigation li.is-open > ul { display: block; }
.rth-nav .navigation li ul li { display: block; }
.rth-nav .navigation li ul li a { display: block; padding: 9px 20px; font-size: 14px; color: var(--rth-home-deep); }
.rth-nav .navigation li ul li a:hover { color: var(--rth-home-accent); background: #f8f8f8; }
.rth-nav-shade { display: none; }
.rth-nav.is-open .rth-nav-shade { display: block; position: fixed; inset: 0 280px 0 0; background: rgba(5,19,32,.5); z-index: -1; }

/* Desktop: menu horizontal com submenus flutuantes */
@media (min-width: 992px) {
    .rth-header .header-top__left { display: block; }
    .rth-header .header-top .outer-box { justify-content: space-between; flex-wrap: nowrap; }
    .rth-header .header .outer-box { min-height: 90px; flex-wrap: nowrap; }
    .rth-header .header-right { display: block; }
    .rth-header .header-middle { flex: 1 1 0; min-width: 0; display: flex; justify-content: safe center; }
    .rth-menu-toggle { display: none; }
    .rth-header .nav-outer .rth-nav { position: static; width: auto; max-width: none; background: transparent; z-index: auto; overflow: visible; transform: none; visibility: visible; transition: none; padding: 0; box-shadow: none; }
    .rth-nav .navigation { flex-direction: row; align-items: center; gap: 4px; }
    .rth-nav .navigation > li > a, .rth-nav .navigation > li > .rth-menu-parent { padding: 32px 11px; border-bottom: 0; font-size: 14px; white-space: nowrap; }
    /* Submenu: caixa branca com texto escuro (o original pintava a caixa de coral via ul:before) */
    .rth-nav .navigation > li > ul { position: absolute; left: 0; top: 100%; width: auto; min-width: 260px; padding: 0; background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(5,19,32,.14); transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
    .rth-nav .navigation > li > ul::before { display: none; }
    .rth-nav .navigation > li > ul > li { padding: 0; opacity: 1; visibility: inherit; transform: none; transition: none; }
    .rth-nav .navigation > li > ul > li > a { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; color: var(--rth-home-deep); font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0; white-space: nowrap; }
    .rth-nav .navigation > li > ul > li:last-child > a { border-bottom: 0; }
    .rth-nav .navigation > li > ul > li > a::before { display: none; }
    .rth-nav .navigation > li > ul > li > a:hover, .rth-nav .navigation > li > ul > li:hover > a, .rth-nav .navigation > li > ul > li > a:focus-visible { padding-left: 20px; color: var(--rth-home-accent-text); background: #f8f8f8; }
    .rth-nav .navigation > li.dropdown:hover > ul, .rth-nav .navigation > li.dropdown:focus-within > ul, .rth-nav .navigation > li.dropdown.is-open > ul { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
}

/* ---------- Conteúdo ---------- */
.rth-main { min-height: 50vh; }
.rth-section { padding: 44px 0 40px; }
.rth-site .sec-title { margin-bottom: 26px; }
.rth-site .sec-title .sub-title h5 { color: var(--rth-home-accent-text); font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.rth-site .sec-title h2 { font-size: 28px; font-weight: 600; margin: 0; }
.rth-more { margin-top: 20px; }
.rth-empty { padding: 36px; text-align: center; background: #f8f8f8; border: 1px solid #e5e5e5; }

/* Barra de pesquisa: .project-form-area do template (branca, borda inferior), rótulos acima dos campos */
.rth-site .project-form-area { padding: 18px 0 22px; }
.rth-search { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: center; }
.rth-search .single-box { flex: 1 1 100%; min-width: 0; }
.rth-search .single-box h5 { margin: 0 0 6px; color: var(--rth-home-deep); font-size: 14px; font-weight: 400; }
.rth-search select, .rth-search input { width: 100%; height: 46px; border: 1px solid #e5e5e5; background: #fff; padding: 0 12px; color: var(--rth-home-deep); border-radius: var(--rth-radius-field); }
.rth-search .rth-search-code { flex: 1 1 100%; min-width: 0; }
.rth-search-btn { flex: 0 0 auto !important; min-width: 0 !important; }
.rth-pill { width: 100%; height: 54px; padding: 0 44px; border: 0; border-radius: var(--rth-radius-pill); background: var(--rth-home-accent-text); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
.rth-pill:hover { background: var(--rth-home-accent-text-dark); }
.rth-filterbar .form-group { margin-bottom: 12px; }
.rth-filterbar .rth-search-submit { width: 100%; height: 46px; padding: 0; border-radius: 23px; }

/* Título de página: faixa .breadcrumb-area do template (foto com sobreposição escura) */
.rth-pagehero { position: relative; background: var(--rth-home-deep); padding: 40px 0 32px; text-align: center; overflow: hidden; }
.rth-pagehero > * { position: relative; z-index: 1; }
.rth-pagehero h1 { color: #fff; font-size: 28px; font-weight: 600; margin: 0 0 10px; }
.rth-pagehero p, .rth-pagehero span { color: #fff; }
.rth-breadcrumb { display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rth-breadcrumb li, .rth-breadcrumb a { color: #fff !important; font-size: 14px; }
.rth-breadcrumb li + li::before { content: '/'; margin-right: 10px; color: var(--rth-home-accent); }

/* Card (.project-block) */
.rth-card-col { display: flex; margin-bottom: 30px; }
.rth-card-col[hidden] { display: none; }
.rth-card-col > .rth-card { flex: 1 1 auto; width: 100%; }
.rth-card { background: #fff; margin-bottom: 0; border-radius: var(--rth-radius-card); overflow: hidden; box-shadow: 0 4px 20px rgba(5,19,32,.08); transition: box-shadow .3s, transform .3s; }
.rth-card:hover { box-shadow: 0 14px 34px rgba(5,19,32,.12); transform: translateY(-4px); }
.rth-card .img-holder .inner { position: relative; height: 234px; overflow: hidden; background: #f8f8f8; border-radius: 0; }
.rth-card .text-holder { border-radius: 0; box-shadow: none; }
/* Sobreposição do hover: gradiente escuro suave, sem capturar cliques (o original usava coral a 70%, que escondia foto, etiquetas e o coração) */
.rth-card .img-holder .inner:before { background: linear-gradient(180deg, rgba(5,19,32,0) 45%, rgba(5,19,32,.4) 100%); pointer-events: none; }
.rth-card:hover .img-holder .inner:before { opacity: 1; }
.rth-card .img-holder img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rth-card:hover .img-holder img { transform: scale(1.06); }
.rth-card-tags { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 70px); pointer-events: none; }
.rth-card-tags span { background: var(--rth-home-accent-text); color: #fff; font-size: 12px; font-weight: 500; padding: 3px 12px; border-radius: 4px; }
.rth-card-tags span.alt { background: var(--rth-home-deep); }
.rth-fav { position: absolute; z-index: 3; right: 14px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--rth-home-deep); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.rth-fav.active { color: var(--rth-home-accent-text); }
.rth-fav:focus-visible, .rth-menu-parent:focus-visible { outline: 2px solid var(--rth-home-deep); outline-offset: 2px; }
.rth-card .text-holder h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.rth-card-loc { font-size: 13px; margin: 0 0 8px; color: var(--rth-home-muted-text); }
.rth-card-loc i { color: var(--rth-home-accent); margin-right: 4px; }
.rth-card-desc { font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
.rth-card .price-box { border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; color: #808080; font-size: 14px; }
.rth-card .price-box strong { color: var(--rth-home-accent-text); font-weight: 600; font-size: 17px; }
.rth-card .project-features-box ul { margin: 0; padding: 0; list-style: none; }
.rth-card .project-features-box li { display: flex; align-items: center; gap: 7px; }
.rth-card .project-features-box .icon span { color: var(--rth-home-accent); }

.rth-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 26px; flex-wrap: wrap; }
.rth-results-heading h2 { margin: 0; font-size: 22px; font-weight: 600; }
.rth-sort-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.rth-sort-form label { margin: 0; font-size: 13px; color: var(--rth-home-muted-text); }
.rth-sort-form select { width: auto; height: 40px; border-radius: var(--rth-radius-field); }
.rth-pagination { margin-top: 20px; }
.rth-pagination .pagination { justify-content: center; margin: 0; }
.rth-pagination .page-link { color: var(--rth-home-deep); border-radius: var(--rth-radius-field); border-color: #e5e5e5; }
.rth-pagination .page-item.active .page-link, .rth-pagination .page-link:hover { background: var(--rth-home-accent-text); border-color: var(--rth-home-accent-text); color: #fff; }

/* ---------- Rodapé ---------- */
.rth-footer { background: linear-gradient(180deg, #e6feff 0%, #f6ffff 100%); }
@media (min-width: 769px) { .rth-footer .footer { padding: 70px 0 20px; } }
.rth-footer .footer-widget { margin-bottom: 30px; }
.rth-footer .footer-widget .title h3 { font-size: 20px; font-weight: 600; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.rth-footer .footer-widget .title h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--rth-home-accent); }
.rth-footer-list { list-style: none; margin: 0 0 16px; padding: 0; }
.rth-footer-list li { padding: 5px 0; }
.rth-footer-contact li { display: flex; gap: 10px; }
.rth-footer-contact i { color: var(--rth-home-accent); margin-top: 5px; width: 16px; }
.rth-footer-social { display: flex; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.rth-footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; }
.rth-footer-social a:hover { background: var(--rth-home-accent); color: #fff; }
.rth-footer .footer-bottom { padding: 18px 0; }
.rth-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.rth-footer-bottom p { margin: 0; }
.rth-site-footer-title { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.rth-site-footer-list { list-style: none; margin: 0; padding: 0; }
.rth-site-footer-list li { padding: 5px 0; }
.rth-whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }

/* Botão do cabeçalho: .btn-one do template anima pseudo-elementos que quebram dentro do flex do cabeçalho */
.rth-header-cta { display: inline-block; background: var(--rth-home-accent-text); color: #fff !important; font-weight: 600; font-size: 15px; }
.rth-header-cta:hover { background: var(--rth-home-accent-text-dark); }

/* Ícones do card: o template usa a fonte flaticon nos spans; aqui são ícones Font Awesome */
.rth-card .project-features-box { padding-top: 0; }
.rth-card .project-features-box .icon span { font-family: 'Font Awesome 6 Free' !important; font-weight: 900; font-size: 14px; line-height: 1; }
.rth-card .project-features-box .icon span::before { font-family: inherit !important; }

/* Rodapé claro, como o .footer-area do template (gradiente #E6FEFF) */
.rth-footer { padding-top: 0; color: #808080; }
.rth-footer .footer { padding: 70px 0 20px; border-top: 1px solid #e5e5e5; }
.rth-footer .footer-widget .title h3 { color: var(--rth-home-deep); }
.rth-footer a { color: #666666; }
.rth-footer a:hover { color: var(--rth-home-accent); }
.rth-footer-social a { background: #fff; color: var(--rth-home-deep); border: 1px solid #e5e5e5; }
.rth-footer .footer-bottom { border-top: 1px solid #e5e5e5; background: #fff; }
.rth-footer-bottom p, .rth-footer-about { color: var(--rth-home-muted-text); }
.rth-site-footer-title { color: var(--rth-home-deep); }
.footer-dinamico { color: #666666; }

.rth-site .page-title .title-box, .rth-site .page-title .auto-container { text-align: center; }

/* Ajustes do card e do rodapé */
.rth-card { border: 0; height: 100%; }
.rth-card .project-features-box ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rth-card .project-features-box ul li { display: inline-flex; align-items: center; width: auto; margin: 0; padding: 0; float: none; }
.rth-card .project-features-box .icon, .rth-card .project-features-box .inner-title { display: inline-block; position: static; margin: 0; width: auto; }
.rth-card .project-features-box .inner-title { margin-left: 6px; }
.rth-footer .footer .shape1 { display: none; }
.rth-footer .footer-logo { margin-bottom: 16px; }
.rth-footer .footer-logo img { max-height: 70px; width: auto; }
.rth-footer-bottom { align-items: center; }

/* ===== Botões: pílulas como no Site5 em produção ===== */
.rth-site .btn-one { border-radius: var(--rth-radius-pill); overflow: hidden; padding: 0 36px; height: 56px; line-height: 56px; background: var(--rth-home-accent-text); border: 2px solid var(--rth-home-accent-text); }
.rth-site .btn-one:hover { background: var(--rth-home-accent-text-dark); border-color: var(--rth-home-accent-text-dark); }
.rth-site .btn-one:before, .rth-site .btn-one:after { display: none; }
.rth-site .btn-one .txt { line-height: 52px; }
.rth-site .btn-one.style2 { background: transparent; border: 2px solid var(--rth-home-accent); }
.rth-site .btn-one.style2 .txt { color: var(--rth-home-deep); }
.rth-site .btn-one.style2:hover { background: var(--rth-home-accent); }
.rth-site .btn-one.style2:hover .txt { color: #fff; }
.rth-header-cta { white-space: nowrap; border-radius: var(--rth-radius-pill); padding: 14px 30px; }

/* ===== Card .project-block: sem linhas perdidas; preço e ícones alinhados ===== */
.rth-card .text-holder { padding: 20px 18px 18px; }
.rth-card .price-box { border: 0; padding: 0; margin: 12px 0 10px; }
.rth-card .project-features-box { padding: 0; border: 0; margin: 0; }
.rth-card .text-holder .project-features-box ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 0; margin: 0; }
.rth-card .text-holder .project-features-box ul li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; font-size: 14px; }
.rth-card .project-features-box ul li + li { margin-top: 0; }
.rth-card .project-features-box ul li .icon { display: inline-flex; align-items: center; width: auto; font-size: 15px; line-height: 1; }
.rth-card .project-features-box ul li .icon span { display: inline-block; line-height: 1; }
.rth-card .project-features-box ul li .icon span::before { top: 0; }
.rth-card .project-features-box ul li .inner-title { display: inline-flex; align-items: center; }
.rth-card .project-features-box ul li .inner-title .rth-fact { margin: 0; line-height: 1; font-size: 14px; font-weight: 500; color: var(--rth-home-deep); }

/* ===== Hero de largura total ===== */
.rth-hero { position: relative; height: 360px; overflow: hidden; background: var(--rth-home-deep); }
.rth-hero-link { display: block; position: relative; height: 100%; color: #fff; }
.rth-hero-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rth-hero-title { position: absolute; left: 14px; right: 14px; top: 34px; max-width: 520px; padding: 14px 16px; background: rgba(5,19,32,.62); color: #fff; font-size: 20px; font-weight: 600; line-height: 1.25; font-family: Poppins, sans-serif; }
.rth-hero-info { position: absolute; left: 0; right: 40%; bottom: 0; min-width: 0; padding: 12px 16px; background: rgba(5,19,32,.72); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.rth-hero-info strong { font-size: 22px; font-weight: 600; color: #fff; }
.rth-hero-tags b { display: inline-block; margin-right: 6px; padding: 2px 14px; border-radius: 14px; background: var(--rth-home-accent); font-size: 13px; font-weight: 600; }
.rth-hero-facts i { color: var(--rth-home-accent); margin: 0 4px 0 12px; }
.rth-hero-facts i:first-child { margin-left: 0; }
.rth-hero--somente-desktop { display: none; }
@media (min-width: 576px) { .rth-search .single-box { flex: 1 1 150px; min-width: 150px; } .rth-search .rth-search-code { flex: 0 1 100px; min-width: 90px; } .rth-pill { width: auto; height: 60px; } .rth-card .text-holder { padding: 24px 24px 22px; } }
@media (min-width: 769px) { .rth-hero--somente-desktop { display: block; } .rth-hero { height: 560px; } .rth-hero-title { left: 12%; right: auto; font-size: 30px; padding: 22px 26px; } .rth-hero-info { left: 6%; right: auto; min-width: 340px; padding: 20px 28px; } .rth-hero-info strong { font-size: 34px; } .rth-section { padding: 70px 0 60px; } .rth-site .sec-title { margin-bottom: 40px; } .rth-site .sec-title h2 { font-size: 40px; } .rth-pagehero { padding: 70px 0 56px; } .rth-pagehero h1 { font-size: 40px; } }

/* ===== Título de página, contraste e alinhamento ===== */
.rth-site .rth-pagehero, .rth-site .rth-pagehero * { text-align: center; }
.rth-site .rth-pagehero h1, .rth-site .rth-pagehero p, .rth-site .rth-pagehero span, .rth-site .rth-pagehero small { color: #fff !important; }
.rth-site .rth-pagehero h1 { max-width: none; margin-left: auto; margin-right: auto; }
.rth-site .rth-pagehero p { margin-left: auto; margin-right: auto; max-width: 720px; }
.rth-site .rth-pagehero .rth-wrap { position: relative; z-index: 1; }


/* ===== Mobile ===== */
.rth-footer .footer .shape2 { z-index: 0; pointer-events: none; opacity: .5; }
.rth-footer .footer .auto-container { position: relative; z-index: 2; }

/* ===== Detalhe ===== */
.rth-site .rth-detail-block h2 { font-size: 26px; font-weight: 600; position: relative; padding-bottom: 12px; }
.rth-site .rth-detail-block h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--rth-home-accent); }
.rth-site .rth-detail-gallery__all { display: none; }

/* ===== Detalhe do imóvel (Site5): project-details-area, top-title, slider, blocos de características e Valores ===== */
.rth-pagehero--slim { padding: 38px 0 30px; }
.rth-pagehero--slim h1 { font-size: 30px; }
.rth-site .project-details-area { padding: 28px 0 40px; background: #fff; }
.rth-site .project-info-box { margin-bottom: 30px; }
.rth-site .top-title h2 { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.rth-site .top-title span { color: #808080; }
.rth-site .top-title span i { color: var(--rth-home-accent); }
.rth-top-actions { display: flex; gap: 10px; margin: 14px 0 20px; flex-wrap: wrap; }
.rth-detail-action { padding: 8px 18px; border: 1px solid #e5e5e5; border-radius: 30px; background: #fff; color: var(--rth-home-deep); font-size: 13px; cursor: pointer; }
.rth-detail-action.active i, .rth-detail-action:hover { color: var(--rth-home-accent); }
.rth-slider__main { position: relative; display: block; width: 100%; height: 240px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #f8f8f8; cursor: zoom-in; }
.rth-slider__main img { width: 100%; height: 100%; object-fit: cover; }
.rth-slider .photo-counter { position: absolute; right: 16px; bottom: 16px; padding: 6px 14px; border-radius: 20px; background: rgba(5,19,32,.78); color: #fff; font-size: 13px; }
.rth-slider .badge-foto-ia { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 20px; background: rgba(5,19,32,.78); color: #fff; font-size: 12px; }
.rth-slider__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.rth-slider__thumb { position: relative; height: 84px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #f8f8f8; cursor: zoom-in; }
.rth-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rth-slider__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,19,32,.65); color: #fff; font-weight: 600; }
.rth-site .rth-features { padding: 26px 24px; border: 1px solid #e5e5e5; border-radius: 16px; }
.rth-site .rth-features h4 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.rth-site .rth-features h6 { margin: 18px 0 8px; font-weight: 600; color: var(--rth-home-accent-text); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.rth-feature { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.rth-feature .IconesDetalhes { color: var(--rth-home-accent); width: 22px; font-size: 16px; text-align: center; }
.rth-feature .ImoDescricaoTextoIconesDetalhes { color: #808080; font-size: 14px; }
.rth-feature .ImoDescricaoTextoIconesDetalhes span { color: var(--rth-home-deep); font-weight: 600; }
.rth-site .rth-detail-block h4, .rth-site .rth-detail-block h3 { font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.rth-site .rth-values { text-align: center; padding: 14px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.rth-site .rth-values .ImoDescricaoTextoIconesDetalhes { color: #808080; font-size: 15px; padding: 8px; }
.rth-site .rth-values .ImoDescricaoTextoIconesDetalhes span { color: var(--rth-home-accent-text); font-weight: 600; font-size: 18px; }
.rth-detail-video { position: relative; aspect-ratio: 16 / 9; background: var(--rth-home-deep); border-radius: 16px; overflow: hidden; }
.rth-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rth-detail-map { height: 340px; border-radius: 16px; overflow: hidden; background: #f8f8f8; }
.rth-detail-aside { position: static; }
.rth-price-box { padding: 24px; margin-bottom: 20px; border-radius: 16px; background: var(--rth-home-deep); color: #fff; }
.rth-price-box span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--rth-home-accent); }
.rth-price-box strong { display: block; font-size: 24px; font-weight: 600; color: #fff; }
.rth-price-box em { font-size: 14px; font-style: normal; color: #808080; }
.rth-widget { padding: 24px; margin-bottom: 20px; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(26,46,85,.1); }
.rth-widget__title { font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.rth-detail-form input, .rth-detail-form textarea { width: 100%; margin-bottom: 10px; padding: 10px 14px; border: 1px solid #e5e5e5; border-radius: var(--rth-radius-field); }
.rth-detail-form .btn { width: 100%; border-radius: var(--rth-radius-pill); background: var(--rth-home-accent-text); border-color: var(--rth-home-accent-text); color: #fff; height: 50px; font-weight: 600; }
.rth-detail-share__row { display: flex; gap: 8px; }
.rth-detail-share__row a, .rth-detail-share__row button { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--rth-home-deep); color: #fff; }
.rth-detail-share__row a:hover, .rth-detail-share__row button:hover { background: var(--rth-home-accent); }
.rth-detail-more { margin-top: 20px; }
.rth-detail-more__title { font-size: 26px; font-weight: 600; margin: 40px 0 6px; }
@media (min-width: 576px) { .rth-slider__main { height: 340px; } .rth-site .top-title h2 { font-size: 28px; } .rth-price-box strong { font-size: 28px; } }
@media (min-width: 768px) { .rth-slider__main { height: 420px; border-radius: 20px; } .rth-slider__thumbs { grid-template-columns: repeat(6, 1fr); gap: 10px; } .rth-site .project-details-area { padding: 60px 0 70px; } .rth-site .top-title h2 { font-size: 34px; } }
@media (min-width: 992px) { .rth-slider__main { height: 470px; } .rth-detail-aside { position: sticky; top: 20px; } }

/* ===== Contato (Site5) ===== */
.rth-site .contact-info-area .row { justify-content: center; align-items: stretch; }
.rth-site .contact-info-area .row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.rth-site .contact-info-area .single-contact-info-box { width: 100%; height: 100%; }
.rth-contact-form .input-box { margin-bottom: 20px; }
.rth-contact-form .input-box label { display: block; margin: 0 0 6px; font-size: 14px; color: var(--rth-home-deep); font-weight: 500; }
.rth-contact-form .input-box input, .rth-contact-form .input-box select, .rth-contact-form .input-box textarea { width: 100%; height: 56px; padding: 0 18px; border: 1px solid #e5e5e5; background: #fff; color: var(--rth-home-deep); border-radius: var(--rth-radius-field); }
.rth-contact-form .input-box textarea { height: 150px; padding: 14px 18px; }
.rth-contact-form .input-box.two { margin-top: 22px; }
.rth-contact-form .btn-one { cursor: pointer; }
.rth-quick { margin-top: 14px; }
.rth-quick a { color: var(--rth-home-deep); }

/* ===== Ajustes mobile-first (auditoria 375 px) ===== */
.rth-site .footer-area .shape2 { display: none; }
@media (min-width: 992px) { .rth-site .footer-area .shape2 { display: block; } }

/* ===== Espaçamentos (auditoria mobile) ===== */
.rth-site .rth-form__title { margin: 30px 0 16px; }
.rth-site .rth-form__title:first-child { margin-top: 0; }

/* Substituem estilos inline das views */
.rth-mt-0{margin-top:0}.rth-mt-16{margin-top:16px}.rth-mt-18{margin-top:18px}.rth-mt-40{margin-top:40px}
.thm-shape-bg1{background-image:url(/themes/visual6/reference/images/shape/thm-shape-bg1.jpg)}
.slogan-area__bg{background-image:url(/themes/visual6/reference/images/shape/slogan-area-bg.jpg)}

/* Topo entre 992 e 1239px: continua em uma linha (menos espaço; o endereço some abaixo de 1240px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .rth-header .header-contact-info ul { gap: 4px 16px; }
    .rth-header .header-contact-info h6 { font-size: 12px; }
}
@media (min-width: 992px) and (max-width: 1239px) {
    .rth-header .header-contact-info li:first-child:has(.fa-location-dot) { display: none; }
}
.rth-site select.form-control, .rth-site input.form-control { border-radius: var(--rth-radius-field); }

/* Botão-pai dos submenus (sem destino próprio): aparência de link do menu */
.rth-nav .navigation > li > .rth-menu-parent { width: 100%; background: none; border: 0; border-radius: 0; text-align: left; cursor: pointer; font-family: Poppins, sans-serif; }
@media (min-width: 992px) { .rth-nav .navigation > li > .rth-menu-parent { width: auto; border-bottom: 0; } }

/* Formas decorativas (mãos do rodapé, shapes da Home) vazam das seções; contê-las evita rolagem horizontal. clip não cria contexto de rolagem (o sticky do detalhe continua valendo). */
.rth-main, .rth-footer { overflow-x: clip; }

/* Menu móvel (painel lateral): neutraliza o submenu flutuante do original. O !important vence o `display:block !important` de reference/responsive.css (a partir de 768px). */
@media (max-width: 991px) {
    .rth-nav .navigation > li > ul { position: static; width: auto; padding: 8px 0; border-radius: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none !important; }
    .rth-nav .navigation > li.is-open > ul { display: block !important; }
    .rth-nav .navigation > li > ul::before { display: none; }
    .rth-nav .navigation > li > ul > li { padding: 0; opacity: 1; visibility: inherit; transform: none; transition: none; }
    .rth-nav .navigation > li > ul > li > a { padding: 9px 20px; border-bottom: 0; color: var(--rth-home-deep); font-size: 14px; line-height: 22px; letter-spacing: 0; }
    .rth-nav .navigation > li > ul > li > a::before { display: none; }
    .rth-nav .navigation > li > ul > li > a:hover, .rth-nav .navigation > li > ul > li:hover > a { padding-left: 20px; color: var(--rth-home-accent-text); background: #f8f8f8; }
}

/* Foco visivel (teclado) em links, campos e botoes */
.rth-site a:focus-visible, .rth-site button:focus-visible, .rth-site input:focus-visible, .rth-site select:focus-visible, .rth-site textarea:focus-visible, .rth-site [tabindex]:focus-visible { outline: 2px solid #051320; outline-offset: 2px; }
/* Sobre fundo escuro (topo, titulo de pagina) o anel escuro some; usa branco */
.rth-header .header-top a:focus-visible, .rth-pagehero a:focus-visible { outline-color: #fff; }

/* Topo 992-1239px: tudo em uma linha sem cortar logo nem CTA */
@media (min-width: 992px) and (max-width: 1239px) {
    .rth-header .header .outer-box { gap: 12px; }
    .rth-site-brand-logo { height: 48px; max-width: 160px; }
    .rth-nav .navigation { gap: 0; }
    .rth-nav .navigation > li { margin-right: 6px; }
    .rth-nav .navigation > li > a, .rth-nav .navigation > li > .rth-menu-parent { padding-left: 5px; padding-right: 5px; font-size: 13px; }
    .rth-header .header-right { margin-left: 16px; }
    .rth-header .header-right { margin-left: 0; }
    .rth-header-cta { padding: 10px 16px; font-size: 14px; }
}

/* Gaveta fechada nao recebe foco (inert/aria-hidden no JS) */
/* Cartoes: blocos sem conteudo nao ocupam espaco; alturas alinhadas pela grade */
.rth-card .text-holder { display: flex; flex-direction: column; }
.rth-card .project-features-box { margin-top: auto; }
.rth-card .price-box { margin-top: 12px; }

/* Filtro de /imoveis: rotulos e selects sem truncar */
.rth-search-panel select { min-width: 0; text-overflow: ellipsis; }
.rth-search-panel label { min-width: 0; }
.rth-footer .footer-area, .rth-site .footer-area { overflow: hidden; }

/* Alvos de toque minimos no mobile */
@media (max-width: 991px) {
    .rth-site a.rth-btn, .rth-site button, .rth-site .rth-pagination a, .rth-site .rth-detail-action, .rth-site select { min-height: 36px; }
    .rth-footer li a { display: inline-block; padding: 6px 0; min-height: 32px; }
    .rth-header .social-link a, .rth-header .signin-box a { display: inline-flex; align-items: center; min-height: 32px; min-width: 32px; justify-content: center; }
}

/* Faixa estreita do desktop: menu mais compacto e marca que encolhe, para nunca sobrepor o menu */
@media (min-width: 992px) and (max-width: 1199px) {
    .rth-header .header .outer-box { gap: 12px; }
    .rth-header .header-left { flex: 0 1 auto; min-width: 0; }
    .rth-site-brand { min-width: 0; max-width: 100%; }
    .rth-site-brand-name { font-size: 18px; overflow-wrap: anywhere; }
    .rth-nav .navigation { gap: 0; }
    .rth-nav .navigation > li { margin-right: 6px; }
    .rth-nav .navigation > li > a, .rth-nav .navigation > li > .rth-menu-parent { padding-left: 7px; padding-right: 7px; font-size: 13px; }
}

/* Área do cliente: dropdown (details) com portais do proprietário e do inquilino */
.rth-client-menu { position: relative; }
.rth-client-menu details { position: relative; }
.rth-client-menu summary { list-style: none; cursor: pointer; color: #fff; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.rth-client-menu summary::-webkit-details-marker { display: none; }
.rth-client-menu summary:hover, .rth-client-menu details[open] summary { color: var(--rth-home-accent); }
.rth-client-menu summary i { font-size: 10px; }
.rth-client-menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 1000; }
.rth-header .signin-box.rth-client-menu ul li a { display: block; padding: 9px 16px; color: #222; font-size: 14px; white-space: nowrap; }
.rth-header .signin-box.rth-client-menu ul li a:hover { background: #f3f3f3; color: var(--rth-home-accent); }
