/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cambria, Cochin', Georgia, Times, 'Times New Roman', serif;
  background-color: #7697a0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  display: block;
}

.header-section {
  padding: 5px;
  width: 100%;
}

.header-section img {
  max-width: 100%;
  height: auto;
}

.left {
  background-color: #1b5f6d;
  text-align: center;
}

.right {
  background-color: #f28a07;
  color: #1b5f6d;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav ul li a {
  color: #205e6d;
  text-decoration: none;
  transition: color 0.5s ease;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* ===== TIPOGRAFIA ===== */
h1 {
  text-align: center;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: #1b5f6d;
}

h2 {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #1b5f6d;
  padding: 10px;
}

h3 {
  text-align: center;
  font-size: 25px;
  color: #1b5f6d;
  padding: 18px;
}

p {
  margin-top: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 90%;
  color: #1b5f6d;
  text-align: center;
  padding: 18px;
  word-wrap: break-word;
}

a {
  color: #205e6d;
  text-decoration: none;
  transition: color 0.5s ease;
}

a:hover {
  color: #205e6d;
  text-decoration: underline;
}

a:visited,
a:active {
  color: #205e6d;
}

/* ===== BOTÕES ===== */
button {
  border: none;
  outline: none;
  color: #f28a07;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 4px;
  background-color: transparent;
}

button:hover {
  background-color: #7697a0;
  color: #fff;
}
button:focus,
button:active {
  outline: none;
  box-shadow: none;
}

/* ===== IMAGENS ===== */
.fotos img {
  width: 100%;        /* Faz as imagens ocupar 100% da largura do contêiner */
  height: auto;       /* Mantém a proporção da imagem */
  display: block;     /* Garante que as imagens se comportem como elementos de bloco */
  margin: 0 auto;     /* Centraliza a imagem horizontalmente */
  border-radius: 8px; /* Adiciona borda arredondada */
}

.img-Reitoria {
  width: 20%;
  height: auto;
}

.img-GovItaipu {
  width: 40%;
  height: auto;
}

.img-Araucaria {
  width: 10%;
  height: auto;
}

.botao-voltar img {
  transition: transform 0.3s ease;
}

.botao-voltar img:hover {
  transform: scale(1.05);
}

.seta {
  width: 100px;
  height: auto;
}

.logo img {
  max-width: 50%;
  height: auto;
}

/* ===== CONTAINERS ===== */
.container {
  padding: 20px;
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Isso cria uma grid responsiva */
  gap: 20px;
  justify-content: center;
  background: transparent;
}

.file-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;       /* Usa flexbox para controle de layout */
  flex-direction: column; /* Organiza os itens na coluna */
  align-items: center; /* Centraliza os itens */
}

.file-item img {
  width: 100%;         /* Ajusta a imagem para a largura do contêiner */
  height: auto;        /* Mantém a proporção da imagem */
}

/* ===== RODAPÉ / PARCEIROS ===== */
.rodape {
  background-color: #ffffff;
  width: 100%;
  font-family: inherit;
  margin-top: 50px;
  text-align: center;
  padding: 20px 10px;
}

.rodape p {
  color: #205e6d;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.fotos_parceiros {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 10px;
}

.fotos_parceiros img {
  height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.fotos_parceiros img:hover {
  transform: scale(1.05);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .fotos_parceiros img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .fotos_parceiros {
    flex-direction: column;
    gap: 15px;
  }

  .fotos_parceiros img {
    height: 70px;
  }

  .accordion-item .title {
    font-size: 1.4rem;
  }

  .accordion-item .subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rodape p {
    font-size: 18px;
  }

  .fotos_parceiros img {
    height: 60px;
  }
}
