Let the isosceles triangle $ABC$ with $| AB | = | AC |$. The point $M$ is the midpoint of the base $[BC]$, the point $N$ is the orthogonal projection of the point $M$ on the line $AC$, and the point $P$ is located on the segment $(MC)$ such that $| MP | = | P C | \sin^2 C$. Prove that the lines $AP$ and $BN$ are perpendicular.