/* Layout: coluna única de 1120px; o símbolo hexagonal da marca é o único grafismo e aparece grande no topo, cortado pela borda direita. */
:root {
  --surface: #f4f6f9; --surface-raised: #ffffff; --ink: #18212d; --muted: #4a5866;
  --line: #d5dce5; --border: #7a8796; --brand: #1e63d6; --brand-fill: #1e63d6; --on-brand: #ffffff;
  --tint: #dfe9fb; --accent: #1e63d6; --accent-ink: #1a55b8; --danger: #c2410c; --band: #18212d; --on-band: #eef2f7; --on-band-muted: #aeb9c6; --band-line: #2c3848; --band-accent: #6ea8ff;
  --mark-inner: #18212d; --ok: #1e7b4f; --ok-soft: #e2f3ea; --warn: #9a5b00; --warn-soft: #fff1d6;
  --font-display: Archivo, "Arial Narrow", Arial, sans-serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 72px;
  --r-sm: 4px; --r-md: 10px; --r-lg: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0e141d; --surface-raised: #161f2b; --ink: #eef2f7; --muted: #aeb9c6;
    --line: #273345; --border: #607084; --brand: #3d8bff; --brand-fill: #1e63d6; --on-brand: #ffffff;
    --tint: #172840; --accent: #3d8bff; --accent-ink: #6ea8ff; --danger: #f28b5b; --band: #161f2b; --on-band: #eef2f7; --on-band-muted: #aeb9c6; --band-line: #273345; --band-accent: #6ea8ff;
    --mark-inner: #aeb9c6; --ok: #4cc38a; --ok-soft: #12301f; --warn: #f2b54a; --warn-soft: #3a2a0c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0e141d; --surface-raised: #161f2b; --ink: #eef2f7; --muted: #aeb9c6;
  --line: #273345; --border: #607084; --brand: #3d8bff; --brand-fill: #1e63d6; --on-brand: #ffffff;
  --tint: #172840; --accent: #3d8bff; --accent-ink: #6ea8ff; --danger: #f28b5b; --band: #161f2b; --on-band: #eef2f7; --on-band-muted: #aeb9c6; --band-line: #273345; --band-accent: #6ea8ff;
  --mark-inner: #aeb9c6; --ok: #4cc38a; --ok-soft: #12301f; --warn: #f2b54a; --warn-soft: #3a2a0c;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
a { color: var(--brand); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* topo */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: 14px; }
.logo { display: block; height: 40px; width: auto; }
.top .wrap > a { text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.label1 { font-family: var(--font-mono); font-size: 10.5px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .label1 { font-size: 8px; letter-spacing: 0; } .top .wrap { gap: var(--s3); } }
.logo path { fill: none; }
.logo .m-out, .logo .w-bar { stroke: var(--brand); } .logo .m-in { stroke: var(--mark-inner); } .logo .w-ink { stroke: var(--ink); }
nav { display: flex; align-items: center; gap: var(--s4); }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
nav a:hover { text-decoration: underline; }
nav .links { display: flex; gap: var(--s4); }
.btn { display: inline-block; font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; padding: 12px 24px; border-radius: var(--r-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--brand-fill); color: var(--on-brand); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
nav .btn { padding: 8px 16px; font-size: 15px; color: var(--on-brand); }

/* abertura */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-block: 88px 96px; }
.hero-text { position: relative; max-width: 700px; display: flex; flex-direction: column; gap: var(--s4); }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.ring { position: absolute; right: -150px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); pointer-events: none; }
.ring path { fill: none; stroke-linejoin: miter; }
.ring .r-out { stroke: var(--tint); stroke-width: 14; }
.ring .r-in { stroke: var(--brand); stroke-width: 10; stroke-dasharray: 120; animation: fechar 1.2s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes fechar { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ring .r-in { animation: none; } html { scroll-behavior: auto; } }

/* faixa de termos */
.terms { border-block: 1px solid var(--line); }
.terms .wrap { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding-block: var(--s3); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

section { padding-block: var(--s6); }
.head { display: flex; flex-direction: column; gap: var(--s3); max-width: 720px; margin-bottom: var(--s5); }
h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
.muted { color: var(--muted); }

/* problema */
.band { background: var(--band); color: var(--on-band); }
.band .label { color: var(--band-accent); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.quote { padding: var(--s4); border: 1px solid var(--band-line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: var(--s2); }
.quote p { color: var(--on-band-muted); }
.quote.end { background: var(--brand-fill); border-color: var(--brand-fill); color: var(--on-brand); }
.quote.end p { color: var(--on-brand); }

/* serviços */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.card li { padding-block: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.card li span { color: var(--muted); font-size: 14px; line-height: 22px; }
.card li b { font-weight: 600; }

/* diagnóstico */
.diag { background: var(--tint); border-radius: var(--r-lg); padding: var(--s5); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.diag .label { color: var(--ink); }
.diag-text { display: flex; flex-direction: column; gap: var(--s3); }
.big { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 96px); line-height: .95; letter-spacing: -0.02em; }
.big small { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; display: block; margin-top: var(--s2); }
.check { margin: 0; padding: 0; list-style: none; background: var(--surface-raised); border-radius: var(--r-md); padding: var(--s2) var(--s4); }
.check li { padding-block: 12px; border-top: 1px solid var(--line); }
.check li:first-child { border-top: none; }

/* método */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: etapa; }
.step { border-top: 3px solid var(--ink); padding-top: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.step .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-ink); }
.step p { color: var(--muted); }

/* sobre */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.about > div { display: flex; flex-direction: column; gap: var(--s3); }
.about p { max-width: 62ch; }
.about .def { margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); font-style: italic; color: var(--ink); }
.about .def b { font-family: var(--font-display); font-style: normal; font-weight: 700; }
.about .def span { font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px var(--s4); font-size: 15px; align-content: start; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }

/* contato */
.cta { background: var(--brand-fill); color: var(--on-brand); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.cta h2 { font-size: clamp(32px, 5vw, 56px); }
.cta p { color: var(--on-brand); max-width: 48ch; margin-top: var(--s3); }
.contact { background: var(--surface-raised); color: var(--ink); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--line); padding-top: var(--s3); }
.row:first-of-type { border-top: none; padding-top: 0; }
.row div { min-width: 0; display: flex; flex-direction: column; }
.row .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.row .v { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.copy { font: inherit; font-size: 14px; font-weight: 600; background: transparent; color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.note { font-size: 14px; line-height: 22px; color: var(--muted); }
.cta-side { display: flex; flex-direction: column; gap: var(--s4); }
.cta-side p { margin-top: 0; }
.form { background: var(--surface-raised); color: var(--ink); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.form .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field .invalid { border-color: var(--danger); border-width: 2px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: default; }
.cta .form p { color: var(--ink); margin: 0; max-width: none; }
.cta .form .form-status:empty { display: none; }
.cta .form .form-status { font-weight: 600; }
.cta .form .form-note { font-size: 14px; line-height: 22px; color: var(--muted); }

/* cartões de serviço */
.svc { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--surface-raised) 55%, var(--tint)); border: 1px solid var(--line); border-radius: 14px; padding: var(--s5) var(--s4) var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.svc .badge { position: absolute; top: 16px; right: 16px; background: var(--brand-fill); color: var(--on-brand); font-size: 13px; font-weight: 600; line-height: 1; padding: 7px 12px; border-radius: 999px; }
.svc.alt .badge { background: var(--ink); color: var(--surface); }
.svc-t span { white-space: nowrap; }
.svc-t { display: flex; align-items: center; gap: 10px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; padding-right: 104px; color: var(--ink); }
.svc-t em { font-style: normal; color: var(--brand); white-space: nowrap; }
.svc-t::after { content: ""; flex: 1 1 40px; min-width: 20px; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); }
.svc-d { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.svc-l { font-weight: 600; margin-top: var(--s2); }
.svc-c { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--s3); }
.svc-c li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.svc-c svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 420px) { .svc-c { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .svc-t { font-size: 24px; padding-right: 0; margin-top: 28px; flex-wrap: wrap; } .svc-t::after { display: none; } }

/* painel do topo */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s5); align-items: center; }
.panel { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 13px; line-height: 1.4; }
.p-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--band); color: var(--on-band); }
.p-bar svg { width: 18px; height: 18px; flex: none; }
.p-bar svg path { fill: none; stroke-linejoin: miter; }
.p-bar .o { stroke: var(--band-accent); } .p-bar .i { stroke: var(--on-band-muted); }
.p-bar b { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.p-bar span { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-band-muted); border: 1px solid var(--band-line); border-radius: 999px; padding: 3px 9px; }
.p-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.p-col { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.p-col + .p-col { border-left: 1px solid var(--line); }
.p-h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); display: flex; justify-content: space-between; }
.p-h em { font-style: normal; color: var(--muted); }
.kp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kp div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; }
.kp small { display: block; font-size: 10.5px; color: var(--muted); }
.kp b { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.15; font-weight: 800; }
.hrs { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.hrs div { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.hrs div b { color: var(--ink); font-weight: 600; }
.hrs i { display: block; height: 6px; background: var(--tint); border-radius: 3px; overflow: hidden; }
.hrs i::before { content: ""; display: block; height: 100%; width: 65%; background: var(--brand); }
.tk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tk li { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 10px; display: flex; flex-direction: column; gap: 4px; }
.tk li > span:first-child { font-size: 12px; color: var(--ink); }
.tk .id { font-family: var(--font-mono); font-size: 11px; color: var(--brand); margin-right: 4px; }
.st { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.st.ok { background: var(--ok-soft); color: var(--ok); }
.st.wn { background: var(--warn-soft); color: var(--warn); }
.st.in { background: var(--tint); color: var(--brand); }
.env { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.env li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding-block: 7px; border-top: 1px solid var(--line); }
.env li:first-child { border-top: none; padding-top: 2px; }
.env .d { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.env .d.wn { background: var(--warn); }
.env b { font-weight: 600; font-size: 12.5px; }
.env span:last-child { font-size: 11.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.env .w { color: var(--warn); font-weight: 600; }
.p-foot { border-top: 1px solid var(--line); padding: 9px 14px; display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; font-size: 11.5px; color: var(--muted); background: var(--surface); }
.p-foot b { color: var(--ink); font-weight: 600; }
.p-cap { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.hero-panel { position: relative; }
.hero .ring { display: none; }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { max-width: 560px; }
}
@media (max-width: 480px) {
  .p-body { grid-template-columns: minmax(0, 1fr); }
  .p-col + .p-col { border-left: none; border-top: 1px solid var(--line); }
  .p-cap { text-align: left; }
}

/* aviso da release */
.notice { background: var(--band); color: var(--on-band); font-size: 14px; }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.notice b { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--band-accent); border: 1px solid var(--band-line); border-radius: 999px; padding: 2px 9px; }
.notice a { color: var(--on-band); font-weight: 600; }
.notice i.m { display: none; font-style: normal; }
@media (max-width: 560px) { .notice span { display: none; } .notice i.m { display: inline; } .notice .wrap { flex-wrap: nowrap; } }

/* informativo da release */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.rel-head .head { margin-bottom: 0; }
.ver { display: inline-flex; flex-direction: column; gap: 2px; background: var(--brand-fill); color: var(--on-brand); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.ver small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ver b { font-family: var(--font-display); font-size: 30px; line-height: 1.1; font-weight: 800; }
.ver span { font-size: 14px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.rel-card { background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.rel-card .code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.rel-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 22px; display: flex; flex-direction: column; gap: 6px; }
.rel-card li::marker { color: var(--brand); }
.rel-card code, .rel-low code { font-family: var(--font-mono); font-size: 12px; color: var(--ink); background: var(--tint); padding: 0 4px; border-radius: 3px; }
.rel-low { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s3); }
.rel-box { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.rel-box h3 { font-size: 18px; }
.req { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px var(--s3); font-size: 14px; }
.req dt { color: var(--muted); }
.req dd { margin: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 500; text-align: right; }
.rel-box .time li { grid-template-columns: 92px 1fr; font-size: 14px; }
.todo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.todo li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.todo svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rel-cta { margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); background: var(--tint); border-radius: var(--r-md); padding: var(--s4); }
.rel-cta p { max-width: 62ch; }
.rel-src { margin-top: var(--s3); font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rel-low { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rel-grid { grid-template-columns: minmax(0, 1fr); } .ver b { font-size: 24px; } }

/* central de informativo */
.count { display: inline-flex; flex-direction: column; gap: 2px; background: var(--band); color: var(--on-band); border-radius: var(--r-md); padding: var(--s3) var(--s4); min-width: 220px; }
.count small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--band-accent); }
.count b { font-family: var(--font-display); font-size: 34px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.count > span { font-size: 14px; color: var(--on-band-muted); }
.count b span { font: inherit; color: inherit; }
.yp[hidden], .tp[hidden], .result[hidden] { display: none; }
.tabs { display: flex; gap: var(--s2); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); overflow-x: auto; }
.tab { font: inherit; font-weight: 700; font-family: var(--font-display); font-size: 17px; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 18px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; white-space: nowrap; margin-bottom: -1px; }
.tab small { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tab[aria-selected="true"] small { color: var(--brand); }
.tp-intro { color: var(--muted); max-width: 72ch; margin-bottom: var(--s4); }
.years-tl { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; position: relative; }
.yr { font: inherit; text-align: left; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--ink); min-width: 0; }
.yr b { font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.yr span { font-size: 12px; line-height: 1.3; color: var(--muted); }
.yr[aria-selected="true"] { background: var(--brand-fill); border-color: var(--brand-fill); color: var(--on-brand); }
.yr[aria-selected="true"] span { color: var(--on-brand); opacity: .9; }
.yr.now::after { content: "hoje"; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }
.yr.now[aria-selected="true"]::after { color: var(--on-brand); }
.yps { margin-top: var(--s3); }
.yp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.yp-col { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.yp-col + .yp-col { border-top: 3px solid var(--brand); }
.yp-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.mix { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--tint); margin-top: var(--s2); }
.mix i { display: block; height: 100%; }
.mix .o { background: var(--border); } .mix .n { background: var(--brand); }
.mix-l { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.info-low { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s5); align-items: start; }
.quiz, .news { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: 12px; }
.quiz h3 span, .news h3 span { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.q { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); align-items: center; }
.q legend { float: left; padding: 0; font-size: 15px; }
.yn { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.yn label { position: relative; cursor: pointer; }
.yn input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yn span { display: block; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.yn label + label span { border-left: 1px solid var(--border); }
.yn input:checked + span { background: var(--brand-fill); color: var(--on-brand); }
.yn input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -4px; }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--muted); }
.quiz-foot .btn { padding: 6px 14px; font-size: 14px; }
.result { border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); background: var(--tint); }
.result .btn { align-self: flex-start; margin-top: var(--s2); }
.res-l { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.result.ok .res-l { color: var(--ok); } .result.wn .res-l { color: var(--warn); } .result.rk .res-l { color: var(--danger); }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-list li { border-top: 1px solid var(--line); padding-block: 12px; display: flex; flex-direction: column; gap: 4px; }
.news-list li:first-child { border-top: none; padding-top: 0; }
.news-meta { display: flex; gap: var(--s2); align-items: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.news-meta em { font-style: normal; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--brand); }
.news-list b { font-size: 15px; line-height: 1.35; }
.news-list p { font-size: 14px; color: var(--muted); }
.news-src { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 1000px) { .years-tl { grid-template-columns: repeat(4, minmax(0, 1fr)); } .info-low { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .tab { flex: 1 1 0; min-width: 0; white-space: normal; padding: 8px 10px 10px; font-size: 15px; } .yp { grid-template-columns: minmax(0, 1fr); } .q { grid-template-columns: minmax(0, 1fr); gap: 8px; } .q .yn { justify-self: start; } .count { min-width: 0; } }
@media (max-width: 420px) { .years-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yr b { font-size: 18px; } }

.guide { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); font-weight: 600; }
/* versão enxuta */
.mini { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: var(--s3); align-items: stretch; }
.mini .count { min-width: 0; justify-content: center; }
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.mini-card { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.mini-card small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.mini-card b { font-family: var(--font-display); font-size: 19px; line-height: 1.25; }
.mini-card span { font-size: 14px; color: var(--muted); }
.mini-card span::after { content: " →"; color: var(--brand); }
.mini-card:hover { border-color: var(--brand); }
.mini-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mini-steps b::before { content: counter(ms) ". "; color: var(--brand); }
.mini-steps span { color: var(--muted); }
.svc-more summary { list-style: none; }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more[open] summary { margin-bottom: 10px; }
@media (min-width: 561px) { .svc-more summary { pointer-events: none; } }
@media (max-width: 560px) {
  .svc-more summary { cursor: pointer; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
  .svc-more summary::after { content: "+"; font-family: var(--font-mono); color: var(--brand); font-size: 20px; line-height: 1; }
  .svc-more[open] summary::after { content: "−"; }
}
@media (max-width: 1000px) { .mini { grid-template-columns: minmax(0, 1fr); } .mini-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mini-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .mini-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { section { padding-block: 48px; } .hero .wrap { padding-block: 40px 48px; } }

/* movimento e imagens */
.svc-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s5); align-items: center; margin-bottom: var(--s5); }
.svc-top .head { margin-bottom: 0; }
.svc-art { width: 100%; height: auto; }
.svc-art .ln path { fill: none; stroke: var(--line); stroke-width: 2; }
.svc-art .flow path { stroke: var(--brand); stroke-dasharray: 6 10; animation: flui 1.6s linear infinite; }
.svc-art .win, .svc-art .node { fill: var(--surface-raised); stroke: var(--line); stroke-width: 1.5; }
.svc-art .bar { fill: var(--band); }
.svc-art .dot { fill: var(--on-band-muted); }
.svc-art .row { fill: var(--tint); } .svc-art .row.a { fill: var(--brand); }
.svc-art .cyl, .svc-art .shield { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.svc-art .tick { fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .ok { fill: var(--ok); animation: pisca 2.4s ease-in-out infinite; }
@keyframes flui { to { stroke-dashoffset: -32; } }
@keyframes pisca { 50% { opacity: .25; } }
.mi { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 6px; }
.mi circle { fill: var(--brand); stroke: none; }
.lupa { width: 52px; height: 52px; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.lupa .h { stroke: var(--brand); stroke-width: 2; fill: var(--surface-raised); }
.about-side { display: flex; flex-direction: column; gap: var(--s4); }
.city { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--tint); aspect-ratio: 550 / 388; }
.city img { display: block; width: 100%; height: 100%; object-fit: cover; }
.city figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(14, 20, 29, .72); color: #eef2f7; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.hrs i::before { transition: width 1.4s cubic-bezier(.2,.7,.2,1) .3s; }
.js .hrs i:not(.on)::before { width: 0; }
.env .d { animation: pisca 2.8s ease-in-out infinite; }
.env li:nth-child(2) .d { animation-delay: .4s; } .env li:nth-child(3) .d { animation-delay: .8s; } .env li:nth-child(4) .d { animation-delay: 1.2s; } .env li:nth-child(6) .d { animation-delay: 1.6s; } .env li:nth-child(7) .d { animation-delay: 2s; }
.hero-panel { position: relative; }
.p-toast { position: absolute; left: -18px; bottom: 44px; display: flex; align-items: center; gap: 8px; background: var(--surface-raised); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--r-sm); padding: 8px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; pointer-events: none; max-width: 300px; }
.p-toast.on { opacity: 1; transform: none; }
.t-ic { width: 16px; height: 16px; border-radius: 50%; background: var(--ok-soft); position: relative; flex: none; }
.t-ic::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
.svc, .mini-card, .mod, .rel-card, .rel a { transition: transform .25s ease, border-color .25s ease; }
.svc:hover, .mini-card:hover, .mod:hover, .rel-card:hover, .rel a:hover { transform: translateY(-4px); }
@media (max-width: 860px) { .svc-top { grid-template-columns: minmax(0, 1fr); } .svc-art { max-width: 360px; } .p-toast { left: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .svc-art .flow path, .svc-art .ok, .env .d { animation: none; }
  .js .hrs i:not(.on)::before { width: 65%; }
  .hrs i::before, .p-toast { transition: none; }
  .svc:hover, .mini-card:hover, .mod:hover, .rel-card:hover, .rel a:hover { transform: none; }
}

/* ideias do site de referência */
.kick { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.hexbg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 70%); mask-image: linear-gradient(100deg, transparent 22%, #000 70%); }
.hexbg .grid path { fill: none; stroke: var(--line); stroke-width: 1; opacity: .7; }
.hexbg .g { fill: var(--tint); stroke: var(--brand); stroke-width: 1.2; opacity: 0; animation: acende 9s ease-in-out infinite; }
.hexbg .g1 { animation-delay: 1.5s; } .hexbg .g2 { animation-delay: 3s; } .hexbg .g3 { animation-delay: 4.5s; } .hexbg .g4 { animation-delay: 6s; } .hexbg .g5 { animation-delay: 7.5s; }
.hexbg .trail path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 4 14; opacity: .45; animation: flui 2.4s linear infinite; }
@keyframes acende { 0%, 100% { opacity: 0; } 20%, 45% { opacity: .55; } }
.hero .wrap { position: relative; z-index: 1; }
.dif-t { font-size: 22px; margin-top: var(--s6); margin-bottom: var(--s4); }
.difs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.dif { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: 6px; transition: transform .25s ease, border-color .25s ease; }
.dif:hover { transform: translateY(-4px); border-color: var(--brand); }
.dif svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.dif h3 { font-size: 18px; }
.dif p { color: var(--muted); font-size: 15px; }
.para { background: var(--tint); border-radius: var(--r-lg); padding: var(--s5); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.para h2 { margin-top: var(--s2); }
.quem { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.quem li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); align-items: center; }
.quem svg { width: 40px; height: 40px; padding: 8px; border-radius: var(--r-sm); background: var(--surface-raised); fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.para-side { background: var(--surface-raised); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.ben { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ben li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; }
.ben li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.para-side .btn { align-self: flex-start; }
@media (max-width: 860px) { .difs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .para { grid-template-columns: minmax(0, 1fr); padding: var(--s4); } }
@media (max-width: 560px) { .difs { grid-template-columns: minmax(0, 1fr); } .hexbg { -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 90%); mask-image: linear-gradient(180deg, transparent 40%, #000 90%); } }
@media (prefers-reduced-motion: reduce) { .hexbg .g, .hexbg .trail path { animation: none; } .dif:hover { transform: none; } }

.act-main { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-note { font-size: 13px; color: var(--muted); }
.ready { align-self: flex-start; display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; font-size: 15px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--surface-raised); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 10px 14px; }
.ready b { font-weight: 600; }
.ready span { color: var(--brand); transition: transform .2s; }
.ready:hover { border-color: var(--brand); }
.ready:hover span { transform: translateX(3px); }
.lead, .hero-text p { text-wrap: pretty; }
/* números do topo */
.stats { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--font-display); font-size: 22px; line-height: 1.1; font-weight: 800; }
.stats span { font-size: 14px; color: var(--muted); }

/* módulos */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.mod { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.mod .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--brand); }
.mod ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 22px; }
.mod li::marker { color: var(--brand); }
.after { margin-top: var(--s4); color: var(--muted); max-width: 72ch; }

/* fluxo */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); counter-reset: f; }
.flow li { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-sm); padding: var(--s3); display: flex; flex-direction: column; gap: 4px; counter-increment: f; }
.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); }
.flow b { font-weight: 700; line-height: 1.25; }
.flow span { font-size: 13px; line-height: 19px; color: var(--muted); }
.flow .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--brand); }
.base { margin-top: var(--s3); background: var(--band); color: var(--on-band); border-radius: var(--r-sm); padding: var(--s3) var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: baseline; }
.base b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--band-accent); font-weight: 500; }
.base span { color: var(--on-band-muted); }

/* segmentos */
.segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.seg { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.seg p { color: var(--muted); font-size: 15px; }

/* reforma */
.reforma { border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: var(--r-md); background: var(--surface-raised); padding: var(--s5); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.reforma .txt { display: flex; flex-direction: column; gap: var(--s3); }
.reforma .txt p { color: var(--muted); }
.time { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.time li { display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); padding-block: 10px; border-top: 1px solid var(--line); }
.time li:first-child { border-top: none; }
.time b { font-family: var(--font-mono); font-weight: 500; color: var(--brand); }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); padding-block: 18px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-weight: 500; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: var(--s4); color: var(--muted); max-width: 70ch; }

/* WhatsApp */
.btn-light { background: var(--surface-raised); color: var(--ink); }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px 12px 14px; border-radius: 999px; }
.wa svg { width: 22px; height: 22px; fill: currentColor; }
.wa:focus-visible { outline-color: var(--ink); }

/* rodapé */
footer { background: var(--band); color: var(--on-band-muted); padding-block: var(--s6) var(--s4); }
footer .cols { display: grid; grid-template-columns: 1.3fr .9fr 1.3fr 1.1fr; gap: var(--s5); }
footer .cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
footer h3 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--band-accent); }
footer a { color: var(--on-band); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .flogo { height: 36px; width: auto; display: block; align-self: flex-start; }
footer .logo .w-ink { stroke: var(--on-band); } footer .logo .m-in { stroke: var(--on-band-muted); } footer .logo .m-out, footer .logo .w-bar { stroke: var(--band-accent); }
footer .legal { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-size: 13px; }

@media (max-width: 1000px) {
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow li:nth-child(3)::after { display: none; }
}
@media (max-width: 860px) {
  .segs, .reforma, footer .cols { grid-template-columns: minmax(0, 1fr); }
  .reforma { padding: var(--s4); }
  .seg { padding-right: 0; }
  nav .links { display: none; }
  .ring { width: 340px; height: 340px; right: -190px; opacity: .3; }
  .logo { height: 32px; }
  nav .btn { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
  .hero .wrap { padding-block: 56px 64px; }
  .quotes, .two, .diag, .about, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag { padding: var(--s4); }
}
@media (max-width: 560px) { .form .pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .mods { grid-template-columns: minmax(0, 1fr); } .flow { grid-template-columns: minmax(0, 1fr); } .flow li::after { display: none; } .wa span { display: none; } .wa { padding: 14px; } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } .wrap { padding-inline: 16px; } }

/* páginas de conteúdo */
.crumbs { font-size: 13px; color: var(--muted); padding-top: var(--s4); }
nav.crumbs { display: block; } nav.crumbs a { color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: underline; }
.crumbs span { margin-inline: 6px; }
.art-head { padding-block: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.art-head h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin-top: var(--s3); max-width: 22ch; }
.art-head .lead { margin-top: var(--s3); }
.art-meta { margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.art-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s6); padding-block: var(--s5) var(--s6); }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc p { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--s2); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--ink); border-left-color: var(--brand); }
.art { max-width: 740px; font-size: 17px; line-height: 1.7; }
.art h2 { font-size: clamp(24px, 3vw, 30px); margin: var(--s5) 0 var(--s3); scroll-margin-top: 90px; }
.art h2:first-child { margin-top: 0; }
.art p { margin: 0 0 var(--s3); }
.art ul, .art ol { margin: 0 0 var(--s3); padding-left: 22px; }
.art li { margin-bottom: 8px; }
.art li::marker { color: var(--brand); }
.art code { font-family: var(--font-mono); font-size: 14px; background: var(--tint); padding: 1px 5px; border-radius: 3px; }
.art table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s4); font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.art th, .art td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.art th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); font-weight: 500; background: var(--surface-raised); }
.art td:first-child { font-weight: 600; white-space: nowrap; }
.steps-list { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-fill); color: var(--on-brand); font: 700 14px/28px var(--font-sans); text-align: center; }
.art .faq { max-width: none; }
.art .faq summary { font-size: 17px; }
.art-cta { margin-top: var(--s5); background: var(--brand-fill); color: var(--on-brand); border-radius: var(--r-md); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.art-cta h2 { margin: 0; color: var(--on-brand); }
.art-cta p { margin: 0; max-width: 56ch; }
.art-cta .btn { align-self: flex-start; background: var(--surface-raised); color: var(--ink); }
.rel { margin-top: var(--s5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.rel a { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-raised); text-decoration: none; color: var(--ink); }
.rel a small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.rel a b { font-family: var(--font-display); font-size: 18px; line-height: 1.3; }
.rel a:hover { border-color: var(--brand); }
@media (max-width: 900px) { .art-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .toc { position: static; } }
@media (max-width: 560px) { .rel { grid-template-columns: minmax(0, 1fr); } .art { font-size: 16px; } }

/* âncoras não ficam sob o topo fixo */
[id] { scroll-margin-top: 96px; }

/* cores das categorias de novidades */
.news-meta em[data-tag="release"] { background: var(--tint); color: var(--brand); }
.news-meta em[data-tag="reforma"] { background: var(--warn-soft); color: var(--warn); }
.news-meta em[data-tag="nf-e"] { background: var(--ok-soft); color: var(--ok); }

/* fontes oficiais TOTVS */
.fo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); align-items: start; }
.fo-col { background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-md); padding: var(--s4); }
.fo-rf { border-top-color: var(--warn); } .fo-nf { border-top-color: var(--ok); } .fo-md { border-top-color: var(--ink); }
.fo-h { font-family: var(--font-display); font-weight: 800; font-size: 19px; display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s2); }
.fo-h span { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fo-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fo-col li + li { border-top: 1px solid var(--line); }
.fo-col a { display: flex; flex-direction: column; gap: 2px; padding-block: 12px; text-decoration: none; color: var(--ink); }
.fo-col a b { font-size: 15px; line-height: 1.35; display: inline-flex; gap: 6px; align-items: baseline; }
.fo-col a b svg { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fo-col a span { font-size: 14px; color: var(--muted); }
.fo-col a small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.fo-rf a small { color: var(--warn); } .fo-nf a small { color: var(--ok); }
.fo-col a:hover b { color: var(--brand); text-decoration: underline; }
.fo-stack { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
@media (max-width: 760px) { .fo-grid { grid-template-columns: minmax(0, 1fr); } .fo-stack { display: contents; } .fo-rl { order: 1; } .fo-rf { order: 2; } .fo-nf { order: 3; } .fo-md { order: 4; } }

