/* ==========================================================================
   Tema Capitão PM
   Identidade A Forja: preto neutro e Dourado areia.
   Cores de feedback e classificação mantêm sua função original.
   ========================================================================== */

:root {
	--faixa-c1: #050505;
	--faixa-c2: #A58D68;
	--faixa-c3: #C2AE8D;
	--faixa-c4: #E3CFA8;
	--faixa-c5: #C2AE8D;
	--t-gold: #C2AE8D;
	--t-gold-2: #E3CFA8;
	--t-khaki: #C2AE8D;
	--t-bg: #050505;
	--t-bg-2: #080808;
	--t-surface: #0D0D0D;
	--t-border: #292929;
	--t-text: #F4F4F4;
	--t-muted: #B6B6B6;
	--t-side-w: 248px;
	--t-accent-gradient: linear-gradient(110deg, #E3CFA8 0%, #C2AE8D 54%, #A58D68 100%);
	--t-heading-gradient: linear-gradient(90deg, #A58D68 0%, #C2AE8D 54%, #E3CFA8 100%);
	--t-accent-ink: #181510;
}
html[data-theme="light"] {
	--t-bg: #F4F4F4;
	--t-bg-2: #ffffff;
	--t-surface: #ffffff;
	--t-border: #D9D9D9;
	--t-text: #171717;
	--t-muted: #666666;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: var(--t-bg);
	color: var(--t-text);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--t-gold); text-decoration: none; }
a:hover { color: var(--t-gold-2); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 10px; top: 10px; z-index: 99999; background: #fff; color: #000; padding: 8px 12px; }
.cpm-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.cpm-muted { color: var(--t-muted); }
.cpm-small { font-size: 12px; }
.cpm-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- Faixa institucional ---------- */
.cpm-faixa { display: flex; height: 6px; width: 100%; }
.cpm-faixa span { flex: 1; }
.cpm-faixa span:nth-child(1), .cpm-login-faixa span:nth-child(1) { background: var(--faixa-c1); }
.cpm-faixa span:nth-child(2), .cpm-login-faixa span:nth-child(2) { background: var(--faixa-c2); }
.cpm-faixa span:nth-child(3), .cpm-login-faixa span:nth-child(3) { background: var(--faixa-c3); }
.cpm-faixa span:nth-child(4), .cpm-login-faixa span:nth-child(4) { background: var(--faixa-c4); }
.cpm-faixa span:nth-child(5), .cpm-login-faixa span:nth-child(5) { background: var(--faixa-c5); }
.cpm-faixa span:nth-child(1) { box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.cpm-faixa-mini { height: 4px; border-radius: 2px; overflow: hidden; }

/* ---------- Botões ---------- */
.cpm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: .15s cubic-bezier(.2, 0, 0, 1); cursor: pointer; white-space: nowrap; }
.cpm-btn-gold { background: var(--t-gold); color: #080808; }
.cpm-btn-gold:hover { background: var(--t-gold-2); color: #080808; transform: translateY(-1px); }
.cpm-btn-ghost { border-color: rgba(194,174,141,.45); color: var(--t-text); background: transparent; }
.cpm-btn-ghost:hover { border-color: var(--t-gold); color: var(--t-gold-2); }

/* ---------- Cabeçalho do site ---------- */
.cpm-site-h { position: sticky; top: 0; z-index: 50; background: rgba(8,8,8,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--t-border); }
html[data-theme="light"] .cpm-site-h { background: rgba(255,255,255,.92); }
.cpm-site-h-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.cpm-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--t-text); }
.cpm-logo:hover { color: var(--t-text); }
.cpm-logo-emb { width: 38px; height: 38px; }
.cpm-logo-img { max-height: 46px; width: auto; }
.cpm-logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.cpm-logo-txt strong { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cpm-logo-txt small { font-size: 10px; color: var(--t-gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.cpm-nav { display: flex; align-items: center; gap: 26px; }
.cpm-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.cpm-nav ul a { color: var(--t-text); font-weight: 600; font-size: 14px; }
.cpm-nav ul a:hover { color: var(--t-gold); }
.cpm-nav-cta { display: flex; gap: 10px; }
.cpm-burger { display: none; background: none; border: 0; color: var(--t-text); cursor: pointer; padding: 6px; }
.cpm-burger .cpm-i { width: 26px; height: 26px; }
@media (max-width: 900px) {
	.cpm-burger { display: block; }
	.cpm-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--t-bg-2); flex-direction: column; align-items: stretch; padding: 18px 22px; border-bottom: 1px solid var(--t-border); }
	.cpm-nav.open { display: flex; }
	.cpm-nav ul { flex-direction: column; gap: 12px; }
}

/* ---------- Hero ---------- */

/* ---------- Seções ---------- */

/* ---------- Rodapé ---------- */
.cpm-site-f { background: var(--t-bg-2); border-top: 1px solid var(--t-border); }
.cpm-site-f-in { padding: 40px 22px; display: grid; gap: 16px; }
.cpm-site-f p { max-width: 640px; margin: 10px 0 0; font-size: 13px; }
.cpm-f-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Páginas comuns ---------- */
.cpm-page { padding: 60px 22px 80px; max-width: 900px; }
.cpm-page-t { font-size: 34px; font-weight: 700; margin: 0 0 20px; }
.cpm-entry { font-size: 16px; }
.cpm-posts { display: grid; gap: 24px; }
.cpm-post { padding: 22px; border-radius: 16px; border: 1px solid var(--t-border); background: var(--t-surface); }
.cpm-post h2 { margin: 8px 0; font-size: 22px; }
.cpm-post h2 a { color: var(--t-text); }
.cpm-404 { text-align: center; }

/* ==========================================================================
   Layout do aplicativo (template-app.php)
   ========================================================================== */
.cpm-app-body { background: var(--t-bg); }
.cpm-app { display: flex; min-height: 100vh; }
.cpm-side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--t-side-w); background: #080808; border-right: 1px solid #292929; display: flex; flex-direction: column; z-index: 60; transition: width .2s cubic-bezier(.2, 0, 0, 1), transform .25s cubic-bezier(.2, 0, 0, 1); }
html[data-theme="light"] .cpm-side { background: #080808; }
.cpm-side-h { padding: 18px 18px 14px; border-bottom: 1px solid #292929; min-height: 72px; display: flex; align-items: center; }
.cpm-side .cpm-logo { color: #F4F4F4; }
.cpm-side .cpm-logo-txt strong { font-size: 14px; }
.cpm-side-nav { flex: 1; overflow-y: auto; padding: 10px 12px 20px; scrollbar-width: thin; scrollbar-color: #292929 transparent; }
.cpm-side-g { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #929292; text-transform: uppercase; letter-spacing: .08em; padding: 14px 8px 6px; }
.cpm-side-g .cpm-i { width: 12px; height: 12px; }
.cpm-side ul { list-style: none; margin: 0; padding: 0; }
.cpm-side li a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: #D6D6D6; font-size: 14px; font-weight: 600; position: relative; transition: .15s cubic-bezier(.2, 0, 0, 1); }
.cpm-side li a:hover { background: #171717; color: #fff; }
.cpm-side li a.on { background: #292929; color: #fff; }
.cpm-side li a.on::before { content: ''; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 4px; border-radius: 0 3px 3px 0; background: var(--t-gold); }
.cpm-side li a .cpm-i { color: #C2AE8D; }
.cpm-side li a.on .cpm-i { color: var(--t-gold); }
.cpm-new { font-style: normal; margin-left: auto; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(200,16,46,.25); color: #ff8494; letter-spacing: .05em; }
.cpm-side-f { padding: 14px 18px 18px; }
.cpm-body { flex: 1; min-width: 0; margin-left: var(--t-side-w); transition: margin .2s cubic-bezier(.2, 0, 0, 1); display: flex; flex-direction: column; }
.cpm-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 12px 24px; background: rgba(8,8,8,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--t-border); }
html[data-theme="light"] .cpm-top { background: rgba(255,255,255,.9); }
.cpm-body > .cpm-faixa-top { position: sticky; top: 0; z-index: 41; }
.cpm-body > .cpm-faixa-top + .cpm-top { top: 6px; }
.cpm-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--t-border); background: transparent; color: var(--t-text); cursor: pointer; transition: .15s cubic-bezier(.2, 0, 0, 1); }
.cpm-icon-btn:hover { border-color: var(--t-gold); color: var(--t-gold); }
.cpm-top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cpm-sun { display: none; }
html[data-theme="light"] .cpm-sun { display: inline-flex; }
html[data-theme="light"] .cpm-moon { display: none; }
.cpm-user { position: relative; }
.cpm-user-btn { background: none; border: 0; padding: 0; cursor: pointer; }
.cpm-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--t-gold); color: #080808; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cpm-user-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: 240px; background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 12px; padding: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.cpm-user-menu.open { display: block; }
.cpm-user-menu strong { display: block; }
.cpm-user-menu small { display: block; color: var(--t-muted); font-size: 12px; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; }
.cpm-user-menu a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--t-text); font-size: 13px; font-weight: 600; }
.cpm-user-menu a:hover { background: rgba(194,174,141,.12); color: var(--t-gold); }
.cpm-content { padding: 26px 28px 60px; max-width: 1400px; width: 100%; }
.cpm-shade { display: none; }

/* Menu recolhido (desktop) */
.cpm-collapsed .cpm-side { width: 76px; }
.cpm-collapsed .cpm-body { margin-left: 76px; }
.cpm-collapsed .cpm-side .cpm-logo-txt, .cpm-collapsed .cpm-side li a span, .cpm-collapsed .cpm-side-g span, .cpm-collapsed .cpm-new { display: none; }
.cpm-collapsed .cpm-side li a { justify-content: center; }
.cpm-collapsed .cpm-side-h { justify-content: center; padding: 18px 8px; }
.cpm-collapsed .cpm-side-g { justify-content: center; }

@media (max-width: 1000px) {
	.cpm-side { transform: translateX(-100%); width: var(--t-side-w) !important; }
	.cpm-body { margin-left: 0 !important; }
	.cpm-side-open .cpm-side { transform: none; }
	.cpm-side-open .cpm-shade { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; }
	.cpm-collapsed .cpm-side .cpm-logo-txt, .cpm-collapsed .cpm-side li a span, .cpm-collapsed .cpm-side-g span { display: initial; }
	.cpm-collapsed .cpm-side li a { justify-content: flex-start; }
	.cpm-content { padding: 18px 16px 50px; }
}

/* Header: marca da Forja */
.cpm-logo-txt strong { letter-spacing: .1em; }

/* ==========================================================================
   WooCommerce (loja / checkout) no visual do tema
   ========================================================================== */
.cpm-shop { max-width: 1180px; }
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count { color: var(--t-muted); }
.woocommerce ul.products li.product { background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 14px; padding: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { color: var(--t-text); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--t-gold); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .wc-block-components-button { background: var(--t-gold) !important; color: #080808 !important; border-radius: 10px !important; font-weight: 700 !important; border: 0 !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--t-gold-2) !important; }
.woocommerce span.onsale { background: #c8102e; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-page form .form-row select, .woocommerce .quantity .qty { background: var(--t-surface); color: var(--t-text); border: 1px solid var(--t-border); border-radius: 8px; padding: 8px 10px; }
.woocommerce table.shop_table { border-color: var(--t-border); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--t-border); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--t-surface); color: var(--t-text); border-top-color: var(--t-gold); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--t-surface); border-color: var(--t-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--t-text); }

/* ==========================================================================
   v1.2 — cáqui #C2AE8D como cor principal e fundo em degradê preto
   ========================================================================== */
:root { --t-gold: #C2AE8D; --t-gold-2: #E3CFA8; }
body, .cpm-app-body {
	background:
		radial-gradient(1100px 520px at 85% -8%, rgba(194,174,141,.10), transparent 62%),
		radial-gradient(900px 500px at -10% 105%, rgba(194,174,141,.06), transparent 60%),
		linear-gradient(180deg, #050505 0%, #050505 38%, #050505 72%, #050505 100%);
	background-attachment: fixed;
}
html[data-theme="light"] body, html[data-theme="light"] .cpm-app-body { background: var(--t-bg); }
.cpm-site-h, .cpm-top { background: rgba(6,6,6,.82); }
.cpm-side { background: linear-gradient(180deg, #080808 0%, #080808 100%); }

/* Recursos em grade com divisórias (estilo "tudo forjado em um só lugar") */
html { background: #050505; }
html[data-theme="light"] { background: #F4F4F4; }

/* ==========================================================================
   v1.5 — Poppins, espaçamentos e degradês dourados suaves
   ========================================================================== */
body { line-height: 1.65; letter-spacing: -.003em; }
body, .cpm-app-body {
	background:
		radial-gradient(1100px 520px at 85% -8%, rgba(194,174,141,.05), transparent 62%),
		linear-gradient(180deg, #050505 0%, #050505 38%, #050505 72%, #050505 100%);
	background-attachment: fixed;
}
.cpm-content { padding: 32px 36px 72px; }
@media (max-width: 900px) { .cpm-content { padding: 20px 16px 56px; } }

/* ==========================================================================
   v1.6 — VISUAL CLEAN (tema)
   ========================================================================== */
:root { --t-surface: #0D0D0D; --t-border: rgba(255,255,255,.07); --t-muted: #B6B6B6; }
html[data-theme="light"] { --t-surface: #ffffff; --t-border: rgba(0,0,0,.08); }
body, .cpm-app-body { background: var(--t-bg) !important; }
html:not([data-theme="light"]) body, html:not([data-theme="light"]) .cpm-app-body { background: #050505 !important; }
h1, h2, h3 { font-weight: 600; }

/* Faixa institucional: só uma, fina, no topo */
.cpm-faixa-top { height: 3px !important; }
.cpm-side-f .cpm-faixa, .cpm-faixa-mini { display: none !important; }
.cpm-body > .cpm-faixa-top + .cpm-top { top: 3px; }

/* Barra lateral e topo */
.cpm-side { background: #080808 !important; border-right-color: var(--t-border) !important; }
.cpm-side-g { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 12px !important; color: #929292 !important; padding-top: 18px !important; }
.cpm-side-g .cpm-i { display: none; }
.cpm-side li a { font-weight: 500 !important; color: #D6D6D6 !important; }
.cpm-side li a .cpm-i { color: #929292 !important; }
.cpm-side li a:hover { background: rgba(255,255,255,.04) !important; }
.cpm-side li a.on { background: rgba(255,255,255,.06) !important; color: #fff !important; }
.cpm-side li a.on .cpm-i { color: var(--t-gold) !important; }
.cpm-side li a.on::before { width: 3px !important; left: -12px !important; }
.cpm-new { background: transparent !important; color: var(--t-muted) !important; border: 1px solid var(--t-border); font-weight: 500 !important; }
.cpm-top { background: rgba(8,8,8,.92) !important; border-bottom-color: var(--t-border) !important; }
html[data-theme="light"] .cpm-top { background: rgba(255,255,255,.92) !important; }
.cpm-icon-btn { border-color: var(--t-border) !important; background: transparent !important; }

/* Home: superfícies lisas */
.cpm-post {
	background: var(--t-surface) !important;
	border-color: var(--t-border) !important;
	box-shadow: none !important;
}
.cpm-btn { box-shadow: none !important; }

/* Grupos recolhíveis do menu lateral */
button.cpm-side-g { width: 100%; background: none; border: 0; cursor: pointer; justify-content: space-between; font-family: inherit; text-align: left; }
button.cpm-side-g:hover { color: #B6B6B6 !important; }
button.cpm-side-g .cpm-i { display: inline-block !important; width: 12px !important; height: 12px !important; transform: rotate(-90deg); transition: transform .15s cubic-bezier(.2, 0, 0, 1); opacity: .7; }
button.cpm-side-g.off .cpm-i { transform: rotate(180deg); }
button.cpm-side-g.off + ul { display: none; }
.cpm-collapsed button.cpm-side-g .cpm-i { display: none !important; }
.cpm-collapsed button.cpm-side-g.off + ul { display: block; }

/* ==========================================================================
   v1.9 — Tela de acesso (Entrar / Criar conta)
   ========================================================================== */
body.cpm-auth { margin: 0; min-height: 100vh; background: #050505 !important; }
.cpm-auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.cpm-auth-side { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--t-border); background: #0D0D0D; }
.cpm-auth-side-in { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 56px; max-width: 620px; }
.cpm-auth-logo .cpm-logo-emb { width: 40px; height: 40px; }
.cpm-auth-logo, .cpm-auth-logo-m { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--t-text); }
.cpm-auth-pitch { margin: 60px 0; }
.cpm-auth-kicker { display: inline-block; font-size: 13px; color: var(--t-muted); margin-bottom: 18px; }
.cpm-auth-pitch h1 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; margin: 0 0 18px; color: var(--t-text); }
.cpm-auth-pitch > p { font-size: 15.5px; line-height: 1.7; color: var(--t-muted); max-width: 470px; margin: 0 0 32px; }
.cpm-auth-pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cpm-auth-pitch li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: #D6D6D6; }
.cpm-auth-pitch li .cpm-i { width: 20px; height: 20px; color: var(--t-gold); margin-top: 2px; }
.cpm-auth-pitch li strong { color: var(--t-text); font-weight: 600; }
.cpm-auth-note { font-size: 13px; color: var(--t-muted); margin: 0; }
.cpm-auth-faixa { height: 3px !important; }
.cpm-auth-main { display: flex; flex-direction: column; align-items: center; padding: 28px 24px; }
.cpm-auth-top { width: 100%; max-width: 440px; display: flex; justify-content: flex-end; align-items: center; margin-bottom: auto; }
.cpm-auth-logo-m { display: none; }
.cpm-auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--t-muted) !important; }
.cpm-auth-back .cpm-i { width: 14px; height: 14px; }
.cpm-auth-back:hover { color: var(--t-text) !important; }
.cpm-auth-card { width: 100%; max-width: 420px; margin: 40px 0; }
.cpm-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--t-border); border-radius: 12px; margin-bottom: 30px; }
.cpm-auth-tabs button { background: none; border: 0; padding: 10px; border-radius: 9px; font: 500 14px/1 'Poppins', sans-serif; color: var(--t-muted); cursor: pointer; }
.cpm-auth-tabs button.on { background: #171717; color: var(--t-text); }
.cpm-auth-form h2 { font-size: 24px; font-weight: 600; margin: 0 0 6px; color: var(--t-text); letter-spacing: -.01em; }
.cpm-auth-sub { font-size: 14px; color: var(--t-muted); margin: 0 0 26px; }
.cpm-field { display: block; margin-bottom: 16px; }
.cpm-field > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: #D6D6D6; margin-bottom: 7px; }
.cpm-field > span a { font-size: 12.5px; font-weight: 500; }
.cpm-field > span em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--t-muted); }
.cpm-field input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: #0D0D0D; color: var(--t-text); font: 400 15px 'Poppins', sans-serif; transition: border-color .15s cubic-bezier(.2, 0, 0, 1); }
.cpm-field input:focus { outline: none; border-color: rgba(194,174,141,.7); }
.cpm-pass { position: relative; display: block; }
.cpm-pass input { padding-right: 46px; }
.cpm-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--t-muted); cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cpm-eye .cpm-i { width: 18px; height: 18px; }
.cpm-eye.on, .cpm-eye:hover { color: var(--t-text); }
.cpm-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--t-muted); margin: 6px 0 22px; line-height: 1.5; cursor: pointer; }
.cpm-check input { margin-top: 3px; accent-color: #C2AE8D; width: 15px; height: 15px; flex: none; }
.cpm-check small { display: block; margin-top: .25rem; font-size: .8125rem; line-height: 1.5; }
.cpm-check span a { text-decoration: underline; }
.cpm-auth-btn { width: 100%; height: 48px; justify-content: center; font-size: 15px !important; font-weight: 600 !important; border-radius: 10px !important; }
.cpm-auth-alt { text-align: center; font-size: 13.5px; color: var(--t-muted); margin: 22px 0 0; }
.cpm-auth-erro { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(224,122,134,.35); color: #f0a3ac; font-size: 13.5px; margin-bottom: 20px; }
.cpm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cpm-auth-foot { margin-top: auto; font-size: 12px; color: #666666; }
@media (max-width: 900px) {
	.cpm-auth-wrap { grid-template-columns: 1fr; }
	.cpm-auth-side { display: none; }
	.cpm-auth-top { justify-content: space-between; max-width: 420px; }
	.cpm-auth-logo-m { display: inline-flex; }
	.cpm-auth-logo-m .cpm-logo-emb { width: 34px; height: 34px; }
	.cpm-auth-card { margin: 34px 0; }
}
button, input, select, textarea { font-family: inherit; }
.cpm-auth-btn { font-family: "Poppins", sans-serif !important; }

/* ==========================================================================
   v1.9 — Landing page (home)
   ========================================================================== */
.lp { color: var(--t-text); }
.lp h1, .lp h2, .lp h3 { color: var(--t-text); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.lp p { color: var(--t-muted); line-height: 1.7; margin: 0; }
.lp .cpm-i { width: 18px; height: 18px; }
.lp-btn { height: 48px; padding: 0 24px !important; font-size: 15px !important; font-weight: 600 !important; border-radius: 10px !important; display: inline-flex; align-items: center; }
.lp-pill { display: inline-block; font-size: 13px; color: var(--t-muted); border: 1px solid var(--t-border); border-radius: 999px; padding: 6px 14px; margin-bottom: 24px; }
.lp-kicker { display: block; font-size: 13px; font-weight: 500; color: var(--t-gold); margin-bottom: 12px; }

/* Hero */
.lp-hero { padding: 96px 0 40px; text-align: center; }
.lp-hero-tx { max-width: 820px; margin: 0 auto; }
.lp-hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 22px; }
.lp-hero-tx > p { font-size: clamp(16px, 1.5vw, 18.5px); max-width: 640px; margin: 0 auto 34px; }
.lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-trust { list-style: none; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 26px 0 0; font-size: 13.5px; color: var(--t-muted); }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust .cpm-i { width: 16px; height: 16px; color: var(--t-gold); }
.lp-hero-img { max-width: 1080px; margin: 64px auto 0; }

/* Moldura de navegador para os prints */
.lp-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); background: #0D0D0D; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.lp-shot-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.lp-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.lp-shot img { display: block; width: 100%; height: auto; }

/* Números */
.lp-nums { padding: 40px 0; }
.lp-nums .cpm-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--t-border); border-bottom: 1px solid var(--t-border); }
.lp-nums .cpm-wrap > div { padding: 30px 24px; text-align: center; }
.lp-nums .cpm-wrap > div + div { border-left: 1px solid var(--t-border); }
.lp-nums strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.lp-nums span { font-size: 13.5px; color: var(--t-muted); }

/* Seções */
.lp-sec { padding: 96px 0; }
.lp-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.lp-head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 14px; }
.lp-head p { font-size: 16.5px; }
.lp-head-left { text-align: left; margin: 0; }

/* Recursos com prints */
.lp-features { padding-top: 40px; }
.lp-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-bottom: 120px; }
.lp-feat:last-child { margin-bottom: 0; }
.lp-feat.lp-rev .lp-feat-tx { order: 2; }
.lp-feat h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; margin-bottom: 16px; }
.lp-feat-tx > p { font-size: 16px; margin-bottom: 22px; }
.lp-feat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lp-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #D6D6D6; }
.lp-feat li .cpm-i { color: var(--t-gold); margin-top: 3px; }

/* Grade de recursos */
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--t-border); border-left: 1px solid var(--t-border); }
.lp-grid > div { padding: 32px 30px; border-right: 1px solid var(--t-border); border-bottom: 1px solid var(--t-border); }
.lp-grid .cpm-i { width: 22px; height: 22px; color: var(--t-gold); margin-bottom: 18px; }
.lp-grid h3 { font-size: 16px; margin-bottom: 8px; }
.lp-grid p { font-size: 14px; }

/* Editais e público */
.lp-editais { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lp-edital { padding: 24px; border: 1px solid var(--t-border); border-radius: 14px; background: #0D0D0D; display: flex; flex-direction: column; gap: 6px; }
.lp-edital strong { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.lp-edital span { font-size: 13.5px; color: var(--t-muted); }
.lp-edital small { font-size: 12.5px; color: #929292; }
.lp-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-who > div { padding: 30px 28px; border-left: 2px solid rgba(194,174,141,.5); }
.lp-who h3 { font-size: 18px; margin-bottom: 10px; }
.lp-who p { font-size: 14.5px; }

/* Planos */
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.lp-plan { padding: 32px 30px; border: 1px solid var(--t-border); border-radius: 18px; background: #0D0D0D; display: flex; flex-direction: column; }
.lp-plan.hot { border-color: rgba(194,174,141,.55); }
.lp-plan-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.lp-plan-h h3 { font-size: 18px; }
.lp-plan-h span { font-size: 12px; color: var(--t-gold); border: 1px solid rgba(194,174,141,.45); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.lp-plan > p { font-size: 14px; margin-bottom: 22px; }
.lp-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.lp-price strong { font-size: 38px; font-weight: 600; letter-spacing: -.02em; color: var(--t-text); }
.lp-price span { font-size: 14px; color: var(--t-muted); }
.lp-plan .lp-btn { justify-content: center; width: 100%; margin-bottom: 26px; }
.lp-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid var(--t-border); padding-top: 22px; }
.lp-plan li { display: flex; gap: 10px; font-size: 14px; color: #D6D6D6; line-height: 1.5; }
.lp-plan li .cpm-i { width: 16px; height: 16px; color: var(--t-gold); margin-top: 3px; flex: none; }

/* Perguntas frequentes */
.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.lp-faq details { border-bottom: 1px solid var(--t-border); }
.lp-faq details:first-child { border-top: 1px solid var(--t-border); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; color: var(--t-text); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .cpm-i { width: 18px; height: 18px; color: var(--t-muted); transition: transform .2s cubic-bezier(.2, 0, 0, 1); flex: none; }
.lp-faq details[open] summary .cpm-i { transform: rotate(45deg); }
.lp-faq details p { padding: 0 0 22px; font-size: 15px; }

/* Chamada final */
.lp-last { padding-bottom: 120px; }
.lp-cta { text-align: center; padding: 72px 32px; border: 1px solid var(--t-border); border-radius: 22px; background: #0D0D0D; }
.lp-cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin-bottom: 14px; }
.lp-cta p { font-size: 16.5px; max-width: 560px; margin: 0 auto 30px; }

@media (max-width: 960px) {
	.lp-hero { padding-top: 64px; }
	.lp-sec { padding: 72px 0; }
	.lp-feat, .lp-faq-wrap { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
	.lp-feat.lp-rev .lp-feat-tx { order: 0; }
	.lp-who, .lp-plans { grid-template-columns: 1fr; }
	.lp-grid { grid-template-columns: 1fr 1fr; }
	.lp-nums .cpm-wrap { grid-template-columns: 1fr 1fr; }
	.lp-nums .cpm-wrap > div:nth-child(3) { border-left: 0; }
	.lp-nums .cpm-wrap > div:nth-child(n+3) { border-top: 1px solid var(--t-border); }
}
@media (max-width: 560px) {
	.lp-grid { grid-template-columns: 1fr; }
	.lp-hero-img { margin-top: 44px; }
	.lp-nums strong { font-size: 26px; }
	.lp-btn { width: 100%; justify-content: center; }
}
html[data-theme="light"] .lp-edital, html[data-theme="light"] .lp-plan, html[data-theme="light"] .lp-cta { background: #fff; }
.cpm-nav a, .cpm-nav li a { font-weight: 500 !important; color: #D6D6D6; }
.cpm-nav a:hover { color: var(--t-text); }
.cpm-site-h .cpm-btn { font-weight: 600 !important; }
.cpm-site-h { border-bottom-color: var(--t-border) !important; }

/* v1.9.1 — aviso de pré-visualização na tela Entrar (administradores) */
.cpm-auth-prev{position:relative;z-index:5;padding:10px 20px;font-size:13px;text-align:center;color:#D6D6D6;background:#0D0D0D;border-bottom:1px solid rgba(194,174,141,.25)}
.cpm-auth-prev strong{color:#E3CFA8;font-weight:600}

/* v1.10 — fundo halftone (retícula) em baixa opacidade na página inicial.
   Pontos de tamanho variável: gradiente suave + filtro de contraste; depois tingidos de cáqui. */
.lp { position: relative; isolation: isolate; }
.lp-ht { position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .11; mix-blend-mode: screen; --ht: 15px; }
.lp-ht i { position: absolute; inset: 0; display: block; filter: contrast(28) invert(1); background-blend-mode: screen; }
.lp-ht::after { content: ""; position: absolute; inset: 0; background: var(--t-gold, #C2AE8D); mix-blend-mode: multiply; }
.lp-ht-top { top: 0; height: 980px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lp-ht-top i { background:
	radial-gradient(closest-side, #000, #fff) 0 0 / var(--ht) var(--ht),
	radial-gradient(ellipse 62% 70% at 88% 4%, #000 0%, #fff 100%); }
.lp-ht-bot { bottom: 0; height: 720px; -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.lp-ht-bot i { background:
	radial-gradient(closest-side, #000, #fff) 0 0 / var(--ht) var(--ht),
	radial-gradient(ellipse 70% 75% at 12% 100%, #000 0%, #fff 100%); }
@media (max-width: 760px) {
	.lp-ht { --ht: 11px; }
	.lp-ht-top { height: 760px; }
}

/* ==========================================================================
   v1.11 — Efeitos e destaques da página inicial
   ========================================================================== */

/* 1. Entrada das seções (só com JS e sem "reduzir movimento") */
.lp-js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .5s cubic-bezier(.05, .7, .1, 1) var(--d, 0s), transform .5s cubic-bezier(.05, .7, .1, 1) var(--d, 0s); }
.lp-js [data-rv].is-in { opacity: 1; transform: none; }

/* 3. Print do destaque com profundidade */
.lp-fx .lp-hero-img { perspective: 1600px; }
.lp-fx .lp-hero-img .lp-shot { transform-origin: 50% 0; transition: transform .25s cubic-bezier(.2, 0, 0, 1); will-change: transform; }

/* 4. Brilho que acompanha o mouse sobre a retícula */
.lp-spot { position: absolute; left: 0; right: 0; top: 0; height: 1000px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s cubic-bezier(.2, 0, 0, 1);
	background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 30%), rgba(227,207,168,.55), rgba(194,174,141,.12) 55%, transparent 72%);
	-webkit-mask: radial-gradient(circle at center, #000 1.7px, transparent 2.3px) 0 0 / 15px 15px; mask: radial-gradient(circle at center, #000 1.7px, transparent 2.3px) 0 0 / 15px 15px; }
.lp-spot.on { opacity: .85; }

/* 9. Faixa rolante */
.lp-marq { display: flex; overflow: hidden; border-top: 1px solid var(--t-border); border-bottom: 1px solid var(--t-border); margin-top: 24px; user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marq-track { display: flex; flex: none; gap: 0; list-style: none; margin: 0; padding: 0; animation: lp-marq 46s linear infinite; }
.lp-marq:hover .lp-marq-track { animation-play-state: paused; }
.lp-marq li { display: flex; align-items: center; white-space: nowrap; padding: 18px 0; font-size: 14px; color: #B6B6B6; }
.lp-marq li::after { content: ""; width: 5px; height: 5px; margin: 0 28px; border-radius: 50%; background: var(--t-gold); opacity: .7; transform: rotate(45deg); border-radius: 1px; }
@keyframes lp-marq { to { transform: translateX(-100%); } }

/* 5 e 6. Experimente: conversa + questão */
.lp-try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.lp-chat, .lp-quiz { border: 1px solid var(--t-border); border-radius: 18px; background: #0D0D0D; position: relative; }
.lp-chat { display: flex; flex-direction: column; height: 500px; overflow: hidden; }
.lp-chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--t-border); }
.lp-chat-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(194,174,141,.12); color: var(--t-gold); }
.lp-chat-av .cpm-i { width: 19px; height: 19px; }
.lp-chat-h strong { display: block; font-size: 14.5px; font-weight: 600; }
.lp-chat-h small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t-muted); }
.lp-chat-h small i { width: 7px; height: 7px; border-radius: 50%; background: #5fbf7f; box-shadow: 0 0 0 3px rgba(95,191,127,.15); }
.lp-chat-body { flex: 1; overflow: hidden; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; transition: opacity .35s cubic-bezier(.2, 0, 0, 1); }
.lp-chat-body.fade { opacity: 0; }
.lp-msg { max-width: 88%; font-size: 14.5px; line-height: 1.6; padding: 12px 16px; border-radius: 14px; white-space: pre-wrap; }
.lp-msg.me { align-self: flex-end; background: var(--t-gold); color: #181510; border-bottom-right-radius: 4px; font-weight: 500; }
.lp-msg.cap { align-self: flex-start; background: #171717; color: #D6D6D6; border: 1px solid var(--t-border); border-bottom-left-radius: 4px; }
.lp-msg.typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.lp-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--t-muted); animation: lp-dot 1s infinite ease-in-out; }
.lp-msg.typing i:nth-child(2) { animation-delay: .15s; }
.lp-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lp-chat-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 12px 12px 12px 16px; border: 1px solid var(--t-border); border-radius: 12px; font-size: 13.5px; color: #929292; }
.lp-chat-f b { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(194,174,141,.14); color: var(--t-gold); }
.lp-chat-f .cpm-i { width: 16px; height: 16px; }

.lp-quiz { padding: 26px 26px 24px; min-height: 500px; display: flex; flex-direction: column; }
.lp-quiz-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12.5px; }
.lp-quiz-mat { color: var(--t-gold); border: 1px solid rgba(194,174,141,.4); border-radius: 999px; padding: 4px 11px; }
.lp-quiz-n { color: var(--t-muted); }
.lp-quiz-n b { color: var(--t-text); font-weight: 600; }
.lp .lp-quiz-q { color: var(--t-text); font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.lp-quiz-alts { display: grid; gap: 10px; }
.lp-alt { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--t-border); background: transparent; color: #D6D6D6; font-size: 14.5px; line-height: 1.5; cursor: pointer; transition: border-color .15s cubic-bezier(.2, 0, 0, 1), background .15s cubic-bezier(.2, 0, 0, 1), transform .15s cubic-bezier(.2, 0, 0, 1); }
.lp-alt b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; border: 1px solid var(--t-border); color: var(--t-muted); }
.lp-alt:hover:not(:disabled) { border-color: rgba(194,174,141,.55); background: rgba(194,174,141,.05); transform: translateX(2px); }
.lp-alt:disabled { cursor: default; opacity: .55; }
.lp-alt.right { opacity: 1; border-color: rgba(95,191,127,.7); background: rgba(95,191,127,.08); color: var(--t-text); }
.lp-alt.right b { background: #5fbf7f; border-color: #5fbf7f; color: #0f140f; }
.lp-alt.wrong { opacity: 1; border-color: rgba(214,84,84,.7); background: rgba(214,84,84,.08); }
.lp-alt.wrong b { background: #d65454; border-color: #d65454; color: #fff; }
.lp-quiz-fb { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--t-border); animation: lp-in .3s cubic-bezier(.05, .7, .1, 1); }
.lp-quiz-fb strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.lp-quiz-fb strong.ok { color: #7fd39b; }
.lp-quiz-fb strong.no { color: #e48080; }
.lp-quiz-fb p { font-size: 14px; }
.lp-quiz-cap { color: var(--t-gold); font-weight: 600; }
.lp-quiz-next { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--t-gold); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.lp-quiz-next:hover { color: var(--t-gold-2); }
.lp-quiz-end { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; color: #D6D6D6; }
.lp-quiz-end b { color: var(--t-text); }
.lp-quiz-xp { position: absolute; right: 22px; top: -15px; padding: 4px 12px; border-radius: 999px; border: 1px solid currentColor; background: #0D0D0D; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; }
.lp-quiz-xp.ok { color: #7fd39b; }
.lp-quiz-xp.no { color: #e48080; }
.lp-quiz-xp.show { animation: lp-xp 1.5s cubic-bezier(.05, .7, .1, 1) forwards; }
@keyframes lp-xp { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 18% { opacity: 1; transform: translateY(0) scale(1.08); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 13. Linha do tempo "Do edital à farda" */
.lp-tl { --p: 0; position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.lp-tl::before, .lp-tl::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.lp-tl::before { background: var(--t-border); }
.lp-tl::after { background: linear-gradient(var(--t-gold-2), var(--t-gold)); transform-origin: top; transform: scaleY(var(--p)); }
.lp-tl li { position: relative; display: flex; gap: 26px; padding: 0 0 46px; }
.lp-tl li:last-child { padding-bottom: 0; }
.lp-tl-dot { position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #0D0D0D; border: 1px solid var(--t-border); color: var(--t-muted); transition: border-color .4s cubic-bezier(.2, 0, 0, 1), color .4s cubic-bezier(.2, 0, 0, 1), box-shadow .4s cubic-bezier(.2, 0, 0, 1), background .4s cubic-bezier(.2, 0, 0, 1); }
.lp-tl-dot .cpm-i { width: 20px; height: 20px; }
.lp-tl li.on .lp-tl-dot { border-color: var(--t-gold); color: var(--t-gold); background: #0D0D0D; box-shadow: 0 0 0 6px rgba(194,174,141,.08); }
.lp-tl li > div { padding-top: 4px; }
.lp-tl small { display: block; font-size: 12px; color: #929292; margin-bottom: 4px; transition: color .4s cubic-bezier(.2, 0, 0, 1); }
.lp-tl li.on small { color: var(--t-gold); }
.lp-tl h3 { font-size: 20px; margin-bottom: 8px !important; }
.lp-tl p { font-size: 15px; max-width: 600px; }

/* 11. Estudar sozinho × na Forja */
.lp-vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.lp-vs-col { padding: 32px 30px; border-radius: 18px; border: 1px solid var(--t-border); }
.lp-vs-col.yes { border-color: rgba(194,174,141,.5); background: linear-gradient(180deg, rgba(194,174,141,.06), transparent 60%), #0D0D0D; }
.lp-vs-col h3 { font-size: 18px; margin-bottom: 20px !important; }
.lp-vs-col.no h3 { color: var(--t-muted); }
.lp-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-vs-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.lp-vs-col li .cpm-i { flex: none; margin-top: 2px; }
.lp-vs-col.no li { color: #929292; }
.lp-vs-col.no li .cpm-i { color: #8a5a55; }
.lp-vs-col.yes li { color: #D6D6D6; }
.lp-vs-col.yes li .cpm-i { color: var(--t-gold); }

/* 8. Corrida do mês ao vivo */
.lp-race { padding-top: 24px; }
.lp-race-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; padding: 48px; border: 1px solid var(--t-border); border-radius: 22px; background: #0D0D0D; }
.lp-race-tx h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.18; margin-bottom: 14px !important; }
.lp-race-tx > p { font-size: 15.5px; margin-bottom: 24px !important; }
.lp-live { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #d65454; vertical-align: 1px; animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(214,84,84,.55); } 70% { box-shadow: 0 0 0 9px rgba(214,84,84,0); } 100% { box-shadow: 0 0 0 0 rgba(214,84,84,0); } }
.lp-race-cd { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--t-muted); }
.lp-race-cd span { margin-right: 6px; }
.lp-race-cd b { font-size: 22px; font-weight: 600; color: var(--t-text); font-variant-numeric: tabular-nums; }
.lp-race-cd small { margin-right: 10px; }
.lp-podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.lp-podium li { text-align: center; min-width: 0; }
.lp-pod-n { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-podium small { display: block; font-size: 12px; color: var(--t-muted); margin: 2px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pod-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 18px 10px; border-radius: 14px 14px 0 0; border: 1px solid var(--t-border); border-bottom: 0; background: linear-gradient(180deg, #171717, #171717); }
.lp-pod-bar b { font-size: 26px; font-weight: 700; color: var(--t-muted); }
.lp-pod-bar em { font-style: normal; font-size: 11.5px; line-height: 1.35; color: #929292; }
.lp-podium .p1 .lp-pod-bar { height: 190px; border-color: rgba(194,174,141,.55); background: linear-gradient(180deg, rgba(194,174,141,.16), #171717 70%); }
.lp-podium .p1 .lp-pod-bar b { color: var(--t-gold-2); }
.lp-podium .p2 .lp-pod-bar { height: 150px; }
.lp-podium .p3 .lp-pod-bar { height: 118px; }
.lp-podium .p2 .lp-pod-bar b { color: #cfcfc8; }
.lp-podium .p3 .lp-pod-bar b { color: #c49a6c; }

/* 7. Contagem regressiva para a prova */
.lp-cd-s { padding: 24px 0 0; }
.lp-cd { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 36px 40px; border-radius: 20px; border: 1px solid rgba(194,174,141,.4); background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(194,174,141,.08), transparent 70%), #0D0D0D; }
.lp-cd-tx h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin-bottom: 8px !important; }
.lp-cd-tx h2 b { color: var(--t-gold-2); font-weight: 700; }
.lp-cd-tx p { font-size: 15px; }
.lp-cd-box { display: flex; gap: 10px; }
.lp-cd-box div { width: 78px; padding: 14px 0 12px; text-align: center; border: 1px solid var(--t-border); border-radius: 14px; background: #050505; }
.lp-cd-box b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-cd-box small { font-size: 11.5px; color: var(--t-muted); }

/* 10. Depoimentos */
.lp-depo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lp-depo figure { margin: 0; padding: 28px; border: 1px solid var(--t-border); border-radius: 18px; background: #0D0D0D; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.lp-depo blockquote { margin: 0; font-size: 15px; line-height: 1.7; color: #D6D6D6; }
.lp-depo blockquote::before { content: "“"; display: block; font-size: 40px; line-height: .8; color: var(--t-gold); margin-bottom: 6px; }
.lp-depo figcaption { display: flex; align-items: center; gap: 12px; }
.lp-depo figcaption img, .lp-depo figcaption span { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-depo figcaption span { display: grid; place-items: center; background: rgba(194,174,141,.14); color: var(--t-gold); font-weight: 600; }
.lp-depo strong { display: block; font-size: 14.5px; font-weight: 600; }
.lp-depo small { font-size: 12.5px; color: var(--t-gold); }

/* 12. Barra fixa no celular */
.lp-sticky { display: none; }
@media (max-width: 760px) {
	.lp-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid rgba(194,174,141,.35); background: rgba(13,13,13,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.45); font-size: 13px; color: #D6D6D6; transform: translateY(140%); transition: transform .35s cubic-bezier(.2, 0, 0, 1); }
	.lp-sticky.show { transform: none; }
	.lp-sticky .cpm-btn { padding: 11px 18px; font-size: 14px; font-weight: 600; }
}

/* Responsivo */
@media (max-width: 960px) {
	.lp-try-grid, .lp-vs-grid, .lp-race-box { grid-template-columns: 1fr; }
	.lp-race-box { padding: 32px 24px; gap: 32px; }
	.lp-chat { height: 470px; }
	.lp-quiz { min-height: 0; }
	.lp-cd { padding: 28px 24px; }
}
@media (max-width: 560px) {
	.lp-tl::before, .lp-tl::after { left: 19px; }
	.lp-tl-dot { width: 40px; height: 40px; }
	.lp-tl li { gap: 18px; padding-bottom: 36px; }
	.lp-tl h3 { font-size: 18px; }
	.lp-cd-box { width: 100%; }
	.lp-cd-box div { flex: 1; width: auto; }
	.lp-cd-box b { font-size: 24px; }
	.lp-podium { gap: 8px; }
	.lp-pod-bar em { display: none; }
	.lp-podium small { white-space: normal; }
	.lp-quiz { padding: 22px 18px; }
	.lp-msg { max-width: 94%; font-size: 14px; }
	.lp-quiz-end .cpm-btn { width: 100%; }
	.lp-marq li { padding: 14px 0; font-size: 13px; }
	.lp-marq li::after { margin: 0 20px; }
}

/* Menos movimento: tudo visível, nada se mexe */
@media (prefers-reduced-motion: reduce) {
	/* Faixa parada: itens centralizados em linhas, sem barra de rolagem */
	.lp-rm .lp-marq { justify-content: center; -webkit-mask-image: none; mask-image: none; }
	.lp-rm .lp-marq-track { animation: none; flex-wrap: wrap; justify-content: center; flex: 1 1 auto; padding: 8px 16px; }
	.lp-rm .lp-marq-track[aria-hidden] { display: none; }
	.lp-rm .lp-marq li { padding: 8px 0; }
	.lp-rm .lp-marq li:last-child::after { display: none; }
	.lp-rm .lp-live, .lp-rm .lp-msg.typing i { animation: none; }
	.lp-rm .lp-tl::after { transform: none; }
	.lp-rm .lp-sticky { transition: none; }
	.lp-rm .lp-quiz-xp.show { animation: none; opacity: 1; }
}

/* Tema claro */
html[data-theme="light"] .lp-chat, html[data-theme="light"] .lp-quiz, html[data-theme="light"] .lp-vs-col.yes, html[data-theme="light"] .lp-race-box,
html[data-theme="light"] .lp-cd, html[data-theme="light"] .lp-depo figure, html[data-theme="light"] .lp-tl-dot { background: #fff; }
html[data-theme="light"] .lp-msg.cap, html[data-theme="light"] .lp-cd-box div, html[data-theme="light"] .lp-pod-bar { background: #F4F4F4; color: var(--t-text); }
html[data-theme="light"] .lp-alt, html[data-theme="light"] .lp-vs-col.yes li, html[data-theme="light"] .lp-depo blockquote, html[data-theme="light"] .lp-marq li { color: var(--t-text); }
html[data-theme="light"] .lp-sticky { background: rgba(255,255,255,.94); color: var(--t-text); }

/* ===== v1.12 — Radar de editais na home e links legais no rodapé ===== */
.lp-radar-in{max-width:760px}
.cpm-f-legal{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px}
.cpm-f-legal a{color:var(--t-muted,#929292);text-decoration:none}
.cpm-f-legal a:hover{color:var(--t-gold,#C2AE8D)}

/* ==========================================================================
   v1.14 — Plataforma escura com textura, layout mais limpo
   (área do aluno e tela de entrar; a página inicial continua como está)
   ========================================================================== */
:root { --n-bd: rgba(160,160,160,.16); --n-tx: #F4F4F4; --n-mu: #B6B6B6; }
body.cpm-app-body, body.cpm-auth { position: relative; min-height: 100vh; }
html:not([data-theme="light"]) body.cpm-app-body, html:not([data-theme="light"]) body.cpm-auth {
	background: linear-gradient(125deg, #050505 0%, #050505 45%, #0D0D0D 80%, #080808 100%) fixed !important;
}
body.cpm-app-body::before, body.cpm-auth::before {
	content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.cpm-app-body::after, body.cpm-auth::after {
	content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
	background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.05), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(0,0,0,.35), transparent 60%);
}
html:has(body.cpm-app-body), html:has(body.cpm-auth) { background: #050505; }
.cpm-app, .cpm-auth-wrap { position: relative; z-index: 1; }

/* Menu lateral */
body.cpm-app-body .cpm-side { background: rgba(8,8,8,.82) !important; border-right: 1px solid var(--n-bd) !important; -webkit-backdrop-filter: blur(10px) !important; backdrop-filter: blur(10px) !important; }
body.cpm-app-body .cpm-side-h { border-bottom-color: var(--n-bd) !important; }
body.cpm-app-body .cpm-side-nav { scrollbar-color: #292929 transparent !important; padding-top: 6px !important; }
body.cpm-app-body .cpm-side-g { color: #929292 !important; font-size: 10.5px !important; letter-spacing: .1em !important; padding: 16px 10px 6px !important; }
body.cpm-app-body .cpm-side li a { color: #D6D6D6 !important; font-weight: 500 !important; padding: 8px 12px !important; margin: 1px 0 !important; }
body.cpm-app-body .cpm-side li a .cpm-i { color: #929292 !important; }
body.cpm-app-body .cpm-side li a:hover { background: rgba(255,255,255,.045) !important; color: #fff !important; }
body.cpm-app-body .cpm-side li a.on { background: rgba(194,174,141,.13) !important; color: #fff !important; font-weight: 600 !important; }
body.cpm-app-body .cpm-side li a.on .cpm-i { color: var(--t-gold) !important; }
.cpm-side-plan { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; border: 1px solid rgba(194,174,141,.3); background: linear-gradient(135deg, rgba(194,174,141,.12), transparent); color: var(--n-tx) !important; text-decoration: none; }
.cpm-side-plan .cpm-i { color: var(--t-gold); flex: none; }
.cpm-side-plan strong { display: block; font-size: 13px; line-height: 1.2; }
.cpm-side-plan small { display: block; font-size: 11px; color: var(--n-mu); }
.cpm-collapsed .cpm-side-plan span { display: none; }
.cpm-collapsed .cpm-side-plan { justify-content: center; padding: 10px 0; }

/* Topo: nome da página à esquerda, ações à direita */
body.cpm-app-body .cpm-top { background: rgba(8,8,8,.7) !important; border-bottom: 1px solid var(--n-bd) !important; -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important; padding: 10px 28px !important; min-height: 64px !important; }
body.cpm-app-body .cpm-faixa-top { display: none; }
body.cpm-app-body .cpm-body > .cpm-faixa-top + .cpm-top { top: 0; }
.cpm-top-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.cpm-top-t small { font-size: 11px; color: var(--n-mu); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cpm-top-t strong { font-size: 17px; font-weight: 600; color: var(--n-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpm-top-cap { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(194,174,141,.4); color: var(--t-gold) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.cpm-top-cap:hover { background: rgba(194,174,141,.1); }
.cpm-top-cap .cpm-i { width: 16px; height: 16px; }
body.cpm-app-body .cpm-icon-btn { border-color: var(--n-bd) !important; background: rgba(255,255,255,.02) !important; }
body.cpm-app-body .cpm-user-menu { background: #0D0D0D !important; border-color: var(--n-bd) !important; }

/* Conteúdo centralizado e com respiro */
body.cpm-app-body .cpm-content { max-width: 1240px !important; margin: 0 auto !important; padding: 36px 36px 80px !important; }

/* Barra de atalhos no celular */
.cpm-bottom { display: none; }
@media (max-width: 1000px) {
	.cpm-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(8,8,8,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--n-bd); }
	.cpm-bottom a, .cpm-bottom button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border: 0; background: none; color: #929292; font: 600 10.5px/1.2 inherit; font-family: inherit; text-decoration: none; border-radius: 10px; cursor: pointer; }
	.cpm-bottom .cpm-i { width: 21px; height: 21px; }
	.cpm-bottom a.on { color: var(--t-gold); background: rgba(194,174,141,.1); }
	body.cpm-app-body .cpm-content { padding: 18px 16px calc(92px + env(safe-area-inset-bottom)) !important; }
	body.cpm-app-body .cpm-top { padding: 10px 16px !important; min-height: 58px !important; }
	.cpm-top-cap span { display: none; }
	.cpm-top-cap { padding: 8px 10px; }
	.cpm-top-t strong { font-size: 16px; }
	#cia-chat-widget { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}

/* Tema claro: fundo cinza neutro, menu escuro mantido */
html[data-theme="light"] body.cpm-app-body, html[data-theme="light"] body.cpm-auth { background: linear-gradient(118deg, #F4F4F4 0%, #F4F4F4 55%, #F4F4F4 100%) fixed !important; }
html[data-theme="light"] body.cpm-app-body::before, html[data-theme="light"] body.cpm-auth::before { opacity: .25; mix-blend-mode: multiply; }
html[data-theme="light"] body.cpm-app-body::after, html[data-theme="light"] body.cpm-auth::after { display: none; }
html[data-theme="light"] body.cpm-app-body .cpm-side { background: #080808 !important; }
html[data-theme="light"] body.cpm-app-body .cpm-top { background: rgba(255,255,255,.82) !important; border-bottom-color: #D9D9D9 !important; }
html[data-theme="light"] .cpm-top-t strong { color: #202020; }
html[data-theme="light"] .cpm-top-t small { color: #666666; }
html[data-theme="light"] .cpm-top-cap { color: #6B573C !important; border-color: rgba(107,87,60,.45); }
html[data-theme="light"] body.cpm-app-body .cpm-icon-btn { border-color: #D9D9D9 !important; background: #fff !important; }
html[data-theme="light"] body.cpm-app-body .cpm-user-menu { background: #fff !important; border-color: #D9D9D9 !important; }
html[data-theme="light"] .cpm-bottom { background: rgba(255,255,255,.95); border-top-color: #D9D9D9; }
html[data-theme="light"] .cpm-bottom a, html[data-theme="light"] .cpm-bottom button { color: #666666; }
html[data-theme="light"] .cpm-bottom a.on { color: #6B573C; background: rgba(107,87,60,.1); }
html:has(body.cpm-app-body)[data-theme="light"] { background: #F4F4F4; }

/* Tela de entrar no mesmo fundo */
body.cpm-auth .cpm-auth-side { background: rgba(13,13,13,.55); }
html:not([data-theme="light"]) body.cpm-auth .cpm-field input { background: rgba(13,13,13,.55); border-color: var(--n-bd); }
html:not([data-theme="light"]) body.cpm-auth .cpm-auth-tabs { border-color: var(--n-bd); }
html:not([data-theme="light"]) body.cpm-auth .cpm-auth-tabs button.on { background: rgba(194,174,141,.14); color: #fff; }
/* Barra do WordPress (administradores) não cobre o menu lateral */
body.admin-bar.cpm-app-body .cpm-side { top: 32px; }
@media (max-width: 782px) { body.admin-bar.cpm-app-body .cpm-side { top: 46px; } }

/* v1.20: rótulos da barra inferior em uma linha ("Operações", "Capitão IA") */
.cpm-bottom a span, .cpm-bottom button span { white-space: nowrap; font-size: 10.5px !important; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 720px) {
	.cpm-top-t strong { font-size: 15px; line-height: 1.2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ==========================================================================
   v1.23 — ícones de vidro Dourado areia no menu do aluno (desenhados por glass-icons.js)
   ========================================================================== */
.cpm-gi { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; line-height: 0; transition: transform .25s cubic-bezier(.2, 0, 0, 1), filter .3s cubic-bezier(.2, 0, 0, 1); }
.cpm-gi .glass-ic { overflow: visible; }
.glass-3d { display: block; max-width: none; object-fit: contain; }
.cpm-gi .glass-3d { width: 26px; height: 26px; margin: -2px; }
.cpm-gi .cpm-i { width: 18px; height: 18px; }
.cpm-side li a .cpm-gi { filter: saturate(.75) brightness(.92); }
.cpm-side li a:hover .cpm-gi { filter: none; transform: translateY(-1px) rotate(-6deg) scale(1.08); }
.cpm-side li a.on .cpm-gi { filter: drop-shadow(0 0 8px rgba(194,174,141,.55)); }
.cpm-bottom .cpm-gi { width: 24px; height: 24px; }
.cpm-bottom a:not(.on) .cpm-gi { filter: saturate(.6) brightness(.85); }
@media (prefers-reduced-motion: reduce) { .cpm-gi { transition: none; } .cpm-side li a:hover .cpm-gi { transform: none; } }

/* ==========================================================================
   v1.24 — paleta de destaque em todo o site
   ========================================================================== */
.cpm-btn-gold, .cpm-btn-gold:hover, .cpm-ava {
	background: linear-gradient(110deg, #E3CFA8 0%, #C2AE8D 54%, #A58D68 100%) !important; color: #fff !important; border-color: transparent !important;
}
.cpm-btn-gold { box-shadow: 0 8px 24px -8px rgba(165,141,104,.6), inset 0 1px 0 rgba(227,207,168,.12) !important; }
.cpm-btn-gold:hover { filter: brightness(1.08); }

/* ==========================================================================
   v1.29 — nova marca: selo "Distintivo" (pontas, divisas e estrela)
   ========================================================================== */
.cpm-logo-emb { width: 44px; height: 44px; }
.cpm-side .cpm-logo-emb { width: 40px; height: 40px; }
.cpm-auth-logo .cpm-logo-emb { width: 46px; height: 46px; }
.cpm-404 img { margin: 0 auto 18px; display: block; }

/* ==========================================================================
   v1.31 — cortina da marca (peças da Fluid): a tela começa coberta e o script a libera.
   Se o script não rodar, a cortina some sozinha depois de 4,5 s.
   ========================================================================== */
html.fl-cobre::before { content: ''; position: fixed; inset: 0; z-index: 2147482999; background: linear-gradient(125deg, #050505 0%, #050505 45%, #0D0D0D 80%, #080808 100%); animation: flSeguro .4s 4.5s forwards cubic-bezier(.05, .7, .1, 1); }
@keyframes flSeguro { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.fl-cobre::before { display: none; } }

/* ==========================================================================
   v1.32 — transições suaves entre páginas (de um item do menu para outro)
   Nos navegadores que suportam, o próprio navegador faz a passagem: o menu e a barra do topo
   ficam parados, o destaque do item ativo desliza até o novo item e o conteúdo troca com
   um esmaecer. Nos demais, o script fluid-ui.js faz um esmaecer simples.
   ========================================================================== */
@view-transition { navigation: auto; }
@media (min-width: 1001px) {
	body.cpm-app-body .cpm-side { view-transition-name: fl-lateral; }
	body.cpm-app-body .cpm-side li a.on { view-transition-name: fl-item; }
}
body.cpm-app-body .cpm-top { view-transition-name: fl-topo; }
body.cpm-app-body .cpm-content { view-transition-name: fl-conteudo; }
body.cpm-app-body .cpm-bottom { view-transition-name: fl-barra; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-group(fl-lateral), ::view-transition-group(fl-topo), ::view-transition-group(fl-barra) { animation-duration: .01s; }
::view-transition-old(fl-lateral), ::view-transition-old(fl-topo), ::view-transition-old(fl-barra) { animation: none; opacity: 0; }
::view-transition-new(fl-lateral), ::view-transition-new(fl-topo), ::view-transition-new(fl-barra) { animation: none; }
::view-transition-group(fl-item) { animation-duration: .46s; animation-timing-function: cubic-bezier(.3, 1.25, .5, 1); }
::view-transition-old(fl-item) { animation: flItemSai .2s cubic-bezier(.3, 0, 1, 1) both; }
::view-transition-new(fl-item) { animation: flItemEntra .3s cubic-bezier(.05, .7, .1, 1) .12s both; }
@keyframes flItemSai { to { opacity: 0; } }
@keyframes flItemEntra { from { opacity: 0; } }
::view-transition-old(fl-conteudo) { animation: flConteudoSai .2s ease-in both; }
::view-transition-new(fl-conteudo) { animation: flConteudoEntra .38s cubic-bezier(.05, .7, .1, 1) .08s both; }
@keyframes flConteudoSai { to { opacity: 0; transform: translateY(-10px); } }
@keyframes flConteudoEntra { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Menu do usuário e grupos do menu lateral */
.cpm-side-g .cpm-i { transition: transform .3s cubic-bezier(.2, 0, 0, 1); }

/* v1.33 do tema — menos brilho na área do aluno (menu lateral, topo e botões) */
.cpm-app .glass-ic .gl-glow { opacity: .12; }
.cpm-side li a.on .cpm-gi { filter: none; }
.cpm-side li a .cpm-gi { filter: saturate(.85); }
.cpm-app-body .cpm-btn-gold { background: linear-gradient(110deg, #E3CFA8 0%, #C2AE8D 54%, #A58D68 100%) !important; box-shadow: 0 2px 8px -4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14) !important; }

/* ==========================================================================
   v1.38 — logo só com o nome "A FORJA"
   ========================================================================== */
.cpm-logo-nome { display: block; height: 26px; width: auto; }
.cpm-logo-emb.so-rec { display: none; }
.cpm-side .cpm-logo-nome { height: 22px; }
.cpm-collapsed .cpm-side .cpm-logo-nome { display: none; }
.cpm-collapsed .cpm-side .cpm-logo-emb.so-rec { display: block; width: 34px; height: 34px; }
.cpm-auth-logo .cpm-logo-nome { height: 36px; }
.cpm-auth-logo-m .cpm-logo-nome { height: 26px; }
.cpm-site-f .cpm-logo-nome { height: 30px; margin-bottom: 14px; }
.cpm-404-nome { height: 48px; width: auto; margin-bottom: 20px; }
@media (max-width: 960px) {
	.cpm-collapsed .cpm-side .cpm-logo-nome { display: block; }
	.cpm-collapsed .cpm-side .cpm-logo-emb.so-rec { display: none; }
}

/* ==========================================================================
   v1.39 — confirmação de e-mail (tela de entrar) e transições entre as abas
   ========================================================================== */
.cpm-auth-conf { text-align: center; }
.cpm-auth-conf h2 { font-size: 24px; font-weight: 600; margin: 0 0 8px; color: var(--t-text); letter-spacing: -.01em; }
.cpm-conf-ic { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; color: var(--t-gold); background: rgba(194,174,141,.1); border: 1px solid rgba(194,174,141,.3); }
.cpm-conf-ic .pt { color: #5fbf7f; }
.cpm-conf-passos { margin: 22px 0; padding: 0; list-style: none; counter-reset: c; text-align: left; display: grid; gap: 10px; }
.cpm-conf-passos li { counter-increment: c; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; border: 1px solid var(--t-border, rgba(160,160,160,.16)); font-size: 14px; color: var(--t-muted, #B6B6B6); }
.cpm-conf-passos li::before { content: counter(c); position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(110deg, #E3CFA8 0%, #C2AE8D 54%, #A58D68 100%); }
.cpm-conf-re { margin: 0 0 6px; }
@media (prefers-reduced-motion: no-preference) {
	/* O cartão sobe, o envelope pousa com mola, a aba abre e os passos entram em sequência */
	.cpm-auth-card { animation: cpmSobe .4s cubic-bezier(.05, .7, .1, 1) both; }
	.cpm-auth-form:not([hidden]) > * { animation: cpmSobe .3s cubic-bezier(.05, .7, .1, 1) both; }
	.cpm-auth-form:not([hidden]) > *:nth-child(3) { animation-delay: .03s; } .cpm-auth-form:not([hidden]) > *:nth-child(4) { animation-delay: .06s; }
	.cpm-auth-form:not([hidden]) > *:nth-child(5) { animation-delay: .09s; } .cpm-auth-form:not([hidden]) > *:nth-child(6) { animation-delay: .12s; }
	.cpm-auth-form:not([hidden]) > *:nth-child(7) { animation-delay: .15s; } .cpm-auth-form:not([hidden]) > *:nth-child(n+8) { animation-delay: .18s; }
	.cpm-auth-erro { animation: cpmTreme .36s cubic-bezier(.45, 0, .55, 1) both; }
	.cpm-conf-ic { animation: cpmPousa .8s cubic-bezier(.2, 1.5, .4, 1) both; }
	.cpm-conf-ic .aba { stroke-dasharray: 60; stroke-dashoffset: 60; animation: cpmTraco .5s .4s cubic-bezier(.05, .7, .1, 1) forwards; }
	.cpm-conf-ic .pt { transform-origin: 50px 16px; animation: cpmPonto .5s .9s cubic-bezier(.2, 1.5, .4, 1) both, cpmPulsa 2.4s 1.6s ease-in-out infinite; }
	.cpm-auth-conf h2, .cpm-auth-conf .cpm-auth-sub { animation: cpmSobe .32s .15s cubic-bezier(.05, .7, .1, 1) both; }
	.cpm-conf-passos li { animation: cpmSobe .32s cubic-bezier(.05, .7, .1, 1) both; }
	.cpm-conf-passos li:nth-child(1) { animation-delay: .3s; } .cpm-conf-passos li:nth-child(2) { animation-delay: .4s; } .cpm-conf-passos li:nth-child(3) { animation-delay: .5s; }
	.cpm-conf-re, .cpm-auth-conf .cpm-auth-alt { animation: cpmSobe .32s .55s cubic-bezier(.05, .7, .1, 1) both; }
}
@keyframes cpmSobe { from { opacity: 0; transform: translateY(14px); } }
@keyframes cpmPousa { from { opacity: 0; transform: translateY(-26px) scale(.7) rotate(-8deg); } }
@keyframes cpmTraco { to { stroke-dashoffset: 0; } }
@keyframes cpmPonto { from { transform: scale(0); } }
@keyframes cpmPulsa { 50% { transform: scale(1.25); opacity: .7; } }
@keyframes cpmTreme { 0% { opacity: 0; transform: translateX(0); } 18% { opacity: 1; transform: translateX(-10px); } 38% { transform: translateX(8px); } 58% { transform: translateX(-5px); } 78% { transform: translateX(3px); } 100% { transform: translateX(0); } }

/* ==========================================================================
   v1.41 — Sistema de movimento da Forja (skill motion-design, arquétipo "Corporate")
   Assinatura: cubic-bezier(.2, 0, 0, 1) · entrada: (.05, .7, .1, 1) · saída: (.3, 0, 1, 1)
   Durações: rápida 180ms · padrão 300ms · lenta 450ms · passar o mouse 100ms
   Ricochete: até 3% na interface; 8% só em acerto, conquista e confirmação. Erro não ricocheteia.
   ========================================================================== */
:root {
	--mo-ease: cubic-bezier(.2, 0, 0, 1); --mo-in: cubic-bezier(.05, .7, .1, 1); --mo-out: cubic-bezier(.3, 0, 1, 1);
	--mo-pop: cubic-bezier(.34, 1.3, .64, 1); --mo-win: cubic-bezier(.2, 1.5, .4, 1); --mo-vai-volta: cubic-bezier(.45, 0, .55, 1);
	--mo-micro: 100ms; --mo-quick: 180ms; --mo-std: 300ms; --mo-slow: 450ms;
}
@media (prefers-reduced-motion: no-preference) {
	/* Passar o mouse: responde em 100ms; a volta usa a duração normal do elemento (150–250ms) */
	.cpm-btn:hover, .cpm-icon-btn:hover, .cpm-side li a:hover, .cpm-side li a:hover .cpm-gi, .cpm-nav a:hover, .cpm-nav-secoes a:hover, .cpm-nav-secoes a:hover::after,
	.cpm-user-menu a:hover, .cpm-bottom a:hover, .lp-alt:hover, body.cpm-lp2 .lp-btn:hover, body.cpm-lp2 .lp-grid > div:hover, .lp-topo:hover, .cpm-field input:hover { transition-duration: var(--mo-micro); }
	.cpm-user-menu a, .cpm-nav a, .cpm-bottom a, .cpm-bottom button { transition: color var(--mo-quick) var(--mo-ease), background-color var(--mo-quick) var(--mo-ease); }

	/* Menu do perfil: nasce do canto do botão e os itens chegam em seguida (sem a biblioteca de animação também) */
	.cpm-user-menu.open { transform-origin: 100% 0; animation: moNasce .2s var(--mo-in) both; }
	@keyframes moNasce { from { opacity: 0; transform: translateY(-6px) scale(.95); } }

	/* Perguntas frequentes: o sinal gira em 150ms e a resposta desce 8px em 220ms */
	.lp-faq summary .cpm-i { transition-duration: .15s; }
	.lp-faq details[open] > *:not(summary) { animation: moDesce .22s var(--mo-in) both; }
	@keyframes moDesce { from { opacity: 0; transform: translateY(-8px); } }

	/* Campos: a borda responde em 150ms; campo com erro balança uma vez (3 oscilações, 360ms, sem ricochete) */
	.cpm-field input, .cpm-field select, .cpm-field textarea { transition: border-color .15s var(--mo-ease), box-shadow .15s var(--mo-ease), background-color .15s var(--mo-ease); }
	@keyframes moTreme { 0%, 100% { transform: translateX(0); } 18% { transform: translateX(-10px); } 38% { transform: translateX(8px); } 58% { transform: translateX(-5px); } 78% { transform: translateX(3px); } }

	/* Menu lateral no celular e barra fixa: entram desacelerando e saem acelerando */
	.cpm-side { transition-timing-function: var(--mo-ease); }
}
/* Quem pediu "reduzir movimento": sem deslocamento e sem laços; só trocas curtas de opacidade e cor */
@media (prefers-reduced-motion: reduce) {
	.cpm-site-h, .cpm-site-h *, .cpm-side, .cpm-side *, .cpm-top, .cpm-top *, .cpm-bottom, .cpm-bottom *, .cpm-auth, .cpm-auth *, .cpm-auth-card, .cpm-auth-card *, .lp, .lp *, .lp *::before, .lp *::after, .cpm-user-menu, .cpm-user-menu *, .cpm-btn {
		animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; transition-delay: 0s !important;
	}
	.cpm-btn:active, body.cpm-lp2 .lp-grid > div:hover { transform: none !important; }
}

/* Dourado areia: acabamento comum, sem alterar medidas ou estados de feedback. */
:root {
	--t-bg: #050505; --t-bg-2: #080808; --t-surface: #0D0D0D;
	--t-border: #292929; --t-text: #F4F4F4; --t-muted: #B6B6B6;
	--n-bd: #292929; --n-tx: #F4F4F4; --n-mu: #B6B6B6;
}
html:not([data-theme="light"]), html:not([data-theme="light"]):has(body.cpm-app-body), html:not([data-theme="light"]):has(body.cpm-auth) { background: #050505; }
html:not([data-theme="light"]) body, html:not([data-theme="light"]) body.cpm-app-body, html:not([data-theme="light"]) body.cpm-auth { background: #050505 !important; }
body.cpm-app-body::before, body.cpm-auth::before { opacity: .08; }
body.cpm-app-body::after, body.cpm-auth::after { background: none; }
.cpm-side, body.cpm-app-body .cpm-side {
	--t-gold: #C2AE8D; --t-gold-2: #E3CFA8; --t-border: #292929; --t-muted: #B6B6B6;
	--n-bd: #292929; --n-tx: #F4F4F4; --n-mu: #B6B6B6;
	background: #080808 !important;
}
.cpm-site-h, .cpm-top, body.cpm-app-body .cpm-top { background: #080808 !important; }
body.cpm-app-body .cpm-side li a.on { background: #1B1B1B !important; color: #E3CFA8 !important; }
.cpm-side-plan { background: #111111; border-color: #303030; }
body.cpm-app-body .cpm-icon-btn { background: #111111 !important; border-color: #303030 !important; }
body.cpm-app-body .cpm-user-menu { background: #0D0D0D !important; }
.cpm-bottom { background: rgba(8,8,8,.96); }
.cpm-bottom a.on { background: #212121; }
.cpm-auth-side, body.cpm-auth .cpm-auth-side { background: #0D0D0D; }
html:not([data-theme="light"]) body.cpm-auth .cpm-field input { background: #0D0D0D; }
html:not([data-theme="light"]) body.cpm-auth .cpm-auth-tabs button.on { background: #212121; color: #E3CFA8; }
.cpm-btn-gold, .cpm-btn-gold:hover, .cpm-app-body .cpm-btn-gold, .cpm-ava {
	background: var(--t-accent-gradient) !important; color: var(--t-accent-ink) !important;
}
.cpm-btn-gold { box-shadow: 0 4px 12px -6px rgba(0,0,0,.65), inset 0 1px 0 rgba(227,207,168,.12) !important; }
.cpm-btn-gold:hover { filter: brightness(1.03); }
.cpm-conf-passos li::before, .lp-msg.me {
	background: var(--t-accent-gradient); color: var(--t-accent-ink);
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .wc-block-components-button,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--t-accent-gradient) !important; color: var(--t-accent-ink) !important; }
html.fl-cobre::before { background: #050505; }

/* A preferência clara permanece disponível, com contrastes próprios para leitura. */
html[data-theme="light"] {
	--t-gold: #6B573C; --t-gold-2: #493A27; --t-khaki: #6B573C;
	--t-bg: #F4F4F4; --t-bg-2: #FFFFFF; --t-surface: #FFFFFF;
	--t-border: #D9D9D9; --t-text: #202020; --t-muted: #666666;
	--n-bd: #D9D9D9; --n-tx: #202020; --n-mu: #666666;
	background: #F4F4F4;
}
html[data-theme="light"] body, html[data-theme="light"] body.cpm-app-body, html[data-theme="light"] body.cpm-auth { background: #F4F4F4 !important; }
html[data-theme="light"] .cpm-site-h, html[data-theme="light"] .cpm-top,
html[data-theme="light"] body.cpm-app-body .cpm-top { background: #FFFFFF !important; border-bottom-color: #D9D9D9 !important; }
html[data-theme="light"] body.cpm-app-body .cpm-side { background: #080808 !important; }
html[data-theme="light"] .cpm-nav a:not(.cpm-btn-gold), html[data-theme="light"] .cpm-nav li a,
html[data-theme="light"] .cpm-auth-pitch li, html[data-theme="light"] .cpm-field > span,
html[data-theme="light"] .lp-feat li, html[data-theme="light"] .lp-plan li, html[data-theme="light"] .lp-quiz-end { color: var(--t-text); }
html[data-theme="light"] body.cpm-auth .cpm-auth-side, html[data-theme="light"] .cpm-field input { background: #FFFFFF; border-color: #D9D9D9; }
html[data-theme="light"] .cpm-auth-tabs button.on { background: #E8E8E8; color: #202020; }
html[data-theme="light"] .cpm-top-cap { color: #6B573C !important; }
html[data-theme="light"] .cpm-bottom a.on { color: #493A27; background: #E8E8E8; }
html[data-theme="light"] :is(.cpm-site-h, .cpm-site-f, .cpm-auth-logo, .cpm-auth-logo-m) .cpm-logo-nome,
html[data-theme="light"] .cpm-404-nome { filter: brightness(.43); }
:where(.cpm-btn, .cpm-icon-btn, .cpm-eye, .cpm-auth-tabs button, .cpm-side a, .cpm-bottom a, .cpm-nav a):focus-visible {
	outline: 2px solid var(--t-gold); outline-offset: 3px;
}
/* Feedback continua verde/vermelho; no modo claro, apenas a luminosidade muda. */
html[data-theme="light"] .cpm-conf-ic .pt,
html[data-theme="light"] .lp-quiz-fb strong.ok, html[data-theme="light"] .lp-quiz-xp.ok { color: #267447; }
html[data-theme="light"] .cpm-auth-erro,
html[data-theme="light"] .lp-quiz-fb strong.no, html[data-theme="light"] .lp-quiz-xp.no { color: #B52E3B; }

/* Painel do aluno: navegação e controles em tons neutros. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) {
	--pn-shell-text: #F0F0F0;
	--pn-shell-muted: #B0B0B0;
	--pn-shell-control: #111111;
	--pn-shell-hover: #1C1C1C;
	--pn-shell-line: #383838;
	--pn-shell-focus: #CACACA;
	--pn-shell-avatar: #262626;
}
html[data-theme="light"] body.cpm-app-body:has(#cia-app[data-view="painel"]) {
	--pn-shell-text: #242424;
	--pn-shell-muted: #626262;
	--pn-shell-control: #FFFFFF;
	--pn-shell-hover: #EAEAEA;
	--pn-shell-line: #BFBFBF;
	--pn-shell-focus: #4A4A4A;
	--pn-shell-avatar: #E5E5E5;
}

/* A lateral continua escura nos dois temas. A marca no cabeçalho não é selecionada. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a {
	color: #BDBDBD !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a:hover {
	background: #171717 !important;
	color: #F0F0F0 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a.on {
	background: #202020 !important;
	color: #F0F0F0 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a.on::before {
	background: #B7B7B7 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a .cpm-i,
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side-plan .cpm-i {
	color: #BDBDBD !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side li a.on .cpm-i {
	color: #E8E8E8 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side-nav .cpm-gi {
	filter: grayscale(1) brightness(.9) !important;
	opacity: .8;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side-nav a:is(.on, :hover, :focus-visible) .cpm-gi {
	opacity: 1;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) :is(.cpm-side-nav, .cpm-bottom) .glass-ic .gl-glow {
	opacity: 0 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side-plan {
	background: #111111 !important;
	border-color: #383838 !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side-plan:hover {
	background: #191919 !important;
	border-color: #686868 !important;
}

/* Topo, controles e avatar: sem transformar o dourado da marca em cor de navegação. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top :is(.cpm-top-cap, .cpm-icon-btn) {
	color: var(--pn-shell-text) !important;
	border-color: var(--pn-shell-line) !important;
	background: var(--pn-shell-control) !important;
	box-shadow: none !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top :is(.cpm-top-cap, .cpm-icon-btn):hover {
	background: var(--pn-shell-hover) !important;
	border-color: var(--pn-shell-muted) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cpm-ava {
	background: var(--pn-shell-avatar) !important;
	color: var(--pn-shell-text) !important;
	box-shadow: inset 0 0 0 1px var(--pn-shell-line) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cpm-user-menu {
	border-color: var(--pn-shell-line) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cpm-user-menu a:not(.cpm-out):hover {
	background: var(--pn-shell-hover) !important;
	color: var(--pn-shell-text) !important;
}

/* Créditos normais são informação neutra. A falta/baixa quantidade continua em alerta. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred:not(.pouco):not(.zero) {
	background: var(--pn-shell-control) !important;
	border-color: var(--pn-shell-line) !important;
	color: var(--pn-shell-text) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred:not(.pouco):not(.zero):is(:hover, [aria-expanded="true"]) {
	background: var(--pn-shell-hover) !important;
	border-color: var(--pn-shell-muted) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred:not(.pouco):not(.zero) .i {
	color: var(--pn-shell-muted) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred-pop {
	border-color: var(--pn-shell-line) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred-pop :is(.tt svg, .qd svg) {
	color: var(--pn-shell-muted) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred-pop .qd {
	background: var(--pn-shell-hover) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred:not(.pouco):not(.zero) + .cia-cred-pop .big b {
	color: var(--pn-shell-text) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-top .cia-cred:not(.pouco):not(.zero) + .cia-cred-pop .br i {
	background: var(--pn-shell-muted) !important;
}

/* Mesma hierarquia nos atalhos do celular, sem mexer nas medidas ou áreas de toque. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-bottom :is(a, button) {
	color: var(--pn-shell-muted) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-bottom a.on {
	background: var(--pn-shell-hover) !important;
	color: var(--pn-shell-text) !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-bottom .cpm-gi {
	filter: grayscale(1) brightness(.9) !important;
}
html[data-theme="light"] body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-bottom .cpm-gi {
	filter: grayscale(1) brightness(.5) !important;
}

/* Foco fica evidente mesmo quando o item já está selecionado. */
body.cpm-app-body:has(#cia-app[data-view="painel"]) :is(.cpm-top, .cpm-bottom) :is(a, button):focus-visible {
	outline: 2px solid var(--pn-shell-focus) !important;
	outline-offset: 3px !important;
}
body.cpm-app-body:has(#cia-app[data-view="painel"]) .cpm-side :is(a, button):focus-visible {
	outline: 2px solid #CACACA !important;
	outline-offset: 2px !important;
}

/* v1.48 — acessibilidade (contraste mínimo de 4,5:1 e links que não dependem só da cor) */
.cpm-auth-foot { color: #9a9488; }
.cpm-auth-alt a { text-decoration: underline; text-underline-offset: 3px; }
:where(body) :where(a, button, select, input, textarea, [tabindex], summary):focus-visible { outline: 2px solid #C2AE8D; outline-offset: 2px; }

/* v1.53 — força da senha no cadastro (estática, sem animação) */
.cpm-forca { margin: -6px 0 16px; }
.cpm-forca-b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 6px; }
.cpm-forca-b i { display: block; height: 4px; border-radius: 4px; background: var(--t-border); }
.cpm-forca-t { display: block; font-size: 12.5px; line-height: 1.4; color: var(--t-muted); }
.cpm-forca[data-nivel="1"] .cpm-forca-b i:nth-child(1) { background: #e07a86; }
.cpm-forca[data-nivel="1"] .cpm-forca-t { color: #f0a3ac; }
.cpm-forca[data-nivel="2"] .cpm-forca-b i:nth-child(-n+2) { background: var(--t-gold); }
.cpm-forca[data-nivel="2"] .cpm-forca-t { color: var(--t-gold-2); }
.cpm-forca[data-nivel="3"] .cpm-forca-b i { background: #6fd17b; }
.cpm-forca[data-nivel="3"] .cpm-forca-t { color: #8fe09a; }
html[data-theme="light"] .cpm-forca[data-nivel="1"] .cpm-forca-t { color: #a8323f; }
html[data-theme="light"] .cpm-forca[data-nivel="2"] .cpm-forca-t { color: #6B4E1F; }
html[data-theme="light"] .cpm-forca[data-nivel="3"] .cpm-forca-t { color: #1d7f3f; }

/* v1.54 — aviso do CPF no cadastro */
.cpm-cpf-t { margin: -6px 0 14px; font-size: 12.5px; line-height: 1.4; color: #f0a3ac; }
html[data-theme="light"] .cpm-cpf-t { color: #a8323f; }

/* v1.55 — Mensal | Anual nos planos da página inicial (sem JavaScript e sem animação) */
.lp-per-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lp-periodo { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 5px; border: 1px solid var(--t-border); border-radius: 999px; background: #0D0D0D; }
.lp-periodo label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--t-muted); }
.lp-per-off { font-size: 11px; font-weight: 700; color: var(--t-gold); }
#cpm-per-mensal:checked ~ .lp-periodo label[for="cpm-per-mensal"],
#cpm-per-anual:checked ~ .lp-periodo label[for="cpm-per-anual"] { background: var(--t-accent-gradient); color: var(--t-accent-ink); }
#cpm-per-anual:checked ~ .lp-periodo label[for="cpm-per-anual"] .lp-per-off { color: var(--t-accent-ink); }
#cpm-per-mensal:focus-visible ~ .lp-periodo label[for="cpm-per-mensal"],
#cpm-per-anual:focus-visible ~ .lp-periodo label[for="cpm-per-anual"] { outline: 2px solid var(--t-gold); outline-offset: 2px; }
.lp-plans .so-anual { display: none; }
#cpm-per-anual:checked ~ .lp-plans .so-anual { display: block; }
#cpm-per-anual:checked ~ .lp-plans .so-mensal { display: none; }
.lp-per-nota { font-size: 13px; line-height: 1.45; color: var(--t-muted); margin: -14px 0 16px; }
.lp-per-nota strong { color: var(--t-text); font-weight: 600; }
.lp-per-eco { font-size: 13px; font-weight: 600; color: var(--t-gold-2); margin: -8px 0 22px; }
html[data-theme="light"] .lp-periodo { background: #fff; }
html[data-theme="light"] .lp-per-eco { color: #6B4E1F; }
@media (max-width: 480px) { .lp-periodo label { padding: 9px 12px; font-size: 13px; } }

/* v1.56 — foto de perfil no botão redondo da conta (topo do app) */
.cpm-ava { overflow: hidden; }
.cpm-ava.tem-foto { padding: 0; }
.cpm-ava img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* v1.56 — planos com a lista completa: o que é novo ou melhor no plano fica em destaque */
.lp-plan li.mais { color: #fff; font-weight: 600; }
html[data-theme="light"] .lp-plan li.mais { color: #111; }
.lp-plans-leg { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--t-muted); }
.lp-plans-leg b { color: var(--t-text); font-weight: 600; }
