/* MobyUP Home - classes isoladas com prefixo up_ para evitar heranca do layout legado */
:root{
    --up-navy:#061b34;
    --up-navy-2:#082849;
    --up-blue:#0b64c0;
    --up-cyan:#12d7f2;
    --up-green:#0fcf88;
    --up-text:#0e2744;
    --up-muted:#68788d;
    --up-border:#dfe8f2;
    --up-soft:#f4f8fc;
    --up-white:#ffffff;
    --up-shadow:0 18px 45px rgba(6,27,52,.12);
    --up-radius:22px;
}
html, body.up_body{margin:0!important;background:#f7fbff;color:var(--up-text);font-family:'Montserrat','Open Sans',Arial,sans-serif!important;}
.up_body *{box-sizing:border-box;}
.up_body a{text-decoration:none!important;}
.up_page{overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 55%,#ffffff 100%);}
.up_container{width:min(1180px,calc(100% - 36px));margin:0 auto;}
.up_header{position:sticky;top:0;z-index:99;background:rgba(4,22,43,.96);backdrop-filter:blur(16px);box-shadow:0 10px 30px rgba(0,0,0,.12);}
.up_header_inner{height:76px;display:flex;align-items:center;gap:28px;}
.up_logo{font-size:29px;font-weight:800;letter-spacing:-1px;color:#fff!important;display:inline-flex;align-items:center;line-height:1;}
.up_logo span{color:#fff;}.up_logo strong{color:var(--up-cyan);font-weight:900;}
.up_nav{display:flex;align-items:center;gap:28px;flex:1;justify-content:center;}
.up_nav a{color:#eaf7ff!important;font-weight:700;font-size:14px;opacity:.92;transition:.2s;}
.up_nav a:hover{color:var(--up-cyan)!important;}
.up_header_actions{display:flex;align-items:center;gap:12px;}
.up_icon_link{width:40px;height:40px;border:1px solid rgba(255,255,255,.18);border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff!important;}
.up_btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:13px 20px;font-weight:800;font-size:14px;border:0;cursor:pointer;transition:.2s;white-space:nowrap;}
.up_btn:hover{transform:translateY(-1px);}
.up_btn_primary{background:linear-gradient(135deg,var(--up-cyan),#0aaee6);color:#032038!important;box-shadow:0 14px 28px rgba(18,215,242,.25);}
.up_btn_ghost{border:1px solid rgba(255,255,255,.28);color:#fff!important;background:rgba(255,255,255,.04);}
.up_btn_search{background:linear-gradient(135deg,var(--up-cyan),#0b96df);color:#fff!important;min-width:180px;box-shadow:0 14px 28px rgba(11,150,223,.22);}
.up_btn_outline{border:1px solid var(--up-cyan);color:#0575aa!important;background:#fff;}
.up_btn_whatsapp{background:#0abf60;color:#fff!important;box-shadow:0 14px 28px rgba(10,191,96,.22);}
.up_menu_toggle{display:none;background:none;border:0;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin-left:auto;}
.up_menu_toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:20px;}
.up_hero{min-height:610px;background-size:cover;background-position:center;display:flex;align-items:center;padding:74px 0 64px;position:relative;}
.up_hero:after{content:"";position:absolute;left:-120px;bottom:-120px;width:420px;height:420px;background:radial-gradient(circle,rgba(18,215,242,.22),transparent 65%);pointer-events:none;}
.up_hero_grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:24px;}
.up_hero_copy{max-width:720px;color:#fff;}
.up_eyebrow,.up_kicker{display:inline-flex;align-items:center;gap:8px;color:var(--up-cyan);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px;}
.up_hero_copy h1{font-size:52px!important;line-height:1.04!important;margin:14px 0 14px!important;color:#fff!important;font-weight:900!important;letter-spacing:-2px;max-width:760px;}
.up_hero_copy p{font-size:18px;line-height:1.55;color:#dcecff;max-width:620px;margin:0;}
.up_search_card{width:100%;max-width:1180px;background:rgba(255,255,255,.97);border-radius:24px;padding:18px;box-shadow:var(--up-shadow);border:1px solid rgba(255,255,255,.75);}
.up_search_tabs{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap;}
.up_tab{border:0;background:#f1f6fb;color:#31506e;border-radius:14px;padding:12px 22px;font-weight:900;cursor:pointer;}
.up_tab.active{background:#0b64c0;color:#fff;box-shadow:0 10px 22px rgba(11,100,192,.22);}
.up_search_fields{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.up_field{display:flex;flex-direction:column;gap:5px;margin:0!important;background:#fff;border:1px solid var(--up-border);border-radius:14px;padding:11px 13px;min-height:68px;}
.up_field span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#8a99aa;}
.up_field select,.up_field input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#243b55!important;font-weight:800!important;width:100%;font-size:14px!important;height:auto!important;padding:0!important;margin:0!important;}
.up_search_footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;flex-wrap:wrap;}
.up_aux_link{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--up-border);padding:12px 16px;border-radius:14px;color:#194568!important;font-weight:800;background:#fff;min-width:170px;}

/* Ajuste MobyUP: busca principal com somente uma linha de campos */
.up_search_fields_main{grid-template-columns:repeat(4,1fr);}
.up_search_advanced{display:none;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #e8f0f7;}
.up_search_advanced.up_open{display:grid;}
.up_search_card .up_search_fields > input[type="hidden"]{display:none!important;}
.up_search_footer{justify-content:flex-end;}
.up_search_footer .up_btn_search{min-width:190px;}
.up_advanced_toggle{appearance:none;-webkit-appearance:none;cursor:pointer;font-family:inherit;}
.up_field select:disabled{opacity:.72;cursor:not-allowed;}
@media(min-width:1051px){
    .up_search_card{margin-top:2px;}
    .up_search_footer{margin-left:auto;}
}
.up_benefits{margin-top:-28px;position:relative;z-index:3;background:#fff;border-radius:22px;box-shadow:var(--up-shadow);display:grid;grid-template-columns:repeat(4,1fr);padding:22px;border:1px solid #edf3f9;}
.up_benefit{display:grid;grid-template-columns:44px 1fr;column-gap:12px;align-items:center;padding:4px 18px;border-right:1px solid #e8f0f7;}
.up_benefit:last-child{border-right:0;}
.up_benefit i{grid-row:1/3;width:44px;height:44px;border-radius:16px;background:#ecfbff;color:#03bde1;display:flex;align-items:center;justify-content:center;font-size:22px;}
.up_benefit strong{font-size:14px;color:#102b49;}.up_benefit span{font-size:12px;color:var(--up-muted);}
.up_section{padding:48px 0 0;}
.up_section_head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px;}
.up_section_head h2,.up_tools h2,.up_trust h2,.up_cta h2{margin:7px 0 0!important;font-size:28px!important;font-weight:900!important;color:#092641!important;letter-spacing:-.6px;}
.up_section_head a{font-weight:900;color:#0b96df!important;}
.up_cards_grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.up_property_card{background:#fff;border:1px solid #e7eff7;border-radius:20px;overflow:hidden;box-shadow:0 14px 30px rgba(6,27,52,.08);transition:.22s;}
.up_property_card:hover{transform:translateY(-4px);box-shadow:0 22px 45px rgba(6,27,52,.13);}
.up_property_img{height:190px;display:block;position:relative;background:linear-gradient(135deg,#cfe8f7,#f4fbff);overflow:hidden;}
.up_property_img img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s;}
.up_property_card:hover .up_property_img img{transform:scale(1.04);}
.up_property_img span{position:absolute;left:12px;top:12px;background:linear-gradient(135deg,var(--up-green),#08a6df);color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;}
.up_property_img button{position:absolute;right:12px;top:12px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#12314e;}
.up_property_body{padding:16px;}
.up_price{font-size:19px;font-weight:900;color:#0b64c0;margin-bottom:7px;}
.up_property_title{font-size:16px;font-weight:900;color:#102b49!important;display:block;line-height:1.35;min-height:42px;}
.up_property_body p{margin:9px 0 12px;color:#6c7b8e;font-size:13px;line-height:1.4;}
.up_specs{display:flex;gap:10px;flex-wrap:wrap;color:#5e6f83;font-size:12px;border-top:1px solid #edf3f9;padding-top:12px;}
.up_specs span{display:inline-flex;align-items:center;gap:5px;}
.up_category_grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.up_category_grid a{background:#fff;border:1px solid #e7eff7;border-radius:18px;min-height:112px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#143656!important;font-weight:900;box-shadow:0 10px 22px rgba(6,27,52,.05);}
.up_category_grid i{font-size:28px;color:#0b96df;}
.up_tools{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:38px 0 0;}
.up_tool_card{background:#fff;border:1px solid #e7eff7;border-radius:24px;padding:24px;box-shadow:0 14px 30px rgba(6,27,52,.08);display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:center;}
.up_finance_card{grid-template-columns:1fr 1fr;}
.up_tool_card p{color:var(--up-muted);line-height:1.65;font-size:14px;margin:12px 0 18px;}
.up_fake_map{height:210px;border-radius:20px;background:linear-gradient(135deg,#e9f7ff,#c8eef7);position:relative;overflow:hidden;}
.up_fake_map:before,.up_fake_map:after{content:"";position:absolute;background:rgba(11,100,192,.18);border-radius:999px;}
.up_fake_map:before{width:210px;height:90px;left:-30px;top:40px;transform:rotate(-25deg);}
.up_fake_map:after{width:170px;height:120px;right:-20px;bottom:18px;transform:rotate(22deg);}
.up_fake_map span{position:absolute;background:#fff;border:1px solid #d9ecf7;height:2px;width:150%;left:-40px;transform:rotate(-18deg);}
.up_fake_map span:nth-child(1){top:64px}.up_fake_map span:nth-child(2){bottom:62px;transform:rotate(18deg)}
.up_fake_map i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:#0b64c0;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 12px 26px rgba(11,100,192,.34);}
.up_finance_box{background:#f6fbff;border:1px solid #e0eef9;border-radius:20px;padding:18px;}
.up_finance_box label{display:block;color:#657589;font-size:12px;font-weight:800;margin-bottom:14px!important;}
.up_finance_box strong{display:block;color:#0b64c0;font-size:18px;margin:4px 0;}
.up_finance_box input{width:100%;accent-color:#10cbea;}
.up_installment{border-top:1px solid #dbeaf4;margin-top:12px;padding-top:14px;}
.up_installment span{color:#657589;font-size:12px;font-weight:800;}.up_installment strong{font-size:24px;color:#0bbbdc;}
.up_cards_grid_small .up_property_img{height:145px;}.up_property_card_compact .up_property_title{min-height:auto;}
.up_trust{display:grid;grid-template-columns:1fr 1.25fr;gap:18px;padding:48px 0 0;}
.up_stats,.up_testimonials{background:#fff;border:1px solid #e7eff7;border-radius:24px;padding:24px;box-shadow:0 14px 30px rgba(6,27,52,.08);}
.up_stats_grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px;}
.up_stats_grid div{background:#f7fbff;border:1px solid #e6f0f8;border-radius:18px;padding:16px;}
.up_stats_grid i{font-size:24px;color:#0b96df;}.up_stats_grid strong{display:block;font-size:24px;color:#0b64c0;margin:8px 0 3px;}.up_stats_grid span{font-size:12px;color:var(--up-muted);font-weight:800;}
.up_testimonial_grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;}
.up_testimonial_grid blockquote{border:1px solid #e6f0f8!important;background:#f9fcff!important;border-radius:18px;padding:18px!important;margin:0!important;color:#52667c!important;font-size:13px!important;line-height:1.65!important;}
.up_testimonial_grid cite{display:block;margin-top:13px;color:#092641;font-style:normal;font-weight:900;}
.up_cta{margin-top:48px;margin-bottom:0;background:linear-gradient(135deg,#061b34,#0b315d);border-radius:28px;padding:36px 42px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:0 20px 50px rgba(6,27,52,.18);}
.up_cta h2{color:#fff!important;font-size:32px!important;max-width:620px;}
.up_cta_actions{display:flex;gap:12px;flex-wrap:wrap;}
.up_footer{margin-top:44px;background:#04172d;color:#d5e6f7;padding:44px 0 0;}
.up_footer_grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:30px;}
.up_footer p{max-width:310px;color:#9fb6cc;line-height:1.65;margin-top:16px;}
.up_footer h3{font-size:15px!important;color:#fff!important;margin:0 0 14px!important;font-weight:900!important;}
.up_footer a{display:block;color:#b8cee2!important;margin:9px 0;font-size:13px;font-weight:700;}
.up_footer a:hover{color:var(--up-cyan)!important;}
.up_footer_bottom{border-top:1px solid rgba(255,255,255,.09);margin-top:34px;padding:18px 0;color:#8da8c3;font-size:12px;}
@media(max-width:1050px){.up_header_inner{gap:14px}.up_nav{gap:16px}.up_search_fields{grid-template-columns:repeat(2,1fr)}.up_cards_grid{grid-template-columns:repeat(2,1fr)}.up_category_grid{grid-template-columns:repeat(3,1fr)}.up_tools,.up_trust{grid-template-columns:1fr}.up_footer_grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.up_header_inner{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 0}.up_menu_toggle{display:flex}.up_nav{display:none;order:5;width:100%;flex-direction:column;align-items:flex-start;background:rgba(255,255,255,.06);border-radius:18px;padding:14px}.up_nav.up_open{display:flex}.up_header_actions{display:none}.up_hero{padding:64px 0 44px;min-height:auto}.up_hero_copy h1{font-size:38px!important}.up_hero_copy p{font-size:16px}.up_search_card{padding:14px}
/* Ajuste MobyUP: busca principal com somente uma linha de campos */
.up_search_fields_main{grid-template-columns:repeat(4,1fr);}
.up_search_advanced{display:none;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #e8f0f7;}
.up_search_advanced.up_open{display:grid;}
.up_search_card .up_search_fields > input[type="hidden"]{display:none!important;}
.up_search_footer{justify-content:flex-end;}
.up_search_footer .up_btn_search{min-width:190px;}
.up_advanced_toggle{appearance:none;-webkit-appearance:none;cursor:pointer;font-family:inherit;}
.up_field select:disabled{opacity:.72;cursor:not-allowed;}
@media(min-width:1051px){
    .up_search_card{margin-top:2px;}
    .up_search_footer{margin-left:auto;}
}
.up_benefits{grid-template-columns:1fr;margin-top:18px}.up_benefit{border-right:0;border-bottom:1px solid #e8f0f7;padding:13px 4px}.up_benefit:last-child{border-bottom:0}.up_tool_card,.up_finance_card{grid-template-columns:1fr}.up_testimonial_grid{grid-template-columns:1fr}.up_cta{flex-direction:column;align-items:flex-start;padding:28px}.up_cta h2{font-size:26px!important}}
@media(max-width:560px){.up_container{width:min(100% - 24px,1180px)}.up_search_fields,.up_cards_grid,.up_category_grid,.up_footer_grid{grid-template-columns:1fr}.up_search_footer{justify-content:stretch}.up_search_footer .up_btn,.up_aux_link{width:100%}.up_property_img{height:215px}.up_stats_grid{grid-template-columns:1fr}.up_hero_copy h1{font-size:32px!important}.up_section_head{align-items:flex-start;flex-direction:column}.up_section_head h2,.up_tools h2,.up_trust h2,.up_cta h2{font-size:24px!important}}

/* MobyUP - pagina busca por mapa */
.up_map_page{background:#f7fbff;padding-bottom:48px;}
.up_map_hero{background:linear-gradient(135deg,#061b34,#0b315d);padding:58px 0 46px;color:#fff;position:relative;overflow:hidden;}
.up_map_hero:after{content:"";position:absolute;right:-130px;top:-160px;width:420px;height:420px;background:radial-gradient(circle,rgba(18,215,242,.25),transparent 64%);pointer-events:none;}
.up_map_hero .up_container{position:relative;z-index:1;}
.up_map_hero h1{color:#fff!important;font-size:38px!important;line-height:1.1!important;font-weight:900!important;margin:10px 0 12px!important;letter-spacing:-1px;}
.up_map_hero p{color:#dcecff;font-size:16px;line-height:1.6;max-width:720px;margin:0;}
.up_map_chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;}
.up_map_chips span{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:9px 13px;color:#eaf7ff;font-size:13px;font-weight:800;}
.up_map_chips strong{color:#12d7f2;}
.up_map_wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:22px;margin-top:-24px;position:relative;z-index:3;}
.up_map_panel,.up_map_results{background:#fff;border:1px solid #e7eff7;border-radius:24px;box-shadow:0 18px 45px rgba(6,27,52,.12);overflow:hidden;}
.up_map_header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:22px 22px 18px;border-bottom:1px solid #edf3f9;}
.up_map_header h2,.up_map_results_head h2{margin:6px 0 0!important;font-size:24px!important;font-weight:900!important;color:#092641!important;letter-spacing:-.4px;}
.up_google_map{display:block;width:100%;height:620px;border:0;background:#e9f7ff;}
.up_map_results{padding:22px;max-height:760px;overflow:auto;}
.up_map_results_head{margin-bottom:16px;}
.up_map_list{display:grid;gap:14px;}
.up_map_item{display:grid;grid-template-columns:126px 1fr;gap:14px;background:#f9fcff;border:1px solid #e6f0f8;border-radius:18px;padding:12px;}
.up_map_item_img{height:110px;border-radius:14px;overflow:hidden;background:#edf6fc;display:block;}
.up_map_item_img img{width:100%;height:100%;object-fit:cover;display:block;}
.up_map_item_title{font-size:14px;font-weight:900;color:#102b49!important;line-height:1.35;display:block;margin-bottom:7px;}
.up_map_item strong{display:block;color:#0b64c0;font-size:16px;margin-bottom:6px;}
.up_map_item p{font-size:12px;color:#6c7b8e;margin:0 0 8px;line-height:1.45;}
.up_empty_map{background:#f9fcff;border:1px dashed #cfe0ee;border-radius:20px;padding:28px;text-align:center;color:#5e6f83;}
.up_empty_map i{width:58px;height:58px;border-radius:20px;background:#ecfbff;color:#03bde1;display:inline-flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:12px;}
.up_empty_map strong{display:block;color:#102b49;font-size:18px;margin-bottom:8px;}
.up_empty_map p{line-height:1.6;margin:0 0 18px;}
@media(max-width:1050px){.up_map_wrap{grid-template-columns:1fr}.up_map_results{max-height:none}.up_google_map{height:460px}}
@media(max-width:620px){.up_map_hero h1{font-size:30px!important}.up_map_header{align-items:flex-start;flex-direction:column}.up_map_item{grid-template-columns:1fr}.up_map_item_img{height:190px}.up_google_map{height:360px}}

/* MobyUP - busca por mapa estilo Airbnb com marcadores no mapa */
.up_map_page_airbnb{background:#f7fbff;padding-bottom:0;}
.up_map_topbar{background:#fff;border-bottom:1px solid #e7eff7;position:sticky;top:76px;z-index:40;box-shadow:0 10px 24px rgba(6,27,52,.06);}
.up_map_topbar_inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.up_map_topbar h1{margin:6px 0 0!important;color:#092641!important;font-size:28px!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.6px;}
.up_map_topbar_actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.up_map_live_count{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce9f5;background:#f7fbff;border-radius:999px;padding:10px 14px;color:#102b49;font-weight:900;font-size:13px;}
.up_map_split{display:grid;grid-template-columns:minmax(460px,46vw) minmax(0,1fr);height:calc(100vh - 168px);min-height:680px;}
.up_map_results_split{border-radius:0!important;box-shadow:none!important;border:0!important;border-right:1px solid #e4edf6!important;max-height:none!important;height:100%;overflow:auto;padding:28px!important;background:#fff!important;}
.up_map_results_split .up_map_results_head{position:sticky;top:0;background:#fff;z-index:5;padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid #edf3f9;}
.up_map_results_split .up_map_results_head h2{font-size:26px!important;}
.up_map_hint{font-size:13px;line-height:1.55;color:#6b7d91;margin:8px 0 0;}
.up_map_list_grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important;}
.up_map_item_airbnb{display:block;background:#fff!important;border:0!important;border-radius:20px!important;padding:0!important;overflow:visible;transition:.18s;}
.up_map_item_airbnb:hover,.up_map_item_airbnb.up_active{transform:translateY(-2px);}
.up_map_item_airbnb.up_active .up_map_item_img{box-shadow:0 0 0 3px #12d7f2,0 14px 32px rgba(6,27,52,.14);}
.up_map_item_airbnb .up_map_item_img{height:190px;border-radius:20px!important;box-shadow:0 10px 25px rgba(6,27,52,.08);background:#edf6fc;}
.up_map_item_airbnb .up_map_item_content{padding:11px 2px 2px;}
.up_map_item_airbnb .up_map_item_title{font-size:15px!important;line-height:1.32!important;margin-bottom:6px!important;color:#102b49!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;}
.up_map_item_airbnb strong{font-size:16px!important;color:#0b64c0!important;margin-bottom:6px!important;}
.up_map_item_airbnb p{font-size:12px!important;color:#66788c!important;margin:0 0 8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.up_map_item_airbnb .up_specs{display:flex;gap:10px;flex-wrap:wrap;color:#6e7f92;font-size:12px;}
.up_interactive_map_area{position:sticky;top:168px;height:calc(100vh - 168px);min-height:680px;background:#dcebf6;}
.up_leaflet_map{width:100%;height:100%;min-height:680px;background:#dcebf6;z-index:1;}
.up_map_status{position:absolute;left:18px;top:18px;z-index:500;background:#fff;border:1px solid #e0edf7;border-radius:999px;box-shadow:0 12px 30px rgba(6,27,52,.16);padding:10px 14px;color:#102b49;font-weight:900;font-size:13px;}
.up_price_marker_wrap{background:transparent!important;border:0!important;}
.up_price_marker{position:relative;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#102b49;border:1px solid rgba(6,27,52,.12);border-radius:999px;padding:8px 13px;font-size:13px;font-weight:900;box-shadow:0 8px 24px rgba(6,27,52,.25);white-space:nowrap;transform:translateY(-8px);transition:.18s;}
.up_price_marker:after{content:"";position:absolute;left:50%;bottom:-7px;transform:translateX(-50%) rotate(45deg);width:12px;height:12px;background:#fff;border-right:1px solid rgba(6,27,52,.12);border-bottom:1px solid rgba(6,27,52,.12);}
.up_price_marker_wrap.up_active .up_price_marker,.up_price_marker_wrap:hover .up_price_marker{background:#0b64c0;color:#fff;transform:translateY(-11px) scale(1.04);box-shadow:0 12px 30px rgba(11,100,192,.34);}
.up_price_marker_wrap.up_active .up_price_marker:after,.up_price_marker_wrap:hover .up_price_marker:after{background:#0b64c0;}
.up_map_popup{display:grid;grid-template-columns:86px 1fr;gap:10px;align-items:start;max-width:270px;color:#102b49!important;text-decoration:none!important;}
.up_map_popup img{width:86px;height:72px;object-fit:cover;border-radius:12px;background:#edf6fc;grid-row:1/4;}
.up_map_popup strong{display:block;font-size:13px;line-height:1.25;color:#102b49;}
.up_map_popup span{display:block;color:#0b64c0;font-size:13px;font-weight:900;margin-top:3px;}
.up_map_popup small{display:block;color:#67788b;font-size:11px;line-height:1.3;margin-top:3px;}
.up_body .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 18px 44px rgba(6,27,52,.22);}
.up_body .leaflet-popup-content{margin:12px;}
.up_body .leaflet-control-zoom a{color:#102b49!important;text-decoration:none!important;}
@media(max-width:1180px){
    .up_map_split{grid-template-columns:minmax(390px,48vw) minmax(0,1fr);}
    .up_map_list_grid{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .up_map_topbar{top:72px;}
    .up_map_topbar_inner{align-items:flex-start;flex-direction:column;padding:16px 0;}
    .up_map_split{display:flex;flex-direction:column;height:auto;min-height:0;}
    .up_interactive_map_area{position:relative;top:auto;order:1;height:430px;min-height:430px;}
    .up_leaflet_map{height:430px;min-height:430px;}
    .up_map_results_split{order:2;height:auto;max-height:none!important;overflow:visible;border-right:0!important;padding:20px!important;}
    .up_map_list_grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
    .up_map_topbar h1{font-size:23px!important;}
    .up_map_topbar_actions,.up_map_topbar_actions .up_btn,.up_map_live_count{width:100%;}
    .up_map_list_grid{grid-template-columns:1fr;}
    .up_interactive_map_area,.up_leaflet_map{height:360px;min-height:360px;}
    .up_map_item_airbnb .up_map_item_img{height:220px;}
}

/* Ajustes finos solicitados - Home MobyUP */
.up_search_tabs .up_tab{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:126px;
    height:40px;
    line-height:1!important;
    text-align:center!important;
    padding:0 18px!important;
}
.up_field{
    padding:10px 13px!important;
    min-height:64px!important;
    justify-content:center;
}
.up_field span{
    color:#647386!important;
    font-size:10.5px!important;
    letter-spacing:.065em!important;
}
.up_field select,
.up_field input{
    color:#263b52!important;
    font-weight:700!important;
    font-size:14px!important;
    line-height:1.25!important;
    min-height:22px!important;
}
.up_field select{
    cursor:pointer;
}
.up_search_card{
    padding:17px 18px 18px!important;
}
.up_property_title{
    font-size:13.5px!important;
    line-height:1.32!important;
    font-weight:600!important;
    min-height:34px!important;
    color:#102b49!important;
    letter-spacing:-.1px!important;
}
.up_price{
    font-size:18px!important;
    line-height:1.1!important;
    letter-spacing:-.25px;
}
.up_price .up_currency{
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:0;
    vertical-align:baseline;
    color:#0b64c0!important;
}
.up_property_body p{
    font-size:12px!important;
    line-height:1.35!important;
}
.up_section_head{
    margin-bottom:18px!important;
}
.up_section_head h2{
    margin-top:0!important;
}
@media(max-width:1050px){
    .up_search_tabs .up_tab{min-width:auto;}
}

/* Ajuste fino: títulos dos cards mais leves */
.up_property_card .up_property_title,
.up_property_card_compact .up_property_title{
    font-weight:600!important;
    font-size:13.5px!important;
    line-height:1.32!important;
    letter-spacing:-.1px!important;
}

/* Ajuste fino - Hero: destaque do selo e subtitulo */
.up_hero_copy{
    padding-top:10px!important;
}
.up_hero_copy .up_eyebrow{
    position:relative;
    display:inline-flex!important;
    align-items:center!important;
    gap:10px!important;
    color:#9eefff!important;
    background:rgba(18,215,242,.10)!important;
    border:1px solid rgba(18,215,242,.24)!important;
    border-radius:999px!important;
    padding:9px 16px!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
    box-shadow:0 12px 30px rgba(18,215,242,.10)!important;
    backdrop-filter:blur(8px);
}
.up_hero_copy .up_eyebrow:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#12d7f2;
    box-shadow:0 0 0 6px rgba(18,215,242,.14);
    flex:0 0 auto;
}
.up_hero_copy h1{
    margin-top:22px!important;
    text-shadow:0 12px 34px rgba(0,0,0,.28)!important;
}
.up_hero_copy p{
    position:relative;
    color:#eaf7ff!important;
    font-size:17px!important;
    line-height:1.65!important;
    font-weight:500!important;
    max-width:690px!important;
    padding-left:18px!important;
    text-shadow:0 8px 24px rgba(0,0,0,.24)!important;
}
.up_hero_copy p:before{
    content:"";
    position:absolute;
    left:0;
    top:.35em;
    width:4px;
    height:calc(100% - .7em);
    min-height:38px;
    border-radius:999px;
    background:linear-gradient(180deg,#12d7f2,#0b64c0);
    box-shadow:0 0 18px rgba(18,215,242,.30);
}
@media(max-width:820px){
    .up_hero_copy .up_eyebrow{font-size:10px!important;letter-spacing:.12em!important;padding:8px 13px!important;}
    .up_hero_copy p{font-size:15px!important;max-width:100%!important;}
}

/* Ajuste mapa MobyUP: a lista deve seguir somente os imóveis visíveis no mapa */
.up_map_item_airbnb.up_map_card_hidden{display:none!important;}
.up_map_live_count{min-width:150px;text-align:center;}
.up_leaflet_map .up_price_marker_wrap{z-index:650!important;}
.up_leaflet_map .leaflet-marker-icon{overflow:visible!important;}

/* MobyUP - simulador de financiamento dinâmico */
.up_finance_card{
    grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
    align-items: stretch;
}
.up_finance_intro{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.up_finance_box{
    display:grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap:16px;
    align-items:stretch;
    padding:16px;
}
.up_finance_fields{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.up_finance_control{
    background:#fff;
    border:1px solid #ddebf6;
    border-radius:15px;
    padding:11px 12px;
    margin:0!important;
}
.up_finance_control span{
    display:block;
    color:#596b80;
    font-size:11px;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
    margin-bottom:5px;
}
.up_finance_control strong{
    color:#0b64c0;
    font-size:16px;
    line-height:1.1;
    margin:0 0 7px;
}
.up_finance_control input[type="text"]{
    width:100%;
    height:36px;
    border:0;
    background:#f4f9fd;
    border-radius:10px;
    color:#12314e;
    font-weight:800;
    font-size:14px;
    padding:0 10px;
    outline:none;
    box-shadow:inset 0 0 0 1px #dceaf5;
}
.up_finance_control input[type="text"]:focus{
    box-shadow:inset 0 0 0 2px #12c7e8;
    background:#fff;
}
.up_finance_control input[type="range"]{
    margin-top:2px;
}
.up_installment{
    margin-top:0;
    padding:18px;
    border-top:0;
    border-left:1px solid #dbeaf4;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100%;
}
.up_installment small{
    display:block;
    color:#657589;
    font-size:12px;
    font-weight:700;
    line-height:1.45;
    margin-top:8px;
}
@media(max-width:980px){
    .up_finance_card{grid-template-columns:1fr;}
    .up_finance_box{grid-template-columns:1fr;}
    .up_installment{border-left:0;border-top:1px solid #dbeaf4;}
}
@media(max-width:560px){
    .up_finance_fields{grid-template-columns:1fr;}
}

/* MobyUP - refinamento visual do simulador de financiamento */
.up_finance_card{
    grid-template-columns:minmax(0,.78fr) minmax(0,1.42fr)!important;
    gap:20px!important;
    align-items:center!important;
    padding:24px!important;
}
.up_finance_card .up_finance_intro h2{
    font-size:27px!important;
    line-height:1.08!important;
    max-width:240px;
}
.up_finance_card .up_finance_intro p{
    max-width:260px;
    margin-bottom:0!important;
}
.up_finance_box{
    display:block!important;
    padding:18px!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#f7fcff 0%,#eff8ff 100%)!important;
    border:1px solid #dbeaf6!important;
    min-width:0!important;
}
.up_finance_fields{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
}
.up_finance_control{
    min-width:0!important;
    background:#fff!important;
    border:1px solid #dbeaf6!important;
    border-radius:16px!important;
    padding:12px 14px!important;
    box-shadow:0 8px 18px rgba(6,27,52,.04)!important;
}
.up_finance_control span{
    font-size:10.5px!important;
    line-height:1.15!important;
    letter-spacing:.06em!important;
    color:#627389!important;
    margin-bottom:6px!important;
}
.up_finance_control strong{
    font-size:16px!important;
    line-height:1.16!important;
    margin:0 0 8px!important;
    word-break:normal!important;
}
.up_finance_control input[type="text"]{
    height:38px!important;
    font-size:14px!important;
    padding:0 11px!important;
    background:#f4f9fd!important;
    border-radius:11px!important;
}
.up_finance_control input[type="range"]{
    display:block!important;
    width:100%!important;
    margin:7px 0 1px!important;
}
.up_installment{
    margin-top:14px!important;
    padding:16px 18px!important;
    border:1px solid #dbeaf6!important;
    border-left:1px solid #dbeaf6!important;
    border-radius:17px!important;
    background:#fff!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:6px 18px!important;
    align-items:center!important;
    min-height:0!important;
}
.up_installment span{
    grid-column:1/2!important;
    font-size:11px!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
}
.up_installment strong{
    grid-column:2/3!important;
    grid-row:1/3!important;
    font-size:24px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    color:#09bde1!important;
}
.up_installment small{
    grid-column:1/2!important;
    margin:0!important;
    font-size:12px!important;
    color:#68788c!important;
}
@media(max-width:1180px){
    .up_finance_card{grid-template-columns:1fr!important;}
    .up_finance_card .up_finance_intro h2,.up_finance_card .up_finance_intro p{max-width:none;}
}
@media(max-width:680px){
    .up_finance_fields{grid-template-columns:1fr!important;}
    .up_installment{grid-template-columns:1fr!important;}
    .up_installment strong{grid-column:1/2!important;grid-row:auto!important;white-space:normal!important;}
}

/* Ajuste logo MobyUP: usa imagem real de /include/logo/logo.png */
.up_logo_img{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;line-height:1;}
.up_logo_img img{display:block;width:auto;max-width:120px;height:auto;max-height:42px;object-fit:contain;}
.up_header .up_logo_img img{max-width:92px;max-height:34px;}
.up_footer .up_logo_img img{max-width:150px;max-height:52px;}
@media (max-width: 768px){.up_header .up_logo_img img{max-width:86px;max-height:32px;}}

/* Ajuste solicitado: logo maior no topo e no rodapé */
.up_header .up_logo_img{
    min-width:150px!important;
    display:flex!important;
    align-items:center!important;
}
.up_header .up_logo_img img{
    width:auto!important;
    height:52px!important;
    max-height:52px!important;
    max-width:165px!important;
    object-fit:contain!important;
}
.up_footer .up_logo_img img{
    width:auto!important;
    height:64px!important;
    max-height:64px!important;
    max-width:210px!important;
    object-fit:contain!important;
}
@media (max-width: 768px){
    .up_header .up_logo_img{min-width:118px!important;}
    .up_header .up_logo_img img{
        height:42px!important;
        max-height:42px!important;
        max-width:135px!important;
    }
    .up_footer .up_logo_img img{
        height:54px!important;
        max-height:54px!important;
        max-width:180px!important;
    }
}

/* Fundo especial para a área Explore por categoria + ferramentas */
.up_explore_bg {
    position: relative;
    width: 100%;
    margin: 42px 0 34px;
    padding: 54px 0 64px;
    background-image:
        linear-gradient(90deg, rgba(245, 250, 255, .96) 0%, rgba(247, 252, 255, .88) 48%, rgba(245, 250, 255, .96) 100%),
        url('../images/up_bg_explore.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.up_explore_bg:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(0, 194, 255, .10), transparent 32%),
        radial-gradient(circle at 83% 76%, rgba(0, 118, 255, .09), transparent 30%);
}

.up_explore_bg > .up_container,
.up_explore_bg > .up_section,
.up_explore_bg > .up_tools {
    position: relative;
    z-index: 1;
}

.up_explore_bg .up_category_section {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
}

.up_explore_bg .up_tools {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.up_explore_bg .up_category_grid a,
.up_explore_bg .up_tool_card {
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .up_explore_bg {
        margin: 28px 0 24px;
        padding: 34px 0 42px;
        background-position: center top;
    }
}


/* =========================================================
   MobyUP - modal moderno de login/cadastro
   ========================================================= */
.up_modal_lock {
    overflow: hidden !important;
}

.up_auth_modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.up_auth_modal.up_open {
    display: flex;
}

.up_auth_overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 15, 30, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.up_auth_box {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    max-height: calc(100vh - 52px);
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.72);
}

.up_auth_close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dce8f3;
    background: #fff;
    color: #0c2a46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(6,27,52,.10);
}

.up_auth_side {
    position: relative;
    padding: 42px 34px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 22%, rgba(18,215,242,.28), transparent 34%),
        linear-gradient(145deg, #061b34, #0b3971 62%, #0bbfe6);
    overflow: hidden;
}

.up_auth_side:after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.up_auth_badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    color: #dff9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.up_auth_side h2 {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-size: 36px !important;
    line-height: 1.05 !important;
    margin: 32px 0 16px !important;
    letter-spacing: -1.4px;
}

.up_auth_side p {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.82);
    line-height: 1.65;
    font-size: 15px;
    margin: 0 0 26px;
}

.up_auth_bullets {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.up_auth_bullets span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
}

.up_auth_bullets i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #12d7f2;
}

.up_auth_content {
    padding: 34px;
    overflow: auto;
    max-height: calc(100vh - 52px);
}

.up_auth_tabs {
    display: flex;
    gap: 10px;
    background: #f2f7fc;
    padding: 7px;
    border-radius: 18px;
    margin-bottom: 22px;
}

.up_auth_tab {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #31506e;
    font-weight: 900;
    cursor: pointer;
    transition: .18s;
}

.up_auth_tab.active {
    background: #fff;
    color: #0b64c0;
    box-shadow: 0 8px 18px rgba(6,27,52,.08);
}

.up_auth_panel {
    display: none;
}

.up_auth_panel.active {
    display: block;
}

.up_auth_field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 14px !important;
}

.up_auth_field span {
    color: #6e8093;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.up_auth_field input,
.up_auth_form_grid input,
.up_auth_form_grid select {
    width: 100% !important;
    height: 52px !important;
    border: 1px solid #dbe7f2 !important;
    background: #fff !important;
    border-radius: 14px !important;
    padding: 0 15px !important;
    color: #102b49 !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.up_auth_field input:focus,
.up_auth_form_grid input:focus,
.up_auth_form_grid select:focus {
    border-color: #12d7f2 !important;
    box-shadow: 0 0 0 4px rgba(18,215,242,.14) !important;
}

.up_auth_submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #12d7f2, #0b64c0);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 13px 28px rgba(11,100,192,.20);
    margin-top: 6px;
}

.up_auth_submit_light {
    background: #0b2947;
}

.up_auth_link {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0b64c0;
    font-weight: 800;
    margin-top: 15px;
    cursor: pointer;
}

.up_auth_forgot {
    margin-top: 16px;
    background: #f7fbff;
    border: 1px solid #dfeaf4;
    border-radius: 18px;
    padding: 16px;
}

.up_auth_status {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 13px;
}

.up_auth_status_info {
    background: #edf8ff;
    color: #0b64c0;
    border: 1px solid #ccecff;
}

.up_auth_status_success {
    background: #ecfff6;
    color: #04814f;
    border: 1px solid #bdf4dc;
}

.up_auth_status_error {
    background: #fff0f0;
    color: #b31919;
    border: 1px solid #ffc8c8;
}

.up_auth_form_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.up_auth_form_grid .col-md-12,
.up_auth_form_grid .col-md-6 {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.up_auth_form_grid .col-md-12 {
    grid-column: 1 / -1;
}

.up_auth_form_grid .custom-select {
    width: 100% !important;
}

.up_auth_form_grid .custom-select:after,
.up_auth_form_grid .custom-select i {
    display: none !important;
}

.up_auth_terms {
    margin: 13px 0 0;
    color: #6b7d91;
    font-size: 12px;
    line-height: 1.5;
}

.up_auth_terms a {
    color: #0b64c0 !important;
    font-weight: 800;
}

@media (max-width: 900px) {
    .up_auth_box {
        grid-template-columns: 1fr;
    }

    .up_auth_side {
        display: none;
    }

    .up_auth_content {
        padding: 28px 22px;
    }
}

@media (max-width: 560px) {
    .up_auth_modal {
        padding: 12px;
    }

    .up_auth_box {
        border-radius: 22px;
    }

    .up_auth_form_grid {
        grid-template-columns: 1fr;
    }

    .up_auth_close {
        top: 10px;
        right: 10px;
    }
}


/* =========================================================
   MobyUP - refinamento do modal login/cadastro
   Mais contraste no painel esquerdo e melhor aproveitamento
   dos campos do formulário.
   ========================================================= */

.up_auth_side {
    padding: 46px 36px !important;
}

.up_auth_badge {
    color: #ffffff !important;
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.32) !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.15) !important;
}

.up_auth_side h2 {
    color: #ffffff !important;
    text-shadow: 0 3px 16px rgba(0,0,0,.24) !important;
}

.up_auth_side p {
    color: #eaf8ff !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.up_auth_bullets span {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.18) !important;
}

.up_auth_bullets i {
    background: rgba(18,215,242,.30) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.30) !important;
}

.up_auth_content {
    padding: 34px 36px 28px !important;
}

.up_auth_form_grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: start !important;
}

.up_auth_form_grid .col-md-12,
.up_auth_form_grid .col-md-6 {
    grid-column: span 6 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Campo nome, CPF/CNPJ, cidade, celular: largura total */
.up_auth_form_grid .col-md-12:nth-of-type(1),
.up_auth_form_grid .col-md-12:nth-of-type(3),
.up_auth_form_grid .col-md-12:nth-of-type(6),
.up_auth_form_grid .col-md-12:nth-of-type(7) {
    grid-column: 1 / -1 !important;
}

/* E-mail e tipo de usuário lado a lado */
.up_auth_form_grid .col-md-6:nth-of-type(2),
.up_auth_form_grid .col-md-6:nth-of-type(3) {
    grid-column: span 6 !important;
}

/* CRECI e Estado lado a lado */
.up_auth_form_grid .col-md-6:nth-of-type(5),
.up_auth_form_grid .col-md-6:nth-of-type(6) {
    grid-column: span 6 !important;
}

/* Senha e redigitar senha lado a lado */
.up_auth_form_grid .col-md-6:nth-last-of-type(2),
.up_auth_form_grid .col-md-6:nth-last-of-type(1) {
    grid-column: span 6 !important;
}

.up_auth_form_grid input,
.up_auth_form_grid select {
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.up_auth_form_grid input::placeholder {
    color: #5f7288 !important;
    opacity: 1 !important;
}

.up_auth_form_grid select {
    color: #243d5c !important;
}

.up_auth_submit {
    margin-top: 8px !important;
    height: 52px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
}

.up_auth_terms {
    margin-top: 8px !important;
    text-align: center !important;
    color: #5e7187 !important;
}

.up_auth_terms a {
    color: #006fcf !important;
    text-decoration: underline !important;
}

@media (min-width: 901px) {
    .up_auth_box {
        grid-template-columns: 330px minmax(0, 1fr) !important;
        width: min(1040px, 100%) !important;
    }
}

@media (max-width: 900px) {
    .up_auth_form_grid {
        grid-template-columns: 1fr !important;
    }

    .up_auth_form_grid .col-md-12,
    .up_auth_form_grid .col-md-6 {
        grid-column: 1 / -1 !important;
    }
}


/* =========================================================
   MobyUP - ajuste final do hero da home
   Objetivo:
   - manter o título grande
   - forçar no máximo 2 linhas no desktop
   - remover o subtítulo abaixo do título
   - subir o bloco de filtros na visão inicial
   ========================================================= */

.up_hero_copy {
    max-width: 1280px !important;
    width: 100% !important;
}

.up_hero_copy h1 {
    max-width: 1180px !important;
    width: 100% !important;
    font-size: clamp(58px, 4.7vw, 78px) !important;
    line-height: .98 !important;
    letter-spacing: -2.8px !important;
    margin: 18px 0 30px !important;
}

/* Remove a frase/subtítulo marcado no print */
.up_hero_copy p {
    display: none !important;
}

/* Reduz espaço vertical do hero para deixar filtros mais altos */
.up_hero {
    padding-top: 58px !important;
    padding-bottom: 46px !important;
    min-height: 590px !important;
}

.up_search_card {
    margin-top: 0 !important;
}

/* Bloco dos benefícios acompanha a subida do filtro */
.up_benefits {
    margin-top: -28px !important;
}

/* Ajustes para telas médias sem esmagar o título */
@media (max-width: 1280px) {
    .up_hero_copy h1 {
        max-width: 1040px !important;
        font-size: clamp(54px, 5vw, 72px) !important;
    }
}

@media (max-width: 980px) {
    .up_hero_copy h1 {
        max-width: 860px !important;
        font-size: clamp(42px, 6vw, 58px) !important;
        line-height: 1.02 !important;
        letter-spacing: -1.8px !important;
    }

    .up_hero {
        min-height: auto !important;
        padding-top: 44px !important;
        padding-bottom: 42px !important;
    }
}

@media (max-width: 560px) {
    .up_hero_copy h1 {
        font-size: 34px !important;
        line-height: 1.06 !important;
        letter-spacing: -1px !important;
        max-width: 100% !important;
    }

    .up_benefits {
        margin-top: -16px !important;
    }
}


/* =========================================================
   MobyUP - correção do título da home
   Agora o título fica menor e em 2 linhas no desktop.
   ========================================================= */

.up_hero_copy {
    max-width: 1080px !important;
    width: 100% !important;
}

.up_hero_copy h1 {
    max-width: 1080px !important;
    width: 100% !important;
    font-size: clamp(48px, 3.9vw, 64px) !important;
    line-height: 1.04 !important;
    letter-spacing: -2px !important;
    margin: 18px 0 30px !important;
}

/* Mantém o subtítulo removido */
.up_hero_copy p {
    display: none !important;
}

.up_hero {
    padding-top: 58px !important;
    padding-bottom: 46px !important;
    min-height: 570px !important;
}

.up_search_card {
    margin-top: 0 !important;
}

.up_benefits {
    margin-top: -28px !important;
}

@media (min-width: 1300px) {
    .up_hero_copy h1 {
        font-size: 64px !important;
        max-width: 1060px !important;
    }
}

@media (max-width: 1280px) {
    .up_hero_copy h1 {
        font-size: clamp(46px, 4.3vw, 58px) !important;
        max-width: 960px !important;
        line-height: 1.04 !important;
    }
}

@media (max-width: 980px) {
    .up_hero_copy h1 {
        font-size: clamp(38px, 5.8vw, 50px) !important;
        max-width: 820px !important;
        line-height: 1.06 !important;
        letter-spacing: -1.4px !important;
    }

    .up_hero {
        min-height: auto !important;
        padding-top: 44px !important;
        padding-bottom: 42px !important;
    }
}

@media (max-width: 560px) {
    .up_hero_copy h1 {
        font-size: 32px !important;
        line-height: 1.08 !important;
        letter-spacing: -1px !important;
        max-width: 100% !important;
    }

    .up_benefits {
        margin-top: -16px !important;
    }
}


/* =========================================================
   MobyUP - ajuste final do título da home
   - Remove subtítulo abaixo do H1
   - Mantém a fonte atual/menor
   - Aumenta a área do H1 para quebrar em no máximo 2 linhas
   ========================================================= */

.up_hero_copy {
    max-width: 1240px !important;
    width: 100% !important;
}

.up_hero_copy h1 {
    max-width: 1240px !important;
    width: 100% !important;
    font-size: clamp(46px, 3.7vw, 62px) !important;
    line-height: 1.02 !important;
    letter-spacing: -1.8px !important;
    margin: 18px 0 26px !important;
}

/* Remove a frase marcada com X vermelho no print */
.up_hero_copy p {
    display: none !important;
}

/* Ajuste suave para o card de busca ficar um pouco mais alto */
.up_search_card {
    margin-top: 0 !important;
}

.up_hero {
    padding-top: 58px !important;
    padding-bottom: 44px !important;
}

@media (min-width: 1400px) {
    .up_hero_copy h1 {
        font-size: 62px !important;
        max-width: 1260px !important;
    }
}

@media (max-width: 1280px) {
    .up_hero_copy h1 {
        font-size: clamp(44px, 4vw, 56px) !important;
        max-width: 1080px !important;
    }
}

@media (max-width: 980px) {
    .up_hero_copy h1 {
        font-size: clamp(38px, 5.6vw, 50px) !important;
        max-width: 820px !important;
        line-height: 1.06 !important;
    }
}

@media (max-width: 560px) {
    .up_hero_copy h1 {
        font-size: 32px !important;
        line-height: 1.08 !important;
        max-width: 100% !important;
    }
}


/* =========================================================
   MobyUP - favoritos e reforço final do hero
   ========================================================= */

.up_property_img .up_favorito_btn,
.up_property_img [data-up-favorito] {
    cursor: pointer;
}

.up_property_img .up_favorito_active,
.up_property_img [data-up-favorito].up_favorito_active {
    background: #fff !important;
    color: #e71d36 !important;
}

.up_property_img .up_favorito_active i,
.up_property_img [data-up-favorito].up_favorito_active i {
    color: #e71d36 !important;
}

.up_favorito_loading {
    opacity: .65;
    pointer-events: none;
}

/* Remove subtítulo da hero e mantém título com no máximo 2 linhas no desktop */
.up_hero_copy p {
    display: none !important;
}

.up_hero_copy {
    max-width: 1260px !important;
    width: 100% !important;
}

.up_hero_copy h1 {
    max-width: 1260px !important;
    width: 100% !important;
    font-size: clamp(46px, 3.7vw, 62px) !important;
    line-height: 1.02 !important;
    letter-spacing: -1.8px !important;
}

@media (max-width: 1280px) {
    .up_hero_copy h1 {
        max-width: 1080px !important;
        font-size: clamp(44px, 4vw, 56px) !important;
    }
}


/* =========================================================
   Fase 2A - Home Leo Marnery/MobyUP: topo + hero
   ========================================================= */
.up_body .up_header_viva,
.up_body .up_header_global.up_header_viva{
    background:#2b2b2d !important;
    border-bottom:0 !important;
    box-shadow:0 12px 28px rgba(0,0,0,.20) !important;
}
.up_body .up_header_viva .up_nav_viva > a,
.up_body .up_header_viva .up_nav_dropbtn{
    color:#fff !important;
}
.up_body .up_header_viva .up_nav_viva > a:hover,
.up_body .up_header_viva .up_nav_dropbtn:hover{
    color:#20d7ff !important;
}
.up_body .up_header_viva .up_btn_login{
    background:#fff !important;
    color:#0b64c0 !important;
    border-color:#e5eef8 !important;
}
.up_body .up_header_viva .up_btn_create{
    background:#0877ee !important;
    color:#fff !important;
    border-color:#0877ee !important;
}
.up_hero_leo{
    min-height:calc(100vh - 78px);
    padding:82px 0 70px;
    background-position:center center !important;
}
.up_hero_leo .up_hero_grid{
    min-height:560px;
    align-content:center;
}
.up_realtime_badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(43,43,45,.92);
    color:#fff;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    padding:7px 13px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.up_realtime_badge i{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#25d366;
    box-shadow:0 0 0 4px rgba(37,211,102,.18);
    display:inline-block;
}
.up_hero_leo .up_hero_copy{
    text-align:center;
    max-width:100%;
    margin:0 auto 18px;
}
.up_hero_leo .up_hero_copy h1{
    font-size:30px !important;
    line-height:1.25 !important;
    letter-spacing:.01em !important;
    font-weight:600 !important;
    margin:22px auto 0 !important;
    max-width:920px;
    text-shadow:0 5px 22px rgba(0,0,0,.35);
}
.up_hero_leo .up_hero_copy p{
    display:none;
}
.up_hero_leo .up_search_card{
    margin:0 auto;
    max-width:980px;
}
.up_hero_leo .up_search_tabs{
    justify-content:flex-start;
}
.up_hero_leo + .up_benefits{
    margin-top:-54px;
}
@media(max-width:820px){
    .up_hero_leo{
        min-height:auto;
        padding:54px 0 78px;
    }
    .up_hero_leo .up_hero_grid{
        min-height:0;
    }
    .up_hero_leo .up_hero_copy h1{
        font-size:25px !important;
    }
    .up_realtime_badge{
        font-size:10px;
        letter-spacing:.05em;
    }
}


/* =========================================================
   Fase 2B - Cards e seções premium da home
   ========================================================= */
.up_section{
    padding-top:58px;
}
.up_section_head{
    align-items:flex-end;
    margin-bottom:24px;
}
.up_section_head .up_kicker{
    margin-bottom:4px;
}
.up_section_intro{
    margin:8px 0 0;
    color:#6b7280;
    font-size:14px;
    line-height:1.55;
}
.up_cards_grid{
    gap:24px;
}
.up_property_card{
    border-radius:24px;
    border:1px solid #e8eef6;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.up_property_card:hover{
    transform:translateY(-6px);
    box-shadow:0 28px 64px rgba(15,23,42,.14);
}
.up_property_img{
    height:210px;
    border-bottom:1px solid #eef3f8;
}
.up_property_img:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:45%;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.28));
    pointer-events:none;
}
.up_property_img span{
    background:linear-gradient(135deg,#00c2a8,#0b7ff2);
    box-shadow:0 10px 20px rgba(11,127,242,.18);
}
.up_property_img button{
    z-index:2;
    border:1px solid rgba(255,255,255,.75);
    box-shadow:0 8px 20px rgba(15,23,42,.14);
}
.up_property_body{
    padding:19px 19px 17px;
}
.up_price{
    color:#0877ee;
    font-size:20px;
    letter-spacing:-.02em;
}
.up_property_title{
    color:#0d1f33!important;
    font-size:17px;
}
.up_specs{
    border-top:1px dashed #dfe7f0;
}
.up_specs span{
    background:#f4f8fc;
    border:1px solid #e7eef6;
    border-radius:999px;
    padding:6px 9px;
    color:#40566f;
    font-weight:800;
}
.up_cards_grid_small .up_property_img{
    height:170px;
}
.up_regions_section{
    padding-top:60px;
}
.up_regions_grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.up_region_card{
    position:relative;
    min-height:170px;
    padding:22px;
    border-radius:26px;
    color:#fff!important;
    overflow:hidden;
    background:
        linear-gradient(135deg,rgba(6,27,52,.92),rgba(8,119,238,.72)),
        radial-gradient(circle at 20% 20%,rgba(255,255,255,.25),transparent 32%);
    box-shadow:0 20px 48px rgba(6,27,52,.16);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}
.up_region_card:before,
.up_region_card:after{
    content:"";
    position:absolute;
    background:rgba(255,255,255,.16);
    border-radius:999px;
    transform:rotate(-18deg);
}
.up_region_card:before{
    width:170px;
    height:52px;
    left:-48px;
    top:34px;
}
.up_region_card:after{
    width:150px;
    height:42px;
    right:-42px;
    bottom:50px;
}
.up_region_pin{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    color:#0877ee;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 12px 26px rgba(0,0,0,.18);
    z-index:1;
}
.up_region_card strong,
.up_region_card em,
.up_region_card small{
    position:relative;
    z-index:1;
}
.up_region_card strong{
    font-size:19px;
    line-height:1.2;
    font-weight:900;
}
.up_region_card em{
    margin-top:6px;
    font-style:normal;
    color:rgba(255,255,255,.82);
    font-size:13px;
    font-weight:700;
}
.up_region_card small{
    margin-top:14px;
    align-self:flex-start;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    padding:7px 10px;
    font-weight:900;
    color:#fff;
}
.up_explore_bg_premium{
    margin-top:58px;
    padding:4px 0 42px;
    background:linear-gradient(180deg,#f5f9fd 0%,#fff 100%);
}
.up_category_grid{
    gap:18px;
}
.up_category_grid a{
    min-height:130px;
    border-radius:24px;
    background:linear-gradient(180deg,#fff,#f9fcff);
    box-shadow:0 16px 36px rgba(15,23,42,.07);
}
.up_category_grid a:hover{
    transform:translateY(-4px);
    box-shadow:0 24px 52px rgba(15,23,42,.12);
}
.up_category_grid i{
    width:52px;
    height:52px;
    border-radius:18px;
    background:#eefdff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.up_tools{
    padding-top:42px;
}
.up_tool_card{
    border-radius:28px;
    box-shadow:0 22px 52px rgba(15,23,42,.09);
}
.up_cta{
    background:
        radial-gradient(circle at 12% 20%,rgba(32,215,255,.20),transparent 32%),
        linear-gradient(135deg,#202124,#0877ee);
}
@media(max-width:1050px){
    .up_regions_grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:620px){
    .up_regions_grid{grid-template-columns:1fr;}
    .up_property_img{height:195px;}
}


/* =========================================================
   Fase 2C - limpeza visual da home
   ========================================================= */
.up_page{background:linear-gradient(180deg,#fff 0%,#f8fbff 48%,#fff 100%)!important;}
.up_section{padding-top:46px!important;}
.up_section_head{margin-bottom:18px!important;}
.up_section_head h2,.up_tools h2,.up_trust h2,.up_cta h2{font-size:25px!important;line-height:1.16!important;letter-spacing:-.04em!important;}
.up_kicker{color:#64748b!important;letter-spacing:.10em!important;}

.up_cards_grid{gap:20px!important;}
.up_property_card{border-radius:18px!important;border:1px solid #e8eef5!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;background:#fff!important;}
.up_property_card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 34px rgba(15,23,42,.10)!important;}
.up_property_img{height:185px!important;}
.up_cards_grid_small .up_property_img{height:150px!important;}
.up_property_img:after{height:32%!important;background:linear-gradient(180deg,transparent,rgba(0,0,0,.18))!important;}
.up_property_img span{padding:6px 10px!important;font-size:10px!important;background:#10b981!important;box-shadow:none!important;}
.up_property_img button{width:36px!important;height:36px!important;box-shadow:0 4px 12px rgba(15,23,42,.10)!important;}
.up_property_body{padding:15px 16px 16px!important;}
.up_price{font-size:18px!important;margin-bottom:6px!important;}
.up_property_title{font-size:14.5px!important;line-height:1.35!important;min-height:38px!important;}
.up_property_body p{font-size:12px!important;margin:8px 0 10px!important;}
.up_specs{gap:7px!important;padding-top:10px!important;}
.up_specs span{font-size:11px!important;padding:5px 8px!important;background:#f8fafc!important;border-color:#e6edf5!important;}

.up_regions_section{padding-top:44px!important;}
.up_regions_grid{gap:16px!important;}
.up_region_card{min-height:132px!important;padding:18px 20px!important;border-radius:20px!important;background:#fff!important;border:1px solid #e6edf5!important;color:#0f2a43!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;}
.up_region_card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,23,42,.10)!important;}
.up_region_card:before,.up_region_card:after{display:none!important;}
.up_region_pin{width:38px!important;height:38px!important;background:#eff6ff!important;color:#0877ee!important;box-shadow:none!important;}
.up_region_card strong{color:#0f2a43!important;font-size:18px!important;}
.up_region_card em{color:#52667c!important;font-size:12.5px!important;}
.up_region_card small{background:#f8fafc!important;border:1px solid #e6edf5!important;color:#0877ee!important;padding:6px 9px!important;}

.up_explore_bg_premium{margin-top:44px!important;padding:38px 0 36px!important;background:linear-gradient(180deg,#f3fbff 0%,#fff 100%)!important;}
.up_category_grid{gap:16px!important;}
.up_category_grid a{min-height:108px!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important;}
.up_category_grid a:hover{transform:translateY(-3px)!important;box-shadow:0 14px 34px rgba(15,23,42,.10)!important;}
.up_category_grid i{width:44px!important;height:44px!important;border-radius:15px!important;font-size:22px!important;}
.up_category_grid strong{font-size:13px!important;}

.up_tools{padding-top:36px!important;gap:18px!important;align-items:stretch!important;}
.up_tool_card{border-radius:22px!important;padding:22px!important;min-height:0!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;}
.up_map_card{grid-template-columns:190px 1fr!important;}
.up_fake_map{height:170px!important;border-radius:18px!important;}
.up_finance_card{grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr)!important;gap:18px!important;}
.up_finance_intro h2{max-width:none!important;word-break:normal!important;}
.up_finance_intro p{max-width:280px!important;}
.up_finance_box{border-radius:18px!important;padding:14px!important;}
.up_finance_fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.up_finance_box label{margin-bottom:0!important;background:#fff!important;border:1px solid #e1ebf5!important;border-radius:14px!important;padding:12px!important;}
.up_installment{background:#fff!important;border:1px solid #e1ebf5!important;border-radius:14px!important;margin-top:12px!important;padding:14px!important;}
.up_installment strong{font-size:21px!important;}

.up_trust{padding-top:42px!important;gap:18px!important;}
.up_stats,.up_testimonials{border-radius:22px!important;padding:22px!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;}
.up_stats_grid div,.up_testimonial_grid blockquote{border-radius:16px!important;background:#fbfdff!important;}
.up_stats_grid strong{font-size:22px!important;}
.up_testimonial_grid blockquote{font-size:12.5px!important;line-height:1.6!important;padding:15px!important;}

.up_cta{margin-top:34px!important;border-radius:24px!important;padding:32px 36px!important;background:linear-gradient(135deg,#163d59,#0877ee)!important;box-shadow:0 16px 42px rgba(8,119,238,.18)!important;}
.up_cta h2{font-size:28px!important;}
.up_footer{margin-top:42px!important;padding-top:38px!important;}
.up_footer_bottom{margin-top:28px!important;}

@media(max-width:1050px){
    .up_map_card,.up_finance_card{grid-template-columns:1fr!important;}
    .up_finance_intro p{max-width:none!important;}
}
@media(max-width:720px){
    .up_cards_grid,.up_regions_grid,.up_category_grid{grid-template-columns:1fr!important;}
    .up_finance_fields{grid-template-columns:1fr!important;}
    .up_cta{padding:26px 22px!important;flex-direction:column!important;align-items:flex-start!important;}
}


/* =========================================================
   Fase 2D - polimento fino sem trocar imagem do banner
   ========================================================= */

/* Simulador e mapa mais compactos */
.up_tools{
    padding-top:30px!important;
}
.up_tool_card{
    padding:20px!important;
}
.up_map_card{
    grid-template-columns:170px 1fr!important;
}
.up_fake_map{
    height:150px!important;
}
.up_tool_card p{
    margin:9px 0 14px!important;
    line-height:1.55!important;
}
.up_finance_card{
    grid-template-columns:minmax(210px,.85fr) minmax(270px,1.15fr)!important;
}
.up_finance_intro h2{
    font-size:24px!important;
}
.up_finance_box{
    padding:12px!important;
}
.up_finance_box label{
    padding:10px 11px!important;
}
.up_finance_box strong{
    font-size:16px!important;
}
.up_installment{
    padding:12px!important;
}
.up_installment strong{
    font-size:20px!important;
}

/* CTA final mais elegante e menos pesado */
.up_cta{
    padding:28px 34px!important;
    align-items:center!important;
}
.up_cta h2{
    font-size:25px!important;
    max-width:700px!important;
    line-height:1.22!important;
}
.up_cta_actions .up_btn{
    min-height:44px!important;
    padding:0 18px!important;
}

/* Menos altura no rodapé */
.up_footer{
    margin-top:36px!important;
}
.up_footer p{
    line-height:1.55!important;
}

/* O hero continua usando imagem dinâmica de imóvel por enquanto */
.up_hero_leo .up_hero_copy h1{
    max-width:980px!important;
}

@media(max-width:1050px){
    .up_map_card,
    .up_finance_card{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   Fase 2E - ajustes finais da home
   ========================================================= */

/* Compacta o espaço antes das próximas seções */
.up_tools{
    padding-bottom:8px!important;
}
.up_tools + .up_section{
    padding-top:34px!important;
}
.up_trust{
    padding-top:36px!important;
}

/* CTA: botões lado a lado no desktop */
.up_cta{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    align-items:center!important;
    gap:28px!important;
}
.up_cta_actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:14px!important;
    flex-wrap:nowrap!important;
}
.up_cta_actions .up_btn{
    min-width:170px!important;
}
@media(max-width:760px){
    .up_cta{
        display:flex!important;
        flex-direction:column!important;
        align-items:flex-start!important;
    }
    .up_cta_actions{
        flex-wrap:wrap!important;
        justify-content:flex-start!important;
    }
}


/* =========================================================
   Fase 8A - Simulador premium conforme prototipo HOME.pdf
   ========================================================= */
.up_tools .up_finance_premium{
    grid-column:1 / -1!important;
    display:block!important;
    padding:30px 34px!important;
    border:1px solid #e1eaf3!important;
    border-radius:24px!important;
    background:#fff!important;
    box-shadow:0 14px 38px rgba(15,35,55,.07)!important;
}

.up_finance_premium .up_finance_header{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:28px!important;
    padding-bottom:24px!important;
    border-bottom:1px solid #e8eef5!important;
}

.up_finance_premium .up_finance_header h2{
    margin:5px 0 7px!important;
    color:#0b2239!important;
    font-size:34px!important;
    line-height:1.05!important;
    letter-spacing:-.045em!important;
    font-weight:750!important;
}

.up_finance_premium .up_finance_header p{
    max-width:650px!important;
    margin:0!important;
    color:#637286!important;
    font-size:14px!important;
    line-height:1.6!important;
}

.up_finance_tabs{
    display:inline-flex!important;
    align-items:center!important;
    padding:5px!important;
    border:1px solid #d9e4ef!important;
    border-radius:999px!important;
    background:#f6f9fc!important;
    flex:0 0 auto!important;
}

.up_finance_tabs button{
    height:42px!important;
    padding:0 20px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#52657a!important;
    font-family:inherit!important;
    font-size:13px!important;
    font-weight:800!important;
    cursor:pointer!important;
    transition:.2s ease!important;
}

.up_finance_tabs button.active{
    background:#0b64c0!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(11,100,192,.22)!important;
}

.up_finance_premium_body{
    display:grid!important;
    grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr)!important;
    gap:34px!important;
    align-items:stretch!important;
    padding-top:28px!important;
}

.up_finance_sliders{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 24px!important;
}

.up_finance_slider_control{
    display:block!important;
    min-width:0!important;
    margin:0!important;
    padding:17px 18px 14px!important;
    border:1px solid #e1eaf3!important;
    border-radius:18px!important;
    background:#fbfdff!important;
}

.up_finance_slider_control > span{
    display:block!important;
    margin-bottom:5px!important;
    color:#6a798c!important;
    font-size:11px!important;
    font-weight:800!important;
    letter-spacing:.03em!important;
    text-transform:uppercase!important;
}

.up_finance_slider_control > strong{
    display:block!important;
    margin:0 0 14px!important;
    color:#0b2239!important;
    font-size:21px!important;
    line-height:1.15!important;
    font-weight:800!important;
}

.up_finance_slider_control input[type="range"]{
    --up-range-progress:30%;
    width:100%!important;
    height:6px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    outline:0!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    background:linear-gradient(90deg,#12b7e8 0,#0877ee var(--up-range-progress),#dce6ef var(--up-range-progress),#dce6ef 100%)!important;
    cursor:pointer!important;
}

.up_finance_slider_control input[type="range"]::-webkit-slider-thumb{
    width:20px!important;
    height:20px!important;
    border:4px solid #fff!important;
    border-radius:50%!important;
    background:#0877ee!important;
    box-shadow:0 2px 9px rgba(8,119,238,.35)!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}

.up_finance_slider_control input[type="range"]::-moz-range-thumb{
    width:13px!important;
    height:13px!important;
    border:4px solid #fff!important;
    border-radius:50%!important;
    background:#0877ee!important;
    box-shadow:0 2px 9px rgba(8,119,238,.35)!important;
}

.up_finance_slider_control > small{
    display:flex!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin-top:10px!important;
    color:#8a97a7!important;
    font-size:10px!important;
    line-height:1.2!important;
}

.up_finance_slider_control > small em{
    font-style:normal!important;
}

.up_finance_result_panel{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    padding:24px 22px!important;
    border-radius:22px!important;
    background:linear-gradient(150deg,#eefaff 0%,#f7fbff 56%,#edf4ff 100%)!important;
    text-align:center!important;
}

.up_finance_result_circle{
    width:218px!important;
    height:218px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
    border:10px solid rgba(18,183,232,.17)!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(8,119,238,.12),inset 0 0 0 1px #e0edf8!important;
}

.up_finance_result_circle span{
    max-width:150px!important;
    color:#6b7b8d!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
}

.up_finance_result_circle strong{
    display:block!important;
    margin:8px 0 4px!important;
    color:#0877ee!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:-.04em!important;
    white-space:nowrap!important;
}

.up_finance_result_circle small{
    color:#637286!important;
    font-size:11px!important;
}

.up_finance_result_panel > p{
    margin:16px 0 13px!important;
    color:#52657a!important;
    font-size:12px!important;
    line-height:1.45!important;
}

.up_finance_property_btn{
    width:100%!important;
    min-height:46px!important;
    justify-content:center!important;
    border-radius:13px!important;
}

.up_finance_disclaimer{
    display:block!important;
    margin-top:12px!important;
    color:#8491a1!important;
    font-size:9.5px!important;
    line-height:1.45!important;
}

@media(max-width:980px){
    .up_finance_premium .up_finance_header{
        align-items:flex-start!important;
        flex-direction:column!important;
    }
    .up_finance_premium_body{
        grid-template-columns:1fr!important;
    }
    .up_finance_result_panel{
        display:grid!important;
        grid-template-columns:auto minmax(0,1fr)!important;
        grid-template-rows:auto auto auto!important;
        gap:8px 24px!important;
        text-align:left!important;
    }
    .up_finance_result_circle{
        grid-row:1/4!important;
        width:180px!important;
        height:180px!important;
    }
    .up_finance_result-panel > p{margin:0!important;}
}

@media(max-width:680px){
    .up_tools .up_finance_premium{
        padding:22px 17px!important;
        border-radius:20px!important;
    }
    .up_finance_premium .up_finance_header h2{
        font-size:29px!important;
    }
    .up_finance_tabs{
        width:100%!important;
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
    }
    .up_finance_tabs button{
        width:100%!important;
        padding:0 10px!important;
    }
    .up_finance_premium_body{
        gap:20px!important;
        padding-top:20px!important;
    }
    .up_finance_sliders{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }
    .up_finance_slider_control{
        padding:15px!important;
    }
    .up_finance_slider_control > strong{
        font-size:19px!important;
    }
    .up_finance_result_panel{
        display:flex!important;
        text-align:center!important;
        padding:20px 16px!important;
    }
    .up_finance_result_circle{
        width:190px!important;
        height:190px!important;
    }
    .up_finance_result_circle strong{
        font-size:27px!important;
    }
}

/* =========================================================
   Fase 8B - alinhamento e compactacao do simulador HOME
   ========================================================= */
.up_tools{
    gap:22px!important;
}

.up_tools .up_finance_premium{
    position:relative!important;
    overflow:hidden!important;
    padding:28px 30px 30px!important;
    border-color:#dceaf4!important;
    background:linear-gradient(135deg,#f5fcff 0%,#ffffff 52%,#f1f8ff 100%)!important;
    box-shadow:0 16px 42px rgba(20,58,84,.08)!important;
}

.up_tools .up_finance_premium:before{
    content:""!important;
    position:absolute!important;
    width:270px!important;
    height:270px!important;
    top:-155px!important;
    right:-85px!important;
    border-radius:50%!important;
    background:rgba(18,183,232,.075)!important;
    pointer-events:none!important;
}

.up_finance_premium .up_finance_header{
    position:relative!important;
    z-index:1!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:24px!important;
    min-height:0!important;
    padding-bottom:19px!important;
}

.up_finance_premium .up_finance_header > div:first-child{
    min-width:0!important;
}

.up_finance_premium .up_finance_header h2{
    margin:3px 0 5px!important;
    font-size:32px!important;
}

.up_finance_premium .up_finance_header p{
    max-width:620px!important;
    font-size:13px!important;
    line-height:1.5!important;
}

.up_finance_tabs{
    align-self:center!important;
    margin:0!important;
    padding:4px!important;
    background:rgba(255,255,255,.8)!important;
    box-shadow:0 5px 14px rgba(28,76,108,.06)!important;
}

.up_finance_tabs button{
    height:40px!important;
    min-width:118px!important;
    padding:0 17px!important;
}

.up_finance_premium_body{
    position:relative!important;
    z-index:1!important;
    grid-template-columns:minmax(0,1.62fr) minmax(260px,.58fr)!important;
    gap:25px!important;
    padding-top:21px!important;
}

.up_finance_sliders{
    gap:14px 18px!important;
}

.up_finance_slider_control{
    min-height:142px!important;
    padding:15px 17px 13px!important;
    border-color:#dfeaf3!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.76)!important;
    box-shadow:0 5px 16px rgba(22,65,94,.025)!important;
}

.up_finance_slider_control > strong{
    margin-bottom:11px!important;
    font-size:20px!important;
}

.up_finance_slider_control > small{
    margin-top:9px!important;
}

.up_finance_result_panel{
    min-height:298px!important;
    padding:19px 18px!important;
    border:1px solid rgba(207,231,245,.9)!important;
    border-radius:20px!important;
    background:linear-gradient(155deg,#eafaff 0%,#f7fbff 54%,#eaf2ff 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}

.up_finance_result_circle{
    width:194px!important;
    height:194px!important;
    padding:19px!important;
    border-width:9px!important;
    box-shadow:0 12px 28px rgba(8,119,238,.10),inset 0 0 0 1px #deebf5!important;
}

.up_finance_result_circle strong{
    font-size:29px!important;
}

.up_finance_result_panel > p{
    margin:13px 0 11px!important;
    font-size:11px!important;
}

.up_finance_property_btn{
    min-height:43px!important;
}

.up_finance_disclaimer{
    margin-top:9px!important;
    font-size:8.8px!important;
}

/* Cartao do mapa passa a conversar visualmente com o simulador */
.up_tools .up_map_card{
    border-color:#dceaf4!important;
    background:linear-gradient(135deg,#ffffff 0%,#f4fbff 100%)!important;
    box-shadow:0 12px 34px rgba(20,58,84,.065)!important;
}

@media(max-width:1050px){
    .up_finance_premium .up_finance_header{
        grid-template-columns:1fr!important;
        gap:15px!important;
    }
    .up_finance_tabs{
        justify-self:start!important;
    }
    .up_finance_premium_body{
        grid-template-columns:1fr!important;
    }
    .up_finance_result_panel{
        min-height:0!important;
    }
}

@media(max-width:680px){
    .up_tools .up_finance_premium{
        padding:22px 16px!important;
    }
    .up_finance_premium .up_finance_header{
        padding-bottom:17px!important;
    }
    .up_finance_premium .up_finance_header h2{
        font-size:28px!important;
    }
    .up_finance_tabs{
        justify-self:stretch!important;
    }
    .up_finance_tabs button{
        min-width:0!important;
        height:39px!important;
    }
    .up_finance_premium_body{
        padding-top:17px!important;
    }
    .up_finance_slider_control{
        min-height:0!important;
    }
    .up_finance_result_circle{
        width:180px!important;
        height:180px!important;
    }
}


/* =========================================================
   Fase 8C corrigida - cards sobre o layout premium do PDF
   ========================================================= */
.up_cards_grid{
    align-items:stretch!important;
}
.up_property_card{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-width:0!important;
    overflow:hidden!important;
}
.up_property_img{
    flex:0 0 auto!important;
    height:auto!important;
    aspect-ratio:4 / 3!important;
    min-height:0!important;
    background:#edf4fa!important;
}
.up_cards_grid_small .up_property_img{
    height:auto!important;
    aspect-ratio:16 / 9!important;
}
.up_property_img img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
}
.up_property_body{
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    min-height:0!important;
}
.up_price{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.15!important;
    min-height:22px!important;
}
.up_property_title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    min-height:39px!important;
    max-height:39px!important;
    margin:0!important;
}
.up_property_location{
    display:block!important;
    width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    min-height:18px!important;
    margin:8px 0 10px!important;
    color:#64748b!important;
}
.up_property_location i{
    margin-right:4px!important;
    color:#64748b!important;
}
.up_specs{
    margin-top:auto!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    min-height:41px!important;
}
.up_specs span{
    white-space:nowrap!important;
    line-height:1!important;
}
.up_property_card_compact .up_property_body{
    padding-bottom:15px!important;
}
.up_property_card_compact .up_specs{
    min-height:38px!important;
}
@media (min-width:1051px){
    .up_property_card_featured .up_property_body{
        min-height:205px!important;
    }
    .up_property_card_compact .up_property_body{
        min-height:178px!important;
    }
}
@media (max-width:1050px){
    .up_property_img,
    .up_cards_grid_small .up_property_img{
        aspect-ratio:16 / 10!important;
    }
}
@media (max-width:560px){
    .up_property_title{
        min-height:auto!important;
        max-height:none!important;
    }
    .up_property_location{
        white-space:normal!important;
        display:-webkit-box!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:1!important;
    }
}


/* =========================================================
   Fase 8D - Fluxo atualizado do prototipo do cliente
   ========================================================= */
.up_prototype_flow{
    padding:64px 0 68px!important;
}
.up_prototype_inner{
    display:flex!important;
    flex-direction:column!important;
    gap:28px!important;
}
.up_prototype_finance .up_finance_premium{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
}
.up_home_discovery_grid{
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)!important;
    gap:28px!important;
    align-items:stretch!important;
}
.up_home_discovery_grid .up_tool_card{
    min-height:300px!important;
    height:100%!important;
    margin:0!important;
}
.up_home_discovery_grid .up_map_card{
    width:auto!important;
    max-width:none!important;
}
.up_category_card{
    display:grid!important;
    grid-template-columns:minmax(180px, .82fr) minmax(280px, 1.18fr)!important;
    align-items:center!important;
    gap:26px!important;
    padding:28px!important;
}
.up_category_card_intro h2{
    margin:5px 0 8px!important;
}
.up_category_card_intro p{
    margin:0!important;
    color:#64748b!important;
    line-height:1.55!important;
}
.up_category_card .up_category_grid{
    display:grid!important;
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
    gap:12px!important;
}
.up_category_card .up_category_grid a{
    min-height:96px!important;
    padding:14px 10px!important;
}
.up_category_card .up_category_grid a i{
    margin-bottom:7px!important;
}
.up_testimonial_grid blockquote{
    display:flex!important;
    flex-direction:column!important;
    min-height:190px!important;
    padding:20px!important;
}
.up_testimonial_grid blockquote p{
    margin:12px 0 18px!important;
    line-height:1.55!important;
}
.up_testimonial_stars{
    display:flex!important;
    gap:3px!important;
    color:#f5b301!important;
    font-size:15px!important;
}
.up_testimonial_grid blockquote footer{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-end!important;
    gap:10px!important;
    margin-top:auto!important;
}
.up_testimonial_grid blockquote cite{
    display:block!important;
    margin:0!important;
}
.up_testimonial_grid blockquote time{
    color:#94a3b8!important;
    font-size:11px!important;
    white-space:nowrap!important;
}
@media (max-width:1050px){
    .up_home_discovery_grid{
        grid-template-columns:1fr!important;
    }
    .up_category_card{
        grid-template-columns:1fr!important;
    }
}
@media (max-width:620px){
    .up_prototype_flow{
        padding:42px 0 46px!important;
    }
    .up_home_discovery_grid{
        gap:18px!important;
    }
    .up_home_discovery_grid .up_tool_card{
        min-height:0!important;
    }
    .up_category_card{
        padding:22px!important;
    }
    .up_category_card .up_category_grid{
        grid-template-columns:repeat(2, minmax(0, 1fr))!important;
    }
    .up_testimonial_grid blockquote footer{
        align-items:flex-start!important;
        flex-direction:column!important;
    }
}


/* =========================================================
   Fase 8E - hotfix visual apos teste no servidor
   ========================================================= */

/* O simulador deve manter o layout premium em bloco, sem herdar
   o grid antigo usado pelo simulador compacto. */
.up_prototype_finance .up_finance_premium{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    padding:28px!important;
}
.up_prototype_finance .up_finance_premium .up_finance_header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:28px!important;
    padding:0 0 20px!important;
    border-bottom:1px solid #dce8f2!important;
}
.up_prototype_finance .up_finance_premium .up_finance_header > div:first-child{
    min-width:0!important;
}
.up_prototype_finance .up_finance_premium .up_finance_header h2{
    margin:3px 0 6px!important;
    font-size:32px!important;
    line-height:1.05!important;
}
.up_prototype_finance .up_finance_premium .up_finance_header p{
    max-width:720px!important;
    margin:0!important;
}
.up_prototype_finance .up_finance_tabs{
    position:static!important;
    align-self:center!important;
    justify-self:end!important;
    width:auto!important;
    margin:0!important;
}
.up_prototype_finance .up_finance_premium_body{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 310px!important;
    align-items:stretch!important;
    gap:22px!important;
    padding-top:20px!important;
}
.up_prototype_finance .up_finance_sliders{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 18px!important;
}
.up_prototype_finance .up_finance_slider_control{
    display:block!important;
    min-height:142px!important;
    padding:15px 17px 13px!important;
}
.up_prototype_finance .up_finance_result_panel{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:298px!important;
    padding:19px 18px!important;
    text-align:center!important;
}
.up_prototype_finance .up_finance_result_circle{
    flex:0 0 auto!important;
    width:194px!important;
    height:194px!important;
}

/* Depoimentos: impedir heranca das regras globais do footer. */
.up_testimonial_grid blockquote{
    min-height:210px!important;
    overflow:hidden!important;
}
.up_testimonial_grid .up_testimonial_meta{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-end!important;
    gap:10px!important;
    width:100%!important;
    min-height:0!important;
    margin-top:auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
}
.up_testimonial_grid .up_testimonial_meta:before,
.up_testimonial_grid .up_testimonial_meta:after{
    display:none!important;
    content:none!important;
}
.up_testimonial_grid .up_testimonial_meta cite{
    display:block!important;
    margin:0!important;
    color:#061b34!important;
    font-style:normal!important;
    font-weight:800!important;
}
.up_testimonial_grid .up_testimonial_meta time{
    color:#94a3b8!important;
    font-size:11px!important;
    white-space:nowrap!important;
}

/* Garantia contra caracteres decorativos ou pseudo-elementos herdados. */
.up_category_card_intro *,
.up_testimonial_grid *{
    text-shadow:none!important;
}

@media(max-width:1050px){
    .up_prototype_finance .up_finance_premium .up_finance_header{
        grid-template-columns:1fr!important;
        gap:15px!important;
    }
    .up_prototype_finance .up_finance_tabs{
        justify-self:start!important;
    }
    .up_prototype_finance .up_finance_premium_body{
        grid-template-columns:1fr!important;
    }
    .up_prototype_finance .up_finance_result_panel{
        min-height:0!important;
    }
}
@media(max-width:680px){
    .up_prototype_finance .up_finance_premium{
        padding:22px 16px!important;
    }
    .up_prototype_finance .up_finance_sliders{
        grid-template-columns:1fr!important;
    }
    .up_testimonial_grid .up_testimonial_meta{
        align-items:flex-start!important;
        flex-direction:column!important;
    }
}


/* =========================================================
   Fase 8F - beneficios mais proximos dos filtros
   ========================================================= */
@media (min-width:821px){
    .up_hero_leo{
        padding-bottom:34px!important;
    }
    .up_hero_leo + .up_benefits{
        margin-top:-118px!important;
    }
}
@media (min-width:1300px){
    .up_hero_leo + .up_benefits{
        margin-top:-132px!important;
    }
}
@media (max-width:820px){
    .up_hero_leo + .up_benefits{
        margin-top:-26px!important;
    }
}


/* =========================================================
   Fase 8G - posicionamento vertical do hero
   ========================================================= */
@media (min-width:1101px){
    /*
     * Sobe todo o conteúdo principal do hero para eliminar
     * o vazio excessivo abaixo do header.
     */
    .up_hero_leo .up_hero_grid{
        transform:translateY(-65px)!important;
    }

    /*
     * O bloco de benefícios acompanha a subida do hero,
     * mas recebe aproximadamente 30px de respiro em relação
     * à caixa de pesquisa.
     */
    .up_hero_leo + .up_benefits{
        margin-top:-107px!important;
        transform:translateY(-65px)!important;
        margin-bottom:-65px!important;
    }
}

@media (min-width:821px) and (max-width:1100px){
    .up_hero_leo .up_hero_grid{
        transform:translateY(-35px)!important;
    }
    .up_hero_leo + .up_benefits{
        margin-top:-88px!important;
        transform:translateY(-35px)!important;
        margin-bottom:-35px!important;
    }
}

@media (max-width:820px){
    .up_hero_leo .up_hero_grid,
    .up_hero_leo + .up_benefits{
        transform:none!important;
    }
    .up_hero_leo + .up_benefits{
        margin-top:-26px!important;
        margin-bottom:0!important;
    }
}


/* =========================================================
   Fase 8H - cards da home aproximados ao prototipo do cliente
   ========================================================= */
.up_section.up_container{
    padding-top:34px!important;
}

.up_section_head{
    margin-bottom:16px!important;
    align-items:flex-start!important;
}

.up_section_head .up_kicker{
    display:block!important;
    margin-bottom:6px!important;
    color:#6b7f98!important;
    font-size:13px!important;
    font-weight:800!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
}

.up_section_head h2,
.up_tools h2,
.up_trust h2,
.up_cta h2{
    font-size:24px!important;
    font-weight:800!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
    color:#0d2946!important;
    margin:0!important;
}

.up_section_head a{
    font-size:15px!important;
    font-weight:700!important;
    color:#1293ea!important;
}

.up_cards_grid{
    gap:20px!important;
}

.up_property_card{
    border-radius:16px!important;
    border:1px solid #e6edf5!important;
    box-shadow:0 8px 22px rgba(15,23,42,.05)!important;
    overflow:hidden!important;
    background:#fff!important;
}

.up_property_card:hover{
    transform:translateY(-3px)!important;
    box-shadow:0 14px 30px rgba(15,23,42,.09)!important;
}

.up_property_body{
    padding:14px 16px 16px!important;
}

.up_price{
    display:flex!important;
    align-items:baseline!important;
    gap:4px!important;
    font-size:14px!important;
    font-weight:600!important;
    color:#596579!important;
    margin-bottom:8px!important;
}

.up_price .up_currency,
.up_currency{
    color:#1183ea!important;
    font-size:14px!important;
    font-weight:700!important;
}

.up_property_card .up_property_title,
.up_property_card_compact .up_property_title,
.up_property_title{
    font-size:15px!important;
    line-height:1.38!important;
    font-weight:600!important;
    color:#314b69!important;
    min-height:44px!important;
    max-height:none!important;
    margin:0!important;
}

.up_property_location{
    margin:10px 0 12px!important;
    font-size:13px!important;
    line-height:1.3!important;
    color:#8091a7!important;
}

.up_property_location i{
    color:#8091a7!important;
}

.up_specs{
    gap:8px!important;
}

.up_specs span{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    min-height:29px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    border:1px solid #dde6f0!important;
    background:#f7f9fc!important;
    color:#607189!important;
    font-size:12px!important;
    font-weight:600!important;
}

.up_property_img > span{
    top:12px!important;
    left:12px!important;
    min-height:28px!important;
    padding:0 12px!important;
    border-radius:999px!important;
    font-size:12px!important;
    font-weight:700!important;
}

.up_property_img button{
    width:40px!important;
    height:40px!important;
    right:12px!important;
    top:12px!important;
    border-radius:999px!important;
    box-shadow:0 6px 16px rgba(15,23,42,.12)!important;
}

@media (max-width:1050px){
    .up_section.up_container{
        padding-top:28px!important;
    }
    .up_cards_grid{
        gap:16px!important;
    }
}

@media (max-width:560px){
    .up_section_head h2,
    .up_tools h2,
    .up_trust h2,
    .up_cta h2{
        font-size:22px!important;
    }
    .up_property_title{
        min-height:auto!important;
    }
}


/* =========================================================
   Fase 8I - card de Imoveis em destaque igual ao prototipo
   ========================================================= */
.up_featured_prototype_card{
    border-radius:14px!important;
    overflow:visible!important;
    background:#fff!important;
    border:1px solid #e5e8ec!important;
    box-shadow:none!important;
}

.up_featured_prototype_card:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
}

.up_featured_media{
    position:relative!important;
}

.up_featured_prototype_card .up_property_img{
    display:block!important;
    position:relative!important;
    aspect-ratio:1.42 / 1!important;
    border-radius:14px 14px 0 0!important;
    overflow:hidden!important;
    background:#eef2f5!important;
}

.up_featured_prototype_card .up_property_img img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}

.up_video_badge{
    position:absolute!important;
    top:12px!important;
    left:12px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:27px!important;
    padding:0 10px 0 0!important;
    border-radius:4px!important;
    background:#fff!important;
    color:#5a6068!important;
    font-size:10px!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
    box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
    z-index:3!important;
}

.up_video_badge i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:30px!important;
    height:27px!important;
    background:#e5252a!important;
    color:#fff!important;
    font-size:11px!important;
    clip-path:polygon(0 0,100% 0,82% 50%,100% 100%,0 100%)!important;
}

.up_featured_favorite{
    position:absolute!important;
    right:12px!important;
    bottom:-21px!important;
    width:46px!important;
    height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:5px solid #fff!important;
    border-radius:50%!important;
    background:#cfd3d7!important;
    color:#fff!important;
    font-size:22px!important;
    box-shadow:0 4px 12px rgba(15,23,42,.16)!important;
    z-index:5!important;
    cursor:pointer!important;
}

.up_featured_favorite:hover{
    background:#f28b24!important;
}

.up_featured_body{
    padding:28px 14px 14px!important;
}

.up_featured_prototype_card .up_property_title{
    display:block!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:500!important;
    color:#1f3854!important;
    margin:0 0 7px!important;
}

.up_featured_prototype_card .up_property_location{
    margin:0 0 12px!important;
    min-height:0!important;
    font-size:12px!important;
    color:#7c838b!important;
}

.up_featured_specs{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:8px!important;
    margin-bottom:14px!important;
}

.up_featured_specs span{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:44px!important;
    padding:0 12px!important;
    border-radius:5px!important;
    background:#f0f0f0!important;
    color:#111!important;
    font-size:14px!important;
}

.up_featured_specs i{
    font-size:14px!important;
    color:#111!important;
}

.up_featured_specs strong{
    font-size:14px!important;
    font-weight:500!important;
}

.up_featured_price_row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-bottom:10px!important;
}

.up_featured_price{
    color:#777!important;
    font-size:14px!important;
    font-weight:400!important;
    white-space:nowrap!important;
}

.up_featured_price .up_currency{
    color:#1688df!important;
    font-size:14px!important;
    font-weight:500!important;
}

.up_featured_price em{
    color:#8b8157!important;
    font-style:normal!important;
    margin-left:5px!important;
}

.up_featured_badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:29px!important;
    padding:0 12px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#3677c6,#3db8e8)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:500!important;
    white-space:nowrap!important;
}

.up_featured_details{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:36px!important;
    border:1px solid #dadde1!important;
    border-radius:4px!important;
    background:#fff!important;
    color:#74787c!important;
    font-size:13px!important;
    font-weight:400!important;
    text-decoration:none!important;
}

.up_featured_details:hover{
    border-color:#1688df!important;
    color:#1688df!important;
}

@media(max-width:1050px){
    .up_featured_prototype_card .up_property_img{
        aspect-ratio:16 / 10!important;
    }
}

@media(max-width:560px){
    .up_featured_specs{
        grid-template-columns:repeat(3,1fr)!important;
    }
    .up_featured_price-row,
    .up_featured_price_row{
        align-items:flex-start!important;
    }
}


/* =========================================================
   Fase 8J - hotfix dos cards em destaque conforme print
   ========================================================= */

/* Desce a seção para o título não ficar encoberto pelo hero. */
.up_section.up_container:has(.up_property_card_featured){
    padding-top:54px!important;
}

/* Compatibilidade para navegadores sem :has(), mirando a primeira seção após benefícios. */
.up_benefits + .up_section.up_container{
    padding-top:54px!important;
}

/* Título da seção com respiro adequado. */
.up_benefits + .up_section .up_section_head{
    margin-bottom:18px!important;
}

/* Selo de vídeo menor e mais próximo do protótipo. */
.up_property_card_featured .up_featured_video_badge,
.up_property_card_featured .up_property_img > span.up_featured_video_badge{
    top:10px!important;
    left:10px!important;
    min-height:24px!important;
    height:24px!important;
    padding:0 10px 0 0!important;
    border-radius:999px!important;
    font-size:10px!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
}
.up_property_card_featured .up_featured_video_badge i,
.up_property_card_featured .up_featured_video_badge .fa{
    width:28px!important;
    min-width:28px!important;
    height:24px!important;
    font-size:11px!important;
}

/* Card um pouco mais compacto. */
.up_property_card_featured .up_property_body{
    padding:13px 14px 14px!important;
    min-height:0!important;
}

/* Título limitado a duas linhas, sem quebrar para a terceira. */
.up_property_card_featured .up_property_title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:600!important;
    color:#314b69!important;
}

/* Localização ligeiramente menor. */
.up_property_card_featured .up_property_location{
    margin:8px 0 10px!important;
    font-size:12px!important;
    min-height:16px!important;
}

/* Caixas de atributos compactas e m² em uma única linha. */
.up_property_card_featured .up_specs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    min-height:0!important;
    margin-top:0!important;
}
.up_property_card_featured .up_specs span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:42px!important;
    padding:0 7px!important;
    border-radius:6px!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow:hidden!important;
    font-size:12px!important;
}
.up_property_card_featured .up_specs span:first-child{
    white-space:nowrap!important;
}
.up_property_card_featured .up_specs span sup{
    line-height:1!important;
}

/* Linha inferior: preço à esquerda e Destaque fixo à direita. */
.up_property_card_featured .up_featured_bottom_row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    margin-top:12px!important;
}
.up_property_card_featured .up_featured_price,
.up_property_card_featured .up_price{
    min-width:0!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.up_property_card_featured .up_featured_purpose{
    display:none!important;
}
.up_property_card_featured .up_featured_badge,
.up_property_card_featured .up_featured_bottom_row .up_featured_badge{
    position:static!important;
    flex:0 0 auto!important;
    margin:0!important;
    white-space:nowrap!important;
    font-size:11px!important;
    min-height:28px!important;
    padding:0 11px!important;
}

/* Botão inferior um pouco mais compacto. */
.up_property_card_featured .up_featured_details{
    min-height:36px!important;
    margin-top:10px!important;
    font-size:12px!important;
}

/* Favorito proporcionalmente menor. */
.up_property_card_featured .up_property_img button{
    width:42px!important;
    height:42px!important;
    right:10px!important;
    bottom:-20px!important;
    top:auto!important;
}

@media(max-width:1050px){
    .up_benefits + .up_section.up_container{
        padding-top:42px!important;
    }
}

@media(max-width:560px){
    .up_property_card_featured .up_property_title{
        min-height:38px!important;
        max-height:38px!important;
    }
}


/* =========================================================
   Fase 8K - remove finalidade e mantém m² em uma linha
   ========================================================= */
.up_featured_prototype_card .up_featured_specs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
}

.up_featured_prototype_card .up_featured_specs > span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;
    min-height:44px!important;
    padding:0 8px!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow:hidden!important;
}

.up_featured_prototype_card .up_featured_specs > span strong{
    display:inline-flex!important;
    align-items:baseline!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    font-size:12px!important;
    line-height:1!important;
}

.up_featured_prototype_card .up_featured_specs > span:first-child strong{
    min-width:max-content!important;
}

.up_featured_prototype_card .up_featured_price-row em,
.up_featured_prototype_card .up_featured-price-row em,
.up_featured_prototype_card .up_featured_price em{
    display:none!important;
}


/* =========================================================
   Fase 8L - selos, cards unificados e bloco trust desativado
   ========================================================= */

/* Selo do hero com texto branco. */
.up_realtime_badge,
.up_realtime_badge *{
    color:#fff!important;
}

/* Selo IMÓVEL COM VÍDEO: fundo branco e ícone vermelho. */
.up_video_badge,
.up_property_card_featured .up_video_badge,
.up_standard_prototype_card .up_video_badge{
    background:#fff!important;
    color:#566273!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:0 4px 12px rgba(15,23,42,.10)!important;
    overflow:hidden!important;
}
.up_video_badge i,
.up_video_badge .fa{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:stretch!important;
    width:30px!important;
    min-width:30px!important;
    margin-right:8px!important;
    background:#ef1f2f!important;
    color:#fff!important;
}

/* Todos os cards das listagens usam a mesma estrutura visual. */
.up_standard_prototype_card{
    height:100%!important;
}
.up_standard_prototype_card .up_featured_media{
    position:relative!important;
}
.up_standard_prototype_card .up_property_img{
    aspect-ratio:16 / 10!important;
}
.up_standard_prototype_card .up_property_body{
    padding:13px 14px 14px!important;
    min-height:0!important;
}
.up_standard_prototype_card .up_property_title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:600!important;
    color:#314b69!important;
}
.up_standard_prototype_card .up_property_location{
    margin:8px 0 10px!important;
    font-size:12px!important;
    min-height:16px!important;
}
.up_standard_prototype_card .up_featured_specs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
}
.up_standard_prototype_card .up_featured_specs > span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;
    min-height:44px!important;
    padding:0 8px!important;
    border-radius:6px!important;
    background:#f2f2f2!important;
    border:0!important;
    color:#111827!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}
.up_standard_prototype_card .up_featured_specs strong{
    display:inline-flex!important;
    align-items:baseline!important;
    white-space:nowrap!important;
    font-size:12px!important;
    font-weight:500!important;
}
.up_standard_prototype_card .up_featured_price_row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    margin-top:12px!important;
}
.up_standard_prototype_card .up_featured_price{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:13px!important;
}
.up_standard_prototype_card .up_featured_badge{
    position:static!important;
    min-height:28px!important;
    padding:0 11px!important;
    border-radius:999px!important;
    font-size:11px!important;
    white-space:nowrap!important;
}
.up_standard_prototype_card .up_featured_details{
    min-height:36px!important;
    margin-top:10px!important;
    font-size:12px!important;
}
.up_standard_prototype_card .up_featured_favorite{
    width:42px!important;
    height:42px!important;
    right:10px!important;
    bottom:-20px!important;
}

/* Remove alturas antigas dos cards compactos. */
@media (min-width:1051px){
    .up_standard_prototype_card .up_property_body{
        min-height:0!important;
    }
}


/* =========================================================
   Fase 8M - hover moderno da busca principal
   ========================================================= */

/* Abas Comprar / Alugar / Lançamentos */
.up_search_tabs .up_tab{
    position:relative!important;
    overflow:hidden!important;
    border:1px solid transparent!important;
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease!important;
}

.up_search_tabs .up_tab:not(.active):hover{
    background:#f28a24!important;
    border-color:#f28a24!important;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(242,138,36,.25)!important;
    transform:translateY(-2px)!important;
}

.up_search_tabs .up_tab:not(.active):hover i{
    color:#fff!important;
}

.up_search_tabs .up_tab.active:hover{
    background:#075bad!important;
    border-color:#075bad!important;
    color:#fff!important;
    box-shadow:0 12px 25px rgba(11,100,192,.28)!important;
    transform:translateY(-2px)!important;
}

.up_search_tabs .up_tab:focus-visible{
    outline:3px solid rgba(242,138,36,.28)!important;
    outline-offset:3px!important;
}

/* Pesquisa avançada / Busca por mapa */
.up_search_footer .up_aux_link{
    position:relative!important;
    overflow:hidden!important;
    border:1px solid #dbe7f2!important;
    background:#fff!important;
    color:#194568!important;
    box-shadow:0 4px 12px rgba(15,23,42,.025)!important;
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease!important;
}

.up_search_footer .up_aux_link:hover{
    background:#f28a24!important;
    border-color:#f28a24!important;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(242,138,36,.24)!important;
    transform:translateY(-2px)!important;
}

.up_search_footer .up_aux_link:hover i{
    color:#fff!important;
}

.up_search_footer .up_aux_link:active{
    transform:translateY(0)!important;
    box-shadow:0 5px 12px rgba(242,138,36,.18)!important;
}

.up_search_footer .up_aux_link:focus-visible{
    outline:3px solid rgba(242,138,36,.28)!important;
    outline-offset:3px!important;
}


/* =========================================================
   Fase 8N - redes sociais e avaliação Google no rodapé
   ========================================================= */
.up_footer_social_area{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:28px!important;
    margin-top:28px!important;
    padding-top:22px!important;
    border-top:1px solid rgba(255,255,255,.09)!important;
}

.up_footer_socials{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:9px!important;
}

.up_footer_socials > span{
    color:#d7e4f1!important;
    font-size:13px!important;
    font-weight:600!important;
}

.up_footer_social_links{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
}

.up_footer_social_links a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    margin:0!important;
    padding:0!important;
    border-radius:4px!important;
    background:#1976d2!important;
    color:#fff!important;
    font-size:20px!important;
    text-decoration:none!important;
    transition:transform .16s ease, background-color .16s ease, box-shadow .16s ease!important;
}

.up_footer_social_links a:hover{
    color:#fff!important;
    background:#0d8bea!important;
    transform:translateY(-2px)!important;
    box-shadow:0 8px 18px rgba(0,120,255,.25)!important;
}

.up_google_review_badge{
    display:inline-flex!important;
    align-items:center!important;
    gap:11px!important;
    width:auto!important;
    min-width:190px!important;
    min-height:58px!important;
    margin:0!important;
    padding:9px 14px!important;
    border:1px solid rgba(255,255,255,.42)!important;
    border-radius:8px!important;
    background:#052b59!important;
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:0 8px 20px rgba(0,0,0,.14)!important;
}

a.up_google_review_badge:hover{
    color:#fff!important;
    border-color:#fff!important;
    background:#07376f!important;
    transform:translateY(-2px)!important;
}

.up_google_review_icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#4285f4!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:23px!important;
    font-weight:900!important;
    box-shadow:inset 0 0 0 3px #ea4335!important;
}

.up_google_review_text{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
}

.up_google_review_text strong{
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
    white-space:nowrap!important;
}

.up_google_review_text strong i{
    color:#fbbc04!important;
    margin-right:4px!important;
}

.up_google_review_text small{
    color:#afc3d8!important;
    font-size:11px!important;
}

@media(max-width:720px){
    .up_footer_social_area{
        flex-direction:column!important;
        align-items:flex-start!important;
    }
}


/* =========================================================
   Fase 8P - busca proporcional e Google junto às redes
   ========================================================= */

/* Caixa principal de busca mais baixa e equilibrada */
.up_hero_leo .up_search_card{
    padding:13px 16px 14px!important;
    border-radius:22px!important;
}

.up_hero_leo .up_search_tabs{
    gap:8px!important;
    margin-bottom:11px!important;
}

.up_hero_leo .up_search_tabs .up_tab{
    height:37px!important;
    min-height:37px!important;
    min-width:118px!important;
    padding:0 15px!important;
    font-size:13px!important;
}

.up_hero_leo .up_search_fields{
    gap:10px!important;
}

.up_hero_leo .up_field{
    min-height:57px!important;
    padding:7px 12px!important;
    gap:3px!important;
    border-radius:13px!important;
}

.up_hero_leo .up_field span{
    font-size:9.5px!important;
    line-height:1!important;
}

.up_hero_leo .up_field select,
.up_hero_leo .up_field input{
    min-height:20px!important;
    font-size:13px!important;
    line-height:1.15!important;
}

.up_hero_leo .up_search_footer{
    gap:10px!important;
    margin-top:10px!important;
}

.up_hero_leo .up_search-footer .up_btn,
.up_hero_leo .up_search_footer .up_btn,
.up_hero_leo .up_search_footer .up_aux_link{
    min-height:39px!important;
    height:39px!important;
    padding-top:0!important;
    padding-bottom:0!important;
}

.up_hero_leo .up_search_footer .up_btn_search{
    min-width:175px!important;
}

/* Redes e avaliação empilhadas à esquerda, conforme protótipo */
.up_footer_social_area{
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:12px!important;
}

.up_google_review_badge{
    align-self:flex-start!important;
    min-width:185px!important;
    min-height:54px!important;
    margin-top:0!important;
}

@media(max-width:820px){
    .up_hero_leo .up_search_card{
        padding:13px!important;
    }

    .up_hero_leo .up_search_tabs .up_tab{
        min-width:auto!important;
    }

    .up_hero_leo .up_field{
        min-height:58px!important;
    }
}


/* =========================================================
   Fase 8R - respiro da pesquisa avançada
   ========================================================= */
@media (min-width:1101px){
    .up_hero_leo.up_advanced_open{
        padding-bottom:96px!important;
    }

    .up_hero_leo.up_advanced_open + .up_benefits{
        margin-top:-35px!important;
        transform:translateY(-65px)!important;
        margin-bottom:-65px!important;
    }
}

@media (min-width:821px) and (max-width:1100px){
    .up_hero_leo.up_advanced_open{
        padding-bottom:82px!important;
    }

    .up_hero_leo.up_advanced_open + .up_benefits{
        margin-top:-20px!important;
        transform:translateY(-35px)!important;
        margin-bottom:-35px!important;
    }
}

@media (max-width:820px){
    .up_hero_leo.up_advanced_open + .up_benefits{
        margin-top:18px!important;
    }
}


/* =========================================================
   Fase 8S - contador, mobile, pulso e acabamento final HOME
   A capa dinâmica pelo anúncio permanece em stand by.
   ========================================================= */

/* Ponto verde pulsando, com respeito a acessibilidade. */
.up_realtime_badge i{
    position:relative!important;
    animation:upRealtimePulse 1.45s ease-in-out infinite!important;
    box-shadow:0 0 0 0 rgba(34,197,94,.55)!important;
}

@keyframes upRealtimePulse{
    0%,100%{transform:scale(.92);box-shadow:0 0 0 0 rgba(34,197,94,.52)}
    50%{transform:scale(1.12);box-shadow:0 0 0 7px rgba(34,197,94,0)}
}

@media(prefers-reduced-motion:reduce){
    .up_realtime_badge i{animation:none!important}
}

/* Etiqueta de vídeo mais compacta. */
.up_video_badge,
.up_property_card_featured .up_video_badge,
.up_standard_prototype_card .up_video_badge{
    min-height:20px!important;
    height:20px!important;
    padding:0 7px 0 0!important;
    font-size:8.5px!important;
    line-height:20px!important;
    letter-spacing:0!important;
}

.up_video_badge i,
.up_video_badge .fa{
    width:23px!important;
    min-width:23px!important;
    height:20px!important;
    margin-right:5px!important;
    font-size:9px!important;
}

/* Contador entre o resumo e o CTA. */
.up_finance_match_count{
    width:100%!important;
    margin:0 0 10px!important;
    color:#53677e!important;
    font-size:12px!important;
    line-height:1.35!important;
    text-align:center!important;
}

.up_finance_match_count strong{
    color:#0877ee!important;
    font-weight:900!important;
}

/* O CTA precisa permanecer visível também no celular. */
.up_finance_property_btn{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}

/* Logo oficial multicolorido no selo de avaliações. */
.up_google_review_icon{
    width:34px!important;
    height:34px!important;
    padding:5px!important;
    border-radius:999px!important;
    background:#fff!important;
    box-shadow:none!important;
}

.up_google_review_icon svg{
    display:block!important;
    width:100%!important;
    height:100%!important;
}

@media(max-width:680px){
    .up_finance_result_panel{
        overflow:visible!important;
    }

    .up_finance_match_count{
        margin:2px 0 11px!important;
        font-size:13px!important;
    }

    .up_finance_property_btn{
        display:flex!important;
        width:100%!important;
        min-height:46px!important;
        margin:0!important;
    }
}


/* =========================================================
   Fase 8U - correção dos três erros reportados
   ========================================================= */

/* Piscar de forma evidente, inclusive quando regras antigas
   tentarem desativar a animação. */
.up_realtime_badge i{
    position:relative!important;
    opacity:1!important;
    -webkit-animation:upRealtimeBlink 1s ease-in-out infinite!important;
    animation:upRealtimeBlink 1s ease-in-out infinite!important;
}
.up_realtime_badge i::after{
    content:""!important;
    position:absolute!important;
    inset:-5px!important;
    border:2px solid rgba(37,211,102,.75)!important;
    border-radius:50%!important;
    opacity:0!important;
    transform:scale(.55)!important;
    -webkit-animation:upRealtimeRing 1s ease-out infinite!important;
    animation:upRealtimeRing 1s ease-out infinite!important;
}
@-webkit-keyframes upRealtimeBlink{
    0%,100%{opacity:1;transform:scale(1)}
    50%{opacity:.22;transform:scale(.72)}
}
@keyframes upRealtimeBlink{
    0%,100%{opacity:1;transform:scale(1)}
    50%{opacity:.22;transform:scale(.72)}
}
@-webkit-keyframes upRealtimeRing{
    0%{opacity:.85;transform:scale(.55)}
    100%{opacity:0;transform:scale(1.45)}
}
@keyframes upRealtimeRing{
    0%{opacity:.85;transform:scale(.55)}
    100%{opacity:0;transform:scale(1.45)}
}

/* Mantém “12 imóveis” na mesma linha e na mesma linha de base
   do restante da frase. */
.up_finance_match_count{
    display:block!important;
    white-space:nowrap!important;
}
.up_finance_match_count strong{
    display:inline!important;
    font-size:inherit!important;
    line-height:inherit!important;
    vertical-align:baseline!important;
    white-space:nowrap!important;
    letter-spacing:inherit!important;
}


/* =========================================================
   Fase 8X - refinamentos solicitados pelo cliente
   ========================================================= */

/* O subtítulo dos destaques deve aparecer no desktop e mobile. */
.up_section_head .up_kicker{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
}

/* Etiqueta de vídeo: play perfeitamente centralizado. */
.up_video_badge,
.up_property_card_featured .up_video_badge,
.up_standard_prototype_card .up_video_badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    line-height:1!important;
    overflow:hidden!important;
}

.up_video_badge i,
.up_video_badge .fa{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 23px!important;
    line-height:1!important;
    padding:0!important;
    text-align:center!important;
}

/* Faixa azul de canto a canto, alinhada ao conteúdo do rodapé. */
.up_cta.up_container{
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    border-radius:0!important;
    padding-left:max(28px, calc((100vw - 1180px) / 2 + 28px))!important;
    padding-right:max(28px, calc((100vw - 1180px) / 2 + 28px))!important;
}

.up_cta .up_kicker,
.up_cta h2,
.up_cta h2 *,
.up_cta p{
    color:#fff!important;
}

/* Mantém o texto do contador como uma frase única e bem alinhada. */
.up_finance_match_count{
    display:block!important;
    white-space:normal!important;
}

.up_finance_match_count strong{
    display:inline!important;
    vertical-align:baseline!important;
}

/* Ponto verde com piscar perceptível. */
.up_realtime_badge i{
    animation:upRealtimeBlinkStrong 1s steps(2,end) infinite!important;
}

@keyframes upRealtimeBlinkStrong{
    0%,49%{
        opacity:1;
        transform:scale(1);
        box-shadow:0 0 0 0 rgba(34,197,94,.65);
    }
    50%,100%{
        opacity:.18;
        transform:scale(.82);
        box-shadow:0 0 0 7px rgba(34,197,94,0);
    }
}

@media(max-width:720px){
    .up_cta.up_container{
        padding-left:22px!important;
        padding-right:22px!important;
    }
}


/* =========================================================
   Hotfix final - home: selo, cards, simulador e primeira seção
   ========================================================= */

/* Badge do topo no tom escuro solicitado, mantendo o pulso verde. */
.up_realtime_badge{
    background:#303236!important;
    border-color:rgba(255,255,255,.24)!important;
    color:#fff!important;
}

/* Centraliza com precisão o triângulo dentro da faixa vermelha. */
.up_video_badge i,
.up_video_badge .fa,
.up_property_card_featured .up_video_badge i,
.up_standard_prototype_card .up_video_badge i{
    margin:0 5px 0 0!important;
    padding:0!important;
    text-indent:0!important;
}

.up_video_badge i::before,
.up_video_badge .fa::before{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:center!important;
    transform:translateX(1px)!important;
}

/* Neutraliza controles residuais do slider antigo que apareciam como
   uma pequena seta no fim da capa da home. */
body.up_body .box_skitter .next_button,
body.up_body .box_skitter .prev_button,
body.up_body .box_skitter_large .next_button,
body.up_body .box_skitter_large .prev_button,
body.up_body a.next_button,
body.up_body a.prev_button{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* Cancela a margem negativa acumulada e impede que o título da primeira
   seção fique escondido atrás do hero/benefícios. */
@media (min-width:1101px){
    .up_benefits + .up_section.up_container{
        margin-top:65px!important;
        padding-top:26px!important;
    }
}

@media (min-width:821px) and (max-width:1100px){
    .up_benefits + .up_section.up_container{
        margin-top:35px!important;
        padding-top:28px!important;
    }
}

@media (max-width:820px){
    .up_benefits + .up_section.up_container{
        margin-top:0!important;
        padding-top:34px!important;
    }
}

/* O valor da parcela não vaza do círculo em valores maiores. */
.up_finance_result_circle strong{
    width:100%!important;
    max-width:100%!important;
    padding:0 2px!important;
    font-size:clamp(22px,1.75vw,29px)!important;
    line-height:1.05!important;
    letter-spacing:-.045em!important;
    white-space:nowrap!important;
    overflow:visible!important;
}

.up_finance_result_circle strong.up_finance_result_long{
    font-size:clamp(20px,1.55vw,25px)!important;
    letter-spacing:-.055em!important;
}

@media (max-width:680px){
    .up_finance_result_circle strong,
    .up_finance_result_circle strong.up_finance_result_long{
        font-size:25px!important;
    }
}
