/* Vélo Boulot — feuille de styles du site */

:root {
  --navy: #10263D;
  --blue: #1E5A8C;
  --blue-hover: #123F66;
  --sky: #99C8F2;
  --sky-hover: #B5D7F5;
  --bg: #F7FAFD;
  --white: #FFFFFF;
  --text: #10263D;
  --text-muted: #44576B;
  --text-strong: #1F3F5E;
  --tint: #EAF3FC;
  --tint-2: #E1EEFB;
  --line: #BCD5EC;
  --line-soft: #D3E3F2;
  --line-faint: #DCE8F4;
  --map-bg: #EEF3F8;
  --danger-bg: #FDEDEA;
  --danger: #9A2B1E;
  --on-navy: #C3D3E3;
  --on-navy-muted: #9FB4C9;

  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 5.6vw, 80px);
  --section-y: clamp(72px, 9vw, 128px);
  --shadow-card: 0 8px 24px rgba(16, 38, 61, 0.12);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--sky);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 16px; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }

.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--tint-2); border-color: var(--blue-hover); color: var(--blue-hover); }

.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--text-strong); color: var(--white); }

.btn--sky { background: var(--sky); color: var(--navy); }
.btn--sky:hover { background: var(--sky-hover); color: var(--navy); }

.btn--ghost-light { border-color: var(--white); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ---------- En-tête ---------- */

.site-header { position: relative; z-index: 20; }

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  text-decoration: none;
}
.brand img { width: 56px; height: 56px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a:not(.btn) {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.site-nav__list a:not(.btn):hover { color: var(--blue); text-decoration-line: underline; }
.site-nav__list a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
  text-decoration-line: underline;
}

.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { width: 100%; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font: 600 16px/1 var(--font-body);
    cursor: pointer;
  }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-block: 1px solid var(--line-soft);
    box-shadow: 0 16px 32px rgba(16, 38, 61, 0.12);
  }
  .js .site-nav.is-open { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
  }
  .site-nav__list a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-faint);
    font-size: 18px;
  }
  .site-nav__list li:last-child { padding-top: 20px; }
  .site-nav__list .btn { width: 100%; }
}

@media (max-width: 640px) {
  .site-header__inner { padding-block: 16px; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 24px; }
}

/* ---------- Titres et textes communs ---------- */

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--text-muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}

.section-lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
}

.body-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }

.section__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}

.grid {
  display: grid;
  gap: clamp(40px, 4.4vw, 64px);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Accueil : hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(56px, 5.5vw, 80px);
}
.hero__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.5vw, 36px);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.8vw, 112px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.hero__logo {
  flex-shrink: 0;
  width: clamp(220px, 25vw, 360px);
  height: auto;
}

@media (max-width: 900px) {
  .hero__logo { display: none; }
}

/* Bandeau « Domicile → Boulot » */

.route-band {
  height: 176px;
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--sky);
  overflow: hidden;
}
.route-band__dashes {
  height: 6px;
  background-image: repeating-linear-gradient(90deg, #FFFFFF 0, #FFFFFF 56px, transparent 56px, transparent 96px);
}
.route-band__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.route-band__label {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  color: var(--navy);
}
.route-band__icons {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 32px);
}
.route-band__chevrons { width: 64px; height: 44px; }
.route-band__bike { width: 150px; height: 80px; }
.route-band__line { height: 4px; background: #FFFFFF; }

@media (max-width: 640px) {
  .route-band { height: 132px; padding: 16px 0; }
  .route-band__chevrons { width: 32px; height: 22px; }
  .route-band__bike { width: 90px; height: 48px; }
}

/* Avantages pour l'entreprise */

.benefit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--tint-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Réglementation */

.section--blue { background: var(--blue); color: var(--white); }
.section--blue .h2 { color: var(--white); }
.section--blue .section-lead { color: #D7E8F8; }
.section--blue .section-head { gap: 18px; }

.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 56px;
}
.figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.figure__value {
  font-family: var(--font-display);
  font-size: clamp(56px, 6.1vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sky);
}
.figure__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.figure__text {
  font-size: 18px;
  line-height: 1.6;
  color: #E3EEF9;
}
.sources {
  font-size: 15px;
  line-height: 1.6;
  color: #C2DBF2;
}

@media (max-width: 800px) {
  .figures { grid-template-columns: minmax(0, 1fr); }
}

/* Méthode */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 48px;
  list-style: none;
  padding: 0;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.step__top {
  display: flex;
  align-items: center;
  gap: 20px;
}
.step__num {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}
.step__line {
  flex-grow: 1;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--blue) 0, var(--blue) 20px, transparent 20px, transparent 34px);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .step { gap: 16px; }
  .step__line { display: none; }
}

/* Réseau */

.network {
  display: flex;
  gap: clamp(48px, 6.7vw, 96px);
}
.network__intro {
  width: 460px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.network__ask {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.network__list {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.network__list li {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.network__name {
  width: 280px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}
.network__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .network { flex-direction: column; }
  .network__intro { width: auto; }
}
@media (max-width: 640px) {
  .network__list li { flex-direction: column; gap: 6px; padding: 20px 0; }
  .network__name { width: auto; font-size: 22px; }
}

/* Encart boîte à outils */

.promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4.4vw, 64px);
  border-radius: 28px;
  background: var(--sky);
}
.promo__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
}
.eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}
.promo__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.promo__lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--text-strong);
}
.promo .btn { flex-shrink: 0; }

@media (max-width: 1024px) {
  .promo { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* Actualités LinkedIn */

.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.news-head .section-head { max-width: 760px; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.carousel-count {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}
.round-btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.round-btn--filled { background: var(--blue); color: var(--white); }
.round-btn:disabled { opacity: 0.35; cursor: default; }

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
}
.post {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
}
.post__cover {
  height: 232px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
}
.post__cover p {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.post__cover--sky { background: var(--sky); color: var(--navy); }
.post__cover--blue { background: var(--blue); color: var(--white); }
.post__cover--navy { background: var(--navy); color: var(--sky); }
.post__cover--tint { background: var(--tint-2); color: var(--navy); }

.post__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}
.tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
}
.post__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.post__excerpt {
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}
.post__link {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post__cover { height: 180px; padding: 24px; }
  .post__body { padding: 24px; }
}

/* Le projet */

.project {
  display: flex;
  align-items: center;
  gap: 80px;
}
.project__text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project__link {
  font-size: 18px;
  font-weight: 600;
}
.project__photo {
  width: 560px;
  height: 440px;
  flex-shrink: 0;
  padding: 40px;
  border-radius: 24px;
  background: var(--tint-2);
  border: 2px dashed #8DB5DA;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-strong);
}
img.project__photo {
  padding: 0;
  border: 0;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .project { flex-direction: column; align-items: stretch; gap: 48px; }
  .project__photo { width: 100%; height: auto; aspect-ratio: 14 / 11; }
}

/* Contact et pied de page */

.contact {
  padding-top: var(--section-y);
  padding-bottom: clamp(64px, 6.7vw, 96px);
  background: var(--navy);
  color: var(--white);
}
.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.contact__lead {
  max-width: 680px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--on-navy);
}
.contact .btn-row { margin-top: 12px; }

.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 15px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  padding-block: 40px;
}
.site-footer--home .site-footer__inner {
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid #2A4561;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer__brand img { width: 44px; height: 44px; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: var(--white); }
.site-footer a.site-footer__strong { color: var(--white); font-weight: 600; }

/* ---------- Pages Boîte à outils ---------- */

.page-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: 32px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.1vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}
.page-intro .lead {
  max-width: 820px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

.tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 48px;
}
.tool-tab {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.tool-tab:hover { border-color: var(--navy); color: var(--navy); }
.tool-tab[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.tool {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: clamp(64px, 6.7vw, 96px);
}
.tool__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tool__intro {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}
.tool__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 24px;
}
.tool__controls--spaced { margin-top: 8px; align-items: flex-end; }
.tool__note {
  font-size: 14px;
  color: var(--text-muted);
}
.source-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Filtres */

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font: 600 16px/1.2 var(--font-body);
  cursor: pointer;
}
.chip[aria-pressed="false"]:hover { background: var(--tint-2); }
.chip[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.chip__dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.chip__square { width: 10px; height: 10px; flex-shrink: 0; background: currentColor; }

/* Champs de formulaire */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  color: var(--navy);
  font: 16px var(--font-body);
}
.field--search { width: 380px; max-width: 100%; }

@media (max-width: 760px) {
  .field--search { width: 100%; }
}

/* Carte + liste */

.map-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 32px;
}
.map-layout__side { position: relative; }
.map-layout__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding-right: 8px;
}
.map-panel {
  position: relative;
  min-width: 0;
}
.map-frame {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--map-bg);
  overflow: hidden;
}
.map {
  position: relative;
  aspect-ratio: 848 / 640;
}
.map--tall { aspect-ratio: 848 / 760; }
.map__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-hint { display: none; }

.map-legend {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 10px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.swatch { flex-shrink: 0; }
.swatch--shop { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #FFFFFF; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.swatch--atelier { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--blue); background: #FFFFFF; }
.swatch--station { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #FFFFFF; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.swatch--empty { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); background: #FFFFFF; }
.swatch--zone { width: 8px; height: 8px; background: var(--navy); opacity: 0.6; }
.swatch--ring { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--blue); }

@media (max-width: 1100px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .map-panel { order: -1; }
  .map-layout__scroll { position: static; overflow: visible; padding-right: 0; }
  .map-legend { position: static; margin-top: 12px; border-radius: 16px; }
}

@media (max-width: 700px) {
  .map-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map { width: 640px; }
  .map-hint {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
  }
}

/* Vélocistes et ateliers : épingles */

.pin {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(16, 38, 61, 0.3);
  cursor: pointer;
}
.pin svg { width: 14px; height: 14px; }
.pin--atelier { border-color: var(--blue); background: #FFFFFF; color: var(--blue); }
.pin.is-selected {
  z-index: 3;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 0 6px rgba(16, 38, 61, 0.35);
}

@media (max-width: 700px) {
  .pin { width: 24px; height: 24px; border-width: 2px; }
  .pin svg { width: 12px; height: 12px; }
  .pin.is-selected { width: 32px; height: 32px; box-shadow: 0 0 0 4px rgba(16, 38, 61, 0.35); }
}

/* Vélocistes et ateliers : liste */

.place-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.place-list > li { display: flex; }
.place {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px;
  border: 2px solid var(--line-faint);
  border-radius: 16px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
}
.place:hover { border-color: var(--line); }
.place[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); }
.place__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.place__type { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.place__address { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.place-list > li.place-list__empty {
  display: block;
  padding: 24px;
  border-radius: 16px;
  background: var(--tint);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-strong);
}

/* Vélocistes et ateliers : fiche détaillée */

.map-detail {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  width: 340px;
}
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.detail-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.detail-card__address { font-size: 15px; font-weight: 500; line-height: 1.5; }
.detail-card__desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.detail-card__link { margin-top: 6px; font-size: 16px; font-weight: 600; }
.detail-empty {
  padding: 20px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .map-detail { position: static; width: auto; margin-top: 12px; }
  .detail-card { box-shadow: none; }
}

/* Libre-service : trajet */

.trip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--white);
}
.trip .field { width: 300px; }
.trip select { height: 52px; padding: 0 14px; }
.icon-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: var(--tint-2); }
.trip__result {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.trip__km {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.trip__time { font-size: 16px; font-weight: 600; color: var(--text-strong); }

@media (max-width: 900px) {
  .trip { flex-direction: column; align-items: stretch; }
  .trip .field { width: auto; }
  .trip .icon-btn { align-self: center; transform: rotate(90deg); }
  .trip__result { align-items: flex-start; text-align: left; }
}

/* Libre-service : stations proches */

.near-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.snapshot-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}
.snapshot-badge__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--blue); }

.near { display: flex; flex-direction: column; gap: 12px; }
.near__head { display: flex; align-items: center; gap: 12px; }
.near__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
}
.near__mark--b { background: var(--blue); }
.near__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.station-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.station {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid var(--line-faint);
  border-radius: 14px;
  background: var(--white);
}
.station--recommended { border-color: var(--blue); }
.station__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.station__row--meta { align-items: center; flex-wrap: wrap; }
.station__name { font-size: 16px; font-weight: 600; }
.station__reco { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--blue); }
.station__meta { font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.station__pills { display: flex; gap: 6px; flex-shrink: 0; }
.pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill--main { font-weight: 700; }
.pill--ok-main { background: var(--blue); color: var(--white); }
.pill--ok { background: var(--tint-2); color: var(--text-strong); }
.pill--bad { background: var(--danger-bg); color: var(--danger); }

.alert {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--danger-bg);
  font-size: 14px;
  line-height: 1.5;
  color: var(--danger);
}
.zone-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--tint);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-strong);
}
.zone-info__mark { width: 10px; height: 10px; flex-shrink: 0; background: var(--navy); }
.near-empty {
  padding: 20px;
  border-radius: 14px;
  background: var(--tint);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-strong);
}

/* Libre-service : services */

.services {
  padding-block: clamp(64px, 6.7vw, 96px);
  background: var(--tint);
}
.services__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
}
.service-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.service-card__kind { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.service-card__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mentions légales ---------- */

.prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: clamp(64px, 6.7vw, 96px);
}
.prose h2 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}
.prose p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}
.prose .todo {
  padding: 2px 6px;
  border-radius: 6px;
  background: #FFF3C4;
  color: #5C4400;
  font-weight: 600;
}
