Euro weakens as Greek debt talks collapse