With a same day transborder flight to/from Canada in FC, you get lounge access. Having flat beds or not doesn't matter, although your flight will be domestic FC service not D1. The following day, after an overnight connection, is more ambiguous, although your case is stronger if it's a genuine connection (under 24 hours and on the same fare component) and not a stopover or multicity itinerary/broken fare.