/* ═══════════════════════════════════════════════════════════════════════════
   SOLOBR - ESTILOS INSTITUCIONAIS MODERNIZADOS (HOME)
   Escopado para não interferir em sectionbusca.jsp nem em public/header.jsp
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --solo-navy: #0f172a;
    --solo-primary: #00549D;
    --solo-primary-dark: #1e3a8a;
    --solo-accent: #2563eb;
    --solo-gold: #efce32;
    --solo-gold-dark: #d97706;
    --solo-green: #16a34a;
    --solo-bg-light: #f8fafc;
    --solo-bg-white: #ffffff;
    --solo-border: #e2e8f0;
    --solo-text-main: #1e293b;
    --solo-text-muted: #475569;
    --solo-radius-md: 12px;
    --solo-radius-lg: 16px;
    --solo-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --solo-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --solo-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
}

/* ── HEADER PRINCIPAL FIXO NO TOPO (FAIXA BRANCA ESTILO LANDING PAGES) ── */
.header {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px;
    box-sizing: border-box;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 1px solid var(--solo-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding: 0 max(24px, calc((100vw - 1100px) / 2));
    z-index: 100;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header .logo {
    height: 40px;
    width: auto;
    display: block;
}

.header .nav {
    gap: 8px;
    justify-content: flex-end;
    margin-right: 14px;
}

.header .nav a {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    width: auto;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header .nav a:hover {
    color: var(--solo-primary);
    background: #f1f5f9;
}

.header .nav a.active {
    color: var(--solo-primary);
    font-weight: 700;
    border-bottom: 3px solid var(--solo-primary);
    border-radius: 8px 8px 0 0;
}

/* ── BOTÃO DE PERFIL/ENTRAR NO CABEÇALHO (OCULTO DEFINITIVAMENTE) ── */
.header .profile {
    display: none !important;
    width: auto;
    flex-shrink: 0;
}

.header .user-button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 8px 16px;
    min-width: auto;
    gap: 6px;
    box-shadow: none;
    transition: all 0.2s ease;
}

.header .user-button:hover {
    background-color: #f1f5f9;
    border-color: var(--solo-primary);
    color: var(--solo-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 84, 157, 0.12);
    border-top: 1.5px solid var(--solo-primary);
}

.header .user-button #nomeLogin:empty::after {
    content: 'Entrar';
    font-weight: 600;
}

.header .menu-toggle {
    color: #0f172a;
    font-size: 28px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-top: 0;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO DE ENTRADA (#busca) — CARROSSEL SUAVE DE 3 CRIATIVOS & CARD DE BUSCA
   100% via CSS, preservando IDs/JS de sectionbusca.jsp e homepages de clientes
   ═══════════════════════════════════════════════════════════════════════════ */

#busca.hero {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Slide 1 (Base) — apenas quando não há imagem customizada de imobiliária */
#busca.hero:not([style*="background-image"]) {
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        url('../../images/home-hero-1.jpg');
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        image-set(
            url('../../images/home-hero-1.webp') type('image/webp') 1x,
            url('../../images/home-hero-1.webp') type('image/webp') 2x,
            url('../../images/home-hero-1.jpg') type('image/jpeg') 1x,
            url('../../images/home-hero-1.jpg') type('image/jpeg') 2x
        );
}

/* Slide 2 (Camada ::before com crossfade suave de opacidade) */
#busca.hero:not([style*="background-image"])::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        url('../../images/home-hero-2.jpg');
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        image-set(
            url('../../images/home-hero-2.webp') type('image/webp') 1x,
            url('../../images/home-hero-2.webp') type('image/webp') 2x,
            url('../../images/home-hero-2.jpg') type('image/jpeg') 1x,
            url('../../images/home-hero-2.jpg') type('image/jpeg') 2x
        );
    opacity: 0;
    will-change: opacity;
    animation: soloHeroSlide2 24s infinite ease-in-out;
}

/* Slide 3 (Camada ::after com crossfade suave de opacidade) */
#busca.hero:not([style*="background-image"])::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        url('../../images/home-hero-3.jpg');
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.60) 100%),
        image-set(
            url('../../images/home-hero-3.webp') type('image/webp') 1x,
            url('../../images/home-hero-3.webp') type('image/webp') 2x,
            url('../../images/home-hero-3.jpg') type('image/jpeg') 1x,
            url('../../images/home-hero-3.jpg') type('image/jpeg') 2x
        );
    opacity: 0;
    will-change: opacity;
    animation: soloHeroSlide3 24s infinite ease-in-out;
}

/* Quando for homepage customizada de imobiliária, aplica apenas o overlay de leitura */
#busca.hero[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.28) 50%, rgba(15, 23, 42, 0.65) 100%);
}

@keyframes soloHeroSlide2 {
    0%, 27% { opacity: 0; }
    33%, 66% { opacity: 1; }
    72%, 100% { opacity: 0; }
}

@keyframes soloHeroSlide3 {
    0%, 60% { opacity: 0; }
    66%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── CONTAINER E TÍTULO DO HERO ── */
#busca:not(.ia-focus-mode) .filter-container {
    max-width: 880px;
    width: calc(100% - 36px);
    z-index: 4;
}

#busca:not(.ia-focus-mode) .filter-container h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(15, 23, 42, 0.6);
    margin: 0;
}

#busca:not(.ia-focus-mode) .underline {
    width: 96px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #efce32 0%, #f59e0b 100%);
    margin: 10px 0 22px 0;
    box-shadow: 0 2px 10px rgba(239, 206, 50, 0.45);
}

/* ── ABAS SUPERIORES ("Busca por local" / "Busca com IA") ── */
#busca:not(.ia-focus-mode) .tabs-wrapper {
    display: inline-flex;
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 5px;
    border-radius: 14px;
    gap: 6px;
    margin: 0 0 12px 0;
    transform: none;
    float: left;
}

#busca:not(.ia-focus-mode) .tab-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 10px;
    border: none !important;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

#busca:not(.ia-focus-mode) .tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

#busca:not(.ia-focus-mode) .tab-button.active {
    background: #ffffff;
    color: var(--solo-primary);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

/* ── CARD PRINCIPAL DE BUSCA (.filter-box) ── */
#busca:not(.ia-focus-mode) .filter-box {
    clear: both;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px !important;
    padding: 18px 20px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45), 0 8px 20px rgba(15, 23, 42, 0.2);
}

#busca #filterForm {
    position: relative;
    align-items: center;
}

#busca .carregando {
    width: 42px;
    top: -54px;
    right: 12px;
    left: auto;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

/* ── BUSCA POR LOCAL (Compra / Locação / Input / Buscar) ── */
#busca #local-search-container:not([style*="none"]) {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
}

#busca .filter-select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 20px;
    margin: 0;
    width: auto;
    min-width: 106px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#busca .filter-select:hover:not(.active) {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

#busca .filter-select.active {
    background: linear-gradient(135deg, #00549D 0%, #1e40af 100%);
    border-color: #00549D;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 84, 157, 0.28);
}

#busca #local-search-container .search-input {
    flex: 1 1 260px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 13px 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: #0f172a;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#busca #local-search-container .search-input::placeholder {
    color: #64748b;
}

#busca #local-search-container .search-input:focus {
    outline: none;
    border-color: #00549D;
    box-shadow: 0 0 0 4px rgba(0, 84, 157, 0.14);
}

#busca .search-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    margin: 0;
    width: auto;
    min-width: 128px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #efce32 0%, #f59e0b 100%);
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}

#busca .search-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.48);
    border: none;
}

/* ── BUSCA COM IA (Textarea + Botões de Microfone e Envio) ── */
#busca .ia-input-container {
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 14px;
    background-color: #ffffff;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#busca .ia-input-container:focus-within {
    border-color: #00549D;
    box-shadow: 0 0 0 4px rgba(0, 84, 157, 0.14);
}

#busca .ia-input-container textarea.search-input {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.45;
    min-height: 54px;
    padding: 4px 6px;
}

#busca .ia-button-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#busca .ia-mic-button,
#busca .ia-send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 !important;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#busca .ia-mic-button {
    background-color: #f1f5f9;
    color: #475569;
}

#busca .ia-mic-button:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

#busca .ia-send-button {
    background: linear-gradient(135deg, #00549D 0%, #1e40af 100%);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 84, 157, 0.28);
}

#busca .ia-send-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 84, 157, 0.4);
}

#busca .filter-container h3 {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.6);
    margin-top: 14px;
}

/* ── SEÇÕES INSTITUCIONAIS (SEM AFETAR #busca) ── */
.section.solo-inst-section {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: auto !important;
    height: auto !important;
    padding: 80px 20px !important;
    background-color: var(--solo-bg-light);
    color: var(--solo-text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section.solo-inst-section.bg-white {
    background-color: var(--solo-bg-white);
}

.section.solo-inst-section.bg-navy {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
}

.solo-inst-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

/* ── CABEÇALHOS DE SEÇÃO ── */
.solo-section-header {
    max-width: 760px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.solo-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #eff6ff;
    color: var(--solo-primary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.bg-navy .solo-tag-pill {
    background-color: rgba(239, 206, 50, 0.15);
    color: var(--solo-gold);
    border-color: rgba(239, 206, 50, 0.35);
}

.solo-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--solo-navy);
    letter-spacing: -0.6px;
    line-height: 1.25;
    margin: 0 0 14px 0;
}

.bg-navy .solo-section-title {
    color: #ffffff;
}

.solo-section-subtitle {
    font-size: 16.5px;
    color: var(--solo-text-muted);
    line-height: 1.6;
    margin: 0;
}

.bg-navy .solo-section-subtitle {
    color: #cbd5e1;
}

/* ── SEÇÃO 1: O ECOSSISTEMA SOLOBR (3 PILARES) ── */
.solo-eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.solo-eco-card {
    background: #ffffff;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-lg);
    padding: 32px 26px;
    box-shadow: var(--solo-shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.solo-eco-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--solo-shadow-lg);
    border-color: #93c5fd;
}

.solo-eco-card.destaque-captador {
    border-top: 4px solid var(--solo-gold);
}

.solo-eco-card.destaque-proprietario {
    border-top: 4px solid var(--solo-primary);
}

.solo-eco-card.destaque-imobiliaria {
    border-top: 4px solid var(--solo-green);
}

.solo-eco-img-wrap {
    width: 100%;
    height: 170px;
    border-radius: var(--solo-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
}

.solo-eco-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.solo-eco-card:hover .solo-eco-img-wrap img {
    transform: scale(1.04);
}

.solo-eco-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.destaque-proprietario .solo-eco-badge {
    background: #eff6ff;
    color: var(--solo-primary);
}

.destaque-captador .solo-eco-badge {
    background: #fef9c3;
    color: #854d0e;
}

.destaque-imobiliaria .solo-eco-badge {
    background: #f0fdf4;
    color: #166534;
}

.solo-eco-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--solo-navy);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.solo-eco-desc {
    font-size: 14.5px;
    color: var(--solo-text-muted);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.solo-eco-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solo-eco-list li {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.solo-eco-list li span.check {
    color: var(--solo-green);
    font-weight: 800;
    flex-shrink: 0;
}

.solo-btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.solo-btn-primary {
    background: var(--solo-primary);
    color: #ffffff !important;
    border: 2px solid var(--solo-primary);
}

.solo-btn-primary:hover {
    background: var(--solo-primary-dark);
    border-color: var(--solo-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 84, 157, 0.25);
}

.solo-btn-gold {
    background: var(--solo-gold);
    color: #0f172a !important;
    border: 2px solid var(--solo-gold);
}

.solo-btn-gold:hover {
    background: #facc15;
    border-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
}

.solo-btn-green {
    background: var(--solo-green);
    color: #ffffff !important;
    border: 2px solid var(--solo-green);
}

.solo-btn-green:hover {
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
}

/* ── SEÇÃO 2: COMO FUNCIONA A CONEXÃO INTELIGENTE (4 PASSOS) ── */
.solo-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solo-step-card {
    background: #f8fafc;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-lg);
    padding: 26px 22px;
    text-align: left;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solo-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--solo-shadow-md);
    background: #ffffff;
}

.solo-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.solo-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--solo-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.solo-step-icon {
    font-size: 28px;
    line-height: 1;
}

.solo-step-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--solo-navy);
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.solo-step-desc {
    font-size: 14px;
    color: var(--solo-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── SEÇÃO 3: PARA IMOBILIÁRIAS E CORRETORES (B2B SEM CRM) ── */
.solo-b2b-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    text-align: left;
}

.solo-b2b-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.solo-b2b-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--solo-radius-md);
    padding: 22px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.solo-b2b-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.solo-b2b-item-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
}

.solo-b2b-item-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.solo-b2b-item-desc {
    font-size: 13.8px;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

.solo-b2b-cta-panel {
    background: #ffffff;
    color: var(--solo-navy);
    border-radius: var(--solo-radius-lg);
    padding: 36px 30px;
    box-shadow: var(--solo-shadow-lg);
    text-align: center;
}

.solo-b2b-cta-panel img.b2b-hero-img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 18px auto;
    display: block;
    border-radius: 12px;
}

.solo-b2b-cta-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--solo-navy);
    margin: 0 0 10px 0;
}

.solo-b2b-cta-desc {
    font-size: 14.5px;
    color: var(--solo-text-muted);
    line-height: 1.55;
    margin: 0 0 24px 0;
}

.solo-b2b-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solo-btn-outline {
    background: transparent;
    color: var(--solo-primary) !important;
    border: 2px solid var(--solo-primary);
}

.solo-btn-outline:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* ── SEÇÃO 4: SOBRE NÓS & DEPOIMENTOS ── */
.solo-sobre-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-lg);
    padding: 36px;
    margin-bottom: 56px;
    text-align: left;
}

.solo-sobre-texto h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--solo-navy);
    margin: 0 0 14px 0;
}

.solo-sobre-texto p {
    font-size: 15.5px;
    color: var(--solo-text-muted);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.solo-sobre-slogan {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--solo-primary);
    background: #eff6ff;
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--solo-gold);
}

.solo-sobre-img-wrap {
    text-align: center;
}

.solo-sobre-img-wrap img {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    border-radius: var(--solo-radius-md);
    object-fit: contain;
}

.solo-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solo-testimonial-card {
    background: #ffffff;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-lg);
    padding: 28px 24px;
    text-align: left;
    box-shadow: var(--solo-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solo-testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.solo-testimonial-text {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 20px 0;
}

.solo-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.solo-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--solo-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solo-author-info strong {
    display: block;
    font-size: 14px;
    color: var(--solo-navy);
}

.solo-author-info span {
    font-size: 12.5px;
    color: var(--solo-text-muted);
}

/* ── SEÇÃO 5: FAQ DO ECOSSISTEMA ── */
.solo-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.solo-faq-card {
    background: #ffffff;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-md);
    padding: 24px;
    box-shadow: var(--solo-shadow-sm);
}

.solo-faq-q {
    font-size: 16px;
    font-weight: 700;
    color: var(--solo-navy);
    margin: 0 0 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.solo-faq-a {
    font-size: 14px;
    color: var(--solo-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── SEÇÃO 6: CONTATO & FOOTER INSTITUCIONAL ── */
#contato.solo-inst-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    background-image: none !important;
    padding-bottom: 0 !important;
}

.solo-contato-card {
    max-width: 640px;
    margin: 0 auto 64px auto;
    background: #ffffff;
    border: 1px solid var(--solo-border);
    border-radius: var(--solo-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--solo-shadow-md);
    text-align: left;
}

.solo-contato-card .form-group {
    margin-bottom: 18px;
}

.solo-contato-card .form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--solo-navy);
    margin-bottom: 6px;
    display: block;
}

.solo-contato-card .form-group input,
.solo-contato-card .form-group select,
.solo-contato-card .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: var(--solo-navy);
    background-color: #f8fafc;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.solo-contato-card .form-group input:focus,
.solo-contato-card .form-group select:focus,
.solo-contato-card .form-group textarea:focus {
    outline: none;
    border-color: var(--solo-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 84, 157, 0.12);
}

.solo-contato-aviso {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 14px 0 20px 0;
    text-align: center;
}

.solo-contato-card .button-container {
    justify-content: center;
}

.solo-contato-card .button-container button {
    width: 100%;
    padding: 14px 24px;
    background: var(--solo-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.solo-contato-card .button-container button:hover {
    background: var(--solo-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 84, 157, 0.25);
}

/* Rodapé Institucional */
.solo-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 20px 28px 20px;
    margin: 0 -20px;
    text-align: left;
}

.solo-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.solo-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solo-footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: 12px;
    display: block;
}

.solo-footer-brand p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 340px;
    margin: 0;
}

.solo-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 14px 0;
}

.solo-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solo-footer-links a {
    color: #cbd5e1;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.solo-footer-links a:hover {
    color: var(--solo-gold);
}

.solo-footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ── RESPONSIVIDADE (TABLET & MOBILE) ── */
@media (max-width: 1000px) {
    .header {
        padding: 0 16px;
    }

    .header .nav {
        padding: 16px;
        width: 250px;
        top: 72px;
        right: 12px;
        margin-right: 0;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid var(--solo-border);
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
        gap: 8px;
    }

    .header .nav a {
        color: #1e293b !important;
        width: 100%;
        margin: 0 !important;
        padding: 11px 14px !important;
        height: auto;
        border-radius: 10px;
    }

    .header .nav a.active {
        background: #eff6ff;
        color: var(--solo-primary) !important;
        border-bottom: none;
    }

    .solo-eco-grid,
    .solo-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .solo-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solo-b2b-grid,
    .solo-sobre-box {
        grid-template-columns: 1fr;
    }

    .solo-faq-grid {
        grid-template-columns: 1fr;
    }

    .solo-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .section.solo-inst-section {
        padding: 52px 16px !important;
    }

    .solo-section-title {
        font-size: 24px;
    }

    .solo-section-subtitle {
        font-size: 15px;
    }

    .solo-steps-grid,
    .solo-b2b-features {
        grid-template-columns: 1fr;
    }

    .solo-sobre-box,
    .solo-contato-card,
    .solo-b2b-cta-panel {
        padding: 24px 18px;
    }
}

@media (max-width: 768px) {
    /* Imagens otimizadas (-sm ~94KB) para carregamento rápido no mobile */
    #busca.hero:not([style*="background-image"]) {
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            url('../../images/home-hero-1-sm.jpg');
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            image-set(
                url('../../images/home-hero-1-sm.webp') type('image/webp') 1x,
                url('../../images/home-hero-1-sm.webp') type('image/webp') 2x,
                url('../../images/home-hero-1-sm.jpg') type('image/jpeg') 1x,
                url('../../images/home-hero-1-sm.jpg') type('image/jpeg') 2x
            );
    }

    #busca.hero:not([style*="background-image"])::before {
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            url('../../images/home-hero-2-sm.jpg');
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            image-set(
                url('../../images/home-hero-2-sm.webp') type('image/webp') 1x,
                url('../../images/home-hero-2-sm.webp') type('image/webp') 2x,
                url('../../images/home-hero-2-sm.jpg') type('image/jpeg') 1x,
                url('../../images/home-hero-2-sm.jpg') type('image/jpeg') 2x
            );
    }

    #busca.hero:not([style*="background-image"])::after {
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            url('../../images/home-hero-3-sm.jpg');
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.65) 100%),
            image-set(
                url('../../images/home-hero-3-sm.webp') type('image/webp') 1x,
                url('../../images/home-hero-3-sm.webp') type('image/webp') 2x,
                url('../../images/home-hero-3-sm.jpg') type('image/jpeg') 1x,
                url('../../images/home-hero-3-sm.jpg') type('image/jpeg') 2x
            );
    }

    #busca:not(.ia-focus-mode) .filter-container {
        width: calc(100% - 28px);
    }

    #busca:not(.ia-focus-mode) .filter-container h2 {
        font-size: 24px;
        text-align: center;
    }

    #busca:not(.ia-focus-mode) .underline {
        margin: 10px auto 18px auto;
    }

    #busca:not(.ia-focus-mode) .tabs-wrapper {
        display: flex;
        width: 100%;
        float: none;
        justify-content: center;
        margin: 0 0 10px 0;
        padding: 4px;
    }

    #busca:not(.ia-focus-mode) .tab-button {
        flex: 1;
        padding: 10px 8px;
        font-size: 13.5px;
    }

    #busca:not(.ia-focus-mode) .filter-box {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    #busca #local-search-container:not([style*="none"]) {
        flex-wrap: wrap !important;
        gap: 8px;
    }

    #busca #local-search-container .filter-select {
        flex: 1 1 calc(50% - 6px);
        width: calc(50% - 6px);
        min-width: 0;
        margin: 0;
        padding: 11px 10px;
        font-size: 14px;
    }

    #busca #local-search-container .search-input {
        flex: 1 1 100%;
        width: 100%;
        margin: 0;
        padding: 12px 14px;
        font-size: 15px;
    }

    #busca #local-search-container .search-button {
        flex: 1 1 100%;
        width: 100%;
        margin: 0;
        padding: 13px 16px;
        font-size: 15px;
    }
}

@media (max-width: 500px) {
    #busca:not(.ia-focus-mode) .filter-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 86px auto 24px auto;
        width: 92%;
        padding-top: 0;
        padding-bottom: 20px;
    }
}

/* ── PAINEL DE DETALHES DO IMÓVEL SOBREPOSTO AO HEADER ── */
.imovel-box.active {
    z-index: 500 !important;
}

.imovel-box.active .imovel-details,
.imovel-details {
    z-index: 500 !important;
}

.imovel-box.active .close-button,
.imovel-details .close-button {
    z-index: 510 !important;
}

@media (max-width: 500px) {
    .imovel-details {
        top: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
    }
    .close-button {
        top: 12px !important;
        right: 12px !important;
    }
}

/* ── BOTÃO WHATSAPP NO DETALHE DO IMÓVEL (TAMANHO FIXO DO ÍCONE) ── */
.imovel-details .whatsapp-btn-icon-detalhe,
.btn-whatsapp-detalhe .whatsapp-btn-icon-detalhe,
img.whatsapp-btn-icon-detalhe {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
