.blog {
  width: 100vw;
  overflow: hidden;
}

.blog__container {
  width: 100vw;
  margin: 0;
  padding: 0;
}

.blog__partie__haute {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.blog__partie__haute h2 {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 3.5rem;
}

.blogTitre__p {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.blog__partie__basse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem; /* optionnel, espace entre les deux colonnes */
}

.blog__partie__basse--gauche {
  width: 60%;
  padding: 2rem;
  margin-left: 3rem;
}

.blog__p1 {
  font-size: 1.6rem;
  font-weight: 300; /* texte léger */
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  line-height: 1.6;
}

.blog__p2 {
  font-size: 1.6rem;
  font-weight: 400; /* normal */
  padding-bottom: 1.2rem;
  line-height: 1.6;
}

.blog__p3 {
  font-size: 1.6rem;
  font-weight: 400; /* normal */
  line-height: 1.6;
}

.blog__partie__basse--gauche button {
  margin-top: 4rem;
  height: 2.5rem;
  word-spacing: 0.1rem;
  background-color: var(--colorv1);
  border-radius: 2rem;
  font-size: 1.4rem;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  width: 18%;
  font-weight: 400;
  transition: background-color 0.4s ease-in-out, transform 0.3s ease-in-out;
  visibility: hidden;
}

.blog__partie__basse--gauche button:hover {
  background-color: var(--colorv3);
}

.blog__partie__basse-droite {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.blog__partie__basse-droite img {
  width: 65%;
  height: 50%;
  display: block;
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: 25px 25px 0px var(--colorv1);
}

/* Tablettes et petits écrans (< 1200px) */
@media screen and (max-width: 1199px) {
  .blog__partie__haute h2 {
    font-size: 2.8rem;
  }

  .blogTitre__p {
    font-size: 1.6rem;
  }

  .blog__partie__basse {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog__partie__basse--gauche,
  .blog__partie__basse-droite {
    width: 90%;
    margin: 0;
    padding: 1rem;
  }

  .blog__partie__basse--gauche button {
    width: 40%;
  }

  .blog__partie__basse-droite img {
    width: 80%;
    height: auto;
    box-shadow: 15px 15px 0px var(--colorv1);
  }

  .blog__p1,
  .blog__p2,
  .blog__p3 {
    font-size: 1.6rem;
  }
}

/* Tablettes et petits écrans (< 1200px) */
@media screen and (max-width: 1199px) {
  .blog__partie__haute h2 {
    font-size: 2.8rem;
  }

  .blogTitre__p {
    font-size: 1.6rem;
  }

  .blog__partie__basse {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog__partie__basse--gauche,
  .blog__partie__basse-droite {
    width: 90%;
    margin: 0;
    padding: 1rem;
  }

  .blog__partie__basse--gauche button {
    width: 40%;
  }

  .blog__partie__basse-droite img {
    width: 80%;
    height: auto;
    box-shadow: 15px 15px 0px var(--colorv1);
  }

  .blog__p1,
  .blog__p2,
  .blog__p3 {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 300;
  }
}

/* Smartphones (< 768px) */
@media screen and (max-width: 767px) {
  .blog__partie__haute h2 {
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .blogTitre__p {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .blog__p1,
  .blog__p2,
  .blog__p3 {
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 300;
  }

  .blog__partie__basse--gauche button {
    width: 60%;
    font-size: 1.2rem;
  }

  .blog__partie__basse-droite img {
    width: 90%;
    padding: 0.5rem;
    box-shadow: 10px 10px 0px var(--colorv1);
  }
}

/* Mobiles très petits (< 480px) */
@media screen and (max-width: 479px) {
  .blog__partie__haute h2 {
    font-size: 1.8rem;
  }

  .blogTitre__p {
    font-size: 1.2rem;
  }

  .blog__p1,
  .blog__p2,
  .blog__p3 {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.4;
  }

  .blog__partie__basse--gauche button {
    width: 80%;
    font-size: 1.1rem;
  }

  .blog__partie__basse-droite img {
    width: 100%;
    padding: 0.5rem;
    box-shadow: 5px 5px 0px var(--colorv1);
  }
}
