Enviar por SMS: Large language models (LLMs) for legal analysis: RAG and beyond for optimizing domain adaptation in Portuguese legal domain