/* =========================
   RESET + BASE
   ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f7f6;
  color: #222;
  line-height: 1.6;
}

a {
  color: #27ae60;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   CONTAINER
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
   ========================= */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #27ae60;
}

nav a {
  margin-left: 20px;
  font-weight: 500;
}


/* =========================
   SEÇÕES
   ========================= */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
}

/* =========================
   CARDS
   ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card img {
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  flex: 1;
}

/* =========================
   BLOG
   ========================= */
.blog-header {
  padding: 100px 0 60px;
  background: #fff;
}

.blog-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.blog-header p {
  color: #666;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  height: 260px;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.blog-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.blog-card p {
  flex: 1;
  color: #555;
}

.read-more {
  margin-top: 20px;
  font-weight: 600;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* =========================
   HERO (CORRIGIDO E ESTÁVEL)
   ========================= */
.hero {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: .9;
}

.hero-grid img {
  flex: 1;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}
/* ajuste simples da imagem do hero */
.hero-grid img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
  }

  .hero-grid img {
    height: 320px;
  }

  .hero h1 {
    font-size: 34px;
  }
}


