/* ===============================
   PATCH ANTI-CHEVAUCHEMENT
   =============================== */
.container_bloc_dallesneuves {
  float: none !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
}

/* ===============================
   BLOC 1 (tableau) — 
   =============================== */

/* Conteneur des 4 cartes */
.container_bloc_dallesneuves .rs-grid {
  width: 90%;                 
  max-width: 1500px;      
  align-items: stretch; /* force les colonnes à la même hauteur */    
  justify-content: space-between;
  margin: 80px auto;          
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); 
  gap: 14px;
  align-items: stretch; /* TRES important : toutes les cartes même hauteur */
}


/* carte */
.rs-card {
  background: #ffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  border-bottom: 8px solid #ff7427;   
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%; /* pour que la carte remplisse toute la cellule de la grid */
}

/* header (titre + petite barre) */
.rs-card__header {
  background: #ECEAE3;
  padding: 16px 20px 0;
  margin-bottom: 0;
}


.rs-card__header h4 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  color: #00314c;
}

.rs-card__line {
  display: block;
  width: 90%;
  margin: 18px 0 0;
  height: 3px;
  background: #ff7427;
}


/* icônes */
.rs-card__icons {
    background: #ECEAE3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e4e4e4;
    margin-top: 0;
    padding-top: 20px;
}



.rs-icon {
    border: none;
    background: transparent;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


.rs-icon-img {
    width: 90px;      /* augmente ou diminue ici pour agrandir/réduire les images */
    height: auto;
    display: block;
}


/* liste */
.rs-card__list {
  list-style: none;
  margin: 0;
  padding: 18px 22px 7px;
}

.rs-card__list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 42px;
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.rs-card__list4 {
  list-style: none;
  margin: 0;
  padding: 18px 22px 7px;
}


.rs-card__list4 li {
  position: relative;
  padding-left: 34px;
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.rs-card__list4 li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ff7427;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #00314c;
  background-color: #ffff;
}



/* rond avec check */
.rs-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ff7427;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #00314c;
  background-color: #ffff;
}

.ligne-img {
  display: block;
  margin: 10px auto;
  width: 220px;
  height: auto;
}

.ligne-img2{
  text-align: center;             
  margin-top: auto;
}

.ligne-img2 img {
  width: 100%;                     /* prend toute la largeur du conteneur */
  max-width: 350px;                /* taille maximale de l'image */
  height: auto;                    /* garde les proportions */
  display: inline-block;
}


/* ===============================
   lien de téléchargement
   =============================== */

.rs-card__download {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin: 20px 0 10px;    
  background: #fff;
  border-top: 1px solid #e4e4e4;
}


.rs-card__download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff; 
  font-size: 16px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #00314c; 
  padding: 10px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}


.rs-card__download a:hover {
  color: #ffff;
  background-color: #ff7427;
}

.rs-card__download img {
  width: 40px;
  height: 40px;
}



.rs-card__devis {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin: 20px 0 10px;   
  background: #fff;
  border-top: 1px solid #e4e4e4;
}


.rs-card__devis a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff; 
  font-size: 30px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #00314c; 
  padding: 10px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.rs-card__devis a:hover {
  color: #ffff;
  background-color: #ff7427;
}




/* ===============================
   BLOC 2 (image) — 
   =============================== */


.deuxieme_bloc{
  width: min(1500px, 92vw);
  margin: 0 auto;
  padding: 24px 0 80px; /* 80px avant le footer */
}

.intro-two__img_caracteristiques{
  display:block;
  width: min(1500px, 100%);
  margin: 8px auto 0;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}






/* ===============================
            Responsive
   =============================== */


@media (max-width: 1024px) {
  .container_bloc_dallesneuves .rs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 colonnes */
  }
}

@media (max-width: 600px) {
  .container_bloc_dallesneuves .rs-grid {
    grid-template-columns: 1fr; /* 1 colonne */
  }

    .rs-card__download {
        margin: 15px 0 !important;
    }

    /* ---- Lien bleu ---- */
    .rs-card__download a {
        font-size: 11px !important;      
        padding: 10px 12px !important;   
        border-radius: 8px !important;   
        display: flex;
        align-items: center;
        gap: 10px;                        
    }

    /* ---- Icône de téléchargement ---- */
    .rs-card__download a img {
        width: 20px !important;
        height: auto;
    }

     /* Titre "Tableau des caractéristiques" */
    .deuxieme_bloc .section-title.section-title--sm {
        font-size: 20px !important;  
        line-height: 1.2;
        margin-bottom: 10px;         
    }
}




