check the camshaft position sensor as I think these can give erroneous signals when hot. Run the car, when it gets up to temperature, stop it, see if it starts, if it doesn't, spray some compressed air in a can on it (it'll cool it down quickly) and try again. If it starts, there's your problem.