Remarks: The trick is to use $\mathrm{e}^{u} = \mathrm{e}^a\mathrm{e}^{u - a}
\ge \mathrm{e}^a (1 + u - a)$ by choosing appropriate constant $a$.
More details are given at the end.
We have
\begin{align*}
I &= \int_{\pi/4}^{\pi/3} \mathrm{e}^{\cos x + \cos^2{x}}\,\mathrm{d} x + \int_{\pi/3}^{\pi/2} \mathrm{e}^{\cos x + \cos^2{x}}\,\mathrm{d} x\\[6pt]
&= \int_{\pi/4}^{\pi/3} \mathrm{e}\cdot \mathrm{e}^{\cos x + \cos^2{x} - 1}\,\mathrm{d} x + \int_{\pi/3}^{\pi/2} \mathrm{e}^{1/2}\mathrm{e}^{\cos x + \cos^2{x} - 1/2}\,\mathrm{d} x\\[6pt]
&\ge \int_{\pi/4}^{\pi/3} \mathrm{e}\cdot (1 + \cos x + \cos^2{x} - 1)\,\mathrm{d} x + \int_{\pi/3}^{\pi/2} \mathrm{e}^{1/2}(1 + \cos x + \cos^2{x} - 1/2)\,\mathrm{d} x \tag{1}\\[6pt]
&= \mathrm{e}\left(- \frac14 + \frac{1}{24}\pi - \frac{\sqrt 2}{2} + \frac58 \sqrt 3\right)
+ \mathrm{e}^{1/2}\left(-\frac58\sqrt 3 + \frac16\pi + 1\right)\\[6pt]
&> 2.7\left(- \frac14 + \frac{1}{24}\cdot 3.14 - \frac{\sqrt 2}{2} + \frac58 \sqrt 3\right)
+ 1.64\left(-\frac58\sqrt 3 + \frac16\cdot 3.14 + 1\right)\\[6pt]
&> \sqrt 2
\end{align*}
where we use $\mathrm{e}^u \ge 1 + u$ for all $u\in \mathbb{R}$ in (1),
and $\mathrm{e} > 2.7$, and $\mathrm{e}^{1/2} > 1.64$, and $\pi > 3.14$.
More details for the trick:
First, we try
\begin{align*}
I &= \int_{\pi/4}^{\pi/2} \mathrm{e}^a\cdot\mathrm{e}^{\cos x + \cos^2{x} - a}\,\mathrm{d} x\\
&\ge \int_{\pi/4}^{\pi/2} \mathrm{e}^a\cdot (1 + \cos x + \cos^2{x} - a)\,\mathrm{d} x\\
&= \mathrm{e}^a \left(\frac34 + \frac38\pi - \frac{\sqrt 2}{2} - \frac{\pi}{4} a\right).
\end{align*}
Let
$$f(a) := \mathrm{e}^a \left(\frac34 + \frac38\pi - \frac{\sqrt 2}{2} - \frac{\pi}{4} a\right).$$
We have
$$f'(a) = \frac{\pi}{4}\mathrm{e}^a
\left(\frac12 + \frac{3-2\sqrt 2}{\pi} -a \right).$$
Thus, $f(a)$ achieves its global maximum at $a_0 = \frac12 + \frac{3-2\sqrt 2}{\pi}$.
However $f(a_0) < \sqrt 2$. Thus, we split the integral into two parts i.e.
$$I = \int_{\pi/4}^{\pi/3} \mathrm{e}^{\cos x + \cos^2{x}}\,\mathrm{d} x + \int_{\pi/3}^{\pi/2} \mathrm{e}^{\cos x + \cos^2{x}}\,\mathrm{d} x$$
and do something similar for each part.