Same-sex marriage is now legal in 11 of Brazil's 26 states as Rio de Janeiro becomes the 11th.