:root {
  --primary-color: #053e88; /* Azul */
  --secondary-color: #333; /* Cor escura para o texto */
  --background-light: #f9f9f9;
  --white: #fff;
  --accent-green: #34A853; /* Verde para botões */
}

body {
            font-family: 'Poppins', sans-serif;
            max-width: 1200px;
            margin: 0 auto;
        }

  
.logo h1 {
    font-size: 24px;
}

.description {
  color: var(--secondary-color);
}

.about-section {
  text-align: center;
  padding: 60px 20px;
  background: url('/img/IMG_4498.jpg') center/cover no-repeat;
  position: relative;
}

/* Fundo escurecido para melhor leitura */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Organização dos retângulos */
.rectangles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Estilização dos blocos */
.rectangle {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.rectangle h3 {
  font-size: 1.5rem;
  color: #1d3557;
  margin-bottom: 10px;
}

.rectangle p {
  font-size: 1rem;
  color: #333;
}

/* Efeito de hover */
.rectangle:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .rectangles {
      flex-direction: column;
      align-items: center;
  }
}



hr {
  padding: 7px;
}


#o-que-fazemos {
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 50px;
}

.retangulo {
  width: 25%;
  text-align: center;
}

.retangulo img {
  transition: all 0.4s ease-in-out;
}

.retangulo img:hover {
  transform: scale(1.1);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

/* Estilo para a seção secao-sobre */
.secao-sobre {
  display: flex;
  flex-direction: column; /* Em telas pequenas, os itens ficam em coluna */
  gap: 20px;
  align-items: center;
  padding: 10px;
  background-color: var(--background-light);
}

/* Ajuste para garantir que os elementos ocupem espaços iguais */
.secao-sobre .texto {
  flex: 1;
  padding: 20px;
  text-align: left;
  max-width: 800px; /* Limita a largura do texto */
}

.secao-sobre .imagem {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.secao-sobre .imagem img {
  max-width: 100%;
  height: auto;
}

/* Quando a tela for maior que 768px, os itens ficam lado a lado */
@media (min-width: 768px) {
  .secao-sobre {
    flex-direction: row;
    align-items: flex-start; /* Alinhamento superior */
  }

  .secao-sobre .texto {
    text-align: justify; /* Alinha o texto à esquerda */
  }

  .secao-sobre .imagem img {
    max-width: 80%; /* Reduz a imagem um pouco */
  }
}


.secao-sobre button {
  background-color: #007bff;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.historias {
  text-align: center;
  background-color: (--primary-color);
}

.historia {
  display: inline-block;

  margin: 20px;
  padding: fixed;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia:hover {
  transform: scale(1.1);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.historia img {
  width: 10%;
  border-radius: 5px;
}

.historia h3 {
  margin-top: 10px;
  font-size: 1.2em;
}

