* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 1em;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Container principal */
.container-principal {
  max-width: 1500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Cabeçalho */
#area-cabecalho {
  background: linear-gradient(135deg, #005c5c, #000000);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  height: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.cabecalho-conteudo {
  max-width: 1500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
#logo {
  padding: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -20px;
}

#logo img {
  width: 150px;
}

/* Barra de pesquisa */
#aba-pesquisa {
  flex: 1;
  max-width: 600px;
}

#aba-pesquisa input {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Menu */
#menu {
  display: flex;
  gap: 20px;
  padding: 0 15px;
}

#menu a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#menu a:hover {
  color: black;
  background: white;
}

/* Ícone do menu móvel */
#menu-icon {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Ícone para Home */
#menu .footer_btn a[href="./index.html"]::before {
  content: "\f015";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
}

/* Ícone para Sobre */
#menu .footer_btn a[href="./pInicial/sobre.html"]::before {
  content: "\f05a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
  #area-cabecalho {
    height: auto;
    padding: 10px;
  }

  .cabecalho-conteudo {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
  }

  #logo {
    margin: 0;
    padding: 10px;
  }

  #logo img {
    width: 120px;
  }

  #aba-pesquisa {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  #menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  #menu.active {
    display: flex;
  }

  #menu-icon {
    display: block;
  }
}

a:link,
a:visited {
  color: white;
  padding: 8px 12px;
  text-decoration: none;
}

#suggestions {
  position: absolute;
  background: rgb(58, 58, 58);
  width: 50%;
  max-width: 300px;
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
  text-decoration: none;
  color: black;
}

.suggestion-item:hover {
  background: #777676;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #2F4F4F;
}

.hero-text {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-adari {
  background: linear-gradient(45deg, #228B22, #20B2AA);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-adari:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.diamond-divider {
  width: 60px;
  height: 3px;
  background: #FFF;
  margin: 15px auto;
  transform: rotate(45deg);
}

.carousel-item {
  height: 70vh;
  min-height: 500px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  filter: brightness(0.7);
}

/* Animações */
.animate__animated {
  animation-duration: 1s;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

/* Título */
.carousel-caption h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

/* Descrição */
.carousel-caption p {
  font-size: 1.2em;
  color: #fff;
}

/* Estilo da seção de Povos Indígenas */
#povos-indigenas {
  background-color: #f8f9fa;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilo do botão */
#btnPovosIndigenas {
  background: linear-gradient(135deg, #005c5c, #000000);
  border: none;
  color: white;
  padding: 15px 20px;
  font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#btnPovosIndigenas:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#btnPovosIndigenas i {
  transition: transform 0.3s ease;
}

#btnPovosIndigenas[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Estilo dos cards */
.carrossel-povos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  text-align: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: #000000;
  margin-bottom: 15px;
}

.btn-secondary {
  background: #005c5c;
  border: none;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background: #000000;
}

/* Estilo das setas do Slick Carousel */
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 1;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 30px;
  color: #0d6a2f;
  opacity: 1;
}

.slick-prev:before {
  content: '\f104';
}

.slick-next:before {
  content: '\f105';
}

/* Efeito de hover nas setas */
.slick-prev:hover:before,
.slick-next:hover:before {
  color: #000000;
}

/* Conteúdo principal */
#destaque {
  padding: 20px;
  text-align: center;
}

.container-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

#destaque {
  margin: 20px;
  margin-left: 120px;
}

.container-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.container-cards img {
  height: 200px;
}

.card {
  margin: 20px;
  flex: 1 1 18rem;
  max-width: 18rem;
}

.card:hover {
  transform: scale(1.05);
}

.conteudo-md {
  background-color: #e9e8e8;
  margin-bottom: 10px;
}

.conteudo-md #destaque {
  color: rgb(0, 0, 0);
  padding-top: 10px;
}

.conteudo-container {
  display: flex;
  gap: 20px;
}

.conteudo-esq {
  flex: 1;
  padding: 20px;
}

.conteudo-esq p {
  color: rgb(0, 0, 0);
  text-align: justify;
}

.conteudo-dir {
  flex: 1;
}

.conteudo-dir img {
  width: 100%;
  border-radius: 8px;
  padding: 20px 0px;
}

.conteudo-dir p {
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conteudo-dir a {
  color: black;
}

.conteudo-dir a:hover {
  color: #ff0000;
}

.container-cards img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Rodapé */
#rodape {
  background-color: #270000;
  color: white;
  padding: 20px;
  margin-top: auto;
  text-align: center;
}

.footer_btn a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

/* Efeito de bordas laterais */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  pointer-events: none;
  box-shadow: inset 0 0 0 10px rgba(90, 62, 54, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .container-principal {
    margin: 0 10px;
  }

  #area-cabecalho {
    flex-wrap: wrap;
    gap: 15px;
  }

  .container-cards {
    grid-template-columns: 1fr;
  }

  .carousel-item {
    height: 40vh;
    min-height: 300px;
  }
}

/* Estilizando o card */
.card-amazonas {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
}

.card-amazonas:hover {
  transform: translateY(-10px);
}

/* Estilo para o título */
#sobre-amazonas h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #005c5c;
}

/* Ajustes na imagem */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-container img {
  transition: transform 0.3s ease-in-out;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* Ajustes de espaçamento e tipografia */
.lead {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}

/* Responsividade */
@media (max-width: 768px) {
  .card-amazonas {
    padding: 1.5rem;
  }

  .btn-custom {
    width: 100%;
  }

  #sobre-amazonas h2 {
    font-size: 2rem;
  }
}

/* Estilos Personalizados para a sessao AMAZONAS*/
.text-adari {
  color: #4C8682;
}

.filtro-img{
  filter: invert(43%) sepia(33%) saturate(480%) hue-rotate(127deg);
}

.btn-adari {
  background: linear-gradient(45deg, #0B59BF, #20B2AA);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-adari:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-overlay {
  transition: background-color 0.3s ease;
}

.hover-overlay:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/*Sessao do Super*/

.logo-super {
  background-color: white; /* Cor de fundo para contrastar com o header */
  padding: 10px; /* Espaçamento interno para destacar a logo */
  border-radius: 8px; /* Bordas arredondadas para um visual moderno */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra para dar profundidade */
  display: inline-block; /* Garante que o fundo cubra apenas a área da logo */
}

.logo-super img {
  max-width: 100px; /* Tamanho da logo */
  height: auto; /* Mantém a proporção da imagem */
  display: block; /* Remove espaços extras abaixo da imagem */
}

.icon-super {
  color: #2612A6; /* Substitua pela cor da logo */
}

.logo-super-sess {
  width: 310px;
  height: auto;
  margin-bottom: 10px;
}

.text-adarii {
  color: #ff0000;
}

.card {
  border-radius: 15px;
  overflow: hidden;
}

/*Ajuste na sessao amaozonas*/
#sobre-amazonas {
  padding: 80px 0;
}

#sobre-amazonas .card-amazonas {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.text-gradient {
  background: linear-gradient(45deg, #005c5c, #0d6a2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-box {
  transition: transform 0.3s ease;
}

.icon-box:hover {
  transform: rotate(15deg) scale(1.1);
}

.object-fit-cover {
  object-fit: cover;
}

.transition-all {
  transition: all 0.3s ease;
}

/* Estilo geral para a seção de apresentação */
.hero-section {
  background-color: #005c5c;
  color: white;
  padding: 70px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Centralização Geral */
#projeto-super {
  max-width: 1200px; /* mesma largura do container principal */
  margin-left: auto;
  margin-right: auto;
}

/* Ajuste dos Cards */
#projeto-super .card {
  max-width: 300px; /* largura máxima fixa */
  margin: 0 auto; /* centraliza horizontalmente */
}

/* Alinhamento Responsivo */
@media (min-width: 992px) {
  #projeto-super .row {
    justify-content: center !important;
    gap: 1.5rem; /* espaçamento entre cards */
  }
}

.hero-section p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #e5e5e5;
}

/* Estilo para o botão */
.btn-custom {
  background-color: #0d6a2f;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-custom:hover {
  background-color: #004c99;
  transform: translateY(-3px);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 20px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .btn-custom {
    width: 100%;
  }
}