

footer.rodape {
  --rp-margem: var(--fim-margem, 16px);
  --rp-borda-h: 96px;                    
  --rp-pe-h: 40px;                       
  --rp-campo: var(--p-rosa-campo);       
  --rp-papel: var(--p-papel);
  --rp-traco: var(--p-nanquim);          
  --rp-regua: rgb(29 29 30 / .46);       
  --rp-ralo: var(--p-tinta-lote);        
  --rp-desenho-h: 160px;                 
  
  --rp-planta-h: calc(var(--rp-desenho-h) - var(--rp-borda-h) * .16);
  
  --rp-n: calc(var(--rp-planta-h) * .55 - 8px);
  
  --rp-razao: 8.884;
  position: relative;
  
  overflow: visible;
  overflow-x: clip;
  isolation: isolate;
  
  z-index: var(--z-secao, 2);
  color: var(--cor-texto);
}

footer.rodape .rp-prancha {
  position: relative;
  container-type: inline-size;
  padding: calc(var(--rp-borda-h) * .5) var(--rp-margem) 22px;     
}

footer.rodape .rp-campo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
footer.rodape .rp-campo-mov { position: absolute; inset: 0; }
footer.rodape .rp-tinta {
  position: absolute; left: 0; right: 0; bottom: 0;
  top: calc(var(--rp-borda-h) * .74);    
  overflow: hidden;                      
  background: var(--rp-campo);
}

footer.rodape .rp-miolo {
  position: absolute; left: 0; right: 0; top: -14%; bottom: -14%;
  background:
    url(../../v3/midia/granulacao.webp) 0 0 / 1600px 800px repeat,
    url(../../v3/midia/ralo.webp) 400px 200px / 1600px 800px repeat,
    url(../materia/rodape/rodape-miolo.webp) 0 0 / 800px 800px repeat,
    var(--rp-campo);
}

html.com-js body:not([data-grao]) footer.rodape .rp-miolo {
  background: url(../materia/rodape/rodape-miolo.webp) 0 0 / 800px 800px repeat, var(--rp-campo);
}
footer.rodape .rp-borda {
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--rp-borda-h);
  background: url(../materia/rodape/rodape-borda-cel.webp) 0 0 / 680px var(--rp-borda-h) repeat-x;
}

footer.rodape .rp-janela {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(var(--rp-borda-h) * .5 + var(--rp-desenho-h));
  overflow: hidden;
}
footer.rodape .rp-desenho-mov {
  position: absolute; left: 0; right: 0;
  top: calc(var(--rp-borda-h) * .66);
  height: var(--rp-planta-h);
}

footer.rodape .rp-desenho { position: relative; z-index: 2; height: var(--rp-desenho-h); pointer-events: none; }

footer.rodape .rp-planta-janela { position: absolute; inset: 0; overflow: hidden; }
footer.rodape .rp-planta-mov { position: absolute; left: 0; right: 0; top: 0; height: 100%; }
footer.rodape .rp-planta { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
footer.rodape .rp-tr { fill: none; stroke: var(--rp-ralo); stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
footer.rodape .rp-tr-lote { stroke: var(--rp-traco); opacity: .72; }

footer.rodape .rp-tr { stroke-width: 9; }
footer.rodape .rp-tr-divisa { stroke-dasharray: 101.739 39.1304 12.5217 39.1304; }
footer.rodape .rp-tr-lote { stroke-width: 12.7; stroke-dasharray: 172.174 46.9565 15.6522 46.9565; }

footer.rodape .rp-escala {
  position: absolute; left: var(--rp-margem); bottom: 6px;      
  width: 152px;
  font-size: 12px; line-height: 1; color: var(--cor-texto);
}
footer.rodape .rp-esc-barra { display: flex; height: 8px; }
footer.rodape .rp-esc-barra i { flex: 1; border: 1.25px solid var(--rp-traco); border-left-width: 0; transform-origin: 0 50%; }
footer.rodape .rp-esc-barra i:first-child { border-left-width: 1.25px; }
footer.rodape .rp-esc-barra i:nth-child(odd) { background: var(--rp-traco); }
footer.rodape .rp-esc-num { display: flex; justify-content: space-between; margin-top: 6px; font-variant-numeric: tabular-nums; }
footer.rodape .rp-esc-num b { font-weight: 450; white-space: nowrap; }
footer.rodape .rp-esc-num b:first-child { margin-left: -.3em; }
footer.rodape .rp-esc-num b:last-child { margin-right: -1.05em; }

footer.rodape .rp-norte {
  position: absolute; left: var(--rp-margem); top: 4px;           
  width: var(--rp-n); height: calc(var(--rp-n) * 1.3);
  pointer-events: auto; touch-action: manipulation;
}
footer.rodape .rp-rosa { width: 100%; height: 100%; overflow: visible; }
footer.rodape .rp-rosa-n { fill: none; stroke: var(--rp-traco); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

footer.rodape .rp-rosa-aro { fill: rgb(252 237 236 / .42); stroke: var(--rp-traco); stroke-width: 1.3; }
footer.rodape .rp-rosa-aro2 { fill: none; stroke: var(--rp-traco); stroke-width: .8; opacity: .45; }
footer.rodape .rp-rosa-marcas { fill: none; stroke: var(--rp-traco); stroke-width: 1.2; stroke-linecap: round; }
footer.rodape .rp-giro {
  position: absolute;
  left: calc(var(--rp-n) * .1); top: calc(var(--rp-n) * .4);
  width: calc(var(--rp-n) * .8); height: calc(var(--rp-n) * .8);
}
footer.rodape .rp-mao, footer.rodape .rp-respira, footer.rodape .rp-agulha { width: 100%; height: 100%; }
footer.rodape .rp-respira { will-change: transform; }      
footer.rodape .rp-agulha-norte { fill: var(--rp-traco); }
footer.rodape .rp-agulha-sul { fill: var(--rp-papel); stroke: var(--rp-traco); stroke-width: 1.4; stroke-linejoin: round; }
footer.rodape .rp-agulha-pivo { fill: var(--rp-papel); stroke: var(--rp-traco); stroke-width: 1.4; }

footer.rodape .rp-carimbo {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr);
  border: 1.5px solid transparent;        
}

footer.rodape .rp-carimbo > .rp-moldura { position: absolute; inset: -1.5px; border: 0; pointer-events: none; }
footer.rodape .rp-moldura i { position: absolute; background: var(--rp-traco); }
footer.rodape .rp-m-cima { left: 0; right: 0; top: 0; height: 1.5px; transform-origin: 0 50%; }
footer.rodape .rp-m-dir { top: 0; bottom: 0; right: 0; width: 1.5px; transform-origin: 50% 0; }
footer.rodape .rp-m-baixo { left: 0; right: 0; bottom: 0; height: 1.5px; transform-origin: 100% 50%; }
footer.rodape .rp-m-esq { top: 0; bottom: 0; left: 0; width: 1.5px; transform-origin: 50% 0; }
footer.rodape .rp-carimbo > * + * { border-top: 1px solid var(--rp-regua); }
footer.rodape .rp-quem > * + *, footer.rodape .rp-lei > * + * { border-top: 1px solid var(--rp-regua); }
footer.rodape .rp-c { margin: 0; padding: 9px 12px 10px; }

footer.rodape .rp-titulo { font-size: 1rem; line-height: 1.35; font-weight: 500; text-wrap: pretty; }
footer.rodape .rp-endereco { font-style: normal; font-size: .9375rem; line-height: 1.4; text-wrap: pretty; }
footer.rodape .rp-legal { font-size: .8125rem; line-height: 1.45; text-wrap: pretty; }
footer.rodape .rp-credito { font-size: .8125rem; line-height: 1.45; }

footer.rodape .rp-ligacoes, footer.rodape .rp-legais { display: grid; margin: 0; padding: 0; list-style: none; }
footer.rodape .rp-ligacoes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
footer.rodape .rp-ligacoes li { grid-column: span 2; padding: 0; }
footer.rodape .rp-ligacoes li:nth-child(-n + 2) { grid-column: span 3; }
footer.rodape .rp-ligacoes li:nth-child(2), footer.rodape .rp-ligacoes li:nth-child(4), footer.rodape .rp-ligacoes li:nth-child(5) { border-left: 1px solid var(--rp-regua); }
footer.rodape .rp-ligacoes li:nth-child(n + 3) { border-top: 1px solid var(--rp-regua); }
footer.rodape .rp-legais { grid-template-columns: repeat(2, minmax(0, 1fr)); }
footer.rodape .rp-legais li { padding: 0; }
footer.rodape .rp-legais li + li { border-left: 1px solid var(--rp-regua); }
footer.rodape .rp-carimbo a {
  display: flex; align-items: center;
  min-height: 44px; padding: 0 12px;
  color: inherit; font-size: .9375rem; font-weight: 450; letter-spacing: .005em; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgb(29 29 30 / .42);
  transition: background-color .22s var(--curva, ease), text-decoration-color .22s var(--curva, ease);
}
footer.rodape .rp-legais a { font-size: .8125rem; }
@media (hover: hover) {
  footer.rodape .rp-carimbo a:hover { background-color: rgb(252 237 236 / .34); text-decoration-color: currentColor; }
}
footer.rodape .rp-carimbo a:active { background-color: rgb(252 237 236 / .5); }
footer.rodape .rp-carimbo a:focus-visible { outline: 3px solid var(--cor-anel); outline-offset: -3px; border-radius: 0; }

footer.rodape .rp-carimbo > .rp-nome { border-top: 1.5px solid var(--rp-traco); }
footer.rodape .rp-nome {
  padding: .2em 12px .1em;
  font-size: calc((100vw - 2 * var(--rp-margem) - 27px) / (var(--rp-razao) * 1.01));
  font-size: calc((100cqi - 27px) / (var(--rp-razao) * 1.01));
  font-weight: var(--peso-titulo, 440);
  font-variation-settings: 'FLAR' var(--flar-titulo, 100), 'VOLM' 0;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
footer.rodape .rp-nome-linha { display: inline-block; }

footer.rodape .rp-margem {
  position: relative; z-index: 3;
  background: var(--rp-papel);
  padding: 22px var(--rp-margem) calc(16px + env(safe-area-inset-bottom));
}
footer.rodape .rp-margem::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(var(--rp-pe-h) * -.45); height: var(--rp-pe-h);
  background: url(../materia/rodape/rodape-pe-cel.webp) 0 0 / 680px var(--rp-pe-h) repeat-x;
  pointer-events: none;
}
footer.rodape .rp-assinatura { position: relative; color: var(--cor-texto); }

footer.rodape .rp-cab { position: absolute; left: 0; right: 0; top: -160px; bottom: 0; overflow: hidden; pointer-events: none; }
footer.rodape .rp-cab-sombra { z-index: 1; }
footer.rodape .rp-cab-copa { z-index: 4; }
footer.rodape .rp-copa-caixa, footer.rodape .rp-sombra-caixa { position: absolute; left: 100%; top: 0; width: 200px; height: 175px; }
footer.rodape .rp-copa, footer.rodape .rp-sombra {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none;
  transform: scaleX(-1);                  
}
html:not(.com-js) footer.rodape .rp-cab, footer.rodape .rp-cab:not([data-posta]) { display: none; }
footer.rodape .rp-margem .rascunho--legenda { margin-top: 10px; }

@media (max-width: 767px) {
  footer.rodape .rp-carimbo > * + * { border-top: 0; }
  footer.rodape .rp-quem > * + *, footer.rodape .rp-lei > * + * { border-top: 0; }
  footer.rodape .rp-titulo { padding-bottom: 2px; }
  footer.rodape .rp-endereco { padding-top: 0; }
  
  footer.rodape .rp-ligacoes {
    border-top: 1px solid var(--rp-regua);
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 44px);
    row-gap: 8px; column-gap: 8px; padding: 10px 0 6px;
  }
  
  footer.rodape .rp-ligacoes li:nth-child(n) { grid-column: auto; border: 0; }
  footer.rodape .rp-ligacoes li:nth-child(1) { grid-area: 1 / 1; }
  footer.rodape .rp-ligacoes li:nth-child(2) { grid-area: 2 / 1; }
  footer.rodape .rp-ligacoes li:nth-child(3) { grid-area: 1 / 2; }
  footer.rodape .rp-ligacoes li:nth-child(4) { grid-area: 2 / 2; }
  footer.rodape .rp-ligacoes li:nth-child(5) { grid-area: 3 / 2; }
  
  footer.rodape .rp-legal { padding-top: 4px; padding-bottom: 0; }
  footer.rodape .rp-legais { display: flex; flex-wrap: wrap; gap: 0 8px; }
  footer.rodape .rp-legais li:nth-child(n) { border: 0; }
  footer.rodape .rp-credito { padding-top: 0; }
}

@media (min-width: 768px) {
  footer.rodape { --rp-borda-h: 128px; --rp-pe-h: 56px; --rp-desenho-h: clamp(192px, calc(15vw + 20px), 244px); }
  footer.rodape .rp-borda { background-image: url(../materia/rodape/rodape-borda-desk.webp); background-size: 1600px var(--rp-borda-h); }
  footer.rodape .rp-margem::before { background-image: url(../materia/rodape/rodape-pe-desk.webp); background-size: 1600px var(--rp-pe-h); }
  footer.rodape .rp-tr { stroke-width: 6.6; }
  footer.rodape .rp-tr-divisa { stroke-dasharray: 74.6087 28.6957 9.18261 28.6957; }
  footer.rodape .rp-tr-lote { stroke-width: 9.3; stroke-dasharray: 126.261 34.4348 11.4783 34.4348; }
  footer.rodape .rp-escala { width: 248px; font-size: 13px; }
  footer.rodape .rp-esc-barra { height: 10px; }
  footer.rodape .rp-c { padding: 12px 16px 13px; }
  footer.rodape .rp-carimbo a { padding: 0 16px; }
  footer.rodape .rp-nome { padding: .18em 16px .08em; }
  footer.rodape .rp-nome {
    font-size: calc((100vw - 2 * var(--rp-margem) - 35px) / (var(--rp-razao) * 1.01));
    font-size: calc((100cqi - 35px) / (var(--rp-razao) * 1.01));
  }
  footer.rodape .rp-prancha { padding-bottom: 32px; }
  footer.rodape .rp-margem { padding-top: 30px; }
}

@media (min-width: 1024px) {
  
  footer.rodape .rp-carimbo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.35fr); }
  footer.rodape .rp-carimbo > * + * { border-top: 0; }
  footer.rodape .rp-quem { grid-column: 1; grid-row: 1; }
  footer.rodape .rp-ligacoes { grid-column: 2; grid-row: 1; border-left: 1px solid var(--rp-regua);
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(44px, 1fr)); }
  
  footer.rodape .rp-ligacoes li:nth-child(n) { grid-column: auto; border: 0; }
  footer.rodape .rp-ligacoes li:nth-child(1) { grid-area: 1 / 1; }
  footer.rodape .rp-ligacoes li:nth-child(2) { grid-area: 2 / 1; border-top: 1px solid var(--rp-regua); }
  footer.rodape .rp-ligacoes li:nth-child(3) { grid-area: 1 / 2; border-left: 1px solid var(--rp-regua); }
  footer.rodape .rp-ligacoes li:nth-child(4) { grid-area: 2 / 2; border-left: 1px solid var(--rp-regua); border-top: 1px solid var(--rp-regua); }
  footer.rodape .rp-ligacoes li:nth-child(5) { grid-area: 3 / 2; border-left: 1px solid var(--rp-regua); border-top: 1px solid var(--rp-regua); }
  footer.rodape .rp-lei { grid-column: 3; grid-row: 1; border-left: 1px solid var(--rp-regua); }
  footer.rodape .rp-carimbo > .rp-nome { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 1280px) {
  footer.rodape .rp-titulo { font-size: 1.125rem; }
  footer.rodape .rp-endereco { font-size: 1rem; }
}
