@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Roboto', sans-serif;

}

main {
  margin: 0 auto;
  padding: 0 3rem;
  overflow: hidden;


}


/* Layout básico */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  font-size: 18px;
  color: #333;
  background-color: #f8f9fa;

}

.primary-button {
  display: inline-block;
  background: #406998;
  box-shadow: 0px 4px 4px rgba(21, 86, 137, 0.16);
  border-radius: 90px;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;

  color: #EDEDED;
  padding: 0.4rem 0.8rem;
  outline: none;
  border: none;
  text-align: end;
  margin-left: auto;
  cursor: pointer;
  margin-top: 1rem;

}

a {
  text-decoration: none;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;

  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;

  color: rgba(21, 86, 137, 0.25);


}


/* navbar */

nav {
  padding: 2rem 3rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;

  gap: 3rem;
  color: #000;
}

nav a {
  color: #000;

  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;

  color: #122D42;

}

nav button {
  display: inline-block;
  background: #406998;
  box-shadow: 0px 4px 4px rgba(21, 86, 137, 0.16);
  border-radius: 90px;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;

  color: #EDEDED;
  padding: 0.2rem 2rem;
}

/* Header */
.header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  height: 80vh;
  position: relative;
  background-color: #79c5ff31;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  gap: 2rem;
  background: rgba(121, 197, 255, 0.09);
  border-radius: 50px;

}

.header h1 {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  line-height: 73px;

  color: rgba(63, 142, 204, 0.49);
  width: 50%;
  min-width: 400px;

}

.header p {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 39px;
  width: 50%;
  min-width: 300px;


  color: #122D42;

}

.header a {
  display: inline-block;
  background: #406998;
  box-shadow: 0px 4px 4px rgba(21, 86, 137, 0.16);
  border-radius: 90px;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;

  color: #EDEDED;


  padding: 0.8rem 2rem;
}

.header img {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  height: 80%;
  object-fit: contain;
  max-width: 100%;
}

/* about */

#about {
  padding: 4rem 2rem;
  text-align: center;
}

#about .summary {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

#about h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;

  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 60px;
  line-height: 73px;

  color: rgba(21, 86, 137, 0.25);



}

#about p {
  flex: 2;
  font-size: 1.2rem;
  color: #555;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 39px;
  text-align: justify;
  min-width: 400px;

  color: rgba(18, 45, 66, 0.9);


}

#about img {
  flex: 1;
  max-height: 500px;
  object-fit: contain;
}

#about .details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));


  justify-content: space-between;
  gap: 2rem;
}

#about .details li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 39px;
  text-align: center;

  color: #406998;

  gap: 1rem;


}

#about .details img {
  max-height: 80px;


}


#about-info {
  padding: 3rem 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap-reverse;
  justify-content: center
}

#about-info>div {
  flex: 1 1 250px;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  background-color: rgba(243, 250, 255, 0.4);
  box-shadow: 0px 0px 20px rgba(92, 180, 248, 0.49);
  border-radius: 50px;

  display: flex;
  flex-direction: column;
}

#about-info hr {

  height: 3.05px;
  border: 2px solid rgba(121, 197, 255, 0.21);
  transform: rotate(0.45deg);
  margin: 1rem 0;
}

.about-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}


.expandable-content {
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



/* partnership */

#partnership {
  padding: 3rem 2rem;
}



#partnership .list {

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;


  background: rgba(121, 197, 255, 0.09);
  border-radius: 30px;
  padding: 3rem;
}

#partnership .list .list-item img {
  width: 100%;
  max-height: 80px;

  aspect-ratio: 1/1;
  object-fit: contain;
}

/* projects */

#projects {
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

#projects h2 {

  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  text-align: justify;

  color: #122D42;


}

#projects p {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  text-align: justify;

  color: rgba(18, 45, 66, 0.9);


}

#projects .project {
  display: flex;
  flex: 4;
  gap: 4rem;
  padding: 2rem 0;

  border-bottom: 2px solid rgba(121, 197, 255, 0.21);
  align-items: stretch;
  flex-wrap: wrap;

}

#projects .project:nth-child(odd) {
  display: flex;
  flex-direction: row-reverse;

}

#projects .left {
  flex: 2;
  padding: 3rem 0;
  min-width: 300px;
}

#projects .right {
  flex: 1;
  min-width: 400px;

  flex-shrink: 0;

}

#projects .right img {
  width: 100%;
  height: 100%;
  min-width: none;
  object-fit: contain;
  /* Cobre sem distorcer, cortando se necessário */
  display: block;
  border-radius: 8px;
}

/* team */

#team {
  padding: 3rem 2rem;
  background: rgba(243, 250, 255, 0.4);
  box-shadow: 0px 0px 20px rgba(92, 180, 248, 0.49);
  border-radius: 50px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

#team .member {
  text-align: center;
}

#team .member img {
  text-align: center;

  width: 100%;
  max-width: 150px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;

}


/* featured */

#featured {
  padding: 3rem 2rem;
  position: relative;
}

#featured h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#featured .list-notices {
  display: flex;
  flex-direction: column;
}

#featured article {
  padding: 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

#featured h3 a {
  text-decoration: none;

  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  text-align: justify;

  color: #122D42;
}

#featured .published {
  background: rgba(64, 105, 152, 0.67);
  box-shadow: 0px 4px 4px rgba(21, 86, 137, 0.16);
  border-radius: 90px;

  width: fit-content;


  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  text-align: justify;

  color: #FFFFFF;
  padding: 0.2rem 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

#featured .image-column {
  flex: 1;
  max-width: 500px;
  min-width: 300px;
}

#featured .text-column {
  flex: 2;
  min-width: 300px;
}

#featured img {
  object-fit: cover;
  width: 100%;
  border-radius: 25px;


}

#featured .background {
  position: absolute;
  height: 100%;
  top: 0;
  left: 30%;
  opacity: 0.25;
  object-fit: contain;
  width: 100%;
  z-index: -1;

  transform: rotate(290deg);


  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* recents */

#recents {
  padding: 3rem 2rem;
}

#recents .list-notices {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

#recents .title {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 35px;
  line-height: 42px;
  text-align: center;
  width: 100%;

  color: #406998;

  padding-bottom: 1rem;

  border-bottom: 2px solid rgba(121, 197, 255, 0.21);
  transform: rotate(0.45deg);

}

#recents .list-notices li {
  flex: 1 1 250px;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  background-color: rgba(243, 250, 255, 0.4);
  box-shadow: 0px 0px 20px rgba(92, 180, 248, 0.49);
  border-radius: 50px;
  min-width: 350px;
}

#recents h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#recents p {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  text-align: justify;

  color: rgba(18, 45, 66, 0.9);
}

.pagination-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.page-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #cce0f5;
  border-radius: 50%;
  color: #0366d6;
  text-decoration: none;
  min-width: 2.2rem;
  text-align: center;
  font-weight: bold;
  transition: background 0.2s;
}

.page-link:hover {
  background-color: #e6f0fa;
}

.page-link.active {
  background-color: #cce0f5;
  pointer-events: none;
}

.ellipsis {
  color: #888;
  padding: 0 0.4rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
  background: rgba(121, 197, 255, 0.09);

}

footer .info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2rem 2rem;
  flex-wrap: wrap;
}

footer .info>* {
  min-width: 150px;
}

footer .info img {
  width: 100%;
}

footer .social {
  display: flex;

}

footer .social img {
  max-width: 80px;
}

footer .copyright {
  background: #406998;
  padding: 2rem;
  color: #FFF;
  text-align: center;
}


/* Responsividade */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;

  align-items: center;
  background-color: rgba(0, 0, 0, 0.101);
  backdrop-filter: blur(2px);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
}