/* Trams et bus en direct — vivre-orleans.fr (styles préfixés .vd-) */
.vd-app { --rouge: #bf0a37; --encre: #222; --gris: #666; --filet: #e3e3e3; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; font-family: "Open Sans", sans-serif; color: var(--encre); }
.vd-app *, .vd-app *::before, .vd-app *::after { box-sizing: border-box; }
.vd-app button, .vd-app input, .vd-app select { font-family: inherit; }
.vd-barre { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; margin: 0 0 8px; }
.vd-filtres, .vd-recherche { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; }
.vd-filtre, .vd-select { height: 40px; padding: 0 15px; border: 1.5px solid #e1c3cb; border-radius: 999px; background-color: #fff; color: var(--rouge); font-size: 14px; font-weight: 600; cursor: pointer; }
.vd-filtre[aria-pressed="true"] { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.vd-select { padding-right: 8px; }
.vd-recherche input { width: 230px; height: 40px; margin: 0; padding: 0 12px; border: 1.5px solid #cfcfcf; border-radius: 6px; font-size: 16px; background: #fff; color: var(--encre); }
.vd-recherche input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(191, 10, 55, .15); }
.vd-btn { height: 40px; padding: 0 14px; border: 1.5px solid var(--rouge); border-radius: 6px; background: var(--rouge); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.vd-btn--discret { background: #fff; color: var(--rouge); border-color: #e1c3cb; }
.vd-btn:focus-visible, .vd-filtre:focus-visible, .vd-select:focus-visible, .vd-fermer:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
.vd-app .vd-statut { display: block; min-height: 22px; margin: 0 0 8px; padding: 0; font-size: 13.5px; color: var(--gris); }
.vd-statut b { color: var(--encre); }
.vd-statut i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #2f9612; animation: vd-pouls 2s infinite; }
.vd-statut--panne { color: #a35a00 !important; } .vd-statut--panne i { background: #ff9500; animation: none; }
@keyframes vd-pouls { 0% { box-shadow: 0 0 0 0 rgba(47, 150, 18, .55); } 70% { box-shadow: 0 0 0 7px rgba(47, 150, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 150, 18, 0); } }
.vd-zone { position: relative; }
.vd-carte { height: clamp(460px, 74vh, 780px); border: 1px solid var(--filet); border-radius: 8px; background: #f1efe9; z-index: 1; }
.vd-carte .leaflet-tile-pane { filter: saturate(.45) brightness(1.04); }
.vd-toile { position: absolute; left: 0; top: 0; z-index: 450; pointer-events: none; }
.vd-panneau { position: absolute; z-index: 5; top: 12px; right: 12px; width: 330px; max-height: calc(100% - 24px); overflow: auto; padding: 14px 16px; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 14px; }
.vd-panneau[hidden] { display: none; }
.vd-fermer { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #555; font-size: 24px; line-height: 1; cursor: pointer; }
.vd-app .vd-tete { display: flex; gap: 10px; align-items: flex-start; margin: 0 30px 10px 0; padding: 0; line-height: 1.35; }
.vd-tete b { display: block; font: 500 18px/1.25 Oswald, sans-serif; }
.vd-tete small { display: block; margin-top: 3px; color: var(--gris); font-size: 12.5px; }
.vd-badge { display: inline-block; flex: none; min-width: 28px; padding: 1px 6px; border-radius: 5px; font: 700 12.5px/1.6 "Open Sans", sans-serif; text-align: center; vertical-align: middle; }
.vd-badge--tram { border-radius: 999px; }
.vd-tete > .vd-badge { font-size: 16px; padding: 4px 9px; }
.vd-app .vd-liste { margin: 0; padding: 0; list-style: none; }
.vd-liste li { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 0; padding: 7px 0; border-top: 1px solid var(--filet); list-style: none; line-height: 1.35; }
.vd-liste li b { flex: none; text-align: right; color: var(--rouge); font-size: 13.5px; }
.vd-liste li small { display: block; color: var(--gris); font-weight: 400; font-size: 11.5px; }
.vd-dest { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.vd-app .vd-sens { display: table; margin-top: 3px; padding: 0 7px; border: 1px solid #d5d5d5; border-radius: 999px; background: #f3f3f3; color: #333; font: 700 11px/17px "Open Sans", sans-serif; white-space: nowrap; vertical-align: 1px; }
.vd-tard { color: #a35a00 !important; }
.vd-app .vd-vide { margin: 0; padding: 4px 0; color: var(--gris); }
.vd-app .vd-ici { display: flex; align-items: center; gap: 8px; height: 42px; margin: 0; padding: 0 15px 0 12px; border: 2px solid #fff; border-radius: 999px; background: #1565d8; color: #fff; font: 700 13.5px/1 "Open Sans", sans-serif; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); cursor: pointer; }
.vd-ici svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vd-ici svg .vd-ici-coeur { fill: currentColor; stroke: none; }
.vd-app .vd-ici[aria-pressed="true"] { background: #fff; color: #1565d8; border-color: #1565d8; }
.vd-app .vd-ici:focus-visible { outline: 3px solid #1565d8; outline-offset: 2px; }
.vd-ici--cherche svg { animation: vd-tourne 1.1s linear infinite; }
@keyframes vd-tourne { to { transform: rotate(360deg); } }
.vd-liste.vd-proches li { padding: 0; }
.vd-app .vd-proches button { display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; margin: 0; padding: 8px 0; border: 0; background: none; color: var(--encre); font: inherit; font-size: 14px; line-height: 1.35; text-align: left; cursor: pointer; }
.vd-proches button:hover strong { text-decoration: underline; }
.vd-proches strong { display: block; font-weight: 600; }
.vd-proches em { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; font-style: normal; }
.vd-app .vd-retour { display: block; margin: 0 40px 8px 0; padding: 2px 0; border: 0; background: none; color: #1565d8; font-size: 13px; font-weight: 600; cursor: pointer; }
.vd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vd-actions .vd-btn { height: 36px; font-size: 13px; }
.vd-app .vd-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 10px 0 4px; padding: 0; font-size: 12.5px; color: #444; }
.vd-legende i { display: inline-block; margin-right: 5px; font: 700 11px/16px "Open Sans", sans-serif; font-style: normal; text-align: center; color: #fff; vertical-align: middle; }
.vd-l-tram { width: 24px; height: 16px; border-radius: 8px; background: #e2001a; } .vd-l-bus { width: 20px; height: 16px; border-radius: 4px; background: #555; }
.vd-l-tard { width: 10px; height: 10px; border-radius: 50%; background: #ff9500; }
.vd-app .vd-estime { margin: 0 0 10px; padding: 0; font-size: 12px; color: #777; }
@media (max-width: 700px) {
  .vd-app { padding: 0 10px; }
  .vd-filtres { gap: 6px; flex-wrap: nowrap; width: 100%; } .vd-filtre, .vd-select { height: 36px; padding: 0 12px; font-size: 13px; } .vd-select { flex: 1 1 auto; min-width: 0; }
  .vd-recherche { width: 100%; flex-wrap: nowrap; } .vd-recherche input { flex: 1 1 auto; width: auto; min-width: 0; }
  .vd-carte { height: 68vh; min-height: 420px; }
  .vd-panneau { top: auto; left: 6px; right: 6px; bottom: 6px; width: auto; max-height: 52%; }
}
@media (prefers-reduced-motion: reduce) { .vd-statut i, .vd-ici--cherche svg { animation: none; } }

/* titre et textes de la page */
.vo-direct-page { padding: 22px 0 40px; font-family: "Open Sans", sans-serif; color: #222; }
.vo-direct-entete { max-width: 760px; margin: 0 auto 16px; padding: 0 20px; text-align: center; }
.vo-direct-page h1.vo-direct-h1 { margin: 0 !important; padding: 0 !important; font: 500 46px/1.1 Oswald, sans-serif !important; color: #222 !important; text-transform: none !important; }
.vo-direct-intro p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: #444; }
.vo-direct-texte { max-width: 760px; margin: 34px auto 0; padding: 0 20px; }
.vo-direct-page .vo-direct-texte h2 { margin: 0 0 14px !important; padding: 0 0 10px !important; font: 500 28px/1.2 Oswald, sans-serif !important; color: #222 !important; border-bottom: 3px solid #bf0a37; text-transform: none !important; }
.vo-direct-texte p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: #333; }
.vo-direct-texte ul { margin: 0 0 14px; padding-left: 22px; }
.vo-direct-texte li { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: #333; }
.vo-direct-texte a { color: #bf0a37; text-decoration: underline; }
@media (max-width: 700px) {
  .vo-direct-page { padding-top: 14px; }
  .vo-direct-entete { margin-bottom: 10px; }
  .vo-direct-page h1.vo-direct-h1 { font-size: 28px !important; }
  .vo-direct-intro p { font-size: 16px; }
  .vo-direct-page .vo-direct-texte h2 { font-size: 24px !important; }
}

/* ---------- spécifique à l'outil vélo ---------- */
.velo-app { --vert: #0b7a3e; }
.velo-classes { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.35; color: #333; }
.velo-classes li { display: flex; gap: 8px; align-items: baseline; margin: 0 0 4px; padding: 0; list-style: none; }
.velo-trait { flex: none; display: inline-block; width: 22px; height: 0; border-top: 4px solid #999; border-radius: 2px; transform: translateY(-3px); }
.velo-classes small { color: #777; white-space: nowrap; }
.velo-ventilation { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; }
.velo-ventilation li { display: flex; gap: 8px; align-items: baseline; margin: 0 0 4px; padding: 0; list-style: none; }
.velo-ventilation .velo-trait { transform: translateY(-3px); }
.velo-ventilation span.velo-v { margin-left: auto; color: #555; white-space: nowrap; }
.velo-arr-min { color: var(--vert) !important; }
.velo-etiquette { color: var(--vert) !important; }
.velo-legende-classes { position: absolute; z-index: 10; right: 12px; bottom: 28px; max-width: 250px; padding: 8px 12px; background: rgba(255, 255, 255, .94); border: 1px solid #ddd; border-radius: 6px; font-size: 11.5px; color: #444; }
.velo-legende-classes .velo-classes { margin: 0; }
.velo-comparaison p { margin: 0 0 4px; }
.velo-comparaison { margin: 10px 0 0; padding: 8px 10px; background: #f3f8f4; border-radius: 6px; font-size: 13px; line-height: 1.4; }
@media (max-width: 800px) { .velo-legende-classes { display: none; } }
