@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');



/*Estilos Body*/
html {
  scroll-behavior: smooth;
  font-family: "Merriweather", serif;
  font-family: "Playfair", serif;
}
body {
  font-family: "Merriweather", serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 20px;
}

@font-face {
  font-family: 'Agatho - Regular';
  src: url(../agatho/Agatho_Regular.otf);
}
@font-face {
  font-family: 'Agatho - CAPS';
  src: url(../agatho/Agatho_CAPS.otf);
}



/* Estilos Header INDEX*/


.navbar-brand1 img {
  height: 70px; 
  width: auto; 
}
.navbar-brand2 img {
  height: 100px; 
  width: auto; 
}
.texto-branco-75 {
  color: rgba(255, 255, 255, 0.75) !important;
  font-family:Georgia, 'Times New Roman', Times, serif;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}
.textoPrim {
  font-family: 'Agatho - Regular';
  font-size: 2.5rem; /* Defina o tamanho da fonte */
  text-shadow: 3px 3px 6px rgba(87, 87, 87, 0.3);
}

.textoDireito {
  color: #b99350;
}


.btn-xl {
  padding: 1.25rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 10rem;
  background-color: #b99350;
}
.btn-xl:hover {
  background-color: #94794b;
  transform: scale(1.05); /* Efeito de leve zoom (opcional) */
}

#navPrincipal {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: background-color 0.4s ease;
}

#navPrincipal .navbar-brand {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #212529;
}

#navPrincipal .navbar-nav {
  margin-left: auto !important;
  margin-right: 100px !important;
  padding-right: 0;
  display: flex;
  justify-content: flex-end;
}

#navPrincipal .navbar-nav .nav-item .nav-link {
  color: #6c757d;
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}

#navPrincipal .navbar-nav .nav-item .nav-link:hover, 
#navPrincipal .navbar-nav .nav-item .nav-link:active {
  color: #730313;
}

#navPrincipal .navbar-nav .nav-item .nav-link.active {
  color: #730313 !important;
}

@media (min-width: 992px) {
  #navPrincipal {
    box-shadow: none;
    background-color: transparent;
  }
  
  #navPrincipal .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  
  #navPrincipal .navbar-brand:hover {
    color: #fff;
  }
  
  #navPrincipal .navbar-nav {
    margin-left: auto !important;
    margin-right: 100px !important;
    padding-right: 0;
  }
  
  #navPrincipal .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
  }
  
  #navPrincipal .navbar-nav .nav-item .nav-link:hover {
    color: #ededed;  /* Cor de texto durante o hover */
    text-decoration: underline;  /* Adiciona uma linha embaixo do texto */
    text-decoration-color: #fff;  /* Define a cor da linha como branca */
    font-weight: 700;  /* Altera o peso da fonte para destacá-la mais */
    transform: scale(1.05);  /* Aumenta ligeiramente o tamanho do texto para dar destaque */
  }
  
  #navPrincipal .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }

  #navPrincipal.navbar-shrink {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
    background-color: #751616;
  }
  
  #navPrincipal.navbar-shrink .navbar-brand {
    color: #212529;
  }
  
  
  #navPrincipal.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.868);
  }
  
  #navPrincipal.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: #ededed;  /* Cor de texto durante o hover */
    text-decoration: underline;  /* Adiciona uma linha embaixo do texto */
    text-decoration-color: #fff;  /* Define a cor da linha como branca */
    font-weight: 700;  /* Altera o peso da fonte para destacá-la mais */
    transform: scale(1.05);  /* Aumenta ligeiramente o tamanho do texto para dar destaque */
}
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 4.5rem);
  background: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.8) 100%), url("../assets/img/bg-masthead.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

header.masthead h1, header.masthead .h1 {
  font-size: 2.25rem;
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }

  header.masthead p {
    font-size: 1.15rem;
  }

  header.masthead h1, header.masthead .h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1, header.masthead .h1 {
    font-size: 3.5rem;
  }
}

/* Estilo dos ícones das redes sociais */
.social-icons {
  display: flex; /* Mantém os ícones lado a lado */
  gap: 20px; /* Espaço entre as bolinhas */
  position: absolute; /* Posicionamento absoluto */
  right: 100px; /* Aumentada a distância da direita */
  top: 50%; /* Centraliza verticalmente */
  transform: translateY(-50%); /* Ajuste fino da centralização vertical */
}

.social-icon {
  width: 35px;
  height: 35px;
  background-color: #b99350;
  border-radius: 50%; /* Forma redonda */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background-color: #730313; 
  transform: scale(1.15); /* Efeito de zoom */
}

.social-icon i {
  font-size: 18px;
  color: #ffffff;
}







/*Estilo Áreas de Atuação*/


.areas-atuacao {
  background-color: #f5f5f5;
  padding: 50px 10px;
  text-align: center;
  font-family: "Playfair", serif;
  min-height: 750px; /* Alterado de height para min-height */
}

.titulo-areas {
  font-size: 40px;
  color: #333333;
  margin-bottom: 60px;
  margin-top: 50px;
  position: relative;
}

.titulo-areas::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #b99350;
  margin: 10px auto;
}

/* Estilo para o grid de áreas */
.grid-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  max-width: 90%;
  margin: 0 auto;
  padding: 0px 100px;
}

/* Estilo para cada item da área */
.area-item {
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.area-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* Largura da linha */
  height: 6px; /* Espessura da linha */
  background-color: #b99350; /* Cor da linha */
  z-index: 2;
  transition: transform 0.9s ease, box-shadow 0.9s ease;
  transition: opacity 0.4s ease;
  border-radius: 1.8px;
}


.area-item a {
  display: block;
  text-decoration: none;
  color: inherit; /* Evita alteração de cor ao clicar no link */
}

.area-content {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.area-item:hover .area-content {
  transform: translateY(-10px); /* Levanta o item ao passar o mouse */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}
.area-item:hover::before {
  top: -10px; /* Faz a linha subir junto */
}

/* Estilo do ícone */
.area-item .icone {
  font-size: 40px;
  color: #730313;
  margin-bottom: 15px;
  padding: 15px;
  border: 0,5px solid #000000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilo do título da área */
.area-item h3 {
  font-size: 20px;
  color: #6C6662;
  margin-bottom: 10px;
}

/* Descrição que aparece no quadrado todo */
.descricao {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(183, 147, 80, 0.92);
  color: white;
  padding: 10px;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.4s ease;
  font-size: 22px;
  font-family: "Playfair", serif;
}

.area-item:hover .descricao {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1200px) {
  .grid-areas {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  }
}

@media (max-width: 992px) {
  .grid-areas {
    grid-template-columns: 1fr; /* Corrigido a sintaxe */
    padding: 0px 50px; /* Ajustado o padding para telas menores */
  }

  .areas-atuacao {
    min-height: auto;
    padding: 40px 10px;
  }

  .titulo-areas {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .grid-areas {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0px 20px;
  }

  .area-item .icone {
    font-size: 30px;
  }

  .titulo-areas {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .areas-atuacao {
    padding: 30px 10px;
  }

  .descricao {
    font-size: 18px;
  }
}

.areas-atuacao {
  overflow: hidden; /* Evita que os elementos escapem dos limites da seção */
  position: relative; /* Garante que elementos posicionados respeitem os limites da seção */
}






/*Estilo QUEM SOMOS*/

.quemsomos {
  background-color: #eef3f5;
  display: flex; 
  align-items: center;
  justify-content: center;
  height: 70vh; /* Ocupa toda a altura da viewport */
  font-family: "Playfair", serif;
  margin-top: 0;

}

.img-peb {
  width: 100%; /* Imagem ocupa toda a metade da seção */
  height: 100%; /* Preenche a altura disponível */
  object-fit: cover; /* Garante que a imagem mantenha proporção sem distorção */
  border-radius: 0; /* Remove bordas arredondadas */
  box-shadow: 0px 0px 10px #0000007c; /* Mantém a sombra */
  object-position: center 120px;
}

.text-content {
  width: 70%;
  padding: 40px; /* Espaço interno para o texto */
  color: #6c6662;
  height: auto;
}

.titulo0-comodities {
  color: #730313;
  font-size: 20px;
  margin-bottom: -20px;
  padding: 0px;
}

.titulo-quemsomos-pg {
  color: #b99350;
  font-size: 40px;
  text-shadow: 1px 1px 1.5px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  border-bottom: 1.8px solid #b99350;
  margin-right: 400px;
} 

.titulo-quem{
  color: #b99350;
  font-size: 40px;
  text-shadow: 1px 1px 1.5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border-bottom: 1.8px solid #b99350;
  margin-right: 400px;
}
.text-comodities {
  line-height: 1.5;
  font-size: 22px;
  margin-bottom: 30px;
  color: #333333;
}

.botao1 {
  padding: 6px 30px;
  background: #b00720;
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  align-self: flex-start;

  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.botao1:hover {
  background-color: #8c001a;
  transform: scale(1.05);
  color: #ffffff;
}

/* Responsividade */
@media (max-width: 992px) {
  .quemsomos {
    flex-direction: column;
    padding: 40px 20px;
  }

  .img-container, .text-content {
    width: 100%;
  }

  .img-container {
    height: 300px;
    margin-bottom: 20px;
  }

  .titulo-quemsomos {
    font-size: 32px;
    text-align: center;
  }

  .titulo0-comodities {
    text-align: center;
  }

  .botao1 {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .titulo-quemsomos {
    font-size: 28px;
  }

  .text-comodities {
    font-size: 18px;
  }
}




/* Estilo Localização */
.contato {
  background-color: #f1f1f1;
  padding: 170px 10px;
  color: #6C6662;
  font-family: "Playfair", serif;
  position: relative;
}

.titulo-contato-index {
  grid-column: 1 / -1;
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px;
  color: #6C6662;
  position: relative;
  font-family: "Playfair", serif;

}

.titulo-contato-index::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #b99350;
  margin: 5px auto;
}

.conteudo-contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: start;
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 0px;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  
  justify-content: center; /* Alinha verticalmente */
  font-family: "Playfair", serif;
}

.info-contato {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.info-item h2 {
  font-size: 20px;
  margin-bottom: 0px;
  color: #b99350;
  border-bottom: 2px solid #b99350;
  padding-bottom: 0px;
  margin-right: 400px;
  margin-top: -10px;
}

.info-item p {
  line-height: 1.6;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.item-contato {
  display: flex;
  align-items: center;
  gap: 0px;
  color: #333333;
}

.item-contato i {
  color: #730313;
  font-size: 20px;
  gap: 0px;
  margin-left: 20px;
  margin-right: -10px;
}

.botao2 {
  padding: 4px 30px;
  background: #b00720;
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 0px;
}

.botao2:hover {
  background-color: #8c001a;
  transform: scale(1.05);
  color: #ffffff;
}

iframe {
  width: 98%;
  height: 96%;
  border: none;
  min-height: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: block; /* Faz o iframe ser tratado como bloco */
  margin-top: 10px;

}

@media (max-width: 992px) {
  .conteudo-contato {
    grid-template-columns: 1fr; /* Ajusta para layout em coluna */
    gap: 20px;
  }

  .info-item h2 {
    margin-right: 0;
    font-size: 18px;
  }

  iframe {
    height: 300px; /* Ajusta a altura mínima */
  }
}

@media (max-width: 768px) {
  .titulo-contato-index {
    font-size: 32px;
  }

  .botao2 {
    align-self: center;
    font-size: 16px;
  }
}





/*Estilo Footer*/

.footer-container {
  position: relative;
  width: 100%;
  background: #730313;
}

.copyright {
  text-align: center;
  color: #DDDDDE;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.50px;
}

.footer-content {
  display: flex;
  justify-content: center; /* Centraliza os itens no contêiner */
  gap: 400px; /* Define o espaço entre os itens */
  padding: 30px 0px 30px 30px; /* Topo, direita, fundo, esquerda */
}

.company-info {
  max-width: 313px;
}

.logofoot {
  width: 200px;
  height: auto;
}

.faq-description {
  color: #DDDDDE;
  font-size: 16px;
  font-weight: 400;
  margin-left: -1px;
  line-height: 24px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

.icon {
  display: flex;
  gap: 15px; /* Espaço entre os ícones */
  margin-top: 20px;
}

.icon a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #b99350;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.icon a:hover {
  background-color: #730313; /* Cor ao passar o mouse */
}

.icon i {
  font-size: 20px;
  color: white;
}


.footer-links {
  display: flex;
  gap: 80px;

}

.links-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.links-section h3 {
  color: #b99350;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-left: 0;
  text-shadow: 1px 1px 1.5px rgba(0, 0, 0, 0.51);
}

.links-section a {
  color: white;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.links-section a:hover {
  text-decoration: underline;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .footer-links {
    gap: 80px;
  }

  .links-section {
    align-items: center;
  }

  .icon {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .faq-description {
    font-size: 14px;
  }

  .links-section h3 {
    font-size: 14px;
  }

  .links-section a {
    font-size: 12px;
  }
}




/*ESTILO PAGINA AREAS DE ATUAÇÃO*/

.container-areas {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.7) 100%), 
        url("/img/teste3.jpg"); /* Combina gradiente com a imagem */
  background-position: center 80%; /* Move a imagem para baixo (ajustar conforme necessário) */
  background-repeat: no-repeat;
  background-size: cover; /* Preenche o espaço mantendo a proporção */
  overflow: hidden; /* Garante que nenhum conteúdo "vaze" */
}

.titulo-areas-pag {
  font-size: 45px;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: 'Agatho - Regular', serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  
}

.titulo-areas-pag::after {
  content: "";
  display: block;
  width: 70%; 
  height: 2px; 
  background-color: #b99350;
  margin: 10px auto 0;
}

.grid-areas-pag {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 100px 0px;
  height: 100vh;
  margin-right: 0;
  margin-left: 70px;
  width: 100%;
}

.areas-lista {
  flex: 0.18;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.empresa-logo {
  width: 180px;
  display: block;
  margin: 0 auto;
}

.areas-lista ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.areas-lista li {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  padding: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.areas-lista li:hover {
  background-color: #b99350;
  color: #fff;
}

.detalhamento-container {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  height: 200px;
}

.detalhamento {
  display: none;
  flex-direction: row;
  align-items: flex-start;
  width: 110%;
}

.detalhamento.active {
  display: flex;
}

.texto-detalhamento {
  flex: 4;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.texto-detalhamento h2 {
  font-size: 24px;
  color: #b99350;
  position: relative;
}

.texto-detalhamento h2::after {
  content: "";
  display: block;
  width: 50%; 
  height: 2px; 
  background-color: #b99350;
  margin: 10px auto 0;
  position: absolute;
  bottom: -5px;
}

.texto-detalhamento p {
  font-size: 16px;
  color: #414141;
  line-height: 1.6;
  margin-bottom: 60px;
}

.retangulo-barra {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.retangulo-barra .barra {
  width: 10px;
  height: 140px;
  background-color: #b992509b;
}

.retangulo-barra .text-barra {
  flex: 1;
  font-size: 16px;
  color: #545b61ba;
  line-height: 1.6;
  margin-left: 0;
  max-width: 400px;
}

.imagem-detalhamento {
  flex: 2.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagem-detalhamento img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-left: 10px;
}

/*SEÇÃO 2 - DOS CARTÕES*/

.areas-section {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 150px;
  background-color: #f7f7f7;
  padding-left: 100px;
  padding-right: 100px;
}

.areas-title {
  font-family: 'Agatho', serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.areas-line {
  width: 60px;
  height: 2px;
  background-color: #b99350;
  margin: 20px auto;
}

.areas-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.area {
  width: 220px;
  height: 400px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 30px;
}

.area i {
  font-size: 40px;
  color: #b99350;
  margin-bottom: 20px;
}

.area .area-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.area .area-description {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.area .btn-saiba-mais {
  padding: 12px 20px; /* Ajustando o padding */
  background-color: #b99350;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin: 20px auto 0; /* Centraliza horizontalmente e adiciona margem no topo */
  width: 75%; /* Largura do botão */
  display: block; /* Permite o uso de margin: 0 auto */
  text-align: center; /* Centraliza o texto dentro do botão */
  transition: background-color 0.3s ease; /* Adiciona transição suave */
}
@media screen and (max-width: 768px) {
  .container-areas {
    margin-bottom: 100px; /* Ajusta o espaço em telas menores */
  }
  
  .areas-section {
    padding-top: 80px;
  }

  .texto-detalhamento {
    margin-bottom: 30px;
  }

  .imagem-detalhamento {
    margin-bottom: 30px;
  }
}



                                             /*ESTILO ABA CONTATO*/


/* Estilização da seção de imagem com o título "Contato" */
.contato-image {
  width: 100%;
  height: 50px; /* Ajuste a altura conforme necessário */
  object-fit: cover; /* Garante que a imagem ocupe toda a largura sem deformar */
  margin-bottom: -80px;
}

/* Seção Contato com Retângulo de Características */
.contato-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: none; /* Remove qualquer cor de fundo que possa causar a faixa branca */

}

/* Estilo do Retângulo de Características */
.retangulo-caracteristicas {
  display: flex;
  position: absolute;
  justify-content: space-around;
  align-items: center;
  background-color: #efefeff8;
  padding: 25px 10px;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  width: 20%;
  max-width: 1200px;
  margin-top: 5%;
}

.titulo-contato {
  font-size: 36px;
  color: #b99350;
  font-family: 'Agatho - Regular', serif;
  position: relative;
  margin: 0;
  padding: 0;
}


/* Imagem de fundo */
.contato-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  margin-top: 100px;
}

/* Título metade na imagem e metade na seção de baixo */
.titulo-dividido {
  position: absolute;
  bottom: -65px; 
  left: 15%; 
  transform: translateX(-50%);
  color: #b99350;
  font-family: 'Agatho - CAPS';
  font-size: 3rem;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  background-color: #fcfcfc; /* Fundo semitransparente */
  padding: 25px 40px;
  box-shadow: 1px 1px 1px rgba(2, 1, 1, 0.3);
  border-radius: 8px;
  font-weight: bold;
}



.caracteristicas {
  display: flex;
  gap: 10px;
}

.caracteristica {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.caracteristica p {
  font-size: 18px;
  margin-top: 10px;
  font-family: 'Agatho - Regular', serif;
}

.icone {
  font-size: 36px; /* Ajuste do tamanho do ícone */
  color: #b99350; /* Cor do ícone */
}
/* Responsividade */
@media (max-width: 768px) {
  .retangulo-caracteristicas {
    flex-direction: column;
    gap: 20px;
  }
}


.titulo-infos{
  display: flex;
  align-items: center; /* Alinha os itens verticalmente no centro */
  margin-bottom: 15px;
}
.logo-contato{
  height: 80px;
  width: 80px;
}

/* Estilo geral para a seção de formulário e informações com fundo contínuo */
.form-container {
  display: flex;
  justify-content: center; /* Centraliza os itens horizontalmente */
  align-items: flex-start; /* Alinha os itens no topo */
  gap: 20px; /* Espaçamento entre as duas colunas */
  padding: 100px 13%; 
  background-color: #B2D430; /* Cor do fundo */
  padding-bottom: 170px;
  padding-top: 250px;
}

.info-contato {
  flex: 1;
  margin-right: 20px;
  padding: 20px;
  color: #6c6662; /* Cor do texto dentro da informação */
  font-family: 'Agatho - Regular', serif;
  font-size: 25px;
}

.info-item {
  margin-bottom: 15px;
}

.info-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #b99350;
  font-family: 'Agatho - Regular', serif;
  border-top: 1.8px solid #b99350;
  margin-right: 60%;
  margin-top: 10px; 
  padding-top: 10px; 
  margin-bottom: -10px;
}

.info-item p {
  font-size: 16px;
}

form {
  flex: 2;
  padding: 50px;
  background-color: #fff; /* Formulário com fundo claro */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }

  .info-contato {
    margin-bottom: 20px;
    margin-right: 0;
  }
}


/* Estilização do asterisco para os campos obrigatórios */
.required {
  color: #730313;
  font-weight: normal;
  margin-left: 5px;
}
.form-container{
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  min-height: 100vh; /* Garante que a altura mínima seja igual à altura da tela */
  margin: 0; /* Remove margens padrão */
  background-color: #f4f4f4; /* Fundo para destacar o conteúdo */
}
/* Estilização geral do formulário */
form {
  width: 300px;
  max-width: 550px; /* Largura máxima do formulário */
  margin: 0 auto; /* Centraliza o formulário */
  padding: 30px;
  background-color: #f9f9f9; /* Fundo claro */
  border: 1px solid #ddd; /* Borda leve */
  border-radius: 8px; /* Cantos arredondados */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  height: 520px;
}

/* Estilização dos labels */
form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333; /* Cor do texto */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Estilização dos inputs e textarea */
form input, 
form textarea {
  color: #333; /* Cor do texto */
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc; /* Borda leve */
  border-radius: 4px; /* Cantos arredondados */
  font-size: 16px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  box-sizing: border-box; /* Inclui padding na largura total */
}

/* Estilização do select (campo de assunto) para combinar com os outros campos */
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc; /* Borda leve */
  border-radius: 4px; /* Cantos arredondados */
  font-size: 16px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  box-sizing: border-box; /* Inclui padding na largura total */
}
input:focus, textarea:focus {
  outline: none; /* Remove o estilo padrão da borda */
  border: 2px solid #730313; /* Define uma borda vermelha */
  box-shadow: 0 0 5px rgb(251, 251, 251); /* Adiciona uma sombra vermelha */
}


/* Estilo da mensagem de erro */
.error-message {
  position: absolute;
  background-color: rgba(255, 0, 0, 0.8); /* Fundo vermelho com transparência */
  color: white;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
  display: none; /* Inicialmente oculta */
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; /* Impede interações com a mensagem */
}

.error-message::after {
  content: '';
  position: absolute;
  top: -5px; /* Seta para cima */
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(255, 0, 0, 0.8); /* Seta para baixo */
}



/* Foco nos campos de entrada */
form input:focus, form textarea:focus {
  border-color: #730313;
  outline: none;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Estilização do botão */
form button {
  width: 100%;
  padding: 10px;
  background-color: #9a051c; /* Cor do botão */
  color: white; /* Cor do texto */
  border: none;
  border-radius: 500px; /* Cantos arredondados */
  font-size: 20px;
  font-weight: bold;
  cursor: pointer; /* Muda o cursor ao passar no botão */
  transition: background-color 0.3s ease; /* Transição suave ao hover */
}

/* Hover no botão */
form button:hover {
  background-color: #53010d; /* Cor mais escura ao passar o mouse */
}

/* Responsividade */
@media (max-width: 600px) {
  form {
      padding: 15px;
  }

  form button {
      font-size: 14px;
      padding: 10px;
  }
}
@font-face {
  font-family: 'Agatho - Regular';
  src: url(../agatho/Agatho_Regular.otf);
}




/*ESTILO ABA SOBRE NOS */



/* Seção 1 - Sobre */
.container-quemsomos {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.7) 100%), 
              url("/img/teste2.jpg"); /* Combina gradiente com a imagem */
  background-position: center bottom; /* Mostra a parte inferior da imagem */
  background-repeat: no-repeat;
  background-size: cover; /* Preenche o espaço mantendo a proporção */
  overflow: hidden; /* Garante que nenhum conteúdo "vaze" */
}

.titulo-quemsomos {
  font-size: 45px;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: 'Agatho - Regular', serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Destaque do texto */
  border-bottom: 1.8px solid #b99350;
}

.titulo-quemsomos-pag::after {
  content: "";
  display: block;
  width: 70%; 
  height: 2px; 
  background-color: #b99350; /* Cor da linha */
  margin: 10px auto 0;
}



/* SEÇÃO 3 - PORQUE ESCOLHER NOSSO...(ANTES DA 2)*/
.section-sobre03 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fafafa; /* Fundo branco e limpo */
  max-width: 100%;
  padding: 100px 100px;
}

.titulo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 0 !important;
}

.logo-pequeno {
  height: 60px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  padding-left: 10px !important;
}

.titulo-section3 {
  font-size: 2.5rem;
  color: #333;
  margin: 0;
  margin-left: -20px !important;
  font-weight: 600;
  font-family: "Playfair", serif;
  letter-spacing: -0.5px;
}

.l3 {
  border-top: 2px solid #b99350; /* Linha mais fina e elegante */
  margin: 20px 0;
  width: 80px; /* Largura reduzida */
}

.text-pq {
  font-size: 16px;
  color: #555; /* Cor suave para melhor leitura */
  line-height: 1.8; /* Espaçamento amplo entre linhas */
  margin-bottom: 25px;
  font-weight: 400;
  font-family: "Merriweather", serif;
}

/* Responsividade */
@media (max-width: 768px) {
  .section-sobre03 {
    padding: 50px 20px;
  }

  .titulo-container {
    flex-direction: column;
    text-align: center;
    gap: 15px; /* Espaçamento menor em telas pequenas */
  }

  .titulo-section3 {
    font-size: 1.8rem; /* Tamanho menor para telas menores */
  }

  .logo-pequeno {
    height: 50px; /* Tamanho menor em telas pequenas */
  }

  .l3 {
    width: 60px; /* Largura menor em telas pequenas */
  }

  .text-pq {
    font-size: 15px; /* Tamanho menor para telas menores */
  }
}


/* Seção 2 - HISTÓRIA */
.section-sobre02 {
  display: flex;
  height: 600px;
  justify-content: center;
  align-items: center;
  padding: 0px 50px;
  gap: 200px;
  background: radial-gradient(circle, #e0e0e052 2px, transparent 2px),
              radial-gradient(circle, #e0e0e052 2px, transparent 2px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;

}

.titulo-section2 {
  font-size: 2.3rem;
  width: 650px;
  text-shadow: 1px 1px 0.2px rgba(101, 101, 101, 0.2);
  color: #555555;
  letter-spacing: -0.5px;
  margin-right: -90px;
}

.text-section2 {
  font-family: Basetica, Helvetica Neue, Arial, Verdana, sans-serif;
  font-size: 20px;
  color: #555555;
  width: 600px;
  line-height: 1.5;
  font-weight: 400;
}

.l3 {
  border-top: 3px solid #b99350;
  margin-left: 20px;
  margin-right: 350px;
  margin-top: 0px;
  margin-bottom: 50px;
}

.sobre02 {
  height: 95%; /* Ajuste na altura da imagem */
  width: 400px; /* Ajuste na largura da imagem */
  border: 2px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0px 0px 10px #0000007c;
  object-fit: cover; /* Garante que a imagem cubra o espaço sem distorção */
  
}

/* Seção 3 - Quem Somos (Sócias) */
.socias {
  padding: 10px;
  width: 100%;
  background-image: url(/img/back-socias.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.titulo-socias {
  font-size: 2.5rem;
  font-weight: bold;
  color: #5b5b5b;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-family: 'Playfair Display', serif;
  text-align: center;
  padding: 40px;
}

.titulo-socias::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #b99350;
  margin: 10px auto;
}

.ebooks {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.retangulo-socia {
  width: 300px; /* Tamanho fixo para os retângulos */
  height: 450px;
  position: relative;
  overflow: hidden;
  margin: 10px;
  box-shadow: 0px 0px 10px #616060;
}

.foto-socia {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.img-socia1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.retangulo-socia:hover .img-socia1 {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.nome {
  position: absolute;
  bottom: 45px;
  left: 0;
  background-color: #b99350;
  color: white;
  font-size: 1.4rem;
  padding: 10px;
  margin: 0;
  width: 100%; /* Largura total */
  text-align: left;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.oab {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #efefef;
  background-color: #b99350;
  font-size: 1rem;
  padding: 15px 10px;
  margin: 0;
  width: 100%; /* Largura total */
  text-align: left;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 3px;
  width: 50%;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  background-color: #730313; /* Cor de fundo ajustada */
  padding: 10px;
  border-radius: 3px 3px 0 0;
}

.modal-header img {
  display: none; /* Remove a foto */
}

.modal-info h2 {
  margin: 0;
  font-size: 24px;
  color: white;
  text-align: left; /* Alinha o nome à esquerda */
  font-family: "Merriweather", serif;
  text-shadow: rgba(255, 255, 255, 0.786);
  padding-left: 20px;
  padding-top: 10px;
}

.modal-info p {
  font-size: 16px;
  color: #b99350;
  text-align: left; /* Alinha o nome à esquerda */
  font-family: "Merriweather", serif;
  text-shadow: rgba(255, 255, 255, 0.918);
}

#modal-curriculo {
  padding: 20px;
}

#modal-curriculo p {
  margin-left: 20px; /* Adiciona espaço para as bolinhas */
  position: relative;
}

#modal-curriculo p::before {
  content: "•";
  position: absolute;
  left: -15px;
  color: #b99350; /* Cor das bolinhas */
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: #fff;
}







/* Estilos para Dispositivos Móveis */
@media (max-width: 768px) {
  /* Cabeçalho/Navegação */
  .navbar-brand1 img {
    height: 50px; /* Logo menor em dispositivos móveis */
  }

  .navbar-brand2 img {
    height: 70px;
  }

  .textoPrim {
    font-size: 2rem; /* Texto principal menor */
  }

  /* Seção Áreas de Atuação */
  .grid-areas {
    grid-template-columns: 1fr; /* Uma coluna em móveis */
    padding: 0 20px;
  }

  .area-item {
    margin-bottom: 20px;
  }

  /* Seção Quem Somos */
  .quemsomos {
    flex-direction: column; /* Empilha elementos */
    height: auto;
    padding: 40px 20px;
  }

  .img-container {
    width: 100%;
    margin-bottom: 30px;
  }

  .text-content {
    width: 100%;
    padding: 20px;
  }

  .titulo-quemsomos-pg {
    margin-right: 0;
    font-size: 32px;
  }

  /* Seção Contato */
  .contato {
    padding: 50px 20px;
  }

  .conteudo-contato {
    grid-template-columns: 1fr; /* Uma coluna */
    gap: 30px;
  }

  .info-item h2 {
    margin-right: 0;
  }

  iframe {
    height: 250px; /* Mapa menor em móveis */
  }

  /* Página de Áreas */
  .grid-areas-pag {
    flex-direction: column;
    margin: 20px;
    height: auto;
    padding: 40px 0;
  }

  .areas-lista {
    width: 100%;
    margin-bottom: 30px;
  }

  .detalhamento {
    flex-direction: column;
    width: 100%;
  }

  .texto-detalhamento {
    padding: 20px;
  }

  .retangulo-barra {
    flex-direction: column;
    gap: 10px;
  }

  .retangulo-barra .barra {
    width: 100%;
    height: 4px;
  }

  .retangulo-barra .text-barra {
    max-width: 100%;
  }

  /* Página Quem Somos */
  .section-sobre02 {
    padding: 40px 20px;
    gap: 30px;
  }

  .titulo-section2,
  .text-section2 {
    width: 100%;
  }

  .sobre02 {
    width: 100%;
    max-width: 400px;
    height: 400px;
  }

  .l3 {
    margin: 20px auto;
  }

  /* Seção Sócias */
  .retangulo-socia {
    width: 280px;
    height: 420px;
    margin: 15px auto;
  }

  .nome {
    font-size: 1.2rem;
    padding: 8px;
  }

  .oab {
    font-size: 0.9rem;
    padding: 12px 8px;
  }

  /* Ajustes do Modal */
  .modal-content {
    width: 90%;
    margin: 20px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-info h2 {
    font-size: 20px;
    padding-left: 10px;
  }

  #modal-curriculo {
    padding: 15px;
  }

  #modal-curriculo p {
    margin: 10px 0 10px 20px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
  .titulo-section3,
  .titulo-section2,
  .titulo-socias {
    font-size: 24px;
  }

  .text-pq,
  .text-section2 {
    font-size: 15px;
  }

  .retangulo-socia {
    width: 260px;
    height: 400px;
  }

  .nome {
    font-size: 1.1rem;
  }

  .oab {
    font-size: 0.85rem;
  }
}

/* Ajustes gerais de responsividade */
@media (max-width: 1200px) {
  .footer-content {
    gap: 200px; /* Reduz o espaço entre as seções do footer */
  }

  .grid-areas {
    padding: 0 50px; /* Reduz o padding lateral */
  }
}

@media (max-width: 992px) {
  .footer-content {
    gap: 100px;
    padding: 30px 20px;
  }

  .grid-areas-pag {
    margin: 0;
    padding: 50px 20px;
    width: auto;
  }

  .detalhamento {
    width: 100%;
  }

  .quemsomos {
    height: auto;
    padding: 60px 20px;
  }

  .text-content {
    width: 100%;
    padding: 20px;
  }

  .titulo-quemsomos-pg {
    margin-right: 0;
  }

  .section-sobre02 {
    flex-direction: column;
    height: auto;
    gap: 50px;
    padding: 40px 20px;
  }

  .titulo-section2,
  .text-section2 {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .sobre02 {
    width: 100%;
    max-width: 400px;
    height: 400px;
  }

  .l3 {
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  /* Header ajustes */
  .navbar-brand1 img {
    height: 50px;
  }

  #navPrincipal .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #751616;
    padding: 15px;
    z-index: 1000;
  }

  /* Footer ajustes */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .links-section {
    align-items: center;
    width: 100%;
  }

  /* Áreas de atuação ajustes */
  .grid-areas {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .area-item {
    margin-bottom: 30px;
  }

  /* Quem somos ajustes */
  .section-sobre02 {
    padding: 40px 20px;
    gap: 30px;
  }

  .titulo-section2,
  .text-section2 {
    width: 100%;
  }

  .sobre02 {
    width: 100%;
    max-width: 400px;
    height: 400px;
  }

  /* Contato ajustes */
  .form-container {
    padding: 150px 20px 50px;
  }

  .info-contato {
    width: 100%;
  }

  form {
    width: 100%;
  }

  .titulo-dividido {
    left: 50%;
    font-size: 2rem;
    padding: 15px 25px;
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  /* Ajustes para telas muito pequenas */
  .navbar-brand1 img {
    height: 40px;
  }

  .titulo-areas,
  .titulo-quemsomos-pg,
  .titulo-contato-index {
    font-size: 24px;
  }

  .social-icons {
    margin-left: 10px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  .titulo-dividido {
    font-size: 1.5rem;
    padding: 12px 20px;
  }

  .form-container {
    padding-top: 120px;
  }

  form {
    padding: 15px;
  }
}

/* Correções de overflow */
body {
  overflow-x: hidden; /* Previne scroll horizontal */
}

.container-areas,
.container-quemsomos,
.section-sobre03,
.section-sobre02,
.socias,
.form-container,
.footer-container {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ajustes de largura máxima para conteúdo */
.grid-areas,
.conteudo-contato,
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Ajustes de padding responsivo */
.section-sobre03,
.section-sobre02 {
  padding: 60px 5%;
}

@media (max-width: 576px) {
  .section-sobre03,
  .section-sobre02 {
    padding: 40px 20px;
  }
}