Yep. eCVTs are fantastically simple and inherently bulletproof with whatever normal maintenance is called for (basically just a simple trans fluid drain and fill at I think 150k miles per the official maintenance schedule on the C-Max). The issues with the 2013-2015 MY's were basically installation failures and not an inherent design failure. Surprised there's a failure on a 2018. That should be a rarity but thankfully you are well within the warranty period and statistically speaking the replacement should last the lifetime of the car no sweat.
CVTs (specifically what you'd find on non-hybrid vehicles) are a completely different beast from eCVTs and seem to be all over the board on reliability.