:root {
  --primary: #234b2e;        /* verde escuro principal */
  --primary-dark: #163322;   /* verde ainda mais escuro */
  --accent: #8fbf6a;         /* verde mais claro para detalhes */
  --bg: #f4f7f3;
  --text: #1f2933;
  --muted: #6b7280;
  --white: #ffffff;
  --border-radius-lg: 18px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
}

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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

/* Layout base */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 243, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

nav a:hover::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  gap: 0.4rem;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.25);
  transition: background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16, 24, 40, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.5);
  cursor: pointer;
  gap: 0.4rem;
  transition: background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #e4efe1;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.18);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(35, 75, 46, 0.08);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
  color: #102316;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  color: #111827;
  font-size: 0.82rem;
}

.hero-card {
  position: relative;
  border-radius: 26px;
  background: radial-gradient(circle at top left, #2a5035, #0b1710);
  color: var(--white);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(143, 191, 106, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.9rem;
  height: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-pill span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  max-width: 16rem;
}

.hero-card-list {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.hero-card-list div span.label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-bottom: 0.1rem;
}

.hero-card-list div strong {
  font-size: 0.86rem;
}

.hero-tagline {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 0.4rem;
}

/* Seções genéricas */
section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #102316;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Sobre / Missão / Visão / Valores */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: var(--white);
  color: #111827;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.mvv-card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #102316;
}

.mvv-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 200px;
}

.service-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.service-image {
  margin: 0.35rem 0 0.15rem;
  overflow: hidden;
  border-radius: 14px;
  max-height: 170px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.service-card h3 {
  font-size: 0.95rem;
  color: #102316;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Equipamentos */
.equip-wrapper {
  background: #e2ecdf;
  border-radius: 24px;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.equip-title {
  font-size: 0.9rem;
  color: #102316;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 1.1rem;
  margin-top: 0.8rem;
}

.equip-item {
  font-size: 0.8rem;
  color: #102316;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.equip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

/* Diferenciais */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.diff-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
  color: var(--muted);
}

.diff-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #102316;
}

/* Contato */
.contact-section {
  padding-bottom: 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: #102316;
}

.contact-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-info {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.contact-info span {
  display: block;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #4b5563;
  display: block;
  margin-bottom: 0.1rem;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #f8faf7;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(35, 75, 46, 0.35);
  background: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1rem 0 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

footer a {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  nav ul {
    display: none; /* simplificado para mobile; pode trocar por menu hambúrguer depois */
  }
}

@media (max-width: 640px) {
  .services-grid,
  .mvv-grid,
  .equip-grid,
  .diff-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-card {
    min-height: 220px;
  }

  .brand-logo {
    height: 46px;
  }
}
