/* J. Trindade — aviso de cookies V17, página pública, responsivo. */
.jt-consent-banner {
  display: block !important;
  width: min(760px, calc(100% - 28px)) !important;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 22px 24px !important;
  background: #fff !important;
  color: #20262e;
  border: 1px solid #dbe2ed;
  border-radius: 16px;
  box-shadow: 0 24px 65px rgba(3,20,45,.22);
}
.jt-consent-banner[hidden],
.jt-cookie-preferences[hidden],
.jt-consent-actions[hidden] { display: none !important; }
.jt-cookie-copy {min-width: 0;}
.jt-cookie-copy > strong {font: 800 18px/1.3 Manrope,sans-serif; color: #18283c; margin: 0 0 10px;}
.jt-cookie-copy > p {font: 400 14px/1.55 "DM Sans",sans-serif; color: #42516a; margin: 0 !important; max-width: none;}
.jt-consent-actions { display: grid !important; grid-template-columns: 1fr 1fr auto; align-items: stretch; gap: 10px; margin-top: 18px; }
.jt-consent-actions button, .jt-cookie-pref-actions button {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 750 13px/1.2 "DM Sans",sans-serif;
  cursor: pointer;
}
.jt-consent-actions .jt-accept-analytics, .jt-cookie-pref-actions #jtSaveCookiePreferences {background: #1648d8; border-color: #1648d8; color: #fff;}
.jt-consent-actions .jt-reject-analytics {background: #edf2fa; border-color: #d9e1ee; color: #1b3152;}
.jt-consent-actions .jt-manage-cookies {background: transparent; color: #24354b; text-decoration: underline; text-underline-offset: 3px; padding-inline: 9px; white-space: normal;}
.jt-consent-actions button:hover, .jt-cookie-pref-actions button:hover {filter: brightness(.96);}
.jt-consent-actions button:focus-visible, .jt-cookie-pref-actions button:focus-visible, .jt-cookie-choice input:focus-visible {outline: 3px solid #8ab4ff; outline-offset: 2px;}
.jt-cookie-preferences {margin-top: 18px; padding-top: 16px; border-top: 1px solid #e1e7f0;}
.jt-cookie-preferences-head > strong {font-size: 16px; color: #18283c;}
.jt-cookie-preferences-head p {margin: 5px 0 15px; color: #42516a; font-size: 13px; line-height: 1.5;}
.jt-cookie-preferences a {color: #1648d8; text-decoration: underline;}
.jt-cookie-choice {display:flex; align-items:center; justify-content:space-between; gap: 18px; padding: 14px 0; border-top: 1px solid #ecf0f6; cursor:pointer;}
.jt-cookie-choice b {font-size: 14px; color: #15253d;}
.jt-cookie-choice small {display:block; font-size: 12px; color: #64738a; margin-top: 3px;}
.jt-cookie-choice input {width: 20px; height: 20px; accent-color: #1648d8; flex: 0 0 auto; cursor:pointer;}
.jt-cookie-required {font-size: 12px; color: #485d75; white-space: nowrap;}
.jt-cookie-pref-actions {display:flex; justify-content:flex-end; gap:10px; margin-top: 10px;}
.jt-cookie-pref-actions #jtCancelCookiePreferences {background:#edf2fa; border-color:#d9e1ee; color:#1b3152;}
.jt-cookie-settings {background:none;border:0;padding:0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer;}
.jt-cookie-settings:hover {text-decoration:none;}
@media (max-width: 650px) {
 .jt-consent-banner {padding: 18px !important; bottom: 10px !important;}
 .jt-consent-actions {grid-template-columns: 1fr 1fr !important;}
 .jt-consent-actions .jt-manage-cookies {grid-column: 1 / -1; min-height: 36px;}
}
@media (max-width: 390px) {
 .jt-consent-actions {grid-template-columns: 1fr !important;}
 .jt-consent-actions .jt-manage-cookies {grid-column: auto;}
 .jt-cookie-choice {gap: 9px;}
}
