			<script id="translations-data">
				window.MINHAS_TRADUCOES = [{"id":"6","original_text":"Produtos sob medida","translated_text":"Products by pedidos","slug":"home","language":"en","is_global":"1","status":"0","created_at":"2026-03-23 19:02:36","updated_at":"2026-03-23 19:02:36"},{"id":"5","original_text":"Products by pedidos","translated_text":"Produtos sob medida","slug":"home","language":"pt","is_global":"1","status":"0","created_at":"2026-03-23 18:56:38","updated_at":"2026-03-23 18:56:38"}];
			</script>
			
			<script>
			function aplicarTraducoes() { 
				const googtrans = getCookieByVarName('googtrans');

				// 🔁 Se não existir → RESTAURA tudo
				if (!googtrans || googtrans.indexOf('/') === -1) {
					restaurarTextosOriginais();
					return;
				}

				if (!window.MINHAS_TRADUCOES) return;

				const partes = googtrans.split('/');
				const lang = partes[partes.length - 1];

				// Se for idioma original → restaurar
				if (!lang || lang === 'pt') {
					restaurarTextosOriginais();
					return;
				}

				const traducoes = window.MINHAS_TRADUCOES.filter(
					t => t.language === lang && t.status == 1
				);

				if (!traducoes.length) return;

				const mapa = {};
				traducoes.forEach(t => {
					mapa[t.original_text.trim()] = t.translated_text;
				});

				function traduzirNode(node) {
					if (node.nodeType === Node.ELEMENT_NODE) {
						const tag = node.tagName;
						if (tag === 'SCRIPT' || tag === 'STYLE') return;
					}

					if (node.nodeType === Node.TEXT_NODE) {
						let textoOriginal = node.nodeValue;

						// 💾 salva original (só uma vez)
						if (!node._originalText) {
							node._originalText = textoOriginal;
						}

						let texto = textoOriginal.trim();

						if (mapa[texto]) {
							node.nodeValue = mapa[texto];
						}
					} else {
						node.childNodes.forEach(traduzirNode);
					}
				}

				traduzirNode(document.body);
			}


			// 🔁 Função para restaurar tudo
			function restaurarTextosOriginais() {
				function restaurar(node) {
					if (node.nodeType === Node.TEXT_NODE) {
						if (node._originalText) {
							node.nodeValue = node._originalText;
						}
					} else {
						node.childNodes.forEach(restaurar);
					}
				}

				restaurar(document.body);
			}
			</script>
						<script>
				function getCookieByVarName(nome) {
					const name = nome + "=";
					const decodedCookie = decodeURIComponent(document.cookie);
					const cookies = decodedCookie.split(';');

					for (let i = 0; i < cookies.length; i++) {
						let c = cookies[i].trim();

						if (c.indexOf(name) === 0) {
							return c.substring(name.length, c.length);
						}
					}

					return null;
				}
		
				let ultimoGoogtrans = getCookieByVarName('googtrans');

			function verificarMudancaIdioma() {
				const atual = getCookieByVarName('googtrans');

				if (atual !== ultimoGoogtrans) {
					ultimoGoogtrans = atual;
					aplicarTraducoes();
				}
			}

			// quando volta pra aba
			document.addEventListener('visibilitychange', () => {
				if (!document.hidden) {
					verificarMudancaIdioma();
				}
			});

			// fallback leve
			setInterval(verificarMudancaIdioma, 1000);
			</script>
		<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://gqcorp.com.br/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://gqcorp.com.br/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://gqcorp.com.br/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://gqcorp.com.br/wp-sitemap-posts-wpr_templates-1.xml</loc></sitemap><sitemap><loc>https://gqcorp.com.br/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://gqcorp.com.br/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
