/* GERAL */

:root {
  --azulclaro: #569efe;
  --azulescuro: #21559b;
  --laranja: #3399ff;
  --dourado: #cc9900;
  --verde: #009900;
  --verdeclaro: #5ca47a;
  --cinzatopo: #f9f9f9;
  --cinzaescuro: #66666a;
  --branco: #fff;
  --pretoclaro: #15233c;
  --redesfundo: #0F5D96;
}

body {
  font-size: 17px;
  font-family: "Montserrat", sans-serif;
}


h1 {
  padding: 15px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--azulescuro);
}

p {
  text-align: left;
  line-height: 26px;
}

a {
  color: var(--laranja);
  padding: 0px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

a:hover {
  color: var(--azulescuro);
  transition: all 0.4s;
}

strong {
  color: var(--cinzaescuro);
}

h4 {
  font-weight: 600;
}

.texto-geral {
  line-height: 31px;
  color: var(--cinzaescuro);
  font-size: 18px;
  font-weight: 400;
}

.azull {
  color: var(--azulescuro);
}

/* TOPO */

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--azulescuro);
  padding: 2px 0px;
  font-weight: 500;
}

.link-topo>a {
  color: var(--branco);
  font-size: 14px;
  margin: 0px 10px;
  font-weight: 500;
}

.link-topo {
  margin-left: 150px;
}


.redor,
.redinv,
.redeplan img {
  width: 28px;
}

.redinv-topo {
  width: 85px;
}

.redor-topo {
  width: 68px;
  margin-right: 7px;
  margin-left: 5px;
}

.links-topo-titulo {
  color: var(--branco);
  font-size: 14px;
  margin: 0px 10px;
  margin-right: 20px;
}

.logoss {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.logos-topo {
  margin-right: 115px;
  padding-bottom: 2px;
}

.nome {
  display: inline-block;
  color: var(--branco);
  font-size: 16px;
  margin: 0px 10px 0px 0px;
}

.planejamento-topo {
  width: 150px;
  height: auto;
  margin: auto;
}

.offset-md-1-1 {
  margin-left: 7%;
}

@media screen and (max-width: 1650px) {
  .logos-topo {
    margin-right: 0px;
  }

  .logoss {
    margin-right: 20px;
  }
}

@media screen and (max-width: 1400px) {

  .offset-md-1-1 {
    margin-left: 18%;
  }
}

@media screen and (max-width: 1199px) {

  .offset-md-1-1 {
    margin-left: 10%;
  }
}

@media screen and (max-width: 991px) {

  .offset-md-1-1 {
    margin-left: 20%;
  }
}

@media screen and (max-width: 768px) {

  .offset-md-1-1 {
    margin-left: 15%;
  }
}

@media screen and (max-width: 768px) {

  .offset-md-1-1 {
    margin-left: 10%;
  }
}

@media screen and (max-width: 1300px) {

  .logos-topo,
  .link-topo {
    display: none;
  }
}

@media screen and (min-width: 1300px) {
  .planejamento-topo {
    display: none;
  }
}

/* MENU */

.logo {
  width: 120px;
  height: 60px;
  margin-left: 150px;
  height: auto;
}

.logoplanejamento {
  display: inline;
  width: 270px;
  height: 60px;
  max-width: 100%;
  margin-right: 120px;
  height: auto;
}

.logoplanejamento2 {
  display: none;
}

.bgnav {
  background-color: #f9f9f9;
  border-radius: 10px;
  font-weight: bold;
}

.bgnav li {
  padding-right: 10px;
  padding-left: 10px;
}

.nav-link {
  color: #808080;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--laranja);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--laranja);
  font-weight: 600;
}

.line {
  width: 100%;
}

.links {
  font-weight: 500;
  color: var(--azulescuro);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-size: 16px;
  font-weight: 500;
  color: #808080;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
  font-weight: 600;
  transform: 0.3;
}

/* LISTA */

.lista {
  text-align: left;
}

/* FOTO */

.foto {
  display: flex;
  width: 100%;
  text-align: center;
  margin: 30px 0px;
}

.marcacao {
  margin: 10px 300px;
}

/* PAINEL */

.modal-painel {
  display: flex;
  justify-content: center;
  border: none;
  width: 100% !important;
  height: 100vh !important;
  margin-top: 0px;
  overflow: hidden;
}

.testedecima {
  display: flex;
  justify-content: center;
  position: absolute;
  background-color: var(--azulescuro);
  color: var(--branco);
  height: 48px;
  width: 100vw;
  font-size: 30px;
  font-weight: 700;
}

.caderno {
  display: flex;
  justify-content: center;
  position: absolute;
  color: var(--branco);
  height: 48px;
  width: 100vw;
  font-size: 30px;
  font-weight: 700;
  background-color: #5CA47A;
}

@media screen and (max-width: 1150px) {
  .modal-painel {
    padding: 0px 20px;
  }
}

.section-description {
  text-align: center;
  margin: 50px 145px;
}

/* GRID */

.grid {
  display: grid;
  margin: 0% 9%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px 5px;
  grid-auto-flow: row;
  grid-template-areas:
    "g1 g2 g2"
    "g1 g3 g4"
    ". . .";
}

.g1 {
  grid-area: g1;
}

.g1 img {
  grid-area: g1;
}

.crr {
  position: absolute;
  margin-left: -50px;
  margin-top: -100px;
  z-index: 1;
}

.cards {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.g2 {
  grid-area: g2;
  background-image: url(./assets/img/home/site_banner_home02.png);
  background-size: cover;
}

.g3 {
  grid-area: g3;
  background-image: url(./assets/img/home/site_banner_home03.png);
  background-size: auto;
  background-position: top;
}

.g4 {
  grid-area: g4;
  background-image: url(./assets/img/home/site_banner_home04.png);
  background-size: cover;
}

.titulo-card,
.descricao-card {
  margin: 5px;
}

.titulo-card {
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--branco);
  border: 2px solid var(--branco);
  padding: 5px 10px;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.descricao-card {
  margin-top: 10px;
  font-size: 18px;
  color: var(--branco);
  font-weight: 400;
}

.aaa {
  position: relative;
  background-size: cover;
  background-position: center;
}

.aaa::before {
  content: "";
  position: absolute;
  top: 67%;
  left: 0;
  width: 100%;
  height: 33%;
  background-image: linear-gradient(to top, rgba(10, 43, 95, 0.557), transparent);
  z-index: 1;
}

.aaa:hover::before {
  transition: 0.3s;
  background-image: linear-gradient(to top,
      rgba(9, 22, 41, 0.765),
      transparent);
}

.item:hover {
  color: var(--branco);
}

@media screen and (max-width: 1650px) {
  .logoplanejamento {
    margin-right: 0px;
  }

  .logo,
  .link-topo {
    margin-left: 10px;
  }
}

@media screen and (max-width: 1299px) {
  .logo {
    margin-left: 0px;
  }

  .logoplanejamento,
  .links-topo-titulo {
    display: none;
  }

  .descricao-card {
    font-size: 14px;
  }

  .titulo-card {
    font-size: 14px;
  }
}

/* @media screen and (max-width: 900px) {

.carousel-item.active,
  .carousel-item-next,
  .carousel-item-prev {
    height: auto;
  }
} */

@media screen and (max-width: 991px) {
  .grid {
    display: flex;
    flex-direction: column;
  }

  .aaa {
    height: 180px;
  }

  .carousel-item {
    height: 100%;
  }

  .crr {
    position: absolute;
    margin-left: -20px;
  }

  .d-md-block {
    display: block !important;
  }
}

/* FOOTER */

footer {
  margin-top: 100px;
  width: 100%;
  color: var(--branco);
  font-size: 14px;
}

footer>h4 {
  font-weight: bolder;
  margin: 0px;
  padding: 0px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.25;
  list-style: none;
}

.footer-link {
  text-decoration: none;
  margin: 0px;
  font-size: 14px;
  font-weight: 500;
}

.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Preenche todo o bloco sem deixar sobra preta */
  object-position: center 35%;
  /* Move a imagem/ícone levemente para cima para centralizar visualmente */
  display: block;
}

.img-footer {
  width: 130px;
}

.logos-footer {
  display: flex;
  gap: 20px;
  padding: 10px 0px 0px 0px;
}

.logos-footer2>a {
  margin: 0px;
  padding: 0px 30px 0px 0px;
}

#footer_content {
  background-color: var(--azulescuro);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2rem 3.5rem 0.5rem 5rem;
}

#footer_contacts {
  margin-bottom: 0.75rem;
  padding: 0px 0px 0px 32px;
}

#footer_socialmedia {
  display: flex;
  text-decoration: none;
  gap: 2rem;
}

#footer_socialmedia,
.footer-link {
  height: 2.5rem;
  width: 2.5rem;
  color: var(--branco);
  transition: all 0.4s;
}

#footer_socialmedia,
.footer-link i {
  font-size: 30px;
}

#footer_socialmedia,
.footer-link:hover {
  color: var(--laranja);
}

.footer-list>p {
  text-align: left;
}

.fim {
  text-align: center;
  color: var(--branco);
  background-color: var(--azulescuro);
  margin-bottom: 0px;
  padding-bottom: 20px;
}

@media screen and (max-width: 950px) {
  #footer_content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .menuu {
    padding: 0px;
  }
}

@media screen and (max-width: 575px) {
  #footer_content {
    display: flex;
    flex-direction: column;
  }

  .menuuu {
    padding: 0px;
  }
}

/* TITULOS */

.titulo-o-que-e {
  color: var(--pretoclaro);
  font-weight: bold;
  margin: 30px 0px 50px 0px;
}

.azull {
  color: var(--azulescuro);
}


.bulet h3::after {
  content: "";
  position: relative;
  display: block;
  width: 80px;
  height: 3px;
  background: var(--laranja);
  top: 5px;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.subtitulo {
  color: var(--laranja);
  margin: 2% 20% 0% 20%;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.titulo-texto {
  color: var(--laranja) !important;
}

.margin {
  margin: 0px;
}

/* TEXTO SITE */

.texto-site {
  font-size: 17px;
  margin: 1% 20% 0% 20%;
  text-align: left;
}

.texto-sitee {
  font-size: 17px;
  margin: 1% 10% 0% 10%;
  text-align: left;
}


@media screen and (max-width: 950px) {

  .texto-site,
  .texto-sitee {
    margin: 1% 5% 0% 5%;
  }

  .subtitulo {
    margin: 3% 10% 2% 10%;
  }
}

/* BOX */

.boxes {
  margin-top: 5px;
}

.box {
  color: var(--azulescuro);
  font-weight: 700;
  align-self: stretch;
  text-align: left;
}

.box:hover {
  color: var(--laranja);
}

/* IMAGEM */

.imagem-esquemanovo {
  width: 75%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.imagem-esquema {
  width: 90%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.imagem-esquema2 {
  width: 60%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.imagem-esquema3 {
  width: 30%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.imagem-esquema4 {
  width: 50%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.ods-icone {
  width: 10%;
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ods-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 15px;
}

@media screen and (max-width: 990px) {

  .imagem-esquema2,
  .imagem-esquema4 {
    width: 90%;
  }

  .ods-icone {
    width: 25%;
  }

  .ods-container {
    justify-content: center;
  }
}

/* NOTÍCIAS */

.noticias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin: 1% 20% 1% 20%;
  justify-content: center;
  justify-items: center;
}

.card {
  margin: 5px;
  background-color: var(--cinzatopo);
}

.card-text {
  text-align: center;
  line-height: 1.3rem;
  font-size: 16px;
}

.card-title {
  font-weight: 600;
}

@media screen and (max-width: 1650px) {
  .noticias-grid {
    grid-template-columns: 1fr 1fr 1fr;
    margin: 1% 20% 1% 20%;
  }
}

@media screen and (max-width: 1300px) {
  .noticias-grid {
    margin: 1% 10% 1% 10%;
  }
}

@media screen and (max-width: 1050px) {
  .noticias-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 750px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}

.titulo-noticia {
  margin-top: 100px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 5% 20% 0% 20%;
}

.datinha {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.link-destak {
  color: #006699;
  outline: none;
  text-decoration: underline;
}

.link-destak:hover {
  color: var(--azulclaro);
}

.varios-links {
  background-color: var(--cinzatopo);
  padding: 10px 20px;
}

/* CONTATO */

.card-atribuicoes {
  background-color: #f6f6f6;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 10px;
}

.bold {
  font-weight: 700;
  color: var(--branco);
  font-size: 19px;
}

/* ELABORAÇÃO */

.legislacaoppa {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  justify-content: center;
  background-color: var(--azulescuro);
  padding: 20px;
  border-radius: 5px;
}


.quadrados-elaboracao {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quadrado {
  background-color: var(--verdeclaro);
  padding: 20px;
  margin: 10px;
  border-radius: 5px;
}

.quadrado-tit {
  font-weight: 700;
  color: var(--branco);
  font-size: 18px;
  text-align: left;
}

.quadrado-text {
  color: var(--cinzatopo);
  font-size: 15px;
  text-align: left;
}

@media screen and (max-width: 1100px) {
  .quadrados-elaboracao {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
}

.quadrados-monitoramento,
.quadros-org-central {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0px;
}

.quadro {
  background-color: var(--dourado);
  color: var(--branco);
  padding: 30px 30px 15px 30px;
  margin: 10px;
  margin-bottom: 0px;
  border-radius: 10px;
}


/* ORGÃO CENTRAL */

.quadros-org-central2 {
  margin: 1% 20% 0% 20%;
  gap: 50px;
  padding: 20px;
  background-color: var(--cinzatopo);
  border-radius: 10px;
}

.orgaoimagem {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.quadros-org-central3 {
  display: none;
  margin: 1% 20% 0% 20%;
  background-color: var(--cinzatopo);
  border-radius: 20px;
  gap: 50px;
  padding: 20px;
}

.quadro2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quadro3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  padding: 20px;
  justify-items: center;
}

.quadro4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  padding: 5px 20px;

}

@media screen and (max-width: 1100px) {

  .quadros-org-central2,
  .quadro3,
  .quadro4 {
    display: none;
  }

  .orgaoimagem {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .quadros-org-central3 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
}

/* PROGRAMAÇÃO PPA */

.varios-links2 {
  display: flex;
  flex-direction: column;
  background-color: var(--cinzatopo);
  width: 50%;
  gap: 20px;
}

.prog {
  background-color: var(--azulescuro);
}

.prog4 {
  background-color: #eeeeee;
}

.quadrado-tit2 {
  font-weight: 700;
  color: var(--branco);
  font-size: 26px;
  text-align: center;
  margin-top: 20px;
}

.boxes2 {
  color: var(--branco);
  text-align: left;
}

.box2 {
  font-size: 16px;
  color: var(--branco);
}

.box2:hover {
  color: var(--laranja);
}

.box3 {
  font-size: 16px;
  color: #000;
}

.box3:hover {
  color: var(--laranja);
}

.ppa-anterior {
  display: flex;
  justify-content: center;
}

.legislacao-ppa {
  display: flex;
  justify-content: center;
  margin: 1% 15% 0% 15%;
}

@media screen and (max-width: 1100px) {
  .legislacao-ppa {
    margin: 1% 0% 0% 0%;
  }
}

.breadcrumb {
  font-size: 15px;
  font-weight: 500;
}

.breadcrumb a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--cinzaescuro);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1100px) {
  .breadcrumb {
    display: none;
  }
}



/* BOTÃO BACK TO TOP */

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: var(--laranja);
  transition: background 0.5s;
}

#btn-back-to-top:hover {
  background-color: var(--redesfundo);
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--laranja);
  --bs-btn-border-color: var(--laranja);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--azulescuro);
  --bs-btn-hover-border-color: var(--azulescuro);
  --bs-btn-active-bg: var(--azulescuro);
  --bs-btn-active-border-color: var(--azulescuro);
}

.institucional {
  background: var(--laranja);
}


/* FILTRO */

#myBtnContainer {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.opcoes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  gap: 20px;
}

.quadradinho {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.img-quadradinho {
  width: 250px;
}

.texto-quadradinho {
  padding: 20px;
  width: 250px;
  background-color: var(--cinzatopo);
  text-align: center;
  line-height: 1.2;
}

.show {
  display: block;
}

.container {
  margin-top: 20px;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}

/* HOME - O QUE É */

.home-oqe {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-oqe-texto {
  text-align: left;
}

.img-home-oqe {
  height: 500px;
  width: 450px;
}

.redess {
  margin-top: 40px;
  background-color: var(--redesfundo);
  padding: 10px 0px 30px 0px;
}

.redess-imagens {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.redess-titulo {
  color: var(--branco)
}

.redess-img {
  width: 200px;
  gap: 20px;
}

@media screen and (max-width: 1100px) {
  .redess-imagens {
    flex-direction: column;
  }
}

/* Atividades Section
--------------------------------*/
#atividade {
  padding: 0px 0px 10px 0px;
}

#atividade #atividade-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#atividade #atividade-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #666666;
  border-radius: 20px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}

#atividade #atividade-flters li:hover,
#atividade #atividade-flters li.filter-active {
  background: #006699;
  color: #fff;
}

#atividade #atividade-flters li:last-child {
  margin-right: 0;
}

#atividade .atividade-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

#atividade .atividade-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

#atividade .atividade-item {
  position: relative;
  height: auto;
  width: 360px;
  overflow: hidden;
}

#atividade .atividade-item figure {
  background: #000;
  overflow: hidden;
  height: 260px;
  position: relative;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

#atividade .atividade-item figure:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#atividade .atividade-item figure .link-preview,
#atividade .atividade-item figure .link-details {
  position: absolute;
  display: inline-block;
  opacity: 0;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s linear;
}

#atividade .atividade-item figure .link-preview i,
#atividade .atividade-item figure .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #333;
}

#atividade .atividade-item figure .link-preview:hover,
#atividade .atividade-item figure .link-details:hover {
  background: #006699;
}

#atividade .atividade-item figure .link-preview:hover i,
#atividade .atividade-item figure .link-details:hover i {
  color: #fff;
}

#atividade .atividade-item figure .link-preview {
  left: calc(50% - 38px);
  top: calc(50% - 18px);
}

#atividade .atividade-item figure .link-details {
  right: calc(50% - 38px);
  top: calc(50% - 18px);
}

#atividade .atividade-item figure:hover .link-preview {
  opacity: 1;
  left: calc(50% - 44px);
}

#atividade .atividade-item figure:hover .link-details {
  opacity: 1;
  right: calc(50% - 44px);
}

#atividade .atividade-item .atividade-info {
  background: #fff;
  text-align: center;
  padding: 30px;
  height: auto;
  border-radius: 0 0 3px 3px;
}

#atividade .atividade-item .atividade-info h4 {
  color: #006699;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 0;
  height: auto;
  width: auto;
}

#atividade .atividade-item .atividade-info h4 a {
  color: #a6a6a6;
}

#atividade .atividade-item .atividade-info h4 a:hover {
  color: #006699;
}

#atividade .atividade-item .atividade-info p {
  padding: 0;
  margin: 0;
  color: #333333;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}


/* CONTEUDO VIDEO AULA */

.conteudo-videoaula {
  display: grid;
  grid-template-columns: 1fr 1fr;
}


@media screen and (max-width: 850px) {
  .conteudo-videoaula {
    display: flex;
    flex-direction: column;
  }

  .texto-videoaula {
    margin: 1% 10% 5% 10%;
  }
}


.video-videoaula {
  width: 90%;
  height: 290px;
  align-self: center;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.borda-video {
  border: 1px solid var(--cinzaescuro);
}

.btn-primary {
  background-color: var(--laranja);
}

.btn-primary:hover {
  background-color: var(--azulescuro);
}

.azul {
  background-color: #2D8BBA;
}

.laranja {
  font-size: 20px;
  color: var(--laranja);
  text-transform: uppercase;
}

.titulo-videoaula {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--azulescuro);
}

.navbar-expand-lg1 {
  flex-wrap: nowrap;
  justify-content: center;
}

.navbar-nav2 {
  display: flex;
  flex-direction: row;
  gap: 0px 20px;
  list-style: none;
}


.nav-link2 {
  display: inline-block;
  color: var(--branco);
  background-color: var(--azulescuro);
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  align-items: top;
  margin-bottom: 5px;
  padding: 10px 20px;
}



.nav-link2:hover {
  background-color: var(--azulescuro);
  color: var(--branco);
  padding: 10px 20px;
}

@media (max-width: 900px) {
  .navbar-nav2 {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* HOME */

.ese {
  display: flex;
  padding: 50px 0px 60px 0px;
  background: var(--cinzatopo);
  margin-top: 20px;
}


.home-redeplan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
}

.texto-home {
  margin-left: 10px;
  margin-bottom: 30px;
}

.img-home {
  align-self: center;
  margin-right: 50px;
}

.texto-home1 {
  align-self: center;
}

.img-home2 {
  width: 90%;
}

.titulo-oqe {
  margin-left: 10px;
  color: var(--azulescuro);
  font-weight: 700;
  font-size: 30px;
  line-height: 0.9;
}

.botao {
  margin-left: 10px;
  color: var(--branco);
  border-radius: 20px;
  padding: 10px 20px;
  background-color: var(--azulescuro);
  font-weight: 500;
  font-size: 15px;
}

.botao:hover {
  background-color: var(--laranja);
  color: var(--branco);

}

@media (max-width: 1200px) {
  .titulo-oqe {
    font-size: 25px;
  }
}

@media (max-width: 950px) {
  .home-redeplan {
    display: flex;
    margin: 0px 50px;
  }

  .img-home {
    display: none;
  }
}


.botao-quadrado {
  color: var(--azulescuro);
}

.quadrados-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 50px 0px;
}

.lista-quadrados {
  list-style: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 20px;
  padding: 20px 15px;
  margin: 10px;
}

.lista-quadrados:hover {
  background-color: var(--cinzatopo);
}

.grid-quadrado {
  display: grid;
  grid-template-columns: 1fr 4fr;
  align-items: center;
}

.img-quadrado {
  width: 80px;
  margin-left: 5px;
}

.titulo-quadrado {
  color: var(--azulescuro);
  font-size: 22px;
  font-weight: 700;
}

.descricao-quadrado {
  color: var(--cinzaescuro);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
}


@media (max-width: 1400px) {
  .textos-quadrado {
    margin-left: 10px;
  }
}

@media (max-width: 990px) {
  .quadrados-home {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 490px) {
  .img-quadrado {
    width: 50px;
    margin-left: 10px;
  }
}

@media (max-width: 450px) {
  .grid-quadrado {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .textos-quadrado,
  .descricao-quadrado {
    text-align: center;
  }

  .img-quadrado {
    margin-left: 0px;
  }

  .textos-quadrado {
    margin-left: 0px;
  }

  .quadrados-home {
    margin-right: 25px;
  }
}

.videoyt {
  display: flex;
  width: 90%;
  height: 60vh;
  margin: 0px auto;
}

@media (max-width: 990px) {
  .videoyt {
    width: 100%;
    height: 40vh;
  }
}

.foto-galeria {
  height: 180px;
}

.galeria-evento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0px;
  margin: 0 auto;
  max-width: 100%;
  width: fit-content;
  list-style: none;
}

@media (max-width:1300px) {
  .galeria-evento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:790px) {
  .galeria-evento {
    grid-template-columns: 1fr;
  }
}

.galeria-evento button {
  border-style: none;
  background-color: transparent;
}

.galeria-evento button:hover {
  border-style: none;
  background-color: transparent;
  opacity: 0.7;
}

.mensagemok {
  font-size: 24px;
  ;
}

.texto-atualiza-base-emendas {
  font-size: 14px;
}

td {
  vertical-align: middle;
}

.novo {
  color: var(--laranja);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 5px;

}


/* Assistente */

#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: "Montserrat", sans-serif;
  z-index: 999;
}

#chat-toggle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  color: #fff;
}

#chat-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.chat-tooltip {
  position: absolute;
  bottom: 85px;
  right: 0;
  background: var(--laranja);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  white-space: nowrap;
  max-width: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-tooltip::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 20px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--laranja) transparent transparent;
}

.chat-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#chat-box {
  display: none;
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 80px;
  right: 0;
  flex-direction: column;
  overflow: hidden;
  font-size: 14px;
}

#chat-header {
  background-color: var(--laranja);
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  /* título à esquerda, seta à direita */
  align-items: center;
  cursor: pointer;
}

#chat-minimize {
  font-size: 18px;
  cursor: pointer;
  margin-right: 5px;
  transition: transform 0.3s ease;
}

#chat-box.minimized #chat-minimize {
  transform: rotate(180deg);
}

#chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

#chat-input {
  border: none;
  padding: 10px;
  border-top: 1px solid #ddd;
  width: 100%;
  border-radius: 0px 0px 10px 10px;
  box-sizing: border-box;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

/* Imagem do bot */
.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

/* Balão da mensagem */
.message-bubble {
  background-color: #f1f0f0;
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 220px;
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  display: flex;
  flex-direction: row;
}

/* Balão com "rabinho" estilo WhatsApp */
.message-bubble::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #f1f0f0;
}


/* chat1 */



.box-geral {
  height: 500px;
  display: flex;
  flex-direction: column;
  /* organiza em coluna */
  justify-content: flex-end;
  /* alinha tudo no fim */
  overflow-y: auto;
}

.box1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 10px;
}

.bot-avatar1 {
  width: 45px;
  height: 45px;
  margin-right: 8px;
  object-fit: cover;
}


.message-bubble1 {
  position: relative;
  margin: 5px 0;
  padding: 10px 14px;
  border: 1px solid #f7f7f7;
  border-radius: 12px;
  background-color: #f7f7f7;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  max-width: 70%;
  word-wrap: break-word;
}

.message-bubble1::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #f7f7f7;
}

.tit-bot1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--laranja);
  margin-bottom: 4px;
}

.message-bubble1 {
  text-align: left;
}

#chat-input1 {
  font-size: 14px;
  padding: 12px;
  border: 1px solid var(--cinzaescuro);
  width: 100%;
  border-radius: 30px;
  box-sizing: border-box;
  margin-top: 10px;
}

#chat-send1 {
  position: absolute;
  right: 20px;
  top: 55%;
  transform: translateY(-50%);
  background: var(--laranja);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

#chat-send1:hover {
  background-color: #e67300;
}

.chat-input-area {
  position: relative;
  padding: 8px;
  border-top: 1px solid #e6e5e5;
  background: #fff;
}

.bolinha-caderno {
  color: var(--azulescuro)
}

.nopoint {
  list-style: none;
}

.white {
  color: #fff;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* box missoes */

.container-cards {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Grid com 5 colunas (2 linhas para 10 cards) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

/* Estilo individual de cada Card */
.card-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #f5f5f5;
  aspect-ratio: 1 / 1;
  /* Formato quadrado estilo ODS */
}

.card-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Efeito de zoom na Imagem */
.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-item:hover img {
  transform: scale(1.08);
  /* Zoom sutil de 8% */
}

/* Destaque no card selecionado */
.card-item.ativo {
  outline: 4px solid #0056b3;
  outline-offset: -4px;
}

/* Painel de Descrição - Oculto até o primeiro clique */
.painel-descricao {
  display: none;
  /* Escondido por padrão */
  background-color: #ffffff;
  border-left: 6px solid #0056b3;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease;
}

.painel-descricao h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222222;
}

.painel-descricao p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsividade */
@media (max-width: 992px) {
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
    /* 3 por linha em telas médias */
  }
}

@media (max-width: 600px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
    /* 2 por linha em celulares */
  }
}



/* Layout ladinho */
.secao-atividades {
  display: flex;
  flex-direction: column;
  /* Organiza botões em cima e painel embaixo */
  align-items: center;
  gap: 20px;
  /* Espaço entre a linha de botões e o painel de conteúdo */
  width: 100%;
  margin: 30px 0;
}

/* Menu de Botões (Superior e Centralizado) */
.menu-lateral {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Divide o espaço em 4 colunas iguais */
  gap: 10px;
  /* Espaçamento entre os botões */
  width: 100%;
}

.menu-lateral2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Divide o espaço em 4 colunas iguais */
  gap: 10px;
  /* Espaçamento entre os botões */
  width: 100%;
}

.item-menu {
    width: 100%;
    padding: 12px 10px;
    background-color: var(--cinzatopo); /* Fundo cinza padrão */
    color: #495057;                    /* Texto escuro padrão */
    border: 1px solid #dcdcdc;          /* Borda neutra */
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   HOVER E ESTADO ATIVO (SELECIONADO)
   ============================================================ */

/* 1º Botão (#3399FF) */
.item-menu.azul.ativo,
.item-menu.azul:hover {
    background-color: #3399FF;
    color: #ffffff;
    border-color: #3399FF;
}

/* 2º Botão (#CC6633) */
.item-menu.dourado.ativo,
.item-menu.dourado:hover {
    background-color: #CC6633;
    color: #ffffff;
    border-color: #CC6633;
}

/* 3º Botão (#BDA141) */
.item-menu.verde.ativo,
.item-menu.verde:hover {
    background-color: #BDA141;
    color: #ffffff;
    border-color: #BDA141;
}

/* 4º Botão (#339966) */
.item-menu.orange.ativo,
.item-menu.orange:hover {
    background-color: #339966;
    color: #ffffff;
    border-color: #339966;
}

.blue { color: #3399FF; }
.orangee { color: #CC6633; }
.gold { color: #BDA141; }
.green { color: #339966; }

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .menu-lateral {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Complexos economicos */

.container-seis-itens {
  margin: 30px 0;
  width: 100%;
}

/* Grade de Cards (Organiza em colunas adaptáveis) */
.container-seis-itens {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Grid de 6 colunas alinhadas em linha única na área de trabalho */
.grid-seis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 por linha em telas menores */
  gap: 16px;
  align-items: center;
  justify-items: center;
}

@media (min-width: 992px) {
  .grid-seis-cards {
    grid-template-columns: repeat(6, 1fr);
    /* 6 em linha horizontal perfeita no PC */
    gap: 20px;
  }
}

/* Item individual */
.card-seis {
  width: 100%;
  max-width: 160px;
  /* Tamanho proporcional igual ao da primeira imagem */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Imagem sem bordas extras com efeito PUMP */
.card-seis img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  /* Garante que a área de renderização do hover seja 100% redonda */
  transition: transform 0.3s ease;
}

/* Efeito Pump ao passar o mouse */
.card-seis:hover img {
  transform: scale(1.08);
  /* O "pump" infla suavemente o ícone redondo */
}

/* Efeito ao clicar */
.card-seis:active img {
  transform: scale(0.95);
}

/* Painel que aparece embaixo */
.painel-descricao-seis {
  width: 100%;
  background-color: #ffffff;
  padding: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.3s ease-in-out;
}

.painel-descricao-seis h3 {
  margin-top: 0;
  color: #1e293b;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.painel-descricao-seis p {
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Animação suave para o painel */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .grid-seis-cards {
    grid-template-columns: repeat(3, 1fr);
    /* Fica 4 em cima, 2 embaixo */
  }
}

/* Celulares / Telas pequenas (até 600px): 2 em cada linha */
@media (max-width: 600px) {
  .grid-seis-cards {
    grid-template-columns: repeat(2, 1fr);
    /* Fica 2, 2 e 2 */
  }
}

/* Tabela complexos */

/* Container para garantir rolagem em telas muito pequenas (mobile) */
.tabela-container {
  width: 100%;
  max-width: 700px;
  /* Limita a largura máxima para não ficar grandona */
  margin: 20px auto;
  /* Centraliza a tabela na tela */
  overflow-x: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Estrutura da Tabela com Bordas Definidas */
.tabela-complexos {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #0070c0;
  /* Borda externa completa */
}

/* Cabeçalho */
.tabela-complexos thead {
  background-color: #0070c0;
  color: #ffffff;
}

.tabela-complexos th {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid #005a9e;
  /* Bordas no cabeçalho */
  line-height: 1.2;
}

/* Células e Bordas */
.tabela-complexos td {
  padding: 7px 12px;
  font-size: 0.9rem;
  color: #2c3e50;
  border: 1px solid #bce0fd;
  /* Borda completa em todas as células */
  line-height: 1.3;
}

/* Célula da Esquerda (Critérios) */
.tabela-complexos td.criterio {
  text-align: left;
  vertical-align: middle;
  font-weight: 500;
  background-color: #ffffff;
  width: 55%;
}

/* Célula da Direita (Complexos Econômicos) */
.tabela-complexos td:not(.criterio) {
  text-align: center;
  vertical-align: middle;
  width: 45%;
}

.tabela-complexos tbody tr:hover td:not(.criterio) {
  background-color: #f0f7fc;
}

/* Responsividade (Fica justinha em telas menores) */
@media (max-width: 768px) {
  .tabela-container {
    max-width: 100%;
    /* No mobile ocupa o espaço disponível normalmente */
  }

  .tabela-complexos th {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .tabela-complexos td {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .tabela-complexos td.criterio {
    vertical-align: top;
    padding-top: 6px;
  }
}

/* ATIVIDADE */

#atividade {
  padding: 0px 0px 10px 0px;
}

#atividade #atividade-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#atividade #atividade-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #666666;
  border-radius: 20px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}

#atividade #atividade-flters li:hover,
#atividade #atividade-flters li.filter-active {
  background: #006699;
  color: #fff;
}

#atividade #atividade-flters li:last-child {
  margin-right: 0;
}

#atividade .atividade-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

#atividade .atividade-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

#atividade .atividade-item {
  position: relative;
  height: auto;
  width: 360px;
  overflow: hidden;
}

#atividade .atividade-item figure {
  background: #000;
  overflow: hidden;
  height: 260px;
  position: relative;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

#atividade .atividade-item figure:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#atividade .atividade-item figure .link-preview,
#atividade .atividade-item figure .link-details {
  position: absolute;
  display: inline-block;
  opacity: 0;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s linear;
}

#atividade .atividade-item figure .link-preview i,
#atividade .atividade-item figure .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #333;
}

#atividade .atividade-item figure .link-preview:hover,
#atividade .atividade-item figure .link-details:hover {
  background: #006699;
}

#atividade .atividade-item figure .link-preview:hover i,
#atividade .atividade-item figure .link-details:hover i {
  color: #fff;
}

#atividade .atividade-item figure .link-preview {
  left: calc(50% - 38px);
  top: calc(50% - 18px);
}

#atividade .atividade-item figure .link-details {
  right: calc(50% - 38px);
  top: calc(50% - 18px);
}

#atividade .atividade-item figure:hover .link-preview {
  opacity: 1;
  left: calc(50% - 44px);
}

#atividade .atividade-item figure:hover .link-details {
  opacity: 1;
  right: calc(50% - 44px);
}

#atividade .atividade-item .atividade-info {
  background: #fff;
  text-align: center;
  padding: 30px;
  height: auto;
  border-radius: 0 0 3px 3px;
}

#atividade .atividade-item .atividade-info h4 {
  color: #006699;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 0;
  height: auto;
  width: auto;
}

#atividade .atividade-item .atividade-info h4 a {
  color: #a6a6a6;
}

#atividade .atividade-item .atividade-info h4 a:hover {
  color: #006699;
}

#atividade .atividade-item .atividade-info p {
  padding: 0;
  margin: 0;
  color: #333333;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

/* timeline */

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Linha vertical centralizada no desktop */
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #3b66cf;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Item individual */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 20px;
}

/* Ícone de relógio no eixo central */
.timeline-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  right: -20px;
  top: 15px;
  background-color: #fff;
  border: 3px solid #3b66cf;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #3b66cf;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Posicionamento alternado no Desktop */
.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right .timeline-icon {
  left: -20px;
}

/* Card de Conteúdo */
.content {
  padding: 24px;
  background-color: #e9ecef;
  position: relative;
  border-radius: 20px;
}

.date {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2b50aa;
  margin-bottom: 8px;
}

.title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--laranja);
  margin-bottom: 12px;
  line-height: 1.3;
}

.description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* RESPONSIVIDADE (Mobile - Imagem 2) */
@media screen and (max-width: 768px) {

  /* Move a linha vertical para a esquerda */
  .timeline::after {
    left: 30px;
  }

  /* Todos os itens ocupam a largura total e ficam alinhados à direita da linha */
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 15px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  /* Reposiciona o ícone para a esquerda em todos os itens */
  .timeline-item.left .timeline-icon,
  .timeline-item.right .timeline-icon {
    left: 10px;
  }

  .content {
    text-align: center;
    /* Mantém a centralização dos textos como na imagem 2 */
  }
}

/* GRID CONTAINER DOS CARTÕES */
.container-cartoes {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /* 1 coluna no celular */
  gap: 56px 24px;
  /* Espaço superior para acomodar o ícone flutuante */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
  /* Espaço para o ícone do topo não ser cortado */
  box-sizing: border-box;
}

/* 2 colunas em telas médias e grandes (Computadores e Tablets deitados) */
@media (min-width: 768px) {
  .container-cartoes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ESTRUTURA DO CARTÃO */
.cartao-info {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px 24px 28px 24px;
  /* Espaço interno (topo maior devido ao ícone) */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  /* Mantém altura igual para ambos os cartões */
}

/* ÍCONE FLUTUANTE CENTRALIZADO NA BORDA SUPERIOR */
.cartao-icone {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Posição: 50% fora e 50% dentro da borda */
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  /* Borda branca que recorta a linha superior do cartão */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

/* Caso use imagem <img> no lugar do ícone SVG */
.cartao-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CONTEÚDO (TÍTULO E TEXTO) */
.cartao-conteudo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cartao-titulo {
  margin: 0;
  color: #174b8e;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.cartao-texto {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

/* BOTAO SETA CIMA */

#btn-topo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #174b8e;
  /* Azul combinando com os cartões */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  /* Fica por cima de qualquer outro elemento da página */
}

/* Efeito ao passar o mouse */
#btn-topo:hover {
  background-color: #0d3263;
  transform: translateY(-4px);
  /* Sobe um pouquinho */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Classe ativada via JS quando a tela é rolada */
#btn-topo.visivel {
  opacity: 1;
  visibility: visible;
}

/* Deixa a rolagem suave na página inteira */
html {
  scroll-behavior: smooth;
}


/* DOCS REFERENCIA*/

.doc-section {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #222222;
}

/* Cabeçalho da Seção */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  color: #0d1b2a;
}

.section-title-line {
  width: 60px;
  height: 3px;
  background-color: #0056b3;
  margin: 0 auto 16px auto;
}

.section-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Lista de Documentos */
.doc-section {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #222222;
}

/* Campo de Busca */
.search-container {
  margin-bottom: 30px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: #0b2545;
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

/* Lista e Itens */
.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: opacity 0.2s ease;
}

.doc-thumb {
  width: 35%;
  height: 35%;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.doc-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 1;
}

.doc-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: #0b2545;
  margin: 0 0 16px 0;
  text-decoration: none !important;
}

/* Container ajustado para empilhar as pílulas */
.doc-links {
  display: flex;
  flex-direction: column;
  /* Coloca uma abaixo da outra */
  align-items: flex-start;
  /* Alinha todas à esquerda sem esticar */
  gap: 10px;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.download-pill:hover {
  background-color: var(--azulescuro);
  border-color: var(--azulescuro);
  color: #ffffff;
}

/* Mensagem quando nada for encontrado */
.no-results {
  display: none;
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-size: 0.95rem;
}

.rodape {
  font-size: 12px;
  line-height: 18px;
}


/* notas tecnicas */

/* ESTILOS DO LAYOUT E DAS ABAS*/

/* Menu Superior de Abas (Lado a lado, azul igual à imagem 2) */
.menu-abas {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.aba-btn {
  flex: 1;
  min-width: 160px;
  padding: 20px 20px;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  line-height: 20px;
  transition: all 0.2s ease;
}

.aba-btn:hover {
  background-color: #e9ecef;
}

/* --- Botão 1: Notas Técnicas (Azul) --- */
.aba-btn.ativo:nth-child(1) {
  background-color: #0070c0;
  color: #ffffff;
  border-color: #0070c0;
  /* box-shadow: 0 3px 6px rgba(0, 112, 192, 0.25); */
}

/* --- Botão 2: Estudos Temáticos (Verde) --- */
.aba-btn.ativo:nth-child(2) {
  background-color: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
  box-shadow: 0 3px 6px rgba(46, 125, 50, 0.25);
}

/* --- Botão 3: Boletins Socioeconômicos (Laranja) --- */
.aba-btn.ativo:nth-child(3) {
  background-color: #e65100;
  color: #ffffff;
  border-color: #e65100;
  box-shadow: 0 3px 6px rgba(230, 81, 0, 0.25);
}


/* ============================================================
   2. TÍTULOS DAS PUBLICAÇÕES POR ABA
   ============================================================ */
.card-publicacao .titulo-publicacao {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-publicacao .titulo-publicacao a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* --- Títulos em Notas Técnicas (Azul) --- */
#aba-notas-tecnicas .card-publicacao .titulo-publicacao,
#aba-notas-tecnicas .card-publicacao .titulo-publicacao a {
  color: #0070c0;
}

#aba-notas-tecnicas .card-publicacao .titulo-publicacao a:hover {
  color: #004c82;
  text-decoration: underline;
}

/* --- Títulos em Estudos Temáticos (Verde) --- */
#estudos-tematicos .card-publicacao .titulo-publicacao,
#estudos-tematicos .card-publicacao .titulo-publicacao a {
  color: #2e7d32;
}

#estudos-tematicos .card-publicacao .titulo-publicacao a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

/* --- Títulos em Boletins Socioeconômicos (Laranja) --- */
#boletins .card-publicacao .titulo-publicacao,
#boletins .card-publicacao .titulo-publicacao a {
  color: #e65100;
}

#boletins .card-publicacao .titulo-publicacao a:hover {
  color: #b23c00;
  text-decoration: underline;
}

/* Oculta/Exibe o conteúdo das abas */
.conteudo-aba {
  display: none;
}

.conteudo-aba.ativo {
  display: block;
}

/* ==========================================
   CARDS E BOTÕES DE AÇÃO
   ========================================== */

.card-publicacao {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.titulo-publicacao {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.titulo-publicacao a {
  color: var(--azulescuro);
  text-decoration: none;
}

.titulo-publicacao a:hover {
  text-decoration: underline;
}

/* Corta o texto em 2 linhas */
.texto-publicacao {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #555555;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-box-orient: vertical;

  /* Versões combinadas para limpar o aviso */
  line-clamp: 2;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
}

.texto-publicacao.expandido {
  display: block;

  /* Versões combinadas para limpar o aviso */
  line-clamp: none;
  -webkit-line-clamp: none;

  overflow: visible;
}

/* Organiza os botões no rodapé do card (um de cada lado) */
.card-rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Botão Leia mais */
.btn-expandir {
  background-color: #e0e0e0;
  color: #333333;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-expandir:hover {
  background-color: #d0d0d0;
}

/* Botão Baixar PDF (Azul) */
.btn-download {
  background-color: var(--azulescuro);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}

.btn-download:hover {
  background-color: var(--azulclaro);
  color: #fff;
}

@media (min-width: 768px) {
  .menu-abas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}


/* GRID CONTAINER DOS CARTÕES */
.container-cartoes {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 coluna no celular */
  gap: 56px 24px;                        /* Espaço superior para acomodar o ícone flutuante */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;                     /* Espaço para o ícone do topo não ser cortado */
  box-sizing: border-box;
}

/* 2 colunas em telas médias e grandes (Computadores e Tablets deitados) */
@media (min-width: 768px) {
  .container-cartoes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ESTRUTURA DO CARTÃO */
.cartao-info {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px 24px 28px 24px;          /* Espaço interno (topo maior devido ao ícone) */
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  display: grid;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;                          /* Mantém altura igual para ambos os cartões */
}

/* ÍCONE FLUTUANTE CENTRALIZADO NA BORDA SUPERIOR */
.cartao-icone {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);      /* Posição: 50% fora e 50% dentro da borda */
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;             /* Borda branca que recorta a linha superior do cartão */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

/* Caso use imagem <img> no lugar do ícone SVG */
.cartao-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CONTEÚDO (TÍTULO E TEXTO) */
.cartao-conteudo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cartao-titulo {
  margin: 0;
  color: #174b8e;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.cartao-texto {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

/* NUMEROS HOME*/

.stats-section {
  background-image: url(./assets/img/home/imagem_fundo_home_01.png);
  color: #ffffff;
  padding: 32px 16px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: center;
}

.stats-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-icon {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  align-self: center;
  margin-right: 2px;
  opacity: 0.95;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-unit {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.8;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .stats-grid {
    gap: 24px;
  }
  .stat-num {
    font-size: 2.25rem;
  }
  h5{
    font-size: 80%;
  }
  #carouselExampleCaptions,
    .carousel-inner,
    .carousel-item {
        height: 380px; /* Altere essa altura conforme preferir (ex: 400px) */
    }

    /* Faz a imagem preencher todo o container mantendo o foco centralizado */
    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Ajuste fino nas margens da caixa externa para aproveitar melhor a tela */
    .texto-sitee {
        padding-left: 10px;
        padding-right: 10px;
    }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Força exatamente 2 colunas */
        gap: 15px 10px;                         /* Espaçamento vertical e horizontal */
        padding: 0 10px;
    }

    .stat-card {
        width: 100%;
        text-align: center;
    }

    /* Opcional: reduz ligeiramente o tamanho da fonte se o texto for muito longo */
    .stat-num {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

.stats-section {
    margin-bottom: 0 !important;
    padding-bottom: 30px; /* Ajuste o padding interno se achar necessário */
}

section{
  margin-top: 0 !important;
}

.footerhome {
    margin-top: 0 !important;
}

/* Previne que o último elemento dentro de stats-section crie margem externa */
.stats-section *:last-child {
    margin-bottom: 0;
}