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

html, body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
  color: #2F4F4F;
}

header {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav ul li a {
  text-decoration: none;
  color: #2F4F4F;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #2563eb;
}

/* HERO COM VÍDEO */
.hero-video {
  position: relative;
  height: 70vh;
  overflow: hidden;
    z-index: 1;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: relative;
  z-index: 1;
  background: rgba(1, 32, 12, 0.6);
  color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay img {
  max-height: 350px;
  margin-bottom: 1rem;
}

.overlay h2 {
  font-size: 2.5em;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.5em;
  font-style: italic;
  max-width: 800px;
}

/* SEÇÕES GERAIS */
.section {
  min-height: 70vh;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark {
  background: linear-gradient(180deg, #24392d, #015d15);
  color: white;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2em;
}

.section p,
.section ul,
.section form {
  margin: 1rem auto;
  max-width: 1000px;
  font-size: 1.1em;
  line-height: 1.7;
  text-align: justify;
}

.section ul li {
  margin-bottom: 0.8rem;
}

/* FORMULÁRIO */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

form input,
form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  width: 100%;
}

form button {
  padding: 1rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease;
}

form button:hover {
  background: #1d4ed8;
}

/* RODAPÉ */
footer {
  background:#2F4F4F;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
  font-size: 0.9em;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.3em;
  }

  .hero-video {
    height: auto;
    padding-top: 3rem;         /* aumentado */
    padding-bottom: 3rem;      /* aumentado */
    position: relative;
  }

  .hero-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 32, 12, 0.6); /* fundo com transparência */
    z-index: 0;
  }

  .background-video {
    object-position: center 20%;
  }

  .overlay {
    padding: 2rem 1rem; /* padding aumentado */
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .overlay img {
    max-height: 170px;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    height: auto;
    width: auto;
  }

  .overlay h2 {
    font-size: 1.5em;
  }

  .overlay p {
    font-size: 1.1em;
    padding: 0 1rem;
  }

  .section {
    padding: 60px 1rem;
    min-height: auto;
  }

  .section h2 {
    font-size: 1.8em;
  }

  .section p,
  .section ul,
  .section form {
    font-size: 1em;
    padding: 0 1rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .nav ul {
    justify-content: center;
    padding: 0;
  }

  form input,
  form textarea {
    font-size: 1em;
  }

  form button {
    font-size: 1em;
  }
}
    

/* fim media */

.map-container {
  margin-top: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.contact-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #015d15;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 1.1em;
}

.btn-contact:hover {
  background-color: #0e7225;
}

.btn-contact img {
  width: 20px;
  height: 20px;
}

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  min-height: 180px;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.service-card small {
  display: block;
  font-size: 0.9em;
  font-weight: normal;
  margin-top: 0.5rem;
  color: #cfcfcf;
  line-height: 1.3;
}
