/* ==========================================
   VARIÁVEIS GLOBAIS
   ========================================== */
:root {
  /* Paleta principal */
  --hot-primary-color: #7d0001;
  --hot-secondary-color: #b20002;
  --hot-accent-color: #e89f02;
  --hot-background-color: #e5e6e7;
  --hot-text-color: #d60f12;
  --hot-white: #ffffff;
  --hot-light-gray: #f8f9fa;
  --hot-medium-gray: #6c757d;
  --hot-dark-gray: #495057;
  --hot-black: #000000;

  /* Botões primários (vermelho quente) */
  --hot-red-primary: #f5140a;
  --hot-red-primary-hover: #c41008;
 --hot-red-primary-focus: #b00e07;
  --hot-red-secondary: #f54311;
  --hot-orange-primary: #f56b11;
  --hot-orange-secondary: #f59311;
  --hot-orange-light: #f59d84;

  /* Botões secundários (cinza) */
  --hot-abandonar: #f1f1f1;
  --hot-abandonar-hover: #e0e1e2;
  --hot-abandonar-focus: #d0d1d2;

  /* Botões de ação: bt-Ver, bt-Alterar, bt-Remover, bt-Reativar */
  --hot-acao-cor-padrao: rgb(107, 114, 128);
  --hot-acao-secundaria-bg: rgba(107, 114, 128, 0.1);
  --hot-ver: #8231D3;
  --hot-ver-bg: rgba(130, 49, 211, 0.1);
  --hot-alterar: #2563eb;
  --hot-alterar-bg: rgba(59, 130, 246, 0.1);
  --hot-remover: #dc2626;
  --hot-remover-bg: rgba(239, 68, 68, 0.1);
  --hot-reativar: rgb(37, 211, 102);
  --hot-reativar-bg: rgba(37, 211, 102, 0.1);

  /* Barras de rolagem (padrão do sistema) */
  --hot-scrollbar-largura: 4px;
  --hot-scrollbar-trilho: rgba(0, 0, 0, 0.05);
  --hot-scrollbar-polegar: rgba(0, 0, 0, 0.2);
  --hot-scrollbar-polegar-hover: rgba(0, 0, 0, 0.3);
}


/* ==========================================
   BARRAS DE ROLAGEM (padrão global)
   Exceções intencionais: editor-sem-scroll-pagina,
   assinatura-formulario (html/body), badges-grupos-trilha.
   html/body explícitos: rolagem da página (viewport).
   .hot-scrollbar-area: reforço em painéis com overflow interno.
   ========================================== */
html,
body,
.hot-scrollbar-area,
* {
  scrollbar-width: thin;
  scrollbar-color: var(--hot-scrollbar-polegar) var(--hot-scrollbar-trilho);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.hot-scrollbar-area::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: var(--hot-scrollbar-largura);
  height: var(--hot-scrollbar-largura);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.hot-scrollbar-area::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: var(--hot-scrollbar-trilho);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.hot-scrollbar-area::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: var(--hot-scrollbar-polegar);
  border-radius: 2px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.hot-scrollbar-area::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: var(--hot-scrollbar-polegar-hover);
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
.hot-scrollbar-area::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.hot-scrollbar-area::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: transparent;
}

.hot-layoutV1 .sidebar__menu-group {
  scrollbar-width: thin;
  scrollbar-color: var(--hot-scrollbar-polegar) var(--hot-scrollbar-trilho);
}


/* ==========================================
   ANIMAÇÕES GLOBAIS
   (única definição — referenciada em toda a folha)
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: scaleX(0); transform-origin: center; }
  to   { transform: scaleX(1); transform-origin: center; }
}

@keyframes dropdownFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ==========================================
   EDITOR DE PÁGINAS (canvas, drag & drop)
   ========================================== */
.editor-section-header {
  cursor: grab;
}

.editor-section-header:active {
  cursor: grabbing;
}

#editor-canvas-root {
  position: relative;
}

.editor-section-ghost {
  opacity: 0.3;
  background: rgba(130, 49, 211, 0.08) !important;
  border: 2px dashed var(--hot-ver) !important;
}

.editor-section-dragging {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

.editor-section-drop-indicator {
  position: absolute;
  height: 3px;
  background: var(--hot-ver);
  pointer-events: none;
  z-index: 9999;
  border-radius: 2px;
}

.editor-section-drop-indicator::before {
  content: '';
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hot-ver);
}

.editor-cabecalho-global-slot {
  overflow: visible;
  position: relative;
}


/* ==========================================
   ARRASTAR / SORTABLE
   ========================================== */

/* Cursor ao arrastar — contextos gerais (financeiro, cabeçalho e rodapé do site) */
body.financeiro-classes-sortable-arrastando,
body.financeiro-classes-sortable-arrastando *,
body.site-cabecalho-sortable-arrastando,
body.site-cabecalho-sortable-arrastando *,
body.site-rodape-sortable-arrastando,
body.site-rodape-sortable-arrastando * {
  cursor: grabbing !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Cursor ao arrastar — funções de categoria (html + body para webkit) */
html.categoria-grupo-funcoes-sortable-arrastando,
html.categoria-grupo-funcoes-sortable-arrastando *,
body.categoria-grupo-funcoes-sortable-arrastando,
body.categoria-grupo-funcoes-sortable-arrastando * {
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Clone arrastado (SortableJS forceFallback) — mão fechada no elemento que segue o mouse */
body.categoria-grupo-funcoes-sortable-arrastando .sortable-fallback,
body.categoria-grupo-funcoes-sortable-arrastando .sortable-drag {
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}

/* Elemento sendo arrastado — cursor e sombra (todos os contextos) */
.fin-classe-item-linha.sortable-drag,
.site-cabecalho-item-linha.sortable-drag,
.site-rodape-item-linha.sortable-drag,
.funcao-item.sortable-drag {
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* ==========================================
   FINANCEIRO — centros de custo (toolbar e listagem)
   ========================================== */
.hot-toolbar-centros-custo {
  -webkit-overflow-scrolling: touch;
}

.hot-toolbar-centros-custo .hot-select-mes-apuracao {
  width: 7.5rem;
  min-width: 7.5rem;
  flex-shrink: 0;
}

.hot-toolbar-centros-custo .hot-ccusto-toolbar-saldo-inicial {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #ffffff;
  border: 2px solid transparent;
  box-shadow: none;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
  white-space: nowrap;
}

#tabela-centro-custo-lancamentos tbody td.hot-ccusto-col-acao {
  vertical-align: middle;
}

#tabela-centro-custo-lancamentos .hot-ccusto-lancamento-descricao-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

#tabela-centro-custo-lancamentos .hot-ccusto-lancamento-descricao-titulo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

#tabela-centro-custo-lancamentos .hot-ccusto-badge-estornada {
  background-color: rgba(232, 159, 2, 0.15) !important;
  color: #e89f02 !important;
  border: 1px solid rgba(232, 159, 2, 0.28);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem !important;
  line-height: 1.25;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

#tabela-centro-custo-lancamentos .hot-ccusto-acao-ver,
#tabela-centro-custo-lancamentos .hot-ccusto-acao-estornar {
  color: var(--hot-acao-cor-padrao);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#tabela-centro-custo-lancamentos .hot-ccusto-acao-ver:hover,
#tabela-centro-custo-lancamentos .hot-ccusto-acao-ver:focus {
  background-color: var(--hot-ver-bg) !important;
  border-color: var(--hot-ver-bg) !important;
  color: var(--hot-ver) !important;
}

#tabela-centro-custo-lancamentos .hot-ccusto-acao-ver:hover i,
#tabela-centro-custo-lancamentos .hot-ccusto-acao-ver:focus i {
  color: var(--hot-ver) !important;
}

#tabela-centro-custo-lancamentos .hot-ccusto-acao-estornar:hover,
#tabela-centro-custo-lancamentos .hot-ccusto-acao-estornar:focus {
  background-color: var(--hot-reativar-bg) !important;
  border-color: var(--hot-reativar-bg) !important;
  color: var(--hot-reativar) !important;
}

#tabela-centro-custo-lancamentos .hot-ccusto-acao-estornar:hover i,
#tabela-centro-custo-lancamentos .hot-ccusto-acao-estornar:focus i {
  color: var(--hot-reativar) !important;
}

.hot-toolbar-centros-custo .hot-input-centro-resultado {
  width: 11rem;
  min-width: 11rem;
  flex-shrink: 0;
}

.hot-toolbar-centros-custo #bt-Filtrar,
.hot-toolbar-centros-custo #bt-LimparFiltro {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-end;
  flex-shrink: 0;
}

#tabela-relatorio-saldo tbody tr[data-href-lancamentos] {
  cursor: pointer;
}

#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > td,
#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > th {
  background-color: #ebecec !important;
}

#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > td:first-child,
#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > th:first-child {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > td:last-child,
#tabela-relatorio-saldo tbody tr[data-href-lancamentos]:hover > th:last-child {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

#tabela-centro-custo-lancamentos thead.userDatatable-header th {
  padding-bottom: 8px;
}

#tabela-centro-custo-lancamentos tbody tr:first-child > td {
  padding-top: 0.25rem;
}

/* ==========================================
   MODAL / OVERFLOW DO BODY
   ========================================== */
body.modal-open,
body:has(.note-modal.open) {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.modal {
  z-index: 10060 !important;
}

.modal-backdrop {
  z-index: 10055 !important;
}


/* ==========================================
   BOTÕES BASE
   ========================================== */
.btn-base,
.btn-primary-hot,
.btn-secondary-hot,
.btn-success-hot,
.hot-login-submit,
.hot-btn-primary,
.btn,
.btn-primary,
.btn-secondary,
.btn-success {
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Botão primário (vermelho) */
.btn-primary-hot,
.hot-login-submit,
.hot-btn-primary,
.btn-primary {
  background: var(--hot-red-primary);
  color: var(--hot-white);
}

.btn-primary-hot:hover,
.hot-login-submit:hover,
.hot-btn-primary:hover,
.btn-primary:hover {
  background: var(--hot-red-primary-hover);
  color: var(--hot-white);
}

.btn-primary-hot:focus,
.hot-login-submit:focus,
.hot-btn-primary:focus,
.btn-primary:focus {
  background: var(--hot-red-primary-focus) !important;
  color: var(--hot-white) !important;
}

.btn-primary-hot:active,
.hot-login-submit:active,
.hot-btn-primary:active,
.btn-primary:active {
  background: var(--hot-red-primary-focus) !important;
  color: var(--hot-white) !important;
}

.hot-login-submit:disabled,
.hot-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hot-login-submit:disabled:hover,
.hot-btn-primary:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Botão secundário (cinza claro) */
.btn-secondary-hot,
.btn-secondary {
  background: var(--hot-abandonar);
  color: var(--hot-black);
}

.btn-secondary-hot:hover,
.btn-secondary:hover {
  background: var(--hot-abandonar-hover);
  color: var(--hot-black);
}

.btn-secondary-hot:focus,
.btn-secondary:focus {
  background: var(--hot-abandonar-focus);
  color: var(--hot-black);
}

.btn-secondary-hot:active,
.btn-secondary:active {
  background: var(--hot-abandonar-focus) !important;
  color: var(--hot-black) !important;
}

/* Botão de sucesso (laranja) */
.btn-success-hot,
.btn-success {
  background: linear-gradient(
    135deg,
    var(--hot-orange-primary) 0%,
    var(--hot-orange-secondary) 100%
  );
  color: var(--hot-white);
}

.btn-success-hot:hover,
.btn-success:hover {
  background: linear-gradient(135deg, #e05a0f 0%, #e0830f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 107, 17, 0.3);
}

/* Botão fechar (X) */
.btn-close {
  height: 20px;
  width: 25px;
  border-radius: 50%;
  border: none;
}

.btn-close:hover {
  background-color: var(--hot-remover-bg);
  filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1352%)
    hue-rotate(340deg) brightness(92%) contrast(86%) !important;
}

.btn-close:focus {
  background-color: rgba(239, 68, 68, 0.2);
  filter: invert(27%) sepia(95%) saturate(1352%) hue-rotate(340deg)
    brightness(92%) contrast(86%);
  box-shadow: none;
}

/* Botão fechar no modal do Summernote */
.note-modal-header button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  border: none;
}

.note-modal-header button:hover {
  background-color: var(--hot-remover-bg);
  color: rgb(239, 68, 68);
}

/* Botões específicos de formulário de membro */
#bt-salvar-membro:hover {
  color: white !important;
}

#bt-salvar-membro:focus {
  color: white !important;
  background-color: var(--hot-red-primary);
}

#bt-abandonar-membro:focus {
  color: black !important;
  background-color: var(--hot-abandonar-hover);
}


/* ==========================================
   LOGIN
   ========================================== */
#hot-login-container {
  padding-bottom: 20px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-container {
  background: var(--hot-white);
  border-radius: 15px;
  overflow: visible;
  transition: all 0.3s ease;
  max-width: 900px;
  width: 100%;
  display: flex;
  min-height: 450px;
  animation: fadeInUp 0.6s ease-out;
}

#hot-col-left {
  background: linear-gradient(135deg, var(--hot-red-primary) 0%, var(--hot-red-secondary) 100%);
  color: var(--hot-white);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 0 0 40%;
  position: relative;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#hot-col-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#hot-col-left > * {
  position: relative;
  z-index: 2;
}

.hot-login-f30 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.welcome-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 300;
}

#hot-col-right {
  background: var(--hot-white);
  padding: 40px 50px 30px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-height: 450px;
  position: relative;
  border-radius: 8px;
}

.form-title {
  font-size: 1rem;
  color: var(--hot-red-primary);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid #e5e6e7;
}

.hot-form-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.hot-form-group {
  margin-bottom: 20px;
}

.hot-login-label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #555;
}

.login-options {
  margin: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.forgot-password {
  font-size: 0.85rem;
  color: var(--hot-red-primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  color: #d41209;
  text-decoration: underline;
}

.hot-login-input {
  padding: 15px 15px 15px 45px;
  border-radius: 8px !important;
  font-weight: 500;
  color: #333;
  border: 2px solid #e9ecef;
  width: 100%;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hot-white);
}

.hot-login-input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.hot-login-input:focus {
  border-color: var(--hot-red-primary);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(245, 20, 10, 0.15);
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 47%;
  transform: translateY(-50%);
  color: var(--hot-red-primary);
  z-index: 3;
  font-size: 1rem;
}

.login-form {
  width: 100%;
}

.login-form .form-group {
  margin-bottom: 25px;
  position: relative;
}

.hot-login-submit {
  width: 100%;
  padding: 15px 30px;
  margin-top: 20px;
}

.login-footer {
  margin-top: 30px;
  text-align: center;
}

.byhotsystems i {
  color: #555;
  font-size: 1rem;
}

.byhotsystems .ht-corE,
.byhotsystems .ht-branco {
  color: #555;
  font-weight: 500;
}

.byhotsystems a {
  text-decoration: none;
  color: inherit;
}

.byhotsystems a:hover {
  text-decoration: none;
}

.byhotsystems .ht-laranja {
  color: var(--hot-orange-primary);
  font-weight: 600;
}

.input-error {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}


/* ==========================================
   FORMULÁRIOS
   ========================================== */
.form-label {
  font-weight: 600;
  color: #272727;
  margin-bottom: 8px;
  display: block;
  font-size: 0.9rem;
}

.form-control {
  padding: 12px 10px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hot-white);
  width: 100%;
  font-weight: 500;
  color: #333;
  align-items: baseline;
}

.form-control::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.form-select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hot-white);
  width: 100%;
  font-weight: 500;
  color: #333;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.form-select:focus {
  border-color: var(--hot-red-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(245, 20, 10, 0.25) !important;
  background-color: var(--hot-white);
  outline: none;
  color: #333;
}

.form-select option {
  padding: 8px 12px;
  font-weight: 500;
  color: #333;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.campo-obrigatorio .form-label::after {
  content: "*";
  color: var(--hot-red-primary);
  margin-left: 4px;
  font-weight: bold;
}

.hot-opcional {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid + .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-select.is-invalid + .invalid-feedback,
.is-invalid ~ .invalid-feedback,
.invalid-feedback.d-block {
  display: block;
}

.nav-link .fa-triangle-exclamation {
  color: #dc3545;
  font-size: 0.875rem;
  margin-left: 0.25rem;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-valid {
  border-color: #28a745;
  background: #f0fff4;
}

.form-control.is-valid:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-control:disabled,
.form-select:disabled {
  background-color: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
  color: #6c757d;
}

.form-control[readonly] {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #6c757d;
}

/* Edição de conta quitada/recebida: bloqueados visíveis sem apagar caret dos vizinhos */
.fin-form-conta-rec-pag .hot-fin-edicao-quitada-bloqueado,
.fin-form-conta-rec-pag .hot-fin-edicao-quitada-bloqueado:disabled,
.fin-form-conta-rec-pag .hot-fin-edicao-quitada-bloqueado[readonly] {
  background-color: #f8f9fa !important;
  border-color: #e9ecef !important;
  color: #495057 !important;
  -webkit-text-fill-color: #495057;
  opacity: 1 !important;
  cursor: not-allowed;
  caret-color: transparent;
}

.fin-form-conta-rec-pag input.form-control:not(:disabled):not(.hot-fin-edicao-quitada-bloqueado),
.fin-form-conta-rec-pag textarea.form-control:not(:disabled):not(.hot-fin-edicao-quitada-bloqueado) {
  color: #333 !important;
  -webkit-text-fill-color: #333;
  caret-color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.fin-form-conta-rec-pag input.form-control:not(.hot-fin-edicao-quitada-bloqueado):not(:disabled):focus,
.fin-form-conta-rec-pag textarea.form-control:not(.hot-fin-edicao-quitada-bloqueado):not(:disabled):focus {
  color: #333 !important;
  -webkit-text-fill-color: #333;
  caret-color: #333;
}

.input-group .form-control,
.input-group .form-control:focus {
  border-radius: 8px;
}

.hsyDatePicker {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 4h10M3 8h10M3 12h10'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.hot-numerico {
  text-align: right;
}

.hot-image {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.hot-image:hover {
  border-color: var(--hot-red-primary);
  background-color: rgba(245, 20, 10, 0.05);
}

#f_observacoes {
  resize: none;
}


/* ==========================================
   NAVEGAÇÃO E ABAS
   ========================================== */

/* nav-underline (definição única consolidada) */
.nav-underline {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
  position: relative;
}

.nav-underline .nav-item {
  margin-right: 0;
}

.nav-underline .nav-link {
  background-color: transparent;
  border: none;
  color: var(--hot-medium-gray);
  font-weight: 500;
  padding: 12px 20px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-underline .nav-link:hover {
  color: var(--hot-primary-color);
  background-color: transparent;
  border-bottom-color: rgba(125, 0, 1, 0.3);
}

.nav-underline .nav-link.active {
  color: var(--hot-primary-color);
  background-color: transparent;
  border-bottom-color: var(--hot-primary-color);
  font-weight: 600;
}

.nav-underline .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--hot-primary-color);
}

/* Nav com abas (tab style) */
.nav-item {
  margin-right: 0;
}

.nav-link {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  border: 2px solid transparent;
  color: var(--hot-medium-gray);
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  margin-right: 2px;
  border-bottom: none;
  text-decoration: none !important;
}

.nav-link:hover {
  background-color: rgba(178, 0, 2, 0.1);
  border-color: transparent;
  color: var(--hot-primary-color);
  border-bottom: none;
  text-decoration: none !important;
}

.nav-link.active {
  background-color: var(--hot-white) !important;
  border-color: var(--hot-primary-color) var(--hot-primary-color)
    var(--hot-white) !important;
  color: var(--hot-primary-color) !important;
  border-bottom: 2px solid var(--hot-white) !important;
  margin-bottom: -2px !important;
  font-weight: 600;
  z-index: 2;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--hot-primary-color);
  animation: slideIn 0.3s ease;
}

/* Conteúdo das abas */
.tab-content {
  animation: fadeIn 0.3s ease-in-out;
  display: none;
  min-height: 200px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: var(--hot-white);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  margin-top: 0;
}

.tab-content.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s ease-in-out;
}

#tab-informacoes-pessoais {
  display: block;
  opacity: 1;
}


/* ==========================================
   TRANSIÇÕES DE VISUALIZAÇÃO (lista / cards)
   ========================================== */
.lista,
.card-grid {
  display: none;
  min-height: 200px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  animation: fadeIn 0.3s ease-in-out;
}

.lista.active,
.card-grid.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease-in-out;
}

.lista {
  display: block;
  opacity: 1;
}

.hot-listagem-toolbar {
  padding-bottom: 0.5rem;
}


/* ==========================================
   TABELAS E DATATABLES
   ========================================== */

/* Listras (zebra) em todas as tabelas Bootstrap; exceto inner de linha de filtro */
.table:not(.hot-filtro-linha-inner-table) > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.table > thead > tr > th,
.table > thead > tr > td,
.table thead.table-light > tr > th,
.table thead.table-light > tr > td {
  background-color: #e5e5e5;
}

.userDatatable-header th {
  border-bottom: none;
  padding: 12px 20px 12px 0;
  vertical-align: middle;
  background: #e5e5e5;
}

.th-inicio {
  border-top-left-radius: 8px;
  padding-left: 20px !important;
  padding-right: 0px !important;
}

.th-fim {
  border-top-right-radius: 8px;
}

.th-sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.th-sortable:hover {
  background-color: #e5e5e5;
}

.th-sortable i {
  font-size: 0.75rem;
  transition: opacity 0.2s ease;
}

.th-sortable:hover i {
  opacity: 1 !important;
}


.hot-filtro-linha .form-control.form-control-sm,
.hot-filtro-linha .form-select.form-select-sm {
  font-size: 0.8rem !important;
  padding: 0.15rem 0.5rem !important;
}

/* Mesmo fundo do cabeçalho (.userDatatable-header th → #e5e5e5); a linha de filtro usa <td> + tabela interna. */
.userDatatable-header.hot-filtro-linha > td {
  background-color: #e5e5e5 !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}

.hot-filtro-linha > td > .collapse {
  background-color: #e5e5e5;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}

.hot-filtro-linha-inner-table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  background-color: #e5e5e5 !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
}

.hot-filtro-linha-inner-table td {
  padding: 1px 5px 10px 0;
  vertical-align: top;
  background-color: #e5e5e5 !important;
}

.hot-filtro-linha-inner-table td.table-active,
.hot-filtro-linha-inner-table tr:hover td {
  background-color: #e5e5e5 !important;
}

.hot-filtro-linha .d-flex.flex-column.gap-1 {
  gap: 0.25rem !important;
}

.hot-filtro-linha .d-flex.flex-column.gap-1 input[type="text"].form-control-sm {
  font-size: 0.75rem !important;
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
  line-height: 1.1 !important;
}

.hot-filtro-linha .d-flex.flex-column.gap-2 {
  gap: 0.25rem !important;
}

/* Borda radial: thead principal perde o radius ao exibir filtros */
.userDatatable-header.filtros-ativos .th-inicio {
  border-bottom-left-radius: 0 !important;
}

.userDatatable-header.filtros-ativos .th-fim {
  border-bottom-right-radius: 0 !important;
}

/* Linha de filtros herda o radius inferior do thead */
.hot-filtro-linha.userDatatable-header .th-inicio {
  border-top-left-radius: 0;
}

.hot-filtro-linha.userDatatable-header .th-fim {
  border-top-right-radius: 0;
}

.separador {
  content: " ";
  color: var(--hot-background-color);
  left: 0;
  height: 100%;
  width: 1px;
  background-color: rgb(204, 203, 203);
  line-height: 1.5rem;
}

#tabela-cesta tbody td {
  vertical-align: middle;
}

#tabela-cesta thead.userDatatable-header th.contas-pagar-cesta-th-descricao {
  border-top-left-radius: 8px;
}

/* Listagens com rolagem horizontal */
.hot-lista-tabela-scroll.table-responsive {
  min-height: unset !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hot-lista-tabela-scroll.table-responsive > .table {
  width: 100%;
  min-width: 880px;
  max-width: none;
  table-layout: auto;
}

.hot-lista-tabela-scroll.table-responsive:has(#hot-fin-assinatura-historico-tabela) > .table {
  min-width: 0;
}

/* Mesmo fundo do .hot-box (#fafafa em plataforma.css), sem branco do Bootstrap na tabela */
.hot-box .hot-lista-tabela-scroll.table-responsive:has(#hot-fin-assinatura-historico-tabela) {
  background-color: transparent;
}

.hot-box:has(#hot-fin-assinatura-historico-tabela) {
  overflow: visible;
}

.hot-lista-tabela-scroll.table-responsive:has(#hot-fin-assinatura-historico-tabela) {
  overflow: visible;
}

/* Ficha do membro — histórico em grupos (sem min-width de listagens largas) */
.hot-ficha-historico-grupos-scroll.table-responsive {
  min-height: unset !important;
  max-height: none !important;
  overflow: visible;
}

.hot-box .hot-ficha-historico-grupos-scroll.table-responsive {
  background-color: transparent;
}

.hot-box:has(#hot-ficha-historico-grupos-tabela) {
  overflow: visible;
}

.hot-ficha-historico-grupos-scroll.table-responsive > .table {
  min-width: 0;
  width: 100%;
}

#hot-ficha-historico-grupos-tabela {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: #ebecec;
  --bs-table-active-bg: #ebecec;
  background-color: transparent;
}

#hot-ficha-historico-grupos-header th {
  white-space: nowrap;
}

#hot-ficha-historico-grupos-tabela tbody tr:hover > td {
  background-color: #ebecec !important;
}

#hot-fin-assinatura-historico-tabela {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: #ebecec;
  --bs-table-active-bg: #ebecec;
  background-color: transparent;
}

#hot-fin-assinatura-historico-tabela tbody tr:hover > td {
  background-color: #ebecec !important;
}

#hot-fin-assinatura-historico-tabela tbody tr:hover > td:first-child,
#hot-fin-assinatura-historico-tabela tbody tr:hover > td.conta-pagar-col-acao {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

#hot-fin-assinatura-historico-tabela tbody tr:hover > td:last-child {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

#hot-fin-assinatura-historico-tabela .conta-pagar-col-acao {
  width: 4.75rem;
  min-width: 4.75rem;
  max-width: 4.75rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  vertical-align: middle;
  text-align: center;
  overflow: visible;
}

#hot-fin-assinatura-historico-tabela .conta-pagar-col-acao .dropdown-menu {
  z-index: 1060;
}

#hot-fin-assinatura-historico-tabela thead th.conta-pagar-col-acao.th-inicio {
  padding: 12px 0.35rem 12px 0.35rem !important;
}

#hot-fin-assinatura-historico-tabela tbody tr.hot-fin-assinatura-historico-linha-clicavel {
  cursor: pointer;
}

#hot-fin-assinatura-historico-tabela tbody tr.hot-dropdown-linha-ativa {
  position: relative;
  z-index: 40;
}

#hot-fin-assinatura-historico-tabela tbody tr.hot-dropdown-linha-ativa > td {
  overflow: visible;
}

#hot-fin-assinatura-historico-tabela .conta-pagar-col-acao .dropdown-menu.show {
  z-index: 1065;
}

.lista,
.card-grid {
  transition: opacity 0.3s ease-in-out;
}

.lista.active,
.card-grid.active {
  opacity: 1;
}

.contas-pagar-principal-scroll .userDatatable-header th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #e5e5e5;
  box-shadow: 0 1px 0 #dee2e6;
}

.bg-white.dark:bg-gray-800.overflow-hidden.shadow-sm.sm:rounded-lg {
  min-height: 100px;
}


/* ==========================================
   CARDS DE LISTAGEM (hot-listagem-card)
   ========================================== */
.card-grid .hot-listagem-card {
  min-width: 0;
  overflow: hidden;
}

.card-grid .hot-listagem-card .card-body {
  overflow: hidden;
}

.card-grid .hot-listagem-card-layout {
  min-width: 0;
  align-items: flex-start;
}

.card-grid .hot-listagem-card-avatar {
  flex-shrink: 0;
}

.card-grid .hot-listagem-card-conteudo {
  min-width: 0;
  overflow: hidden;
}

.card-grid .hot-listagem-card-conteudo h6 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-grid .hot-listagem-card .orderDatatable_email,
.card-grid .hot-listagem-card .orderDatatable_celular {
  display: flex !important;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.card-grid .hot-listagem-card .orderDatatable_email li,
.card-grid .hot-listagem-card .orderDatatable_celular li {
  flex-shrink: 0;
}

.card-grid .hot-listagem-card .orderDatatable_email > a.email,
.card-grid .hot-listagem-card .orderDatatable_celular > a.celular {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}

.card-grid .hot-listagem-card-acoes {
  flex-shrink: 0;
}

.card-grid .hot-listagem-card-acao {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-grid .hot-listagem-card-acao i {
  margin: 0 !important;
}

.card-grid .row.g-3 > .hot-listagem-filtro-cards-col.col-12 {
  padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
}


/* ==========================================
   BADGES DE STATUS
   ========================================== */

/* Padding e peso comuns a todos os badges de status */
#rounded-pill-ativo,
.badge.rounded-pill.rounded-pill-ativo,
small.badge.rounded-pill.rounded-pill-ativo,
#rounded-pill-inativo,
.badge.rounded-pill.rounded-pill-inativo,
small.badge.rounded-pill.rounded-pill-inativo,
.badge.rounded-pill.rounded-pill-cancelada,
small.badge.rounded-pill.rounded-pill-cancelada,
.badge.fin-classe-badge-tipo-sintetico,
small.badge.fin-classe-badge-tipo-sintetico,
.badge.fin-classe-badge-tipo-analitico,
small.badge.fin-classe-badge-tipo-analitico,
.badge.rounded-pill.site-status-ativo,
small.badge.site-status-ativo,
.badge.rounded-pill.site-status-inativo,
small.badge.site-status-inativo,
.badge.rounded-pill.site-status-rascunho,
small.badge.site-status-rascunho,
.badge.rounded-pill.rounded-pill-mudanca-plano,
small.badge.rounded-pill.rounded-pill-mudanca-plano,
.badge.rounded-pill.hot-badge-contexto-info,
small.badge.rounded-pill.hot-badge-contexto-info,
.badge.rounded-pill.hot-badge-administrador-igreja,
small.badge.rounded-pill.hot-badge-administrador-igreja,
.badge.rounded-pill.hot-fin-badge-parcelas,
small.badge.rounded-pill.hot-fin-badge-parcelas {
  padding: 5px 10px !important;
  font-weight: 500;
}

/* Verde — ativo / sucesso */
#badge-bg-success,
#rounded-pill-ativo,
.badge.rounded-pill.rounded-pill-ativo,
small.badge.rounded-pill.rounded-pill-ativo,
.badge.rounded-pill.site-status-ativo,
small.badge.site-status-ativo {
  background-color: rgba(1, 184, 26, 0.15) !important;
  color: #01b81a !important;
}

/* Vermelho — inativo */
#rounded-pill-inativo,
.badge.rounded-pill.rounded-pill-inativo,
small.badge.rounded-pill.rounded-pill-inativo,
.badge.rounded-pill.site-status-inativo,
small.badge.site-status-inativo {
  background-color: rgba(255, 15, 15, 0.15) !important;
  color: #ff0f0f !important;
}

.badge.rounded-pill.rounded-pill-cancelada,
small.badge.rounded-pill.rounded-pill-cancelada {
  background-color: rgba(245, 20, 10, 0.15) !important;
  color: #f5140a !important;
}

/* Administrador da igreja — visível só a admins; vermelho Église */
.badge.rounded-pill.hot-badge-administrador-igreja,
small.badge.rounded-pill.hot-badge-administrador-igreja {
  background-color: rgba(245, 20, 10, 0.15) !important;
  color: #f5140a !important;
}

/* Plano de contas: sintético (roxo) */
.badge.fin-classe-badge-tipo-sintetico,
small.badge.fin-classe-badge-tipo-sintetico {
  color: rgb(228, 0, 198) !important;
  background-color: rgba(228, 0, 198, 0.1) !important;
}

/* Plano de contas: analítico (azul) */
.badge.fin-classe-badge-tipo-analitico,
small.badge.fin-classe-badge-tipo-analitico {
  color: rgb(3, 19, 247) !important;
  background-color: rgba(3, 19, 247, 0.1) !important;
}

/* Rascunho (âmbar) */
.badge.rounded-pill.site-status-rascunho,
small.badge.site-status-rascunho {
  background-color: rgba(230, 115, 0, 0.15) !important;
  color: rgb(230, 115, 0);
}

/* Assinatura — parcela proporcional de mudança de plano */
.badge.rounded-pill.rounded-pill-mudanca-plano,
small.badge.rounded-pill.rounded-pill-mudanca-plano {
  background-color: rgba(232, 159, 2, 0.15) !important;
  color: #e89f02 !important;
}

/* Outros badges de contexto */
#badge-bg-primary,
.badge.hot-badge-contexto-info,
small.badge.hot-badge-contexto-info {
  background-color: rgba(59, 130, 246, 0.1) !important;
  color: #2563eb;
}

.hot-layoutV1 .badge.rounded-pill.hot-badge-contexto-info,
.hot-layoutV1 small.badge.rounded-pill.hot-badge-contexto-info,
.hot-layoutV1 .badge.rounded-pill.hot-badge-administrador-igreja,
.hot-layoutV1 small.badge.rounded-pill.hot-badge-administrador-igreja,
.hot-layoutV1 .badge.rounded-pill.hot-fin-badge-parcelas,
.hot-layoutV1 small.badge.rounded-pill.hot-fin-badge-parcelas {
  height: auto !important;
  min-height: 1.25em;
  border-radius: 50rem !important;
  line-height: 1.25;
}

#badge-bg-secondary {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: rgba(108, 117, 125);
}

.badge.rounded-pill.hot-fin-badge-parcelas,
small.badge.rounded-pill.hot-fin-badge-parcelas {
  color: var(--hot-ver) !important;
  background-color: var(--hot-ver-bg) !important;
  border: 1px solid rgba(130, 49, 211, 0.22);
  font-weight: 600;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 9999px !important;
  line-height: 1.25 !important;
  font-size: 0.75rem !important;
}


/* Menu ⋮ em linhas de tabela (alinha com thead; evita padding inline no componente) */
.btn-hot-menu-acoes-toggle {
  background: none !important;
  border: none !important;
  color: #6b7280 !important;
  padding: 2px 4px !important;
  box-shadow: none !important;
}

/* ==========================================
   BOTÕES DE AÇÃO CIRCULARES (orderDatatable)
   ========================================== */
.orderDatatable_actions {
  display: flex;
  justify-content: end;
}

.orderDatatable_actions li,
.orderDatatable_email li,
.orderDatatable_celular li {
  display: inline-block;
}

.orderDatatable_actions li a,
.orderDatatable_email li a,
.orderDatatable_celular li a,
#gridTable_celular {
  padding: 0px !important;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #6b7280;
}

/* Ícones — tamanho unificado */
.orderDatatable_actions li a i,
.orderDatatable_email li a i,
.orderDatatable_celular li a i {
  font-size: 14px;
}

/* Hover dos botões de ação */
.orderDatatable_actions li a.edit:hover {
  background-color: rgba(0, 170, 255, 0.1);
  color: rgb(0, 170, 255);
}

.orderDatatable_actions li a.delete:hover {
  background-color: rgba(255, 15, 15, 0.15);
  color: #ff0f0f;
}

.orderDatatable_email li a.email:hover,
#gridTable_email i:hover,
.orderDatatable_email:hover li a.email {
  background-color: var(--hot-ver-bg);
  color: var(--hot-ver);
}

.orderDatatable_email:hover .email {
  color: var(--hot-ver) !important;
}

.orderDatatable_celular li a.celular:hover,
#gridTable_celular i:hover,
.orderDatatable_celular:hover li a.celular {
  background-color: var(--hot-reativar-bg);
  color: var(--hot-reativar);
}

.orderDatatable_celular:hover .celular {
  color: var(--hot-reativar) !important;
}

/* Layout dos contatos */
.orderDatatable_email {
  display: flex;
  justify-content: start;
}

.orderDatatable_email,
.orderDatatable_celular {
  display: block !important;
  margin-bottom: 0.5rem;
}

.orderDatatable_celular {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 0;
}

ul.orderDatatable_email,
ul.orderDatatable_celular {
  padding-inline-start: 0px !important;
}

/* Redes sociais: item só-ícone (tamanho proporcional, como bloco Ícones) */
.site-bloco-redes-sociais {
  --hot-redes-tamanho: 1.25rem;
  --hot-redes-fundo-proporcao: 2.5;
  --site-redes-item-raio: 0;
  --site-redes-texto-tamanho: inherit;
}

.site-bloco-redes-sociais-lista .site-bloco-redes-item {
  box-sizing: border-box;
}

.site-bloco-redes-sociais .site-bloco-redes-item {
  border-radius: var(--site-redes-item-raio, 0);
}

.site-bloco-redes-sociais .site-bloco-redes-texto {
  font-size: var(--site-redes-texto-tamanho, 0.875rem);
  line-height: 1.25;
}

.site-bloco-redes-sociais-lista .site-bloco-redes-item.site-bloco-redes-item--so-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--hot-redes-tamanho) * var(--hot-redes-fundo-proporcao));
  height: calc(var(--hot-redes-tamanho) * var(--hot-redes-fundo-proporcao));
  min-width: calc(var(--hot-redes-tamanho) * var(--hot-redes-fundo-proporcao));
  padding: 0 !important;
  line-height: 1;
}

.site-bloco-redes-sociais-lista .site-bloco-redes-item.site-bloco-redes-item--so-icone .site-bloco-redes-icone {
  font-size: var(--hot-redes-tamanho);
  line-height: 1;
}

.site-bloco-redes-sociais-lista .site-bloco-redes-item.site-bloco-redes-item--com-texto {
  min-height: calc(var(--hot-redes-tamanho) * 2.15);
  padding-top: calc(var(--hot-redes-tamanho) * 0.28);
  padding-bottom: calc(var(--hot-redes-tamanho) * 0.28);
  padding-left: calc(var(--hot-redes-tamanho) * 0.45);
  padding-right: calc(var(--hot-redes-tamanho) * 0.45);
}

.site-bloco-redes-sociais-lista .site-bloco-redes-item.site-bloco-redes-item--com-texto .site-bloco-redes-icone {
  font-size: var(--hot-redes-tamanho);
  line-height: 1;
}

/* Bloco site ícones: área de fundo proporcional ao tamanho do ícone (mesma ideia dos seletores tabela/card). */
.site-bloco-icones {
  --hot-icone-tamanho: 1.25rem;
  --hot-icone-fundo-proporcao: 2.5;
  --site-icones-item-raio: 0;
  --site-icones-texto-tamanho: inherit;
}

.site-bloco-icones .site-bloco-icones-item {
  border-radius: var(--site-icones-item-raio, 0);
}

.site-bloco-icones .site-bloco-icones-texto {
  font-size: var(--site-icones-texto-tamanho, 0.875rem);
  line-height: 1.25;
}

.site-bloco-contatos {
  --site-contatos-cabecalho-tamanho: inherit;
  --site-contatos-item-tamanho: inherit;
  --site-contatos-text-align: inherit;
}

.site-bloco-contatos-cabecalho {
  font-size: var(--site-contatos-cabecalho-tamanho, inherit);
}

.site-bloco-contatos-item {
  font-size: var(--site-contatos-item-tamanho, 0.875rem);
}

.site-bloco-contatos[style*="--site-contatos-text-align"] {
  text-align: var(--site-contatos-text-align);
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--so-icone {
  box-sizing: border-box;
  padding: 0 !important;
  width: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  height: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  min-width: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  line-height: 1;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--so-icone .site-bloco-icones-icone {
  font-size: var(--hot-icone-tamanho);
  line-height: 1;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-acima,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-abaixo,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-esquerda,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-direita {
  background-color: transparent !important;
  padding: 0 !important;
  line-height: 1.2;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-acima,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-abaixo {
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-esquerda,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-direita {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-acima .site-bloco-icones-texto,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-abaixo .site-bloco-icones-texto {
  text-align: center;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-acima .site-bloco-icones-chip,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-abaixo .site-bloco-icones-chip,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-esquerda .site-bloco-icones-chip,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-direita .site-bloco-icones-chip {
  box-sizing: border-box;
  padding: 0 !important;
  width: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  height: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  min-width: calc(var(--hot-icone-tamanho) * var(--hot-icone-fundo-proporcao));
  line-height: 1;
  border-radius: inherit;
}

.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-acima .site-bloco-icones-chip .site-bloco-icones-icone,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-abaixo .site-bloco-icones-chip .site-bloco-icones-icone,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-esquerda .site-bloco-icones-chip .site-bloco-icones-icone,
.site-bloco-icones .site-bloco-icones-item.site-bloco-icones-item--texto-direita .site-bloco-icones-chip .site-bloco-icones-icone {
  font-size: var(--hot-icone-tamanho);
  line-height: 1;
}

.site-bloco-icones .site-bloco-icones-texto--html {
  min-width: 0;
  text-align: start;
}

.site-bloco-icones .site-bloco-icones-texto--html p:last-child {
  margin-bottom: 0;
}

/* Botões de visualização (tabela / cards / árvore) */
#bt-visualizacao-tabela,
#bt-visualizacao-cards,
#bt-visualizacao-arvore,
#tabela-cesta .bt-Remover.bt-retirar-conta-cesta {
  padding: 0px !important;
  width: 35px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  line-height: 1;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #6b7280;
  background: none;
  border: none;
  box-shadow: none;
}

#bt-visualizacao-tabela i,
#bt-visualizacao-cards i,
#bt-visualizacao-arvore i,
#tabela-cesta .bt-Remover.bt-retirar-conta-cesta i {
  font-size: 14px;
  line-height: 1;
  display: block;
}

#bt-visualizacao-tabela:hover,
#bt-visualizacao-cards:hover,
#bt-visualizacao-arvore:hover {
  background-color: var(--hot-alterar-bg);
  color: var(--hot-alterar);
}

#bt-visualizacao-tabela.ativo,
#bt-visualizacao-cards.ativo,
#bt-visualizacao-arvore.ativo {
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--hot-alterar);
  font-weight: 600;
}

/* Coluna de ação nas tabelas de contas a pagar / receber */
#tabela-contas-a-pagar .conta-pagar-col-acao,
#tabela-contas-a-receber .conta-pagar-col-acao {
  width: 4.75rem;
  min-width: 4.75rem;
  max-width: 4.75rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  vertical-align: middle;
  text-align: center;
}

#tabela-contas-a-pagar thead th.conta-pagar-col-acao.th-inicio,
#tabela-contas-a-receber thead th.conta-pagar-col-acao.th-inicio {
  padding: 12px 0.35rem 12px 0.35rem !important;
}

#tabela-contas-a-pagar .conta-pagar-acao-inner,
#tabela-contas-a-receber .conta-pagar-acao-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 1.35rem;
}

#tabela-contas-a-pagar .conta-pagar-acao-inner .form-check-input,
#tabela-contas-a-receber .conta-pagar-acao-inner .form-check-input {
  float: none;
  margin: 0;
  vertical-align: middle;
}

#tabela-contas-a-pagar .conta-pagar-acao-dropdown,
#tabela-contas-a-receber .conta-pagar-acao-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  min-width: 1.35rem;
  flex: 0 0 1.35rem;
}

#tabela-contas-a-pagar .conta-pagar-acao-slot,
#tabela-contas-a-receber .conta-pagar-acao-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

#tabela-contas-a-pagar .conta-pagar-acao-botao,
#tabela-contas-a-receber .conta-pagar-acao-botao {
  background: none;
  border: none;
  color: #6b7280;
  padding: 0;
  line-height: 1;
  box-shadow: none;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#tabela-contas-a-pagar .conta-pagar-acao-botao::after,
#tabela-contas-a-receber .conta-pagar-acao-botao::after {
  display: none;
}

#tabela-contas-a-pagar .conta-pagar-acao-botao:hover,
#tabela-contas-a-pagar .conta-pagar-acao-botao:focus,
#tabela-contas-a-receber .conta-pagar-acao-botao:hover,
#tabela-contas-a-receber .conta-pagar-acao-botao:focus {
  color: #212529;
  background: none;
  box-shadow: none;
}

#tabela-contas-a-pagar a.link-icone-bt-Ver--tabela,
#tabela-contas-a-receber a.link-icone-bt-Ver--tabela {
  padding: 0.125rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  box-sizing: border-box;
  justify-content: center;
}


/* ==========================================
   DROPDOWN
   ========================================== */
.dropdown-toggle:not(.dropdown-toggle-split)::after,
.dropdown-toggle:not(.dropdown-toggle-split)::before {
  display: none !important;
}

.dropdown .btn {
  background: none;
  border: none;
  color: #6b7280;
  padding: 8px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.dropdown .btn:hover {
  background-color: rgba(107, 114, 128, 0.1) !important;
  color: #374151 !important;
}

.dropdown .btn:focus {
  box-shadow: none !important;
  background-color: rgba(107, 114, 128, 0.1) !important;
}

.dropdown .btn:active {
  background-color: rgba(107, 114, 128, 0.2) !important;
}

.dropdown-menu {
  min-width: 160px;
  padding: px 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #1f2937;
}

.dropdown-item:focus {
  background-color: #f8f9fa;
  color: #1f2937;
  outline: none;
}

.dropdown-item i {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: #6b7280;
  transition: color 0.2s ease;
}

.dropdown-menu-end {
  position: absolute;
  z-index: 1050;
  right: 0;
  left: auto;
}

.dropdown-menu.show {
  animation: dropdownFadeIn 0.2s ease-out;
}


/* ==========================================
   BOTÕES DE AÇÃO (bt-Ver, bt-Alterar, bt-Remover, bt-Reativar, bt-Estornar)
   ========================================== */

/* Cor padrão (neutro) — estado não-ativo */
.btn.bt-Alterar,
.btn.bt-Reativar,
.btn.bt-Estornar,
.btn.bt-Ver,
.btn.bt-Remover,
.btn.bt-RemoverEvento,
.btn.bt-CancelarConta,
.dropdown-item.bt-Alterar,
.dropdown-item.bt-Reativar,
.dropdown-item.bt-Estornar,
.dropdown-item.bt-Ver,
.dropdown-item.bt-Remover,
.dropdown-item.bt-CancelarConta,
.dropdown-item.bt-Remover-Categoria-Grupo,
.dropdown-item.bt-RemoverEvento,
.btn.bt-Acao,
.dropdown-item.bt-Acao,
.bt-Remover-Novo {
  color: var(--hot-acao-cor-padrao);
}

.dropdown-item.bt-Alterar i,
.dropdown-item.bt-Reativar i,
.dropdown-item.bt-Estornar i,
.dropdown-item.bt-Ver i,
.dropdown-item.bt-Remover i,
.dropdown-item.bt-RemoverEvento i,
.dropdown-item.bt-CancelarConta i,
.dropdown-item.bt-Remover-Categoria-Grupo i,
.dropdown-item.bt-Acao i,
.btn.bt-Acao i {
  color: var(--hot-acao-cor-padrao);
}

/* === bt-Acao (opções complementares: transferência, extrato, lançamentos etc.) === */
.dropdown-item.bt-Acao:hover,
.btn.bt-Acao:hover {
  background-color: var(--hot-acao-secundaria-bg);
  color: var(--hot-acao-cor-padrao);
}

.dropdown-item.bt-Acao:hover i,
.btn.bt-Acao:hover i {
  color: var(--hot-acao-cor-padrao);
}

/* === bt-Ver === */
.dropdown-item.bt-Ver:hover,
.btn.bt-Ver:hover,
#bt-Ver:hover,
a.link-icone-bt-Ver:hover {
  background-color: var(--hot-ver-bg);
  color: var(--hot-ver);
}

.dropdown-item.bt-Ver:hover i,
.btn.bt-Ver:hover i,
a.link-icone-bt-Ver:hover i {
  color: var(--hot-ver);
}

/* Link de visualizar fora do dropdown */
a.link-icone-bt-Ver {
  color: var(--hot-acao-cor-padrao);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.25rem;
}

/* === bt-Alterar === */
.dropdown-item.bt-Alterar:hover,
.btn.bt-Alterar:hover,
#bt-Alterar:hover {
  background-color: var(--hot-alterar-bg);
  color: var(--hot-alterar);
}

.dropdown-item.bt-Alterar:hover i {
  color: var(--hot-alterar);
}

.btn.bt-Alterar:hover i {
  color: var(--hot-alterar);
}

/* === bt-Remover (e ações destrutivas: cancelar, excluir) === */
.dropdown-item.bt-Remover:hover,
.btn.bt-Remover:hover,
.dropdown-item.bt-RemoverEvento:hover,
.btn.bt-RemoverEvento:hover,
.dropdown-item.bt-CancelarConta:hover,
.btn.bt-CancelarConta:hover,
.dropdown-item.bt-Remover-Categoria-Grupo:hover,
.bt-Remover-Novo:hover,
#bt-Remover:hover,
.editor-redes-sociais-btn-remover:hover,
#tabela-cesta .bt-Remover.bt-retirar-conta-cesta:hover {
  background-color: var(--hot-remover-bg);
  color: var(--hot-remover);
}

.dropdown-item.bt-Remover:hover i,
.dropdown-item.bt-RemoverEvento:hover i,
.dropdown-item.bt-CancelarConta:hover i,
.dropdown-item.bt-Remover-Categoria-Grupo:hover i,
#tabela-cesta .bt-Remover.bt-retirar-conta-cesta:hover i {
  color: var(--hot-remover);
}

/* === bt-Reativar e bt-Estornar (mesmo estilo — verde) === */
#bt-Novo-Grupo:hover,
.btn.bt-Reativar:hover,
.btn.bt-Estornar:hover,
.dropdown-item.bt-Reativar:hover,
.dropdown-item.bt-Reativar:hover i,
.dropdown-item.bt-Estornar:hover,
.dropdown-item.bt-Estornar:hover i {
  background-color: var(--hot-reativar-bg);
  color: var(--hot-reativar);
}

/* Remover função / linha (cadastro de grupo, centros de custo) */
.bt-remover-funcao,
.bt-remover-linha-centro-custo {
  display: inline-flex;
  color: #6c757d !important;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  min-width: 30px;
  flex-shrink: 0;
  border-color: #dee2e6 !important;
  background-color: transparent !important;
}

.bt-remover-funcao.oculto,
.bt-remover-linha-centro-custo.oculto {
  visibility: hidden;
  pointer-events: none;
}

.bt-remover-funcao:hover,
.bt-remover-linha-centro-custo:hover {
  background-color: rgba(255, 15, 15, 0.15) !important;
  color: #ff0f0f !important;
  border-color: transparent !important;
}

.bt-remover-funcao:active,
.bt-remover-linha-centro-custo:active {
  background-color: rgba(180, 15, 15, 0.15) !important;
  color: rgb(180, 15, 15) !important;
}

/* Adicionar função */
.bt-adicionar-funcao {
  color: #6c757d;
  font-size: 18px;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-adicionar-funcao:hover {
  color: rgb(40, 105, 196);
  background-color: rgba(40, 105, 196, 0.15);
}


/* ==========================================
   E-MAIL (lista de destinatários)
   ========================================== */
.hot-email-lista-destinatarios {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--hot-white);
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
  margin-top: 4px;
}

.hot-email-destinatario-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f1f3f4;
}

.hot-email-destinatario-item:last-child {
  border-bottom: none;
}

.hot-email-destinatario-item:hover,
.hot-email-destinatario-item.selecionado {
  background-color: #f1f3f4;
}

.hot-email-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hot-white);
  font-weight: 600;
  font-size: 15px;
  margin-right: 14px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.hot-email-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hot-email-nome {
  font-weight: 500;
  color: #202124;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-email-endereco {
  font-size: 12px;
  color: var(--hot-medium-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* ==========================================
   SIDEBAR
   ========================================== */
.hot-sidebar-submenu-items {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.hot-sidebar-submenu-items:not(:visible) {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.hot-sidebar-arrow {
  transition: transform 0.3s ease;
  margin-left: auto;
}

.hot-sidebar-arrow.rotated {
  transform: rotate(180deg);
}

.hot-sidebar-submenu {
  cursor: pointer;
  user-select: none;
}

.hot-sidebar-subitem {
  padding-left: 2.5rem !important;
  font-size: 0.9rem;
  opacity: 0.9;
}


/* ==========================================
   SITE — CABEÇALHO E RODAPÉ (itens sortable)
   Comportamentos compartilhados entre cabeçalho e rodapé
   ========================================== */
.site-cabecalho-item-linha,
.site-rodape-item-linha {
  transition: box-shadow 0.15s ease;
  cursor: grab;
}

/* Cabeçalho tem gap extra nos filhos */
.site-cabecalho-item-linha {
  gap: 0.5rem;
}

.site-cabecalho-item-linha:hover,
.site-rodape-item-linha:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.site-cabecalho-item-linha.sortable-ghost,
.site-rodape-item-linha.sortable-ghost {
  opacity: 0.4;
}

.site-cabecalho-item-linha button,
.site-cabecalho-item-linha a,
.site-cabecalho-item-linha .dropdown-menu,
.site-cabecalho-item-linha .form-check-input,
.site-rodape-item-linha button,
.site-rodape-item-linha a,
.site-rodape-item-linha .dropdown-menu,
.site-rodape-item-linha .form-check-input {
  cursor: pointer;
}

.site-cabecalho-item-linha .site-cabecalho-item-painel-edicao input[type="text"],
.site-cabecalho-item-linha .site-cabecalho-item-painel-edicao textarea {
  cursor: text;
}

.site-cabecalho-item-linha .site-cabecalho-item-painel-edicao select {
  cursor: pointer;
}

.site-rodape-item-linha .site-rodape-item-painel-edicao input[type="text"],
.site-rodape-item-linha .site-rodape-item-painel-edicao textarea {
  cursor: text;
}

.site-rodape-item-linha .site-rodape-item-painel-edicao select {
  cursor: pointer;
}


/* ==========================================
   SITE — CABEÇALHO GLOBAL
   ========================================== */
.site-cabecalho-global.site-cabecalho-shell {
  width: 100%;
  box-shadow: 0 5px 20px rgba(173, 181, 217, 0.05);
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-navbar.navbar-light {
  padding: 0;
  padding-right: 30px;
  background-color: inherit;
  flex-wrap: nowrap;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  min-height: 72px;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-navbar-left {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-logo-area {
  display: flex;
  align-items: center;
  height: 72px;
  padding-left: 30px;
  min-width: 280px;
  flex-shrink: 0;
  background-color: inherit;
  justify-content: flex-start;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-logo-brand.navbar-brand {
  margin-right: 0;
  display: flex;
  align-items: center;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-top-menu {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  padding: 0 5px;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-menu-list {
  width: 100%;
  gap: 0.15rem;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-navbar-right {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  gap: 0.5rem;
}

.site-cabecalho-global.site-cabecalho-shell .site-cabecalho-navbar-toggler {
  margin-right: 0;
}

.site-cabecalho-global .site-cabecalho-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100%;
}

.site-cabecalho-global .site-cabecalho-nav {
  min-height: 0;
}

.site-cabecalho-global .site-cabecalho-nav.navbar {
  --bs-navbar-padding-y: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-cabecalho-global .navbar-toggler {
  border: 0 !important;
  background: transparent !important;
  padding: 0.5rem 0.6rem;
  color: var(--site-cabecalho-cor-texto-nav, #333);
  box-shadow: none !important;
}

.site-cabecalho-global .navbar-toggler:focus,
.site-cabecalho-global .navbar-toggler:active {
  box-shadow: none !important;
}

.site-cabecalho-global .navbar-toggler-icon {
  width: 1.25em;
  height: 1.25em;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-cabecalho-global .site-cabecalho-offcanvas {
  width: 200px !important;
  background: color-mix(in srgb, var(--site-cabecalho-cor-texto-nav, #333) 2%, #fff);
  color: var(--site-cabecalho-cor-texto-nav, #333);
}

.site-cabecalho-global .site-cabecalho-offcanvas .offcanvas-header {
  border-bottom: 1px solid color-mix(in srgb, var(--site-cabecalho-cor-texto-nav, #333) 12%, transparent);
}

.site-cabecalho-global .site-cabecalho-offcanvas .btn-close {
  opacity: 0.7;
}

.site-cabecalho-global .site-cabecalho-offcanvas .btn-close:focus {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 25%, transparent);
}

.site-cabecalho-global .site-cabecalho-offcanvas-redes {
  padding: 0.25rem 0;
}

.site-cabecalho-global .site-cabecalho-offcanvas-redes-titulo {
  color: color-mix(in srgb, var(--site-cabecalho-cor-texto-nav, #333) 70%, transparent);
}

.site-cabecalho-global .site-cabecalho-offcanvas-redes-icones {
  flex-wrap: wrap;
}

.site-cabecalho-global .site-cabecalho-offcanvas-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--site-cabecalho-cor-texto-nav, #333);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-cabecalho-global .site-cabecalho-offcanvas-link:focus {
  outline: none;
}

.site-cabecalho-global .site-cabecalho-offcanvas-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 55%, transparent);
  outline-offset: 2px;
}

.site-cabecalho-global .site-cabecalho-offcanvas-link:hover {
  color: var(--site-cabecalho-hover-nav, #8231D3);
  background-color: color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 10%, transparent);
}

/* Igual ao editor do site: sem “pill” na página atual (apenas texto). */
.site-cabecalho-global .site-cabecalho-offcanvas-link.is-active {
  color: var(--site-cabecalho-cor-texto-nav, #333);
  background-color: transparent;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--site-cabecalho-cor-texto-nav, #333);
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle:focus {
  outline: none;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 55%, transparent);
  outline-offset: 2px;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle:hover {
  color: var(--site-cabecalho-hover-nav, #8231D3);
  background-color: color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 10%, transparent);
  box-shadow: none;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle.is-active {
  color: var(--site-cabecalho-cor-texto-nav, #333);
  background-color: transparent;
}

.site-cabecalho-global .site-cabecalho-offcanvas-caret {
  transition: transform 0.25s ease;
}

.site-cabecalho-global .site-cabecalho-offcanvas-submenu-toggle[aria-expanded="true"] .site-cabecalho-offcanvas-caret {
  transform: rotate(180deg);
}

.site-cabecalho-global .site-cabecalho-navbar.site-cabecalho-menu-left .site-cabecalho-top-menu,
.site-cabecalho-global .site-cabecalho-nav.site-cabecalho-menu-left .site-cabecalho-nav-centro { justify-content: flex-start; }
.site-cabecalho-global .site-cabecalho-navbar.site-cabecalho-menu-center .site-cabecalho-top-menu,
.site-cabecalho-global .site-cabecalho-nav.site-cabecalho-menu-center .site-cabecalho-nav-centro { justify-content: center; }
.site-cabecalho-global .site-cabecalho-navbar.site-cabecalho-menu-right .site-cabecalho-top-menu,
.site-cabecalho-global .site-cabecalho-nav.site-cabecalho-menu-right .site-cabecalho-nav-centro { justify-content: flex-end; }

.site-cabecalho-global .site-cabecalho-logo-slot {
  --site-cabecalho-logo-largura: 160px;
  --site-cabecalho-logo-altura: calc(var(--site-cabecalho-logo-largura) * 210 / 540);
  --site-cabecalho-logo-raio: 0.375rem;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--site-cabecalho-logo-largura);
  max-width: var(--site-cabecalho-logo-largura);
  flex-shrink: 0;
}

.site-cabecalho-global .site-cabecalho-logo-link {
  flex: 0 0 auto;
  align-self: center;
  display: block;
  width: var(--site-cabecalho-logo-largura);
  max-width: var(--site-cabecalho-logo-largura);
  line-height: 0;
}

.site-cabecalho-global .site-cabecalho-logo-moldura {
  margin: 0;
  padding: 0;
  width: var(--site-cabecalho-logo-largura);
  max-width: var(--site-cabecalho-logo-largura);
  height: var(--site-cabecalho-logo-altura);
  max-height: var(--site-cabecalho-logo-altura);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  line-height: 0;
}

.site-cabecalho-global .site-cabecalho-logo-recorte {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--site-cabecalho-logo-raio);
  overflow: hidden;
  flex-shrink: 0;
}

.site-cabecalho-global .site-cabecalho-logo-picture {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
}

.site-cabecalho-global .site-cabecalho-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--site-cabecalho-logo-largura);
  max-height: var(--site-cabecalho-logo-altura);
  object-fit: contain;
  object-position: center;
}

.site-cabecalho-global.site-cabecalho-fixar-topo {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  align-self: flex-start;
}

.site-cabecalho-global.site-cabecalho-sem-fixar {
  position: static !important;
  z-index: auto;
}

.site-cabecalho-global .site-cabecalho-nav-link {
  color: var(--site-cabecalho-cor-texto-nav, #333);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}

.site-cabecalho-global .site-cabecalho-label-full,
.site-cabecalho-global .site-cabecalho-label-short {
  white-space: nowrap;
}

.site-cabecalho-global .site-cabecalho-label-full { display: none; }
.site-cabecalho-global .site-cabecalho-label-short { display: inline; }

@media (min-width: 992px) {
  .site-cabecalho-global .site-cabecalho-label-full { display: inline; }
  .site-cabecalho-global .site-cabecalho-label-short { display: none; }
}

.site-cabecalho-global .site-cabecalho-nav-link:focus {
  outline: none;
}

.site-cabecalho-global .site-cabecalho-nav-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 55%, transparent);
  outline-offset: 2px;
}

.site-cabecalho-global .site-cabecalho-nav-link:hover {
  color: var(--site-cabecalho-hover-nav, #8231D3) !important;
  background-color: color-mix(in srgb, var(--site-cabecalho-hover-nav, #8231D3) 10%, transparent) !important;
}

.site-cabecalho-global .site-cabecalho-nav-link.is-active {
  color: var(--site-cabecalho-cor-texto-nav, #333);
  background-color: transparent;
}

.site-cabecalho-global .site-cabecalho-nav-dropdown-toggle::after {
  display: none !important;
}

.site-cabecalho-global .site-cabecalho-nav-caret {
  margin-left: 0.2em;
  font-size: 0.75em;
  opacity: 0.9;
  vertical-align: middle;
}

.site-cabecalho-global .site-cabecalho-nome-fallback {
  color: var(--site-cabecalho-cor-texto-nav, #333);
}

.site-cabecalho-global .site-cabecalho-rede-link {
  padding: 0px !important;
  width: 35px;
  height: 35px;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--site-cabecalho-cor-icones, #6b7280);
  font-size: 1.2rem;
}

.site-cabecalho-global .site-cabecalho-rede-link:hover,
.site-cabecalho-global .site-cabecalho-rede-link:focus,
.site-cabecalho-global .site-cabecalho-rede-link:active {
  color: var(--site-cabecalho-hover-icon, #8231D3);
  background-color: color-mix(in srgb, var(--site-cabecalho-hover-icon) 20%, transparent);
}

/* Separador vertical entre colunas da seção (desktop/tablet). */
@media (min-width: 768px) {
  .site-page-container .site-page-container-coluna--separador-direita::after {
    content: "";
    position: absolute;
    top: var(--site-sep-v-top, 2rem) !important;
    right: 0 !important;
    bottom: var(--site-sep-v-bottom, 0.5rem) !important;
    width: 1px !important;
    background-color: var(--site-sep-v-cor, #06111b) !important;
    pointer-events: none;
    z-index: 2;
  }
}

.site-bloco-contatos-item--separador-horizontal::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0;
  border-bottom: 1px solid var(--site-contatos-separador-cor, #dee2e6);
  pointer-events: none;
}

.site-cabecalho-dropdown .btn.dropdown-toggle::after {
  display: none;
}

.site-cabecalho-dropdown .btn:focus {
  box-shadow: none;
}

.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch {
  width: 2.25em;
  height: 1.15em;
  cursor: pointer;
  margin-top: 0;
}

.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch-sm {
  width: 1.85em;
  height: 1em;
}

.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch:checked,
.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch-sm:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch:focus,
.site-cabecalho-switch-form .form-check-input.site-cabecalho-switch-sm:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* ==========================================
   SITE — CONTAINER E PÁGINA
   ========================================== */
.site-page-container-wrap {
  display: block;
  overflow: visible;
  max-width: 100%;
  min-width: 200px;
}

.site-page-container-wrap > .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-page-container-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

.site-page-container .editor-column,
.site-page-container [class^="col-"],
.site-page-container [class*=" col-"] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-page-container .editor-column > div {
  max-width: 100%;
  box-sizing: border-box;
}

/* 2+ colunas: linha com mesma altura (coluna mais alta) para a borda vertical acompanhar toda a seção */
.site-page-container-row[data-columns="2"] > .editor-column.d-flex,
.site-page-container-row[data-columns="3"] > .editor-column.d-flex {
  min-height: 0;
  align-self: stretch;
}
.site-page-container-row[data-columns="2"] > .editor-column > .flex-grow-1,
.site-page-container-row[data-columns="3"] > .editor-column > .flex-grow-1 {
  min-height: 0;
}

.site-page-body-scroll {
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-page-container-row[data-columns="3"] {
    display: flex;
    flex-wrap: wrap;
  }
  .site-page-container-row[data-columns="3"] > .editor-column {
    display: contents;
  }
  .site-page-container-row[data-columns="3"] > .editor-column > div {
    display: contents;
  }
  .site-page-container-row[data-columns="3"] .editor-block-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }
}


/* ==========================================
   SITE — BLOCO IMAGEM
   ========================================== */
.site-bloco-imagem-area--quadrado-blur {
  --site-bloco-imagem-raio-destaque: 0.375rem;
  width: 100%;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--site-bloco-imagem-raio-destaque);
}

.site-bloco-imagem-area--quadrado-blur-transparente {
  background: transparent;
}

.site-bloco-imagem-blur-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.site-bloco-imagem-blur-bg-foto {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  filter: blur(22px);
  opacity: 0.92;
}

.site-bloco-imagem-quadrado-frente {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  border-radius: inherit;
}

.site-bloco-imagem-quadrado-frente .site-bloco-imagem-foto {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--site-bloco-imagem-raio-destaque);
}

.site-bloco-imagem-area--quadrado-blur-vazio {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholders de blocos vazios — sem borda (editor, preview e site publicado) */
.editor-text-block-placeholder,
.editor-placeholder,
.site-bloco-redes-sociais-vazio,
.site-bloco-icones-vazio,
.site-bloco-contatos-vazio,
.site-bloco-youtube-vazio {
  border: none !important;
}

/* Borda a borda: fallback CSS; posição exata via fnc_site_imagemAplicarLarguraFullBleed (sistema.js) */
.site-page-body .editor-block-wrapper--imagem-full-bleed {
  position: relative;
  box-sizing: border-box;
}

.site-page-body .editor-block-wrapper--imagem-full-bleed.site-imagem-full-bleed-medindo {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-page-body .editor-block-wrapper--imagem-full-bleed > .site-bloco-imagem.site-bloco-imagem--full-bleed {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.site-bloco-imagem-area--full-bleed-cobrir .site-bloco-imagem-quadrado-frente {
  padding: 0;
}

.site-bloco-imagem-area--full-bleed-cobrir .site-bloco-imagem-quadrado-frente .site-bloco-imagem-foto {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.site-page-container-wrap:has(.editor-block-wrapper--imagem-full-bleed),
.site-page-container-wrap:has(.site-bloco-imagem--full-bleed),
.site-page-container:has(.editor-block-wrapper--imagem-full-bleed),
.site-page-container .editor-column:has(.editor-block-wrapper--imagem-full-bleed),
.site-page-container .editor-column > div:has(.editor-block-wrapper--imagem-full-bleed),
.site-page-body:has(.editor-block-wrapper--imagem-full-bleed),
.hot-layoutV1 .contents:has(.editor-block-wrapper--imagem-full-bleed) {
  overflow-x: visible !important;
}

html:has(.editor-block-wrapper--imagem-full-bleed),
body:has(.editor-block-wrapper--imagem-full-bleed) {
  overflow-x: visible !important;
}


/* ==========================================
   SITE — BLOCO NOTÍCIAS
   ========================================== */
.site-bloco-noticias-grid {
  align-items: stretch;
}

.site-bloco-noticias-col {
  display: flex;
}

.site-bloco-noticias .noticias-item.site-noticias-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.site-bloco-noticias .site-noticias-card .site-noticias-meta {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
}

.site-bloco-noticias {
  --site-noticias-radius: 0px;
  --site-noticias-radius-img: 10px;
}

.site-bloco-noticias .site-noticias-titulo {
  font-size: var(--site-noticias-titulo-tamanho, inherit);
}

.site-bloco-noticias[style*="--site-noticias-cor-texto"] .site-noticias-titulo,
.site-bloco-noticias[style*="--site-noticias-cor-texto"] .site-noticias-titulo a,
.site-bloco-noticias[style*="--site-noticias-cor-texto"] .site-noticias-resumo,
.site-bloco-noticias[style*="--site-noticias-cor-texto"] .site-noticias-data {
  color: var(--site-noticias-cor-texto) !important;
}

.site-bloco-noticias .site-noticias-resumo,
.site-bloco-noticias .site-noticias-data {
  font-size: var(--site-noticias-subtitulo-tamanho, inherit);
}

.site-bloco-noticias .site-noticias-meta,
.site-bloco-noticias .site-noticias-card-overlay-text {
  text-align: var(--site-noticias-text-align, inherit);
}

.site-bloco-noticias .site-noticias-resumo {
  margin-left: var(--site-noticias-resumo-margin-esq, 0);
  margin-right: var(--site-noticias-resumo-margin-dir, 0);
}

.site-bloco-noticias:not([style*="--site-noticias-resumo-margin-esq"]) .site-noticias-resumo:not(.site-noticias-card-overlay-resumo) {
  text-align: justify;
}

.site-bloco-noticias.site-noticias--img-altura-custom .site-noticias-img,
.site-bloco-noticias.site-noticias--img-altura-custom .site-noticias-card-overlay-img {
  height: var(--site-noticias-img-altura);
  max-height: none;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.site-bloco-noticias .site-noticias-card .site-noticias-titulo {
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.site-bloco-noticias .site-noticias-card .site-noticias-data {
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.site-bloco-noticias .site-noticias-card,
.site-bloco-noticias .site-noticias-card .site-noticias-titulo a,
.site-bloco-noticias .site-noticias-card .site-noticias-resumo {
  color: #000000;
}

.site-bloco-noticias .site-noticias-resumo {
  display: block;
  overflow: visible;
  line-height: 1.4;
}

.site-bloco-noticias .site-noticias-img-link {
  text-align: center;
  flex-shrink: 0;
}

.site-bloco-noticias .site-noticias-img-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: var(--site-noticias-radius-img, var(--site-noticias-radius, 10px));
}

.site-bloco-noticias .site-noticias-img-wrap img,
.site-bloco-noticias .site-noticias-img {
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.site-bloco-noticias .site-noticias-img-wrap:not([class*="site-noticias-img-col"]) img {
  max-height: 200px;
}

/* 1 e 2 colunas do bloco */
.site-bloco-noticias .site-noticias-img-col-1 .site-noticias-img,
.site-bloco-noticias .site-noticias-img-col-1 img,
.site-bloco-noticias .site-noticias-img-col-2 .site-noticias-img,
.site-bloco-noticias .site-noticias-img-col-2 img {
  height: 180px;
  max-height: 32vw;
}

/* 3 colunas do bloco */
.site-bloco-noticias .site-noticias-img-col-3 .site-noticias-img,
.site-bloco-noticias .site-noticias-img-col-3 img {
  height: 120px;
  max-height: 22vw;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista,
.site-bloco-noticias-grid .noticias-item.site-noticias-card {
  background-color: #ffffff;
  border-radius: var(--site-noticias-radius, 0px);
  overflow: visible;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-img-link,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-img-link {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: left;
  border-radius: var(--site-noticias-radius-img, var(--site-noticias-radius, 10px));
  overflow: hidden;
  line-height: 0;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-img-wrap,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-img-wrap {
  border-radius: inherit;
  overflow: hidden;
  justify-content: initial;
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-img-wrap picture,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-img-wrap img,
.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-img,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-img-wrap img,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-img {
  border-radius: inherit;
  width: 100%;
  display: block;
}

.site-bloco-noticias .noticias-item.site-noticias-card-lista .site-noticias-meta,
.site-bloco-noticias-grid .noticias-item.site-noticias-card .site-noticias-meta {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 1rem;
}

.site-bloco-noticias .noticias-item.site-noticias-card-sem-imagem .site-noticias-meta,
.site-bloco-noticias-grid .noticias-item.site-noticias-card-sem-imagem .site-noticias-meta {
  flex: 1 1 100%;
  max-width: 100%;
  padding-left: 0;
}

.site-bloco-noticias-grid .noticias-item.site-noticias-card.site-noticias-card-grid-3 {
  flex-direction: column;
  align-items: stretch;
  height: auto;
}

.site-bloco-noticias-grid .noticias-item.site-noticias-card.site-noticias-card-grid-3 .site-noticias-img-link {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  display: block;
  text-align: left;
}

.site-bloco-noticias-grid .noticias-item.site-noticias-card.site-noticias-card-grid-3 .site-noticias-meta {
  flex: 0 0 auto;
  max-width: 100%;
  padding-left: 0;
  margin-top: 0.5rem;
}

.site-bloco-noticias-grid .noticias-item.site-noticias-card.site-noticias-card-grid-3 .site-noticias-data {
  display: inline-block;
  margin-bottom: 0;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.site-bloco-noticias-lista-wrapper .noticias-item.site-noticias-card-lista + .noticias-item.site-noticias-card-lista {
  border-top: 1px solid #e5e6e7;
  margin-top: 1.25rem;
  padding-top: 1.75rem;
}

@media (max-width: 575.98px) {
  .site-bloco-noticias .site-noticias-img-col-3 .site-noticias-img,
  .site-bloco-noticias .site-noticias-img-col-3 img {
    height: 180px;
    max-height: 32vw;
  }
}

@media (min-width: 1200px) {
  .site-bloco-noticias .site-noticias-img-col-1 .site-noticias-img,
  .site-bloco-noticias .site-noticias-img-col-1 img,
  .site-bloco-noticias .site-noticias-img-col-2 .site-noticias-img,
  .site-bloco-noticias .site-noticias-img-col-2 img {
    height: 200px;
  }
  .site-bloco-noticias .site-noticias-img-col-3 .site-noticias-img,
  .site-bloco-noticias .site-noticias-img-col-3 img {
    height: 100px;
  }
}

/* Destaque + grade */
.row.site-bloco-noticias-destaque-grid {
  align-items: stretch;
  display: grid;
  flex-wrap: unset;
  grid-template-columns: 1fr;
  gap: 1rem;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 992px) {
  .row.site-bloco-noticias-destaque-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 1rem;
  }
  .row.site-bloco-noticias-destaque-grid > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }
}

.site-bloco-noticias-destaque-col-main,
.site-bloco-noticias-destaque-col-side {
  display: flex;
}

.site-bloco-noticias-destaque-col-main .noticias-item.site-noticias-card {
  height: 100%;
}

.site-bloco-noticias-destaque-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
}

.site-bloco-noticias-destaque-side-item {
  flex: 1 1 0;
  display: flex;
}

.site-bloco-noticias-destaque-side-item .noticias-item.site-noticias-card {
  height: 100%;
}

@media (max-width: 991.98px) {
  .row.site-bloco-noticias-destaque-grid { align-items: flex-start; }
  .site-bloco-noticias-destaque-col-main { min-height: 300px; }
  .site-bloco-noticias-destaque-col-main .site-noticias-card-overlay { height: auto; min-height: 300px; }
  .site-bloco-noticias-destaque-col-main .site-noticias-card-overlay-inner { min-height: 300px; }
  .site-bloco-noticias-destaque-col-main .site-noticias-card-overlay-img-wrap { min-height: 220px; }
  .site-bloco-noticias-destaque-col-side { min-height: 260px; width: 100%; }
  .site-bloco-noticias-destaque-side-list {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    min-height: 260px;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }
  .site-bloco-noticias-destaque-side-item { flex: 0 0 auto; min-height: 260px; }
  .site-bloco-noticias-destaque-side-list-count-1 .site-bloco-noticias-destaque-side-item { flex: 0 0 100%; max-width: 100%; }
  .site-bloco-noticias-destaque-side-list-count-2 .site-bloco-noticias-destaque-side-item { flex: 0 0 calc(50% - 0.375rem); max-width: calc(50% - 0.375rem); }
  .site-bloco-noticias-destaque-side-list-count-3 .site-bloco-noticias-destaque-side-item { flex: 0 0 calc(33.333% - 0.5rem); max-width: calc(33.333% - 0.5rem); }
}

/* Overlay estilo G1 */
.site-noticias-card-overlay {
  height: 100%;
  border-radius: var(--site-noticias-radius, 0px);
  overflow: hidden;
}

.site-noticias-card-overlay .site-noticias-card-overlay-link {
  color: inherit;
}

.site-noticias-card-overlay-inner {
  border-radius: inherit;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.site-noticias-card-overlay-img-wrap {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 0;
  display: block;
  width: 100%;
}

.site-noticias-card-overlay-img,
.site-noticias-card-overlay-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.site-noticias-card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.site-noticias-card-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem 1.25rem;
  z-index: 1;
  overflow: hidden;
  min-height: 0;
}

.site-noticias-card-overlay-titulo {
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-noticias-card-overlay-resumo {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  opacity: 0.95;
}

.site-noticias-card-overlay-side .site-noticias-card-overlay-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.site-noticias-card-overlay-side .site-noticias-card-overlay-img-wrap {
  min-height: 0;
  flex: 1 1 0;
}

.site-noticias-card-overlay-side .site-noticias-card-overlay-text {
  padding: 0.5rem 0.75rem 0.75rem;
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.site-noticias-card-overlay-side .site-noticias-card-overlay-titulo {
  font-size: 0.9rem;
  flex-shrink: 1;
  min-height: 0;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.site-noticias-card-overlay-side .site-noticias-card-overlay-resumo {
  -webkit-line-clamp: 1;
  line-clamp: 1;
  flex-shrink: 0;
}

.site-noticias-card-overlay .site-noticias-img,
.site-noticias-card-overlay .site-noticias-img-wrap img {
  height: 100% !important;
  max-height: none !important;
}

/* Destaque: resumo responsivo (caracteres exibidos por breakpoint) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-noticias-side-resumo-20 { display: inline !important; }
  .site-noticias-side-resumo-30 { display: none !important; }
  .site-noticias-side-resumo-80 { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1297px) {
  .site-noticias-side-resumo-20 { display: none !important; }
  .site-noticias-side-resumo-30 { display: inline !important; }
  .site-noticias-side-resumo-80 { display: none !important; }
}
@media (min-width: 1298px) {
  .site-noticias-side-resumo-20 { display: none !important; }
  .site-noticias-side-resumo-30 { display: none !important; }
  .site-noticias-side-resumo-80 { display: inline !important; }
}

@media (min-width: 992px) {
  .site-bloco-noticias-destaque-col-main .site-noticias-card-overlay-inner {
    min-height: 400px;
  }
}


/* ==========================================
   SITE — BLOCO YOUTUBE
   ========================================== */
@media (min-width: 768px) {
  .site-page-container-row[data-columns="2"] .editor-column .site-bloco-youtube,
  .site-page-container-row[data-columns="3"] .site-bloco-youtube {
    box-sizing: border-box;
    padding-left: clamp(0.375rem, 1.25vw, 0.75rem);
    padding-right: clamp(0.375rem, 1.25vw, 0.75rem);
  }
}

.site-bloco-youtube .site-bloco-youtube-ratio {
  --yt-ar-w: 16;
  --yt-ar-h: 9;
  --site-youtube-altura-max: min(58vh, 480px);
  --site-youtube-largura-max: calc(
    var(--site-youtube-altura-max) * var(--yt-ar-w) / var(--yt-ar-h)
  );
  position: relative;
  box-sizing: border-box;
  width: min(100%, var(--site-youtube-largura-max));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
}

.site-bloco-youtube .site-bloco-youtube-ratio.site-bloco-youtube-ratio--tamanho-pequeno {
  --site-youtube-altura-max: min(30vh, 285px);
}

.site-bloco-youtube .site-bloco-youtube-ratio.site-bloco-youtube-ratio--tamanho-medio {
  --site-youtube-altura-max: min(42vh, 382px);
}

.site-bloco-youtube .site-bloco-youtube-ratio.site-bloco-youtube-ratio--tamanho-grande {
  --site-youtube-altura-max: min(58vh, 480px);
}

.site-bloco-youtube .site-bloco-youtube-ratio iframe {
  display: block;
}


/* ==========================================
   SITE — RODAPÉ GLOBAL
   ========================================== */
.site-rodape-global .site-rodape-linha-superior {
  position: relative;
  padding-top: 1rem;
  border-top: none;
}

.site-rodape-global .site-rodape-linha-superior::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: color-mix(in srgb, currentColor 50%, transparent);
  border-radius: 9999px;
}


/* ==========================================
   FINANCEIRO — PAGAMENTO
   ========================================== */

/* Origem do pagamento */
.hot-fin-pagamento-origem {
  white-space: normal;
  text-align: left;
  max-width: 100%;
  line-height: 1.25;
  border: 1px solid #d0d1d2;
}

.hot-fin-pagamento-origem:hover:not(:disabled):not(.disabled) {
  border-color: #c4c5c6;
}

.hot-fin-pagamento-origem:disabled,
.hot-fin-pagamento-origem.disabled {
  opacity: 0.52;
  cursor: not-allowed !important;
  box-shadow: none;
  filter: grayscale(0.08);
}

.hot-fin-pagamento-origem--ativa {
  box-shadow: 0 0 0 2px var(--hot-ver);
  border-color: var(--hot-ver);
}

/* Caixa de contas selecionadas e forma de pagamento — mesmo visual */
.hot-fin-pagamento-contas-box,
.hot-fin-pag-forma-box {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hot-fin-pagamento-contas-col .hot-fin-pagamento-contas-box,
.hot-fin-pagamento-contas-col .hot-fin-pagamento-contas-scroll {
  min-height: 0;
  min-width: 0;
}

.hot-fin-pagamento-contas-scroll {
  max-height: min(32vh, 260px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* table-responsive interno: sem min-height do plataforma.css */
.hot-fin-pagamento-contas-scroll .table-responsive,
.hot-fin-pag-forma-scroll .hot-fin-pag-forma-table-responsive.table-responsive {
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-height: unset;
}

.hot-fin-pagamento-contas-scroll #tabela-pagamento-contas {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  max-width: none;
}

.hot-fin-pagamento-contas-totalbar {
  flex-shrink: 0;
  border-top: 1px solid #dee2e6;
  background: #f8f9fa;
}

.hot-fin-pagamento-contas-scroll #tabela-pagamento-contas thead.userDatatable-header th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #e5e5e5;
  box-shadow: 0 1px 0 #dee2e6;
}

/* Forma de pagamento (lote) */
.hot-fin-pag-forma-scroll {
  max-height: min(48vh, 420px);
  overflow-y: auto;
  overflow-x: visible;
}

.hot-fin-pag-forma-tabela {
  margin-bottom: 0;
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  max-width: none;
}

.hot-fin-pag-forma-tabela col.hot-fin-pag-col-meio    { width: 16%; }
.hot-fin-pag-forma-tabela col.hot-fin-pag-col-modo    { width: 15%; }
.hot-fin-pag-forma-tabela col.hot-fin-pag-col-ncheque { width: 11%; }
.hot-fin-pag-forma-tabela col.hot-fin-pag-col-emitente { width: 22%; }
.hot-fin-pag-forma-tabela col.hot-fin-pag-col-data    { width: 14%; }
.hot-fin-pag-forma-tabela col.hot-fin-pag-col-valor   { width: 12%; }

.hot-fin-pag-forma-thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #e5e5e5;
  color: #212529;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.01em;
  border-color: #dee2e6;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 0 #dee2e6;
}

.hot-fin-pag-forma-tabela thead.hot-fin-pag-forma-thead th {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.hot-fin-pag-forma-tabela tbody td {
  vertical-align: middle;
  font-size: 0.875rem;
}

.hot-fin-pag-forma-tabela tbody tr.hot-fin-pag-linha:nth-child(even) {
  background: #fafafa;
}

.hot-fin-pag-meio-celula .hot-fin-pag-rotulo {
  font-size: 0.8rem;
  font-weight: 600;
  color: #212529;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-fin-pag-forma-tabela .hot-fin-pag-modo        { min-width: 9.5rem; }
.hot-fin-pag-forma-tabela .hot-fin-pag-ncheque     { min-width: 7rem; }
.hot-fin-pag-forma-tabela .hot-fin-pag-emitente    { min-width: 12rem; max-width: 18rem; }
.hot-fin-pag-forma-tabela .hot-fin-pag-dataemissao { min-width: 9.5rem; }

.hot-fin-pag-forma-tabela .hot-fin-pag-dataemissao.hsyDatePicker {
  background-position: right 0.5rem center;
  padding-right: 2.35rem;
  background-size: 14px 14px;
}

.hot-fin-pag-forma-tabela td.hot-fin-pag-td-cheque input:disabled {
  cursor: not-allowed;
}

.hot-fin-pag-td-valor .hot-fin-pag-valor {
  max-width: 9rem;
  margin-left: auto;
}

/* Toast de sucesso */
.site-flash-toast-sucesso.toast {
  min-width: min(100%, 280px);
  max-width: 420px;
  border-radius: 0.5rem;
  border: 1px solid rgb(89, 189, 80) !important;
  color: rgb(255, 255, 255) !important;
  background-color: rgb(100, 204, 91) !important;
  --bs-toast-bg: rgb(100, 204, 91);
  overflow: hidden;
  box-shadow: 0 0.35rem 1.1rem rgba(0, 0, 0, 0.18);
}

.site-flash-toast-sucesso .toast-body {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: rgb(255, 255, 255) !important;
}


/* ==========================================
   UTILITÁRIOS
   ========================================== */
.px-10 {
  padding-right: 6rem !important;
  padding-left: 6rem !important;
}

.px-20 {
  padding-right: 12rem !important;
  padding-left: 12rem !important;
}


/* ==========================================
   MEDIA QUERIES GLOBAIS
   ========================================== */
@media (max-width: 576px) {
  #hot-footer-principal {
    display: none !important;
  }

  body.hot-footer-visible #hot-content {
    margin-bottom: 0 !important;
  }
}

/* ==========================================
   BLOCO: FALE CONOSCO
   ========================================== */
.site-bloco-fale-conosco {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-bloco-fale-conosco-kicker {
  color: #2bbbad;
  font-weight: 700;
  letter-spacing: 0.2rem;
  font-size: 0.75rem;
}

.site-bloco-fale-conosco-titulo {
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}

.site-bloco-fale-conosco .form-control {
  min-height: 36px;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  font-size: 0.92rem;
}

.site-bloco-fale-conosco .card {
  width: 100%;
  max-width: 1100px;
}

.site-bloco-fale-conosco-card {
  border: 1px solid #d6dce2 !important;
  border-top: 1px solid #c7ced6 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-bloco-fale-conosco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.site-bloco-fale-conosco-card--sem-animacao {
  transition: none;
}

.site-bloco-fale-conosco-card--sem-animacao:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.site-bloco-fale-conosco-card--sem-borda {
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

.site-bloco-fale-conosco-card--sem-borda:hover {
  box-shadow: none !important;
}

.site-bloco-fale-conosco-card--sem-animacao.site-bloco-fale-conosco-card--sem-borda:hover {
  box-shadow: none !important;
}

.site-bloco-fale-conosco-card .card-body {
  border-radius: inherit;
}

.site-bloco-fale-conosco textarea.form-control {
  min-height: 72px;
}

.site-bloco-fale-conosco-colunas-2 textarea.form-control,
.site-bloco-fale-conosco-colunas-3 textarea.form-control {
  min-height: 56px;
}

.site-bloco-fale-conosco-form-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
}

.site-bloco-fale-conosco-colunas-2,
.site-bloco-fale-conosco-colunas-3 {
  max-width: 760px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-bloco-fale-conosco-colunas-2 .site-bloco-fale-conosco-card,
.site-bloco-fale-conosco-colunas-3 .site-bloco-fale-conosco-card {
  margin-left: auto;
  margin-right: auto;
}

.site-bloco-fale-conosco .card-body {
  padding: 0.85rem !important;
}

.site-bloco-fale-conosco .site-bloco-fale-conosco-form-wrapper {
  padding: 0.65rem !important;
}

.site-bloco-fale-conosco .row.g-4 {
  --bs-gutter-y: 0.45rem;
}

.site-bloco-fale-conosco form.row.g-3 {
  --bs-gutter-y: 0.38rem;
}

.site-bloco-fale-conosco .hot-fale-conosco-form-grid {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.5rem;
}

.site-bloco-fale-conosco .hot-fale-conosco-form-grid > [class*="col-"] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: 0.45rem;
}

@media (min-width: 768px) {
  .site-bloco-fale-conosco .hot-fale-conosco-form-grid > .col-md-6:nth-child(odd) {
    padding-right: 0.1rem !important;
  }

  .site-bloco-fale-conosco .hot-fale-conosco-form-grid > .col-md-6:nth-child(even) {
    padding-left: 0.1rem !important;
  }
}

.site-bloco-fale-conosco .form-label {
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.site-bloco-fale-conosco .site-bloco-fale-conosco-titulo {
  margin-bottom: 0.35rem !important;
}

.site-bloco-fale-conosco .site-bloco-fale-conosco-texto-wrapper p {
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

.hot-fale-conosco-botao {
  position: relative;
  min-height: 38px;
  border-radius: 0.375rem !important;
  border: 2px solid var(--hot-fale-conosco-cor-botao, #f5140a) !important;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.hot-fale-conosco-botao-texto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.hot-fale-conosco-botao-texto--carregando,
.hot-fale-conosco-botao-texto--enviado {
  display: none;
}

.hot-fale-conosco-botao.is-carregando {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  display: block !important;
  position: relative;
  line-height: 0;
  font-size: 0;
  border-color: transparent !important;
  border-width: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: transparent !important;
}

.hot-fale-conosco-botao.is-carregando .hot-fale-conosco-botao-texto--padrao,
.hot-fale-conosco-botao.is-carregando .hot-fale-conosco-botao-texto--enviado {
  display: none;
}

.hot-fale-conosco-botao.is-carregando .hot-fale-conosco-botao-texto--carregando {
  display: none;
}

.hot-fale-conosco-botao.is-carregando::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  border-radius: 50%;
  border: 3px solid #bbbbbb;
  border-left-color: var(--hot-fale-conosco-cor-botao, #f5140a);
  box-sizing: border-box;
  animation: hot_fale_conosco_rotating 1.15s linear infinite;
}

.hot-fale-conosco-botao.is-enviado {
  background: var(--hot-fale-conosco-cor-botao, #f5140a) !important;
  color: #ffffff !important;
  border-color: var(--hot-fale-conosco-cor-botao, #f5140a) !important;
}

.hot-fale-conosco-botao.is-enviado .hot-fale-conosco-botao-texto--padrao,
.hot-fale-conosco-botao.is-enviado .hot-fale-conosco-botao-texto--carregando {
  display: none;
}

.hot-fale-conosco-botao.is-enviado .hot-fale-conosco-botao-texto--enviado {
  display: inline-flex;
}

.hot-fale-conosco-botao.is-bloqueado {
  pointer-events: none;
}

@keyframes hot_fale_conosco_rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================
   SISTEMA - SOBRE A IGREJA
   ========================================== */

.hot-sobre-igreja-card-titulo {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #404040;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(130, 49, 211, 0.2);
}

.hot-sobre-igreja-midia-wrap {
  background: #f8f9fa;
  border-radius: 0.75rem;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.hot-sobre-igreja-preview-root {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Preview padronizado (logo e fachada) — 220×220 px */
.hot-sobre-igreja-preview-midia {
  --site-bloco-imagem-raio-destaque: 0.75rem;
  position: relative;
  width: 220px;
  height: 220px;
  max-width: 100%;
  flex-shrink: 0;
  border: none;
  border-radius: var(--site-bloco-imagem-raio-destaque);
  box-shadow: none;
  overflow: hidden;
}

.hot-sobre-igreja-preview-midia.site-bloco-imagem-area--quadrado-blur:not(.hot-sobre-igreja-preview-midia--vazio) {
  background: #ffffff;
}

.hot-sobre-igreja-preview-midia--fundo-branco:not(.hot-sobre-igreja-preview-midia--vazio) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.hot-sobre-igreja-preview-midia--fundo-branco .hot-sobre-igreja-preview-img-contain {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hot-sobre-igreja-preview-midia--fundo-branco .hot-sobre-igreja-btn-remover {
  pointer-events: auto;
}

.hot-sobre-igreja-preview-midia--vazio {
  background: #f1f3f5;
  border-radius: var(--site-bloco-imagem-raio-destaque);
}

.hot-sobre-igreja-preview-midia--vazio .hot-sobre-igreja-preview-placeholder {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.hot-sobre-igreja-preview-midia .hot-sobre-igreja-btn-remover {
  pointer-events: auto;
}

.hot-sobre-igreja-preview-midia .site-bloco-imagem-quadrado-frente,
.hot-sobre-igreja-preview-midia .site-bloco-imagem-blur-bg {
  pointer-events: none;
}

.hot-sobre-igreja-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
  background: #f1f3f5;
}

.hot-sobre-igreja-btn-remover {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #6c757d;
}

.hot-sobre-igreja-btn-remover:hover {
  color: #f5140a;
  background-color: #fff5f5;
}

.hot-sobre-igreja-btn-remover:focus-visible {
  outline: 2px solid #8231D3;
  outline-offset: 2px;
}

/* ==========================================
   COMPONENTE - MENSAGEM TOPO
   ========================================== */

.hot-msg-topo {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  max-width: min(92vw, 620px);
  line-height: 1.35;
}

.hot-msg-topo i {
  font-size: 1rem;
  flex-shrink: 0;
}

.hot-msg-topo--sucesso {
  border: 1px solid #52c41a;
  background: #f6ffed;
  color: #237804;
}

.hot-msg-topo--sucesso i {
  color: #52c41a;
}

.hot-msg-topo--fracasso {
  border: 1px solid #ff4d4f;
  background: #fff1f0;
  color: #a8071a;
}

.hot-msg-topo--fracasso i {
  color: #ff4d4f;
}

.hot-msg-topo--aviso {
  border: 1px solid #faad14;
  background: #fffbe6;
  color: #ad6800;
}

.hot-msg-topo--aviso i {
  color: #faad14;
}

.hot-msg-topo--persistente {
  padding-right: 2.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hot-msg-topo--assinatura-vencimento .hot-msg-topo__texto {
  flex: 1;
  min-width: 0;
}

.hot-msg-topo--assinatura-vencimento .hot-msg-topo__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.hot-msg-topo--assinatura-vencimento .hot-msg-topo__link--inline {
  white-space: normal;
}

.hot-msg-topo--assinatura-vencimento .hot-msg-topo__link:hover {
  opacity: 0.85;
}

.hot-msg-topo--limite-membros .hot-msg-topo__texto {
  flex: 1;
  min-width: 0;
}

.hot-msg-topo--limite-membros .hot-msg-topo__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.hot-msg-topo--limite-membros .hot-msg-topo__link--inline {
  white-space: normal;
}

.hot-msg-topo--limite-membros .hot-msg-topo__link:hover {
  opacity: 0.85;
}

.hot-msg-topo__fechar {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.75;
  padding: 0.25rem 0.35rem;
  line-height: 1;
  cursor: pointer;
}

.hot-msg-topo__fechar:hover {
  opacity: 1;
}

.hot-msg-topo--animar {
  animation: hot_msg_topo_sumir 0.25s ease 2.8s forwards;
}

@keyframes hot_msg_topo_sumir {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
    pointer-events: none;
  }
}

.hot-msg-topo--andamento {
  border: 1px solid #1677ff;
  background: #e6f4ff;
  color: #0958d9;
}

.hot-msg-topo--andamento i {
  color: #1677ff;
}

/* ==========================================
   DASHBOARD MEMBROS - PROXIMOS ANIVERSARIOS
   ========================================== */
.proximos-aniversarios-lista {
  gap: 1px;
}

.proximos-aniversarios-item {
  flex: 1 1 0%;
  min-width: 0;
}

.proximos-aniversarios-data {
  height: 34px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-color: #e9ecef !important;
}

.proximos-aniversarios-data:hover {
  background-color: rgba(178, 0, 2, 0.1);
  border-color: rgb(178, 0, 2) !important;
}

.proximos-aniversarios-data-texto {
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 500;
}

/* ==========================================
   PESSOA FISICA - GRUPOS (CATEGORIAS)
   ========================================== */
/* ====== Profile Card 3 Styles ====== */
.profile-card-3 {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.profile-card-3 .background-block {
  float: left;
  width: 100%;
  border-radius: 10px 10px 0px 0px;
  position: relative;
  z-index: 1;
}

.profile-card-3 .background-block .background {
  width: 100%;
  vertical-align: top;
  height: 150px;
  border-radius: 10px 10px 0px 0px;
  object-fit: cover;
}

.profile-card-3 .background-block .background-blur {
  width: 100%;
  height: 150px;
  border-radius: 10px 10px 0px 0px;
  position: relative;
  overflow: hidden;
}

.profile-card-3 .background-block .background-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  transform: scale(1.1);
  z-index: 0;
}

.profile-card-3 .background-block .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0px 0px;
  z-index: 1;
}

.profile-card-3 .background-block .background-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 0 15px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  word-wrap: break-word;
  position: relative;
  z-index: 2;
}

.profile-card-3 .profile {
  border-radius: 50%;
  object-fit: cover;
}

.profile-card-3 .card-content {
  background: #ffffff;
  border-radius: 30px 30px 10px 10px;
  margin-top: -25px;
  position: relative;
  z-index: 10;
}

.profile-card-3 .card-content__body {
  width: 100%;
  padding: 15px 15px;
  padding-top: 50px;
}

.profile-card-3 .card-dropdown {
  margin-top: 7px;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.profile-card-3 .card-dropdown:hover {
  background: #F4F5F7;
}

.profile-card-3 .card-dropdown .dropdown svg {
  color: #868EAE;
  width: 24px;
  right: 10px;
}

.profile-card-3 .card-dropdown {
  margin-top: -30px;
  right: -5px;
}

/* ====== Name and Address Styles ====== */
.ap-nameAddress {
  text-align: center;
}

.ap-nameAddress__title {
  line-height: 1.25;
  font-weight: 500;
  font-size: 15px;
  color: #272B41;
  margin-bottom: 0;
}

.ap-nameAddress__subTitle {
  line-height: 1.7857142857;
  font-weight: 400;
  color: #868EAE;
  padding-top: 2px;
  margin: 0;
  font-size: 13px;
}

.ap-nameAddress__subTitle svg {
  width: 13px;
  height: 15px;
  margin-right: 8px;
}

/* ====== Button Styles ====== */
.ap-button button,
.ap-button a {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-height: 34px;
  min-height: 34px;
  padding: 8px 12px;
  margin: 3px;
  text-decoration: none;
  cursor: pointer;
}

.ap-button button svg,
.ap-button a svg {
  width: 16px;
  margin-right: 8px;
}

.account-profile-cards__button button,
.account-profile-cards__button a {
  background: transparent;
  border: 1px solid #E3E6EF;
  color: #868EAE;
  text-decoration: none;
}

.account-profile-cards__button button:hover,
.account-profile-cards__button a:hover {
  background-color: #8231D3;
  color: #ffffff;
  border-color: #8231D3;
  text-decoration: none;
}

.account-profile-cards__button button.active,
.account-profile-cards__button a.active {
  background-color: #8231D3;
  color: #ffffff;
  border-color: #8231D3;
}

.account-profile-cards__button svg {
  width: 16px;
  color: currentColor;
  margin-right: 8px;
}

/* ====== Utility Classes ====== */
.userDatatable {
  background: #ffffff;
  border-radius: 10px;
}

.global-shadow {
  box-shadow: 0px 5px 20px rgba(146, 153, 184, 0.08);
}

.border-light-0 {
  border: 0 !important;
}

.radius-xl {
  border-radius: 10px;
}

.bg-opacity-success {
  background-color: rgba(32, 201, 151, 0.1);
}

.bg-opacity-primary {
  background-color: rgba(252, 252, 252, 0.1);
}

.wh-120 {
  width: 120px;
  height: 120px;
}

.wh-30 {
  width: 30px;
  height: 30px;
}

.color-gray {
  color: #868EAE;
}

.button-group {
  gap: 8px;
}

.modal-header .close {
  border-radius: 50%;
  border: none;
  padding: 5px;
}

/* ====== Dropdown Styles ====== */
.dropdown-menu {
  border: 1px solid #E3E6EF;
  border-radius: 8px;
  box-shadow: 0px 15px 40px rgba(146, 153, 184, 0.15);
  padding: 8px 0;
  min-width: 150px;
}

.dropdown-item {
  padding: 8px 20px;
  font-size: 14px;
  color: #272B41;
  transition: all 0.3s ease;
}

.dropdown-item:not([class*="bt-"]):hover {
  background-color: #F4F5F7;
  color: #8231D3;
}

/* ====== Custom Column for 5 cards per row ====== */
@media (min-width: 1200px) {
  .col-custom-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ====== Responsive Utilities ====== */
@media (max-width: 1200px) {
  .breadcrumb-main__wrapper {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .breadcrumb-main__wrapper {
    flex-direction: column;
    align-items: stretch !important;
  }

  .sub-title {
    margin-left: 0;
    padding-left: 0;
  }

  .sub-title::after {
    background-color: #C6D0DC;
  }

  .user-member__title {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 1rem;
  }

  .user-member__form {
    width: 100%;
  }

  .user-member__form input {
    min-width: 100%;
    width: 100%;
  }
}

/* Botão de ajuda flutuante (canto inferior direito) */
.hot-botao-ajuda-flutuante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9970;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid var(--hot-remover-bg);
  border-radius: 8px;
  background: var(--hot-remover-bg);
  color: var(--hot-remover);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease, bottom 0.15s ease;
}

body.hot-ajuda-pagina-ativa .hot-botao-ajuda-flutuante {
  display: flex;
}

.hot-botao-ajuda-flutuante:hover,
.hot-botao-ajuda-flutuante:focus-visible {
  background: #fcd5d5;
  color: white;
  background-color: var(--hot-remover);
  border-color: var(--hot-remover);
  outline: none;
}

.hot-botao-ajuda-flutuante i {
  font-size: 1.5rem;
  line-height: 1;
}

/* Painel de ajuda (direita — comprime conteúdo como paleta do editor) */
.hot-painel-ajuda {
  --hot-painel-ajuda-largura: 25%;
  position: fixed;
  right: 0;
  top: 72px;
  bottom: 0;
  width: var(--hot-painel-ajuda-largura);
  min-width: 260px;
  max-width: 420px;
  z-index: 9975;
  background: #fafafa;
  border-left: 1px solid #e3e6ef;
  box-shadow: -4px 0 24px rgba(39, 43, 65, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

body.hot-layoutV1.hot-ajuda-aberta .hot-painel-ajuda {
  transform: translateX(0);
  visibility: visible;
}

.hot-painel-ajuda__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e3e6ef;
  background: rgba(255, 255, 255, 0.5);
}

.hot-painel-ajuda__titulo {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #272b41;
}

.hot-painel-ajuda__fechar {
  background: none;
  border: none;
  color: #6c757d;
  padding: 6px 4px 4px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.hot-painel-ajuda__fechar:hover,
.hot-painel-ajuda__fechar:focus-visible {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  outline: none;
}

.hot-painel-ajuda__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}

.hot-painel-ajuda__footer {
  flex-shrink: 0;
  padding: 0.875rem 1rem 1rem;
  border-top: 1px solid #e3e6ef;
  background: #fff;
}

.hot-painel-ajuda__footer-texto {
  color: #6c757d;
  font-size: 0.8125rem;
  line-height: 1.35;
  margin: 0;
}

.hot-painel-ajuda__footer-link {
  align-items: center;
  color: #272b41;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hot-painel-ajuda__footer-link i {
  color: #25d366;
  font-size: 1.125rem;
}

.hot-painel-ajuda__footer-link:hover,
.hot-painel-ajuda__footer-link:focus-visible {
  color: rgb(37, 211, 102);
  outline: none;
}

body.hot-layoutV1.hot-ajuda-aberta .contents,
body.hot-layoutV1.hot-ajuda-aberta .footer-wrapper {
  padding-right: var(--hot-painel-ajuda-largura-ativa, var(--hot-painel-ajuda-largura, 25%));
}

body.hot-layoutV1.hot-ajuda-aberta .header-top {
  padding-right: var(--hot-painel-ajuda-largura-ativa, var(--hot-painel-ajuda-largura, 25%));
}

body.hot-layoutV1 .contents,
body.hot-layoutV1 .footer-wrapper,
body.hot-layoutV1 .header-top {
  transition: padding-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.hot-layoutV1.hot-ajuda-aberta .hot-botao-ajuda-flutuante {
  right: calc(var(--hot-painel-ajuda-largura-ativa, var(--hot-painel-ajuda-largura, 25%)) + 20px);
}

@media (max-width: 768px) {
  .hot-painel-ajuda {
    top: 72px;
    width: min(92vw, 100%);
    min-width: 0;
    max-width: none;
  }
}

/* Placeholder de banner em blocos de eventos (sem imagem cadastrada) */
.site-bloco-eventos .site-eventos-img-placeholder,
.site-bloco-noticias .site-eventos-img-placeholder {
  object-fit: cover;
  object-position: center;
  width: 100%;
  background: linear-gradient(135deg, #f3f0f7 0%, #e5e6e7 100%);
}

/* Placeholder SVG — bloco imagem vazio (cor só no SVG, não na seção) */
.site-bloco-imagem-vazio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

.site-bloco-imagem-vazio--preencher,
.site-bloco-imagem-area--quadrado-blur .site-bloco-imagem-vazio {
  height: 100%;
  min-height: 160px;
}

.site-bloco-imagem-area--quadrado-blur .site-bloco-imagem-vazio {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.site-bloco-imagem-area--inteiro .site-bloco-imagem-vazio {
  min-height: 0;
}

/* Placeholder SVG — blocos vazios (texto, carrossel, notícias, imagem, youtube, contatos, ícones, redes) */
.site-bloco-placeholder-vazio,
.site-bloco-texto-vazio,
.site-bloco-carrossel-vazio,
.site-bloco-noticias-vazio,
.site-bloco-imagem-vazio,
.site-bloco-youtube-vazio,
.site-bloco-contatos-vazio,
.site-bloco-icones-vazio,
.site-bloco-redes-sociais-vazio {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.site-bloco-texto-placeholder-img,
.site-bloco-carrossel-placeholder-img,
.site-bloco-noticias-placeholder-img,
.site-bloco-youtube-placeholder-img,
.site-bloco-contatos-placeholder-img,
.site-bloco-icones-placeholder-img,
.site-bloco-redes-sociais-placeholder-img,
.site-bloco-imagem-vazio .site-bloco-imagem-placeholder {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  vertical-align: top;
}

.site-bloco-noticias .site-noticias-img-placeholder {
  object-fit: cover;
  object-position: center;
  width: 100%;
  background: linear-gradient(135deg, #f3f0f7 0%, #e5e6e7 100%);
}

/* Bloco eventos — carrossel layout Cards */
.site-bloco-eventos .site-carrossel-cards {
  position: relative;
  padding-left: 3rem;
  padding-right: 3rem;
  container-type: inline-size;
  overflow: hidden;
  /* fallback: metade da altura da imagem quadrada (1 slide visível) */
  --site-evento-cards-nav-fallback: calc(100cqw / 2);
}

.site-bloco-eventos .site-swiper-cards {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.site-bloco-eventos .site-swiper-cards .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Pré-init Swiper: mesmas colunas do carrossel (evita flick grande→pequeno no preview) */
.site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) {
  overflow: hidden;
}

.site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  transform: none !important;
}

.site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-slide {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-wrapper {
    gap: 24px;
  }

  .site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2);
  }
}

@media (min-width: 992px) {
  .site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-wrapper {
    gap: 24px;
  }

  .site-bloco-eventos .site-swiper-cards:not([data-swiper-inited]) .swiper-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3) !important;
    max-width: calc((100% - 48px) / 3);
  }
}

.site-evento-card-carrossel {
  width: 100%;
}

.site-evento-card-carrossel-imagem-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--site-evento-card-imagem-raio, 4px);
}

.site-evento-card-carrossel-imagem-link {
  display: block;
  width: 100%;
  height: 100%;
}

.site-evento-card-carrossel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-evento-card-carrossel-titulo {
  line-height: 1.3;
  min-height: 2.6em;
  font-size: var(--site-noticias-titulo-tamanho, inherit);
}

.site-bloco-eventos[style*="--site-noticias-cor-texto"] .site-evento-card-carrossel-titulo {
  color: var(--site-noticias-cor-texto) !important;
}

.site-evento-card-carrossel-botao {
  border-radius: 999px;
  border: 1px solid #6c757d;
  background: transparent;
  color: inherit;
  padding: 0.35rem 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.site-evento-card-carrossel-botao:hover,
.site-evento-card-carrossel-botao:focus {
  border-color: #8231D3;
  color: #8231D3;
  background: var(--site-evento-card-btn-hover-bg, rgba(130, 49, 211, 0.08));
}

.site-bloco-eventos .site-carrossel-cards .site-swiper-cards-nav {
  position: absolute;
  width: 40px;
  height: 40px;
  margin-top: 0;
  /* centro vertical da imagem quadrada (JS define --site-evento-cards-nav-top; fallback por qtd. de slides) */
  top: var(--site-evento-cards-nav-top, var(--site-evento-cards-nav-fallback));
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  color: #fff;
  z-index: 2;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.site-bloco-eventos .site-carrossel-cards .site-swiper-cards-nav:after {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.site-bloco-eventos .site-carrossel-cards .site-swiper-cards-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

.site-bloco-eventos .site-carrossel-cards .site-swiper-cards-nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.site-bloco-eventos .site-carrossel-cards .swiper-button-prev {
  left: 0;
}

.site-bloco-eventos .site-carrossel-cards .swiper-button-next {
  right: 0;
}

@media (min-width: 768px) {
  .site-bloco-eventos .site-carrossel-cards:not(.site-carrossel-cards--editor) {
    --site-evento-cards-nav-fallback: calc((100cqw - 24px) / 4);
  }
}

@media (min-width: 992px) {
  .site-bloco-eventos .site-carrossel-cards:not(.site-carrossel-cards--editor) {
    --site-evento-cards-nav-fallback: calc((100cqw - 48px) / 6);
  }
}

@media (max-width: 767.98px) {
  .site-bloco-eventos .site-carrossel-cards {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

