/* Magnanti Contabilidade — design system compartilhado entre páginas */

@font-face {
  font-family: 'Manrope';
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/manrope-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/worksans-var.woff2') format('woff2');
}
:root {
  /* extraído da logo: azul-marinho, azul-acinzentado (barra clara) e verde do swoosh */
  --navy-900: #0E2740;
  --navy-700: #16395C;
  --navy-500: #2C567F;
  --slate-400: #6E85A0;
  --green-600: #2E7D46;
  --green-100: #E6F3EA;

  --bg: #F7F9FA;
  --surface: #FFFFFF;
  --surface-alt: #EEF2F5;
  --ink: #16233A;
  --ink-muted: #4B5A72;
  --ink-faint: #8493A8;
  --line: #DDE4EB;
  --radius: 12px;
  --whatsapp: #25D366;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1420;
    --surface: #101C2C;
    --surface-alt: #16243660;
    --ink: #E8EDF4;
    --ink-muted: #A9B7CA;
    --ink-faint: #7C8BA1;
    --line: #223349;
    --navy-500: #6E93BE;
    --green-600: #4CAE6C;
    --green-100: #17301F;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1420;
  --surface: #101C2C;
  --surface-alt: #16243660;
  --ink: #E8EDF4;
  --ink-muted: #A9B7CA;
  --ink-faint: #7C8BA1;
  --line: #223349;
  --navy-500: #6E93BE;
  --green-600: #4CAE6C;
  --green-100: #17301F;
}
:root[data-theme="light"] {
  --bg: #F7F9FA;
  --surface: #FFFFFF;
  --surface-alt: #EEF2F5;
  --ink: #16233A;
  --ink-muted: #4B5A72;
  --ink-faint: #8493A8;
  --line: #DDE4EB;
  --navy-500: #2C567F;
  --green-600: #2E7D46;
  --green-100: #E6F3EA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 700;
}

/* ---------- header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand .logo-light { display: none; }
  .brand .logo-dark { display: block; }
}
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
:root[data-theme="light"] .brand .logo-light { display: block; }
:root[data-theme="light"] .brand .logo-dark { display: none; }
@media (max-width: 480px) { .brand img { height: 54px; } }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--green-600);
}
nav.main-nav a:hover { color: var(--navy-700); }
@media (prefers-color-scheme: dark) { nav.main-nav a:hover { color: var(--green-600); } }
:root[data-theme="dark"] nav.main-nav a:hover { color: var(--green-600); }
:root[data-theme="light"] nav.main-nav a:hover { color: var(--navy-700); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn { transition: transform .15s ease, filter .15s ease, background .15s ease; }
.btn-primary { background: var(--green-600); color: white; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy-500);
  color: var(--navy-700);
}
.btn-outline:hover { background: var(--surface-alt); transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { .btn-outline { color: var(--ink); border-color: var(--slate-400); } }
:root[data-theme="dark"] .btn-outline { color: var(--ink); border-color: var(--slate-400); }
:root[data-theme="light"] .btn-outline { color: var(--navy-700); border-color: var(--navy-500); }
:root[data-theme="dark"] .cta-band .btn-outline,
:root[data-theme="light"] .cta-band .btn-outline { color: white; border-color: rgba(255,255,255,.5); }

.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }

/* mobile nav collapse */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger svg { width: 26px; height: 26px; color: var(--ink); }
@media (max-width: 879px) {
  nav.main-nav { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 21ch;
}
.hero h1 .accent { color: var(--green-600); font-weight: 800; }
.hero .lede {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: 16px;
}
.hero .local-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.hero .local-line svg { flex-shrink: 0; color: var(--green-600); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface-alt); }
.section-head { margin-bottom: 36px; max-width: 62ch; }
.section-head h2 { font-size: 27px; margin-top: 10px; }
.section-head p { color: var(--ink-muted); margin-top: 10px; font-size: 16px; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--green-600);
  box-shadow: 0 12px 28px rgba(14, 39, 64, 0.08);
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--ink-muted); font-size: 14.5px; }

.segment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.segment-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.segment-card:hover {
  border-color: var(--green-600);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14, 39, 64, 0.08);
}
.segment-card .tag {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green-600);
}
.segment-card h3 { font-weight: 800; font-size: 17px; margin: 8px 0 6px; color: var(--ink); }
.segment-card p { font-size: 14px; color: var(--ink-muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.stat-row { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat .num {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-700);
}
@media (prefers-color-scheme: dark) { .stat .num { color: var(--green-600); } }
:root[data-theme="dark"] .stat .num { color: var(--green-600); }
:root[data-theme="light"] .stat .num { color: var(--navy-700); }
.stat .label { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }

.placeholder-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--surface-alt), var(--surface-alt) 12px, var(--surface) 12px, var(--surface) 24px);
  border: 1px dashed var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  padding: 20px;
}

.video-card {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(14, 39, 64, 0.1);
}

/* ---------- final CTA band ---------- */
.cta-band {
  background: var(--navy-700);
  color: white;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: white; font-size: 26px; margin-bottom: 12px; }
.cta-band p { color: #C9D6E6; margin-bottom: 24px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-outline { color: white; border-color: rgba(255,255,255,.5); }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--surface);
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer-col a { display: block; text-decoration: none; color: var(--ink-muted); margin-bottom: 9px; }
.footer-logo { height: 92px; width: auto; margin-bottom: 16px; }
.footer-logo.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .footer-logo.logo-light { display: none; }
  .footer-logo.logo-dark { display: block; }
}
:root[data-theme="dark"] .footer-logo.logo-light { display: none; }
:root[data-theme="dark"] .footer-logo.logo-dark { display: block; }
:root[data-theme="light"] .footer-logo.logo-light { display: block; }
:root[data-theme="light"] .footer-logo.logo-dark { display: none; }
@media (max-width: 480px) { .footer-logo { height: 76px; } }
.footer-col a:hover { color: var(--green-600); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--ink-faint);
}

/* ---------- whatsapp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 50;
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-700); color: white; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq-flag {
  display: inline-block;
  margin-left: 10px;
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 999px;
  padding: 3px 10px;
  vertical-align: middle;
}
.faq-list { display: grid; gap: 12px; max-width: 760px; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .2s ease;
}
details.faq-item[open] { border-color: var(--green-600); }
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--green-600);
  flex-shrink: 0;
  transition: transform .2s ease;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- timeline (história) ---------- */
.timeline { display: grid; gap: 0; max-width: 700px; }
.timeline-item {
  position: relative;
  padding: 0 0 34px 34px;
  border-left: 2px solid var(--line);
  margin-left: 8px;
}
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-600);
  border: 3px solid var(--bg);
}
.timeline-item .tl-tag {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green-600);
}
.timeline-item h3 { font-size: 18px; margin: 6px 0 8px; }
.timeline-item p { color: var(--ink-muted); font-size: 15px; }

/* ---------- blog pillar cards ---------- */
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-600);
  box-shadow: 0 12px 28px rgba(14, 39, 64, 0.08);
}
.pillar-card h2 { font-size: 19px; margin: 8px 0 8px; }
.pillar-card > p { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 14px; }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.topic-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-muted);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.badge-soon {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* ---------- checklist ---------- */
ul.check-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
ul.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-muted);
  font-size: 15px;
}
ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--green-100);
}
ul.check-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

/* ---------- quote / depoimento placeholder ---------- */
.quote-placeholder {
  border: 1px dashed var(--ink-faint);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink-faint);
  font-size: 14px;
  background: var(--surface);
}

/* ---------- info card (hero/sidebar graphic) ---------- */
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 24px 50px rgba(14, 39, 64, 0.07);
}
.info-card .ic-label {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 22px;
}
.info-card .ic-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.info-card .ic-row:last-of-type { border-bottom: none; }
.info-card .ic-name { font-size: 14.5px; color: var(--ink-muted); }
.info-card .ic-value { font-size: 15px; font-weight: 700; color: var(--ink); text-align: right; }
.info-card .ic-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-card .ic-step:last-of-type { border-bottom: none; }
.info-card .ic-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--green-100);
  color: var(--green-600);
  font-weight: 800;
  font-size: 13.5px;
  display: flex; align-items: center; justify-content: center;
}
.info-card .ic-step-text { font-size: 14.5px; color: var(--ink-muted); }
.info-card .ic-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.info-card .ic-arrow { color: var(--green-600); font-weight: 700; }

/* ---------- article body (blog posts) ---------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.article-body { max-width: 720px; font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.article-body p { margin: 0 0 18px; }
.article-body h2 { font-size: 23px; margin: 44px 0 14px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 18px; margin: 26px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-muted); }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--green-600); font-weight: 600; }
.article-body strong { color: var(--ink); }
.article-body .table-wrap { overflow-x: auto; margin: 0 0 20px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; white-space: nowrap; }
.article-body th { font-family: 'Manrope', -apple-system, sans-serif; font-weight: 700; color: var(--ink); background: var(--surface-alt); }
.article-body td { color: var(--ink-muted); }
.article-body .callout {
  background: var(--green-100);
  border: 1px solid var(--green-600);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--ink);
}
.article-back { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--green-600); text-decoration: none; margin-bottom: 18px; }
.article-hero-img { float: right; width: 320px; max-width: 44%; height: auto; object-fit: cover; border-radius: var(--radius); margin: 4px 0 16px 28px; }
@media (max-width: 700px) { .article-hero-img { float: none; width: 100%; max-width: 100%; max-height: 260px; object-fit: cover; margin: 0 0 20px; } }

/* ---------- calculator form (native, replaces old dark-terminal iframe) ---------- */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 50px rgba(14, 39, 64, 0.07);
}
.calc-card + .calc-card { margin-top: 24px; }
#calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-card .field { display: flex; flex-direction: column; gap: 8px; }
.field-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: 'Work Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.field-check input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--green-600); }
.calc-card .field label {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}
.calc-card .field input, .calc-card .field select {
  font-family: 'Work Sans', -apple-system, sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.calc-card .field input:disabled { background: var(--surface-alt); color: var(--ink-faint); cursor: not-allowed; }
.calc-card .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234B5A72' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.calc-card .field input::placeholder { color: var(--ink-faint); }
.calc-card .field input:focus, .calc-card .field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}
.calc-card .error { font-size: 13.5px; color: #C0392B; display: none; }

#resultado {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
#resultado.show { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { #resultado { transition: none; } }
#resultado .valor {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
}
#resultado .valor b { color: var(--green-600); }
#resultado .detalhe {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}
#resultado .disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}
