imagem
document.addEventListener("DOMContentLoaded", function() { const items = document.querySelectorAll(".thumb-acc-sanfona .e-n-accordion-item"); items.forEach(item => { item.addEventListener("toggle", function() { if (item.open) { item.scrollIntoView({ behavior: "smooth", block: "center" }); } }); }); });