You could look into something like MPLS or L2TPv3. L2TPv3 is easier to configure, but lacks features such as traffic engineering and has more overhead than MPLS. Both allow you to encapsulate layer 2 traffic (VLANs) over layer 3 (IP) interfaces. Would you really want to extend the broadcast domains of those VLANs over your WAN links to remote sites though? You will be adding the overhead of MPLS / L2TPv3 as well as the additional broadcast traffic that would normally be contained to you LAN. This could have significant impact on you WAN links.
Regards,
Andy