@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Tema Realta Imóveis: Preto (predominante), Vermelho e Branco */
    --ink: #f8fafc;
    --ink-muted: #94a3b8;
    --paper: #0d111d;
    --surface: #0d111d;
    --surface-card: #121824;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --accent-soft: rgba(220, 38, 38, 0.1);
    --success: #16a34a;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 14px 32px rgba(220, 38, 38, 0.25);
    --page-bg: #07090e;
    --page-bg-alt: #0a0d14;
    --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-display: "Outfit", system-ui, sans-serif;
    --container-max-width: 1280px;
    --container-padding: clamp(16px, 4vw, 48px);
    --section-spacing: clamp(40px, 6vw, 120px);
    --title-content-spacing: clamp(20px, 3vw, 40px);
    --card-gap: 24px;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    margin: 0;
    min-height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: #f8fafc;
    background-color: var(--page-bg);
}

/* Home builder grid */
.home-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.builder-preview-frame .home-grid {
    min-width: 1080px;
}

.home-grid-item {
    min-width: 0;
}

/* Home builder UI — pré-visualização ampla no centro, edição na lateral */
.builder-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 1.25rem;
    align-items: start;
}

.builder-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.builder-main-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.builder-main-toolbar h2 {
    margin: 0;
    font-size: 1.15rem;
}

.builder-sidebar {
    position: sticky;
    top: 0.75rem;
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.builder-preview-main {
    flex: 1;
    min-height: 0;
}

.builder-preview-main .builder-preview-frame {
    min-height: min(72vh, 880px);
    max-height: min(85vh, 960px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1100px) {
    .builder-shell {
        grid-template-columns: 1fr;
    }

    .builder-sidebar {
        position: static;
        max-height: none;
        order: 2;
    }

    .builder-main {
        order: 1;
    }

    .builder-preview-main .builder-preview-frame {
        min-height: 50vh;
        max-height: none;
    }
}

.builder-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.builder-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: .75rem;
    padding: .75rem;
    border: 1px dashed rgba(148,163,184,.25);
    border-radius: 16px;
    background: rgba(2,6,23,.12);
}

.builder-block {
    min-height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.22);
    background: rgba(15,23,42,.45);
    box-shadow: 0 8px 22px rgba(2,6,23,.2);
    cursor: grab;
    position: relative;
    padding-bottom: 1.25rem;
    display: grid;
    place-items: center;
    user-select: none;
}

.builder-block:active {
    cursor: grabbing;
}

.builder-block--selected {
    outline: 2px solid rgba(226,184,74,.75);
    outline-offset: 2px;
}

.builder-block-badge {
    font-weight: 900;
    font-size: .85rem;
    color: #e2e8f0;
    letter-spacing: .04em;
}

.builder-block-hint {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .72rem;
    color: rgba(148, 163, 184, .95);
    white-space: nowrap;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.builder-preview-frame {
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(2,6,23,.12);
    padding: .25rem;
}

.builder-color-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.builder-color-input {
    width: 52px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

.builder-color-input::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.builder-color-input::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.builder-block-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px dashed rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.12);
}

.builder-block--list {
    width: 100%;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    place-items: unset;
    padding: 0.5rem 0.75rem 1.15rem;
    box-sizing: border-box;
}

.builder-block--list .builder-block-badge {
    font-size: 0.8rem;
}

.builder-block--list .builder-block-hint {
    position: static;
    transform: none;
    margin-top: 0.2rem;
    align-self: flex-start;
    max-width: 100%;
}

/* ============================================================================
   DESIGN SYSTEM CONTAINER & LAYOUT PÚBLICO
   ============================================================================ */
.site-public {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: var(--page-bg);
    color: var(--ink);
    font-family: var(--font-sans);
}

.site-main-container,
.site-header-inner,
.site-footer-container,
.hero-inner,
.dr-scrub-header,
.about-contact-section {
    max-width: var(--container-max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
}

/* ============================================================================
   NAVBAR & HEADER COM GLASSMORPHISM
   ============================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(13, 17, 29, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.site-header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.brand-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.15rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brand-dot {
    color: #dc2626;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    position: relative;
    padding: 0.4rem 0;
}

.site-nav a:hover,
.site-nav a.active {
    color: #ffffff;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc2626;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

.btn-broker-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-broker-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.38);
    filter: brightness(1.08);
}

.site-main {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.site-main-container {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

/* ============================================================================
   HERO SECTION PROFISSIONAL
   ============================================================================ */
.hero {
    position: relative;
    padding: calc(var(--section-spacing) * 0.8) 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hero-eyebrow-wrapper {
    margin-bottom: 1.25rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #475569;
    max-width: 48ch;
    margin: 0 0 2rem 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-hero-cta {
    padding: 0.95rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
}

.btn-hero-secondary {
    padding: 0.95rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: #f8fafc;
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-2px);
}

.hero-trust-indicators {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626;
}

.trust-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
}

.hero-media-wrapper {
    position: relative;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    position: relative;
    background: #0f172a;
}

.hero-card img {
    width: 100%;
    height: clamp(380px, 45vh, 480px);
    object-fit: cover;
    display: block;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    border-radius: 18px;
    padding: 1rem 1.35rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 10;
}

.floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    display: grid;
    place-items: center;
}

.hero-floating-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.hero-floating-card span {
    font-size: 0.82rem;
    color: #64748b;
}

.hero-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-card--pan-edit {
    position: relative;
    touch-action: none;
    cursor: grab;
    user-select: none;
}

.hero-card--pan-edit img {
    pointer-events: none;
}

.hero-card--pan-edit.hero-card--panning {
    cursor: grabbing;
}

.hero-pan-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-pan-cross {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(74, 222, 128, 0.95);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.35);
    position: relative;
}

.hero-pan-cross::before,
.hero-pan-cross::after {
    content: "";
    position: absolute;
    background: rgba(74, 222, 128, 0.95);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-pan-cross::before {
    width: 2px;
    height: 14px;
}

.hero-pan-cross::after {
    width: 14px;
    height: 2px;
}

.hero-pan-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.75);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.property-video-block {
    max-width: 900px;
}

.property-video-el {
    width: 100%;
    max-height: min(70vh, 520px);
    border-radius: calc(var(--radius) + 2px);
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.property-video-iframe-shell {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0f172a;
}

.property-video-iframe-shell iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 3rem clamp(1rem, 3vw, 2.5rem);
    box-sizing: border-box;
    color: #0f172a;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    margin: 0 0 0.35rem;
    color: #0f172a;
    font-weight: 700;
}

.section-sub {
    color: #64748b;
    margin: 0 0 1.75rem;
    font-size: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.promo-card {
    background: var(--surface-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.promo-card:hover {
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.promo-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

.promo-card-media img,
.promo-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-card-media img,
.promo-card:hover > img {
    transform: scale(1.05);
}

.promo-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.promo-card-price {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.promo-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    background: var(--surface-card);
}

.promo-card h3,
.promo-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.35;
}

.promo-card p,
.promo-card-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin: 0;
}

.promo-card-location svg {
    color: #dc2626;
    flex-shrink: 0;
}

.promo-card-specs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-weight: 600;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 0.25rem;
}

.spec-dot {
    color: var(--line);
}

.promo-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: #dc2626;
    margin-top: auto;
    padding-top: 0.3rem;
}

.promo-card:hover .promo-card-cta {
    color: #b91c1c;
}

.promo-card-meta {
    margin: 0;
    font-size: 0.88rem;
}

.neighborhood-strip {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.neighborhood-strip-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    color: inherit;
}

.neighborhood-strip-sub {
    margin: 0 0 1rem;
    font-size: 0.88rem;
}

.neighborhood-strip-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.neighborhood-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.neighborhood-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(184, 134, 11, 0.45);
}

.neighborhood-chip-count {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.12);
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
}

.builder-highlight-preview {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.65rem 0 0;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.builder-highlight-preview img {
    width: 120px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.builder-nb-pick-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 220px;
    overflow: auto;
    padding: 0.25rem 0;
}

.builder-nb-pick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    cursor: pointer;
}

.broker-strip {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.75rem;
    align-items: start;
    background: var(--surface-card);
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.75rem;
    box-shadow: var(--card-gray-shadow);
}

@media (max-width: 640px) {
    .broker-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .broker-strip img {
        margin: 0 auto;
    }
}

.broker-strip img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-soft);
}

.broker-strip h2 {
    font-family: var(--font-display);
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
}

.broker-meta {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.broker-bio {
    color: var(--ink-muted);
    line-height: 1.7;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.btn-outline {
    background: transparent;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.btn-outline:hover {
    background: #fef2f2;
}

.btn-dark {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.btn-dark:hover {
    filter: brightness(1.08);
}

.btn-whatsapp {
    background: #128c7e;
    color: #fff;
}

.btn-whatsapp:hover {
    filter: brightness(1.06);
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    background: var(--surface-card);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(100, 116, 139, 0.35);
    margin-bottom: 1.25rem;
    box-shadow: var(--card-gray-shadow);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
}

.field label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
}

.field input,
.field select {
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font: inherit;
}

.form-control {
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font: inherit;
    background: var(--surface);
    color: var(--ink);
}

.property-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 960px) {
    .property-row {
        grid-template-columns: 1fr;
    }
}

.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.property-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    background: var(--surface-card);
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-gray-shadow);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.property-card:hover {
    box-shadow: var(--card-gray-shadow-hover);
    border-color: rgba(148, 163, 184, 0.55);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .property-card {
        grid-template-columns: 1fr;
    }
}

.property-card img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
}

.property-card-body {
    padding: 1rem 1rem 1rem 0;
}

@media (max-width: 560px) {
    .property-card-body {
        padding: 0 1rem 1rem;
    }
}

.property-card-location {
    font-weight: 500;
    color: var(--ink-soft, #475569);
}

.property-card-desc {
    margin-top: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.045) 0%, rgba(15, 23, 42, 0.02) 100%);
    border: 1px solid rgba(100, 116, 139, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.property-card-desc-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
}

.property-card-desc-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--ink-soft, #334155);
}

.price-tag {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.map-panel {
    position: sticky;
    top: 5.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(100, 116, 139, 0.35);
    background: var(--surface-card);
    box-shadow: var(--card-gray-shadow);
}

.map-panel .map-host {
    height: 420px;
    width: 100%;
}

.detail-gallery-deck {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto 1.5rem;
    box-sizing: border-box;
}

.detail-gallery-deck__viewport {
    position: relative;
    width: 100%;
    min-height: min(58vh, 440px);
}

.detail-gallery-deck--multi .detail-gallery-deck__viewport {
    height: min(58vh, 440px);
    min-height: min(58vh, 440px);
}

.detail-gallery-deck--multi .detail-gallery-deck__card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 0;
}

.detail-gallery-deck--single .detail-gallery-deck__viewport {
    min-height: 0;
}

.detail-gallery-deck--single .detail-gallery-deck__card {
    position: relative;
    width: 100%;
    height: auto;
}

.detail-gallery-deck__card {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 18px;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.detail-gallery-deck__card:focus-visible {
    outline: 2px solid #e2b84a;
    outline-offset: 4px;
}

.detail-gallery-deck__card--front:hover {
    filter: brightness(1.03);
}

.detail-gallery-deck__card:not(.detail-gallery-deck__card--front):hover {
    filter: brightness(1.06);
}

.detail-gallery-deck__inner {
    display: block;
    width: 100%;
    height: 100%;
    min-height: min(58vh, 440px);
    border-radius: 18px;
    overflow: hidden;
    line-height: 0;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.32),
        0 18px 38px -12px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.detail-gallery-deck--single .detail-gallery-deck__inner {
    min-height: min(58vh, 440px);
    height: auto;
}

.detail-gallery-deck__card img {
    width: 100%;
    height: 100%;
    min-height: min(58vh, 440px);
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.detail-gallery-deck--single .detail-gallery-deck__card img {
    max-height: min(72vh, 560px);
}

.detail-gallery-hint {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.detail-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(1rem, 2.2vw, 1.75rem);
    align-items: start;
    margin: 0 0 2.5rem;
}

.detail-main-row .detail-description-float-card {
    max-width: none;
    margin: 0;
    min-width: 0;
}

.detail-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0;
}

.detail-side-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.35rem 1.45rem 1.45rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 10px 28px rgba(15, 23, 42, 0.1),
        0 26px 52px rgba(15, 23, 42, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transform: translateY(-3px);
}

.detail-side-card__title {
    margin: 0 0 1rem;
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.detail-price-card__value {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.detail-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.detail-stat-chip {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.65rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.detail-stat-chip__val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.detail-stat-chip__lbl {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.detail-cta-card.cta-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.35rem 1.45rem 1.45rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 10px 28px rgba(15, 23, 42, 0.1),
        0 26px 52px rgba(15, 23, 42, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transform: translateY(-3px);
}

.detail-description-float-card {
    position: relative;
    margin: 0 0 1.75rem;
    padding: 1.65rem 1.85rem 1.75rem;
    max-width: 920px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 12px 32px rgba(15, 23, 42, 0.11),
        0 32px 64px rgba(15, 23, 42, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    transform: translateY(-3px);
}

.detail-description-float-card--prose .detail-description-float-card__body {
    font-size: 1.04rem;
    line-height: 1.75;
    letter-spacing: 0.015em;
    word-break: break-word;
}

.detail-description-float-card__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.detail-description-float-card__body {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
}

.detail-description-float-card__address {
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 960px) {
    .detail-main-row {
        grid-template-columns: 1fr;
    }

    .detail-side-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .detail-side-stack .detail-side-card,
    .detail-side-stack .detail-cta-card {
        flex: 1 1 280px;
    }
}

@media (max-width: 560px) {
    .detail-gallery-deck__viewport {
        min-height: min(52vh, 360px);
    }

    .detail-gallery-deck--multi .detail-gallery-deck__viewport {
        height: min(52vh, 360px);
        min-height: min(52vh, 360px);
    }

    .detail-gallery-deck__inner,
    .detail-gallery-deck__card img {
        min-height: min(52vh, 360px);
    }

    .detail-gallery-deck--single .detail-gallery-deck__card img {
        max-height: 52vh;
    }

    .detail-description-float-card {
        padding: 1.25rem 1.2rem 1.35rem;
        border-radius: 16px;
    }

    .detail-side-card,
    .detail-cta-card.cta-panel {
        padding: 1.15rem 1.15rem 1.25rem;
        border-radius: 16px;
    }

    .detail-side-stack {
        flex-direction: column;
    }

    .detail-side-stack .detail-side-card,
    .detail-side-stack .detail-cta-card {
        flex: 1 1 auto;
    }

    .detail-gallery-hint {
        font-size: 0.65rem;
        right: 0.6rem;
        bottom: 0.6rem;
    }
}

.cta-panel {
    background: var(--surface-card);
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--card-gray-shadow);
}

.cta-panel h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-map {
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid var(--line);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
}

/* Admin */
/* Filho interativo: não quebra o grid de 2 colunas (aside | conteúdo). */
.admin-sidebar-root {
    display: contents;
}

.admin-shell {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    background: #f8fafc;
    background-color: #f8fafc;
}

.admin-sidebar-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) {
    grid-template-columns: 64px 1fr;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar {
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

    .admin-shell:has(#admin-sidebar-collapsed:checked) {
        grid-template-columns: 1fr;
    }

    .admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 64px;
        z-index: 40;
    }
}

.admin-sidebar {
    background: var(--page-bg-deep);
    color: var(--ink);
    padding: 1.25rem 1rem;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-head {
    flex-direction: column;
    margin-bottom: 0;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-brand-full,
.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-nav,
.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-footer {
    display: none;
}

.admin-sidebar-toggle-icon--expand {
    display: none;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-toggle-icon--collapse {
    display: none;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-toggle-icon--expand {
    display: inline;
}

.admin-sidebar-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.35);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.admin-sidebar-toggle:hover {
    background: rgba(148, 163, 184, 0.14);
    color: var(--ink);
}

.admin-sidebar-floating-toggle {
    display: none;
    margin-bottom: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 0.88rem;
    cursor: pointer;
    width: fit-content;
}

.admin-shell:has(#admin-sidebar-collapsed:checked) .admin-sidebar-floating-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.admin-sidebar-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-sidebar-footer .nav-link {
    color: var(--ink-muted);
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
}

.admin-sidebar .brand {
    color: var(--ink);
    display: block;
    margin-bottom: 1.5rem;
}

.admin-nav a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.admin-nav a:hover,
.admin-nav button:hover {
    background: rgba(148, 163, 184, 0.10);
    color: var(--ink);
}

.admin-nav .active {
    background: rgba(184, 134, 11, 0.12);
    color: var(--ink);
}

.admin-content {
    padding: 1.5rem clamp(1rem, 2vw, 2rem);
    width: 100%;
    box-sizing: border-box;
}

.admin-content h1 {
    color: #0f172a;
    font-weight: 800;
}

.admin-content > p.muted {
    color: #475569;
}

.admin-card,
.admin-shell .rz-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    max-width: min(100%, 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03) !important;
    color: #0f172a !important;
    box-sizing: border-box;
}

.admin-card h2,
.admin-shell .rz-card h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a !important;
}

.admin-card h3,
.admin-shell .rz-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a !important;
}

.admin-card p,
.admin-card li,
.admin-shell .rz-card p,
.admin-shell .rz-card li {
    color: #334155 !important;
}

.admin-card .muted,
.admin-card p.muted,
.admin-shell .muted,
.admin-shell p.muted {
    color: #64748b !important;
}

/* Labels e Campos no Painel */
.admin-shell .field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    width: 100%;
}

.admin-shell .field label,
.admin-shell .field-label,
.admin-card .field label,
.admin-shell .rz-card .field-label {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #334155 !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}

/* Inputs, Selects, Textareas e Componentes Radzen no Admin */
.admin-shell .form-control,
.admin-shell input[type="text"]:not(.rz-numeric-input):not(.admin-sidebar-checkbox),
.admin-shell input[type="number"],
.admin-shell input[type="email"],
.admin-shell input[type="tel"],
.admin-shell input[type="password"],
.admin-shell select.form-control,
.admin-shell select:not(.custom-select-hidden),
.admin-shell textarea.form-control,
.admin-shell .rz-textbox,
.admin-shell .rz-textarea,
.admin-shell .rz-dropdown,
.admin-shell .rz-numeric,
.admin-shell .rz-datepicker {
    background: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 16px !important;
    font-family: var(--font-sans) !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s !important;
}

.admin-shell .form-control:focus,
.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.admin-shell .rz-textbox:focus,
.admin-shell .rz-dropdown.rz-state-focus,
.admin-shell .rz-numeric.rz-state-focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    outline: none !important;
}

.admin-shell ::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    opacity: 1;
}

/* Customização Radzen Numeric */
.admin-shell .rz-numeric {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.admin-shell .rz-numeric .rz-numeric-input {
    background: transparent !important;
    border: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 16px !important;
    padding: 0 0.85rem !important;
    height: 100% !important;
    width: 100% !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.admin-shell .rz-numeric .rz-numeric-button {
    background: #f8fafc !important;
    color: #64748b !important;
    border: none !important;
    border-left: 1px solid #cbd5e1 !important;
    width: 28px !important;
    height: 50% !important;
}

.admin-shell .rz-numeric .rz-numeric-button:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Customização Radzen Dropdown */
.admin-shell .rz-dropdown {
    padding: 0 0.75rem !important;
    display: flex !important;
    align-items: center !important;
}

.admin-shell .rz-dropdown-label {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 42px !important;
    padding: 0 !important;
}

.admin-shell .rz-dropdown-trigger {
    color: #64748b !important;
    width: 24px !important;
}

.admin-shell .rz-dropdown-panel {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px !important;
    padding: 4px !important;
    z-index: 2000 !important;
}

.admin-shell .rz-dropdown-item {
    color: #0f172a !important;
    font-size: 0.95rem !important;
    padding: 0.6rem 0.85rem !important;
    border-radius: 8px !important;
}

.admin-shell .rz-dropdown-item:hover,
.admin-shell .rz-dropdown-item.rz-state-highlight {
    background: rgba(220, 38, 38, 0.08) !important;
    color: #dc2626 !important;
    font-weight: 600 !important;
}

/* Customização Radzen Switch */
.admin-shell .rz-switch {
    width: 46px !important;
    height: 24px !important;
    border-radius: 999px !important;
    transition: background-color 0.2s !important;
    flex-shrink: 0 !important;
}

.admin-shell .rz-switch.rz-switch-checked {
    background-color: #dc2626 !important;
}

.admin-shell .rz-switch:not(.rz-switch-checked) {
    background-color: #cbd5e1 !important;
}

.admin-shell .rz-switch-circle {
    width: 18px !important;
    height: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Switch Card Component */
.switch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-height: 56px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s;
    width: 100%;
}

.switch-card:hover {
    border-color: #94a3b8;
}

.switch-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.switch-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    cursor: pointer;
}

.switch-card-sub {
    font-size: 0.75rem;
    color: #64748b;
}

/* Grid de Formulário de Imóveis (Desktop & Mobile) */
.property-form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    width: 100%;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }
.col-2  { grid-column: span 2; }

@media (max-width: 960px) {
    .col-8 { grid-column: span 12; }
    .col-6 { grid-column: span 12; }
    .col-4 { grid-column: span 6; }
    .col-3 { grid-column: span 6; }
}

@media (max-width: 640px) {
    .property-form-grid {
        gap: 0.85rem;
    }
    
    .col-4 { grid-column: span 12; }
    .col-6 { grid-column: span 6; }
    .col-3 { grid-column: span 6; }
    
    .switch-card-col {
        grid-column: span 12 !important;
    }
}

.admin-card a:not(.btn) {
    color: #0f4c6e;
    font-weight: 600;
}

.admin-card a:not(.btn):hover {
    color: var(--accent-dark);
}

.admin-card .btn-outline {
    color: #0f172a;
    border-color: rgba(71, 85, 105, 0.45);
}

.admin-card .btn-outline:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.admin-card .chip {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.admin-card .kanban-settings-summary {
    color: #0f172a;
}

.crm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 0.75rem;
    max-width: none;
}

.admin-card.crm-kpi {
    margin-bottom: 0;
    min-height: 92px;
}

.crm-kpi-label {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.crm-kpi-value {
    font-size: 1.55rem;
    font-weight: 800;
    font-family: var(--font-display, ui-sans-serif, system-ui, sans-serif);
}

.crm-pipeline-board {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    max-width: none;
    align-items: flex-start;
}

.crm-column {
    flex: 0 0 268px;
    min-height: 420px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 0.55rem;
    border: 1px dashed rgba(100, 116, 139, 0.38);
}

.crm-column h3 {
    font-size: 0.82rem;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.crm-card {
    border-radius: 10px;
    padding: 0.65rem;
    margin-bottom: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(100, 116, 139, 0.25);
    cursor: grab;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.crm-card:active {
    cursor: grabbing;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-stack textarea {
    min-height: 120px;
    resize: vertical;
}

.login-shell {
    width: 100%;
    min-height: calc(100dvh - 7.5rem);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
    background: transparent;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--surface-card);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem;
    border: 1px solid rgba(100, 116, 139, 0.35);
    box-shadow: var(--card-gray-shadow);
}

.login-card h1 {
    color: var(--ink);
}

.muted {
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.error-banner {
    background: #fef2f2;
    color: #991b1b;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.stat-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.stat-inline span strong {
    color: var(--ink);
}

/* Ficha do imóvel: coluna de texto sobre fundo azul */
.site-main .property-row > div:first-child:not(.property-list) {
    color: #e2e8f0;
}

.site-main .property-row > div:first-child:not(.property-list) .broker-bio {
    color: #cbd5e1;
}

.site-main .property-row > div:first-child:not(.property-list) .price-tag {
    color: #e2b84a;
}

.site-main .property-row > div:first-child:not(.property-list) .stat-inline {
    color: #94a3b8;
}

.site-main .property-row > div:first-child:not(.property-list) .stat-inline strong {
    color: #f1f5f9;
}

.site-main .property-row > div:first-child:not(.property-list) .muted {
    color: #94a3b8;
}

/* Cards e faixas claras: título herdava cor clara da .section — contraste ruim */
.site-main .detail-description {
    color: #cbd5e1;
}

.site-main .promo-card {
    color: var(--ink);
}

.site-main .promo-card p {
    color: #475569;
}

.site-main .broker-strip {
    color: var(--ink);
}

.site-main .broker-strip h2 {
    color: var(--ink);
}

.site-main .broker-strip .broker-bio {
    color: #475569;
}

.site-main .property-card {
    color: var(--ink);
}

.site-main .property-card h3 {
    color: var(--ink);
}

.site-main .property-card .price-tag {
    color: var(--accent-dark);
}

.site-main .property-card .muted {
    color: #64748b;
}

.site-main .cta-panel {
    color: var(--ink);
}

.site-main .cta-panel h3 {
    color: var(--ink);
}

.site-main .cta-panel .muted {
    color: #64748b;
}

.site-main .detail-cta-card.cta-panel,
.site-main .detail-cta-card.cta-panel h3,
.site-main .detail-side-card__title {
    color: #0f172a;
}

.site-main .detail-cta-card.cta-panel .muted {
    color: #64748b;
}

.site-main .map-panel > p.muted {
    color: #64748b;
}

/* Lightbox — galeria do imóvel */
.property-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 4500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    background: rgba(3, 10, 22, 0.92);
    backdrop-filter: blur(4px);
}

.property-lightbox-panel {
    position: relative;
    max-width: min(96vw, 1280px);
    width: 100%;
    max-height: 92vh;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.property-lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #f8fafc;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.property-lightbox-close:hover {
    background: rgba(30, 41, 59, 0.95);
}

.property-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.15rem;
    transition: background 0.15s ease;
}

.property-lightbox-nav:hover {
    background: rgba(30, 41, 59, 0.95);
}

.property-lightbox-nav--prev {
    left: 0.25rem;
}

.property-lightbox-nav--next {
    right: 0.25rem;
}

@media (max-width: 640px) {
    .property-lightbox-nav--prev {
        left: 0;
    }

    .property-lightbox-nav--next {
        right: 0;
    }
}

.property-lightbox-counter {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.content article {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page .top-row {
    display: none;
}

.page .sidebar {
    display: none;
}

.page main {
    padding: 0;
}

.page .content {
    padding-top: 0;
}

.site-main .section > a:not(.btn):not(.property-card) {
    color: #93c5fd;
}

.site-main .section > a:not(.btn):not(.property-card):hover {
    color: #bfdbfe;
}

/* Modal (login / erros) */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    box-sizing: border-box;
    background: rgba(3, 10, 22, 0.75);
    backdrop-filter: blur(6px);
}

.modal-panel {
    width: 100%;
    max-width: 420px;
    background: var(--surface-card);
    border: 1px solid rgba(100, 116, 139, 0.4);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: var(--card-gray-shadow-hover);
    color: var(--ink);
}

.modal-panel h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
}

.modal-panel p {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-muted);
}

.modal-panel .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.modal-panel .btn-outline {
    color: var(--ink);
    border-color: rgba(71, 85, 105, 0.45);
}

.modal-panel .btn-outline:hover {
    background: rgba(15, 23, 42, 0.06);
    color: var(--ink);
}

.modal-panel--danger h2 {
    color: #991b1b;
}

/* Scheduling (Trello-like) */
.sched-settings {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 860px) {
    .sched-settings {
        grid-template-columns: 1fr;
    }
}

.sched-days {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .85rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .65rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(15,23,42,.28);
    color: #e2e8f0;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    user-select: none;
}

.chip input {
    accent-color: #e2b84a;
}

.sched-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 1rem;
}

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

.sched-actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 220px;
}

@media (max-width: 860px) {
    .sched-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
}

.sched-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .sched-board {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .sched-board {
        grid-template-columns: 1fr;
    }
}

.sched-col {
    background: rgba(2,6,23,.18);
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 14px;
    padding: .75rem;
    box-shadow: 0 10px 30px rgba(2,6,23,.18);
    min-height: 120px;
}

.sched-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
    margin-bottom: .75rem;
    padding: .25rem .25rem .5rem;
}

.sched-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(148,163,184,.22);
    border-radius: 14px;
    padding: .75rem .75rem .65rem;
    margin-bottom: .65rem;
    box-shadow: 0 10px 24px rgba(2,6,23,.18);
    transition: transform .12s ease, border-color .12s ease;
}

.sched-card:hover {
    transform: translateY(-1px);
    border-color: rgba(226,184,74,.45);
}

.sched-title {
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

.sched-sub {
    margin-top: .2rem;
    color: #94a3b8;
}

.sched-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .6rem;
}

/* Modal de agendamento (público) */
.modal-panel--wide {
    max-width: 980px;
}

.sched-modal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

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

.day-block {
    padding: .75rem;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,.18);
    background: rgba(2,6,23,.10);
    margin-bottom: .75rem;
}

.day-title {
    color: #e2e8f0;
    font-weight: 800;
    margin-bottom: .5rem;
}

.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.slot-btn {
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(15,23,42,.35);
    color: #e2e8f0;
    padding: .45rem .7rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.slot-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(226,184,74,.55);
}

.slot-btn--active {
    background: rgba(226,184,74,.18);
    border-color: rgba(226,184,74,.75);
    box-shadow: 0 10px 24px rgba(226,184,74,.10);
}

/* Calendário semanal no modal público */
.sched-calendar-panel {
    min-width: 0;
}

.sched-week-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
}

.sched-week-nav-btn {
    flex: 0 0 auto;
    padding: .35rem .65rem;
    min-width: 2.5rem;
    font-size: 1.15rem;
    line-height: 1;
}

.sched-week-title {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.sched-week-range {
    font-weight: 800;
    color: #f1f5f9;
    font-size: 1rem;
    text-transform: capitalize;
}

.sched-week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .45rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .sched-week-row {
        gap: .3rem;
    }

    .sched-day__dow {
        font-size: .62rem !important;
    }

    .sched-day__num {
        font-size: .95rem !important;
    }
}

.sched-day {
    border-radius: 12px;
    min-height: 4.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    padding: .4rem .25rem;
    text-align: center;
    box-sizing: border-box;
}

.sched-day__dow {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
}

.sched-day__num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #e2e8f0;
}

.sched-day--blocked {
    border: 1px dashed rgba(100,116,139,.45);
    background: rgba(15,23,42,.25);
    opacity: .72;
    position: relative;
}

.sched-day--blocked .sched-day__num,
.sched-day--blocked .sched-day__dow {
    color: #64748b;
}

.sched-day__x {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 300;
    color: rgba(239,68,68,.55);
    pointer-events: none;
    line-height: 1;
}

.sched-day--pick {
    border: 1px solid rgba(148,163,184,.4);
    background: rgba(15,23,42,.4);
    color: inherit;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.sched-day--pick:hover {
    transform: translateY(-1px);
    border-color: rgba(226,184,74,.5);
    background: rgba(226,184,74,.08);
}

.sched-day--selected {
    border-color: rgba(226,184,74,.85);
    background: rgba(226,184,74,.14);
    box-shadow: 0 8px 20px rgba(226,184,74,.12);
}

.sched-day--selected .sched-day__dow {
    color: #fcd34d;
}

.sched-slots-for-day {
    padding: .85rem;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,.14);
    background: rgba(2,6,23,.12);
}

.sched-slots-for-day__label {
    font-weight: 700;
    margin-bottom: .6rem;
    font-size: .88rem;
    text-transform: capitalize;
}

/* Corretor · Kanban semanal */
.kanban-settings-details {
    padding: .75rem 1rem;
}

.kanban-settings-summary {
    cursor: pointer;
    font-weight: 700;
    color: #e2e8f0;
    user-select: none;
}

.kanban-week-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.kanban-week-title {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    color: #f1f5f9;
}

.kanban-week-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    align-items: stretch;
    min-height: 420px;
}

@media (max-width: 1100px) {
    .kanban-week-board {
        grid-template-columns: 1fr;
    }
}

.kanban-day-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.kanban-day-column:hover {
    border-color: #94a3b8;
}

.kanban-day-header {
    flex: 0 0 auto;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.kanban-day-name {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    text-transform: capitalize;
}

.kanban-day-date {
    font-size: .85rem;
    color: #64748b;
    font-weight: 600;
}

.kanban-day-scroll {
    flex: 1 1 auto;
    min-height: 200px;
    max-height: min(70vh, 720px);
    overflow-y: auto;
    padding: .75rem .75rem .85rem;
    position: relative;
}

.kanban-empty {
    font-size: .88rem;
    font-weight: 600;
    color: #64748b;
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.kanban-day-closed {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    background: rgba(241, 245, 249, 0.9);
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.kanban-card {
    border-radius: 14px;
    padding: .85rem;
    margin-bottom: .75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    cursor: grab;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    min-width: 0;
    box-sizing: border-box;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.kanban-card--pending {
    border-left: 4px solid #eab308;
    background: linear-gradient(90deg, rgba(234,179,8,.12), rgba(15,23,42,.45));
}

.kanban-card--confirmed {
    border-left: 4px solid #22c55e;
    background: linear-gradient(90deg, rgba(34,197,94,.12), rgba(15,23,42,.45));
}

.kanban-card--completed {
    border-left: 4px solid #ef4444;
    background: linear-gradient(90deg, rgba(239,68,68,.12), rgba(15,23,42,.45));
    cursor: default;
}

.kanban-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .35rem;
}

.kanban-time {
    font-weight: 800;
    font-size: .88rem;
    color: #f1f5f9;
}

.kanban-status-pill {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
}

.kanban-card-title {
    font-weight: 800;
    font-size: .9rem;
    color: #e2e8f0;
    line-height: 1.25;
}

.kanban-card-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .2rem;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    color: #93c5fd;
}

.kanban-card-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.kanban-card-client {
    margin-top: .25rem;
    font-weight: 600;
    font-size: .85rem;
    color: #cbd5e1;
}

.kanban-card-meta {
    font-size: .75rem;
    margin-top: .15rem;
    line-height: 1.35;
}

.kanban-notes-label {
    display: block;
    margin-top: .45rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.kanban-notes {
    width: 100%;
    margin-top: .25rem;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,.25);
    background: rgba(2,6,23,.35);
    color: #e2e8f0;
    font-size: .82rem;
    padding: .45rem .5rem;
    resize: vertical;
    min-height: 52px;
    box-sizing: border-box;
    max-width: 100%;
}

.kanban-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .55rem;
}

.kanban-touch-move-wrap {
    display: none;
    flex-direction: column;
    gap: .25rem;
    margin-top: .45rem;
    font-size: .75rem;
}

.kanban-touch-move-label {
    font-weight: 700;
}

@media (max-width: 1100px) {
    .kanban-touch-move-wrap {
        display: flex;
    }
}

.kanban-touch-move {
    font-size: .82rem;
    padding: .35rem .5rem;
    border-radius: 10px;
}

/* Financeiro — gráfico de barras mensal (admin) */
.finance-chart {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    max-width: 720px;
}

.finance-chart-row {
    display: grid;
    grid-template-columns: 44px 1fr minmax(120px, auto);
    align-items: center;
    gap: .75rem;
}

.finance-chart-label {
    font-size: .78rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: right;
}

.finance-chart-bars {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    min-width: 0;
}

.finance-chart-bar-wrap {
    height: 10px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.finance-chart-bar {
    height: 100%;
    border-radius: 6px;
    min-width: 2px;
    transition: width 0.35s ease;
}

.finance-chart-bar--sales {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.finance-chart-bar--commission {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.finance-chart-values {
    text-align: right;
    white-space: nowrap;
}

/* ============================================================================
   TOP HORIZONTAL HEADER & NAVIGATION (REALTA RED & WHITE TEMA)
   ============================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 17, 29, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-sizing: border-box;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.brand-dot {
    color: #dc2626;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav .nav-link-item {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-nav .nav-link-item:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.15);
}

.site-nav .nav-link-item.active {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.2);
    box-shadow: inset 0 -2px 0 #dc2626;
}

.site-nav-actions {
    display: flex;
    align-items: center;
}

.btn-broker-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transition: all 0.2s ease;
}

.btn-broker-login:hover {
    background: #b91c1c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle .icon-menu-close {
    display: none;
}
.mobile-menu-toggle.is-open .icon-menu-open {
    display: none;
}
.mobile-menu-toggle.is-open .icon-menu-close {
    display: block;
}

.mobile-broker-btn {
    display: none;
}

.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    .site-header-inner {
        flex-direction: flex-row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        padding: 0.75rem 1rem !important;
    }

    .site-nav {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        padding-top: 0.85rem !important;
        margin-top: 0.5rem !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .site-nav.is-open {
        display: flex !important;
    }

    .site-nav .nav-link-item {
        width: 100% !important;
        text-align: left !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
    }

    .mobile-broker-btn {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0.5rem !important;
        box-sizing: border-box !important;
    }
}

/* ============================================================================
   ROLETA HORIZONTAL DE IMÓVEIS EM 3D (3D COVERFLOW CAROUSEL)
   ============================================================================ */
.carousel-3d-wrapper {
    margin: 2rem 0;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.carousel-3d-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.carousel-3d-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.carousel-3d-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.carousel-3d-sub {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0.35rem 0 0 0;
}

.carousel-3d-nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.carousel-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.carousel-3d-stage {
    perspective: 1200px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.carousel-3d-container {
    position: relative;
    width: 320px;
    height: 430px;
    transform-style: preserve-3d;
}

.carousel-3d-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 430px;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, z-index 0.8s ease;
    cursor: pointer;
    will-change: transform, opacity;
}

.carousel-card-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.carousel-3d-card.is-active .carousel-card-inner {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 20px 48px rgba(220, 38, 38, 0.22), 0 8px 24px rgba(15, 23, 42, 0.08);
}

.carousel-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.carousel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-3d-card:hover .carousel-card-media img {
    transform: scale(1.06);
}

.carousel-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.carousel-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #dc2626;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.carousel-card-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.carousel-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 0.85rem 0;
}

.carousel-card-specs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #475569;
    padding: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.85rem;
}

.carousel-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem;
    background: #fef2f2;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.carousel-card-cta:hover {
    background: #dc2626;
    color: #ffffff;
}

.carousel-3d-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.is-active {
    width: 28px;
    border-radius: 10px;
    background: #dc2626;
}

.carousel-3d-empty {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

/* ============================================================================
   SEÇÃO INTEGRADA SOBRE O CORRETOR & CONTATO (2 COLUNAS)
   ============================================================================ */
.about-contact-section {
    padding-top: calc(var(--section-spacing) * 0.8);
    padding-bottom: calc(var(--section-spacing) * 0.8);
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.about-card, .contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-md);
}

.about-header-tag {
    margin-bottom: 1rem;
}

.about-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
}

.contact-badge-tag {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.about-title, .contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-sub, .contact-sub {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
}

.about-profile-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.about-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.about-avatar {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    border: 2px solid #ffffff;
}

.about-avatar-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #ffffff;
}

.about-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.about-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.about-headline {
    font-size: 0.85rem;
    font-weight: 700;
    color: #dc2626;
    margin: 0;
}

.about-bio {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.75rem;
}

/* 4 CARDS DIFERENCIAIS GRID */
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

.about-feat-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about-feat-card:hover {
    border-color: #fca5a5;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
    transform: translateY(-2px);
}

.about-feat-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.about-feat-card strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.about-feat-card span {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

/* FORMULÁRIO DE CONTATO & CANAIS */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.35rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1.5rem;
}

.whatsapp-btn:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.contact-info-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fef2f2;
    color: #dc2626;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
}

.info-val {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.quick-contact-box {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    color: #0f172a;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.btn-submit-contact {
    padding: 0.95rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 0.5rem;
}

/* ============================================================================
   SEÇÃO SUTIL DE CORRETORES CREDENCIADOS DA IMOBILIÁRIA
   ============================================================================ */
.brokers-team-strip {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e2e8f0;
}

.brokers-team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.brokers-team-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
}

.brokers-team-count {
    font-size: 0.75rem;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.brokers-team-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.broker-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.85rem 0.35rem 0.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    transition: all 0.25s ease;
    cursor: default;
}

.broker-team-chip:hover {
    border-color: #fca5a5;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
    transform: translateY(-1px);
}

.broker-chip-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.broker-chip-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.broker-chip-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.broker-chip-creci {
    font-size: 0.68rem;
    color: #64748b;
}

/* ============================================================================
   RODAPÉ ESTRUTURADO EM MULTICOLUNAS
   ============================================================================ */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: clamp(60px, 6vw, 90px) 0 40px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col-brand .footer-brand {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 1.25rem 0;
    max-width: 32ch;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.01em;
}

.footer-links, .footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.45;
}

.footer-contact-info svg {
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-subtext {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
}

.footer-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.footer-portal-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-2px);
}

.site-footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: #64748b;
}

.site-footer-dev strong {
    color: #cbd5e1;
}

.site-footer a:not(.btn-broker-login):not(.footer-portal-btn) {
    color: #94a3b8;
}

.site-footer a:not(.btn-broker-login):not(.footer-portal-btn):hover {
    color: #ffffff;
}

/* REDESIGNED FALE CONOSCO SECTION */
.about-contact-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-alt) 100%);
}

.contact-section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.contact-section-title {
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.contact-section-subtitle {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 680px;
    line-height: 1.6;
    margin: 0 auto;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-agency-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-agency-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.contact-agency-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-agency-name {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
}

.contact-agency-tagline {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.4;
}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-card);
    border: 1px solid var(--line);
    color: #dc2626;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
}

.contact-item-val {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-form-panel {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-lg);
}

.contact-form-header {
    margin-bottom: 1.5rem;
}

.contact-form-title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
}

.contact-form-subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.contact-form-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-muted);
}

.contact-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
}

.contact-input::placeholder {
    color: var(--ink-muted);
}

.contact-input:hover {
    background: var(--paper);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-input:focus {
    background: var(--paper);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.contact-input.input-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-disclaimer-text {
    font-size: 0.82rem;
    color: var(--ink-muted);
    line-height: 1.45;
    margin: 0.25rem 0 0.5rem;
}

.btn-send-whatsapp {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    background: #dc2626;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.25s ease;
}

.btn-send-whatsapp:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
}

.btn-send-whatsapp:active {
    transform: translateY(0);
}

.contact-error-alert {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* MARKETPLACE PORTAL HERO & SMART SEARCH COMPONENT */
.portal-hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -2.5rem;
    margin-bottom: 2rem;
    padding: clamp(4rem, 7vw, 6.5rem) 1.5rem clamp(3rem, 5vw, 4.5rem);
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    border-radius: 0 0 36px 36px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.portal-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: brightness(0.6) contrast(1.15);
    transform: scale(1.03);
    transition: transform 10s ease;
    z-index: 1;
}

.portal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.96) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(10, 10, 12, 0.94) 100%);
    z-index: 2;
}

.portal-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(220, 38, 38, 0.55);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.portal-hero-title {
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1rem;
    max-width: 860px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portal-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.6;
    margin: 0 0 2.5rem;
}

/* BUSCADOR INTELIGENTE CARD */
.marketplace-search-card {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    padding: 1.75rem 2rem;
    color: #0f172a;
    text-align: left;
}

@media (max-width: 768px) {
    .marketplace-search-card {
        padding: 1.25rem;
        border-radius: 18px;
    }
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.search-tab {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tab:hover {
    color: #0f172a;
    background: #f8fafc;
}

.search-tab.active {
    color: #dc2626;
    background: #ffffff;
    border: 1px solid rgba(220, 38, 38, 0.4);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.search-primary-row {
    display: grid;
    grid-template-columns: 2.2fr 1.3fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.search-secondary-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: end;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.search-input-plain {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .search-primary-row {
        grid-template-columns: 1fr 1fr;
    }
    .search-primary-row .field-btn {
        grid-column: span 2;
    }
    .search-secondary-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .search-primary-row {
        grid-template-columns: 1fr;
    }
    .search-primary-row .field-btn {
        grid-column: span 1;
    }
    .search-secondary-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    width: 100%;
}

.search-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-agency-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.about-agency-bio {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

.about-agency-bio p {
    margin: 0;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    background: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.search-select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-select:focus {
    background: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.search-select:disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #cbd5e1;
    opacity: 0.8;
}

.search-row-primary {
    display: grid;
    grid-template-columns: 2.6fr 1.4fr;
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.search-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .search-actions-row {
        justify-content: stretch;
    }
    .search-actions-row .btn-search-hero {
        width: 100%;
    }
}

.search-row-location {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.search-row-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1.75rem;
    align-items: end;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 1100px) {
    .search-row-primary {
        grid-template-columns: 1fr 1fr;
    }
    .search-row-primary .field-btn {
        grid-column: span 2;
    }
    .search-row-location {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .search-row-specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .search-row-primary, .search-row-location {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .search-row-primary .field-btn {
        grid-column: span 1;
    }
    .search-row-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* SEARCHABLE SELECT COMPONENT */
.searchable-select-container {
    position: relative;
    width: 100%;
}

.searchable-select-container.is-open {
    z-index: 100;
}

.searchable-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.searchable-select-trigger:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.searchable-select-container.is-open .searchable-select-trigger {
    background: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.searchable-select-container.is-disabled .searchable-select-trigger {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f1f5f9;
}

.trigger-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trigger-placeholder {
    color: #94a3b8;
}

.trigger-value {
    font-weight: 600;
    color: #0f172a;
}

.trigger-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-clear-select {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.btn-clear-select:hover {
    color: #dc2626;
    background: #fef2f2;
}

.chevron-icon {
    color: #64748b;
    transition: transform 0.2s ease;
}

.searchable-select-container.is-open .chevron-icon {
    transform: rotate(180deg);
}

.searchable-select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.2);
    padding: 0.5rem;
    max-height: 280px;
    display: flex;
    flex-direction: column;
}

.dropdown-search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dropdown-search-box svg {
    position: absolute;
    left: 0.75rem;
    color: #94a3b8;
    pointer-events: none;
}

.dropdown-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.88rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
}

.dropdown-search-input:focus {
    border-color: #dc2626;
}

.dropdown-items-list {
    overflow-y: auto;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #dc2626;
}

.dropdown-item.selected {
    background: #fef2f2;
    color: #dc2626;
    font-weight: 700;
}

.dropdown-item.item-clear {
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.item-count-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.dropdown-no-results {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ADDRESS AUTOCOMPLETE STYLES */
.address-autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-spinner {
    position: absolute;
    right: 1rem;
    color: #dc2626;
}

.spin-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    padding: 0.4rem;
    max-height: 260px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.autocomplete-item:hover {
    background: #f8fafc;
}

.autocomplete-item .item-icon {
    color: #dc2626;
    flex-shrink: 0;
}

.autocomplete-item .item-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.autocomplete-item .item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item .item-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-search-hero {
    padding: 0.88rem 1.75rem;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    background: #dc2626;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-search-hero:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
}

/* SMART CATEGORY CHIPS */
.smart-category-chips {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.chips-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
}

.chips-scroll {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.chip-item:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   RESPONSIVIDADE E CENTRALIZAÇÃO MOBILE DE ALTA PERFORMANCE (DISPOSITIVOS MÓVEIS)
   ============================================================================ */
@media (max-width: 768px) {
    /* 1. Hero Section & Container */
    .portal-hero-section {
        padding: 2.25rem 0 3.25rem;
    }

    .portal-hero-container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .portal-hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
        text-align: center;
    }

    .portal-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        text-align: center;
    }

    /* 2. Card de Busca Inteligente */
    .marketplace-search-card {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-tabs {
        justify-content: center !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .search-tab {
        padding: 0.55rem 1.15rem !important;
        font-size: 0.9rem !important;
    }

    /* 3. Grid de Linhas do Formulário no Mobile */
    .search-row-primary,
    .search-row-location,
    .search-row-specs {
        grid-template-columns: 1fr !important;
        gap: 1.15rem !important;
        width: 100% !important;
        padding-top: 1.15rem !important;
    }

    .search-field {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-field-label {
        font-size: 0.75rem !important;
        color: #475569 !important;
    }

    .search-input,
    .search-select {
        width: 100% !important;
        height: 48px !important;
        font-size: 0.95rem !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .btn-search-hero {
        width: 100% !important;
        height: 52px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        justify-content: center !important;
        border-radius: 14px !important;
        margin-top: 0.5rem !important;
    }

    /* 4. Chips de Busca Rápida */
    .smart-category-chips {
        margin-top: 1.75rem !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .chips-label {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
        text-align: center;
    }

    .chips-scroll {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .chip-item {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.82rem !important;
    }

    /* 5. Lista de Imóveis & Mapa Público */
    .filters-bar {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .property-row {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .property-list {
        width: 100% !important;
    }

    .map-panel {
        width: 100% !important;
        height: 300px !important;
        position: relative !important;
        top: 0 !important;
    }

    /* 6. Modais do Painel do Corretor */
    .modal-panel {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 1.25rem !important;
        margin: 1rem auto !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 480px) {
    .portal-hero-section {
        padding: 1.75rem 0 2.5rem;
    }

    .marketplace-search-card {
        padding: 1rem 0.85rem !important;
    }

    .portal-hero-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
    }

    .promo-card {
        border-radius: 16px !important;
    }

    .promo-card-body {
        padding: 1rem !important;
    }
}

/* ============================================================================
   ESTILOS DO COMPONENTE ADDRESS AUTOCOMPLETE (SUGESTÕES DE ENDEREÇO)
   ============================================================================ */
.address-autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    z-index: 99999;
    max-height: 280px;
    overflow-y: auto;
    padding: 0.4rem 0;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.autocomplete-item:hover {
    background: #f1f5f9;
}

.autocomplete-item .item-icon {
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.autocomplete-item .item-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
}

.autocomplete-item .item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item .item-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-spinner {
    position: absolute;
    right: 1rem;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-icon {
    animation: autocomplete-spin 1s linear infinite;
}

@keyframes autocomplete-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================================
   IMÓVEIS EM DESTAQUE - CARDS COMPACTOS NA HORIZONTAL COM SCROLL
   ============================================================================ */
.dr-featured-section {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 2rem auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

.dr-featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dr-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.dr-featured-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.02em;
}

.dr-featured-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
}

.dr-featured-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.dr-featured-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dr-featured-nav-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    transform: translateY(-1px);
}

.dr-featured-track-wrapper {
    position: relative;
    width: 100%;
}

.dr-featured-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 38, 38, 0.4) transparent;
}

.dr-featured-track::-webkit-scrollbar {
    height: 6px;
}

.dr-featured-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 99px;
}

.dr-featured-track::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.35);
    border-radius: 99px;
}

.dr-featured-card {
    flex: 0 0 320px;
    width: 320px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.dr-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(220, 38, 38, 0.3);
}

.dr-card-media {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #0f172a;
}

.dr-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dr-featured-card:hover .dr-card-media img {
    transform: scale(1.05);
}

.dr-card-overlay-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 2;
}

.dr-badge-transaction {
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dr-badge-transaction.is-venda {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.dr-badge-transaction.is-aluguel {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.dr-badge-type {
    padding: 0.3rem 0.65rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.dr-card-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0.85rem 0.65rem 0.85rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, transparent 100%);
    z-index: 2;
}

.dr-card-price {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dr-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.dr-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.4rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dr-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.dr-card-location svg {
    color: #dc2626;
    flex-shrink: 0;
}

.dr-card-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dr-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.dr-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}

.dr-spec-item svg {
    color: #94a3b8;
}

.dr-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #dc2626;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
    transition: gap 0.2s ease;
}

.dr-featured-card:hover .dr-card-cta {
    color: #b91c1c;
}

/* ============================================================================
   REGRAS GLOBAIS DE RESPONSIVIDADE PARA DISPOSITIVOS MÓVEIS (TODOS OS CELULARES)
   ============================================================================ */

/* 1. Ajustes Globais para Telas <= 768px (Smartphones Grandes e Tablets Pequenos) */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 2.5rem;
    }

    /* Prevenção de Estouro Horizontal e Ajuste de Containers */
    .site-main-container,
    .site-header-inner,
    .site-footer-container,
    .hero-inner,
    .about-contact-section,
    .dr-featured-section,
    .portal-hero-container,
    .contact-section-container,
    .builder-shell,
    .property-row,
    .detail-main-row {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Prevenção de Zoom no iOS em Inputs */
    input, select, textarea, button, .search-input, .search-select, .form-control {
        font-size: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Grids do Site Builder */
    .home-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .home-grid-item {
        width: 100% !important;
        grid-column: span 12 !important;
    }

    .builder-preview-frame .home-grid {
        min-width: 0 !important;
    }

    /* Tabela Responsiva com Scroll Suave no Mobile */
    .admin-table,
    .report-table,
    .admin-shell .rz-grid-table {
        min-width: 580px !important;
    }

    .admin-shell .rz-data-grid,
    .admin-shell .rz-grid-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }

    /* Painel do Corretor (Admin Shell) no Mobile */
    .admin-shell {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .admin-sidebar {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-content {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.85rem 0.65rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .admin-card,
    .admin-shell .rz-card {
        padding: 1rem 0.85rem !important;
        border-radius: 14px !important;
        margin-bottom: 1rem !important;
    }

    /* Modais e Dialogs */
    .modal-panel,
    .ui-modal-dialog {
        width: 94vw !important;
        max-width: 94vw !important;
        margin: 0.5rem auto !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }

    /* Rodapé Público */
    .site-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .site-footer-bottom {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center !important;
    }
}

/* 2. Ajustes Finos para Telas Pequenas <= 480px (iPhone SE, Galaxy A, Pixel Compact) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --section-spacing: 1.75rem;
    }

    .site-main-container,
    .site-header-inner,
    .site-footer-container,
    .hero-inner,
    .about-contact-section,
    .dr-featured-section,
    .portal-hero-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .brand-text {
        font-size: 1.15rem !important;
    }

    .brand-badge {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.05rem !important;
    }

    /* Cards de Imóvel Compactos */
    .card-grid,
    .property-list {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .promo-card {
        border-radius: 16px !important;
    }

    .promo-card-media {
        height: 195px !important;
    }

    .promo-card-body {
        padding: 1rem !important;
    }

    .promo-card-price {
        font-size: 0.95rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    .promo-card-badge {
        font-size: 0.72rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    /* Detalhes do Imóvel */
    .detail-side-card,
    .detail-cta-card,
    .detail-description-float-card {
        padding: 1rem 0.85rem !important;
        border-radius: 16px !important;
    }

    .detail-price-card__value {
        font-size: 1.4rem !important;
    }

    .detail-stat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.45rem !important;
    }

    .detail-stat-chip {
        padding: 0.45rem 0.5rem !important;
    }

    .detail-stat-chip__val {
        font-size: 0.98rem !important;
    }
}

/* FORÇAR CORES CLARAS NO TEMA ESCURO DO PORTAL */
.site-main .section-title,
.site-main h2,
.site-main h3,
.site-main .promo-card-title,
.site-main .neighborhood-chip-label,
.site-main .neighborhood-strip-title,
.site-main .about-broker-block h2,
.site-main .about-broker-block h3,
.site-main .highlights-block h2,
.site-main .highlights-block h3,
.site-main .featured-properties-block h2,
.site-main .featured-properties-block h3 {
    color: var(--ink) !important;
}

.site-main .section-sub,
.site-main p.muted,
.site-main .muted,
.site-main .promo-card-specs,
.site-main .promo-card-specs span,
.site-main .promo-card-location,
.site-main .promo-card-location span,
.site-main .neighborhood-strip-sub,
.site-main .broker-meta,
.site-main .broker-bio {
    color: var(--ink-muted) !important;
}

.site-main .about-agency-card {
    background: var(--page-bg-mid) !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
}

.site-main .about-agency-bio,
.site-main .about-agency-bio p {
    color: var(--ink-muted) !important;
}




