/* Pagina do imovel (layout do site antigo) */
.pd-band { background: linear-gradient(90deg, #6cbc6a 0%, #4aa0cf 100%); color: #fff; padding: 28px 0; }
.pd-band h1 { font-size: 1.3rem; font-weight: 500; margin: 0; }
.pd-page { background: #f4f6f9; padding: 22px 0 32px; }
.pd-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 14px 14px 22px; }
.pd-rounded { border-radius: 10px; overflow: hidden; }

.pd-badge { display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; border-radius: 3px; padding: 3px 8px; }
.pd-badge-code { background: #f57c00; }
.pd-badge-purpose { background: #2f3e4e; }

.pd-media-pane { display: none; }
.pd-media-pane.active { display: block; }
.pd-gallery { border-radius: 10px; overflow: hidden; background: #111; }
.pd-gallery .carousel-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pd-caption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: 90%;
    background: rgba(40, 40, 40, .72); color: #fff; border: 2px solid #28a745; border-radius: 20px;
    padding: 4px 14px; font: 600 .95rem 'Poppins', sans-serif; text-align: center; }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; padding: 0; border: 2px solid rgba(255,255,255,.85);
    background: rgba(40,167,69,.92); color: #fff; font-size: 1.35rem; line-height: 1; box-shadow: 0 3px 10px rgba(0,0,0,.3);
    transition: background .2s, transform .2s; }
.pd-nav:hover { background: #1e7e34; transform: translateY(-50%) scale(1.08); }
.pd-prev i { margin-right: 3px; }  /* compensa o desenho da seta para ficar no centro optico */
.pd-next i { margin-left: 3px; }
.pd-prev { left: 10px; }
.pd-next { right: 10px; }
.pd-360 { position: relative; aspect-ratio: 16 / 10; background: #000; }
.pd-360 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pd-media-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pd-pill { border: 1px solid #28a745; background: #fff; color: #1e7e34; border-radius: 20px; padding: 3px 16px; font-size: .9rem; }
.pd-pill.active, .pd-pill:hover { background: #28a745; color: #fff; }

.pd-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; margin: 14px 0 18px; }
.pd-spec { background: #f8f9fb; }
.pd-spec { display: flex; align-items: center; gap: 7px; padding: 10px 6px; font-size: .8rem; min-width: 0; line-height: 1.25; }
.pd-spec-label { color: #666; font-weight: 600; }
.pd-spec strong { color: #111; }
.pd-spec > span:last-child { overflow-wrap: anywhere; }
.pd-spec strong { font-weight: 700; }
.pd-spec-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 4px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
@media (max-width: 991px) { .pd-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pd-tabs { display: flex; flex-wrap: nowrap; gap: 3px; border: 0; margin-top: 8px; }
.pd-tabs .nav-item { flex: 1 1 0; }
.pd-tabs .nav-link { width: 100%; border: 0; border-radius: 0; background: #f0f1f3; color: #666; font-size: .85rem; padding: 8px 4px; }
.pd-tabs .nav-link.active { background: #14305c; color: #fff; }
.pd-tab-content { padding: 18px 14px 0; font-size: .92rem; }
.pd-report { font-weight: 600; color: #000; text-align: justify; }
.pd-report h1, .pd-report h2, .pd-report h3, .pd-report h4 { font-size: 1rem; font-weight: 700; }
.pd-subtitle { font-size: 1rem; font-weight: 600; color: #14305c; }
#entorno-map { height: 320px; border-radius: 10px; overflow: hidden; }

.pd-side-title { font-size: 1rem; font-weight: 600; color: #14305c; border-bottom: 1px solid #e6e9ee; padding-bottom: 5px; margin: 0 0 6px; }
.pd-side-title i { color: #2196f3; margin-right: 3px; }
.pd-side-box { background: #fff; padding: 12px 14px; margin-bottom: 18px; }
.pd-list { list-style: none; padding-left: 0; }
.pd-list li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; font-weight: 600; font-size: .92rem; color: #222; }
.pd-list li i { width: 16px; text-align: center; color: #28a745; flex: 0 0 16px; }

.pd-agent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.pd-agent-photo { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.pd-agent-actions { display: flex; flex-direction: column; gap: 6px; }
.pd-agent-actions .btn { font-size: .78rem; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.pd-agent-name { margin-bottom: 18px; font-size: .92rem; }
.pd-btn-green { background: #6db33f; border-color: #6db33f; color: #fff; font-weight: 600; }
.pd-btn-green:hover { background: #5a9a32; color: #fff; }
.pd-btn-light { background: #fff; border: 1px solid #dde2e8; color: #445; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pd-btn-light:hover { background: #f4f6f9; }
.pd-btn-outline { border: 2px solid #28a745; color: #1a1a1a; background: #fff; border-radius: 22px; padding: 7px 22px; font-weight: 700; }
.pd-btn-outline:hover { background: #28a745; color: #fff; }

.pd-share { display: flex; justify-content: space-around; margin: 10px 0; }
.pd-share a, .pd-share button { width: 35px; height: 35px; border-radius: 7px; font-size: 1.05rem; border: 0; color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pd-share-note { font-size: .72rem; color: #666; }
.pd-request { background: #fff1de; border: 1px solid #f5d5a8; border-radius: 10px; text-align: center; padding: 30px 16px; margin-top: 12px; }
.pd-request-title { font-weight: 700; font-size: 1.05rem; color: #14305c; }
.pd-request-title i { color: #28a745; }

.pd-similar-title { font-size: 1rem; font-weight: 600; color: #777; }
.pd-similar-title i { color: #a0522d; }
.pd-similar { display: flex; flex-wrap: wrap; gap: 30px; padding-left: 16px; }
.pd-similar-card { width: 124px; border: 1px solid #28a745; border-radius: 8px; overflow: hidden; background: #fff; color: #222; text-decoration: none; font-size: .78rem; }
.pd-similar-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.15); color: #222; }
.pd-similar-img { padding: 5px 5px 0; }
.pd-similar-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pd-similar-body { padding: 10px 8px 12px; background: #f1f1f1; }
.pd-similar-body .fw-semibold { font-size: .75rem; }
.pd-similar-body .text-truncate { font-size: .9rem; margin-top: 4px; }
