<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//rcmoveis.com.br/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>http://rcmoveis.com.br/post-sitemap.xml</loc>
		<lastmod>2024-02-19T22:33:07+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/page-sitemap.xml</loc>
		<lastmod>2025-11-19T11:22:30+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/product-sitemap.xml</loc>
		<lastmod>2025-04-12T12:32:44+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/vagas-sitemap.xml</loc>
		<lastmod>2026-02-19T11:14:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/category-sitemap.xml</loc>
		<lastmod>2024-02-19T22:33:07+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/product_cat-sitemap.xml</loc>
		<lastmod>2025-04-12T12:32:44+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>http://rcmoveis.com.br/author-sitemap.xml</loc>
		<lastmod>2025-09-15T13:11:59+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO --><script>
(function () {

  // evita duplicação
  if (document.getElementById('rc-newsletter-wrap')) return;

  function inject() {

    /* ==============================
       CRIA CONTAINER
       ============================== */

    var container = document.createElement('section');
    container.id = 'rc-newsletter-wrap';
    container.style.cssText =
      'background:#133034;padding:60px 20px;text-align:center';

    container.innerHTML = `
      <h3 style="color:#fff;margin-bottom:10px">
        Receba novidades por e-mail
      </h3>
      <p style="color:#cfd8d6;margin-bottom:25px">
        Lançamentos, catálogos e conteúdos exclusivos da RC Móveis.
      </p>

      <form id="rcNewsletterForm"
        style="max-width:720px;margin:0 auto;display:flex">
        <input type="email" required placeholder="Digite seu e-mail"
          style="flex:1;padding:16px;border:none;
                 border-radius:8px 0 0 8px">
        <button type="submit"
          style="padding:16px 28px;border:none;
                 background:#1CD8B2;
                 border-radius:0 8px 8px 0;
                 font-weight:600;cursor:pointer">
          Assinar
        </button>
      </form>

      <div id="rcNewsletterMsg"
           style="margin-top:14px;color:#fff"></div>
    `;

    /* ==============================
       POSIÇÃO EXATA NO FOOTER
       Logo + redes
       ↓
       NEWSLETTER (AQUI)
       ↓
       Menus
       ============================== */

    var footer = document.querySelector('footer');

    if (footer) {

      // primeiro bloco do footer (logo + ícones)
      var firstBlock = footer.firstElementChild;

      if (firstBlock) {
        firstBlock.insertAdjacentElement('afterend', container);
      } else {
        footer.prepend(container);
      }

    } else {
      document.body.appendChild(container);
    }

    /* ==============================
       SUBMIT AJAX
       ============================== */

    var form = document.getElementById('rcNewsletterForm');

    if (!form) return;

    form.addEventListener('submit', function (e) {
      e.preventDefault();

      var email = form.querySelector('input').value;
      var msg   = document.getElementById('rcNewsletterMsg');

      fetch('https://rcmoveis.com.br/wp-admin/admin-ajax.php', {
        method: 'POST',
        headers: {'Content-Type':'application/x-www-form-urlencoded'},
        body: 'action=salvar_newsletter&email=' + encodeURIComponent(email)
      })
      .then(r => r.json())
      .then(d => {
        msg.innerHTML = d.success
          ? '<span style="color:#1CD8B2">' + d.data + '</span>'
          : '<span style="color:#ffb3b3">' + d.data + '</span>';
        if (d.success) form.reset();
      })
      .catch(() => {
        msg.innerHTML =
          '<span style="color:#ffb3b3">Erro ao enviar.</span>';
      });
    });
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', inject);
  } else {
    inject();
  }

})();
</script>