/* Mark Juri: tema (topo, áreas claras/escuras, alternância de tema). Gerado a partir da demonstração (demo/src). */
:root{
	color-scheme:dark;
	--bg:#08111C;--bg-2:#0B1623;--surface:#101C2A;--surface-2:#172636;--line:rgba(201,161,91,.16);--hair:rgba(201,161,91,.3);
	--gold:#C9A15B;--gold-2:#DDBB7A;--ink:#0A1420;--text:#F4EFE6;--soft:#D9D3C7;--muted:#A59F94;--ok:#5CC99B;--warn:#E8B04E;--bad:#FF8FA3;--info:#8DB7F0;
	--serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;--sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--ease:cubic-bezier(.23,1,.32,1);
}
html,body{background:var(--bg);color:var(--text)}
body{font-family:var(--sans);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100vh}
a{color:inherit}
button{font:inherit}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* topo */
/* ------------------------------------------------ topo do site */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:9990;background:rgba(8,17,28,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.top-in{max-width:1480px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;gap:28px}
.logo{display:inline-flex;align-items:center;gap:12px;font:600 15px var(--serif);letter-spacing:.28em;text-decoration:none;white-space:nowrap}
.logo span{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--gold);color:var(--gold);font-size:15px;letter-spacing:.04em}
.nav{display:flex;gap:4px;flex-wrap:wrap}
.nav a{padding:8px 12px;border-radius:2px;text-decoration:none;color:var(--soft);font-size:14px;transition:color .2s}
.nav a:hover{color:var(--text)}
.nav a[aria-current="page"]{color:var(--gold)}
.top-r{margin-left:auto;display:flex;align-items:center;gap:10px}
.who{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--soft)}
.who i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--surface-2);border:1px solid var(--hair);color:var(--gold);font:600 13px var(--sans);font-style:normal}
.adm-link{border:1px solid var(--hair);padding:7px 12px;border-radius:2px;text-decoration:none;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.adm-link:hover{border-color:var(--gold)}

/* ------------------------------------------------ menu em pílulas (todas as áreas) */
.top-in{gap:20px}
.nav{margin:0 auto;gap:6px}
.nav a{border-radius:999px;padding:8px 18px;font-weight:600;font-size:14.5px;transition:background-color .2s,color .2s}
.nav a[aria-current="page"]{background:var(--text);color:var(--bg)}
.top-r{margin-left:0}

/* ------------------------------------------------ áreas claras: cursos e loja */
body.mj-area-cursos,body.mj-area-loja{
	color-scheme:light;
	--bg:#FFFFFF;--bg-2:#F6F5F2;--surface:#F7F6F3;--surface-2:#EFEDE8;--line:rgba(22,24,29,.09);--hair:rgba(22,24,29,.16);
	--gold:#8F6A2C;--gold-2:#9C7432;--text:#16181D;--soft:#3B4049;--muted:#6B7079;
	background:var(--bg);color:var(--text)
}
html:has(body.mj-area-cursos),html:has(body.mj-area-loja){background:var(--bg)}
body.mj-area-cursos .mj-lms,body.mj-area-loja .mj-lms{
	--mj-bg:#FFFFFF;--mj-surface:#F7F6F3;--mj-surface-2:#EFEDE8;--mj-line:rgba(22,24,29,.1);--mj-hair:rgba(22,24,29,.18);
	--mj-gold:#8F6A2C;--mj-gold-2:#9C7432;--mj-text:#16181D;--mj-soft:#3B4049;--mj-muted:#6B7079;--mj-ok:#1E7A4F;--mj-bad:#B42318
}
body.mj-area-cursos .top,body.mj-area-loja .top{background:rgba(255,255,255,.95);border-bottom-color:var(--line-solid)}
body.mj-area-cursos .logo span,body.mj-area-loja .logo span{border-color:var(--inv-bg);color:#0B1623}
body.mj-area-cursos .nav a[aria-current="page"],body.mj-area-loja .nav a[aria-current="page"]{background:var(--inv-bg);color:var(--inv-fg)}
body.mj-area-cursos .who i,body.mj-area-loja .who i{background:var(--inv-bg);color:#C9A15B;border-color:var(--inv-bg)}
body.mj-area-loja .mj-usp{background:var(--surface);color:var(--soft);border:0;border-radius:10px;margin:18px 0}
body.mj-area-loja .mj-usp .mj-i{color:var(--gold)}
body.mj-area-loja .testbar{border-color:#D9C7A0;background:var(--tint)}
/* capas com imagem: sem sombra de texto nas áreas claras */
.dm .cv.im::before,.sh .sh-img.cv.im::before{background:none}


/* blog: área clara */
body.mj-area-blog{
	color-scheme:light;
	--bg:#FFFFFF;--bg-2:#F6F5F2;--surface:#F7F6F3;--surface-2:#EFEDE8;--line:rgba(22,24,29,.09);--hair:rgba(22,24,29,.16);
	--gold:#8F6A2C;--gold-2:#9C7432;--text:#16181D;--soft:#3B4049;--muted:#6B7079;
	background:var(--bg);color:var(--text)
}
html:has(body.mj-area-blog){background:var(--bg)}
body.mj-area-blog .mj-lms{--mj-bg:#FFFFFF;--mj-surface:#F7F6F3;--mj-surface-2:#EFEDE8;--mj-line:rgba(22,24,29,.1);--mj-hair:rgba(22,24,29,.18);--mj-gold:#8F6A2C;--mj-gold-2:#9C7432;--mj-text:#16181D;--mj-soft:#3B4049;--mj-muted:#6B7079}
body.mj-area-blog .top{background:rgba(255,255,255,.95);border-bottom-color:var(--line-solid)}
body.mj-area-blog .logo span{border-color:var(--inv-bg);color:#0B1623}
body.mj-area-blog .nav a[aria-current="page"]{background:var(--inv-bg);color:var(--inv-fg)}

/* claro e escuro */
/* ================================================================ tema claro / escuro (botão no topo; padrão = o desenho de cada área)
   Painel e sala de aula ficam sempre escuros. */
body.mj-area-blog,body.mj-area-cursos,body.mj-area-loja{--inv-bg:#0B1623;--inv-fg:#FFFFFF;--tint:#FBF7EF;--line-solid:#E6E7EA}
body{--inv-bg:#F4EFE6;--inv-fg:#0B1623;--tint:rgba(201,161,91,.10);--line-solid:rgba(255,255,255,.10)}
.thm{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid var(--hair);border-radius:999px;background:transparent;color:var(--text);cursor:pointer;transition:border-color .2s,transform .15s var(--ease)}
.thm:hover{border-color:var(--gold)}.thm:active{transform:scale(.94)}
.thm svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.mj-area-painel .thm,body.mj-area-aula .thm{display:none}

/* ---------- escuro nas áreas claras (blog, glossário, cursos, loja) */
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja){
	color-scheme:dark;
	--bg:#0B111A;--bg-2:#0F1722;--surface:#131C28;--surface-2:#1A2533;--line:rgba(255,255,255,.08);--hair:rgba(255,255,255,.16);
	--gold:#DDBB7A;--gold-2:#E6C98E;--text:#F1EDE6;--soft:#CFCAC0;--muted:#9A968E;
	--inv-bg:#F1EDE6;--inv-fg:#0B1623;--tint:rgba(201,161,91,.10);--line-solid:rgba(255,255,255,.10);
	background:#0B111A;color:#F1EDE6
}
html[data-theme="dark"]:has(body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja)){background:#0B111A}
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja) .mj-lms{--mj-bg:#0B111A;--mj-surface:#131C28;--mj-surface-2:#1A2533;--mj-line:rgba(255,255,255,.1);--mj-hair:rgba(255,255,255,.18);--mj-gold:#DDBB7A;--mj-gold-2:#E6C98E;--mj-text:#F1EDE6;--mj-soft:#CFCAC0;--mj-muted:#9A968E;--mj-ok:#5CC99B;--mj-bad:#FF8FA3}
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja) .top{background:rgba(11,17,26,.92);border-bottom-color:rgba(255,255,255,.08)}
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja) .logo span{border-color:var(--gold);color:var(--gold)}
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja) .nav a[aria-current="page"]{background:var(--inv-bg);color:var(--inv-fg)}
html[data-theme="dark"] body:is(.mj-area-blog,.mj-area-cursos,.mj-area-loja) .who i{background:var(--surface-2);color:var(--gold);border-color:var(--hair)}
html[data-theme="dark"] body.mj-area-blog .gl-def{background:var(--tint);color:var(--text)}
html[data-theme="dark"] body.mj-area-blog .gl-more,html[data-theme="dark"] body.mj-area-blog .bl-refs,html[data-theme="dark"] body.mj-area-blog .bl-refs b{color:var(--soft)}
html[data-theme="dark"] body.mj-area-blog .bl-refs{border-top-color:var(--line-solid)}
html[data-theme="dark"] body.mj-area-blog .bl-refs a{color:var(--gold)}
html[data-theme="dark"] .as-box{background:#151D28;border-color:#2A3441;color:#9AA3AF}
html[data-theme="dark"] .as-box b{color:#D5DAE1}
/* no escuro, o anúncio nativo ganha contorno para não sumir no fundo */
html[data-theme="dark"] .pm-nativo{background:#05080D;border-color:rgba(221,187,122,.35)}

/* ---------- claro nas áreas escuras (início, planos, conta, checkout) */
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout){
	color-scheme:light;
	--bg:#FFFFFF;--bg-2:#F6F5F2;--surface:#F7F6F3;--surface-2:#EFEDE8;--line:rgba(22,24,29,.09);--hair:rgba(22,24,29,.16);
	--gold:#8F6A2C;--gold-2:#9C7432;--text:#16181D;--soft:#3B4049;--muted:#6B7079;
	--inv-bg:#0B1623;--inv-fg:#FFFFFF;--tint:#FBF7EF;--line-solid:#E6E7EA;
	background:#FFFFFF;color:#16181D
}
html[data-theme="light"]:has(body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout)){background:#FFFFFF}
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout) .mj-lms{--mj-bg:#FFFFFF;--mj-surface:#F7F6F3;--mj-surface-2:#EFEDE8;--mj-line:rgba(22,24,29,.1);--mj-hair:rgba(22,24,29,.18);--mj-gold:#8F6A2C;--mj-gold-2:#9C7432;--mj-text:#16181D;--mj-soft:#3B4049;--mj-muted:#6B7079;--mj-ok:#1E7A4F;--mj-bad:#B42318}
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout) .top{background:rgba(255,255,255,.95);border-bottom-color:#E6E7EA}
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout) .logo span{border-color:#0B1623;color:#0B1623}
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout) .nav a[aria-current="page"]{background:#0B1623;color:#FFFFFF}
html[data-theme="light"] body:is(.mj-area-home,.mj-area-outros,.mj-area-checkout) .who i{background:#0B1623;color:#C9A15B;border-color:#0B1623}
/* caixas de marca continuam azul-marinho; no escuro ganham contorno */
html[data-theme="dark"] :is(.bl .bl-glbox,.dm .dm-plus,.sh .sh-banner,.sh-slider){box-shadow:inset 0 0 0 1px rgba(221,187,122,.22)}
html[data-theme="dark"] .bl-body a.ilink{color:#9CC3F5;text-decoration-color:rgba(156,195,245,.4)}

/* início claro: o destaque (sobre imagem) continua escuro; o resto vira claro */
html[data-theme="light"] body.mj-area-home :is(.nf-h,.nf-tour summary){color:#16181D}
html[data-theme="light"] body.mj-area-home :is(.nf-desc,.nf-tour){color:#3B4049}
html[data-theme="light"] body.mj-area-home .nf-tour{border-color:#E6E7EA}
html[data-theme="light"] body.mj-area-home .nf .nf-chips a{background:#F4F2EE;color:#16181D;border-color:#E6E7EA;box-shadow:none}
html[data-theme="light"] body.mj-area-home .nf .nf-chips a:hover{background:#ECE8E0}
html[data-theme="light"] body.mj-area-home .nf .nf-h a{color:#8F6A2C}
html[data-theme="light"] body.mj-area-home .nf .nf-land{color:#16181D}
html[data-theme="light"] body.mj-area-home .nf-land small{color:#6B7079}
html[data-theme="light"] body.mj-area-home .nf-land:hover .nf-land-img{box-shadow:0 0 0 3px #0B1623}
html[data-theme="light"] body.mj-area-home .nf-info .nf-meta{color:#3B4049}

/* ================================================================ WordPress: base do tema */
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.mj-lms{background:transparent}
body{margin:0}
.wp-site-blocks{padding:0!important}
.wp-site-blocks>*+*{margin-block-start:0!important}
body.admin-bar .top{top:32px}
@media (max-width:782px){body.admin-bar .top{top:0}}
.mj-main{min-height:60vh}
.mj-page{max-width:1480px;margin:0 auto;padding:clamp(28px,4vw,56px) 16px 72px}
.mj-page-t{font:500 clamp(34px,4.6vw,60px)/1.03 var(--serif);margin:0 0 22px;text-wrap:balance}
.mj-page .entry-content>*:first-child,.mj-page .wp-block-post-content>*:first-child{margin-top:0}
.skip-link.screen-reader-text:focus{position:fixed;left:8px;top:8px;z-index:99999;padding:10px 14px;background:var(--gold);color:var(--ink)}
.who{text-decoration:none}
.nav-login{border:1px solid var(--hair);padding:7px 12px;border-radius:999px;text-decoration:none;font-size:13px;color:var(--soft)}
.nav-login:hover{border-color:var(--gold);color:var(--text)}
@media (max-width:760px){
	.top{position:relative}
	.top-in{flex-wrap:wrap;gap:10px}
	.nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
	.nav::-webkit-scrollbar{display:none}
	.nav a{flex:none}
	.who span{display:none}
	.top-r{margin-left:auto}
}

/* ================================================================ rodapé (sempre escuro) */
.ft{background:#060B12;color:#D9D3C7;border-top:1px solid rgba(201,161,91,.16);font-size:14.5px}
.ft a{color:#D9D3C7;text-decoration:none}.ft a:hover{color:#FFFFFF}
.ft-in{max-width:1480px;margin:0 auto;padding:56px 16px 28px;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px}
.ft .logo{color:#F4EFE6}.ft .logo span{border-color:#C9A15B;color:#C9A15B}
.ft-tag{margin:14px 0 18px;color:#A59F94;max-width:34ch}
.ft h2{margin:0 0 14px;font:700 11.5px var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#C9A15B}
.ft ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ft-soc{display:flex;gap:10px}
.ft-soc a{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(201,161,91,.3);border-radius:50%}
.ft-soc a:hover{border-color:#C9A15B}
.ft-soc svg{width:18px;height:18px;fill:currentColor}
.ft-legal{max-width:1480px;margin:0 auto;padding:22px 16px 34px;border-top:1px solid rgba(255,255,255,.06);display:grid;gap:10px;color:#8C877E;font-size:13px}
.ft-legal p{margin:0;max-width:110ch}
.ft-legal nav{display:flex;flex-wrap:wrap;gap:6px 18px}
@media (max-width:900px){.ft-in{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.ft-in{grid-template-columns:1fr}}

/* ================================================================ blog: lista de artigos (editorial) */
.mj-bl-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;list-style:none;margin:8px 0 0;padding:0}
.mj-bl-list>li{display:flex;flex-direction:column;gap:8px;margin:0}
.mj-bl-list>li>*{margin:0!important}
.mj-bl-img img{width:100%;border-radius:10px;display:block;object-fit:cover}
.mj-bl-img{margin-bottom:6px!important}
.mj-bl-cat,.mj-bl-cat a{font:700 11.5px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold);text-decoration:none}
.mj-bl-t{font:600 clamp(20px,1.7vw,24px)/1.18 var(--serif)!important;text-wrap:balance}
.mj-bl-t a{text-decoration:none;color:var(--text)}.mj-bl-t a:hover{text-decoration:underline;text-underline-offset:3px}
.mj-bl-ex{color:var(--soft);font-size:15.5px;line-height:1.55}
.mj-bl-ex .wp-block-post-excerpt__excerpt{margin:0}
.mj-bl-d{color:var(--muted);font-size:13px}
@media (min-width:900px){
	.mj-bl-list>li:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;column-gap:34px;align-items:center;padding-bottom:36px;border-bottom:1px solid var(--line-solid,rgba(0,0,0,.08))}
	.mj-bl-list>li:first-child>.mj-bl-img{grid-row:1/6;margin:0!important}
	.mj-bl-list>li:first-child>:not(.mj-bl-img){grid-column:2}
	.mj-bl-list>li:first-child .mj-bl-t{font-size:clamp(30px,3.2vw,46px)!important}
}
@media (max-width:899px){.mj-bl-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.mj-bl-list{grid-template-columns:1fr}}
.mj-bl-pg{margin-top:40px;display:flex;gap:14px;justify-content:center}
.mj-bl-pg a{color:var(--text)}

/* ================================================================ ajustes finos com o WordPress */
*,*::before,*::after{box-sizing:border-box}
:where(.nf,.dm,.sh,.mj-lms,.top,.ft) a{text-decoration:none}
:where(.mj-page,.mj-single) .wp-block-post-content a:not(.wp-element-button):not(.mj-btn){color:var(--gold);text-decoration:underline;text-underline-offset:3px}
body .ft .logo{color:#F4EFE6}
body .ft .logo span{border-color:#C9A15B;color:#C9A15B}
img{max-width:100%;height:auto}
.mj-img-credito{font-size:13px;opacity:.75;margin-top:2em}
