.property-detail{background:#f5f6f9;padding:42px 0 78px}.detail-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:18px;color:#7a8296;font-size:.84rem}.detail-breadcrumb a{color:#4253a9;text-decoration:none}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:25px}.detail-head h1{margin:4px 0 7px;color:#202b58;font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.12}.detail-head p{margin:0;color:#6f788d}.detail-code{display:inline-flex;padding:7px 11px;border-radius:999px;background:#252f8f;color:#fff;font-size:.72rem;font-weight:850;letter-spacing:.05em}.detail-share{display:flex;gap:8px;flex-wrap:wrap}.detail-share button,.detail-share a{height:40px;border:1px solid #d4d8e5;background:#fff;border-radius:8px;padding:0 12px;display:inline-flex;align-items:center;text-decoration:none;color:#35406a;font-weight:750;cursor:pointer}.gallery{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:10px;margin-bottom:24px}.gallery-main,.gallery-thumb{border:0;padding:0;background:#e8eaf2;overflow:hidden;cursor:pointer}.gallery-main{height:510px;border-radius:15px}.gallery-side{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gallery-thumb{min-height:0;border-radius:11px;position:relative}.gallery img{width:100%;height:100%;display:block;object-fit:cover}.gallery-empty{height:420px;border-radius:15px;background:#e9ecf8;display:grid;place-items:center;margin-bottom:24px}.gallery-empty img{width:220px;max-width:60%}.more-photos{position:absolute;inset:0;background:rgba(20,25,65,.6);display:grid;place-items:center;color:#fff;font-weight:850;font-size:1.05rem}.detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.75fr);gap:24px;align-items:start}.detail-card{background:#fff;border:1px solid #e0e3ec;border-radius:14px;padding:24px;box-shadow:0 8px 28px rgba(35,42,102,.055);margin-bottom:18px}.detail-card h2{margin:0 0 15px;color:#202b58;font-size:1.28rem}.detail-price{display:flex;align-items:end;justify-content:space-between;gap:20px}.detail-price span{display:block;color:#7d8497;font-size:.75rem;text-transform:uppercase;font-weight:800}.detail-price strong{display:block;margin-top:2px;color:#252f8f;font-size:1.65rem}.detail-price-extras{display:flex;gap:18px;flex-wrap:wrap}.detail-price-extras div{min-width:110px}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.feature-box{padding:14px;border-radius:10px;background:#f6f7fb;border:1px solid #e7e9f1}.feature-box span{display:block;color:#81889a;font-size:.7rem;text-transform:uppercase;font-weight:800}.feature-box strong{display:block;color:#29345f;margin-top:3px}.description-text{white-space:pre-line;color:#596277;line-height:1.7}.interest-card{position:sticky;top:145px}.interest-card>p{color:#697289;font-size:.9rem}.public-form{display:grid;gap:12px}.public-form label>span{display:block;margin-bottom:5px;color:#59647b;font-size:.73rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.public-form input,.public-form select,.public-form textarea{width:100%;border:1px solid #d4d9e5;border-radius:8px;padding:10px 11px;background:#fff;color:#28345e;outline:none;font:inherit}.public-form input,.public-form select{height:44px}.public-form input:focus,.public-form select:focus,.public-form textarea:focus{border-color:#4256c1;box-shadow:0 0 0 3px rgba(66,86,193,.09)}.public-form textarea{resize:vertical;min-height:86px}.form-privacy{color:#8991a4;font-size:.73rem;line-height:1.4;margin:0}.lightbox{position:fixed;inset:0;z-index:120;background:rgba(7,9,28,.92);display:grid;place-items:center;padding:34px}.lightbox[hidden]{display:none}.lightbox img{max-width:min(1200px,94vw);max-height:88vh;object-fit:contain}.lightbox-close{position:absolute;right:22px;top:15px;border:0;background:none;color:#fff;font-size:2.5rem;cursor:pointer}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:58px;border:0;border-radius:8px;background:rgba(255,255,255,.13);color:#fff;font-size:2rem;cursor:pointer}.lightbox-prev{left:18px}.lightbox-next{right:18px}
@media(max-width:980px){.gallery{grid-template-columns:1fr}.gallery-main{height:460px}.gallery-side{grid-template-columns:repeat(4,1fr);height:130px}.detail-layout{grid-template-columns:1fr}.interest-card{position:static}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.property-detail{padding:26px 0 58px}.detail-head{flex-direction:column}.gallery-main{height:330px}.gallery-side{grid-template-columns:repeat(2,1fr);height:auto}.gallery-thumb{height:120px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-price{align-items:flex-start;flex-direction:column}.detail-card{padding:18px}.lightbox-nav{width:42px;height:50px}.lightbox-prev{left:5px}.lightbox-next{right:5px}}


/* SCIMOB-CAROUSEL-INTEGRADO */

/* SCIMOB - Galeria de detalhes */
.gallery.scimob-carousel {
    display: block;
    width: 100%;
    margin: 22px 0 28px;
}
.scimob-carousel-frame {
    position: relative;
    width: 100%;
    height: clamp(280px, 48vw, 570px);
    overflow: hidden;
    border-radius: 16px;
    background: #17212c;
}
.scimob-carousel-main.gallery-main {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: zoom-in;
}
.scimob-carousel-main img,
.scimob-carousel-main.gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.scimob-carousel-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 56px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .55);
    color: white;
    font-size: 38px;
    cursor: pointer;
}
.scimob-carousel-prev { left: 14px; }
.scimob-carousel-next { right: 14px; }
.scimob-carousel-arrow:hover,
.scimob-carousel-arrow:focus-visible {
    background: rgba(0, 0, 0, .82);
}
.scimob-carousel-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 7px 13px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.scimob-carousel-sources,
.scimob-carousel-sources[hidden] {
    display: none !important;
}

/* SCIMOB - Formulario de interesse */
.detail-layout {
    align-items: start;
}
.detail-layout > * {
    min-width: 0;
}
.detail-layout .interest-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(20, 35, 60, .06);
}
.interest-card .public-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.interest-card .public-form > label:not(.honeypot) {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    min-width: 0;
}
.interest-card .public-form label span {
    font-size: 13px;
    font-weight: 650;
}
.interest-card .public-form input:not([type="hidden"]),
.interest-card .public-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #ccd5e1;
    border-radius: 9px;
    background: white;
    color: #253244;
    font: inherit;
}
.interest-card .public-form textarea {
    min-height: 112px;
    resize: vertical;
}
.interest-card .public-form input:focus,
.interest-card .public-form textarea:focus {
    outline: 2px solid rgba(38, 93, 176, .18);
    border-color: #4776ba;
}
.interest-card .public-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 700;
}
.interest-card .form-privacy {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}
@media(max-width: 780px) {
    .scimob-carousel-frame {
        height: clamp(230px, 65vw, 390px);
        border-radius: 12px;
    }
    .scimob-carousel-arrow {
        width: 39px;
        height: 46px;
        font-size: 30px;
    }
    .scimob-carousel-prev { left: 8px; }
    .scimob-carousel-next { right: 8px; }
    .detail-layout .interest-card { padding: 20px; }
}


/* Correcao de posicionamento - maior prioridade que imovel.css */
.property-detail .gallery.scimob-carousel {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-frame {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: clamp(280px, 48vw, 570px) !important;
    overflow: hidden !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-main {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-arrow {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    width: 48px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0,0,0,.62) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-prev {
    left: 14px !important;
    right: auto !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-next {
    right: 14px !important;
    left: auto !important;
}

.property-detail .gallery.scimob-carousel .scimob-carousel-counter {
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 21 !important;
}

@media(max-width:780px) {
    .property-detail .gallery.scimob-carousel .scimob-carousel-frame {
        height: clamp(230px,65vw,390px) !important;
    }
    .property-detail .gallery.scimob-carousel .scimob-carousel-prev {
        left: 8px !important;
    }
    .property-detail .gallery.scimob-carousel .scimob-carousel-next {
        right: 8px !important;
    }
}
