You're right about U.S. service, a system in use before, during and after the war.
Brevets weren't used by the Confederate military. Some people mistake the junior 2nd lieutenant's rank for bvt. 2nd lieutenant, but this isn't found in original documents.