My Flow hive is less than 10 meters from our patio, and the bees only bothered us for the first week after installation. Hardly surprising considering the disruption of transporting them and them rehousing them in a new hive. They are very gentle Italian bees, with some Cordovan genes from their coloring.
However, I think your concern is very valid, given that you are in Brazil with a huge africanized population. I don’t think I would keep bees close to my house in that circumstance, but why not ask your local beekeepers? Also if you can get pure-bred non-africanized queens, and re-queen your hives when needed, it should stay manageable. Local knowledge and experience would help you most of all. Please tell us what they say!
One other thing to remember is that you can’t re-queen a pure african honey bee hive with a European queen. The hive will kill her. If it is africanized (mixed african and european), you will likely have more luck, but even then, they are quite aggressive at rejecting new queens. So when you re-queen, make sure you don’t let their behavior and genetics drift too much into the aggressive line by waiting too long to requeen.