Hi,
Off the top of my head I would try to download a fresh install of WordPress and use the sample wp-config.php file to create a new one and upload that to your site via FTP and then try to login. At least, that’s my gut intuition on it.
Check this out: https://codex.ww.wp.xz.cn/Editing_wp-config.php
Also, have a look at this: https://ww.wp.xz.cn/support/topic/i-deleted-wp-configphp?replies=4
I hope that helps.
The password on the wp-config.php isn’t the same that you will find on CPanel. Does not work. Don’t know why.
@alinecabral Please start a new thread. Your problem is different than the OP.