// Auteur : Simon-Pierre Boucher — contact@spboucher.ai "use client"; import SearchBox from "@/components/SearchBox"; import EstimateForm from "@/components/EstimateForm"; import { useLang } from "@/components/LangContext"; export default function Home() { const { lang, t } = useLang(); return (
{/* ---- Héros ---- */}
{lang === "fr" ? "Québec · 2021-2026" : "Québec · 2021-2026"}

{lang === "fr" ? ( <> La vraie valeur.
Sans boîte noire. ) : ( <> The true value.
No black box. )}

{t("sub")}

3 747 008 {lang === "fr" ? "propriétés" : "properties"} 745 119 {lang === "fr" ? "ventes réelles" : "real sales"} 1 100 {lang === "fr" ? "municipalités" : "municipalities"} MdAPE 11 %
{/* ---- Recherche ---- */}

{lang === "fr" ? "Adresse de la propriété" : "Property address"}

{t("dataNote")}

{/* ---- Formulaire manuel ---- */}
{lang === "fr" ? "Plan B" : "Plan B"}

{t("manualTitle")}

{/* ---- Manifeste transparence ---- */}
{(lang === "fr" ? [ ["01", "Le calcul, montré", "Chaque ajustement de chaque comparable est affiché en dollars. Pas de score magique."], ["02", "Fourchette honnête", "Un prix unique est un mensonge statistique. On donne P10-P90 et un indice de confiance A-D."], ["03", "Données réelles", "Rôles fonciers officiels (MAMH) et ventes publiées — locales et récentes en priorité."], ] : [ ["01", "The math, shown", "Every adjustment on every comparable is displayed in dollars. No magic score."], ["02", "Honest range", "A single price is a statistical lie. We give P10-P90 and an A-D confidence index."], ["03", "Real data", "Official assessment rolls (MAMH) and published sales — local and recent first."], ] ).map(([num, title, body]) => (

{num}

{title}

{body}

))}
); }