/* Estilos gerais */
body {
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 18px;
  line-height: 160%;
  color: #2d2d2e;
  margin: 0;
  background: linear-gradient(270deg, #ffffff, #f0f8ff, #e6f7ff, #ffffff);
  background-size: 400% 400%;
  animation: gradientAnimation 30s ease infinite;
  overflow-x: hidden; /* Evitar rolagem horizontal */
  position: relative; /* Para posicionamento absoluto dos chips e circuitos */
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Estilos para a imagem de fundo */
.background-image {
  position: absolute;
  top: -10%;
  right: -30%;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  z-index: -1;
  animation: rotateBackground 60s linear infinite, changeColor 30s ease infinite;
  transform-origin: center;
}

@keyframes rotateBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes changeColor {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Estilos para os chips eletrônicos */
@keyframes moveChips {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chip {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 150px;
  height: 100px;
  background: linear-gradient(135deg, #e6f7ff, #ffffff);
  border-radius: 10px;
  animation: moveChips 5s ease-in-out infinite;
  opacity: 0.075;
  z-index: -1; /* Colocar atrás do conteúdo */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chip:nth-child(2) {
  top: 15%;
  right: 15%;
  width: 120px;
  height: 80px;
  opacity: 0.2;
  animation-duration: 12s;
}

.chip:nth-child(3) {
  top: 40%;
  right: 10%;
  width: 100px;
  height: 60px;
  opacity: 0.5;
  animation-duration: 14s;
}

.chip:nth-child(4) {
  top: 60%;
  right: 20%;
  width: 130px;
  height: 90px;
  opacity: 0.6;
  animation-duration: 16s;
}

.chip:nth-child(5) {
  top: 80%;
  right: 5%;
  width: 110px;
  height: 70px;
  opacity: 0.6;
  animation-duration: 18s;
}

.chip:nth-child(6) {
  top: 90%;
  right: 25%;
  width: 140px;
  height: 100px;
  opacity: 0.6;
  animation-duration: 20s;
}

.chip:nth-child(7) {
  top: 50%;
  right: 30%;
  width: 120px;
  height: 80px;
  opacity: 0.65;
  animation-duration: 22s;
}

.chip:nth-child(8) {
  top: 70%;
  right: 20%;
  width: 130px;
  height: 90px;
  opacity: 0.75;
  animation-duration: 24s;
}

.background-image-simbolo-ia {
  position: absolute;
  top: 7%;
  right: 17.5%;
  width: 30%;
  height: auto;
  object-fit: cover;
  mix-blend-mode: saturation;
  z-index: -1;
}

.py-5 {
  padding: 8rem 0rem !important;
}

h1 {
  margin-bottom: 50px;
}

h1 span.text-primary {
  font-weight: 900 !important;
  color: #2d2d2e !important;
}

h1.title-subpages {
  margin: 1.5rem 0 !important;
  font-weight: 700;
}

span.tinta-amarela-bkg {
  background: url(../img/tinta_amarela.png) no-repeat center;
  background-position: left;
}

h3 {
  border-radius: 100px;
  background-color: #fff7da;
  border: 1px solid rgba(92, 71, 0, 0.5);
  padding: 5px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #5c4700;
  font-family: 'Libre Franklin';
  display: inline-block;
  margin-bottom: 35px;
  text-transform: uppercase;
  font-weight: 500;
}

p {
  line-height: 31px;
  text-align: left;
  font-weight: 300;
  margin-bottom: 32px;
  color:#545454;
}


p strong { 
  font-weight: 700;
}

section h2 {
  font-weight: 800;
  margin-bottom: 6rem !important;
}

.text-primary {
  font-weight: 600 !important;
  color: #1c519b !important;
}

ol {
  text-align: left;
  font-weight: 500;
}

ol li {
  margin-bottom: 15px;
  font-weight: 600;
  padding-left: 10px;
}

.btn-primary {
  position: relative;
  border-radius: 42px;
  background-color: #1c519b;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  box-sizing: border-box;
  gap: 4px;
  text-align: center;
  font-size: 14px;
  color: #fff !important;
  font-family: 'Libre Franklin';
  border: none;
}

.embed-responsive-item {
  border-radius: 30px;
  box-shadow: 4px 4px 8px #d3d3d3;
}

/* Subpáginas */

.subpages section {

}

#processo-de-trabalho .card-number {
  display: flex;
  justify-content: center;
  align-items: center;
}

#processo-de-trabalho .card-number p {
  border-radius: 100%;
  background-color: #fff7da;
  border: 1px solid rgba(92, 71, 0, 0.5);
  color: #5c4700;
  font-weight: 900;
  line-height: normal;
  padding: 20px 20px;
}

#processo-de-trabalho .card-number p.um {
  background-color: #E3EDFF;
  border: 1px solid rgba(28, 81, 155, 0.5);
  color: #1C519B;
}

#processo-de-trabalho .card-number p.dois {
  background-color: #FFF7DA;
  border: 1px solid rgba(92, 71, 0, 0.5);
  color: #814D04;
}

#processo-de-trabalho .card-number p.tres {
  background-color: #CDFFF0;
  border: 1px solid rgba(0, 95, 91, 0.5);
  color: #005F5B;
}


#envolvidos .card img {
  width: 100px;
  height: 100px;
}

/* Breadcrumb */

#breadcrumb-title {
  padding: 8rem 0 0 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f105';
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 0.75rem;
}

.breadcrumb-item  {
  font-weight: 400 !important;
}

.breadcrumb-item a {
  text-decoration: none !important;
  color: #2d2d2e;
}

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

/* Cabeçalho */

#topbar-tcu .acessibilidade {
	background-color: #2a4070 !important;
}

#topbar-tcu .acessibilidade .navbar {
    box-shadow: none;
}

#topbar-tcu .mrNav {
    margin-right: 1rem;
}

#topbar-tcu .nav-link {
    display: block;
    padding: -0.5rem 1rem !Important;
}

#topbar-tcu .acessibilidade a {
	font-size: 0.75rem;
	margin-right: 5px;
}

#topbar-tcu  .text-white.lead {
	margin-right: 5px;
}

#topbar-tcu .navbar>.container, 
#topbar-tcu .navbar>.container-fluid {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

@media (min-width: 992px){
	.logoMobile {
		display: none;
	}
}

@media (max-width: 992px) {
	.logoDesktop {
		display: none;
	}
}


/* Estilos para o menu fixo */
#navbar {
  transition: all 0.4s ease;
  margin-top: 125px;
  height: 130px;
  box-shadow: 0 4px 4px #B6B6B6;
}

#navbar.shrink {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 0px;
  height: 80px;
}

#navbarNav .nav-item {
  margin: 0 10px;
}

#navbarNav .nav-link {
  font-weight: 600;
  color: #2d2d2e;
  position: relative;
  transition: color 0.3s ease;
}

#navbarNav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #ffc72e; /* Amarelo da Logo */
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

#navbarNav .nav-link.conhecimentobtn {
  padding: 10px 20px;
  border: none;
}

#navbarNav .nav-link.conhecimentobtn i {
  padding-right: 5px;
}

#navbarNav .nav-link.conhecimentobtn::after {
  display: none;
}

#navbarNav .nav-link:hover::after {
  width: 100%;
}

#navbarNav .nav-link:hover {
  color: #0056b3; /* Cor diferente no hover */
}

#navbarNav .nav-link.active::after {
  width: 100%;
}

#navbarNav .nav-link.active {
  color: #007bff; /* Azul padrão do site */
}


/* Hero Section */
#hero {
  height: 100% !important;
  padding-top:160px;
}
#hero .display-4 {
  font-weight: 700;
}

.rounded-down {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.rounded-down:hover {
  background-color: #0056b3;
}

#hero a {
  text-decoration: none;
  color: #545454;
}

#hero a .rounded-down {
  color: #fff;
  background-color: #1c519b;
}

/* Carrossel de Logos */
.logos::before, 
.logos::after {
  content: '';
  width: 300px;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
}

.logos::before {
  left: -50px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.logos::after {
  right: -50px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.logos-slide {
  animation: 40s slide infinite linear;
}

.logos:hover .logos-slide {
 /* animation-play-state: paused; */
}

.logos-slide img {
  height: 40px;
  margin: 0 50px;
}

@keyframes slide {
  from{
      transform: translateX(0);
  }

  to {
      transform: translateX(-100%);
  }
}


/* Cards de Soluções */
.card {
  border: none;
  transition: transform 0.3s ease;
  background: transparent;
}
.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin: 0 auto;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

p.card-text {
  text-align: center;
}

.row.linha-card {
  margin-bottom: 60px;
}

/* Seções de conteúdo */
section {
  padding: 60px 0;
}

/* Efeitos modernos para imagens */
.img-fluid {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.img-fluid:hover {
  transform: scale(1.05);
}

.card-img-tcu {
  position: absolute;
  left: -300px;
  width: 500px !important;
  height: auto !important;
}

.card-img-brasilmap {
  position: absolute;
  right: -100px;
  top: 120px;
  width: 300px !important;
  height: auto !important;
  opacity: 0.75;
}

.brasil-moeda {
  position: relative;
  box-shadow: 0px 4px 1px 3px rgba(226, 184, 86, 0.5);
  background-color: #e09d00 !important;
  border: 5px solid #e2b856 !important;
  width: 60px;
  height: 60px;
  overflow: hidden; /* Para garantir que o pseudo-elemento não ultrapasse os limites */
}

.brasil-moeda::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/brazil.png);
  background-size: contain;
  background-position: center;
  opacity: 0.25; /* Ajuste a opacidade conforme necessário */
  z-index: 0; /* Coloca o pseudo-elemento atrás do conteúdo */
}

/* Animação para mover o item linha-card horizontalmente */
@keyframes moveHorizontal {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#movendo-fluxo .linha-card-container {
  overflow: hidden; /* Esconde o conteúdo que ultrapassa os limites do contêiner */
  white-space: nowrap; /* Impede a quebra de linha */
  position: relative;
}

#movendo-fluxo .linha-card {
  display: inline-flex;
  animation: moveHorizontal 35s linear infinite; /* Aplica a animação */
}

#movendo-fluxo .linha-card > * {
  display: inline-block; /* Garante que os itens filhos fiquem em linha */
}

/* Estilos para os cards dentro do #movendo-fluxo */
#movendo-fluxo .col-md-2:nth-child(-n+5) .card::before {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 3rem;
  color: #c7c7c7;
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  left: -15%;
  top: 50%;
}

/* Ajuste o alinhamento dos cards para que as setas fiquem na posição correta */
#movendo-fluxo .col-md-2 .card {
  display: flex;
  align-items: center;
}


/* Estilos copiados do rodapé do site TCU */
footer#footer {
  background-color: #003366 !important;
  color: #ffffff !important;
  padding: 20px 0;
  text-align: center;
}

footer#footer a,
footer#footer p {
  color: #ffffff !important;
  text-decoration: none;
}

footer#footer a:hover {
  text-decoration: underline !important;
}

footer#footer .footer-links {
  margin-bottom: 20px;
}

footer#footer .footer-links a {
  margin: 0 10px;
}

footer#footer .social-icons {
  margin-top: 20px;
}

footer#footer .social-icons a {
  margin: 0 10px;
  display: inline-block;
}

footer#footer .social-icons img {
  width: 24px;
  height: 24px;
}

/* Menu Fixo */
.fixed-menu-lateral {
  position: fixed;
  top: 35%;
  right: 0;
  width: auto;
  background: transparent;
  background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgba(255, 255, 255, 0.35));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 25px 0 0 25px;
  padding: 20px 10px; /* Adiciona padding para espaçamento */
  opacity: 0; /* Inicialmente invisível */
  transition: opacity 1s ease-in-out; /* Animação de fade-in */
}

.fixed-menu-lateral.visible {
  opacity: 1; /* Torna visível */
}

.fixed-menu-lateral ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
}

.fixed-menu-lateral ul::before {
  content: '';
  position: absolute;
  top: 18%;
  right: 9.5%;
  width: 1px;
  height: 65%;
  background: #97a0ad;
  transform: translateX(-50%);
}

.fixed-menu-lateral ul li {
  margin: 35% 0;
  width: 100%;
  position: relative;
}

.fixed-menu-lateral ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  width: 7px;
  height: 7px;
  background: #97a0ad;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fixed-menu-lateral ul li a {
  color: #2d2d2e;
  text-decoration: none;
  text-align: right !important;
  font-size: 0.65rem;
  display: block;
  padding: 0px 30px 0 10px;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: none; /* Certifique-se de que o texto não seja transformado */
}

.fixed-menu-lateral ul li a:hover,
.fixed-menu-lateral ul li a.active {
  transform: scale(1.1);
  font-weight: 700;
}

.fixed-menu-lateral ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 0.5px;
  background: #ffc72e;
  transition: width 0.4s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.fixed-menu-lateral ul li a:hover::after {
  width: 80%;
}



/* Estilos para o menu lateral */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #004080; /* Cor do TCU */
  transition: left 0.3s ease;
  z-index: 1045;
}
.offcanvas-menu.show {
  left: 0;
}
.offcanvas-menu a {
  color: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.offcanvas-menu a i {
  margin-right: 10px;
}
.offcanvas-menu .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Estilos para o botão Back to Top */
#backToTopBtn {
  display: none; /* Inicialmente oculto */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #1c519b;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 100%;
  font-size: 21px;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out; /* Ajusta a duração e suavidade da transição */
  line-height: 21px;
  opacity: 0; /* Inicialmente invisível */
  visibility: hidden; /* Inicialmente invisível */
}

#backToTopBtn.show {
  display: block; /* Torna visível */
  opacity: 0.5; /* Torna opaco */
  visibility: visible; /* Torna visível */
}

#backToTopBtn:hover {
  background-color: #555;
}

/* Estilos para notebook */
@media (max-width: 1620px) { 
  #hero {
    padding-top: 100px;
  }
}

/* Estilos para notebook padrão */
@media (max-width: 1367px) { 
  body {
    font-size: 14px;
  }

  p {
    line-height: 24px;
    margin-bottom: 28px;
  }

  .display-5 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 0.7rem;
  }

  .lead {
    font-size: 1rem;
  }

  #navbar {
    margin-top: 100px;
    height: 100px;
  }

  .navbar-brand img {
    width: 85%;
  }

  .cabecalho .navbar {
    padding: 0;
  }

  #navbarNav .nav-link.conhecimentobtn {
    padding: 8px 18px;
  }

  #navbarNav .nav-link {
    font-weight: 500;
  }

  .btn-primary {
    font-size: 0.85rem;
  }

  .fixed-menu-lateral ul li a {
    font-size: 0.52rem;
  }

}

/* Estilos para dispositivos móveis */
@media (max-width: 992px) {

  .fixed-menu-lateral {
    display: none;
  }

  .background-image {
    display: none;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    line-height: 26px;
    margin-bottom: 28px;
    font-size: 1rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 0.75rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  #topbar-tcu .nav-link {
    text-align: center;
    padding: 0;
    margin: 0 !important;
  }

  .logoMobile {
    width: 70%;
  }

  #topbar-tcu .navbar > .container, #topbar-tcu .navbar > .container-fluid {
    justify-content: center !important;
  }

  .navbar-toggler {display: none;}
  #navbar {
    margin-top: 75px;
    position: relative !important;
    height: 75px;
    padding: 0 20px 0 0;
  }

  .navbar-brand img {
    width: 80%;
  }

  #navbar.fixed-top {
    position: fixed !important;
  }

  #menuButton {
    display: block;
    width: auto;
  }
  .offcanvas-menu {
    display: block;
  }

  #hero {
    padding-top: 40px;
  }

  #hero img {
    width: 75%;
    margin: 0 auto;
    display: none;
  }

  #hero .logos {
    display: none;
  }

  .descubra-mais {
    justify-content: center;
    flex-direction: column-reverse;
    font-size: 1rem;
  }

  section h2 {
    margin-bottom: 3rem !important;
  }

  section#solucoes {
    padding-top: 16rem !important;
  }

  .card {
    margin: 20px 0;
  }

  .row.linha-card {
    margin-bottom: auto;
  }

  section#gerativa {
    padding-top: 2rem !important;
  }

  section#gerativa > .container > .row {
    flex-direction: column-reverse;
  }

  #movendo-fluxo .linha-card {
    animation: none;
  }

  .card-img-brasilmap {
    display: none;
  }

}

/* Estilos para dispositivos móveis */
@media (max-width: 376px) {

}

/* Estilos para dispositivos maiores */
@media (min-width: 993px) {
  #menuButton {
    display: none;
  }
  .offcanvas-menu {
    display: none;
  }
}

