@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #18232d;
  --muted: #596773;
  --soft: #f2f5f6;
  --paper: #fff;
  --line: #dce2e5;
  --night: #101820;
  --night-soft: #1c2a35;
  --accent: #d51634;
  --accent-dark: #a90d27;
  --radius: 10px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #087e8b; outline-offset: 3px; }
.container { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 99; padding: 10px 14px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgb(220 226 229 / 80%); background: rgb(255 255 255 / 96%); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.brand img { width: 39px; height: 39px; object-fit: contain; }
.brand-small { display: block; margin-top: 5px; color: #67737b; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { color: #37444d; text-decoration: none; font-size: 14px; font-weight: 600; }
.primary-nav a:hover, .footer-contact a:hover, .footer-links a:hover { color: var(--accent); }
.primary-nav .nav-cta { border-radius: 7px; padding: 11px 17px; background: var(--accent); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; overflow: hidden; padding: 84px 0 35px; background: var(--soft); }
.hero::after { content: ""; position: absolute; top: -210px; right: -260px; width: 650px; height: 650px; border: 1px solid #dfe5e7; border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 66px; }
.hero-copy { max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 22px; height: 2px; background: currentColor; flex-shrink: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
.hero h1 { max-width: 650px; margin-bottom: 22px; font-size: clamp(42px, 5.3vw, 68px); font-weight: 750; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-lede { max-width: 540px; margin-bottom: 27px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 19px; border: 1px solid transparent; border-radius: 7px; padding: 12px 17px; text-align: center; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-light { border-color: rgb(255 255 255 / 45%); background: transparent; color: white; }
.button-light:hover { background: white; color: var(--night); }
.text-link, .arrow-link { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-link:hover, .arrow-link:hover { color: var(--accent); }
.hero-note { margin: 15px 0 0; color: #6d7880; font-size: 12px; }

.workflow { position: relative; z-index: 1; min-height: 370px; overflow: hidden; border: 1px solid #34434e; border-radius: var(--radius); background: var(--night); color: white; box-shadow: 0 22px 50px rgb(16 24 32 / 14%); }
.workflow-top, .workflow-bottom { display: flex; align-items: center; gap: 9px; padding: 17px 20px; color: #c4cdd2; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.workflow-top { border-bottom: 1px solid rgb(255 255 255 / 10%); }
.live-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.workflow-year { margin-left: auto; color: #81909a; }
.workflow-core { position: relative; min-height: 282px; display: grid; place-items: center; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgb(255 255 255 / 11%); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 230px; height: 230px; }
.orbit-two { width: 160px; height: 160px; border-style: dashed; }
.system-node { position: relative; z-index: 2; width: 124px; height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #4b5a65; border-radius: 50%; background: #1b2933; text-align: center; }
.system-node img { width: 32px; height: 27px; object-fit: contain; filter: brightness(0) invert(1); }
.system-node > span { margin-top: 5px; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -.05em; }
.system-node small { color: #9daab2; font-size: 8px; }
.flow-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; border: 1px solid #43515a; border-radius: 6px; padding: 9px 11px; background: #202e38; color: #edf1f2; font-size: 11px; font-weight: 700; box-shadow: 0 8px 20px rgb(0 0 0 / 20%); }
.flow-symbol { color: #ee7182; font-size: 8px; font-weight: 800; }
.flow-sales { top: 29px; left: 50%; transform: translateX(-50%); }
.flow-stock { top: 50%; right: 19px; transform: translateY(-50%); }
.flow-fiscal { bottom: 29px; left: 50%; transform: translateX(-50%); }
.flow-finance { top: 50%; left: 19px; transform: translateY(-50%); }
.workflow-bottom { border-top: 1px solid rgb(255 255 255 / 10%); font-size: 9px; letter-spacing: .02em; }
.workflow-line { flex: 1; height: 1px; background: #4d5d67; }
.hero-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid #d9e0e3; }
.hero-proof > div { display: flex; flex-direction: column; gap: 2px; padding: 19px 24px 0 0; }
.hero-proof strong { font-size: 14px; }
.hero-proof span { color: var(--muted); font-size: 12px; }

.section { padding: 108px 0; }
.section-heading { max-width: 720px; margin-bottom: 54px; }
.section-heading h2, .support-grid h2, .content-intro h2, .fiscal-copy h2, .final-cta h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 49px); }
.section-heading > p:last-child, .content-intro > p:not(.eyebrow) { max-width: 590px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.system-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: start; }
.system-intro { padding: 28px 0 0; }
.system-index { color: #77858d; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.system-intro h3 { max-width: 380px; margin: 20px 0 17px; font-size: 31px; }
.system-intro p { max-width: 370px; margin-bottom: 26px; color: var(--muted); }
.arrow-link { display: inline-flex; align-items: center; gap: 13px; border-bottom: 1px solid #9da8ae; padding-bottom: 6px; }
.capability-list { border-top: 1px solid var(--line); }
.capability-item { border-bottom: 1px solid var(--line); }
.capability-row { min-height: 91px; display: grid; grid-template-columns: 42px 1fr 22px; align-items: center; gap: 15px; cursor: pointer; list-style: none; }
.capability-row::-webkit-details-marker { display: none; }
.capability-row::marker { content: ""; }
.capability-number { align-self: start; padding-top: 28px; color: var(--accent); font-size: 10px; font-weight: 800; }
.capability-copy { display: grid; gap: 5px; }
.capability-copy strong { font-size: 17px; letter-spacing: -.02em; }
.capability-copy > span { color: var(--muted); font-size: 13px; }
.capability-arrow { color: #7c8990; font-size: 23px; line-height: 1; transition: transform .2s ease, color .2s ease; }
.capability-item[open] .capability-arrow { color: var(--accent); transform: rotate(90deg); }
.capability-detail { padding: 0 40px 22px 57px; color: var(--muted); font-size: 13px; }
.capability-detail p { max-width: 580px; margin: 0; }
.capability-detail a { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--accent-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.capability-row:focus-visible { outline-offset: -3px; }

.fiscal-section { padding: 90px 0; background: var(--night); color: white; }
.fiscal-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.fiscal-stamp { width: 275px; height: 275px; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-self: center; border: 1px solid #52616b; border-radius: 50%; outline: 1px dashed #52616b; outline-offset: 12px; text-align: center; }
.fiscal-stamp span { color: #c4cdd2; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.fiscal-stamp strong { margin: 4px 0 8px; color: #fff; font-size: 46px; letter-spacing: -.07em; }
.fiscal-stamp small { max-width: 150px; color: #aab5bb; font-size: 8px; letter-spacing: .14em; }
.fiscal-copy { max-width: 590px; }
.fiscal-copy > p:not(.eyebrow) { max-width: 550px; margin: 0 0 25px; color: #c3cdd2; }
.fiscal-copy .eyebrow { color: #ff7184; }

.application-section { background: #f4f6f7; }
.section-heading-wide { max-width: 800px; }
.application-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: stretch; gap: 0; border-top: 1px solid #ccd5d9; border-bottom: 1px solid #ccd5d9; }
.application-item { min-height: 290px; display: flex; flex-direction: column; padding: 28px 28px 24px; text-decoration: none; transition: background .2s ease; }
.application-item + .application-item { border-left: 1px solid #ccd5d9; }
.application-item:hover { background: #fff; }
.application-tag { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.application-item h3 { margin: 42px 0 12px; font-size: 27px; }
.application-item p { max-width: 290px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.application-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--ink); font-size: 12px; font-weight: 700; }
.application-more b { color: var(--accent); font-size: 16px; }

.support-section { padding: 86px 0; border-bottom: 1px solid #34424b; background: #e9edef; }
.support-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: start; }
.support-grid h2 { max-width: 540px; margin-bottom: 0; }
.support-copy > p:first-child { max-width: 490px; color: var(--muted); }
.support-hours { margin: 15px 0 0; color: #69777f; font-size: 12px; }

.content-section { padding-top: 92px; padding-bottom: 95px; }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.content-intro h2 { font-size: 39px; }
.content-intro .arrow-link { margin-top: 25px; }
.article-links { border-top: 1px solid var(--line); }
.article-links > a { position: relative; display: block; border-bottom: 1px solid var(--line); padding: 19px 44px 20px 0; text-decoration: none; }
.article-links > a > span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.article-links h3 { margin: 7px 0 0; font-size: 19px; letter-spacing: -.02em; }
.article-links b { position: absolute; top: 32px; right: 6px; color: #69777f; }
.article-links > a:hover h3 { color: var(--accent-dark); }

.final-cta { padding: 60px 0; background: #f4f6f7; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { margin-bottom: 10px; font-size: 34px; }
.final-cta p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.final-cta .eyebrow { margin-bottom: 12px; }
.site-footer { background: var(--night); color: white; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 70px; padding-top: 55px; padding-bottom: 48px; }
.site-footer .brand { color: white; }
.site-footer .brand-small { color: #aab5bb; }
.footer-brand p { max-width: 330px; margin: 18px 0 0; color: #aab5bb; font-size: 13px; }
.footer-contact, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-contact h2, .footer-links h2 { margin: 0 0 6px; font-size: 14px; letter-spacing: 0; }
.footer-contact a, .footer-links a { color: #c0c9ce; text-decoration: none; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #33414b; padding-top: 16px; padding-bottom: 18px; color: #89969e; font-size: 11px; }
.whatsapp-float { position: fixed; z-index: 19; right: 22px; bottom: 22px; width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: #177d5a; color: white; box-shadow: 0 7px 24px rgb(16 24 32 / 20%); text-decoration: none; font-size: 15px; font-weight: 800; }
.whatsapp-float:hover { background: #126847; transform: translateY(-2px); }

/* Secondary pages */
.page-hero { padding: 78px 0 72px; background: var(--soft); }
.page-hero .eyebrow { margin-bottom: 17px; }
.page-hero h1 { max-width: 820px; margin-bottom: 18px; font-size: clamp(40px, 5vw, 62px); }
.page-hero > .container > p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.detail-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 84px; }
.detail-copy h2, .article-body h2 { margin: 0 0 18px; font-size: 30px; }
.detail-copy p, .article-body p { max-width: 720px; color: var(--muted); }
.detail-aside { border-left: 2px solid var(--accent); padding: 8px 0 8px 25px; }
.detail-aside h2 { margin-bottom: 12px; font-size: 17px; letter-spacing: -.02em; }
.detail-aside ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.detail-aside li + li { margin-top: 8px; }
.detail-cta { margin-top: 32px; }
.article-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; min-height: 255px; border-top: 2px solid var(--ink); padding: 17px 0; text-decoration: none; }
.article-card span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.article-card h2 { margin: 24px 0 12px; font-size: 23px; }
.article-card p { margin-bottom: auto; color: var(--muted); font-size: 14px; }
.article-card b { margin-top: 20px; font-size: 13px; }
.article-card:hover h2 { color: var(--accent-dark); }
.article-meta { margin-bottom: 27px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-body { max-width: 760px; }
.article-body h2 { margin-top: 34px; font-size: 27px; }
.article-body p { font-size: 17px; line-height: 1.8; }
.article-body ul { padding-left: 22px; color: var(--muted); }
.article-body li + li { margin-top: 8px; }
.article-callout { margin-top: 45px; border-left: 2px solid var(--accent); padding: 2px 0 2px 22px; }
.article-callout p { margin-bottom: 15px; color: var(--ink); }

/* Version history */
.history-content { max-width: 900px; }
.history-intro { max-width: 760px; margin: 0 0 35px; color: var(--muted); }
.history-list { border-top: 1px solid var(--line); }
.history-entry { border-bottom: 1px solid var(--line); }
.history-entry summary { min-height: 82px; display: grid; grid-template-columns: 130px 1fr 28px; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.history-entry summary::-webkit-details-marker { display: none; }
.history-date { color: var(--accent); font-size: 12px; font-weight: 800; }
.history-label { font-size: 16px; font-weight: 700; }
.history-marker { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 17px; line-height: 1; transition: transform .2s ease, background .2s ease; }
.history-entry[open] .history-marker { transform: rotate(45deg); background: var(--soft); }
.history-entry ul { margin: 0; padding: 0 46px 24px 148px; color: var(--muted); font-size: 14px; }
.history-entry li + li { margin-top: 9px; }
.history-loader { padding-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.history-load-status { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.history-load-more { min-width: 230px; cursor: pointer; }
.history-load-more[disabled] { cursor: wait; opacity: .7; }
.history-load-more[hidden] { display: none; }
.history-contact { margin-top: 42px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 25px; background: var(--soft); }
.history-contact h2 { margin: 0 0 8px; font-size: 22px; }
.history-contact p { max-width: 540px; margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { max-width: 720px; }
  .workflow { max-width: 640px; width: 100%; }
  .system-layout, .fiscal-grid, .support-grid, .content-grid, .detail-layout { grid-template-columns: 1fr; gap: 42px; }
  .fiscal-stamp { justify-self: start; width: 220px; height: 220px; }
  .footer-main { gap: 38px; }
}
@media (max-width: 700px) {
  .container { width: min(var(--wrap), calc(100% - 36px)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 18px 18px; background: white; }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 4px; }
  .primary-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(39px, 11vw, 54px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 40px; }
  .hero-proof > div { border-bottom: 1px solid #d9e0e3; padding: 13px 0; }
  .workflow { min-height: 330px; }
  .workflow-core { min-height: 244px; }
  .orbit-one { width: 195px; height: 195px; }
  .orbit-two { width: 140px; height: 140px; }
  .system-node { width: 108px; height: 108px; }
  .flow-sales { top: 20px; }
  .flow-fiscal { bottom: 20px; }
  .flow-stock { right: 7px; }
  .flow-finance { left: 7px; }
  .flow-node { padding: 8px; font-size: 9px; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .support-grid h2, .content-intro h2, .fiscal-copy h2 { font-size: 35px; }
  .system-layout { gap: 32px; }
  .capability-row { grid-template-columns: 28px 1fr 18px; gap: 10px; }
  .capability-copy > span { max-width: 310px; }
  .capability-detail { padding: 0 22px 20px 38px; font-size: 12px; }
  .fiscal-section { padding: 70px 0; }
  .application-grid { grid-template-columns: 1fr; }
  .application-item { min-height: 230px; padding-inline: 4px; }
  .application-item + .application-item { border-top: 1px solid #ccd5d9; border-left: 0; }
  .application-item h3 { margin-top: 28px; }
  .support-section { padding: 70px 0; }
  .final-cta { padding: 48px 0; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .final-cta h2 { font-size: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { gap: 15px; flex-wrap: wrap; }
  .page-hero { padding: 58px 0; }
  .page-hero h1 { font-size: 42px; }
  .page-hero > .container > p:last-child { font-size: 16px; }
  .detail-layout { gap: 34px; }
  .article-index { grid-template-columns: 1fr; gap: 0; }
  .article-card { min-height: 215px; border-bottom: 1px solid var(--line); }
  .article-body p { font-size: 16px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .history-entry summary { grid-template-columns: 1fr 28px; gap: 4px 12px; padding: 14px 0; }
  .history-date { grid-column: 1; }
  .history-label { grid-column: 1; grid-row: 2; font-size: 14px; }
  .history-marker { grid-column: 2; grid-row: 1 / 3; }
  .history-entry ul { padding: 0 0 22px 18px; font-size: 13px; }
  .history-contact { align-items: flex-start; flex-direction: column; padding: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Site-v3: expressivo e editorial, mantendo a estrutura leve da versão estática. */
:root { --display: 'Montserrat', Arial, sans-serif; --serif: Georgia, 'Times New Roman', serif; --radius: 12px; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-bold.woff2') format('woff2'); font-style: normal; font-weight: 700 900; font-display: swap; }
body { font-family: var(--display); font-size: 15px; line-height: 1.7; }
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2, h3 { letter-spacing: -.055em; font-weight: 700; }
h1 em, h2 em, h3 em, .proof-lead em { color: inherit; font-family: var(--serif); font-style: italic; font-weight: 400; }
.container { width: min(1240px, calc(100% - 64px)); }
.site-header { background: rgb(255 255 255 / 92%); }
.nav-wrap { min-height: 82px; }
.brand { letter-spacing: -.06em; }
.brand > span { font-size: 20px; }
.primary-nav { gap: clamp(16px, 2.2vw, 32px); }
.primary-nav a { font-size: 12px; letter-spacing: .015em; }
.primary-nav .nav-cta { border-radius: 999px; padding: 11px 20px; }
.button { min-height: 52px; border-radius: 999px; padding: 13px 22px; font-size: 12px; letter-spacing: .015em; }
.hero-home { min-height: min(780px, calc(100svh - 82px)); display: flex; align-items: center; padding: 100px 0 100px; background: #111820; color: #fff; }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 62% center; opacity: .74; }
.hero-shade { background: linear-gradient(90deg, rgb(13 20 26 / 92%) 0%, rgb(13 20 26 / 72%) 42%, rgb(13 20 26 / 16%) 100%), linear-gradient(0deg, rgb(13 20 26 / 28%), transparent 40%); }
.hero-home::after { display: none; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: end; min-height: 480px; }
.hero-home .hero-copy { max-width: 810px; }
.hero-home .eyebrow { color: #f1a4af; font-size: 10px; letter-spacing: .16em; }
.hero-home h1 { max-width: 900px; margin-bottom: 23px; font-size: clamp(58px, 8.4vw, 112px); font-weight: 700; line-height: .99; letter-spacing: -.075em; }
.hero-home h1 em { color: #f5b8c0; }
.hero-home .hero-lede { max-width: 620px; margin-bottom: 28px; color: rgb(255 255 255 / 82%); font-size: clamp(16px, 1.55vw, 20px); line-height: 1.65; }
.hero-home .button-primary { background: #d51634; }
.hero-home .text-link-light { color: white; }
.hero-note { color: rgb(255 255 255 / 65%); }
.hero-scroll { position: absolute; z-index: 3; left: max(32px, calc((100% - 1240px) / 2)); bottom: 32px; display: flex; gap: 12px; align-items: center; color: white; font-size: 9px; letter-spacing: .15em; text-decoration: none; }
.hero-scroll b { font-size: 18px; font-weight: 400; }
.proof-strip { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 28px; align-items: center; padding: 34px max(32px, calc((100% - 1240px)/2)); border-bottom: 1px solid var(--line); background: #f5f6f4; }
.proof-lead { font-size: 15px; font-weight: 700; line-height: 1.25; }
.proof-lead em { color: var(--accent); }
.proof-item { min-height: 52px; display: grid; align-content: center; gap: 3px; border-left: 1px solid #d7dcdd; padding-left: 20px; }
.proof-item strong { font-size: 17px; letter-spacing: -.04em; }
.proof-item span { max-width: 220px; color: var(--muted); font-family: Arial, sans-serif; font-size: 11px; line-height: 1.45; }
.section { padding: clamp(48px, 5vw, 76px) 0; }
.system-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 9vw, 140px); }
.system-intro { position: static; top: auto; align-self: start; padding-top: 0; }
.system-intro h2, .section-heading h2, .content-intro h2 { max-width: 650px; margin-bottom: 24px; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
.system-intro h2 em, .section-heading h2 em, .content-intro h2 em { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }
.system-intro > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .content-intro > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-family: Arial, sans-serif; font-size: 15px; line-height: 1.65; }
.arrow-link { display: inline-flex; gap: 12px; margin-top: 18px; font-size: 12px; }
.capability-item { border-top: 1px solid var(--line); }
.capability-item:last-child { border-bottom: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 46px 1fr 28px; gap: 16px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.capability-row::-webkit-details-marker { display: none; }
.capability-number { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.capability-copy { display: grid; gap: 3px; }
.capability-copy strong { font-size: 19px; letter-spacing: -.045em; font-weight: 700; }
.capability-copy > span { color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; line-height: 1.5; }
.capability-arrow { justify-self: end; color: var(--accent); font-size: 27px; transition: transform .2s ease; }
.capability-item[open] .capability-arrow { transform: rotate(90deg); }
.capability-detail { padding: 0 48px 24px 62px; color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.capability-detail p { margin-bottom: 9px; }
.capability-detail a { color: var(--accent); font-family: var(--display); font-size: 11px; font-weight: 700; text-decoration: none; }
.fiscal-section { overflow: hidden; padding: clamp(48px, 6vw, 80px) 0; background: var(--night); color: white; }
.fiscal-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(48px, 10vw, 150px); }
.fiscal-image-wrap { position: relative; height: clamp(330px, 42vw, 560px); overflow: hidden; background: #26343b; }
.fiscal-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .72; }
.fiscal-image-wrap::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgb(7 12 15 / 55%), transparent 50%); }
.image-caption { position: absolute; z-index: 1; left: 24px; bottom: 22px; color: white; font-size: 9px; letter-spacing: .15em; }
.fiscal-copy .eyebrow, .support-copy .eyebrow { color: #f1a4af; }
.fiscal-copy h2, .support-copy h2 { max-width: 680px; margin-bottom: 22px; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
.fiscal-copy h2 em, .support-copy h2 em, .final-cta h2 em { color: #f5b8c0; font-family: var(--serif); font-style: italic; font-weight: 400; }
.fiscal-copy > p:not(.eyebrow), .support-copy > p:not(.eyebrow) { max-width: 500px; margin-bottom: 26px; color: #c3ccd0; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.65; }
.application-section { background: #f5f6f4; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.application-item { min-height: 355px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 42px); border: 1px solid #e0e3e1; background: #fff; color: var(--ink); text-decoration: none; transition: transform .28s ease, box-shadow .28s ease; }
.application-item:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgb(20 32 40 / 9%); }
.application-tag { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.application-item h2, .application-item h3 { margin: 76px 0 12px; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.045em; font-weight: 700; }
.application-item p { max-width: 300px; color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; line-height: 1.6; }
.application-more { display: flex; gap: 15px; margin-top: auto; padding-top: 25px; font-size: 11px; font-weight: 700; }
.application-more b { color: var(--accent); }
.support-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; background: #131c23; color: white; }
.support-photo-wrap { position: relative; min-height: 480px; overflow: hidden; background: #1d2a32; }
.support-photo-wrap img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .63; }
.support-photo-wrap::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, transparent 65%, #131c23); }
.support-stamp { position: absolute; z-index: 1; bottom: 35px; left: 38px; display: grid; width: 96px; height: 96px; place-content: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; color: white; font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-align: center; }
.support-copy { align-self: center; padding: 70px clamp(32px, 7vw, 110px); }
.content-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 130px); }
.article-links { border-top: 1px solid var(--line); }
.article-links a { position: relative; display: block; padding: 26px 52px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-links a > span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.article-links h3 { max-width: 510px; margin: 8px 0 0; font-size: clamp(19px, 2.2vw, 27px); letter-spacing: -.03em; font-weight: 700; }
.article-links b { position: absolute; right: 4px; top: 44%; color: var(--accent); font-size: 18px; }
.final-cta { padding: clamp(70px, 9vw, 120px) 0; background: #1c2932; color: white; }
.final-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.final-cta h2 { max-width: 700px; margin: 0 0 17px; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
.final-cta-inner > div > p:not(.eyebrow) { max-width: 520px; color: #c3ccd0; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.65; }
.site-footer { padding-top: 64px; background: #101820; color: white; }
.site-footer .brand { color: white; }
.site-footer .brand-small { color: #aab5ba; }
.site-footer .footer-brand p { max-width: 300px; color: #adb8be; font-family: Arial, sans-serif; font-size: 12px; }
.site-footer h2 { margin-bottom: 16px; font-size: 12px; letter-spacing: -.01em; }
.site-footer a:not(.brand) { color: #c7d0d4; font-family: Arial, sans-serif; font-size: 12px; text-decoration: none; }
.footer-main { padding-bottom: 45px; }
.footer-bottom { border-color: #34414a; color: #9eabb1; font-family: Arial, sans-serif; font-size: 10px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 54px; height: 54px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: #17a968; color: white; text-decoration: none; box-shadow: 0 5px 22px rgb(0 0 0 / 22%); }
.whatsapp-float svg { width: 25px; height: 25px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 54px; background: #111820; color: white; }
.page-hero .eyebrow { color: #f1a4af; }
.page-hero h1 { max-width: 900px; font-size: clamp(45px, 7vw, 88px); line-height: 1.01; }
.page-hero p:not(.eyebrow) { max-width: 680px; color: #d1d8db; font-family: Arial, sans-serif; font-size: 17px; }
.page-hero h1 em { color: #f5b8c0; font-family: var(--serif); font-style: italic; font-weight: 400; }
.detail-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; }
.detail-copy h2 { margin: 0 0 16px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.04em; font-weight: 700; }
.detail-aside h2 { margin-bottom: 12px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.detail-copy p, .detail-aside li { color: var(--muted); font-family: Arial, sans-serif; font-size: 14px; }
.detail-copy h2:not(:first-child) { margin-top: 48px; }
.detail-aside { align-self: start; padding: 28px; background: #f4f6f5; }
.detail-aside ul { margin-bottom: 0; padding-left: 19px; }
.detail-cta { margin-top: 12px; }
.history-content { max-width: 900px; }
.history-intro { max-width: 700px; margin-bottom: 40px; color: var(--muted); font-family: Arial, sans-serif; }
.history-entry { border-top: 1px solid var(--line); }
.history-entry:last-child { border-bottom: 1px solid var(--line); }
.history-entry summary { display: grid; grid-template-columns: 120px 1fr 30px; gap: 15px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; }
.history-entry summary::-webkit-details-marker { display: none; }
.history-date { color: var(--accent); font-size: 12px; font-weight: 700; }
.history-label { font-size: 14px; font-weight: 700; }
.history-marker { justify-self: end; color: var(--accent); font-size: 24px; }
.history-entry[open] .history-marker { transform: rotate(45deg); }
.history-entry ul { margin: 0 0 24px 135px; color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.history-loader { padding: 36px 0; text-align: center; }
.history-load-status { color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; }
.history-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; background: #f4f6f5; }
.history-contact h2 { margin-bottom: 5px; font-size: 23px; }
.history-contact p { margin: 0; color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; }
.history-load-more[hidden] { display: none; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { display: flex; min-height: 270px; flex-direction: column; padding: 26px; border: 1px solid var(--line); text-decoration: none; }
.blog-card:hover { border-color: var(--accent); }
.blog-card .eyebrow { font-size: 9px; }
.blog-card h2 { margin: 20px 0 12px; font-size: 25px; }
.blog-card p { color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.blog-card span:last-child { margin-top: auto; color: var(--accent); font-size: 11px; font-weight: 700; }
.article-body { max-width: 760px; }
.article-body h2 { margin: 46px 0 12px; font-size: 32px; }
.article-body p, .article-body li { color: #45525a; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.8; }
.article-body .article-lede { color: var(--ink); font-size: 20px; }
.article-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { display: flex; min-height: 310px; flex-direction: column; padding: 28px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.article-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.article-card > span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.article-card h2 { margin: 44px 0 12px; font-size: 25px; }
.article-card p { color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.article-card b { margin-top: auto; color: var(--accent); font-size: 11px; }
.article-meta { color: var(--accent); font-size: 10px !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.article-callout { margin-top: 38px; padding: 26px; background: #f4f6f5; }
.article-callout p { margin-bottom: 15px; }
@media (max-width: 850px) {
  .container { width: min(100% - 40px, 700px); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); background: white; }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 13px 4px; }
  .primary-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-home { min-height: 690px; min-height: min(760px, calc(100svh - 70px)); padding: 80px 0; }
  .hero-inner { min-height: 470px; }
  .hero-home h1 { font-size: clamp(53px, 11vw, 84px); }
  .proof-strip { grid-template-columns: repeat(3, 1fr); padding: 28px 24px; }
  .proof-lead { grid-column: 1 / -1; }
  .proof-item { padding-left: 12px; }
  .system-layout, .fiscal-grid, .content-layout { grid-template-columns: 1fr; gap: 44px; }
  .system-intro { position: static; }
  .application-grid { grid-template-columns: 1fr; }
  .application-item { min-height: 280px; }
  .application-item h3 { margin-top: 48px; }
  .support-section { grid-template-columns: 1fr; }
  .support-photo-wrap { min-height: 360px; }
  .support-photo-wrap::after { background: linear-gradient(0deg, #131c23, transparent 65%); }
  .support-copy { padding: 35px 24px 70px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-index { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .nav-wrap { min-height: 70px; }
  .hero-home { min-height: 660px; padding: 64px 0 82px; }
  .hero-photo { object-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(13 20 26 / 88%), rgb(13 20 26 / 46%)), linear-gradient(0deg, rgb(13 20 26 / 40%), transparent 55%); }
  .hero-home h1 { font-size: clamp(48px, 13vw, 68px); }
  .hero-home .hero-lede { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-scroll { left: 19px; right: auto; bottom: 25px; font-size: 8px; }
  .proof-strip { gap: 15px 8px; padding: 23px 18px; }
  .proof-item { border-left: 0; padding-left: 0; }
  .proof-item strong { font-size: 14px; }
  .proof-item span { font-size: 10px; }
  .section { padding: 76px 0; }
  .why-header h2,
  .download-cta-copy h2,
  .system-intro h2,
  .section-heading h2,
  .content-intro h2,
  .fiscal-copy h2,
  .support-copy h2,
  .final-cta h2 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.08;
    letter-spacing: -.05em;
  }
  .capability-row { grid-template-columns: 28px 1fr 22px; gap: 10px; padding: 20px 0; }
  .capability-copy strong { font-size: 16px; }
  .capability-copy > span { font-size: 11px; }
  .capability-detail { padding-left: 38px; }
  .fiscal-image-wrap { height: 290px; }
  .support-photo-wrap { min-height: 300px; }
  .history-entry summary { grid-template-columns: 86px 1fr 22px; gap: 8px; }
  .history-date { font-size: 10px; }
  .history-label { font-size: 12px; }
  .history-entry ul { margin-left: 95px; padding-left: 18px; }
  .history-contact { align-items: flex-start; flex-direction: column; padding: 23px; }
  .section { padding: 56px 0; }
  .fiscal-section { padding: 56px 0; }
  .page-hero { padding: 56px 0 42px; }
  .page-hero h1 { font-size: clamp(43px, 12vw, 61px); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Ajusta as principais telas de entrada à altura útil da janela em zoom 100%. */
.content-index-hero { min-height: 380px; display: flex; align-items: center; padding: 32px 0; }
@media (min-width: 851px) {
  .hero-home { padding: clamp(48px, 8vh, 88px) 0; }
  .hero-inner { min-height: 0; }
  .application-section,
  .content-section { min-height: calc(100svh - 82px); display: flex; align-items: center; padding: clamp(42px, 6vh, 68px) 0; }
  .application-section > .container { width: min(1240px, calc(100% - 64px)); }
  .section-heading { margin-bottom: 30px; }
  .application-item { min-height: 260px; padding: 28px; }
  .application-item h3 { margin-top: 42px; }
  .application-item p { margin-bottom: 16px; }
  .application-more { padding-top: 14px; }
  .content-layout { align-items: center; }
  .content-intro h2 { margin-bottom: 16px; font-size: clamp(38px, 4vw, 56px); }
  .article-links a { padding-top: 18px; padding-bottom: 18px; }
  .article-links b { top: 50%; transform: translateY(-50%); }
  .content-index-hero { min-height: 260px; padding: 26px 0; }
  .content-index-hero h1 { max-width: none; margin-bottom: 12px; font-size: clamp(44px, 5vw, 62px); }
  .content-index-hero p:not(.eyebrow) { font-size: 15px; }
  .content-index-section { padding: 30px 0; }
  .content-index-section .article-card { min-height: 230px; padding: 22px; }
  .content-index-section .article-card h2 { margin-top: 28px; font-size: 21px; }
  .application-detail-page .page-hero { padding: 42px 0 30px; }
  .application-detail-page .page-hero h1 { max-width: 980px; margin-bottom: 12px; font-size: clamp(44px, 5vw, 60px); }
  .application-detail-page .page-hero p:not(.eyebrow) { font-size: 15px; }
  .application-detail-page .section { padding: 34px 0; }
  .application-detail-page .detail-layout { gap: 48px; }
  .application-detail-page .detail-copy h2 { margin-bottom: 9px; font-size: clamp(24px, 2.5vw, 31px); }
  .application-detail-page .detail-copy h2:not(:first-child) { margin-top: 20px; }
  .application-detail-page .detail-copy p { margin-bottom: 10px; line-height: 1.55; }
  .application-detail-page .detail-aside { padding: 22px; }
  .application-detail-page .detail-cta { margin-top: 8px; }
  .system-page-hero { padding: 56px 0 42px; }
  .system-page-hero h1 { max-width: 980px; font-size: clamp(48px, 6vw, 76px); }
  .system-page-hero h1 em { color: #f5b8c0; }
  .system-page-section .container { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(48px, 8vw, 120px); }
  .system-page-heading { max-width: 430px; }
  .system-page-heading > p:last-child { color: var(--muted); font-family: Arial, sans-serif; font-size: 15px; }
  .system-page-section .capability-row { min-height: 82px; padding: 16px 0; }
  .system-page-links { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 8px; }
  .applications-index-hero { padding: 48px 0 26px; }
  .applications-index-hero h1 { max-width: 1080px; margin-bottom: 12px; font-size: clamp(44px, 5vw, 62px); }
  .applications-index-hero p:not(.eyebrow) { font-size: 15px; }
  .applications-index-section { padding: 30px 0; }
  .application-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .application-index-grid .application-item { min-height: 230px; padding: 22px; border: 1px solid var(--line); background: white; }
  .application-index-grid .application-item h2 { margin: 28px 0 12px; font-size: 21px; }
  .application-index-grid .application-item p { margin-bottom: 12px; }
  .application-index-grid .application-more { padding-top: 12px; }
}
@media (min-width: 851px) and (max-height: 800px) {
  .hero-home { min-height: calc(100svh - 82px); padding: 42px 0; }
  .hero-home h1 { font-size: clamp(52px, 6vw, 84px); margin-bottom: 16px; }
  .hero-home .hero-lede { margin-bottom: 18px; font-size: 17px; }
  .hero-note { margin-top: 10px; }
  .application-section,
  .content-section { padding-top: 38px; padding-bottom: 38px; }
  .application-item { min-height: 230px; }
  .content-index-hero { min-height: 260px; padding-top: 20px; padding-bottom: 20px; }
  .content-index-section { padding-top: 22px; padding-bottom: 22px; }
}
@media (max-width: 850px) {
  .system-page-section .container { grid-template-columns: 1fr; gap: 28px; }
  .system-page-links { grid-column: 1; }
  .application-index-grid { grid-template-columns: 1fr; }
  .application-index-grid .application-item { min-height: 200px; }
}
.application-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.application-index-grid .application-item { min-height: 230px; padding: 22px; border: 1px solid var(--line); background: white; }
.application-index-grid .application-item h2 { margin: 28px 0 12px; font-size: 21px; }
.application-index-grid .application-item p { margin-bottom: 12px; }
.application-index-grid .application-more { padding-top: 12px; }
.content-index-section .article-card h2 { margin-top: 28px; }
@media (max-width: 850px) {
  .application-index-grid { grid-template-columns: 1fr; }
  .content-index-section .article-card,
  .application-index-grid .application-item { min-height: 260px; padding: 22px; }
}

/* Lista original dos módulos e tarjas uniformes das páginas internas. */
.system-page-section .container { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(48px, 8vw, 120px); }
.system-page-heading { max-width: 430px; }
.system-page-heading > p:last-child { color: var(--muted); font-family: Arial, sans-serif; font-size: 15px; }
.system-page-section .capability-list { display: block; border-top: 1px solid var(--line); }
.system-page-section .capability-item { min-height: 0; display: block; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; background: transparent; }
.system-page-section .capability-item:last-child { border-bottom: 1px solid var(--line); }
.system-page-section .capability-row { min-height: 82px; padding: 16px 0; }
.system-page-section .capability-detail { padding: 0 40px 22px 57px; }
.system-page-links { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 8px; }
.system-page-links .arrow-link { margin: 0; }

@media (min-width: 851px) {
  .page-hero,
  .page-hero.content-index-hero,
  .page-hero.system-page-hero,
  .page-hero.applications-index-hero { height: 260px; min-height: 260px; display: flex; align-items: center; padding: 24px 0; }
  .page-hero h1 { max-width: 1120px; margin-bottom: 12px; font-size: clamp(42px, 4.5vw, 56px); line-height: 1.04; }
  .page-hero p:not(.eyebrow) { max-width: 780px; margin: 0; font-size: 15px; }
  .application-detail-page .page-hero { padding: 24px 0; }
  .application-detail-page .page-hero h1 { max-width: 1120px; margin-bottom: 12px; font-size: clamp(42px, 4.5vw, 56px); }
  .system-page-hero h1 { max-width: 1120px; font-size: clamp(42px, 4.5vw, 56px); }
  .applications-index-hero h1,
  .content-index-hero h1 { max-width: 1120px; font-size: clamp(42px, 4.5vw, 56px); }
  .system-page-heading { margin-bottom: 20px; }
}
@media (max-width: 850px) {
  .system-page-section .container { grid-template-columns: 1fr; gap: 28px; }
  .system-page-links { grid-column: 1; }
  .page-hero,
  .page-hero.content-index-hero,
  .page-hero.system-page-hero,
  .page-hero.applications-index-hero { height: auto; min-height: clamp(360px, 55svh, 420px); display: flex; align-items: center; padding: 30px 0; }
  .page-hero h1 { max-width: 100%; font-size: clamp(36px, 8.5vw, 50px); }
  .page-hero p:not(.eyebrow) { font-size: 15px; }
  .system-page-section .capability-list { display: block; }
  .system-page-section .capability-item { min-height: 0; }
  .system-page-section .capability-row { min-height: 82px; padding: 16px 0; }
  .system-page-section .capability-detail { padding: 0 0 22px 38px; }
}

/* Central de ferramentas, acessível por URL direta e fora da navegação pública. */
.tools-content { padding-top: 64px; padding-bottom: 90px; }
.tools-group + .tools-group { margin-top: 70px; }
.tools-group-heading { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.tools-number { min-width: 40px; padding-top: 7px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.tools-group-heading .eyebrow { margin-bottom: 8px; }
.tools-group-heading h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); }
.tools-grid { display: grid; gap: 16px; align-items: stretch; }
.tools-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tools-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tools-card { min-width: 0; min-height: 238px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); padding: 24px; background: #fff; }
.tools-card h3 { margin: 22px 0 10px; font-size: 21px; }
.tools-card p { color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; line-height: 1.65; }
.tools-card .button { margin-top: auto; }
.tools-filetype { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.tools-card-wide { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
.tools-card-wide h3 { margin-top: 0; }
.tools-card-wide p { margin-bottom: 0; }
.tools-card-wide .button { margin: 0; }
.button-secondary { border-color: var(--line); background: #f5f6f4; color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); background: white; color: var(--accent); }
.tools-inline-link { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--accent); font-size: 11px; font-weight: 700; text-decoration: none; }
.tools-link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.tools-link-list a { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.tools-link-list a span { color: var(--accent); }
.tools-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tools-boleto { padding-top: 4px; }
@media (max-width: 900px) {
  .tools-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tools-content { padding-top: 42px; padding-bottom: 64px; }
  .tools-group + .tools-group { margin-top: 50px; }
  .tools-group-heading { gap: 12px; }
  .tools-number { min-width: 30px; }
  .tools-grid-three, .tools-grid-two, .tools-link-list { grid-template-columns: 1fr; }
  .tools-card { min-height: 215px; padding: 22px; }
  .tools-card-wide { grid-template-columns: 1fr; gap: 20px; }
  .tools-actions { align-items: flex-start; flex-direction: column; }
}

/* Mantém os detalhes das versões alinhados ao início do resumo. */
.history-entry ul { margin: 0 45px 24px 135px; padding: 0; list-style: none; }
.history-entry li { position: relative; }
.history-entry li::before { content: "•"; position: absolute; left: -16px; color: var(--muted); }
.history-entry li + li { margin-top: 9px; }
@media (max-width: 850px) {
  .history-entry ul { margin: 0 30px 22px 0; padding: 0; }
  .history-entry li::before { content: none; }
}
@media (min-width: 851px) {
  .history-entry summary { grid-template-columns: 150px minmax(0, 1fr) 30px; gap: 18px; }
  .history-entry ul { margin-left: 168px; }
}

/* Chevron do histórico segue o mesmo sentido dos módulos do sistema. */
.history-marker { transform: none; transition: transform .2s ease, color .2s ease; }
.history-entry[open] .history-marker { transform: rotate(90deg); background: transparent; }

/* Espaço uniforme nas telas internas para acomodar a chamada principal. */
@media (min-width: 851px) {
  .page-hero,
  .page-hero.content-index-hero,
  .page-hero.system-page-hero,
  .page-hero.applications-index-hero { height: 260px; min-height: 260px; }
}

/* Mesmo acabamento e hover para todos os cards de navegação do site. */
.application-item,
.article-card {
  border-color: var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.application-item:hover,
.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 45px rgb(20 32 40 / 9%);
}
.application-item:focus-visible,
.article-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.article-card:hover h2 { color: var(--ink); }

.proof-item-link { color: inherit; text-decoration: none; transition: background-color .2s ease; }
.proof-item-link:hover strong { color: var(--accent); }
.proof-item-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }



.button-whatsapp { background: #17a968; color: #fff; }
.button-whatsapp:hover { background: #126847; color: #fff; }

/* Alinha o conteúdo expandido dos módulos à coluna do cabeçalho. */
.capability-detail,
.system-page-section .capability-detail { padding-left: 62px; }
@media (max-width: 560px) {
  .capability-detail,
  .system-page-section .capability-detail { padding-left: 38px; }
}

/* Identifica a seção atual do menu com o mesmo acento visual em todo o site. */
.primary-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--accent);
  font-weight: 800;
}
