/* The five LP palettes. Keep the exact brand colors here; derive only tonal
   variations with black, white or the niche's own neutral. No hue rotation. */
body.lm-aurora-page[data-product="mentoria-direito"] {
  --niche-primary:#454DD3; --niche-secondary:#68717B; --niche-neutral:#F1F2F6;
}
body.lm-aurora-page[data-product="mentoria-peritos"] {
  --niche-primary:#282A2F; --niche-secondary:#587486; --niche-neutral:#EFEFF0;
}
body.lm-aurora-page[data-product="capacitacao-empresas"] {
  --niche-primary:#356A88; --niche-secondary:#247677; --niche-neutral:#EAF1F5;
}
body.lm-aurora-page[data-product="mentoria-professores"] {
  --niche-primary:#C84E63; --niche-secondary:#79507F; --niche-neutral:#FAECEF;
  /* Ameixa provides 6.43:1 contrast with white on small button labels. */
  --niche-action:var(--niche-secondary);
}
body.lm-aurora-page[data-product="capacitacao-setor-publico"] {
  --niche-primary:#116B61; --niche-secondary:#2B5F79; --niche-neutral:#E8F3EF;
}
body.lm-aurora-page {
  --niche-action:var(--niche-primary);
  --aurora-ink:var(--niche-neutral);
  --aurora-shade:rgb(0 0 0 / 65%);
  --aurora-alt:rgb(0 0 0 / 12%);
  --aurora-blend:screen;
  --aurora-opacity:.9;
  --aurora-base:#090909;
  --aurora-canvas:color-mix(in srgb,var(--niche-primary) 16%,#090909);
  --aurora-panel:color-mix(in srgb,var(--niche-primary) 16%,#151515);
  --aurora-inset:color-mix(in srgb,var(--niche-primary) 23%,#202020);
  --aurora-line:color-mix(in srgb,var(--niche-neutral) 30%,var(--aurora-panel));
  --aurora-highlight:color-mix(in srgb,var(--niche-primary) 20%,#fff);
  --aurora-muted:color-mix(in srgb,var(--niche-neutral) 90%,#fff);
  --aurora-ribbon:color-mix(in srgb,var(--niche-primary) 70%,#fff);
  --aurora-ribbon-secondary:color-mix(in srgb,var(--niche-secondary) 80%,#fff);
  isolation:isolate;
  background:var(--aurora-canvas);
}
/* Light aurora has a white veil over every moving layer. Even black behind
   the veil resolves to at least RGB 209; text and accent colors use dark tones.
   The media-query path also works without JavaScript. */
html[data-appearance="light"] body.lm-aurora-page {
  color-scheme:light;
  --aurora-ink:#20232b;
  --aurora-muted:#454953;
  --aurora-canvas:color-mix(in srgb,var(--niche-neutral) 55%,#fff);
  --aurora-panel:#fff;
  --aurora-inset:color-mix(in srgb,var(--niche-neutral) 65%,#fff);
  --aurora-line:color-mix(in srgb,var(--niche-secondary) 40%,#fff);
  --aurora-highlight:color-mix(in srgb,var(--niche-action) 85%,#000);
  --aurora-ribbon:var(--niche-primary);
  --aurora-ribbon-secondary:var(--niche-secondary);
  --aurora-base:#fff;
  --aurora-shade:rgb(255 255 255 / 82%);
  --aurora-alt:rgb(255 255 255 / 25%);
  --aurora-blend:multiply;
  --aurora-opacity:.65;
}
@media (prefers-color-scheme:light) {
  html:not([data-appearance="dark"]) body.lm-aurora-page {
  color-scheme:light;
  --aurora-ink:#20232b;
  --aurora-muted:#454953;
  --aurora-canvas:color-mix(in srgb,var(--niche-neutral) 55%,#fff);
  --aurora-panel:#fff;
  --aurora-inset:color-mix(in srgb,var(--niche-neutral) 65%,#fff);
  --aurora-line:color-mix(in srgb,var(--niche-secondary) 40%,#fff);
  --aurora-highlight:color-mix(in srgb,var(--niche-action) 85%,#000);
  --aurora-ribbon:var(--niche-primary);
  --aurora-ribbon-secondary:var(--niche-secondary);
  --aurora-base:#fff;
  --aurora-shade:rgb(255 255 255 / 82%);
  --aurora-alt:rgb(255 255 255 / 25%);
  --aurora-blend:multiply;
  --aurora-opacity:.65;
  }
}
.lm-aurora-page .aurora-backdrop {
  position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none;
  background:linear-gradient(125deg,var(--aurora-canvas) 12%,color-mix(in srgb,var(--niche-primary) 40%,var(--aurora-base)) 65%,color-mix(in srgb,var(--niche-secondary) 32%,var(--aurora-base)));
}
/* Final veil bounds background luminance independently of motion and scroll. */
.lm-aurora-page .aurora-backdrop::after {
  content:""; position:absolute; inset:0; background:var(--aurora-shade); pointer-events:none;
}
.lm-aurora-page .aurora-layer { position:absolute; inset:-130px; pointer-events:none; opacity:var(--aurora-opacity); mix-blend-mode:var(--aurora-blend); }
.lm-aurora-page .aurora-glow {
  background:radial-gradient(ellipse at 70% 30%,color-mix(in srgb,var(--niche-primary) 45%,transparent),transparent 50%),radial-gradient(ellipse at 95% 70%,color-mix(in srgb,var(--niche-secondary) 35%,transparent),transparent 48%);
}
.lm-aurora-page .aurora-green { filter:blur(13px); }
.lm-aurora-page .aurora-green::before {
  content:""; position:absolute; left:20%; top:12%; width:100%; height:55%; border-radius:48% 58% 45% 70%;
  border-top:35px solid var(--aurora-ribbon);
  box-shadow:0 -12px 25px color-mix(in srgb,var(--aurora-ribbon) 55%,transparent),inset 0 25px 45px color-mix(in srgb,var(--niche-primary) 70%,transparent);
  transform:rotate(-22deg) skewX(-14deg);
}
.lm-aurora-page .aurora-blue { filter:blur(19px); }
.lm-aurora-page .aurora-blue::before {
  content:""; position:absolute; left:31%; top:18%; width:100%; height:70%; border-radius:55% 45% 55% 45%;
  border-top:24px solid var(--aurora-ribbon-secondary);
  box-shadow:inset 0 50px 50px color-mix(in srgb,var(--niche-secondary) 65%,transparent),0 -8px 35px color-mix(in srgb,var(--aurora-ribbon-secondary) 45%,transparent);
  transform:rotate(-37deg);
}
.lm-aurora-page .aurora-veil { filter:blur(28px); }
.lm-aurora-page .aurora-veil::before {
  content:""; position:absolute; left:25%; top:18%; width:100%; height:52%; border-radius:55%;
  background:repeating-linear-gradient(105deg,transparent 0%,color-mix(in srgb,var(--niche-primary) 20%,transparent) 5%,color-mix(in srgb,var(--aurora-ribbon) 25%,transparent) 7%,transparent 12%);
  mask-image:radial-gradient(ellipse,#000 12%,transparent 68%); transform:rotate(-23deg);
}
body.lm-plus.lm-aurora-page #conteudo {
  --ink:var(--aurora-ink); --muted:var(--aurora-muted); --line:var(--aurora-line);
  --accent:var(--niche-primary); --accent-soft:var(--aurora-inset); color:var(--ink);
}
body.lm-plus.lm-aurora-page #conteudo > :is(.hero,.section) { background:transparent; box-shadow:none; }
body.lm-plus.lm-aurora-page #conteudo > .hero { overflow:clip; }
body.lm-plus.lm-aurora-page #conteudo > .section.alt { background:var(--aurora-alt); }
/* Reading and transaction surfaces are opaque; moving lights never cross them. */
body.lm-plus.lm-aurora-page #conteudo :is(.card,.teacher-card,.cohort-card,.empty-cohorts,.offer-card,.contact-form,[role=tabpanel],.faq-list,.cohort-highlight,.metrics) {
  background:var(--aurora-panel); color:var(--ink); border-color:var(--aurora-line); box-shadow:0 10px 30px #0002;
}
body.lm-plus.lm-aurora-page #conteudo :is(.cohort-highlight-list a,.cohort-highlight-empty,.cohort-sessions>li,.countdown-unit,.card-number,.notice,.pill) {
  background:var(--aurora-inset); color:var(--ink); border-color:var(--aurora-line); box-shadow:none;
}
body.lm-plus.lm-aurora-page #conteudo :is(a:not(.button),.accent,.eyebrow,.card-number,.pill,.price-pix strong,.cohort-highlight-heading,.cohort-highlight-arrow,.cohort-sessions .session-label,.countdown-unit strong) { color:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page #conteudo .hero-visual::before { background:var(--aurora-panel); border-color:var(--aurora-line); box-shadow:0 18px 40px #0003; }
body.lm-plus.lm-aurora-page .button.primary {
  background:var(--niche-action); color:#fff; border-color:var(--aurora-highlight); box-shadow:0 8px 24px #0003;
}
body.lm-plus.lm-aurora-page .button.primary:hover { background:color-mix(in srgb,var(--niche-action) 85%,#000); filter:none; }
body.lm-plus.lm-aurora-page #conteudo .button.secondary { background:var(--aurora-panel); color:var(--aurora-ink); border-color:var(--aurora-highlight); box-shadow:none; }
body.lm-plus.lm-aurora-page #conteudo .button.secondary:hover { background:var(--aurora-inset); }
body.lm-plus.lm-aurora-page #conteudo .button.text { color:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page #conteudo :is(.tablist button,.cohort-filter button) { background:var(--aurora-inset); color:var(--aurora-ink); border-color:var(--aurora-line); box-shadow:none; }
body.lm-plus.lm-aurora-page #conteudo :is(.tablist button[aria-selected=true],.cohort-filter button[aria-pressed=true]) { background:var(--niche-action); color:#fff; border-color:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page #conteudo .contact-form :is(input,select,textarea) { background:var(--niche-neutral); color:#202020; border-color:var(--aurora-highlight); box-shadow:none; }
body.lm-plus.lm-aurora-page #conteudo .contact-form :is(input,textarea)::placeholder { color:#505050; opacity:1; }
body.lm-plus.lm-aurora-page #conteudo :focus-visible { outline:3px solid var(--aurora-highlight); outline-offset:4px; }
body.lm-plus.lm-aurora-page #conteudo .contact-form :is(input,select,textarea):focus-visible { outline-color:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page #conteudo :is(.lesson-toggle,.lesson-toggle:hover) { background:var(--aurora-panel); color:var(--aurora-ink); border:1px solid var(--aurora-line); }
body.lm-plus.lm-aurora-page #conteudo .lesson-dot[aria-pressed=true] span { background:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page .site-footer { background:var(--aurora-canvas); }
@media(max-width:760px) { .lm-aurora-page .aurora-green::before { left:-10%; width:150%; } .lm-aurora-page .aurora-blue::before { left:0; width:150%; } }
@media(prefers-reduced-motion:reduce) { .lm-aurora-page .aurora-layer { transform:none; } }
@media print,(forced-colors:active) {
  .lm-aurora-page .aurora-backdrop { display:none; }
  body.lm-plus.lm-aurora-page #conteudo { --ink:CanvasText; --muted:CanvasText; --accent:LinkText; --aurora-highlight:LinkText; --niche-neutral:CanvasText; color:CanvasText; background:Canvas; }
  body.lm-plus.lm-aurora-page #conteudo :is(.hero,.section,.card,.teacher-card,.cohort-card,.empty-cohorts,.offer-card,.contact-form,[role=tabpanel],.faq-list,.cohort-highlight,.metrics,.cohort-highlight-list a,.cohort-sessions>li,.countdown-unit,.notice,.pill,.card-number) { background:Canvas; color:CanvasText; }
  body.lm-plus.lm-aurora-page #conteudo :is(.button,.tablist button,.cohort-filter button) { background:ButtonFace; color:ButtonText; border-color:ButtonText; }
}

body.lm-plus.lm-aurora-page #conteudo .check-list li::before,body.lm-plus.lm-aurora-page #conteudo .faq-list summary::after,body.lm-plus.lm-aurora-page #conteudo .purchase-details>summary::after { color:var(--aurora-highlight); }

/* Site chrome remains legible in either palette. The original header logo
   retains its approved light surface; all reading surfaces follow appearance. */
body.lm-aurora-page { color-scheme:dark; }
html[data-appearance="light"] body.lm-aurora-page { color-scheme:light; }
@media (prefers-color-scheme:light) { html:not([data-appearance="dark"]) body.lm-aurora-page { color-scheme:light; } }
body.lm-aurora-page :is(.site-header,.header-reveal,.mobile-action,.consent-banner) { color-scheme:light; --ink:#211e28; --muted:#55515f; color:var(--ink); }
body.lm-aurora-page .appearance-control { display:flex; align-items:center; margin-left:auto; flex:none; }
body.lm-aurora-page .appearance-control select { width:94px; min-height:44px; padding:8px 6px; border:1px solid #837b90; border-radius:10px; background:#fff; color:#211e28; font:500 13px 'DM Sans',sans-serif; cursor:pointer; }
body.lm-aurora-page .appearance-control select:focus-visible { outline:3px solid var(--niche-action); outline-offset:3px; }
body.lm-aurora-page .appearance-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body.lm-aurora-page .site-footer { color:var(--aurora-ink); }
body.lm-aurora-page .site-footer :is(p,.footer-bottom) { color:var(--aurora-muted); }
body.lm-aurora-page .site-footer :is(a,.footer-title) { color:var(--aurora-ink); }
body.lm-aurora-page .footer-bottom { border-color:var(--aurora-line); }
body.lm-aurora-page .site-footer :focus-visible { outline-color:var(--aurora-highlight); }
body.lm-plus.lm-aurora-page #conteudo .metrics { border:1px solid var(--aurora-line); border-radius:20px; padding:24px; }
body.lm-plus.lm-aurora-page #conteudo .lesson-toggle:focus-visible { outline-color:var(--aurora-highlight); }
@media(min-width:821px) and (max-width:1200px) {
  body.lm-aurora-page .header-inner { gap:12px; }
  body.lm-aurora-page .site-nav { gap:12px; }
  body.lm-aurora-page .site-nav>a { font-size:13px; }
  body.lm-aurora-page .site-nav .button { padding-inline:12px; }
  body.lm-aurora-page .brand img { width:144px; }
  body.lm-aurora-page .header-niche { display:none; }
}
@media(max-width:820px) {
  body.lm-aurora-page .appearance-control { order:1; }
  body.lm-aurora-page .menu-toggle { order:2; margin-left:0; }
  body.lm-aurora-page .header-niche { display:none; }
}
@media(max-width:380px) {
  body.lm-aurora-page .header-inner { gap:8px; }
  body.lm-aurora-page .brand img { width:128px; }
  body.lm-aurora-page .appearance-control select { width:84px; }
}
@media print,(forced-colors:active) {
  body.lm-aurora-page { --aurora-ink:CanvasText; --aurora-muted:CanvasText; --aurora-highlight:LinkText; }
  body.lm-aurora-page .site-footer { background:Canvas; }
}

/* Switch foreground and surface together; avoid a low-contrast color crossfade. */
body.lm-plus.lm-aurora-page .button { transition:transform .18s ease,box-shadow .18s ease; }
body.lm-plus.lm-aurora-page #conteudo :is(.cohort-highlight-list a,.cohort-highlight-empty) { transition:none; }

html:not([data-appearance]) body.lm-aurora-page .appearance-control { display:none; }
