/* Réinitialisation CSS basique */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* En-tête */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.8rem;
  color: #3b82f6;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3b82f6;
}

/* Hero section */
.hero {
  background-color: #3b82f6;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Articles section */
.articles {
  padding: 60px 0;
}

.articles h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card h3 {
  color: #1e3a8a;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.article-card p {
  color: #555;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.read-more:hover {
  border-color: #3b82f6;
}

/* About section */
.about {
  background-color: #f1f5f9;
  padding: 60px 0;
}

.about .container {
  max-width: 800px;
}

.about h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #1e3a8a;
}

.about p {
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #1e3a8a;
  color: white;
  padding: 30px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  header h1 {
    margin-bottom: 15px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
}