/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background: #333;
  color: #fff;
  padding: 20px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-width: 150px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Seção Hero */
.hero {
  background: url('fundo.png') no-repeat center center/cover;
  color: #ffffff;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero .container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 30px;
}

.btn {
  background: #e8491d;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
}

/* Seções Gerais */
section {
  padding: 60px 0;
}

section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
}

section p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
}
#sobre p {
  text-align: justify;
}
/* Seção Serviços */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: justify;
}

.servico-item {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.servico-item h3 {
  text-align: center; /* Garante que os títulos fiquem centralizados */
  margin-bottom: 10px;
}

.servico-item p {
  text-align: justify; /* Justifica o texto principal */
  margin-top: 10px;
}

/* Seção Contato */
.contato-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  max-width: 400px;
  width: 100%;
}
.endereco-item{
  display: flex;
  align-items: flex-start;
  max-width: 969px;
  width: 100%;
}
.icone {
  font-size: 20px; /* Reduziu para 20px */
  color: #000000;
  margin-right: 20px;
}

.contato-texto h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
}

.contato-texto p {
  margin-bottom: 8px;
  font-size: 18px;
  text-align: left;
}

.contato-texto a {
  color: #000000;
  text-decoration: none;
  text-align: left;
}

.contato-texto a:hover {
  text-decoration: underline;
}

/* Mapa Responsivo */
.contato-texto iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 5px;
  margin-top: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 20px;
  }

  /* Ajustes na Seção Contato para dispositivos móveis */
  .contato-info {
    flex-direction: column;
    align-items: center;
  }

  .icone {
    font-size: 24px; /* Ajuste para dispositivos móveis */
    margin-right: 15px;
  }

  .contato-texto h3 {
    font-size: 20px;
  }

  .contato-texto p {
    font-size: 16px;
  }

  .contato-texto iframe {
    height: 200px; /* Reduz a altura do mapa em dispositivos móveis */
  }

  /* Efeitos de Hover */
  .icone:hover {
    color: #c43e10; /* Cor diferente ao passar o mouse */
    transform: scale(1.1); /* Aumenta ligeiramente o tamanho */
    transition: all 0.3s ease;
  }

  /* Efeito de Hover nos Links */
  .contato-texto a:hover {
    color: #c43e10; /* Cor diferente ao passar o mouse */
    text-decoration: underline;
    transition: color 0.3s ease;
  }
}

/* Rodapé */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Efeito de Hover nos Ícones */
.icone:hover {
  color: #c43e10; /* Cor diferente ao passar o mouse */
  transform: scale(1.1); /* Aumenta ligeiramente o tamanho */
  transition: all 0.3s ease;
}

/* Efeito de Hover nos Links */
.contato-texto a:hover {
  color: #c43e10; /* Cor diferente ao passar o mouse */
  text-decoration: underline;
  transition: color 0.3s ease;
}
