.section-carte { padding-bottom: 0; scroll-margin-top: 18px; }
.console-trajet {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(254px, .66fr) minmax(0, 1.65fr);
  color: #f7f2e8;
  background: #182126;
  border: 1px solid #343a36;
  border-radius: 10px;
  box-shadow: 0 14px 35px #1a211914;
}
.trajet-infos {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.5vw, 36px);
  background: linear-gradient(145deg, #232621, #1b1e1b 80%);
  border-right: 1px solid #585749;
}
.choix-carte { min-width: 0; margin: 0; padding: 0; border: 0; }
.choix-carte legend, .etapes-carte small {
  color: #c9c3af;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.choix-carte legend { margin-bottom: 8px; padding: 0; }
.choix-carte-boutons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 100%;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid #58594b;
  background: #151916;
}
.choix-carte-boutons label { position: relative; flex: 1 0 auto; cursor: pointer; }
.choix-carte-boutons input { position: absolute; opacity: 0; }
.choix-carte-boutons span {
  min-height: 38px;
  padding: 7px 9px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #dedbce;
}
.choix-carte-boutons input:checked + span { background: #e1c18a; color: #211e16; }
.choix-carte-boutons input:focus-visible + span, .lecture-carte:focus-visible { outline: 2px solid #fff1cb; outline-offset: 2px; }
.etapes-carte { list-style: none; padding: 0 0 0 19px; margin: 24px 0 0; }
.etapes-carte li { position: relative; display: grid; }
.etapes-carte li:first-child { padding-bottom: 17px; }
.etapes-carte li:first-child::before { content: ''; position: absolute; top: 11px; height: 100%; left: -14px; border-left: 1px solid #887b5f; }
.etapes-carte li::after { content: ''; position: absolute; left: -18px; top: 5px; border: 2px solid #e1c18a; border-radius: 50%; width: 9px; height: 9px; background: #242720; }
.etapes-carte li:last-child::after { border-radius: 1px; background: #e1c18a; }
.etapes-carte strong { font: 400 clamp(21px, 2.1vw, 29px)/1.18 var(--serif); margin-top: 2px; }
.etapes-carte li > span, .trajet-note { color: #cfcec3; font-size: 13px; line-height: 1.48; }
.etapes-carte li > span { margin-top: 4px; }
.carte-duree { display: grid; gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #585749; }
.carte-duree span { color: #c9c3af; font: 600 10px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.carte-duree strong { color: #f1d4a2; font: 400 clamp(27px, 2.6vw, 35px)/1.15 var(--serif); }
.carte-km { margin-top: 8px; color: #edd3a6; font-size: 14px; font-weight: 600; }
.trajet-note { margin-top: 12px; }
.lien-parking-carte { min-height: 40px; display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; color: #efd5a8; text-decoration: none; font-size: 13px; font-weight: 600; }
.trajet-plan { display: flex; flex-direction: column; min-width: 0; background: #182126; }
.cadre-plan { position: relative; min-height: 320px; flex: 1; overflow: hidden; background: #1b262b; }
#plan-orly { position: absolute; inset: 0; width: 100%; height: 100%; }
#plan-orly * { transition-property: none; }
#trace-carte path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
#halo-route { stroke: #d59037; stroke-width: 7; opacity: .63; }
#bord-route { stroke: #624a32; stroke-width: 4.8; }
#route-active { stroke: #ffd590; stroke-width: 2.5; }
.nom-commune { fill: #c4d0ce; paint-order: stroke; stroke: #182328; stroke-width: 3; font: 11px var(--sans); letter-spacing: .065em; }
.cartouche-texte { fill: #fff5df; font: 650 13px var(--sans); }
.carte-nord { position: absolute; right: 16px; top: 13px; width: 24px; display: grid; justify-items: center; color: #dcdacf; font: 600 10px/1.3 var(--sans); }
.carte-nord i { border-inline: 4px solid transparent; border-bottom: 12px solid #d9ccb0; }
.lecture-carte {
  position: absolute; left: 13px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 40px; border-radius: 24px; border: 1px solid #b6a37e; padding: 6px 14px;
  background: #172022f5; color: #f7e3be; font-size: 12px; font-weight: 600;
}
.lecture-carte i { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.lecture-carte[data-etat="arret"] i { width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.source-carte { padding: 6px 12px; text-align: right; background: #1a2426; color: #c4c6bd; font-size: 10px; line-height: 1.5; }
.source-carte a { text-underline-offset: .2em; }
.societe-intro { color: var(--muted); max-width: 64ch; margin-top: 16px; }
.trajet-accueil .accueil-entete > a { flex-shrink: 0; }
@media (max-width: 830px) {
  .console-trajet { grid-template-columns: 1fr; }
  .trajet-infos { border: 0; border-bottom: 1px solid #58594b; }
  .cadre-plan { min-height: 0; height: clamp(280px, 54vw, 386px); flex: auto; }
  .etapes-carte { display: flex; gap: 38px; }
  .etapes-carte li { flex: 1; }
  .etapes-carte li:first-child { padding-bottom: 0; }
  .etapes-carte li:first-child::before { display: none; }
}
@media (max-width: 520px) {
  .trajet-infos { padding: 19px 17px; }
  .etapes-carte { margin-top: 16px; gap: 16px; padding-left: 0; }
  .etapes-carte li::after { display: none; }
  .etapes-carte strong { font-size: 20px; }
  .etapes-carte li > span { font-size: 12px; }
  .trajet-note { margin-top: 7px; }
  .carte-duree { margin-top: 15px; padding-top: 12px; }
  .carte-km { margin-top: 7px; }
  .lecture-carte { left: 9px; bottom: 8px; min-height: 36px; }
  .nom-commune { font-size: 10px; }
  .source-carte { font-size: 10px; }
}
#sillage-navette { stroke: #fff4cf; stroke-width: 3.2; }
@media (max-width: 830px) {
  .console-trajet { background: #202521; }
  .trajet-infos { display: contents; }
  .choix-carte { grid-row: 1; margin: 16px 20px; }
  .trajet-plan { grid-row: 2; }
  #infos-itineraire { grid-row: 3; padding: 0 20px; }
  .trajet-note { grid-row: 4; margin: 8px 20px 0; }
  .lien-parking-carte { grid-row: 5; margin: 2px 20px 12px; justify-self: start; }
}
