/* Páginas institucionais (metodologia, privacidade, termos, cancelamento): mesma identidade da landing. */
:root {
  --paper: #FFFFFF; --soft: #F5F7FA; --ink: #1A1F2E; --muted: #4A5468; --line: #E3E8EF;
  --brand: #061331; --brand-hover: #0E2152; --brand-2: #12307A; --on-band-muted: #C2CADB;
  --teal: #1A9E9A; --teal-soft: #E6F5F4; --teal-ink: #0E6461;
  --red: #D64545; --red-soft: #FBECEC; --amber: #F5B819; --amber-soft: #FEF5DC; --green: #2E9E5B; --green-soft: #E7F5EC;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }

/* topo */
.topo { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo span { font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; }
.logo strong { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; margin-left: -3px; padding: 1px 9px 3px; border-radius: 7px; background: var(--brand); color: #FFFFFF; }
.voltar { font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }
.voltar:hover { text-decoration: underline; }

/* conteúdo */
.doc { max-width: 760px; margin-inline: auto; padding: 40px 16px 56px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: var(--brand); margin: 0 0 14px; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 8px; }
.atualizado { font-size: .85rem; color: #8A93A6; margin: 0 0 28px; }
h2 { font-size: 1.3rem; line-height: 1.25; color: var(--brand); margin: 36px 0 10px; letter-spacing: -.01em; scroll-margin-top: 80px; }
h3 { font-size: 1.05rem; color: var(--ink); margin: 22px 0 6px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--brand-2); }
strong { color: var(--ink); }

.indice { background: var(--soft); border-radius: 12px; padding: 16px 20px; margin: 0 0 8px; }
.indice p { font-weight: 700; margin: 0 0 6px; font-size: .9rem; }
.indice ol { margin: 0; columns: 2; column-gap: 28px; font-size: .92rem; }
@media (max-width: 560px) { .indice ol { columns: 1; } }

.caixa { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 14px 0; }
.caixa.teal { background: var(--teal-soft); border-color: #BFE3E1; }
.caixa.amber { background: var(--amber-soft); border-color: #F5DE9B; }
.caixa > :last-child { margin-bottom: 0; }

.tabela { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .92rem; }
.tabela th, .tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tabela th { background: var(--soft); color: var(--muted); font-weight: 600; font-size: .82rem; }
.rolar { overflow-x: auto; }

.grau { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.grau::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.grau.alto { background: var(--red-soft); color: #9E2626; } .grau.alto::before { background: var(--red); }
.grau.medio { background: var(--amber-soft); color: #7A5A00; } .grau.medio::before { background: var(--amber); }

.passos { list-style: none; padding: 0; counter-reset: p; display: grid; gap: 10px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 30px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; }
.passos li::before { content: counter(p); width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.passos b { display: block; color: var(--brand); }


/* formulário (cancelar assinatura) */
.form { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; margin: 18px 0; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .88rem; font-weight: 600; }
.campo input, .campo select, .campo textarea { font: 500 1rem "DM Sans", system-ui, sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 13px; width: 100%; }
.campo textarea { resize: vertical; min-height: 90px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px #EEF1F7; }
.dois { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .dois { grid-template-columns: 1fr; } }
.btn { display: inline-flex; justify-content: center; align-items: center; font: 600 1rem "DM Sans", system-ui, sans-serif; border: 0; border-radius: 10px; padding: 13px 22px; cursor: pointer; background: var(--brand); color: #fff; text-decoration: none; justify-self: start; }
.btn:hover { background: var(--brand-hover); }
.btn.claro { background: #fff; color: var(--brand); border: 1.5px solid var(--line); }
.erro { color: #A12E2E; font-size: .88rem; margin: 0; }
.fine { font-size: .82rem; color: var(--muted); margin: 0; }
.ok { border: 1.5px solid #BFE3CC; background: #F1FAF4; border-radius: 14px; padding: 20px 22px; margin: 18px 0; }
.ok b { color: #1F6E40; }
.contatos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
@media (max-width: 560px) { .contatos { grid-template-columns: 1fr; } }
.contatos div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.contatos small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

.btn.cinza { background: #DDE3EB; color: var(--ink); }
.btn.cinza:hover { background: #CDD5E0; }
.opc { font-weight: 400; color: var(--muted); font-size: .82rem; }
.campo select:invalid { color: #8A93A5; }
.campo select option { color: var(--ink); }

/* nota de 0 a 10 */
.nps { border: 0; padding: 0; margin: 0; min-width: 0; }
.nps legend { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.nps-escala { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.nps-escala label { position: relative; }
.nps-escala input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nps-escala span { display: grid; place-items: center; height: 40px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; background: #fff; }
.nps-escala input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.nps-escala input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.nps-rotulos { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .nps-escala { gap: 3px; } .nps-escala span { height: 36px; font-size: .85rem; } }

/* popup */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(10, 12, 28, .55); display: grid; place-items: center; padding: 16px; }
.janela { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; max-height: calc(100% - 32px); overflow: auto; padding: 24px; box-shadow: 0 20px 50px -20px rgba(6, 19, 49, .45); }
.janela h2 { margin: 0 0 6px; }
.janela .dicas { display: grid; gap: 10px; margin: 14px 0 20px; }
.janela .dicas div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.janela .dicas b { display: block; color: var(--brand); }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .acoes .btn { flex: 1 1 100%; } }

/* rodapé */
.rodape { background: var(--brand); color: #fff; padding: 22px 16px; }
.rodape .wrap { display: grid; gap: 10px; justify-items: center; text-align: center; }
.rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .88rem; }
.rodape nav a { color: #fff; text-decoration: none; }
.rodape nav a:hover, .rodape nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.rodape p { margin: 0; color: var(--on-band-muted); font-size: .82rem; }
