%% =============================================================
%% Template: Projeto de Pesquisa UFRPE
%% Adequado à Resolução CEPE/UFRPE Nº 361/2021 (Art. 10, I a XIV)
%% Compilador: pdfLaTeX (compatível com Overleaf)
%% Codificação: UTF-8 | Normas: ABNT (abntex2cite)
%% =============================================================
\documentclass[a4paper,12pt,oneside]{article}
%% --- Codificação e idioma ---
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
%% --- Fontes ---
\usepackage{lmodern}
\usepackage{microtype}
%% --- Geometria e espaçamento (padrão ABNT NBR 14724) ---
\usepackage[a4paper,
top=3.0cm, bottom=2.0cm,
left=3.0cm, right=2.0cm]{geometry}
\usepackage{setspace}
\onehalfspacing
\setlength{\parindent}{1.25cm}
\setlength{\parskip}{0pt}
%% =============================================================
%% LARGURA DAS TABELAS DE CRONOGRAMA (paisagem)
%%
%% \textheight (altura do texto em retrato) = \textwidth em paisagem.
%% Isso é exatamente a largura disponível para as tabelas landscape.
%% Calculado automaticamente pelo geometry — sem hardcode.
%% Se o professor alterar as margens, o valor se ajusta sozinho.
%% =============================================================
\newlength{\cronwidth}
\AtBeginDocument{\setlength{\cronwidth}{\textheight}}
%% --- Matemática ---
\usepackage{amsmath,amssymb,amsthm,mathtools}
%% --- Figuras e tabelas ---
\usepackage{graphicx}
\usepackage{booktabs,longtable,array,multirow}
\usepackage{tabularx} %% colunas que se ajustam a \linewidth automaticamente
\usepackage[table]{xcolor}
\usepackage{colortbl}
\usepackage{pdflscape}
\usepackage{makecell}
%% =============================================================
%% Paleta institucional UFRPE (cores oficiais extraídas do brasão)
%% Azul UFRPE #1E2B4E -- escudo, cabeçalhos, tipografia
%% Vermelho UFRPE #BC1622 -- chama das tochas, destaques pontuais
%% Dourado UFRPE #F7B033 -- haste das tochas, realces
%% Branco #FFFFFF -- fundos e contraste
%% =============================================================
\definecolor{ufrpeblue}{HTML}{1E2B4E}
\definecolor{ufrpered}{HTML}{BC1622}
\definecolor{ufrpegold}{HTML}{F7B033}
\definecolor{cinzaclaro}{gray}{0.92}
%% =============================================================
%% Cores das fases — versão light (pastel suave, inspiradas na
%% paleta UFRPE mas com alta luminosidade para uso em tabelas)
%%
%% F.0 Cinza azulado #E8ECF4 texto: ufrpeblue contraste 11.7 (AAA)
%% F.1 Dourado suave #FDF0D0 texto: ambar contraste 5.9 (AA)
%% F.2 Salmão #FADADD texto: rubi contraste 8.4 (AAA)
%% F.3 Azul médio #C8D4E8 texto: ufrpeblue contraste 9.3 (AAA)
%% =============================================================
\definecolor{faseA}{HTML}{E8ECF4} % F.0 — cinza azulado
\definecolor{faseB}{HTML}{FDF0D0} % F.1 — dourado suave
\definecolor{faseC}{HTML}{FADADD} % F.2 — salmão
\definecolor{faseD}{HTML}{C8D4E8} % F.3 — azul médio
\definecolor{txtB}{HTML}{7A5500} % texto sobre F.1 (âmbar escuro)
\definecolor{txtC}{HTML}{7A1010} % texto sobre F.2 (rubi escuro)
\newcommand{\myrowcolour}{\rowcolor{cinzaclaro}}
%% --- Hyperlinks (após definir as cores) ---
\usepackage[pdftex,colorlinks=true,
linkcolor=ufrpeblue,citecolor=ufrpeblue,urlcolor=ufrpeblue]{hyperref}
%% --- Bibliografia ABNT ---
\usepackage[alf,abnt-emphasize=bf,bibjustif,abnt-etal-list=0]{abntex2cite}
%% --- Cabeçalho/rodapé com filete UFRPE ---
\usepackage{fancyhdr}
\setlength{\headheight}{15pt}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small\color{ufrpeblue}\textbf{Projeto de Pesquisa -- UFRPE}}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{1.2pt}
\renewcommand{\headrule}{\hbox to\headwidth{%
\color{ufrpeblue}\leaders\hrule height \headrulewidth\hfill}}
%% Nota: em páginas landscape (pdflscape), o cabeçalho fica na lateral
%% por design — comportamento padrão do pdflscape no Overleaf.
%% --- Formatação de seções (cor institucional) ---
\usepackage{titlesec}
\titleformat{\section}
{\Large\bfseries\color{ufrpeblue}}{\thesection}{1em}{}
\titleformat{\subsection}
{\large\bfseries\color{ufrpeblue}}{\thesubsection}{1em}{}
%% --- Outros ---
\usepackage{enumitem,caption,indentfirst}
\captionsetup{labelfont={bf,color=ufrpeblue}}
%% =============================================================
\begin{document}
%% ── CAPA INSTITUCIONAL ────────────────────────────────────────
%% (fusão de sections/title.tex — não é necessário arquivo separado)
\begin{titlepage}
\thispagestyle{empty}
\begin{center}
\includegraphics[width=0.34\textwidth]{img/ufrpe_logo.jpg}\\[0.5cm]
{\small\color{ufrpeblue}\textbf{DEPARTAMENTO DE MATEMÁTICA}}\\
{\footnotesize\color{ufrpeblue}\textit{<Programa de Pós-Graduação ou linha de pesquisa>}}\\[0.6cm]
\noindent\textcolor{ufrpeblue}{\rule{\linewidth}{1.6pt}}\\[-2pt]
\noindent\textcolor{ufrpegold}{\rule{0.50\linewidth}{0.9pt}}%
\textcolor{ufrpered}{\rule{0.50\linewidth}{0.9pt}}\\[2.0cm]
{\large\color{ufrpeblue}\textbf{PROJETO DE PESQUISA}}\\[0.3cm]
{\footnotesize\itshape Submetido em conformidade com a Resolução
CEPE/UFRPE n\textordmasculine~361/2021}\\[2.5cm]
{\Large\bfseries\color{ufrpeblue} <Título do projeto>}\\[3cm]
\noindent\textcolor{ufrpeblue}{\rule{0.6\linewidth}{0.6pt}}\\[0.2cm]
{\normalsize\itshape Edital/Chamada de referência:}\\
{\normalsize <Nome da chamada / agência / número -- ou ``Projeto institucional''>}\\[0.2cm]
\noindent\textcolor{ufrpeblue}{\rule{0.6\linewidth}{0.6pt}}\\[2cm]
\begin{minipage}{0.85\textwidth}
\centering
\textbf{Coordenador(a) do Projeto}\\[0.2cm]
<Nome completo do(a) docente>\\
<Matrícula SIAPE> \quad{\textbar}\quad <e-mail>@ufrpe.br\\
Departamento de Matemática (DM) -- UFRPE
\end{minipage}\\[2cm]
\vfill
{\large\color{ufrpeblue}\textbf{Recife -- PE}}\\
{\large\color{ufrpeblue}\textbf{\the\year}}
\end{center}
\end{titlepage}
%% ── SUMÁRIO ───────────────────────────────────────────────────
\newpage
\renewcommand{\contentsname}{\textcolor{ufrpeblue}{Sumário}}
\tableofcontents
%% =============================================================
%% I. SEÇÃO ADMINISTRATIVA (Art. 10, incisos I a VII)
%% =============================================================
\newpage
\input{sections/01-identificacao.tex}
%% =============================================================
%% II. SEÇÃO CIENTÍFICA (Art. 10, incisos VIII a XIV)
%% =============================================================
\newpage\input{sections/02-resumo.tex}
\newpage\input{sections/03-introducao.tex}
\newpage\input{sections/04-objetivos.tex}
\newpage\input{sections/05-metodologia.tex}
\newpage\input{sections/06-contribuicoes.tex}
\newpage\input{sections/07-cronograma.tex}
%% ── REFERÊNCIAS (inciso XIV) ──────────────────────────────────
\newpage
\renewcommand{\refname}{\textcolor{ufrpeblue}{Referências bibliográficas}}
\bibliographystyle{abntex2-alf}
\bibliography{mybib}
%% ── ASSINATURA (fusão de sections/99-assinatura.tex) ──────────
\vspace{1.5cm}
\noindent\textcolor{ufrpeblue}{\rule{\linewidth}{0.6pt}}\\[0.4cm]
\noindent\textbf{Data e assinatura do(a) coordenador(a):}\\[1.0cm]
\begin{center}
\begin{tabular}{c}
\rule{8cm}{0.6pt} \\
<Nome completo do(a) coordenador(a)> \\
SIAPE: <NN> \quad{\textbar}\quad CPF: <NN> \\
\end{tabular}
\\[0.6cm]
Recife--PE, \today
\end{center}
\end{document}