/* Banner de consentimiento de cookies — tema oscuro, discreto, abajo. */
.rd-cc {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  width: min(720px, calc(100% - 32px));
  z-index: 9999;
  opacity: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .35s;
}
.rd-cc.show { transform: translate(-50%, 0); opacity: 1; }
.rd-cc-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(17, 21, 31, .96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  color: #e6ebf5;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.rd-cc-txt { flex: 1; min-width: 0; }
.rd-cc-txt strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.rd-cc-txt p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8794ad; }
.rd-cc-txt a { color: #22d3ee; text-decoration: none; border-bottom: 1px dotted rgba(34, 211, 238, .5); }
.rd-cc-txt a:hover { color: #67e8f9; }
.rd-cc-btns { display: flex; gap: 10px; flex: none; }
.rd-cc-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.rd-cc-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #cbd5e1;
}
.rd-cc-reject:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.rd-cc-accept {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #051018;
}
.rd-cc-accept:hover { filter: brightness(1.08); }

@media (max-width: 560px) {
  .rd-cc-box { flex-direction: column; align-items: stretch; gap: 14px; }
  .rd-cc-btns { justify-content: flex-end; }
}

/* Botão discreto para rever/revogar a escolha (LGPD art. 8º §5º: revogar tão fácil quanto aceitar). */
.rd-cc-fab {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(17, 21, 31, .88);
  color: #cbd5e1;
  font: 600 11.5px/1 "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 8px 12px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .15s, border-color .15s;
}
.rd-cc-fab:hover,
.rd-cc-fab:focus-visible { opacity: 1; border-color: rgba(34, 211, 238, .6); }
.rd-cc-fab:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
@media print { .rd-cc, .rd-cc-fab { display: none !important; } }
