
:root {
  --green-dk: #1E6F3D;
  --green-md: #2D7F49;
  --green-lime: #A5CF4F;
  --orange: #F57C00;
  --bg: #F9F9F6;
  --surface: #FFFFFF;
  --text: #1A1E22;
  --muted: #5E646A;
  --shadow-sm: 0 6px 16px rgba(0,0,0,.08);
  --shadow: 0 18px 44px rgba(0,0,0,.10);
  --txt-shadow-sm: 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.12);
  --txt-shadow-lg: 0 2px 0 rgba(0,0,0,.12), 0 4px 14px rgba(0,0,0,.28);
  --radius: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
  scroll-behavior: smooth;
  text-shadow: var(--txt-shadow-sm);
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green-md) 55%, #67B96A 120%);
  color: white;
  text-align: center;
  padding: 24px 16px 48px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.2px;
  text-shadow: var(--txt-shadow-lg);
}

nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

nav a {
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
}

nav a:hover {
  background: rgba(255,255,255,0.18);
}

.hero {
  padding: 58px 16px 28px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 18px;
  color: white;
  font-weight: 900;
  text-shadow: var(--txt-shadow-lg);
}

.hero p {
  background: rgba(255,255,255,0.97);
  border: 1px solid #E1DFDA;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 auto 26px;
  max-width: 56ch;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(0,0,0,.1);
}

.ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.25px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background: #145C36;
  color: white;
}

.btn-ghost {
  border: 2px solid white;
  color: white;
}

.hero-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 1120px;
  margin: 0 auto;
  pointer-events: none;
}

h2 {
  text-align: center;
  color: #0F492B;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
  font-weight: 1000;
  text-shadow: var(--txt-shadow-lg);
}

.grid {
  display: grid;
  gap: 22px;
  padding: 0 16px;
}

@media(min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ECEBE7;
}

.card h3 {
  color: var(--green-dk);
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 900;
  text-shadow: var(--txt-shadow-lg);
}

.card p {
  margin: 0;
  font-weight: 600;
  color: #2B3237;
}

footer {
  background: var(--green-dk);
  color: white;
  text-align: center;
  padding: 26px 16px;
}

footer a {
  color: white;
  text-decoration: underline;
}

.footer-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-top {
  background: white;
  color: var(--green-dk);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 1000;
}


#sobre {
  text-align: center;
  padding: 40px 16px;
}

#sobre p {
  max-width: 60ch;
  margin: 0 auto;
  font-weight: 500;
}

footer p {
  margin: 0 auto;
  max-width: 60ch;
  text-align: center;
}

footer .footer-actions {
  justify-content: center;
  margin-top: 16px;
}


/* Corrigir texto branco sobre fundo branco */
.hero p {
  background: rgba(255, 255, 255, 0.92);
  color: #1A1E22;
}

/* Melhor contraste nos botões com fundo branco */
.btn-ghost {
  border: 2px solid #145C36;
  color: #145C36;
  background: white;
}

.btn-ghost:hover {
  background: #eaf6ee;
}

/* Melhor contraste geral no header */
header {
  color: white;
}

header .hero h1 {
  color: white;
}
