/* ===== Bloc galerie / grille produits ===== */

.produits-gallery {
  padding: 80px 0;
}

.produits-gallery__card {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 50px 50px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 35, 52, 0.12);
}


/* Titre + texte d’intro */

.produits-gallery__title {
  font-size: 45px;
  font-weight: 600;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #00314c;
  margin: 0 0 10px;
}

.produits-gallery__intro {
  margin: 0 0 32px;
  font-size: 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  max-width: 1000px;
}

/* Grille des photos */

.produits-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 24px;
}

.produits-gallery__item img {
    width: 100%;
    height: 300px;       
    object-fit: contain;   
    object-position: center center;
    display: block;
    margin: 10px auto 12px;
    background: #f7fafc;    
}

.gallery-desc {
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    font-weight: normal;
    line-height: 1.2;
}

.gallery-desc1 {
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;
}

.gallery-btn {
    display: inline-block;
    background: #000;       
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 200;
    text-decoration: none;
    transition: 0.2s ease;
    margin-top: 10px;
}

.gallery-btn:hover {
    background: #06578b;
    transform: translateY(-2px);
}

.produits-gallery__item {
  background: #f7fafc;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(15, 35, 52, 0.08);
  text-align: center;
}

.catalogue-usages {
  list-style: none;
  padding: 0;
}

.catalogue-usages li::before {
  content: "• ";
}


/* ===== Responsive ===== */
@media (max-width: 430px) {

  
 /* Section */
  .produits-gallery{
    padding: 40px 0;
    margin-top: 0;            /* stop le -70px */
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Carte (bloc blanc) : prend quasi toute la largeur */
  .produits-gallery__card{
    width: calc(100% - 24px);
    max-width: none;          /* stop le 520px */
    margin: 0 12px;           /* petit bord */
    padding: 20px 14px;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Titre + intro : plus de marge négative */
  .produits-gallery__title{
    font-size: clamp(22px, 6vw, 32px);
    margin: 0 0 12px;
    max-width: 100%;
  }

  .produits-gallery__intro{
    font-size: 16px;
    margin: 0 0 18px;
    max-width: 100%;
  }

  /* Liste usages : propre, lisible */
  .catalogue-usages{
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 22px;
    max-width: 100%;
  }

  .catalogue-usages li{
    margin: 0 0 8px;
  }

  /* Grille produits : 1 colonne en mobile */
  .produits-gallery__grid,
  .produits-gallery_grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    max-width: 100%;
  }

  /* Item produit */
  .produits-gallery__item{
    width: 100%;
    max-width: 100%;          
    margin: 0;               
    box-sizing: border-box;
  }

  .produits-gallery__item img{
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Titre produit (h3.gallery-desc) */
  .gallery-desc{
    margin: 14px 0 10px;
    font-size: 20px;
    font-family: "Franklin Gothic Medium","Arial Narrow",Arial,sans-serif;
    text-align: center;
  }

  .gallery-desc br{
    display: none;
  }

  /* Bouton */
  .gallery-btn{
    display: inline-block;
    max-width: 100%;
  }

  /* (Optionnel) autres blocs si présents sur tes pages */
  .product-wrapper{ padding-inline: 12px; }
  .product{ padding: 20px 16px; }
  .product-title{ font-size: 20px; }
  .product-thumbs .thumb img{ width: 60px; height: 60px; }

  .catalogue-usages{
    list-style: none;
    padding-left: 0;
  }
  .catalogue-usages li{
    position: relative;
    padding-left: 16px;
  }
  .catalogue-usages li::before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
  }
}


