/* IMPORT DA FONTE OUTFIT */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap");

/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

html,
body {
  font-family: "Outfit", sans-serif;
  background-color: #ffffff;
  color: #000000;
}

::placeholder {
  font-family: "Outfit", sans-serif;
  color: #666;
  font-size: 1rem;
  opacity: 1;
}

/* HEADER */
.navbar {
  position: relative;
  width: 100%;
  padding: 20px 0;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 60px;
}

.menu {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  font-family: "Outfit", sans-serif;
  color: #0a59a3;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 6px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #f2b705;
  transition: width 0.3s ease-in-out;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: #0a59a3;
}

/* HERO */
.hero {
  padding: 160px 0 120px;
  background: url("./assets/photo8.png") no-repeat center center / cover;
  color: #ffffff;
  position: relative;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%; /* mesmo padding lateral da .container */
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 40px;
  color: #f2b705;
  font-size: 1.1rem;
}

/* HERO PEQUENO */
.hero-small {
  background: #004a79;
  color: white;
  padding: 100px 3%;
  text-align: center;
}

.hero-title h1 {
  font-size: 48px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

/* ABOUT */
.about-section {
  padding: 100px 3%;
  background-color: #ffffff;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h5.about-label {
  color: #f2b705;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-text a {
  margin-top: 20px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 80%;
  border-radius: 8px;
}

.about-image .credit {
  font-size: 0.85rem;
  color: #444;
  font-style: italic;
  margin-top: 8px;
  text-align: right;
}

/* NOTÍCIAS */
.noticias-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
}

.noticias-home {
  background-color: #004a79;
  padding: 100px 3%;
  color: white;
  text-align: center;
}

.noticias-home .noticias-subtitulo {
  color: #f2b705;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.noticias-home .noticias-titulo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.noticias-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.noticia-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  max-width: 400px;
  text-align: left;
}

.noticia-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.noticia-conteudo {
  padding: 20px;
}

.noticia-titulo {
  color: #f2b705;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.noticia-link {
  color: #f2b705;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.noticia-link:hover {
  text-decoration: underline;
}

.noticia-data {
  font-size: 0.85rem;
  color: #444;
}

.noticias-botao {
  margin-top: 20px;
}

/* FOMENTO */
.fomento-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.fomento-section {
  background-color: #ffffff;
  padding: 40px 3%;
  text-align: center;
  border-bottom: 1px solid lightgray;
}

.fomento-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.fomento-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.fomento-logos img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.fomento-logos img:hover {
  transform: scale(1.05);
}

/* SEÇÃO CONTATO */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-section {
  padding: 80px 3%;
  background-color: #fff;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1rem;
  color: #333;
}

.benefits-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.benefits-list li {
  margin-bottom: 20px;
  line-height: 1.5;
  word-break: break-word;
}

.edital-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.edital-box {
  background-color: #f9f9f9;
  border-left: 5px solid #004773;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.edital-box h3 {
  color: #004773;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.edital-box p {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.edital-box a {
  color: #004773;
  font-weight: bold;
  text-decoration: none;
}

.edital-box a:hover {
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  transition: border 0.2s ease;
  font-family: "Outfit", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1px solid #f2b705;
  outline: none;
  background-color: #fff;
}

.form-group textarea {
  resize: none;
}

/* BOTÕES */
.btn-yellow {
  background-color: #f2b705;
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn {
  background-color: #f2b705;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.3s;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #cc9600;
  color: #ffffff;
}

.btn-a {
  background-color: #f2b705;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.3s;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
}

.btn-a:hover {
  background-color: #cc9600;
  color: #ffffff;
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #0a59a3;
  cursor: pointer;
}

/* DIRETORIA */
.gestao-section {
  background-color: #f5f5f5;
  padding: 80px 3%;
}

.gestao-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.gestao-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0; /* já tem espaçamento via gap */
}

.gestao-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gestao-btn {
  background-color: #e0e0e0;
  border: none;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gestao-btn:hover {
  background-color: #cccccc;
}

.gestao-btn.active {
  background-color: #f2b705;
  color: #000;
}

.gestao-conteudo {
  max-width: 600px;
  width: 100%;
  text-align: left;
}

.gestao-conteudo h4 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 4px;
  color: #004a79;
}

.gestao-conteudo p {
  margin: 0;
  font-size: 0.95rem;
  color: #222;
}

.gestao-conteudo a {
  text-decoration: none;
}

.gestao-atual-section {
  padding: 80px 3%;
  text-align: center;
  border-bottom: 1px solid lightgray;
}

.gestao-atual-titulo {
  font-size: 2rem;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 40px;
}

.gestao-atual-cargo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto 32px auto;
  text-align: left;
}

.gestao-atual-foto img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 4px solid #f2b705;
}

.gestao-atual-info {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: start;
}

.gestao-atual-box {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gestao-atual-info h4 {
  color: #003366;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.gestao-atual-info p {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.4;
}

.gestao-atual-info a {
  text-decoration: none;
}

/* FOOTER */
.site-footer {
  background-color: #004a79;
  color: #ffffff;
  padding: 20px 3%;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icons a {
  margin-left: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* ícones brancos */
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 16px;
}

.lang-flag {
  display: inline-block;
  width: 30px;
  height: 20px;
  object-fit: cover;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.lang-flag:hover {
  transform: scale(1.1);
}

.lang-flag.active {
  border: 2px solid #f2b705;
}

/* ANIMAÇÕES */
.fade-up,
.fade-down {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.fade-down {
  opacity: 0;
  transform: translateY(-30px);
  visibility: hidden;
}

.fade-down.animate {
  animation: fadeDown 0.8s ease-out forwards;
  visibility: visible;
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  visibility: hidden;
}

.fade-left.animate {
  animation: fadeLeft 0.8s ease-out forwards;
  visibility: visible;
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  visibility: hidden;
}

.fade-right.animate {
  animation: fadeRight 0.8s ease-out forwards;
  visibility: visible;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 1001;
    font-size: 28px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    background-color: white;
    padding: 20px;
    gap: 16px;
    z-index: 1000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 1.1rem;
    color: #0a59a3;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    display: block;
  }

  .nav-links li a.active {
    background-color: #f2b705;
    color: #000000;
  }

  .nav-links li a::after {
    display: none;
  }

  .menu {
    flex-direction: column;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1001;
  }

  body {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero .hero-content {
    padding: 0 8%;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .btn-a {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .about-section {
    padding: 60px 5%;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 8px;
  }

  .hero-small {
    padding: 80px 5%;
  }

  .hero-title h1 {
    font-size: 32px;
  }

  .contact-header h2 {
    font-size: 1.8rem;
  }

  .contact-header p {
    font-size: 0.95rem;
  }

  .benefits-list {
    padding-left: 1.2rem;
  }

  .benefits-list li {
    font-size: 0.95rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .social-icons a {
    margin-left: 10px;
    margin-right: 10px;
  }

  .ano-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }

  .gestao-info {
    padding: 0 16px;
  }

  .noticias-cards {
    flex-direction: column;
    align-items: center;
  }

  .edital-grid {
    grid-template-columns: 1fr;
  }
}
