/* Renny Corretor — busca, cards e página de imóvel */
:root {
  --rc-blue: #2563eb; --rc-blue-d: #1d4ed8; --rc-navy: #0f172a; --rc-ink: #1e293b;
  --rc-muted: #64748b; --rc-line: #e2e8f0; --rc-bg: #f8fafc; --rc-green: #16a34a; --rc-wa: #25d366; --rc-wa-d: #128c7e;
  --rc-radius: 16px; --rc-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
.rc-hero [hidden], .rc-search [hidden], .rc-wrap [hidden], .rc-more-btn[hidden], [data-more][hidden] { display: none !important; }
.rc-wrap { max-width: 1240px; margin: 0 auto; padding: 24px 20px 72px; }
.rc-ico { width: 18px; height: 18px; flex: none; }
.rc-ico-lg { width: 26px; height: 26px; color: var(--rc-blue); }
.rc-ico-xl { width: 48px; height: 48px; }
.rc-ico-btn { width: 22px; height: 22px; }
.rc-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- botões ---------- */
.rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; width: 100%; font-family: inherit; }
.rc-btn:active { transform: scale(.98); }
.rc-btn-primary { background: var(--rc-blue); color: #fff; }
.rc-btn-primary:hover { background: var(--rc-blue-d); }
.rc-btn-wa { background: var(--rc-wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.rc-btn-wa:hover { background: var(--rc-wa-d); }
.rc-btn-ghost { background: #fff; color: var(--rc-blue); border-color: var(--rc-line); }
.rc-btn-ghost:hover { border-color: var(--rc-blue); }
.rc-btn-sm { min-height: 44px; font-size: 15px; padding: 0 16px; }

/* ---------- Hero ---------- */
.rc-hero { position: relative; background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%); color: #fff; padding: 56px 20px 72px; overflow: hidden; }
.rc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(250, 204, 21, .18), transparent 45%), radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .08), transparent 40%); pointer-events: none; }
.rc-hero-in { position: relative; max-width: 1040px; margin: 0 auto; text-align: center; }
.rc-hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1; font-weight: 800; margin: 0 0 14px; letter-spacing: -.02em; }
.rc-hero h1 em { font-style: normal; color: #facc15; }
.rc-hero-sub { font-size: clamp(1rem, 2.2vw, 1.25rem); color: #dbeafe; max-width: 640px; margin: 0 auto 28px; }
.rc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: #dbeafe; }
.rc-trust b { color: #facc15; }
.rc-hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.rc-hero-cta .rc-btn { width: auto; }
.rc-hero-cta .rc-btn-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }

/* ---------- Caixa de busca ---------- */
.rc-search { background: #fff; color: var(--rc-ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(2, 6, 23, .35); padding: 14px; text-align: left; }
.rc-tabs { display: inline-flex; background: #f1f5f9; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.rc-tab { border: 0; background: transparent; padding: 10px 26px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--rc-muted); cursor: pointer; font-family: inherit; min-height: 44px; }
.rc-tab[aria-pressed="true"] { background: var(--rc-blue); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .35); }
.rc-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 760px) { .rc-fields { grid-template-columns: 1fr 1.3fr 1fr auto; align-items: end; } }
.rc-field { display: flex; flex-direction: column; gap: 4px; position: relative; min-width: 0; }
.rc-field label { font-size: 12px; font-weight: 700; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .04em; }
.rc-field select, .rc-field input[type=text], .rc-field input[type=search], .rc-sort select { height: 52px; border: 2px solid var(--rc-line); border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--rc-ink); width: 100%; font-family: inherit; }
.rc-field select:focus, .rc-field input:focus, .rc-sort select:focus { outline: none; border-color: var(--rc-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.rc-search .rc-btn { height: 52px; width: 100%; }
@media (min-width: 760px) { .rc-search .rc-btn { width: auto; min-width: 150px; } }
.rc-more-toggle { background: none; border: 0; color: var(--rc-blue); font-weight: 700; font-size: 15px; padding: 12px 4px 4px; cursor: pointer; font-family: inherit; min-height: 44px; }
.rc-more { display: none; padding-top: 6px; }
.rc-more.is-open { display: block; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.rc-chips > span { font-size: 13px; font-weight: 700; color: var(--rc-muted); min-width: 78px; }
.rc-chip { position: relative; }
.rc-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rc-chip i { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 2px solid var(--rc-line); border-radius: 999px; font-style: normal; font-weight: 700; color: var(--rc-ink); }
.rc-chip input:checked + i { background: var(--rc-blue); border-color: var(--rc-blue); color: #fff; }
.rc-chip input:focus-visible + i { box-shadow: 0 0 0 3px rgba(37, 99, 235, .3); }
.rc-suggest { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--rc-line); border-radius: 12px; box-shadow: var(--rc-shadow); margin-top: 4px; max-height: 260px; overflow: auto; z-index: 30; padding: 4px; }
.rc-suggest button { display: block; width: 100%; text-align: left; padding: 12px; border: 0; background: none; border-radius: 8px; font-size: 16px; cursor: pointer; font-family: inherit; color: var(--rc-ink); }
.rc-suggest button:hover, .rc-suggest button.is-on { background: #eff6ff; }
.rc-clear { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; color: var(--rc-muted); cursor: pointer; display: none; }
.rc-field.has-value .rc-clear { display: block; }

/* ---------- Faixa de números ---------- */
.rc-band { background: var(--rc-navy); color: #fff; }
.rc-band-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 20px; text-align: center; }
.rc-band b { display: block; font-size: clamp(1.25rem, 3.4vw, 1.9rem); color: #facc15; }
.rc-band span { font-size: 12px; color: #cbd5e1; }

/* ---------- Seção de imóveis ---------- */
.rc-section-head { text-align: center; margin: 0 auto 28px; max-width: 700px; }
.rc-section-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; color: var(--rc-navy); margin: 0 0 8px; }
.rc-section-head p { color: var(--rc-muted); font-size: 1.05rem; margin: 0; }
.rc-cards { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .rc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rc-cards { grid-template-columns: repeat(3, 1fr); } }
.rc-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--rc-muted); }
.rc-empty h3 { color: var(--rc-ink); font-size: 1.3rem; margin: 0 0 8px; }
.rc-empty .rc-btn { width: auto; margin-top: 16px; }
.rc-skel { height: 380px; border-radius: var(--rc-radius); background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: rc-sk 1.2s infinite; }
@keyframes rc-sk { to { background-position: -200% 0; } }

.rc-im { background: #fff; border-radius: var(--rc-radius); overflow: hidden; box-shadow: var(--rc-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border: 1px solid #eef2f7; }
.rc-im:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .14); }
.rc-im-media { position: relative; background: #e2e8f0; aspect-ratio: 4 / 3; }
.rc-im-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rc-im-track::-webkit-scrollbar { display: none; }
.rc-im-track a, .rc-im-track > div { flex: 0 0 100%; scroll-snap-align: center; display: block; height: 100%; }
.rc-im-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-im-noimg { display: flex; align-items: center; justify-content: center; color: #94a3b8; font-weight: 600; background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e5eaf1 12px, #e5eaf1 24px); }
.rc-im-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; pointer-events: none; }
.rc-badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; color: #fff; }
.rc-badge-sale { background: var(--rc-blue); }
.rc-badge-rent { background: #7c3aed; }
.rc-badge-soft { background: #f1f5f9; color: var(--rc-ink); }
.rc-im-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--rc-navy); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.rc-im-arrow.prev { left: 8px; } .rc-im-arrow.next { right: 8px; }
.rc-im-media:hover .rc-im-arrow, .rc-im-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .rc-im-arrow { opacity: .9; width: 34px; height: 34px; } }
.rc-im-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.rc-im-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: .2s; }
.rc-im-dots i.on { background: #fff; width: 16px; border-radius: 4px; }
.rc-im-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rc-im-price { font-size: 1.6rem; font-weight: 800; color: var(--rc-blue); line-height: 1.1; }
.rc-im-price small { font-size: 14px; color: var(--rc-muted); font-weight: 600; }
.rc-im h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--rc-navy); line-height: 1.3; }
.rc-im h3 a { color: inherit; text-decoration: none; }
.rc-im-where { color: var(--rc-muted); font-size: 14px; display: flex; gap: 6px; align-items: center; margin: 0; }
.rc-im-feats { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 0 0; margin: 4px 0 0; border-top: 1px solid var(--rc-line); list-style: none; font-size: 14px; color: var(--rc-ink); }
.rc-im-feats li { display: flex; align-items: center; gap: 6px; }
.rc-im-feats .rc-ico { color: var(--rc-muted); }
.rc-im-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 12px; }
.rc-im-actions .rc-btn { min-height: 46px; font-size: 15px; }
.rc-im-actions .rc-btn-wa-i { width: 50px; padding: 0; }

/* ---------- Página /imoveis ---------- */
.rc-list-top { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); padding: 28px 20px 36px; color: #fff; }
.rc-list-top h1 { max-width: 1240px; margin: 0 auto 16px; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
.rc-list-top .rc-search { max-width: 1240px; margin: 0 auto; }
.rc-list-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.rc-count { color: var(--rc-muted); font-weight: 600; }
.rc-sort { display: flex; align-items: center; gap: 8px; }
.rc-sort select { height: 46px; width: auto; }
.rc-more-btn { display: block; margin: 28px auto 0; width: auto; min-width: 240px; }

/* ---------- Página do imóvel ---------- */
.rc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--rc-muted); margin: 8px 0 16px; }
.rc-crumbs a { color: var(--rc-blue); text-decoration: none; }
.rc-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .rc-detail-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; } }
.rc-aside { position: sticky; top: 96px; }
@media (max-width: 1023px) { .rc-aside { position: static; } }
.rc-gallery { margin-bottom: 24px; }
.rc-gal-main { position: relative; border-radius: 20px; overflow: hidden; background: #0f172a; box-shadow: 0 20px 50px rgba(15, 23, 42, .18); }
.rc-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.rc-gal-track::-webkit-scrollbar { display: none; }
.rc-gal-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .rc-gal-slide { aspect-ratio: 4 / 3; } }
.rc-gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.rc-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.rc-prev { left: 12px; } .rc-next { right: 12px; }
.rc-gal-count { position: absolute; left: 14px; bottom: 14px; background: rgba(15, 23, 42, .72); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.rc-gal-zoom { position: absolute; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.rc-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.rc-thumb { flex: 0 0 96px; height: 68px; border-radius: 10px; overflow: hidden; border: 3px solid transparent; padding: 0; cursor: pointer; background: #e2e8f0; opacity: .75; }
.rc-thumb.is-active { border-color: var(--rc-blue); opacity: 1; }
.rc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-gal-empty { aspect-ratio: 16 / 9; border-radius: 20px; background: #e2e8f0; color: #64748b; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 6px; margin-bottom: 24px; }
.rc-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--rc-navy); line-height: 1.15; margin: 10px 0 8px; }
.rc-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-code { color: var(--rc-muted); font-size: 14px; font-weight: 600; }
.rc-where { display: flex; align-items: center; gap: 6px; color: var(--rc-muted); font-size: 1.05rem; margin: 0; }
.rc-where .rc-ico { color: var(--rc-blue); }
.rc-feats { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .rc-feats { grid-template-columns: repeat(4, 1fr); } }
.rc-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; background: #fff; border: 1px solid var(--rc-line); border-radius: 16px; font-weight: 700; color: var(--rc-navy); text-align: center; }
.rc-section { background: #fff; border-radius: 20px; padding: 26px; margin-top: 22px; box-shadow: 0 4px 20px rgba(15, 23, 42, .05); }
.rc-section h2 { font-size: 1.35rem; font-weight: 800; color: var(--rc-navy); margin: 0 0 14px; }
.rc-desc { white-space: pre-line; color: #475569; line-height: 1.75; font-size: 1.05rem; margin: 0; }
.rc-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 24px; margin: 0; }
.rc-dl div { border-bottom: 1px solid var(--rc-line); padding-bottom: 10px; }
.rc-dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--rc-muted); font-weight: 700; }
.rc-dl dd { margin: 2px 0 0; font-weight: 600; color: var(--rc-navy); }
.rc-video, .rc-map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; display: block; margin-bottom: 14px; }
.rc-map { background: #e2e8f0; aspect-ratio: 16 / 8; }
.rc-link { color: var(--rc-blue); font-weight: 700; }
.rc-card { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 20px 50px rgba(15, 23, 42, .12); border-top: 6px solid var(--rc-blue); display: flex; flex-direction: column; gap: 12px; }
.rc-price { font-size: 2.3rem; font-weight: 800; color: var(--rc-blue); line-height: 1; }
.rc-price small { font-size: 1rem; color: var(--rc-muted); font-weight: 600; }
.rc-price-ask { font-size: 1.6rem; }
.rc-price-note { margin: -6px 0 6px; color: var(--rc-muted); font-size: 14px; }
.rc-lead { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rc-line); padding-top: 16px; margin-top: 4px; }
.rc-lead-title { margin: 0; font-weight: 700; color: var(--rc-navy); }
.rc-lead input { height: 50px; border: 2px solid var(--rc-line); border-radius: 12px; padding: 0 14px; font-size: 16px; font-family: inherit; }
.rc-lead input:focus { outline: none; border-color: var(--rc-blue); }
.rc-lead-msg { margin: 0; font-weight: 600; font-size: 14px; }
.rc-lead-msg.ok { color: var(--rc-green); } .rc-lead-msg.err { color: #dc2626; }
.rc-agent { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--rc-line); padding-top: 16px; }
.rc-agent img { border-radius: 50%; object-fit: cover; width: 56px; height: 56px; }
.rc-agent span { display: block; font-size: 13px; color: var(--rc-muted); }
.rc-mobile-bar { display: none; }
@media (max-width: 1023px) {
  .rc-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--rc-line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(15, 23, 42, .1); }
  .rc-mobile-bar small { display: block; color: var(--rc-muted); font-size: 12px; }
  .rc-mobile-bar strong { font-size: 1.25rem; color: var(--rc-blue); }
  .rc-mobile-bar .rc-btn { width: auto; min-width: 150px; }
  .rc-detail { padding-bottom: 110px; }
  a[aria-label="Falar pelo WhatsApp"] { bottom: 96px !important; }
}
.rc-empty-page { text-align: center; padding: 80px 20px; max-width: 520px; display: grid; gap: 14px; }
.rc-empty-page h1 { font-size: 2rem; font-weight: 800; }
.rc-similar { background: transparent; box-shadow: none; padding: 0; margin-top: 44px; }

/* ---------- Lightbox ---------- */
.rc-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 23, .96); display: flex; align-items: center; justify-content: center; }
.rc-lightbox[hidden] { display: none; }
.rc-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; touch-action: pan-y; }
.rc-lb-close { position: absolute; top: 12px; right: 14px; width: 52px; height: 52px; font-size: 38px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; cursor: pointer; }
.rc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 38px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; cursor: pointer; }
.rc-lb-prev { left: 12px; } .rc-lb-next { right: 12px; }
.rc-lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #e2e8f0; font-weight: 700; }
.rc-toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--rc-navy); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 120; font-weight: 600; box-shadow: var(--rc-shadow); }
