:root {
  --green: #2f5e3a;
  --green-light: #5f7a3a;
  --earth: #6b4a2d;
  --bg: #f6f7f3;
  --white: #ffffff;
  --text: #1e2520;
  --muted: #667066;
  --border: #e3e7df;
  --shadow: 0 16px 40px rgba(47, 94, 58, 0.12);
  --radius: 18px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu a {
  font-weight: 600;
  color: var(--muted);
}

.menu a:hover {
  color: var(--green);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--green);
  color: white;
  font-size: 24px;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  padding: 90px 0;
  background:
    linear-gradient(rgba(47,94,58,.78), rgba(47,94,58,.78)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
}


.badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  max-width: 680px;
  opacity: .95;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.primary {
  background: var(--green-light);
  color: white;
}

.secondary {
  background: white;
  color: var(--green);
}

.hero-card {
  background: rgba(255,255,255,.92);
  color: var(--text);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 80px 0;
}

.light {
  background: white;
}

.two-columns {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
  color: var(--green);
}

.info-box,
.card,
.features div,
.form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card h3 {
  color: var(--green);
  margin-bottom: 10px;
}

.card p,
.info-box p,
.features p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.features strong {
  display: block;
  font-size: 32px;
  color: var(--green-light);
  margin-bottom: 12px;
}

.cta {
  padding: 70px 0;
  background: var(--green);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta p {
  margin-bottom: 24px;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
}

.contact-info {
  margin-top: 22px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* .form input,
.form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
} */

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 94, 58, .10);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #b42318;
}

#submitBtn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.section p,
.card p,
.info-box p,
.features p {
  text-align: justify;
}

.footer {
  background: #1e2520;
  color: white;
  padding: 24px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}


/* Dropdown menu */

.dropdown {
  position: relative;
}

.dropdown-btn,
.svc-cat {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.dropdown-btn:hover,
.svc-cat:hover {
  color: var(--green);
}

.dropdown-panel {
  position: absolute;
  top: 42px;
  left: 0;
  min-width: 230px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  z-index: 200;
}

.dropdown.active > .dropdown-panel {
  display: block;
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: var(--bg);
}

.dropdown-services-panel {
  min-width: 340px;
  max-height: 520px;
  overflow-y: auto;
}

.svc-cat {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-radius: 10px;
  color: var(--green);
}

.svc-cat:hover {
  background: var(--bg);
}

.svc-items a {
  font-size: 14px;
  color: var(--muted);
}

.svc-items {
  display: none;
  padding: 4px 0 8px 12px;
}

.svc-items.active {
  display: block;
}

/* Botão voltar ao topo */

.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;

  background: linear-gradient(135deg, #2f5e3a, #5f7a3a);

  color: white;
  font-size: 22px;
  font-weight: bold;

  cursor: pointer;

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

  box-shadow: 0 12px 30px rgba(47,94,58,.25);

  opacity: 0;
  visibility: hidden;

  transform: translateY(12px);

  transition: .25s ease;

  z-index: 999;
}

.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover{
  transform: translateY(-3px);
}

@media (max-width: 900px) {

  .nav{
    height: 82px;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    font-size: 28px;
  }

  .menu {
    position: absolute;
    top: 82px;
    left: 0;

    width: 100%;

    background: white;

    flex-direction: column;
    align-items: flex-start;

    gap: 4px;

    padding: 18px;

    display: none;

    border-bottom: 1px solid var(--border);

    box-shadow: 0 14px 30px rgba(0,0,0,.06);
  }

  .menu.active {
    display: flex;
  }

  .menu > a,
  .dropdown-btn {
    width: 100%;
    padding: 14px 8px;

    font-size: 18px;
    font-weight: 700;

    text-align: left;

    border-radius: 12px;
  }

  .menu > a:hover,
  .dropdown-btn:hover {
    background: var(--bg);
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-panel {
    position: static;

    display: none;

    width: 100%;
    min-width: 100%;

    margin-top: 6px;

    padding: 10px;

    border-radius: 14px;

    box-shadow: none;

    background: #f8faf7;
  }

  .dropdown.active > .dropdown-panel {
    display: block;
  }

  .dropdown-panel a {
    padding: 12px;
    font-size: 15px;
  }

  .svc-cat {
    padding: 14px 12px;
    font-size: 15px;
  }

  .svc-items {
    padding-left: 8px;
  }

  .hero-content,
  .two-columns,
  .contact {
    grid-template-columns: 1fr;
  }

  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-buttons{
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Formuláro de contato */

.form-honeypot{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}
