/* Modo noturno: só redefine tokens e pontos que dependem de cor fixa. */
html[data-theme="dark"] {
	--background: #15171a;
	--surface: #1c1f23;
	--surface-soft: #22262b;
	--surface-muted: #2a2f35;
	--text: #eceef0;
	--muted: #a3aab2;
	--border: #31363d;
	--primary: #f2f3f4;
	--primary-hover: #ffffff;
	--on-primary: #111;
	--up: #4cc58a;
	--down: #ff7b72;
	--header-bg: #060708;
	--footer-bg: #0d0e10;
}
html[data-theme="dark"] .ce-cat,
html[data-theme="dark"] .ce-section-head__title,
html[data-theme="dark"] .ce-cathead__label,
html[data-theme="dark"] .ce-cathead__title,
html[data-theme="dark"] .ce-nav a:not(.ce-nav__cols) { color: color-mix(in srgb, var(--cat, #fff) 62%, #fff); }
html[data-theme="dark"] .ce-section-head--dark .ce-section-head__title { color: var(--text); }
html[data-theme="dark"] .ce-cat--onimg { color: #fff; }
html[data-theme="dark"] .ce-nav a:hover,
html[data-theme="dark"] .ce-nav .current-menu-item > a { border-bottom-color: color-mix(in srgb, var(--cat, #fff) 62%, #fff); }
html[data-theme="dark"] .ce-nav .sub-menu a, html[data-theme="dark"] .ce-nav__cols { color: var(--text); }
html[data-theme="dark"] .ce-offcanvas__list a { color: color-mix(in srgb, var(--cat, #fff) 62%, #fff); }
html[data-theme="dark"] .ce-offcanvas__list--small a, html[data-theme="dark"] .ce-offcanvas__list .sub-menu a { color: var(--text); }
html[data-theme="dark"] .ce-bullet::before { background: color-mix(in srgb, var(--cat, #fff) 62%, #fff); }
html[data-theme="dark"] .ce-prose a { color: color-mix(in srgb, var(--cat, #6b8cff) 55%, #fff); }
html[data-theme="dark"] .ce-svc__btn { background: color-mix(in srgb, var(--cat) 80%, #000); }
html[data-theme="dark"] .ce-widget__label--accent { color: color-mix(in srgb, var(--cat) 62%, #fff); }
html[data-theme="dark"] .ce-btn--wa { background: #1f9d57; border-color: #1f9d57; }
html[data-theme="dark"] .ce-share__wa { background: #1f9d57; }
html[data-theme="dark"] .ce-toast { background: #22262b; color: #eceef0; }
html[data-theme="dark"] .ce-toast__title { color: #fff; }
html[data-theme="dark"] .ce-toast__text { color: #b6bcc3; }
html[data-theme="dark"] .ce-toast .ce-btn { background: #fff; color: #111; border-color: #fff; }
html[data-theme="dark"] .ce-toast .ce-btn--ghost { background: transparent; color: #b6bcc3; border-color: #444; }
html[data-theme="dark"] .ce-ad__box img { background: #fff; }
html[data-theme="dark"] .ce-edfeature__cover, html[data-theme="dark"] .ce-ed__cover { box-shadow: 0 8px 28px rgba(0,0,0,.5); }
html[data-theme="dark"] .ce-search { box-shadow: 0 10px 24px rgba(0,0,0,.5); }
html[data-theme="dark"] .ce-prose h2, html[data-theme="dark"] .ce-prose h3, html[data-theme="dark"] .ce-prose h4,
html[data-theme="dark"] .ce-single__title, html[data-theme="dark"] .ce-card__title, html[data-theme="dark"] .ce-row__title { color: var(--text); }
html[data-theme="dark"] .ce-card--overlay .ce-card__title { color: #fff; }
html[data-theme="dark"] .ce-card--dark .ce-card__title a { color: var(--special-text, #fff); }
html[data-theme="dark"] .ce-footer .ce-logo--footer { color: #fff; }
