.sobre-nos {
  position: relative;
  padding: 60px 0 80px;
  color: #1a4a73;
  overflow: hidden;
  min-height: 500px;
}

.sobre-nos-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  z-index: -1;
}

/* Overlay com cor da identidade visual */
.sobre-nos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(198, 226, 255, 0.6) 0%,
    rgba(173, 216, 230, 0.55) 50%,
    rgba(198, 226, 255, 0.6) 100%
  );
  z-index: 0;
}

.sobre-nos .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho com logo */
.sobre-nos-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.sobre-nos-logo {
  height: 120px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.sobre-nos-logo:hover {
  transform: scale(1.05);
}

/* Conteúdo centralizado */
.sobre-nos-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.centered-content {
  justify-content: center;
  text-align: center;
}

.sobre-nos-info {
  width: 100%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(26, 74, 115, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-nos-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 74, 115, 0.25);
}

.sobre-nos-info p {
  margin: 0;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  color: #0a3050;
  text-align: left;
  font-size: 1.1em;
  letter-spacing: 0.01em;
  max-width: 100%;
}

/* Adicionar estilos para o título e alinhar o parágrafo à esquerda */
.sobre-nos-info h2 {
  color: #0a3050;
  text-align: left;
  margin-bottom: 20px;
  font-family: 'UniNeue', sans-serif;
  font-weight: 700;
  font-size: 2em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
  position: relative;
  padding-bottom: 12px;
}

.sobre-nos-info h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #0a3050;
  transition: width 0.3s ease;
}

.sobre-nos-info:hover h2::after {
  width: 120px;
}

/* Animação */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsividade */
@media (max-width: 768px) {
  .sobre-nos {
    min-height: 100vh; /* Fallback */
    min-height: calc(var(--vh, 1vh) * 100);
    height: 100vh; /* Fallback */
    height: calc(var(--vh, 1vh) * 100);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .sobre-nos .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: var(--spacing-md);
  }
  
  .sobre-nos-logo {
    height: 100px;
  }
  
  .sobre-nos-info {
    padding: 30px 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 80vh;
    max-height: calc(var(--vh, 1vh) * 80);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .sobre-nos-info p {
    font-size: 1em;
    line-height: 1.6;
    max-width: 100%;
  }

  .sobre-nos-info h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .sobre-nos-header {
    margin-bottom: 20px;
  }

  .sobre-nos-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sobre-nos-bg {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
  }
}

@media (max-width: 480px) {
  .sobre-nos {
    min-height: 100vh; /* Fallback */
    min-height: calc(var(--vh, 1vh) * 100);
    height: 100vh; /* Fallback */
    height: calc(var(--vh, 1vh) * 100);
    padding: 0;
  }
  
  .sobre-nos-logo {
    height: 80px;
  }
  
  .sobre-nos-info {
    padding: 25px 20px;
    max-height: 75vh;
    max-height: calc(var(--vh, 1vh) * 75);
  }
  
  .sobre-nos-info h2 {
    font-size: 1.4em;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
  
  .sobre-nos-info p {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .sobre-nos-header {
    margin-bottom: 15px;
  }
} 