/* ============ BRAND FONTS (self-hosted) ============ */
  /* Lemon Milk = titrages MAJ (display, uppercase). Roboto = texte courant. */
  @font-face { font-family: "Lemon Milk"; src: url("../fonts/LemonMilk.woff2") format("woff2"), url("../fonts/LemonMilk.otf") format("opentype"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Lemon Milk"; src: url("../fonts/LemonMilkBold.woff2") format("woff2"), url("../fonts/LemonMilkBold.otf") format("opentype"); font-weight: 700; font-display: swap; }
  @font-face { font-family: "Roboto LOT"; src: url("../fonts/Roboto-Regular.woff2") format("woff2"), url("../fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Roboto LOT"; src: url("../fonts/Roboto-Medium.woff2") format("woff2"), url("../fonts/Roboto-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
  @font-face { font-family: "Roboto LOT"; src: url("../fonts/Roboto-Bold.woff2") format("woff2"), url("../fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
  /* ============ TOKENS (dark theme, locked) ============ */
  :root {
    --bg:        #232323;   /* noir de marque - aligné sur lightontrail.com */
    --bg-2:      #1b1b1b;   /* bandeau plus sombre */
    --surface:   #2b2b2b;   /* panneau */
    --surface-2: #333333;
    --text:      #f4f1ee;   /* blanc cassé */
    --muted:     #a8a4a0;   /* gris chaud */
    --faint:     #777370;
    --line:      rgba(255,255,255,0.10);
    --line-2:    rgba(255,255,255,0.18);
    --accent:    #ed5f3e;   /* orange de marque - accent unique verrouillé */
    --accent-2:  #f3795b;   /* hover */
    --on-accent: #232323;   /* noir sur orange */

    --r-card: 10px;          /* radius doux — entre-deux */
    --r-pill: 8px;           /* buttons: arrondi léger */
    --r-input: 8px;          /* inputs: arrondi léger */

    --maxw: 1280px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font:    "Roboto LOT", ui-sans-serif, system-ui, sans-serif;
    --display: "Lemon Milk", "Roboto LOT", ui-sans-serif, sans-serif;
    --mono:    "Roboto LOT", ui-monospace, monospace;
  }

  /* ============ RESET ============ */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  ::selection { background: var(--accent); color: var(--on-accent); }

  .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
  @media (max-width: 640px) { .wrap { padding-inline: 18px; } }

  .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .accent { color: var(--accent); }

  /* ============ BUTTONS (pill, tactile) ============ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: var(--r-pill);
    font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
    padding: 14px 26px; border: 1px solid transparent;
    transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
    white-space: nowrap;
  }
  .btn:active { transform: translateY(1px) scale(0.985); }
  .btn-primary { background: var(--accent); color: var(--on-accent); }
  .btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
  .btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }
  .btn .ico { width: 18px; height: 18px; }

  /* ============ NAV ============ */
  header.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
  .brand { display: inline-flex; align-items: center; }
  /* logo officiel bicolore (source vectorielle fournie par Julien, recadrée à son bounding box). */
  .brand-logo { height: 54px; width: auto; display: block; flex: none; }
  .nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 28px; }
  .nav-links > a, .nav-parent { font-family: var(--display); color: var(--muted); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; transition: color .15s var(--ease); white-space: nowrap; }
  .nav-links > a:hover, .nav-parent:hover { color: var(--text); }
  .nav-item { position: relative; }
  .nav-parent { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
  .nav-parent::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
  .nav-drop {
    position: absolute; top: calc(100% + 12px); left: -14px; min-width: 220px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity .16s var(--ease), transform .16s var(--ease);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  }
  .nav-drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .nav-drop a { font-family: var(--display); color: var(--muted); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 12px; border-radius: 6px; transition: background .14s var(--ease), color .14s var(--ease); }
  .nav-drop a:hover { background: var(--surface-2); color: var(--text); }
  .nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; transform: none; pointer-events: auto; }
  /* méga-menu deux colonnes (LOT 2027) */
  .nav-drop.mega { flex-direction: row; gap: 10px; padding: 16px; }
  .nav-drop.mega .mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
  .nav-drop.mega .mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 10px; }
  .nav-drop.mega .mega-head { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--accent); padding: 4px 12px 8px; }
  .nav-drop.mega .mega-promo { position: relative; width: 216px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-2); display: block; align-self: stretch; margin-left: 4px; }
  .nav-drop.mega .mega-promo img { width: 100%; height: 100%; object-fit: cover; min-height: 172px; }
  .nav-drop.mega .mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,35,35,0) 35%, rgba(35,35,35,0.82) 100%); }
  .nav-drop.mega .mega-promo-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
  .nav-drop.mega .mp-k { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--accent); }
  .nav-drop.mega .mp-t { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-size: 12px; color: var(--text); line-height: 1.25; }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 6px; }
  @media (max-width: 1040px) {
    .nav-toggle { display: inline-flex; }
    .nav-cta .btn-ghost { display: none; }
    .nav-links {
      position: absolute; top: 70px; left: 0; right: 0; margin: 0;
      flex-direction: column; align-items: flex-start; gap: 2px;
      background: var(--bg-2); border-bottom: 1px solid var(--line);
      padding: 14px 24px 22px; max-height: calc(100dvh - 70px); overflow-y: auto;
      transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
      transition: transform .2s var(--ease), opacity .2s var(--ease), visibility 0s linear .2s;
    }
    .nav-links.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
    .nav-links > a, .nav-parent { font-size: 17px; padding: 12px 0; width: 100%; }
    .nav-item { width: 100%; }
    .nav-parent::after { display: none; }
    .nav-drop {
      position: static; opacity: 1; transform: none; pointer-events: inherit;
      min-width: 0; background: transparent; border: 0; box-shadow: none;
      padding: 0 0 8px 14px; border-left: 1px solid var(--line); margin-left: 2px;
    }
    .nav-drop a { font-size: 15px; padding: 8px 0; }
    .nav-drop.mega { flex-direction: column; gap: 0; padding: 0 0 8px 14px; }
    .nav-drop.mega .mega-col { min-width: 0; }
    .nav-drop.mega .mega-col + .mega-col { border-left: 0; padding-left: 0; margin-top: 6px; }
    .nav-drop.mega .mega-head { padding: 8px 0 4px; }
    .nav-drop.mega .mega-promo { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { .nav-links { transition: none; } }
  @media (max-width: 520px) {
    .nav-inner { height: 64px; }
    .nav-links { top: 64px; }
    .brand-logo { height: 42px; }
    .nav-cta .btn-primary { padding: 11px 18px; font-size: 14px; }
  }

  /* ---- Topbar / barre d'accès rapide ---- */
  .topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-height: 30px; padding-block: 3px; }
  .topbar-links { display: flex; align-items: center; gap: 20px; }
  .topbar-links a { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; color: var(--muted); transition: color .15s var(--ease); white-space: nowrap; }
  .topbar-links a:hover { color: var(--accent); }
  .topbar-cta { padding: 6px 15px; font-size: 12px; }
  /* ---- Sélecteur de langue (topbar) ---- */
  .lang-switch { display: inline-flex; align-items: center; gap: 2px; border-left: 1px solid var(--line); padding-left: 18px; }
  .lang-switch a { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; color: var(--muted); padding: 2px 5px; line-height: 1; transition: color .15s var(--ease); }
  .lang-switch a:hover { color: var(--accent); }
  .lang-switch a[aria-current] { color: var(--text); font-weight: 700; }
  .lang-switch .sep { color: var(--line-2); font-size: 11px; }
  /* Sélecteur de langue dans le menu mobile (caché sur desktop) */
  .nav-links .lang-switch { display: none; }
  @media (max-width: 1040px) {
    .topbar { display: none; }
    .nav-links .lang-switch {
      order: -1; /* en tête du menu mobile (option A), identique dans toutes les langues */
      display: flex; align-items: center; gap: 2px;
      width: 100%; margin: 0 0 16px; padding: 0 0 14px;
      border-left: 0; border-bottom: 1px solid var(--accent);
    }
    .nav-links .lang-switch a { font-size: 12px; letter-spacing: 0.08em; padding: 3px 8px 3px 0; }
    .nav-links .lang-switch .sep { font-size: 11px; }
  }

  /* ============ SECTION CHROME ============ */
  section { position: relative; }
  .pad { padding-block: clamp(72px, 11vw, 140px); }
  .eyebrow {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  }
  h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.04; font-weight: 700; }
  .h-sec { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.06; }
  .lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; line-height: 1.6; }

  /* ============ HERO ============ */
  .hero { position: relative; display: flex; align-items: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 72px); overflow: hidden; }
  .hero-grid {
    display: grid; gap: 40px; width: 100%;
    grid-template-columns: 1.05fr 0.95fr; align-items: center;
  }
  .hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
    border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 14px 7px 8px;
    font-size: 13px; color: var(--muted); font-weight: 600; background: rgba(255,255,255,0.02); }
  .hero-kicker .tag { background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 11px;
    font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); letter-spacing: 0.04em; }
  .hero h1 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; line-height: 1.02; max-width: 14ch; }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero h1 .h1-place { font-family: var(--font); text-transform: none; letter-spacing: -0.01em; color: var(--accent); font-weight: 700; }
  .hero-sub { margin-top: 26px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 44ch; line-height: 1.6; }
  .hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-facts { margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap; }
  .fact .k { font-family: var(--mono); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
  .fact .l { font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }

  /* hero — lieu & date */
  .hero-where { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .hero-where .hw { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; color: var(--text); }
  .hero-where .hw svg { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 1.8; fill: none; flex: none; }

  /* hero — les 3 épreuves */
  .hero-races { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
  .hero-race { display: grid; gap: 8px; padding: 18px 16px 16px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: color-mix(in srgb, var(--surface) 60%, transparent); }
  .hero-race .hr-km { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
  .hero-race .hr-km small { font-size: 14px; font-weight: 400; letter-spacing: 0; }
  .hero-race .hr-name { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-size: 12px; color: var(--text); }
  .hero-race .hr-elev { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 2px; }

  /* hero visual */
  .hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
  .hero-visual { display: block; color: inherit; }
  .hero-visual img, .hero-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-watch {
    position: absolute; top: 18px; right: 18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
    border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent);
    font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: transform .25s var(--ease), background .25s var(--ease);
  }
  .hero-watch svg { width: 18px; height: 18px; }
  .hero-visual:hover .hero-watch { transform: scale(1.05); background: var(--accent-2); }
  .hero-visual:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .hero-visual::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--bg) 82%, transparent) 100%); }
  .hero-badge {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  .hero-badge .t1 { font-weight: 700; font-size: 14px; }
  .hero-badge .t2 { font-size: 12px; color: var(--muted); font-family: var(--mono); }

  /* ambient glow */
  .glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 0; }
  .glow.a { width: 520px; height: 520px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); top: -120px; right: -80px; }
  .glow.b { width: 460px; height: 460px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); bottom: -160px; left: -120px; opacity: 0.35; }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { aspect-ratio: 16/12; order: 2; }
  }
  @media (max-width: 480px) {
    .hero-races { gap: 8px; }
    .hero-race { padding: 14px 12px 12px; gap: 6px; }
    .hero-race .hr-km { font-size: 22px; }
    .hero-race .hr-km small { font-size: 12px; }
    .hero-race .hr-elev { font-size: 11px; }
  }

  /* ============ MARQUEE (only one on page) ============ */
  .marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
  .marquee-track { display: flex; gap: 46px; padding-block: 20px; width: max-content; animation: scroll 34s linear infinite; }
  .marquee-track span { font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -0.02em; color: var(--text); display: inline-flex; align-items: center; gap: 46px; }
  .marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  @keyframes scroll { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

  /* ============ COURSES ============ */
  .courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
  .course {
    position: relative; border-radius: var(--r-card); overflow: hidden;
    border: 1px solid var(--line); background: var(--surface); isolation: isolate;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
  }
  .course:hover { transform: translateY(-4px); border-color: var(--line-2); }
  .course-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
  .course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .course:hover .course-img img { transform: scale(1.05); }
  .course-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--surface) 100%); }
  .course-dist { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--mono); font-weight: 600;
    font-size: 13px; background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: var(--r-pill); }
  .course-body { padding: 26px 26px 28px; }
  .course-body h3 { font-size: 27px; margin-bottom: 8px; }
  .course-body p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
  .course-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; }
  .course-stats .s .v { font-family: var(--mono); font-size: 18px; font-weight: 600; }
  .course-stats .s .lab { font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
  .courses-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .courses-grid.cols-detail { grid-template-columns: 1.05fr 0.95fr; }
  @media (max-width: 960px) { .courses-grid.cols-3 { grid-template-columns: 1fr; max-width: 560px; } }
  @media (max-width: 860px) { .courses-grid, .courses-grid.cols-detail { grid-template-columns: 1fr; } }

  /* ============ FILM ============ */
  .film-frame { position: relative; margin-top: 40px; border-radius: var(--r-card); overflow: hidden;
    border: 1px solid var(--line); aspect-ratio: 16/9; background: #000; }
  .film-video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .film-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(35,35,35,.12), rgba(35,35,35,.5)); transition: opacity .4s var(--ease); }
  .film-play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 92px; height: 92px;
    border: none; border-radius: var(--r-pill); cursor: pointer; display: grid; place-items: center;
    background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 44px rgba(0,0,0,.45);
    transition: transform .25s var(--ease), background .25s var(--ease), opacity .35s var(--ease); }
  .film-play:hover { transform: scale(1.06); background: var(--accent-2); }
  .film-play:active { transform: scale(.97); }
  .film-play svg { width: 34px; height: 34px; margin-left: 5px; }
  .film-frame.playing::before, .film-frame.playing .film-play { opacity: 0; pointer-events: none; }
  @media (max-width: 640px) { .film-play { width: 70px; height: 70px; } .film-play svg { width: 27px; height: 27px; } }

  /* ============ TIMELINE ============ */
  .tl-head { max-width: 60ch; }
  .tl-head .lede { margin-top: 18px; }
  .timeline { margin-top: 54px; }
  .tl-group { margin-top: 44px; }
  .tl-group:first-child { margin-top: 0; }
  .tl-dayhead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
    padding: 0 4px 14px; border-bottom: 2px solid var(--accent); }
  .tl-dayhead .d { font-family: var(--display); text-transform: uppercase; font-weight: 700;
    font-size: clamp(18px, 2vw, 24px); letter-spacing: 0.01em; }
  .tl-dayhead .d-sub { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }
  .tl-row {
    display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center;
    padding: 22px 4px; border-bottom: 1px solid var(--line);
    transition: background .2s var(--ease), padding-left .25s var(--ease);
  }
  .tl-row:hover { background: rgba(255,255,255,0.02); padding-left: 14px; }
  .tl-time { font-family: var(--mono); font-weight: 600; font-size: 17px; color: var(--accent); }
  .tl-title { font-weight: 700; font-size: 18px; }
  .tl-desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
  .tl-tag { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: var(--r-pill); }
  @media (max-width: 700px) {
    .tl-row { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
    .tl-tag { justify-self: start; }
  }

  /* ============ VALUES (asymmetric grid) ============ */
  .values { background: var(--bg-2); border-block: 1px solid var(--line); }
  .val-top { max-width: 64ch; }
  .val-top .lede { margin-top: 18px; }
  .val-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
  .val {
    border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px;
    background: var(--surface); transition: transform .3s var(--ease), border-color .3s var(--ease);
  }
  .val:hover { transform: translateY(-3px); border-color: var(--line-2); }
  .val .vnum { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
  .val h3 { font-size: 22px; margin: 14px 0 8px; }
  .val p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .val .vico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 6px; }
  .val.feature { grid-column: span 5; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
  .val.feature.tinted { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); }
  .val.sm { grid-column: span 4; }
  .val.md { grid-column: span 7; }
  @media (max-width: 860px) {
    .val-top { grid-template-columns: 1fr; gap: 18px; }
    .val.feature, .val.sm, .val.md { grid-column: span 12; }
  }

  /* ============ CLUB (split) ============ */
  .club-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
  .club-visual { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4; }
  .club-visual img { width: 100%; height: 100%; object-fit: cover; }
  .club-list { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; gap: 16px; }
  .club-list li { display: flex; gap: 14px; align-items: flex-start; }
  .club-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent);
    color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
  .club-list .ck svg { width: 14px; height: 14px; }
  .club-list b { font-weight: 700; }
  .club-list span { color: var(--muted); }
  @media (max-width: 860px) { .club-grid { grid-template-columns: 1fr; gap: 30px; } .club-visual { order: -1; aspect-ratio: 16/10; } }

  /* ============ PARTNERS ============ */
  .partners { text-align: center; }
  .partner-row { margin-top: 42px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
  .partner {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: var(--r-card); padding: 20px 34px; min-width: 240px; min-height: 132px;
    transition: transform .2s var(--ease);
  }
  .partner:hover { transform: translateY(-3px); }
  .partner img { height: 92px; width: auto; max-width: 340px; object-fit: contain; }
  .partner .pn { font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; font-size: 18px; color: #232323; }
  .partner-tier { margin-top: 44px; }
  .partner-tier .tier-label { display: block; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
  .partner-tier .partner-row { margin-top: 0; }
  .partner-tier.tier-lead .partner { padding: 28px 52px; min-height: 176px; }
  .partner-tier.tier-lead .partner img { height: 132px; }
  .partner-tier.tier-major .partner { padding: 24px 44px; min-height: 156px; }
  .partner-tier.tier-major .partner img { height: 112px; }

  /* Bandeau partenaires défilant — page d'accueil */
  .partner-strip { padding: 36px 0 40px; text-align: center; }
  .partner-strip .tier-label { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 22px; }
  .partner-marquee { background: var(--accent); overflow: hidden; width: 100%; padding-block: 16px; }
  .partner-marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: scroll 24s linear infinite; }
  .partner-marquee:hover .partner-marquee-track { animation-play-state: paused; }
  .partner-marquee-track a { flex: none; display: inline-flex; align-items: center; }
  .partner-marquee-track img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 1; transition: filter .25s var(--ease); }
  .partner-marquee-track img[src*="pierre-percee"] { height: 52px; }
  .partner-marquee-track a:hover img { filter: none; }
  @media (prefers-reduced-motion: reduce) { .partner-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }
  .partner-strip-link { display: inline-block; margin-top: 22px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; color: var(--muted); transition: color .15s var(--ease); }
  .partner-strip-link:hover { color: var(--accent); }

  /* ============ CTA BAND ============ */
  .cta-band { position: relative; overflow: hidden; }
  .cta-card {
    position: relative; border-radius: var(--r-card); overflow: hidden;
    border: 1px solid var(--line-2); padding: clamp(48px, 7vw, 96px);
    background: var(--surface); text-align: center; isolation: isolate;
  }
  .cta-card .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .cta-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 60%, transparent), rgba(27,27,27,0.86) 72%); }
  .cta-card > *:not(.cta-bg) { position: relative; z-index: 2; }
  .cta-card h2 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 700; }
  .cta-card p { color: var(--muted); max-width: 50ch; margin: 18px auto 0; }
  .cta-card .hero-actions { justify-content: center; margin-top: 30px; }

  /* ============ FOOTER ============ */
  footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 64px 36px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 32ch; margin: 16px 0 0; }
  .foot-col .foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin: 0 0 16px; font-weight: 700; }
  .foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 11px; transition: color .15s var(--ease); }
  .foot-col a:hover { color: var(--accent); }
  .foot-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
  .socials { display: flex; gap: 12px; }
  .socials a { width: 38px; height: 38px; border-radius: var(--r-pill); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: all .18s var(--ease); }
  .socials a:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
  .socials svg { width: 18px; height: 18px; }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
  @media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-brand { grid-column: 1 / -1; } }

  /* ============ SECTION HEAD ============ */
  .sec-head { max-width: 64ch; }
  .sec-head .eyebrow { display: block; margin-bottom: 14px; }
  .sec-head .lede { margin-top: 18px; }

  /* ============ COUNTDOWN BAND ============ */
  .count-band { background: var(--surface); border-bottom: 1px solid var(--line); }
  .count-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: 26px; }
  .count-lab { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
  .count-lab b { display: block; font-family: var(--display); color: var(--text); font-size: clamp(18px,2vw,22px); letter-spacing: 0.01em; margin-top: 6px; }
  .count-units { display: flex; gap: 14px; }
  .cu { min-width: 72px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 14px 10px; }
  .cu .cn { display: block; font-family: var(--mono); font-weight: 600; font-size: clamp(26px,3.2vw,34px); letter-spacing: -0.02em; line-height: 1; }
  .cu .cl { display: block; margin-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); }
  @media (max-width: 760px) { .count-inner { justify-content: center; text-align: center; } .count-units { gap: 10px; } .cu { min-width: 60px; padding: 12px 8px; } }

  /* ============ INFO CARDS (lieu, éco, infos pratiques) ============ */
  .icard-grid { margin-top: 52px; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
  .icard-grid.three { grid-template-columns: repeat(3, 1fr); }
  .icard { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: 28px; }
  .icard .ic-ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
  .icard h3 { font-size: 20px; margin: 0 0 12px; }
  .icard p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .icard ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
  .icard ul li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
  .icard ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
  .icard ul li b { color: var(--text); font-weight: 700; }
  .icard .eyebrow { display: block; margin-bottom: 12px; }
  .podium-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .podium-block { min-width: 0; }
  .pod-head { font-family: var(--display, inherit); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700; color: var(--accent); padding-bottom: 10px; }
  .podium-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 2px solid var(--accent); display: grid; gap: 0; }
  .podium-list li { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .podium-list li:last-child { border-bottom: 0; }
  .podium-list .pod-rank { font-size: 13px; font-weight: 600; color: var(--accent); }
  .podium-list .pod-rank sup { font-size: 9px; }
  .podium-list .pod-name { color: var(--text); font-size: 15px; font-weight: 500; }
  .podium-list .pod-time { font-size: 14px; color: var(--muted); }
  .podium-cols .podium-list li { grid-template-columns: 22px 1fr; column-gap: 8px; row-gap: 2px; padding: 9px 0; }
  .podium-cols .podium-list .pod-name { grid-column: 2; font-size: 14px; }
  .podium-cols .podium-list .pod-time { grid-column: 2; font-size: 12.5px; }
  @media (max-width: 860px) { .icard-grid, .icard-grid.three { grid-template-columns: 1fr; } }

  /* ============ PHOTO GALLERY ============ */
  .photo-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 14px; }
  .photo-grid figure { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); position: relative; }
  .photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .photo-grid figure:hover img { transform: scale(1.06); }
  .photo-grid .tall { grid-row: span 2; }
  .photo-grid .wide { grid-column: span 2; }
  @media (max-width: 860px) { .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .photo-grid .wide { grid-column: span 2; } }

  /* ============ NEWSLETTER ============ */
  .news-card { margin-top: 22px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--surface); padding: clamp(28px,4vw,44px); }
  .news-card h3 { font-size: clamp(22px,2.6vw,30px); }
  .news-card p { color: var(--muted); margin: 12px 0 24px; max-width: 50ch; }
  .news-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; }
  .news-form input { flex: 1 1 240px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-input);
    color: var(--text); font: inherit; font-size: 15px; padding: 14px 16px; }
  .news-form input::placeholder { color: var(--faint); }
  .news-form input:focus { outline: none; border-color: var(--accent); }
  .news-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); }

  /* ============ SCROLL REVEAL ============ */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  }

  /* ============ ACTIVE NAV (multi-page) ============ */
  .nav-links a[aria-current="page"], .nav-parent[aria-current="page"] { color: var(--text); }
  .nav-links > a[aria-current="page"]::after, .nav-parent[aria-current="page"]:not(.nav-parent)::after { }
  .nav-links > a[aria-current="page"] { position: relative; }
  @media (min-width: 1041px) {
    .nav-links > a[aria-current="page"]::after, .nav-item[data-current="true"] > .nav-parent::after { }
    .nav-links > a[aria-current="page"]::before, .nav-item[data-current="true"] > .nav-parent::before {
      content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--accent);
    }
    .nav-links > a[aria-current="page"], .nav-item[data-current="true"] > .nav-parent { position: relative; }
  }

  /* ============ PAGE HERO (interior pages) ============ */
  .page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
    padding-block: clamp(56px, 9vw, 110px); }
  .page-hero .wrap { position: relative; z-index: 2; }
  .page-hero .crumb { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 18px; }
  .page-hero .crumb a { color: var(--muted); }
  .page-hero .crumb a:hover { color: var(--accent); }
  .page-hero h1 { font-size: clamp(36px, 6vw, 76px); line-height: 1.02; max-width: 16ch; }
  .page-hero h1 em { font-style: normal; color: var(--accent); }
  .page-hero .lede { margin-top: 22px; max-width: 56ch; }
  .page-hero .glow { z-index: 0; }

  /* slim CTA (interior pages) */
  .cta-slim { border-top: 1px solid var(--line); background: var(--bg-2); }
  .cta-slim .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px,6vw,64px); }
  .cta-slim h2 { font-size: clamp(24px,3.2vw,38px); max-width: 18ch; }
  .cta-slim p { color: var(--muted); margin-top: 10px; max-width: 46ch; }

  /* ============ CLICKABLE CARDS (multi-page) ============ */
  a.course { display: block; color: inherit; text-decoration: none; }
  a.icard { color: inherit; text-decoration: none; display: block; transition: transform .3s var(--ease), border-color .3s var(--ease); }
  a.icard:hover { transform: translateY(-3px); border-color: var(--line-2); }
  a.icard h3 { color: var(--accent); }

  /* ============ PHOTOS & VIDÉO NATURE ============ */
  .split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
  .nature-visual { justify-self: end; width: min(100%, 360px); aspect-ratio: 9/16; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #000; }
  .nature-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
  @media (max-width: 860px) { .split { grid-template-columns: 1fr; } .nature-visual { justify-self: stretch; width: 100%; aspect-ratio: 4/5; } }
  .wide-photo { margin: 40px 0 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/9; }
  .wide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  @media (max-width: 760px) { .wide-photo { aspect-ratio: 16/10; } }
  .photo-strip { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .photo-strip.two { grid-template-columns: repeat(2, 1fr); }
  .photo-strip figure { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
  .photo-strip.two figure { aspect-ratio: 16/10; }
  .photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
  .photo-strip figure:hover img { transform: scale(1.05); }
  @media (max-width: 860px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } .photo-strip.two { grid-template-columns: 1fr; } }
  .icard-img { display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 22px; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-card) var(--r-card) 0 0; }
  .icard:has(.icard-img) { overflow: hidden; }
  @media (max-width: 640px) {
    .partner-row { gap: 12px; }
    .partner, .partner-tier.tier-lead .partner, .partner-tier.tier-major .partner { padding: 16px 18px; min-height: 0; }
    .partner img { height: 54px; max-width: 38vw; }
    .partner-tier.tier-lead .partner img { height: 96px; max-width: 70vw; }
    .partner-tier.tier-major .partner img { height: 78px; max-width: 60vw; }
    .partner-marquee-track { gap: 44px; }
    .partner-marquee-track img { height: 32px; }
    .partner-marquee-track img[src*="pierre-percee"] { height: 42px; }
  }

  /* sections avec photo (Préparer sa venue) */
  .sec-split { display: grid; grid-template-columns: 1fr minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
  .sec-split.flip .sec-photo { order: -1; }
  .sec-split .sec-head { margin: 0; }
  .sec-photo { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/2; }
  .sec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  @media (max-width: 860px) {
    .sec-split { grid-template-columns: 1fr; gap: 24px; }
    .sec-split.flip .sec-photo { order: 0; }
    .sec-photo { aspect-ratio: 16/10; }
  }

  /* titres du méga-menu cliquables */
  .nav-drop.mega a.mega-head { display: block; color: var(--accent); background: none; }
  .nav-drop.mega a.mega-head:hover { color: var(--text); background: none; }
  /* la vidéo ne capte pas le clic (iPhone) : c'est le lien YouTube qui le reçoit */
  .hero-visual video { pointer-events: none; }

  /* cartes entièrement cliquables (lien étiré sur toute la carte) */
  .icard.has-link { position: relative; transition: transform .3s var(--ease), border-color .3s var(--ease); }
  .icard.has-link .card-link { color: inherit; }
  .icard.has-link .card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  .icard.has-link p a { position: relative; z-index: 2; }
  .icard.has-link:hover { transform: translateY(-3px); border-color: var(--line-2); }
  .icard.has-link:hover h3 { color: var(--accent); }
  .icard.has-link:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
  .card-cta { display: inline-block; margin-top: 18px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; color: var(--accent); }

  /* bloc règlement (page Courses) */
  .reglement-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
  .reglement-card > div { max-width: 60ch; }
  .reglement-card .eyebrow { display: block; margin-bottom: 10px; }

  /* page Règlement : texte long, sobre */
  .prose { max-width: 760px; }
  .prose h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 48px 0 14px; }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 { font-size: 17px; margin: 28px 0 10px; color: var(--accent); }
  .prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.7; }
  .prose p { margin: 0 0 14px; }
  .prose strong { color: var(--text); }
  .prose ul { margin: 0 0 16px; padding-left: 20px; }
  .prose li { margin-bottom: 8px; }
  .prose a { color: var(--accent); }

  /* pavés 17/37/54 de l'accueil cliquables */
  a.hero-race { color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease); }
  a.hero-race:hover { border-color: var(--accent); transform: translateY(-2px); background: color-mix(in srgb, var(--surface) 85%, transparent); }
  a.hero-race:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =====================================================================
   REFONTE 2027 · direction « éditorial sombre »
   Couche finale : elle remplace le style « cartes arrondies » par une
   mise en page plus éditoriale (angles droits, filets, photos en grand).
   ===================================================================== */
  :root {
    --r-card: 0px; --r-pill: 0px; --r-input: 0px;
    --mono: "Lemon Milk", "Roboto LOT", sans-serif;
    --maxw: 1440px;
    --gutter: clamp(20px, 4vw, 56px);
  }
  .wrap { padding-inline: var(--gutter); }
  h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }

  /* pas d'effets « modèle » : halos, fondus au défilement, cartes qui se soulèvent */
  .glow { display: none !important; }
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* boutons : angles droits, typo de titrage */
  .btn { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; padding: 17px 24px; }
  .btn-primary:hover { background: var(--text); color: var(--bg); transform: none; }
  .btn-ghost { border-color: transparent; border-bottom: 2px solid currentColor; padding-inline: 0; }
  .btn-ghost:hover { border-color: transparent; border-bottom-color: var(--accent); color: var(--accent); transform: none; }
  .btn-gpx { border-radius: 0; }

  /* sur-titres : Lemon Milk, plus de police « machine à écrire » */
  .eyebrow { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; }
  .h-sec { font-size: clamp(32px, 5vw, 72px); line-height: .98; }
  .sec-head { max-width: 72ch; }

  /* cartes d'info → blocs éditoriaux séparés par un filet */
  .icard { background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; padding: 26px 0 0; }
  .icard h3 { font-size: clamp(18px, 1.6vw, 22px); }
  .icard p, .icard ul li { font-size: 15.5px; line-height: 1.65; }
  .icard-grid { gap: 40px 48px; }
  a.icard:hover { transform: none; }
  a.icard:hover h3 { color: var(--text); }
  .icard.has-link:hover { transform: none; }
  .icard-img { width: 100%; margin: 0 0 22px; border-radius: 0; aspect-ratio: 4/3; }
  .icard:has(.icard-img) { border-top: 0; padding-top: 0; }
  .card-cta { font-family: var(--display); }

  /* valeurs (page Événement) : même logique */
  .values { background: none; border: 0; }
  .val { background: none !important; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; padding: 26px 0 0; }
  .val:hover { transform: none; }
  .val.feature .vico, .val .vico { display: none; }
  .val h3 { font-size: clamp(20px, 2vw, 28px); margin-top: 0; }
  .val-grid { gap: 40px 48px; }

  /* photos : angles droits, pas de cadre */
  .course, .course-img, .photo-grid figure, .photo-strip figure, .wide-photo, .sec-photo,
  .film-frame, .route-embed iframe, .elevation, .nature-visual, .hero-visual, .partner { border-radius: 0 !important; }
  .photo-grid figure, .photo-strip figure, .wide-photo, .sec-photo, .film-frame { border: 0; }
  .photo-grid { gap: 6px; }
  .photo-strip { gap: 6px; }
  .route-embed iframe { border: 0; }

  /* fiches parcours (page Courses) */
  .course { background: none; border: 0; }
  .course:hover { transform: none; }
  .course-img::after { display: none; }
  .course-body { padding: 26px 0 0; }
  .course-body h3 { font-size: clamp(34px, 4vw, 60px); line-height: .95; }
  .course-dist { border-radius: 0; font-family: var(--display); }
  .course-stats { border-top: 1px solid var(--line-2); }

  /* en-têtes des pages intérieures : grande photo */
  .page-hero { border-bottom: 0; padding-block: clamp(64px, 10vw, 140px) clamp(40px, 6vw, 80px); }
  .page-hero .crumb { font-family: var(--display); font-size: 11px; }
  .page-hero h1 { font-size: clamp(44px, 8vw, 128px); line-height: .92; max-width: 14ch; }
  .page-hero.has-img { min-height: min(78vh, 760px); display: flex; align-items: flex-end; }
  .page-hero.has-img .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(35,35,35,.35) 0%, rgba(35,35,35,.1) 35%, rgba(35,35,35,.92) 100%); }
  .page-hero.has-img .wrap { width: 100%; }
  .page-hero.has-img .lede { color: rgba(255,255,255,.82); }

  /* appel de fin de page (pages intérieures) */
  .cta-slim { background: var(--accent); color: var(--bg); border: 0; }
  .cta-slim .wrap { padding-block: clamp(56px, 8vw, 110px); align-items: flex-end; }
  .cta-slim h2 { font-size: clamp(32px, 5vw, 76px); max-width: 14ch; }
  .cta-slim p { color: rgba(35,35,35,.8); font-size: 17px; }
  .cta-slim .btn-primary { background: var(--bg); color: var(--text); }
  .cta-slim .btn-primary:hover { background: var(--text); color: var(--bg); }

  /* newsletter */
  .news-card { background: none; border: 0; border-top: 1px solid var(--line-2); padding: 40px 0 0; }
  .news-form input { border-radius: 0; }

  /* partenaires (page Communauté) : logos sur blanc, angles droits */
  .partner:hover { transform: none; }

  /* pied de page */
  footer { background: var(--bg); }

  /* ============ ACCUEIL ============ */
  .h-hero { position: relative; height: calc(100svh - 104px); min-height: 600px; overflow: hidden; }
  .h-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .h-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,35,35,.3) 0%, rgba(35,35,35,0) 30%, rgba(35,35,35,.2) 55%, rgba(35,35,35,.94) 100%); }
  .h-hero .inner { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(32px, 6vh, 72px); }
  .h-hero .when { font-size: 15px; margin-bottom: 20px; }
  .h-hero .when b { color: var(--accent); }
  .h-hero h1 { font-size: clamp(40px, 8.4vw, 150px); line-height: .95; letter-spacing: -.01em; }
  .h-hero h1 .place { display: block; color: var(--accent); font-size: .72em; margin-top: .08em; }
  .nw { white-space: nowrap; }
  .h-hero .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 34px; }
  .h-hero .actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
  .h-hero .dist { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); text-align: right; line-height: 1.3; }
  .h-hero .dist span { display: block; color: var(--muted); font-family: var(--font); font-weight: 400; font-size: 14px; }
  @media (max-width: 900px) { .h-hero { height: calc(100svh - 70px); } }
  @media (max-width: 600px) { .h-hero .nw { white-space: normal; } .h-hero h1 { font-size: 12vw; } }

  .h-manifeste { padding-block: clamp(96px, 16vw, 220px); position: relative; overflow: hidden; }
  .h-manifeste p { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 4.8vw, 78px); line-height: 1.04; margin: 0; max-width: 19ch; position: relative; z-index: 1; }
  .h-manifeste p em { font-style: normal; color: var(--accent); }
  .h-manifeste .bolt { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); height: 120%; pointer-events: none; }
  @media (max-width: 700px) { .h-manifeste .bolt { opacity: .25; right: -30vw; } }

  .sec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
  .sec-top h2 { font-size: clamp(28px, 3.4vw, 48px); }
  .sec-top a { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .sec-top a:hover { color: var(--accent); }
  .sec-top .sub { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
  @media (max-width: 640px) { .sec-top { flex-direction: column; align-items: flex-start; gap: 14px; } }

  .h-courses { padding-bottom: clamp(80px, 12vw, 160px); }
  .h-race { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--line-2); }
  .h-race .num { font-family: var(--display); font-weight: 700; font-size: clamp(88px, 13vw, 220px); line-height: .8; letter-spacing: -.03em; transition: color .3s; }
  .h-race .num small { font-size: .28em; letter-spacing: 0; vertical-align: top; margin-left: .08em; }
  .h-race .num .star { color: var(--accent); font-size: .28em; vertical-align: top; }
  .h-race .info p { margin: 0 0 18px; color: var(--muted); max-width: 36ch; }
  .h-race .facts { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 14px; }
  .h-race .facts span { display: block; font-family: var(--font); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
  .h-race .go { display: inline-block; margin-top: 22px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .h-race .ph { aspect-ratio: 4/3; overflow: hidden; }
  .h-race .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: grayscale(.35); }
  .h-race:hover .ph img { transform: scale(1.04); filter: none; }
  .h-race:hover .num { color: var(--accent); }
  .h-race:hover .num .star { color: var(--text); }
  @media (max-width: 860px) { .h-race { grid-template-columns: 1fr 1fr; } .h-race .ph { grid-column: 1 / -1; order: -1; aspect-ratio: 16/10; } }
  @media (max-width: 520px) { .h-race { grid-template-columns: 1fr; } }

  .h-band { position: relative; height: 88vh; min-height: 520px; overflow: hidden; }
  .h-band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .h-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,35,35,0) 40%, rgba(35,35,35,.85) 100%); }
  .h-band .inner { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(32px, 6vw, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
  .h-band h2 { font-size: clamp(34px, 6vw, 96px); max-width: 12ch; line-height: .98; }
  .h-band p { margin: 0; max-width: 34ch; color: rgba(255,255,255,.8); }

  .h-event { padding-block: clamp(96px, 13vw, 180px); }
  .h-event .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
  .h-event video { width: 100%; aspect-ratio: 9/16; object-fit: cover; max-height: 82vh; }
  .h-event h2 { font-size: clamp(32px, 4.6vw, 72px); margin: 18px 0 28px; line-height: .98; }
  .h-event .intro { color: var(--muted); max-width: 44ch; margin: 0 0 48px; }
  .h-list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line-2); }
  .h-list a:last-child { border-bottom: 1px solid var(--line-2); }
  .h-list .n { font-family: var(--display); color: var(--accent); font-size: 14px; }
  .h-list h3 { font-size: clamp(20px, 2vw, 28px); margin-bottom: 8px; }
  .h-list p { margin: 0; color: var(--muted); font-size: 15px; }
  .h-list .arr { font-family: var(--display); transition: transform .3s; }
  .h-list a:hover .arr { transform: translateX(6px); color: var(--accent); }
  .h-list a:hover h3 { color: var(--accent); }
  @media (max-width: 860px) { .h-event .grid { grid-template-columns: 1fr; } .h-event video { max-height: 70vh; } }

  .h-retour { padding-top: clamp(40px, 6vw, 80px); }
  .h-retour .sec-top { border-bottom: 0; padding-bottom: 36px; }
  .h-photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: min(92vh, 900px); }
  .h-photos img { width: 100%; height: 100%; object-fit: cover; }
  .h-photos .big { grid-row: span 2; }
  @media (max-width: 760px) { .h-photos { grid-template-columns: 1fr 1fr; height: auto; grid-template-rows: none; } .h-photos .big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4/3; } .h-photos img:not(.big) { aspect-ratio: 1; } }

  .h-partners { display: flex; align-items: stretch; background: var(--accent); overflow: hidden; }
  .h-partners .tag { flex: none; position: relative; z-index: 2; display: flex; align-items: center; padding: 0 clamp(20px, 3vw, 44px) 0 var(--gutter);
    background: var(--bg); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .06em; line-height: 1.25; }
  .h-partners .tag::after { content: ""; position: absolute; top: 0; bottom: 0; right: -38px; width: 40px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 5% 100%, 0 100%); }
  .h-partners .ticker { flex: 1; overflow: hidden; padding-block: 40px; padding-left: 56px; }
  .h-partners .track { display: flex; align-items: center; gap: 88px; width: max-content; animation: scroll 26s linear infinite; }
  .h-partners .ticker:hover .track { animation-play-state: paused; }
  .h-partners .track a { flex: none; }
  .h-partners .track img { height: 42px; width: auto; filter: brightness(0) invert(1); }
  .h-partners .track img.pp { height: 56px; }
  @media (max-width: 640px) {
    .h-partners .tag { padding: 0 8px 0 var(--gutter); font-size: 10px; letter-spacing: .05em; }
    .h-partners .tag::after { right: -22px; width: 24px; }
    .h-partners .ticker { padding: 24px 0 24px 34px; }
    .h-partners .track { gap: 44px; }
    .h-partners .track img { height: 28px; } .h-partners .track img.pp { height: 38px; }
  }
  @media (prefers-reduced-motion: reduce) { .h-partners .track { animation: none; flex-wrap: wrap; } }

  .h-news { padding-block: clamp(96px, 12vw, 160px); }
  .h-news .row { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--line-2); }
  .h-news .d { font-family: var(--display); font-size: 12px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
  .h-news h3 { font-size: clamp(20px, 2.2vw, 30px); }
  .h-news p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
  .h-news a.row:hover h3 { color: var(--accent); }
  @media (max-width: 700px) { .h-news .row { grid-template-columns: 1fr; gap: 8px; } }

  .h-newsletter { padding-bottom: clamp(80px, 10vw, 140px); }

  .h-cta { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: flex-end; }
  .h-cta > img, .h-cta > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05); }
  .h-cta::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(35,35,35,.94) 0%, rgba(35,35,35,.7) 45%, rgba(35,35,35,.25) 100%), linear-gradient(0deg, rgba(35,35,35,.9) 0%, rgba(35,35,35,0) 45%); }
  .h-cta .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
  .h-cta h2 { font-size: clamp(40px, 7.4vw, 124px); max-width: 12ch; line-height: .95; margin-top: 22px; }
  .h-cta p { margin: 28px 0 40px; font-size: 18px; max-width: 42ch; color: rgba(255,255,255,.78); }
  .h-cta .btns { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
  .h-cta .picto { width: clamp(110px, 16vw, 240px); }
  .h-cta .picto .p1 { fill: #fff; } .h-cta .picto .p2 { fill: var(--accent); }
  @media (max-width: 700px) { .h-cta .wrap { grid-template-columns: 1fr; } .h-cta .picto { display: none; } }
  @media (max-width: 860px) { .val-grid { gap: 32px 0; } .icard-grid { gap: 32px; } .h-hero .dist { text-align: left; } }

  /* touches d'orange : filet d'accent sur les blocs, chiffres clés, bouton de trace */
  .icard, .val { position: relative; }
  .icard::before, .val::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--accent); }
  .icard:has(.icard-img)::before { display: none; }
  .course-stats .v { color: var(--accent); }
  .btn-gpx { background: var(--accent); color: var(--on-accent); border: 0; }
  .btn-gpx:hover { background: var(--text); color: var(--bg); }

  /* compte à rebours (accueil) */
  .count-band { background: var(--bg); border-bottom: 1px solid var(--line-2); }
  .count-inner { padding-block: clamp(28px, 4vw, 44px); gap: 28px 48px; }
  .count-lab { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; }
  .count-lab b { font-size: clamp(20px, 2.4vw, 32px); margin-top: 10px; }
  .count-units { gap: 0; }
  .count-units .cu { background: none; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; padding: 0 clamp(18px, 3vw, 44px); min-width: 0; text-align: left; }
  .count-units .cu:first-child { border-left: 0; padding-left: 0; }
  .cu .cn { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
  .count-units .cu:first-child .cn { color: var(--accent); }
  .cu .cl { display: block; margin-top: 10px; font-family: var(--display); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
  @media (max-width: 760px) { .count-inner { justify-content: flex-start; text-align: left; } .count-units .cu { padding: 12px 10px; } .count-units .cu.brk { padding: 12px 14px 12px 12px; margin-right: 4px; } .cu .cn { font-size: 30px; } .cu .cl { font-size: 10px; letter-spacing: .08em; } }

  /* ============ VARIÉTÉ DE MISES EN PAGE (pages d'infos) ============ */
  /* colonnes gardées plus longtemps avant de s'empiler */
  @media (max-width: 860px) and (min-width: 700px) { .icard-grid.three { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

  /* étapes numérotées */
  .icard-grid.steps { counter-reset: step; }
  .steps .icard { counter-increment: step; }
  .steps .icard h3::before { content: "0" counter(step); display: block; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--accent); margin-bottom: 18px; letter-spacing: -.02em; }

  /* lignes : titre à gauche, texte à droite */
  .icard-grid.rows { grid-template-columns: 1fr; gap: 0; }
  .rows .icard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 48px; align-items: baseline; padding-block: 28px; }
  .rows .icard:last-child { border-bottom: 1px solid var(--line-2); }
  .rows .icard h3 { margin: 0; font-size: clamp(20px, 2.2vw, 30px); }
  .rows .icard p { font-size: 16.5px; margin: 0; }
  @media (max-width: 700px) { .rows .icard { grid-template-columns: 1fr; } }

  /* FAQ en accordéon */
  .faq-list { margin-top: 48px; border-bottom: 1px solid var(--line-2); }
  .faq-item { border-top: 1px solid var(--line-2); }
  .faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0;
    font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; flex: none; font-size: 30px; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item summary:hover { color: var(--accent); }
  .faq-item p { margin: 0; padding: 0 0 28px; max-width: 70ch; color: var(--muted); font-size: 16.5px; line-height: 1.7; }

/* =====================================================================
   SIGNATURES LIGHT ON : crochets, biais, repères GPS, micro-détails
   ===================================================================== */
  /* 1 · crochets du picto : deux coins [ ] autour d'un élément */
  .brk { position: relative; padding: 14px 18px; }
  .brk::before, .brk::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--accent); pointer-events: none; }
  .brk::before { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
  .brk::after { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }
  .count-units .cu.brk { padding: 12px 22px 12px 18px; border-left: 0; margin-right: clamp(18px, 3vw, 44px); }
  /* toutes les unités sur la même ligne de base que celle encadrée */
  .count-units .cu { padding-block: 12px; }
  /* version incrustée dans une image */
  .brk-in { position: relative; }
  .brk-in::before, .brk-in::after { content: ""; display: block !important; position: absolute; z-index: 3; width: 34px; height: 34px; border: 0 solid #fff; pointer-events: none; background: none !important; }
  .brk-in::before { top: 16px; left: 16px; border-top-width: 3px; border-left-width: 3px; }
  .brk-in::after { inset: auto 16px 16px auto; border-bottom-width: 3px; border-right-width: 3px; }

  /* 2 · coupe en biais, même angle que l'éclair du logo (avec parcimonie) */
  .cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4.5vw), 0 100%); }

  /* 5 · repères GPS */
  .geo { position: absolute; z-index: 3; top: 22px; right: var(--gutter); font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
  .geo::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--accent); vertical-align: 1px; }
  @media (max-width: 600px) { .geo { font-size: 9px; letter-spacing: .1em; right: auto; left: var(--gutter); top: 16px; } }

  /* 7 · léger grain unifié sur les grandes images (sans toucher à la retouche LIGHT ON) */
  .h-hero::before, .h-band::before, .page-hero.has-img::before, .h-cta::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

  /* 8 · micro-détails au survol */
  /* soulignement qui se dessine */
  .sec-top a, .h-race .go, footer .foot-col a, .crumb a, .partner-strip-link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
  .sec-top a:hover, .h-race:hover .go, footer .foot-col a:hover, .crumb a:hover { background-size: 100% 1px; }
  /* éclair qui apparaît dans les boutons S'inscrire */
  .btn-go::before { content: ""; width: 0; height: 18px; margin-right: -10px; background: url("../logo/eclair.svg") center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(12%); transition: width .25s var(--ease), margin .25s var(--ease); }
  .btn-go:hover::before { width: 9px; margin-right: 0; }
  .btn-go .ico { transition: transform .25s var(--ease); }
  .btn-go:hover .ico { transform: translateX(3px); }

  /* 6 · menu mobile plein écran */
  @media (max-width: 1040px) {
    .nav-links { position: fixed !important; top: 70px !important; left: 0; right: 0; bottom: 0; max-height: none !important; height: calc(100dvh - 70px);
      padding: 28px var(--gutter) 120px !important; background: var(--bg) !important; border: 0 !important; gap: 0 !important; overflow-y: auto;
      transform: translateY(-12px); }
    .nav-links.open { background: var(--bg) url("../logo/eclair.svg") right var(--gutter) bottom 32px / 40px 104px no-repeat !important; }
    .nav-links > a, .nav-links .nav-parent { font-family: var(--display) !important; font-weight: 700; font-size: clamp(24px, 6.4vw, 38px) !important; color: var(--text) !important; padding: 14px 0 !important; line-height: 1.05; border-top: 1px solid var(--line-2); }
    .nav-links .nav-item:first-child .nav-parent { border-top: 0; }
    .nav-drop { border-left: 0 !important; padding: 0 0 14px !important; margin: 0 !important; }
    .nav-drop a { font-size: 14px !important; padding: 7px 0 !important; color: var(--muted) !important; }
    .nav-drop a:hover { color: var(--accent) !important; }
    .nav-drop.mega .mega-head { color: var(--accent) !important; font-size: 11px !important; padding: 12px 0 4px !important; }
  }
  @media (max-width: 520px) { .nav-links { top: 64px !important; height: calc(100dvh - 64px); } }
  .h-hero.cut .inner { padding-bottom: calc(clamp(32px, 6vh, 72px) + 4.5vw); }
  .page-hero.cut { padding-bottom: calc(clamp(40px, 6vw, 80px) + 4.5vw); }
  /* fiches parcours : le badge orange devient le coin haut-gauche du cadre,
     le coin blanc bas-droit lui répond en diagonale (comme le picto) */
  .course-img.brk-in::before { display: none !important; }
  .course-img .course-dist { top: 20px; left: 20px; z-index: 4; }
  .course-img.brk-in::after { inset: auto 20px 20px auto; width: 40px; height: 40px; }

  /* raccourcis du double menu, en tête du menu mobile */
  .nav-quick { display: none; }
  @media (max-width: 1040px) {
    .nav-links .nav-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-bottom: 22px; }
    .nav-links .nav-quick a { display: block; padding: 12px 14px !important; border: 1px solid var(--line-2); border-top: 1px solid var(--line-2) !important;
      font-family: var(--display) !important; font-weight: 700; font-size: 11px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--text) !important; line-height: 1.2; }
    .nav-links .nav-quick a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
    .nav-links .nav-quick a:hover { border-color: var(--accent); }
  }

  /* sur-titre des en-têtes de page (fait écho au menu) */
  .page-kicker { display: inline-block; margin-bottom: 20px; font-size: 13px; letter-spacing: .14em; }
  .page-kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--accent); vertical-align: 1px; }
  .page-hero.has-img .page-kicker { text-shadow: 0 1px 14px rgba(0,0,0,.7); }

  /* point final des titres : un carré orange (dans la DA, comme les repères) */
  .sq { display: inline-block; width: .19em; height: .19em; margin-left: .07em; background: var(--accent);
    color: transparent; overflow: hidden; line-height: 0; vertical-align: baseline; }

  /* logo d'en-tête : un peu plus compact que la version footer */
  .nav .brand-logo { height: 46px; width: auto; }
  header.nav > .wrap { padding-inline: clamp(20px, 3vw, 40px); }
  /* barre d'accès rapide : même gouttière droite que l'en-tête pour que le
     sélecteur de langue (FR · EN · DE) s'aligne sur le bord droit du bouton S'inscrire */
  .topbar > .wrap { padding-right: clamp(20px, 3vw, 40px); }
  @media (max-width: 520px) {
    .nav .brand-logo { height: 36px; }
  }

  /* bouton S'inscrire de l'en-tête : même hauteur que l'éclair (le « N ») du logo, haut et bas alignés */
  .nav-cta .btn-primary { height: calc(46px * 920 / 940); padding: 0 22px; line-height: 1; }
  @media (max-width: 520px) { .nav-cta .btn-primary { height: calc(36px * 920 / 940); padding: 0 14px; font-size: 12px; } }
  /* boutons de la vidéo d'accueil : même dimension que le bouton de l'en-tête */
  .h-hero .actions .btn { height: calc(46px * 920 / 940); padding: 0 22px; line-height: 1; }
  .h-hero .actions .btn-ghost { padding: 0; }
  @media (max-width: 520px) { .h-hero .actions .btn { height: calc(36px * 920 / 940); padding: 0 14px; font-size: 12px; } .h-hero .actions .btn-ghost { padding: 0; } }

  /* manifeste sur téléphone : l'éclair entier, sous le texte, à droite (comme sur ordinateur) */
  @media (max-width: 700px) {
    .h-manifeste { padding-block: 72px; }
    .h-manifeste p { font-size: clamp(21px, 6vw, 30px); max-width: calc(100% - 84px); }
    .h-manifeste .bolt { top: 50%; bottom: auto; right: var(--gutter); transform: translateY(-50%); height: calc(100% - 110px); opacity: 1; }
  }

  /* confort : cibles tactiles assez grandes et ancres qui ne passent pas sous l'en-tête */
  .sec-top a { display: inline-block; padding-block: 12px; }
  [id] { scroll-margin-top: 110px; }
  @media (max-width: 1040px) { [id] { scroll-margin-top: 80px; } }

/* =====================================================================
   HIÉRARCHIE, TÉMOIGNAGES, MOBILE (01/10/2026)
   ===================================================================== */
  /* sections numérotées de l'accueil : sur-titre 01, 02… + grand titre de même taille partout */
  .idx { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .idx b { color: var(--accent); }
  .idx b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; background: var(--accent); vertical-align: middle; }
  .sec-top { align-items: flex-end; }
  .sec-top h2, .h-event h2 { font-size: clamp(34px, 5vw, 80px); line-height: .98; }
  .h-event h2 { margin-top: 0; }
  /* « Les courses*** » : le titre le plus fort de la page, les chiffres passent en contour */
  .sec-top.lead { padding-bottom: clamp(28px, 3vw, 44px); }
  .sec-top.lead h2 { font-size: clamp(52px, 10.5vw, 176px); line-height: .86; letter-spacing: -.02em; }
  .sec-top.lead h2 em { font-size: .42em; vertical-align: top; margin-left: .06em; }
  .h-race .num { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); font-size: clamp(80px, 11vw, 190px); }
  .h-race .num small { color: var(--text); -webkit-text-stroke: 0; }
  .h-race .num .star { -webkit-text-stroke: 0; }
  .h-race:hover .num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
  .h-race .new { display: inline-block; margin-bottom: 14px; padding: 5px 9px; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

  /* témoignages : une grande citation entre les crochets du picto, puis les autres en colonnes */
  .h-voices { padding-block: clamp(96px, 12vw, 170px); }
  .h-voices .sec-top { border-bottom: 0; padding-bottom: 0; }
  .v-lead { margin: clamp(44px, 6vw, 80px) 0 0; padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); width: fit-content; max-width: 1180px; }
  .v-lead.brk::before, .v-lead.brk::after { width: clamp(28px, 3vw, 48px); height: clamp(28px, 3vw, 48px); }
  .v-lead blockquote { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3.8vw, 60px); line-height: 1.05; }
  .v-by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 22px; font-size: 15px; color: var(--muted); }
  .v-by b { color: var(--text); font-weight: 700; }
  .v-by .d { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--accent); }
  .v-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; margin-top: clamp(48px, 6vw, 88px); }
  .v-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-card { position: relative; margin: 0; padding-top: 26px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: space-between; }
  .v-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--accent); }
  .v-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
  .v-card blockquote::before { content: "«"; display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: .8; color: var(--accent); }
  .v-card .v-by { margin-top: 18px; font-size: 14px; }
  .v-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-2); }
  .v-foot p { margin: 0; font-size: 17px; max-width: 52ch; }
  .v-foot p b { color: var(--accent); }
  @media (max-width: 1040px) { .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* page Courses : retours de coureurs sous chaque format */
  .c-voices { margin-top: clamp(40px, 5vw, 64px); }
  .c-voices .v-grid { margin-top: 0; }
  .c-voices .c-lab, .c-new .c-lab { display: block; margin-bottom: 22px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .c-new { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); }
  .c-new .c-lab { margin-bottom: 10px; color: var(--accent); }
  .c-new p { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2vw, 28px); line-height: 1.15; max-width: 30ch; }

  /* citation courte dans un en-tête de section */
  .q-inline { margin: 26px 0 0; padding-left: 18px; border-left: 3px solid var(--accent); max-width: 52ch; }
  .q-inline blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
  .q-inline .v-by { margin-top: 10px; font-size: 14px; }
  .val .q { display: block; margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--text); }
  .val .q cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); }

  /* liste par course (ravitaillements…) */
  .by-race { display: block; }
  .by-race b { color: var(--accent); font-family: var(--display); font-weight: 700; font-size: .86em; letter-spacing: .02em; }

  /* ============ MOBILE : moins de listes, plus de rythme ============ */
  @media (max-width: 700px) {
    /* cartes qui défilent à l'horizontale, la suivante dépasse pour inviter à glisser */
    .swipe { display: flex !important; gap: 16px !important; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
      margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .swipe::-webkit-scrollbar { display: none; }
    .swipe > * { flex: 0 0 80%; scroll-snap-align: start; }
    .swipe-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .swipe-hint::after { content: ""; width: 34px; height: 1px; background: var(--accent); }

    /* étapes numérotées → frise verticale, numéro à gauche */
    .icard-grid.steps { gap: 0; }
    .steps .icard { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; border-top: 0; padding: 0 0 30px; }
    .steps .icard::before { content: "0" counter(step); position: static; grid-row: 1 / span 3; width: auto; height: auto; background: none;
      font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--accent); }
    .steps .icard:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: 10px; width: 1px; background: var(--line-2); }
    .steps .icard > * { grid-column: 2; }
    .steps .icard h3::before { display: none; }

    /* témoignages */
    .v-lead { padding: 26px 22px; }
    .h-voices .v-grid { margin-top: 40px; }
    .v-foot .btn { width: 100%; justify-content: center; }
  }
  .swipe-hint { display: none; }
  @media (max-width: 700px) { .swipe-hint { display: flex; } }

  /* liens dans le texte */
  .ln { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .ln:hover { color: var(--text); }
  .h-news .row h3 a:hover, .h-news .row > a:hover { color: var(--accent); }
  .by-race + .by-race { margin-top: 6px; }

  /* courses de l'accueil sur tablette / téléphone : le chiffre s'incruste dans la photo */
  @media (max-width: 860px) {
    .h-race { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .h-race .ph { grid-area: 1 / 1; order: 0; position: relative; aspect-ratio: 4/3; }
    .h-race .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35,35,35,.85) 0%, rgba(35,35,35,0) 55%); }
    .h-race .num { grid-area: 1 / 1; align-self: end; z-index: 2; padding: 0 0 16px 16px; color: var(--text); -webkit-text-stroke: 0; font-size: clamp(84px, 24vw, 150px); }
    .h-race .info { grid-area: 2 / 1; }
    /* toutes les photos de courses à la même hauteur (ratio uniforme) */
  }
  /* un seul bouton plein par groupe : la trace passe en contour à côté de S'inscrire */
  .btn-go + .btn-gpx { background: none; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
  .btn-go + .btn-gpx:hover { background: var(--text); color: var(--bg); }

/* =====================================================================
   RETOURS DU 01/10/2026
   ===================================================================== */
  /* tous les boutons S'inscrire à la taille de celui de l'en-tête */
  .btn-go, .btn-go + .btn-gpx { height: calc(46px * 920 / 940); padding: 0 22px; font-size: 13px; line-height: 1; }
  @media (max-width: 520px) { .btn-go, .btn-go + .btn-gpx { height: calc(36px * 920 / 940); padding: 0 14px; font-size: 12px; } }
  @media (max-width: 700px) { .v-foot .btn { width: auto; } }

  /* page Courses : la distance en grand titre de chaque partie, une seule fois */
  .c-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end;
    padding-bottom: clamp(28px, 3vw, 40px); margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-2); }
  .c-num { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(96px, 14vw, 230px); line-height: .8; letter-spacing: -.03em; }
  .c-num small { font-size: .28em; letter-spacing: 0; vertical-align: top; margin-left: .08em; }
  .c-num .star { color: var(--accent); font-size: .28em; vertical-align: top; }
  .c-intro p { margin: 0 0 22px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 46ch; }
  .c-intro .facts { display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); color: var(--accent); }
  .c-intro .facts span { display: block; margin-bottom: 4px; font-family: var(--font); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
  .course-body { padding-top: 0; }
  .course-img.brk-in::before { display: block !important; top: 20px; left: 20px; width: 40px; height: 40px; }
  @media (max-width: 860px) { .c-head { grid-template-columns: minmax(0, 1fr); } .c-intro .facts { gap: 28px; } }

  /* citations de la page Événement : plus légères */
  .val .q { margin-top: 16px; padding-left: 12px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); }
  .val .q cite { font-size: 12px; }
  .foot-bottom span a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } .foot-bottom span a:hover { color: var(--accent); }

/* =====================================================================
   SEO (01/10/2026)
   ===================================================================== */
  /* sur-titre intégré au H1 : même rendu qu'avant */
  h1 .page-kicker { display: block; width: fit-content; line-height: 1.2; letter-spacing: .14em; }
  /* lien d'évitement clavier */
  .skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 700; font-size: 13px; }
  .skip:focus { top: 12px; }
  .c-num small, .h-race .num small { margin-left: 0; }
  /* accueil : l'essentiel en une fiche */
  .h-facts { border-bottom: 1px solid var(--line-2); padding-block: clamp(40px, 5vw, 64px); }
  .facts-title { margin: 0 0 24px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .facts-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
  .facts-grid > div { border-top: 1px solid var(--line-2); padding-top: 16px; }
  .facts-grid dt { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .facts-grid dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }
  .facts-grid dd span { display: block; margin-top: 6px; font-family: var(--font); font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
  @media (max-width: 1100px) { .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; } }

  /* page Courses : tableau comparatif */
  .cmp-wrap { margin-top: clamp(32px, 4vw, 52px); overflow-x: auto; }
  .cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
  .cmp caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-top: 1px solid var(--line-2); }
  .cmp thead th, .cmp thead td { border-top: 0; padding-bottom: 18px; }
  .cmp thead th { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 38px); line-height: 1; }
  .cmp thead th a:hover { color: var(--accent); }
  .cmp tbody th { width: 20%; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 19px; }
  .cmp tbody tr:nth-child(-n+3) td { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--accent); }
  .cmp tbody td { color: rgba(255,255,255,.86); line-height: 1.5; }
  .cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 1px solid var(--line-2); }
  @media (max-width: 700px) { .cmp tbody th { position: sticky; left: 0; background: var(--bg); } }
  :where(img[width][height]) { height: auto; }
  picture { display: contents; }
  .foot-col .foot-h { font-family: var(--display); line-height: 1.1; }
  @media (max-width: 640px) { .sec-top { align-items: flex-start; } }
  .cmp-wrap { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
  @media (max-width: 520px) { .page-hero h1.h1-long { font-size: 9.4vw; } }
  picture > source { display: none; }
  /* lien souligné à côté d'un bouton plein : même hauteur, soulignement aligné sur le bas du bouton */
  .btn-go ~ .btn-ghost, .btn-primary ~ .btn-ghost { height: calc(46px * 920 / 940); padding: 0; line-height: 1; box-sizing: border-box; align-self: center; }
  @media (max-width: 520px) { .btn-go ~ .btn-ghost, .btn-primary ~ .btn-ghost { height: calc(36px * 920 / 940); } }
  /* en-tête empilé : photo en bandeau, texte dessous (quand le texte couvrirait des visages) */
  .page-hero.ph-stack { --ph-h: clamp(300px, 60vh, 640px); display: block; min-height: 0; padding-top: 0; }
  .page-hero.ph-stack .ph-bg { position: relative; inset: auto; display: block; width: 100%; height: var(--ph-h); }
  .page-hero.ph-stack::after { background: linear-gradient(180deg, rgba(35,35,35,.25) 0, rgba(35,35,35,0) calc(var(--ph-h) * .45), var(--bg) var(--ph-h), var(--bg) 100%); }
  .page-hero.ph-stack .wrap { position: relative; z-index: 2; margin-top: calc(clamp(36px, 5vw, 80px) * -1); }

/* =====================================================================
   RETOURS DU 01/10/2026 (2)
   ===================================================================== */
  /* rythme vertical de l'accueil : même espace entre un filet et le sur-titre de la section suivante */
  :root { --sec-gap: clamp(72px, 9vw, 128px); }
  .h-courses { padding-top: var(--sec-gap); padding-bottom: 0; }
  .h-voices { padding-block: var(--sec-gap); }
  /* liste de la section 03 : plus de numéros (ils se confondaient avec « 03 »), un repère carré orange */
  .h-list a { grid-template-columns: 1fr auto; }
  .h-list h3::before { content: ""; display: inline-block; width: .32em; height: .32em; margin-right: .5em; background: var(--accent); vertical-align: .18em; }
  @media (max-width: 360px) {
    .count-units .cu { padding: 10px 7px; } .count-units .cu.brk { padding: 10px 10px 10px 9px; margin-right: 2px; }
    .cu .cn { font-size: 25px; } .cu .cl { font-size: 9px; letter-spacing: .04em; }
  }
  /* accueil : les 5 titres de section à la même taille (« Les courses » compris) */
  .sec-top.lead h2 { font-size: clamp(34px, 5vw, 80px); line-height: .98; letter-spacing: 0; }
  .sec-top.lead { padding-bottom: 28px; }
  @media (max-width: 640px) { .idx { font-size: 10px; gap: 10px; margin-bottom: 14px; } .idx b::after { width: 20px; margin-left: 10px; } }
  /* bloc « Nous suivre » (Communauté) : les 4 réseaux en 2 colonnes */
  .follow-links { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .follow-links a { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
  .follow-links a::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
  .follow-links a:hover { color: var(--accent); }
  a.card-cta { color: var(--accent); }
  a.card-cta:hover { color: var(--text); }
  .follow-links li { padding-left: 0; margin: 0; }
  .follow-links li::before { display: none !important; }
  .icard ul.follow-links { padding: 0; margin: 4px 0 18px; }
  .icard ul.follow-links li { padding-left: 0; }
  /* section Contact (Communauté) */
  .contact-big { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.15; color: var(--accent); overflow-wrap: anywhere; }
  .contact-big:hover { color: var(--text); }
  .contact-big { font-family: var(--font); letter-spacing: 0; }
  .icard.has-link .follow-links a, .icard.has-link a.card-cta, .icard.has-link p span { position: relative; z-index: 2; }
  /* témoignages : « Prénom I. | S* », barre orange entre le nom et le format */
  .v-by .d::before, .q cite .d::before { content: "|"; display: inline-block; margin-right: 10px; color: var(--accent); font-family: var(--font); font-weight: 700; font-size: 1.15em; line-height: 1; }
  .v-by { gap: 6px 10px; }
  .q cite .d { color: inherit; }
  .q cite .d::before { margin-left: 6px; }
  /* citations courtes dans les blocs d'infos, la FAQ et les cartes */
  .icard .q, .faq-item .q { display: block; margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--accent); font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); }
  .icard .q cite, .faq-item .q cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted); }
  @media (max-width: 700px) { .tl-tag { font-size: 10px; padding: 4px 8px; letter-spacing: .04em; margin-top: 4px; } }

  /* ===== Recherche globale - ajout 03/10/2026 ===== */
  /* Bouton loupe dans le menu (présent sur toutes les pages) */
  .nav-search-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0;
    background: none; border: 1px solid var(--line-2); color: var(--muted);
    cursor: pointer; transition: color .15s, border-color .15s;
  }
  .nav-search-btn:hover { color: var(--text); border-color: var(--accent); }
  .nav-search-btn svg { width: 19px; height: 19px; }

  /* Panneau de recherche plein écran */
  html.search-open { overflow: hidden; }
  .search-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: center; align-items: flex-start; }
  .search-overlay[hidden] { display: none; }
  .search-backdrop { position: absolute; inset: 0; background: rgba(15,15,15,.78); backdrop-filter: blur(2px); }
  .search-panel {
    position: relative; width: min(680px, 92vw); margin-top: 11vh;
    background: var(--surface); border: 1px solid var(--line-2);
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    max-height: 78vh; display: flex; flex-direction: column;
  }
  .search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
  .search-bar:focus-within { border-bottom-color: var(--accent); }
  .search-bar .search-ico { width: 22px; height: 22px; color: var(--accent); flex: none; }
  .search-field {
    flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: var(--text);
    font-family: var(--font); font-size: 18px; padding: 6px 0;
  }
  .search-field::placeholder { color: var(--muted); }
  .search-field:focus { outline: none; }
  .search-field::-webkit-search-cancel-button { -webkit-appearance: none; }
  .search-close {
    flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line-2); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s;
  }
  .search-close:hover { color: var(--text); border-color: var(--accent); }
  .search-close svg { width: 18px; height: 18px; }

  .search-results { overflow-y: auto; }
  .search-hit { display: block; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
  .search-hit:last-child { border-bottom: 0; }
  .search-hit:hover, .search-hit.is-active { background: var(--surface-2); }
  .search-hit-t { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; }
  .search-hit-s { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
  .search-hit mark, .search-hit-t mark { background: rgba(237,95,62,.26); color: var(--text); padding: 0 1px; }

  .search-hint, .search-empty { color: var(--muted); font-size: 13.5px; padding: 16px 18px; margin: 0; }
  .search-empty { color: var(--text); }

  @media (max-width: 640px) {
    .search-panel { margin-top: 0; width: 100vw; height: 100%; max-height: none; border: 0; }
    .search-field { font-size: 16px; }
  }

  /* ===== LIGHT ON TRI - ajouts refonte (07/10/2026) ===== */
  .h-band > picture, .h-band > picture > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }

  /* Hero vidéo (ajout 11/10/2026) : autoplay muette en boucle (.h-hero > video déjà stylée plus haut), poster + repli photo statique si prefers-reduced-motion */
  .h-hero > picture, .h-hero > picture > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  /* Quand une vidéo est présente, la <picture> reste dans le DOM (repli reduced-motion / poster) mais masquée par défaut */
  .h-hero.has-video > picture { display: none; }
  @media (prefers-reduced-motion: reduce) {
    .h-hero > video { display: none; }
    .h-hero.has-video > picture { display: block; }
  }

  /* CTA « S'inscrire » désactivé tant que le lien réel n'est pas fourni (décision Julien) */
  .btn.is-disabled {
    pointer-events: none; cursor: default;
    opacity: .5; filter: grayscale(.4);
  }
  .btn.is-disabled:hover { transform: none; }
  .btn-soon-note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

  /* Cartes événements de la saison (accueil) : réutilise la structure .h-race */
  .h-race .info h3 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); margin: 0 0 10px; line-height: 1.05; }
  .h-race .info .ev-date { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

  /* Sélecteur de format (comparateur S/M/L/Kids) */
  .fmt-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
  .fmt-switch a, .fmt-switch button { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 10px 18px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s, border-color .2s, color .2s; }
  .fmt-switch a:hover, .fmt-switch button:hover { border-color: var(--accent); }
  .fmt-switch a.is-active, .fmt-switch button.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

  /* Cartes comparatives de formats */
  .fmt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
  .fmt-card { background: var(--bg); padding: clamp(24px, 3vw, 36px); }
  .fmt-card .fc-star { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); color: var(--accent); margin: 0 0 4px; }
  .fmt-card .fc-name { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
  .fmt-card dl { margin: 0; display: grid; gap: 14px; }
  .fmt-card dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  .fmt-card dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 16px; }

  /* Bandeau d'information/avertissement (ex : horaires non confirmés) */
  .notice-band { background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); padding: 18px 22px; margin: 0 0 40px; font-size: 14.5px; color: var(--muted); }
  .notice-band b { color: var(--text); }

  /* Étiquette « bientôt » sur les CTA désactivés - mise à jour en direct par site.js (compte à rebours ouverture inscriptions) */
  .soon-tag { display: inline-block; margin-left: 10px; padding: 4px 9px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); font-family: var(--display); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }

  /* Compte à rebours ouverture des inscriptions (bloc CTA final de l'accueil) - ajout 11/10/2026 */
  .reg-countdown { margin: 18px 0 26px; }
  .reg-countdown .reg-msg { font-family: var(--display); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
  .reg-countdown .count-units { gap: 10px; }
  .reg-countdown .cu { min-width: 58px; padding: 10px 8px; }
  .reg-countdown .cu .cn { font-size: clamp(20px, 2.4vw, 26px); }
  .reg-countdown .cu .cl { font-size: 10px; }
  @media (prefers-reduced-motion: reduce) { .search-backdrop { backdrop-filter: none; } }

/* ============ ROUTE EMBED (OpenRunner) - natation, vélo, course à pied côte à côte ============ */
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.route-embed { margin: 0; min-width: 0; }
.route-embed .route-h { font-size: 20px; margin: 0 0 16px; padding-top: 16px; border-top: 1px solid var(--line); position: relative; }
.route-embed .route-h::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.route-embed iframe { width: 100%; height: 520px; border: 0; border-radius: 0; display: block; background: var(--surface); filter: grayscale(0.45) saturate(0.8) brightness(1.14) contrast(0.9) sepia(0.06); }
.route-embed figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .route-grid { grid-template-columns: 1fr; gap: 40px; } .route-embed iframe { height: 464px; } }

/* ============ REFONTE ARBORESCENCE ( 11/10/2026) : 3 lieux + Rejoindre l'aventure ============ */
/* Menu : étoiles des lieux, carte info texte (pas de photo : aucune photo en double sur le site) */
.nav-parent .st { color: var(--accent); font-size: .8em; margin-left: 1px; vertical-align: top; }
.nav-drop.mega .mega-info { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 216px; margin-left: 4px; padding: 18px 16px; background: var(--surface-2); border-left: 2px solid var(--accent); text-decoration: none; }
.nav-drop.mega .mega-info .mi-k { font-family: var(--display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nav-drop.mega .mega-info .mi-t { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; text-transform: uppercase; color: var(--text); }
.nav-drop.mega .mega-info .mi-t em { font-style: normal; color: var(--accent); font-size: .6em; vertical-align: top; }
.nav-drop.mega .mega-info .mi-p { font-size: 13px; color: var(--muted); }
.nav-drop.mega .mega-info .mi-go { margin-top: 10px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.nav-drop.mega .mega-info:hover .mi-go { color: var(--accent); }
@media (max-width: 1100px) { .nav-drop.mega .mega-info { display: none; } }

/* Accueil : les 3 lieux dans le hero */
.hero-evs { list-style: none; margin: 0; padding: 18px 22px; display: grid; gap: 10px; }
.hero-evs a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; text-decoration: none; color: var(--text); }
.hero-evs b { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); text-transform: uppercase; }
.hero-evs b em { font-style: normal; color: var(--accent); font-size: .7em; vertical-align: top; }
.hero-evs span { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hero-evs a:hover b { color: var(--accent); }

/* Accueil : une ligne par lieu */
.ev-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line-2); }
.ev-row:nth-of-type(even) .ev-ph { order: 2; }
.ev-ph { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.ev-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-ph:hover img { transform: scale(1.04); }
.ev-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35,35,35,.75) 0%, rgba(35,35,35,0) 50%); }
.ev-big { position: absolute; left: 20px; bottom: 14px; z-index: 1; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 108px); line-height: .85; letter-spacing: -.02em; color: var(--text); }
.ev-big small { display: block; font-size: .3em; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.ev-idx { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.ev-date { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-name { margin: 8px 0 6px; font-size: clamp(44px, 6.4vw, 104px); line-height: .9; letter-spacing: -.02em; }
.ev-name a { color: var(--text); text-decoration: none; }
.ev-name em { font-style: normal; color: var(--accent); font-size: .42em; vertical-align: top; margin-left: .04em; }
.ev-name a:hover { color: var(--accent); }
.ev-name a:hover em { color: var(--text); }
.ev-place { margin: 0 0 18px; font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.ev-txt { margin: 0 0 22px; color: rgba(255,255,255,.82); max-width: 46ch; font-size: 17px; line-height: 1.6; }
.ev-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chips li { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--line-2); min-width: 84px; }
.ev-chips b { font-family: var(--display); font-size: 15px; }
.ev-chips span { font-size: 12px; color: var(--muted); }
.ev-row .hero-actions { align-items: center; gap: 14px 28px; }
.ev-more { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .ev-row { grid-template-columns: minmax(0, 1fr); }
  .ev-row:nth-of-type(even) .ev-ph { order: 0; }
  .ev-idx { display: none; }
}

/* Accueil : qui court où */
.matrix { min-width: 720px; }
.matrix thead th a { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); text-transform: uppercase; color: var(--text); text-decoration: none; }
.matrix thead th em { font-style: normal; color: var(--accent); font-size: .65em; vertical-align: top; }
.matrix thead th span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.matrix tbody th b { display: block; font-family: var(--display); font-size: 20px; }
.matrix tbody th span { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--muted); }
.matrix td a { color: var(--text); text-decoration: none; font-weight: 500; }
.matrix td a:hover { color: var(--accent); }
.matrix td small { display: block; font-size: 12px; color: var(--muted); }
.matrix td.no { color: var(--faint); }

/* Packs */
.packs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); padding: clamp(28px, 4vw, 56px); background: var(--surface); border-top: 2px solid var(--accent); }
.packs .h-sec { margin: 10px 0 18px; }
.packs-txt p { margin: 0 0 12px; color: rgba(255,255,255,.82); max-width: 48ch; }
.packs-txt .packs-note { font-size: 14px; color: var(--muted); }
.packs-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: center; }
.pack { padding: 22px 20px; border: 1px solid var(--line-2); }
.pack.hot { border-color: var(--accent); }
.pack-k { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pack-v { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: clamp(56px, 6vw, 88px); line-height: .9; color: var(--accent); }
.pack-v small { font-size: .45em; vertical-align: top; }
.pack-d { font-size: 13px; color: var(--muted); }
.packs-cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding-top: 22px; }
.packs-cal a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.packs-cal b { font-family: var(--display); font-size: clamp(15px, 1.5vw, 20px); text-transform: uppercase; }
.packs-cal b em { font-style: normal; color: var(--accent); font-size: .7em; vertical-align: top; }
.packs-cal span { font-size: 13px; color: var(--muted); }
.packs-cal a:hover b { color: var(--accent); }
.packs .hero-actions { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) { .packs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .packs-cal { grid-template-columns: minmax(0, 1fr); } }

/* Pages courses : bandeau des 3 disciplines */
.disc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(32px, 4vw, 48px); background: var(--line-2); border-block: 1px solid var(--line-2); }
.disc-i { background: var(--bg); padding: 24px 24px 24px 0; }
.disc-i + .disc-i { padding-left: 24px; }
.disc-ico { display: inline-flex; width: 26px; height: 26px; color: var(--accent); vertical-align: middle; }
.disc-ico svg { width: 100%; height: 100%; }
.disc-l { margin-left: 10px; font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.disc-v { display: block; margin: 14px 0 8px; font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); line-height: 1; }
.disc-i p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.c-actions { margin-top: 28px; }
.course-sec + .course-sec { padding-top: 0; }
@media (max-width: 760px) {
  .disc { grid-template-columns: minmax(0, 1fr); }
  .disc-i, .disc-i + .disc-i { padding: 20px 0; }
}
.cmp td b { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.cmp-more { margin: 22px 0 0; color: var(--muted); }

/* Et aussi : enfants et RUN */
.xgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 3vw, 40px); }
.xgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xcard { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--line-2); position: relative; }
.xcard::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.x-when { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.xcard h3 { margin: 10px 0 4px; font-size: clamp(30px, 3vw, 42px); }
.xcard h3 em { font-style: normal; color: var(--accent); font-size: .6em; vertical-align: top; }
.x-kind { font-size: 13px; color: var(--muted); }
.x-dist { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 14px; }
.x-d { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.x-d .disc-ico { width: 22px; height: 22px; }
.xcard > p { margin: 0 0 12px; color: rgba(255,255,255,.82); }
.xcard .x-meta { font-size: 14px; color: var(--muted); }
.xcard .q-inline { margin: 4px 0 18px; }
.xcard .btn { align-self: flex-start; margin-top: auto; }
.s-card { display: flex; flex-direction: column; }
.s-card .go, .join-grid .go, .social-grid .go { margin-top: auto; padding-top: 14px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.join-grid .icard, .social-grid .icard { display: flex; flex-direction: column; }
.btn.btn-sm { padding: 12px 18px; font-size: 12px; }
.fine { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 70ch; }
@media (max-width: 960px) { .xgrid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .xgrid, .xgrid.three { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Accueil : liste d'inscription par lieu */
.reg-list { display: grid; gap: 0; margin-top: 28px; max-width: 640px; border-top: 1px solid var(--line-2); }
.reg-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.reg-row > a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.reg-row b { font-family: var(--display); font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; }
.reg-row b em { font-style: normal; color: var(--accent); font-size: .65em; vertical-align: top; }
.reg-row span { font-size: 13px; color: var(--muted); }
.reg-row > a:hover b { color: var(--accent); }
@media (max-width: 520px) { .reg-row { flex-direction: column; align-items: flex-start; } }

/* Premier triathlon : le sac */
.checklist { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.checklist li::before { content: ""; grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--accent); }
.checklist b { font-family: var(--display); font-size: 16px; text-transform: uppercase; }
.checklist span { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 700px) { .checklist { grid-template-columns: minmax(0, 1fr); } }

/* Rejoindre : photo + contenu */
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 3vw, 40px); }
.split-ph { aspect-ratio: 4/5; overflow: hidden; }
.split-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split-ph { aspect-ratio: 16/10; } }

.photo-strip.three { grid-template-columns: repeat(3, 1fr); }
.photo-strip.three figure { aspect-ratio: 4/5; }
@media (max-width: 860px) { .photo-strip.three { grid-template-columns: repeat(2, 1fr); } .photo-strip.three figure:last-child { grid-column: 1 / -1; aspect-ratio: 16/9; } }
.wide-sep .wide-photo { margin: 0 0 clamp(56px, 7vw, 96px); }
.matrix-sec .cmp-wrap { margin-top: 28px; }
.packs .h-sec { font-size: clamp(30px, 3.6vw, 56px); }
.reg-row .soon-tag, .ev-row .soon-tag, .xcard .soon-tag, .hero-evs + .soon-tag { display: none; }
.ev-name { font-size: clamp(40px, 4.8vw, 84px); white-space: nowrap; }
@media (max-width: 520px) { .ev-name { white-space: normal; } }
/* Les menus des derniers onglets s'ouvrent vers la gauche (pas de débordement horizontal) */
@media (min-width: 1041px) {
  .nav-links > .nav-item:nth-child(n+2) .nav-drop.mega { left: auto; right: -14px; }
  .nav-links > .nav-item:last-child .nav-drop { left: auto; right: -14px; }
}
/* Tableaux à textes longs : seule la ligne « Départ » reste en titre orange */
.cmp.detail tbody tr:nth-child(-n+3) td, .cmp.matrix tbody tr:nth-child(-n+3) td { font-family: var(--font); font-weight: 400; font-size: 15px; color: rgba(255,255,255,.86); }
.cmp.detail tbody tr:first-child td { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--accent); }
.cmp.detail { min-width: 760px; }
.cmp.detail tbody th { width: 15%; }
.cmp.detail td b { color: var(--text); }
.cmp.matrix tbody td a { font-weight: 500; }
@media (max-width: 520px) {
  .btn .soon-tag { display: none; }
  .packs { padding: 24px 18px; }
  .packs-offers { gap: 8px; }
  .pack { padding: 16px 14px; }
}
/* Qui court où, sur mobile : une carte par course au lieu d'un tableau à faire défiler */
@media (max-width: 640px) {
  .matrix-sec .cmp-wrap { overflow: visible; }
  .matrix-sec .swipe-hint { display: none; }
  .cmp.matrix { min-width: 0; display: block; }
  .cmp.matrix thead { display: none; }
  .cmp.matrix tbody, .cmp.matrix tr { display: block; }
  .cmp.matrix tr { padding: 18px 0; border-top: 1px solid var(--line-2); }
  .cmp.matrix tbody th { position: static; display: flex; align-items: baseline; gap: 12px; width: auto; padding: 0 0 10px; border: 0; background: none; }
  .cmp.matrix tbody th span { margin: 0; }
  .cmp.matrix td { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border: 0; }
  .cmp.matrix td::before { content: attr(data-ev); font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--accent); }
  .cmp.matrix td a { text-align: right; }
  .cmp.matrix td.no { display: none; }
  .cmp.matrix tbody tr:last-child th, .cmp.matrix tbody tr:last-child td { border-bottom: 0; }
}
.packs-txt .packs-note { margin-top: 18px; padding: 12px 0 12px 16px; border-left: 3px solid var(--accent); font-size: 15px; color: rgba(255,255,255,.86); }
.packs-txt .packs-note b { color: var(--text); }
.packs-txt .packs-fine { font-size: 13.5px; color: var(--muted); }
.sub-h { margin: clamp(36px, 4vw, 52px) 0 0; font-size: clamp(20px, 2vw, 26px); }
.icard-grid.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
@media (max-width: 1100px) { .icard-grid.steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .icard-grid.steps.five { grid-template-columns: minmax(0, 1fr); } }
/* Bandeau orange : le mot mis en avant passe en blanc (orange sur orange = invisible) */
.cta-slim h2 em { color: var(--text); }
.cta-slim h2 .sq { color: var(--bg); }
/* SEO / GEO (11/10/2026) : phrase « En bref », équivalences discrètes, guide participant */
.ev-brief { margin: 0 0 28px; max-width: 80ch; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.86); }
.c-eq { margin: 10px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.btn.is-soon { cursor: default; color: var(--muted); border-color: var(--line-2); }
.h-hero h1 .page-kicker { display: block; margin-bottom: 14px; }

/* ============ RETOURS MAGALI 11/10/2026 : en-tête accueil, dates, taille de texte ============ */
.h-hero h1 .h-brand { display: block; white-space: nowrap; }
.h-hero h1 .h-places { display: block; font-size: .28em; letter-spacing: .04em; margin-top: .35em; color: var(--accent); }
.h-hero h1 .h-places i { font-style: normal; color: rgba(255,255,255,.55); margin: 0 .55em; font-weight: 400; }
@media (max-width: 600px) {
  .h-hero h1 { font-size: 13.5vw; }
  .h-hero h1 .h-brand { white-space: nowrap; }
  .h-hero h1 .h-places { font-size: .34em; }
  .h-hero h1 .h-places i { margin: 0 .35em; }
}
.ev-big { white-space: nowrap; font-size: clamp(48px, 6vw, 96px); line-height: .9; transition: color .3s; }
.ev-big .m { display: inline; font-size: 1em; color: transparent; -webkit-text-stroke: 1.5px var(--text); letter-spacing: .01em; transition: -webkit-text-stroke-color .3s; }
.ev-row:hover .ev-big { color: var(--accent); }
.ev-row:hover .ev-big .m { -webkit-text-stroke-color: var(--accent); }
@media (max-width: 520px) { .ev-big { font-size: 15vw; } .ev-big .m { -webkit-text-stroke-width: 1.2px; } }

/* Corps de texte un cran plus petit (ordinateur et mobile) */
.lede { font-size: clamp(15px, 1.2vw, 17px); }
.ev-txt, .c-intro p, .packs-txt p, .xcard > p { font-size: 15.5px; line-height: 1.6; }
.icard p, .icard ul li, .rows .icard p { font-size: 15px; line-height: 1.6; }
.disc-i p, .cmp tbody td, .cmp.detail tbody tr:nth-child(-n+3) td, .cmp.matrix tbody tr:nth-child(-n+3) td { font-size: 14.5px; }
.ev-brief { font-size: 15.5px; }
@media (max-width: 600px) {
  .lede, .ev-txt, .c-intro p, .packs-txt p, .xcard > p, .ev-brief { font-size: 15px; }
  .icard p, .icard ul li, .rows .icard p, .disc-i p { font-size: 14.5px; }
  .v-card blockquote, .q-inline blockquote { font-size: 16px; }
}
/* Courses d'un lieu sur l'accueil : horaire typographique en lignes fines, plus de boîtes */
.ev-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 480px; margin: 0 0 30px; border-bottom: 1px solid var(--line-2); }
.ev-chips li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border: 0; border-top: 1px solid var(--line-2); min-width: 0; }
.ev-chips b { font-size: 14px; letter-spacing: .02em; }
.ev-chips span { font-family: var(--display); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 420px) { .ev-chips { grid-template-columns: minmax(0, 1fr); } }
/* Dates : au survol, chiffres en contour orange et mois en orange plein */
.ev-row:hover .ev-big { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.ev-row:hover .ev-big .m { color: var(--accent); -webkit-text-stroke-color: transparent; }
.ev-big { transition: color .3s, -webkit-text-stroke-color .3s; }

/* ============ RETOURS MAGALI 11/10/2026 (2) : pictos, respiration photo, pages allégées ============ */
.lo-ico .brk-l, .lo-ico .brk-r { stroke: var(--accent); }
.disc-ico { width: 34px; height: 34px; color: var(--text); }
.x-d .disc-ico { width: 26px; height: 26px; }
.disc-l { margin-left: 8px; }
/* Photo pleine largeur entre deux sections */
.photo-break { margin-block: 0 clamp(64px, 8vw, 112px); }
.photo-break .wide-photo { margin: 0; aspect-ratio: 21/9; }
@media (max-width: 760px) { .photo-break .wide-photo { aspect-ratio: 4/3; } }
/* Photo + citation côte à côte */
.pq-wrap { margin-block: 0 clamp(64px, 8vw, 112px); }
.pq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pq-ph { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.pq-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pq-q { margin: 0; border-left: 3px solid var(--accent); padding-left: clamp(18px, 2.4vw, 32px); }
.pq-q blockquote { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.005em; }
.pq-q .v-by { margin-top: 18px; }
.pq-txt h3 { margin: 12px 0 14px; font-size: clamp(26px, 3vw, 44px); line-height: 1; }
.pq-txt p { margin: 0; color: rgba(255,255,255,.82); max-width: 44ch; font-size: 16px; line-height: 1.6; }
#village .pq { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .pq { grid-template-columns: minmax(0, 1fr); } .pq-ph { aspect-ratio: 4/3; } }
/* Comparatif allégé : valeurs courtes */
.cmp.lite { min-width: 560px; }
.cmp.lite td b { margin: 0; font-size: 18px; }
/* Packs en une ligne sur les pages lieux */
.packs-line { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; padding: 22px 26px; background: var(--surface); border-left: 3px solid var(--accent); text-decoration: none; color: var(--text); }
.pl-k { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pl-v { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--accent); }
.pl-v small { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-left: 4px; }
.pl-t { flex: 1 1 260px; font-size: 14.5px; color: var(--muted); }
.pl-go { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.packs-line:hover .pl-go { color: var(--accent); }
.c-new { margin-bottom: clamp(56px, 7vw, 96px); }
.pq-txt .c-lab { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ============ MENU MOBILE EN ACCORDÉON (11/10/2026) ============ */
.nav-acc { display: none; }
@media (max-width: 1040px) {
  .nav-links .nav-item { position: relative; }
  .nav-links > a, .nav-links .nav-parent { font-size: 20px !important; padding: 15px 48px 15px 0 !important; }
  .nav-links .nav-parent .st { font-size: .7em; }
  .nav-acc { display: flex; position: absolute; top: 6px; right: 0; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--text); cursor: pointer; }
  .nav-acc svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
  .nav-item.is-open > .nav-acc svg { transform: rotate(180deg); color: var(--accent); }
  .nav-links .nav-drop { display: none !important; }
  .nav-links .nav-item.is-open > .nav-drop { display: flex !important; }
  .nav-drop a { font-size: 13px !important; padding: 6px 0 !important; }
  .nav-drop.mega .mega-head { font-size: 10.5px !important; padding: 10px 0 2px !important; }
  .nav-quick a { font-size: 11px !important; }
}
@media (max-width: 1040px) {
  .nav-links .nav-quick { display: flex !important; flex-wrap: wrap; gap: 4px 18px !important; grid-template-columns: none !important; margin: 0 0 14px !important; padding: 0 0 14px !important; border-bottom: 1px solid var(--line-2); }
  .nav-links .nav-quick a { border: 0 !important; background: none !important; padding: 4px 0 !important; min-height: 0 !important; font-size: 11px !important; letter-spacing: .08em; color: var(--muted) !important; }
  .nav-links .nav-quick a::before { display: none !important; }
  .nav-links .nav-item:first-of-type .nav-parent { border-top: 0 !important; }
}
.tb-insta { display: inline-flex; align-items: center; gap: 6px; }
.tb-insta svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 1040px) {
  .nav-links .nav-quick { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 2px 18px !important; }
  .nav-links .nav-quick + .nav-item .nav-parent { border-top: 0 !important; }
}
.topbar-links a.tb-insta, .nav-links .nav-quick a.tb-insta { display: inline-flex !important; align-items: center; gap: 6px !important; }
.tb-insta svg { position: relative; top: -1px; }
/* Picto Instagram à gauche de la loupe (même gabarit) */
.nav-insta { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); color: var(--muted); transition: color .15s, border-color .15s; }
.nav-insta:hover { color: var(--text); border-color: var(--accent); }
.nav-insta svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .nav-cta { gap: 8px !important; } }
/* Raccourcis du menu mobile : 4 liens en 2 × 2 */
@media (max-width: 1040px) { .nav-links .nav-quick { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.nav-insta { box-sizing: border-box; width: 40px; height: 40px; flex: none; }
.nav-insta svg { width: 19px; height: 19px; }
