/* ==========================================================
   SEÇÃO PRINCIPAL: SEÇÃO DE IMÓVEIS (DESTAQUES / OFERTAS)
   ========================================================== */
.destaques-section { background-color:#f8f9fb;   padding-top:50px; padding-bottom: 50px !important;}
.destaques-header { margin-bottom:25px; }
.ofer_subtitulo { font-size:11px; font-weight:700; color:#0b1c3e; text-transform:uppercase; letter-spacing:1px; position:relative; padding-left:24px; display:inline-block; }
.ofer_subtitulo::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:16px; height:3px; background-color:#e3a008; border-radius:2px; }
.ofer_texto { font-size:11px; color:#9aa9b2; }
.ofer_titulo_container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:15px; margin-top:6px; }
.ofer_titulo { font-weight:500; color:#003071; margin:0; font-family:Pacifico,cursive; }
.btn-ver-todos { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#0b1c3e; text-decoration:none; padding:8px 16px; border:1px solid #d0d7de; border-radius:20px; transition:all 0.2s ease; font-family: 'Roboto', sans-serif;}
.btn-ver-todos:hover { background-color:#0b1c3e; color:#ffffff; border-color:#0b1c3e; }

/* CONFIGURAÇÕES DO SLICK SLIDER */
.slides_destaques_container { margin:0 -12px; }
.slides_destaques .slick-track { display:flex !important; }
.slides_destaques .slick-slide { height:auto !important; padding:0 12px !important; outline:none; box-sizing:border-box; }
.slides_destaques .slick-slide > div { height:100%; }
.slick-prev,.slick-next { width:38px; height:38px; background:#ffffff !important; border-radius:50%; box-shadow:0 4px 10px rgba(0,0,0,0.15); z-index:10; transition:all 0.2s ease; }
.slick-prev { left:-15px; }
.slick-next { right:-15px; }
.slick-prev:hover,.slick-next:hover { background:#0b1c3e !important; }
.slick-prev:before,.slick-next:before { color:#0b1c3e; font-size:16px; opacity:1; }
.slick-prev:hover:before,.slick-next:hover:before { color:#ffffff; }

/* ESTRUTURA DOS CARDS DE IMÓVEIS */
.box_imovel { width:100%; height:100%; box-sizing:border-box; }
.box_imovel_interna { background:#ffffff; border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.06); border:1px solid #eaeaea; transition:transform 0.25s ease,box-shadow 0.25s ease; height:100%; display:flex; flex-direction:column; }
.box_imovel_interna:hover { transform:translateY(-5px); box-shadow:0 12px 25px rgba(0,0,0,0.12); }
.card-link { text-decoration:none; color:inherit; display:flex; flex-direction:column; height:100%; }

/* ÁREA DA FOTO E SELOS */
.imovel_foto { height:190px; background-size:cover; background-position:center; position:relative; display:flex; flex-direction:column; justify-content:space-between; padding:12px; }
.foto-overlay-top { display:flex; justify-content:space-between; align-items:center; }
.badge { font-size:10px; font-weight:700; color:#ffffff; padding:4px 10px; border-radius:4px; text-transform:uppercase; letter-spacing:0.5px; }
.badge-destaque { background-color:#f5b301; color:#0b1c3e; }
.btn-favorito { background:rgba(255,255,255,0.85); border:none; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#444; cursor:pointer; backdrop-filter:blur(4px); transition:all 0.2s ease; }
.btn-favorito:hover { background:#ffffff; color:#e63946; }
.badge-codigo { align-self:flex-start; background:rgba(11,28,62,0.75); color:#ffffff; font-size:10px; padding:3px 8px; border-radius:3px; backdrop-filter:blur(2px); }

/* CORPO E INFORMAÇÕES DO IMÓVEL */
.imovel_info { padding:16px; display:flex; flex-direction:column; flex:1; }
.imovel_tipo { font-size:11px; font-weight:600; color:#888888; text-transform:uppercase; }
.imovel_nome { font-size:15px; font-weight:700; color:#0b1c3e; margin:4px 0 8px 0; min-height:42px; line-height:1.3; overflow:hidden; }
.imovel_loca { font-size:12px; color:#666666; display:flex; align-items:center; gap:6px; margin-bottom:12px; min-height:20px; }
.imovel_loca i { color:#e3a008; font-size:13px; }

/* ATRIBUTOS DO IMÓVEL */
.imovel_features { display:flex; flex-wrap:wrap; align-content:flex-start; gap:8px 12px; padding:12px 0; border-top:1px solid #f0f0f0; border-bottom:1px solid #f0f0f0; margin-bottom:14px; min-height:52px; box-sizing:border-box; }
.feat-item { display:flex; align-items:center; gap:5px; font-size:11px; color:#555555; font-weight:600; }
.feat-item i { color:#0b1c3e; font-size:12px; }

/* RODAPÉ DO CARD */
.imovel_footer { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:6px; }
.imovel_preco { font-size:17px; font-weight:800; color:#0b1c3e; }
.imovel_preco small { font-size:11px; font-weight:400; color:#777; }
.btn-detalhes-arrow { width:32px; height:32px; background-color:#0b1c3e; color:#ffffff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; transition:background-color 0.2s ease; }
.box_imovel_interna:hover .btn-detalhes-arrow { background-color:#f5b301; color:#0b1c3e; }

/* MENSAGEM QUANDO NÃO HÁ OFERTAS */
.bloco-sem-oferta { text-align:center; padding:40px; background:#f9fafb; border-radius:8px; color:#666; }

.imoveis-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
/* Responsivo para ajustar em telas menores */
@media screen and (max-width: 1000px) { .imoveis-grid { grid-template-columns: repeat(4, 1fr); } }
@media screen and (max-width: 800px) { .imoveis-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 600px) { .imoveis-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 300px) { .imoveis-grid { grid-template-columns: repeat(1, 1fr); } }

/* GALERIA DO IMOVEL*/
.imovel-galeria{width:100%;margin:20px 0 28px}
.imovel-galeria-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr;grid-template-rows:repeat(2,minmax(150px,210px));gap:10px;overflow:hidden;border-radius:16px}
.imovel-foto{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;border:0;overflow:hidden;cursor:pointer;background:#e8e9e5}
.imovel-foto[hidden]{display:none!important}
.imovel-foto-principal{grid-column:1;grid-row:1/span 2}
.imovel-foto img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;transition:transform .35s ease}
.imovel-foto:hover img{transform:scale(1.035)}
.imovel-foto:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.24));pointer-events:none}
.imovel-ver-todas{position:absolute;z-index:1;right:12px;bottom:12px;padding:10px 13px;border-radius:5px;background:rgba(255,255,255,.95);color:#202a27;font-size:12px;font-weight:700}
.imovel-lightbox{display:none;position:fixed;z-index:99999;inset:0;align-items:center;justify-content:center;padding:60px 70px 35px;background:rgba(12,17,15,.94)}
.imovel-lightbox.aberto{display:flex}
.imovel-lightbox figure{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin:0}
.imovel-lightbox figure img{display:block;max-width:100%;max-height:calc(100% - 55px);object-fit:contain}
.imovel-lightbox figcaption{color:#fff;font-size:14px;text-align:center;padding-top:12px}
#imovelLightboxContador{color:#d7ddd9;font-size:12px;padding-top:5px}
.imovel-lightbox-fechar,.imovel-lightbox-nav{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.13);cursor:pointer;border-radius:50%}
.imovel-lightbox-fechar{top:18px;right:22px;width:44px;height:44px;font-size:30px}
.imovel-lightbox-nav{top:50%;transform:translateY(-50%);width:46px;height:46px;font-size:20px}
.imovel-lightbox-anterior{left:15px}.imovel-lightbox-proxima{right:15px}
body.imovel-lightbox-aberto{overflow:hidden}
@media(max-width:760px){
 .imovel-galeria-grid{grid-template-columns:1fr 1fr;grid-template-rows:250px 125px 125px;gap:7px;border-radius:12px}
 .imovel-foto-principal{grid-column:1/span 2;grid-row:1}
 .imovel-lightbox{padding:55px 12px 25px}
 .imovel-lightbox-anterior{left:7px}.imovel-lightbox-proxima{right:7px}
 .imovel-lightbox-nav{width:38px;height:38px}
}

/*IMOVEIS TIPOS CATEGORIAS BOTÕES*/
.tipos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.tipo-box-item { padding: 0; }
.tipo-box-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px 20px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(0,0,0,0.03); height: 140px; text-align: center; }
.tipo-box-card:hover { border-color: #007bff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.tipo-box-card .tipo-nome { font-size: 14pt; font-weight: 600; color: #2d3748; margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.tipo-box-card:hover .tipo-nome { color: #007bff; }
/* Responsivo para ajustar em telas menores */
@media screen and (max-width: 1000px) { .tipos-grid { grid-template-columns: repeat(4, 1fr); } }
@media screen and (max-width: 800px) { .tipos-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 600px) { .tipos-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 300px) { .tipos-grid { grid-template-columns: repeat(1, 1fr); } }


/*IMOVEIS DETALHA*/
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.breadcrumb{padding:22px 0 16px;font-size:12px;}
.breadcrumb span{margin:0 8px;color:#b1b8b2}
.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:750}
.heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}
.imovel_titulo{/*font-family:Georgia,"Times New Roman",serif;*/font-family: "Pacifico", cursive;font-weight:500;font-size:clamp(30px,4vw,43px);letter-spacing:-.035em;line-height:1.12;margin:8px 0 9px}
.address{font-size:14px}

.price-block{text-align:right;min-width:210px}
.price-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;}
.price{/*font-family:Georgia,serif;*/font-size:31px;white-space:nowrap}
.ref{font-size:11px;;margin-top:2px}

.gallery{display:grid;grid-template-columns:1.65fr 1fr 1fr;grid-template-rows:210px 210px;gap:10px;border-radius:18px;overflow:hidden;position:relative}

.below-gallery{display:flex;justify-content:space-between;align-items:center;padding:14px 0 27px;gap:14px;;font-size:12px}
.actions{display:flex;gap:9px}
.outline-btn{border:1px solid #e5e7e2;border-radius:5px;background:white;padding:9px 13px;color:#202a27;font-size:12px}
.outline-btn:hover{border-color:#294d43}

.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start}

.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e5e7e2;border-radius:12px;padding:21px 10px;margin-bottom:32px}
.fact{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 8px;border-right:1px solid #e5e7e2}
.fact:last-child{border:0}
.fact-icon{font-size:22px}
.fact strong{display:block;font-size:17px;font-weight:700;line-height:1.2}
.fact small{display:block;font-size:11px;;margin-top:4px}

.section{padding:0 0 32px;margin-bottom:30px;border-bottom:1px solid #e5e7e2}
.section p{color:#59635d;font-size:14px;line-height:1.9;margin:0 0 12px}

.features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 24px;list-style:none;padding:0;margin:0}
.features li{font-size:13px;color:#4e5b54;display:flex;gap:10px;align-items:center}
.features li:before{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#003071;font-weight:800;font-size:11px;flex:0 0 20px; color:#e3a008}

.map-placeholder{height:220px;background:#e9eee8;border-radius:12px;display:grid;place-items:center;text-align:center;padding:20px;background-image:linear-gradient(30deg,transparent 48%,rgba(255,255,255,.65) 49%,rgba(255,255,255,.65) 51%,transparent 52%),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.65) 49%,rgba(255,255,255,.65) 51%,transparent 52%);background-size:70px 70px}
.map-placeholder strong{display:block;font-size:14px}
.map-placeholder span{font-size:12px;color:#69766d}

.contact-card{position:sticky;top:108px;border:1px solid #e5e7e2;border-radius:14px;padding:25px;background:#fff;box-shadow:0 14px 36px rgba(23,40,34,.10)}
.agent{display:flex;gap:12px;align-items:center;padding-bottom:20px;border-bottom:1px solid #e5e7e2;margin-bottom:20px}
.avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e8eee9;/*font-family:Georgia,serif;*/font-size:20px}
.agent strong{display:block;font-size:14px}
.agent small{display:block;;font-size:11px;margin-top:3px}
.contact-card h3{/*font-family:Georgia,serif;*/font-size:23px;font-weight:500;line-height:1.2;margin:0 0 8px}
.contact-card>p{font-size:12px;;margin:0 0 18px}

.field{margin-bottom:12px}
.field label{display:block;font-size:11px;color:#56625a;font-weight:700;margin-bottom:6px}
.field input,.field textarea{width:100%;border:1px solid #dfe4df;border-radius:5px;padding:12px;background:#fff;outline:none;font-size:13px}
.field input:focus,.field textarea:focus{border-color:#294d43;box-shadow:0 0 0 3px rgba(41,77,67,.08)}
.field textarea{resize:vertical;min-height:84px}

.primary-btn{width:100%;border:0;background:#294d43;color:#fff;border-radius:5px;padding:14px 16px;font-weight:700;font-size:13px}
.primary-btn:hover{background:#1e3d34}
.whatsapp-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;border:1px solid #cddbd0;color:#255b3c;background:#f4f8f3;border-radius:5px;padding:13px 14px;font-weight:700;font-size:13px}
.privacy{font-size:10px;color:#8a938d;text-align:center;margin-top:12px;line-height:1.5}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#203d33;color:#fff;padding:12px 18px;border-radius:8px;font-size:13px;opacity:0;pointer-events:none;transition:.25s;z-index:30;box-shadow:0 14px 36px rgba(23,40,34,.10)}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:900px){
  .layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
  .gallery{grid-template-rows:180px 180px}
  .facts{grid-template-columns:repeat(2,1fr);gap:18px 0}
  .fact:nth-child(2){border-right:0}
  .fact:nth-child(-n+2){padding-bottom:16px;border-bottom:1px solid #e5e7e2}
  .fact:nth-child(n+3){padding-top:2px}
}

@media(max-width:700px){
  .wrap{width:min(100% - 28px,1180px)}
  .breadcrumb{padding-top:17px}
  .heading-row{display:block}
  .price-block{text-align:left;margin-top:18px}
  .price{font-size:29px}
  .gallery{grid-template-columns:1fr 1fr;grid-template-rows:250px 125px 125px;gap:7px}
  .below-gallery{align-items:flex-start;flex-direction:column;padding-bottom:22px}
  .layout{grid-template-columns:1fr}
  .contact-card{position:static;grid-row:1;margin-bottom:10px}
  .facts{margin-bottom:28px}
  .fact{justify-content:flex-start}
  .features{grid-template-columns:1fr}
}