/* ==========================================================================
   PCEB — Programa de Cálculo Estrutural Brasileiro
   Folha de estilos única · sem dependências
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-400-700-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400-600-normal.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e171c;
  --ink-2: #16242b;
  --ink-3: #1d3038;
  --paper: #f6f3ec;
  --paper-2: #ede8dd;
  --paper-3: #e4ddd0;
  --white: #fffdf8;
  --steel: #1f4a5c;
  --steel-2: #2f6579;
  --steel-3: #7fa6b3;
  --oxide: #c6522c;
  --oxide-ink: #a3421f;
  --oxide-soft: #e58a63;
  --sand: #c9b48a;
  --line: #d9d2c3;
  --line-dark: rgba(246, 243, 236, 0.16);
  --muted: #5d6668;
  --muted-dark: rgba(246, 243, 236, 0.62);
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 60px -36px rgba(14, 23, 28, 0.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}
strong { font-weight: 600; }
code, pre, kbd { font-family: var(--font-mono); }
::selection { background: var(--oxide); color: var(--white); }
:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p { color: var(--muted-dark); }
.section--ink .eyebrow { color: var(--steel-3); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oxide);
  box-shadow: 0 0 0 4px rgba(198, 82, 44, 0.16);
}
.display { font-size: clamp(2.5rem, 5vw, 4.4rem); letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--muted); }
.section--ink .lead { color: var(--muted-dark); }
.small { font-size: 0.9rem; }
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accent { color: var(--oxide); }
.accent-soft { color: var(--oxide-soft); }
.steel { color: var(--steel-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--oxide-ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 14px; border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(2px); }
.section--ink .link-arrow { color: var(--oxide-soft); }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { --btn-bg: var(--oxide); --btn-fg: var(--white); --btn-bd: var(--oxide); }
.btn--primary:hover { --btn-bg: #b4471f; --btn-bd: #b4471f; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(14, 23, 28, 0.28); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--paper); --btn-bd: rgba(246, 243, 236, 0.32); }
.btn--ghost-light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.6875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 18px 40px -34px rgba(14, 23, 28, 0.55); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand__name span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  transition: color 0.2s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--oxide);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--oxide-ink); }
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--oxide-ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.2s var(--ease), background 0.2s var(--ease); }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: clip; border-bottom: 1px solid var(--line); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 166, 179, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 179, 0.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 65%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 65%, transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(198, 82, 44, 0.2), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 72px);
}
.hero__copy { max-width: 640px; }
.hero .eyebrow { color: var(--steel-3); }
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.85rem, 5.7vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--oxide-soft); }
.hero__lead {
  max-width: 52ch;
  margin-bottom: 32px;
  color: rgba(246, 243, 236, 0.72);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}
.hero__actions { margin-bottom: clamp(36px, 5vw, 56px); }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-dark);
}
.hero__facts div { padding: 18px 18px 0 0; }
.hero__facts div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.hero__facts dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel-3);
}
.hero__facts dd {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.board {
  position: relative;
  padding: 12px;
  background: linear-gradient(160deg, #132129, #0b1216 70%);
  border: 1px solid rgba(127, 166, 179, 0.24);
  border-radius: 3px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}
.board::before,
.board::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--oxide);
  border-style: solid;
  pointer-events: none;
}
.board::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.board::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.board svg { width: 100%; height: auto; }
.board__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 4px 2px;
  border-top: 1px solid rgba(127, 166, 179, 0.18);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.48);
}
.board__caption span:last-child { color: var(--oxide-soft); }

.draw {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  animation: draw 2.2s var(--ease) forwards;
  animation-delay: var(--delay, 0.2s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__scroll {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.42);
}
.hero__scroll::before { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--oxide), transparent); }

/* Compatibilidade */
.compat-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.compat-strip__inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: stretch; }
.compat-strip__intro,
.compat-strip__item { padding: 26px 24px; }
.compat-strip__intro { padding-left: 0; display: flex; flex-direction: column; justify-content: center; }
.compat-strip__intro .mono { color: var(--muted); }
.compat-strip__intro strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.compat-strip__item { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.compat-strip__item b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.compat-strip__item span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: var(--muted);
}

/* Visão */
.vision__lead {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.vision__lead em { font-style: normal; color: var(--oxide); }
.vision__cols { display: grid; gap: 28px; margin-top: 48px; }
.vision-card {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--steel);
  background: rgba(255, 253, 248, 0.55);
}
.vision-card--pending { border-left-color: var(--oxide); }
.vision-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.vision-card h3 { font-size: 1.22rem; }
.vision-card p { font-size: 0.95rem; color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--live { color: #2c6e4f; background: rgba(44, 110, 79, 0.06); }
.tag--wip { color: var(--oxide-ink); background: rgba(198, 82, 44, 0.06); }
.tag--next { color: var(--steel-2); background: rgba(47, 101, 121, 0.06); }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Cabeçalho de seção */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 720px; }
.section-head .h2 { margin-top: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: clamp(44px, 6vw, 76px); }
.step { padding: 24px 24px 8px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step__num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--oxide-ink);
}
.step__num::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step h3 { margin: 16px 0 8px; font-size: 1.13rem; }
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.ba-card--after { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ba-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ba-card--after .ba-card__label { color: var(--steel-3); }
.ba-card__label .pill { padding: 3px 7px; border: 1px solid currentColor; border-radius: 100px; font-size: 0.52rem; }
.ba-card--after .pill { color: var(--oxide-soft); }
.ba-card svg { width: 100%; height: auto; margin: auto 0; }
.ba-card__note { margin-top: 14px; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.ba-card--after .ba-card__note { color: var(--muted-dark); }

.feature-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feature-list__icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--steel-2); }
.feature-list__icon svg { width: 15px; height: 15px; }
.feature-list h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-list p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* Relação do aço */
.ra-section { overflow: clip; }
.ra-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 166, 179, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 179, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.ra-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.ra-copy .h2 { margin-bottom: 22px; }
.ra-copy .lead { margin-bottom: 28px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.94rem; line-height: 1.5; color: rgba(246, 243, 236, 0.74); }
.ticks svg { width: 15px; height: 15px; margin-top: 4px; color: var(--oxide-soft); }
.ticks strong { color: var(--paper); font-weight: 500; }

.ra-card { background: #f8f5ee; color: var(--ink); border: 1px solid rgba(14, 23, 28, 0.14); box-shadow: var(--shadow); overflow: hidden; }
.ra-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #efe9dd; }
.ra-card__head b { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; font-weight: 500; }
.ra-card__head span { font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.ra-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.ra-table th {
  padding: 8px 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 23, 28, 0.025);
}
.ra-table td { padding: 10px; border-bottom: 1px solid rgba(217, 210, 195, 0.7); vertical-align: middle; white-space: nowrap; }
.ra-table tr:last-child td { border-bottom: 0; }
.ra-table td:first-child { font-family: var(--font-mono); color: var(--oxide-ink); font-weight: 500; }
.ra-table td.num { font-family: var(--font-mono); text-align: right; }
.ra-table .shape svg { width: 46px; height: 18px; }
.ra-table tbody tr:hover { background: rgba(198, 82, 44, 0.045); }
.ra-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #efe9dd;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ra-card__foot b { font-size: 0.78rem; letter-spacing: 0.02em; }

/* Recursos */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { position: relative; padding: 30px 28px 28px; background: var(--paper); transition: background 0.25s var(--ease); }
.card:hover { background: var(--white); }
.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card__icon svg { width: 20px; height: 20px; }
.card:hover .card__icon { color: var(--oxide); border-color: rgba(198, 82, 44, 0.35); }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.card__tag { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); opacity: 0.75; }

/* Prova técnica */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.proof-copy .h2 { margin-bottom: 22px; }
.proof-copy .lead { margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { padding: 24px 22px; background: var(--paper); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--steel);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--muted);
}
.notice { margin-top: 24px; padding: 18px 20px; border: 1px solid rgba(198, 82, 44, 0.3); background: rgba(198, 82, 44, 0.05); font-size: 0.86rem; line-height: 1.55; }
.notice b { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxide-ink); }
.notice p { color: var(--muted); }

/* Roteiro */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.roadmap__item { padding: 24px 28px 24px 0; border-right: 1px solid var(--line); position: relative; }
.roadmap__item:last-child { border-right: 0; padding-right: 0; }
.roadmap__item::before { content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.roadmap__item--live::before { background: #2c6e4f; box-shadow: 0 0 0 4px rgba(44, 110, 79, 0.14); }
.roadmap__item--wip::before { background: var(--oxide); box-shadow: 0 0 0 4px rgba(198, 82, 44, 0.14); }
.roadmap__phase { display: block; margin-bottom: 12px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.roadmap__item h3 { margin-bottom: 8px; font-size: 1.16rem; }
.roadmap__item p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.roadmap__item .tag { margin-top: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1;
  color: var(--steel);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq details p { padding: 0 46px 22px 0; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* CTA */
.cta { position: relative; background: var(--ink); color: var(--paper); overflow: clip; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(198, 82, 44, 0.18), transparent 55%),
    linear-gradient(rgba(127, 166, 179, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 179, 0.07) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.cta h2 { max-width: 18ch; font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.04em; }
.cta p { max-width: 52ch; margin-top: 18px; color: var(--muted-dark); }
.cta .actions { justify-content: flex-end; }

/* Rodapé */
.site-footer { background: #0a1115; color: var(--paper); border-top: 1px solid rgba(246, 243, 236, 0.1); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr)); gap: 40px; padding-block: 64px 48px; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand .brand__name span { color: rgba(246, 243, 236, 0.45); }
.footer__brand p { max-width: 34ch; font-size: 0.86rem; line-height: 1.6; color: rgba(246, 243, 236, 0.55); }
.footer__col h3 { margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--steel-3); }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: 0.86rem; color: rgba(246, 243, 236, 0.7); text-decoration: none; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--paper); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgba(246, 243, 236, 0.1);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(246, 243, 236, 0.38);
}
.footer__bar .dot { color: var(--oxide); }

/* Páginas internas */
.page-hero { position: relative; background: var(--ink); color: var(--paper); overflow: clip; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 166, 179, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 179, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: end; padding-block: clamp(64px, 8vw, 104px) clamp(52px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; margin-bottom: 20px; }
.page-hero .lead { color: rgba(246, 243, 236, 0.7); }
.page-hero .eyebrow { color: var(--steel-3); }
.page-hero__aside { padding: 22px 24px; border: 1px solid rgba(246, 243, 236, 0.18); font-size: 0.86rem; line-height: 1.6; color: rgba(246, 243, 236, 0.65); }
.page-hero__aside b { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxide-soft); }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 243, 236, 0.4); }
.breadcrumb a { color: rgba(246, 243, 236, 0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }

.prose { max-width: 68ch; }
.prose h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.prose h3 { margin: 36px 0 12px; font-size: 1.2rem; }
.prose p { margin-bottom: 1.1em; color: #3f4b4e; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; font-size: 0.96rem; color: #3f4b4e; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 1px; background: var(--oxide); }
.prose code { padding: 2px 6px; background: rgba(14, 23, 28, 0.06); border: 1px solid rgba(14, 23, 28, 0.08); font-size: 0.82em; }
.prose a { color: var(--oxide-ink); }

.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.doc-card:hover { border-color: var(--steel-3); transform: translateY(-3px); box-shadow: 0 20px 44px -34px rgba(14, 23, 28, 0.5); }
.doc-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.doc-card__icon { width: 26px; height: 26px; color: var(--steel-2); }
.doc-card__top span { font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.doc-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.doc-card p { font-size: 0.87rem; line-height: 1.5; color: var(--muted); }
.doc-card__go { margin-top: auto; padding-top: 22px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oxide-ink); }

.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: install; }
.install__step { padding: 28px 26px; background: var(--paper); counter-increment: install; }
.install__step::before { content: "0" counter(install); display: block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--oxide-ink); }
.install__step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.install__step p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.data-table caption {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.data-table th {
  padding: 12px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 23, 28, 0.025);
  white-space: nowrap;
}
.data-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: #3f4b4e; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(198, 82, 44, 0.035); }
.data-table td:first-child { white-space: nowrap; }
.data-table code { padding: 2px 5px; background: rgba(14, 23, 28, 0.05); font-size: 0.78rem; color: var(--ink); }
.data-table .status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; color: #2c6e4f; white-space: nowrap; }
.data-table .status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.callout { padding: 24px 26px; border: 1px solid var(--line); border-left: 3px solid var(--steel); background: var(--white); }
.callout--oxide { border-left-color: var(--oxide); }
.callout h3 { margin-bottom: 8px; font-size: 1.05rem; }
.callout p { font-size: 0.9rem; color: var(--muted); }
.callout code { font-size: 0.8rem; }

.download-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); border: 1px solid var(--line); background: var(--white); }
.download-panel__main { padding: clamp(28px, 4vw, 48px); }
.download-panel__side { padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.download-panel__side h3 { margin-bottom: 14px; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-3); }
.download-panel__side ul { display: grid; gap: 11px; }
.download-panel__side li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(246, 243, 236, 0.12); font-size: 0.82rem; color: rgba(246, 243, 236, 0.72); }
.download-panel__side li span:last-child { font-family: var(--font-mono); color: var(--paper); white-space: nowrap; }
.download-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 16px; }
.download-panel p { color: var(--muted); font-size: 0.95rem; }
.version { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; background: rgba(44, 110, 79, 0.08); border: 1px solid rgba(44, 110, 79, 0.25); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: #2c6e4f; }
.version::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.92rem; color: #3f4b4e; line-height: 1.55; }
.checklist svg { width: 15px; height: 15px; margin-top: 4px; color: #2c6e4f; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { padding: 26px; background: var(--paper); }
.principle span { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; color: var(--oxide-ink); }
.principle h3 { margin: 14px 0 8px; font-size: 1.08rem; }
.principle p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.author { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: var(--white); }
.author__body { padding: clamp(28px, 4vw, 44px); }
.author__body h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 14px; }
.author__body p { color: var(--muted); font-size: 0.94rem; }
.author__meta { padding: clamp(28px, 4vw, 44px); background: var(--paper-2); border-left: 1px solid var(--line); display: grid; align-content: center; gap: 18px; }
.author__meta div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.author__meta div:last-child { border-bottom: 0; padding-bottom: 0; }
.author__meta span:first-child { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.author__meta span:last-child { font-weight: 500; text-align: right; }
.author__meta a { color: var(--oxide-ink); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .mono { color: var(--oxide-ink); }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); margin: 18px 0; }
.notfound p { max-width: 44ch; margin: 0 auto 30px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

.dim-rule { display: flex; align-items: center; gap: 14px; margin-block: 40px; color: var(--line); }
.dim-rule::before,
.dim-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; position: relative; }
.dim-rule span { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; }

.code-block {
  margin: 16px 0 0;
  padding: 16px 18px;
  max-width: 100%;
  overflow-x: auto;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(127, 166, 179, 0.2);
  font-size: 0.76rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-block code { color: inherit; background: none; border: 0; padding: 0; }

.grid-2 > *,
.faq-grid > *,
.proof-grid > *,
.ra-grid > *,
.page-hero__inner > *,
.download-panel > *,
.author > * { min-width: 0; }
.install__step { min-width: 0; }
.table-wrap { min-width: 0; max-width: 100%; }
p code, li code, td code, .callout code, .install__step code { overflow-wrap: anywhere; }
/* Nomes de comando e caminhos não podem quebrar no meio da palavra. */
.data-table td code { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; }

.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.hide { display: none !important; }
.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; }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: 760px; }
  .board { max-width: 680px; }
  .compat-strip__inner { grid-template-columns: 1fr 1fr 1fr; }
  .compat-strip__intro { grid-column: 1 / -1; padding-bottom: 0; }
  .compat-strip__item:first-of-type { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -40px rgba(14, 23, 28, 0.5);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .ra-grid, .proof-grid, .faq-grid, .page-hero__inner, .download-panel, .author { grid-template-columns: 1fr; }
  .page-hero__aside { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .roadmap { grid-template-columns: 1fr; border-top-width: 1px; }
  .roadmap__item { padding: 22px 0 22px 22px; border-right: 0; border-left: 1px solid var(--line); }
  .roadmap__item::before { left: -5px; }
  .roadmap__item:last-child { padding-right: 0; }
  .install { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .author__meta { border-left: 0; border-top: 1px solid var(--line); }
  #revit .grid-2 > .download-panel__side { order: 2; }
  #revit .grid-2 > div:not(.download-panel__side) { order: 1; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand__name span { display: none; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts div { padding: 14px 0; }
  .hero__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero__facts dd { font-size: 1.1rem; }
  .compat-strip__inner { grid-template-columns: 1fr; }
  .compat-strip__intro { padding: 24px 0 8px; grid-column: auto; }
  .compat-strip__item { border-left: 0; padding: 16px 0; border-top: 1px solid var(--line); }
  .compat-strip__item:first-of-type { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .step:last-child { border-bottom: 0; }
  .beforeafter { grid-template-columns: 1fr; }
  .cards, .doc-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .ra-card { overflow-x: auto; }
  .ra-table { min-width: 480px; }
  .data-table { min-width: 0; font-size: 0.78rem; }
  .data-table th, .data-table td { padding: 10px; }
  .data-table th { white-space: normal; }
  .data-table td:first-child { white-space: normal; }
  .cta .actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: auto; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 2.55rem; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .vision-card__top { flex-wrap: wrap; }
  .ra-card { overflow-x: visible; }
  .ra-table { min-width: 0; font-size: 0.66rem; }
  .ra-table th, .ra-table td { padding: 8px 5px; }
  .ra-table .shape svg { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .draw { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__scroll, .cta, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero, .page-hero { background: #fff !important; color: #000 !important; }
  a { color: #000; }
}

/* Doação (doar.html) */
.pix-codigo { display: block; width: 100%; margin-top: 6px; padding: 12px; font: 13px/1.5 "IBM Plex Mono", Consolas, monospace;
  word-break: break-all; resize: none; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #0e171c; }
.pix-qr__img { background: #fff; padding: 12px; border-radius: 4px; max-width: 240px; margin: 8px 0 12px; }
.pix-qr__img svg { display: block; width: 100%; height: auto; }
