/* ═══════════════════════════════════════════════════════════════════════
   LANDING PAGE DE PROPRIETÁRIOS - CHAT IMÓVEL / SOLOBR
   Estilo harmonizado com a captacao_view.jsp
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --primary: #1e3a8a;
    --primary-hover: #1e40af;
    --primary-light: #eff6ff;
    --accent: #2563eb;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1eb956;
    --whatsapp-dark: #128C7E;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-focus: #3b82f6;
    --gold: #f59e0b;
    --gold-light: #fef3c7;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── HEADER ── */
.header-lp {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.header-central-titulo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 0 16px;
}

.header-central-titulo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.4px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
}

.header-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--whatsapp-green);
}

.btn-header-entrar {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
}

.btn-header-entrar:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* ── CONTAINER PRINCIPAL ── */
.main-wrapper {
    max-width: 1000px;
    margin: 32px auto 60px auto;
    padding: 0 20px;
}

/* ── HERO SECTION ── */
.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 32px;
    padding: 40px 36px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #eff6ff;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
}

.hero-titulo {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.6px;
    margin-bottom: 16px;
}

.hero-titulo span.destaque-blue {
    color: var(--primary);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitulo {
    font-size: 17px;
    color: #475569;
    max-width: 780px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

/* ── SEÇÃO COMO FUNCIONA (IA WHATSAPP) ── */
.section-como-funciona {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 36px 32px;
    margin-bottom: 32px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag-pill {
    display: inline-block;
    background-color: #f0fdf4;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #bbf7d0;
    text-transform: uppercase;
}

.section-titulo {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.section-subtitulo {
    font-size: 15px;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #cbd5e1;
}

.step-card.destaque-ia {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #86efac;
}

.step-card.destaque-link {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: #93c5fd;
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.step-card.destaque-ia .step-badge-num {
    background-color: #16a34a;
}

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

.step-titulo {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.step-desc {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.step-desc strong {
    color: #0f172a;
}

/* ── CARD PERSUASIVO DE CHAMADA (CTA WHATSAPP) ── */
.cta-whatsapp-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 44px 32px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-whatsapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 211, 102, 0.18);
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(74, 222, 128, 0.35);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.cta-whatsapp-titulo {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.25;
}

.cta-whatsapp-sub {
    font-size: 16.5px;
    color: #e2e8f0;
    max-width: 680px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent !important;
    background-color: transparent !important;
    color: #15803d;
    border: 2px solid var(--whatsapp-green);
    font-size: 17px;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
}

.btn-whatsapp-cta:hover {
    background-color: rgba(37, 211, 102, 0.1) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    color: #166534;
}

.btn-whatsapp-cta:active {
    transform: translateY(-1px) scale(0.99);
}

/* No card escuro de CTA */
.cta-whatsapp-card .btn-whatsapp-cta {
    color: #ffffff;
    border-color: #4ade80;
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
}

.cta-whatsapp-card .btn-whatsapp-cta:hover {
    background-color: rgba(74, 222, 128, 0.16) !important;
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(74, 222, 128, 0.45);
}

.whatsapp-btn-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.cta-whatsapp-info {
    margin-top: 18px;
    font-size: 13.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-whatsapp-info strong {
    color: #cbd5e1;
}

/* ── BENEFÍCIOS SECTION ── */
.section-beneficios {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 36px 32px;
    margin-bottom: 32px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.beneficio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.beneficio-icon {
    font-size: 32px;
    line-height: 1;
}

.beneficio-titulo {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.beneficio-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
}

/* ── BANNER DE PARCEIROS (PADRÃO CAPTACAO_VIEW) ── */
.parceiros-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 480px;
    width: 100%;
    margin: 28px auto 0 auto;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.parceiros-banner-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    flex-shrink: 0;
    box-sizing: border-box;
}

.parceiros-banner-icon {
    width: 22px;
    height: 22px;
}

.parceiros-banner-text {
    font-size: 13.5px;
    color: #475569;
    text-align: left;
    line-height: 1.5;
    margin: 0;
}

.parceiros-banner-number {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    margin-right: 2px;
}

.parceiros-banner-highlight {
    font-weight: 700;
    color: #0f172a;
}

/* ── FAQ SECTION ── */
.section-faq {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 36px 32px;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    background: #f8fafc;
}

.faq-pergunta {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-resposta {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
}

/* ── FOOTER ── */
.footer-lp {
    text-align: center;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px)) 24px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background: #ffffff;
}

/* ── RESPONSIVIDADE MOBILE ── */
@media (max-width: 768px) {
    .header-lp {
        padding: 10px 16px;
        height: auto;
    }

    .header-container {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .header-logo {
        order: 1;
    }

    .header-right-group {
        order: 2;
    }

    .header-central-titulo-wrapper {
        order: 3;
        width: 100%;
        flex: none;
        padding: 6px 0 0 0;
        margin-top: 2px;
        border-top: 1px solid #f1f5f9;
        text-align: center;
        justify-content: center;
    }

    .header-central-titulo {
        font-size: 16px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.3px;
    }

    .header-logo img {
        height: 30px;
    }

    .header-badge {
        padding: 4px 10px;
        font-size: 11.5px;
        gap: 6px;
    }

    .btn-header-entrar {
        padding: 4px 10px;
        font-size: 11.5px;
    }

    .main-wrapper {
        margin: 16px auto 36px auto;
        padding: 0 12px;
    }

    .hero-card {
        padding: 28px 18px;
    }

    .hero-titulo {
        font-size: 24px;
    }

    .hero-subtitulo {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .section-como-funciona,
    .section-beneficios,
    .section-faq {
        padding: 24px 16px;
    }

    .section-titulo {
        font-size: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cta-whatsapp-card {
        padding: 32px 18px;
    }

    .cta-whatsapp-titulo {
        font-size: 22px;
    }

    .cta-whatsapp-sub {
        font-size: 14.5px;
    }

    .btn-whatsapp-cta {
        width: 100%;
        font-size: 16px;
        padding: 16px 20px;
    }

    .whatsapp-btn-icon {
        width: 24px;
        height: 24px;
    }

    .parceiros-banner {
        padding: 12px 14px;
        flex-direction: row;
    }
}
