[SGRAI] Main funcional