/* A single full-bleed mural replaces the old isolated foliage mask. */
.rodape {
  background-color:#193b2b;
  background-image:linear-gradient(#193b2b26,#193b2b26),url('../assets/botanica/rodape-folhas-v23.png');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.rodape::before { content:none; }
.rodape h4,.rodape-marca > span { text-shadow:0 1px 4px #102d20; }
.rodape-base { background:#12392a38; }
/* The mural itself follows the wave; no solid-colored strip above the art. */
.pagina-inicio .divisor-rodape { display:none; }
.rodape {
  --altura-onda:32px;
  margin-top:calc(-1 * var(--altura-onda));
  padding-top:var(--altura-onda);
  mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 34" preserveAspectRatio="none"><path d="M0 10 C150 30,300 0,450 14 C600 28,750 2,900 16 C1050 30,1150 6,1200 12 L1200 34 L0 34Z"/></svg>'),linear-gradient(black,black);
  mask-size:100% var(--altura-onda),100% calc(100% - var(--altura-onda) + 1px);
  mask-position:center top,center bottom;
  mask-repeat:no-repeat;
}
@media(max-width:720px) {
  .rodape { --altura-onda:22px; }
}
/* Half of the 4px stroke is clipped by the footer mask, leaving a 2px
   inner border that follows the exact curve at every viewport width. */
.rodape::after {
  content:'';position:absolute;inset:0 0 auto;height:var(--altura-onda);
  pointer-events:none;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 34" preserveAspectRatio="none"><path d="M0 10 C150 30,300 0,450 14 C600 28,750 2,900 16 C1050 30,1150 6,1200 12" fill="none" stroke="%23d52d85" stroke-width="4" vector-effect="non-scaling-stroke"/></svg>') center/100% 100% no-repeat;
}
