/* Secção */
.templates-section {
  background: #f4f8fb;
  padding: 60px 20px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1f2937;
}

.section-header p {
  color: #6b7280;
  margin-top: 6px;
}

/* Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 18px;
}

/* Card estilo Wordwall */
.ww-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #cfe7f3;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ww-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Lado esquerdo */
.ww-card-icon {
  background: #7bbef5;
  width: 120px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ww-card-icon img {
  max-width: 90px;
  height: auto;
}

/* Conteúdo */
.ww-card-content {
  padding: 18px 20px;
}

.ww-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
}

.ww-card-content p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 500px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }

  .ww-card {
    flex-direction: column;
  }

  .ww-card-icon {
    width: 100%;
  }
}
