@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&display=swap');

html {
    scroll-behavior: smooth;

}

html,
body {
    height: 100%;
}

body {
    background-color: #f1f1f1;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
}

body::-webkit-scrollbar {
    display: none;
}

header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    font-size: 4vw;

}

.logo {
    height: 70px;
    width: 40px;
    display: flex;
    position: absolute;
    left: 1vw;
    align-items: center;
    top: 2px;
}

.logo img {
    height: 55px;
}

.logo-mobile {
    display: none;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    font-size: 1.3vw;
}

.menu a {
     margin-top: 0;
    color: #0D1B3E;
    text-decoration: none;
    font-size: 1.3vw;
   
}

.menu a:hover {
    transform: translateY(-2px);
    transition: 0.4s ease-in-out;
    color: #4CAF7D;
}

nav a.ativo {
    border-bottom: 2px solid black;
    padding-bottom: 5px;
}

.loginCadastro {
    position: absolute;
    right: 3vw;
    display: flex;
    gap: 2vw;
    font-size: 1.3vw;
    align-items: center;
}


.btn-login {
  background-color: #0D1B3E; 
  color: white;
  padding: 6px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 1.3vw;
  transition: 0.3s;
}

.btn-login:hover {
  background-color: #218838; 
}


main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.section1 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #111111;
}

.texto-principal {
    font-weight: 500;
    font-size: 2.7vw;
    width: 60%;
    margin-top: 3vw;
    color: #111111;
}

#cor-diferente-verde {
    font-family: 'DM Sans', sans-serif;
    color: #006b4b;
}

#cor-diferente-azul {
    font-family: 'DM Sans', sans-serif;
    color: #0D1B3E;
}

.imagem-predios {
    position: relative;
}

.imagem-predios img {
    border-radius: 2vw;
    position: absolute;
    left: -25vw;
    top: 2vw;
    width: 50vw;
    height: 28.64vw;
    border-radius: 2vw;
}

.container {
    width: 62.5vw;
    height: 24.02vw;
    background-color: #0D1B3E;
    border-radius: 2vw;
    margin-top: 9vw;
}

.descricao {
    font-size: 2.1vw;
    color: #000000;
    width: 55%;
    margin: 3vw auto;
    margin-bottom: 3vw;
}

.btn-saibamais {
    height: 5vw;
    width: 13vw;
    background: #4CAF7D;
    color: #f1f1f1;
    border: none;
    border-radius: 0.8vh;
    font-size: 1.2vw;
    font-weight: 600;
    cursor: pointer;
}

.btn-saibamais:hover {
    color: #eaeae6;
    transition: 0.3s ease-in-out;
    box-shadow: 1px 1px 10px #4aff71;
}

.btn-saibamais:active {
    color: #eaeae6;
    transition: 0.3s ease-in-out;
    background-color: hsl(0, 0%, 50%);
}

.section2 {
    text-align: center;
    margin-bottom: 10vh;
    margin-top: 10vw;
}

.titulo-secao {
    font-size: 2.7vw;
    font-weight: bold;
    color: #0D1B3E;
    margin-bottom: 2vh;
}

.sobre {

    display: flex;
    flex-direction: column;
    min-height: 20vw;
}


.texto-secao {
    width: 100%;
    margin: 0 auto 5vh auto;
    color: #ffffff;
    font-size: 4vw;
    line-height: 1.5;
}

.servico {
    background-color: #002645;
    height: 44vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    margin-bottom: 5vh;
    margin-top: 4vw;
}

.servico h2 {
    color: #ffffff;
    font-size: 2.7vw;
    top: 0.5vw;
}

.servico p {
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 2.7vh;
}

.titulo-secao-membros {
    font-size: 2.7vw;
    font-weight: bold;
    color: #007e3f;
    margin-bottom: 10vh;
}

.membros {
    display: grid;
    grid-template-columns: repeat(3, 0.2fr);
    gap: 4vh;
    justify-content: center;
    font-size: 1.5vw;
}

.membro {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.foto-membro {
    height: 13vh;
    width: 14vh;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.foto-membro img {
    height: 100%;
    width: 100%;
}

.foto-membro:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}


.menu-hamburguer {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-hamburguer span {
    display: block;
    width: 100%;
    height: 3px;
    background: #f1f1f1;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#login {
    display: none;
}



#fecharMenu {
    display: none;
}

.quem-somos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    width: 100%;
    margin-top: -5vw;
    font-size: 15px;
}

.quem-somos-wrapper p {
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 1.5vw;
        width: 60%;
}


.quem-somos-cards {
    display: flex;
    gap: 2vw;
    justify-content: center;
    width: 90%;
    height: 63%;
    margin-top: 2vw;
    margin: 0 auto; 
}

.quem-somos-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(255, 255, 255, 0.12);
}

.quem-somos-card {
    background-color: #a7d9f0;
    border-radius: 1.5vw;
    padding: 2vw;
    flex: 1;
    color: #0D1B3E;
}

.quem-somos-card h3 {
    font-size: 2.1vw;
    font-weight: 700;
    margin-bottom: 1vw;
}

.quem-somos-card p {
    font-size: 1.8vw;
    width: 100%;
    color: #000000;


}

.imagem-logo img {
    height: 120px;
    width: auto;
}

.servico-cards {
    display: flex;
    gap: 2vw;
    justify-content: center;
    width: 90%;
    height: 66%;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(255, 255, 255, 0.12);
}

.servico-card {
    background-color: #90c5f0;
    border-radius: 1.5vw;
    padding: 2vw;
    flex: 1;
    color: #0D1B3E;

}

.servico-card h3 {
    font-size: 2.1vw;
    font-weight: 700;
    margin-bottom: 1vw;

}

.servico-card p {
    font-size: 1.8vw;
    width: 100%;
    color: #000000;
}

.logo .logo-mobile {
    display: none;
}

.icone1 img,
.icone2 img,
.icone3 img {
    width: 100px;
    height: 170px;
    object-fit: contain;
}

#overlayMembro {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#overlayMembro.ativo {
  display: flex;
}

#overlayMembro {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#overlayMembro.ativo {
  display: flex;
}

#popupMembro {
  background: #fff;
  border-radius: 1vw;
  padding: 3vw;
  text-align: center;
  width: 25vw;
  position: relative;
}

#popupMembro button {
  position: absolute;
  top: 1vw;
  right: 1vw;
  background: none;
  border: none;
  font-size: 2vw;
  cursor: pointer;
  color: #555;
}

#popup-foto {
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1vw;
}

#popupMembro h3 {
  font-size: 1.7vw;
  margin-bottom: 0.5vw;
}

#popupMembro p {
  font-size: 1.4vw;
  color: #888;
  margin-bottom: 1vw;
}

.foto-membro img {
  cursor: pointer;
}

.popup-links {
  display: flex;
  gap: 1.5vw;
  justify-content: center;
  margin-top: 1.5vw;
}

.icone-social {
  width: 3vw;
  height: 3vw;
  border-radius: 0;
  object-fit: contain;
}