/* === CHAT INTERNO SECTION === */
.chat-interno-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.chat-interno-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chat-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23chat-pattern)"/></svg>');
    pointer-events: none;
}

.chat-interno-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.chat-interno-header {
    text-align: center;
    margin-bottom: 4rem;
}

.chat-interno-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.chat-interno-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.chat-interno-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chat-interno-info {
    padding: 2rem;
}

.chat-interno-visual {
    position: relative;
}

.chat-interno-description {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.chat-interno-benefits {
    margin-bottom: 2rem;
}

.chat-benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.chat-benefit-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: #3b82f6;
    transform: translateX(5px);
}

.chat-benefit-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.chat-benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.chat-benefit-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.chat-mockup {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.chat-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h5 {
    font-weight: 600;
    margin: 0;
}

.chat-status {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-messages {
    padding: 1.5rem;
    background: #f8fafc;
}

.chat-message {
    display: flex;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message.received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    position: relative;
}

.message-bubble.sent {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.message-bubble.received {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 0.25rem;
}

.message-sender {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.chat-input {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 2rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: #3b82f6;
}

.chat-send-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-send-btn:hover {
    background: #2563eb;
}

.comparison-highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.comparison-highlight h4 {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comparison-highlight p {
    color: #78350f;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .chat-interno-section {
        padding: 4rem 0;
    }

    .chat-interno-title {
        font-size: 2rem;
    }

    .chat-interno-subtitle {
        font-size: 1.1rem;
    }

    .chat-interno-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chat-interno-visual {
        order: -1;
    }

    .message-bubble {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .chat-interno-container {
        padding: 0 0.75rem;
    }

    .chat-interno-title {
        font-size: 1.75rem;
    }

    .chat-mockup {
        margin: 0 -0.5rem;
    }
}
