/* Sindicatto V2: recursos locais, alto contraste e controles sem dependências. */
:root {
  --paper: #fff; --ink: #111; --soft: #f4f4f4; --muted: #5b5b5b;
  --rule: #c8c8c8; --display: Arial, Helvetica, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1280px; --shadow: 10px; --header-height: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { min-height: 100vh; min-height: 100svh; margin: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--mono); -webkit-font-smoothing: antialiased; }
body > main { flex: 1 0 auto; }
body { padding-bottom: 58px; }
body, button, input, textarea, select { font-synthesis: none; }
button, input, textarea, select { font: inherit; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a, button { touch-action: manipulation; }
input, textarea, select { min-width: 0; }
::selection { color: #fff; background: #111; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; }
.wrap { width: calc(100% - 96px); max-width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; background: #fff; color: #111; padding: 12px 18px; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.site-header { background: #111; color: #fff; position: sticky; top: 0; z-index: 60; }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.wordmark { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; white-space: nowrap; }
.wordmark span { display: inline-block; font-family: var(--mono); font-size: .85em; margin-left: 2px; }
.main-nav { display: flex; align-items: center; gap: 36px; margin-left: 24px; }
.main-nav a { font-size: 13px; padding: 12px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; bottom: 5px; left: 0; width: 0; height: 1px; background: currentColor; transition: width .16s; }
.main-nav a:hover::after { width: 100%; }
.header-phone { font-size: 14px; margin-left: auto; white-space: nowrap; }
.header-phone span { display: block; color: #c0c0c0; font-size: 11px; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; }
.header-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-login { width: 138px; flex: 0 0 138px; font-size: 13px; border: 1px solid #fff; padding: 10px 12px; min-height: 44px; display: flex; align-items: center; justify-content: center; white-space: nowrap; transition: background .15s, color .15s; }
.header-login:hover { background: #fff; color: #111; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid #777; padding: 9px 12px; min-height: 44px; font-size: 13px; }
.menu-toggle span { margin-left: 10px; }
.hero { min-height: 540px; display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 48px; align-items: center; padding-block: 72px; }
.hero h1 { font-size: clamp(64px,7.7vw,110px); letter-spacing: -.065em; font-weight: 800; line-height: .99; }
.period { color: #707070; }
.hero-description { margin-top: 30px; font-size: clamp(13px,1.18vw,16px); line-height: 1.65; color: #454545; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; border: 1px solid var(--ink); font: 600 14px/1.35 var(--mono); padding: 14px 21px; min-height: 48px; box-shadow: 3px 3px 0 #a4a4a4; transition: transform .13s, box-shadow .13s, background .13s; }
.button-dark { background: #111; color: #fff; }
.button:hover:not(:disabled) { transform: translate(1px,1px); box-shadow: 2px 2px 0 #a4a4a4; }
.button-dark:hover:not(:disabled) { background: #262626; }
.button:active:not(:disabled) { transform: translate(3px,3px); box-shadow: 0 0 0 #a4a4a4; }
.button-full { width: 100%; }
.text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
/* A sombra é uma trama quadrada de 4px, não uma sombra desfocada. */
.retro-window { position: relative; z-index: 1; border: 1px solid #111; background: #fff; min-width: 0; margin-right: var(--shadow); align-self: center; transform: translate(var(--window-x,0px),var(--window-y,0px)); }
.retro-window::after { content: ""; position: absolute; inset: var(--shadow) calc(-1 * var(--shadow)) calc(-1 * var(--shadow)) var(--shadow); pointer-events: none; background-image: repeating-conic-gradient(#111 0% 25%, transparent 0% 50%); background-size: 4px 4px; clip-path: polygon(100% 0,100% 100%,0 100%,0 calc(100% - var(--shadow)),calc(100% - var(--shadow)) calc(100% - var(--shadow)),calc(100% - var(--shadow)) 0); }
.retro-window.is-front { z-index: 3; }
.retro-window.is-dragging { z-index: 4; will-change: transform; }
.window-bar { background: #111; color: #fff; display: flex; align-items: stretch; min-height: 46px; }
.window-bar h1, .window-bar h2 { flex: 1; min-width: 0; font: 500 13px/1.4 var(--mono); }
.window-handle { width: 100%; min-height: 46px; color: inherit; background: none; border: 0; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; font: inherit; cursor: grab; user-select: none; touch-action: none; }
.is-dragging .window-handle { cursor: grabbing; }
.window-handle:focus-visible, .window-reset:focus-visible { outline: 1px dashed #fff; outline-offset: -5px; }
.window-grip { color: #b8b8b8; font-size: 12px; }
.window-reset { background: none; border: 0; border-left: 1px solid #555; color: #ddd; padding: 0 10px; min-width: 44px; font: 12px var(--mono); }
.window-reset:hover { background: #fff; color: #111; }
.console-body { padding: 25px 22px 23px; }
.mono-label { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.console-number { display: block; font: 700 30px/1.3 var(--display); letter-spacing: -1px; margin-top: 4px; white-space: nowrap; }
.console-number:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.console-body .button { margin-top: 23px; }
.console-email { display: block; font-size: 13px; margin-top: 20px; text-align: center; overflow-wrap: anywhere; }
.console-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.console-access { border-top: 1px solid #111; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; font-size: 13px; background: var(--soft); }
.console-access:hover { background: #e7e7e7; }
.key-label { font-size: 11px; padding: 1px 6px; border: 1px solid #777; line-height: 1.5; background: #fff; }
.institutional { border-top: 1px solid #111; border-bottom: 1px solid #111; padding-block: 42px; display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.section-heading h2 { font-size: 30px; letter-spacing: -1px; font-weight: 700; }
.institutional-content>p { font: 24px/1.45 var(--display); letter-spacing: -.35px; max-width: 780px; }
.institutional-content { min-width: 0; }
.audiences-carousel { max-width: 780px; overflow: hidden; margin-top: 23px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.audiences-track { display: flex; width: max-content; }
.audiences-track.is-running { animation: audiences-pass 46s linear infinite; }
.audiences { display: flex; gap: 10px; flex-shrink: 0; padding: 0 10px 0 0; margin: 0; list-style: none; }
.audiences li { white-space: nowrap; }
.audiences-carousel:hover .audiences-track, .audiences-carousel:focus-within .audiences-track { animation-play-state: paused; }
@keyframes audiences-pass { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .audiences-carousel { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .audiences-track.is-running { animation: none; }
  .audiences[aria-hidden="true"] { display: none; }
}
.audiences li { border: 1px solid #c5c5c5; padding: 5px 11px; font-size: 13px; line-height: 1.5; }
.modules-section { padding-block: 52px; }
.section-heading-wide { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.module-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #111; border-left: 1px solid #111; }
.module-item { border-right: 1px solid #111; border-bottom: 1px solid #111; padding: 24px 26px; min-width: 0; display: flex; align-items: center; gap: 22px; }
.module-item h3 { font-size: 21px; letter-spacing: -.5px; font-weight: 700; }
.module-item p { font-size: 13px; color: #565656; margin-top: 8px; line-height: 1.5; }
.ascii-icon { margin: 0; flex: 0 0 55px; font: 12px/1.1 var(--mono); letter-spacing: 0; user-select: none; }
.pricing-section { border-top: 1px solid #111; }
.pricing-layout, .contact-layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: 80px; padding-block: 72px; align-items: center; }
.section-kicker { display: block; margin-bottom: 20px; }
.pricing-copy h2 { font-size: clamp(28px,2.55vw,36px); letter-spacing: -.035em; line-height: 1.16; }
.price-emphasis { position: relative; display: inline-block; padding-bottom: 9px; }
.price-emphasis::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: 0; background: #111; transform: scaleX(.12); transform-origin: left; transition: transform .65s ease-out; }
.pricing-section.is-visible .price-emphasis::after { transform: scaleX(1); }
.pricing-copy>p { font-size: 14px; color: var(--muted); max-width: 390px; margin-top: 23px; }
.ascii-art { font: clamp(9px,1.08vw,13px)/1.55 var(--mono); margin: 38px 0 0; color: #444; user-select: none; }
.pricing-copy .pricing-caption { font-size: 12px; line-height: 1.8; margin-top: 25px; }
.contact-section { background: var(--soft); border-top: 1px solid #111; border-bottom: 1px solid #111; }
.contact-copy h2 { font-size: 64px; line-height: 1.02; letter-spacing: -3.4px; font-weight: 800; }
.contact-copy>p { font-size: 14px; margin-top: 23px; color: var(--muted); }
.contact-details { margin: 30px 0 0; }
.contact-details>div+div { margin-top: 22px; }
.contact-details dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; color: var(--muted); }
.contact-details dd { margin: 0; }
.contact-details dd>a { font-size: 17px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.ascii-contact { margin: 30px 0 0; font: 11px/1.1 var(--mono); color: #777; user-select: none; }
.window-form { padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin-bottom: 22px; min-width: 0; }
.field label { font-size: 12px; line-height: 1.4; display: block; font-weight: 700; margin-bottom: 5px; min-height: 17px; }
/* A label permanece no nome acessível; só sua pintura desaparece. O espaço é
   reservado para não deslocar o formulário enquanto a pessoa digita. */
.js-ready .field > label { opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.js-ready .field.has-value > label { opacity: 1; transform: none; }
@supports selector(:has(input)) {
  .js-ready .field:has(input:not(:placeholder-shown)) > label,
  .js-ready .field:has(textarea:not(:placeholder-shown)) > label,
  .js-ready .field:has(select option:checked:not([value=""])) > label { opacity: 1; transform: none; }
}
.field:has(select option:checked[value=""]) select { color: #747474; }
.optional { font-weight: 400; font-size: 11px; color: var(--muted); }
/* Sem contorno de caixa, inclusive no foco e no estado inválido. */
.field input, .field textarea, .field select { display: block; width: 100%; border: 0; border-bottom: 1px solid #858585; background: transparent; color: #111; padding: 9px 0 10px; font: 16px/1.5 var(--mono); box-shadow: none; border-radius: 0; outline: none; }
.field input, .field textarea { appearance: none; }
.field select { padding-right: 22px; font-size: 14px; min-height: 44px; }
.field select option { background: #fff; color: #111; }
.field textarea { resize: vertical; min-height: 94px; max-height: 320px; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: #111; box-shadow: 0 1px 0 #111; }
.field [aria-invalid="true"] { border-bottom-style: dashed; border-bottom-color: #111; box-shadow: 0 1px 0 #111; }
::placeholder { color: #747474; opacity: 1; font-size: 13px; }
.field-error { font-size: 12px; line-height: 1.5; display: block; font-weight: 600; }
.field-error:not(:empty) { padding-top: 7px; }
.form-note { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.form-result { padding: 14px 0 0; border-top: 1px dotted #777; margin-top: 20px; font-size: 12px; }
.form-result .text-link { display: inline-block; margin-top: 8px; font-size: 12px; }
.site-footer.wrap { width: 100%; max-width: none; margin: 0; padding: 24px 48px; background: #111; color: #fff; }
.site-footer.wrap>span { color: #b8b8b8; }
.site-footer>.text-link { color: #eee; }
.dream-mode-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #493b61; padding: 6px 10px; color: #eee8ff; font: 11px/1.35 var(--mono); white-space: nowrap; transition: border-color .16s, background .16s, box-shadow .16s; }
.dream-mode-link svg { display: block; width: 25px; height: 25px; filter: drop-shadow(0 0 5px rgb(141 102 239 / .42)); }
.dream-mode-link:hover { border-color: #9b7bda; background: rgb(132 103 195 / .12); box-shadow: 0 0 14px rgb(118 86 180 / .14), 1px 2px 18px rgb(76 215 225 / .04); }
.dream-mode-link:focus-visible { outline-color: #a98bff; }
.site-footer { position: relative; min-height: 100px; display: flex; align-items: center; gap: 28px; justify-content: space-between; padding-block: 24px; }
.site-footer::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 58px; background: #111; pointer-events: none; }
.footer-wordmark { font-size: 25px; }
.site-footer>span { font-size: 11px; color: var(--muted); }
.site-footer>.text-link { font-size: 12px; }
.access-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.access-main { flex: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,430px); gap: 72px; align-items: center; padding-block: 56px; min-height: 620px; }
.access-panel { width: min(100% - var(--shadow),430px); margin-inline: 0 var(--shadow); }
.access-form { padding: 30px; }
.password-control { position: relative; }
.password-control input { padding-right: 82px; }
.password-toggle { position: absolute; right: 0; top: 0; bottom: 2px; border: 0; background: transparent; color: #555; padding: 0 0 0 12px; font-size: 11px; min-width: 72px; }
.password-toggle:hover { color: #111; text-decoration: underline; }
.login-error { margin-bottom: 20px; font-size: 12px; line-height: 1.6; border-bottom: 1px dotted #777; padding-block: 5px 12px; }
.recovery-link { display: block; border: 0; padding: 9px 0; min-height: 40px; background: transparent; color: #555; margin: 15px auto 0; font-size: 12px; }
.recovery-title { font-size: 22px; letter-spacing: -.5px; margin-bottom: 12px; }
.recovery-copy { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.recovery-support { display: block; text-align: center; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; margin-top: 10px; }
.access-note { padding: 16px 24px; font-size: 12px; border-top: 1px solid #111; }
.not-found { padding-block: 100px; }
.not-found h1 { font-size: clamp(36px,7vw,70px); letter-spacing: -.04em; margin-top: 20px; }
.not-found p { margin-block: 24px 30px; }

/* Parâmetro interno VIOLET_MODE em site.js alterna estes acentos. */
html.violet-mode {
  --ink: #171322; --soft: #faf8ff; --muted: #5e5868; --rule: #dcd6e7;
}
html.violet-mode ::selection { background: #7656a8; color: #fff; }
html.violet-mode :focus-visible { outline-color: #8d6be0; }
html.violet-mode .site-header { background: #171322; box-shadow: 0 5px 24px rgb(117 82 185 / .13), 0 1px 0 rgb(88 137 255 / .18); }
html.violet-mode .main-nav a::after { background: linear-gradient(90deg, #76dce8, #859eff, #ba8cff); }
html.violet-mode .header-login:hover { background: #eee8ff; color: #171322; }
html.violet-mode .button { box-shadow: 3px 3px 0 rgb(123 108 162 / .28), 0 4px 17px rgb(131 91 218 / .11), 1px 7px 20px rgb(85 218 229 / .045); }
html.violet-mode .button:hover:not(:disabled) { box-shadow: 2px 2px 0 rgb(123 108 162 / .28), 0 5px 20px rgb(84 135 250 / .15), 1px 6px 18px rgb(85 218 229 / .07); }
html.violet-mode .button:active:not(:disabled) { box-shadow: 0 0 0 rgb(123 108 162 / .28), 0 2px 12px rgb(173 110 248 / .13); }
html.violet-mode .retro-window { box-shadow: 0 9px 28px rgb(112 80 176 / .08), 8px 12px 26px rgb(77 128 231 / .055), 0 0 22px rgb(76 215 225 / .035); }
html.violet-mode .retro-window::after { background-image: repeating-conic-gradient(rgb(132 102 187 / .43) 0% 25%, transparent 0% 50%); }
html.violet-mode .period, html.violet-mode .module-kicker { color: #76579f; }
html.violet-mode .price-emphasis::after { background: linear-gradient(90deg, #849cff, #bb88f4); }
html.violet-mode .module-link:hover, html.violet-mode .module-all a:hover { color: #67449b; }
html.violet-mode .module-feature:hover { box-shadow: inset 0 0 24px rgb(160 122 225 / .08); }
html.violet-mode .module-flow { background: #faf8ff; }
html.violet-mode .module-feature-grid { box-shadow: 0 8px 24px rgb(118 86 180 / .085), 5px 11px 21px rgb(79 124 220 / .05), 0 0 18px rgb(76 215 225 / .03); }
html.violet-mode .module-cta { box-shadow: inset 0 0 28px rgb(125 96 189 / .06); }
html.violet-mode .dock-preview { border-color: #8c77c2; background: rgb(145 119 206 / .08); }
html.violet-mode .dock-preview span { background: #34264c; }
html.violet-mode .window-reset:hover { background: #eee8ff; color: #171322; }
html.violet-mode .key-label { border-color: #9d8aba; }
html.violet-mode .module-faq summary:focus-visible { outline-color: #8d6be0; }

/* Encaixe: a largura da janela é preservada, e a coluna de texto troca de lado. */
@media (min-width: 761px) {
  .dock-layout > [data-dock-copy] { grid-column: 1; grid-row: 1; min-width: 0; }
  .dock-layout > [data-window] { grid-column: 2; grid-row: 1; }
  .dock-layout.is-swapped > [data-dock-copy] { grid-column: 2; }
  .dock-layout.is-swapped > [data-window] { grid-column: 1; }
  .pricing-layout.is-swapped, .contact-layout.is-swapped { grid-template-columns: 1.12fr 1fr; }
  .hero.is-swapped { grid-template-columns: 350px minmax(0,1fr); }
  .access-main.is-swapped { grid-template-columns: minmax(0,430px) minmax(0,1fr); }
}
html.is-window-dragging { scroll-behavior: auto !important; overflow-anchor: none; }
html.is-window-dragging * { user-select: none !important; }
.dock-preview { position: fixed; pointer-events: none; z-index: 0; border: 1px dashed #565656; background: rgb(17 17 17 / .04); }
.dock-preview span { position: absolute; left: 8px; top: -24px; font: 10px/1.6 var(--mono); letter-spacing: .06em; background: #111; color: #fff; padding: 2px 7px; }
/* Trama Clipper entre as seções, sem qualquer recurso de imagem. */
.hero, .institutional, .modules-section, .pricing-section { position: relative; }
.hero::after, .institutional::after, .modules-section::after, .pricing-section::after {
  content: ""; position: absolute; bottom: -7px; height: 7px; left: 0; right: 0; pointer-events: none;
  background-image: repeating-conic-gradient(#111 0% 25%,transparent 0% 50%); background-size: 4px 4px; opacity: .2;
}
.blueprint { margin: 28px 0 24px; padding: 14px 8px 10px; background-image: radial-gradient(#ccc .6px, transparent .6px); background-size: 12px 12px; }
.blueprint .ascii-art { margin: 0; font: clamp(8px,.85vw,11px)/1.25 var(--mono); color: #444; white-space: pre; text-align: center; }
.blueprint figcaption { border-top: 1px dotted #aaa; margin-top: 16px; padding-top: 8px; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .08em; color: #707070; }
.investment-tools { display: flex; gap: 16px; flex-wrap: wrap; }
.tool-button { border: 1px solid #b5b5b5; background: #fff; color: #111; display: flex; align-items: center; gap: 14px; padding: 10px 16px; min-height: 64px; font: 12px/1.3 var(--mono); }
.tool-ascii { white-space: pre; font: 10px/1.05 var(--mono); letter-spacing: 0; display: block; }
.pressable { box-shadow: 3px 3px 0 #c2c2c2; transition: transform .13s, box-shadow .13s, background .13s; }
.pressable:hover:not(:disabled) { transform: translate(1px,1px); box-shadow: 2px 2px 0 #c2c2c2; }
.pressable:active:not(:disabled) { transform: translate(3px,3px); box-shadow: 0 0 0 #c2c2c2; }
.legacy-scene { margin: 0; width: 100%; max-width: 570px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background-image: radial-gradient(#d3d3d3 .65px, transparent .65px); background-size: 14px 14px; }
.scene-caption { display: flex; justify-content: space-between; border-top: 1px solid #aaa; padding-top: 10px; font-size: 10px; letter-spacing: .07em; color: #666; }
.legacy-ascii { margin: 24px auto; font: clamp(6px,.9vw,12px)/1.35 var(--mono); letter-spacing: 0; color: #333; white-space: pre; user-select: none; }
.legacy-scene figcaption { font-size: 11px; color: #5b5b5b; padding-bottom: 10px; border-bottom: 1px solid #aaa; text-align: center; }
.floating-window { position: fixed; z-index: 90; margin: 0; }
.floating-window.is-front { z-index: 92; }
.floating-window.is-dragging { z-index: 94; }
.calculator { top: calc(var(--header-height) + 24px); right: 28px; width: 328px; }
.calculator-content { padding: 18px; max-height: calc(100dvh - var(--header-height) - 106px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.calculator-display { border-bottom: 1px solid #111; padding: 2px 0 14px; margin-bottom: 17px; text-align: right; }
.calculator-display span { display: block; font-size: 11px; line-height: 1.5; color: #686868; min-height: 17px; }
.calculator-display output { display: block; font: 28px/1.45 var(--mono); min-height: 41px; overflow-wrap: anywhere; }
.calculator-keys { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.calculator-key { border: 1px solid #999; background: #fff; color: #111; min-height: 44px; padding: 9px 0; font: 17px/1.35 var(--mono); }
.calculator-key.key-equals { background: #111; color: #fff; }
.calculator-price-action { margin-top: 20px; font-size: 12px; }
.calculator-error { font-size: 11px; border-bottom: 1px dashed #777; padding-bottom: 10px; margin-bottom: 12px; }
.calculator-value { border-top: 1px dotted #888; margin-top: 23px; padding-top: 17px; animation: value-reveal .3s ease-out both; }
.calculator-value blockquote { margin: 0; font: 700 23px/1.2 var(--display); letter-spacing: -.6px; }
.calculator-value p { margin-top: 13px; font-size: 12px; color: #555; }
.calculator-value .text-link { display: block; font-size: 11px; line-height: 1.7; margin-top: 16px; }
@keyframes value-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Aviso compacto: este site não instala cookies de publicidade ou análise. */
.privacy-terminal { left: 20px; bottom: 20px; width: min(326px,calc(100vw - 40px)); background: #10120e; color: #bdff55; border-color: #2b3221; }
.privacy-terminal .window-bar { background: #10120e; color: inherit; border-bottom: 1px dotted #4e6234; }
.privacy-terminal .window-handle { min-height: 36px; padding-block: 8px; font-size: 11px; }
.privacy-terminal .window-grip, .privacy-terminal .window-reset { color: #bdff55; }
.privacy-terminal .window-bar { min-height: 36px; }
.privacy-terminal .window-reset { border-left-color: #4e6234; }
.privacy-terminal .window-reset:hover { background: #bdff55; color: #10120e; }
.privacy-body { padding: 12px 15px; font-size: 11px; line-height: 1.6; max-height: calc(100dvh - var(--header-height) - 100px); overflow-y: auto; }
.privacy-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 7px; }
.privacy-actions button { min-height: 40px; font-size: 11px; }
.privacy-details-toggle { color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 5px 0; }
.privacy-accept { padding: 6px 22px; background: #bdff55; color: #10120e; border: 1px solid #bdff55; box-shadow: 2px 2px 0 #536a32; }
.privacy-details { border-top: 1px dotted #4e6234; padding-top: 10px; margin-top: 10px; font-size: 10px; }
.privacy-terminal.is-acknowledged { width: auto; max-width: calc(100vw - 40px); }
.privacy-terminal.is-acknowledged .window-bar, .privacy-terminal.is-acknowledged .privacy-body { display: none; }
.privacy-reopen { display: flex; align-items: center; gap: 8px; padding: 9px 13px; min-height: 40px; font: 11px/1.4 var(--mono); color: inherit; background: none; border: 0; }
.terminal-cursor { display: inline-block; width: 7px; height: 12px; background: currentColor; animation: terminal-blink 1.2s steps(1,end) infinite; }
@keyframes terminal-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@media (min-width: 1500px) { .hero { padding-block: 88px; min-height: 585px; } }
@media (max-width: 1240px) {
  .wrap { width: calc(100% - 64px); }
  .site-footer.wrap { padding-inline: 32px; }
  .header-inner { gap: 18px; }
  .main-nav { gap: 28px; margin-left: 8px; }
  .hero { grid-template-columns: minmax(0,1fr) 320px; gap: 32px; }
  .hero.is-swapped { grid-template-columns: 320px minmax(0,1fr); }
  .hero h1 { font-size: clamp(60px,8.2vw,95px); }
  .console-body { padding-inline: 18px; }
  .console-number { font-size: 27px; }
  .pricing-layout, .contact-layout { gap: 45px; }
  .window-form { padding: 24px; }
}
@media (max-width: 1200px) {
  .header-inner { flex-wrap: wrap; padding-block: 13px; min-height: 78px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-phone { margin-left: 0; font-size: 13px; }
  .main-nav { order: 5; width: 100%; margin: 0; justify-content: space-between; border-top: 1px solid #555; }
  .js-ready .main-nav { display: none; position: absolute; top: 100%; left: 0; background: #111; padding: 12px 32px; border-bottom: 1px solid #555; }
  .js-ready .main-nav.is-open { display: flex; }
  .hero-description { max-width: 440px; }
  .module-item { padding: 22px; gap: 16px; }
  .form-row { gap: 18px; }
}
@media (max-width: 900px) {
  .hero { min-height: 490px; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; padding-block: 56px; }
  .hero.is-swapped { grid-template-columns: 300px minmax(0,1fr); }
  .access-main { gap: 36px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .access-main.is-swapped { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero h1 { font-size: 69px; }
  .hero-actions { gap: 22px; }
  .hero-description { font-size: 14px; }
  .institutional { gap: 30px; grid-template-columns: 1fr 1.7fr; }
  .institutional-content>p { font-size: 22px; }
  .pricing-layout, .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 30px; padding-block: 55px; }
  .pricing-layout.is-swapped, .contact-layout.is-swapped { grid-template-columns: 1.2fr 1fr; }
  .pricing-copy h2 { font-size: 31px; }
  .contact-copy h2 { font-size: 54px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .module-item h3 { font-size: 19px; }
  .ascii-icon { font-size: 10px; flex-basis: 44px; }
  .site-footer { flex-wrap: wrap; gap: 22px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-footer.wrap { padding-inline: 20px; }
  .header-inner { gap: 14px; }
  .wordmark { font-size: 27px; }
  .header-login { width: 130px; flex-basis: 130px; }
  .hero, .hero.is-swapped { grid-template-columns: 1fr; gap: 38px; padding-block: 44px; min-height: 0; }
  .hero h1 { font-size: clamp(62px,12vw,90px); }
  .hero-description { max-width: none; margin-top: 24px; font-size: 14px; }
  .hero-actions { margin-top: 25px; }
  .contact-console { width: calc(100% - var(--shadow)); max-width: 470px; }
  .console-body { padding: 22px; }
  .console-number { font-size: 30px; }
  .institutional { grid-template-columns: 1fr; gap: 22px; padding-block: 32px; }
  .section-heading h2 { font-size: 29px; }
  .institutional-content>p { font-size: 22px; }
  .audiences { gap: 8px; padding-right: 8px; }
  .audiences-carousel { margin-top: 20px; }
  .audiences li { font-size: 12px; padding: 5px 8px; }
  .modules-section { padding-block: 35px; }
  .module-item { padding: 22px 18px; gap: 14px; }
  .module-item h3 { font-size: 19px; }
  .module-item p { font-size: 12px; }
  .section-heading-wide { margin-bottom: 23px; }
  .pricing-layout, .contact-layout, .pricing-layout.is-swapped, .contact-layout.is-swapped { grid-template-columns: 1fr; gap: 32px; padding-block: 42px; }
  .pricing-copy h2 { font-size: clamp(29px,5vw,36px); }
  .blueprint { max-width: 470px; }
  .blueprint .ascii-art { font-size: clamp(8px,1.7vw,11px); }
  .ascii-art { font-size: 11px; margin-block: 28px; }
  .pricing-copy .pricing-caption { margin-top: 0; }
  .contact-copy h2 { font-size: 52px; letter-spacing: -2.5px; }
  .contact-copy h2 br { display: none; }
  .contact-copy>p { margin-top: 16px; }
  .contact-details { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 27px; }
  .contact-details>div+div { margin-top: 0; }
  .contact-details dd>a { font-size: 16px; }
  .ascii-contact { display: none; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .site-footer { padding-block: 26px; gap: 20px; }
  .site-footer>span { order: 3; width: 100%; font-size: 11px; }
  .site-footer>.text-link { margin-left: auto; }
  .access-main, .access-main.is-swapped { min-height: 490px; padding-block: 38px; grid-template-columns: 1fr; gap: 38px; justify-items: center; }
  .access-panel { order: 1; }
  .legacy-scene { order: 2; max-width: 430px; padding: 15px; }
  .legacy-ascii { font-size: clamp(6px,1.45vw,10px); }
}
@media (max-width: 600px) {
  :root { --header-height: 108px; --shadow: 8px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; padding-block: 12px; }
  .wordmark { font-size: 27px; }
  .header-inner>.wordmark { grid-column: 1; grid-row: 1; }
  .header-phone { grid-column: 2; grid-row: 1; justify-self: end; font-size: 12px; }
  .header-phone span { font-size: 10px; }
  .menu-toggle { grid-column: 1; grid-row: 2; margin: 0; justify-self: start; padding: 7px 12px; min-height: 38px; font-size: 12px; }
  .header-login { grid-column: 2; grid-row: 2; justify-self: end; width: 130px; min-height: 38px; padding: 7px 12px; font-size: 12px; }
  .main-nav { grid-column: 1/-1; grid-row: 3; }
  .main-nav a { font-size: 12px; }
  .js-ready .main-nav { padding: 12px 20px; gap: 4px 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .js-ready .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 44px; }
  .hero h1 { font-size: clamp(52px,14vw,78px); }
  .hero-actions { gap: 22px; }
  .button { font-size: 13px; padding: 14px 16px; }
  .text-link { font-size: 13px; }
  .console-number { font-size: 29px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-item { padding: 20px; gap: 22px; }
  .module-item h3 { font-size: 20px; }
  .module-item p { font-size: 13px; }
  .ascii-icon { font-size: 11px; flex-basis: 49px; }
  .section-heading-wide { gap: 14px; }
  .section-heading-wide .text-link { text-align: right; }
  .contact-copy h2 { font-size: 45px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .window-form { padding: 23px 20px; }
  .window-handle { padding-left: 15px; font-size: 12px; }
  .field { margin-bottom: 20px; }
  .pricing-copy h2 { font-size: clamp(27px,7vw,36px); }
  .ascii-art { font-size: clamp(9px,2.45vw,11px); }
  .access-main { min-height: 490px; }
  .calculator { width: min(328px,calc(100vw - 40px)); right: 20px; top: calc(var(--header-height) + 12px); }
  .calculator-content { padding: 14px; max-height: calc(100dvh - var(--header-height) - 84px); }
  .calculator-keys { gap: 8px; }
  .privacy-terminal { left: 16px; bottom: 16px; }
  .investment-tools { gap: 12px; }
  .tool-button { padding: 10px 12px; gap: 10px; font-size: 11px; }
  .access-panel { width: calc(100% - var(--shadow)); max-width: 430px; }
}
/* Módulos: células fixas no grid, trocadas em pares. Verde do terminal de privacidade. */
.module-puzzle-bar { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin: -8px 0 18px; font-size: 11px; color: #565656; }
.module-puzzle-bar > p { max-width: 570px; }
.module-puzzle-score { display: flex; min-height: 32px; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.module-puzzle-score > span { white-space: nowrap; }
.module-puzzle-score output { font-weight: 700; color: #111; }
.module-reward-reopen { padding: 0; border: 0; background: none; font: inherit; color: #111; min-height: 32px; }
.module-grid.is-playable { grid-auto-rows: 1fr; }
.is-playable .module-item { position: relative; padding-right: 60px; cursor: grab; user-select: none; transition: background-color .18s, color .18s; }
.module-item > div { min-width: 0; }
.module-item h3 { overflow-wrap: break-word; }
.module-move { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid transparent; color: inherit; font: 11px/1 var(--mono); cursor: grab; touch-action: none; }
.module-move:hover { border-color: currentColor; }
.module-move:focus-visible { outline-offset: -4px; }
.module-item.is-correct { background: #10120e; color: #bdff55; border-color: #4e6234; }
.module-item.is-correct p { color: #bdff55; }
.module-item.is-selected { outline: 2px dashed currentColor; outline-offset: -6px; }
.module-item.is-drop-target { outline: 3px solid currentColor; outline-offset: -6px; }
.module-item.is-drag-source { opacity: .45; }
.module-drag-preview { position: fixed; z-index: 120; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); padding: 12px 16px; border: 1px solid #111; background: #fff; color: #111; font: 12px/1.4 var(--mono); box-shadow: 4px 4px 0 #888; }
html.is-module-dragging { scroll-behavior: auto !important; overflow-anchor: none; }
html.is-module-dragging * { cursor: grabbing !important; user-select: none !important; }
.module-win { position: fixed; inset: 0; width: min(460px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: visible; background: #10120e; color: #bdff55; border-color: #4e6234; }
.module-win::backdrop { background: rgb(0 0 0 / .62); }
.module-win .window-bar { background: #10120e; color: inherit; border-bottom: 1px dotted #4e6234; }
.module-win .window-bar h2 { padding: 14px 18px; }
.module-win .window-reset { color: inherit; border-left-color: #4e6234; }
.module-win .window-reset:hover { background: #bdff55; color: #10120e; }
.module-win-body { padding: 28px; max-height: calc(100dvh - 94px); overflow-y: auto; overscroll-behavior: contain; }
.module-win-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.module-win-prize { font: 800 clamp(64px,12vw,90px)/1.1 var(--display); letter-spacing: -.05em; margin: 10px 0 22px; }
.module-win-prize span { display: block; font: 16px/1.5 var(--mono); letter-spacing: 0; margin-top: 8px; }
#modules-win-description { font-size: 13px; }
.module-win-code { border-top: 1px dotted #4e6234; padding-top: 16px; margin: 20px 0; font-size: 12px; }
.module-win-action { background: #bdff55; color: #10120e; border-color: #bdff55; box-shadow: 3px 3px 0 #536a32; }
.module-win-action:hover { box-shadow: 2px 2px 0 #536a32; }
.module-win-action:active { box-shadow: none; }
@media (max-width: 760px) and (min-width: 601px) {
  .is-playable .module-item { padding: 50px 18px 22px; gap: 12px; }
  .is-playable .ascii-icon { flex-basis: 40px; font-size: 9px; }
}
@media (max-width: 380px) {
  .is-playable .module-item { padding: 22px 48px 22px 14px; gap: 12px; }
  .is-playable .ascii-icon { flex-basis: 38px; font-size: 9px; }
  .is-playable .module-item h3 { font-size: 18px; }
  .module-win-body { padding: 22px; }
}
/* Seletor claro/escuro; os acentos violetas continuam definidos pelo parâmetro interno. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #574b68; background: transparent; color: #eee8ff; padding: 9px 12px; min-height: 42px; font: 11px/1.35 var(--mono); white-space: nowrap; cursor: pointer; transition: background .16s, border-color .16s, box-shadow .16s; }
.theme-toggle:hover { background: rgb(151 119 205 / .12); border-color: #9b83c0; box-shadow: 0 0 14px rgb(136 104 196 / .12); }
.theme-toggle[aria-pressed="true"] { border-color: #77727e; }
.theme-toggle:focus-visible { outline-color: #ad91e7; }
@media (max-width: 600px) { .theme-toggle { grid-column: 1 / -1; justify-self: start; } }

/* Grafite profundo com reflexos metálicos pequenos e localizados. */
html.dark-mode {
  color-scheme: dark;
  --paper: #101114; --ink: #ececf1; --soft: #17181c; --muted: #b0b2bb; --rule: #373940;
}
html.dark-mode ::selection { color: #fff; background: #554678; }
html.dark-mode body {
  background-color: #0d0e11;
  background-image: radial-gradient(ellipse at 52% -14%, rgb(84 87 102 / .2), transparent 48%), linear-gradient(145deg, #0c0d10 0%, #141519 48%, #0b0c0e 100%);
  background-attachment: fixed;
}
html.dark-mode :focus-visible { outline-color: #c0a4f3; }
html.dark-mode .skip-link { background: #e9e9ef; color: #111216; }
html.dark-mode .site-header { background: linear-gradient(165deg, #222329 0%, #15161a 34%, #0c0d10 100%); border-bottom: 1px solid #35363d; box-shadow: 0 8px 26px rgb(0 0 0 / .45), inset 0 1px 0 rgb(255 255 255 / .11); }
html.dark-mode .header-phone span { color: #b9bbc4; }
html.dark-mode .header-login { border-color: #686a73; }
html.dark-mode .header-login:hover { background: linear-gradient(145deg, #f0f0f4, #c9cad1); color: #111216; }
html.dark-mode .menu-toggle { border-color: #686a73; }
html.dark-mode .js-ready .main-nav { background: linear-gradient(160deg, #1b1c20, #111216); }
html.dark-mode .theme-toggle { color: #f0eff5; border-color: #5b5d66; }
html.dark-mode .theme-toggle:hover { background: linear-gradient(120deg, rgb(255 255 255 / .07), rgb(135 108 192 / .13)); border-color: #a995d1; box-shadow: 0 0 18px rgb(123 100 183 / .14); }
html.dark-mode .hero-description, html.dark-mode .module-item p, html.dark-mode .module-feature p,
html.dark-mode .module-faq details p { color: #b9bbc4; }
html.dark-mode .period, html.dark-mode .module-kicker { color: #c0a7f0; }
html.dark-mode .button:not(.module-win-action) {
  color: #f0f0f4; border-color: #656770;
  background: linear-gradient(145deg, #34353b 0%, #202126 48%, #141519 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 8px 22px rgb(0 0 0 / .34), 3px 4px 0 #070709;
}
html.dark-mode .button:hover:not(:disabled):not(.module-win-action) { background: linear-gradient(145deg, #414249, #222329 58%, #17181c); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 8px 24px rgb(0 0 0 / .4), 2px 3px 0 #070709; }
html.dark-mode .button:active:not(:disabled):not(.module-win-action) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 3px 10px rgb(0 0 0 / .3); }
html.dark-mode .retro-window:not(.privacy-terminal):not(.module-win) { background: linear-gradient(150deg, #191a1f 0%, #121317 68%, #101115 100%); border-color: #555760; box-shadow: inset 0 1px 0 rgb(255 255 255 / .055), 0 14px 35px rgb(0 0 0 / .32), 0 0 20px rgb(111 102 143 / .07); }
html.dark-mode .retro-window:not(.privacy-terminal):not(.module-win)::after { background-image: repeating-conic-gradient(rgb(198 199 207 / .38) 0% 25%, transparent 0% 50%); }
html.dark-mode .retro-window:not(.privacy-terminal):not(.module-win) .window-bar { background: linear-gradient(180deg, #303137 0%, #202126 42%, #17181c 100%); color: #f0f0f4; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14); }
html.dark-mode .retro-window:not(.privacy-terminal):not(.module-win) .window-reset { border-left-color: #4a4c54; color: #d2d3db; }
html.dark-mode .retro-window:not(.privacy-terminal):not(.module-win) .window-reset:hover { background: #dedfe5; color: #141519; }
html.dark-mode .window-grip { color: #c0c1c9; }
html.dark-mode .console-access { background: #1b1c21; border-color: #42434b; }
html.dark-mode .console-access:hover { background: #25262c; }
html.dark-mode .key-label { background: #1b1c21; color: #d9dae0; border-color: #656770; }
html.dark-mode .audiences li { border-color: #494b54; }
html.dark-mode .institutional, html.dark-mode .module-hero, html.dark-mode .module-overview,
html.dark-mode .pricing-section, html.dark-mode .contact-section, html.dark-mode .module-cta,
html.dark-mode .module-feature-grid, html.dark-mode .module-grid { border-color: #383a42; }
html.dark-mode .module-item, html.dark-mode .module-feature { border-color: #383a42; }
html.dark-mode .module-feature:hover { background: rgb(255 255 255 / .018); box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 8px 24px rgb(0 0 0 / .14); }
html.dark-mode .module-flow { background: linear-gradient(120deg, #17181c, #111216 72%, #15161a); border-color: #3b3d45; }
html.dark-mode .module-steps, html.dark-mode .module-steps li, html.dark-mode .module-faq-list,
html.dark-mode .module-faq details { border-color: #41434b; }
html.dark-mode .module-flow-copy > p, html.dark-mode .module-steps span { color: #b0b2bb; }
html.dark-mode .module-puzzle-bar { color: #c0c2cb; }
html.dark-mode .module-puzzle-score output, html.dark-mode .module-reward-reopen { color: #efeff4; }
html.dark-mode .module-link:hover, html.dark-mode .module-all a:hover { color: #d4c1ff; }
html.dark-mode .module-item.is-correct { background: #10120e; color: #bdff55; border-color: #4e6234; }
html.dark-mode .module-item.is-correct p { color: #bdff55; }
html.dark-mode .field input, html.dark-mode .field textarea, html.dark-mode .field select { color: #ededf2; border-bottom-color: #696b73; }
html.dark-mode .field select option { background: #1a1b20; color: #ededf2; }
html.dark-mode .field input:focus, html.dark-mode .field textarea:focus, html.dark-mode .field select:focus { border-bottom-color: #c8b2f1; box-shadow: 0 1px 0 #c8b2f1; }
html.dark-mode .field [aria-invalid="true"] { border-bottom-color: #dfb4bd; box-shadow: 0 1px 0 #dfb4bd; }
html.dark-mode .field:has(select option:checked[value=""]) select, html.dark-mode ::placeholder { color: #a7a9b2; }
html.dark-mode .optional, html.dark-mode .form-note, html.dark-mode .calculator-display span,
html.dark-mode .contact-details dt, html.dark-mode .contact-copy > p { color: #aaacb5; }
html.dark-mode .password-toggle, html.dark-mode .recovery-link { color: #bfc1ca; }
html.dark-mode .password-toggle:hover, html.dark-mode .recovery-link:hover { color: #f3edff; }
html.dark-mode .price-emphasis::after { background: linear-gradient(90deg, #b8c1d7, #b39adb 68%, #9ec8d2); }
html.dark-mode .ascii-art, html.dark-mode .legacy-ascii { color: #b7b9c2; }
html.dark-mode .blueprint, html.dark-mode .legacy-scene { background-image: radial-gradient(rgb(219 220 228 / .19) .65px, transparent .65px); background-color: rgb(255 255 255 / .012); }
html.dark-mode .blueprint figcaption, html.dark-mode .scene-caption, html.dark-mode .legacy-scene figcaption { color: #aaacb5; border-color: #51535b; }
html.dark-mode .tool-button, html.dark-mode .calculator-key { background: linear-gradient(145deg, #24252a, #17181c 72%, #121317); border-color: #555760; color: #e7e8ed; box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 4px 12px rgb(0 0 0 / .23); }
html.dark-mode .calculator-key.key-equals { background: linear-gradient(145deg, #484950, #222329); color: #fff; }
html.dark-mode .calculator-display { border-color: #484a52; }
html.dark-mode .calculator-value p, html.dark-mode .ascii-contact { color: #b5b7c0; }
html.dark-mode .module-drag-preview { background: #1a1b20; color: #f0f0f4; border-color: #656770; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 4px 6px 20px rgb(0 0 0 / .4); }
html.dark-mode .dock-preview { border-color: #9683bf; background: rgb(174 153 219 / .1); }
html.dark-mode .dock-preview span { background: #28232f; color: #eee9fa; }
html.dark-mode .site-footer.wrap { background: linear-gradient(180deg, #101114, #060607); color: #f0f0f4; border-top: 1px solid #373940; box-shadow: inset 0 1px 0 rgb(255 255 255 / .055); }
html.dark-mode .site-footer::after { background: #060607; }
html.dark-mode .site-footer.wrap > span { color: #aeb0b8; }
html.dark-mode .site-footer > .text-link { color: #e7e7ed; }
html.dark-mode .hero::after, html.dark-mode .institutional::after, html.dark-mode .modules-section::after, html.dark-mode .pricing-section::after { background-image: repeating-conic-gradient(rgb(199 201 211 / .38) 0% 25%, transparent 0% 50%); opacity: .13; }

@media print {
  html.dark-mode { color-scheme: light; --paper: #fff; --ink: #111; --soft: #f4f4f4; --muted: #5b5b5b; --rule: #c8c8c8; }
  html.dark-mode body { background: #fff; }
  html.dark-mode .site-footer.wrap { background: #fff; color: #111; box-shadow: none; }
}

@media print {
  .module-move, .module-puzzle-bar, .module-drag-preview, .module-win { display: none !important; }
  .module-item.is-correct { background: #fff; color: #111; }
  .module-item.is-correct p { color: #565656; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .price-emphasis::after { transform: none; }
}
@media print {
  body { padding-bottom: 0; }
  .floating-window, .investment-tools, .dock-preview { display: none !important; }
  .hero::after, .institutional::after, .modules-section::after, .pricing-section::after { display: none; }
  .site-header, .hero-actions, .console-access, .window-reset, .window-grip, .contact-form-container, .quote-window, .site-footer>.text-link { display: none; }
  .wrap { width: 100%; max-width: none; }
  .retro-window { transform: none !important; }
  .retro-window::after { display: none; }
  .hero { min-height: 0; padding-block: 25px; }
  .hero h1 { font-size: 54px; }
  .pricing-layout, .contact-layout { grid-template-columns: 1fr; padding-block: 25px; }
  .module-item { break-inside: avoid; }
  .contact-section { background: #fff; }
}

/* Obturador: uma lâmina metálica atravessa uma janela de luz. */
.theme-toggle { gap: 9px; padding: 6px 10px 6px 6px; border-radius: 3px; }
.theme-toggle-label { min-width: 40px; text-align: left; }
.theme-aperture { position: relative; display: block; width: 38px; height: 26px; overflow: hidden; border: 1px solid #777481; border-radius: 2px; background: linear-gradient(135deg, #eef3ff, #c9c3df 55%, #89a2bb); box-shadow: inset 0 0 8px #fff8; }
.theme-shutter { position: absolute; inset: -9px -12px -9px 18px; background: linear-gradient(110deg, #17191e 15%, #3c3e49 48%, #111217 75%); transform: skewX(-22deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); border-left: 1px solid #fff9; box-shadow: -2px 0 7px #8ba9ef55; }
.theme-glint { position: absolute; left: 7px; top: 5px; width: 1px; height: 14px; background: #fff; box-shadow: 0 0 5px #fff; transform: rotate(25deg); opacity: .85; transition: transform .45s, opacity .45s; }
.theme-toggle[aria-pressed="true"] .theme-shutter { transform: translateX(-24px) skewX(-22deg); }
.theme-toggle[aria-pressed="true"] .theme-glint { transform: translateX(23px) rotate(25deg); opacity: .55; background: #a3baff; }
@media (prefers-reduced-motion: reduce) { .theme-shutter, .theme-glint { transition: none; } }
