/* Rodapé único do site (partials/rodape.*.html, inserido no build pelo vite.config.js) */
footer.rd { background: #0A0A0A; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.07); padding: 52px 0 28px; font-family: inherit; }
/* Computador: a marca à esquerda e os 4 grupos no tamanho do conteúdo, espalhados até a borda direita */
.rd-grid { display: grid; grid-template-columns: minmax(240px, 280px) repeat(4, auto); justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.rd-col .rd-links a { white-space: nowrap; }
.rd-logo { display: inline-block; margin-bottom: 12px; }
.rd-logo img { height: 44px; width: auto; display: block; }
.rd-desc { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.38); max-width: 260px; margin: 0 0 14px; }
.rd-selo { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 5px 13px; font-size: 11px; font-weight: 600; color: #5CCC7F; }
.rd-selo::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3DB865; }
.rd-contato { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.rd-contato a { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 5px 11px; transition: border-color .16s, color .16s; }
.rd-contato a:hover { color: #fff; border-color: #3DB865; }
.rd-h { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0 0 16px; cursor: default; font: 700 11px/1.3 inherit; font-family: inherit; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.32); }
.rd-links { display: flex; flex-direction: column; gap: 9px; }
.rd-links a { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.48); text-decoration: none; transition: color .16s; }
.rd-links a:hover, .rd-links a:focus-visible { color: rgba(255,255,255,.9); }
.rd-base { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.3); }
.rd-base a { color: rgba(255,255,255,.5); text-decoration: none; }
.rd-base a:hover { color: rgba(255,255,255,.85); }
.rd-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.rd-legal em { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); }

/* Tablet: a marca ocupa a linha de cima, os 4 grupos ficam lado a lado */
@media (max-width: 1080px) {
  .rd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; gap: 28px 24px; }
  .rd-col .rd-links a { white-space: normal; }
  .rd-marca { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .rd-logo, .rd-desc { margin: 0; }
  .rd-desc { max-width: 340px; }
  .rd-contato { margin: 0; }
}

/* Celular: cada grupo vira uma linha que abre e fecha */
@media (max-width: 720px) {
  footer.rd { padding: 40px 0 24px; }
  .rd-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .rd-marca { display: block; margin-bottom: 22px; }
  .rd-logo { margin-bottom: 10px; }
  .rd-desc { margin-bottom: 12px; }
  .rd-contato { margin-top: 14px; }
  .rd-col { border-top: 1px solid rgba(255,255,255,.08); }
  .rd-col:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
  .rd-h { margin: 0; padding: 15px 0; cursor: pointer; font-size: 12px; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; align-items: center; }
  .rd-h::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
  .rd-col.aberto .rd-h::after { transform: rotate(-135deg) translate(-2px, -2px); }
  .rd-links { padding: 0 0 16px; gap: 12px; }
  .rd-links a { font-size: 14.5px; }
  footer.rd-js .rd-col:not(.aberto) .rd-links { display: none; }
  .rd-base { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 721px) { .rd-h { pointer-events: none; } }
