.footer { padding-block: 1rem .35rem; font-size: .8125rem; line-height: 1.45; }
.footer .footer-inner { gap: .7rem 1.65rem; }
.footer .brand { width: 6.15rem; padding: .28rem .45rem; }
.footer h2 { margin: 0; font-size: .875rem; }
.footer p, .footer .footer-channels p { margin: .19rem 0; }
.footer .footer-legal { display: grid; align-content: start; justify-items: start; gap: .22rem; }
.footer .footer-access { margin-top: .6rem; padding-top: .15rem; }
.footer-access > .directory-admin-link { min-height: 2.1rem; }
.footer :is(a, button) { color: #fff; }
.footer :is(a, button):focus-visible { outline-color: #fff; }
.footer address { font-style: normal; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #006181; outline-offset: 3px; }
.legal-page { background: #f4f9f9; color: #07384a; }
.legal-header { background: #00536a; padding-block: 1rem; }
.legal-header a { color: white; }
.legal-header a:focus-visible { outline-color: white; }
.legal-layout { max-width: 56rem; padding-block: clamp(1.65rem, 5vw, 3.25rem); }
.legal-layout h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.legal-index { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-block: 1.4rem 2.5rem; }
.legal-index a { display: inline-flex; align-items: center; min-height: 2rem; }
.legal-layout section { margin-block: 2.5rem; scroll-margin-top: 1.5rem; }
.legal-layout h2 { margin-block-end: .65rem; }
.legal-layout p, .legal-layout dd { max-width: 69ch; line-height: 1.6; }
.legal-layout dt { font-weight: 800; margin-block: .9rem .2rem; }
.legal-layout dd { margin-inline-start: 0; }
.public-form { display: grid; gap: .75rem; margin-block: 1rem; max-width: 34rem; }
.public-form label { display: grid; gap: .24rem; font-weight: 750; }
.public-form :is(input,select) { width: 100%; min-height: 2.75rem; padding: .45rem .6rem; color: #07384a; background: white; border: 1px solid #5d8491; border-radius: .4rem; }
.public-form .button { justify-self: start; }
.form-message:empty { margin: 0; }
.cookie-dialog { width: min(34rem,calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow: auto; padding: 1.4rem; color: #07384a; background: white; border: 1px solid #6a919d; border-radius: .8rem; }
.cookie-dialog::backdrop { background: #063643a8; }
.legal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.inline-button { font: inherit; font-weight: 700; color: #004c65; background: none; border: 0; padding: .15rem .1rem; text-decoration: underline; cursor: pointer; }
.cookie-offer { position: fixed; z-index: 20; right: 1rem; bottom: 1rem; width: min(28rem,calc(100% - 2rem)); color: #07384a; background: white; border: 1px solid #6a919d; border-radius: .75rem; padding: .85rem; }
.footer .footer-legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer-channels p { margin-block: .35rem; }
.footer-instagram { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; }
.footer-instagram[hidden] { display: none; }
.legal-index a[aria-current="true"] { font-weight: 800; }
.cookie-panel { border: 1px solid #9dbfc8; border-radius: .8rem; padding: 1.1rem 1.25rem; background: white; }
.cookie-panel output { display: block; margin-block: .4rem .9rem; font-weight: 700; }

/* Abas sobre a página (informações legais e cadastro de parceiro) */
.aba-dialogo { width: min(46rem, calc(100% - 1.5rem)); max-height: min(88svh, 52rem); padding: 0; border: 0; border-radius: 1.1rem; color: #07384a; background: #fff; box-shadow: 0 30px 70px #021c2659; display: none; flex-direction: column; overflow: hidden; }
.aba-dialogo[open] { display: flex; }
.aba-dialogo::backdrop { background: #04283599; backdrop-filter: blur(2px); }
.aba-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem .9rem; border-bottom: 1px solid #d6e6ea; }
.aba-topo h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.aba-topo p { margin: .35rem 0 0; color: #3e6372; font-size: .95rem; max-width: 52ch; }
.aba-fechar { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid #c6dbe1; border-radius: 50%; background: #fff; color: #07384a; cursor: pointer; }
.aba-fechar:hover { background: #eef6f8; }
.aba-fechar svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.aba-guias { display: flex; gap: .35rem; padding: .7rem 1.4rem; overflow-x: auto; border-bottom: 1px solid #d6e6ea; scrollbar-width: thin; }
.aba-guias button { flex: none; font: inherit; font-size: .9rem; font-weight: 750; padding: .45rem .85rem; border-radius: 2rem; border: 1px solid #c6dbe1; background: #fff; color: #07384a; cursor: pointer; }
.aba-guias button[aria-selected="true"] { background: #005a76; border-color: #005a76; color: #fff; }
.aba-corpo { padding: 1.1rem 1.4rem 1.5rem; overflow-y: auto; overscroll-behavior: contain; line-height: 1.6; }
.aba-corpo section > h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.aba-corpo dt { font-weight: 800; margin-top: .9rem; }
.aba-corpo dd { margin: .2rem 0 0; }
.aba-corpo p, .aba-corpo dd { max-width: 68ch; }
.aba-secundario { font: inherit; font-weight: 750; background: none; border: 0; color: #005a76; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: .4rem; }
.parceria-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.parceria-form label { display: grid; gap: .3rem; font-weight: 750; font-size: .92rem; }
.parceria-form > label { margin-top: .9rem; }
.parceria-form .opcional { font-weight: 500; color: #5b7a85; font-size: .8rem; margin-left: .3rem; }
.parceria-form :is(input:not([type=checkbox]), select, textarea) { font: inherit; width: 100%; min-height: 2.7rem; padding: .45rem .65rem; color: #07384a; background: #fff; border: 1px solid #7fa2ad; border-radius: .5rem; }
.parceria-form textarea { resize: vertical; }
.parceria-form :is(input, select, textarea):focus-visible { outline: 3px solid #00618155; outline-offset: 1px; border-color: #006181; }
.parceria-aceite { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem; font-weight: 500 !important; line-height: 1.45; }
.parceria-aceite input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: none; accent-color: #005a76; }
.parceria-isca { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.parceria-status:empty { display: none; }
.parceria-status { margin: .9rem 0 0; font-weight: 700; color: #1d6b3f; }
.parceria-status.erro { color: #b3261e; }
.parceria-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.1rem; }
.parceria-ok { text-align: center; padding: 1.5rem .5rem; }
.parceria-ok svg { width: 3rem; height: 3rem; padding: .6rem; border-radius: 50%; background: #e0f1e5; fill: none; stroke: #1d6b3f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.parceria-ok h3 { margin: .8rem 0 .3rem; font-size: 1.35rem; }
.parceria-ok p { margin: 0 auto 1.2rem; max-width: 44ch; }
@media (max-width: 40rem) {
  .aba-dialogo { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: 1.1rem 1.1rem 0 0; }
  .parceria-campos { grid-template-columns: 1fr; }
}
.parceria-form :is(input, select, textarea) { font-weight: 500; }
.parceria-form .rotulo { display: block; }
.parceria-campos label { align-content: start; }
/* Correção: barra de guias não pode encolher (evita corte e barras de rolagem no Windows) */
.aba-topo, .aba-guias { flex: none; }
.aba-corpo { flex: 1 1 auto; min-height: 0; }
.aba-guias { flex-wrap: wrap; overflow: visible; }
@media (max-width: 40rem) {
  .aba-guias { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .aba-guias::-webkit-scrollbar { display: none; }
}
