* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo img {
  height: 120px;       /* tamanho ideal para header */
  width: auto;
  display: block;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu a:hover {
  color: #2E7D32;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("capa.png") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;      /* CENTRALIZA VERTICAL */
  justify-content: center;  /* CENTRALIZA HORIZONTAL */
  text-align: center;
  padding: 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 1000px;
}

.hero-content h1 {
  font-size: 3.6rem; /* fonte maior */
  margin-bottom: 22px;
  line-height: 1.2;
}


/* BUTTON */
.btn-primary {
  background: #2E7D32;
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;     /* AQUI está a solução */
  display: inline-block;
}

.btn-secondary {
  background: #ffffff;
  color: #2E7D32;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #eaeaea;
}
/* SECTIONS */
.section {
  padding: 90px 0;
}

.section-light {
  background: #f7f7f7;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2E7D32;
}
/* Texto da seção Sobre nós */
#sobre p {
  text-align: justify;
}

/* Espaçamento da lista no Sobre nós */
#sobre ul {
  margin: 25px 0;   /* espaço ACIMA e ABAIXO da lista */
  padding-left: 20px;
}

#sobre ul li {
  margin-bottom: 8px;
}

/* Espaçamento da lista resultados */
#galeria ul {
  margin: 25px 0;   /* espaço ACIMA e ABAIXO da lista */
  padding-left: 20px;
}

#galeria ul li {
  margin-bottom: 20px;
}

/* Seção Sobre nós - fundo diferenciado */
#sobre {
  background: #e8f0eb; /* verde claro institucional */
}

/* Seção contato - fundo diferenciado */
#contato {
  background: #e8f0eb; /* verde claro institucional */
}


.section-left {
  text-align: left;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD COM IMAGEM */
.card {
  position: relative;
  padding: 30px;
  min-height: 360px;
  border-radius: 10px;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.card h3,
.card p,
.card ul {
  position: relative;
  z-index: 2;
}

/* Alinhamento de texto */
.card h3 {
  text-align: left;
}

.card p {
  text-align: justify;
  margin-bottom: 18px;
}

.card ul {
  padding-left: 20px;
  text-align: left;
}

.card ul li {
  margin-bottom: 6px;
}

/* IMAGENS DOS CARDS */
.card-1 { background-image: url("card1.png"); }
.card-2 { background-image: url("card2.png"); }
.card-3 { background-image: url("card3.png"); }

/* GALERIA */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.galeria-bloco h3 {
  color: #2E7D32;
  margin-bottom: 15px;
}

.galeria-imagens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.galeria-imagens img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* MODAL */
.modal-imagem {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* IMAGEM */
#imagemExpandida {
  max-width: 85%;
  max-height: 85%;
  z-index: 2001;
}

/* BOTÃO FECHAR */
.modal-imagem .fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 2002;
}

/* SETAS */
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #ffffff;
  cursor: pointer;
  padding: 15px;
  z-index: 2002;
  user-select: none;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
}

.seta.esquerda {
  left: 30px;
}

.seta.direita {
  right: 30px;
}

.seta:hover {
  background: rgba(46, 125, 50, 0.8);
}


/* CONTATO */
.contato {
  text-align: center;
}

.email {
  margin-top: 20px;
  font-weight: bold;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
}

/* FOOTER */
.footer {
  background: #f4f4f4;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
/* SETAS DE NAVEGAÇÃO */
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.seta.esquerda {
  left: 30px;
}

.seta.direita {
  right: 30px;
}

.seta:hover {
  color: #2E7D32;
}
