The decoherence before the measurement increase entropy but collapse returns the state of the system to a pure state. ¿Why then measurements increase entropy
This is very sensitive to what we mean by "entropy".
If it means "information entropy" regarding the knowledge of the state of the system, then the measurement usually decreases it, because usually we know more about the state after the measurement than we did before.
For example, in the measurement of the atom spin, before the measurement we do not know anything about its value at all, so the probability ##p_1## for obtaining spin z+ is one half and the probability ##p_2## for obtaining spin z- is also one half. The information entropy is
$$
I =\sum_k -p_k\ln p_k = -\frac{1}{2}\ln \frac{1}{2} -\frac{1}{2}\ln \frac{1}{2} = \ln 2\approx 1.4~~.
$$
After the measurement by the Stern-Gerlach magnet, we know the spin exactly, let it be z+. Then ##p_1 = 1##, so the information entropy is
$$
I' =\sum_k -p'_k\ln p'_k = -1.\ln 1 - 0.\ln 0 = 0.
$$
(##0.\ln 0## is defined to be 0, probably based on the limit ##\lim_{p\rightarrow 0} p\ln p = 0##.)
It follows that the measurement is followed by decrease of information entropy describing the knowledge of the system.