* { box-sizing: border-box; margin:0; padding:0; }
body {
  font-family: 'Open Sans', sans-serif;
  background: #f5f7f8;
  color: #202020;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  height: 100%;
}
header {
  background: #fff;
  padding: px 30px;
  border-bottom: 1px solid #ddd;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { height: 40px; }
.login {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.breadcrumb {
  font-family: 'Open Sans', sans-serif;
  background: #fafafa;
  padding: 15px 30px;
  display: flex;
  justify-content: flex-start; /* Alinha à esquerda */
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fafafa;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  /* border-bottom: 1px solid #ddd; */
}
.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.breadcrumb li {
  color: #555;
  font-size: 14px;
}
.breadcrumb a {
  text-decoration: none;
  color: #01d14f;
  font-weight: bold;
}
.search-category {
  margin-left: auto;
  display: flex;
}
.search-category input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px 0 0 3px;
}
.search-category button {
  background: #004d40;
  color: #fff;
  border: 1px solid #004d40;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.search-category button i { pointer-events: none; }

/* Ajuste principal para seções */
.sections {
  display: flex;
  gap: 30px;
  padding: 30px 50px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}
.sections section {
  max-width: 1270px;
  /* height: 100px;  <- removido */
  min-height: 300px; /* altura mínima para o ScrollSpy detectar */
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sections h2 {
  font-family: 'Open Sans', sans-serif;
  color: #01d14f;
  margin-bottom: 15px;
}
.sections ul {  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
  color: #202020; }
.sections ul li { margin-bottom: 5px; }
.more {
  color: #004d40;
  text-decoration: none;
  font-weight: bold;
}
/* .footer {
  background-color: #000;
  color: #01d14f;
  padding: 20px 40px;
  font-family: 'Open Sans', sans-serif;
} */
.sections a {
  text-decoration: none;
  color: inherit;
  height: 50%;
}
/* #loadings {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#loadings.active {
  display: flex;
}

#loadings i {
  font-size: 40px;
  color: #004d40;
  margin-bottom: 10px;
}

#loadings p {
  font-size: 18px;
  color: #004d40;
} */
.social-links a {
  margin: 0 10px;
  display: inline-block;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.social-links a:hover img {
  transform: scale(1.1);
}
.whatsapp-float {
  position: fixed;
  bottom: 31px;
  right: 15px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 40px; /* Ajuste conforme o tamanho da sua imagem */
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

.sections a section {
  transition: transform 0.3s ease; /* animação suave */
  cursor: pointer; /* muda o cursor para indicar interatividade */
}

/* .sections a:hover section { */
  /* transform: scale(1.05); zoom leve */
/* } */
;
main {
  flex: 1; /* Faz o conteúdo empurrar o footer pra baixo */
}
footer p {
  margin-bottom: 14px;
  color: #00cc4e;
}
/* section:hover { */
  /* transform: scale(1.05); */
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
/* } */

/* para garantir que o link tenha estilo normal e ocupe todo o espaço */
section a {
  color: inherit;
  text-decoration: none;
  display: block; /* para ocupar o espaço do section */
}
.header-content {
  display: flex;
  justify-content: space-between; /* Logo à esquerda, botões à direita */
  align-items: center;
  padding: 10px 30px;
  background-color: white; /* Exemplo de fundo */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  }
  .nav-buttons {
  display: flex;
  gap: 15px; /* Espaço entre os botões */
}
/* Estilo geral dos botões */
.nav-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.nav-buttons button:hover {
  background-color: #f8f9fa;
  color:#00cc4e
}
.btn-entrar {
  background-color: #01d14f; /* Verde para o "Entrar" */
  color: white;
}
.btn-inicio, .btn-contato {
    background-color: #01d14f;
    color: white;
}
.btn-entrar:hover {
  background-color: #218838;
}
.footer {
  background-color: #000;
  color: #28a745;
  padding: 20px 40px;
  font-family: 'Open Sans', sans-serif;
  height: 89px;
  overflow: hidden;
  padding-top: 17px;
  font-size: 14px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffffff; /* Azul claro no hover */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.logo-area img {
  max-height: 30px;
  margin-right: 10px;
}


.footer-nav a {
  margin-right: 15px;
  font-size: 14px;
}

/* .social-icons a {
  margin-left: 30px;
} */

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: -10px;
  /* margin-top: -30px; */
  margin-right: 30px;
}

.social-icons img {
  width: 37px;
  height: 37px;
  border-radius: 50%; /* deixa redondo se quiser */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons img:hover {
  background-color: #fffdfd;
  transform: scale(1.1); /* aumenta levemente */
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12px;
}

.footer-bottom a {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #28a745;
    transform: translateY(-60px);
    margin-top: 1px;
    /* margin-left: 50px; */
}

.fante-dev {
  display: flex;
  align-items: center;
}

.fante-dev img {
  max-height: 20px;
  margin-left: 5px;
}

.titulo-principal {
  padding: 10px;
  font-size: 30px;
  text-align: left;
  margin-left: 43px;
  margin-bottom: -10px; /* Reduz o espaço abaixo */
  font-family: 'Open Sans', sans-serif;
  color: #555;
  margin-top: 10px;
}
.card {
  display: flex;
  align-items: center;
  background: #f5f7f8;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  max-width: none;
  margin-top: 10px;
  /* ✨ ANIMAÇÃO ADICIONADA AQUI ✨ */
  transition: background-color 0.4s ease, color 0.4s ease;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%; /* ou ajuste conforme necessário */
  background-color: transparent;
  transition: background-color 1.0s ease;
}

.card-link:hover {
  transform: scale(1.03);
}

.icone-lateral {
  width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(66%) sepia(77%) saturate(476%) hue-rotate(72deg) brightness(98%) contrast(94%);
}
.card-link:hover .icone-lateral {
  transform: scale(1.2); /* aumenta 20% */
}
.conteudo h2 {
  color: #28a745;
  margin-bottom: 8px;
}

.conteudo p {
  margin: 0;
  color: #202020;
}
.card-texto h2 {
  margin: 0 0 5px;
  font-size: 18px;
}
.card-texto p {
  margin: 0;
  font-size: 14px;
  color:#4d4d4d;
}
.card:hover, .card:hover * {
  color: #01d14f;
   transition: color 0.3s ease;
}
.conteudo-dinamico {
  width: 100%;
  border-radius: 10px;
  padding: 3px;
  min-height: 445px;
  background-color: transparent;
  color: black;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 8px;
  /* ✨ ANIMAÇÃO ADICIONADA AQUI ✨ */
  transition: opacity 0.4s ease-out;
}

/* Fundo escurecido */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Estado ativo */
.modal.ativo {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

/* Imagem central com animação */
.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  transform: scale(0.7);
  opacity: 0;
  animation: zoomIn 0.3s ease forwards;
}

/* Botão de fechar (X) */
.modal .fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}
.modal .fechar:hover {
  color: #ff5b5b;
}

/* Animação de abertura */
@keyframes zoomIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animação de fade */
@keyframes fadeIn {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,0.8); }
}

/* Animação de fechamento */
.modal.saindo {
  animation: fadeOut 0.3s ease forwards;
}
@keyframes fadeOut {
  to { background: rgba(0,0,0,0); }
}



.coluna-esquerda {
  width: 30%;
}
#conteudo-dinamico {
  margin-top: 10px;
  height: 100%;
  max-height: 500px;
  overflow-y: auto;
  padding: 3px;
  color: rgb(0, 0, 0);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  background: #ffffff;
  position: relative;
  display: block;
  overflow-y: auto;
  padding-right: 30px; /* adiciona espaçamento no lado direito */
}
.texto-grande {
  position: relative;
  display: block;
  /* margin-bottom: 4rem; */ /* Removido para controle manual */
  height: auto;
  min-height: 200px;
  margin: 0;
  padding: 0;
}


.conteudo-dinamico.ativo {
  background-color: #ffffff;
}
.card.ativo {
  background-color: #28a745;
  color: #ffffff;
}
.card.ativo h2,
.card.ativo p {
  color: #ffffff;
}
.texto-grande h1 {
  font-family: 'Open Sans', sans-serif;
  color: #01d14f;
  margin-bottom: 10px;
  margin: 10px 0;
  font-size: 20px;
}
.texto-grande img {
  display: block;
  margin: 10px auto;  /* centraliza e controla espaço da imagem */
  max-width: 100%;    /* imagem responsiva */
}
section.texto-grande {
  position: relative; /* Necessário para o posicionamento da barra */
  margin: 0;
  padding: 0;
  padding-bottom: 30px; /* Cria espaço na parte inferior para a barra */
  margin-left: 30px;
  line-height: 2;
}

section.texto-grande + section.texto-grande {
  margin-top: 15px;     /* define espaço fixo entre blocos */
}

section.texto-grande h1 {
  margin: 8px 0;        /* controla espaço do título */
}

/* section.texto-grande p {
  margin: 6px 0;
} */


.texto-grande p {
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  color: #4d4d4d;
  line-height: 1.8;   /* aumenta espaço entre linhas */
  margin: 0 0 16px 0; /* adiciona espaço abaixo de cada parágrafo */
}

.icone-lateral1 {
  width: 40px;
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(54%) sepia(99%) saturate(1163%) hue-rotate(199deg) brightness(100%) contrast(101%);
}
.icone-lateral2 {
  width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
}
.icone-lateral3 {
   width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(51%) sepia(98%) saturate(524%) hue-rotate(1deg) brightness(89%) contrast(89%);
}
.icone-lateral4 {
   width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(90%) saturate(7482%) hue-rotate(340deg) brightness(105%) contrast(106%);
}

.icone-lateral5 {
   width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(74%) saturate(749%) hue-rotate(255deg) brightness(88%) contrast(101%);
}

.icone-lateral6 {
   width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(44%) sepia(99%) saturate(2392%) hue-rotate(235deg) brightness(99%) contrast(101%);
}

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

body {
  animation: fadeInUp 0.6s ease-out;
}

.conteudo-dinamico.fade-in {
    animation: fadeInUp 0.6s ease-out;
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

.icone-lateral7 {
   width: 40px; /* ajuste conforme seu design */
  height: auto;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(61%) saturate(868%) hue-rotate(130deg) brightness(93%) contrast(89%);
}

[class^="icone-lateral"] {
  width: 40px;
  height: 40px;  /* garante que todos tenham a mesma área */
  margin-right: 20px;
  object-fit: contain; /* ajusta dentro da caixa sem distorcer */
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 0;
  margin-left: 20px;
}


.submenu.open {
  max-height: 500px; /* ajuste conforme o conteúdo */
}

.submenu .subitem {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  display: block;
  width: 97%;
  text-align: left;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-5px);
  border: 3px solid transparent;
  background-color: transparent;
  color: #4d4d4d;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, background-color 0.4s ease;
}

.submenu.ativo .subitem {
  opacity: 1;
  transform: translateY(0);
}


.submenu.open .subitem {
  opacity: 1;
  transform: translateY(0);
}

/* Subitem selecionado */
.submenu .subitem.ativo {
  /* border-color: #00cc4e;  borda verde visível */
  color: #ffffff;
  background-color: #28a745;
}

/* ✨ EFEITO ADICIONADO: Muda o estilo do subitem ao passar o mouse ✨ */
.submenu .subitem:hover {
  color: #ffffff;
  background-color: #28a745; /* Mesmo verde do item ativo */
}

.card.ativo-card h2{
  color: #01d14f;
}
/* .submenu .subitem:hover {
  /* transform: scale(1.019); Efeito de zoom */
/* } */
.card.ativo-card .icone-lateral1{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral2{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral3{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral4{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral5{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral6{
   filter: brightness(0) invert(1);
}
.card.ativo-card .icone-lateral7{
   filter: brightness(0) invert(1);
}
.subitem {
  transition: all 0.3s ease;
}
.conteudo-area {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.conteudo-area.animado {
  opacity: 1;
  transform: translateY(0);
}
.submenu.ativo {
  max-height: 500px;
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 4px;
  }
  .footer-top {
    align-items: center;
    text-align: center;
    margin-top: 10px;
    margin-right: 5px;
  }

  .nav-buttons {
    gap: 10px;
    align-items: center;
  }

  .titulo-principal {
    font-size: 22px;
    text-align: center;
    margin-left: 0;
  }

  .sections {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }

  .coluna-esquerda,
  .conteudo-area,
  .conteudo-dinamico {
    width: 100%;
    padding: 10px;
  }

  .card,
  .submenu {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-texto h2 {
    font-size: 16px;
  }

  .card-texto p {
    font-size: 13px;
  }

.logo {
    height: 35px;
    margin-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
    margin: 10px 0 0 0;
    gap: 15px;
  }

  .social-icons a {
    margin-right: 0; /* usa só o gap, então zera a margin */
  }

  .social-icons a:last-child {
    margin-right: 0;
  }

  .logo-area img {
    margin-left: 0;
    margin-right: 0;
  }

  .footer {
    padding: 15px 15px;
    height: auto;
    align-items: column;
    flex-direction: column;
    gap:1px; /* junta mais os ícones no celular */
    justify-content: center; /* opcional: centraliza */
    height: 180px;
    display: flex;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom a {
    transform: translateY(0);
    margin-left: 18px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
}
.conteudo-dinamico::-webkit-scrollbar {
  width: 8px;
}

/* Estilização da barra de rolagem para navegadores WebKit (Chrome, Edge, Safari) */
.conteudo-dinamico::-webkit-scrollbar {
  width: 8px; /* Largura da barra */
}

.conteudo-dinamico::-webkit-scrollbar-track {
  background: #eee; /* Cor do fundo/trilha da barra */
}

.conteudo-dinamico::-webkit-scrollbar-thumb {
  background-color: #01d14f; /* Cor da barra que se move */
  border-radius: 10px;     /* ESSA LINHA ARREDONDA AS BORDAS */
}

.conteudo-dinamico {
  scrollbar-width: thin;
  scrollbar-color: #00cc4e #eee;
}
/* Esconde o menu e botão por padrão em desktop */
.menu-toggle-esquerda,
.menu-lateral-esquerda,
.overlay-esquerda {
  display: none;
}

/* Aplica quando for celular */
@media (max-width: 768px) {
  /* Botão de abrir menu (ícone hambúrguer) */
  .menu-toggle-esquerda {
    position: fixed;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 24px;
    z-index: 1001;
    cursor: pointer;
    color: #00cc4e;
    display: block;
    top: 20px;
    position:absolute;
  }

  /* Overlay escuro por trás */
  .overlay-esquerda {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    display: none;
  }

  .overlay-esquerda.ativo {
    display: block;
  }

  /* Menu lateral à esquerda */
  .menu-lateral-esquerda {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1002;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .menu-lateral-esquerda.ativo {
    left: 0;
  }

  /* Cabeçalho do menu com logo e botão fechar */
  .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
  }

  .logo-menu {
    height: 30px;
  }

  .fechar-menu {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

  /* Lista de links */
  .menu-lateral-esquerda ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    margin-top: 25%;
    position: absolute;
    margin-left: 30%;
  }

  .menu-lateral-esquerda li {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  .menu-lateral-esquerda a {
     display: block;
    width: 100%;
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }

  /* Rodapé do menu */
  .menu-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #777;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-buttons {
    display: none;
  }
}
.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  padding-left: 30px;
}

.breadcrumb li {
  color: #555;
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: none;
  color: #01d14f;
  font-weight: bold;
}

/* Estilos para celular */
@media (max-width: 768px) {
  .breadcrumb ul {
    flex-wrap: wrap; /* Quebra para nova linha se não couber */
    font-size: 15px;
    gap: 4px;
    justify-content: flex-start; /* Alinha à esquerda se preferir */
    padding: 10px;
    justify-content: flex-start; /* Alinha à esquerda no mobile */
    padding-left: 35px; /* Espaço da borda esquerda */
  }

  .breadcrumb li {
    font-size: 15px;
  }

  .breadcrumb a {
    font-size: 15px;
  }
}
main.sections {
  flex: 1;
}
.card.ativo-card p {
  color:#01d14f;
}
/* Card inicial: sempre fundo branco ao abrir */
.card-inicial {
  background-color: #fff;
}

/* Ícone inicial sem filtro de cor */
.card-inicial img {
  filter: none !important;
}
.card.ativo-card img {
  filter: brightness(0) invert(1) !important;
}
/* --- Admin-only --- */
.edit-pencil {
  margin-left: 8px;
  font-size: 14px;
  color: #01d14f;
  cursor: pointer;
}

.modal-admin {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}
.modal-admin.ativo { display:flex; }
.modal-content-admin{
  width: 420px; background:#fff; border-radius:12px;
  padding: 18px; display:flex; flex-direction:column; gap:10px; position:relative;
}
.close-admin{ position:absolute; right:14px; top:10px; cursor:pointer; font-size:20px; }
.modal-content-admin input{ width:100%; padding:10px; border:1px solid #ccc; border-radius:8px; }

/* força ícone e texto dos cards (aplique no CSS principal) */
.card.card-inicial.ativo-card .icone,
.card.card-inicial.ativo-card .icone img,
.card.card-inicial.ativo-card .card-texto {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.card.card-inicial.ativo-card {
  background-color: #01d14f;
  color: #ffffff;
}
.subitems-preview {
  margin-top: 8px;
  font-size: 13px;
  color: #ffffff; /* branco dentro do card ativo */
}

.card.ativo-card .subitems-preview p {
  margin: 2px 0;
  color: #ffffff; /* garante contraste no fundo verde */
}
/* ==== Animação dos Subitens Preview ==== */
.subitems-preview-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.subitems-preview-list.open {
  max-height: 600px; /* limite suficiente para caber vários itens */
  opacity: 1;
  margin-top: 10px;
}

.subitems-preview-item {
  display: block;
  background: #ffffff;
  border: 2px solid #00cc4e;
  color: #00cc4e;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  font: 500 14px/1.2 Arial, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subitems-preview-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 204, 78, 0.25);
}

.icone-lateral2 {
  width: 40px;
  height: auto;
  margin-right: 20px;
}

/* Quando o card está ativo → ícone sempre branco */
.card.ativo-card img.icone-lateral2,
.card.ativo-card svg.icone-lateral2 {
  filter: brightness(0) invert(1) !important;
}

/* ===== INÍCIO: CÓDIGO DA BARRA DE SEPARAÇÃO ===== */

/* Cria a barra de separação entre as seções */
section.texto-grande:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -40px; /* Compensa a margem de 30px da seção */
  right: -30px; /* Compensa o espaçamento de 30px do outro lado */
  height: 35px; /* Altura da barra de separação */
  background-color: #f5f7f8; /* Cor de fundo da página */
}
/* Cor padrão para os títulos dos cards (preto) */
.card .card-texto h2 {
  color: #4d4d4d; /* Garante que a cor padrão seja um tom de preto */
  transition: color 0.3s ease; /* Adiciona uma transição suave */
}

/* Cor para o título do card que está ativo (verde) */
/* Esta classe 'ativo-card' deve ser adicionada via JavaScript */
.card.ativo-card .card-texto h2 {
  color: #01d14f; /* Cor verde para o título ativo */
}