:root {
  /* Altere as cores principais do site e das propagandas nestas variáveis. */
  --green-900: #183b26;
  --green-800: #225238;
  --green-700: #2f6b45;
  --green-100: #e8f1e6;
  --earth: #8a5a2b;
  --soil: #4f3525;
  --cream: #f7f2e8;
  --paper: #fffaf1;
  --text: #263128;
  --muted: #667267;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 59, 38, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid rgba(24, 59, 38, 0.12);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 116px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.nav-links a:not(.btn) {
  color: var(--green-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-whatsapp {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(47, 107, 69, 0.25);
}

.btn-secondary {
  color: var(--green-900);
  background: var(--paper);
  border: 1px solid rgba(24, 59, 38, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--green-900);
  cursor: pointer;
}

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

.hero {
  min-height: calc(100vh - 78px);
  padding: 84px max(24px, calc((100vw - 1180px) / 2)) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 59, 38, 0.9), rgba(24, 59, 38, 0.6), rgba(24, 59, 38, 0.16)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--earth);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c27a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
  color: var(--green-900);
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
  color: var(--green-900);
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.12);
  backdrop-filter: blur(10px);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.section,
.contact,
.location {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card,
.service-grid article {
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card img {
  height: 180px;
  object-fit: cover;
}

.product-card h3,
.product-card p {
  padding: 0 18px;
}

.product-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.services {
  border-top: 1px solid rgba(24, 59, 38, 0.12);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  padding: 28px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--earth);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 560px;
  background: var(--green-900);
}

.about-image {
  min-height: 420px;
  background:
    linear-gradient(rgba(24, 59, 38, 0.05), rgba(24, 59, 38, 0.22)),
    url("https://images.unsplash.com/photo-1461354464878-ad92f492a5a0?auto=format&fit=crop&w=1200&q=82") center/cover;
}

.about-content {
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 72px 56px;
  color: rgba(255, 255, 255, 0.86);
}

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

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 14px;
  height: 8px;
  border-left: 3px solid #f1c27a;
  border-bottom: 3px solid #f1c27a;
  transform: rotate(-45deg);
}

.location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}

.muted {
  color: var(--muted);
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(24, 59, 38, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 241, 0.88), rgba(255, 250, 241, 0.88)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.map-placeholder span {
  display: block;
  color: var(--green-900);
  font-size: 1.4rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
  padding-top: 40px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(24, 59, 38, 0.18);
  border-radius: 6px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(47, 107, 69, 0.18);
  border-color: var(--green-700);
}

.footer {
  padding: 38px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--soil);
}

.footer strong {
  color: var(--white);
}

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  color: #102719;
  background: #25d366;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.3), 0 8px 20px rgba(16, 39, 25, 0.18);
  font-size: 0.96rem;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #31e174;
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.34), 0 10px 24px rgba(16, 39, 25, 0.2);
}

.floating-whatsapp-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 1020px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid .product-card:last-child {
    grid-column: span 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 18px;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-panel,
  .service-grid,
  .about,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 48px 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .navbar,
  .section,
  .contact,
  .location {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 88px;
    max-height: 54px;
  }

  h1 {
    font-size: 2.45rem;
  }

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

  .cards-grid,
  .cards-grid .product-card:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.9rem;
  }
}
