.elementor-kit-9{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */<!-- =============================================
     MINA — Scroll, Seleção e Bloqueio Lateral
     ============================================= -->

<style>
/* ─── 1. BLOQUEIO SCROLL LATERAL ─── */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* ─── 2. SCROLLBAR PERSONALIZADA (Desktop) ─── */

/* Firefox */
* {
    scrollbar-width: thin !important;
    scrollbar-color: #C4633A rgba(0,0,0,0.08) !important;
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05) !important;
    border-radius: 99px !important;
}

::-webkit-scrollbar-thumb {
    background: #C4633A !important;
    border-radius: 99px !important;
    transition: background 0.2s ease !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #A84E2C !important;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
}

/* ─── 3. SELEÇÃO DE TEXTO PERSONALIZADA ─── */
::selection {
    background: #C4633A !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

::-moz-selection {
    background: #C4633A !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

/* ─── 4. SCROLL SUAVE NATIVO ─── */
html {
    scroll-behavior: smooth !important;
}

/* Mobile: esconde scrollbar mas mantém scroll funcional */
@media (max-width: 767px) {
    ::-webkit-scrollbar {
        width: 0px !important;
        height: 0px !important;
    }
}
</style>

<script>
(function () {

    /* ─── BLOQUEIO SCROLL LATERAL via JS (reforço) ─── */
    var ultimoScrollX = 0;

    window.addEventListener("scroll", function () {
        if (window.scrollX !== 0) {
            window.scrollTo(ultimoScrollX, window.scrollY);
        } else {
            ultimoScrollX = 0;
        }
    }, { passive: true });

    /* ─── SCROLL SUAVE EM ÂNCORAS INTERNAS ─── */
    document.addEventListener("click", function (e) {
        var link = e.target.closest("a[href^='#']");
        if (!link) return;

        var alvo = link.getAttribute("href");
        if (alvo === "#") return;

        var el = document.querySelector(alvo);
        if (!el) return;

        e.preventDefault();

        var offsetTopo = 80; /* ajuste aqui se tiver header fixo */
        var posY = el.getBoundingClientRect().top + window.scrollY - offsetTopo;

        window.scrollTo({ top: posY, behavior: "smooth" });
    });

})();
</script>
<!-- /MINA Scroll, Seleção e Bloqueio Lateral -->/* End custom CSS */