/**
 * Página CRM - CINNDI
 * Estilos da página de CRM para vendas
 */

/* Banner */
.crm-banner {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.crm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.crm-banner .crm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.crm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 24px;
}

.crm-badge svg {
    width: 18px;
    height: 18px;
}

.crm-titulo {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.crm-titulo span {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crm-descricao {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

.crm-cta {
    display: flex;
    gap: 16px;
}

.btn-primario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25d366;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primario:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-primario svg {
    width: 20px;
    height: 20px;
}

/* Visual do Banner */
.crm-banner-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.crm-banner-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Seção Vantagens */
.crm-vantagens {
    padding: 100px 0;
    background: white;
}

.crm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.crm-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.crm-section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.crm-vantagens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.crm-vantagem {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.crm-vantagem:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.crm-vantagem-icone {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.crm-vantagem-icone svg {
    width: 28px;
    height: 28px;
    color: white;
}

.crm-vantagem h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.crm-vantagem p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* CTA Final */
.crm-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    text-align: center;
}

.crm-cta-final h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.crm-cta-final p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Seção Impacto do CRM */
.crm-impacto {
    padding: 100px 0;
    background: #f0f9ff;
}

.crm-impacto-bloco {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.crm-impacto-bloco:last-child {
    margin-bottom: 0;
}

.crm-impacto-reverso {
    direction: rtl;
}

.crm-impacto-reverso > * {
    direction: ltr;
}

.crm-impacto-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.crm-tag-verde {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.crm-tag-roxo {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
}

.crm-impacto-texto h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    line-height: 1.3;
}

.crm-impacto-texto p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 12px;
}

.crm-impacto-texto p:last-child {
    margin-bottom: 0;
}

/* Visual: Barras de comparação */
.crm-impacto-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.crm-impacto-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-end;
    height: 200px;
    padding: 24px 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.crm-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.crm-stat-barra {
    width: 80px;
    height: 100%;
    background: #f1f5f9;
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.crm-stat-fill {
    width: 100%;
    background: #cbd5e1;
    border-radius: 8px 8px 0 0;
    transition: height 0.8s ease;
}

.crm-stat-destaque {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
}

.crm-stat-label {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 10px;
}

.crm-impacto-numero {
    display: flex;
    align-items: baseline;
    gap: 12px;
    justify-content: center;
}

.crm-numero-grande {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crm-numero-desc {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Visual: Funil */
.crm-impacto-funil {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.crm-funil-etapa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.crm-funil-etapa span {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.crm-funil-etapa strong {
    font-size: 1rem;
    color: #1a1a2e;
}

.crm-funil-ganho {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.crm-funil-ganho span {
    color: #166534;
}

.crm-funil-ganho strong {
    color: #166534;
}

/* Visual: Dashboard */
.crm-impacto-dashboard {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.crm-dash-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.crm-dash-valor {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    min-width: 100px;
}

.crm-dash-label {
    font-size: 0.85rem;
    color: #94a3b8;
    flex: 1;
}

.crm-dash-barra {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.crm-dash-progresso {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.crm-dash-verde {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.crm-dash-roxo {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.crm-dash-laranja {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

/* Seção Por que CRM CINNDI */
.crm-porque {
    padding: 100px 0;
    background: #f8fafc;
}

.crm-porque-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.crm-porque-texto h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.crm-porque-texto p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.crm-porque-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crm-porque-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.crm-porque-lista li:last-child {
    border-bottom: none;
}

.crm-porque-lista svg {
    width: 22px;
    height: 22px;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.crm-porque-lista span {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.crm-porque-lista strong {
    color: #1a1a2e;
}

.crm-porque-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.crm-porque-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* CRM + Ligações */
.crm-ligacoes {
    padding: 100px 0;
    background: #fffbeb;
}

.crm-ligacoes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.crm-ligacoes-card {
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.crm-ligacoes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

.crm-ligacoes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    color: #ffffff;
    margin-bottom: 16px;
}

.crm-ligacoes-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.crm-ligacoes-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 968px) {
    .crm-ligacoes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .crm-ligacoes {
        padding: 60px 0;
    }
}

.btn-primario-grande {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primario-grande:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-primario-grande svg {
    width: 24px;
    height: 24px;
    color: #25d366;
}

/* Responsivo */
@media (max-width: 968px) {
    .crm-banner .crm-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .crm-vantagens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .crm-impacto-bloco {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .crm-impacto-reverso {
        direction: ltr;
    }
    
    .crm-porque-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .crm-banner {
        padding: 100px 0 60px;
    }
    
    .crm-vantagens-grid {
        grid-template-columns: 1fr;
    }
    
    .crm-impacto {
        padding: 60px 0;
    }
    
    .crm-impacto-bloco {
        gap: 32px;
        margin-bottom: 60px;
    }
    
    .crm-impacto-texto h3 {
        font-size: 1.4rem;
    }
    
    .crm-numero-grande {
        font-size: 2.2rem;
    }
    
    .crm-vantagem {
        padding: 24px;
    }
    
    .crm-cta-final {
        padding: 60px 0;
    }
    
    .crm-porque-texto h3 {
        font-size: 1.5rem;
    }
}
