/* Foco Contabilidade Empresarial — site institucional (19/11/2026)
   Marca: laranja #E2770F, preto e branco, Montserrat. Tema claro padrão + escuro pelo botão. */
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/montserrat-700.woff2") format("woff2"); }

:root {
  --bg: #f5f5f6; --surface: #ffffff; --surface-2: #ebebee; --ink: #111113; --muted: #4f4f57;
  --accent: #e2770f; --on-accent: #111113; --accent-ink: #a8540a; --campo: #ffffff;
  --field: #111113; --on-field: #f5f5f6; --on-field-muted: #b4b4bb;
  --m-ru: #d9d9de; --m-av: #c4c4cb; --m-fe: #8a8a93; --m-ag: #c6dbe6; --m-pq: #e4ece2; --m-rot: #4f4f57; --m-fundo: #ffffff;
  --m: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --t-display: clamp(2.35rem, 5.3vw, 5.25rem);
  --t-h2: clamp(1.75rem, 3vw, 2.75rem);
  --t-lead: clamp(1.1875rem, 1.55vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --raio: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f0f11; --surface: #18181b; --surface-2: #222226; --ink: #f2f2f3; --muted: #b0b0b8;
  --accent: #e2770f; --on-accent: #111113; --accent-ink: #f0a35a; --campo: #222226;
  --field: #1b1b1f; --on-field: #f2f2f3; --on-field-muted: #a9a9b1;
  --m-ru: #2f2f35; --m-av: #45454d; --m-fe: #7d7d86; --m-ag: #23384a; --m-pq: #1f2a20; --m-rot: #c4c4cb; --m-fundo: #18181b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.6 "Montserrat", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.pular:focus { top: 12px; }
mark.conf { background: rgba(226, 119, 15, .2); color: var(--ink); padding: 0 .25em; border-radius: 2px; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sec { color: var(--muted); }
.fonte { font-size: var(--t-small); color: var(--muted); line-height: 1.5; max-width: 75ch; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; border-radius: var(--raio); transition: background-color .18s, transform .18s var(--ease); }
.btn:hover { background: #f08a24; }
.btn:active { transform: translateY(1px) scale(.985); }
.seta { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; text-decoration: none; }
.seta::after { content: "→"; transition: transform .2s var(--ease); color: var(--accent-ink); }
.seta:hover::after { transform: translateX(5px); }
.seta:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--m); background: var(--bg); }
.marca { flex: none; display: block; }
.logo { display: block; }
.logo img { height: 56px; width: auto; }
.marca { min-height: 44px; display: flex; align-items: center; }
.lg-cla { display: none !important; }
:root[data-theme="dark"] .lg-esc { display: none !important; }
:root[data-theme="dark"] .lg-cla { display: block !important; }
.nav { display: flex; gap: 4px 26px; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.acoes { display: flex; align-items: center; gap: 10px; }
.tema { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: inherit; font-size: .875rem; font-weight: 500; color: var(--ink); background: var(--surface-2); border: 0; border-radius: var(--raio); min-height: 44px; min-width: 44px; padding: 0 14px; cursor: pointer; }
.tema-ic { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; flex: none; overflow: hidden; }
.tema-ic::before { content: ""; position: absolute; inset: 0 50% 0 0; background: currentColor; }
.tema:hover { background: var(--surface); }
.entrar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 600; text-decoration: none; border-radius: var(--raio); }
.entrar:hover { background: var(--accent); color: var(--on-accent); }
@media (max-width: 1020px) { .nav { display: none; } .acoes { margin-left: auto; } }
@media (max-width: 560px) { .logo img { height: 48px; } .tema { padding: 0 13px; } .tema-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .entrar { padding: 0 14px; font-size: .9375rem; } .topo { gap: 10px; padding-block: 10px; } }

/* ---------- seções: régua comum ---------- */
main > section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 136px) var(--m); }
h2 { font-size: var(--t-h2); line-height: 1.12; }

/* ---------- abertura ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 72px); min-height: calc(100svh - 74px); padding-top: clamp(24px, 4vw, 56px) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 5.75rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.nw { white-space: nowrap; }
.lead { margin-top: 28px; font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; }
.hero .cta { margin-top: 36px; }
.hero-dados { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .9375rem; color: var(--muted); }
.hero-dados { align-items: center; }
.hero-dados a { color: var(--ink); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lead b { font-weight: 600; }
.palco { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 78svh; justify-self: end; }
.palco canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .9s var(--ease); }
.palco.pronto canvas { opacity: 1; }
.poster { position: absolute; inset: 6%; width: 88%; height: 88%; transition: opacity .6s; }
.palco.pronto .poster { opacity: 0; }
.captura .palco canvas, .captura .poster { transition: none; }
.ps-f { fill: var(--surface); }
:root[data-theme="dark"] .ps-f { fill: #e9e9ec; }
.ps-t { fill: #2a2a2e; } .ps-a { fill: var(--accent); } .ps-l { fill: #d4d4d9; }
.ps-v { fill: rgba(255, 255, 255, .35); } .ps-r { fill: none; stroke: var(--ink); stroke-width: 5; } .ps-o { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .palco { order: -1; aspect-ratio: 5 / 4; max-height: 50svh; justify-self: stretch; margin-inline: calc(-1 * var(--m)); width: calc(100% + 2 * var(--m)); }
}

/* ---------- escritório ---------- */
.intro-lead { font-size: clamp(1.375rem, 2.3vw, 2.125rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; max-width: 38ch; }
.quatro { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.quatro p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.quatro b { color: var(--ink); font-weight: 600; }
.quatro a { color: var(--ink); }
@media (max-width: 1020px) { .quatro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 560px) { .quatro { grid-template-columns: 1fr; } }

/* ---------- serviços ---------- */
.servicos { max-width: none !important; background: var(--surface); }
.servicos > * { max-width: calc(var(--max) - 2 * var(--m)); margin-inline: auto; }
.serv-lista { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 0; }
.serv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 64px); padding: clamp(28px, 3.4vw, 44px) 0; }
.serv h3 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.2; display: flex; gap: 14px; align-items: baseline; }
.serv h3::after { content: ""; display: block; width: 0; height: 3px; background: var(--accent); margin-top: 14px; transition: width .35s var(--ease); }
.serv h3 { flex-direction: column; gap: 0; }
.serv:hover h3::after, .serv:focus-within h3::after { width: 48px; }
.serv-txt p { max-width: 60ch; }
.serv-txt p + p { margin-top: 10px; }
.serv-txt .seta { margin-top: 12px; }
@media (max-width: 760px) { .serv { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- reforma (campo escuro) ---------- */
.reforma { max-width: none !important; background: var(--field); color: var(--on-field); }
.reforma > * { max-width: calc(var(--max) - 2 * var(--m)); margin-inline: auto; }
.reforma a { color: inherit; }
.ref-cab { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.ref-cab p { color: var(--on-field-muted); font-size: var(--t-lead); line-height: 1.45; }
.ref-painel { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ano-grande { display: block; font-size: clamp(5rem, 13vw, 11rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.ano-rot { display: block; margin-top: 18px; font-size: var(--t-small); color: var(--on-field-muted); }
#ano { width: 100%; margin: 8px 0 0; accent-color: var(--accent); height: 44px; cursor: pointer; font-size: 16px; }
#ano[hidden] { display: none; }
.anos-bt { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.anos-bt button { font: inherit; font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 44px; padding: 0; border: 0; border-radius: var(--raio); background: rgba(255, 255, 255, .07); color: var(--on-field); cursor: pointer; transition: background-color .18s; }
.anos-bt button:hover { background: rgba(255, 255, 255, .16); }
.anos-bt button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.ano-frase { margin-top: 28px; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; font-weight: 500; max-width: 34ch; min-height: 4.4em; }
.grupo-t { font-size: var(--t-small); color: var(--on-field-muted); margin: 0 0 10px; }
.grupo-t:not(:first-child) { margin-top: 36px; }
.lin { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; align-items: center; padding: 14px 0; }
.lin .nm { font-weight: 600; }
.lin .bar { position: relative; height: 14px; background: rgba(255, 255, 255, .09); border-radius: 2px; overflow: hidden; }
.lin .bar i { position: absolute; inset: 0; background: var(--on-field); transform-origin: left; transition: transform .7s var(--ease); border-radius: 2px; }
.lin .vl { grid-column: 2; font-size: .9375rem; color: var(--on-field-muted); }
.lin.zerado .nm { color: var(--on-field-muted); text-decoration: line-through; text-decoration-color: var(--accent); }
.lin.novo .vl { grid-column: 2; grid-row: 1; font-size: 1.0625rem; color: var(--on-field); font-weight: 500; }
.ref-tabela { margin-top: 48px; }
.ref-tabela summary { cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.tab-rolagem { overflow-x: auto; margin-top: 12px; }
.ref-tabela table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9375rem; }
.ref-tabela caption { text-align: left; color: var(--on-field-muted); font-size: var(--t-small); padding-bottom: 8px; }
.ref-tabela th, .ref-tabela td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); vertical-align: top; }
.reforma .fonte { margin-top: 32px; color: var(--on-field-muted); max-width: 75ch; }
@media (max-width: 900px) { .ref-cab, .ref-painel { grid-template-columns: 1fr; } .lin { grid-template-columns: 1fr; } .lin .vl, .lin.novo .vl { grid-column: 1; grid-row: auto; } }
@media (max-width: 480px) { .anos-bt { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.calc-txt > p:first-of-type { margin-top: 20px; font-size: var(--t-lead); line-height: 1.5; max-width: 36ch; }
.notas { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 18px; max-width: 58ch; }
.notas li { padding-left: 24px; position: relative; color: var(--muted); }
.notas li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.notas b { color: var(--ink); font-weight: 600; }
.aviso { font-size: var(--t-small); color: var(--muted); max-width: 30ch; }
.calc-ui { pointer-events: none; user-select: none; background: var(--surface); border-radius: 10px; padding: 22px 22px 26px; max-width: 520px; width: 100%; justify-self: center; transform: rotate(-1.2deg); }
.ui-barra img { height: 40px; width: auto; margin-bottom: 14px; }
.ui-g { font-size: .875rem; font-weight: 600; color: var(--muted); margin: 14px 0 4px; }
.ui-menu { columns: 2; column-gap: 18px; }
.ui-g { break-after: avoid; }
.ui-menu ul { list-style: none; padding: 0; margin: 0; break-inside: avoid; }
.ui-menu li { font-size: .875rem; padding: 6px 10px; border-radius: 6px; }
.ui-menu li.ui-ativo { background: var(--accent); color: var(--on-accent); font-weight: 600; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-ui { transform: none; max-width: none; } .ui-menu > :nth-child(n+3) { display: none; } .ui-menu { columns: 1 !important; } .ui-menu { columns: 2; column-gap: 16px; } .ui-g { break-after: avoid; } .ui-menu ul { break-inside: avoid; } }
@media (max-width: 420px) { .ui-menu { columns: 1; } }

/* ---------- como abrir ---------- */
.abrir h2 { max-width: 18ch; }
.troca { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); max-width: 860px; }
.frase { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; }
.voce, .nos { margin-top: 14px; padding: 20px 22px; border-radius: var(--raio); max-width: 62ch; }
.voce { background: var(--surface-2); }
.nos { background: var(--surface); margin-left: clamp(0px, 6vw, 72px); }
.voce b, .nos b { font-weight: 600; }
.nos b { color: var(--accent-ink); }
.abrir .cta { margin-top: 56px; }

/* ---------- sobre ---------- */
.sobre { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: 32px clamp(32px, 5vw, 80px); }
.fatos { margin: 0; display: grid; gap: 24px; align-content: start; }
.fatos dt { font-size: var(--t-small); color: var(--muted); }
.fatos dd { margin: 2px 0 0; font-weight: 600; }
.grande { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 46ch; }
.listas { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 40px 64px; }
.lista-t { font-weight: 600; margin-bottom: 10px; }
.listas ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
@media (max-width: 760px) { .sobre { grid-template-columns: 1fr; } .fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; } .listas { grid-template-columns: 1fr; } }

/* ---------- dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; background: transparent; }
.duv-lista ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.q { font: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--muted); text-align: left; background: none; border: 0; padding: 12px 0 12px 22px; position: relative; cursor: pointer; width: 100%; min-height: 44px; line-height: 1.4; }
.q::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--surface-2); transition: background-color .15s; }
.q:hover, .q[aria-expanded="true"] { color: var(--ink); }
.q[aria-expanded="true"]::before { background: var(--accent); }
.duv-resp { position: sticky; top: 120px; }
.r p:first-child { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 34ch; }
.r .fonte { margin-top: 18px; }
.r:not([hidden]) { animation: surgir .2s ease-out; }
@keyframes surgir { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 899px) {
  .duvidas { grid-template-columns: 1fr; }
  .duv-resp { position: static; }
  .duv-lista .r { padding: 4px 0 18px 22px; }
  .duv-lista .r p:first-child { font-size: 1.125rem; }
}

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contato h2 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 500; line-height: 1.25; }
.contato h2 .sec { display: block; }
.campo { position: relative; margin-top: 28px; }
.campo textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--campo); border: 0; border-radius: 10px; padding: 20px 76px 20px 20px; min-height: 112px; resize: vertical; box-shadow: inset 0 0 0 1px var(--surface-2); }
:root[data-theme="light"] .campo textarea { box-shadow: inset 0 0 0 1.5px #c9c9cf; }
.campo textarea:focus-visible, .campo textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: inset 0 0 0 2px var(--accent); }
.campo textarea::placeholder { color: #75757d; }
.campo button { position: absolute; right: 12px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 1.375rem; font-weight: 600; cursor: pointer; transition: transform .18s var(--ease); }
.campo button:hover { transform: translateX(2px); }
.depois { margin-top: 12px; font-size: var(--t-small); color: var(--muted); }
.cont-dados { margin: 48px 0 0; display: grid; gap: 18px; }
.cont-dados div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; }
.cont-dados dt { color: var(--muted); font-size: .9375rem; }
.cont-dados dd { margin: 0; font-weight: 500; }
.cont-dados dd a { display: inline-flex; align-items: center; min-height: 44px; }
.cont-dados div { align-items: center; }
.cont-mapa { margin: 0; }
.mapa { width: 100%; height: auto; background: var(--m-fundo); border-radius: 10px; }
.mapa path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mapa .pq path { fill: var(--m-pq); stroke: none; }
.mapa .ag path { stroke: var(--m-ag); stroke-width: 7; }
.mapa .ru path { stroke: var(--m-ru); stroke-width: 6; }
.mapa .av path { stroke: var(--m-av); stroke-width: 13; }
.mapa .fe path { stroke: var(--m-fe); stroke-width: 4; stroke-dasharray: 14 9; }
.mapa .nossa path { stroke: var(--accent); stroke-width: 11; }
.mapa .alvo { fill: var(--accent); stroke: var(--m-fundo); stroke-width: 6; }
.mapa text { font: 600 21px "Montserrat", sans-serif; fill: var(--m-rot); paint-order: stroke; stroke: var(--m-fundo); stroke-width: 6px; stroke-linejoin: round; }
.mapa .rot-nossa { font-size: 24px; fill: var(--ink); }
.cont-mapa figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: center; font-size: var(--t-small); color: var(--muted); }
.cont-mapa figcaption .seta { color: var(--ink); font-size: 1rem; }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cont-dados div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- rodapé ---------- */
.rodape { max-width: var(--max); margin: 0 auto; padding: 48px var(--m) 32px; display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.rd-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.rd-links a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.rd-cred { font-size: var(--t-small); }
.rd-nome, .rd-cred { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* ---------- página de texto ---------- */
.texto { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 120px) var(--m); }
.texto h1 { font-size: var(--t-h2); margin-bottom: 28px; }
.texto h2 { font-size: 1.375rem; margin: 40px 0 10px; }
.texto p + p { margin-top: 14px; }

/* ---------- v3: abertura em tela cheia ---------- */
@media (min-width: 861px) {
  .hero { position: relative; max-width: none !important; grid-template-columns: minmax(0, 1fr); padding-inline: max(var(--m), calc((100vw - var(--max)) / 2 + var(--m))) !important; }
  .hero-txt { position: relative; z-index: 2; max-width: 600px; }
  .palco { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(68vw, 1180px); height: 100%; max-height: none; aspect-ratio: auto; }
  .palco .poster { inset: 10% 8% 10% 22%; width: auto; height: auto; }
}

/* ---------- v3: faixa de prova ---------- */
.prova { max-width: none !important; background: var(--field); color: var(--on-field); padding-block: clamp(64px, 8vw, 112px) !important; }
.numeros { list-style: none; margin: 0 auto; padding: 0; max-width: calc(var(--max) - 2 * var(--m)); display: grid; grid-template-columns: 1.35fr 1fr 1.25fr 1fr; gap: 40px clamp(24px, 3.5vw, 56px); }
.numeros li { display: flex; flex-direction: column; }
.numeros .n { font-size: clamp(2.75rem, 5.2vw, 4.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.numeros .n-de { font-size: 1.125rem; font-weight: 600; margin-top: 6px; }
.numeros .n-t { margin-top: 16px; color: var(--on-field-muted); font-size: 1rem; line-height: 1.55; max-width: 30ch; }
@media (max-width: 1020px) { .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .numeros { grid-template-columns: 1fr; } }

/* ---------- v3: serviços com o documento de cada área ---------- */
.serv-cab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 4vw, 64px); align-items: end; }
.serv-cab p { font-size: var(--t-lead); line-height: 1.45; color: var(--muted); max-width: 36ch; }
.serv-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.serv-grade .serv-lista { margin-top: 0; }
.serv-grade .serv { grid-template-columns: 1fr; gap: 12px; }
.serv-palco { position: sticky; top: 110px; align-self: start; height: min(62vh, 560px); perspective: 1400px; background: var(--surface-2); border-radius: 10px; }
.ilus { position: absolute; inset: 9% 14%; opacity: 0; transform: rotateY(-14deg) rotateX(6deg) translateY(24px) scale(.94); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.ilus.ativa { opacity: 1; transform: rotateY(-9deg) rotateX(4deg); }
.ilus .doc { width: 100%; height: 100%; }
.serv-ilus-m { display: none; }
.doc .dp { fill: #ffffff; }
.doc .dt { font: 700 26px "Montserrat", sans-serif; fill: #111113; }
.doc .ds { font: 600 13px "Montserrat", sans-serif; fill: #55555c; }
.doc .dsa { fill: #111113; }
.doc .da, .doc .b-ac, .doc .cx-ac { fill: #e2770f; }
.doc .dl { fill: #dcdce0; }
.doc .dlinha { fill: #111113; }
.doc .barras rect:not(.b-ac) { fill: #cfcfd5; }
.doc .caixas rect:not(.cx-ac) { fill: #f0f0f2; }
.doc .cx-ac { fill-opacity: .18; }
.doc .barra rect { fill: #111113; }
.doc .dcampo { fill: #f0f0f2; }
.doc .selo { fill: none; stroke: #e2770f; stroke-width: 4; }
.doc .selo2 { fill: none; stroke: #e2770f; stroke-width: 1.5; }
.doc .dselo { font: 700 11px "Montserrat", sans-serif; fill: #e2770f; letter-spacing: .08em; }
.doc .ass { fill: none; stroke: #2b2b30; stroke-width: 2.4; stroke-linecap: round; }
.serv.ativo h3::after { width: 48px; }
@media (max-width: 860px) {
  .serv-cab, .serv-grade { grid-template-columns: 1fr; }
  .serv-palco { display: none; }
  .serv-ilus-m { display: block; width: 132px; background: var(--surface-2); border-radius: 8px; padding: 12px; margin-bottom: 4px; }
  .serv-ilus-m .doc { width: 100%; height: auto; }
}

/* ---------- v3: fechamento ---------- */
.fecho { max-width: none !important; background: var(--field); color: var(--on-field); text-align: left; }
.fecho { padding-inline: max(var(--m), calc((100vw - var(--max)) / 2 + var(--m))) !important; }
.fecho h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.fecho > p { margin-top: 20px; font-size: var(--t-lead); color: var(--on-field-muted); }
.fecho .cta { margin-top: 36px; }
.fecho .seta { color: var(--on-field); }

/* ---------- movimento de entrada (o conteúdo existe sem script) ---------- */
.js .entra { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .entra.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .entra { opacity: 1; transform: none; transition: none; }
  .lin .bar i, .palco canvas, .poster { transition: none; }
}
@media (max-width: 760px) {
  :root { --t-small: 1rem; }
  .lin .vl, .anos-bt button, .ui-menu li, .cont-dados dt, .rodape, .hero-dados, .quatro p { font-size: 1rem; }
}
@media print { .topo, .palco, .campo, .acoes { display: none; } main > section { padding: 24px 0; } .reforma { background: none; color: #000; } }

/* v3: tablet deitado / notebook pequeno — texto e cena lado a lado, sem sobrepor */
@media (min-width: 861px) and (max-width: 1279px) {
  .hero-txt { max-width: 44vw; }
  .palco { width: 54vw; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
}
