/* Importation des polices :
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@300;400;700&family=Oswald:wght@400;600&display=swap" rel="stylesheet">

/* --- Variables CSS (Nouvelle palette plus contrastée) --- */
:root {
  --main-bg-color: #f0f2f5; /* Gris clair subtil pour le fond */
  --text-color: #2c3e50; /* Bleu marine foncé pour le texte principal */
  --secondary-text-color: #5d6d7e; /* Gris-bleu moyen pour le texte secondaire */

  --accent-color: #e74c3c; /* Un rouge vif pour un impact graphique (alternative: #f39c12 pour un orange vif) */
  --accent-dark: #c0392b; /* Version plus foncée de l'accent */

  --article-bg-color: #ffffff; /* Blanc pur pour les articles */
  --border-strong: #d0d5dc; /* Bordure plus visible */
  --shadow-minimal: rgba(0, 0, 0, 0.03); /* Ombre à peine perceptible, pour la définition */

  --transition-speed: 0.3s;
}

/* --- Styles Généraux du Body --- */
body {
  font-family: 'Lato', sans-serif; /* Lato pour le corps de texte, clean et moderne */
  margin: 0;
  padding: 0;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  line-height: 1.7; /* Bon espacement pour la lisibilité */
  box-sizing: border-box;
  scroll-behavior: smooth; /* Pour une navigation fluide si vous avez des ancres */
}

/* ---------------------------------------------------------------------- */
/* --- STYLES DE LA NAV BAR (NON TOUCHÉS - REPRIS DE VOTRE ORIGINAL) --- */
/* ---------------------------------------------------------------------- */

nav {
  width: 100%;
  background-color: #D9AED8;
  padding: 10px 0;
  position: relative;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  display: block;
  font-size: 16px;
}

.navbar a:hover {
  background-color: #000000;
  color: white;
}

.navbar .active {
  background-color: #000000;
  color: white;
}


/* ---------------------------------------------------------------------- */
/* --- STYLES DU CONTENEUR PRINCIPAL DU BLOG (Nouveau look) --- */
/* ---------------------------------------------------------------------- */

.blog-content {
  max-width: 1100px; /* Plus large pour un look magazine */
  margin: 80px auto; /* Encore plus d'espace autour */
  padding: 50px; /* Padding très généreux */
  background-color: var(--article-bg-color);
  box-shadow: 0 0 0px 1px var(--border-strong), 0 10px 30px var(--shadow-minimal); /* Une fine bordure et une ombre très légère */
  border-radius: 6px; /* Coins moins arrondis, plus nets */
  overflow: hidden; /* Pour contenir les éventuels débordements */
}

/* --- Titre Principal de la Page (h1) --- */
h1 {
  font-family: 'Playfair Display', serif; /* Élégant et impactant */
  font-size: 4.5em; /* Très grand pour le titre */
  font-weight: 900; /* Extra gras */
  color: var(--text-color); /* Couleur de texte principale */
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 25px; /* Plus d'espace pour la ligne */
  letter-spacing: -0.04em; /* Texte serré pour un look moderne */
  text-transform: uppercase; /* Tout en majuscules pour le style magazine */
}

h1::after {
  content: '';
  display: block;
  width: 120px; /* Ligne plus longue */
  height: 6px; /* Plus épaisse */
  background-color: var(--accent-color); /* Couleur d'accentuation vive */
  margin: 15px auto 0;
  border-radius: 3px;
}

/* --- Paragraphe d'introduction (.intro) --- */
.intro {
  font-family: 'Lato', sans-serif;
  font-size: 1.3em; /* Grande taille pour la lisibilité */
  color: var(--secondary-text-color);
  text-align: center;
  max-width: 65%; /* Resserre l'intro pour la faire ressortir */
  margin: 0 auto 80px; /* Très grand espace en bas */
  line-height: 1.8;
  font-weight: 300; /* Très fin pour un look épuré */
  border-left: 5px solid var(--accent-color); /* Barre verticale pour l'intro */
  padding-left: 20px;
}

/* ---------------------------------------------------------------------- */
/* --- STYLES DES ARTICLES DU BLOG --- */
/* ---------------------------------------------------------------------- */

.blog-content > div { /* Conteneur des articles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* 2 colonnes par défaut pour un look aéré */
  gap: 60px; /* Grand espacement entre les articles */
}

article {
  background-color: var(--article-bg-color);
  padding: 40px; /* Très généreux */
  border-radius: 6px;
  box-shadow: 0 0 0px 1px var(--border-strong); /* Bordure nette */
  transition: transform var(--transition-speed) ease-out, box-shadow var(--transition-speed) ease-out;
  position: relative; /* Pour positionner d'éventuels éléments d'illustration */
  overflow: hidden; /* S'assure que rien ne dépasse */
}

article:hover {
  transform: translateY(-5px); /* Légère élévation */
  box-shadow: 0 0 0px 2px var(--accent-color), 0 10px 25px rgba(0, 0, 0, 0.1); /* Bordure accentuée et légère ombre */
}

/* Titres des articles (h2, h3, h4) */
article h2, article h3, article h4 {
  font-family: 'Oswald', sans-serif; /* Oswald pour des titres d'articles percutants et condensés */
  font-weight: 600;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.3;
  text-transform: uppercase; /* Titres d'articles en majuscules */
  letter-spacing: 0.05em; /* Un peu d'espacement pour la lisibilité */
}

article h2 {
  font-size: 2.2em;
  color: var(--accent-dark); /* Plus sombre pour la lisibilité avec Oswald */
}

article h3 {
  font-size: 1.8em;
}

article h4 {
  font-size: 1.5em;
}

/* Paragraphes des articles */
article p {
  font-family: 'Lato', sans-serif;
  font-size: 1.05em; /* Légèrement plus grand */
  line-height: 1.8;
  color: var(--secondary-text-color); /* Couleur plus douce pour le corps de texte */
  margin-bottom: 1.2em; /* Plus d'espace après les paragraphes */
}

/* Mettre en évidence le texte avec <strong> */
strong {
  color: var(--accent-color); /* Utilise la couleur d'accentuation vive */
  font-weight: 700;
}

/* Styles pour les titres de section H5 et H6 (hors des articles) */
/* Utilisés comme des séparateurs visuels majeurs */
h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 2.5em; /* Très grand */
  color: var(--text-color);
  text-align: center;
  margin-top: 100px; /* Grand espace avant */
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--accent-color); /* Ligne de séparation accentuée */
  padding-bottom: 15px;
  display: inline-block; /* Pour que la bordure suive le texte */
  margin-left: auto;
  margin-right: auto;
}

h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.3em;
  color: var(--secondary-text-color);
  text-align: center;
  margin-top: 40px;
  margin-bottom: 80px; /* Grand espace après */
  font-style: italic;
}

/* ---------------------------------------------------------------------- */
/* --- RESPONSIVITÉ --- */
/* ---------------------------------------------------------------------- */

@media (min-width: 992px) {
  /* Pour les grands écrans, on force les 2 colonnes pour les articles */
  .blog-content > div {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .blog-content {
      padding: 30px;
      margin: 40px auto;
      max-width: 90%; /* S'adapte mieux aux tablettes */
  }

  h1 {
      font-size: 3.5em;
      padding-bottom: 15px;
  }
  h1::after {
      width: 100px;
      height: 5px;
  }

  .intro {
      font-size: 1.1em;
      max-width: 80%;
      margin-bottom: 50px;
      padding-left: 15px; /* Ajuste le padding de la barre */
  }

  article {
      padding: 30px;
  }

  article h2 {
      font-size: 1.8em;
  }
  article h3 {
      font-size: 1.5em;
  }
  article p {
      font-size: 1em;
  }

  h5 {
      font-size: 2em;
      margin-top: 70px;
      margin-bottom: 20px;
  }
  h6 {
      font-size: 1.2em;
      margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .blog-content {
      padding: 20px;
      margin: 20px auto;
      max-width: 95%;
  }

  h1 {
      font-size: 2.8em;
      padding-bottom: 10px;
  }
  h1::after {
      width: 80px;
      height: 4px;
  }

  .intro {
      font-size: 1em;
      max-width: 95%;
      margin-bottom: 40px;
  }

  .blog-content > div {
      grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
      gap: 30px; /* Moins d'espace */
  }

  article {
      padding: 25px;
  }

  article h2 {
      font-size: 1.6em;
  }
  article h3 {
      font-size: 1.3em;
  }

  h5 {
      font-size: 1.8em;
      margin-top: 50px;
      margin-bottom: 15px;
  }
  h6 {
      font-size: 1.1em;
      margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  /* La navbar étant gérée par votre style d'origine, je ne la touche pas ici. */
  /* Assurez-vous qu'elle est responsive dans votre CSS d'origine si nécessaire. */

  .blog-content {
      padding: 15px;
      margin: 15px auto;
  }

  h1 {
      font-size: 2.2em;
      letter-spacing: normal;
  }
  h1::after {
      width: 60px;
      height: 3px;
  }

  .intro {
      font-size: 0.9em;
      padding-left: 10px;
  }

  article {
      padding: 20px;
  }

  article h2 {
      font-size: 1.4em;
  }
  article p {
      font-size: 0.9em;
  }

  h5 {
      font-size: 1.5em;
  }
  h6 {
      font-size: 1em;
  }
}