@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

:root {
  --yellow: #f9d821;
  --gray: #555555;
  --light-gray: #b4b4b4;
  --dark-gray: #757575;
  --strong-yellow: #fbff00;
}

body {
  overflow-x: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 2px solid var(--strong-yellow);
  border-bottom: 2px solid var(--strong-yellow);
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 95em;
  margin: 0 auto;
  overflow: hidden;
}

h2 {
  font-size: clamp(0.5em, 0.8em + 2vw, 1.5em);
}

h3 {
  font-size: clamp(0.35em, 0.5em + 2vw, 1.25em);
}

/* HEADER */
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 10vh;
}

header .logo {
  margin-top: 30px;
  width: 150px;
}

.nav-list {
  display: flex;
  list-style: none;
  position: relative;
}

.nav-list li {
  letter-spacing: 1.5px;
  margin-left: 20px;
  transition: 0.4s ease;
  margin-top: 10px;
  padding: 11px;
}

.nav-list li:hover > .sub-nav {
  display: block;
  transition: 0.5s ease;
}

.nav-list a {
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.3s ease;
  text-transform: uppercase;
  --b: 0.2em; /* the thickness of the line */
  --c: #ffe800; /* the color */

  color: #0000;
  padding-block: var(--b);
  background: linear-gradient(var(--c) 50%, #4b4b4b 0) 0%
      calc(100% - var(--_p, 0%)) / 100% 200%,
    linear-gradient(var(--c) 0 0) 0% var(--_p, 0%) / var(--_p, 0%) var(--b)
      no-repeat;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  transition: 0.3s var(--_s, 0s) linear,
    background-size 0.3s calc(0.3s - var(--_s, 0s));
}

.nav-list a:hover {
  --_p: 100%;
  --_s: 0.3s;
}

.sub-nav {
  position: absolute;
  list-style: none;
  margin-left: 0;
  width: 200px;
  display: none;
}
.submenu-mobile {
  display: none;
}

.sub-nav li {
  width: 100%;
  left: 0;
  padding: 5px;
  margin: 10px;
}

.sub-nav li a {
  left: 50%;
  transform: translateX(-50%);
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: var(--light-gray);
  margin: 8px;
  transition: 0.4s;
}

.sm-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.sm-icons i {
  color: #4b4b4b;
  font-size: 22px;
  transition: 0.3s ease;
}

.sm-icons i:hover {
  color: #ffe800;
}
/* HEADER */

/* MAIN */

/* MECANISMOS */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 60vh;
}

.section-content {
  display: flex;
  flex-direction: row;
  margin-top: 5em;
}

.left-mec {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(35% 0%, 100% 0%, 75% 100%, 0% 100%);
  animation: slideInLeft;
  animation-duration: 5s;
}

.left-2 img {
  height: 600px;
}

.section-content h1 {
  text-transform: uppercase;
  color: var(--gray);
  font-size: clamp(1.2em, 1.5em +3vw, 1.875em);
  font-weight: 900;
  text-align: center;
}

.section-content p {
  margin-top: 2em;
  font-weight: 400;
  max-width: 90%;
  line-height: 25px;
  color: var(--gray);
}

.right-mec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35%;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.right-mec img {
  width: 100%;
  height: auto;
  animation: backInDown;
  animation-duration: 2s;
}

.right-mec .img-sobre {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* MECANISMOS */

/* OBJETIVOS E MISSÃO */
.lista-objetivos,
.sublista-objetivos {
  margin-top: 2em;
  font-weight: 400;
  max-width: 90%;
  line-height: 25px;
  color: var(--gray);
  list-style: disc;
}

.lista-objetivos li {
  list-style: disc;
  margin-left: 2em;
}

.sublista-objetivos li {
  list-style: disc;
}

.missao {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--gray);
  animation: backInRight;
  animation-duration: 5s;
}

.missao h1 {
  margin-bottom: 2em;
  font-size: 30px;
  font-weight: 900;
}

.grid-missao {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: space-around;
  align-items: center;
  gap: 2em;
  padding: 1.25em;
}

.box-missao {
  color: var(--gray);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25em;
  height: 25em;
  padding: 0.5em;
  text-align: center;
  border: 2px solid var(--yellow);
  border-radius: 0 1.25em 0 1.25em;
  transition: 0.5s;
}

.box-missao h2 {
  font-weight: 900;
  margin-top: 1em;
}

.box-missao p {
  margin-top: 1em;
  font-size: 15px;
}

.box-missao:hover {
  scale: 1.1;
  border-radius: 1.25em 0 1.25em 0;
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}
/* OBJETIVOS E MISSÃO */

/* PROJETO LUMINOTÉCNICO */
.table-2 {
  margin-top: 2em;
}

.table-2 table {
  padding: 20px;
}

.table-2 thead {
  background-color: var(--yellow);
  font-size: 15px;
}

.table-2 th {
  padding: 0.2em;
}

.table-2 td {
  background-color: #d4d4d4;
  font-size: 13px;
  font-weight: 600;
  padding: 0.5em;
}

.right-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* FIM PROJETO LUMINOTÉCNICO */

/* METAS */
.metas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 5em;
  animation: backInRight;
  animation-duration: 2s;
}

.metas h1 {
  color: var(--gray);
  font-size: clamp(1.2em, 1.5em +3vw, 1.875em);
  font-weight: 900;
  margin-bottom: 2em;
}

.grid-metas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: space-around;
  align-items: center;
  gap: 2em;
  padding: 1.25em;
}

.box-metas {
  color: var(--gray);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25em;
  height: 25em;
  padding: 0.5em;
  text-align: center;
  border: 2px solid var(--gray);
  border-radius: 0 1.25em 0 1.25em;
  transition: 0.5s;
}

.box-metas h2 {
  font-weight: 900;
  margin-top: 1em;
}

.box-metas p {
  margin-top: 1em;
  font-size: 15px;
}

.box-metas:hover {
  scale: 1.1;
  border-radius: 1.25em 0 1.25em 0;
  border: 2px solid var(--yellow);
}

.btn-obras {
  display: inline-block;
  margin-top: 1.5em;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 6px;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-obras:hover {
  background: var(--yellow);
  color: #0f0f0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 216, 33, 0.35);
}

.btn-metas {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  border: 2px solid var(--gray);
  background-color: white; /* cor do botão */
  color: var(--gray);
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}
/* FIM METAS */

/* ACOMPANHE SUA SOLICITAÇÃO */
.btn-solicitacao {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-solicitacao a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  border: 2px solid var(--gray);
  font-size: 16px;
  border-radius: 10px;
  font-weight: 700;
  padding: 14px 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  background: #fff;
  transition: 0.3s ease;
}

.btn-solicitacao a:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #0f0f0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 216, 33, 0.35);
}
/* ACOMPANHE SUA SOLICITAÇÃO */

/* NOTÍCIAS */

/* NOTÍCIAS */

.section-content-noticias {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomIn;
  animation-duration: 2s;
}

.section-content-noticias h3 {
  color: var(--gray);
}

.section-content-noticias h1 {
  color: var(--gray);
  font-size: 30px;
  font-weight: 900;
  margin-top: 2em;
}

.section-content-noticias p {
  color: var(--gray);
  font-size: 15px;
}

.grid-noticias {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: space-around;
  align-items: center;
  gap: 2em;
  padding: 1.25em;
  margin: 3em;
}

.box-noticias {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 25em;
  height: 30em;
  padding: 0.5em;
  box-sizing: border-box;
  transition: 0.5s;
  gap: 1em;
  text-align: center;
}

.box-noticias h3 {
  font-size: 18px;
}

.box-noticias p {
  font-size: 15px;
}

.box-noticias:hover {
  scale: 1.1;
  border: 2px solid var(--yellow);
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

.box-noticias img {
  max-width: 100%;
  max-height: 100%;
  width: 350px;
  height: 250px;
  object-fit: cover;
  transition: 0.5s;
}

.box-noticias a {
  text-decoration: none;
}

/* NOTÍCIAS */

/* MAIN */

/* FOOTER */
footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 10em 0 1em 0;
  color: var(--gray);
  gap: 3em; /* adiciona espaço entre os elementos */
}

footer h4 {
  font-weight: 900;
}

footer .footer-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 0.5em;
  gap: 1em;
}

footer .footer-icons a {
  font-size: 25px;
  justify-content: flex-start;
  transition: 0.4s ease;
  color: var(--gray);
}

footer .footer-icons a:hover {
  color: #fbff00;
}
/* FOOTER */

/* RESPONSIVIDADE */
@media (max-width: 1550px) {
  .nav-list a {
    font-size: 9.5px;
    font-weight: 800;
  }

  .container {
    max-width: 85em;
  }
}

@media (max-width: 1400px) {
  .right-mec {
    display: none;
  }

  .left-2 {
    display: none;
  }

  .left-mec {
    width: 100%;
  }

  .right-2 {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .section-content p {
    max-width: 80%;
  }
}

@media (max-width: 1120px) {
  .container {
    position: relative;
    overflow-x: hidden;
    padding: 0 16px 24px;
  }

  nav {
    height: auto;
    min-height: 82px;
    justify-content: space-between;
    padding: 18px 6px 0;
  }

  main {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 28px 0 24px;
  }

  .section-content {
    width: 100%;
    max-width: 980px;
    flex-direction: column;
    gap: 24px;
    margin-top: 1.5em;
  }

  .left-mec,
  .right-mec,
  .right-2 {
    width: 100%;
  }

  .left-mec {
    padding: 28px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  }

  .right-mec {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    clip-path: none;
  }

  .right-mec img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  }

  .section-content h1 {
    font-size: clamp(1.45em, 2vw + 1rem, 2.15em);
  }

  .section-content p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.75;
  }

  .btn-solicitacao {
    width: 100%;
    margin-top: 1.75em;
  }

  .btn-solicitacao a {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    border-radius: 14px;
    padding: 15px 18px;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }
  /* ÍCONES */
  .sm-icons {
    position: absolute;
    left: 40%;
    bottom: 10px;
    z-index: -1;
  }

  .sm-icons i {
    color: #b3b3b3;
    font-size: 25px;
  }
  /* ÍCONES */

  /* MOBILE / HEADER */
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 86px 16px 20px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    background: linear-gradient(180deg, rgba(10, 14, 22, 0.98) 0%, rgba(13, 18, 27, 0.96) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -14px 0 32px rgba(0, 0, 0, 0.28);
  }

  .submenu-mobile {
    display: block;
  }

  .nav-list li:hover > .sub-nav {
    display: none;
  }

  .nav-list > li:not(.submenu-mobile) {
    display: none;
  }

  .nav-list li {
    margin: 0;
    opacity: 0;
    width: 100%;
    padding: 0;
  }

  .nav-list a {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-list a:hover,
  .nav-list a:active {
    background: rgba(249, 216, 33, 0.14);
    color: var(--yellow);
    transform: translateX(4px);
  }

  .mobile-menu {
    display: block;
    z-index: 1010;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-menu div {
    background: #b3b3b3;
  }

  header .logo {
    width: 120px;
    margin-top: 0;
  }
  /* MOBILE / HEADER */

  /* FOOTER */

  footer {
    flex-direction: column;
    gap: 1.5em;
    margin-top: 5em;
  }

  .sm-icons {
    display: none;
  }

  /* FOOTER */
}

@media screen and (max-width: 500px) {
  .container {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    padding: 0 14px 20px;
  }

  nav {
    padding: 16px 2px 0;
    min-height: 76px;
  }

  main {
    padding: 18px 0 18px;
  }

  .section-content {
    gap: 18px;
    margin-top: 1em;
  }

  .left-mec {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .section-content h1 {
    font-size: 1.35rem;
  }

  .section-content p {
    margin-top: 1.35em;
    font-size: 14px;
    line-height: 1.7;
  }

  .nav-list > li:not(.submenu-mobile) {
    display: none;
  }

  .nav-list li.submenu-mobile {
    display: block;
  }

  .nav-list a {
    font-size: 12px;
    font-weight: 700;
    padding: 13px 14px;
  }

  .sub-nav {
    display: none;
  }

  .sub-nav li {
    margin-top: 12px;
    padding: 0;
  }

  header .logo {
    width: 100px;
    margin-top: 0;
  }

  footer {
    margin-top: 4em;
  }

  .box-missao {
    width: 100%;
    max-width: 22em;
    height: auto;
    min-height: 20em;
    padding: 0.5em;
    text-align: center;
    border: 2px solid var(--yellow);
    border-radius: 0 1.25em 0 1.25em;
    transition: 0.5s;
  }

  .box-missao img {
    width: 90px;
  }

  .box-missao h2 {
    font-weight: 900;
    margin-top: 1em;
  }

  .box-missao p {
    margin-top: 1em;
    font-size: 12px;
  }

  .metas h1 {
    font-size: 20px;
  }

  .box-metas {
    width: 100%;
    max-width: 22em;
    height: auto;
    min-height: 20em;
  }

  .box-metas h2 {
    font-weight: 900;
    margin-top: 1em;
  }

  .btn-solicitacao a {
    min-width: 100%;
    font-size: 13px;
    padding: 14px 16px;
  }

  /* NOTÍCIAS */
  .section-content-noticias {
    animation: none;
    animation-duration: none;
  }
  .section-content-noticias h1 {
    margin-top: 1em;
  }

  .box-noticias {
    width: 100%;
    max-width: 20em;
    height: auto;
    min-height: 22em;
  }

  .box-noticias img {
    width: 100%;
    max-width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 0 1.25em 0 1.25em;
    transition: 0.5s;
  }

  .section-content-noticias h3 {
    font-size: 14px;
  }

  .section-content-noticias p {
    font-size: 12px;
  }
  /* END NOTÍCIAS */
}
/* RESPONSIVIDADE */

/* CLASSE ADICIONADA COM JS */
.nav-list.active {
  transform: translateX(0);
}

/* ANIMAÇÕES */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}
/* ANIMAÇÕES */
