la ocurrencia

feminine noun

witty remark, quip, notion

"Tuvo la ocurrencia de pintar el techo azul."

She had the notion of painting the ceiling blue.