
.cabecalho {
  background: var(--verde-claro);
}

.cabecalho .cabecalho__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.6rem;
  padding: 4rem 1.6rem;
  white-space: nowrap;
}

.cabecalho__nav--logo {
  width: 17.2rem;
  height: 5.6rem;
}

.cabecalho__nav--lista {
  font-size: 1.5rem;
}

.cabecalho .cabecalho__nav .cabecalho__nav--line {
  width: 100%;
  border-bottom: 0.1rem solid black;
}

.cabecalho .cabecalho__nav .cabecalho__nav--lista {
  display: inline-flex;
  list-style: none;
}

.cabecalho .cabecalho__nav .cabecalho__nav--lista a {
  color: #0C0421;
  margin: 0 2.1rem;
  text-decoration: none;
  font-weight: 400;
  line-height: 150%;
  cursor: pointer;
}

.cabecalho .cabecalho__nav .cabecalho__nav--lista a:hover {
  font-weight: 600;
  transition: .5s ease;
}

.cabecalho__lista-item {
  display: flex;
}

.submenu li a:hover {
  font-weight: 700 !important;
}

.cabecalho__lista-item .icone {
  transition: transform 0.5s ease;
  cursor: pointer;
  color: var(--lilas-escuro);
  font-size: 22px;
  align-self: center;
}

/* seta submenu */
.cabecalho__lista-item .icone.active {
  transform: rotate(180deg);
}

.cabecalho__nav--lista .submenu {
  display: none;
  position: absolute;
  border: 1px solid #ddd;
  font-size: 1rem;
  padding: 16px;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: var(--cinza-claro);
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  min-width: 160px;
  border-radius: 4px;
  margin-top: 40px;
  font-size: 22px;
}

.cabecalho__nav--lista .submenu .submenu {
  left: 100%;
  top: 10px;
  
}



.submenu li {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  display: flex;
  border-bottom: 2px solid #cad4fa;
  margin: 8px 8px;
  min-width: 170px;
  height: 45px;
}

.submenu li:first-child {
  margin-top: unset;
}

.submenu li:last-child {
  margin-bottom: unset;
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  /* Tablet */

  .cabecalho__nav--logo {
    width: 270px;
    height: 88px;
  }

  .cabecalho__nav--lista {
    font-size: 22px;
    cursor: pointer;
  }
}

/* 
 * Accordion 
 */
.acordeao {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Estilo base do acordeão */
.acordeao-item {
  background-color: var(--azul-escuro);
  color: white;
  cursor: pointer;
  border: none;
  padding: 16px;
  transition: background-color 0.5s ease;
  border-radius: 32px;
  margin-bottom: 8px;
  overflow: hidden;
}

.botao-acordeao {
  width: 100%;
  text-align: left;
  font-weight: 700;
  background: transparent;
  color: #fff;
  align-items: center;
  border: none;
  justify-content: space-between;
  display: flex;
  cursor: pointer;
}

.botao-acordeao {
  font-size: 15px;
  line-height: 22px;
}

.acordeao-item:hover {
  background: var(--lilas-claro);
  transition: 0.5s;
}

/* Estilo do conteúdo do acordeão */
.conteudo-acordeao {
  max-height: 0;
  overflow: hidden;
  position: relative;
  color: #000;
  left: -16px;
  bottom: -16px;
  width: 112%;
  background-color: var(--cinza-claro);
  padding: 0 18px;
  transition: max-height 0.5s ease;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  z-index: 0;
}

.conteudo-acordeao div {
  padding: 16px;
  width: 95%;
}

.conteudo-acordeao div {
  font-size: 1.5rem;
}

/* Estilo para a transição do ícone */
.icone {
  transition: transform 0.5s ease;
  cursor: pointer;
  font-size: 32px;
  outline: none;
}

/* seta acordeão */
.botao-acordeao[aria-expanded="true"] .icone {
  transform: rotate(180deg);
}

.conteudo-acordeao.expandido {
  max-height: 250px;
}

@media screen and (min-width: 1440px) {
  .cabecalho .cabecalho__nav {
    flex-direction: column;
  }

  .botao-acordeao {
    font-size: 24px;
    line-height: 36px;
  }

  .cabecalho .cabecalho__nav .cabecalho__nav--lista {
    gap: 40px;
  }

  .conteudo-acordeao div {
    font-size: 2.2rem;
  }
}
