Pdip tqfp 644P

pipesg:
but I supposse that the important thing is the relation between arduino pins and the atmels pin functions not the numbers pinout.

Correct. The physical pin on the package has no impact on how the chip is controlled, rather it is the internal port registers that are addressed by the software.