:root {
  --cor-principal: #3d4e62;
  --cor-secundaria: #d5bfa7;
  --cor-destaque: #25d366;
  --cor-texto: #d5bfa7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cor-principal);
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  font-family: "Lato", sans-serif;
  color: var(--cor-texto);
  text-align: center;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

#logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

main {
  min-height: auto;
}

#inicio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.text {
  max-width: 80%;
  margin: 0 auto;
}

h2 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
}

h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Botões principais */
.btn-principal {
  display: inline-block;
  padding: 15px 25px;
  background-color: var(--cor-destaque);
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.363);
  text-decoration: none;
  margin-top: 10px;
  text-transform: uppercase;
}

.btn-principal:hover {
  background-color: darkgreen;
  color: white;
}

.btn-principal i {
  margin-right: 8px;
}

/* Alternativa de contato */
.alternativa-contato {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.ou-texto {
  margin: 10px 0;
  font-size: 16px;
  color: var(--cor-texto);
}

/* Seções */
section {
  padding: 60px 20px;
  border-top: 1px solid rgba(213, 191, 167, 0.2);
}

section h3 {
  font-size: 28px;
  color: var(--cor-secundaria);
  margin-bottom: 40px;
}

.services-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  justify-items: center;
  align-items: start;
}

.service-item,
.news-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.service-item i {
  font-size: 40px;
  color: var(--cor-destaque);
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-intro {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--cor-secundaria);
  background-color: transparent;
  color: var(--cor-texto);
  border-radius: 5px;
  width: 100%;
  font-family: "Lato", sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: "Lato", sans-serif;
  color: rgba(213, 191, 167, 0.5);
}

footer {
  padding: 20px 0;
  font-size: 14px;
  color: rgba(213, 191, 167, 0.7);
}

/* Responsividade */
@media (max-width: 768px) {
  #logo {
    width: 150px;
    margin-top: 30px;
  }

  h2 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  .btn-principal {
    padding: 12px 20px;
    font-size: 14px;
  }
}
