<?xml version="1.0" encoding="UTF-8"?>
<!--
  MyCarsHub sitemap. Served from the domain ROOT via the `public/` assets glob in
  angular.json, and referenced by /robots.txt.

  Only PUBLIC, indexable URLs belong here — the same set that carries `data.seo` in
  src/app/app.routes.ts. `lastmod` is present only where a real date exists (the legal
  pages declare `lastUpdated` in their components); it is omitted elsewhere rather than
  invented, since a false lastmod trains Google to ignore the signal.

  THIS FILE IS THE STATIC BASE, NOT THE SHIPPED SITEMAP. `scripts/generate-sitemap.mjs`
  (the `postbuild` hook) re-emits it into the build output with two changes:
    - every origin is substituted with `SITE_ORIGIN` from `services/seo.service.ts`, so
      changing the canonical host really is one line;
    - one `<url>` is appended per blog post that PRERENDERED successfully, with a real
      `lastmod` read from that page's own `BlogPosting` JSON-LD.
  Edit this file for the static routes; do not hand-add /blog/:slug entries here.

  If the generator cannot run or the API was unreachable at build time, this file ships
  verbatim — an out-of-date sitemap, never a broken one.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.mycarshub.app.br/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://www.mycarshub.app.br/termos-de-uso</loc>
    <lastmod>2026-07-21</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://www.mycarshub.app.br/politica-de-privacidade</loc>
    <lastmod>2026-07-21</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
</urlset>
