/* =====================================================
   Modelo 1 — Redesign Visual Profissional
   Design moderno, elegante e premium para sites
   imobiliarios. Foco em tipografia, espacamento,
   micro-interacoes e hierarquia visual.
   ===================================================== */

/* === DESIGN TOKENS =================================== */
:root {
    --m1-radius: 16px;
    --m1-radius-sm: 10px;
    --m1-radius-lg: 24px;
    --m1-radius-pill: 999px;

    --m1-shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --m1-shadow-sm: 0 2px 8px rgba(18,10,33,0.06);
    --m1-shadow-md: 0 8px 30px rgba(18,10,33,0.08);
    --m1-shadow-lg: 0 16px 48px rgba(18,10,33,0.12);
    --m1-shadow-xl: 0 24px 64px rgba(18,10,33,0.16);

    --m1-transition: 280ms cubic-bezier(.2,.8,.2,1);
    --m1-transition-slow: 450ms cubic-bezier(.2,.8,.2,1);
    --m1-transition-bounce: 400ms cubic-bezier(.34,1.56,.64,1);

    --m1-border: 1px solid rgba(0,0,0,0.06);
    --m1-border-strong: 1px solid rgba(0,0,0,0.1);
    --m1-bg-soft: #F8F9FC;
    --m1-bg-warm: #FAFAF8;
    --m1-text-primary: #1A1A2E;
    --m1-text-secondary: #4A5568;
    --m1-text-muted: #8896AB;
    --m1-text-light: #A0AEC0;

    --m1-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET & BASE ==================================== */
html {
    scroll-behavior: smooth;
}

body.counter-scroll {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--site-cor, #4F46E5);
    color: #fff;
}

/* === PRELOADER ======================================= */
.preload-container {
    background: #fff;
}

.preload .boxes .box > div {
    background: var(--site-cor, #4F46E5);
}

/* === TYPOGRAPHY ====================================== */
.heading-section h2,
.title-heading,
.heading-listing {
    font-family: var(--m1-font-display);
    letter-spacing: -0.025em;
    color: var(--m1-text-primary);
    font-weight: 800;
    line-height: 1.15;
}

.heading-section p,
.heading-section .text-color-4 {
    color: var(--m1-text-secondary);
    line-height: 1.7;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.heading-section.center {
    margin-bottom: 48px;
}

.heading-section.center h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 16px;
}

.heading-section.center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--site-cor, #4F46E5);
}

/* === HEADER ========================================== */
#header.main-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: none;
    transition: box-shadow var(--m1-transition), background var(--m1-transition);
}

#header.main-header.is-fixed {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

#header .logo img {
    max-height: 44px;
    width: auto;
    transition: transform var(--m1-transition);
}

#header .logo:hover img {
    transform: scale(1.02);
}

/* Nav links */
.main-header .main-menu .navigation > li > a {
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    color: var(--m1-text-primary);
    padding: 8px 16px;
    border-radius: var(--m1-radius-sm);
    transition: color var(--m1-transition), background var(--m1-transition);
    position: relative;
}

.main-header .main-menu .navigation > li > a:hover,
.main-header .main-menu .navigation > li.current > a {
    background: rgba(0,0,0,0.04);
}

/* Social icons header */
.icon-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--m1-text-secondary);
    transition: all var(--m1-transition);
    background: transparent;
}

.icon-socials a:hover {
    background: var(--site-cor, #4F46E5);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile hamburger (visivel apenas no mobile — display controlado no media query) */
.mobile-button {
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--m1-radius-sm);
    transition: background var(--m1-transition);
}

.mobile-button:hover {
    background: rgba(0,0,0,0.04);
}

@media (max-width: 991px) {
    .main-header .icon-socials {
        display: none !important;
    }

    .mobile-button {
        display: flex !important;
    }

    .mobile-button span,
    .mobile-button::before,
    .mobile-button::after {
        background-color: var(--m1-text-primary) !important;
        height: 2px !important;
        border-radius: 2px;
    }
}

/* === HERO / SLIDER =================================== */
.slider.home4 {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.slider.home4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.15) 100%
    );
    z-index: 1;
}

.slider.home4 .slider-item {
    position: relative;
    z-index: 2;
}

.slider .heading h1 {
    font-family: var(--m1-font-display);
    font-weight: 800;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.slider .heading p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

/* Search card on hero */
.slider .content.po-content-two {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--m1-radius-lg);
    box-shadow: var(--m1-shadow-xl);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 28px;
    margin-top: 0;
}

.slider .flat-tabs .tab-title li.active h4,
.slider .flat-tabs .tab-title li:hover h4 {
    color: #fff;
}

.slider .flat-tabs .tab-title li {
    border-radius: var(--m1-radius-sm);
    transition: all var(--m1-transition);
}

/* Search form inputs */
.slider .search-field,
.slider .select_gen,
.slider .wd-find-select input[type="number"] {
    border-radius: var(--m1-radius-sm) !important;
    border: 1.5px solid #E8E8ED !important;
    background: #FAFAFA !important;
    font-size: 14px;
    transition: border-color var(--m1-transition), box-shadow var(--m1-transition), background var(--m1-transition);
}

.slider .search-field:focus,
.slider .wd-find-select input:focus {
    border-color: var(--site-cor, #4F46E5) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

@media (max-width: 991px) {
    .slider.home4 {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .slider .content.po-content-two {
        margin-top: 32px;
    }

    .slider.home4 .box-tab.m1-mobile-left {
        text-align: left !important;
    }
    .slider.home4 .box-tab.m1-mobile-left .menu-tab {
        justify-content: flex-start !important;
    }
}

/* === SECTION SPACING ================================= */
.tf-section,
.flat-icon,
.flat-contact,
.flat-blog,
.flat-find-neighborhood,
section[class*="flat-"] {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 991px) {
    .tf-section,
    .flat-icon,
    .flat-contact,
    .flat-blog,
    .flat-find-neighborhood,
    section[class*="flat-"] {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

@media (max-width: 600px) {
    .tf-section,
    .flat-icon,
    .flat-contact,
    .flat-blog,
    .flat-find-neighborhood,
    section[class*="flat-"] {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* === PROPERTY CARDS ================================== */
.modelo1-property-card {
    border-radius: var(--m1-radius);
    background: #fff;
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform var(--m1-transition), box-shadow var(--m1-transition), border-color var(--m1-transition);
    overflow: hidden;
    position: relative;
}

.modelo1-property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--m1-shadow-lg);
    border-color: rgba(0,0,0,0.08);
}

.modelo1-property-card .image-group {
    overflow: hidden;
    border-top-left-radius: var(--m1-radius);
    border-top-right-radius: var(--m1-radius);
}

.modelo1-property-card .image-group img {
    transition: transform 700ms cubic-bezier(.2,.8,.2,1);
    will-change: transform;
}

.modelo1-property-card:hover .image-group img {
    transform: scale(1.06);
}

.modelo1-property-card .content {
    padding: 20px 22px 22px;
}

.modelo1-property-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.modelo1-property-card h3 a {
    color: var(--m1-text-primary);
    transition: color var(--m1-transition);
}

.modelo1-property-card:hover h3 a {
    color: var(--site-cor, #4F46E5);
}

.modelo1-property-card .text-address p {
    color: var(--m1-text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.modelo1-property-card .text-address i {
    color: var(--site-cor, #4F46E5);
    opacity: 0.7;
}

.modelo1-property-card .money {
    margin: 10px 0;
}

.modelo1-property-card .money a {
    color: var(--site-cor, #4F46E5) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.modelo1-property-card .icon-box {
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 12px;
}

.modelo1-property-card .icon-box .icons {
    font-size: 13px;
    color: var(--m1-text-secondary);
}

.modelo1-property-card .icon-box .icons .fw-6 {
    color: var(--m1-text-primary);
}

.modelo1-property-card .days-box {
    padding: 14px 22px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 0;
}

.modelo1-property-card .days-box .compare {
    color: var(--site-cor, #4F46E5);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--m1-transition);
}

.modelo1-property-card .days-box .compare:hover {
    letter-spacing: 0.08em;
}

.modelo1-property-card .days {
    font-size: 12px;
    color: var(--m1-text-muted);
}

/* Carousel property cards (non-modelo1-property-card) */
.box.box-dream {
    border-radius: var(--m1-radius);
    overflow: hidden;
    transition: transform var(--m1-transition), box-shadow var(--m1-transition);
}

.box.box-dream:hover {
    transform: translateY(-4px);
    box-shadow: var(--m1-shadow-lg);
}

/* === BUTTONS & CTAs ================================== */
.sc-button {
    border-radius: var(--m1-radius-sm);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    transition: all var(--m1-transition);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.sc-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--m1-transition);
}

.sc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.sc-button:hover::before {
    opacity: 1;
}

.sc-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.sc-button:focus-visible {
    outline: 3px solid var(--site-cor, #4F46E5);
    outline-offset: 3px;
}

.sc-button.btn-1 {
    opacity: 0.85;
}

.sc-button.btn-1:hover {
    opacity: 1;
}

/* Button search in hero */
.button-search .sc-button {
    border-radius: var(--m1-radius-sm);
    height: 52px;
    padding: 0 32px;
}

/* === BENEFITS SECTION ================================ */
#beneficios_home {
    background: var(--m1-bg-soft);
}

#beneficios_home h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--m1-text-primary);
    line-height: 1.4;
}

#beneficios_home .box {
    padding: 36px 28px;
    border-radius: var(--m1-radius);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--m1-shadow-xs);
    transition: all var(--m1-transition);
    position: relative;
    overflow: hidden;
}

#beneficios_home .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--site-cor, #4F46E5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--m1-transition-slow);
}

#beneficios_home .box:hover {
    transform: translateY(-6px);
    box-shadow: var(--m1-shadow-md);
    border-color: rgba(0,0,0,0.06);
}

#beneficios_home .box:hover::before {
    transform: scaleX(1);
}

#beneficios_home .box .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--site-cor-rgb, 79,70,229), 0.08) 0%, rgba(var(--site-cor-rgb, 79,70,229), 0.03) 100%);
    margin-bottom: 20px;
}

#beneficios_home .box .icon svg {
    width: 32px;
    height: 32px;
}

#beneficios_home .box .content .inner p {
    color: var(--m1-text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 8px;
}

#beneficios_home .box .meta.style .btn-button {
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all var(--m1-transition);
}

#beneficios_home .box .meta.style .btn-button:hover span,
#beneficios_home .box .meta.style .btn-button:hover i {
    color: var(--site-cor, #4F46E5) !important;
}

#beneficios_home .box .meta.style .btn-button i {
    transition: transform var(--m1-transition);
}

#beneficios_home .box:hover .meta.style .btn-button i {
    transform: translateX(4px);
}

/* === CONTACT SECTION ================================= */
#contato_home {
    background: #fff;
}

#contato_home .heading-section h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.2;
}

#contato_home .wrap-info .box-info {
    padding: 16px 0;
    gap: 16px;
}

#contato_home .wrap-info .box-info .icon-info {
    flex-shrink: 0;
}

#contato_home .wrap-info .box-info .icon-info svg {
    width: 44px;
    height: 44px;
    opacity: 0.7;
}

#contato_home .wrap-contact {
    background: var(--m1-bg-soft);
    border-radius: var(--m1-radius-lg);
    padding: 36px;
    border: 1px solid rgba(0,0,0,0.04);
}

#contato_home .wrap-contact .box-title {
    margin-bottom: 24px;
}

#contato_home .wrap-contact .title-ct {
    font-weight: 800;
    color: var(--m1-text-primary);
}

#contato_home .wrap-contact .box-title p {
    color: var(--m1-text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

#contato_home .comment-form fieldset {
    margin-bottom: 16px;
}

#contato_home .comment-form fieldset label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--m1-text-primary);
    margin-bottom: 6px;
}

#contato_home .comment-form fieldset input,
#contato_home .comment-form fieldset textarea {
    border-radius: var(--m1-radius-sm);
    border: 1.5px solid #E5E5EA;
    background: #fff;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color var(--m1-transition), box-shadow var(--m1-transition);
}

#contato_home .comment-form fieldset input:focus,
#contato_home .comment-form fieldset textarea:focus {
    border-color: var(--site-cor, #4F46E5);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
    outline: none;
}

#contato_home .button-boxs .sc-button {
    width: 100%;
    justify-content: center;
    height: 48px;
}

/* === TESTIMONIALS ==================================== */
#depoimentos_home,
#depoimentos_page {
    background: var(--m1-bg-soft);
}

#depoimentos_home .swiper-slide .box,
#depoimentos_page .swiper-slide .box {
    background: #fff;
    border-radius: var(--m1-radius);
    box-shadow: var(--m1-shadow-sm);
    padding: 32px 28px 28px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--m1-transition);
    position: relative;
}

#depoimentos_home .swiper-slide .box:hover,
#depoimentos_page .swiper-slide .box:hover {
    box-shadow: var(--m1-shadow-md);
    transform: translateY(-4px);
    border-color: rgba(0,0,0,0.06);
}

#depoimentos_home .swiper-slide .box .inner,
#depoimentos_page .swiper-slide .box .inner {
    position: relative;
}

#depoimentos_home .swiper-slide .box .inner svg,
#depoimentos_page .swiper-slide .box .inner svg {
    opacity: 0.2;
    margin-bottom: 12px;
}

#depoimentos_home .swiper-slide .texts,
#depoimentos_page .swiper-slide .texts {
    color: var(--m1-text-secondary);
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
}

#depoimentos_home .author-box,
#depoimentos_page .author-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

#depoimentos_home .author-box h4,
#depoimentos_page .author-box h4 {
    font-weight: 700;
    font-size: 15px;
    color: var(--m1-text-primary);
}

#depoimentos_home .author-box p,
#depoimentos_page .author-box p {
    font-size: 13px;
    color: var(--m1-text-muted);
}

#depoimentos_home .author-box .images img,
#depoimentos_page .author-box .images img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.06);
}

/* === BLOG SECTION ==================================== */
#blog_home .box {
    border-radius: var(--m1-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--m1-transition);
    height: 100%;
}

#blog_home .box:hover {
    transform: translateY(-4px);
    box-shadow: var(--m1-shadow-md);
    border-color: rgba(0,0,0,0.06);
}

#blog_home .box .images {
    overflow: hidden;
    border-radius: var(--m1-radius) var(--m1-radius) 0 0;
}

#blog_home .box .images img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    transition: transform 600ms ease;
}

#blog_home .box:hover .images img {
    transform: scale(1.05);
}

#blog_home .box .images .sub-box {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--m1-radius-pill);
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

#blog_home .box .content {
    padding: 20px 22px 22px;
}

#blog_home .box .content h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

#blog_home .box .content h3 a {
    color: var(--m1-text-primary);
    transition: color var(--m1-transition);
}

#blog_home .box:hover .content h3 a {
    color: var(--site-cor, #4F46E5);
}

#blog_home .box .content .meta .btn-button {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    gap: 6px;
    transition: all var(--m1-transition);
}

#blog_home .box:hover .content .meta .btn-button svg {
    transform: translateX(4px);
}

#blog_home .box .content .meta .btn-button svg {
    transition: transform var(--m1-transition);
}

/* === NEIGHBORHOODS SECTION =========================== */
.flat-find-neighborhood .swiper-slide .box {
    border-radius: var(--m1-radius);
    overflow: hidden;
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--m1-transition);
    background: #fff;
}

.flat-find-neighborhood .swiper-slide .box:hover {
    transform: translateY(-4px);
    box-shadow: var(--m1-shadow-lg);
    border-color: rgba(0,0,0,0.06);
}

.flat-find-neighborhood .swiper-slide .images {
    overflow: hidden;
}

.flat-find-neighborhood .swiper-slide .images img {
    transition: transform 700ms ease;
    border-radius: 0;
}

.flat-find-neighborhood .swiper-slide .box:hover .images img {
    transform: scale(1.06);
}

.flat-find-neighborhood .swiper-slide .content {
    padding: 16px 18px 20px;
}

.flat-find-neighborhood .swiper-slide .content h3 {
    font-weight: 700;
    font-size: 16px;
}

.flat-find-neighborhood .swiper-slide .content p {
    font-size: 13px;
    color: var(--m1-text-muted);
}

/* === PAGE TITLES (breadcrumbs) ======================= */
.flat-title {
    background: var(--m1-bg-soft);
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.flat-title .title-inner {
    padding: 0;
}

.flat-title .title-group {
    font-size: 13px;
    font-weight: 600;
    color: var(--m1-text-muted);
    letter-spacing: 0.02em;
}

.flat-title .title-group a {
    font-weight: 700;
}

/* === PROPERTY DETAIL ================================= */
.flat-property-detail .title-heading {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.flat-property-detail .inner .sales {
    border-radius: var(--m1-radius-pill);
    padding: 4px 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.flat-property-detail .icon-box {
    gap: 16px;
}

/* Price */
.money-detail {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--site-cor, #4F46E5);
    letter-spacing: -0.02em;
}

/* Action icons */
.flat-property-detail .icon-boxs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #E5E5EA;
    background: #fff;
    transition: all var(--m1-transition);
    margin-left: 6px;
}

.flat-property-detail .icon-boxs a:hover {
    transform: translateY(-2px);
    border-color: var(--site-cor, #4F46E5);
    background: rgba(79,70,229,0.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Overview section */
.wrap-overview .titles,
.wrap-text .titles,
.wrap-property .titles,
.wrap-featured .titles,
.wrap-map .titles {
    font-size: 20px;
    font-weight: 800;
    color: var(--m1-text-primary);
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    position: relative;
}

.wrap-overview .titles::after,
.wrap-text .titles::after,
.wrap-property .titles::after,
.wrap-featured .titles::after,
.wrap-map .titles::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--site-cor, #4F46E5);
}

.wrap-style {
    background: #fff;
    border-radius: var(--m1-radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--m1-shadow-xs);
    border: 1px solid rgba(0,0,0,0.04);
}

.wrap-overview .icon-wrap {
    gap: 20px;
}

.wrap-overview .inner {
    background: var(--m1-bg-soft);
    border-radius: var(--m1-radius-sm);
    padding: 16px;
    gap: 12px;
    transition: all var(--m1-transition);
}

.wrap-overview .inner:hover {
    background: rgba(79,70,229,0.04);
}

.wrap-overview .inner .icon {
    flex-shrink: 0;
}

.imovel_detalhe_overview-icon {
    width: 26%;
}

/* Property table */
.wrap-property .box ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 14px;
}

.wrap-property .box ul li .one {
    color: var(--m1-text-secondary);
    min-width: 120px;
}

.wrap-property .box ul li .two {
    color: var(--m1-text-primary);
    font-weight: 600;
}

/* === GALLERY ========================================= */
.modelo1-gallery {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.modelo1-gallery .modelo1-gallery-main,
.modelo1-gallery .modelo1-gallery-side {
    flex: 1 1 50%;
    min-width: 0;
}

.modelo1-gallery .modelo1-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modelo1-gallery .modelo1-gallery-side > .img-box {
    display: flex;
    gap: 10px;
    flex: 1;
}

.modelo1-gallery img {
    width: 100%;
    border-radius: var(--m1-radius);
    object-fit: cover;
    display: block;
    height: 100%;
}

.modelo1-gallery-main img {
    aspect-ratio: 4 / 3;
    max-height: 600px;
    width: 100%;
}

.modelo1-gallery-side .box-img-half img {
    aspect-ratio: 16 / 11;
    max-height: 295px;
}

.modelo1-gallery-overlay {
    position: relative;
    cursor: pointer;
    border-radius: var(--m1-radius);
    overflow: hidden;
    flex: 1;
    min-height: 100%;
}

.modelo1-gallery-overlay img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 600ms ease;
}

.modelo1-gallery-overlay:hover img {
    transform: scale(1.05);
}

.modelo1-gallery-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    border-radius: var(--m1-radius);
    transition: background var(--m1-transition);
}

.modelo1-gallery-overlay:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.7) 100%);
}

.modelo1-gallery-overlay-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.modelo1-gallery-overlay-content h3 {
    color: #fff;
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
}

/* Single image detail */
.modelo1-image-detail {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.modelo1-image-detail img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--m1-radius);
}

/* === SIDEBAR ========================================= */
.side-bar .widget-rent {
    border-radius: var(--m1-radius);
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 24px;
    background: #fff;
}

.side-bar .widget-rent .title-tour {
    font-size: 20px;
    font-weight: 800;
    color: var(--m1-text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}

.side-bar .form-style2 select.select_gen,
.side-bar .form-style2 input.search-field {
    border-radius: var(--m1-radius-sm);
    transition: border-color var(--m1-transition), box-shadow var(--m1-transition);
}

.side-bar .form-style2 select.select_gen:focus,
.side-bar .form-style2 input.search-field:focus {
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

/* Widget blog sidebar */
.widget.widget-listings {
    border-radius: var(--m1-radius);
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    background: #fff;
    padding: 24px;
}

.widget.widget-listings .widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--m1-text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}

.widget.widget-listings .box-listings {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    gap: 14px;
}

.widget.widget-listings .box-listings:last-child {
    border-bottom: none;
}

.widget.widget-listings .img-listings img {
    border-radius: var(--m1-radius-sm);
}

/* === FOOTER ========================================== */
#footer {
    background: #111827;
    margin-top: 0;
    padding: 64px 0 48px;
}

#footer .group-icon {
    background: rgba(255,255,255,0.04);
    border-radius: var(--m1-radius);
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--m1-transition);
}

#footer .group-icon:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

#footer .group-icon .title-icon {
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1.3 !important;
}

#footer .group-icon p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
}

#footer .group-icon .button-footer {
    margin-top: 20px;
}

#footer .group-icon .sc-button {
    border-radius: var(--m1-radius-sm);
}

#footer .widget h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#footer .widget .sub-title {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

#footer .widget h5 {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

#footer .widget-menu .box-icon {
    padding: 12px 0;
    gap: 16px;
}

#footer .widget-menu .box-icon .icon svg {
    width: 40px;
    height: 40px;
}

#footer .widget-menu .box-icon .content p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

#footer .widget-menu .box-icon .content h5 {
    font-size: 14px;
}

/* Logo footer bar */
.widget-logo-footer {
    background: #0D1117;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.widget-logo-footer .wrap-logo {
    gap: 24px;
    align-items: center;
}

.widget-logo-footer .logo-footer img {
    max-height: 38px;
    opacity: 0.85;
    transition: opacity var(--m1-transition);
}

.widget-logo-footer .logo-footer:hover img {
    opacity: 1;
}

.widget-logo-footer .box-menu ul li {
    margin: 0;
}

.widget-logo-footer .box-menu ul li a {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--m1-transition);
}

.widget-logo-footer .box-menu ul li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.widget-logo-footer .icon-social {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    width: auto !important;
    min-width: max-content;
}

.widget-logo-footer .icon-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    transition: all var(--m1-transition);
}

.widget-logo-footer .icon-social a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.widget-logo-footer .box-menu {
    flex: 1;
}

/* Bottom footer */
.widget-bottom-footer {
    background: #0D1117;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.widget-bottom-footer .title-bottom {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.widget-bottom-footer .title-bottom a {
    color: rgba(255,255,255,0.5) !important;
    transition: color var(--m1-transition);
}

.widget-bottom-footer .title-bottom a:hover {
    color: #fff !important;
}

/* === ABOUT PAGE ====================================== */
.flat-about .heading-about {
    padding-right: 40px;
}

.flat-about .heading-about .text-1 {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--m1-text-secondary);
}

.flat-about .video-box .img-2 {
    border-radius: var(--m1-radius);
    box-shadow: var(--m1-shadow-md);
}

/* CTA section on about */
.flat-contact2 {
    background: var(--m1-bg-soft);
    border-radius: 0;
    padding: 64px 0;
}

.flat-contact2 .heading-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    max-width: 600px;
}

.flat-contact2 .heading-section p {
    max-width: 500px;
    margin-bottom: 24px;
}

/* === CONTACT PAGE ==================================== */
.flat-contact-page .comments {
    border-radius: var(--m1-radius-lg);
    padding: 40px;
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.flat-contact-page .heading-box .heading-title {
    font-weight: 800;
    color: var(--m1-text-primary);
}

.flat-contact-page .comment-form fieldset input,
.flat-contact-page .comment-form fieldset textarea {
    border-radius: var(--m1-radius-sm);
    border: 1.5px solid #E5E5EA;
    transition: border-color var(--m1-transition), box-shadow var(--m1-transition);
}

.flat-contact-page .comment-form fieldset input:focus,
.flat-contact-page .comment-form fieldset textarea:focus {
    border-color: var(--site-cor, #4F46E5);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
    outline: none;
}

/* Map */
.flat-map .map-content {
    border-radius: var(--m1-radius);
    border: none;
    height: 350px;
}

/* === FAQ PAGE ======================================== */
.flat-accordion .box {
    border-radius: var(--m1-radius-sm);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 12px;
    transition: all var(--m1-transition);
}

.flat-accordion .box:hover {
    border-color: rgba(0,0,0,0.1);
}

.flat-accordion .box .heading {
    font-weight: 700;
    padding: 18px 24px;
    background: #fff;
    transition: background var(--m1-transition);
}

.flat-accordion .box .heading:hover {
    background: var(--m1-bg-soft);
}

.flat-accordion .box .content {
    padding: 0 24px 18px;
    line-height: 1.7;
    color: var(--m1-text-secondary);
}

/* === BLOG PAGE ======================================= */
.flat-blog .box.hover-img {
    border-radius: var(--m1-radius);
    overflow: hidden;
    box-shadow: var(--m1-shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--m1-transition);
    background: #fff;
}

.flat-blog .box.hover-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--m1-shadow-md);
}

.flat-blog .box.hover-img .images img {
    transition: transform 600ms ease;
}

.flat-blog .box.hover-img:hover .images img {
    transform: scale(1.05);
}

/* === PROPERTY LIST PAGE ============================== */
.flat-properties-rent .heading-section,
.flat-sale .heading-section,
.flat-rent .heading-section {
    margin-bottom: 32px;
}

/* === FORMS GENERAL =================================== */
.comments .comment-form fieldset input,
.comments .comment-form fieldset textarea {
    border-radius: var(--m1-radius-sm);
    transition: border-color var(--m1-transition), box-shadow var(--m1-transition);
}

/* Client interest form in detail sidebar */
.side-bar .comment-form fieldset input,
.side-bar .comment-form fieldset textarea {
    border-radius: var(--m1-radius-sm) !important;
    border: 1.5px solid #E5E5EA;
    padding: 12px 16px;
    font-size: 14px;
    transition: all var(--m1-transition);
}

.side-bar .comment-form fieldset input:focus,
.side-bar .comment-form fieldset textarea:focus {
    border-color: var(--site-cor, #4F46E5);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
    outline: none;
}

/* === PAGINATION ====================================== */
.themesflat-pagination ul li .page-numbers {
    border-radius: var(--m1-radius-sm);
    font-weight: 700;
    transition: all var(--m1-transition);
}

.themesflat-pagination ul li .page-numbers:hover,
.themesflat-pagination ul li .page-numbers.current {
    transform: translateY(-1px);
}

/* === SCROLL TO TOP =================================== */
.button-go {
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: var(--m1-shadow-md);
    transition: all var(--m1-transition);
}

.button-go:hover {
    transform: translateY(-3px);
    box-shadow: var(--m1-shadow-lg);
}

/* === COOKIE BANNER =================================== */
#cookie-banner {
    border-radius: var(--m1-radius) var(--m1-radius) 0 0 !important;
    margin: 0 auto;
}

#cookie-banner button {
    transition: all var(--m1-transition);
    font-weight: 600 !important;
}

#cookie-banner button:hover {
    transform: translateY(-1px);
}

/* === CALENDAR (flatpickr) ============================ */
.flatpickr-calendar .flatpickr-day {
    line-height: 25px !important;
    height: 48px !important;
    border-radius: 8px;
}

.flatpickr-calendar .flatpickr-day span.day-price {
    display: block;
    font-size: 8.5px;
    color: #28a745;
    margin-top: -5px;
    font-weight: 600;
}

.flatpickr-day.disabled span.day-price {
    color: #ccc;
    text-decoration: line-through;
}

.flatpickr-day.disabled {
    background: #f8f9fa !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

.flatpickr-day.today:after {
    border-bottom-color: #28a745 !important;
}

#rental-widget input:focus {
    color: #222 !important;
    background-color: #fff !important;
}

#rental-widget input {
    color: #222 !important;
}

.swal2-container {
    z-index: 999999 !important;
}

/* === SWIPER PAGINATION =============================== */
.swiper-pagination6 .swiper-pagination-bullet {
    height: auto;
    border-radius: 50%;
    transition: all var(--m1-transition);
}

.swiper-pagination6 .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border: 2px solid var(--site-cor, #4F46E5);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.flat-tabs.style2 .tab-title li:hover,
.flat-tabs.style2 .tab-title li.active,
.wg-dream .owl-dots .owl-dot.active {
    background-color: var(--site-cor, #4F46E5);
}

/* === ACCESSIBILITY =================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--site-cor, #4F46E5);
    outline-offset: 2px;
}

/* === UTILITY OVERRIDES =============================== */
/* Remove pseudo-elements generating random content */
p::before, div::before {
    content: none !important;
}

.p-12 {
    display: flex;
    align-items: center;
}

.text-address i {
    margin-right: 3px;
}

.post {
    margin: 0 2rem;
}

#display img {
    object-fit: contain;
    border-radius: var(--m1-radius-sm);
}

#display ol li {
    list-style: auto;
}

#display ul li {
    list-style: circle;
}

#display ol, #display ul {
    margin-left: 2rem;
}

#display table {
    width: 100% !important;
    text-align: center;
    border-radius: var(--m1-radius-sm);
    overflow: hidden;
}

#display a {
    color: var(--site-cor, #4F46E5);
    text-decoration: underline;
}

#display strong {
    font-weight: bold;
}

#display iframe {
    width: 100%;
    height: 30vh;
    border-radius: var(--m1-radius-sm);
}

#display p {
    color: var(--m1-text-secondary);
    line-height: 1.7;
}

#display p > img {
    position: relative !important;
    left: 50% !important;
    transform: translate(-50%) !important;
    height: auto !important;
    width: 90vw !important;
    border-radius: var(--m1-radius);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* === ANIMATIONS ====================================== */
@keyframes m1-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heading-section {
    animation: m1-fadeInUp 600ms ease-out;
}

/* Smooth image loading */
img {
    transition: opacity 300ms ease;
}

img[src=""] {
    opacity: 0;
}

/* === RESPONSIVE ====================================== */
@media (max-width: 1199px) {
    .flat-about .heading-about {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .modelo1-gallery {
        flex-direction: column;
    }

    .modelo1-gallery .modelo1-gallery-main,
    .modelo1-gallery .modelo1-gallery-side {
        flex: 1 1 100%;
    }

    .modelo1-gallery-main img,
    .modelo1-gallery-side .box-img-half img,
    .modelo1-gallery-overlay img {
        max-height: 320px;
        aspect-ratio: 16 / 10;
    }

    .flat-property-detail .wrap-house {
        flex-direction: column;
        gap: 16px;
    }

    .flat-property-detail .box-2.text-end {
        text-align: left !important;
    }

    .imovel_detalhe_overview-icon {
        width: 33%;
    }

    .flat-about .heading-about {
        padding-right: 0;
        margin-bottom: 32px;
    }

    #contato_home .wrap-contact {
        margin-top: 32px;
    }

    #footer {
        padding: 48px 0 36px;
    }
}

@media (max-width: 767px) {
    .modelo1-property-card .content {
        padding: 16px 18px 18px;
    }

    .modelo1-image-detail img {
        max-height: 45vh;
        aspect-ratio: 4 / 3;
    }

    .heading-section h2 {
        font-size: 26px !important;
        line-height: 1.2;
    }

    .heading-section.center h2::after {
        width: 36px;
    }

    .title-heading {
        font-size: 24px;
        line-height: 1.25;
    }

    .imovel_detalhe_overview-icon {
        width: 50%;
    }

    .col-lg-8 .post {
        margin: auto;
    }

    .post {
        margin: 0 1rem;
    }

    #display p > img {
        width: 100% !important;
    }

    .wrap-style {
        padding: 20px;
    }

    #contato_home .wrap-contact {
        padding: 24px;
    }

    .flat-contact-page .comments {
        padding: 24px;
    }

    #footer .group-icon {
        padding: 24px 20px;
        margin-bottom: 16px;
    }

    #blog_home .box .images img {
        height: 180px !important;
    }
}

@media (max-width: 600px) {
    .col-lg-8 .post {
        margin: 0 0.5rem;
    }

    .modelo1-property-card {
        border-radius: var(--m1-radius-sm);
    }

    .grupo_select_gen,
    .group_select_gen {
        width: 100% !important;
        flex: 1 1 100%;
    }

    .price-group .inner.flex-wrap {
        gap: 10px;
    }

    .modelo1-image-detail img {
        max-height: 38vh;
    }

    .flat-property-detail .icon-boxs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .heading-section.center {
        margin-bottom: 32px;
    }

    .slider .content.po-content-two {
        padding: 20px;
        border-radius: var(--m1-radius);
    }

    #beneficios_home .box {
        padding: 24px 20px;
    }
}

/* === PRINT =========================================== */
@media print {
    #header,
    #footer,
    .widget-logo-footer,
    .widget-bottom-footer,
    #cookie-banner,
    .button-go,
    .sc-button {
        display: none !important;
    }

    .modelo1-property-card,
    .wrap-style {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
