/* NAVBAR */
nav#menu-sic {
  align-content: center;
}

ul.sic-menu-navbar-nav,
.nav-bar--sic,
.container--nav-sic {
  display: flex;
}

ul.sic-menu-navbar-nav {
  flex-flow: row;
}

.logo-sic {
  filter: invert(10);
  align-self: center;
}

.container--nav-sic {
  justify-content: space-between;
  border-bottom: solid 1px var(--cor-principal);
  margin-bottom: 1rem;
}

.nav-bar--sic {
  text-decoration: none;
}

.sic-menu-nav-link {
  color: var(--cor-principal);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.sic-menu-nav-link.sic-menu-nav-hover:hover {
  color: var(--cor-hover-nav);
  border-bottom: solid 1px var(--cor-hover-nav);
}

li.sic-menu-nav-item {
  display: flex;
  gap: 5px;
  align-items: center;
}

h1.titulo-sic {
  font-family: var(--fonte-titulos);
  font-weight: 500;
  font-size: 2rem;
  color: var(--cor-principal);
  align-items: center;
  padding: 1rem;
  margin: 0;
}

/* TÍTULO APRESENTAÇÃO */
h1.titulo-principal {
  background-color: var(--cor-principal);
  color: var(--cor-de-terciaria);
  padding: 1rem;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.5;
}

/* DOCUMENTOS */
section.documentos-sic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.botao-link {
  width: 70%;
  aspect-ratio: 1 / 1;
  margin-bottom: 2rem;
  justify-self: center;
}

.botao-sic {
  background-color: var(--cor-de-cartao);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  height: 100%;
  padding: 1.5rem;
}

.botao-sic span {
  display: block;
  word-break: break-word;
  font-size: 1.1rem;
  color: var(--cor-principal);
}

img.icons {
  height: 40px;
  margin-bottom: 1rem;
}

.botao-link:hover .botao-sic {
  background-color: var(--cor-principal);
  color: var(--cor-de-terciaria);
}

.botao-link:hover .botao-sic img.icons {
  filter: brightness(0) invert(1);
}

.botao-link:hover .botao-sic span {
  color: var(--cor-de-terciaria);
}

/* PARCEIROS */
h2.text-parceiros{
  color: var(--cor-secundaria);
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 1rem;
  text-align-last: justify;
}
section.parceiros {
  display: flex;
  justify-content: space-around;
  background-color: var(--cor-de-terciaria);
  text-align: center;
}

img.logos-parceiros,
img.logos-parceiros2 {
  width: 100px;
  margin: 1rem 2rem;
}
img.logos-parceiros2 {
  width: 200px;
}

.realizacao,
.apoio {
  text-align: center;
}

.logos-realizacao {
  align-items: self-end;
}

/* ANAIS */
.anais-container {
  margin: 0 !important;
  padding: 0 !important;
}

.anais-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: var(--fonte-titulos);
  text-transform: uppercase;
  font-weight: 500;
}

.anais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.anais-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.badge {
  background: var(--cor-gradiente);
  color: var(--cor-de-terciaria);
  font-weight: 600;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.info h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.anais-link {
  text-decoration: none;
  color: inherit;
}

.anais-link:hover .anais-item {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  transition: all 0.2s ease-in-out;
}

.indisponivel {
  color: #a00;
  font-style: italic;
  font-size: 0.9em;
}

.disabled-link {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
}



/* APRESENTAÇÃO TEXTO */
p.texto-apresentacao,
ul.texto-apresentacao {
  text-align: justify;
  line-height: 1.5;
  font-size: large;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

p.texto-apresentacao {
  padding: 2rem 10rem;
  text-indent: 2em;
}

ul.texto-apresentacao {
  padding: 0 12rem;
  list-style-type: disc;
  margin: 1rem 0;
}

/* MEDIA QUERIES */
@media (max-width: 576px) {
  .nav-bar--sic {
    justify-content: center;
  }

  .container--nav-sic {
    display: grid;
  }

  section.documentos-sic {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .botao-link {
    width: 90%;
    margin-bottom: 1rem;
  }

  .botao-sic {
    padding: 0.8rem;
  }

  .botao-sic span {
    font-size: 0.9rem;
  }

  img.icons {
    height: 28px;
    margin-bottom: 0.5rem;
  }

  .anais-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  h1.titulo-principal.titulo-submissao,
  h1.titulo-principal.normas-submissao {
    margin: 1rem auto;
    text-align: center;
    width: 100%;
  }

  p.texto-apresentacao,
  ul.texto-apresentacao {
    padding: 0 1rem;
  }
  section.parceiros {
    flex-flow: column;
  }
  h2.text-parceiros{
    text-align-last: center;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  section.documentos-sic {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .botao-link {
    width: 90%;
    margin-bottom: 1rem;
  }
  section.parceiros {
    flex-flow: column;
  }
  h2.text-parceiros{
    text-align-last: center;
  }
}

@media (min-width: 993px) {
  section.documentos-sic {
    grid-template-columns: repeat(4, 1fr);
  }

  .botao-link {
    width: 80%;
  }
}
