/**
 * Stylesheet of the public msc.eng.br website (pages built with includes/site.php).
 *
 * Dark theme taken from the application itself: a near-black workspace, thin
 * luminous linework and the selection yellow as the single action colour.
 * Motion is limited to one entrance sequence in the page banner, a gentle
 * reveal of each section on scroll and short hover/focus transitions; all of
 * it is switched off under prefers-reduced-motion.
 * Legacy pages keep using css/styles.css; this file does not affect them.
 *
 * License: UNLICENSED - PROPRIETARY
 * Author: MSCEngSoft | https://mscengsoft.com | info@mscengsoft.com
 * Copyright (c) 2026 MSCEngSoft
 */

/* ---------- Fonts (self-hosted Geist and Geist Mono) ---------- */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/geist-latin.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: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.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;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: dark;

  /* Colors */
  --fundo: #08090b;                         /* page background, near black */
  --superficie: #0f1114;                    /* raised panels */
  --superficie-alta: #15181c;               /* hovered panels, inputs */
  --borda: rgba(255, 255, 255, 0.08);       /* hairlines */
  --borda-forte: rgba(255, 255, 255, 0.16); /* hovered hairlines, outlines */
  --grade: rgba(255, 255, 255, 0.045);      /* workspace grid */
  --texto: #f2f4f6;                         /* primary text */
  --texto-suave: #a3abb5;                   /* secondary text */
  --texto-fraco: #6d7681;                   /* labels */
  --cota: #7fb2ff;                          /* dimension blue: links */
  --destaque: #ffd21f;                      /* selection yellow: primary action */
  --destaque-claro: #ffe169;
  --brilho: rgba(86, 140, 255, 0.16);       /* glow behind the screenshot */
  --foco: #ffd21f;

  /* Typography */
  --fonte-texto: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-mono: "Geist Mono", "Cascadia Mono", Consolas, ui-monospace, Menlo, monospace;
  --passo--1: 0.875rem;
  --passo-0: 1.0625rem;
  --passo-1: 1.25rem;
  --passo-2: 1.5rem;
  --passo-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --passo-4: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem);

  /* Spacing */
  --espaco-1: 0.25rem;
  --espaco-2: 0.5rem;
  --espaco-3: 0.75rem;
  --espaco-4: 1rem;
  --espaco-5: 1.5rem;
  --espaco-6: 2rem;
  --espaco-7: 3rem;
  --espaco-8: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  /* Layout */
  --largura: 72rem;
  --medida: 66ch;
  --raio: 0.625rem;
  --raio-grande: 1rem;
  --altura-barra: 4rem;

  /* Motion */
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  --rapido: 180ms;
  --medio: 700ms;
}

/* Cross-page fade between the pages of the site, where the browser supports it. */
@view-transition {
  navigation: auto;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-barra) + var(--espaco-5));
  background: var(--fundo);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 var(--passo-0)/1.65 var(--fonte-texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--destaque);
  color: #000000;
}

img,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

a {
  color: var(--cota);
  text-decoration-color: rgba(127, 178, 255, 0.4);
  text-underline-offset: 0.2em;
  transition: color var(--rapido) ease, text-decoration-color var(--rapido) ease;
}

a:hover {
  color: #b5d2ff;
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--foco);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--largura));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: var(--espaco-2);
  z-index: 100;
  padding: var(--espaco-2) var(--espaco-3);
  border-radius: var(--raio);
  background: var(--destaque);
  color: #000000;
}

.skip-link:focus {
  left: var(--espaco-2);
}

.main:focus {
  outline: none;
}

.preview-note {
  padding: var(--espaco-1) var(--espaco-4);
  background: var(--destaque);
  color: #000000;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
}

.tracking-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1.2 var(--fonte-texto);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--rapido) var(--curva), background-color var(--rapido) ease,
    border-color var(--rapido) ease, box-shadow var(--rapido) ease, color var(--rapido) ease;
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button--primary {
  background: var(--destaque);
  color: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(255, 210, 31, 0);
}

.button--primary:hover {
  background: var(--destaque-claro);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(255, 210, 31, 0.55);
}

.button--outline {
  border-color: var(--borda-forte);
  background: rgba(255, 255, 255, 0.02);
  color: var(--texto);
}

.button--outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- Application bar (site header) ---------- */

.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 11, 0.6);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  transition: border-color 300ms ease, background-color 300ms ease;
}

.app-bar.is-scrolled {
  border-bottom-color: var(--borda);
  background: rgba(8, 9, 11, 0.82);
}

.app-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--espaco-6);
  min-height: var(--altura-barra);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--espaco-3);
  color: #ffffff;
  font: 600 1.25rem/1 var(--fonte-texto);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.brand__logo {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  transition: transform 400ms var(--curva);
}

.brand:hover .brand__logo {
  transform: rotate(-6deg) scale(1.06);
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav__list {
  display: flex;
  gap: var(--espaco-1);
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav__list::-webkit-scrollbar {
  display: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  color: var(--texto-suave);
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--rapido) ease, background-color var(--rapido) ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.app-bar__action {
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
}

@media (max-width: 61.99rem) {
  .app-bar__row {
    justify-content: space-between;
    padding-top: var(--espaco-3);
  }

  .nav {
    flex-basis: 100%;
    order: 3;
    margin-inline: -1.25rem;
    padding: var(--espaco-2) 1.25rem var(--espaco-3);
    /* Fades the right edge to show that the list scrolls sideways. */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
  }

  .nav__list {
    padding-right: 3rem;
  }
}

/* ---------- Workspace (hero and page banner) ---------- */

.model {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--altura-barra) * -1);
  padding: calc(var(--altura-barra) + var(--espaco-8)) 0 var(--espaco-8);
  overflow: hidden;
}

.model--page {
  padding-bottom: var(--espaco-7);
}

/* Drawing grid of the workspace, fading out towards the edges. */
.model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--grade) 1px, transparent 1px),
    linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 3rem 3rem;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 0%, #000 30%, transparent 78%);
}

/* Soft light behind the banner content. */
.model::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  bottom: 0;
  z-index: -1;
  width: min(60rem, 90vw);
  background: radial-gradient(closest-side, var(--brilho), transparent);
  /* Fades the light out before the bottom edge, so the banner has no seam. */
  -webkit-mask-image: linear-gradient(#000 35%, transparent 92%);
  mask-image: linear-gradient(#000 35%, transparent 92%);
  pointer-events: none;
}

@media (max-width: 61.99rem) {
  .model {
    margin-top: 0;
    padding-top: var(--espaco-7);
  }
}

.model__title {
  max-width: 16ch;
  font-size: var(--passo-4);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.model--page .model__title {
  max-width: 22ch;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
}

.model__lead {
  max-width: 54ch;
  margin-top: var(--espaco-5);
  color: var(--texto-suave);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.breadcrumb {
  margin-bottom: var(--espaco-5);
  font-size: var(--passo--1);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  color: var(--texto-fraco);
}

.breadcrumb__list a {
  color: var(--texto-suave);
  text-decoration: none;
}

.breadcrumb__list a:hover {
  color: #ffffff;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-inline: var(--espaco-2);
}

.hero {
  display: grid;
  gap: var(--espaco-7);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--espaco-8);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espaco-3);
  margin-top: var(--espaco-6);
}

.hero__note {
  margin-top: var(--espaco-5);
  color: var(--texto-fraco);
  font-size: var(--passo--1);
}

.hero__shot {
  position: relative;
}

.hero__shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio-grande);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 90px -20px rgba(86, 140, 255, 0.28);
}

/* File formats shown like the status bar at the bottom of the CAD window. */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espaco-3) var(--espaco-7);
  margin-top: var(--espaco-8);
  padding-top: var(--espaco-5);
  border-top: 1px solid var(--borda);
  font-size: var(--passo--1);
}

.status-bar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--espaco-3);
}

.status-bar__label {
  color: var(--texto-fraco);
}

.status-bar__formats {
  color: var(--texto);
  font-family: var(--fonte-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  word-spacing: 0.5em;
}

/* ---------- Content area ---------- */

.sheet {
  padding-bottom: var(--espaco-8);
}

.section {
  padding-top: var(--espaco-7);
}

.model--page + .sheet > .section:first-child {
  padding-top: var(--espaco-5);
}

.section + .section {
  margin-top: var(--espaco-7);
  padding-top: var(--espaco-8);
  border-top: 1px solid var(--borda);
}

.section__title {
  max-width: 24ch;
  font-size: var(--passo-3);
  letter-spacing: -0.03em;
}

.section__intro {
  max-width: var(--medida);
  margin-top: var(--espaco-4);
  color: var(--texto-suave);
  font-size: var(--passo-1);
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.section__body {
  margin-top: var(--espaco-7);
}

.section__more {
  margin-top: var(--espaco-6);
}

.prose {
  max-width: var(--medida);
  color: var(--texto-suave);
}

.prose > * + * {
  margin-top: var(--espaco-4);
}

.prose h2 {
  margin-top: var(--espaco-7);
  font-size: var(--passo-2);
}

.prose h3 {
  margin-top: var(--espaco-7);
  padding-top: var(--espaco-5);
  border-top: 1px solid var(--borda);
  font-size: var(--passo-1);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.prose h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--espaco-2);
}

.prose li::marker {
  color: var(--texto-fraco);
}

.prose strong {
  color: var(--texto);
  font-weight: 600;
}

/* Capability panels. */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--espaco-4);
  padding: 0;
  list-style: none;
}

.note {
  padding: var(--espaco-6);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: linear-gradient(180deg, var(--superficie), rgba(15, 17, 20, 0.4));
  transition: border-color 300ms ease, background-color 300ms ease, transform 300ms var(--curva);
}

.note:hover {
  border-color: var(--borda-forte);
  background-color: var(--superficie-alta);
  transform: translateY(-3px);
}

.note__title {
  font-size: var(--passo-1);
  letter-spacing: -0.02em;
}

.note__text {
  margin-top: var(--espaco-3);
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.6;
}

/* Ordered steps: the content is a real sequence, so it is numbered. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--espaco-6) var(--espaco-7);
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.step {
  padding-top: var(--espaco-5);
  border-top: 1px solid var(--borda-forte);
  counter-increment: passo;
}

.step::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  color: var(--destaque);
  font: 500 var(--passo--1)/1 var(--fonte-mono);
  letter-spacing: 0.04em;
}

.step__title {
  margin-top: var(--espaco-4);
  font-size: var(--passo-1);
  letter-spacing: -0.02em;
}

.step__text {
  margin-top: var(--espaco-2);
  color: var(--texto-suave);
  font-size: 1rem;
}

.quote {
  max-width: 52rem;
}

.quote__text {
  color: var(--texto);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.quote__source {
  margin-top: var(--espaco-5);
  color: var(--texto-suave);
  font-size: var(--passo--1);
}

.quote__source::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: var(--espaco-3);
  background: var(--destaque);
  vertical-align: middle;
}

.call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--espaco-6) var(--espaco-7);
  padding: clamp(2rem, 1.2rem + 3vw, 4rem);
  border: 1px solid var(--borda);
  border-radius: calc(var(--raio-grande) * 1.5);
  background:
    radial-gradient(60rem 20rem at 100% 0%, rgba(86, 140, 255, 0.12), transparent 60%),
    var(--superficie);
}

.call__text {
  flex: 1 1 22rem;
  max-width: var(--medida);
}

.call__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espaco-3);
}

/* Plain facts list (what is included, download facts). */
.facts {
  max-width: var(--medida);
  padding: 0;
  list-style: none;
  color: var(--texto-suave);
}

.facts li {
  position: relative;
  padding: var(--espaco-4) 0 var(--espaco-4) var(--espaco-6);
  border-top: 1px solid var(--borda);
}

.facts li:last-child {
  border-bottom: 1px solid var(--borda);
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.6em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--destaque);
}

.facts strong {
  color: var(--texto);
  font-weight: 600;
}

/* Index of in-page links. */
.index-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espaco-2);
  padding: 0;
  list-style: none;
}

.index-list a {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--borda);
  border-radius: 999px;
  color: var(--texto-suave);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color var(--rapido) ease, color var(--rapido) ease, background-color var(--rapido) ease;
}

.index-list a:hover {
  border-color: var(--borda-forte);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Screens gallery. */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--espaco-6) var(--espaco-5);
  padding: 0;
  list-style: none;
}

.shot figure {
  overflow: hidden;
}

.shot__image {
  display: block;
  width: 100%;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: #000000;
  transition: transform 500ms var(--curva), border-color 300ms ease, box-shadow 300ms ease;
}

.shot:hover .shot__image {
  border-color: var(--borda-forte);
  transform: scale(1.015);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}

.shot__caption {
  margin-top: var(--espaco-4);
  color: var(--texto-suave);
  font-size: var(--passo--1);
  line-height: 1.55;
}

.shot__caption strong {
  color: var(--texto);
  font-weight: 500;
}

/* Viewport: a framed window for the store showcase and the video. */
.viewport {
  overflow: hidden;
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio-grande);
  background: #000000;
  color: #b4b4b4;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.viewport--padded {
  padding: var(--espaco-6) var(--espaco-5);
  overflow-x: auto;
}

.viewport video {
  display: block;
  width: 100%;
}

.media-note {
  margin-top: var(--espaco-4);
  color: var(--texto-fraco);
  font-size: var(--passo--1);
}

#licenca-pagamento-imagem {
  display: block;
  border-radius: var(--raio);
}

/* Data table. */
.table-scroll {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--texto-suave);
  font-size: 1rem;
  text-align: left;
}

.table th,
.table td {
  padding: var(--espaco-4) var(--espaco-5) var(--espaco-4) 0;
  border-top: 1px solid var(--borda);
  vertical-align: top;
}

.table thead th {
  border-top: 0;
  color: var(--texto-fraco);
  font-size: var(--passo--1);
  font-weight: 500;
}

.table tbody th {
  color: var(--texto);
  font-weight: 500;
}

.table tbody tr {
  transition: background-color var(--rapido) ease;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.notice {
  max-width: var(--medida);
  padding: var(--espaco-5);
  border: 1px solid var(--borda);
  border-left: 2px solid var(--destaque);
  border-radius: var(--raio);
  background: var(--superficie);
  color: var(--texto-suave);
  font-size: 1rem;
}

/* Version history. */
.release {
  display: grid;
  gap: var(--espaco-2) var(--espaco-6);
  padding: var(--espaco-5) 0;
  border-top: 1px solid var(--borda);
}

@media (min-width: 40rem) {
  .release {
    grid-template-columns: 9rem minmax(0, 1fr);
  }
}

.release__version {
  color: var(--texto);
  font: 500 0.9375rem/1.65 var(--fonte-mono);
  letter-spacing: 0;
}

.release__changes {
  max-width: var(--medida);
  padding-left: 1.125rem;
  color: var(--texto-suave);
  font-size: 1rem;
}

.release__changes li::marker {
  color: var(--texto-fraco);
}

/* Questions and answers. */
.faq__item {
  max-width: 48rem;
  padding: var(--espaco-6) 0;
  border-top: 1px solid var(--borda);
}

.faq__question {
  font-size: var(--passo-1);
  letter-spacing: -0.02em;
}

.faq__answer {
  margin-top: var(--espaco-3);
  color: var(--texto-suave);
}

.faq__answer > * + * {
  margin-top: var(--espaco-3);
}

.faq__answer ol,
.faq__answer ul {
  padding-left: 1.25rem;
}

/* Company data. */
.company {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--espaco-5) var(--espaco-6);
  max-width: 48rem;
  padding: var(--espaco-6);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--superficie);
}

.company__label {
  display: block;
  color: var(--texto-fraco);
  font-size: 0.8125rem;
}

.company__value {
  margin-top: var(--espaco-1);
  color: var(--texto);
  font-weight: 500;
}

/* The "@" is generated so the address is not harvested from the markup. */
.email__at::before {
  content: "@";
}

/* ---------- Site footer ---------- */

.sheet-end {
  padding: var(--espaco-7) 0 var(--espaco-8);
  border-top: 1px solid var(--borda);
}

.title-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--espaco-6);
  font-size: var(--passo--1);
}

@media (min-width: 48rem) {
  .title-block {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.title-block__cell {
  margin: 0;
}

.title-block__cell--full {
  grid-column: 1 / -1;
  padding-top: var(--espaco-5);
  border-top: 1px solid var(--borda);
}

.title-block__label {
  display: block;
  margin-bottom: var(--espaco-1);
  color: var(--texto-fraco);
  font-size: 0.8125rem;
}

.title-block__value {
  display: block;
  color: var(--texto);
}

.title-block a {
  color: var(--texto-suave);
  text-decoration: none;
}

.title-block a:hover {
  color: #ffffff;
}

.title-block__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espaco-2) var(--espaco-5);
  margin-top: var(--espaco-2);
  padding: 0;
  list-style: none;
}

.title-block__rights {
  color: var(--texto-fraco);
}

/* ---------- Legacy fragments embedded by includes/components.php ---------- */

/* Anti-spam trap fields: must stay invisible, or real visitors fill them in. */
.honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mscad-embedded-fragment .skip-link {
  display: none;
}

.mscad-contact-form {
  max-width: 36rem;
}

.mscad-contact-form table,
.mscad-contact-form tbody,
.mscad-contact-form tr,
.mscad-contact-form td {
  display: block;
  width: auto;
}

.mscad-contact-form tr + tr {
  margin-top: var(--espaco-5);
}

.mscad-form-label {
  display: block;
  margin-bottom: var(--espaco-2);
  color: var(--texto-suave);
  font-size: var(--passo--1);
  font-weight: 500;
}

.form_campos {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio);
  background: var(--superficie);
  color: var(--texto);
  font: inherit;
  transition: border-color var(--rapido) ease, background-color var(--rapido) ease, box-shadow var(--rapido) ease;
}

.form_campos:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.form_campos:focus {
  border-color: var(--destaque);
  background: var(--superficie-alta);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 210, 31, 0.14);
}

textarea.form_campos {
  min-height: 11rem;
  resize: vertical;
}

.form_botao {
  min-height: 3rem;
  margin-right: var(--espaco-2);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--texto);
  font: 500 1rem/1.2 var(--fonte-texto);
  cursor: pointer;
  transition: transform var(--rapido) var(--curva), background-color var(--rapido) ease, border-color var(--rapido) ease, box-shadow var(--rapido) ease;
}

.form_botao:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.form_botao[type="submit"] {
  border-color: var(--destaque);
  background: var(--destaque);
  color: #0a0a0a;
}

.form_botao[type="submit"]:hover {
  border-color: var(--destaque-claro);
  background: var(--destaque-claro);
  box-shadow: 0 10px 30px -10px rgba(255, 210, 31, 0.55);
}

.mscad-vitrine a {
  color: var(--cota);
}

/*
 * The showcase markup comes from msc.eng.br with a fixed 348px table. On small
 * screens the panel spans the screen so the table fits without sideways
 * scrolling down to 360px-wide screens.
 */
@media (max-width: 47.99rem) {
  .viewport--padded {
    margin-inline: -1.25rem;
    padding: var(--espaco-5) 0;
    border-inline: 0;
    border-radius: 0;
  }
}

/* ---------- msc.eng.br additions ---------- */

/* Long slash-separated strings (e.g. Windows version lists) must wrap on small screens. */
body {
  overflow-wrap: break-word;
}

.brand__name {
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .brand {
    font-size: 1rem;
  }
}

/* Product pages: long headings and small screenshots. */
.model__title--product {
  max-width: 20ch;
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.06;
}

.hero {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}

.hero__shot--compact img {
  width: auto;
  max-width: min(100%, 34rem);
  margin-inline: auto;
}

/* Product listings (home and downloads). */
.product__link {
  color: var(--texto);
  text-decoration: none;
}

.product__link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--destaque);
}

.product__more {
  margin-top: var(--espaco-4);
  font-size: var(--passo--1);
}

.table__action {
  white-space: nowrap;
}

.price__cash {
  display: block;
  color: var(--texto);
  font-weight: 500;
}

.price__installments {
  display: block;
  color: var(--texto-suave);
  font-size: var(--passo--1);
}

.button--small {
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
}

/* Testimonials. */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--espaco-4);
  padding: 0;
  list-style: none;
}

.quotes .quote {
  max-width: none;
  padding: var(--espaco-6);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--superficie);
}

.quotes .quote__text {
  font-size: var(--passo-1);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

/* Client list: many short entries in columns inside a bounded box. */
.clients {
  max-height: 28rem;
  padding: var(--espaco-6);
  overflow-y: auto;
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--superficie);
  columns: 14rem;
  column-gap: var(--espaco-6);
  list-style: none;
  font-size: var(--passo--1);
}

.clients li {
  padding: 0.2rem 0;
  break-inside: avoid;
}

.clients a {
  color: var(--texto-suave);
  text-decoration: none;
}

.clients a:hover {
  color: #ffffff;
}

/* Legacy contact form of msc.eng.br (contato.php), which carries inline pixel widths. */
.msc-contact-embedded {
  max-width: 36rem;
  color: var(--texto-suave) !important;
  font-family: inherit !important;
}

.msc-contact-embedded table,
.msc-contact-embedded tbody,
.msc-contact-embedded tr,
.msc-contact-embedded td {
  display: block;
  width: auto !important;
  height: auto !important;
  text-align: left !important;
  font-family: inherit !important;
}

.msc-contact-embedded tr + tr {
  margin-top: var(--espaco-5);
}

.msc-contact-embedded label {
  display: block;
  margin-bottom: var(--espaco-2);
  color: var(--texto-suave);
  font-size: var(--passo--1);
  font-weight: 500;
}

.msc-contact-embedded .form_campos {
  width: 100% !important;
}

.msc-contact-embedded td > div {
  text-align: left !important;
}

/* ---------- Justified running text ---------- */

/*
 * Running text that can span several lines is justified, without automatic
 * hyphenation: words are never split at the end of a line.
 * A single-line text is unaffected: the last line of a block stays left-aligned.
 */
.model__lead,
.section__intro,
.prose p,
.prose li,
.note__text,
.step__text,
.quote__text,
.faq__answer p,
.faq__answer li,
.facts li,
.release__changes li,
.shot__caption,
.notice,
.table td {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* ---------- Small screens ---------- */

@media (max-width: 61.99rem) {
  .app-bar__row {
    row-gap: var(--espaco-1);
    padding-top: var(--espaco-3);
  }

  .brand {
    min-height: 2.5rem;
  }
}

@media (max-width: 47.99rem) {
  .model {
    padding: var(--espaco-7) 0;
  }

  .model--page {
    padding-bottom: var(--espaco-6);
  }

  .model__title,
  .model--page .model__title {
    max-width: none;
    font-size: clamp(2rem, 1.2rem + 4.6vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .model__lead {
    margin-top: var(--espaco-4);
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  /* Stacked, equal-width actions read as one balanced block. */
  .hero__actions,
  .call__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero__actions .button,
  .call__actions .button {
    width: 100%;
  }

  .hero {
    gap: var(--espaco-6);
  }

  .status-bar {
    flex-direction: column;
    gap: var(--espaco-3);
    margin-top: var(--espaco-7);
  }

  .status-bar__group {
    flex-direction: column;
    gap: var(--espaco-1);
  }

  .sheet {
    padding-bottom: var(--espaco-7);
  }

  .section {
    padding-top: var(--espaco-6);
  }

  .section + .section {
    margin-top: var(--espaco-7);
    padding-top: var(--espaco-7);
  }

  .section__body {
    margin-top: var(--espaco-6);
  }

  .section__intro {
    font-size: 1.0625rem;
  }

  .note,
  .company {
    padding: var(--espaco-5);
  }

  .call {
    padding: var(--espaco-6) var(--espaco-5);
    border-radius: var(--raio-grande);
  }

  .quote__text {
    font-size: 1.1875rem;
  }

  /* Tables become a list of entries: one block per row, no sideways scrolling. */
  .table-scroll {
    overflow: visible;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
  }

  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .table tbody tr {
    padding: var(--espaco-5) 0;
    border-top: 1px solid var(--borda);
  }

  .table tbody tr:hover {
    background: none;
  }

  .table th,
  .table td {
    padding: 0;
    border: 0;
  }

  .table tbody th {
    font-size: var(--passo-1);
    letter-spacing: -0.02em;
  }

  .table td {
    margin-top: var(--espaco-2);
  }

  .table td:last-child {
    margin-top: var(--espaco-4);
  }

  .table td .button {
    width: 100%;
  }

  /*
   * A phone column fits four or five words per line. Justifying short texts
   * there, with no word splitting, opens wide gaps; only the long paragraphs
   * of running text stay justified.
   */
  .model__lead,
  .section__intro,
  .note__text,
  .step__text,
  .quote__text,
  .faq__answer li,
  .facts li,
  .release__changes li,
  .shot__caption,
  .notice,
  .table td {
    text-align: left;
  }

  .release {
    padding: var(--espaco-4) 0;
  }

  .sheet-end {
    padding: var(--espaco-6) 0 var(--espaco-7);
  }

  .title-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--espaco-5);
  }

  .title-block__cell--wide,
  .title-block__cell--full {
    grid-column: 1 / -1;
  }

  .title-block__links {
    gap: var(--espaco-3) var(--espaco-5);
  }
}

/* The company name is long: the navigation drops to its own row earlier, and
   on phones the header keeps only the brand (the page itself offers the
   download action right below). */
@media (max-width: 74.99rem) {
  .app-bar__row {
    justify-content: space-between;
    row-gap: var(--espaco-1);
    padding-top: var(--espaco-3);
  }

  .nav {
    flex-basis: 100%;
    order: 3;
    padding: var(--espaco-2) 0 var(--espaco-3);
  }
}

@media (max-width: 61.99rem) {
  .nav {
    padding-inline: 1.25rem;
  }
}

@media (max-width: 47.99rem) {
  .app-bar__action {
    display: none;
  }

  .brand {
    font-size: 1.0625rem;
  }

  .nav__list {
    margin-left: -0.875rem;
  }
}

/* ---------- Motion ---------- */

@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
}

@keyframes surgir-tela {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.975);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrance sequence of the banner: one orchestrated moment per page load. */
  .model .breadcrumb,
  .model__title,
  .model__lead,
  .hero__actions,
  .hero__note,
  .status-bar {
    animation: surgir var(--medio) var(--curva) both;
  }

  .model__title { animation-delay: 60ms; }
  .model__lead { animation-delay: 140ms; }
  .hero__actions { animation-delay: 220ms; }
  .hero__note { animation-delay: 300ms; }
  .status-bar { animation-delay: 520ms; }

  .hero__shot {
    animation: surgir-tela 1100ms var(--curva) 200ms both;
  }

  /*
   * Sections rise into place as they enter the screen. The "js" class is set
   * by the inline script in <head> only when the browser can observe them, so
   * without scripting everything stays visible.
   */
  .js .section {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 650ms var(--curva), transform 650ms var(--curva);
  }

  .js .section.is-visible {
    opacity: 1;
    transform: none;
  }

  .js .section .notes > *,
  .js .section .gallery > *,
  .js .section .steps > * {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 650ms var(--curva), transform 650ms var(--curva), border-color 300ms ease, background-color 300ms ease;
  }

  .js .section.is-visible .notes > *,
  .js .section.is-visible .gallery > *,
  .js .section.is-visible .steps > * {
    opacity: 1;
    transform: none;
  }

  .js .section.is-visible .notes > :nth-child(2),
  .js .section.is-visible .gallery > :nth-child(2),
  .js .section.is-visible .steps > :nth-child(2) { transition-delay: 80ms, 80ms, 0ms, 0ms; }

  .js .section.is-visible .notes > :nth-child(3),
  .js .section.is-visible .gallery > :nth-child(3),
  .js .section.is-visible .steps > :nth-child(3) { transition-delay: 160ms, 160ms, 0ms, 0ms; }

  .js .section.is-visible .notes > :nth-child(4),
  .js .section.is-visible .gallery > :nth-child(4) { transition-delay: 240ms, 240ms, 0ms, 0ms; }

  .js .section.is-visible .notes > :nth-child(5),
  .js .section.is-visible .gallery > :nth-child(5) { transition-delay: 320ms, 320ms, 0ms, 0ms; }

  .js .section.is-visible .notes > :nth-child(n + 6),
  .js .section.is-visible .gallery > :nth-child(n + 6) { transition-delay: 400ms, 400ms, 0ms, 0ms; }

  .js .section.is-visible .note:hover {
    transform: translateY(-3px);
    transition-delay: 0ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #ffffff;
    color: #000000;
  }

  .app-bar,
  .preview-note,
  .hero__actions,
  .call__actions {
    display: none;
  }

  .model::before,
  .model::after {
    display: none;
  }

  h1,
  h2,
  h3,
  .prose,
  .section__intro,
  .model__lead {
    color: #000000;
  }

  .js .section,
  .js .section .notes > *,
  .js .section .gallery > *,
  .js .section .steps > * {
    opacity: 1;
    transform: none;
  }
}
