/* 
 * Sobre Page Styles
 * Parte da arquitetura modular CSS do projeto Niterói View
 */

/* Apresentação do Projeto */
.apresentacao {
  background: var(--bg-light);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  border-radius: 12px;
  margin: 2.5rem 0 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.apresentacao h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.apresentacao p {
  max-width: 800px;
  margin: 0 auto 1.2rem auto;
  font-size: 1.12rem;
  color: var(--color-text);
  text-align: justify;
}

.apresentacao blockquote {
  font-style: italic;
  color: var(--color-text-muted);
  border-left: 4px solid var(--color-primary);
  margin: 1.2rem auto;
  padding-left: 1rem;
  max-width: 700px;
}

.apresentacao blockquote span {
  display: block;
  font-size: 0.98rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  text-align: right;
}

/* Seções da Página Sobre */
.secao-sobre {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
}

.secao-sobre h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.secao-sobre h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Conteúdo com Imagem e Texto */
.sobre-conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.sobre-conteudo.invertido {
  flex-direction: row-reverse;
}

.sobre-imagem {
  flex: 1;
  min-width: 300px;
}

.sobre-imagem img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.sobre-texto {
  flex: 2;
  min-width: 300px;
}

.sobre-texto p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Listas */
.lista-metodologia, .lista-futuro {
  list-style-type: none;
  padding: 0;
}

.lista-metodologia li, .lista-futuro li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.5;
}

.lista-metodologia li::before, .lista-futuro li::before {
  content: "•";
  color: var(--color-primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 0.3rem;
}

/* Equipe */
.equipe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.membro-equipe {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.membro-foto {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
  margin: 0 auto;
}

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

.membro-info {
  flex: 1;
  min-width: 300px;
}

.membro-info h4 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.membro-cargo {
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.membro-bio {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

/* Tecnologias */
.tecnologias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tecnologia {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tecnologia:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tecnologia-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tecnologia-icon img {
  max-width: 100%;
  max-height: 100%;
}

.tecnologia h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.tecnologia p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsividade */
@media only screen and (max-width: 768px) {
  .sobre-conteudo {
    flex-direction: column;
  }
  
  .sobre-conteudo.invertido {
    flex-direction: column;
  }
  
  .sobre-imagem {
    order: 1;
    margin-bottom: 1rem;
  }
  
  .sobre-texto {
    order: 2;
  }
  
  .tecnologias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .membro-equipe {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .membro-bio {
    text-align: center;
  }
}

@media only screen and (max-width: 480px) {
  .apresentacao h2 {
    font-size: 1.6rem;
  }
  
  .secao-sobre h3 {
    font-size: 1.2rem;
  }
  
  .tecnologias-grid {
    grid-template-columns: 1fr;
  }
}
