:root {
  color-scheme: light;
  --paper: #eee9de;
  --paper-light: #f7f4ec;
  --ink: #1d2924;
  --muted: #57645c;
  --moss: #65745d;
  --moss-dark: #37463d;
  --rust: #b8563d;
  --line: #c7c4b7;
  --sand: #d9cbb2;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  --content-width: 86rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  padding: .8rem var(--page-gutter);
  border-bottom: 1px solid rgba(29, 41, 36, .16);
  background: var(--paper);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.25rem);
}

.prototype-label,
.eyebrow,
.section-index,
.toc-title,
.rail-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.prototype-label {
  padding: .42rem .62rem;
  border: 1px solid rgba(29, 41, 36, .32);
  color: var(--muted);
  white-space: nowrap;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}

.main-nav a,
.site-footer nav a {
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .25em;
}

.main-nav a:hover,
.site-footer nav a:hover { text-decoration: underline; }

.hero {
  position: relative;
  display: flex;
  min-height: min(47rem, 72vw);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--sand);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 233, 222, .18) 0%, rgba(238, 233, 222, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  width: min(42rem, 52%);
  margin: 0 0 0 var(--page-gutter);
  padding: clamp(2rem, 4.8vw, 4.8rem);
  border-left: 4px solid var(--rust);
  background: rgba(247, 244, 236, .95);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.3rem;
  color: var(--moss-dark);
}

.eyebrow-mark {
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--rust);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.04em;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  line-height: .98;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 1.8rem;
  color: #3d4a42;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.52;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button-dark { background: var(--ink); color: var(--paper-light); }
.button-dark:hover { background: var(--moss-dark); }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper-light); }

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.hero-coordinate {
  position: absolute;
  right: var(--page-gutter);
  bottom: 1.5rem;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.section-wrap {
  width: min(100% - (2 * var(--page-gutter)), var(--content-width));
  margin-inline: auto;
}

.intro-block { padding-block: clamp(5rem, 9vw, 9rem); }

.section-index {
  margin-bottom: 1.35rem;
  color: var(--rust);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(18rem, .95fr) minmax(20rem, .8fr);
  gap: clamp(2rem, 9vw, 9rem);
  align-items: start;
}

.intro-grid h2,
.route-section h2,
.guide-feature h2,
.trust-band h2,
.article-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.04;
}

.intro-grid h2 { max-width: 12ch; }

.intro-copy {
  max-width: 42rem;
  padding-top: .5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:last-child { margin-bottom: 0; }

.route-section {
  padding: clamp(3rem, 6vw, 6rem) var(--page-gutter) clamp(4rem, 7vw, 7rem);
  background: var(--moss-dark);
  color: var(--paper-light);
}

.route-section-top {
  display: flex;
  max-width: var(--content-width);
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin: 0 auto 3rem;
}

.route-section-top h2 { max-width: 13ch; margin-bottom: 0; }
.route-section-top > p { max-width: 23rem; margin: 0 0 .2rem; color: #e1e1d8; }
.section-index-light { color: #e3a183; }

.route-figure {
  max-width: var(--content-width);
  margin: 0 auto;
}

.route-figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(247, 244, 236, .23);
}

figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .76rem;
}

.route-section figcaption { color: #c7d0c3; }

.route-steps {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem auto 0;
  border-top: 1px solid rgba(247, 244, 236, .36);
}

.route-step {
  min-height: 13rem;
  padding: 1.4rem clamp(1rem, 2.5vw, 2.5rem) 0 0;
}

.route-step + .route-step {
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid rgba(247, 244, 236, .24);
}

.step-number {
  display: block;
  margin-bottom: 1rem;
  color: #e3a183;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.route-step h3 { margin-bottom: .45rem; font-size: 1.8rem; }
.route-step p { max-width: 26rem; margin-bottom: 0; color: #e1e1d8; font-size: .92rem; }

.guide-feature {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, .52fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(5rem, 9vw, 9rem);
}

.guide-feature-copy { max-width: 49rem; }
.guide-feature h2 { max-width: 13ch; margin-bottom: 1.2rem; }
.guide-feature-copy > p:not(.section-index) { max-width: 41rem; color: var(--muted); font-size: 1.08rem; }

.text-link {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  margin-top: .8rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--rust);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.text-link span { color: var(--rust); }
.text-link:hover { border-bottom-width: 2px; }

.guide-feature-aside {
  align-self: center;
  max-width: 26rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 1px solid var(--rust);
  color: var(--muted);
}

.guide-feature-aside p:first-of-type { color: var(--ink); font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; }
.guide-feature-aside p:last-child { margin-bottom: 0; }
.aside-rule { display: none; }
.aside-caption { font-size: .78rem; }

.library-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background: var(--paper-light);
}

.library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.library-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.library-heading p:last-child { max-width: 34rem; margin: 0; color: var(--muted); }
.library-group + .library-group { margin-top: 3.4rem; }
.library-group h3 { margin-bottom: 1.15rem; font-size: 1.8rem; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.content-card {
  display: flex;
  min-height: 13.5rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.45rem;
  background: var(--paper-light);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.content-card:hover { background: #e8e5da; }
.content-card-label { margin-bottom: .9rem; color: var(--rust); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.content-card strong { max-width: 18ch; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.18; }
.content-card span:last-child { margin-top: auto; padding-top: 1.4rem; color: var(--muted); font-size: .82rem; }
.content-card.product-card { border-top: 3px solid var(--rust); }

.trust-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--page-gutter);
  background: var(--rust);
  color: #fff8ed;
}

.trust-band-inner { width: min(100%, 59rem); margin-left: max(0px, calc((100vw - var(--content-width)) / 2)); }
.trust-band h2 { max-width: 15ch; margin-bottom: .75rem; }
.trust-band-inner > p:last-child { max-width: 48rem; margin-bottom: 0; color: #fff1df; }

.trust-stamp {
  display: grid;
  width: 8rem;
  height: 8rem;
  flex: 0 0 auto;
  align-content: center;
  border: 1px solid rgba(255, 248, 237, .75);
  border-radius: 50%;
  color: #fff8ed;
  font-family: var(--serif);
  font-size: .9rem;
  font-style: italic;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-9deg);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(14rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--page-gutter);
  border-top: 1px solid rgba(29, 41, 36, .16);
  background: var(--paper);
}

.footer-wordmark { font-size: 1rem; }
.footer-wordmark .wordmark-mark { width: 2rem; height: 2rem; font-size: 1.3rem; }
.site-footer > p { max-width: 33rem; margin: 0; color: var(--muted); font-size: .78rem; }
.footer-about { max-width: 33rem; }
.footer-about p { margin: 0; color: var(--muted); }
.footer-about .footer-bio { font-size: .95rem; line-height: 1.65; }
.footer-about .footer-status { margin-top: .85rem; font-size: .78rem; line-height: 1.5; }
.site-footer nav { justify-content: end; gap: 1.4rem; }
.site-footer nav a { font-size: .8rem; }

.article-main { padding-bottom: 1rem; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.3rem var(--page-gutter);
  color: var(--muted);
  font-size: .82rem;
}

.breadcrumbs a { text-underline-offset: .22em; }

.guide-hero { min-height: min(41rem, 66vw); }
.guide-hero .hero-art { object-position: center; }
.guide-hero-copy { width: min(48rem, 56%); }
.guide-hero h1 { max-width: 11ch; font-size: clamp(2.8rem, 5.8vw, 5.4rem); }

.article-layout {
  display: grid;
  width: min(100% - (2 * var(--page-gutter)), 79rem);
  grid-template-columns: minmax(0, 54rem) minmax(11rem, 14rem);
  gap: clamp(2rem, 8vw, 8rem);
  margin: 0 auto;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.article-content { min-width: 0; }

.article-answer {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.35;
}

.article-status {
  margin-bottom: 2.6rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rust);
  color: var(--muted);
  font-size: .88rem;
}

.article-toc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  padding: 1.4rem 1.6rem 1.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.toc-title {
  grid-column: 1 / -1;
  margin-bottom: .4rem;
  color: var(--rust);
}

.article-toc a {
  padding: .35rem 0;
  color: var(--ink);
  font-size: .9rem;
  text-decoration-color: rgba(29, 41, 36, .35);
  text-underline-offset: .25em;
}

.article-section {
  scroll-margin-top: 2rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.article-section h2 { max-width: 15ch; margin-bottom: 1.25rem; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.article-section > p:not(.section-index) { max-width: 46rem; color: #3f4d44; font-size: 1.05rem; }

.editorial-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.editorial-list li {
  display: grid;
  grid-template-columns: minmax(9rem, .45fr) 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.editorial-list strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; }
.editorial-list span { color: var(--muted); font-size: .95rem; }

.measurement-figure { margin: 2rem 0 1rem; }
.measurement-figure img { width: 100%; height: auto; }

.measure-note {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  max-width: 45rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: #dce0d5;
}

.measure-note-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid var(--moss-dark);
  border-radius: 50%;
  color: var(--moss-dark);
  font-size: 1.15rem;
}

.measure-note p { align-self: center; margin: 0; color: var(--moss-dark); font-size: .93rem; }

.transport-section { padding-top: 1rem; }
.transport-table-wrap { overflow-x: auto; margin: 2rem 0; }

.transport-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(247, 244, 236, .54);
  font-size: .88rem;
  line-height: 1.55;
}

.transport-table th,
.transport-table td {
  padding: 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.transport-table thead th {
  background: var(--moss-dark);
  color: var(--paper-light);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.transport-table tbody th { min-width: 7rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.transport-table td { min-width: 13rem; color: #3f4d44; }
.source-note { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: .83rem !important; }
.source-note strong { color: var(--ink); }

.final-check {
  padding: clamp(1.6rem, 4vw, 3.3rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--rust);
  background: rgba(247, 244, 236, .58);
}

.final-check .button { margin-top: .5rem; }

.article-rail {
  align-self: start;
  position: sticky;
  top: 2rem;
  padding-top: .35rem;
  color: var(--muted);
  font-size: .82rem;
}

.rail-label { margin-bottom: .5rem; color: var(--rust); }
.rail-status { margin-bottom: .9rem; color: var(--ink); font-family: var(--serif); font-size: 2rem; }
.rail-line { display: block; width: 2.5rem; height: 1px; margin-bottom: 1rem; background: var(--rust); }
.rail-date { display: block; margin-top: 2rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .76rem; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .site-header-right { align-items: flex-end; flex-direction: column; gap: .6rem; }
  .hero { min-height: 36rem; }
  .hero-copy { width: min(38rem, 62%); }
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-rail { position: static; display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
  .rail-label, .rail-status, .rail-line, .rail-date, .article-rail > p:last-of-type { margin: 0; }
  .rail-date { margin-left: auto; padding: 0 0 0 1rem; border-top: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --page-gutter: 1.15rem; }
  .site-header { min-height: auto; flex-direction: column; gap: 1rem; padding-block: 1rem; }
  .site-header-right { width: 100%; align-items: center; flex-direction: row; justify-content: space-between; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .78rem; }
  .prototype-label { font-size: .61rem; }
  .hero { min-height: 40rem; align-items: end; }
  .hero-art { object-position: 62% center; }
  .hero::after { background: linear-gradient(0deg, rgba(238, 233, 222, .08) 0%, rgba(238, 233, 222, .04) 75%); }
  .hero-copy { width: calc(100% - (2 * var(--page-gutter))); margin: 0 var(--page-gutter) 2.3rem; padding: 1.65rem; }
  h1 { font-size: clamp(3.2rem, 13vw, 4.4rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-coordinate { right: var(--page-gutter); top: 1.15rem; bottom: auto; padding: .35rem .5rem; background: rgba(247, 244, 236, .9); font-size: .59rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .intro-grid h2 { max-width: 12ch; }
  .route-section-top { align-items: start; flex-direction: column; gap: 1rem; }
  .route-steps { grid-template-columns: 1fr; }
  .route-step, .route-step + .route-step { min-height: auto; padding: 1rem 0 1.35rem; border-left: 0; border-bottom: 1px solid rgba(247, 244, 236, .24); }
  .guide-feature { grid-template-columns: 1fr; gap: 2rem; }
  .guide-feature h2 { max-width: 12ch; }
  .guide-feature-aside { max-width: none; padding-left: 1rem; }
  .library-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 10rem; }
  .trust-band { align-items: start; flex-direction: column; gap: 2rem; }
  .trust-band-inner { margin-left: 0; }
  .trust-stamp { width: 6.5rem; height: 6.5rem; font-size: .76rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.2rem; }
  .site-footer nav { justify-content: start; }
  .breadcrumbs { padding-block: 1rem; }
  .guide-hero { min-height: 41rem; }
  .guide-hero .hero-art { object-position: 65% center; }
  .guide-hero-copy { width: calc(100% - (2 * var(--page-gutter))); }
  .guide-hero h1 { font-size: clamp(2.85rem, 11vw, 3.7rem); }
  .article-layout { width: calc(100% - (2 * var(--page-gutter))); padding-block: 3rem; }
  .article-answer { font-size: 1.6rem; }
  .article-toc { grid-template-columns: 1fr; padding-inline: 0; }
  .toc-title { grid-column: auto; }
  .editorial-list li { grid-template-columns: 1fr; gap: .25rem; }
  .measure-note { grid-template-columns: 2rem 1fr; padding: 1rem; }
  .transport-table { min-width: 43rem; }
  .article-rail { align-items: start; flex-wrap: wrap; gap: .65rem 1rem; }
  .article-rail > p:last-of-type { flex-basis: 100%; order: 5; }
  .rail-date { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Supports fabricant : composition éditoriale, lecteur réservé au clic. */
.manufacturer-video { margin: 1.75rem 0; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.manufacturer-video figcaption { display: grid; gap: .35rem; margin: 0 0 1.1rem; }
.manufacturer-video figcaption strong { font-size: 1.25rem; }
.manufacturer-video figcaption span { font-size: .82rem; line-height: 1.5; }
.manufacturer-video-player { aspect-ratio: 16 / 9; width: 100%; background: #171b18; }
.manufacturer-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.manufacturer-video-status { font-size: .9rem; line-height: 1.6; }
.manufacturer-video-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.manufacturer-video-actions button { font: inherit; cursor: pointer; }
.manufacturer-video [hidden] { display: none !important; }
.manufacturer-video-actions :focus-visible, .manufacturer-video-player iframe:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 640px) { .manufacturer-video-actions { align-items: flex-start; flex-direction: column; } .manufacturer-video-actions .button { max-width: 100%; white-space: normal; } }

/* Répertoire : lecture par familles et lignes documentaires, sans fausse boutique. */
.main-nav { flex-wrap: wrap; }
.directory-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2.5rem; }
.directory-intro p { margin: 0; }
.directory-main { padding-bottom: 3rem; }
.directory-controls { display: grid; grid-template-columns: minmax(12rem, 1.4fr) minmax(10rem, 1fr) auto auto; align-items: end; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper-light); }
.directory-field { display: grid; gap: .5rem; }
.directory-field label { font-weight: 600; }
.directory-field input, .directory-field select { width: 100%; min-height: 2.9rem; padding: .6rem .75rem; border: 1px solid var(--muted); border-radius: 0; background: var(--paper-light); color: var(--ink); font: inherit; }
.directory-video-filter { display: flex; align-items: center; gap: .6rem; min-height: 2.9rem; cursor: pointer; }
.directory-video-filter input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }
.directory-reset { min-height: 2.9rem; padding: .6rem .9rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper-light); font: inherit; cursor: pointer; }
.directory-controls :focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.directory-status { margin: 1rem 0 2rem; color: var(--muted); }
.directory-empty { padding: 1.5rem; border-left: 3px solid var(--rust); }
.directory-group { margin-block: 3rem; }
.directory-group-heading { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; align-items: baseline; gap: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.directory-group-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 400; }
.directory-group-heading p { margin: 0; }
.directory-product { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr) minmax(8rem, .7fr); gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.directory-product h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.directory-product h3 a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.directory-product-copy p { margin: 0; }
.directory-product-copy p + p { margin-top: .55rem; color: var(--muted); }
.directory-product-links { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.directory-product-links a { font-size: .92rem; text-underline-offset: .2em; }
.directory-method { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-block: 1rem 4rem; }
.directory-method h2, .directory-home-entry h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.2; }
.directory-home-entry { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; }
.directory-home-entry h2 { margin: 0 0 .75rem; }
.directory-home-entry p { margin: 0; }
[data-product-directory] [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .directory-controls { grid-template-columns: 1fr 1fr; }
  .directory-product { grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: 1rem 2rem; }
  .directory-product-links { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: .7rem 1.25rem; }
}
@media (max-width: 640px) {
  .directory-intro, .directory-method, .directory-controls, .directory-group-heading, .directory-product { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .directory-controls { padding: 1rem; }
  .directory-product-links { grid-column: auto; }
  .directory-home-entry { flex-direction: column; align-items: flex-start; }
  .directory-group { margin-block: 2rem; }
}

/* Editorial podium: real ranks, no decorative medals or quality scores. */
.selection-section { scroll-margin-top: 2rem; container-type: inline-size; }
.editorial-podium { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.editorial-podium.podium-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.podium-choice { min-width: 0; padding: 1.4rem 1.15rem; background: var(--paper-light); border: 1px solid var(--line); border-top: 3px solid var(--moss); box-shadow: 0 5px 0 rgba(29,41,36,.05); display: flex; flex-direction: column; }
.podium-choice.podium-leading { border-top-color: var(--rust); background: #f3eadb; }
.podium-rank { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; margin-bottom: 1.25rem; color: var(--ink); }
.podium-choice h3 { margin: 0 0 1rem; font-size: 1.35rem; overflow-wrap: anywhere; }
.podium-choice p { font-size: .95rem; line-height: 1.65; }
.podium-choice .podium-metric { font-weight: 700; margin-top: 0; }
.podium-tradeoff { border-top: 1px solid var(--line); padding-top: .9rem; }
.podium-tradeoff strong { display: block; margin-bottom: .3rem; }
.podium-choice > a { margin-top: auto; padding-top: .75rem; font-weight: 600; text-underline-offset: .2em; }
.podium-choice > a + a { margin-top: 0; }
.podium-choice a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.selection-entry { margin-bottom: 5rem; }
.method-steps { padding-left: 1.4rem; }
.method-steps li { padding-left: .4rem; margin-bottom: 1rem; line-height: 1.8; }
.selection-evidence { margin-block: 1.5rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.selection-evidence summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.selection-evidence summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@container (max-width: 44rem) { .editorial-podium, .editorial-podium.podium-four { grid-template-columns: 1fr; } }
@media (max-width: 68rem) { .editorial-podium, .editorial-podium.podium-four { grid-template-columns: 1fr; } .podium-choice { padding: 1.5rem; } .podium-rank { margin-bottom: .75rem; } }
@media print { .editorial-podium { display: block; } .podium-choice { break-inside: avoid; margin-bottom: 1rem; box-shadow: none; } }

/* Garder les scènes visibles derrière les panneaux des guides. */
@media (min-width: 769px) {
  .guide-hero .hero-art-scene { inset: 0 0 0 auto; width: 52%; object-position: 15% center; }
  .guide-hero .hero-art-tram { width: 45%; object-position: left center; }
}

.measurement-figure > figcaption:first-child { margin: 0 0 .65rem; }

/* Carnet illustré doux. Les composants de contenu historiques restent compatibles. */
:root {
  --paper: #faf7f0;
  --paper-light: #fffcf7;
  --ink: #293f38;
  --muted: #58685e;
  --caption-ink: #394b40;
  --moss: #7e9985;
  --moss-dark: #3f6657;
  --rust: #3f6657;
  --line: #d5ded3;
  --sand: #f3ddd1;
  --sage: #dce8de;
  --peach: #f3ddd1;
  --page-gutter: clamp(1.1rem, 4.8vw, 4.5rem);
  --content-width: 78rem;
}
html { scroll-padding-top: 1.5rem; scrollbar-gutter: stable; }
body { font-size: 1.125rem; line-height: 1.7; }
main, .article-content, .hero-copy, .site-header-right, .footer-navigation { min-width: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.site-header { min-height: 6rem; padding-block: 1.2rem; gap: 1.8rem; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 400; font-size: 1.35rem; white-space: nowrap; }
.wordmark-mark { background: var(--sage); border-color: transparent; width: 2.6rem; height: 2.6rem; color: var(--ink); }
.site-header-right { gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.main-nav { gap: .65rem 1.3rem; flex-wrap: wrap; }
.main-nav a, .header-catalogue { font-size: .94rem; font-weight: 500; }
.main-nav a { padding-block: .5rem; }
.header-catalogue { border: 1px solid var(--line); padding: .6rem 1rem; border-radius: 1rem; text-decoration: none; white-space: nowrap; }
.header-catalogue:hover { background: var(--sage); }
.prototype-label, .eyebrow, .section-index, .toc-title, .rail-label, .content-card-label { font-size: .9rem; text-transform: none; letter-spacing: .015em; font-weight: 500; }
.hero { min-height: 35rem; background: var(--sage); }
.hero::after { background: rgba(250,247,240,.1); }
.hero-copy { width: min(43rem, 54%); padding: clamp(1.8rem, 3.7vw, 3.5rem); border: 1px solid rgba(213,222,211,.9); border-radius: 1.2rem; background: var(--paper-light); box-shadow: 0 12px 36px rgba(41,63,56,.06); }
h1, .guide-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 4.3vw, 3.8rem); line-height: 1.14; }
.hero-lede { font-size: 1.125rem; line-height: 1.7; color: var(--muted); max-width: 42ch; }
.hero-note { font-size: .92rem; }
.hero-coordinate { display: none; }
.guide-hero { min-height: 32rem; }
.guide-hero-copy { width: min(46rem, 58%); }
.hero-storybook { background: var(--paper); }
.hero-storybook::after { background: none; }
.hero-storybook .hero-art { object-position: 82% 15%; }
.button { min-height: 3rem; padding: .85rem 1.2rem; border-radius: .85rem; font-size: 1rem; font-weight: 500; }
.button-dark { background: var(--moss-dark); color: #fff; box-shadow: 0 3px 8px rgba(41,63,56,.06); }
.button-dark:hover { background: var(--ink); }
.button-outline:hover { background: var(--sage); color: var(--ink); }
.intro-block, .guide-feature { padding-block: clamp(3rem, 6vw, 5.5rem); }
.intro-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); }
.intro-grid h2, .route-section h2, .guide-feature h2, .trust-band h2, .article-section h2, .library-heading h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.23; max-width: 25ch; }
.intro-copy, .guide-feature-copy > p:not(.section-index), .article-section > p:not(.section-index) { font-size: 1.125rem; color: var(--ink); max-width: 65ch; }
.route-section { background: var(--sage); color: var(--ink); padding-block: clamp(3rem,6vw,5rem); }
.route-section-top { gap: 2rem; margin-bottom: 2rem; }
.route-section-top > p, .route-step p, .route-section figcaption { color: var(--muted); }
.section-index-light, .step-number { color: var(--moss-dark); }
.route-figure img { border: 1px solid var(--line); border-radius: 1rem; }
.route-steps { border-color: #a8baab; }
.route-step + .route-step { border-color: #a8baab; }
.route-step h3 { font-size: 1.6rem; }
.route-step p { font-size: 1.05rem; }
.guide-feature-aside { border-color: var(--line); }
.library-section { background: var(--paper); padding-block: 3.5rem; }
.library-heading { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 2rem; }
.library-group { scroll-margin-top: 2rem; }
.library-group h3 { font-size: 1.7rem; }
.content-grid { background: transparent; border: 0; gap: 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-card { min-height: 10rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper-light); box-shadow: 0 4px 14px rgba(41,63,56,.025); }
.content-card:hover { background: var(--sage); }
.content-card strong { font-weight: 400; font-size: 1.4rem; line-height: 1.35; }
.content-card > span:last-child { font-size: .95rem; color: var(--muted); }
.trust-band { background: var(--peach); color: var(--ink); border-color: var(--line); padding-block: 3rem; }
.trust-band p, .trust-band-inner > p:last-child, .trust-band .trust-stamp { color: var(--ink); }
.trust-stamp { border-color: #b9afa2; font-size: .95rem; }
.article-layout { max-width: 78rem; grid-template-columns: minmax(0, 1fr) minmax(10rem, 12rem); gap: clamp(2rem,5vw,5rem); padding-block: 3.5rem; }
.article-answer { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.65; max-width: 62ch; }
.article-section { margin-bottom: 3.8rem; }
.article-section h3 { font-size: 1.45rem; line-height: 1.35; margin-top: 1.7rem; }
.article-content p, .article-content li { overflow-wrap: break-word; }
.article-section > .measure-steps, .article-section > .travel-context-list { max-width: 65ch; }
.article-section > .reading-list { max-width: 65ch; }
.article-toc { background: #edf2e9; border: 1px solid var(--line); border-radius: .9rem; margin-block: 2rem 3.3rem; gap: .3rem 1.5rem; }
.article-toc a { font-size: 1rem; line-height: 1.6; }
.breadcrumbs { font-size: .92rem; flex-wrap: wrap; }
.editorial-list { margin-block: 1.5rem; }
.editorial-list li { grid-template-columns: minmax(8rem,.4fr) minmax(0,1fr); gap: 1.5rem; padding-block: 1.1rem; }
.editorial-list strong { font-size: 1.18rem; font-weight: 400; }
.editorial-list span { font-size: inherit; line-height: 1.7; }
.editorial-list label { cursor: pointer; display: flex; align-items: flex-start; gap: .65rem; min-height: 2.75rem; }
input[type="checkbox"] { accent-color: var(--moss-dark); width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin: .32rem 0 0; }
input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--moss-dark); outline-offset: 4px; }
.measurement-figure { margin-block: 2rem; }
/* Dans les articles en colonne unique, garder les schémas proches de la largeur de lecture. */
.section-wrap.article-content > .measurement-figure { max-width: 52rem; }
.measurement-figure img { border-radius: .8rem; border: 1px solid var(--line); }
@media (max-width: 900px) { .measurement-figure :is(.travel-checklist-responsive, .seat-check-responsive) img { display: block; width: min(100%, 420px); height: auto; margin-inline: auto; } }
.error-destinations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-block: 1.5rem; }
.error-destination { display: flex; align-items: center; gap: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper-light); color: var(--ink); }
.error-destination img { display: block; width: 6rem; height: 6rem; flex: 0 0 6rem; object-fit: cover; border-radius: .5rem; }
.error-destination span { font-size: 1.1rem; }
.diagram-detail { margin-top: .8rem; }
.diagram-detail summary { cursor: pointer; color: var(--ink); font-size: 1rem; padding-block: .6rem; text-underline-offset: .2em; }
.diagram-detail summary:hover { color: var(--moss-dark); text-decoration: underline; }
.diagram-hint { display: none; }
@media (max-width: 1023px) { .diagram-detail .diagram-hint { display: block; margin: .25rem 0; font-size: .95rem; line-height: 1.5; } }
.diagram-scroll { max-width: 100%; overflow: auto; margin-top: .6rem; border: 1px solid var(--line); border-radius: .8rem; overscroll-behavior-inline: contain; }
.diagram-scroll:focus-visible { outline: 3px solid var(--moss-dark); outline-offset: 4px; }
.measurement-figure .diagram-scroll img { display: block; width: var(--diagram-width, 1100px); max-width: none; height: auto; border: 0; border-radius: 0; }
figcaption, .source-note { font-size: .95rem !important; line-height: 1.65; color: var(--caption-ink); }
.source-note { color: var(--caption-ink) !important; }
.route-section figcaption { color: var(--caption-ink); }
.final-check { background: #edf2e9; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.3rem,3vw,2rem); }
.transport-table { font-size: 1rem; line-height: 1.65; }
.transport-table-wrap { max-width: 100%; overscroll-behavior-inline: contain; }
.transport-table-wrap:focus-visible { outline: 3px solid var(--moss-dark); outline-offset: 4px; border-radius: .4rem; }
.transport-table th, .transport-table td { padding: 1rem; }
.transport-table thead th { background: var(--sage); color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
.transport-table td { color: var(--ink); }
.transport-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
.transport-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.article-rail { font-size: .95rem; line-height: 1.6; }
.rail-status { font-size: 1.6rem; line-height: 1.3; }
.rail-date { font-size: .9rem; }
.directory-controls { background: #edf2e9; border-radius: 1rem; }
.directory-controls input, .directory-controls select, .directory-reset { min-height: 2.8rem; border-radius: .6rem; font: inherit; }
.directory-product { padding-block: 1.8rem; }
.directory-product h3 { font-weight: 400; }
.directory-product p { font-size: 1.05rem; line-height: 1.7; }
.directory-product-links a { font-size: 1rem; }
.editorial-podium { gap: 1rem; }
.podium-choice { border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 6px 16px rgba(41,63,56,.04); background: var(--paper-light); padding: 1.4rem; }
.podium-choice.podium-leading { border-color: #a8baab; background: #edf2e9; }
.podium-rank { font-size: 1.8rem; color: var(--moss-dark); }
.podium-choice h3 { font-size: 1.4rem; }
.podium-choice p { font-size: inherit; }
.podium-choice > a { font-size: 1rem; }
/* Filigranes décoratifs : le contenu et les zones de clic restent au premier plan. */
.content-card, .podium-choice, .directory-product {
  position: relative;
  isolation: isolate;
  --muted: #405248;
  --card-illustration: url('assets/images/carnet-pause-fille.webp');
}
.content-card:nth-child(even), .podium-choice:nth-child(even), .directory-product:nth-child(even) {
  --card-illustration: url('assets/images/carnet-depart-garcon.webp');
}
.content-card::before, .podium-choice::before, .directory-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background-image: var(--card-illustration);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 10%, #000 72%);
  mask-image: linear-gradient(to right, transparent 10%, #000 72%);
}
.podium-choice::before { background-size: auto 20rem; background-position: right bottom; }
#poussettes .content-card:nth-child(odd), .directory-product[data-family="poussettes"]:nth-child(odd) {
  --card-illustration: url('assets/images/carnet-balade-fille.webp');
}
#poussettes .content-card:nth-child(4n+2) {
  --card-illustration: url('assets/images/carnet-voiture-garcon.webp');
}
#poussettes .content-card:nth-child(4n+3) {
  --card-illustration: url('assets/images/carnet-pause-fille.webp');
}
.content-card[href*="train"], .directory-product[data-family="sacs_transport"]:nth-child(even) {
  --card-illustration: url('assets/images/carnet-train-garcon.webp');
}
#sieges-auto .content-card:nth-child(odd), .directory-product[data-family="sieges_coques"]:nth-child(even), .directory-product[data-family="bases"]:nth-child(even) {
  --card-illustration: url('assets/images/carnet-voiture-garcon.webp');
}
@media (forced-colors: active) {
  .content-card::before, .podium-choice::before, .directory-product::before { display: none; }
}
.selection-evidence { border-color: var(--line); }
.manufacturer-video { border-radius: 1rem; }
.manufacturer-video p, .manufacturer-video-status { font-size: inherit; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0,1fr); gap: clamp(2rem,6vw,6rem); align-items: start; padding-block: 3rem; background: #edf2e9; border-color: var(--line); }
.footer-introduction .wordmark { margin-bottom: 1.2rem; }
.footer-bio { max-width: 57ch; }
.site-footer .footer-navigation { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 1.5rem; justify-content: start; align-items: start; }
.footer-link-group { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: .3rem; }
.footer-link-group p { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: .6rem; }
.site-footer .footer-link-group a { font-size: .98rem; font-weight: 400; padding-block: .3rem; max-width: 100%; overflow-wrap: anywhere; }
.footer-about .footer-bio { font-size: 1rem; line-height: 1.75; }
.footer-about .footer-status { font-size: .88rem; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .site-header-right { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .article-layout { grid-template-columns: minmax(0,1fr); }
  .article-rail { position: static; border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; }
  .rail-line { display: none; }
  .rail-date { margin-top: 0; }
}
@media (max-width: 600px) {
  /* Les mesures restent lisibles avec leur modèle sans défilement latéral. */
  .transport-table.comparison-mobile { display: block; min-width: 0; }
  .comparison-mobile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .comparison-mobile caption { display: block; padding: .75rem 0; text-align: left; }
  .comparison-mobile tbody, .comparison-mobile tr { display: block; }
  .comparison-mobile tr { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; }
  .comparison-mobile tbody th[scope="row"] { display: block; min-width: 0; padding: .75rem 1rem; border: 0; background: var(--sage); }
  .comparison-mobile td { display: block; min-width: 0; padding: .7rem 1rem; border: 0; border-top: 1px solid var(--line); }
  .comparison-mobile td::before { content: attr(data-label); display: block; margin-bottom: .15rem; font-weight: 600; }
}
@media (max-width: 768px) {
  /* Une colonne fixe trop large masquerait les cellules sur mobile et tablette. */
  .transport-table tbody th[scope="row"], .transport-table thead th:first-child { position: static; box-shadow: none; }
  body { font-size: 1.0625rem; }
  .main-nav { gap: .3rem 1rem; }
  .main-nav a, .header-catalogue { font-size: .94rem; }
  .site-header { padding-block: 1rem; gap: .7rem; }
  .site-header-right { gap: .6rem; }
  .hero, .guide-hero { min-height: 31rem; align-items: end; padding-block: 6.5rem 1.2rem; }
  .hero-copy, .guide-hero-copy { width: calc(100% - 2 * var(--page-gutter)); margin: 0 var(--page-gutter); padding: 1.5rem; }
  .hero-art, .guide-hero .hero-art { object-position: 65% center; }
  .hero.hero-storybook { min-height: 0; padding-block: 18rem 1.2rem; }
  .hero-storybook .hero-art { height: 20rem; object-position: right 15%; }
  .hero-storybook .hero-copy { margin-bottom: 0; }
  h1, .guide-hero h1 { font-size: clamp(2rem,6.2vw,2.7rem); line-height: 1.16; max-width: 20ch; }
  .hero-lede { font-size: 1.0625rem; }
  .intro-grid, .library-heading, .guide-feature { grid-template-columns: minmax(0,1fr); }
  .intro-grid h2, .library-heading h2 { max-width: 28ch; }
  .intro-copy, .article-section > p:not(.section-index), .guide-feature-copy > p:not(.section-index) { font-size: 1.0625rem; }
  .content-grid { grid-template-columns: minmax(0,1fr); }
  .content-card { min-height: 0; }
  .route-section-top { flex-direction: column; align-items: flex-start; }
  .route-steps { grid-template-columns: minmax(0,1fr); }
  .route-step, .route-step + .route-step { min-height: 0; border-left: 0; padding: 1.3rem 0; border-bottom: 1px solid #a8baab; }
  .article-toc { grid-template-columns: minmax(0,1fr); padding: 1.2rem; }
  .editorial-list li { grid-template-columns: minmax(0,1fr); gap: .2rem; }
  .editorial-list span { font-size: inherit; }
  .site-footer { grid-template-columns: minmax(0,1fr); gap: 2rem; }
}
@media (max-width: 380px) {
  .site-footer .footer-navigation { grid-template-columns: minmax(0,1fr); }
  .header-catalogue { padding: .4rem .7rem; }
}
@media (max-width: 480px) {
  /* Garder l'ordre de lecture du menu tout en libérant de la place pour le contenu. */
  body:not(.layout-home) .site-header { padding-block: .75rem; gap: .4rem; }
  body:not(.layout-home) .wordmark-mark { width: 2rem; height: 2rem; }
  body:not(.layout-home) .site-header-right { gap: .3rem; }
  body:not(.layout-home) .main-nav { gap: .15rem .85rem; }
  body:not(.layout-home) .main-nav a { padding-block: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .site-header, .site-footer, .article-rail { display: none; }
  .hero, .guide-hero { min-height: 0; padding: 1rem 0; }
  .hero-copy, .guide-hero-copy { width: 100%; margin: 0; box-shadow: none; }
  .hero-art { display: none; }
  .article-layout { display: block; width: 100%; }
}

/* Navigation du guide voyage : groupes compacts, lecture linéaire sur mobile. */
.travel-situations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 1.5rem; }
.travel-situations-grid h3 { margin: 0 0 .6rem; }
.travel-situations-grid ul { margin: 0; padding-left: 1.25rem; }
.travel-situations-grid li + li { margin-top: .45rem; }
@media (max-width: 700px) { .travel-situations-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }


/* Catalogue : accès plus direct aux filtres tout en gardant l’illustration. */
.directory-hero { min-height: 20rem; }
.directory-hero .hero-copy { padding: clamp(1.2rem, 2.3vw, 2rem); }
.directory-hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.2vw, 3rem); }
.directory-hero .hero-lede { margin-block: .7rem 1rem; }
@media (max-width: 768px) {
  .hero.hero-storybook.directory-hero { padding-top: 6rem; }
  .directory-hero .hero-art { height: 8rem; object-position: right 15%; }
  .directory-hero .hero-copy { padding: 1.1rem; }
}
@media (min-width: 600px) and (max-width: 768px) {
  .hero.hero-storybook.directory-hero { padding-top: 10rem; }
  .directory-hero .hero-art { height: 10rem; object-position: right 7%; }
}

/* Fiches : mettre les caractéristiques et alertes à portée de lecture. */
.product-fiche > header h1 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 24ch; }

/* Préserver le nom et la génération d’un modèle sur une même ligne. */
.model-name { white-space: nowrap; }

/* Les guides à introduction simple gardent le conseil proche du titre. */
.article-content > header h1 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 24ch; }

/* Modèles liés au contenu : colonne discrète, liens internes avant tout. */
[data-context-products] { display: grid; grid-template-columns: minmax(0, 1fr); }
.context-products-main { min-width: 0; }
.context-products { margin: 0 var(--page-gutter) 3rem; padding: 1.2rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.context-products h2 { margin: 0 0 .8rem; font: normal 1.35rem/1.3 var(--serif); }
.context-products ul { list-style: none; padding: 0; margin: 0; }
.context-products li + li { margin-top: .75rem; }
.context-products a { text-underline-offset: .2em; overflow-wrap: anywhere; }
.context-products .affiliate-disclosure { font-size: .875rem; margin: .5rem 0; }
.merchant-action { margin: 1.5rem 0; }
.merchant-action .affiliate-disclosure, .merchant-inline .affiliate-disclosure { display: block; font-size: .875rem; font-weight: normal; margin: .5rem 0; }
.merchant-link { display: inline-block; padding: .65rem 1rem; background: #3f6657; color: #fff; border-radius: .3rem; text-decoration: none; font-weight: 600; }
.merchant-link:hover { background: #293f38; color: #fff; }
.merchant-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.merchant-inline { display: inline-block; margin: .35rem; font-weight: normal; }
.merchant-group { margin: .75rem 0 1.5rem; }
.merchant-group .affiliate-disclosure { display: block; font-size: .875rem; margin-bottom: .5rem; }
.merchant-option { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin: 0 .75rem .75rem 0; max-width: 100%; }
.merchant-product { font-size: .875rem; font-weight: 600; }
.directory-product-links .affiliate-disclosure { display: block; font-size: .875rem; line-height: 1.4; }
@media (min-width: 1100px) {
  [data-context-products] { grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr); align-items: start; max-width: 110rem; margin-inline: auto; }
  .context-products-main { grid-column: 2; grid-row: 1; }
  .context-products { grid-column: 1; grid-row: 1; margin: 2rem 0 0 var(--page-gutter); padding-right: 1.25rem; position: sticky; top: 1rem; }
}
