:root {
  --green: #0a6d36;
  --green-2: #198754;
  --leaf: #8bd36c;
  --ink: #17241c;
  --text: #28342d;
  --muted: #65736b;
  --line: #dfe8e1;
  --soft: #f5f8f2;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(15, 42, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--white);
  padding: 10px 14px;
}

.skip:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(10, 109, 54, .12);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 124px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .94rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

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

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 37, 20, .93), rgba(8, 37, 20, .62), rgba(8, 37, 20, .28)),
    url("../img/Poda-de-Arvore-2-1-e1658160952586.avif") center / cover no-repeat;
}

.hero-content {
  padding: 96px 0 92px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
  line-height: 1;
}

.hero-subtitle {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  color: #eef9ef;
}

.hero-text {
  max-width: 690px;
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: #e2efe6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.primary:hover {
  background: #106d3e;
}

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

.secondary:hover {
  border-color: rgba(255, 255, 255, .5);
  background: #eef8f0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badges span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #f3fff5;
  font-size: .93rem;
  font-weight: 700;
}

.stats {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--leaf);
  font-size: 2rem;
  line-height: 1.1;
}

.stats span {
  display: block;
  color: #dcebe0;
  font-size: .94rem;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.split h2,
.contact-grid h2,
.cta h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.section-heading p {
  margin-top: 0;
  color: var(--muted);
}

.cards,
.portfolio-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.portfolio-grid article,
.blog-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card img,
.portfolio-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: repeat(2, 110px);
  gap: 4px;
  background: var(--line);
}

.portfolio-gallery img {
  height: 100%;
  min-height: 0;
}

.portfolio-gallery img:first-child {
  grid-row: 1 / 3;
}

.card h3,
.card p,
.portfolio-grid h3,
.portfolio-grid p,
.blog-grid h3,
.blog-grid p {
  padding-left: 18px;
  padding-right: 18px;
}

.card h3,
.portfolio-grid h3,
.blog-grid h3 {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.card p,
.portfolio-grid p,
.blog-grid p {
  margin: 0;
  padding-bottom: 20px;
  color: var(--muted);
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.dark h2,
.dark .eyebrow {
  color: var(--white);
}

.dark p {
  color: #e4efe6;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center;
}

.rounded-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.checklist {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 12px 0;
  padding-left: 26px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.light,
.blog-preview {
  background: var(--soft);
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.client-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.cta {
  background: linear-gradient(135deg, var(--green), var(--ink));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta-box {
  max-width: 820px;
}

.cta p {
  color: #ecfff1;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-grid a {
  color: var(--green);
  font-weight: 800;
}

.form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.form label {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.form textarea {
  resize: vertical;
}

.footer {
  padding: 30px 0;
  background: #071c10;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: 28px;
  align-items: center;
}

.footer-logo {
  width: 132px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.footer p {
  margin: 8px 0 0;
  color: #dcebe0;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #18a64f;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 4%;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    min-height: 640px;
  }

  .stats-grid,
  .cards,
  .portfolio-grid,
  .blog-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 58px 0;
  }

  .hero-content {
    padding: 78px 0 70px;
  }

  .card img,
  .portfolio-grid img {
    height: 190px;
  }

  .portfolio-gallery {
    grid-template-rows: repeat(2, 95px);
  }

  .whatsapp {
    left: 14px;
    right: 14px;
  }
}
