Well, you showed me how to analyse a mesh to find errors.
The reason why the mesh was so messed up it’s because Jonathan put some edges to make the corners sharper and then he made some space to extrude inward. I tried to do like him but it turned out to be like you saw. I prefer to do the contrary. Make an extrusion, and then adding edge loop at the end. It’s less complicated.
thx for your help.