/* Reset e Estrutura Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Garante que o body ocupe a tela toda */
}

/* Header */
header {
  background-color: #2e7d32;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffeb3b;
  margin-bottom: 5px;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(46, 125, 50, 0.85), rgba(46, 125, 50, 0.85)),
    url("img/background-campo.jpg"); /* Adicione uma imagem na pasta img futuramente */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 15px 7px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Conteúdo Principal e Cards */
.container {
  flex: 1; /* Faz o conteúdo crescer e empurrar o footer para baixo */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 20px;
  flex-wrap: wrap; /* Responsividade para celular */
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 380px;
  text-align: center;
  border-top: 6px solid #2e7d32;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
}

.btn-download {
  display: inline-block;
  margin-top: 20px;
  background-color: #2e7d32;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-download:hover {
  background-color: #1b5e20;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer Centralizado */
footer {
  background-color: #1b3d1e;
  color: #e0e0e0;
  padding: 25px 20px;
  text-align: center; /* Centraliza o texto */
  width: 100%;
  margin-top: auto;
}

.footer-content p {
  margin: 5px 0;
}

/* Media Queries para Dispositivos Móveis */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 20px;
  }

  .card {
    max-width: 100%; /* Card ocupa largura total no Moto G84 */
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}

/* Contêiner para centralizar e dar espaçamento ao logo */
.card-logo-container {
  width: 100%;
  height: 100px; /* Define uma altura fixa para que os textos comecem na mesma linha */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Espaço entre o logo e o título <h2> */
  padding: 10px;
}

/* Estilização da imagem do logotipo */
.brand-logo {
  max-width: 80%; /* Impede que o logo fique colado nas bordas do card */
  max-height: 80px; /* Limita a altura para uniformizar os dois logos */
  object-fit: contain; /* Garante que a imagem não seja distorcida */
  width: auto;
  height: auto;
}

/* --- FIM DAS NOVAS REGRAS --- */
