

  @media screen and (min-width: 800px) {
    h1 { font-size: 3.5em;} 
  .espace-1 {width: 48%; margin-left: auto; margin-right: auto;}
  .espace-2 {width: 75%; margin-left: auto; margin-right: auto;}
  .video {width: 100%; margin-left: auto; margin-right: auto;display: block;}
  .contenue {width: 80%;}
  .enveloppe {width: 85%;}
  #top {width: 100%;  height: 206px;background-image: url("tap-rafi-1611.jpg")}
  .logo {background-image: url("logo-techni-flow-200-63.png");width: 202px;height: 75px}
  .menu-haut-hm{display: none ;}
}

@media screen and (min-width: 641px) and (max-width: 799px) {
  h1 { font-size: 2em;}
  .espace-1 {width: 100%;} 
  .espace-2 {width: 100%;} 
  .video {width: 100%;}
  .contenue {width: 100%;}
  .enveloppe {width: 100%;}
  #top {width: 100%;  height: 206px;background-image: url("top-rafi-807-214.jpg")}
  .droite {padding: 5px;font-size: 0.9em;width: 100%;}
  .logo {background-image: url("logo-techni-flow-150-27.png");width: 150px;height: 27px}
  .menu-gauche {display: none;}
}


@media screen and (min-width: 200px) and (max-width: 640px) {
  h1 { font-size: 2em;}
  .menu-gauche {display: none ;}
  .espace-1 {width: 100%;} 
  .espace-2 {width: 100%;} 
  .video {width: 100%;}
  .contenue {width: 100%;}
  .enveloppe {width: 100%;}
  #top {width: 100%;  height: 206px;background-image: url("top-rafi-652-213.jpg")}
  .droite {padding: 5px;font-size: 0.9em;width: 100%;}
  .logo {background-image: url("logo-techni-flow-150-27.png");width: 150px;height: 27px}
}


  .menu-haut{
  width: 95%;
  padding: 20px;
  background-color: #62b3e2;
  text-align: center;
} 
.menu-haut-hm{
  width: 95%;
  padding: 20px;
  background-color: #898c8d;
  text-align: center;
} 



.menu-gauche {
  padding: 12px;
  margin-right: 5px;
  background-color: #f5f5f4;
  width: 15%;
  
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.14);
  border-radius: 10px 10px 10px 10px;
}



 


body {
  background-color: #f5f5f4;
}


#top {  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;  
  margin-left: auto;
  margin-right: auto;

}
#photo-top {
  width: 100%;
  background-color: #f5f5f4;
  margin-left: auto;
  margin-right: auto;   
} 

/* Bouton retour en haut – séparé du div photo #top */
#btn-top {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 22px;
  width: 44px;
  height: 44px;
  background-color: #1995b9;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background-color 0.3s;
}
#btn-top::before {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
}
#btn-top:hover {
  background-color: #22bceb;
}
.header {
display: flex;
flex-wrap: wrap;
  padding-left: 30px;
  padding-bottom: 20px;
  background-color: white;
  width: 100%;
}

.logo {
  
  margin: auto;
  margin: auto;
  
}

.centrale {
  
  padding-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  width: 50%; 
}
.droite {
  padding-left: 20px;  
  margin: auto;
  background-color: white;
  
}

.titre {
  padding: 20px;
 
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  margin-top: 30px;
  width: 100%;
  background-color: #f5f5f4;
  font-family: 'Roboto', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), 0 2px 5px rgba(0, 0, 0, 0.15);
  border-radius: 10px 10px 10px 10px;


}



h1 { 
  
  color: #4198ca;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), 0 2px 5px rgba(0, 0, 0, 0.15);
  text-align: center;
}
h2 {font-size: 1.5em;color: #4a4a4a }
p { color: #666666;text-indent: 50px;}



.enveloppe {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  background-color: #f5f5f4; 
  font-family: 'Roboto', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), 0 2px 5px rgba(0, 0, 0, 0.15);

 


}
.contenue {
  display: flex;
  flex-wrap: wrap;
  background-color: #f5f5f4;
  font-family: 'Roboto', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), 0 2px 5px rgba(0, 0, 0, 0.15);
}
.espace-1 {
 margin-bottom: 15px;
  background-color: #f5f5f4;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.14);
  border-radius: 10px 10px 10px 10px;
}
.espace-2 {
  margin-bottom: 15px;
   background-color: #f5f5f4;
   box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.14);
   border-radius: 10px 10px 10px 10px;
 }

.texte-photos-1 {
  padding: 20px;
   margin-left: auto;
  margin-right: auto; 
  background-color: #f5f5f4;
}
/* Images produits – taille d'affichage contrôlée ici, indépendamment
   des dimensions réelles du fichier (width/height dans le HTML servent
   uniquement au calcul d'aspect-ratio et à la prévention du CLS).
   Largeurs calées sur le ratio des anciennes images (140×190px = ×1.36). */
.image-produits {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 165px;   /* mobile */
  height: auto;
}

/* Tablette : menu gauche masqué, plus d'espace disponible */
@media screen and (min-width: 641px) and (max-width: 799px) {
  .image-produits {
    width: 210px;
  }
}

/* Desktop : équivalent visuel des anciennes images 140×190px */
@media screen and (min-width: 800px) {
  .image-produits {
    width: 190px;
  }
}

#video { margin-left: auto;
  margin-right: auto; 
  display: block;
}





nav li {list-style-type: none;}

ul {
  width: 100%;
  height: 100%;
  padding: 0%;
  list-style-type: none;
  margin: 0;
}
li {
  padding: 3vmin;
  color: #393644;
  cursor: grab;
  font-size: 2vmin;
}



.menu-gauche a:hover {
  color: #1995b9;
  font-size: 18px;
  letter-spacing: 2px;
  transition-duration: 1.5s;
  text-decoration: none;
}
.menu-gauche a {
  font-weight: normal;
  font-family: Tahoma, sans-serif;
  color: #7e7d7d;
  font-size: 20px;
  text-decoration: none;
  transition-duration: 0.5s;
}

.menu-haut a {
  font-weight: normal;
  font-family: Tahoma, sans-serif;
  color: #7e7d7d;
  font-size: 20px;
  text-decoration: none;
  transition-duration: 0.5s;
}
.menu-haut a:hover {
  color: #f3f6f7;
  font-size: 25px;
  letter-spacing: 2px;
  transition-duration: 1.5s;
}


/* menu hm */
.ham {
  color: #1995b9;
  position: fixed;
  top: auto;
  right: 5px;
  cursor: pointer;
}

nav li {
  list-style-type: none;
}

.menu a {
  font-weight: normal;
  font-family: Tahoma, sans-serif;
  color: #a0a0a0;
  font-size: 15px;
  text-decoration: none;
  transition-duration: 0.5s;
  word-break: break-word;
  white-space: normal;
}

.menu a:hover {
  color: #1995b9;
  font-size: 14px;
  letter-spacing: 9px;
  transition-duration: 1.5s;
}

.fas {
  width: 30px;
  height: 30px;
}

.fa-angle-down {
  background-color: #1995b9;
  color: #1995b9;
}

.menu span {
  text-decoration: none;
  font-family: Tahoma, sans-serif;
  color: #a0a0a0;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 9px;
}
.menu hr {
  background-color: #1995b9;
  color: #1995b9;
  width: 100%;
  height: 1px;
  border: none;
}
.menu {
  display: none;
  list-style-type: none;
  text-decoration: none;
  width: 100%;
  height: 300px;
  top: 40px;
  left: 0%;
  line-height: 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.show {
  display: block;
  position: fixed;
  padding: 6vmin;
  background-color: #272727;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.14);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  left: 0;
  right: 0;
  z-index: 99998;
}
.nav-hm {
  position: fixed;
  background-color: #414141;
  z-index: 99999;
  top: 0%;
  left: 0%;
  height: 60px;
  width: 100%;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.14);
}


.bar1 {
  width: 23px;
  height: 3px;
  background-color: #1995b9;
  margin-top: 4px;
  margin-right: 6px;
  margin-left: auto;
  transition: 0.4s;
  border-radius: 0.4vmin;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.432);
}

.bar2 {
  width: 23px;
  height: 3px;
  background-color: #1995b9;
  margin-top: 4px;
  margin-right: 6px;
  margin-left: auto;
  transition: 0.4s;
  border-radius: 0.4vmin;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 6px 10px rgba(0, 0, 0, 0.432);
}

.bar3 {
  width: 11.5px;
  height: 3px;
  background-color: #1995b9;
  margin-top: 4px;
  margin-right: 6px;
  margin-left: auto;
  transition: 0.4s;
  border-radius: 0.4vmin;
}


/* bouton */

.BtnPlus {
  border-radius: 10px 10px 10px 10px;
  font-size: 1em;
  text-align: center;
  background-color: #1995b9;
  width: 200px;
  height: 35px;
  margin-right: 15px;
  margin-left: auto;
  margin-bottom: 15px;
  margin-top: auto;
  transition-duration: 0.5s;
  vertical-align:middle;
 
}
.BtnPlus:hover {
  background-color: #22bceb;
  transition-duration: 0.5s;
}







.BtnPlus a:hover {
  color: #d5e1e4;
  font-size: 18px;
  letter-spacing: 2px;
  transition-duration: 1.5s;
  text-decoration: none;
}
.BtnPlus a {
  font-weight: normal;
  font-family: Tahoma, sans-serif;
  color: #9c4d4d;
  font-size: 20px;
  text-decoration: none;
  transition-duration: 0.5s;
}


.BtnPlus a:hover {
  color: #f3f6f7;
  font-size: 25px;
  letter-spacing: 2px;
  transition-duration: 1.5s;
}

/*Définition tableau standard */ 

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
     white-space: nowrap;      /* <-- empêche le retour à la ligne */
}



th {
    background-color: #34b0d6;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media screen and (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        padding: 10px;
        background: #fff;
    }

    td {
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td::before {
        position: absolute;
        left: 15px;
        top: 12px;
        white-space: nowrap;
        font-weight: bold;
        content: attr(data-label);
        text-align: left;
    }
}
  /*Définition tableau standard */ 

  /* ================================================
   FAQ – Questions fréquentes
   À coller à la fin du fichier css/css.css
   ================================================ */

.faq-section {
  max-width: 900px;
  margin: 48px auto 56px;
  padding: 0 16px;
}

.faq-titre {
  font-size: 1.4em;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
  text-align: center;
}

.faq-sous-titre {
  font-size: 0.95em;
  color: #666;
  text-align: center;
  margin: 0 0 32px;
}

.faq-liste {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-btn span:first-child {
  font-size: 0.98em;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.faq-btn:hover span:first-child {
  color: #005b9e;
}

/* Icône + / × */
.faq-icone {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #aaa;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.faq-icone::before,
.faq-icone::after {
  content: '';
  position: absolute;
  background: #555;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  top: 50%;
  left: 50%;
}

/* barre horizontale */
.faq-icone::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

/* barre verticale */
.faq-icone::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

/* état ouvert : croix → disparition de la barre verticale */
.faq-btn[aria-expanded="true"] .faq-icone {
  background: #e8f2fb;
  border-color: #005b9e;
}

.faq-btn[aria-expanded="true"] .faq-icone::before,
.faq-btn[aria-expanded="true"] .faq-icone::after {
  background: #005b9e;
}

.faq-btn[aria-expanded="true"] .faq-icone::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* Panneau de réponse — accordéon */
.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-reponse-inner {
  padding: 0 4px 20px;
}

.faq-reponse-inner p {
  font-size: 0.92em;
  color: #444;
  line-height: 1.75;
  margin: 0 0 10px;
}

.faq-reponse-inner p:last-child {
  margin-bottom: 0;
}

.faq-reponse-inner ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}

.faq-reponse-inner ul li {
  font-size: 0.92em;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
}

.faq-reponse-inner strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Tags de catégorie */
.faq-tag {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #e8f2fb;
  color: #005b9e;
  letter-spacing: 0.02em;
}

.faq-tag--vert {
  background: #e6f4ec;
  color: #1e7e3e;
}

.faq-tag--orange {
  background: #fff3e0;
  color: #b45309;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .faq-titre {
    font-size: 1.15em;
  }

  .faq-btn span:first-child {
    font-size: 0.92em;
  }

  .faq-reponse-inner p,
  .faq-reponse-inner ul li {
    font-size: 0.88em;
  }
}





/* ================================================
   Pompes vide-futs - header contact + fil d'ariane
   ================================================ */

/* ── .droite : reset du fond blanc pour les liens ── */
.droite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background-color: transparent;
  padding-left: 20px;
  margin: auto 0;
  justify-content: center;
}

/* ── Téléphone ─────────────────────────────────── */
.contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 700;
  color: #1a3a5c;
  background: #e8f2fb;
  border: 2px solid #1a3a5c;
  border-radius: 4px;
  padding: 6px 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.contact-tel:hover {
  background: #1a3a5c;
  color: #ffffff;
}

/* ── Email ─────────────────────────────────────── */
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 500;
  color: #1a3a5c;
  background: transparent;
  border: none;
  border-bottom: 1px solid #1a3a5c;
  padding: 2px 0;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.contact-mail:hover {
  color: #0050a0;
  border-bottom-color: #0050a0;
}

/* ── Icônes SVG ────────────────────────────────── */
.contact-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  vertical-align: middle;
}

/* ── Fil d'ariane ──────────────────────────────── */
.fil-ariane {
  width: 100%;
  background: #f0f4f8;
  border-top: 1px solid #d0dce8;
  border-bottom: 1px solid #d0dce8;
  padding: 7px 20px;
  box-sizing: border-box;
}

.fil-ariane ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.83em;
  color: #555;
}

.fil-ariane li {
  display: flex;
  align-items: center;
}

.fil-ariane li + li::before {
  content: '›';
  margin: 0 7px;
  color: #999;
}

.fil-ariane a {
  color: #1a3a5c;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.fil-ariane a:hover {
  border-bottom-color: #1a3a5c;
}

.fil-ariane li[aria-current="page"] {
  color: #333;
  font-weight: 600;
}

/* ── Liens contextuels dans le contenu ─────────── */
.contenue a,
.titre a {
  color: #1a3a5c;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 58, 92, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.contenue a:hover,
.titre a:hover {
  color: #0050a0;
  border-bottom-color: #0050a0;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 640px) {
  .droite {
    align-items: center;
    padding: 8px 0;
  }
  .contact-tel {
    font-size: 0.9em;
    padding: 5px 10px;
  }
  .contact-mail {
    font-size: 0.80em;
  }
  .fil-ariane {
    padding: 6px 10px;
  }
}


/* ================================================
   BLOG TECHNI-FLOW
   Additif à coller à la fin de css/css-v1.css
   Toutes les classes sont préfixées .blog- pour
   éviter toute collision avec les styles existants.
   Couleurs alignées sur la charte du site :
     - bleu principal   : #1995b9
     - bleu accent      : #34b0d6 / #62b3e2 / #4198ca
     - bleu foncé titre : #1a3a5c
     - fond clair       : #f5f5f4
     - texte courant    : #4a4a4a / #666
   ================================================ */

/* ── Conteneur article ───────────────────────────── */
.blog-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 18px 40px;
  background-color: #f5f5f4;
  font-family: 'Roboto', sans-serif;
  color: #4a4a4a;
  line-height: 1.75;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

.blog-article p {
  text-indent: 0;          /* on annule le text-indent global */
  color: #4a4a4a;
  margin: 0 0 14px;
}

.blog-article strong { color: #1a3a5c; }

.blog-article a {
  color: #1995b9;
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 149, 185, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
.blog-article a:hover {
  color: #1a3a5c;
  border-bottom-color: #1a3a5c;
}

/* ── Catégorie + meta ────────────────────────────── */
.blog-categorie {
  display: inline-block;
  background: #e8f2fb;
  color: #1995b9;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.blog-categorie--vert  { background: #e6f4ec; color: #1e7e3e; }
.blog-categorie--orange{ background: #fff3e0; color: #b45309; }

.blog-meta {
  font-size: 0.85em;
  color: #888;
  margin: 6px 0 24px;
}

.blog-intro {
  font-size: 1.05em;
  color: #444;
  line-height: 1.7;
  margin: 0 0 22px;
  text-indent: 0;
}

/* ── Titres ──────────────────────────────────────── */
.blog-article h1 {
  color: #1a3a5c;
  font-family: 'Roboto', sans-serif;
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-shadow: none;
  margin: 6px 0 14px;
}

.blog-article h2 {
  color: #1a3a5c;
  font-size: 1.4em;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d0e3f0;
}

.blog-article h3 {
  color: #1995b9;
  font-size: 1.1em;
  font-weight: 700;
  margin: 22px 0 8px;
}

/* ── Sommaire ─────────────────────────────────────── */
.blog-sommaire {
  background: #ffffff;
  border-left: 4px solid #1995b9;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 6px 10px rgba(0,0,0,0.08);
  padding: 18px 22px;
  margin: 24px 0 28px;
}
.blog-sommaire-titre {
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1995b9;
  margin: 0 0 8px;
}
.blog-sommaire ol {
  padding-left: 1.3rem;
  margin: 0;
  list-style: decimal;
  width: auto;
  height: auto;
}
.blog-sommaire li {
  padding: 2px 0;
  margin: 0;
  font-size: 0.95em;
  color: #4a4a4a;
  cursor: auto;
}
.blog-sommaire a {
  color: #1995b9;
  border-bottom: none;
}
.blog-sommaire a:hover {
  color: #1a3a5c;
  border-bottom: 1px solid #1a3a5c;
}

/* ── Listes article ──────────────────────────────── */
.blog-article ul,
.blog-article ol {
  width: auto;
  height: auto;
  padding-left: 1.4rem;
  margin: 6px 0 18px;
  list-style: disc;
}
.blog-article ol { list-style: decimal; }
.blog-article li {
  padding: 0;
  margin-bottom: 6px;
  color: #4a4a4a;
  cursor: auto;
  font-size: 1em;
  line-height: 1.7;
}

/* Checklist verte */
.blog-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 10px 0 18px;
}
.blog-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.blog-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 4px;
  top: 0;
  color: #1e7e3e;
  font-weight: 700;
  font-size: 1.1em;
}

/* ── Encadrés / callouts ─────────────────────────── */
.blog-callout {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.95em;
  line-height: 1.65;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}
.blog-callout p { margin: 0; }
.blog-callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-callout--info { background: #e8f2fb; border-left: 4px solid #1995b9; }
.blog-callout--info strong { color: #1995b9; }
.blog-callout--warn { background: #fff3e0; border-left: 4px solid #f59e0b; }
.blog-callout--warn strong { color: #b45309; }
.blog-callout--tip  { background: #e6f4ec; border-left: 4px solid #1e7e3e; }
.blog-callout--tip  strong { color: #1e7e3e; }

/* ── Tableau article (réutilise .table-container du site) ─ */
.blog-article .table-container { margin: 18px 0; }

/* ── CTA bandeau ─────────────────────────────────── */
.blog-cta {
  background: linear-gradient(135deg, #1a3a5c 0%, #1995b9 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  margin: 36px 0 24px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
}
.blog-cta h3 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: 1.25em;
}
.blog-cta p {
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  font-size: 0.95em;
  text-indent: 0;
}
.blog-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #1a3a5c !important;
  font-weight: 700;
  font-size: 0.95em;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none !important;
  transition: background 0.2s, color 0.2s;
}
.blog-cta-btn:hover {
  background: #34b0d6;
  color: #ffffff !important;
}

/* ── Tags fin d'article ──────────────────────────── */
.blog-tags {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #d0dce8;
}
.blog-tags-label {
  font-size: 0.82em;
  color: #888;
  margin-right: 8px;
}
.blog-tag {
  display: inline-block;
  background: #f0f4f9;
  color: #1995b9 !important;
  font-size: 0.78em;
  padding: 4px 11px;
  border-radius: 4px;
  margin: 4px 4px 4px 0;
  text-decoration: none;
  border: none !important;
  transition: background 0.2s;
}
.blog-tag:hover { background: #d4e4f0; }

/* ── Bloc « Articles connexes » ──────────────────── */
.blog-related {
  margin: 32px 0 8px;
  padding: 22px 22px 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.08);
}
.blog-related-titre {
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1995b9;
  margin: 0 0 12px;
}
.blog-related-liste {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}
.blog-related-liste li {
  padding: 8px 0;
  border-bottom: 1px solid #e8eef5;
  margin: 0;
}
.blog-related-liste li:last-child { border-bottom: none; }
.blog-related-liste a {
  color: #1a3a5c;
  font-weight: 500;
  border-bottom: none;
}
.blog-related-liste a:hover { color: #1995b9; }

/* =========================================================
   INDEX BLOG  ── grille de cartes /blog/index.html
   ========================================================= */
.blog-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  width: 100%;
  margin: 0 auto 32px;
  padding: 0 14px;
  box-sizing: border-box;
}
.blog-carte {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}
.blog-carte-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1995b9 0%, #34b0d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-carte-corps {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-carte-corps .blog-categorie { margin-bottom: 10px; }
.blog-carte h3 {
  color: #1a3a5c;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.blog-carte p {
  color: #666;
  font-size: 0.92em;
  line-height: 1.6;
  margin: 0 0 14px;
  text-indent: 0;
  flex-grow: 1;
}
.blog-carte-lien {
  align-self: flex-start;
  color: #1995b9 !important;
  font-weight: 600;
  font-size: 0.95em;
  border-bottom: none !important;
}
.blog-carte-lien::after {
  content: ' \2192';
  transition: margin-left 0.2s;
}
.blog-carte:hover .blog-carte-lien::after { margin-left: 6px; }

/* En-tête de la page d'index blog */
.blog-index-intro {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 0 18px;
  text-align: center;
}
.blog-index-intro h1 {
  color: #1a3a5c;
  font-size: 1.9em;
  margin: 6px 0 10px;
}
.blog-index-intro p {
  color: #666;
  font-size: 1em;
  text-indent: 0;
  margin: 0 auto;
  max-width: 640px;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .blog-article { padding: 8px 14px 32px; }
  .blog-article h1 { font-size: 1.5em; }
  .blog-article h2 { font-size: 1.2em; }
  .blog-article h3 { font-size: 1em; }
  .blog-cta { padding: 22px 16px; }
  .blog-grille { grid-template-columns: 1fr; gap: 16px; padding: 0 10px; }
}



/* ══════════════════════════════════════════════════════════════════
   OUTILS TECHNI-FLOW
   Calculateur NPSH · Perte de charge · Compatibilité chimique
   Ajouté le 2026-04-30
══════════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────
   1. VARIABLES CSS COMMUNES AUX OUTILS
   ──────────────────────────────────────────── */
:root {
  /* Couleurs principales */
  --tf-bleu:        #1a3a5c;
  --tf-bleu-med:    #2e6da4;
  --tf-bleu-clair:  #4198ca;
  --tf-bleu-pale:   #e8f2fb;
  --tf-fond:        #f5f5f4;
  --tf-vert:        #1a5c2a;
  --tf-vert-pale:   #c6efce;
  --tf-orange:      #b45309;
  --tf-orange-pale: #fff3e0;
  --tf-rouge:       #9c0006;
  --tf-rouge-pale:  #ffc7ce;
  --tf-atex:        #c8930a;
  --tf-atex-pale:   #fef3d0;
  --tf-ombre:       0 6px 14px rgba(0,0,0,.1);
  --tf-ombre-forte: 0 10px 24px rgba(0,0,0,.15);

  /* Alias sans préfixe (compatibilité avec les outils existants) */
  --bleu:        var(--tf-bleu);
  --bleu-med:    var(--tf-bleu-med);
  --bleu-clair:  var(--tf-bleu-clair);
  --bleu-pale:   var(--tf-bleu-pale);
  --fond:        var(--tf-fond);
  --vert:        var(--tf-vert);
  --vert-pale:   var(--tf-vert-pale);
  --orange:      var(--tf-orange);
  --orange-pale: var(--tf-orange-pale);
  --rouge:       var(--tf-rouge);
  --rouge-pale:  var(--tf-rouge-pale);
  --atex:        var(--tf-atex);
  --atex-pale:   var(--tf-atex-pale);
  --ombre:       var(--tf-ombre);
  --ombre-forte: var(--tf-ombre-forte);
}


/* ────────────────────────────────────────────
   2. SURCHARGE LIENS DANS LES OUTILS
   .contenue a impose color:#1a3a5c + border-bottom
   Les boutons d'action doivent surcharger cette règle
   ──────────────────────────────────────────── */
#npsh-tool .ep-link,
#npsh-tool .ep-link:visited,
#npsh-tool .btn-load,
#npsh-tool .btn-load:visited,
#npsh-tool .npsh-btn,
#npsh-tool .npsh-btn-reset,
#npsh-tool .ex-nav a,
#npsh-tool .page-nav a,
#pdc-tool .pdc-btn,
#pdc-tool .pdc-btn-reset {
  border-bottom: none !important;
}

#npsh-tool .ep-link-main,
#npsh-tool .ep-link-main:visited,
#npsh-tool .btn-load,
#npsh-tool .btn-load:visited,
#npsh-tool .npsh-btn,
#npsh-tool .page-nav a,
#pdc-tool .pdc-btn {
  color: #ffffff !important;
  text-decoration: none;
}
#npsh-tool .ep-link-main:hover,
#npsh-tool .btn-load:hover,
#npsh-tool .npsh-btn:hover,
#npsh-tool .page-nav a:hover,
#pdc-tool .pdc-btn:hover { color: #ffffff !important; }

#npsh-tool .ep-link-sec,
#npsh-tool .ep-link-sec:visited { color: var(--tf-bleu) !important; text-decoration: none; }
#npsh-tool .ep-link-sec:hover   { color: var(--tf-bleu) !important; }
#npsh-tool .page-nav a.nav-sec,
#npsh-tool .page-nav a.nav-sec:visited { color: var(--tf-bleu) !important; }

#npsh-tool .npsh-btn-reset,
#npsh-tool .npsh-btn-reset:visited,
#pdc-tool  .pdc-btn-reset,
#pdc-tool  .pdc-btn-reset:visited { color: #a8c8e8 !important; }

#npsh-tool .ex-nav a,
#npsh-tool .ex-nav a:visited { color: var(--tf-bleu) !important; }
#npsh-tool .ex-nav a:hover   { color: #ffffff !important; }

#npsh-tool .badge-atex,
#npsh-tool .badge-atex:visited,
#npsh-tool .ep-ref,
#npsh-tool .ep-ref:visited {
  color: #ffffff !important;
  border-bottom: none !important;
}

#npsh-tool .npsh-formula-box a,
#npsh-tool .npsh-formula-box a:visited { color: #4198ca !important; border-bottom: none; }
#npsh-tool .npsh-hint a,
#npsh-tool .npsh-hint a:visited        { color: #a8c8e8 !important; border-bottom: none; }
#npsh-tool .ev-sub a                   { color: #ffffff !important; border-bottom: 1px solid rgba(255,255,255,.4) !important; }

#compat-tool .filter-btn,
#compat-tool .filter-btn:visited { border-bottom: none !important; }
#compat-tool .filter-btn.active  { color: #ffffff !important; }


/* ────────────────────────────────────────────
   3. COMPOSANTS COMMUNS AUX OUTILS
   ──────────────────────────────────────────── */

/* Navigation interne par ancres */
.page-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 14px 20px; background: var(--tf-fond);
  border-radius: 10px; box-shadow: var(--tf-ombre); margin-bottom: 20px;
}
.page-nav-title {
  font-family: Tahoma, sans-serif; font-size: .78em; font-weight: 700;
  color: #888; letter-spacing: .06em; text-transform: uppercase;
  width: 100%; margin-bottom: 2px;
}
.page-nav a {
  padding: 7px 16px; background: var(--tf-bleu); border-radius: 6px;
  font-family: Tahoma, sans-serif; font-size: .82em; font-weight: 700;
  text-decoration: none; transition: background .18s; white-space: nowrap;
}
.page-nav a:hover { background: var(--tf-bleu-clair); }
.page-nav a.nav-sec {
  background: #fff; border: 2px solid var(--tf-bleu-med);
}
.page-nav a.nav-sec:hover { background: var(--tf-bleu-pale); }

/* Séparateur de section avec étiquette */
.section-divider {
  display: flex; align-items: center; gap: 16px; margin: 32px 0 20px;
}
.section-divider::before,
.section-divider::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tf-bleu-med), transparent);
}
.section-divider-label {
  background: var(--tf-bleu); color: #fff; padding: 8px 24px;
  border-radius: 20px; font-family: Tahoma, sans-serif; font-size: .85em;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* Note juridique commune */
.tool-legal {
  padding: 18px 22px; background: var(--tf-orange-pale);
  border-left: 5px solid var(--tf-orange); border-radius: 10px;
  box-shadow: var(--tf-ombre); margin-top: 20px;
}
.tool-legal p {
  font-family: Tahoma, sans-serif; font-size: .83em; color: #555;
  line-height: 1.7; margin: 0 0 8px; text-indent: 0;
}
.tool-legal p:last-child { margin: 0; }
.tool-legal strong { color: var(--tf-orange); }
.tool-legal ul { margin: 6px 0 10px 18px; padding: 0; width: auto; height: auto; }
.tool-legal li { font-family: Tahoma, sans-serif; font-size: .83em; color: #555; padding: 2px 0; cursor: default; }


/* ────────────────────────────────────────────
   4. CALCULATEUR NPSH  (#npsh-tool)
   ──────────────────────────────────────────── */
/* ══════════════════════════════════════
       VARIABLES
    ══════════════════════════════════════ */
    /* variables: voir :root en section 1 */

    /* ══════════════════════════════════════
       LAYOUT GENERAL
    ══════════════════════════════════════ */
    #npsh-tool { width:100%; box-sizing:border-box; }

    .npsh-section { margin-bottom:20px; }

    .npsh-card {
      background:#fff;
      border-radius:10px;
      box-shadow:var(--ombre);
      overflow:hidden;
    }
    .npsh-card-head {
      padding:13px 22px;
      background:var(--bleu);
      color:#fff;
      font-family:Tahoma,sans-serif;
      font-size:.83em;
      font-weight:700;
      letter-spacing:.06em;
      text-transform:uppercase;
    }
    .npsh-card-body { padding:20px 22px; }

    /* ══════════════════════════════════════
       BLOC 1 — INTRO PÉDAGOGIQUE
    ══════════════════════════════════════ */
    .npsh-intro {
      padding:20px 22px 16px;
      background:var(--fond);
      border-radius:10px;
      box-shadow:var(--ombre);
      margin-bottom:20px;
    }
    .npsh-intro h2 { margin:0 0 10px; color:var(--bleu); }
    .npsh-intro p  { margin:0 0 10px; font-size:.93em; text-indent:0; color:#444; }
    .npsh-intro p:last-child { margin:0; }

    .npsh-avantages {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
      gap:12px;
      margin-top:16px;
    }
    .npsh-avantage-card {
      padding:14px 16px;
      background:#fff;
      border-radius:8px;
      border-left:4px solid var(--bleu-clair);
      box-shadow:0 3px 8px rgba(0,0,0,.07);
    }
    .npsh-avantage-card .av-icon { font-size:1.6em; margin-bottom:6px; }
    .npsh-avantage-card .av-title {
      font-family:Tahoma,sans-serif; font-size:.82em; font-weight:700;
      color:var(--bleu); margin-bottom:4px;
    }
    .npsh-avantage-card .av-text {
      font-family:Tahoma,sans-serif; font-size:.78em; color:#666; line-height:1.5;
    }

    /* ══════════════════════════════════════
       FORMULE
    ══════════════════════════════════════ */
    .npsh-formula-box {
      padding:14px 20px;
      background:#0d2540;
      border-radius:10px;
      margin-bottom:20px;
      box-shadow:var(--ombre);
    }
    .npsh-formula-box .fml-title {
      font-family:Tahoma,sans-serif; font-size:.75em; font-weight:700;
      color:#5a7a9a; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px;
    }
    .npsh-formula-box p {
      font-family:'Courier New',monospace; font-size:.88em;
      color:#a8c8e8; margin:0 0 5px; text-indent:0; line-height:1.8;
    }
    .npsh-formula-box p:last-child { margin:0; }
    .fhl { color:#4198ca; font-weight:700; }
    .fhl2 { color:#7dd87d; font-weight:700; }

    /* ══════════════════════════════════════
       EXEMPLES SECTORIELS (Bloc 3)
    ══════════════════════════════════════ */
    .npsh-exemples-title {
      font-family:Tahoma,sans-serif; font-size:.82em; font-weight:700;
      color:var(--bleu); letter-spacing:.04em; text-transform:uppercase;
      margin-bottom:10px; padding-left:2px;
    }
    .npsh-exemples {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
      gap:10px;
      margin-bottom:20px;
    }
    .exemple-btn {
      padding:12px 14px;
      background:#fff;
      border:2px solid var(--bleu-med);
      border-radius:8px;
      cursor:pointer;
      text-align:left;
      transition:all .18s;
      box-shadow:0 2px 6px rgba(0,0,0,.07);
    }
    .exemple-btn:hover {
      background:var(--bleu);
      border-color:var(--bleu);
      transform:translateY(-2px);
      box-shadow:0 6px 14px rgba(0,0,0,.15);
    }
    .exemple-btn:hover .ex-title,
    .exemple-btn:hover .ex-desc { color:#fff; }
    .exemple-btn.active {
      background:var(--bleu);
      border-color:var(--bleu-clair);
      box-shadow:0 0 0 3px rgba(65,152,202,.3);
    }
    .exemple-btn.active .ex-title,
    .exemple-btn.active .ex-desc { color:#fff; }
    .ex-icon  { font-size:1.5em; margin-bottom:5px; }
    .ex-title { font-family:Tahoma,sans-serif; font-size:.82em; font-weight:700; color:var(--bleu); }
    .ex-desc  { font-family:Tahoma,sans-serif; font-size:.74em; color:#888; margin-top:3px; line-height:1.4; }

    /* ══════════════════════════════════════
       GRILLE SAISIE
    ══════════════════════════════════════ */
    .npsh-grid {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
      gap:14px;
      padding:20px 22px;
      background:var(--bleu);
      border-radius:10px;
      margin-bottom:20px;
      box-shadow:var(--ombre);
    }
    .npsh-field { display:flex; flex-direction:column; gap:5px; }
    .npsh-field label {
      font-family:Tahoma,sans-serif; font-size:.75em; font-weight:700;
      color:#a8c8e8; letter-spacing:.06em; text-transform:uppercase;
    }
    .npsh-field input,
    .npsh-field select {
      padding:9px 12px; border:2px solid var(--bleu-med); border-radius:6px;
      background:#0d2540; color:#e8f2fb; font-family:Tahoma,sans-serif;
      font-size:.95em; outline:none; transition:border-color .2s;
      width:100%; box-sizing:border-box;
    }
    .npsh-field input:focus,
    .npsh-field select:focus { border-color:var(--bleu-clair); }
    .npsh-field input::placeholder { color:#3a5a7a; }
    .npsh-hint { font-family:Tahoma,sans-serif; font-size:.72em; color:#5a7a9a; line-height:1.4; }

    .npsh-btns {
      grid-column:1/-1; display:flex; gap:12px; flex-wrap:wrap;
      align-items:center; padding-top:4px;
    }
    .npsh-btn {
      padding:11px 30px; background:var(--bleu-clair); color:#fff; border:none;
      border-radius:6px; font-family:Tahoma,sans-serif; font-size:1em;
      font-weight:700; cursor:pointer; transition:background .2s;
    }
    .npsh-btn:hover { background:#22bceb; }
    .npsh-btn-reset {
      padding:11px 18px; background:transparent; color:#a8c8e8;
      border:2px solid var(--bleu-med); border-radius:6px;
      font-family:Tahoma,sans-serif; font-size:.88em; cursor:pointer;
      transition:border-color .2s, color .2s;
    }
    .npsh-btn-reset:hover { border-color:#a8c8e8; color:#e8f2fb; }

    /* Message erreur */
    .npsh-error {
      display:none; padding:12px 18px; background:var(--rouge-pale);
      border-left:5px solid var(--rouge); border-radius:8px;
      font-family:Tahoma,sans-serif; font-size:.88em; color:var(--rouge);
      font-weight:600; margin-bottom:16px;
    }
    .npsh-error.show { display:block; }

    /* ══════════════════════════════════════
       RÉSULTATS
    ══════════════════════════════════════ */
    #npsh-results { display:none; }
    #npsh-results.show { display:block; }

    /* Verdict principal — très grand et visible */
    .npsh-verdict {
      padding:24px 26px;
      border-radius:12px;
      margin-bottom:16px;
      box-shadow:var(--ombre-forte);
      display:flex;
      align-items:center;
      gap:20px;
      flex-wrap:wrap;
    }
    .verdict-icon { font-size:2.8em; flex-shrink:0; }
    .verdict-body { flex:1; min-width:200px; }
    .verdict-title {
      font-family:Tahoma,sans-serif; font-size:1.2em; font-weight:900;
      margin-bottom:4px; letter-spacing:.02em;
    }
    .verdict-sub { font-family:Tahoma,sans-serif; font-size:.88em; opacity:.85; line-height:1.5; }
    .verdict-ok     { background:var(--vert);   color:#fff; }
    .verdict-warn   { background:var(--orange); color:#fff; }
    .verdict-danger { background:var(--rouge);  color:#fff; }
    .verdict-info   { background:var(--bleu);   color:#fff; }

    /* Cartes héros NPSH */
    .npsh-hero {
      display:grid;
      grid-template-columns:1fr 1fr 1fr;
      gap:14px;
      margin-bottom:14px;
    }
    .npsh-hero-card {
      padding:20px 18px; border-radius:10px;
      box-shadow:var(--ombre-forte);
    }
    .nhc-label {
      font-family:Tahoma,sans-serif; font-size:.72em; font-weight:700;
      letter-spacing:.07em; text-transform:uppercase; opacity:.72; margin-bottom:7px;
    }
    .nhc-val {
      font-family:'Courier New',monospace; font-size:2.2em;
      font-weight:900; line-height:1; margin-bottom:3px;
    }
    .nhc-unit { font-family:Tahoma,sans-serif; font-size:.82em; opacity:.68; margin-bottom:8px; }
    .nhc-sub  {
      font-family:Tahoma,sans-serif; font-size:.78em; opacity:.65;
      border-top:1px solid rgba(255,255,255,.2); padding-top:7px; line-height:1.5;
    }
    .nhc-blue  { background:var(--bleu);  color:#fff; }
    .nhc-blue  .nhc-val { color:#4198ca; }
    .nhc-dark  { background:#0d2540;      color:#fff; }
    .nhc-dark  .nhc-val { color:#4198ca; }
    .nhc-ok    { background:var(--vert);  color:#fff; }
    .nhc-ok    .nhc-val { color:#c6efce; }
    .nhc-warn  { background:var(--orange);color:#fff; }
    .nhc-warn  .nhc-val { color:#fff3e0; }
    .nhc-alert { background:var(--rouge); color:#fff; }
    .nhc-alert .nhc-val { color:#ffc7ce; }

    /* Cartes secondaires */
    .npsh-mini-cards {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
      gap:10px;
      margin-bottom:16px;
    }
    .npsh-mini {
      padding:12px 14px; background:#fff; border-radius:8px;
      box-shadow:var(--ombre); border-left:4px solid #dde;
    }
    .nm-label { font-family:Tahoma,sans-serif; font-size:.7em; font-weight:700; color:#888; text-transform:uppercase; letter-spacing:.05em; margin-bottom:3px; }
    .nm-val   { font-family:'Courier New',monospace; font-size:1.2em; font-weight:900; color:var(--bleu); }
    .nm-unit  { font-family:Tahoma,sans-serif; font-size:.73em; color:#999; }

    /* Tableau détail */
    .npsh-detail-table {
      width:100%; border-collapse:collapse;
      font-family:Tahoma,sans-serif; font-size:.84em;
    }
    .npsh-detail-table td {
      padding:9px 18px; border-bottom:1px solid #e8edf2; color:#333; vertical-align:top;
    }
    .npsh-detail-table tr:last-child td { border-bottom:none; }
    .npsh-detail-table td:first-child { color:#666; width:55%; }
    .npsh-detail-table td:last-child  { font-weight:700; color:var(--bleu); font-family:'Courier New',monospace; }
    .npsh-detail-table tr:nth-child(even) td { background:#f8fafc; }

    /* ══════════════════════════════════════
       DIAGNOSTIC & SOLUTIONS
    ══════════════════════════════════════ */
    .npsh-solutions { display:none; }
    .npsh-solutions.show { display:block; }

    .solution-grid {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
      gap:12px;
    }
    .solution-card {
      padding:16px 18px; background:#fff; border-radius:8px;
      box-shadow:var(--ombre); border-top:4px solid var(--bleu-clair);
    }
    .sol-number {
      width:28px; height:28px; border-radius:50%; background:var(--bleu);
      color:#fff; font-family:Tahoma,sans-serif; font-size:.85em; font-weight:700;
      display:flex; align-items:center; justify-content:center; margin-bottom:8px;
    }
    .sol-title { font-family:Tahoma,sans-serif; font-size:.88em; font-weight:700; color:var(--bleu); margin-bottom:5px; }
    .sol-text  { font-family:Tahoma,sans-serif; font-size:.8em; color:#555; line-height:1.5; }
    .sol-impact {
      margin-top:8px; padding:4px 10px; border-radius:4px;
      font-family:Tahoma,sans-serif; font-size:.76em; font-weight:700;
      background:var(--bleu-pale); color:var(--bleu); display:inline-block;
    }

    /* Message pompe à membranes */
    .npsh-membrane-msg {
      padding:16px 20px; background:linear-gradient(135deg,#1a3a5c,#0d2540);
      border-radius:10px; margin-top:14px; box-shadow:var(--ombre);
      display:flex; align-items:flex-start; gap:14px;
    }
    .npsh-membrane-msg .msg-icon { font-size:2em; flex-shrink:0; }
    .npsh-membrane-msg .msg-body { flex:1; }
    .npsh-membrane-msg .msg-title {
      font-family:Tahoma,sans-serif; font-size:.92em; font-weight:700;
      color:#4198ca; margin-bottom:5px;
    }
    .npsh-membrane-msg .msg-text {
      font-family:Tahoma,sans-serif; font-size:.82em; color:#a8c8e8; line-height:1.6;
    }
    .npsh-membrane-msg a { color:#4198ca; font-weight:700; }

    /* ══════════════════════════════════════
       NOTE JURIDIQUE
    ══════════════════════════════════════ */
    .npsh-legal {
      padding:18px 22px; background:var(--orange-pale);
      border-left:5px solid var(--orange); border-radius:10px;
      box-shadow:var(--ombre); margin-top:20px;
    }
    .npsh-legal p {
      font-family:Tahoma,sans-serif; font-size:.83em; color:#555;
      line-height:1.7; margin:0 0 8px; text-indent:0;
    }
    .npsh-legal p:last-child { margin:0; }
    .npsh-legal strong { color:var(--orange); }
    .npsh-legal ul {
      margin:6px 0 10px 18px; padding:0; width:auto; height:auto;
    }
    .npsh-legal li {
      font-family:Tahoma,sans-serif; font-size:.83em;
      color:#555; padding:2px 0; cursor:default;
    }

    /* ══════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════ */
    @media(max-width:700px) {
      .npsh-hero  { grid-template-columns:1fr 1fr; }
      .npsh-hero .npsh-hero-card:last-child { grid-column:1/-1; }
      .npsh-mini-cards { grid-template-columns:1fr 1fr; }
      .npsh-grid  { grid-template-columns:1fr; padding:14px 12px; }
      .npsh-avantages { grid-template-columns:1fr; }
      .solution-grid { grid-template-columns:1fr 1fr; }
      .npsh-exemples { grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); }
      .verdict-icon { font-size:2em; }
    }

    /* ══ STYLES EXEMPLES ══ */
#ex-tool { width:100%; box-sizing:border-box; }

    /* Intro */
    .ex-intro { padding:20px 22px 16px; background:var(--fond); border-radius:10px; box-shadow:var(--ombre); margin-bottom:20px; }
    .ex-intro h2 { margin:0 0 8px; color:var(--bleu); }
    .ex-intro p  { margin:0 0 8px; font-size:.93em; text-indent:0; color:#444; }
    .ex-intro p:last-child { margin:0; }

    /* Navigation rapide */
    .ex-nav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
    .ex-nav a {
      padding:8px 16px; background:#fff; border:2px solid var(--bleu-med);
      border-radius:20px; font-family:Tahoma,sans-serif; font-size:.82em;
      font-weight:700; color:var(--bleu); text-decoration:none; transition:all .18s; white-space:nowrap;
    }
    .ex-nav a:hover { background:var(--bleu); color:#fff; border-color:var(--bleu); }

    /* Carte cas */
    .ex-case { background:#fff; border-radius:12px; box-shadow:var(--ombre); margin-bottom:28px; overflow:hidden; }

    /* En-tête */
    .ex-head { padding:18px 22px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
    .ex-icon { font-size:2.4em; flex-shrink:0; }
    .ex-title-block { flex:1; min-width:200px; }
    .ex-num { font-family:Tahoma,sans-serif; font-size:.72em; font-weight:700; letter-spacing:.08em; text-transform:uppercase; opacity:.72; margin-bottom:3px; }
    .ex-title { font-family:Tahoma,sans-serif; font-size:1.1em; font-weight:900; margin-bottom:3px; line-height:1.2; }
    .ex-sub { font-family:Tahoma,sans-serif; font-size:.83em; opacity:.78; line-height:1.4; }
    .head-peinture { background:linear-gradient(135deg,#1a3a5c,#2a4e70); color:#fff; }
    .head-chimie   { background:linear-gradient(135deg,#6b1a1a,#8c2222); color:#fff; }
    .head-agro     { background:linear-gradient(135deg,#1a5c2a,#236b33); color:#fff; }
    .head-solvant  { background:linear-gradient(135deg,#7a3800,#995010); color:#fff; }
    .head-eau      { background:linear-gradient(135deg,#14568a,#1a6a9a); color:#fff; }

    .badge-atex {
      background:var(--atex); color:#fff; font-family:Tahoma,sans-serif;
      font-size:.74em; font-weight:900; padding:5px 12px; border-radius:4px;
      letter-spacing:.06em; white-space:nowrap; align-self:flex-start;
      box-shadow:0 2px 6px rgba(0,0,0,.2);
    }

    /* Corps */
    .ex-body { padding:20px 22px; }

    /* Schéma ASCII */
    .ex-schema {
      background:#0d2540; border-radius:8px; padding:14px 18px;
      margin-bottom:18px;
    }
    .ex-schema .sh-title {
      font-family:Tahoma,sans-serif; font-size:.72em; font-weight:700;
      color:#5a7a9a; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px;
    }
    .ex-schema pre {
      font-family:'Courier New',monospace; font-size:.83em; color:#a8c8e8;
      line-height:1.9; margin:0; white-space:pre-wrap;
    }
    .sh-hl   { color:#4198ca; font-weight:700; }
    .sh-ok   { color:#7dd87d; font-weight:700; }
    .sh-warn { color:#f0c040; font-weight:700; }
    .sh-bad  { color:#ff6b6b; font-weight:700; }

    /* Deux colonnes params / calcul */
    .ex-two { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:18px; }

    .ex-table {
      width:100%; border-collapse:collapse; font-family:Tahoma,sans-serif; font-size:.84em;
    }
    .ex-table caption {
      font-weight:700; color:var(--bleu); font-size:.78em; letter-spacing:.05em;
      text-transform:uppercase; padding-bottom:7px; text-align:left;
    }
    .ex-table td { padding:7px 10px; border-bottom:1px solid #e8edf2; vertical-align:top; }
    .ex-table tr:last-child td { border-bottom:none; }
    .ex-table td:first-child { color:#666; width:56%; }
    .ex-table td:last-child  { font-weight:700; color:var(--bleu); font-family:'Courier New',monospace; }
    .ex-table tr:nth-child(even) td { background:#f8fafc; }

    /* Verdict NPSHd */
    .ex-verdict {
      padding:18px 22px; border-radius:10px; margin-bottom:16px;
      display:flex; align-items:center; gap:20px; flex-wrap:wrap;
      box-shadow:0 4px 12px rgba(0,0,0,.12);
    }
    .ev-val { font-family:'Courier New',monospace; font-size:2.8em; font-weight:900; flex-shrink:0; line-height:1; }
    .ev-body { flex:1; min-width:180px; }
    .ev-title { font-family:Tahoma,sans-serif; font-size:1em; font-weight:700; margin-bottom:4px; }
    .ev-sub   { font-family:Tahoma,sans-serif; font-size:.83em; opacity:.82; line-height:1.5; }
    .ver-ok    { background:var(--vert);   color:#fff; }
    .ver-warn  { background:var(--orange); color:#fff; }
    .ver-alert { background:var(--rouge);  color:#fff; }

    /* Barre de marge */
    .ex-marge { margin-bottom:18px; }
    .marge-label {
      display:flex; justify-content:space-between;
      font-family:Tahoma,sans-serif; font-size:.77em; font-weight:700; color:#666; margin-bottom:5px;
    }
    .marge-track { height:20px; background:#e8edf2; border-radius:10px; overflow:hidden; position:relative; }
    .marge-fill {
      height:100%; border-radius:10px;
      display:flex; align-items:center; padding-left:10px;
      font-family:Tahoma,sans-serif; font-size:.73em; font-weight:700; color:#fff;
    }
    .mf-ok    { background:var(--vert); }
    .mf-warn  { background:var(--orange); }
    .mf-alert { background:var(--rouge); }
    .marge-npshr {
      position:absolute; top:0; height:100%; border-left:3px dashed rgba(255,255,255,.75);
    }

    /* Alerte ATEX */
    .alert-atex {
      background:var(--atex-pale); border-left:4px solid var(--atex);
      border-radius:8px; padding:11px 16px; margin-bottom:14px;
      font-family:Tahoma,sans-serif; font-size:.83em; color:#6a4c00; line-height:1.6;
    }
    .alert-atex strong { color:#5a3a00; }

    /* Alerte correctif */
    .alert-correctif {
      background:var(--orange-pale); border-left:4px solid var(--orange);
      border-radius:8px; padding:11px 16px; margin-bottom:14px;
      font-family:Tahoma,sans-serif; font-size:.83em; color:#6b3000; line-height:1.6;
    }

    /* Recommandation pompe */
    .ex-pompe {
      background:var(--bleu-pale); border-radius:10px;
      padding:16px 20px; display:flex; align-items:flex-start; gap:14px; flex-wrap:wrap;
    }
    .ep-icon { font-size:1.8em; flex-shrink:0; margin-top:2px; }
    .ep-body { flex:1; min-width:200px; }
    .ep-title { font-family:Tahoma,sans-serif; font-size:.88em; font-weight:700; color:var(--bleu); margin-bottom:8px; }
    .ep-refs  { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
    .ep-ref {
      font-family:'Courier New',monospace; font-size:.88em; font-weight:700;
      padding:4px 12px; border-radius:4px;
    }
    .ep-ref-std  { background:var(--bleu);  color:#fff; }
    .ep-ref-atex { background:var(--atex);  color:#fff; }
    .ep-ref-inox { background:#2e5c2e;      color:#fff; }
    .ep-text { font-family:Tahoma,sans-serif; font-size:.81em; color:#555; line-height:1.6; }
    .ep-links { margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
    .ep-link {
      padding:7px 16px; border-radius:6px; font-family:Tahoma,sans-serif;
      font-size:.8em; font-weight:700; text-decoration:none; transition:background .18s;
    }
    .ep-link-main { background:var(--bleu); color:#fff; }
    .ep-link-main:hover { background:var(--bleu-clair); }
    .ep-link-sec { background:#fff; color:var(--bleu); border:2px solid var(--bleu-med); }
    .ep-link-sec:hover { background:var(--bleu-pale); }

    /* Bouton charger calculateur */
    .btn-load {
      display:inline-block; margin-top:8px; padding:7px 16px;
      background:var(--bleu-clair); color:#fff; border-radius:6px;
      font-family:Tahoma,sans-serif; font-size:.8em; font-weight:700;
      text-decoration:none; transition:background .18s;
    }
    .btn-load:hover { background:#22bceb; }

    /* Note juridique */
    .ex-legal {
      padding:16px 20px; background:var(--orange-pale);
      border-left:5px solid var(--orange); border-radius:10px;
      box-shadow:var(--ombre); margin-top:20px;
    }
    .ex-legal p  { font-family:Tahoma,sans-serif; font-size:.82em; color:#555; line-height:1.7; margin:0 0 6px; text-indent:0; }
    .ex-legal p:last-child { margin:0; }
    .ex-legal ul { margin:4px 0 8px 18px; padding:0; width:auto; height:auto; }
    .ex-legal li { font-family:Tahoma,sans-serif; font-size:.82em; color:#555; padding:2px 0; cursor:default; }
    .ex-legal strong { color:var(--orange); }

    @media(max-width:680px){
      .ex-two { grid-template-columns:1fr; }
      .ev-val { font-size:2.2em; }
      .ex-nav a { font-size:.76em; padding:6px 11px; }
    }

    /* ══ CORRECTIONS ET NAVIGATION ══ */

    /* ══ CORRECTION BOUTONS — surcharge .contenue a ══ */
    /* Le CSS global impose color:#1a3a5c sur .contenue a  */
    /* On surcharge avec des sélecteurs plus spécifiques   */
    #npsh-tool .ep-link,
    #npsh-tool .ep-link:visited,
    #npsh-tool .btn-load,
    #npsh-tool .btn-load:visited,
    #npsh-tool .npsh-btn,
    #npsh-tool .npsh-btn-reset,
    #npsh-tool .ex-nav a,
    #npsh-tool .ex-pompe-link,
    #npsh-tool .ex-load-btn {
      border-bottom: none !important;
    }
    #npsh-tool .ep-link-main,
    #npsh-tool .ep-link-main:visited,
    #npsh-tool .btn-load,
    #npsh-tool .btn-load:visited,
    #npsh-tool .npsh-btn {
      color: #ffffff !important;
      text-decoration: none;
    }
    #npsh-tool .ep-link-main:hover,
    #npsh-tool .btn-load:hover,
    #npsh-tool .npsh-btn:hover { color:#ffffff !important; }

    #npsh-tool .ep-link-sec,
    #npsh-tool .ep-link-sec:visited {
      color: var(--bleu) !important;
      text-decoration: none;
    }
    #npsh-tool .ep-link-sec:hover { color:var(--bleu) !important; }

    #npsh-tool .npsh-btn-reset,
    #npsh-tool .npsh-btn-reset:visited { color:#a8c8e8 !important; }

    #npsh-tool .ex-nav a,
    #npsh-tool .ex-nav a:visited { color:var(--bleu) !important; }
    #npsh-tool .ex-nav a:hover   { color:#ffffff !important; }

    #npsh-tool .badge-atex,
    #npsh-tool .badge-atex:visited { color:#ffffff !important; border-bottom:none !important; }

    #npsh-tool .ep-ref,
    #npsh-tool .ep-ref:visited { color:#ffffff !important; border-bottom:none !important; }

    /* Liens dans les schémas */
    #npsh-tool .npsh-formula-box a,
    #npsh-tool .npsh-formula-box a:visited { color:#4198ca !important; border-bottom:none; }
    #npsh-tool .npsh-hint a,
    #npsh-tool .npsh-hint a:visited { color:#a8c8e8 !important; border-bottom:none; }
    #npsh-tool .ex-schema pre a,
    #npsh-tool .ev-sub a { color:#ffffff !important; border-bottom:1px solid rgba(255,255,255,.4) !important; }

    /* ══ NAVIGATION PAGE INTERNE (ancres) ══ */
    .page-nav {
      display:flex; flex-wrap:wrap; gap:10px;
      padding:14px 20px; background:var(--fond);
      border-radius:10px; box-shadow:var(--ombre);
      margin-bottom:20px;
    }
    .page-nav-title {
      font-family:Tahoma,sans-serif; font-size:.78em; font-weight:700;
      color:#888; letter-spacing:.06em; text-transform:uppercase;
      width:100%; margin-bottom:2px;
    }
    .page-nav a {
      padding:7px 16px; background:var(--bleu); color:#ffffff !important;
      border-radius:6px; font-family:Tahoma,sans-serif; font-size:.82em;
      font-weight:700; text-decoration:none; border-bottom:none !important;
      transition:background .18s; white-space:nowrap;
    }
    .page-nav a:hover { background:var(--bleu-clair); color:#fff !important; }
    .page-nav a.nav-sec {
      background:#fff; color:var(--bleu) !important;
      border:2px solid var(--bleu-med);
    }
    .page-nav a.nav-sec:hover { background:var(--bleu-pale); }

    /* ══ SÉPARATEUR DE SECTION ══ */
    .section-divider {
      display:flex; align-items:center; gap:16px;
      margin:32px 0 20px;
    }
    .section-divider::before,
    .section-divider::after {
      content:''; flex:1; height:2px; background:linear-gradient(90deg,transparent,var(--bleu-med),transparent);
    }
    .section-divider-label {
      background:var(--bleu); color:#fff; padding:8px 24px;
      border-radius:20px; font-family:Tahoma,sans-serif; font-size:.85em;
      font-weight:700; letter-spacing:.06em; text-transform:uppercase;
      white-space:nowrap;
    }


/* ────────────────────────────────────────────
   5. CALCULATEUR PERTE DE CHARGE  (#pdc-tool)
   ──────────────────────────────────────────── */
/* ── Outil perte de charge ── */
    #pdc-tool { width:100%; box-sizing:border-box; }

    .pdc-card {
      background:#f5f5f4;
      border-radius:10px;
      box-shadow:0 6px 10px rgba(0,0,0,.1);
      margin-bottom:16px;
      overflow:hidden;
    }
    .pdc-card-head {
      padding:12px 20px;
      background:#1a3a5c;
      color:#fff;
      font-family:Tahoma,sans-serif;
      font-size:.82em;
      font-weight:700;
      letter-spacing:.06em;
      text-transform:uppercase;
    }
    .pdc-card-body { padding:18px 20px; }

    /* Intro */
    .pdc-intro { padding:18px 20px 14px; }
    .pdc-intro h2 { margin:0 0 8px; }
    .pdc-intro p  { margin:0; font-size:.93em; text-indent:0; color:#666; }

    /* Formule */
    .pdc-formula { padding:14px 20px; background:#0d2540; }
    .pdc-formula p {
      font-family:'Courier New',monospace; font-size:.88em;
      color:#a8c8e8; margin:0 0 5px; text-indent:0; line-height:1.7;
    }
    .pdc-formula p:last-child { margin:0; }
    .pdc-fhl { color:#4198ca; font-weight:700; }

    /* Grille saisie */
    .pdc-grid {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
      gap:14px;
      padding:18px 20px;
      background:#1a3a5c;
    }
    .pdc-field { display:flex; flex-direction:column; gap:5px; }
    .pdc-field label {
      font-family:Tahoma,sans-serif; font-size:.75em; font-weight:700;
      color:#a8c8e8; letter-spacing:.06em; text-transform:uppercase;
    }
    .pdc-field input, .pdc-field select {
      padding:9px 12px; border:2px solid #2e6da4; border-radius:6px;
      background:#0d2540; color:#e8f2fb; font-family:Tahoma,sans-serif;
      font-size:.95em; outline:none; transition:border-color .2s;
      width:100%; box-sizing:border-box;
    }
    .pdc-field input:focus, .pdc-field select:focus { border-color:#4198ca; }
    .pdc-field input::placeholder { color:#3a5a7a; }
    .pdc-hint { font-family:Tahoma,sans-serif; font-size:.72em; color:#5a7a9a; }
    .pdc-suggest { font-family:Tahoma,sans-serif; font-size:.75em; color:#4198ca; font-weight:600; min-height:1em; }

    /* Boutons */
    .pdc-btns {
      grid-column:1 / -1;
      display:flex; gap:12px; flex-wrap:wrap; align-items:center;
      padding-top:4px;
    }
    .pdc-btn {
      padding:11px 30px; background:#4198ca; color:#fff; border:none;
      border-radius:6px; font-family:Tahoma,sans-serif; font-size:1em;
      font-weight:700; cursor:pointer; transition:background .2s;
    }
    .pdc-btn:hover { background:#22bceb; }
    .pdc-btn-reset {
      padding:11px 18px; background:transparent; color:#a8c8e8;
      border:2px solid #2e6da4; border-radius:6px; font-family:Tahoma,sans-serif;
      font-size:.88em; cursor:pointer; transition:border-color .2s,color .2s;
    }
    .pdc-btn-reset:hover { border-color:#a8c8e8; color:#e8f2fb; }

    /* Message erreur */
    .pdc-error {
      display:none; padding:12px 18px; background:#ffc7ce; border-left:5px solid #9c0006;
      border-radius:8px; font-family:Tahoma,sans-serif; font-size:.88em;
      color:#9c0006; font-weight:600; margin-bottom:14px;
    }
    .pdc-error.show { display:block; }

    /* ===== RÉSULTATS ===== */
    #pdc-results { display:none; }
    #pdc-results.show { display:block; }

    /* Bannière régime */
    .pdc-regime {
      padding:14px 20px; border-radius:10px; margin-bottom:14px;
      font-family:Tahoma,sans-serif; font-size:.92em; font-weight:700;
      box-shadow:0 4px 8px rgba(0,0,0,.1);
    }
    .pdc-regime .re-sub { font-weight:400; font-size:.85em; opacity:.85; margin-top:3px; }
    .reg-lam  { background:#c6efce; color:#1a5c2a; border-left:6px solid #1a5c2a; }
    .reg-tran { background:#fff3e0; color:#b45309; border-left:6px solid #b45309; }
    .reg-turb { background:#ffc7ce; color:#9c0006; border-left:6px solid #9c0006; }

    /* CARTES HÉROS — résultats principaux */
    .pdc-hero {
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:14px;
      margin-bottom:14px;
    }
    .pdc-hero-card {
      padding:22px 20px; border-radius:10px;
      box-shadow:0 8px 20px rgba(0,0,0,.15);
    }
    .pdc-hero-card .hc-label {
      font-family:Tahoma,sans-serif; font-size:.76em; font-weight:700;
      letter-spacing:.07em; text-transform:uppercase; opacity:.75;
      margin-bottom:8px;
    }
    .pdc-hero-card .hc-val {
      font-family:'Courier New',monospace; font-size:2.4em;
      font-weight:900; line-height:1; margin-bottom:4px;
    }
    .pdc-hero-card .hc-unit {
      font-family:Tahoma,sans-serif; font-size:.85em; opacity:.7;
      margin-bottom:10px;
    }
    .pdc-hero-card .hc-sub {
      font-family:'Courier New',monospace; font-size:.85em;
      opacity:.65; border-top:1px solid rgba(255,255,255,.2);
      padding-top:8px; line-height:1.6;
    }
    .hc-blue  { background:#1a3a5c; color:#fff; }
    .hc-blue  .hc-val { color:#4198ca; }
    .hc-dark  { background:#0d2540; color:#fff; }
    .hc-dark  .hc-val { color:#4198ca; }

    /* Cartes secondaires */
    .pdc-cards {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
      gap:10px;
      margin-bottom:14px;
    }
    .pdc-mini-card {
      padding:14px 16px; background:#fff; border-radius:8px;
      box-shadow:0 4px 8px rgba(0,0,0,.08);
      border-left:4px solid #dde;
    }
    .pdc-mini-card .mc-label {
      font-family:Tahoma,sans-serif; font-size:.7em; font-weight:700;
      color:#888; letter-spacing:.06em; text-transform:uppercase; margin-bottom:4px;
    }
    .pdc-mini-card .mc-val {
      font-family:'Courier New',monospace; font-size:1.3em;
      font-weight:900; color:#1a3a5c;
    }
    .pdc-mini-card .mc-unit { font-family:Tahoma,sans-serif; font-size:.75em; color:#999; }
    .mc-ok    { border-left-color:#1a5c2a; background:#c6efce; }
    .mc-ok    .mc-val { color:#1a5c2a; }
    .mc-warn  { border-left-color:#b45309; background:#fff3e0; }
    .mc-warn  .mc-val { color:#b45309; }
    .mc-alert { border-left-color:#9c0006; background:#ffc7ce; }
    .mc-alert .mc-val { color:#9c0006; }

    /* Avertissement vitesse */
    .pdc-v-warn {
      display:none; padding:13px 18px; border-radius:8px;
      font-family:Tahoma,sans-serif; font-size:.87em; font-weight:600;
      margin-bottom:14px;
    }

    /* Tableau détail */
    .pdc-detail-table {
      width:100%; border-collapse:collapse;
      font-family:Tahoma,sans-serif; font-size:.85em;
    }
    .pdc-detail-table td {
      padding:9px 16px; border-bottom:1px solid #e8edf2; color:#333; vertical-align:top;
    }
    .pdc-detail-table tr:last-child td { border-bottom:none; }
    .pdc-detail-table td:first-child { color:#666; width:52%; }
    .pdc-detail-table td:last-child  { font-weight:700; color:#1a3a5c; font-family:'Courier New',monospace; }
    .pdc-detail-table tr:nth-child(even) td { background:#f8fafc; }

    /* Pompes */
    .pdc-pump-grid {
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    }
    .pdc-pump-card {
      padding:16px 18px; border-right:1px solid #e0e8f0; border-bottom:1px solid #e0e8f0;
      display:flex; flex-direction:column; gap:6px;
    }
    .pdc-pump-card:hover { background:#f0f6fc; }
    .pp-name {
      font-family:Tahoma,sans-serif; font-weight:700; font-size:.95em;
      color:#1a3a5c; text-decoration:none; border:none !important;
    }
    .pp-specs { font-family:Tahoma,sans-serif; font-size:.78em; color:#777; }
    .pp-badge {
      padding:8px 12px; border-radius:6px; text-align:center;
      font-family:Tahoma,sans-serif; font-size:.9em; font-weight:700;
    }
    .pp-ok    { background:#1a5c2a; color:#fff; }
    .pp-warn  { background:#b45309; color:#fff; }
    .pp-no    { background:#e0e0e0; color:#888; }
    .pp-detail {
      font-family:'Courier New',monospace; font-size:.8em; color:#555;
      background:#f5f8fb; padding:5px 8px; border-radius:4px;
    }

    /* Note juridique */
    .pdc-legal {
      padding:18px 20px; background:#fff3e0; border-left:5px solid #b45309;
      border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.07);
      margin-top:16px;
    }
    .pdc-legal p {
      font-family:Tahoma,sans-serif; font-size:.83em; color:#555;
      line-height:1.7; margin:0 0 8px; text-indent:0;
    }
    .pdc-legal p:last-child { margin:0; }
    .pdc-legal strong { color:#b45309; }
    .pdc-legal ul {
      margin:6px 0 10px 18px; padding:0; width:auto; height:auto;
    }
    .pdc-legal li {
      font-family:Tahoma,sans-serif; font-size:.83em; color:#555;
      padding:2px 0; font-size:.83em; cursor:default;
    }

    @media(max-width:640px){
      .pdc-hero   { grid-template-columns:1fr; }
      .pdc-cards  { grid-template-columns:1fr 1fr; }
      .pdc-hero-card .hc-val { font-size:1.9em; }
      .pdc-pump-grid { grid-template-columns:1fr 1fr; }
      .pdc-grid   { grid-template-columns:1fr; padding:14px 12px; }
    }


/* ────────────────────────────────────────────
   6. COMPATIBILITÉ CHIMIQUE
   ──────────────────────────────────────────── */
.compat-intro{padding:20px 24px 12px;background:#f5f5f4;border-radius:10px;margin-bottom:16px;box-shadow:0 6px 10px rgba(0,0,0,.1);}
    .compat-intro h2{margin:0 0 8px;}
    .compat-intro p{margin:0;font-size:.93em;text-indent:0;}
    .compat-selectors{display:flex;flex-wrap:wrap;gap:16px;padding:20px 24px;background:#1a3a5c;border-radius:10px;margin-bottom:16px;box-shadow:0 6px 10px rgba(0,0,0,.15);}
    .compat-selector-group{flex:1 1 200px;display:flex;flex-direction:column;gap:6px;}
    .compat-selector-group label{font-family:Tahoma,sans-serif;font-size:.78em;font-weight:700;color:#a8c8e8;letter-spacing:.06em;text-transform:uppercase;}
    .compat-selector-group select,.compat-selector-group input{padding:9px 12px;border:2px solid #2e6da4;border-radius:6px;background:#0d2540;color:#e8f2fb;font-family:Tahoma,sans-serif;font-size:.95em;cursor:pointer;outline:none;transition:border-color .2s;width:100%;box-sizing:border-box;}
    .compat-selector-group select:focus,.compat-selector-group input:focus{border-color:#4198ca;}
    .compat-selector-group input::placeholder{color:#5a7a9a;}
    .search-hint{font-family:Tahoma,sans-serif;font-size:.75em;color:#a8c8e8;margin-top:3px;}
    .compat-result-banner{display:none;padding:16px 24px;border-radius:10px;margin-bottom:16px;font-family:Tahoma,sans-serif;font-weight:700;font-size:1.05em;box-shadow:0 4px 8px rgba(0,0,0,.1);align-items:center;gap:14px;flex-wrap:wrap;}
    .compat-result-banner.show{display:flex;}
    .compat-result-badge{font-size:1.8em;font-weight:900;min-width:44px;text-align:center;}
    .banner-A{background:#c6efce;color:#1a5c2a;border-left:6px solid #1a5c2a;}
    .banner-B{background:#ffeb9c;color:#7d5c00;border-left:6px solid #7d5c00;}
    .banner-C{background:#ffcc99;color:#833c00;border-left:6px solid #833c00;}
    .banner-X{background:#ffc7ce;color:#9c0006;border-left:6px solid #9c0006;}
    .banner-O{background:#f0f0f0;color:#555;border-left:6px solid #aaa;}
    .banner-formula{font-family:'Courier New',monospace;font-size:.95em;font-weight:400;opacity:.75;margin-left:4px;}
    .compat-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
    .leg-item{display:flex;align-items:center;gap:6px;font-family:Tahoma,sans-serif;font-size:.82em;color:#444;}
    .leg-dot{width:22px;height:22px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:.9em;}
    .dot-A{background:#c6efce;color:#1a5c2a;} .dot-B{background:#ffeb9c;color:#7d5c00;}
    .dot-C{background:#ffcc99;color:#833c00;} .dot-X{background:#ffc7ce;color:#9c0006;}
    .dot-O{background:#f0f0f0;color:#777;border:1px solid #ccc;}
    .compat-count{font-family:Tahoma,sans-serif;font-size:.85em;color:#4198ca;margin-bottom:10px;font-weight:600;}
    .compat-table-wrap{width:100%;overflow-x:auto;border-radius:8px;box-shadow:0 4px 10px rgba(0,0,0,.08);}
    .compat-table{border-collapse:collapse;width:100%;min-width:540px;background:#fff;font-family:Tahoma,sans-serif;font-size:.88em;}
    .compat-table thead th{background:#1a3a5c;color:#fff;padding:10px 14px;text-align:left;font-size:.8em;letter-spacing:.04em;white-space:nowrap;position:sticky;top:0;z-index:1;}
    .compat-table tbody tr:nth-child(even) td{background:#f5f8fb;}
    .compat-table tbody tr:hover td{background:#e8f2fb;transition:background .15s;}
    .compat-table td{padding:8px 14px;border-bottom:1px solid #e8edf2;color:#333;vertical-align:middle;}
    .chem-fr{font-weight:700;color:#1a3a5c;font-size:.9em;line-height:1.3;}
    .chem-formula{font-family:'Courier New',monospace;font-size:.82em;color:#4198ca;font-weight:600;line-height:1.3;}
    .chem-en{font-size:.76em;color:#999;font-style:italic;line-height:1.3;}
    .rating-cell{text-align:center;font-weight:900;font-size:1em;width:60px;border-radius:4px;}
    .r-A{background:#c6efce;color:#1a5c2a;} .r-B{background:#ffeb9c;color:#7d5c00;}
    .r-C{background:#ffcc99;color:#833c00;} .r-X{background:#ffc7ce;color:#9c0006;}
    .r-O{background:#f0f0f0;color:#999;}
    .r-combined{font-size:1.1em;border:2px solid rgba(0,0,0,.12);}
    .sig-cell{font-size:.82em;color:#555;}
    .compat-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
    .filter-btn{padding:6px 16px;border:2px solid #2e6da4;border-radius:20px;background:#fff;color:#1a3a5c;font-family:Tahoma,sans-serif;font-size:.82em;font-weight:700;cursor:pointer;transition:background .15s,color .15s;}
    .filter-btn:hover,.filter-btn.active{background:#1a3a5c;color:#fff;}
    .filter-btn.f-A.active{background:#1a5c2a;border-color:#1a5c2a;}
    .filter-btn.f-B.active{background:#7d5c00;border-color:#7d5c00;}
    .filter-btn.f-X.active{background:#9c0006;border-color:#9c0006;}
    @media(max-width:640px){
      .compat-selectors{padding:14px 12px;gap:12px;}
      .compat-table td,.compat-table thead th{padding:7px 8px;}
      .chem-fr{font-size:.82em;} .chem-formula{font-size:.76em;} .chem-en{font-size:.72em;}
    }
