/* Real Estate Premium Theme Styles
   Extracted from render_real_estate_styles() for better caching
   Cache busting: v1.0.0
*/

body.site-type-imobiliaria {
    background: linear-gradient(180deg, #f7f5f0 0%, #ffffff 28%, #f7f5f0 100%);
    color: #1e2430;
    font-family: var(--font-family);
}

.site-type-imobiliaria h1,
.site-type-imobiliaria h2,
.site-type-imobiliaria h3,
.site-type-imobiliaria h4,
.site-type-imobiliaria h5,
.site-type-imobiliaria h6 {
    font-family: var(--font-heading);
}

.site-type-imobiliaria .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 245, 240, 0.92) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(20, 38, 61, 0.08);
    box-shadow: 0 18px 50px rgba(20, 38, 61, 0.06);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-type-imobiliaria .site-header .container {
    max-width: 1240px;
}

.site-type-imobiliaria .site-branding a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 32px rgba(20, 38, 61, 0.08);
}

.site-type-imobiliaria .site-logo {
    max-height: 56px;
    width: auto;
}

.site-type-imobiliaria .site-nav {
    gap: 0.25rem;
}

.site-type-imobiliaria .site-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #314054 !important;
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

.site-type-imobiliaria .site-nav a:hover,
.site-type-imobiliaria .site-nav a.active {
    background: rgba(var(--primary-rgb, 20, 38, 61), 0.08);
    color: var(--primary, #14263D) !important;
}

.page-home.site-type-imobiliaria .site-header.header-home-top {
    background-color: rgba(20, 38, 61, 0.18) !important;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.page-home.site-type-imobiliaria .site-header.header-home-top .site-nav a,
.page-home.site-type-imobiliaria .site-header.header-home-top .menu-toggle {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.38);
}

.page-home.site-type-imobiliaria .site-header.header-home-top .site-branding a {
    background: rgba(255, 255, 255, 0.92);
}

.page-home.site-type-imobiliaria .site-header.header-home-top .site-nav a:hover,
.page-home.site-type-imobiliaria .site-header.header-home-top .site-nav a.active {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
}

.site-type-imobiliaria .site-footer,
.site-type-imobiliaria .site-footer-real-estate {
    background-color: #0d1b2b !important;
    color: #edf2f7;
}

.site-type-imobiliaria .site-footer-real-estate {
    position: relative;
    overflow: hidden;
}

.site-type-imobiliaria .site-footer h5,
.site-type-imobiliaria .site-footer p,
.site-type-imobiliaria .site-footer a {
    color: #edf2f7 !important;
}

.site-type-imobiliaria .site-footer hr {
    border-color: rgba(255, 255, 255, 0.12);
}

.site-footer-real-estate .site-logo {
    max-height: 88px;
}

.site-footer-real-estate .row > div:not(:first-child) {
    position: relative;
}

.site-footer-real-estate .row > div:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -0.2rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.site-footer-real-estate .btn.btn-light,
.site-footer-real-estate .btn.btn-warning {
    background: linear-gradient(135deg, var(--secondary, #C9A646), #b98f35) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.site-footer-real-estate .btn.btn-light:hover,
.site-footer-real-estate .btn.btn-warning:hover {
    filter: brightness(1.05);
}

.real-estate-hero-slider {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 7rem 0 2.25rem;
}

.real-estate-hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.36));
    pointer-events: none;
}

.real-estate-hero-search-wrap {
    position: relative;
    z-index: 2;
}

.real-estate-hero-search-bar {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr 1.15fr 190px;
    gap: 0.8rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    padding: 0.85rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.real-estate-hero-search-bar .form-control,
.real-estate-hero-search-bar .form-select {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(20, 38, 61, 0.08);
    background: #fcfbf8;
    color: #1e2430;
}

.real-estate-hero-search-button {
    min-height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--secondary, #C9A646), #b98f35);
    color: #fff;
    font-weight: 800;
}

.real-estate-intro-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.real-estate-intro-card h1 {
    font-size: clamp(2.2rem, 4.6vw, 4.25rem);
    line-height: 1.04;
    color: var(--primary, #14263D);
    margin: 1.1rem 0 1rem;
}

.real-estate-intro-card p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #556274;
    margin: 0 auto;
    max-width: 720px;
}

.real-estate-button-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.real-estate-btn-large {
    min-width: 280px;
}

.real-estate-page-banner {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 0 4.5rem;
}

.real-estate-page-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(10, 21, 36, 0.18));
}

.real-estate-page-banner-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.real-estate-page-banner-copy h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    margin: 1rem 0 0.85rem;
}

.real-estate-page-banner-copy p {
    color: rgba(248, 250, 252, 0.84);
    font-size: 1.04rem;
    line-height: 1.8;
}

.property-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb, 201, 166, 70), 0.14);
    color: var(--secondary, #C9A646);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-search-section {
    position: relative;
    overflow: hidden;
}

.property-search-section::before,
.property-search-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.property-search-section::before {
    width: 340px;
    height: 340px;
    right: -80px;
    top: 30px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb, 201, 166, 70), 0.18) 0%, transparent 72%);
}

.property-search-section::after {
    width: 300px;
    height: 300px;
    left: -100px;
    bottom: -60px;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 20, 38, 61), 0.12) 0%, transparent 75%);
}

.property-search-shell {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 240, 0.88));
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 36px;
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 34px 90px rgba(20, 38, 61, 0.08);
}

.property-search-section-hero .property-search-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.88fr);
    align-items: center;
    gap: 2rem;
}

.property-search-section-compact .property-search-shell {
    display: block;
    max-width: 1180px;
    margin: 0 auto;
}

.property-search-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    color: var(--primary, #14263D);
    margin: 1rem 0 0.9rem;
    max-width: 10ch;
}

.property-search-copy p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #556274;
    max-width: 640px;
    margin-bottom: 0;
}

.property-search-copy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.property-search-form-shell {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 30px;
    padding: 1.25rem;
    box-shadow: 0 24px 55px rgba(20, 38, 61, 0.1);
}

.property-search-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: center;
}

.property-search-form-grid .form-control,
.property-search-form-grid .form-select {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(20, 38, 61, 0.08);
    background: #fcfbf8;
    color: #1e2430;
    box-shadow: none;
}

.property-search-form-grid .form-control:focus,
.property-search-form-grid .form-select:focus {
    border-color: rgba(var(--secondary-rgb, 201, 166, 70), 0.52);
    box-shadow: 0 0 0 4px rgba(var(--secondary-rgb, 201, 166, 70), 0.12);
}

.property-search-button {
    min-height: 56px;
    border-radius: 16px;
    font-weight: 700;
    background: var(--primary, #14263D);
    border-color: var(--primary, #14263D);
    color: #fff;
}

.property-search-button:hover {
    background: var(--primary, #14263D);
    border-color: var(--primary, #14263D);
}

.property-search-form-grid .property-search-button {
    grid-column: span 2;
}

.property-search-extra {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    grid-column: span 2;
}

.feature-grid {
    padding: 5rem 0 !important;
}

.feature-grid h2,
.feature-grid p {
    color: #f8fafc !important;
}

.feature-grid .card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.feature-grid .card h4 {
    font-family: var(--font-heading);
    color: var(--primary, #14263D) !important;
}

.feature-grid .card p {
    color: #5b6678 !important;
}

.property-card {
    background: #fff;
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(20, 38, 61, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 75px rgba(20, 38, 61, 0.14);
}

.property-card-media {
    display: block;
    aspect-ratio: 16 / 11;
    background: #edf2f7;
    overflow: hidden;
}

.property-card-media img,
.property-detail-media img,
.real-estate-side-visual img,
.real-estate-banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-card-body {
    padding: 1.5rem;
}

.property-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.property-card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb, 201, 166, 70), 0.14);
    color: var(--secondary, #C9A646);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.property-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    color: var(--primary, #14263D);
}

.property-card-location {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.property-card-summary {
    color: #334155;
    line-height: 1.7;
    min-height: 4.9em;
}

.property-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.property-card-features span {
    background: #f8f7f3;
    border: 1px solid #ece8de;
    border-radius: 999px;
    padding: 0.48rem 0.78rem;
    font-size: 0.85rem;
    color: #334155;
}

.property-card-button {
    margin-top: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.15rem;
    width: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary, #C9A646), #b98f35);
    color: #fff !important;
    font-weight: 700;
}

.property-card-button:hover {
    background: linear-gradient(135deg, var(--primary, #14263D), #1F3552);
    color: #fff !important;
}

.property-card-features-lg span {
    font-size: 0.95rem;
}

.property-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
    color: #475569;
    font-weight: 700;
}

.property-detail-media {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
    background: #e2e8f0;
}

.property-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary, #14263D);
    margin-top: 1rem;
}

.property-lead-form,
.real-estate-surface {
    background: #fff;
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 28px;
    padding: 1.6rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.real-estate-side-visual,
.real-estate-banner-visual {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(20, 38, 61, 0.14);
    min-height: 320px;
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.real-estate-content h2,
.real-estate-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    color: var(--primary, #14263D);
    margin-bottom: 1rem;
}

.real-estate-content p,
.real-estate-copy p {
    color: #5b6678;
    line-height: 1.8;
    font-size: 1.05rem;
}

.real-estate-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.real-estate-stat {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: #f8f7f3;
    border: 1px solid #ece8de;
}

.real-estate-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary, #14263D);
}

.real-estate-stat span {
    display: block;
    font-size: 0.92rem;
    color: #64748b;
}

.real-estate-banner {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    background: linear-gradient(135deg, var(--primary, #14263D), #1F3552);
    color: #fff;
    box-shadow: 0 30px 70px rgba(20, 38, 61, 0.18);
}

.real-estate-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 38, 61, 0.82) 0%, rgba(20, 38, 61, 0.4) 50%, transparent 80%);
}

.real-estate-banner-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 2rem;
    align-items: center;
}

.real-estate-banner-copy h2,
.real-estate-banner-copy p {
    color: #fff !important;
}

.real-estate-banner-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.real-estate-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.real-estate-btn-primary,
.real-estate-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    font-weight: 700;
    text-decoration: none !important;
}

.real-estate-btn-primary {
    background: var(--secondary, #C9A646);
    color: #fff !important;
}

.real-estate-btn-secondary {
    background: #ffffff;
    color: var(--primary, #14263D) !important;
    border: 1px solid rgba(20, 38, 61, 0.12);
    box-shadow: 0 16px 34px rgba(20, 38, 61, 0.08);
}

.real-estate-btn-secondary:hover {
    background: #f8f7f3;
    color: var(--primary, #14263D) !important;
}

.real-estate-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.real-estate-service-card {
    background: #fff;
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 26px;
    padding: 1.6rem;
    box-shadow: 0 22px 50px rgba(20, 38, 61, 0.06);
}

.real-estate-service-card i {
    font-size: 2rem;
    color: var(--secondary, #C9A646);
    margin-bottom: 1rem;
}

.real-estate-service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--primary, #14263D);
}

.real-estate-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.real-estate-contact-card {
    background: #fff;
    border: 1px solid rgba(20, 38, 61, 0.08);
    border-radius: 24px;
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(20, 38, 61, 0.06);
}

.real-estate-contact-card small {
    display: block;
    color: #7b8796;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.real-estate-contact-card strong,
.real-estate-contact-card a {
    color: var(--primary, #14263D) !important;
    font-size: 1rem;
}

.testimonials-section {
    background: #fff;
}

.testimonials-section .card {
    border-radius: 24px;
    border: 1px solid rgba(20, 38, 61, 0.08);
    box-shadow: 0 18px 40px rgba(20, 38, 61, 0.06);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .real-estate-hero-search-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .real-estate-hero-search-button {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    .property-search-section-hero .property-search-shell,
    .real-estate-banner-grid,
    .real-estate-services-grid,
    .real-estate-contact-grid {
        grid-template-columns: 1fr;
    }

    .property-search-copy h2 {
        max-width: none;
    }

    .real-estate-stats {
        grid-template-columns: 1fr 1fr;
    }

    .real-estate-hero-slider {
        padding: 6.5rem 0 1.5rem;
        min-height: 520px;
    }

    .real-estate-hero-search-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .real-estate-hero-search-button {
        grid-column: span 2;
    }

    .site-footer-real-estate .row > div::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .property-search-shell {
        padding: 1.2rem;
        border-radius: 28px;
    }

    .property-search-copy h2,
    .real-estate-content h2,
    .real-estate-section-title,
    .real-estate-banner-copy h2 {
        font-size: 2rem;
        max-width: none;
    }

    .property-search-copy-actions,
    .real-estate-button-row {
        flex-direction: column;
    }

    .property-search-form-grid {
        grid-template-columns: 1fr;
    }

    .property-search-form-grid .property-search-button,
    .property-search-extra {
        grid-column: span 1;
    }

    .property-search-extra {
        grid-template-columns: 1fr;
    }

    .property-card-summary {
        min-height: auto;
    }

    .real-estate-stats {
        grid-template-columns: 1fr;
    }

    .real-estate-banner {
        padding: 1.2rem;
        border-radius: 26px;
    }

    .real-estate-hero-search-bar {
        grid-template-columns: 1fr;
        padding: 0.9rem;
    }

    .real-estate-hero-search-button {
        grid-column: span 1;
    }

    .real-estate-page-banner {
        padding: 7rem 0 3.2rem;
    }

    .real-estate-intro-card h1 {
        font-size: 2.6rem;
    }

    .real-estate-btn-large {
        width: 100%;
        min-width: 0;
    }

    .site-footer-real-estate .btn.btn-light {
        width: 100%;
        justify-content: center;
    }
}
