Lewis Hamilton secured a dominant victory at the Barcelona Grand Prix, showcasing Ferrari's resurgence and strategic brilliance.