/* legacy-bridge.css — reskins the legacy data pages (wv2-design-system.css: villes, quartiers, sports, départements,
   régions, itinéraires, cartographie) to the Atlas chrome. Loaded after the design system, from the header shell. */
body.wv2-root{
  --wv2-ink:var(--wv-ink); --wv2-accent:var(--wv-leaf); --wv2-accent-dark:#587F2E; --wv2-teal:var(--wv-deep); --wv2-teal-soft:var(--wv-deep-2);
  --wv2-pink:var(--wv-leaf); --wv2-h1-color:var(--wv-ink); --wv2-h2-color:var(--wv-ink); --wv2-h3-color:var(--wv-ink-2); --wv2-h2:var(--wv-ink); --wv2-h3:var(--wv-ink-2);
  --wv2-text:var(--wv-ink-2); --wv2-text-soft:var(--wv-muted); --wv2-muted:var(--wv-muted);
  --wv2-border:var(--wv-line); --wv2-border-soft:var(--wv-line); --wv2-bg:var(--wv-bg); --wv2-bg-soft:var(--wv-paper); --wv2-card:var(--wv-card);
  --wv2-font:var(--wv-serif); --wv2-fs-base:17.5px; --wv2-fs-h1:2.6rem; --wv2-fs-h2:1.7rem; --wv2-fs-h3:1.25rem; --wv2-fw-h1:600; --wv2-fw-h2:600; --wv2-fw-h3:600; --wv2-lh-base:1.55;
  --wv2-radius-sm:4px; --wv2-radius:6px; --wv2-radius-lg:8px; --wv2-shadow:0 1px 2px rgba(18,24,22,.04),0 10px 30px -18px rgba(18,24,22,.18); --wv2-shadow-sm:0 1px 2px rgba(18,24,22,.04);
  --wv2-container:1312px;
  background-color:var(--wv-bg)!important;background-image:none!important;
  font-family:var(--wv-serif);color:var(--wv-ink-2);-webkit-font-smoothing:antialiased;margin:0;
}
body.wv2-root .wv2-site{max-width:none;background:transparent;box-shadow:none}
body.wv2-root .wv2-page{max-width:var(--wv2-container);margin:0 auto;background:transparent;min-height:0}
body.wv2-root .wv2-page__inside{padding:0 var(--wv-gut)}
body.wv2-root .wv2-main{padding:24px 0 44px}
/* headings: Playfair for h1/h2, serif for the rest */
body.wv2-root .wv2-page h1,body.wv2-root .wv2-page .wv2-c-hero h1{font-family:var(--wv-display);font-weight:600;letter-spacing:-.02em;line-height:1.06;color:var(--wv-ink)}
body.wv2-root .wv2-page h2,body.wv2-root .wv2-page .wv2-c-card h2,body.wv2-root .wv2-page .wv2-quarter-card h2{font-family:var(--wv-display);font-weight:600;letter-spacing:-.015em;color:var(--wv-ink)}
body.wv2-root .wv2-page h3{font-family:var(--wv-serif);font-weight:600;color:var(--wv-ink-2)}
body.wv2-root .wv2-page h4,body.wv2-root .wv2-page h5{font-family:var(--wv-serif);font-weight:600;color:var(--wv-ink-2)}
body.wv2-root .wv2-page a{color:var(--wv-leaf)}
body.wv2-root .wv2-page a:hover{color:#587F2E;text-decoration:underline}
body.wv2-root .wv2-eyebrow{color:var(--wv-leaf);font-family:var(--wv-sans);font-size:10.5px;letter-spacing:.2em;font-weight:600}
/* breadcrumb → quiet micro line */
body.wv2-root .wv2-breadcrumb{background:transparent;border:0;padding:18px 0 4px;font-family:var(--wv-sans);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--wv-muted)}
body.wv2-root .wv2-breadcrumb a{color:var(--wv-muted)}
body.wv2-root .wv2-breadcrumb a:hover{color:var(--wv-leaf);text-decoration:none}
body.wv2-root .wv2-breadcrumb li:not(:last-child)::after{color:var(--wv-line-2)}
/* share row → small outlined pills */
body.wv2-root .wv2-share{margin:14px 0 22px;gap:6px}
body.wv2-root .wv2-share .shared-counts-button,body.wv2-root .shared-counts-wrap .shared-counts-button{background:transparent!important;color:var(--wv-ink-2)!important;border:1px solid var(--wv-line-2)!important;border-radius:999px;padding:5px 11px;font-family:var(--wv-sans);font-size:11px;font-weight:500;letter-spacing:.04em}
body.wv2-root .wv2-share .shared-counts-button:hover,body.wv2-root .shared-counts-wrap .shared-counts-button:hover{border-color:var(--wv-leaf)!important;color:var(--wv-leaf)!important}
/* cards, tabs, stats, tables */
body.wv2-root .wv2-stat,body.wv2-root .wv2-c-card,body.wv2-root .wv2-quarter-card,body.wv2-root .wv2-c-stat,body.wv2-root .wv2-sidebox,body.wv2-root .wv2-c-panel{border-radius:6px;border-color:var(--wv-line);box-shadow:none}
body.wv2-root .wv2-stat strong,body.wv2-root .wv2-c-stat strong,body.wv2-root .wv2-c-stat b{font-family:var(--wv-display);color:var(--wv-ink);letter-spacing:-.01em}
body.wv2-root .wv2-tabs,body.wv2-root .wv2-c-tabs{background:var(--wv-bg);border-color:var(--wv-line);border-bottom-color:var(--wv-line-2)}
body.wv2-root .wv2-tab,body.wv2-root .wv2-c-tab{font-family:var(--wv-sans);font-size:12.5px;letter-spacing:.04em;border-radius:999px}
body.wv2-root .wv2-tab.is-active,body.wv2-root .wv2-c-tab.is-active,body.wv2-root .wv2-tab[aria-selected="true"],body.wv2-root .wv2-c-tab[aria-selected="true"]{background:var(--wv-deep);color:#fff}
body.wv2-root .wv2-page table th{font-family:var(--wv-sans);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--wv-muted);font-weight:500;background:transparent}
body.wv2-root .wv2-page table td{border-color:var(--wv-line)}
body.wv2-root .wv2-c-hero{border-bottom:1px solid var(--wv-line)}
/* buttons (search, CTA) */
body.wv2-root .wv2-page button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(.wv2-c-tab):not(.wv2-tab):not(.wv2-c-faq-toggle):not(.wv2-c-map-btn),body.wv2-root .wv2-page .wv2-c-cta,body.wv2-root .wv2-page .wv2-btn,body.wv2-root .wv2-page input[type="submit"]{font-family:var(--wv-serif);font-weight:600;border-radius:999px;background:var(--wv-green);color:var(--wv-ink);border:0}
body.wv2-root .wv2-page .wv2-c-cta:hover,body.wv2-root .wv2-page .wv2-btn:hover{background:var(--wv-green-2);color:var(--wv-ink);text-decoration:none}
body.wv2-root .wv2-page input[type="text"],body.wv2-root .wv2-page input[type="search"],body.wv2-root .wv2-page select{font-family:var(--wv-serif);border:1px solid var(--wv-line-2);border-radius:999px;background:var(--wv-card);color:var(--wv-ink)}
/* the legacy menu/hub rails inherit the leaf accent */
body.wv2-root .wv2-c-pills a,body.wv2-root .wv2-c-pills span{border-radius:999px;border-color:var(--wv-line-2);background:transparent;color:var(--wv-ink-2);font-family:var(--wv-sans);font-size:12px}
body.wv2-root .wv2-c-pills a:hover{border-color:var(--wv-leaf);color:var(--wv-leaf);text-decoration:none}
/* old teal/blue/pink leftovers */
body.wv2-root .wv2-page [style*="color:#1e73be"],body.wv2-root .wv2-page [style*="color: #1e73be"]{color:var(--wv-leaf)!important}
body.wv2-root .wv2-page [style*="#c2126a"]{color:var(--wv-leaf)!important}
body.wv2-root .wv2-page [style*="background:#1e73be"],body.wv2-root .wv2-page [style*="background: #1e73be"],body.wv2-root .wv2-page [style*="background-color:#1e73be"]{background:var(--wv-deep)!important;color:#fff!important}
/* footer of the legacy shell: the Atlas footer takes over */
body.wv2-root .wv2-footer{display:none}
@media (max-width:640px){body.wv2-root .wv2-page__inside{padding:0 var(--wv-gut)}}
/* hard-coded blue / teal / pink / rainbow leftovers of the 2026-05 design system → ink, paper, leaf */
body.wv2-root main.wv2-page,body.wv2-c-root .wv2-page,body.wv2-c-root main.wv2-page{background:transparent}
body.wv2-root .wv2-page .wv2-c-stat strong,body.wv2-root .wv2-page .wv2-c-stat b,body.wv2-root .wv2-page .wv2-c-stats strong,body.wv2-root .wv2-page .wv2-stat strong,body.wv2-qdetail .wv2-stats .wv2-stat strong,body.wv2-root .wv2-page .wv2-c-gauge-values strong,body.wv2-root .wv2-page .wv2-c-near strong,body.wv2-root .wv2-page .wv2-c-gauge-comparison b,body.wv2-root .wv2-page .wv2-c-cross-link__body strong,body.wv2-root .wv2-page .wv2-c-equip strong,body.wv2-root .wv2-page .wv2-c-org strong,body.wv2-root .wv2-page .wv2-c-dl dd,body.wv2-root .wv2-page .wv2-c-kicker,body.wv2-root .wv2-page .wv2-c-faq summary,body.wv2-root .wv2-page .wv2-c-card h2,body.wv2-root .wv2-section h2,body.wv2-city h1,body.wv2-root .wv2-hero h1,body.wv2-root .wv2-quarter-card strong,body.wv2-root .wv2-page .wv2-c-csp strong,body.wv2-root .wv2-page .wv2-c-stat--price strong{color:var(--wv-ink)!important}
body.wv2-root .wv2-page .wv2-c-cta{color:var(--wv-ink)}
body.wv2-root .wv2-page .wv2-c-cross-link,body.wv2-root .wv2-page .wv2-c-empty,body.wv2-root .wv2-page .wv2-c-equip,body.wv2-root .wv2-page .wv2-c-faq details,body.wv2-root .wv2-page .wv2-c-org,body.wv2-root .wv2-page .wv2-c-near,body.wv2-root .wv2-page .wv2-c-gauge,body.wv2-root .wv2-page .wv2-c-weather,body.wv2-root .wv2-page .wv2-c-dvf-frame,body.wv2-root .wv2-page .wv2-c-map,body.wv2-root .wv2-page .wv2-c-map-slot,body.wv2-root .wv2-page .wv2-c-mairie,body.wv2-root .wv2-page .wv2-c-tourism,body.wv2-root .wv2-page .wv2-c-school,body.wv2-root .wv2-page .wv2-c-sport,body.wv2-root .wv2-page .wv2-c-similar,body.wv2-root .wv2-page .wv2-c-quarter{background:var(--wv-paper);border-color:var(--wv-line)}
body.wv2-root .wv2-page .wv2-c-cross-link,body.wv2-root .wv2-page .wv2-c-equip,body.wv2-root .wv2-page .wv2-c-org,body.wv2-root .wv2-page .wv2-c-mairie{border-left-color:var(--wv-green)}
body.wv2-root .wv2-page .wv2-c-cross-link:hover,body.wv2-root .wv2-page .wv2-c-near:hover{border-left-color:var(--wv-leaf);border-color:var(--wv-leaf)}
body.wv2-root .wv2-page .wv2-c-cross-link--big::before{background:var(--wv-green)}
body.wv2-root .wv2-page .wv2-c-gauge-fill{background:var(--wv-leaf)}
body.wv2-root .wv2-page .wv2-c-ratio,body.wv2-root .wv2-page .wv2-c-stat{background:var(--wv-card)!important;background-image:none!important;border:1px solid var(--wv-line)!important;border-radius:6px}
body.wv2-root .wv2-page .wv2-c-stat--price{background:var(--wv-card)!important;background-image:none!important}
body.wv2-root .wv2-page .wv2-c-stat span,body.wv2-root .wv2-page .wv2-stat span{font-family:var(--wv-sans);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--wv-muted)}
body.wv2-root .wv2-page .wv2-c-tab.is-active,body.wv2-root .wv2-page .wv2-tab.is-active{color:#fff}
body.wv2-root .wv2-page .wv2-c-search input{border-radius:999px}
/* page-specific containers of the 2026-05 templates (.wv2-rh-main, .wv2-sh-main, .wv2-dep-main, .wv2-ka-main…) → flat Atlas column */
body.wv2-root [class*="-main"]{background:transparent!important;max-width:var(--wv2-container)!important;margin:0 auto!important;padding:16px var(--wv-gut) 48px!important;min-height:0!important;box-shadow:none!important}
body.wv2-root [class*="-hero"]:not(.wv-hero){background:transparent!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important;border-radius:0!important}
body.wv2-root [class*="-hero"]::before,body.wv2-root [class*="-hero"]::after{display:none!important}
body.wv2-root [class*="-hero"] .wv2-eyebrow{background:transparent!important;border:0!important;padding:0!important}
body.wv2-root .wv2-page h1,body.wv2-root [class*="-hero"] h1{font-family:var(--wv-display)!important;font-weight:600!important;font-size:2.6rem!important;letter-spacing:-.02em!important;line-height:1.06!important;color:var(--wv-ink)!important}
body.wv2-root .wv2-page h2{font-family:var(--wv-display)!important;font-weight:600!important;letter-spacing:-.015em!important}
body.wv2-root [class*="-stat"] strong,body.wv2-root [class*="-card"] strong{font-family:var(--wv-display);letter-spacing:-.01em}
body.wv2-root [class*="-stat"] .lbl,body.wv2-root [class*="-stat"] .sub,body.wv2-root [class*="-card"] .stats{font-family:var(--wv-sans);letter-spacing:.1em;font-size:10px;text-transform:uppercase;font-weight:500}
body.wv2-root .wv2-page .wv2-breadcrumb{padding-top:22px}
body.wv2-root .wv2-breadcrumb,body.wv2-root .wv2-breadcrumb a,body.wv2-root .wv2-breadcrumb li{font-family:var(--wv-sans)!important;font-size:11px!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--wv-muted)!important;font-weight:500}
body.wv2-root .wv2-breadcrumb a:hover{color:var(--wv-leaf)!important}
body.wv2-root .wv2-page,body.wv2-root .wv2-site{box-shadow:none!important}
body.wv2-root .wv2-c-tabs,body.wv2-root .wv2-tabs{overflow-y:hidden;padding-bottom:2px}
body.c2f-root,.c2f-root{--c2f-font:var(--wv-serif);--c2f-accent:var(--wv-leaf);--c2f-accent-700:#587F2E;--c2f-h2:var(--wv-ink);--c2f-h3:var(--wv-ink-2);--c2f-border:var(--wv-line);--c2f-base:var(--wv-bg);--c2f-base-2:var(--wv-paper);--c2f-radius:6px;--c2f-radius-sm:6px;--c2f-contrast:var(--wv-ink-2)}
