/* Estilização básica do acordeão */
.ac {
  background-color: #f0f0f0 !important;
  border-radius: 1rem !important;
  margin-bottom: 1rem !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

/* Cabeçalho do acordeão */
.ac-header {
  padding: 1rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Botão de acionamento */
.ac-trigger {
  background: none !important;
  border: none !important;
  color: #343434 !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  text-align: left !important;
  width: 100% !important;
  cursor: pointer !important;
  outline: none !important;
  transition: color 0.3s ease !important;
}

.ac-trigger:hover {
  color: #7b0000 !important;
}

/* Container do ícone */
.icon-container {
  width: 20px !important;
  height: 20px !important;
  position: relative !important;
}

/* Estilização do ícone + e - */
.ac-icon {
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
}

.ac-icon::before,
.ac-icon::after {
  content: '' !important;
  position: absolute !important;
  background-color: #343434 !important;
  transition: transform 0.3s ease !important;
}

/* Quando está ativo (aberto) */
.ac.ac-active .ac-icon::after {
  transform: rotate(90deg) !important;
  opacity: 0 !important;
}

/* Painel de conteúdo */
.ac-panel {
  overflow: hidden !important;
  transition: height 0.3s ease-in-out !important;
  padding: 0 1rem !important;
}

/* Quando ativo, adiciona cor de fundo mais escura */
.ac.ac-active {
  background-color: #e5e5e5 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Efeito de transição no texto quando ativo */
.ac.ac-active .ac-trigger {
  color: #7b0000 !important;
}
