:root {
  --green-dark: #1e3d2b;
  --green-medium: #2f5d42;
  --green-light: #e6efe8;
  --cream: #f6f5ee;
  --white: #ffffff;
  --text: #24312a;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background-color: var(--cream);
  border-bottom: 1px solid var(--green-light);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--green-dark);
}

.brand-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--green-medium);
  text-decoration: underline;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--green-light) 100%);
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  max-width: 40ch;
}

.hero-logo {
  flex: 0 1 280px;
  width: 280px;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(30, 61, 43, 0.18);
}

/* Botões */
.btn {
  display: inline-block;
  background-color: var(--green-dark);
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--green-medium);
}

/* Seções */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--green-light);
}

.section h2 {
  color: var(--green-dark);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section-text {
  max-width: 65ch;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--green-light);
  border-top: 4px solid var(--green-dark);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(30, 61, 43, 0.06);
}

.card h3 {
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

/* Rodapé */
.footer {
  background-color: var(--green-dark);
  color: var(--cream);
  padding: 2rem 0;
  text-align: center;
}

.footer p + p {
  margin-top: 0.4rem;
  opacity: 0.85;
}

/* Responsivo */
@media (max-width: 640px) {
  .nav-links {
    gap: 0.9rem;
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

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

  .hero-text p {
    max-width: none;
  }
}
