
html, body {
  height: 100%;
  min-height: 100%;
  background: #F4F4F4;
}


body {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background-color: #F4F4F4;
  /* Adiciona gradiente sutil no fundo */
  background-image: linear-gradient(120deg, #F4F4F4 70%, #e9eef2 100%);
}



main {
  flex: 1 0 auto;
  width: 90%;
  max-width: 1100px;
  margin: 40px auto 30px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(28,61,86,0.10), 0 1.5px 8px rgba(28,61,86,0.08);
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadein 0.7s;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body, footer, footer *, header, main {
  font-family: "Roboto", sans-serif !important;
}

* {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
    width: 100%;
    display: flex;
    background-color: #f4f4f4;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

#navbar-ul {
    display: flex;
    gap: 50px;
    margin: 25px;
    color: #1c3d56;
    text-decoration: none;
    transition: max-height 0.3s;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
}
#menu-toggle .bar {
    width: 28px;
    height: 4px;
    background: #1c3d56;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}



#navbar-ul a {
    color: #1c3d56;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

#navbar-ul a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #1c3d56;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}

#navbar-ul a:hover::after {
    width: 100%;
}

header img {
    width: 60px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}


a{
    text-decoration: none;

}


main{
    width: 80%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

main h1 {
  color: #1c3d56;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #1c3d56 60%, #C9CFD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  padding: 0;
}
main > p {
  width: 100%;
  color: #595959;
  font-size: 1.18rem;
  font-weight: 500;
  text-align: justify;
  margin-bottom: 18px;
  line-height: 1.7;
  font-weight: 600;
}

article {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  flex-wrap: wrap;
}

article div {
  background-color: #C9CFD4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 320px;
  min-height: 220px;
  padding: 24px 18px 18px 18px;
  text-align: center;
  font-size: 1.08rem;
  border-radius: 18px;
  color: #1c3d56;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(28,61,86,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid #e9eef2;
}
article div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(28,61,86,0.18);
}
main h2 {
  color: #1c3d56;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-align: left;
  letter-spacing: 0.5px;
  padding: 5px 0 15px 0;
}

article div img {
  width: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px #1c3d5633);
}

article > img {
  width: 28%;
  min-width: 180px;
  max-width: 320px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(28,61,86,0.13);
  margin-left: 18px;
}


@media (max-width: 900px) {
  main {
    width: 98%;
    padding: 12px;
  }
  main h1 {
    font-size: 2.1rem;
    padding: 0;
    text-align: center;
  }
  main > p {
    font-size: 1.05rem;
  }
  article {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  article div {
    width: 98%;
    margin-bottom: 18px;
    min-height: 180px;
    font-size: 1rem;
    padding: 18px 10px;
  }
  article > img {
    width: 60%;
    margin: 18px 0;
    min-width: 120px;
    max-width: 220px;
  }
  footer>div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 600px) {
  #menu-toggle {
    display: block;
    margin-right: 5px;
  }
  nav {
    width: 100%;
  }
  #navbar-ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f4f4f4;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-bottom: 1px solid #e0e0e0;
    z-index: 15;
    transition: max-height 0.3s;
  }
  #navbar-ul.open {
    max-height: 300px;
    padding: 10px 0 10px 0;
  }
  #navbar-ul li {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
  }
  #navbar-ul li:last-child {
    border-bottom: none;
  }
  #navbar-ul a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    color: #1c3d56;
    background: none;
    border: none;
    text-align: left;
  }
  #navbar-ul a:hover {
    background: #e7e7e7;
    color: #497496;
  }
  header {
    flex-wrap: wrap;
    padding: 0 0 0 8px;
  }
  main {
    width: 99%;
    padding: 4px;
  }
  main h1 {
    font-size: 1.45rem;
  }
  main > p {
    font-size: 0.98rem;
  }
  article div {
    width: 99%;
    padding: 8px 4px;
    font-size: 0.97rem;
    min-height: 120px;
  }
  article div img {
    width: 28px;
    margin-bottom: 8px;
  }
  article > img {
    width: 90%;
    margin: 8px 0;
    min-width: 80px;
    max-width: 160px;
  }
  /* FOOTER MOBILE */
  footer>div {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    width: 100%;
  }
  #footer-sobre, #footer-links, #footer-contatos {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
  }
  #footer-sobre>div {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  #footer-sobre>div>img {
    width: 60px;
  }
  #footer-sobre>div>h2 {
    display: none;
  }
  #footer-sobre>p {
    width: 90%;
    margin: 12px auto 0 auto;
    font-size: 0.95rem;
  }
  #footer-links>h2, #footer-contatos>h2 {
    font-size: 1rem;
    padding-top: 10px;
  }
  #footer-links>ul, #footer-contatos ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    font-size: 0.95rem;
  }
  #footer-links>ul li, #footer-contatos li {
    margin-bottom: 8px;
    justify-content: center;
    font-size: 0.95rem;
  }
  .icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }
  footer>p {
    width: 95%;
    font-size: 0.85rem;
    margin: 10px auto 0 auto;
    text-align: center;
  }
}

/*CSS FOOTER*/

footer
{
    background-color: #262626;
    width: 100%;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

footer>div
{
    display: flex;
    padding: 30px;
    justify-content: space-between;
    width: 90%;
    border-bottom: 10px solid #404040;
}

#footer-sobre
{
    display: flex;
    flex-direction: column;
}

#footer-sobre>div
{
    display: flex;
}

#footer-sobre>div>img
{
    width: 100px;

}

#footer-sobre>div>h2
{
    align-self: flex-end;
    font-size: 1.3rem;
    font-weight: 700;

}

#footer-sobre>p
{
    width: 300px;
    margin-top: 30px;
}

#footer-links
{
    text-align: center;
}

#footer-links>h2
{
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 33px;
}

#footer-links>ul
{
    line-height: 35px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    width: 100%;
    list-style-type: none;
}

footer a,
footer p,
footer li {
    text-decoration: none;
    color: #b0b0b0;
}

#footer-contatos
{
    display: flex;
    flex-direction: column;
}

#footer-contatos>h2
{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#footer-contatos li
{
    margin-bottom: 10px;
    display: flex;
    align-items: center;

}

#footer-contatos>h2
{
    padding-top: 32px;
    padding-left: 30px;
    font-weight: 700;
}

footer>p
{
    margin-top: 13px;
    width: 85%;
}

footer a:hover
{
    color: white;
}

.icon
{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}