\documentclass[12pt]{book}

% Configuração das margens usando o pacote geometry
% a4paper: Define o tamanho do papel como A4
% top: Margem superior (considerando a margem de segurança de 0.5cm)
% bottom: Margem inferior (considerando a margem de segurança de 0.5cm)
% inner: Margem interna (miolo, considerando margem de segurança de 0.5cm + margem de vinco de 0.7cm = 1.2cm)
% outer: Margem externa (faca, considerando margem de segurança de 0.5cm)
% marginparwidth e marginparsep: Definidos como 0pt para evitar espaço para notas marginais, comum em livros.
\usepackage[a5paper,
            top=25mm,
            bottom=10mm,
            inner=25mm,
            outer=12.5mm,
            marginparwidth=0pt,
            marginparsep=0pt,
            ]{geometry}

% Outros pacotes úteis para um livro
\usepackage{textcomp}
\usepackage{fancyhdr}
\usepackage{emptypage}
\usepackage[utf8]{inputenc} % Para caracteres especiais
\usepackage[T1]{fontenc} % Melhor codificação de fonte
\usepackage{ebgaramond}
\usepackage{microtype}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\setlength{\headheight}{15pt} 
\raggedbottom{}
% Início do documento
\begin{document}

\frontmatter

\thispagestyle{empty}
\newgeometry{margin=0cm}
\begin{titlepage}
    \centering
    \vspace*{\stretch{1}}
    {\Huge\bfseries The Island of Doctor Moreau\par}
    \vspace*{4cm}
    {\huge H. G. Wells\par}
    \vspace*{\stretch{1}}
\end{titlepage}
\thispagestyle{empty}
\vspace*{\stretch{1}}
\begin{center}
    \small % Use a smaller font size for this information

    This text is in the public domain.\par % Use \par for a line break
    Sourced from Project Gutenberg.\par
    www.gutenberg.org\par % Paragraph break after the website (adds more vertical space)

    \vspace{0.5\baselineskip} % Add a small vertical space between blocks of information

    % --- Add font and size information here (Standard in book production) ---
    Body text typeface: EB Garamond.\par
    Body text size: 12pt. % Use the actual base font size you defined in \documentclass
    % ----------------------------------------------------------------------

\end{center}
\vspace*{\stretch{1}}
% Sumário
\restoregeometry{}
\tableofcontents

\mainmatter{}

\chapter*{INTRODUCTION}
\pagestyle{fancy}
\addcontentsline{toc}{chapter}{INTRODUCTION}
\cleardoublepage{}{}

\fancyhead[l]{INTRODUCTION}
\fancyhead[r]{\thepage}

\include{chapters/Introduction}

\fancyhead[LO]{\nouppercase{\leftmark}} % Página Ímpar: Título (apenas o nome) no lado Esquerdo (interno)
\fancyhead[RE]{\nouppercase{\leftmark}} % Página Par: Título (apenas o nome) no lado Direito (interno)

\fancyhead[LE]{\thepage}             % Página Par: Número da página no lado Esquerdo (Externo)
\fancyhead[RO]{\thepage}  
\chapter{IN THE DINGEY OF THE \emph{LADY VAIN}.}
           % Página Ímpar: Número da página no lado Direito (Externo)


\cleardoublepage{}
\include{chapters/In the Dingey of Lady Vain}

\chapter{THE MAN WHO WAS GOING NOWHERE}
\cleardoublepage{}
\include{chapters/The man who was going nowhere}

\chapter{THE STRANGE FACE}
\cleardoublepage{}

\include{chapters/The Strange Face}

\chapter{AT THE SCHOONER’S RAIL}
\cleardoublepage{}

\include{chapters/At the Schooners Rail}

\chapter{THE MAN WHO HAD NOWHERE TO GO}
\cleardoublepage{} 

\include{chapters/The man who had nowhere to go}

\chapter{THE EVIL-LOOKING BOATMEN}
\cleardoublepage{}

\include{chapters/The evil looking boatmen}

\chapter{THE LOCKED DOOR}
\cleardoublepage{}

\include{chapters/Locked Door}

\chapter{THE CRYING OF THE PUMA}
\cleardoublepage{}

\include{chapters/The Crying of the puma}

\chapter{THE THING IN THE FOREST}
\cleardoublepage{}

\include{chapters/The thing in the forest}

\chapter{THE CRYING OF THE MAN}
\cleardoublepage{}

\include{chapters/The Crying of the man}

\chapter{THE HUNTING OF THE MAN}
\cleardoublepage{}

\include{chapters/The Hunting of the man}

\chapter{THE SAYERS OF THE LAW}
\cleardoublepage{}

\include{chapters/The sayers of the Law}

\chapter{A PARLEY}
\cleardoublepage{} 

\include{chapters/A Parley}

\chapter{DOCTOR MOREAU EXPLAINS}
\cleardoublepage{}

\include{chapters/Doctor Moreau Explains}

\chapter{CONCERNING THE BEAST FOLK}
\cleardoublepage{}

\include{chapters/Concerning the beast folk}

\chapter{HOW THE BEAST FOLK TASTE BLOOD}
\cleardoublepage{}

\include{chapters/How the beast folk taste blood}

\chapter{A CATASTROPHE}
\cleardoublepage{}

\include{chapters/A Catastrophe}

\chapter{THE FINDING OF MOREAU}
\cleardoublepage{}

\include{chapters/The Finding of Moreau}

\chapter{MONTGOMERY’S \emph{BANK HOLIDAY}}
\cleardoublepage{}

\include{chapters/Montgomerys Bank holiday}

\chapter{ALONE WITH THE BEAST FOLK}
\cleardoublepage{}

\include{chapters/Alone With the beast folk}

\chapter{THE REVERSION OF THE BEAST FOLK}
\cleardoublepage{}

\include{chapters/The Reversion of the beast folk}

\chapter{THE MAN ALONE}
\cleardoublepage{}

\include{chapters/The Man Alone}

\cleardoublepage{}
\thispagestyle{empty}
\vspace*{\stretch{1}}
\centering
NOTE\@.
\\

The substance of the chapter entitled “Doctor Moreau explains,” which
contains the essential idea of the story, appeared as a middle article
in the \emph{Saturday Review} in January, 1895. This is the only portion of
this story that has been previously published, and it has been entirely
recast to adapt it to the narrative form.
\\
\vspace*{\stretch{1}}


\end{document}