Learned borrowing from Latin genius. The sense of genie is also a phono-semantic matching of Arabic جِنِّيّ (jinniyy) (compare French génie).
Practica hablar y memorizar " génio " y muchas otras palabras y oraciones en portugués .