/* 3D Medical Universe — product skin v1 (2026-11-16)
 * The "atlas celeste" identity over the product pages (teste, painel, assinar). Each page keeps its own layout CSS
 * and behaviour; <html data-theme="dark"> turns on the page's own dark rules and the tokens below recolour them in
 * the navy palette of the home. Loaded after the page CSS. Fonts: the same files as fonts.css, with full weights.
 * Colour = meaning, as on the home: green ponto forte, orange equívoco/armadilha, slate lacuna, blue the engine. */
@font-face { font-family: "MU Display"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/a972324267.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MU Display"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/a4fe79f7ca.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "MU Text"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/cc63ecbb63.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MU Text"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/4f13e8a433.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "MU Mono"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/4c3ac72870.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MU Mono"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/41c65a0c3d.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --f-display: "MU Display", "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --f-body: "MU Text", "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "MU Mono", "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
:root[data-theme="dark"] {
  --sky: #060b18; --sky-2: #0b1530; --star: #f4f7fd; --haze: #b0bcd2; --haze-2: #8693ad;
  --dust: rgba(170, 186, 214, 0.15); --dust-2: rgba(170, 186, 214, 0.32);
  --solid: #3ddc97; --trap: #ff8a4c; --engine: #6cb1ff;
  --bg: #060b18; --surface: #0b1530; --panel-solid: #0b1530;
  --ink: #f4f7fd; --ink-2: #b0bcd2; --ink-3: #8693ad;
  --line: rgba(170, 186, 214, 0.15); --line-2: rgba(170, 186, 214, 0.32); --wash: rgba(170, 186, 214, 0.08);
  --accent: #6cb1ff; --on-ink: #060b18; --ok: #3ddc97; --bad: #ff6f61; --warn: #f0b44a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 18px 50px rgba(0, 0, 0, 0.45);
  --cai-ink: #ffffff;
  color-scheme: dark;
}
html { background: var(--bg); }
body { background: radial-gradient(90% 55% at 85% -8%, rgba(30, 58, 120, 0.3), transparent 62%) no-repeat, var(--bg); }
::selection { background: rgba(108, 177, 255, 0.35); color: var(--ink); }
:focus-visible { outline-color: var(--engine); }

/* ---------------------------------------------------------------- header (same lockup as the home) */
.top { background: rgba(6, 11, 24, 0.84); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.top .wrap { min-height: 60px; }
.mark { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; gap: 10px; color: var(--ink); font-variation-settings: "opsz" 18; white-space: nowrap; }
.mark svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 380px) { .mark .wm { font-size: 0.95rem; } }
@media (max-width: 340px) { .mark .wm { display: none; } }

/* ---------------------------------------------------------------- footer */
body > footer { border-top: 1px solid var(--line); background: rgba(6, 11, 24, 0.6); color: var(--ink-3); }
body > footer a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
body > footer a:hover { color: var(--ink); text-decoration-color: currentColor; }
.foot-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; }

/* ---------------------------------------------------------------- colours that the pages hard-coded for the old palette */
.btn.pri { color: #061024; }
.fbtabs button[aria-selected="true"] .c { color: #061024; }
.top .mu-acc .mu-av { color: #061024; }
.warn { background: rgba(255, 138, 76, 0.12); color: #ffd2b8; border-color: rgba(255, 138, 76, 0.45); }
.trap { border-left-color: var(--trap); }
[dir=rtl] .trap { border-right-color: var(--trap); }
.gap { border-left-color: var(--haze-2); }
[dir=rtl] .gap { border-right-color: var(--haze-2); }
.btn.enter { background: var(--star); color: #07122b; border-color: transparent; }
.btn.enter:hover { background: #ffffff; }

/* ---------------------------------------------------------------- cookie notice (js/mu-ads.js), above its own dark rules */
:root[data-theme] body .mu-ck { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-width: 560px; padding: 14px 16px; border-radius: 18px; background: rgba(11, 21, 48, 0.97); color: var(--haze); border: 1px solid var(--dust-2); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); font: 0.86rem/1.5 var(--f-body); }
:root[data-theme] body .mu-ck a { color: var(--star); }
:root[data-theme] body .mu-ck button { font: 650 0.9rem/1 var(--f-body); padding: 11px 16px; min-height: 42px; border-radius: 999px; border: 1px solid var(--dust-2); background: transparent; color: var(--star); }
:root[data-theme] body .mu-ck button.ok { background: var(--star); color: #07122b; border-color: transparent; }

/* ---------------------------------------------------------------- free-test entry screen (teste, body.t-intro) */
body.t-intro #view > .eyebrow { margin: 46px 0 14px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--engine); }
body.t-intro #view > h1 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 340; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.032em; font-variation-settings: "opsz" 96; text-wrap: balance; }
:lang(zh) body.t-intro #view > h1 { font-weight: 600; letter-spacing: 0; line-height: 1.18; }
:is(:lang(ar), :lang(he)) body.t-intro #view > h1 { font-weight: 600; letter-spacing: 0; line-height: 1.22; }
body.t-intro #view > .lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
body.t-intro .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 650; }
body.t-intro .btn.pri { background: var(--star); color: #07122b; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 34px rgba(108, 177, 255, 0.28), 0 0 70px rgba(108, 177, 255, 0.12); }
body.t-intro .btn.sec { background: rgba(6, 11, 24, 0.35); color: var(--ink); border-color: var(--line-2); }
body.t-intro .box { border-radius: 22px; background: linear-gradient(180deg, rgba(17, 30, 62, 0.7), rgba(11, 21, 48, 0.7)); border-color: var(--line); box-shadow: none; padding: 20px 22px; }
body.t-intro .box h3 { font-weight: 600; font-size: 1.12rem; }
body.t-intro .bp div { background: rgba(170, 186, 214, 0.06); border: 1px solid var(--line); border-radius: 14px; }
body.t-intro .bp b { font-family: var(--f-mono); font-weight: 500; }
body.t-intro .inapp { border-radius: 16px; border: 1px solid var(--line); background: rgba(170, 186, 214, 0.06); }
body.t-intro .stick { background: rgba(6, 11, 24, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.t-intro .stick .btn { display: flex; width: 100%; }

/* ---------------------------------------------------------------- subscription page (assinar, body.pg-assinar) */
.pg-assinar .eyebrow { font-size: 0.875rem; letter-spacing: 0; text-transform: none; color: var(--engine); }
.pg-assinar h1 { font-weight: 340; font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); line-height: 1.0; letter-spacing: -0.032em; }
.pg-assinar h2 { font-weight: 420; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); line-height: 1.08; letter-spacing: -0.022em; font-variation-settings: "opsz" 96; }
:lang(zh) .pg-assinar :is(h1, h2) { font-weight: 600; letter-spacing: 0; line-height: 1.2; }
:is(:lang(ar), :lang(he)) .pg-assinar :is(h1, h2) { font-weight: 600; letter-spacing: 0; line-height: 1.24; }
.pg-assinar .lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-2); }
.pg-assinar section { border-top-color: var(--line); padding-block: 56px; }
.pg-assinar .btn { justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; }
.pg-assinar .btn.primary { background: var(--star); color: #07122b; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 30px rgba(108, 177, 255, 0.25); }
.pg-assinar .btn.primary:hover { box-shadow: 0 0 0 1px #fff, 0 12px 40px rgba(108, 177, 255, 0.4); }
.pg-assinar .btn.ghost { background: rgba(6, 11, 24, 0.35); color: var(--ink); border-color: var(--line-2); }
.pg-assinar :is(.card, .plan, .ptbox, .out, .tier, .chain li, .faq details) { border-radius: 22px; background: linear-gradient(180deg, rgba(17, 30, 62, 0.62), rgba(11, 21, 48, 0.62)); border-color: var(--line); }
.pg-assinar .plan.best { border-color: rgba(244, 247, 253, 0.6); box-shadow: 0 0 0 1px rgba(244, 247, 253, 0.2), 0 20px 60px rgba(108, 177, 255, 0.14); }
.pg-assinar .plan .badge { background: var(--star); color: var(--sky); }
.pg-assinar .plan .amount { font-weight: 400; letter-spacing: -0.02em; }
.pg-assinar .ptbox { border-color: rgba(108, 177, 255, 0.5); }
.pg-assinar .seg { border-radius: 999px; padding: 3px; }
.pg-assinar .seg button { border-radius: 999px; }
.pg-assinar .seg button[aria-pressed="true"] { background: var(--star); color: var(--sky); }
.pg-assinar .bar .fill { background: var(--haze-2); }
.pg-assinar .bar.self .fill { background: var(--engine); }
.pg-assinar .launch { border-radius: 16px; background: rgba(108, 177, 255, 0.08); border: 1px solid rgba(108, 177, 255, 0.25); }
.pg-assinar .subbanner { border-color: var(--line-2); border-radius: 16px; }
.pg-assinar .figure, .pg-assinar .player { border-radius: 22px; }

@media (prefers-reduced-motion: reduce) { body.t-intro .btn, .pg-assinar .btn { transition: none; } }
