body{
    font-family:Arial, Helvetica, sans-serif;
    background-color: #F6F6F6;
    margin: 0;
    display: flex;
    flex-direction: column; 
    min-height: 100vh
}

main{
  flex-grow: 1;}

.titulo{
  font-weight: bold;
}

header {   
  background-color: #f6f6f6;
  border-bottom: 1px solid #ddd;
  width: 100%; 
  box-sizing: border-box;

  position: sticky; 
  
  top: 0; 
  
  z-index: 1000; 
  
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conteiner {
 
  max-width: 75rem;
  

  margin-left: auto;
  margin-right: auto;
  

  padding-left: 1.25rem;
  padding-right: 1.25rem;
  

}


header .conteiner {

  display: flex;
  
 
  justify-content: space-around;
  

  align-items: center;
  
  
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}


.menu ul {
  list-style: none; 
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  
  margin-right: 1.25rem; 
}

.menu a {
  text-decoration: none;
  color:  #831416;
  font-weight: bold;
  font-size: 1.3rem; 
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #831416;
}

/* --- BOTÃO APENAS LOGO (CIVIS) --- */

.btn-civis-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px; /* Um pouco de espaço nas laterais para não grudar */
    height: 100%;    /* Garante alinhamento com o menu */
}

.btn-civis-logo img {
    height: 20px; /* Ajuste este valor para aumentar/diminuir a logo */
    width: auto;  /* Mantém a proporção correta */
    transition: transform 0.3s ease; /* Animação suave */
    
    /* Opcional: Se a logo for muito escura, este filtro inverte a cor ao passar o mouse */
    /* filter: grayscale(100%); */
}

/* Efeito ao passar o mouse: a logo cresce levemente */
.btn-civis-logo:hover img {
    transform: scale(1.15); /* Aumenta 15% */
    cursor: pointer;
}

.logo img {
 
  max-height: 3.125rem; 
  width: auto;
  display: block; 
}






.boas_vindas {
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  height: 2%;
  flex: 1;

  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center; 
  
  
  padding-top: 2.5rem;    
  padding-bottom: 2.5rem; 
  
 
  border-bottom: 1  px solid #ddd;
  
}

.boas_vindas h1 {
  font-size: 5rem; 
  color:  #831416;
  
  
  margin-top: 0;
  margin-bottom: 0;
}

.boas_vindas h3 {
  font-size: 2rem; 
  color: #831416;
  
  
  margin-top: 0;
  margin-bottom: 0;
}
.boas_vindas img {
 
  max-height: 10rem; 
  width: auto;
  
  
  margin-top: 1rem; 
}

.boas_vindas p{
    font-size: 1.5rem;
    color: black;
}


/* --- SEÇÃO SOBRE E NOTÍCIAS (ATUALIZADO) --- */

.sobre {
  display: flex;
  /* MUDANÇA IMPORTANTE: 'stretch' faz as colunas terem a mesma altura */
  align-items: stretch; 
  gap: 2rem; 
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #ddd;
  max-width: 1100px;
  margin: 0 auto; /* Centraliza a section na tela */
}

/* Coluna da Esquerda */
.sobre-texto {
  flex: 1; /* Ocupa 50% do espaço */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza o texto verticalmente */
}

.sobre-texto h2 {
  font-size: 2.5rem; 
  color: #831416; 
  margin-top: 0;
}

.sobre-texto p {
  font-size: 1.5rem; 
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

/* Coluna da Direita */
.coluna-direita {
  flex: 1; /* Ocupa os outros 50% do espaço */
  display: flex;
  flex-direction: column; /* Um bloco embaixo do outro */
  gap: 1.5rem; /* Espaço entre os dois blocos */
}

/* A MÁGICA: Os blocos que esticam */
.bloco-igual {
 flex:1;/* Força os dois blocos a terem O MESMO TAMANHO, dividindo a altura */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  margin: 0; /* Remove margem padrão do fieldset */
  /* Para alinhar o conteúdo interno bonitinho */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
  padding-top: 5px;
}
.bloco-igual legend {
  background-color: #831416;
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
}

/* Ajustes de conteúdo interno */
.conteudo-interno h3 {
    margin-top: 0;
    color: #831416;   
    text-align: left;
    margin-bottom: 0px;
    font-size: 1rem;
}
.conteudo-interno p{
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  margin-bottom: 0;
}
.conteudo-interno p:last-child{
  border-bottom: none;
  margin: 0;
}
.conteudo-interno fieldset{
    border-style: none;
    border-left: solid 3px blue;
    margin-bottom: 10px;
}
.conteudo-interno{
    overflow-y: auto;
    height: 320px;
}
.noticia time {
  display: block;
  font-size: 0.85em;
  color: #555;
  margin-bottom: 4px;
}
.noticia{
    padding: 0.5rem;
    text-align: left;
    background-color:#f9fafb;
    border-bottom: 1px solid #ccc;
}
.noticia a{
    font-size: 0.85rem;
    color: black;
    text-decoration: none;
}

.civis-layout {
    display: flex;
    flex-direction: column; /* Coloca Imagem EM CIMA do Texto */
    align-items: center;    /* Centraliza a imagem horizontalmente */
    text-align: center;     /* Centraliza o parágrafo de texto */
    gap: 1rem;              /* Espaço entre a imagem e o texto */
    height: 100%;           /* Garante que use todo o espaço para centralizar */
    justify-content: center;
}

.civis-layout img {
    max-width: 300px;
    height: auto;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .sobre {
    flex-direction: column; /* Empilha no celular */
  }
  
  .coluna-direita {
    width: 100%;
    min-height: 400px; /* Altura mínima no celular */
  }
}

.pesquisa {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #fff;
}

.pesquisa h2 {
    font-size: 2.5rem;
    color: #831416;
    text-align: center;
    margin-bottom: 3rem;
}

.pesquisa-colunas {
    display: flex; 
    max-width: 1100px; 
    margin: 0 auto;
    gap: 0; 
}


.coluna {
    flex: 1; 
    padding: 0 2rem; 
}

.coluna.esquerda {
    border-right: 2px solid #ddd; 
}

.pesquisa-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px dashed #ccc; 
}

.pesquisa-item:last-child {
    border-bottom: none;
}

.icone-livro {
    flex-shrink: 0;
    width: 70px; 
    height: 70px;
    background-color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    border: 2px solid #831416;
}

.icone-livro img {
    max-width: 35px;
    height: auto;
}

.texto-livro h3 {
    color: #831416;
    font-size: 1.4rem;
    font-family: 'Georgia', serif;
    text-align: left;
}

.texto-livro p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    text-align: justify;
}

@media (max-width: 768px) {
    .pesquisa-colunas {
        flex-direction: column; 
    }
    
    .coluna.esquerda {
        border-right: none; 
        border-bottom: 2px solid #ddd; 
    }
    
    .coluna {
        padding: 0; 
    }
}

footer {
  
  background-color: #333; 
  color: #f4f4f4;
  
  
  padding-top: 2rem;
  padding-bottom: 2rem;
  
 
  margin-top: 2.5rem;
  
}


footer .conteiner {
  text-align: center;
}

footer img {
  max-height: 6rem;
  width: auto;
  margin-bottom: 1rem;
}
.img-rodapé{
    margin-bottom: 0px;
}



footer p {
  margin: 0.5rem 0 0 0; 
  font-size: 0.9rem; 
  color: #fff; 
}


footer p:first-of-type {
  font-weight: bold;
  color: #fff; 
  font-size: 1rem;
}

/*noticias*/
.noticias{
    background-color: #fff;
    max-width: 75rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 10px;
    padding:30px;
}
.noticias p{
    padding-bottom: 15px;
    border-bottom: solid 1px #ccc;
}
.noticias legend{
  background-color: #831416;
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
}


.intro-projetos {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.intro-projetos h1 {
    color: #831416;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-projetos p {
    color: #555;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}


.lista-projetos {
    display: flex;
    flex-direction: column; 
    gap: 2rem;
    padding-bottom: 4rem;
}


.card-projeto {
    display: flex; 
    background-color: white;
    border: 1px solid #ddd;
    border-left: 5px solid #831416; 
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-projeto:hover {
    transform: translateX(5px); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}


.projeto-info {
    flex: 1; 
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.projeto-info h3 {
    color: #831416;
    font-size: 1.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.projeto-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


.topo-card { margin-bottom: 0.5rem; }

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}
.status.em-andamento { background-color: #e67e22; }
.status.concluido { background-color: #27ae60; }

.btn-projeto {
    align-self: flex-start; 
    text-decoration: none;
    color: #831416;
    font-weight: bold;
    border: 1px solid #831416;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.btn-projeto:hover {
    background-color: #831416;
    color: white;
}



.projeto-equipe {
    width: 300px; 
    background-color: #f9f9f9; 
    border-left: 1px solid #eee;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 1.5rem;
}

.bloco-equipe h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.bloco-equipe p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}


@media (max-width: 768px) {
    .card-projeto {
        flex-direction: column; 
        border-left: 1px solid #ddd;
        border-top: 5px solid #831416; 
    }
    
    .projeto-equipe {
        width: 100%; 
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row; 
        flex-wrap: wrap;
    }
}

.lista-publicacoes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
    padding-bottom: 4rem;
}

.card-publicacao {
    display: flex; 
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card-publicacao:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #831416; 
}





.pub-info {
    padding: 1.5rem;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.pub-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.4rem;
}


.autores {
    font-style: italic;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.onde-publicado {
    color: #333;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
}

.onde-publicado strong {
    color: #831416; 
}
.link-pub {
    align-self: flex-start;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    color: #831416;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.link-pub:hover {
    border-bottom: 1px solid #831416;
}

@media (max-width: 600px) {
    .card-publicacao {
        flex-direction: column;
    }
    .pub-ano {
        width: 100%;
        padding: 0.5rem;
        min-height: auto;
    }
}



.intro-equipe {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.intro-equipe h1 {
    color: #831416;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.titulo-secao-equipe {
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}


.grid-equipe {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 2rem; 
    padding-bottom: 4rem;
}


.card-membro {
    background-color: white;
    width: 280px; 
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    overflow: hidden;
    text-align: center; 
    padding: 2rem 1.5rem; 
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-membro:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #831416; 
}

.foto-container {
    margin-bottom: 1.5rem;
}

.foto-container img {
    width: 140px; 
    height: 140px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid #f4f4f4; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-membro h3 {
    margin: 0;
    color: #831416;
    font-size: 1.4rem;
}

.cargo {
    display: block; 
    color: #666;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-membro p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.link-lattes {
    display: inline-block;
    text-decoration: none;
    color: #831416;
    border: 1px solid #831416;
    padding: 0.5rem 1rem;
    border-radius: 20px; 
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.link-lattes:hover {
    background-color: #831416;
    color: white;
}

.instruçao{
  text-align: center;
  text-align: justify;

}

.instruçao h1{
  color: #831416;
  text-align: justify;
  text-align: center;
  font-size: 2rem;
}

.instruçao h2{
  text-align: center;
  font-size: 1rem;

}

.instruçao a{
  color: black;
  text-decoration: none;
}

.instruçao a:hover{
  color: black;
  text-decoration: none;
}

footer a{
  color: white;
  text-decoration: none;
}

footer img{
  border-radius:50px;
}
.construçao h1{
  font-size: 4rem;
  text-align: center;
  color: #831416;
}

/*civis*/

/* --- ESTILOS DA PÁGINA CIVIS --- */

.pagina-civis {
    padding-top: 3rem;
    padding-bottom: 4rem;
    text-align: center; /* Centraliza logo e títulos */
}

/* 1. Logo e Título */
.civis-header {
    margin-bottom: 3rem;
}

.logo-destaque {
    max-width: 400px; /* Tamanho da logo no topo */
    height: auto;
    margin-bottom: 1rem;
    /* Opcional: filtro para melhorar contraste se precisar */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.civis-header h1 {
    color: #831416;
    font-size: 2.5rem;
    margin: 0;
}


/* 2. Fieldset de Informações */
.box-informacoes {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 2.5rem; /* Espaço interno generoso */
    max-width: 1100px; /* Largura ideal para leitura */
    margin: 0 auto 3rem auto; /* Centraliza na tela e empurra o vídeo para baixo */
    text-align: left; /* O texto dentro volta a ficar alinhado à esquerda/justificado */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 0px;
    margin-top: 2rem;
}

.box-informacoes legend {
    background-color: #831416;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.texto-civis p {
    font-size: 1.1rem;
    line-height: 1.8; /* Bom espaçamento entre linhas */
    color: #444;
    text-align: justify; /* Texto justificado fica elegante */
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px #ccc;
}

.texto-civis p:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.texto-civis h1{

    color: #831416;
    font-size: 2.5rem;
    margin: 0;
}

/* 3. Área do Vídeo */
.civis-video-area h2 {
    color: #831416;
    font-size: 2rem;
    margin-bottom: 2rem;
}


.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Mesma largura do texto */
    margin: 0 auto;
    aspect-ratio: 16 / 9; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-color: black; /* Fundo preto enquanto carrega */
    margin-bottom: 5rem;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsividade */
@media (max-width: 768px) {
    .box-informacoes {
        padding: 1.5rem;
    }
    
    .civis-header h1 {
        font-size: 1.8rem;
    }
} 

