/*
 * Simões Contábil — versão 4 (proposta).
 *
 * Direção: o site como um documento já revisado — papel branco, grafite, títulos
 * condensados e um marca-texto amarelo sobre o que importa. Só fontes do
 * sistema, nenhum arquivo externo, nenhuma sombra de cartão.
 *
 * Movimento: existe um único, o traço do marca-texto no título da abertura.
 * Não há transição em nenhum outro lugar.
 */

:root {
  --paper: #ffffff;
  --mist: #eef0f2;
  --ink: #15171a;
  --ink-2: #454a51;
  --rule: #c7ccd2;
  --field: #6b7178;
  --marker: #ffe04a;
  --marker-hover: #f7cf1e;
  --error: #b3261e;
  --ok: #17603a;

  --f-display:
    "Avenir Next Condensed", "Bahnschrift", "Roboto Condensed",
    "sans-serif-condensed", "Arial Narrow", "DejaVu Sans Condensed",
    "Liberation Sans Narrow", sans-serif;
  --f-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Liberation Sans", sans-serif;
  --f-mono:
    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Roboto Mono",
    "Liberation Mono", "DejaVu Sans Mono", monospace;

  --gutter: 20px;
  --head-h: 64px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --head-h: 76px;
  }
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Foco nunca fica embaixo da barra fixa do celular. */
  scroll-padding-bottom: 96px;
}

@media (min-width: 900px) {
  html {
    /* Nem embaixo do cabeçalho fixo do computador. */
    scroll-padding-top: calc(var(--head-h) + 16px);
    scroll-padding-bottom: 0;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-body);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Coluna de leitura alinhada à esquerda do conteúdo, como o cabeçalho. */
.narrow > * {
  max-width: 880px;
}

.display,
h1 {
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.005em;
}

h2.display {
  font-size: clamp(2rem, 1rem + 3.4vw, 3.75rem);
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.fine {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

section[id] {
  scroll-margin-top: 16px;
}

@media (min-width: 900px) {
  section[id] {
    scroll-margin-top: calc(var(--head-h) + 16px);
  }
}

/* ---------------------------------------------------------- marca-texto */

mark.grifo {
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.5em;
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* O único movimento do site: o traço do marca-texto na abertura. */
.hero mark.grifo {
  animation: grifo 900ms cubic-bezier(0.2, 0.7, 0.2, 1) 350ms backwards;
}

@keyframes grifo {
  from {
    background-size: 0% 0.5em;
  }
  to {
    background-size: 100% 0.5em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------- botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.5rem 1.375rem;
  background: var(--marker);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font: 700 1.0625rem/1.2 var(--f-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--marker-hover);
}

.btn:disabled {
  cursor: not-allowed;
  background: var(--mist);
  border-style: dashed;
}

.btn-lg {
  min-height: 56px;
  padding: 0.5rem 1.75rem;
  font-size: 1.125rem;
}

.btn-sm {
  min-height: 44px;
  padding: 0.375rem 1rem;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-quiet {
  background: var(--paper);
  border-width: 1.5px;
  font-weight: 650;
}

.btn-quiet:hover {
  background: var(--mist);
}

.btn-quiet[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------ aviso de prévia */

.draft {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: center;
  padding: 7px var(--gutter);
}

/* ------------------------------------------------------------ cabeçalho */

.skip {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.top {
  position: relative;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .top {
    position: sticky;
    top: 0;
  }
}

.top-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--head-h);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  min-height: 44px;
  align-self: center;
  padding-top: 0.55rem;
  font-family: var(--f-display);
  font-stretch: condensed;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wm-a {
  font-weight: 800;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 100% 0.42em;
}

.wm-b {
  font-weight: 500;
}

.nav-desk {
  display: none;
  margin-left: auto;
}

.nav-desk ul,
.menu ul,
.foot-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desk ul {
  display: flex;
  gap: 4px;
}

.nav-desk a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-desk a:hover {
  text-decoration: underline;
}

.top-act {
  display: none;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.top-client {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.menu {
  margin-left: auto;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] summary {
  background: var(--ink);
  color: var(--paper);
}

.menu nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 8px var(--gutter) 16px;
}

.menu nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.125rem;
  font-weight: 650;
  text-decoration: none;
}

@media (min-width: 600px) {
  .top-act {
    display: flex;
  }
  .menu {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .nav-desk {
    display: block;
  }
  .top-act {
    margin-left: 8px;
  }
  .menu {
    display: none;
  }
}

/* ------------------------------------------------------------- abertura */

.hero {
  padding: 28px 0 40px;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero-what {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  max-width: 34ch;
}

.hero-copy,
.page-head {
  container-type: inline-size;
}

/*
 * "acompanhando" é a palavra mais longa do título (cerca de 7,7 vezes o
 * tamanho da fonte na fonte condensada mais larga da lista). O tamanho segue
 * a largura da coluna (cqi) para a palavra nunca passar da própria caixa nem
 * encostar na foto, e cabe inteira até numa tela de 320 px. A primeira
 * declaração é o reserva para navegadores sem container query.
 * O seletor é .hero-copy > h1, e não .hero h1: as páginas internas também
 * usam a classe .hero, e ".hero h1" vencia ".page-t" por especificidade — o
 * título de serviço saía com 105 px e vazava da coluna.
 */
.hero-copy > h1 {
  margin-top: 14px;
  font-size: clamp(2.125rem, 0.5rem + 4.4vw, 5rem);
  line-height: 0.98;
}

@supports (font-size: 1cqi) {
  .hero-copy > h1 {
    font-size: clamp(2.125rem, 12cqi, 5.5rem);
  }
}

.hero-sub {
  margin-top: 18px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-sub strong {
  color: var(--ink);
}

.hero-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

@media (max-width: 599px) {
  .hero-act .btn {
    width: 100%;
  }
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 1rem;
}

.byline-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: 50% 26%;
  border: 1px solid var(--ink);
  border-radius: 6px;
}

.hero-photo {
  display: none;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid var(--ink);
}

.hero-photo figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .hero {
    padding: 56px 0 88px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: center;
  }
  .hero-photo {
    display: block;
  }
  .byline:not(.byline-all) {
    display: none;
  }
  .hero-act {
    margin-top: 32px;
  }
}

.hero-page {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.svc-toc {
  display: none;
}

@media (min-width: 900px) {
  .svc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 64px;
    align-items: end;
  }
  .svc-toc {
    display: block;
    padding: 4px 0 4px 28px;
    border-left: 2px solid var(--ink);
  }
  .svc-toc-t {
    font-family: var(--f-mono);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .svc-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .svc-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
    font-size: 0.9375rem;
    line-height: 1.3;
  }
}

/* Mesmo cuidado do título da abertura: "encerramento" precisa caber em 320 px. */
.page-t {
  margin-top: 8px;
  font-size: clamp(2.125rem, 1rem + 4.2vw, 5rem);
  line-height: 0.98;
}

@supports (font-size: 1cqi) {
  .page-t {
    font-size: clamp(2.125rem, 12.5cqi, 5.5rem);
  }
}

.meta {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--ink-2);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.crumbs li + li::before {
  content: "/";
  padding: 0 10px;
  font-family: var(--f-mono);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs a,
.crumbs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

/* ------------------------------------------------------------- seções */

.sec {
  padding: 64px 0;
}

.sec-mist {
  background: var(--mist);
}

.sec-marker {
  background: var(--marker);
}

.sec-marker .lead {
  color: var(--ink);
}

.sec-head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 820px;
}

.sec-foot {
  margin-top: 32px;
  font-weight: 600;
}

.wrap > h2.display + .lead {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .sec {
    padding: 104px 0;
  }
  .sec-head {
    margin-bottom: 56px;
  }
}

/* ------------------------------------------- por que José Augusto */

.why .sec-head {
  margin-bottom: 32px;
}

.why-photo {
  margin: 0 0 36px;
  max-width: 360px;
}

.why-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border: 2px solid var(--ink);
}

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 48px;
  counter-reset: reason;
}

.reason {
  counter-increment: reason;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 0 28px;
  border-top: 2px solid var(--ink);
}

.reason::before {
  content: counter(reason, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.reason-head {
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.375rem);
  line-height: 1.02;
}

.reason-body {
  max-width: 44ch;
  font-size: 1.0625rem;
}

.reason-body a {
  font-weight: 650;
}

.why-fine {
  max-width: 88ch;
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (min-width: 700px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .why-photo {
    display: none;
  }
}

@media (min-width: 1100px) {
  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------- o que não está incluído (fim da página) */

.sec-end {
  border-top: 1px solid var(--rule);
}

.end-t {
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.05;
}

.wrap > .end-t + .lead {
  margin-top: 12px;
}

.wrap > .lead + .clauses {
  margin-top: 28px;
}

.clauses {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: clause;
  border-bottom: 1px solid var(--ink);
}

.clause {
  counter-increment: clause;
  display: grid;
  gap: 6px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--ink);
}

.clause::before {
  content: "§ " counter(clause);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}

.clause-head {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.clause-body {
  max-width: 60ch;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .clause {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: baseline;
  }
}

/* ------------------------------------------------------------ serviços */

.index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ink);
}

.index-row {
  display: grid;
  gap: 6px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--ink);
  text-decoration: none;
}

.index-title {
  justify-self: start;
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.625rem, 1rem + 2vw, 2.5rem);
  line-height: 1.05;
}

.index-row:hover .index-title,
.index-row:focus-visible .index-title {
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.5em;
}

.index-who {
  color: var(--ink-2);
  max-width: 48ch;
}

.index-go {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

@media (min-width: 900px) {
  .index-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 32px;
    align-items: baseline;
    padding: 26px 0 28px;
  }
}

/* ----------------------------------------------------------- perguntas */

.q-bar {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.q-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.q-status {
  min-height: 1.5em;
  font-weight: 600;
}

.q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: q;
  border-bottom: 1px solid var(--ink);
  max-width: 920px;
}

.q-list > li {
  counter-increment: q;
  border-top: 1px solid var(--ink);
}

.q-list summary {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-height: 60px;
  padding: 18px 40px 18px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.q-list summary::-webkit-details-marker {
  display: none;
}

.q-list summary::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.q-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font-family: var(--f-mono);
  font-size: 1.375rem;
  font-weight: 700;
}

.q-list details[open] > summary::after {
  content: "−";
}

.q {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 650;
  line-height: 1.3;
}

.a {
  margin: 0 0 22px calc(2.5rem + 12px);
  padding: 4px 0 4px 16px;
  border-left: 6px solid var(--marker);
  max-width: 62ch;
}

@media (min-width: 900px) {
  .q-bar {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }
}

/* ---------------------------------------------------------- formulário */

.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-copy h2 {
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(2rem, 1rem + 3.4vw, 3.75rem);
  line-height: 1;
}

.contact-copy h3 {
  margin-top: 8px;
  font-size: 1.125rem;
}

.after {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: after;
}

.after li {
  counter-increment: after;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.after li::before {
  content: counter(after) ".";
  font-family: var(--f-mono);
  font-weight: 700;
}

.warn {
  padding: 12px 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-weight: 600;
}

.sheet {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 650;
}

.opt {
  font-weight: 400;
  color: var(--ink-2);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid var(--field);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

/*
 * Especificidade (0,2,1), igual à da regra base dos campos, e declarada depois
 * dela. Com ".field [aria-invalid]" (0,2,0), a regra base vencia e os campos
 * de nome e e-mail nunca ficavam vermelhos — só o select e o textarea.
 */
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.hint {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.err {
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--error);
}

.field-check {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
}

.field-check input {
  width: 24px;
  height: 24px;
  margin: 10px 0 0 2px;
  accent-color: var(--ink);
}

.field-check label {
  display: block;
  min-height: 44px;
  padding: 8px 0;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
}

.field-check .err {
  grid-column: 2;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.result:not(:empty) {
  padding: 12px 14px;
  border-left: 6px solid var(--ink);
  background: var(--mist);
  font-weight: 600;
}

.result[data-kind="error"] {
  border-left-color: var(--error);
}

.note {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
  .sheet {
    padding: 32px;
  }
}

/* ------------------------------------------------- páginas de serviço */

.svc-list {
  list-style: none;
  margin: 32px 0 20px;
  padding: 0;
  border-bottom: 1px solid var(--ink);
}

.svc-list > li {
  border-top: 1px solid var(--ink);
}

.svc summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
  min-height: 60px;
  padding: 14px 36px 14px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.svc summary::-webkit-details-marker {
  display: none;
}

.svc summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 1.375rem;
  font-weight: 700;
}

.svc[open] summary::after {
  content: "−";
}

.svc-t {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
}

.svc-f {
  justify-self: start;
  padding: 2px 8px;
  border: 1px solid var(--ink-2);
  border-radius: 3px;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.svc-b {
  padding: 0 0 20px;
}

.svc-b p {
  font-weight: 600;
}

.svc-b ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.svc-b li {
  padding: 2px 0;
}

@media (min-width: 600px) {
  .svc-f {
    justify-self: end;
  }
}

@media (max-width: 599px) {
  .svc summary {
    grid-template-columns: minmax(0, 1fr);
  }
}

.others {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 0 32px;
  border-top: 1px solid var(--rule);
}

.others a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--rule);
  font-weight: 650;
}

@media (min-width: 900px) {
  .others {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------- documentos */

.doc h2 {
  margin: 40px 0 12px;
  font-family: var(--f-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.1;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p {
  max-width: 68ch;
}

.doc p + p {
  margin-top: 12px;
}

.doc-act {
  margin-top: 40px;
}

.doc .lead + .doc-act {
  margin-top: 24px;
}

/* ------------------------------------------------------------- rodapé */

.foot {
  border-top: 6px solid var(--ink);
  padding: 48px 0 56px;
}

.foot-in {
  display: grid;
  gap: 24px;
}

.foot-brand p {
  margin-top: 6px;
  color: var(--ink-2);
}

.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.foot-legal {
  max-width: 88ch;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.foot-legal strong {
  color: var(--ink);
}

@media (max-width: 899px) {
  .foot {
    padding-bottom: 104px;
  }
}

/* ------------------------------------------- barra fixa (só no celular) */

.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--ink);
}

@media (min-width: 900px) {
  .bar {
    display: none !important;
  }
}

/* ------------------------------------------------------------ impressão */

@media print {
  .draft,
  .top,
  .skip,
  .bar,
  .foot-nav,
  .q-actions,
  .q-status,
  .hero-act,
  .contact {
    display: none !important;
  }
  .sec-marker,
  .sec-mist {
    background: none;
  }
  .q-side {
    position: static;
  }
  html.print-q body > *:not(main),
  html.print-q main > *:not(#perguntas) {
    display: none !important;
  }
  html.print-q .q-more {
    display: none;
  }
}
