/* Layout Flexbox: Conteúdo Esquerda + Sidebar Direita */
.container-artigo {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 2em;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Coluna Principal */
.artigo-conteudo {
  flex: 1 1 60%; /* Ocupa 60% ou ajusta */
}

.artigo-conteudo h1 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.artigo-conteudo p {
  line-height: 1.6;
  margin-bottom: 1em;
  color: #333;
}

.etapa {
  margin-bottom: 2rem;
}

.etapa h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.etapa ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Imagens dentro dos artigos */
.img-artigo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* Barra Lateral (Sidebar) */
.lateral {
  flex: 1 1 30%; /* Ocupa 30% */
  min-width: 250px;
}

.box-lateral {
  background-color: #f4fbfe;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.box-lateral h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #333;
}

.box-lateral ul {
  list-style: none;
  padding-left: 15px;
  position: relative;
  margin: 0;
}

/* Linha azul da lateral */
.box-lateral ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #0077cc;
  border-radius: 12px;
}

.box-lateral li {
  margin-bottom: 15px;
}

.box-lateral a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.box-lateral a:hover,
.box-lateral a.ativo {
  color: #004E8F;
}

/* Accordion (Perguntas Frequentes) */
.accordion {
  background-color: #f4fbfe;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
  color: #333;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion.active .accordion-body {
  max-height: 500px; 
  padding-top: 15px;
}

.accordion.active .accordion-header i {
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.tabela-processamento {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 14px;
}

.tabela-processamento th, .tabela-processamento td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tabela-processamento thead th {
    background-color: #f4fbfe;
    color: #004E8F;
    font-weight: 600;
}

.tabela-processamento tbody tr:last-child td {
    border-bottom: none;
}

.tabela-processamento tbody tr:hover {
    background-color: #f9f9f9;
}
/* Responsivo */
@media (max-width: 768px) {
  .container-artigo {
    flex-direction: column;
    padding: 0 1em;
  }
  .lateral { width: 100%; }
}