/* === AJUSTES PARA PÁGINA DE ATENDIMENTO === */
.atendimento-page {
    padding-top: 4rem; /* Compensa o menu fixo */
}

/* === CONTAINER PRINCIPAL === */
.main-content {
    width: 100%;
}

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

/* === SEÇÃO ATENDIMENTO === */
.atendimento-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.atendimento-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.atendimento-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* === BANNER DE INÍCIO === */
.atendimento-banner {
    margin-bottom: 80px;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.banner-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === VISUAL DO BANNER === */
.banner-visual {
    position: relative;
}

.visual-container {
    position: relative;
    height: 500px;
}

.interface-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.mockup-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.interface-title {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.mockup-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: calc(100% - 60px);
}

/* === PAINEL DE CONTATOS === */
.contacts-panel {
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
}

.panel-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.active-count {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-list {
    padding: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: white;
}

.contact-item.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-name {
    display: block;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-message {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online { background: #10b981; }
.status-dot.away { background: #f59e0b; }

.tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.tag.premium {
    background: #fef3c7;
    color: #92400e;
}

.tag.vendas {
    background: #dbeafe;
    color: #1d4ed8;
}

/* === PAINEL DE CHAT === */
.chat-panel {
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.user-name {
    display: block;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.user-status {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.message.customer {
    justify-content: flex-start;
}

.message.agent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.customer .message-bubble {
    background: #f1f5f9;
    color: #374151;
    border-bottom-left-radius: 6px;
}

.message.agent .message-bubble {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 6px;
}

.message-time {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* === ELEMENTOS FLUTUANTES === */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

.ai-suggestion {
    top: 20%;
    right: -10%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-label {
    background: #8b5cf6;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
}

.notification {
    bottom: 30%;
    left: -15%;
    display: flex;
    align-items: center;
    gap: 8px;
    animation-delay: 1.5s;
}

.notif-icon {
    font-size: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* === RECURSOS PRINCIPAIS === */
.recursos-section {
    margin-bottom: 80px;
}

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

.recursos-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.recursos-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.recurso-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.recurso-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.recurso-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recurso-features li {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.feature-text strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.feature-description {
    color: #3b82f6;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === CRM E RELATÓRIOS === */
.crm-section {
    margin-bottom: 80px;
}

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

.crm-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.crm-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.crm-feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.crm-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.crm-feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.crm-feature p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === CTA FINAL === */
.atendimento-cta {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.atendimento-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.atendimento-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.atendimento-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.cta-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-stats {
        justify-content: center;
    }
    
    .mockup-body {
        grid-template-columns: 1fr;
    }
    
    .contacts-panel {
        display: none;
    }
    
    .recursos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .crm-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .atendimento-container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .recursos-title,
    .crm-title {
        font-size: 2rem;
    }
    
    .atendimento-cta {
        padding: 30px 20px;
    }
    
    .atendimento-cta h3 {
        font-size: 2rem;
    }
}
