/* Aviso de cookies, páginas legais e links legais do rodapé. */

/* ---------- Aviso de cookies ---------- */
.bonsa-cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 2147483002; box-sizing: border-box;
  width: min(420px, calc(100vw - 40px)); padding: 20px 20px 16px;
  background: rgba(var(--bonsa-bg-rgb), .94); color: var(--text);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--bonsa-stroke); border-radius: 22px; box-shadow: 0 24px 60px -28px rgba(20,29,31,.45);
  font-family: 'Borna', 'Poppins', Arial, sans-serif; font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.bonsa-cookie.is-on { opacity: 1; transform: translateY(0); }
.bonsa-cookie-title { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.bonsa-cookie-title::before { content: "[ "; color: var(--gold); }
.bonsa-cookie-title::after { content: " ]"; color: var(--gold); }
.bonsa-cookie-text { margin: 0 0 14px; color: var(--text-sub); }
.bonsa-cookie-text a { color: var(--gold); text-underline-offset: 2px; }
.bonsa-cookie-prefs { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px solid var(--bonsa-stroke); }
.bonsa-cookie-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-sub); cursor: pointer; }
.bonsa-cookie-opt strong { color: var(--text); font-weight: 600; }
.bonsa-cookie-opt input { margin-top: 3px; accent-color: #9f8368; width: 16px; height: 16px; flex: none; }
.bonsa-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.bonsa-cookie-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--text); background: transparent;
  color: var(--text); font: 600 13px/1.2 'Borna', 'Poppins', Arial, sans-serif; cursor: pointer;
}
.bonsa-cookie-btn:hover { background: var(--text); color: var(--bg); }
.bonsa-cookie-btn.is-primary { background: #9f8368; border-color: #9f8368; color: #fff; }
.bonsa-cookie-btn.is-primary:hover { background: #7f6650; border-color: #7f6650; }
.bonsa-cookie-btn.is-link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; padding-right: 4px; margin-right: auto; }
.bonsa-cookie-btn.is-link:hover { background: transparent; color: var(--gold); }
.bonsa-cookie-btn:focus-visible, .bonsa-cookie-opt input:focus-visible { outline: 2px solid #9f8368; outline-offset: 2px; }
.bonsa-cookie [data-lang-pt], .bonsa-cookie [data-lang-en] { transition: opacity .28s; }
@media (max-width: 600px) {
  .bonsa-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .bonsa-cookie-actions .bonsa-cookie-btn:not(.is-link) { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .bonsa-cookie { transition: none; } }

/* ---------- Links legais do rodapé ---------- */
.bfoot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; margin: 10px 0 0; font-size: 11px; letter-spacing: .4px; }
.bfoot-legal a, .bfoot-legal button {
  color: inherit; opacity: .72; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer;
}
.bfoot-legal a:hover, .bfoot-legal button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .bfoot-legal { justify-content: center; } }

/* ---------- Páginas legais ---------- */
.bonsa-legal {
  box-sizing: border-box; max-width: 780px; margin: 0 auto; padding: 190px 24px 60px;
  font-family: 'Borna', 'Poppins', Arial, sans-serif; color: var(--text);
}
.bonsa-legal-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-sub); }
.bonsa-legal-kicker span { color: var(--gold); }
.bonsa-legal h1 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 600; color: var(--text); }
.bonsa-legal-date { margin: 0 0 40px; font-size: 14px; color: var(--text-sub); }
.bonsa-legal h2 { margin: 44px 0 12px; font-size: 21px; font-weight: 600; color: var(--text); }
.bonsa-legal p, .bonsa-legal li { font-size: 16px; line-height: 1.75; color: var(--text-sub); }
.bonsa-legal p { margin: 0 0 16px; }
.bonsa-legal ul { margin: 0 0 16px; padding-left: 20px; }
.bonsa-legal li { margin: 0 0 6px; }
.bonsa-legal li::marker { color: var(--gold); }
@media (max-width: 767px) { .bonsa-legal { padding-top: 140px; } }
.bonsa-cookie [hidden] { display: none !important; }
