/* Bring4You /transporteur/ : corps des pages (maquettes phase 4).
   Header et footer : assets/chrome-transport.css, copie exacte du thème /transport/.
   Ici seulement les tokens --b4yr-* (03-design/tokens.css) et les composants du corps. */

/* Tokens (copie de 03-design/tokens.css) ----------------------------- */
:root {
  --b4yr-navy: #1f4063;
  --b4yr-amber: #e7a03c;
  --b4yr-amber-soft: #fbeed9;
  --b4yr-cta: #e67e22;
  --b4yr-cta-hover: #f39c12;
  --b4yr-cta-ink: #0a2037;
  --b4yr-link: #2563eb;
  --b4yr-link-hover: #1d4ed8;
  --b4yr-ink: #111827;
  --b4yr-ink-soft: #1f2937;
  --b4yr-muted: #4b5563;
  --b4yr-surface: #ffffff;
  --b4yr-surface-alt: #eff6ff;
  --b4yr-surface-zebra: #f8fafc;
  --b4yr-line: #e5e7eb;
  --b4yr-line-input: #d1d5db;
  --b4yr-ok: #22c55e;
  --b4yr-error: #b91c1c;
  --b4yr-font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --b4yr-font-text: "Onest", var(--b4yr-font-display);
  --b4yr-fs-h1: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --b4yr-fs-h2: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  --b4yr-fs-h3: 1.125rem;
  --b4yr-fs-body: 1rem;
  --b4yr-fs-lede: 1.125rem;
  --b4yr-fs-small: .875rem;
  --b4yr-lh-body: 1.6;
  --b4yr-radius-card: 8px;
  --b4yr-radius-btn: 6px;
  --b4yr-radius-pill: 999px;
  --b4yr-shadow-form: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --b4yr-route-weight: 6px;
  --b4yr-route-dot: 20px;
  --b4yr-swap-duration: 200ms;
  --b4yr-space-section: clamp(3rem, 2rem + 4vw, 5rem);
  --b4yr-container: 1200px;
  --b4yr-tap: 44px;
}
@media (prefers-reduced-motion: reduce) { :root { --b4yr-swap-duration: 0ms; } }

/* Reset minimal (Hello le fournit en production) --------------------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

/* Corps ---------------------------------------------------------------- */
.b4yr-body { font-family: var(--b4yr-font-text); font-size: var(--b4yr-fs-body); line-height: var(--b4yr-lh-body); color: var(--b4yr-ink-soft); }
.b4yr-body h1, .b4yr-body h2, .b4yr-body h3 { font-family: var(--b4yr-font-display); color: var(--b4yr-navy); font-weight: 700; }
.b4yr-wrap { max-width: var(--b4yr-container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .b4yr-wrap { padding-inline: 2rem; } }
.b4yr-section { padding-block: var(--b4yr-space-section); }
.b4yr-section--alt { background: var(--b4yr-surface-alt); }
.b4yr-section__head { max-width: 46rem; margin-bottom: 2rem; }
.b4yr-section__title { font-size: var(--b4yr-fs-h2); line-height: 1.25; }
.b4yr-section__intro { margin-top: .75rem; color: var(--b4yr-muted); }
.b4yr-data { font-variant-numeric: tabular-nums; }
.b4yr-ph { font-variant-numeric: tabular-nums; color: var(--b4yr-muted); border-bottom: 1px dashed currentColor; }

.b4yr-main a { color: var(--b4yr-link); }
.b4yr-main a:hover { color: var(--b4yr-link-hover); }
.b4yr-main :focus-visible { outline: 2px solid var(--b4yr-link); outline-offset: 2px; }

/* Boutons -------------------------------------------------------------- */
.b4yr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .75rem 1.5rem;
  font: 700 1rem/1.2 var(--b4yr-font-display); text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: var(--b4yr-radius-btn); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.b4yr-btn--cta { background: var(--b4yr-cta); color: var(--b4yr-cta-ink); }
.b4yr-body .b4yr-btn--cta, .b4yr-body .b4yr-btn--cta:hover { color: var(--b4yr-cta-ink); }
.b4yr-btn--cta:hover { background: var(--b4yr-cta-hover); }
.b4yr-btn--ghost { background: transparent; color: var(--b4yr-link); border-color: var(--b4yr-link); }
.b4yr-btn--light { background: transparent; border-color: #fff; }
.b4yr-body .b4yr-btn--light, .b4yr-body .b4yr-btn--light:hover { color: #fff; }
.b4yr-btn--light:hover { background: rgb(255 255 255 / .12); }
.b4yr-btn--block { width: 100%; }

/* Fil d'Ariane --------------------------------------------------------- */
.b4yr-crumbs { padding-top: 1.25rem; font-size: .8125rem; color: var(--b4yr-muted); }
.b4yr-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; }
.b4yr-crumbs li + li::before { content: ">"; margin-right: .375rem; }
.b4yr-body .b4yr-crumbs a { color: var(--b4yr-muted); text-decoration: none; }
.b4yr-body .b4yr-crumbs a:hover { color: var(--b4yr-link); text-decoration: underline; }
.b4yr-crumbs svg { width: 15px; height: 15px; vertical-align: -2px; }

/* Hero ----------------------------------------------------------------- */
.b4yr-hero { background: var(--b4yr-surface-alt); padding-bottom: 3.5rem; }
.b4yr-hero__grid { display: grid; gap: 2rem; margin-top: 1.75rem; align-items: start; }
@media (min-width: 1024px) { .b4yr-hero__grid { grid-template-columns: 7fr 5fr; gap: 3rem; margin-top: 2.5rem; } }
.b4yr-hero__title { font-size: var(--b4yr-fs-h1); line-height: 1.15; max-width: 20em; }
.b4yr-hero__intro { margin-top: .875rem; font-size: var(--b4yr-fs-lede); color: var(--b4yr-ink-soft); max-width: 36rem; }
.b4yr-hero__aside { display: none; }
@media (min-width: 1024px) { .b4yr-hero__aside { display: block; padding-top: 8.5rem; } }
.b4yr-hero__photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--b4yr-radius-card); background: #e2e8f0; border: 2px dashed #94a3b8; display: grid; place-items: center; color: var(--b4yr-muted); font-size: .875rem; text-align: center; padding: 1rem; }

/* Formulaire de trajet ------------------------------------------------- */
.b4yr-form {
  margin-top: 1.75rem; padding: 1.25rem; max-width: 36rem;
  background: var(--b4yr-surface); border-radius: var(--b4yr-radius-card); box-shadow: var(--b4yr-shadow-form);
}
@media (min-width: 640px) { .b4yr-form { padding: 1.5rem; } }
.b4yr-form__cities { position: relative; display: grid; grid-template-columns: 28px 1fr var(--b4yr-tap); column-gap: .75rem; row-gap: .75rem; align-items: center; }
.b4yr-form__rail { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; position: relative; }
.b4yr-form__rail::before { content: ""; position: absolute; left: 50%; top: 25px; bottom: 25px; width: 4px; margin-left: -2px; background: var(--b4yr-amber); border-radius: 2px; }
.b4yr-form__rail span { position: absolute; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--b4yr-amber); }
.b4yr-form__rail span:first-child { top: 17px; }
.b4yr-form__rail span:last-child { bottom: 17px; background: var(--b4yr-amber); }
.b4yr-field { display: block; }
.b4yr-form__cities .b4yr-field { grid-column: 2; }
.b4yr-field__label { display: block; font-size: .8125rem; font-weight: 600; color: var(--b4yr-muted); margin-bottom: .25rem; }
.b4yr-input, .b4yr-select {
  width: 100%; height: 50px; padding: 0 .875rem;
  font-size: 1rem; color: var(--b4yr-ink); background: #fff;
  border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-card);
  transition: border-color .15s, box-shadow .15s;
}
.b4yr-input:focus, .b4yr-select:focus { outline: none; border-color: var(--b4yr-link); box-shadow: 0 0 0 3px rgb(37 99 235 / .2); }
.b4yr-field.is-error .b4yr-input { border-color: var(--b4yr-error); box-shadow: 0 0 0 3px rgb(185 28 28 / .12); }
.b4yr-field__error { display: none; margin-top: .375rem; font-size: .8125rem; color: var(--b4yr-error); }
.b4yr-field.is-error .b4yr-field__error { display: block; }
.b4yr-field.is-focus .b4yr-input { border-color: var(--b4yr-link); box-shadow: 0 0 0 3px rgb(37 99 235 / .2); }
.b4yr-swap {
  grid-column: 3; grid-row: 1 / span 2;
  width: var(--b4yr-tap); height: var(--b4yr-tap); padding: 0; display: grid; place-items: center;
  color: var(--b4yr-navy); background: #fff; border: 1px solid var(--b4yr-line-input); border-radius: 50%; cursor: pointer;
  transition: transform var(--b4yr-swap-duration) ease, border-color .15s, background-color .15s;
}
.b4yr-swap:hover { border-color: var(--b4yr-amber); background: var(--b4yr-amber-soft); }
.b4yr-swap svg { width: 20px; height: 20px; }
.is-reversed .b4yr-swap { transform: rotate(180deg); }
.b4yr-form__row { margin-top: 1rem; padding-left: calc(28px + .75rem); padding-right: calc(var(--b4yr-tap) + .75rem); }
.b4yr-form__submit { margin-top: 1.25rem; }
.b4yr-reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin-top: .75rem; list-style: none; font-size: .8125rem; color: var(--b4yr-muted); }
.b4yr-reassure li { display: inline-flex; align-items: center; gap: .375rem; }
.b4yr-reassure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b4yr-ok); }
.b4yr-input--fade { transition: opacity var(--b4yr-swap-duration); }
.is-swapping .b4yr-input--fade { opacity: .35; }

/* Ruban d'itinéraire (grand) ------------------------------------------ */
.b4yr-route { --dot: var(--b4yr-route-dot); }
.b4yr-route__track { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.b4yr-route__dot { width: var(--dot); height: var(--dot); border-radius: 50%; border: 5px solid var(--b4yr-amber); background: #fff; z-index: 1; }
.b4yr-route__dot--end { background: var(--b4yr-amber); }
.b4yr-route__line { height: var(--b4yr-route-weight); background: var(--b4yr-amber); margin-inline: -2px; position: relative; display: grid; place-items: center; }
.b4yr-route__line .b4yr-swap { grid-column: auto; grid-row: auto; width: 52px; height: 52px; border: 2px solid var(--b4yr-amber); box-shadow: 0 0 0 6px var(--b4yr-surface-alt); }
.b4yr-route__cities { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.b4yr-route__city { display: flex; flex-direction: column; transition: opacity var(--b4yr-swap-duration), transform var(--b4yr-swap-duration); }
.b4yr-route__city--to { text-align: right; }
.b4yr-route__role { font-size: .8125rem; color: var(--b4yr-muted); }
.b4yr-route__name { font: 700 1.5rem/1.2 var(--b4yr-font-display); color: var(--b4yr-navy); }
.is-swapping .b4yr-route__city--from { transform: translateX(24px); opacity: 0; }
.is-swapping .b4yr-route__city--to { transform: translateX(-24px); opacity: 0; }
.b4yr-route__meta { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #cfdcf1; font-size: .9375rem; color: var(--b4yr-ink-soft); }
.b4yr-route__meta strong { font-weight: 600; color: var(--b4yr-navy); }
.b4yr-route__sens { margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--b4yr-muted); }

/* Ruban vertical (mobile, composant) */
.b4yr-route--vertical .b4yr-route__track { grid-template-columns: auto; grid-template-rows: auto 120px auto; justify-items: center; width: var(--dot); }
.b4yr-route--vertical .b4yr-route__line { width: var(--b4yr-route-weight); height: 100%; margin: -2px 0; }

/* Mini-ruban (cartes) */
.b4yr-mini { display: grid; grid-template-columns: 12px 1fr 12px; align-items: center; margin-block: .5rem; }
.b4yr-mini i { display: block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--b4yr-amber); background: #fff; }
.b4yr-mini i:last-child { background: var(--b4yr-amber); transition: transform .15s; }
.b4yr-mini b { display: block; height: 3px; background: var(--b4yr-amber); margin-inline: -1px; transform-origin: left; transition: transform .15s; }

/* Carte trajet ---------------------------------------------------------- */
.b4yr-cards { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 640px) { .b4yr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .b4yr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .b4yr-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b4yr-card {
  position: relative; display: block; padding: 1rem 1.125rem;
  background: var(--b4yr-surface); border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card);
  transition: border-color .15s, box-shadow .15s;
}
.b4yr-card:hover, .b4yr-card.is-hover { border-color: var(--b4yr-amber); box-shadow: 0 4px 12px -4px rgb(31 64 99 / .18); }
.b4yr-card:hover .b4yr-mini b, .b4yr-card.is-hover .b4yr-mini b { transform: scaleX(1.04); }
.b4yr-card:hover .b4yr-mini i:last-child, .b4yr-card.is-hover .b4yr-mini i:last-child { transform: translateX(4px); }
.b4yr-card:focus-within, .b4yr-card.is-focus { outline: 2px solid var(--b4yr-link); outline-offset: 2px; }
.b4yr-card__cities { display: flex; justify-content: space-between; gap: .5rem; font: 600 1rem/1.3 var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-card__cities span:last-child { text-align: right; }
.b4yr-body .b4yr-card a { color: inherit; text-decoration: none; }
.b4yr-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.b4yr-card a:focus-visible { outline: none; }
.b4yr-card__meta { font-size: .8125rem; color: var(--b4yr-muted); }

/* Estimateur ---------------------------------------------------------- */
.b4yr-est { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .b4yr-est { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; } }
.b4yr-est__legend { font: 600 1rem var(--b4yr-font-display); color: var(--b4yr-navy); margin-bottom: .75rem; }
.b4yr-est fieldset { border: 0; margin: 0; padding: 0; }
.b4yr-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
@media (min-width: 640px) { .b4yr-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b4yr-chip { position: relative; }
.b4yr-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.b4yr-chip span {
  display: flex; align-items: center; gap: .625rem; min-height: 56px; padding: .625rem .875rem;
  background: #fff; border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-card);
  font-weight: 500; color: var(--b4yr-ink-soft); transition: border-color .15s, background-color .15s;
}
.b4yr-chip svg { width: 22px; height: 22px; flex: none; color: var(--b4yr-navy); }
.b4yr-chip input:hover + span { border-color: var(--b4yr-navy); }
.b4yr-chip input:checked + span { border: 2px solid var(--b4yr-navy); background: var(--b4yr-surface-alt); padding: calc(.625rem - 1px) calc(.875rem - 1px); }
.b4yr-chip input:focus-visible + span { outline: 2px solid var(--b4yr-link); outline-offset: 2px; }
.b4yr-est__result { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-left: 4px solid var(--b4yr-amber); border-radius: var(--b4yr-radius-card); }
.b4yr-est__sens { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; color: var(--b4yr-muted); }
.b4yr-est__sens button { background: none; border: 0; padding: .25rem 0; color: var(--b4yr-link); font-weight: 600; cursor: pointer; text-decoration: underline; min-height: var(--b4yr-tap); }
.b4yr-est__price { margin-top: .5rem; font: 700 clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem)/1.15 var(--b4yr-font-text); color: var(--b4yr-navy); font-variant-numeric: tabular-nums; }
.b4yr-est__note { margin-top: .75rem; font-size: .875rem; color: var(--b4yr-muted); }
.b4yr-est__empty, .b4yr-est__off { color: var(--b4yr-muted); font-size: 1.25rem; }
.b4yr-est__result [data-state] { display: none; }
.b4yr-est__result[data-state="vide"] [data-state="vide"],
.b4yr-est__result[data-state="rempli"] [data-state="rempli"],
.b4yr-est__result[data-state="hors"] [data-state="hors"] { display: block; }
.b4yr-est__cta { margin-top: 1.25rem; }

/* Deux sens ----------------------------------------------------------- */
.b4yr-dirs { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .b4yr-dirs { grid-template-columns: 1fr 1fr; } }
.b4yr-dir { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); }
.b4yr-dir.is-active { border-color: var(--b4yr-amber); box-shadow: inset 0 4px 0 var(--b4yr-amber); }
@media (max-width: 1023px) { .b4yr-dir.is-active { order: -1; } }
.b4yr-dir__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.b4yr-dir__title { font-size: 1.25rem; }
.b4yr-dir__flag { display: none; font-size: .8125rem; font-weight: 600; color: #8a5a12; background: var(--b4yr-amber-soft); padding: .125rem .5rem; border-radius: var(--b4yr-radius-pill); }
.b4yr-dir.is-active .b4yr-dir__flag { display: inline-block; }
.b4yr-dir dl { margin-top: 1rem; display: grid; gap: 1rem; }
.b4yr-dir dt { font: 600 .9375rem var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-dir dd { margin-top: .25rem; color: var(--b4yr-ink-soft); }
.b4yr-dir__choose { margin-top: 1.25rem; }
.b4yr-dir.is-active .b4yr-dir__choose { display: none; }

/* Itinéraire long ----------------------------------------------------- */
.b4yr-itin { list-style: none; display: grid; gap: 0; }
@media (min-width: 768px) {
  .b4yr-itin { grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
  .b4yr-itin li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: var(--b4yr-route-weight); background: var(--b4yr-amber); }
  .b4yr-itin li:first-child::before { left: 50%; }
  .b4yr-itin li:last-child::before { right: 50%; }
}
.b4yr-itin li { position: relative; display: flex; gap: .875rem; align-items: center; padding: .5rem 0; }
@media (min-width: 768px) { .b4yr-itin li { flex-direction: column; text-align: center; padding: 0; gap: .625rem; } }
@media (max-width: 767px) {
  .b4yr-itin li::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--b4yr-amber); }
  .b4yr-itin li:first-child::before { top: 50%; }
  .b4yr-itin li:last-child::before { bottom: 50%; }
}
.b4yr-itin__dot { position: relative; z-index: 1; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff; border: 5px solid var(--b4yr-amber); }
.b4yr-itin__dot--step { width: 16px; height: 16px; margin: 4px; border-width: 3px; }
.b4yr-itin__end .b4yr-itin__name { font: 700 1.125rem var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-itin__step a { display: inline-flex; align-items: center; min-height: var(--b4yr-tap); padding: 0 .875rem; border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-pill); background: #fff; font-weight: 500; text-decoration: none; }
.b4yr-itin__step a:hover { border-color: var(--b4yr-amber); }
.b4yr-itin__hint { font-size: .8125rem; color: var(--b4yr-muted); }

/* Comment ça marche --------------------------------------------------- */
.b4yr-how { display: grid; gap: 1.5rem; list-style: none; }
@media (min-width: 768px) { .b4yr-how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.b4yr-how svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: var(--b4yr-navy); background: var(--b4yr-amber-soft); }
.b4yr-how h3 { margin-top: .875rem; font-size: var(--b4yr-fs-h3); }
.b4yr-how p { margin-top: .375rem; color: var(--b4yr-muted); }

/* Bandeau transporteur ----------------------------------------------- */
.b4yr-driver { background: var(--b4yr-navy); color: #fff; }
.b4yr-driver__inner { display: grid; gap: 1.5rem; padding-block: 3rem; align-items: center; }
@media (min-width: 768px) { .b4yr-driver__inner { grid-template-columns: 1fr auto; } }
.b4yr-body .b4yr-driver h2 { color: #fff; font-size: var(--b4yr-fs-h2); }
.b4yr-driver p { margin-top: .5rem; color: #dbe5f1; max-width: 40rem; }

/* FAQ ---------------------------------------------------------------- */
.b4yr-faq { max-width: 50rem; border-top: 1px solid var(--b4yr-line); }
.b4yr-faq details { border-bottom: 1px solid var(--b4yr-line); }
.b4yr-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .875rem 0; cursor: pointer; list-style: none; font: 600 1.0625rem/1.4 var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-faq summary::-webkit-details-marker { display: none; }
.b4yr-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--b4yr-amber); border-bottom: 2px solid var(--b4yr-amber); transform: rotate(45deg); transition: transform .15s; }
.b4yr-faq details[open] summary::after { transform: rotate(-135deg); }
.b4yr-faq details > div { padding: 0 0 1.25rem; color: var(--b4yr-ink-soft); max-width: 44rem; }

/* Blocs ville -------------------------------------------------------- */
.b4yr-two { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .b4yr-two { grid-template-columns: 1fr 1fr; } }
.b4yr-panel { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); }
.b4yr-panel h3 { font-size: 1.25rem; }
.b4yr-panel ul { margin-top: .875rem; padding-left: 1.125rem; display: grid; gap: .5rem; }
.b4yr-panel li::marker { color: var(--b4yr-amber); }
.b4yr-more { margin-top: 1.25rem; }
.b4yr-more[hidden] { display: none; }
.b4yr-links { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; }
.b4yr-links a { display: inline-flex; align-items: center; min-height: var(--b4yr-tap); padding: 0 1rem; border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-pill); background: #fff; text-decoration: none; font-weight: 500; }
.b4yr-links a:hover { border-color: var(--b4yr-amber); }

/* Autocomplétion ----------------------------------------------------- */
.b4yr-combo { position: relative; }
.b4yr-combo__list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 18rem; overflow-y: auto; list-style: none; background: #fff; border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-card); box-shadow: var(--b4yr-shadow-form); }
.b4yr-combo__list[hidden] { display: none; }
.b4yr-combo__list li a { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem .875rem; text-decoration: none; color: var(--b4yr-ink-soft); }
.b4yr-combo__list li a:hover, .b4yr-combo__list li a.is-active { background: var(--b4yr-surface-alt); color: var(--b4yr-navy); }
.b4yr-combo__list small { color: var(--b4yr-muted); }
.b4yr-combo__empty { padding: .875rem; font-size: .9375rem; color: var(--b4yr-muted); }

/* Index des villes --------------------------------------------------- */
.b4yr-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style: none; }
@media (min-width: 768px) { .b4yr-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b4yr-cities a { display: flex; justify-content: space-between; align-items: center; min-height: var(--b4yr-tap); padding: .5rem .875rem; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); background: #fff; text-decoration: none; color: var(--b4yr-navy); font-weight: 600; }
.b4yr-cities a:hover { border-color: var(--b4yr-amber); }
.b4yr-cities small { font-weight: 400; color: var(--b4yr-muted); font-variant-numeric: tabular-nums; }

/* Barre mobile ------------------------------------------------------- */
.b4yr-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 12px rgb(0 0 0 / .08); transform: translateY(110%); transition: transform .2s ease-out; }
.b4yr-bar.is-visible { transform: none; }
.b4yr-bar__sens { flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.3; color: var(--b4yr-muted); }
.b4yr-bar__sens strong { display: block; color: var(--b4yr-navy); font-family: var(--b4yr-font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b4yr-bar .b4yr-btn { min-height: 48px; padding-inline: 1rem; }
@media (min-width: 768px) { .b4yr-bar { display: none; } }
@media (max-width: 767px) { .b4yr-page-trajet .b4yt-footer, .b4yr-page-ville .b4yt-footer { padding-bottom: 5rem; } }


/* ==== Ajouts revue du 2026-11-25 : services, tarifs, comparateur, avis, illustration ==== */
.b4yr-demo { display: inline-block; margin-bottom: .75rem; padding: .125rem .5rem; font: 600 .75rem/1.4 system-ui, sans-serif; color: #7c2d12; background: #ffedd5; border: 1px dashed #c2410c; border-radius: 4px; }
.b4yr-linkbtn { background: none; border: 0; padding: .25rem 0; min-height: var(--b4yr-tap); color: var(--b4yr-link); font-weight: 600; text-decoration: underline; cursor: pointer; }
.b4yr-sub { margin: 3rem 0 1rem; font-size: 1.25rem; }
.b4yr-proof { display: flex; align-items: center; gap: .625rem; margin-top: 1rem; font-size: .9375rem; color: var(--b4yr-ink-soft); }

/* Illustration du hero */
.b4yr-hero__aside--illus { padding-top: 4.5rem; }
.b4yr-illus svg { width: 100%; height: auto; display: block; border-radius: var(--b4yr-radius-card); box-shadow: 0 1px 0 var(--b4yr-line); }

/* Étoiles (note réelle seulement) */
.b4yr-stars { display: inline-flex; gap: 2px; }
.b4yr-stars i { width: 16px; height: 16px; background: #00b67a; clip-path: polygon(50% 5%, 61% 38%, 96% 38%, 68% 59%, 79% 93%, 50% 72%, 21% 93%, 32% 59%, 4% 38%, 39% 38%); }
.b4yr-stars i.is-part { background: linear-gradient(90deg, #00b67a 30%, #d1d5db 30%); }
.b4yr-stars--lg i { width: 24px; height: 24px; }

/* Services */
.b4yr-services { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 640px) { .b4yr-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .b4yr-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.b4yr-service { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); }
.b4yr-pic { width: 52px; height: 52px; color: var(--b4yr-navy); }
.b4yr-pic + h3 { margin-top: .75rem; font-size: var(--b4yr-fs-h3); }
.b4yr-service p { margin-top: .375rem; color: var(--b4yr-muted); }
.b4yr-service a { display: inline-block; margin-top: .75rem; font-weight: 600; }

/* Tableau de prix */
.b4yr-table { overflow-x: auto; }
.b4yr-table table { width: 100%; min-width: 36rem; border-collapse: collapse; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); overflow: hidden; }
.b4yr-table th, .b4yr-table td { padding: .875rem 1rem; text-align: left; border-bottom: 1px solid var(--b4yr-line); }
.b4yr-table thead th { font: 600 .875rem/1.35 var(--b4yr-font-display); color: var(--b4yr-navy); background: var(--b4yr-surface-alt); vertical-align: bottom; }
.b4yr-table thead small { font: 400 .8125rem var(--b4yr-font-text); color: var(--b4yr-muted); }
.b4yr-table tbody th { font-weight: 500; color: var(--b4yr-ink); }
.b4yr-table tbody tr:nth-child(even) > * { background: var(--b4yr-surface-zebra); }
.b4yr-table td { white-space: nowrap; color: var(--b4yr-navy); font-weight: 600; }
.b4yr-table__note { margin-top: .75rem; font-size: .875rem; color: var(--b4yr-muted); max-width: 48rem; }

/* Comparateur */
.b4yr-cmp { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .b4yr-cmp { grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: start; } }
.b4yr-cmp__inputs { display: grid; gap: 1.25rem; align-content: start; }
.b4yr-cmp fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.b4yr-cmp__axis { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 600 1rem var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-chips--list { grid-template-columns: 1fr; }
@media (min-width: 640px) { .b4yr-chips--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b4yr-chips--list .b4yr-chip span { min-height: 48px; }
.b4yr-cmp__out { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-top: 4px solid var(--b4yr-amber); border-radius: var(--b4yr-radius-card); }
.b4yr-cmp__out [data-show] { display: none; }
.b4yr-cmp__out[data-state="vide"] [data-show="vide"], .b4yr-cmp__out[data-state="rempli"] [data-show="rempli"] { display: block; }
.b4yr-cmp__empty { font: 600 1.125rem var(--b4yr-font-display); color: var(--b4yr-muted); padding-block: 1.5rem; }
.b4yr-cmp__title { font: 600 1.0625rem var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-bars { list-style: none; display: grid; gap: 1rem; margin-top: 1rem; }
.b4yr-bar-row { display: grid; grid-template-columns: 1fr auto; gap: .375rem .75rem; align-items: center; }
.b4yr-bar-row__label { font-size: .9375rem; color: var(--b4yr-ink-soft); }
.b4yr-bar-row__val { font-weight: 700; color: var(--b4yr-ink-soft); text-align: right; font-size: .9375rem; }
.b4yr-bar-row__track { order: 2; grid-column: 1 / -1; height: 14px; background: var(--b4yr-surface-zebra); border-radius: 7px; overflow: hidden; }
.b4yr-bar-row__fill { display: block; height: 100%; width: var(--w, 0%); background: #94a3b8; border-radius: 7px; transition: width .3s ease; }
.b4yr-bar-row--us .b4yr-bar-row__fill { background: var(--b4yr-amber); }
.b4yr-bar-row--us .b4yr-bar-row__label { font-weight: 600; color: var(--b4yr-navy); }
.b4yr-bar-row--us .b4yr-bar-row__val { color: var(--b4yr-navy); font-size: 1.125rem; }
.b4yr-bar-row.is-off .b4yr-bar-row__fill { background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 12px); }
.b4yr-bar-row.is-off .b4yr-bar-row__val { color: var(--b4yr-error); font-weight: 600; }
.b4yr-cmp__saving { margin-top: 1.25rem; padding: .75rem 1rem; background: var(--b4yr-amber-soft); border-radius: var(--b4yr-radius-btn); color: var(--b4yr-ink-soft); }
.b4yr-cmp__saving strong { color: var(--b4yr-navy); }
.b4yr-cmp__cta { margin-top: 1.25rem; }
@media (prefers-reduced-motion: reduce) { .b4yr-bar-row__fill { transition: none; } }

/* Avis */
.b4yr-reviews { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .b4yr-reviews { grid-template-columns: 16rem 1fr; gap: 2.5rem; } }
.b4yr-reviews__score { padding: 1.5rem; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); align-self: start; }
.b4yr-reviews__note { font: 700 3rem/1 var(--b4yr-font-display); color: var(--b4yr-navy); }
.b4yr-reviews__note small { font-size: 1.25rem; color: var(--b4yr-muted); }
.b4yr-reviews__score .b4yr-stars { margin: .5rem 0; }
.b4yr-reviews__score p:not(.b4yr-reviews__note) { color: var(--b4yr-ink-soft); }
.b4yr-reviews__score small { color: var(--b4yr-muted); }
.b4yr-reviews__score a { display: inline-block; margin-top: .75rem; font-weight: 600; }
.b4yr-review-list { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 768px) { .b4yr-review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b4yr-review-card { padding: 1.25rem; background: #fff; border: 1px solid var(--b4yr-line); border-radius: var(--b4yr-radius-card); }
.b4yr-review-card__text { margin-top: .75rem; }
.b4yr-review-card__meta { margin-top: .75rem; font-size: .8125rem; color: var(--b4yr-muted); }
.b4yr-reviews__scope { grid-column: 1 / -1; font-size: .875rem; color: var(--b4yr-muted); }
@media (max-width: 639px) {
  .b4yr-service { display: grid; grid-template-columns: 40px 1fr; column-gap: .875rem; padding: 1.125rem; }
  .b4yr-service .b4yr-pic { width: 40px; height: 40px; grid-row: 1 / span 3; }
  .b4yr-pic + h3 { margin-top: 0; }
}

.b4yr-table td.b4yr-table__ex { white-space: normal; font-weight: 400; color: var(--b4yr-muted); }

.b4yr-legend-note { font: 400 .8125rem var(--b4yr-font-text); color: var(--b4yr-muted); }

.b4yr-demo--ok { color: #14532d; background: #dcfce7; border-color: #16a34a; }
.b4yr-bar-row__label .b4yr-demo { margin: 0 0 0 .375rem; padding: 0 .375rem; }

/* Thème WordPress : ajouts ---------------------------------------------- */
.b4yr-main { display: block; }
.b4yr-404__title { margin-top: 1.5rem; }
.b4yr-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.b4yr-stars i.is-empty { background: #d1d5db; }
/* Elementor : sections générées sans marge ni gouttière, nos sections portent leur propre rythme */
.b4yr-body .elementor-section.b4yr-el > .elementor-container { max-width: none; }
.b4yr-body .b4yr-el .elementor-widget-wrap { padding: 0 !important; }
.b4yr-body .b4yr-el .elementor-widget:not(:last-child) { margin-bottom: 0; }
/* Hello impose une bordure sombre aux champs : on reprend la main avec la même spécificité */
.b4yr-body input[type=text].b4yr-input, .b4yr-body select.b4yr-select { border: 1px solid var(--b4yr-line-input); border-radius: var(--b4yr-radius-card); }
.b4yr-body input[type=text].b4yr-input:focus, .b4yr-body select.b4yr-select:focus { border-color: var(--b4yr-link); box-shadow: 0 0 0 3px rgb(37 99 235 / .2); outline: none; }
.b4yr-body .b4yr-field.is-error input[type=text].b4yr-input { border-color: var(--b4yr-error); }
