
import React from 'react';
import { Route, Routes, BrowserRouter as Router } from 'react-router-dom';
import { ThemeProvider } from './components/ThemeProvider.jsx';
import ScrollToTop from './components/ScrollToTop.jsx';
import Header from './components/Header.jsx';
import Footer from './components/Footer.jsx';

// Pages
import HomePage from './pages/HomePage.jsx';
import MetodoCVTPage from './pages/MetodoCVTPage.jsx';
import PatrimonioTecnologicoPage from './pages/PatrimonioTecnologicoPage.jsx';
import ContinuidadeTecnologicaPage from './pages/ContinuidadeTecnologicaPage.jsx';
import ExperienciasPage from './pages/ExperienciasPage.jsx';
import InvestidoresPage from './pages/InvestidoresPage.jsx';
import SobrePage from './pages/SobrePage.jsx';
import AvaliacaoExclusivaPage from './pages/AvaliacaoExclusivaPage.jsx';
import ContatoPage from './pages/ContatoPage.jsx';

function App() {
  return (
    <ThemeProvider defaultTheme="dark" storageKey="lcp-theme">
      <Router>
        <ScrollToTop />
        <Header />
        <Routes>
          <Route path="/" element={<HomePage />} />
          <Route path="/metodo-cvt" element={<MetodoCVTPage />} />
          <Route path="/patrimonio-tecnologico" element={<PatrimonioTecnologicoPage />} />
          <Route path="/continuidade-tecnologica" element={<ContinuidadeTecnologicaPage />} />
          <Route path="/experiencias" element={<ExperienciasPage />} />
          <Route path="/investidores" element={<InvestidoresPage />} />
          <Route path="/sobre" element={<SobrePage />} />
          <Route path="/avaliacao-exclusiva" element={<AvaliacaoExclusivaPage />} />
          <Route path="/contato" element={<ContatoPage />} />
        </Routes>
        <Footer />
      </Router>
    </ThemeProvider>
  );
}

export default App;
