I calculated your lease with a cap cost
before $1k build-out incentive at $35800 (invoice). If you take that, subtract the cap reduction that the dealer rigged up of $365 and then use the the $1k incentive, you end up at $362/mo, which is very very close to what you quoted.
Unless there's another $1k you haven't mentioned in there somewhere, that means you're paying invoice for the car and then BMW is helping you out with the build-out credit (that's the way I look at incentives). The $365 cap cost reduction is bit weird, but it's not that much money to have on the line considering.
Yes, it's a good deal.