/* ═══════════════════════════════════════════════════════════
   CAP SUR L'UTMB — micro-identité « endurance » dans KYMA
   Mobile-first (cible 390px). Bleu KYMA conservé ; accent corail
   UNIQUEMENT pour les états sportifs (en cours, prochaine étape,
   waypoint). Pages : objectif-utmb.html, objectif-utmb-course.html,
   soutien-course.html.
═══════════════════════════════════════════════════════════ */

[hidden] { display: none !important; }

.utmb-page {
  --u-ink: #0D2757;
  --u-blue: #1A56DB;
  --u-blue-pale: #EBF2FF;
  --u-navy: #071828;
  --u-mist: #F4F7FC;
  --u-line: #DCE5F3;
  --u-muted: #546C93;
  /* Accent signal — jamais en aplat de grande surface. */
  --u-accent: #E8572A;
  --u-accent-ink: #B13A10;      /* texte sur blanc : contraste AA */
  --u-accent-soft: #FFF0E9;
  --u-ok: #0E7146;
  --u-ok-soft: #E5F5EC;
  --u-radius: 14px;
  --u-gutter: 16px;
  background: #fff;
  color: var(--u-ink);
}

.utmb-page main { display: block; }
.utmb-wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--u-gutter); }
.utmb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Topographie décorative (courbes de niveau génériques) ── */
.utmb-topo {
  background-color: var(--u-navy);
  background-image:
    radial-gradient(120% 90% at 85% 0%, rgba(26, 86, 219, 0.45) 0%, rgba(7, 24, 40, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='360' viewBox='0 0 520 360' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.2'%3E%3Cpath d='M-20 300c60-40 120-30 170-70s70-120 150-130 130 60 240 20'/%3E%3Cpath d='M-20 330c70-40 140-20 190-60s80-110 160-120 140 70 210 40'/%3E%3Cpath d='M-20 270c50-40 100-40 150-80s60-130 140-140 120 50 270 0'/%3E%3Cpath d='M-20 240c40-40 90-50 130-90s50-140 130-150 110 40 300-20'/%3E%3Cpath d='M260 140c30-30 80-30 100 0s-10 70-50 70-80-40-50-70z'/%3E%3Cpath d='M240 140c40-50 110-50 140 0s-20 100-80 100-100-60-60-100z'/%3E%3Cpath d='M-20 360c80-30 160-10 210-40s90-90 170-100 150 80 180 60'/%3E%3C/svg%3E");
  background-size: auto, 520px 360px;
  background-repeat: no-repeat, repeat;
  color: #fff;
}

/* ── HERO compact ──────────────────────────────────────────── */
.utmb-hero { padding: calc(var(--nav-h, 68px) + 22px) 0 26px; position: relative; overflow: hidden; }
.utmb-hero-grid { display: grid; gap: 18px; }
.utmb-hero-aside { display: grid; gap: 14px; min-width: 0; }
.utmb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-body, Inter, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.utmb-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--u-accent); border-radius: 2px; }
.utmb-hero h1, .utmb-hero .utmb-subtitle { color: #fff; }
.utmb-hero .utmb-subtitle { color: rgba(255, 255, 255, 0.82); }
.utmb-hero h1 {
  font: 800 clamp(44px, 13vw, 84px)/0.92 var(--font-title, "Barlow Condensed", sans-serif);
  letter-spacing: 0.01em; margin: 10px 0 8px; text-transform: uppercase;
}
.utmb-subtitle { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
/* Engagement : 100 % au profit de KYMA (visible dès le haut de page) */
.utmb-hero-pledge {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; max-width: 46ch;
  padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.9);
}
.utmb-hero-pledge strong { color: #fff; }
.utmb-hero-pledge-badge {
  flex: none; margin-top: 1px; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--u-ink);
  font: 800 13px/1.1 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.04em; white-space: nowrap;
}
.utmb-campaign-note { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.utmb-campaign-note strong { color: #fff; }
.utmb-back { display: inline-block; font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-bottom: 10px; }
.utmb-back:hover, .utmb-back:focus-visible { color: #fff; }

.utmb-next {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--u-radius); padding: 14px 14px 12px; min-width: 0;
}
.utmb-next-label { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.utmb-next-label .utmb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--u-accent); box-shadow: 0 0 0 4px rgba(232, 87, 42, 0.25); }
.utmb-next-name { font: 700 22px/1.1 var(--font-title, "Barlow Condensed", sans-serif); margin: 6px 0 4px; overflow-wrap: anywhere; }
.utmb-next-meta { font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.utmb-next-figs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; }
.utmb-next-figs strong { font: 700 20px/1 var(--font-title, "Barlow Condensed", sans-serif); margin-right: 3px; }
.utmb-next-empty { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.utmb-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.utmb-hero-stat { border-left: 2px solid rgba(255, 255, 255, 0.22); padding-left: 10px; }
.utmb-hero-stat b { display: block; font: 700 26px/1 var(--font-title, "Barlow Condensed", sans-serif); }
.utmb-hero-stat span { font-size: 12px; color: rgba(255, 255, 255, 0.72); }

.utmb-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.utmb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 14.5px/1.1 var(--font-body, Inter, sans-serif); cursor: pointer; text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.utmb-btn:active { transform: translateY(1px); }
.utmb-btn:focus-visible, .utmb-chip:focus-visible, .utmb-opt:focus-visible, .utmb-tab:focus-visible { outline: 3px solid #93B4F5; outline-offset: 2px; }
.utmb-btn--primary { background: #fff; color: var(--u-ink); }
.utmb-btn--primary:hover { background: var(--u-blue-pale); }
.utmb-btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.utmb-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.utmb-btn--blue { background: var(--u-blue); color: #fff; }
.utmb-btn--blue:hover { background: #1547B8; }
.utmb-btn--line { border-color: var(--u-line); color: var(--u-ink); background: #fff; }
.utmb-btn--line:hover { border-color: var(--u-blue); }
.utmb-btn[disabled], .utmb-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.utmb-btn svg { width: 18px; height: 18px; flex: none; }
.utmb-cta-note { grid-column: 1 / -1; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* ── Navigation interne collante ──────────────────────────── */
.utmb-subnav {
  position: sticky; top: var(--nav-h, 68px); z-index: 40;
  background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--u-line);
}
.utmb-subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--u-gutter); max-width: 1100px; margin: 0 auto; }
.utmb-subnav-inner::-webkit-scrollbar { display: none; }
.utmb-subnav a {
  flex: none; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--u-muted);
  min-height: 40px; display: inline-flex; align-items: center;
}
.utmb-subnav a[aria-current="true"] { background: var(--u-ink); color: #fff; }

/* ── Sections ─────────────────────────────────────────────── */
.utmb-section { padding-top: 30px; padding-bottom: 8px; scroll-margin-top: calc(var(--nav-h, 68px) + 60px); }
.utmb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.utmb-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--u-blue); }
.utmb-h2 { font: 800 30px/1 var(--font-title, "Barlow Condensed", sans-serif); text-transform: uppercase; margin-top: 4px; }
.utmb-lead { font-size: 14px; color: var(--u-muted); line-height: 1.55; }

/* ── Statistiques ─────────────────────────────────────────── */
.utmb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.utmb-stat { background: var(--u-mist); border-radius: 12px; padding: 12px; min-width: 0; }
.utmb-stat b { display: block; font: 700 28px/1 var(--font-title, "Barlow Condensed", sans-serif); color: var(--u-ink); }
.utmb-stat span { display: block; font-size: 12px; color: var(--u-muted); margin-top: 4px; }
.utmb-money { display: grid; gap: 8px; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.utmb-money .utmb-stat { background: #fff; border: 1px solid var(--u-line); }
.utmb-money .utmb-stat--paid { background: var(--u-ink); border-color: var(--u-ink); }
.utmb-money .utmb-stat--paid { grid-column: 1 / -1; order: -1; }
.utmb-money .utmb-stat--paid b, .utmb-money .utmb-stat--paid span { color: #fff; }
.utmb-money .utmb-stat--paid small { color: rgba(255, 255, 255, 0.72); }
.utmb-money .utmb-stat--upto { grid-column: 1 / -1; order: 5; border-style: dashed; }
.utmb-money .utmb-stat[hidden] { display: none; }
.utmb-stat--paid-inline b { color: var(--u-ink); }
.utmb-stat small { display: block; font-size: 11.5px; color: var(--u-muted); margin-top: 6px; line-height: 1.35; }
.utmb-money-note { font-size: 12px; color: var(--u-muted); margin-top: 8px; line-height: 1.5; }

/* ── Chips / tabs ─────────────────────────────────────────── */
.utmb-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; margin: 0 calc(var(--u-gutter) * -1); padding-left: var(--u-gutter); padding-right: var(--u-gutter); }
.utmb-chips::-webkit-scrollbar { display: none; }
.utmb-chip {
  flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--u-line);
  background: #fff; color: var(--u-ink); font: 600 14px/1 var(--font-body, Inter, sans-serif); cursor: pointer;
}
.utmb-chip[aria-pressed="true"], .utmb-chip[aria-selected="true"] { background: var(--u-ink); color: #fff; border-color: var(--u-ink); }

/* ── Saison ───────────────────────────────────────────────── */
.utmb-season { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--u-blue-pale); margin-bottom: 12px; }
.utmb-season-title { font: 700 18px/1.15 var(--font-title, "Barlow Condensed", sans-serif); }
.utmb-season-desc { font-size: 13px; color: var(--u-muted); line-height: 1.5; }
.utmb-season-figs { font-size: 12.5px; color: var(--u-ink); font-weight: 600; }

/* ── LA ROUTE — parcours de saison (2026-11-12) ────────────────
   1) Profil SVG (objectif-utmb-roadmap.js) ; 2) timeline verticale :
   colonne date | ligne + jalon | carte. Priorités : C < B < A1 < A2 < A3. */
.utmb-page {
  --u-route: #1A56DB;
  --u-trail: #0E7146;
  --u-rm-date-w: 0px;
  --u-rm-spine: 30px;
}
.utmb-route-lead { max-width: 680px; margin: -4px 0 16px; }

/* Badges de priorité */
.utmb-prio {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 3px;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1;
  background: #EEF2F8; color: #3E4F6B; box-shadow: inset 0 0 0 1px #D5DEEB;
}
.utmb-prio b {
  display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 999px;
  font: 800 12px/1 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.03em;
  background: #fff; color: inherit; box-shadow: inset 0 0 0 1px currentColor;
}
.utmb-prio--b { background: var(--u-blue-pale); color: #1546B5; box-shadow: inset 0 0 0 1px #C9DAFB; }
.utmb-prio--a1, .utmb-prio--a2, .utmb-prio--a3 { color: #fff; box-shadow: none; }
.utmb-prio--a1 { background: var(--u-blue); }
.utmb-prio--a2 { background: var(--u-ink); }
.utmb-prio--a3 { background: linear-gradient(135deg, #071828 0%, #0D2757 100%); box-shadow: inset 0 0 0 1px rgba(232, 87, 42, 0.9); }
.utmb-prio--a1 b, .utmb-prio--a2 b, .utmb-prio--a3 b { background: rgba(255, 255, 255, 0.16); box-shadow: none; color: #fff; }
.utmb-prio--a3 b { background: var(--u-accent); }
.utmb-next-prio { margin: 4px 0 2px; }

.utmb-type {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--u-muted); background: #fff; box-shadow: inset 0 0 0 1px var(--u-line);
}
.utmb-type::before { content: ""; width: 14px; height: 3px; border-radius: 3px; background: var(--u-route); }
.utmb-type--trail::before { background: repeating-linear-gradient(90deg, var(--u-trail) 0 4px, transparent 4px 6px); }

/* Saison */
.utmb-season-figs { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 500; color: var(--u-muted); }
.utmb-season-figs b { color: var(--u-ink); font-weight: 700; }

/* 1) Profil de saison */
.utmb-sp-card {
  margin: 0 0 22px; padding: 14px 12px 12px; border: 1px solid var(--u-line); border-radius: 18px;
  background: linear-gradient(180deg, #FAFCFF 0%, #fff 100%);
}
.utmb-sp { width: 100%; min-height: 1px; }
.utmb-sp-svg { display: block; overflow: visible; }
.utmb-pf-band { fill: rgba(26, 86, 219, 0.045); }
.utmb-pf-divider { stroke: var(--u-line); stroke-width: 1; stroke-dasharray: 2 4; }
.utmb-pf-phase { font: 600 11px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--u-muted); }
.utmb-pf-axis { stroke: #C9D5E8; stroke-width: 1; }
.utmb-pf-tick { stroke: #C9D5E8; stroke-width: 1; }
.utmb-pf-month { font: 500 11.5px/1 Inter, sans-serif; fill: var(--u-muted); }
.utmb-pf-month--sm { font-size: 10.5px; }
.utmb-pf-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.utmb-pf-line--route { stroke: var(--u-route); }
.utmb-pf-line--trail { stroke: var(--u-trail); stroke-dasharray: 7 4; }
.utmb-pf-horizon { fill: none; stroke: var(--u-ink); stroke-opacity: 0.45; stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.utmb-pf-flag line { stroke: var(--u-ink); stroke-width: 1.6; }
.utmb-pf-flag path { fill: var(--u-accent); }
.utmb-pf-horizon-label { font: 800 13px/1 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.06em; fill: var(--u-ink); }
.utmb-pf-dot { fill: #fff; stroke: var(--u-ink); stroke-width: 2.5; transition: r 0.15s ease; }
.utmb-pf-node--c .utmb-pf-dot { stroke: #7C8CA6; }
.utmb-pf-node--b .utmb-pf-dot { stroke: var(--u-blue); }
.utmb-pf-node--a1 .utmb-pf-dot { fill: var(--u-blue); stroke: #fff; stroke-width: 3; }
.utmb-pf-node--a2 .utmb-pf-dot { fill: var(--u-ink); stroke: #fff; stroke-width: 3; }
.utmb-pf-node--a3 .utmb-pf-dot { fill: var(--u-navy); stroke: var(--u-accent); stroke-width: 3; }
.utmb-pf-node.is-done .utmb-pf-dot { fill: var(--u-ok); stroke: #fff; }
.utmb-pf-halo { fill: rgba(232, 87, 42, 0.16); stroke: rgba(232, 87, 42, 0.5); stroke-width: 1; }
.utmb-pf-prio { font: 800 13px/1 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.04em; fill: var(--u-ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.utmb-pf-node { cursor: pointer; }
.utmb-pf-node:focus { outline: none; }
.utmb-pf-node:focus-visible .utmb-pf-dot { stroke: var(--u-accent); stroke-width: 4; }

.utmb-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 4px 0; margin-top: 8px; border-top: 1px solid var(--u-line); }
.utmb-legend-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.utmb-legend-types { gap: 6px 14px; }
.utmb-legend-line { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--u-ink); }
.utmb-legend-line::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--u-route); }
.utmb-legend-line--trail::before { background: repeating-linear-gradient(90deg, var(--u-trail) 0 7px, transparent 7px 11px); }
.utmb-legend-note { font-size: 12px; color: var(--u-muted); }

/* 2) Timeline */
.utmb-roadmap { list-style: none; margin: 0; padding: 0; position: relative; }
.utmb-rm-item {
  position: relative; display: grid; grid-template-columns: var(--u-rm-date-w) var(--u-rm-spine) minmax(0, 1fr);
  align-items: start; padding-bottom: 14px;
}
/* Ligne : un segment par étape, couleur = type de la course suivante. */
.utmb-rm-item::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(var(--u-rm-date-w) + var(--u-rm-spine) / 2 - 1.5px); width: 3px; border-radius: 3px;
  background: var(--u-route);
}
.utmb-rm-item--trail::before { background: repeating-linear-gradient(180deg, var(--u-trail) 0 8px, transparent 8px 13px); }
.utmb-roadmap > .utmb-rm-item:first-of-type::before, .utmb-roadmap > .utmb-rm-phase:first-child + .utmb-rm-item::before { top: 26px; }
.utmb-rm-item--horizon::before { bottom: auto; height: 26px; background: repeating-linear-gradient(180deg, var(--u-ink) 0 2px, transparent 2px 7px); opacity: 0.5; }
.utmb-rm-item--empty::before { display: none; }

.utmb-rm-node {
  grid-column: 2; justify-self: center; margin-top: 19px; position: relative; z-index: 1;
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--u-route);
  box-shadow: 0 0 0 4px #fff;
}
.utmb-rm-item--trail .utmb-rm-node { border-color: var(--u-trail); }
.utmb-rm-item--c .utmb-rm-node { border-color: #7C8CA6; }
.utmb-rm-item--a1 .utmb-rm-node, .utmb-rm-item--a2 .utmb-rm-node, .utmb-rm-item--a3 .utmb-rm-node { width: 20px; height: 20px; margin-top: 16px; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--u-blue), 0 0 0 6px #fff; background: var(--u-blue); }
.utmb-rm-item--a2 .utmb-rm-node { background: var(--u-ink); box-shadow: 0 0 0 2px var(--u-ink), 0 0 0 6px #fff; }
.utmb-rm-item--a3 .utmb-rm-node { width: 24px; height: 24px; margin-top: 14px; background: var(--u-navy); box-shadow: 0 0 0 2px var(--u-accent), 0 0 0 6px #fff; }
.utmb-rm-item--finished .utmb-rm-node { background: var(--u-ok); border-color: #fff; box-shadow: 0 0 0 2px var(--u-ok), 0 0 0 6px #fff; }
.utmb-rm-item.is-next .utmb-rm-node::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(232, 87, 42, 0.55);
  animation: utmb-ring 2.2s ease-out infinite;
}
@keyframes utmb-ring { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.utmb-rm-item--horizon .utmb-rm-node { border: 2px dashed var(--u-ink); background: #fff; }

.utmb-rm-date { display: none; }

.utmb-rm-card {
  grid-column: 3; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 14px 14px 14px; border: 1px solid var(--u-line); border-radius: 16px; background: #fff; color: var(--u-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.utmb-rm-card:hover, a.utmb-rm-card:focus-visible { border-color: var(--u-blue); box-shadow: 0 10px 28px rgba(13, 39, 87, 0.09); outline: none; }
a.utmb-rm-card:focus-visible { box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.35); }
.utmb-rm-item--a1 .utmb-rm-card, .utmb-rm-item--a2 .utmb-rm-card { border-color: #C3D3EE; box-shadow: inset 3px 0 0 var(--u-blue); }
.utmb-rm-item--a2 .utmb-rm-card { box-shadow: inset 3px 0 0 var(--u-ink); }
.utmb-rm-item--a3 .utmb-rm-card {
  border-color: var(--u-ink); box-shadow: inset 4px 0 0 var(--u-accent), 0 12px 30px rgba(13, 39, 87, 0.08);
  background: linear-gradient(180deg, #F6F9FF 0%, #fff 70%);
}
.utmb-rm-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.utmb-rm-body { display: grid; gap: 12px; }
.utmb-rm-name { font: 700 22px/1.08 var(--font-title, "Barlow Condensed", sans-serif); overflow-wrap: anywhere; }
.utmb-rm-item--a3 .utmb-rm-name { font-size: 25px; }
.utmb-rm-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-size: 13.5px; color: var(--u-muted); }
.utmb-rm-meta span + span::before { content: "·"; margin-right: 12px; color: #9AAAC2; }
.utmb-rm-date-inline { font-weight: 600; color: var(--u-ink); }
.utmb-rm-desc { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #344B70; }
.utmb-rm-result { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--u-ok); }
.utmb-rm-figs { display: flex; gap: 8px; }
.utmb-rm-fig {
  display: flex; align-items: baseline; gap: 4px; padding: 7px 11px; border-radius: 10px; background: var(--u-mist);
}
.utmb-rm-fig b { font: 700 22px/1 var(--font-title, "Barlow Condensed", sans-serif); color: var(--u-ink); }
.utmb-rm-fig span { font-size: 12.5px; font-weight: 600; color: var(--u-muted); }

/* Séparateur de phase */
.utmb-rm-phase { display: grid; grid-template-columns: var(--u-rm-date-w) var(--u-rm-spine) minmax(0, 1fr); align-items: center; padding: 4px 0 12px; position: relative; }
.utmb-rm-phase span {
  grid-column: 3; justify-self: start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--u-blue);
}
.utmb-rm-phase::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--u-rm-date-w) + var(--u-rm-spine) / 2 - 1.5px); width: 3px; background: #C9D5E8; border-radius: 3px;
}
.utmb-roadmap > .utmb-rm-phase:first-child::before { display: none; }
.utmb-rm-phase::after {
  content: ""; position: absolute; top: 50%; margin-top: -4px; left: calc(var(--u-rm-date-w) + var(--u-rm-spine) / 2 - 4px); width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--u-blue);
}

/* Horizon */
.utmb-rm-card--horizon {
  background: var(--u-navy); color: #fff; border-color: var(--u-navy); min-height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='120' viewBox='0 0 520 120'%3E%3Cpath d='M0 120 L70 70 L110 88 L190 26 L240 64 L280 44 L350 92 L420 50 L520 76 L520 120Z' fill='%23ffffff' fill-opacity='0.07'/%3E%3Cpath d='M0 120 L70 70 L110 88 L190 26 L240 64 L280 44 L350 92 L420 50 L520 76' fill='none' stroke='%23ffffff' stroke-opacity='0.3' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: bottom right; background-size: min(100%, 520px) auto;
}
.utmb-rm-card--horizon .utmb-rm-name { font-size: 28px; color: #fff; }
.utmb-rm-card--horizon .utmb-rm-desc { color: rgba(255, 255, 255, 0.85); max-width: 520px; }
.utmb-rm-item--empty .utmb-rm-card { border-style: dashed; color: var(--u-muted); }

/* Desktop : colonne de dates + cartes en deux zones */
@media (min-width: 760px) {
  .utmb-page { --u-rm-date-w: 92px; --u-rm-spine: 44px; }
  .utmb-sp-card { padding: 18px 18px 14px; }
  .utmb-rm-date {
    display: flex; flex-direction: column; align-items: flex-end; grid-column: 1; padding-top: 10px; padding-right: 4px; text-align: right;
  }
  .utmb-rm-day { font: 800 32px/0.95 var(--font-title, "Barlow Condensed", sans-serif); color: var(--u-ink); }
  .utmb-rm-month { font: 700 14px/1.2 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.08em; text-transform: uppercase; color: var(--u-blue); }
  .utmb-rm-year { font-size: 11.5px; color: var(--u-muted); }
  .utmb-rm-item--horizon .utmb-rm-month { color: var(--u-ink); padding-top: 8px; }
  .utmb-rm-date-inline { display: none; }
  .utmb-rm-meta span + span::before { content: none; }
  .utmb-rm-card { padding: 18px 20px; }
  .utmb-rm-body { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; }
  .utmb-rm-figs { flex-direction: column; align-items: stretch; min-width: 118px; }
  .utmb-rm-fig { justify-content: flex-end; }
  .utmb-rm-name { font-size: 25px; }
  .utmb-rm-item--a3 .utmb-rm-name { font-size: 30px; }
  .utmb-rm-item { padding-bottom: 18px; }
}

/* Badges de statut */
.utmb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.utmb-badge--finished { background: var(--u-ok-soft); color: var(--u-ok); }
.utmb-badge--upcoming { background: var(--u-accent-soft); color: var(--u-accent-ink); }
.utmb-badge--in_progress { background: var(--u-accent); color: #fff; }
.utmb-badge--in_progress::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: utmb-pulse 1.6s ease-in-out infinite; }
.utmb-badge--cancelled { background: #E9EEF5; color: #50607A; }
.utmb-badge--horizon { background: rgba(255, 255, 255, 0.14); color: #fff; }
@keyframes utmb-pulse { 50% { opacity: 0.35; } }

/* ── Deux formes de soutien ───────────────────────────────── */
.utmb-ways { display: grid; gap: 10px; }
.utmb-way { border: 1px solid var(--u-line); border-radius: var(--u-radius); padding: 14px; display: grid; gap: 8px; align-content: start; }
.utmb-way h3 { font: 700 20px/1.1 var(--font-title, "Barlow Condensed", sans-serif); display: flex; align-items: center; gap: 8px; }
.utmb-way-tag { font: 700 11px/1 var(--font-body, Inter, sans-serif); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.utmb-way--pledge .utmb-way-tag { background: var(--u-accent-soft); color: var(--u-accent-ink); }
.utmb-way--now .utmb-way-tag { background: var(--u-blue-pale); color: var(--u-blue); }
.utmb-way p { font-size: 13.5px; color: var(--u-muted); line-height: 1.5; }
.utmb-way ul { display: grid; gap: 4px; font-size: 13px; color: var(--u-ink); padding-left: 0; }
.utmb-way li { display: flex; gap: 8px; }
.utmb-way li::before { content: "—"; color: var(--u-muted); }

/* ── Mur des encouragements ───────────────────────────────── */
.utmb-wall { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--u-gutter); margin: 0 calc(var(--u-gutter) * -1); padding: 2px var(--u-gutter) 12px; scrollbar-width: thin; }
.utmb-msg {
  flex: 0 0 min(80%, 280px); scroll-snap-align: start; background: var(--u-mist); border-radius: var(--u-radius);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative;
}
.utmb-msg::before { content: "“"; position: absolute; top: 2px; right: 12px; font: 800 44px/1 Georgia, serif; color: rgba(26, 86, 219, 0.15); }
.utmb-msg-text { font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; color: var(--u-ink); }
.utmb-msg-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--u-muted); }
.utmb-msg-name { font-weight: 700; color: var(--u-ink); }
.utmb-wall-empty { font-size: 14px; color: var(--u-muted); padding: 14px; border: 1px dashed var(--u-line); border-radius: var(--u-radius); flex: 1 1 100%; }
.utmb-wall-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ── Impact / transparence ────────────────────────────────── */
.utmb-impact { display: grid; gap: 10px; }
.utmb-impact-card { border-radius: var(--u-radius); padding: 16px; }
.utmb-impact-card--dark { color: #fff; }
.utmb-impact-card b { display: block; font: 800 40px/1 var(--font-title, "Barlow Condensed", sans-serif); }
.utmb-impact-card span { font-size: 13px; opacity: 0.85; }
.utmb-impact-row { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.utmb-impact-row div b { font-size: 26px; }
.utmb-transparency { border-left: 3px solid var(--u-blue); background: var(--u-mist); border-radius: 0 12px 12px 0; padding: 12px 14px; font-size: 13.5px; line-height: 1.55; color: var(--u-ink); }
.utmb-transparency p + p { margin-top: 6px; }
.utmb-notice { font-size: 12px; color: var(--u-muted); line-height: 1.5; margin: 22px 0 28px; text-align: center; }

/* ── PAGE COURSE ──────────────────────────────────────────── */
.utmb-race-hero .utmb-race-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); margin-top: 6px; }
.utmb-race-hero h1 { font-size: clamp(36px, 10vw, 64px); }
.utmb-race-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 16px; }
.utmb-race-fig { background: rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 9px 10px; min-width: 0; }
.utmb-race-fig b { display: block; font: 700 22px/1 var(--font-title, "Barlow Condensed", sans-serif); }
.utmb-race-fig span { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.utmb-race-photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--u-radius); margin: 16px 0 0; background: var(--u-mist); }

.utmb-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--u-line); margin: 18px calc(var(--u-gutter) * -1) 14px; padding: 0 var(--u-gutter); position: sticky; top: var(--nav-h, 68px); background: #fff; z-index: 30; }
.utmb-tabs::-webkit-scrollbar { display: none; }
.utmb-tab { flex: none; min-height: 46px; padding: 0 12px; border: 0; background: none; font: 600 14.5px/1 var(--font-body, Inter, sans-serif); color: var(--u-muted); border-bottom: 2.5px solid transparent; cursor: pointer; }
.utmb-tab[aria-selected="true"] { color: var(--u-ink); border-bottom-color: var(--u-accent); }
.utmb-panel { padding-bottom: 8px; }
.utmb-prose { font-size: 14.5px; line-height: 1.65; color: var(--u-ink); white-space: pre-line; overflow-wrap: anywhere; }
.utmb-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.utmb-kv div { background: var(--u-mist); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.utmb-kv dt { font-size: 11.5px; color: var(--u-muted); }
.utmb-kv dd { font: 700 20px/1.1 var(--font-title, "Barlow Condensed", sans-serif); margin-top: 3px; overflow-wrap: anywhere; }
.utmb-finisher { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--u-ok-soft); color: var(--u-ok); font-weight: 700; font-size: 13.5px; }
.utmb-finisher--dnf { background: #E9EEF5; color: #50607A; }
.utmb-live-note { display: flex; gap: 10px; align-items: flex-start; background: var(--u-accent-soft); color: var(--u-accent-ink); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.utmb-official { font-size: 13.5px; color: var(--u-blue); text-decoration: underline; text-underline-offset: 3px; }
.utmb-official-hero { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.utmb-official-hero:hover, .utmb-official-hero:focus-visible { text-decoration-color: #fff; }

/* Profil altimétrique (données réelles uniquement) */
.utmb-profile { width: 100%; height: 110px; display: block; margin: 8px 0 4px; }
.utmb-profile-cap { font-size: 11.5px; color: var(--u-muted); }

/* ── Feuille / modale (formulaire promesse, encouragement) ── */
.utmb-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.utmb-sheet-backdrop { position: absolute; inset: 0; background: rgba(7, 24, 40, 0.55); }
.utmb-sheet-panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 20px 20px 0 0; padding: 8px var(--u-gutter) calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(7, 24, 40, 0.25);
}
.utmb-sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--u-line); margin: 4px auto 10px; }
.utmb-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.utmb-sheet-title { font: 800 24px/1.05 var(--font-title, "Barlow Condensed", sans-serif); text-transform: uppercase; }
.utmb-sheet-sub { font-size: 13px; color: var(--u-muted); margin-top: 2px; }
.utmb-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--u-line); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; color: var(--u-ink); }
.utmb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 14px 0 16px; }
.utmb-steps span { height: 4px; border-radius: 4px; background: var(--u-line); }
.utmb-steps span.is-done { background: var(--u-blue); }
.utmb-steps span.is-current { background: var(--u-accent); }
.utmb-step-label { font-size: 12px; font-weight: 600; color: var(--u-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }

.utmb-opts { display: grid; gap: 8px; }
.utmb-opt {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; text-align: left;
  border: 1.5px solid var(--u-line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; color: var(--u-ink); font: inherit; width: 100%;
}
.utmb-opt[aria-checked="true"] { border-color: var(--u-blue); background: var(--u-blue-pale); }
.utmb-opt-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--u-mist); display: grid; place-items: center; color: var(--u-blue); }
.utmb-opt[aria-checked="true"] .utmb-opt-ico { background: #fff; }
.utmb-opt b { font-size: 15px; }
.utmb-opt small { font-size: 12.5px; color: var(--u-muted); line-height: 1.4; }

.utmb-field { display: grid; gap: 6px; margin-bottom: 12px; }
.utmb-field > label, .utmb-field-label { font-size: 13px; font-weight: 600; color: var(--u-ink); }
.utmb-input, .utmb-textarea, .utmb-select {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--u-line); border-radius: 10px;
  font: 16px/1.3 var(--font-body, Inter, sans-serif); color: var(--u-ink); background: #fff;
}
.utmb-textarea { min-height: 88px; resize: vertical; }
.utmb-input:focus, .utmb-textarea:focus, .utmb-select:focus { outline: none; border-color: var(--u-blue); box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15); }
.utmb-input[aria-invalid="true"] { border-color: #C7362F; }
.utmb-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.utmb-presets .utmb-chip { min-width: 64px; }
.utmb-amount-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.utmb-suffix { font-size: 13px; color: var(--u-muted); font-weight: 600; }
.utmb-hint { font-size: 12px; color: var(--u-muted); line-height: 1.45; }
.utmb-count { font-size: 11.5px; color: var(--u-muted); text-align: right; }
.utmb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.utmb-summary { background: var(--u-mist); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.55; margin: 6px 0 12px; }
.utmb-summary strong { font-weight: 700; }
.utmb-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.utmb-summary dt { color: var(--u-muted); font-size: 13px; }
.utmb-summary dd { font-weight: 600; overflow-wrap: anywhere; }
.utmb-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; margin-bottom: 10px; cursor: pointer; }
.utmb-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--u-blue); }
.utmb-display-preview { font-size: 12.5px; color: var(--u-muted); margin-top: 4px; }
.utmb-sheet-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 14px; position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); background: #fff; padding: 10px 0 0; }
.utmb-sheet-actions .utmb-btn--line { padding: 0 18px; }
.utmb-error { background: #FDECEC; color: #9B1C1C; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; margin: 8px 0; }
.utmb-success { text-align: center; padding: 6px 0 4px; }
.utmb-success-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--u-ok-soft); color: var(--u-ok); display: grid; place-items: center; margin: 4px auto 10px; }
.utmb-ref { display: inline-block; font: 700 22px/1 var(--font-title, "Barlow Condensed", sans-serif); letter-spacing: 0.06em; background: var(--u-mist); padding: 8px 14px; border-radius: 10px; margin: 6px 0; }
.utmb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── PAGE SOUTIEN ─────────────────────────────────────────── */
.utmb-support { padding: calc(var(--nav-h, 68px) + 18px) 0 32px; background: var(--u-mist); min-height: 70vh; }
.utmb-support-card { background: #fff; border-radius: 18px; padding: 18px 16px; max-width: 520px; margin: 0 auto; box-shadow: 0 8px 30px rgba(13, 39, 87, 0.07); }
.utmb-support-race { font: 800 30px/1 var(--font-title, "Barlow Condensed", sans-serif); text-transform: uppercase; margin: 6px 0 2px; overflow-wrap: anywhere; }
.utmb-support-sub { font-size: 13.5px; color: var(--u-muted); }
.utmb-support-km { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.utmb-support-km b { font: 800 46px/1 var(--font-title, "Barlow Condensed", sans-serif); }
.utmb-support-due { border-top: 1px solid var(--u-line); margin-top: 14px; padding-top: 14px; }
.utmb-support-due b { display: block; font: 800 44px/1 var(--font-title, "Barlow Condensed", sans-serif); color: var(--u-ink); margin-top: 4px; }
.utmb-support-state { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-top: 14px; }
.utmb-support-state--wait { background: var(--u-accent-soft); color: var(--u-accent-ink); }
.utmb-support-state--ok { background: var(--u-ok-soft); color: var(--u-ok); }
.utmb-support-state--info { background: var(--u-blue-pale); color: var(--u-ink); }
.utmb-support .utmb-btn { width: 100%; margin-top: 14px; }

/* ── ≥ 600px ──────────────────────────────────────────────── */
@media (min-width: 600px) {
  .utmb-page { --u-gutter: 24px; }
  .utmb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .utmb-money { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .utmb-money .utmb-stat--paid,
  .utmb-money .utmb-stat--upto { grid-column: auto; order: 0; }
  .utmb-ways { grid-template-columns: 1fr 1fr; }
  .utmb-impact { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
  .utmb-ctas { display: flex; flex-wrap: wrap; }
  .utmb-ctas .utmb-btn { min-width: 190px; }
  .utmb-sheet { align-items: center; padding: 20px; }
  .utmb-sheet-panel { border-radius: 20px; padding: 14px 24px 22px; }
  .utmb-sheet-grip { display: none; }
  .utmb-msg { flex-basis: 300px; }
  .utmb-race-figs { max-width: 520px; }
}

/* ── ≥ 960px : desktop ────────────────────────────────────── */
@media (min-width: 960px) {
  .utmb-hero { padding: calc(var(--nav-h, 68px) + 48px) 0 44px; }
  .utmb-hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 36px; }
  .utmb-hero-aside { display: grid; gap: 14px; }
  .utmb-subtitle { font-size: 17px; }
  .utmb-section { padding-top: 48px; }
  .utmb-h2 { font-size: 38px; }
  .utmb-chips { margin: 0; padding-left: 0; padding-right: 0; }
  /* Mur : grille légère */
  .utmb-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .utmb-msg { flex: none; }
  .utmb-race-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .utmb-race-side { position: sticky; top: calc(var(--nav-h, 68px) + 20px); }
}

@media (max-width: 359px) {
  .utmb-page { --u-gutter: 14px; }
  .utmb-ctas { grid-template-columns: 1fr; }
  .utmb-hero h1 { font-size: 42px; }
  .utmb-rm-figs { flex-wrap: wrap; }
  .utmb-prio, .utmb-type { font-size: 11.5px; }
  .utmb-race-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .utmb-badge--in_progress::before { animation: none; }
  .utmb-btn, .utmb-rm-card { transition: none; }
  .utmb-wall { scroll-behavior: auto; }
  .utmb-rm-item.is-next .utmb-rm-node::after { animation: none; transform: none; }
}

.utmb-sheet-panel:focus { outline: none; }

/* ── Impression : parcours de saison lisible sur papier ── */
@media print {
  .utmb-page .nav, .utmb-subnav, .utmb-ctas, .utmb-wall-actions, .utmb-ways .utmb-btn, .footer, .utmb-chips { display: none !important; }
  .utmb-hero { padding: 16px 0 !important; }
  .utmb-sp-card, .utmb-rm-card, .utmb-rm-item { break-inside: avoid; page-break-inside: avoid; }
  .utmb-rm-card, .utmb-sp-card { box-shadow: none !important; }
  .utmb-rm-item.is-next .utmb-rm-node::after { display: none; }
  .utmb-page { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ── Listes « — » : le texte reste d'un bloc (le <strong> ne devient
   plus une colonne séparée) ─────────────────────────────────── */
.utmb-way li { display: block; position: relative; padding-left: 18px; }
.utmb-way li::before { position: absolute; left: 0; top: 0; }

/* ═══ MOBILE COMPACT (≤599px, lot 2026-11-12) ═══════════════════
   Moins de hauteur : titres et blocs resserrés, chiffres en bandeau,
   argent en liste, textes redondants retirés (l'info reste ailleurs
   sur la page : transparence → Impact, campagne → Soutiens, saison →
   carte saison). Le bureau n'est pas touché. */
@media (max-width: 599px) {
  /* Hero */
  .utmb-hero { padding: calc(var(--nav-h, 68px) + 14px) 0 18px; }
  .utmb-hero-grid { gap: 14px; }
  .utmb-hero-aside { gap: 10px; }
  .utmb-eyebrow { font-size: 11px; }
  .utmb-hero h1 { font-size: clamp(38px, 11.5vw, 48px); margin: 8px 0 4px; }
  .utmb-subtitle { font-size: 14px; line-height: 1.4; }
  .utmb-hero-pledge { margin-top: 12px; padding: 8px 10px; gap: 8px; font-size: 12.5px; line-height: 1.45; align-items: center; }
  .utmb-hero-pledge-badge { font-size: 12px; margin-top: 0; }
  .utmb-hero-pledge-more { display: none; }
  .utmb-campaign-note { display: none; }
  .utmb-next { padding: 10px 12px; }
  .utmb-next-label { font-size: 10.5px; }
  .utmb-next-prio { margin: 6px 0 0; }
  .utmb-next-name { font-size: 20px; margin: 4px 0 2px; }
  .utmb-next-meta { font-size: 12.5px; }
  .utmb-next-figs { margin-top: 6px; font-size: 12px; }
  .utmb-next-figs strong { font-size: 18px; }
  .utmb-hero-stat b { font-size: 22px; }
  .utmb-hero-stat span { font-size: 11.5px; }
  .utmb-ctas { gap: 6px; }
  .utmb-ctas .utmb-btn { min-height: 44px; padding: 0 10px; font-size: 14px; white-space: nowrap; }

  /* Barre de sections */
  .utmb-subnav-inner { padding: 6px var(--u-gutter); gap: 2px; justify-content: space-between; }
  .utmb-subnav a { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }

  /* Sections */
  .utmb-section { padding-top: 22px; padding-bottom: 4px; }
  .utmb-section-head { margin-bottom: 10px; }
  .utmb-kicker { font-size: 10.5px; }
  .utmb-h2 { font-size: 25px; }
  .utmb-lead { font-size: 13.5px; line-height: 1.5; }

  /* Chiffres : un seul bandeau de 4 */
  .utmb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--u-mist); border-radius: 12px; padding: 10px 4px; }
  .utmb-stats .utmb-stat { background: none; border-radius: 0; padding: 0 6px; text-align: center; }
  .utmb-stats .utmb-stat + .utmb-stat { border-left: 1px solid var(--u-line); }
  .utmb-stats .utmb-stat b { font-size: 20px; white-space: nowrap; }
  .utmb-stats .utmb-stat span { font-size: 10.5px; line-height: 1.25; margin-top: 3px; }

  /* Argent : une liste libellé → montant */
  .utmb-money { display: block; margin-top: 8px; border: 1px solid var(--u-line); border-radius: 12px; overflow: hidden; }
  .utmb-money .utmb-stat {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    border: 0; border-radius: 0; padding: 10px 12px; background: #fff;
  }
  .utmb-money .utmb-stat + .utmb-stat { border-top: 1px solid var(--u-line); }
  .utmb-money .utmb-stat b { order: 2; font-size: 19px; white-space: nowrap; }
  .utmb-money .utmb-stat span { order: 1; margin: 0; font-size: 12.5px; }
  .utmb-money .utmb-stat small { display: none; }
  .utmb-money .utmb-stat--paid { background: var(--u-ink); }
  .utmb-money .utmb-stat--upto { border-style: solid; }
  .utmb-money .utmb-stat:not([class*="--"]):last-child { display: none; } /* « soutiens » : déjà dans le héros et l'impact */
  .utmb-money-note { font-size: 11.5px; line-height: 1.45; margin-top: 6px; }

  /* La route */
  .utmb-route-lead { display: none; }
  .utmb-chips { padding-bottom: 8px; }
  .utmb-chip { min-height: 34px; font-size: 13.5px; }
  .utmb-season { padding: 10px 12px; margin-bottom: 10px; }
  .utmb-season-title { font-size: 17px; }
  .utmb-season-desc { font-size: 12.5px; line-height: 1.45; }
  .utmb-season-figs { font-size: 12px; }
  .utmb-sp-card { margin-bottom: 16px; padding: 10px 8px 10px; border-radius: 14px; }
  .utmb-legend { gap: 6px 12px; padding-top: 8px; margin-top: 4px; }
  .utmb-legend-group { gap: 4px 6px; }
  .utmb-legend-note { font-size: 11px; }
  .utmb-legend-line { font-size: 12px; }

  /* Timeline : cartes resserrées */
  .utmb-page { --u-rm-spine: 26px; }
  .utmb-rm-item { padding-bottom: 10px; }
  .utmb-rm-phase { padding: 2px 0 8px; }
  .utmb-rm-phase span { font-size: 10.5px; }
  .utmb-rm-card { gap: 6px; padding: 10px 12px; border-radius: 13px; }
  .utmb-rm-tags { gap: 4px; }
  .utmb-prio, .utmb-type, .utmb-rm-tags .utmb-badge { height: 21px; font-size: 11px; }
  .utmb-prio b { height: 16px; min-width: 18px; font-size: 11px; }
  .utmb-rm-body { gap: 8px; }
  .utmb-rm-name { font-size: 19px; }
  .utmb-rm-item--a3 .utmb-rm-name { font-size: 21px; }
  .utmb-rm-meta { margin-top: 2px; font-size: 12.5px; gap: 0 8px; }
  .utmb-rm-meta span + span::before { margin-right: 8px; }
  .utmb-rm-desc { margin-top: 3px; font-size: 13px; line-height: 1.4; }
  .utmb-rm-figs { gap: 6px; }
  .utmb-rm-fig { padding: 4px 8px; border-radius: 8px; }
  .utmb-rm-fig b { font-size: 17px; }
  .utmb-rm-fig span { font-size: 11.5px; }
  .utmb-rm-node { margin-top: 14px; }
  .utmb-rm-item--a1 .utmb-rm-node, .utmb-rm-item--a2 .utmb-rm-node { margin-top: 11px; }
  .utmb-rm-item--a3 .utmb-rm-node { margin-top: 9px; }
  .utmb-rm-card--horizon { min-height: 0; padding-bottom: 40px; }
  .utmb-rm-card--horizon .utmb-rm-name { font-size: 24px; }

  /* Soutenir */
  #soutiens > .utmb-lead { display: none; }
  .utmb-ways { gap: 8px; }
  .utmb-way { padding: 12px; gap: 6px; }
  .utmb-way h3 { font-size: 18px; }
  .utmb-way-tag { font-size: 10px; padding: 3px 6px; }
  .utmb-way p { font-size: 13px; line-height: 1.45; }
  .utmb-way ul { font-size: 12.5px; gap: 3px; }
  .utmb-way .utmb-btn { min-height: 42px; margin-top: 2px; }
  #soutiens .utmb-section-head[style] { margin-top: 20px !important; }
  .utmb-msg { padding: 12px; }
  .utmb-msg-text { font-size: 13.5px; }
  .utmb-wall-empty { padding: 10px 12px; font-size: 13px; }
  .utmb-wall-actions .utmb-btn { min-height: 42px; font-size: 14px; }

  /* Impact */
  .utmb-impact { gap: 8px; }
  .utmb-impact-card { padding: 14px; }
  .utmb-impact-card b { font-size: 34px; }
  .utmb-impact-row { margin-top: 10px; }
  .utmb-impact-row div b { font-size: 22px; }
  .utmb-transparency { padding: 10px 12px; font-size: 12.5px; line-height: 1.5; }
  .utmb-notice { margin: 16px 0 22px; font-size: 11.5px; }
}
/* Cartes de course : km / D+ en colonne à droite (une ligne de moins par carte) */
@media (max-width: 599px) {
  .utmb-rm-body { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
  .utmb-rm-figs { flex-direction: column; align-items: stretch; gap: 4px; }
  .utmb-rm-fig { justify-content: flex-end; padding: 3px 7px; }
  .utmb-rm-fig b { font-size: 16px; }
  .utmb-rm-fig span { font-size: 11px; }
}
