/* ==========================================================================
   Autorização de Imagem — site oficial
   Folha de estilo única. Sem dependências externas.
   Paleta derivada do aplicativo iOS (AccentColor: #101828 / #F5F5F7).
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;

  --ink: #101828;
  --ink-soft: #344054;
  --muted: #5b6472;
  --faint: #8a93a3;

  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #fbfbfc;
  --line: rgba(16, 24, 40, .10);
  --line-strong: rgba(16, 24, 40, .18);
  --fill: rgba(16, 24, 40, .04);

  --on-ink: #ffffff;
  --ok: #1f7a4d;
  --warn: #8a5a00;
  --danger: #9b2226;
  --ok-bg: rgba(31, 122, 77, .10);
  --warn-bg: rgba(138, 90, 0, .10);
  --danger-bg: rgba(155, 34, 38, .09);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, .06), 0 24px 48px -24px rgba(16, 24, 40, .28);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 1120px;
  --wrap-prose: 760px;
  --header-h: 60px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    color-scheme: dark;
    --ink: #f5f5f7;
    --ink-soft: #d6d9e0;
    --muted: #9aa3b2;
    --faint: #79818f;
    --bg: #0b0d12;
    --surface: #14171e;
    --surface-2: #171b23;
    --line: rgba(245, 245, 247, .12);
    --line-strong: rgba(245, 245, 247, .22);
    --fill: rgba(245, 245, 247, .06);
    --on-ink: #0b0d12;
    --ok: #5ec98e;
    --warn: #e5b25a;
    --danger: #f08d90;
    --ok-bg: rgba(94, 201, 142, .12);
    --warn-bg: rgba(229, 178, 90, .12);
    --danger-bg: rgba(240, 141, 144, .12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 8px 24px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 48px -24px rgba(0, 0, 0, .8);
  }
}

:root[data-tema="escuro"] {
  color-scheme: dark;
  --ink: #f5f5f7;
  --ink-soft: #d6d9e0;
  --muted: #9aa3b2;
  --faint: #79818f;
  --bg: #0b0d12;
  --surface: #14171e;
  --surface-2: #171b23;
  --line: rgba(245, 245, 247, .12);
  --line-strong: rgba(245, 245, 247, .22);
  --fill: rgba(245, 245, 247, .06);
  --on-ink: #0b0d12;
  --ok: #5ec98e;
  --warn: #e5b25a;
  --danger: #f08d90;
  --ok-bg: rgba(94, 201, 142, .12);
  --warn-bg: rgba(229, 178, 90, .12);
  --danger-bg: rgba(240, 141, 144, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 8px 24px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 48px -24px rgba(0, 0, 0, .8);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 1.25rem + .9vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.05rem + .35vw, 1.3rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }

strong { font-weight: 650; }
img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

code, kbd {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .12em .38em;
}

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

::selection { background: var(--ink); color: var(--on-ink); }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.prose-wrap { max-width: var(--wrap-prose); }

.secao { padding: clamp(48px, 7vw, 88px) 0; }
.secao--fina { padding: clamp(36px, 5vw, 60px) 0; }
.secao + .secao { border-top: 1px solid var(--line); }

.pular-para-conteudo {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.pular-para-conteudo:focus { left: 16px; }

/* --- Cabeçalho ------------------------------------------------------------ */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .cabecalho { background: var(--bg); } }

.cabecalho__interno {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: .97rem;
  letter-spacing: -.015em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.marca img { width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.marca span { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--fill); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--fill); font-weight: 600; }

.acoes-cabecalho { display: flex; align-items: center; gap: 8px; }

.botao-icone {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.botao-icone:hover { border-color: var(--line-strong); }
.botao-icone:active { transform: scale(.94); }
.botao-icone svg { width: 18px; height: 18px; }
.botao-icone .icone-escuro { display: none; }
:root[data-tema="escuro"] .botao-icone .icone-claro { display: none; }
:root[data-tema="escuro"] .botao-icone .icone-escuro { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) .botao-icone .icone-claro { display: none; }
  :root:not([data-tema="claro"]) .botao-icone .icone-escuro { display: block; }
}

.abre-menu { display: none; }

/* --- Botões --------------------------------------------------------------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.botao svg { width: 19px; height: 19px; flex: none; }
.botao--primario { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); }
.botao--primario:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.botao--primario:active { transform: translateY(0); }
.botao--secundario { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.botao--secundario:hover { background: var(--surface-2); transform: translateY(-1px); }
.botao--discreto { background: transparent; color: var(--muted); padding-inline: 6px; }
.botao--discreto:hover { color: var(--ink); }
.botao[aria-disabled="true"] {
  background: var(--fill);
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.botao--bloco { width: 100%; }

.grupo-botoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: clamp(52px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.hero__icone {
  width: 84px; height: 84px;
  border-radius: 20px;
  margin: 0 auto 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero h1 { margin-bottom: .35em; max-width: 17ch; margin-inline: auto; }
.hero__linha { max-width: 60ch; margin: 0 auto 28px; font-size: clamp(1.03rem, .98rem + .35vw, 1.22rem); color: var(--muted); }
.hero .grupo-botoes { justify-content: center; }
.hero__nota { margin-top: 18px; font-size: .86rem; color: var(--faint); }

.selo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.selo::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

/* --- Cabeçalho de página -------------------------------------------------- */
.topo-pagina { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px); }
.topo-pagina p { max-width: 62ch; color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.olho {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

/* --- Cartões -------------------------------------------------------------- */
.grade { display: grid; gap: 16px; }
.grade--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grade--3 { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.grade--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.cartao {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.cartao h3 { margin-bottom: .4em; }
.cartao p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.cartao--destaque { border-color: var(--line-strong); box-shadow: var(--shadow); }
a.cartao { text-decoration: none; display: block; }
a.cartao:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.cartao__icone {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--fill);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  color: var(--ink);
}
.cartao__icone svg { width: 20px; height: 20px; }

.seta::after {
  content: "→";
  display: inline-block;
  margin-left: .4em;
  transition: transform .18s var(--ease);
}
a.cartao:hover .seta::after { transform: translateX(3px); }

/* --- Passos numerados ----------------------------------------------------- */
.passos { list-style: none; counter-reset: passo; margin: 0; padding: 0; display: grid; gap: 14px; }
.passos > li {
  counter-increment: passo;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px 22px 72px;
  box-shadow: var(--shadow-sm);
}
.passos > li::before {
  content: counter(passo);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: .87rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.passos h3 { margin-bottom: .35em; font-size: 1.08rem; }
.passos p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.passos p + p { margin-top: .6em; }

/* --- Lista de checagem ---------------------------------------------------- */
.lista-marcada { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: 10px; }
.lista-marcada li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.lista-marcada li::before {
  content: "";
  position: absolute;
  left: 4px; top: .55em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.lista-marcada--neutra li::before {
  width: 6px; height: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--faint);
  transform: none;
  top: .68em;
  left: 7px;
}

/* --- Preços --------------------------------------------------------------- */
.precos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.preco {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.preco--destaque { border-color: var(--ink); box-shadow: var(--shadow); position: relative; }
.preco__fita {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--on-ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.preco__titulo { font-size: .93rem; font-weight: 650; color: var(--muted); margin-bottom: 10px; }
.preco__valor { font-size: 2.05rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.preco__valor small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.preco__nota { font-size: .87rem; color: var(--muted); margin: 10px 0 0; }

/* --- Avisos --------------------------------------------------------------- */
.aviso {
  border: 1px solid var(--line);
  border-left: 3px solid var(--faint);
  background: var(--surface);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 0 0 1.4em;
  font-size: .95rem;
  color: var(--ink-soft);
}
.aviso p:last-child { margin-bottom: 0; }
.aviso strong { color: var(--ink); }
.aviso--ok { border-left-color: var(--ok); background: var(--ok-bg); }
.aviso--atencao { border-left-color: var(--warn); background: var(--warn-bg); }
.aviso--critico { border-left-color: var(--danger); background: var(--danger-bg); }
.aviso--info { border-left-color: var(--ink); }

/* Marcador de campo pendente de preenchimento jurídico */
mark.pendente {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px dashed currentColor;
  border-radius: 6px;
  padding: .05em .4em;
  font-size: .93em;
  font-weight: 600;
}

/* --- Tabelas -------------------------------------------------------------- */
.tabela-rolavel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin: 0 0 1.4em;
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 440px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--fill); font-weight: 650; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }

/* --- Acordeão (FAQ / solução de problemas) -------------------------------- */
.acordeao { display: grid; gap: 10px; }
.acordeao details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.acordeao details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.acordeao summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease);
}
.acordeao details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.acordeao summary:hover { background: var(--fill); }
.acordeao .corpo { padding: 0 20px 20px; font-size: .96rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.acordeao .corpo p:last-child, .acordeao .corpo ol:last-child, .acordeao .corpo ul:last-child { margin-bottom: 0; }
.acordeao .corpo ol, .acordeao .corpo ul { padding-left: 1.25em; margin-bottom: 1em; }
.acordeao .corpo li { margin-bottom: .45em; }

/* --- Campo de busca ------------------------------------------------------- */
.busca { position: relative; margin-bottom: 26px; }
.busca input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 16px 13px 44px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease);
}
.busca input::placeholder { color: var(--faint); }
.busca input:focus { border-color: var(--ink); outline: none; box-shadow: var(--shadow); }
.busca svg {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--faint);
  pointer-events: none;
}
.sem-resultado {
  display: none;
  text-align: center;
  padding: 34px 20px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
}
.sem-resultado.visivel { display: block; }

/* --- Sumário lateral (páginas legais) ------------------------------------- */
.legal { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
/* Sem isto, o mínimo automático dos itens de grade deixa a tabela larga
   empurrar a coluna inteira e a página rola na horizontal no celular. */
.legal > * { min-width: 0; }
@media (min-width: 900px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }

.sumario {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  font-size: .88rem;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}
.sumario h2 { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.sumario ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.sumario a { display: block; padding: 5px 8px; margin-inline: -8px; border-radius: 7px; color: var(--muted); text-decoration: none; }
.sumario a:hover { color: var(--ink); background: var(--fill); }
.sumario a.ativo { color: var(--ink); font-weight: 600; background: var(--fill); }

.texto-legal { font-size: 1.02rem; }
.texto-legal h2 {
  scroll-margin-top: calc(var(--header-h) + 20px);
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}
.texto-legal > h2:first-of-type { margin-top: 1.4em; }
.texto-legal h3 { margin-top: 1.8em; font-size: 1.08rem; }
.texto-legal ul, .texto-legal ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.texto-legal li { margin-bottom: .5em; }
.texto-legal li::marker { color: var(--faint); }

.meta-doc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: .87rem;
  color: var(--muted);
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 1.6em;
}

/* --- Dados de contato ----------------------------------------------------- */
.contato-linha {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.contato-linha:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.contato-linha svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.contato-linha .rotulo { font-size: .8rem; color: var(--muted); display: block; }
.contato-linha .valor { font-weight: 600; word-break: break-all; }

/* --- Formulário (compositor de e-mail, 100% local) ------------------------ */
.formulario { display: grid; gap: 18px; }
.campo { display: grid; gap: 7px; }
.campo label { font-size: .9rem; font-weight: 600; }
.campo .dica { font-size: .82rem; color: var(--muted); }
.campo input, .campo select, .campo textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .18s var(--ease);
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--ink); outline: none; }
.campo .erro { font-size: .84rem; color: var(--danger); display: none; }
.campo.invalido input, .campo.invalido textarea { border-color: var(--danger); }
.campo.invalido .erro { display: block; }
.aviso-formulario { display: none; }
.aviso-formulario.visivel { display: block; }

/* --- Rodapé --------------------------------------------------------------- */
.rodape {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(40px, 5vw, 60px) 0 32px;
  margin-top: auto;
}
.rodape__grade {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 36px;
}
.rodape h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rodape a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.rodape a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.rodape__base {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--faint);
}
.rodape__marca { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 650; }
.rodape__marca img { width: 26px; height: 26px; border-radius: 7px; }
.rodape__nota { font-size: .85rem; color: var(--faint); max-width: 34ch; }

.pagina { display: flex; flex-direction: column; min-height: 100vh; }

/* --- Utilitários ---------------------------------------------------------- */
.centro { text-align: center; }
.limite-texto { max-width: 65ch; }
.limite-texto.centro { margin-inline: auto; }
.espaco-t { margin-top: 28px; }
.espaco-t-g { margin-top: 44px; }
.discreto { color: var(--muted); }
.miudo { font-size: .87rem; }
.so-leitor {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Responsivo ----------------------------------------------------------- */
@media (max-width: 860px) {
  .abre-menu { display: inline-grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 16px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    /* visibility só volta a "hidden" depois que o desvanecer termina */
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.aberto {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
  }
  .nav a { padding: 12px 14px; font-size: 1rem; border-radius: var(--r-sm); }
  .sumario { position: static; max-height: none; }
}

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 18px; }
  .cartao { padding: 20px; }
  .passos > li { padding: 20px 20px 20px 62px; }
  .passos > li::before { left: 18px; top: 20px; width: 28px; height: 28px; font-size: .8rem; }
  .grupo-botoes .botao { width: 100%; }
  .hero .grupo-botoes { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .cabecalho, .rodape, .sumario, .botao, .busca { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .acordeao details { border: 0; }
  .acordeao .corpo { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
