/* ===== Configuração Geral ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7f7f7;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ===== Cabeçalho / Banner ===== */
.hero {
  background: url('banner.jpg') center no-repeat;
  background-size: 100% auto; /* garante que a imagem não seja cortada */
  height: 60vh; /* altura menor */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  padding: 0 15px;
}

.logo {
  width: 120px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 2.8rem;
  letter-spacing: 2px;
}

.hero h1 span {
  font-size: 1.2rem;
  font-weight: 300;
  display: block;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  background-color: #0b9444;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background-color: #087839;
}

/* ===== Seções ===== */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #0d2855;
  font-size: 2rem;
  margin-bottom: 20px;
}

.sobre p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== Serviços ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
  max-width: 1000px;
  margin-inline: auto;
}

.card {
  background-color: #0d2855;
  color: #fff;
  padding: 25px;
  border-radius: 10px;
  font-weight: 500;
  transition: 0.3s;
}

.card:hover {
  background-color: #123472;
  transform: translateY(-4px);
}

/* ===== Contato ===== */
.contato ul {
  list-style: none;
  margin-top: 20px;
  margin-bottom: 25px;
  padding: 0;
}

.contato li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contato a {
  color: #000;
  text-decoration: none;
}

.contato a:hover {
  text-decoration: underline;
  color: #000;
}

/* ===== Logo WhatsApp ===== */
#WhatsApp {
  width: 30px;            /* tamanho padrão */
  height: auto;           /* mantém proporção */
  vertical-align: middle; /* alinha com o texto */
  margin-right: 8px;      /* espaçamento entre ícone e número */
}

/* ===== Rodapé ===== */
footer {
  background-color: #0d2855;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* ===== Media Queries para Responsividade ===== */

/* Tablets e celulares grandes */
@media (max-width: 900px) {
  .hero {
    height: 50vh; /* altura menor em telas médias */
    background-size: 100% auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1 span {
    font-size: 1rem;
  }

  .logo {
    width: 100px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  section h2 {
    font-size: 1.7rem;
  }

  .sobre p {
    font-size: 1rem;
  }

  #WhatsApp {
    width: 25px;
    margin-right: 6px;
  }
}

/* Celulares pequenos */
@media (max-width: 600px) {
  .hero {
    height: 40vh; /* altura ainda menor em celulares */
    background-size: 100% auto;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero h1 span {
    font-size: 0.9rem;
  }

  .logo {
    width: 80px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 13px;
  }

  section {
    padding: 40px 15px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .sobre p {
    font-size: 0.95rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    padding: 18px;
  }

  .contato li {
    font-size: 1rem;
  }

  #WhatsApp {
    width: 20px;
    margin-right: 5px;
  }
}
