#page-home {
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  box-sizing: border-box;

  p {
    align-self: center;
    color: #5c1c1c;
    font-size: 1.2rem;
    /*margin-bottom: 3rem;*/
    margin-bottom: 0;
    font-style: italic;
    font-weight: bold;
    text-align: justify;
  }
  
  /*Styles pour le contenu original commenté
   
  .continer-nouveautes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding: 0 2rem;
    width: fit-content;
    margin: 0 auto;

    img {
      display: block;
      width: 100%;
      max-width: 500px;
      height: auto;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    }
  }
  */
  
  /* Solution avec flexbox */
  .container-temporaire {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
    padding-top: 1rem;
    
    .image-gauche, .image-droite, .image-centre {
      height: 700px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
    }
    
    .image-gauche, .image-droite {
      width: 28%;
      
      img {
        width: 100%;
        height: 100%;
        display: block;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
        object-fit: contain;
      }
    }
    
    .image-centre {
      width: 28%;
      
      img {
        width: 100%;
        height: 100%;
        display: block;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
        object-fit: contain;
      }
    }
  }
}

/* Responsive: passer en colonne uniquement sur petit écran*/
@media screen and (max-width: 768px) {
  #page-home {
    .container-temporaire {
      flex-direction: column;
      gap: 30px;
      
      .image-gauche, .image-droite, .image-centre {
        width: 90%;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
      }
    }
  }
}

@media screen and (max-width: 600px) {
  #page-home {
    p {
      font-size: 1rem;
      line-height: 1.4rem;
      padding: 0.5rem;
      margin-bottom: 1rem;
    }
    
    .container-temporaire {
      gap: 20px;
      
      .image-gauche, .image-droite, .image-centre {
        height: 300px;
      }
    }
  }
}

@media screen and (max-width: 488px) {
  #page-home {
    p {
      font-size: 1rem;
    }
  }
}

