/* === PÁGINA DE ATENDIMENTO - RESET === */
.atendimento-page {
    position: relative;
    overflow-x: hidden;
}

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

/* === BANNER ATENDIMENTO === */
.atendimento-banner-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.atendimento-banner-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;
}

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

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 0;
}

.banner-text {
    max-width: 100%;
}

.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: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

/* === 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); }
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .atendimento-banner-section {
        min-height: 80vh;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-stats {
        justify-content: center;
    }
    
    .visual-container {
        height: 400px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .mockup-body {
        grid-template-columns: 1fr;
    }
    
    .contacts-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    .banner-container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .visual-container {
        height: 350px;
    }
    
    .floating-elements {
        display: none;
    }
}
