/* 初版 1c (2026-11-16) — menu icons ("Trait 24" icon standard) and the Stands venues block.
   Loaded after v1b-ui. Documented in docs/design-system.md §7.6, §8.2. */

/* ------------------------------------------------------------------ */
/* 1. Icons in the header dropdowns                                    */
/* ------------------------------------------------------------------ */
.bp-ico-stands { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cellipse cx=%2212%22 cy=%224.6%22 rx=%226%22 ry=%221.9%22/%3E%3Cpath d=%22M12 2.7V1.5%22/%3E%3Cpath d=%22M4.5 20.5v-9.5h15v9.5%22/%3E%3Cpath d=%22M2.5 20.5h19%22/%3E%3Cpath d=%22M9 20.5v-4.5h6v4.5%22/%3E%3C/svg%3E"); }
.bp-ico-evenements { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 20.5h19v-2.5h-19z%22/%3E%3Cpath d=%22M9 18V7h10.5v11%22/%3E%3Cpath d=%22M19.5 7l-2-1.3H7L9 7%22/%3E%3Cpath d=%22M5.2 18V4.2c1.7.7 2.4 2.8 2.4 6.3H5.2%22/%3E%3C/svg%3E"); }
.bp-ico-enseignes { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%228.5%22 width=%2219%22 height=%229%22 rx=%221.5%22/%3E%3Cpath d=%22M8.8 15l1.9-4.5 1.9 4.5M9.5 13.6h2.4%22/%3E%3Cpath d=%22M15 15v-4.5M17.5 15v-4.5%22/%3E%3Cpath d=%22M12 5.5V3.5M6.2 5.8 5 4.3M17.8 5.8 19 4.3%22/%3E%3Cpath d=%22M7 17.5v3M17 17.5v3%22/%3E%3C/svg%3E"); }
.bp-ico-boutiques { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 9.5 5 4.5h14l1.5 5%22/%3E%3Cpath d=%22M3.5 9.5c0 1.2.9 2 2.1 2s2.2-.8 2.2-2c0 1.2.9 2 2.1 2s2.1-.8 2.1-2c0 1.2.9 2 2.1 2s2.2-.8 2.2-2c0 1.2.9 2 2.1 2s2.1-.8 2.1-2%22/%3E%3Cpath d=%22M5 11.5v9h14v-9%22/%3E%3Cpath d=%22M14 20.5v-5.5h3v5.5%22/%3E%3Ccircle cx=%229%22 cy=%2215.5%22 r=%221.8%22/%3E%3C/svg%3E"); }
.bp-ico-adhesifs { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 3.5h15v10.5l-6 6.5h-9z%22/%3E%3Cpath d=%22M19.5 14h-4a2 2 0 0 0-2 2v4.5%22/%3E%3Ccircle cx=%229.5%22 cy=%229%22 r=%222.3%22/%3E%3C/svg%3E"); }
.bp-ico-baches { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%227%22 width=%2217%22 height=%2210%22 rx=%221%22/%3E%3Cpath d=%22M6 9.5h.01M18 9.5h.01M6 14.5h.01M18 14.5h.01%22/%3E%3Cpath d=%22M3.5 7 1.8 5M20.5 7l1.7-2M3.5 17l-1.7 2M20.5 17l1.7 2%22/%3E%3C/svg%3E"); }
.bp-ico-plume { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 6.5h11.5v13.5H4.5z%22/%3E%3Cpath d=%22M4.5 6.5 8 4h11.5L16 6.5%22/%3E%3Cpath d=%22M19.5 4v13.5L16 20%22/%3E%3Cpath d=%22M7.5 16.5 13 10%22/%3E%3C/svg%3E"); }
.bp-ico-photocalls { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%223.5%22 width=%2216%22 height=%2213.5%22 rx=%221%22/%3E%3Cpath d=%22M7 17v3.5M17 17v3.5M5 20.5h4M15 20.5h4%22/%3E%3Ccircle cx=%2212%22 cy=%229%22 r=%222%22/%3E%3Cpath d=%22M8.5 14c.5-1.6 1.9-2.4 3.5-2.4s3 .8 3.5 2.4%22/%3E%3C/svg%3E"); }
.bp-ico-rollup { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 3h8v14.5H8z%22/%3E%3Cpath d=%22M12 17.5v3%22/%3E%3Cpath d=%22M6 20.5h12%22/%3E%3Cpath d=%22M8 9.5c2.2 0 4 1.8 4 4%22/%3E%3Ccircle cx=%2213.2%22 cy=%226.6%22 r=%221.2%22/%3E%3C/svg%3E"); }
.bp-ico-murs { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 7.5h13.5v12H3.5z%22/%3E%3Cpath d=%22M3.5 7.5 6.5 5h14L17 7.5%22/%3E%3Cpath d=%22M20.5 5v12L17 19.5%22/%3E%3Cpath d=%22M3.5 14c2.5 0 4.5 2 4.5 5.5%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221.8%22/%3E%3C/svg%3E"); }
.bp-ico-caissons { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%226%22 width=%2214%22 height=%2212%22 rx=%221%22/%3E%3Crect x=%227.6%22 y=%228.6%22 width=%228.8%22 height=%226.8%22/%3E%3Cpath d=%22M12 3.5V2M12 22v-1.5M2 12h1M21 12h1M4.2 4.8l1 1M19.8 4.8l-1 1%22/%3E%3C/svg%3E"); }
.bp-ico-lettres { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6.5 20 12 6.5 17.5 20%22/%3E%3Cpath d=%22M8.6 15h6.8%22/%3E%3Cpath d=%22M12 3.5V2M5.8 5.6 4.7 4.5M18.2 5.6l1.1-1.1M3.5 10.5H2M22 10.5h-1.5%22/%3E%3C/svg%3E"); }
.bp-ico-tous { --bp-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%223.5%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%2213.5%22 y=%223.5%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%223.5%22 y=%2213.5%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%2213.5%22 y=%2213.5%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3C/svg%3E"); }
.bp-ico-stands { --bp-ico-color: #00AEEF; }
.bp-ico-evenements { --bp-ico-color: #EC008C; }
.bp-ico-enseignes { --bp-ico-color: #FFD600; }
.bp-ico-boutiques { --bp-ico-color: #00A651; }

.bp-header .wp-block-navigation__submenu-container .bp-ico > .wp-block-navigation-item__content {
  display: flex; align-items: center; gap: 12px; border-radius: 4px;
  transition: background .16s ease;
}
.bp-header .wp-block-navigation__submenu-container .bp-ico > .wp-block-navigation-item__content::before {
  content: ""; flex: none; width: 22px; height: 22px;
  background: var(--bp-ico-color, currentColor);
  -webkit-mask: var(--bp-ico) center / contain no-repeat; mask: var(--bp-ico) center / contain no-repeat;
}
.bp-header .wp-block-navigation__submenu-container .bp-ico > .wp-block-navigation-item__content:hover {
  background: rgba(247,246,242,.1); text-decoration: none;
}
.bp-header .wp-block-navigation__submenu-container .bp-nav-all {
  margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(247,246,242,.22);
}
/* Desktop dropdown: wide enough for one-line labels. The selector mirrors the WordPress core rule
   that sets min-width 200 px on the open submenu, one step more specific. */
@media (min-width: 1151px) {
  body .bp-header .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    width: max-content; min-width: 17.5rem; max-width: min(24rem, calc(100vw - 64px));
  }
}
@media (forced-colors: active) {
  .bp-header .wp-block-navigation__submenu-container .bp-ico > .wp-block-navigation-item__content::before { background: CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-header .wp-block-navigation__submenu-container .bp-ico > .wp-block-navigation-item__content { transition: none; }
}

/* ------------------------------------------------------------------ */
/* 2. Stands page — venues block (stylised map + list)                 */
/* ------------------------------------------------------------------ */
.bp-foundation-page .bp-foundation-body > .bp-foundation-section.bp-venues { --bp-band: var(--bp-white); }
.bp-main.bp-foundation-page .bp-foundation-content .bp-venues > h2 { grid-column: 1 / span 8; grid-row: auto; }
.bp-foundation-page .bp-venues > :not(h2) { grid-column: 1 / -1; max-width: none; }
.bp-foundation-page .bp-foundation-section.bp-venues > .bp-venues-lead {
  grid-column: 1 / span 8; max-width: 64ch; margin-block-start: 18px; font-size: 1.125rem; line-height: 1.55;
}
.bp-foundation-page .bp-venues > .bp-venues-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: stretch;
  margin-block-start: 36px;
}
.bp-venues-layout > * { margin: 0; min-width: 0; }
.bp-main .bp-venues-map { margin: 0; border: 1px solid var(--bp-line); border-radius: 6px; overflow: hidden; background: var(--bp-sage); }
.bp-main .bp-venues-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-venues-side { display: flex; flex-direction: column; gap: 22px; }
.bp-main .bp-venues-side > * { margin: 0; }
.bp-main ol.bp-venues-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: bp-venue; }
.bp-main .bp-venues-list > li {
  counter-increment: bp-venue; position: relative; margin: 0; padding: 14px 16px 14px 64px;
  background: var(--bp-paper); border: 1px solid var(--bp-line); border-radius: 6px; line-height: 1.45;
}
.bp-main .bp-venues-list > li::before {
  content: counter(bp-venue); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #00AEEF; color: var(--bp-ink); font-weight: 800; line-height: 1;
}
.bp-main .bp-venues-list > li:nth-child(2)::before { background: #EC008C; color: var(--bp-white); }
.bp-main .bp-venues-list > li:nth-child(3)::before { background: #FFD600; }
.bp-main .bp-venues-list > li strong { font-weight: 650; }
.bp-main ul.bp-venues-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-main .bp-venues-steps > li { position: relative; margin: 0; padding-left: 30px; }
.bp-main .bp-venues-steps > li::before {
  content: ""; position: absolute; left: 4px; top: .32em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--bp-green); border-bottom: 2.5px solid var(--bp-green); transform: rotate(-45deg);
}
.bp-main .bp-venues-side > .wp-block-buttons { margin-top: auto; padding-top: 6px; }
.bp-foundation-page .bp-venues > .bp-caption { margin-block-start: 12px; }
@media (max-width: 850px) {
  .bp-main.bp-foundation-page .bp-foundation-content .bp-venues > h2,
  .bp-foundation-page .bp-foundation-section.bp-venues > .bp-venues-lead { grid-column: 1 / -1; }
  .bp-foundation-page .bp-venues > .bp-venues-layout { grid-template-columns: 1fr; gap: 24px; margin-block-start: 24px; }
}
