Complex dynamics, financial fragility and stylized facts