/* Material na Conta — estilos */

:root {
  --paper: #f8f6f1;
  --paper-2: #f1ede5;
  --surface: #ffffff;
  --ink: #1b1e1c;
  --ink-2: #353a37;
  --muted: #5f6561;
  --line: #e5dfd4;
  --line-2: #d3cbbd;
  --field-border: #8c8478;  /* 3,7:1 sobre branco (WCAG 1.4.11) */
  --field-border-hover: #6f685e;
  --placeholder: #757068;   /* 4,9:1 sobre branco */
  --focus: #8f3520;         /* 7:1 sobre o fundo claro */
  --error: #b3261e;         /* 6,5:1 sobre branco */
  --brand: #b4462a;
  --brand-ink: #8f3520;
  --brand-soft: #f7e8e1;
  --brand-tint: #f3b49f;
  --slate: #1f272b;
  --slate-2: #2a3439;
  --warn-soft: #fff5e2;
  --warn-line: #e0a63c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27, 30, 28, .05), 0 10px 30px -14px rgba(27, 30, 28, .22);
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.result :focus-visible, .site-footer :focus-visible, .hero-sample:focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; }
strong { font-weight: 650; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Cabeçalho ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--brand); }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; gap: 10px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 550; }
.site-nav a:hover { color: var(--brand); }
@media (max-width: 560px) {
  .site-nav { gap: 2px; }
  .site-nav a { font-size: 14px; }
  .site-nav .nav-optional { display: none; }
  .brand-name { font-size: 16.5px; }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); border: 0;
  font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-light { background: #fff; color: var(--slate); }
.btn-light:hover { background: var(--brand-soft); color: var(--slate); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-link { background: none; color: var(--muted); padding: 0 8px; margin-left: -8px; min-height: 44px; font-weight: 550; text-decoration: underline; text-underline-offset: .2em; }
.btn-link:hover { color: var(--brand); }
.only-mobile { display: none; }

/* ---------- Página inicial ---------- */

.hero { padding: 64px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.15rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; max-width: 19ch; text-wrap: balance; }
.hero-sample {
  display: block; padding: 26px; border-radius: var(--radius); color: #fff; text-decoration: none;
  background-color: var(--slate);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 24px 48px -24px rgba(27, 30, 28, .45);
  transform: rotate(1.2deg); transition: transform .2s;
}
.hero-sample:hover { color: #fff; transform: rotate(0deg) translateY(-2px); }
.hero-sample .res-kicker, .hero-sample .res-sub { display: block; }
.hero-sample-rows { display: block; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-sample-rows > span { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.hero-sample-rows strong { color: #fff; font-weight: 650; }
.hero-sample-cta { display: block; margin-top: 18px; font-weight: 650; font-size: 15px; color: var(--brand-tint); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sample { display: none; }
}
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin: 0 0 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }

.search { position: relative; max-width: 520px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 54px; padding: 0 18px 0 48px; border: 1.5px solid var(--field-border); border-radius: 12px;
  background: #fff; font: inherit; font-size: 16.5px; color: var(--ink); box-shadow: var(--shadow);
}
.search input::placeholder { color: var(--placeholder); opacity: 1; }
.search input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }

.cats { padding: 24px 0 8px; }
.cat { margin-top: 34px; }
.cat h2 { font-size: 13px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.calc-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; min-height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.calc-card:hover { border-color: #e2b6a5; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.calc-card-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.calc-card-icon svg { width: 24px; height: 24px; }
.calc-card strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.calc-card span span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.search-empty { margin-top: 26px; color: var(--muted); }

.band { margin-top: 72px; padding: 56px 0; background: var(--surface); border-block: 1px solid var(--line); }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.band .band-lead { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--slate); color: #fff; font-weight: 750; font-size: 15px; margin-bottom: 12px;
}
.steps h3, .principles h3 { font-size: 1.05rem; margin: 0 0 6px; }
.steps p, .principles p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; margin-top: 8px; }
.principles > div { padding-left: 16px; border-left: 3px solid var(--brand-tint); }
.home-section { margin-top: 64px; }
.home-section h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
@media (max-width: 820px) {
  .steps, .principles { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* ---------- Página de calculadora ---------- */

.calc-hero { padding: 26px 0 6px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: -10px 0 8px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; padding: 0; margin: 0; }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.calc-title { display: flex; gap: 18px; align-items: flex-start; }
.calc-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.calc-icon svg { width: 30px; height: 30px; }
.calc-title h1 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); margin: 4px 0 8px; letter-spacing: -.025em; }
.calc-title .lead { margin: 0; color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; }
@media (max-width: 560px) {
  .calc-icon { display: none; }
  .calc-title h1 { margin-top: 0; }
}

.calc-layout {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px; align-items: start; margin-top: 22px;
}
@media (max-width: 880px) {
  .calc-layout { grid-template-columns: 1fr; }
  .only-mobile { display: inline-flex; }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.calc-form { padding: 24px; }
@media (max-width: 560px) { .calc-form { padding: 18px; } }

.form-section + .form-section { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-section-title { font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) {
  .row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .row, .row-3 { grid-template-columns: 1fr; }
}

.field { margin: 0 0 16px; min-width: 0; }
.field > label, .field > legend {
  display: block; font-size: 14.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; padding: 0;
}
.control { position: relative; }
.control input, .control select {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums;
  transition: border-color .15s, box-shadow .15s;
}
.control input::placeholder { color: var(--placeholder); opacity: 1; }
.control input:hover, .control select:hover { border-color: var(--field-border-hover); }
.control input:focus, .control select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); box-shadow: none; }
.control input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; background: #fff8f7; }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--error); }
.field-error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 800;
}
.control.has-unit input { padding-right: 56px; }
.unit { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.control select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235f6561' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.hint { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.hint.form-note { margin: -4px 0 14px; }

fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--paper-2); border: 1.5px solid var(--field-border); border-radius: 12px; }
.seg-opt { flex: 1; position: relative; margin: 0; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 10px;
  border-radius: 9px; font-size: 14.5px; font-weight: 650; color: var(--muted); cursor: pointer; line-height: 1.25;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.seg-opt span:hover { color: var(--ink); }
/* Selecionada: fundo branco, contorno de 2px na cor da marca e marca de seleção (não depende só de cor). */
.seg-opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--brand), 0 1px 2px rgba(0, 0, 0, .08); }
.seg-opt input:checked + span::before {
  content: ""; flex: none; width: 10px; height: 6px; margin: -3px 8px 0 0;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}
.seg-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

details.adjust { margin: -10px 0 12px; }
details.adjust > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14.5px; font-weight: 650; color: var(--brand-ink);
}
details.adjust > summary::-webkit-details-marker { display: none; }
details.adjust > summary::before {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s; margin-right: 2px;
}
details.adjust[open] > summary::before { transform: rotate(45deg); }
details.adjust > .adjust-body { padding: 14px 14px 0; margin-top: 10px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }

.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Resultado ---------- */

.result {
  position: sticky; top: 20px; min-height: 240px; padding: 26px; border-radius: var(--radius); color: #fff;
  background-color: var(--slate);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 880px) { .result { position: static; scroll-margin-top: 12px; } }
.res-kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.res-main { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.res-value { font-size: clamp(2.6rem, 5.2vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.res-unit { font-size: 1.15rem; font-weight: 650; color: var(--brand-tint); }
.res-sub { margin: 12px 0 0; color: rgba(255, 255, 255, .82); font-size: 15px; }
.res-rows { margin: 20px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.res-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }
.res-row dt { color: rgba(255, 255, 255, .7); }
.res-row dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.res-row.is-strong dt { color: #fff; }
.res-row.is-strong dd { color: var(--brand-tint); }
.res-row.is-head { padding-top: 16px; border-bottom-color: rgba(255, 255, 255, .14); }
.res-row.is-head dt { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.res-notes { list-style: none; margin: 18px 0 0; padding: 0; }
.res-notes li { position: relative; padding-left: 18px; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .76); }
.res-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-tint); }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.res-empty-title { margin: 0 0 6px; font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.res-empty p:last-child { margin: 0; color: rgba(255, 255, 255, .72); max-width: 34ch; }
.res-error { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(243, 180, 159, .12); border-left: 3px solid var(--brand-tint); color: #fff; }

/* ---------- Conteúdo ---------- */

.content-layout { margin-top: 56px; }
.prose { max-width: 740px; font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.65rem); margin: 2.1em 0 .55em; }
.prose h3 { font-size: 1.15rem; margin: 1.7em 0 .45em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--brand); }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 700; color: var(--ink); font-size: 14.5px; }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.formula {
  margin: 1.1em 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--brand); border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 15px; line-height: 1.7; color: var(--ink); overflow-x: auto;
}
.example { margin: 1.4em 0; padding: 20px 22px; background: #fcf4ef; border: 1px solid #f0dbcf; border-radius: var(--radius); }
.example > :first-child { margin-top: 0; }
.example > :last-child { margin-bottom: 0; }
.example ol { margin: .6em 0; }
.callout { margin: 1.4em 0; padding: 16px 18px; background: var(--warn-soft); border-left: 4px solid var(--warn-line); border-radius: var(--radius-sm); }
.callout p { margin: 0; color: var(--ink); }
.faq { margin-top: .6em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 650; color: var(--ink); font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 14px; }
.faq details > div > :first-child { margin-top: 0; }
.disclaimer { margin-top: 44px; padding: 14px 18px; font-size: 14.5px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }
.disclaimer p { margin: 0; color: var(--muted); }
.updated { font-size: 14px; color: var(--muted); margin-top: 18px; }

.related { margin-top: 60px; }
.related h2 { font-size: 1.3rem; margin: 0 0 16px; }

/* ---------- Páginas institucionais ---------- */

.page-hero { padding: 48px 0 8px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 10px; letter-spacing: -.025em; }
.page-hero .lead { color: var(--ink-2); font-size: 1.1rem; margin: 0; max-width: 60ch; }
.page-body { margin-top: 32px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 22px 24px; margin: 1.2em 0 1.6em; }
.contact-card .label { font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.contact-card { gap: 18px 48px; }
.contact-card a.js-email, .contact-card .email-fallback { font-size: 1.25rem; font-weight: 700; word-break: break-all; }
.contact-name { font-size: 1.25rem; font-weight: 700; color: var(--ink); }

/* ---------- Rodapé ---------- */

.site-footer { margin-top: 84px; background: var(--slate); color: rgba(255, 255, 255, .74); padding: 52px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name em { color: var(--brand-tint); }
.footer-about { margin: 14px 0 0; max-width: 38ch; }
.site-footer h2 { font-size: 13px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin: 4px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { columns: 2; column-gap: 24px; }
.footer-cols li { break-inside: avoid; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.footer-bottom p { margin: 4px 0; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 404 ---------- */

.notfound { padding: 80px 0 20px; max-width: 620px; }
.notfound h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 12px; }
.notfound p { color: var(--ink-2); font-size: 1.08rem; }

/* ---------- Impressão ---------- */

@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .form-foot, .res-actions, .related, .content-layout, .breadcrumb, .skip, ins.adsbygoogle { display: none !important; }
  .calc-layout { display: block; }
  .card, .result { box-shadow: none; }
  .calc-form { border: 1px solid #999; margin-bottom: 12pt; }
  .result { background: #fff !important; color: #000; border: 2px solid #000; position: static; }
  .res-kicker, .res-row dt, .res-sub, .res-notes li, .res-row.is-head dt, .res-row.is-strong dt { color: #333 !important; }
  .res-unit, .res-row.is-strong dd { color: #000 !important; }
  .res-row { border-color: #ccc; }
  .calc-icon { display: none; }
  details.adjust > .adjust-body { display: block; }
}
