This does not directly answer the question but one can prove periodicity with another argument: for all $a\in{\mathbb R}$, one has
\begin{equation}
m:=\inf_{t\in[a, \infty)}|s(t)| = 0
\end{equation}
Indeed, if $b>a$, the mean value theorem applied to $c(x)$ tells us that for a certain number $t\in (a,b)$, one has
\begin{equation}
m\le |s(t)| = |c'(t)| = \left|\frac{c(b)-c(a)}{b-a}\right|\le \frac{2}{b-a}
\end{equation}
which tends to $0$ when $b\to\infty$.
A consequence of this is that $s$ cannot increase monotonically on $(0,\infty)$ otherwise we would have $0<s(a)\le m$ for any $a>0$ and this is a contradiction. Let $\alpha$ be the largest number such that $s$ increases on $(0, \alpha)$. We have $c(\alpha) = s'(\alpha) = 0$ and $s(\alpha)> 0$ and this implies $s(\alpha) = 1$.
The differential equation $y''+y=0$ now implies that $c(x) = s(x + \alpha)$ because both hand sides of this equality satisfy the same Cauchy problem at $x=0$. As $c$ is even, we conclude that $s(\alpha - x) = s(\alpha + x)$ and it follows that $s(x) = -s(x + 2\alpha)$ by the same Cauchy problem argument. Hence $s(x + 4\alpha) = -(-s(x)) = s(x)$ and $s$ is periodic with period $4\alpha$.