/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #2c2c2c;
}

/* Header */
.header {
  background-color: #0a1a2f;
  color: #fff;
  padding: 5px 5px;
  text-align: center;
  height: 130px;
}

.header .logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 2em;
  line-height: 1.3;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 95%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 80px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 2.8em;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero .btn {
  align-self: flex-start;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero .btn:hover {
  background-color: #fff;
  color: #000;
}


/* Quem somos */
.quem-somos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #fcf9f5;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.quem-somos .text {
  flex: 1;
  max-width: 400px;
}

.quem-somos h2 {
  color: #b88a50;
  font-size: 1.8em;
  margin-bottom: 16px;
}

.quem-somos p {
  font-size: 1.1em;
  line-height: 1.6;
}

.quem-somos img {
  flex: 1;
  max-width: 350px;
  height: auto;
  border: 4px solid #d1c1a0;
  border-radius: 4px;
}


/* Áreas de atuação */
.areas {
  background-color: #0a1a2f;
  color: #fff;
  padding: 60px 20px;
}

.areas .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* menor distância entre texto e imagem */
  max-width: 900px; /* reduzido para aproximar ao centro */
  margin: 0 auto;
  flex-wrap: wrap;
}

.areas .text {
  flex: 1;
  min-width: 280px;
}

.areas h2 {
  font-size: 1.8em;
  color: #e3cfa4;
  margin-bottom: 20px;
}

.areas ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 1.1em;
}

.areas li {
  margin-bottom: 10px;
}

.areas .imagem {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.areas .imagem img {
  width: 100%;
  max-width: 350px;
  border-radius: 4px;
  border: 3px solid #d1c1a0;
}





/* Prevenção */
.prevencao {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c2a3f;
  color: #fff;
  padding: 40px 10%;
  flex-wrap: wrap;
}

.prevencao .pessoas img {
  max-width: 300px;
  border-radius: 8px;
}

.prevencao .texto {
  flex: 1;
  padding-left: 30px;
}

.prevencao h2 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.prevencao p {
  margin-bottom: 20px;
}

.prevencao .btn {
  align-self: flex-start;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

/* Contato */
.contato {
  background-color: #2e3e57;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
  }

  .hero-content {
    padding: 40px 20px;
    max-width: 100%;
    height: auto;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero .btn {
    padding: 10px 16px;
  }

  .quem-somos,
  .areas .wrapper,
  .prevencao {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 20px;
  }

  .quem-somos img,
  .areas .imagem img,
  .prevencao .pessoas img {
    max-width: 90%;
    margin: 0 auto;
  }

  .quem-somos .text,
  .areas .text,
  .prevencao .texto {
    max-width: 100%;
    padding: 0;
  }

  .areas .imagem {
    text-align: center;
  }

  .prevencao .texto {
    padding-left: 0;
  }

  .prevencao .btn {
    align-self: center;
  }
}
