/* The page's ending changes together; the approved preceding surfaces remain
   light or retain their individual moss backgrounds. */
.tupa-page{background:var(--paper)}
.scroll-theme-tail{position:relative;isolation:isolate}
.scroll-theme-backdrop{position:absolute;inset-block:0;left:50%;width:100vw;transform:translateX(-50%);background:var(--paper);z-index:-1;pointer-events:none}
/* Inclui o respiro vazio entre Investimento e Resultados na mudança de tema. */
#resultados>.scroll-theme-backdrop{top:-100px}
@media(max-width:800px){#resultados>.scroll-theme-backdrop{top:-78px}}
@media(max-width:600px){#resultados>.scroll-theme-backdrop{top:-66px}}
html.scroll-theme-ready body,
html.scroll-theme-ready .site-header,
html.scroll-theme-ready .scroll-theme-backdrop,
html.scroll-theme-ready #resultados{transition:background-color .55s ease,color .4s ease,border-color .4s ease}
html.scroll-theme-ready .scroll-theme-tail :is(h2,h3,.eyebrow,.section-heading p,.source-note,.testimonial figcaption,.testimonial figcaption div>span,.faq-categories button,.faq-list details,.faq-list summary,.faq-answer,.faq-answer p,.faq-contact,.faq-contact p,.next-card,.next-card>.card-kicker,.next-card>.text-link){transition:background-color .55s ease,color .4s ease,border-color .4s ease}
/* Keep the existing reveal's opacity/translate timing while colours crossfade. */
html.scroll-theme-ready .scroll-theme-tail .testimonial[data-reveal]{transition:opacity .42s var(--ease),translate .42s var(--ease),background-color .55s ease,color .4s ease,border-color .4s ease}
html.scroll-theme-dark body{background:var(--forest)}
html.scroll-theme-dark .scroll-theme-backdrop,
html.scroll-theme-dark #resultados{background:var(--forest)}
html.scroll-theme-dark .scroll-theme-tail{color:var(--paper)}
html.scroll-theme-dark .scroll-theme-tail .section-heading :is(h2,h3,.eyebrow),
html.scroll-theme-dark .faq-contact :is(h3,.eyebrow),
html.scroll-theme-dark .next-card>h3{color:var(--paper)}
html.scroll-theme-dark .scroll-theme-tail :is(.section-heading p,.source-note){color:#d3e4cf}
html.scroll-theme-dark .scroll-theme-tail .eyebrow>.brand-icon{background:#204c3f;color:var(--lime);box-shadow:inset 0 0 0 1px #98e27a55}
html.scroll-theme-dark #resultados .metrics-grid{background:transparent;border-color:transparent}
html.scroll-theme-dark #resultados .metrics-grid article{background:#204c3f;border-color:#98e27a35}
html.scroll-theme-dark #resultados .metrics-grid article>.brand-icon{background:var(--forest)}
html.scroll-theme-dark .testimonial{background:#204c3f;border-color:#98e27a35;color:var(--paper)}
html.scroll-theme-dark .testimonial figcaption{border-color:#f9fff32b}
html.scroll-theme-dark .testimonial figcaption div>span{color:#d3e4cf}
html.scroll-theme-dark .testimonial .quote-mark{color:var(--lime)}
html.scroll-theme-dark .faq-categories button{color:var(--paper)}
html.scroll-theme-dark .faq-categories button[aria-selected=true]{background:var(--lime);color:var(--forest)}
html.scroll-theme-dark .faq-list details{border-color:#f9fff32b}
html.scroll-theme-dark .faq-list summary{color:var(--paper)}
html.scroll-theme-dark .faq-list summary::after{color:var(--lime)}
html.scroll-theme-dark .faq-answer,
html.scroll-theme-dark .faq-answer p{color:#d3e4cf}
html.scroll-theme-dark .faq-contact{background:#204c3f;border-color:#98e27a35}
html.scroll-theme-dark .faq-contact p{color:#d3e4cf}
html.scroll-theme-dark .faq-contact .button-dark{background:var(--lime);color:var(--forest)}
html.scroll-theme-dark .faq-contact .button-dark .button-icon{background:var(--forest);color:var(--lime)}
html.scroll-theme-dark .next-card,
html.scroll-theme-dark .next-card>.card-kicker,
html.scroll-theme-dark .next-card>.text-link{color:var(--paper)}
html.scroll-theme-dark .next-card>.text-link{border-color:#f9fff32b}
html.scroll-theme-dark .next-card .next-art{color:var(--forest)}
html.scroll-theme-dark .site-header,
html.scroll-theme-dark .site-header.is-scrolled{background:rgba(22,60,49,.98);border-bottom-color:#f9fff32b;color:var(--paper)}
html.scroll-theme-dark .site-header .site-nav{background:transparent;border-color:transparent;box-shadow:none}
html.scroll-theme-dark .site-header .nav-links a{color:#e4efdc}
html.scroll-theme-dark .site-header .nav-links a:hover{color:var(--lime)}
html.scroll-theme-dark .site-header .nav-links a::after{background:var(--lime)}
html.scroll-theme-dark .site-header .nav-cta{background:var(--lime);color:var(--forest)}
html.scroll-theme-dark .site-header .menu-toggle span{background:var(--paper)}
html.scroll-theme-dark .site-header :focus-visible,
html.scroll-theme-dark .scroll-theme-tail :is(button,a,input,summary):focus-visible{outline-color:var(--lime)}
html.scroll-theme-dark .site-header .nav-cta:focus-visible,
html.scroll-theme-dark .faq-contact .button:focus-visible{outline-color:var(--paper)}
html.scroll-theme-dark .skip-link{background:var(--lime);color:var(--forest)}
html.scroll-theme-dark .site-footer .footer-top>div>a:not(.brand),
html.scroll-theme-dark .site-footer .footer-link{color:#d3e4cf}
@media(max-width:809px){html.scroll-theme-dark .site-header .nav-links{background:var(--forest);border-color:#f9fff32b}}
@media(prefers-reduced-motion:reduce){html.scroll-theme-ready body,html.scroll-theme-ready .site-header,html.scroll-theme-ready .scroll-theme-backdrop,html.scroll-theme-ready #resultados,html.scroll-theme-ready .scroll-theme-tail *{transition:none!important}}
