/* Schémas textuels accessibles : même ordre de lecture sur mobile et ordinateur. */
.serie-technique .tech-flow {
  margin: 2rem 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #bdd7ce;
  border-radius: 18px;
  background: #eef7f2;
  color: #183b33;
}
.serie-technique .tech-flow figcaption {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
  color: #183b33;
}
.serie-technique .tech-flow ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.serie-technique .tech-flow li {
  counter-increment: etape;
  margin: 0;
  padding: 1rem;
  border: 1px solid #c9ddd5;
  border-radius: 12px;
  background: #fff;
  min-width: 0;
}
.serie-technique .tech-flow li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: .65rem;
  border-radius: 50%;
  background: #185846;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}
.serie-technique .tech-flow strong,
.serie-technique .tech-flow span { display: block; }
.serie-technique .tech-flow strong { line-height: 1.4; }
.serie-technique .tech-flow span { margin-top: .5rem; font-size: .9rem; line-height: 1.5; }
.serie-technique .tech-toc { padding: 1.3rem; margin: 1.5rem 0 2rem; border-left: 3px solid #25735a; background: #f4f8f6; }
.serie-technique .tech-toc ol { margin-bottom: 0; padding-left: 1.3rem; }
.serie-technique .table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.serie-technique .table-wrap:focus-visible { outline: 2px solid #25735a; outline-offset: 3px; }
.serie-technique h2[id] { scroll-margin-top: 6rem; }
.serie-technique a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .serie-technique .tech-flow ol { grid-template-columns: 1fr; }
  .serie-technique .tech-flow li { position: relative; padding-left: 3.6rem; }
  .serie-technique .tech-flow li::before { position: absolute; left: 1rem; top: 1rem; }
  .serie-technique .table-wrap table { min-width: 550px; }
}
@media print {
  .serie-technique .tech-flow { break-inside: avoid; }
  .serie-technique .table-wrap { overflow: visible; }
}
