From Latin īdyllium, from Ancient Greek εἰδύλλιον (eidúllion), from diminutive of εἶδος (eîdos, “form, shape”).
Practice speaking and memorizing "idílio" and many other words and sentences in Portuguese.