/*........................ Corpo do Site........................ "Aqui é defenido especificações do plano de fundo, fote de texto padrão, etc..."........................*/
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/*................. Cabeçalho Páginas (Sobre,Serviços,Portifólio,Contato) ................*/
header {
  display: flex; /* Coloca os elementos em linha */
  align-items: center; /* Alinha verticalmente */
  justify-content: center; /* Centraliza horizontalmente */
  background-color: #163c5a;
  background-image: url("Imagens/cabecalho1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid azure;
  color: azure;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.titulo-pagina {
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

header img {
  /*imagem do cabeçalho(logo)*/
  height: 64px; /* Tamanho da logo */
  margin-right: 10px; /* Espaço entre a imagem e o texto */
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

/*................. Imagens de Todas as Páginas ................ "Aqui é definido como todas as imagens do site se comportarão ao passar o mouse, manter isso para todas as imagens????"*/
/*img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.1);
}*/

/*............................. Página (Início) ..............................*/

.conectando-quem-quer {
  color: azure;
  text-size-adjust: px;
  font-family: Arial;
  font-size: larger;
  text-align: center;
  text-decoration: bold;
}

.Resumo {
  flex: 1 1 60%;
  padding: 0;
  background-color: transparent;
  font-family: "Segoe UI", sans-serif;
  font-size: large;
}

.foto_resumo {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foto_resumo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.logo {
  position: absolute;
  right: 900px;
  width: 100px;
  padding: 10px;
  top: 10%;
}

.resumo-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  background-color: white;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 1000px;
  margin: 40px auto;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

main {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 0;
  background-image: url("Imagens/azulpimentinha.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main h2 {
  color: azure;
  background-color: #163c5a;
  text-align: center;
  margin-top: 0px; /* Sobe o h2 */
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  width: fit-content;
  margin: 20px auto;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.valores {
  padding: 60px 20px;
  background-color: #e0f2f1;
  text-align: center;
}

.valores h2 {
  margin-bottom: 40px;
  color: #2c7be5;
}

.porque-usar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: -15px;
  margin-bottom: -5px;
}
.valores-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.valor-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.valor-card span {
  font-size: 36px;
}

.valor-card h3 {
  margin-top: 10px;
  color: #2c7be5;
}

/*................. Menu Páginas "Sobre,Serviços,Portifólio,Contato" ................*/
/* Regras do nav */
nav {
  background-color: #163c5a;
  border: 2px solid azure;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

nav a {
  color: azure;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
}

nav a:hover {
  background-color: #1a70b9;
}

nav .ativo {
  background: linear-gradient(to right, #2c7be5, #5e9ff3);
  color: azure;
  padding: 5px 10px;
  border-radius: 5px;
}

/*................ Rodapé Páginas "Sobre,Serviços,Portifólio,Contato" ................*/

footer {
  display: block;
  justify-content: space-betweencen;
  align-items: center;
  padding: 10px;
  background-color: #163c5a;
  color: azure;
  flex-wrap: wrap;
}

.footer-centro {
  display: flex;
  flex-direction: none;
  align-items: center; /* Isso mantém a imagem e o texto centralizados um embaixo do outro */
  text-align: center;
  justify-content: center; /* Isso garante centralização horizontal */
}

.footer-centro img {
  height: 50px;
  margin-bottom: 5px;
}

.baixe-nosso-app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-footer {
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}

.botoes-footer {
  display: flex;
  gap: 10px;
}

.app-link {
  background-color: #2c7be5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.app-link:hover {
  background-color: #1a70b9;
}

/*............................. (Página Sobre) .............................*/
/*sobre*/
.caixa-texto-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background-color: #faffff;
  padding: 20px 30px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1100px;
  text-align: left;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.o-que-e-conecta-voluntario {
  flex: 1;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.imagem-about img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.texto-nossa-historia {
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.secao-history {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background-color: white;
  padding: 20px 30px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1100px;
  text-align: left;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}
/*....................... (Página Serviços) ........................*/

.o-que-oferecemos {
  background-color: #;
  border: 2px solid azure;
  margin-top: 0px; /* Sobe o h2 */
  padding: 5px 10px;
  border-radius: 5px;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.o-que-oferecemos a {
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.galeria-servicos {
  height: auto;
  display: flex;
  justify-content: center;
  gap: 50px;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
}

.galeria-servicos img {
  width: 200px;
  background: transparent;
  border: none;
  display: block;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.caixa-galeria {
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #faffff;
  padding: 20px 100px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1100px;
  text-align: left;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.texto-caixa-galeria {
  text-align: center;
  font-style: italic;
}

.titulo-img-galeria {
  color: azure;
  font-size: 16px;
  font-weight: bold;
  background-color: #163c5a;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.titulo-img-galeria a {
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.imagem-com-legenda {
  position: relative;
  display: inline-block;
}

.imagem-com-legenda img {
  display: block;
  width: 200px;
  height: auto;
  border-radius: 6px;
}

.imagem-com-legenda:hover img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.hover-texto {
  position: absolute;
  top: 50%;
  left: 95%; /* posiciona fora da imagem */
  transform: translateY(-50%);
  background-color: azure;
  color: black;
  padding: 10px 15px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap; /* evita quebra de linha */
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 10px; /* espaço entre imagem e texto */
  z-index: 2;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
}

.imagem-com-legenda:hover .hover-texto {
  opacity: 1;
}

/*....................... Página Contato .........................*/

.entre-em-contato {
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); /*Sombra*/
  background: #163c5a;
}
.form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /*Sombra*/
  width: 700px;
  margin: 40px auto;
}

.form-wrapper h2 {
  text-align: center;
  color: #faffff;
  margin-bottom: 30px;
  font-size: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #163c5a;
  outline: none;
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Botão do formulário */
.botao {
  background-color: #2c7be5;
  color: azure;
  padding: 16px;
  width: 100%;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease-in-out;
}

.botao:hover {
  background-color: #1a70b9;
}

.botao:active {
  transform: scale(0.98);
}

/*....................... Página Entrar/Cadastro .........................*/

/* Container principal que segura os dois lados (esquerdo e direito) */
.container {
  display: flex; /* Ativa o layout flexbox para os filhos ficarem lado a lado */
  max-width: 900px; /* Largura máxima do container */
  margin: 80px auto; /* Centraliza na tela com margem superior */
  background: linear-gradient(145deg, #ffffff, #e6e6e6); /* Degradê de fundo */
  border-radius: 15px; /* Arredonda os cantos */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
    -4px -4px 12px rgba(255, 255, 255, 0.6); /* Sombra */
  overflow: hidden; /* Esconde conteúdo que ultrapassar as bordas */
}

/* Lado esquerdo reservado para a imagem */
.img-entrar-cadastro {
  flex: 1; /* Ocupa metade do container */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.img-entrar-cadastro img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Lado direito onde fica o formulário */
.lado-direito {
  flex: 1; /* Ocupa a outra metade do container */
  padding: 30px; /* Espaçamento interno */
}

/* Título do formulário */
.lado-direito h1 {
  margin-top: 0; /* Remove margem superior */
}

/* Texto de subtítulo dos formulários */
.texto-subtitulo {
  color: gray;
  font-size: 14px; /* Tamanho da fonte */
  margin-bottom: 20px; /* Espaçamento abaixo do texto */
}

/* Estilo dos inputs dos dois formulários (login e cadastro) */
.form-cadastro input,
.form-login input {
  width: 100%; /* Ocupa toda a largura disponível */
  padding: 10px; /* Espaçamento interno */
  margin-top: 5px; /* Margem acima */
  border: 1px solid #ccc; /* Borda cinza clara */
  border-radius: 5px; /* Bordas arredondadas */
}

/* Estilo dos botões dos dois formulários */
.form-cadastro button,
.form-login button {
  background-color: #2c7be5; /* Cor de fundo azul */
  color: white; /* Cor do texto branca */
  padding: 10px 20px; /* Espaçamento interno */
  border: none; /* Remove borda padrão */
  margin-top: 15px; /* Espaço acima do botão */
  border-radius: 5px; /* Bordas arredondadas */
  cursor: pointer; /* Cursor tipo mãozinha ao passar o mouse */
}

/* Efeito ao passar o mouse sobre os botões */
.form-cadastro button:hover,
.form-login button:hover {
  background-color: #1b5fc2; /* Azul mais escuro ao passar o mouse */
  color: #fff; /* Texto continua branco */
}

.form-cadastro label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

.lado-direito {
  background-color: #f2f2f2;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.botao-flutuante-usuario {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #005aa7;
  color: white;
  padding: 8px 12px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.botao-flutuante-usuario:hover {
  background-color: #004080;
}

.botao-flutuante-usuario img {
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  padding: 4px;
}

.texto-entrar {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.link-duplo {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.link-duplo:hover {
  text-decoration: underline;
}

.app-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #2c7be5;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.app-link:hover {
  background-color: #1a5cc6;
}

.icon-app {
  width: 20px;
  height: 20px;
}
