@font-face {
    font-family: "DM Sans";
    src: url("fonts/dm-sans.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ink: #15283b;
    --muted: #506071;
    --blue: #164fc2;
    --blue-dark: #123987;
    --line: #d8e0e7;
    --wash: #f1f5f8;
    --mono: "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b85b00; outline-offset: 4px; }
:where(h1,h2,h3,h4,p,figure,ul) { margin: 0; }
h1,h2,h3,h4 { font-weight: 650; line-height: 1.08; }
h1 { font-size: clamp(3rem,5.35vw,5.35rem); letter-spacing: -.065em; }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(2rem,3.4vw,3.35rem); letter-spacing: -.052em; }
h3 { font-size: 1.38rem; letter-spacing: -.035em; }
h4 { font-size: 1.45rem; letter-spacing: -.035em; }
small { font-size: .81rem; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.glyph { width: 1.22em; height: 1.22em; flex-shrink: 0; vertical-align: middle; }
.wrap { width: min(1280px, 100% - clamp(40px,9vw,160px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -5rem; background: white; padding: .8rem; z-index: 20; }
.skip:focus { top: 1rem; }
.mast { background: white; border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 78px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #132234; flex-shrink: 0; }
.brand-mark { width: 39px; height: 33px; background: url("marca.png") -44px -27px / 126px 110px no-repeat; }
.brand-name { font-size: 1.63rem; line-height: 1; font-weight: 620; letter-spacing: -.065em; }
.mast nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(16px,2.4vw,36px); margin-inline: auto; }
.mast nav a { display: grid; align-items: center; position: relative; font-weight: 550; color: #384658; font-size: .91rem; }
.mast nav a.active, .mast nav a:hover { color: var(--blue); }
.mast nav a.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; background: var(--blue); border: 1px solid var(--blue); color: white; padding: .85rem 1.2rem; min-height: 48px; border-radius: 6px; font-size: .95rem; font-weight: 650; line-height: 1.3; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.head-cta { min-height: 41px; padding: .66rem .93rem; font-size: .83rem; }
.head-short { display: none; }
.menu-toggle { display: none; }
.hero { background: linear-gradient(110deg,#fff 12%,#fafbfd 100%); }
.hero-grid { display: grid; grid-template-columns: .99fr 1.01fr; align-items: center; gap: clamp(32px,4.5vw,80px); padding-block: clamp(64px,6vw,98px); }
.eyebrow { display: flex; align-items: center; gap: .62rem; margin-bottom: 1.15rem; color: #305075; font: 650 .72rem/1.5 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 17px; height: 3px; background: #e77718; }
.hero h1 { line-height: 1.005; }
.lead, .section-intro { color: var(--muted); font-size: 1.13rem; max-width: 54ch; }
.hero .lead { margin-top: 1.5rem; max-width: 42ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.85rem; }
.text-link,.back { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 650; }
.text-link:hover,.back:hover,footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.flow { position: relative; isolation: isolate; overflow: hidden; margin: 0; border-radius: 15px; border: 1px solid #c4d6e5; background-color: #eaf2fa; background-image: radial-gradient(#aec3d9 .85px, transparent 1px),linear-gradient(130deg,#f3f8fd,#e2edf8); background-size: 14px 14px,100% 100%; }
.flow figcaption { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; color: #325d91; }
.flow figcaption > .glyph { width: 21px; height: 21px; }
.flow-tag,.flow-legend,.file-top,.member-line small { font-family: var(--mono); }
.flow-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; }
.flow-tag i { width: 7px; height: 7px; border-radius: 50%; background: #3769bb; }
.flow-body { width: 100%; padding: 54px 24px 22px; }
.sheet-stack { position: relative; width: min(68%,282px); margin: 0 auto; }
.sheet-back { position: absolute; inset: 0; border-radius: 8px; border: 1px solid #245bad; }
.sheet-blue { transform: translate(-11px,-14px) rotate(-8deg); background: #5a90de; }
.sheet-orange { transform: translate(7px,-6px) rotate(5deg); background: #f3ac54; border-color: #d88a35; }
.member-sheet { position: relative; overflow: hidden; padding: 15px 18px 17px; background: white; border: 1px solid #88a9d1; border-radius: 8px; box-shadow: 0 7px 14px #274b7817; }
.file-top { display: flex; align-items: center; justify-content: space-between; font-size: .57rem; font-weight: 700; letter-spacing: .12em; color: #506476; border-bottom: 1px solid #e0e6ef; padding-bottom: 9px; }
.file-bars { width: 35px; height: 10px; background: repeating-linear-gradient(90deg,#6782a5 0 2px,transparent 2px 4px,#6782a5 4px 5px,transparent 5px 8px); }
.member-line { display: flex; align-items: center; gap: 11px; margin: 13px 0; }
.member-line small { display: block; color: #4e6580; font-size: .58rem; letter-spacing: .08em; }
.member-line strong { display: block; font-size: clamp(.95rem,1.5vw,1.25rem); letter-spacing: -.04em; }
.member-avatar { width: 42px; height: 45px; background: #deebfb; border: 1px solid #bfd6ed; border-radius: 5px; display: grid; justify-items: center; align-content: center; gap: 2px; }
.member-avatar i,.member-avatar::after { content: ""; display: block; background: #719ac9; }
.member-avatar i { width: 12px; height: 12px; border-radius: 50%; }
.member-avatar::after { width: 23px; height: 11px; border-radius: 12px 12px 3px 3px; }
.file-lines { display: flex; gap: 5px; }
.file-lines i { height: 3px; background: #d9e3ef; width: 32%; border-radius: 4px; }
.file-lines i:last-child { width: 14%; }
.branches { margin-top: 46px; position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.branches::before { content: ""; position: absolute; height: 26px; bottom: calc(100% + 21px); left: 50%; border-left: 1.5px solid #6d93c1; }
.branches::after { content: ""; position: absolute; bottom: calc(100% + 20px); left: calc((100% - 18px)/6); right: calc((100% - 18px)/6); border-top: 1.5px solid #6d93c1; }
.branch { position: relative; text-align: center; display: flex; align-items: center; flex-direction: column; padding: 12px 3px 10px; background: #ffffffed; border: 1px solid #becfe2; border-radius: 7px; }
.branch::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 21px; border-left: 1.5px solid #6d93c1; }
.branch::after { content: ""; position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: #688bb9; }
.branch span,.routine-icon,.product-icon { display: inline-grid; place-items: center; color: #2454a3; background: #e6effc; }
.branch span { width: 29px; height: 29px; margin-bottom: 6px; border-radius: 6px; }
.branch:nth-child(2) span,.orange,.product-icon.convenios-web { color: #985514; background: #fff0db; }
.branch:nth-child(3) span,.green,.product-icon.criacao-de-sites { color: #35724a; background: #e6f2df; }
.branch strong { font-size: .81rem; letter-spacing: -.02em; }
.branch small { color: #506176; font-size: .65rem; }
.flow-legend { margin: 0 22px 16px; display: flex; gap: 7px; align-items: center; color: #4a627d; font-size: .61rem; }
.legend-line { width: 17px; border-top: 1px dashed #587aa0; }
.section { padding-block: clamp(46px,5.6vw,84px); }
.module-band,.product-band { background: var(--wash); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: .65rem; }
.section-heading .text-link { padding-bottom: .28rem; }
.routine-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.routine-grid > a { position: relative; display: block; background: white; border: 1px solid var(--line); border-radius: 9px; padding: clamp(20px,2vw,31px); color: var(--ink); transition: border-color .15s; }
.routine-grid > a:hover,.client-card:has(a:hover) { border-color: #6b93cb; }
.routine-icon,.product-icon { width: 42px; height: 42px; border-radius: 8px; }
.routine-icon .glyph,.product-icon .glyph { width: 24px; height: 24px; }
.routine-grid h3 { margin: 1.15rem 0 .4rem; }
.routine-grid p,.product-list p { color: var(--muted); font-size: .95rem; }
.routine-arrow { color: #42618a; position: absolute; top: 22px; right: 20px; }
.client-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.client-grid.featured { grid-template-columns: repeat(4,minmax(0,1fr)); }
.client-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 7px; background: white; padding: 17px; }
.client-card img { flex: none; width: 63px; height: 55px; object-fit: contain; }
.client-card p { color: #5a6978; font-size: .71rem; margin-bottom: 4px; }
.client-card strong,.client-card a { font-size: .88rem; line-height: 1.35; font-weight: 620; color: var(--ink); display: inline; }
.client-card a:hover { color: var(--blue); text-decoration: underline; }
.client-card .glyph { color: var(--blue); width: .9em; height: .9em; }
.featured .client-card { flex-direction: column; align-items: flex-start; gap: 12px; }
.featured .client-card img { width: 82px; height: 55px; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,7vw,105px); }
.section-intro { margin: 1rem 0 1.4rem; }
.product-list a { color: var(--ink); display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 16px; padding: 24px 0; border-bottom: 1px solid #cbd6df; }
.product-list a:first-child { border-top: 1px solid #cbd6df; }
.product-list a:hover h3 { color: var(--blue); }
.product-list p { margin-top: .3rem; }
.product-list a > .glyph { color: var(--blue); }
.callout { background: #132f54; color: #fbfcff; }
.callout-inner { display: flex; gap: 30px; justify-content: space-between; align-items: center; padding-block: clamp(52px,6vw,88px); }
.eyebrow.light { color: #c4d9f1; }
.callout h2 { margin-bottom: 1rem; }
.callout-inner > div > p:last-child { color: #c4d3e5; }
.btn.pale { background: white; border-color: white; color: #193e79; }
.btn.pale:hover { background: #def0ff; }
.foot-inner { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; padding-block: 26px; }
.foot-inner > span { color: var(--muted); font-size: .86rem; border-left: 1px solid var(--line); padding-left: 16px; }
.foot-inner > a:last-child { margin-left: auto; font-weight: 600; font-size: .87rem; }
.page-intro { padding-block: clamp(48px,6vw,94px); }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead,.contact-layout .lead { margin-top: 1.25rem; }
.back { margin-bottom: 2rem; }
/* ERP e composição abstrata do cadastro de sócios */
.erp-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,6vw,96px); align-items: center; padding-block: clamp(48px,6vw,90px); }
.erp-intro-copy .lead { margin-top: 1.25rem; max-width: 44ch; }
.member-records { width: 100%; min-width: 0; margin: 0; scroll-margin-top: 1.5rem; }
.member-records figcaption { padding: 1.15rem 0 0; }
.member-records figcaption h2 { font-size: clamp(1.35rem,2.2vw,1.95rem); letter-spacing: -.035em; }
.member-records figcaption p { margin-top: .5rem; max-width: 54ch; color: var(--muted); }
.record-sketch { container-type: inline-size; position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 1.78; min-height: 220px; border: 1px solid #c4d5e5; border-radius: 12px; background: radial-gradient(#bfd0e1 .85px,transparent 1px) 0 0 / 13px 13px, #eef4fa; }
.record-stack { position: absolute; inset: 0; }
.record-layer { position: absolute; width: 60%; border: 1px solid; border-radius: 7px; overflow: hidden; box-shadow: 0 5px 12px #20385413; }
.record-label { display: flex; align-items: center; gap: .5em; padding: .66em .8em; font-size: clamp(.83rem,3.5cqi,1.2rem); font-weight: 630; line-height: 1.2; white-space: nowrap; }
.record-label .glyph { flex: none; width: 1.1em; height: 1.1em; }
.record-finance { top: 10%; left: 31%; height: 56%; transform: rotate(3deg); background: #e1eddb; border-color: #a3bb98; color: #31583c; }
.record-family { top: 31%; left: 20%; height: 49%; transform: rotate(-1.5deg); background: #fbe7c9; border-color: #d8b589; color: #78501c; }
.record-main { top: 51%; left: 9%; height: 40%; background: white; border-color: #9ab5d6; }
.record-main .record-label { background: #173f78; color: white; }
.record-lines { display: grid; gap: .7rem; margin: .2rem 8% 0; }
.record-lines i { width: 84%; height: 4px; border-radius: 2px; background: currentColor; opacity: .22; }
.record-lines i:last-child { width: 58%; }
.record-fields { display: grid; grid-template-columns: 1fr .58fr; gap: clamp(5px,1.5cqi,9px); padding: clamp(8px,2.5cqi,15px); }
.record-fields i { display: block; height: clamp(4px,1.2cqi,7px); background: #dce6f2; border-radius: 2px; }
.record-fields i:last-child { width: 64%; }
.erp-area-nav { background: var(--wash); border-block: 1px solid var(--line); }
.erp-area-nav > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.erp-area-nav a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem clamp(.7rem,1.7vw,1.5rem); font-weight: 600; color: #334e72; border-inline-start: 1px solid var(--line); }
.erp-area-nav a:last-child { border-inline-end: 1px solid var(--line); }
.erp-area-nav a:hover,.erp-area-nav a:focus-visible { background: white; color: var(--blue); }
.erp-area { border-top: 1px solid var(--line); padding-block: clamp(28px,3.5vw,50px); scroll-margin-top: 24px; }
.erp-area:last-child { padding-bottom: 0; }
.erp-area-heading h3 { color: #234d85; font-size: clamp(1.5rem,2.65vw,2.25rem); }
.erp-area-heading p,.erp-area-modules p { margin-top: .6rem; color: var(--muted); line-height: 1.65; }
.erp-area-modules article,.erp-admin article { scroll-margin-top: 1.5rem; }
.erp-area-modules .text-link { margin-top: .65rem; }
.erp-admin article { margin-block: 1.55rem; }
@media (max-width: 800px) {
    .erp-intro { grid-template-columns: minmax(0,1fr); }
    .member-records { max-width: 600px; }
    .erp-area-nav > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .erp-area-nav a:nth-child(2) { border-inline-end: 1px solid var(--line); }
    .erp-area-nav a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
    .erp-area-nav a { font-size: .86rem; padding: .8rem .55rem; }
    .record-label { gap: .32em; }
    .record-main { width: 66%; left: 6%; }
}
.reading-title { max-width: 72ch; margin-bottom: clamp(24px,3vw,40px); }
.reading-title > p:last-child { margin-top: .9rem; color: var(--muted); font-size: 1.06rem; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(22px,3vw,46px); }
.case-grid > div { border-top: 2px solid #b6c9de; padding-top: 20px; }
.case-grid > div > .glyph { color: var(--blue); width: 1.7rem; height: 1.7rem; margin-bottom: 12px; }
.case-grid .product-icon { margin-bottom: 14px; }
.case-grid p,.reading-list p { color: var(--muted); line-height: 1.7; }
.case-grid p { margin-top: .55rem; }
.case-grid .text-link,.reading-list .text-link { margin-top: 1rem; }
.reading-list h3 { margin-bottom: .45rem; }
.reading-list p + h3 { margin-top: 1.55rem; }
.reading-list p + p { margin-top: 1rem; }
.product-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 2.2rem; border-bottom: 1px solid var(--line); }
.routine-more { margin-top: 1.5rem; }
.filter { max-width: 520px; margin-bottom: 2.2rem; }
.filter > div { display: flex; gap: 10px; }
.filter label,.field label { display: block; font-weight: 650; margin-bottom: 6px; }
input,select,textarea { width: 100%; min-width: 0; color: var(--ink); background: white; border: 1px solid #aebbc9; border-radius: 5px; padding: 9px 12px; }
textarea { resize: vertical; }
.directory-group + .directory-group { margin-top: 2.5rem; }
.directory-group h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,7vw,100px); align-items: start; padding-block: clamp(44px,6vw,90px); }
.contact-phone { display: flex; gap: 12px; align-items: flex-start; margin-top: 2rem; }
.contact-phone > .glyph { margin-top: 4px; color: var(--blue); }
.contact-phone small,.contact-phone span { display: block; color: var(--muted); }
.contact-phone a { font-weight: 650; }
.form-panel { border: 1px solid var(--line); border-radius: 11px; background: var(--wash); padding: clamp(22px,3vw,40px); }
.form-panel h2 { font-size: 1.8rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 14px; }
.field label small { font-weight: 450; color: #586575; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error,.validation-message { color: #912725; font-size: .9rem; }
.mail-notice { background: #fff4de; color: #644c2c; border-left: 3px solid #bc7315; padding: 12px 15px; margin-bottom: 1.25rem; font-size: .94rem; }
.mail-notice a { font-weight: 650; text-decoration: underline; }
.btn:disabled { background: #576978; border-color: #576978; cursor: default; }
.form-error { border-left: 3px solid #aa3632; padding: .5rem .8rem; margin-bottom: .9rem; }
.success > .glyph { margin-bottom: 1rem; color: #247549; width: 40px; height: 40px; }
.success a { margin-top: 1rem; }
@media (max-width: 990px) {
    .mast-inner { gap: 18px; }
    .mast nav { gap: 16px; }
    .hero-grid { gap: 25px; }
    .hero .actions { gap: .85rem; }
    .flow-body { padding-inline: 14px; }
    .branch strong { font-size: .76rem; }
    .client-grid,.client-grid.featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
    .case-grid { grid-template-columns: 1fr; }
    .mast-inner { flex-wrap: wrap; gap: 10px; min-height: 68px; padding-block: 13px; }
    .mast .head-cta { margin-left: auto; order: 1; }
    .mast nav { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 20px; }
    .mast nav a { padding-block: 8px; }
    .has-menu nav { display: none; }
    .has-menu.menu-open nav { display: flex; }
    .has-menu .menu-toggle { order: 2; display: inline-flex; align-items: center; gap: 5px; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 8px 9px; color: var(--ink); }
    .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 48px; }
    .hero h1 { font-size: clamp(3.25rem,8vw,4.65rem); }
    .flow { width: 100%; max-width: 610px; }
    .flow-body { padding-inline: 25px; }
    .routine-grid { gap: 10px; }
    .routine-grid > a { padding: 18px; }
    .split-section,.contact-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 580px) {
    .wrap { width: calc(100% - 36px); }
    .mast-inner { gap: 8px; }
    .brand { gap: 5px; }
    .brand-name { font-size: 1.3rem; }
    .brand-mark { width: 32px; height: 27px; background-size: 102px 90px; background-position: -36px -22px; }
    .head-cta { font-size: .76rem; min-height: 38px; padding: 8px; gap: 5px; }
    .head-long { display: none; }
    .head-short { display: inline; }
    .menu-toggle { font-size: .8rem; }
    .menu-toggle .glyph { width: 15px; }
    .hero-grid { padding-block: 38px; gap: 28px; }
    .hero h1 { font-size: clamp(2.9rem,10.4vw,3.9rem); }
    .hero .lead,.lead { font-size: 1.04rem; }
    .actions { gap: 13px; }
    .hero .actions { align-items: flex-start; }
    .flow figcaption { padding: 15px 16px 0; }
    .flow-body { padding: 34px 19px 12px; }
    .sheet-stack { width: min(84%,245px); }
    .branches { display: flex; flex-direction: column; gap: 6px; margin: 15px auto 0; width: 86%; padding-left: 15px; }
    .branches::after { display: none; }
    .branches::before { left: 0; top: -16px; bottom: 22px; height: auto; }
    .branch { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 9px; text-align: left; padding: 5px 9px; }
    .branch span { width: 25px; height: 25px; grid-row: span 2; margin: 0; }
    .branch span .glyph { width: 15px; }
    .branch strong { font-size: .8rem; }
    .branch small { line-height: 1.1; }
    .branch::before { left: -16px; bottom: 50%; height: 0; width: 15px; border: 0; border-top: 1.5px solid #6d93c1; }
    .branch::after { left: -3px; top: calc(50% - 3px); }
    .flow-legend { margin: 0 15px 12px; }
    .section-heading,.callout-inner { flex-direction: column; align-items: flex-start; }
    .routine-grid,.client-grid,.client-grid.featured { grid-template-columns: 1fr; }
    .featured .client-card { flex-direction: row; align-items: center; }
    .product-list a { gap: 10px; }
    .product-list h3 { font-size: 1.25rem; }
    .foot-inner { gap: 12px; }
    .foot-inner > a:last-child { width: 100%; margin-left: 0; }
    .form-panel { padding: 18px; }
}
@media (max-width: 365px) {
    .head-cta .glyph { display: none; }
    .mast-inner { gap: 5px; }
    .hero .actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { transition-duration: 0s !important; }
}
