/* Mises en page par écran. Référence : mobile 390 px ; puis 820 px ; puis 1440 px. */

/* Grilles à une colonne : jamais plus larges que leur conteneur (texte agrandi par les seniors). */
.quick-dates, .finder, .finder__row, .dept-grid, .event-layout, .actions, .contact-actions, .info-list,
.nearby-tools, .trust, .steps { grid-template-columns: minmax(0, 1fr); }
.event-card, .quick-date, .panel { min-width: 0; }

/* Participation visible dès les cartes de l'accueil et des résultats ; la fiche garde ses grands encarts. */
.event-card__visual { position: relative; margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) 0; }
.event-card__visual .event-card__media { display: block; width: 100%; margin: 0; }
.event-card__signals { position: absolute; top: .75rem; left: .75rem; right: 4.5rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: .35rem; text-align: left; }
.event-card__signals .badge { box-shadow: 0 1px 4px #0002; }
.event-card .event-card__favorite { width: 3rem !important; height: 3rem !important; min-width: 3rem !important; min-height: 3rem !important; padding: 0 !important; box-sizing: border-box; aspect-ratio: 1; }
.event-card__visual .event-photo-credit { padding: .6rem 1rem; font-size: 1rem; background: var(--surface); }
.event-card__community { display: grid; gap: .5rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid #c9d9c4; }
.event-card__community .event-card__exhibitors { margin-top: 0; }
.event-card__participation { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: .75rem; }
.event-card__community + .event-card__cta { margin-top: 0; }
.event-card__exhibitors { position: relative; z-index: 1; margin-top: .55rem; color: var(--ink); }
.event-card__exhibitors-stack { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--forest); font: inherit; cursor: pointer; }
.event-card__exhibitors-stack .event-card__exhibitor-portrait { width: var(--tap); height: var(--tap); border: 2px solid var(--surface); box-sizing: border-box; }
.event-card__exhibitors-stack .event-card__exhibitor-portrait + .event-card__exhibitor-portrait { margin-left: -.75rem; }
.event-card__exhibitor-portrait, .card-exhibitors-dialog__portrait { display: grid; flex: none; place-items: center; width: 2.1rem; height: 2.1rem; overflow: hidden; border-radius: 50%; background: var(--forest-tint); color: var(--forest); font-size: 1rem; font-weight: 700; }
.event-card__exhibitor-portrait img, .card-exhibitors-dialog__portrait img { width: 100%; height: 100%; object-fit: cover; }
.event-card__exhibitors-stack .event-card__exhibitors-more { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin-left: .5rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-weight: 700; box-sizing: border-box; }
.event-card__exhibitors + .event-card__cta { margin-top: .55rem; }
.event-card__exhibitors button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-exhibitors-dialog { width: min(38rem, calc(100% - 1.5rem)); max-height: min(90dvh, 48rem); padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #c9d9c4; border-radius: 1.1rem; background: #fffcf5; color: var(--ink); box-shadow: 0 1rem 3rem #183b2840; }
.card-exhibitors-dialog::backdrop { background: #14291c99; }
.card-exhibitors-dialog__body { padding: clamp(1rem, 4vw, 1.7rem); }
.card-exhibitors-dialog header { display: grid; grid-template-columns: minmax(0, 1fr) var(--tap); align-items: start; gap: .75rem; }
.card-exhibitors-dialog header > div { min-width: 0; }
.card-exhibitors-dialog__close { display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer; }
.card-exhibitors-dialog__close:hover { background: var(--forest-tint); }
.card-exhibitors-dialog h2 { color: var(--forest); font-size: clamp(1.3rem, 5vw, 1.8rem); }
.card-exhibitors-dialog__event { margin-bottom: .5rem; color: var(--ink-soft); font-size: 1rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.card-exhibitors-dialog__content > p,
.card-exhibitors-dialog [data-exhibitors-content],
.card-exhibitors-dialog__empty { margin: 1rem 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.card-exhibitors-dialog ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.card-exhibitors-dialog li { min-width: 0; }
.card-exhibitors-dialog__portrait { width: var(--tap); height: var(--tap); font-size: 1.1rem; }
.card-exhibitors-dialog__person { display: grid; gap: .25rem; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.card-exhibitors-dialog li a { display: flex; align-items: center; gap: .75rem; min-height: var(--tap); padding-block: .5rem; border-bottom: 1px solid var(--line); color: var(--forest); font-size: 1rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.card-exhibitors-dialog button:focus-visible, .card-exhibitors-dialog a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 30rem) { .card-exhibitors-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 1.1rem 1.1rem 0 0; } }
.event-card__participation-panel { display: flex; flex-direction: column; gap: .3rem; min-width: 0; padding: .45rem; border: 1px solid; border-radius: var(--r); }
.event-card__participation-panel--visitor { color: var(--forest); background: var(--forest-tint); border-color: #b8d3bd; }
.event-card__participation-panel--exhibitor { color: var(--brique-deep); background: #fff0db; border-color: #e7bc91; }
.event-card__participation-title { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; min-height: 1.4rem; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.event-card__participation-label { letter-spacing: .035em; text-transform: uppercase; }
.event-card__participation-title .icon { width: 1rem; height: 1rem; flex: none; }
.event-card__participation-button { width: 100%; min-height: var(--tap); padding: .5rem .35rem; border: 2px solid transparent; border-radius: .55rem; color: var(--white); background: var(--forest); font-size: 1rem; font-weight: 700; line-height: 1.35; cursor: pointer; transition: transform var(--ease), filter var(--ease); }
.event-card__participation-panel--exhibitor .event-card__participation-button { background: var(--brique); }
.event-card__participation-button:hover { transform: translateY(-1px); filter: brightness(.94); }
.event-card__participation-button[aria-pressed='true'] { border-color: var(--white); box-shadow: 0 0 0 2px currentColor; }
.event-card__participation-button:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 2px; }
.event-card__participation-count { margin-left: auto; padding: .12rem .35rem; border-radius: 1rem; background: #ffffffa6; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.event-card__participation-count strong { font: inherit; }
@media (prefers-reduced-motion: reduce) { .event-card__participation-button { transition: none; } }

.page { padding-block: var(--s-5) var(--s-6); }
.section { margin-top: var(--s-7); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-4); }
.section__head a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); font-weight: 700; }
.lead { font-size: var(--text-lead); color: var(--ink-soft); max-width: 40rem; }
.eyebrow { font-weight: 700; color: var(--terre); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--s-2); }

/* ------------------------------------------------------------------ Accueil */
.hero { padding-block: var(--s-6) var(--s-5); }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: var(--s-4); }
.finder { margin-top: var(--s-5); display: grid; gap: var(--s-3); max-width: 38rem; }
.finder__row { display: grid; gap: var(--s-3); }
.locate-cta {
  display: flex; align-items: center; gap: var(--s-4); width: 100%; min-height: 4.5rem;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-lg); border: 0; cursor: pointer;
  background: var(--brique); color: var(--white); text-align: left; text-decoration: none;
  box-shadow: var(--shadow); transition: background-color var(--ease);
}
.locate-cta:hover { background: var(--brique-deep); color: var(--white); }
.locate-cta .icon { width: 2rem; height: 2rem; }
.locate-cta strong { display: block; font-size: 1.375rem; line-height: 1.2; }
.locate-cta span { display: block; font-size: 1rem; }
.quick-dates { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.quick-date {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 4rem; padding: var(--s-3) var(--s-4); border-radius: var(--r);
  background: var(--surface); border: 2px solid var(--forest); color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: 1.25rem;
}
.quick-date:hover { background: var(--forest-tint); color: var(--ink); }
.quick-date small { display: block; font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.quick-date__count { font-family: var(--font-display); font-size: 2rem; color: var(--forest); min-width: 2ch; text-align: right; }

/* Accueil : 4 cartes sur mobile (écran court), 6 dès la tablette. */
@media (max-width: 47.99rem) { .event-list--home > li:nth-child(n + 5) { display: none; } }

.trust { background: var(--paper-deep); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-4); }
.trust h2 { font-size: 1.625rem; }

.dept-grid { display: grid; gap: var(--s-3); }
.dept-card {
  display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dept-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.dept-card__title a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; }
.dept-card__title a:hover { color: var(--forest); text-decoration: underline; }
.dept-card__count { font-weight: 700; color: var(--forest); }
.dept-card ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }

/* ------------------------------------------------------------------ Listing */
/* La page « Trouver une brocante » (moteur de recherche, familles, résultats, tiroir) vit dans finder.css. */
.load-more { display: flex; justify-content: center; margin-top: var(--s-5); }

/* ------------------------------------------------------------------ Week-end / Autour de moi */
.day-group + .day-group { margin-top: var(--s-6); }
.day-group > h2 { margin-bottom: var(--s-4); }
.nearby-tools { display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); margin-block: var(--s-5); }
.distance { font-weight: 700; color: var(--forest); }

/* ------------------------------------------------------------------ Fiche événement */
.back-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap-cta); font-weight: 700; }
.breadcrumb { font-size: 1rem; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); }
.breadcrumb li + li::before { content: '›'; margin-right: var(--s-2); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--tap); }

.event-cover {
  margin-top: var(--s-3); overflow: hidden; border-radius: var(--r-lg); background: var(--paper-deep);
  box-shadow: var(--shadow);
}
.event-cover img {
  display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 32rem; object-fit: cover;
}
.event-hero { background: var(--forest); color: var(--white); border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); }
.event-hero h1 { color: var(--white); font-size: clamp(2rem, 7vw, 3.25rem); margin-block: var(--s-3) var(--s-4); }
.event-hero .badge { background: var(--moutarde); color: var(--ink); }
.event-hero .badge--free { background: var(--white); color: var(--forest); }
.event-hero__when { font-size: 1.375rem; font-weight: 700; margin: 0; }
.event-hero__when::first-letter, .day-group > h2::first-letter { text-transform: uppercase; }
.event-hero__where { font-size: 1.25rem; margin: var(--s-1) 0 0; }

.essentials { margin-top: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--s-2) var(--s-4); }
.facts { display: grid; margin: 0; }
.fact { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); }
.fact__label { font-size: 1rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.fact__value { margin: 0; font-size: 1.25rem; font-weight: 700; }
.fact__value small { display: block; font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.fact--missing .fact__value { font-weight: 400; color: var(--ink-soft); }

.actions { display: grid; gap: var(--s-3); margin-top: var(--s-4); }

.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 50; display: none; gap: var(--s-3);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 2px solid var(--forest); box-shadow: 0 -6px 18px rgba(43, 33, 24, 0.12);
}
.actionbar.is-visible { display: grid; grid-template-columns: 1fr 1fr; }
.actionbar .btn { min-height: var(--tap-cta); padding-inline: var(--s-3); }
body.has-actionbar { padding-bottom: 5.5rem; }

.event-layout { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); }
.panel > h2 { font-size: 1.75rem; margin-bottom: var(--s-4); }
.prose { white-space: pre-line; font-size: 1.1875rem; line-height: 1.65; max-width: 44rem; }
.info-list { display: grid; gap: var(--s-4); margin: 0; }
.info-list dt { font-weight: 700; color: var(--ink-soft); font-size: 1rem; }
.info-list dd { margin: 0; font-size: 1.1875rem; }
.info-list > .info-item--wide { grid-column: 1 / -1; }
.amenities { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.amenities li { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--forest-tint); color: var(--ink); font-weight: 700; font-size: 1rem; }
.amenities .icon { width: 1.25rem; height: 1.25rem; color: var(--forest); }
.contact-actions { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.source-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.map-frame { border: 0; width: 100%; height: 18rem; border-radius: var(--r); background: var(--paper-deep); }
.map-fallback { padding: var(--s-4); border-radius: var(--r); background: var(--paper-deep); }

@media (min-width: 48rem) {
  .actions { grid-template-columns: repeat(2, 1fr); }
  .event-hero { padding: var(--s-6); }
  .panel { padding: var(--s-5); }
  .map-frame { height: 22rem; }
  .info-list--cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .actionbar.is-visible { display: none; }
  body.has-actionbar { padding-bottom: 0; }
  .event-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .event-layout > .panel { grid-column: 1; }
  .event-layout > .panel--map { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: var(--s-4); }
  .event-layout--even { grid-template-columns: 1fr 1fr; }
  .event-layout--even > .panel { grid-column: auto; }
  .actions { grid-template-columns: repeat(4, auto); justify-content: start; }
}

/* ------------------------------------------------------------------ Autres pages */
.steps { counter-reset: step; display: grid; gap: var(--s-4); margin-block: var(--s-5); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-4); align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--forest); color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
}
.steps strong { display: block; font-size: 1.25rem; }


/* ------------------------------------------------------------------ Application Indiana bientôt */
.app-soon { padding-block: var(--s-7); }
.app-soon__grid {
  display: grid; gap: var(--s-5); align-items: center;
  max-width: 60rem;
}
.app-soon__visual {
  display: grid; place-items: center; min-height: 18rem; padding: var(--s-5);
  border-radius: var(--r-lg); background: var(--forest-tint); overflow: hidden; box-shadow: var(--shadow);
}
.app-soon__visual img { width: min(14rem, 100%); height: auto; }
.app-soon__copy .lead { max-width: 38rem; margin-top: var(--s-3); }
.app-soon__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.app-soon__notice { margin-top: var(--s-5); max-width: 40rem; }
@media (min-width: 52rem) {
  .app-soon__grid { grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr); }
}

/* === INDIANA LEGAL DISCREET V2 BEGIN === */

.legal-page {
  max-width: 64rem;
  padding-bottom: 5rem;
}

.legal-page .eyebrow {
  margin-bottom: 0.75rem;
}

.legal-page-title {
  max-width: 19ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.legal-page-intro {
  max-width: 48rem;
  margin: 0 0 4rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal-prose {
  max-width: 70ch;
  font-size: 1rem;
}

.legal-prose h2 {
  margin: 3.25rem 0 1.15rem;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-wrap: balance;
}

.legal-prose p {
  max-width: none;
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
}

.legal-prose a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-identity-inline {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal-regulatory {
  margin-top: 6rem !important;
  margin-bottom: 0 !important;
  padding-top: 1.5rem;
  max-width: 70ch !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  border-top: 1px solid rgba(55, 43, 32, 0.12);
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .legal-page {
    padding-bottom: 3.5rem;
  }

  .legal-page-title {
    font-size: clamp(1.9rem, 10vw, 2.75rem);
  }

  .legal-page-intro {
    margin-bottom: 3rem;
    font-size: 1rem;
    color: var(--ink-soft);
  }

  .legal-prose h2 {
    margin-top: 2.7rem;
    text-wrap: balance;
  }

  .legal-prose p {
    font-size: 1rem;
    line-height: 1.78;
  }

  .legal-regulatory {
    margin-top: 4.5rem !important;
    font-size: 1rem !important;
    color: var(--ink-soft);
  }
}

/* === INDIANA LEGAL DISCREET V2 END === */

/* === INDIANA FRANCOSCOPE V1 BEGIN === */
.francoscope-page { max-width: 72rem; }
.francoscope-hero { position: static; top: auto; z-index: auto; box-shadow: none; padding-block: var(--s-5) var(--s-6); text-align: center; }
.francoscope-kicker { margin: 0 0 .25rem; font-weight: 800; color: var(--forest); }
.francoscope-hero h1 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.francoscope-hero .lead { max-width: 40rem; margin: var(--s-3) auto 0; }
.francoscope-converter { max-width: 46rem; margin: var(--s-5) auto 0; padding: clamp(1.2rem, 4vw, 2.2rem); background: var(--surface); border: 2px solid var(--forest); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: left; }
.francoscope-converter > label, .francoscope-old-grid label { display: block; margin-bottom: .45rem; font-weight: 800; }
.francoscope-input-wrap { display: flex; align-items: center; gap: .5rem; padding: .25rem 1rem; background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--r-lg); }
.francoscope-input-wrap:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.francoscope-input-wrap > span { flex: none; font-size: 2rem; font-weight: 800; color: var(--forest); }
.francoscope-input { width: 100%; min-width: 0; padding: .45rem 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
.francoscope-input-wrap--small .francoscope-input { font-size: 2rem; }
.francoscope-input-wrap--small > span { font-size: 1.1rem; }
.francoscope-result { padding: 1.5rem .2rem .25rem; text-align: center; }
.francoscope-result p { margin: 0; }
.francoscope-result__main strong { display: block; color: var(--forest); font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.francoscope-result__old { margin-top: .7rem !important; font-size: 1.05rem; }
.francoscope-result__mood { margin-top: .8rem !important; color: var(--ink-soft); font-style: italic; }
.francoscope-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.francoscope-presets button { min-height: 2.4rem; padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.francoscope-presets button:hover { border-color: var(--forest); background: var(--forest-tint); }
.francoscope-old-price { padding: clamp(1.5rem, 5vw, 3rem); background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--r-lg); }
.francoscope-section-head { max-width: 50rem; }
.francoscope-section-head h2 { margin-bottom: .6rem; }
.francoscope-old-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.francoscope-old-grid .select { width: 100%; min-height: 3.5rem; }
.francoscope-history-results { display: grid; gap: 1rem; margin-top: 1.25rem; }
.francoscope-history-card { padding: 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.francoscope-history-card > span { display: block; margin-bottom: .3rem; color: var(--ink-soft); font-size: 1rem; font-weight: 700; }
.francoscope-history-card > strong { display: block; font-size: 1.45rem; color: var(--forest); }
.francoscope-history-card small { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: 1rem; }
.francoscope-history-card--accent { border-color: var(--forest); }
.francoscope-history-card--baguette { background: #fff7db; border-color: #d6ad3f; }
.francoscope-history-card--baguette > strong { color: #6d5310; }
.francoscope-data-status { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1rem; }
.francoscope-explain { max-width: 70ch; margin-inline: auto; padding-block: var(--s-7); }
.francoscope-explain h2 { margin-bottom: 1.3rem; }
.francoscope-explain p { line-height: 1.75; }
.francoscope-faq { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.francoscope-faq dl { display: grid; gap: .75rem; }
.francoscope-faq dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--line); }
.francoscope-faq dt { font-weight: 800; }
.francoscope-faq dd { margin: 0; }
.francoscope-sources { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 1rem; }
.footer-tool-link { margin: .75rem 0 0; font-size: 1rem; }
@media (min-width: 48rem) {
  .francoscope-old-grid { grid-template-columns: 1fr 14rem; align-items: end; }
  .francoscope-history-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .francoscope-hero { padding-top: var(--s-4); }
  .francoscope-faq dl > div { grid-template-columns: 1fr; gap: .2rem; }
}
/* === INDIANA FRANCOSCOPE V1 END === */


/* === INDIANA BAGUETTOMETRE V3 BEGIN === */
.bread-v3 {
  max-width: 62rem;
  margin: clamp(1.25rem, 3.4vw, 2rem) auto 1.25rem;
  padding: clamp(.85rem, 2.4vw, 1.65rem);
  text-align: left;
  background: linear-gradient(135deg, #fff9e8, #f8edcf 80%, #f4dfb0);
  border: 1px solid #d8bb82;
  border-radius: 1.35rem;
}
.bread-v3__header { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:.7rem 1.25rem; }
.bread-v3__header h2 { margin:0; font-size:clamp(1.3rem, 3.2vw, 2rem); line-height:1.1; color: #4c3519; }
.bread-v3__eyebrow { margin:0 0 .2rem; color:#8a531c; font-size:1rem; font-weight:800; }
.bread-v3__year label { display:block; margin:0 0 .25rem; color:#634b2b; font-size:1rem; font-weight:800; }
.bread-v3__year select { min-width:8rem; min-height:2.85rem; background:#fffdf4; border-color:#bba175; }
.bread-v3__ruler { display:flex; align-items:baseline; justify-content:space-between; gap:.8rem; flex-wrap:wrap; margin:1.35rem 0 .1rem; color:#685033; }
.bread-v3__ruler span { font-size:clamp(1rem,1.65vw,1.05rem); }
.bread-v3__ruler strong { color:var(--forest); font-size:clamp(1.25rem,3.5vw,2.1rem); line-height:1.1; }
.bread-v3__stage { width:100%; }
.bread-v3__art { width:100%; height:auto; max-height:13rem; display:block; overflow:visible; }
.bread-v3__caption { margin:.6rem 0 .3rem; color:#41311b; font-size:clamp(1rem,1.9vw,1.1rem); font-weight:800; line-height:1.45; text-align:center; }
.bread-v3__source { margin:.3rem auto 0; max-width:46rem; color:#715b3d; font-size:1rem; line-height:1.5; text-align:center; }
@media (max-width:38rem) {
  .bread-v3 { padding:.9rem; border-radius:1rem; }
  .bread-v3__header { align-items:flex-start; }
  .bread-v3__year select { min-height:2.65rem; }
  .bread-v3__ruler { margin-top:1rem; }
  .bread-v3__caption { text-align:left; }
  .bread-v3__source { text-align:left; }
}
/* === INDIANA BAGUETTOMETRE V3 END === */

/* === INDIANA FRANCOSCOPE V4 BEGIN === */
/* Hiérarchie : conversion €↔F, Baguettomètre, vieux prix. */
.francoscope-converter { position: relative; }
.francoscope-converter__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem; margin-bottom: .5rem;
}
.francoscope-converter__top label { font-weight: 800; }
.francoscope-converter__flip {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 2.75rem; padding: .45rem .85rem;
  border: 1.5px solid var(--forest); border-radius: 999px;
  background: var(--paper); color: var(--forest);
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
}
.francoscope-converter__flip:hover { background: var(--forest-tint); }
.francoscope-converter__flip:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.francoscope-converter__flip span { font-size: 1.3rem; line-height: 1; }
.francoscope-hero > .bread-v3 { margin-top: 1.5rem; margin-bottom: 1.25rem; }
.bread-v4__timeline { max-width: 51rem; margin: .35rem auto .9rem; padding: .35rem .25rem; }
.bread-v4__timeline label {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem; margin: 0 0 .25rem; font-size: 1rem; font-weight: 800; color: #5b4022;
}
.bread-v4__timeline output { font-size: 1.45rem; color: var(--forest); font-variant-numeric: tabular-nums; }
.bread-v4__range { display: block; width: 100%; height: 3rem; margin: 0; padding: 0; cursor: pointer; background: none; accent-color: var(--forest); }
.bread-v4__range:disabled { opacity: .5; cursor: wait; }
.bread-v4__range:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 1rem; }
.bread-v4__ticks { display: flex; justify-content: space-between; color: #735b36; font-size: 1rem; font-weight: 700; }
@media (max-width: 36rem) {
  .francoscope-converter__top { gap: .15rem .5rem; }
  .francoscope-converter__flip { font-size: 1rem; }
  .bread-v4__timeline output { font-size: 1.2rem; }
}
/* === INDIANA FRANCOSCOPE V4 END === */

/* === INDIANA BAGUETTE 1901 V6 BEGIN === */
/* Visual metaphor: real INSEE CPI values 1901→2025; enlarged final crust disclosed. */
.bread-v6__quignon {
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.bread-v6--crumb .bread-v6__quignon { opacity: 1; }
.bread-v3__art [data-bread-v3-clip] { transition: width .16s ease-out; }
.bread-v6__real {
  margin: .65rem auto .1rem;
  max-width: 47rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: #705538;
}
@media (max-width: 36rem) {
  .bread-v6__real { text-align:left; }
}
@media (prefers-reduced-motion: reduce) {
  .bread-v6__quignon,
  .bread-v3__art [data-bread-v3-clip] { transition: none; }
}
/* === INDIANA BAGUETTE 1901 V6 END === */


/* TEMP — Baguettometre masque */
.francoscope-page .bread-v3 {
    display: none !important;
}

/* ------------------------------------------------------------------ Fiche événement V3 (compacte, deux colonnes sur ordinateur) */
.fiche { display: grid; gap: var(--s-5); margin-top: var(--s-3); }
.fiche > * { min-width: 0; }
.fiche__main { display: grid; gap: var(--s-4); align-content: start; }
.owner-event-actions { margin-top: calc(-1 * var(--s-3)); }
.owner-event-actions[hidden], .owner-visual-actions[hidden] { display: none; }
.owner-pending { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.owner-visual-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: 1rem; font-weight: 700; }
.owner-visual-actions a { color: var(--forest-deep); text-decoration: underline; text-underline-offset: .2em; }
.claimbox[hidden] { display: none; }
.fiche__kicker { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0; }
.fiche h1 { font-size: clamp(2rem, 6.5vw, 3.25rem); line-height: 1.08; margin: 0; overflow-wrap: anywhere; }

.datecard {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: center;
  padding: var(--s-4); background: var(--moutarde-tint); border: 1px solid var(--moutarde); border-radius: var(--r-lg);
}
.datecard .date-stub { background: var(--forest); width: 5rem; }
.datecard__label { margin: 0; font-weight: 700; color: var(--terre); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.datecard__date { margin: var(--s-1) 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.15; }
.datecard__date::first-letter { text-transform: uppercase; }
.datecard__rule { display: inline-flex; align-items: center; gap: var(--s-2); margin: var(--s-2) 0 0; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: var(--forest); color: var(--white); font-weight: 700; font-size: 1rem; }
.datecard__rule .icon { width: 1.1rem; height: 1.1rem; }
.datecard--unsure { background: var(--paper-deep); border-color: var(--line-strong); grid-template-columns: auto minmax(0, 1fr); }
.datecard--unsure .datecard__rule { display: block; padding: 0; background: none; color: var(--ink-soft); font-weight: 400; border-radius: 0; font-size: 1.0625rem; }
.datecard__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--white); color: var(--terre); }

.keyfacts { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.keyfact { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.keyfact__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); }
.keyfact__value { margin: 0; font-size: 1.1875rem; font-weight: 700; overflow-wrap: anywhere; }
.keyfact__sub { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
.keyfact--missing .keyfact__value { font-weight: 400; color: var(--ink-soft); }

.actions--v3 { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.actions--v3 .btn { min-height: var(--tap-cta); }
.actions--v3 > .btn--accent { grid-column: 1 / -1; }

.participation { display: grid; gap: var(--s-3); min-width: 0; }
.participation__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: center; gap: var(--s-2); min-width: 0; padding: var(--s-4); border: 1px solid; border-radius: var(--r-lg); }
.participation__card--visitor { background: var(--forest-tint); border-color: var(--forest); }
.participation__card--exhibitor { background: #fff0db; border-color: var(--brique); }
.participation__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--white); color: var(--forest); }
.participation__card--exhibitor .participation__icon { color: var(--brique); }
.participation__card h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 500; }
.participation__card h2 strong { display: inline; font-size: 1.625rem; text-transform: uppercase; color: var(--forest); }
.participation__card--exhibitor h2 strong { color: var(--brique-deep); }
.participation__card p { margin: 0; }
.participation__button { justify-self: stretch; background: var(--forest); color: var(--white); border: 2px solid var(--forest); min-height: var(--tap-cta); }
.participation__card--exhibitor .participation__button { background: var(--brique); border-color: var(--brique); }
.participation__button:hover, .participation__button[aria-pressed='true'] { filter: brightness(.9); color: var(--white); }
.participation__count { font-size: 1rem; }
.participation__count strong { font-family: var(--font-display); font-size: 1.5rem; }
.participation__note { color: var(--ink-soft); font-size: 1rem; }
.share-tools { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.share-tools__options { display: grid; gap: var(--s-2); padding: var(--s-3); }
.share-tools__options .btn { justify-content: center; }
@media (min-width: 40rem) { .participation { grid-template-columns: repeat(2, minmax(0, 1fr)); } .share-tools__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .participation__button { transition: none; } }

.fiche__side { display: grid; gap: var(--s-4); align-content: start; }
.fiche-visual { margin: 0; }
.fiche-visual img { display: block; width: 100%; max-height: 20rem; object-fit: contain; background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--r-lg); }
.fiche-fallback { display: none; margin: 0; } /* sans affiche : la miniature de la catégorie (la même que dans les résultats), jamais la mascotte */
.minimap { display: grid; gap: var(--s-2); }
.minimap .map-frame { height: 11rem; }
.minimap a { font-weight: 700; min-height: var(--tap); display: inline-flex; align-items: center; }

.claimbox {
  display: grid; gap: var(--s-4); margin-top: var(--s-5); padding: var(--s-4); border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg); background: var(--surface);
}
.claimbox h2 { font-size: 1.375rem; margin: 0 0 var(--s-2); }
.claimbox p { margin: 0; color: var(--ink-soft); }
.claimbox .btn { justify-self: start; min-height: var(--tap-cta); }

.fiche-more { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.fiche-more .panel > h2 { font-size: 1.5rem; }

.claim-dialog { border: 0; padding: var(--s-5); border-radius: var(--r-lg); width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(43, 33, 24, 0.35); }
.claim-dialog::backdrop { background: rgba(43, 33, 24, 0.6); }
.claim-dialog h2 { font-size: 1.625rem; margin-bottom: var(--s-3); }
.claim-dialog__close { display: flex; justify-content: flex-end; margin: 0 0 var(--s-2); }
.claim-dialog__close .btn { min-height: var(--tap); padding-block: var(--s-2); }
.claim-consent { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: 1rem; }
.claim-consent input { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; }
.claim-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 48rem) {
  .actions--v3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actions--v3 > .btn--accent { grid-column: auto; }
  .claimbox { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s-5); }
  .fiche-visual img { max-height: 26rem; }
  .fiche-more { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .fiche-more > .panel:only-child { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .fiche { grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); gap: var(--s-6); align-items: start; }
  .fiche-fallback { display: block; }
  .fiche-fallback img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-deep); }
}

/* ------------------------------------------------------------------ Indiana LIVE, accès et catégories (V3.1) */
.livebadge { display: flex; align-items: flex-start; gap: var(--s-2); margin: var(--s-3) 0 0; font-size: 1rem; line-height: 1.35; }
.livebadge .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; }
.livebadge--confirmed { color: var(--forest-deep); }
.livebadge--confirmed .icon { color: var(--forest); }
.livebadge--cancelled { color: var(--danger); }
.livebadge--pending { color: var(--terre); }
.livebadge--unconfirmed { color: var(--ink-soft); }

.access { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.access h2 { font-size: 1.25rem; margin: 0 0 var(--s-3); }
.access__list { display: grid; gap: var(--s-3); margin: 0; }
.access__list dt { font-weight: 700; font-size: 1rem; color: var(--ink-soft); }
.access__list dd { margin: var(--s-1) 0 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.access__list a { font-weight: 700; display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); }
.access__list a .icon { width: 1.1rem; height: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--forest-tint); color: var(--ink); font-weight: 700; font-size: 1rem; }
.panel--chiner .chips li { background: var(--moutarde-tint); }
.chiner-note { margin: var(--s-3) 0 0; font-size: 1rem; }
.contact-actions .btn.is-selected { outline: 3px solid var(--focus); outline-offset: 2px; }

.access__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); margin-top: var(--s-1); }
@media (min-width: 48rem) { .access__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .access__list > div:first-child:not(:only-child) { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ Mon Indiana (V3.2) */
.mi-tabs ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.mi-tabs a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-4); border-radius: var(--r-pill); border: 2px solid var(--forest); color: var(--forest); font-weight: 700; text-decoration: none; background: var(--surface); }
.mi-tabs a[aria-current='page'] { background: var(--forest); color: var(--white); }
.mi-login { display: grid; gap: var(--s-5); }
.mi-indent { margin-left: var(--s-5); padding-left: var(--s-4); border-left: 3px solid var(--line); }
.agenda { display: grid; gap: var(--s-4); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.agenda-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.agenda-item h2 { font-size: 1.375rem; margin: 0; }
.agenda-item p { margin: var(--s-1) 0 0; }
.agenda-item--cancelled, .agenda-item--unavailable { background: var(--paper-deep); }
.agenda-item--cancelled h2 a { text-decoration: line-through; }
.agenda-item--cancelled .date-stub, .agenda-item--unavailable .date-stub { background: var(--ink-soft); }
.agenda-item__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.agenda-item__actions .btn { min-height: var(--tap); }
.going-count { margin: 0; font-size: 1rem; color: var(--ink); }
.btn[data-going][aria-pressed='true'] { background: var(--forest); color: var(--white); }
@media (min-width: 48rem) { .mi-login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ------------------------------------------------------------------ Mon Indiana V3.2.1 : agenda en calendrier, autres calendriers, connexion */
.agenda-item h3 { font-size: 1.375rem; margin: 0; }
.agenda-item--cancelled h3 a { text-decoration: line-through; }
.livebadge--modified { color: var(--terre); }
.agenda-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.seg-toggle { display: flex; gap: var(--s-2); }
.seg-toggle .btn { min-height: var(--tap); }
.seg-toggle .btn[aria-pressed='true'] { background: var(--forest); color: var(--white); }
.mcal__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; margin-bottom: var(--s-3); }
.mcal__bar .btn { min-height: var(--tap); }
.mcal__title { margin: 0; text-align: center; text-transform: capitalize; font-size: 1.375rem; }
.mcal__today { grid-column: 1 / -1; justify-self: start; }
.mcal__grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; }
.mcal__grid th { padding: var(--s-1) 0; text-align: center; font-size: 1rem; color: var(--ink-soft); }
.mcal__grid abbr { text-decoration: none; }
.mcal__grid td { padding: 0; }
.mcal__day { display: grid; align-content: start; justify-items: center; gap: 0; width: 100%; min-height: 3.5rem; padding: var(--s-1) 0; border: 1px solid var(--line); border-radius: var(--r-md, 8px); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; cursor: pointer; }
.mcal__day--out { background: var(--paper-deep); color: var(--ink-soft); }
.mcal__day--today .mcal__num { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.mcal__day.is-selected { border: 2px solid var(--forest); background: var(--forest-tint); }
.mcal__day:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.mcal__marks { display: flex; gap: 2px; min-height: 1.25rem; line-height: 1.25rem; }
.mcal__mark { font-size: 1rem; font-weight: 800; }
.mcal__mark { display: inline-flex; align-items: center; justify-content: center; min-width: 1rem; height: 1.25rem; line-height: 1; }
.mcal__mark--scheduled::before { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--forest); }
.mcal__mark--modified::before { content: ''; width: 0.6rem; height: 0.6rem; background: var(--terre); transform: rotate(45deg); }
.mcal__mark--cancelled { color: var(--danger); font-size: 1.25rem; }
.mcal__legend { margin: var(--s-3) 0 0; font-size: 1rem; color: var(--ink-soft); }
.mcal__panel { margin-top: var(--s-4); }
.mcal__panel h3 { margin: 0 0 var(--s-2); font-size: 1.25rem; }
.othercal { margin-top: var(--s-3); }
.othercal summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--forest); }
.othercal__list { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-2) 0; }
.othercal__list .btn { min-height: var(--tap); }
.actions + .othercal { margin-top: var(--s-4); }
.mi-or { display: flex; align-items: center; gap: var(--s-3); margin: 0; padding: 0; color: var(--ink-soft); font-size: 1rem; }
.mi-or::before, .mi-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.mi-google { display: grid; gap: var(--s-3); justify-items: stretch; }
.mi-google [data-google-button] { display: flex; justify-content: center; min-height: 44px; }
.mi-password { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.mi-password summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--forest); }
@media (max-width: 30rem) { .mcal__grid { border-spacing: 2px; } .mcal__mark { font-size: 1rem; } .mcal__bar { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* ------------------------------------------------------------------ V3.3 : puces permanentes, régions, option de diffusion */
.crumbs { margin: 0 0 var(--s-3); font-size: 1rem; color: var(--ink-soft); }
.crumbs a { color: var(--forest); }
.keyfact__label { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.keyfact__value { margin: 0; }
.social-opt { margin: var(--s-4) 0 0; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); }
.social-opt legend { padding: 0 var(--s-2); font-weight: 700; }
.social-opt small { display: block; margin-top: var(--s-2); color: var(--ink-soft); font-size: 1rem; }
.social-opt input:disabled + span { color: var(--ink-soft); }
[data-prerender] .cta { margin-top: var(--s-5); }
[data-slot='fiche'] .keyfacts { margin-top: var(--s-5); }
[data-slot='fiche'] h2 { margin-top: var(--s-6, var(--s-5)); }
[data-slot='fiche'] .actions { margin-top: var(--s-5); }

/* ------------------------------------------------------------------ V3.4 : mise en avant payante, emplacements « Sponsorisé » */
.sponsored-slot { margin: 0 0 var(--s-5); padding: var(--s-4); border: 2px solid var(--moutarde, var(--forest)); border-radius: var(--r-lg); background: var(--moutarde-tint, var(--paper-deep)); }
.sponsored-slot__label { margin: 0 0 var(--s-3); font-size: 1rem; }
.sponsored-slot__label strong { padding: 0.1rem 0.5rem; border-radius: var(--r-pill); background: var(--ink); color: var(--white); }
.sponsored-slot__label a { margin-left: var(--s-2); }
.promo-steps { padding-left: var(--s-5); }
.promo-steps li { margin: 0 0 var(--s-2); }
.promo-prices { width: 100%; border-collapse: collapse; }
.promo-prices th, .promo-prices td { padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); text-align: left; }
.promo-results { display: grid; gap: var(--s-2); margin: var(--s-2) 0; padding: 0; list-style: none; }
.promo-results .btn { width: 100%; justify-content: flex-start; text-align: left; }
.promo-stats { display: grid; gap: var(--s-2); padding-left: var(--s-5); }
.receipt dl { display: grid; gap: var(--s-2); margin: 0 0 var(--s-3); }
.receipt dt { font-weight: 700; color: var(--ink-soft); }
.receipt dd { margin: 0; }
.claimbox--promo { margin-top: var(--s-4); }
@media print { .site-header, .site-footer, .actionbar, [data-print], .contact-actions button { display: none !important; } }
@media (max-width: 40rem) {
  .promo-prices thead { position: absolute; left: -9999px; }
  .promo-prices, .promo-prices tbody, .promo-prices tr, .promo-prices th, .promo-prices td { display: block; width: 100%; }
  .promo-prices tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .promo-prices th, .promo-prices td { border: 0; padding: var(--s-1) 0; }
  .promo-prices td::before { content: attr(data-label) " : "; font-weight: 700; }
  .promo-results .btn { white-space: normal; height: auto; padding-block: var(--s-2); }
}

/* ---- V3.5 : espaces Organisateur et Exposant, plans d'emplacements ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pro-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.pro-head h2 { margin: 0; }
.pro-tabs ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.pro-tabs a { display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); padding: 0 var(--s-3); border: 2px solid var(--forest); border-radius: 999px; background: var(--surface); color: var(--forest); font-weight: 700; text-decoration: none; }
.pro-tabs a[aria-current='page'] { background: var(--forest); color: var(--white); }
.pro-cards, .pro-bookings, .pro-plans { display: grid; gap: var(--s-4); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.pro-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.pro-badge { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 1rem; font-weight: 700; border: 1px solid currentColor; }
.pro-badge--forest { color: var(--forest-deep); background: var(--forest-tint); }
.pro-badge--brique { color: var(--white); background: var(--brique); border-color: var(--brique); }
.pro-badge--moutarde { color: var(--ink); background: var(--moutarde-tint); }
.pro-badge--muted { color: var(--ink-soft); background: var(--paper-deep); }
.pro-counters { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: var(--s-2); margin: var(--s-3) 0; }
.pro-counters div { padding: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.pro-counters dt { font-size: 1rem; color: var(--ink-soft); }
.pro-counters dd { margin: 0; font-size: 1.4rem; font-weight: 700; }
.pro-steps { padding-left: 0; list-style: none; }
.pro-steps li { padding: var(--s-1) 0; } .pro-steps .is-done { color: var(--forest-deep); font-weight: 700; }
.pro-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.pro-plan__actions, .pro-actions, .pro-inline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.pro-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s-3); }
.pro-fieldset { border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s-3); }
.pro-nopay { padding: var(--s-2) var(--s-3); border-left: 4px solid var(--moutarde); background: var(--moutarde-tint); }
.pro-audit { margin: var(--s-2) 0; padding-left: var(--s-4); font-size: 1rem; }
.pro-booking__head { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.pro-stand { margin-top: var(--s-3); }
.pro-filter { max-width: 22rem; }
.notice--error { background: var(--danger-tint); color: var(--danger); border-color: var(--danger); }
.plan-svg { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.plan-scroll { overflow: auto; max-height: 70vh; border-radius: var(--r-sm); -webkit-overflow-scrolling: touch; }
.plan-svg--exh { min-width: 100%; max-width: none; }
.plan-canvas { fill: #fffdf8; }
.plan-label { fill: var(--ink); font-family: var(--font-body); font-weight: 700; pointer-events: none; }
.plan-sub { fill: var(--ink-soft); font-family: var(--font-body); pointer-events: none; }
.plan-halo { paint-order: stroke; stroke: #FFFCF5; stroke-width: 3px; stroke-linejoin: round; }  /* libellé lisible sur n'importe quel fond, sans cadre */
.plan-stand { cursor: pointer; } .plan-stand:focus-visible rect, .plan-stand.is-selected rect { stroke: var(--focus); stroke-width: 4; }
.plan-stand.is-mine rect { stroke: var(--brique); stroke-dasharray: 6 3; }
.plan-row { fill: none; stroke: var(--line-strong); stroke-dasharray: 4 4; } .plan-row.is-selected { stroke: var(--focus); }
.plan-obstacle rect, .plan-obstacle polygon { fill: #d9d2c6aa; stroke: var(--line-strong); stroke-width: 1.5; }
.plan-obstacle--passage rect { fill: #fbebc699; } .plan-obstacle--access rect, .plan-obstacle--entrance rect, .plan-obstacle--exit rect { fill: #e3ede4cc; stroke: var(--forest); }
.plan-obstacle.is-selected rect, .plan-obstacle.is-selected polygon { stroke: var(--focus); stroke-width: 3; }
.plan-legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-3) 0; padding: 0; list-style: none; font-size: 1rem; }
.plan-legend__swatch { display: inline-block; width: 1.1rem; height: 1.1rem; margin-right: 0.35rem; vertical-align: middle; border: 1.5px solid var(--forest); border-radius: 3px; background: var(--forest-tint); }
.plan-legend__swatch--held { background: var(--moutarde); border-style: dashed; border-color: var(--ink); }
.plan-legend__swatch--taken { background: var(--ink-soft); border-color: var(--ink); }
.plan-legend__swatch--blocked { background: var(--paper-deep); border-style: dotted; border-color: var(--line-strong); }
.plan-legend__swatch--mine { border-color: var(--brique); border-style: dashed; }
.pe__bar { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s-3); margin-bottom: var(--s-2); }
.pe__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.pe__name { display: grid; gap: 0.15rem; min-width: 12rem; }
.pe__main { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .pe__main { grid-template-columns: minmax(0, 1fr) 22rem; } }
.pe__svg { display: block; width: 100%; height: min(70vh, 640px); background: #fffdf8; border: 2px solid var(--line-strong); border-radius: var(--r-sm); touch-action: none; user-select: none; }
.pe__panel { margin-bottom: var(--s-3); padding: var(--s-3); } .pe__panel h3 { margin-top: 0; font-size: 1.2rem; }
.pe__side { max-height: 80vh; overflow: auto; }
.pe__cat { display: grid; gap: var(--s-2); margin-bottom: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); list-style: none; }
.pe__cats { margin: 0; padding: 0; }
.pe__size { display: inline-flex; align-items: center; gap: var(--s-1); } .pe__size .input { min-width: 4.5rem; }
.pe__issues { margin: 0; padding: 0; list-style: none; }
.pe__issue-btn { width: 100%; padding: var(--s-2); text-align: left; border: 0; background: none; font: inherit; cursor: pointer; }
.pe__issue--error .pe__issue-btn { border-left: 4px solid var(--danger); } .pe__issue--warning .pe__issue-btn { border-left: 4px solid var(--moutarde); }
.pe__table-wrap { overflow-x: auto; } .pe__table { width: 100%; border-collapse: collapse; } .pe__table th, .pe__table td { padding: var(--s-1) var(--s-2); border-bottom: 1px solid var(--line); text-align: left; }
.pe__dialog { max-width: min(30rem, 92vw); border: 2px solid var(--forest); border-radius: var(--r-sm); }
.pe-handle { fill: var(--focus); stroke: var(--white); cursor: nwse-resize; } .pe-preview { fill: #1e4d3b22; stroke: var(--forest); stroke-width: 2; stroke-dasharray: 6 4; }
.pe-scale-point { fill: var(--brique); stroke: var(--white); stroke-width: 2; }
@media (max-width: 40rem) { .pe__bar { align-items: stretch; } .pe__name { min-width: 100%; } .pro-plan__actions .btn { flex: 1 1 auto; } }

.pe__group .select { width: auto; max-width: 11rem; }
.pe__group .btn[aria-pressed='true'] { background: var(--forest); color: var(--white); }
.pe__row-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---- Polish page de connexion Mon Indiana : accueil plus chaleureux, formulaire sur une seule largeur ---- */
.mi-welcome { display: grid; gap: var(--s-3); justify-items: start; align-content: start; }
.mi-welcome h2 { margin: 0; }
.mi-welcome .lead { margin: 0; color: var(--ink-soft); }
.mi-welcome__mascot { width: 6.5rem; height: auto; }
.mi-benefits { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.mi-benefits li { display: flex; align-items: center; gap: var(--s-3); font-weight: 700; }
.mi-benefits .icon { flex: none; width: 1.75rem; height: 1.75rem; padding: 0.3rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); }
.mi-loginform { width: 100%; max-width: 25rem; }
.mi-loginform .mi-password { margin-top: var(--s-2); }
.mi-loginform .mi-password summary { font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 48rem) { .mi-login { align-items: center; gap: var(--s-6); } .mi-login > div + div { justify-self: center; width: 100%; } .mi-welcome__mascot { width: 8rem; } }
.mi-profile-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--s-4); }
.mi-profile-photo__preview {
  position: relative; display: block; width: 6rem; height: 6rem; overflow: hidden;
  border-radius: 50%; background: #e5e7eb; color: #6b7280;
}
.mi-profile-photo__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mi-profile-photo .contact-actions { display: flex; flex-wrap: wrap; }
@media (max-width: 30rem) { .mi-profile-photo { grid-template-columns: 1fr; } }

/* Assistant de création de plan (organisateur) */
.pw__steps { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.pw__steps li { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted, #5e5750); font-size: 1rem; }
.pw__steps li > span { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--line); font-weight: 700; font-size: 1rem; }
.pw__steps li.is-current { border-color: var(--forest, #1d5948); color: var(--ink); font-weight: 700; }
.pw__steps li.is-current > span, .pw__steps li.is-done > span { background: var(--forest, #1d5948); color: #fff; }
.pw__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-3); }
.pw__zone { display: grid; grid-template-columns: 4rem minmax(8rem, 1.5fr) 5.5rem 5.5rem 6.5rem auto; gap: var(--s-2); align-items: end; margin-bottom: var(--s-3); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.55); }
.pw__bg { display: flex; gap: var(--s-3); align-items: center; margin: var(--s-2) 0; } .pw__bg img { max-width: 40vw; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.pw__access { border: 1px solid var(--line); border-radius: var(--r-sm); margin: var(--s-3) 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pw__nav { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; margin-top: var(--s-3); }
@media (max-width: 640px) { .pw__zone { grid-template-columns: 1fr 1fr; } }
.pw__ai { margin-top: var(--s-3); } .pw__pick { border: 1px solid var(--line); border-radius: var(--r-sm); margin: var(--s-2) 0; display: grid; gap: var(--s-1); }
.pw__overlay { max-width: 100%; height: auto; } .pw__ov-area { fill: rgba(29, 89, 72, 0.14); stroke: var(--forest, #1d5948); stroke-width: 3; }
.pw__ov-row { fill: rgba(168, 66, 50, 0.16); stroke: var(--brique, #a84232); stroke-width: 2; } .pw__ov-obstacle { fill: rgba(201, 150, 43, 0.35); stroke: #8a6414; stroke-width: 2; }
.pw__ov-access { fill: #1d5948; stroke: #fff; stroke-width: 3; } .pw__ov-area.is-off, .pw__ov-row.is-off, .pw__ov-obstacle.is-off { fill: none; stroke-dasharray: 8 6; opacity: 0.55; } .pw__ov-access.is-off { opacity: 0.35; }
.pw__zone--ai { grid-template-columns: minmax(8rem, 1fr) 8rem 9rem; } @media (max-width: 640px) { .pw__zone--ai { grid-template-columns: 1fr 1fr; } .pw__zone--ai strong { grid-column: 1 / -1; } }
.pe__review { display: block; margin-top: var(--s-2); padding: var(--s-2); border: 1px solid var(--moutarde, #c9962b); border-radius: var(--r-sm); background: rgba(201, 150, 43, 0.1); }

/* Assistant de plans : trois parcours, gros boutons, aides, palette d'équipements */
.pw__title { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); } .pw__mascot { flex: none; width: 72px; height: 72px; object-fit: contain; } .pw__mascot-slot { display: none; }  /* emplacement réservé à la mascotte APPROUVÉE (options.mascotUrl) */
.pw__choice { display: grid; gap: 0.25rem; width: 100%; text-align: left; padding: 1.1rem 1.2rem; margin-bottom: var(--s-3); background: var(--white, #fff); border: 2px solid var(--forest, #1d5948); border-radius: var(--r-md, 14px); cursor: pointer; font: inherit; color: var(--ink); }
.pw__choice strong { font-size: 1.15rem; color: var(--forest, #1d5948); } .pw__choice span { color: var(--muted, #5e5750); } .pw__choice:hover, .pw__choice:focus-visible { background: rgba(29, 89, 72, 0.08); outline: 3px solid var(--focus, #2b6cb0); outline-offset: 2px; }
.btn--big { min-height: 3.1rem; padding-inline: 1.3rem; font-size: 1.05rem; } .pw__hint { margin: var(--s-2) 0; padding: 0.5rem 0.8rem; border-left: 4px solid var(--moutarde, #c9962b); background: rgba(201, 150, 43, 0.1); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.pw__more { margin: var(--s-3) 0; padding: var(--s-2) var(--s-3); border: 1px dashed var(--line); border-radius: var(--r-sm); } .pw__more summary { cursor: pointer; font-weight: 700; } .pw__zone--eq { grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) auto; }
@media (max-width: 640px) { .pw__zone--eq { grid-template-columns: 1fr; } .pw__nav .btn--big { flex: 1 1 100%; } }
.pe__palette { align-items: center; } .pe__equip { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.4rem; } .pe__equip[aria-pressed="true"] { background: var(--forest, #1d5948); color: #fff; }

/* =====================================================================================================================================================
   Landing pages commerciales (organisateurs, exposants). Un seul accent (le vert forêt de la marque), teintes de la palette existante, rayons --r-lg et pilules.
   Mouvement : transform et opacity uniquement ; tout est coupé sous prefers-reduced-motion. Mobile d'abord, une colonne sous 900 px.
   ===================================================================================================================================================== */
.lp { padding-top: var(--lp-lift, 0px); --lp-gap: clamp(3.5rem, 8vw, 6.5rem); --lp-shadow: 0 1px 2px rgba(20, 55, 38, 0.1), 0 20px 40px -20px rgba(20, 55, 38, 0.3); overflow-x: clip; }
.lp h1, .lp h2, .lp h3 { font-family: var(--font-display); text-wrap: balance; }
.lp [id] { scroll-margin-top: calc(var(--lp-top, 72px) + 64px); }
.lp img { max-width: 100%; }

/* navigation compacte : une ligne de 56 px, collée sous l'en-tête du site */
.lp-subnav { position: sticky; top: var(--lp-top, 72px); z-index: 20; background: rgba(248, 242, 230, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-subnav__row { display: flex; align-items: center; gap: var(--s-4); min-height: 56px; }
.lp-subnav__links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.lp-subnav__links::-webkit-scrollbar { display: none; }
.lp-subnav__links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.85rem; border-radius: var(--r-pill); color: var(--ink-soft); text-decoration: none; font-weight: 700; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.lp-subnav__links a:hover { background: var(--forest-tint); color: var(--forest-deep); }
.lp-subnav__links a[aria-current] { background: var(--forest-tint); color: var(--forest-deep); }
.lp-subnav__other { font-weight: 700; color: var(--forest); white-space: nowrap; }
.lp-subnav__cta { white-space: nowrap; }
@media (max-width: 760px) { .lp-subnav__other, .lp-subnav__cta { display: none; } .lp-subnav__links { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* hero : texte à gauche, vrai écran et mascotte à droite */
.lp-hero { padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.35rem 0 1rem; }
.lp-lead { font-size: var(--text-lead); max-width: 34ch; color: var(--ink-soft); margin: 0; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.lp-hero__visual { position: relative; display: grid; align-items: end; min-height: clamp(380px, 41vw, 540px); }
.lp-hero__screen { position: absolute; top: 0; right: 0; width: min(84%, 560px); margin: 0; rotate: -2deg; z-index: 0; }
.lp-hero__phone { position: absolute; top: 0; right: 2%; width: min(50%, 250px); margin: 0; rotate: 3deg; z-index: 0; }
.lp-mascot { display: block; height: auto; pointer-events: none; }
.lp-hero__mascot { position: relative; z-index: 1; width: min(80%, 440px); margin-left: 2%; filter: drop-shadow(0 22px 26px rgba(43, 33, 24, 0.32)); rotate: 0deg; transition: rotate 0.35s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: auto; }
.lp-hero__mascot:hover { rotate: -4deg; }

/* écrans réels dans un cadre sobre */
.lp-screen { margin: 0; }
.lp-screen img { display: block; width: 100%; height: auto; background: var(--surface); }
.lp-screen--desk img { border-radius: var(--r-lg); border: 1px solid var(--line-strong); box-shadow: var(--lp-shadow); }
.lp-screen--phone { width: min(100%, 270px); border-radius: 34px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: var(--lp-shadow); }
.lp-screen--phone img { border-radius: 25px; }

/* sections */
.lp-section { padding-block: var(--lp-gap); }
.lp-section h2, .lp-final h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 1.6rem; max-width: 24ch; }
.lp-sub { max-width: 52ch; color: var(--ink-soft); margin: -0.6rem 0 0; font-size: var(--text-lead); }
.lp-section--steps { background: var(--paper-deep); }

/* bento : quatre cases, deux avec un vrai écran, deux teintées */
.lp-bento { display: grid; gap: 1rem; grid-template-columns: 1.15fr 1fr; grid-template-areas: "a b" "a c" "d d"; }
.lp-bento > :nth-child(1) { grid-area: a; } .lp-bento > :nth-child(2) { grid-area: b; } .lp-bento > :nth-child(3) { grid-area: c; } .lp-bento > :nth-child(4) { grid-area: d; }
.lp-bento--text { grid-template-columns: 1.1fr 1fr; grid-template-areas: "w a" "w b" "w c"; }
.lp-bento--text > :nth-child(1) { grid-area: w; } .lp-bento--text > :nth-child(2) { grid-area: a; } .lp-bento--text > :nth-child(3) { grid-area: b; } .lp-bento--text > :nth-child(4) { grid-area: c; }
.lp-tile, .lp-way { border-radius: var(--r-lg); padding: clamp(1.25rem, 2.5vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lp-shadow); transition: translate 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s; }
.lp-tile h3, .lp-way h3 { font-size: 1.45rem; line-height: 1.15; margin: 0.6rem 0 0.4rem; }
.lp-tile p, .lp-way p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.lp-tile__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); }
.lp-tile--forest, .lp-way--lead { background: var(--forest); border-color: var(--forest-deep); }
.lp-tile--forest h3, .lp-tile--forest p, .lp-way--lead h3, .lp-way--lead p { color: #fff; }
.lp-tile--forest .lp-tile__icon, .lp-way--lead .lp-tile__icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lp-tile--terre { background: var(--terre-tint); border-color: #E2C7B0; }
.lp-tile--terre .lp-tile__icon { background: rgba(138, 75, 42, 0.14); color: var(--terre); }
.lp-tile--sand, .lp-way--sand { background: var(--moutarde-tint); border-color: #EFD79C; }
.lp-tile--wide { justify-content: flex-end; display: flex; flex-direction: column; }
.lp-tile--wide h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lp-tile__screen img { margin-top: 1rem; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.lp-tile--price .lp-tile__screen img { aspect-ratio: 16 / 7; }
@media (min-width: 901px) { .lp-tile--shot { display: flex; flex-direction: column; } .lp-tile--shot .lp-tile__screen { flex: 1; min-height: 0; display: flex; } .lp-tile--shot .lp-tile__screen img { aspect-ratio: auto; flex: 1; min-height: 190px; height: 100%; } }
@media (hover: hover) { .lp-tile:hover, .lp-way:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgba(20, 55, 38, 0.12), 0 26px 46px -20px rgba(20, 55, 38, 0.4); } }

/* étapes interactives : liste à gauche, aperçu à droite */
.lp-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lp-steps__list { display: grid; gap: 0.5rem; }
.lp-steps__tab { position: relative; overflow: hidden; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: var(--r-lg); padding: 1rem 1.2rem 1.15rem; transition: background-color 0.25s, box-shadow 0.25s, border-color 0.25s; }
.lp-steps__tab strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.lp-steps__tab span { display: block; margin-top: 0.35rem; color: var(--ink-soft); }
.lp-steps__tab:hover { background: rgba(255, 252, 245, 0.7); }
.lp-steps__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--lp-shadow); }
.lp-steps__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--forest); transform: scaleX(0); transform-origin: left; }
.lp-steps__tab[aria-selected="true"] .lp-steps__bar { transform: scaleX(1); }
.lp-steps__view { display: grid; }
.lp-steps__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s; }
.lp-steps__panel.is-active { opacity: 1; visibility: visible; }
.lp-steps--phone .lp-steps__panel { display: flex; justify-content: center; }

/* trois façons de commencer : une grande case et deux cases empilées */
.lp-trio { display: grid; gap: 1rem; grid-template-columns: 1.25fr 1fr; grid-template-areas: "lead b" "lead c"; }
.lp-trio > :nth-child(1) { grid-area: lead; } .lp-trio > :nth-child(2) { grid-area: b; } .lp-trio > :nth-child(3) { grid-area: c; }
.lp-way--lead { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.lp-way--lead h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* galerie des écrans côté exposant : défilement natif */
.lp-section--gallery { background: var(--paper-deep); overflow: hidden; }
.lp-gallery__bar { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.lp-round { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 50%; border: 2px solid var(--forest); background: var(--white); color: var(--forest); cursor: pointer; transition: background-color 0.2s, color 0.2s, scale 0.15s; }
.lp-round:hover:not(:disabled) { background: var(--forest); color: #fff; }
.lp-round:active:not(:disabled) { scale: 0.94; }
.lp-round:disabled { opacity: 0.35; cursor: default; }
.lp-gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.5rem max(var(--s-4), calc((100vw - var(--wrap)) / 2 + var(--s-4))) 0.5rem; scroll-padding-inline: max(var(--s-4), calc((100vw - var(--wrap)) / 2 + var(--s-4))); scrollbar-width: thin; }
.lp-gallery__item { flex: 0 0 min(280px, 74vw); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; }
.lp-gallery__item p { margin: 0.9rem 0 0; font-weight: 700; text-align: center; }

/* ce qui est inclus, ce qui ne l'est pas encore */
.lp-honest { background: var(--paper-deep); }
.lp-honest__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-honest h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.lp-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; align-items: start; }
.lp-list svg { color: var(--ink-soft); margin-top: 0.15rem; } .lp-list--yes svg { color: var(--forest); }
.lp-honest__later { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.9rem); }
.lp-honest__later p { margin: 1.1rem 0 0; color: var(--ink-soft); }

/* questions fréquentes */
.lp-faq__wrap { max-width: 54rem; }
.lp-faq__item { border-top: 1px solid var(--line); }
.lp-faq__item:last-child { border-bottom: 1px solid var(--line); }
.lp-faq__item summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; list-style: none; padding: 1.1rem 0; min-height: var(--tap); font-weight: 700; font-size: 1.15rem; }
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--forest); transition: rotate 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.lp-faq__item[open] summary::after { rotate: 45deg; }
.lp-faq__item p { margin: 0 0 1.2rem; max-width: 62ch; color: var(--ink-soft); }

/* appel à l'action final */
.lp-final { padding-block: 0 var(--lp-gap); }
.lp-final__box { background: var(--forest-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.lp-final h2 { color: #fff; margin-bottom: 0.6rem; }
.lp-final p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 44ch; }
.lp-final__actions { display: grid; gap: 1rem; justify-items: start; }
.lp-final .btn--primary { background: #fff; color: var(--forest-deep); border-color: #fff; }
.lp-final .btn--primary:hover { background: var(--forest-tint); }
.lp-final__link { color: #fff; font-weight: 700; text-underline-offset: 0.2em; }

/* retour tactile des boutons */
.lp .btn { transition: background-color 0.2s, color 0.2s, translate 0.15s, box-shadow 0.2s; }
.lp .btn:active { translate: 0 1px; scale: 0.98; }

/* mouvement : arrivée du hero, apparition des sections, progression des étapes. Tout est coupé sous « mouvement réduit ». */
@media (prefers-reduced-motion: no-preference) {
  .lp-hero__copy > * { opacity: 0; animation: lp-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .lp-hero__copy > :nth-child(2) { animation-delay: 0.07s; } .lp-hero__copy > :nth-child(3) { animation-delay: 0.14s; } .lp-hero__copy > :nth-child(4) { animation-delay: 0.21s; }
  .lp-hero__screen, .lp-hero__phone { opacity: 0; animation: lp-slide 0.9s 0.12s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .lp-hero__mascot { opacity: 0; animation: lp-arrive 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .lp--ready [data-reveal]:not(.is-in) { opacity: 0; translate: 0 22px; }
  .lp [data-reveal] { transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .lp-steps[data-auto="true"] .lp-steps__tab[aria-selected="true"] .lp-steps__bar { animation: lp-fill 6.5s linear forwards; }
  .lp-steps[data-auto="true"]:hover .lp-steps__bar { animation-play-state: paused; }
  @keyframes lp-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes lp-slide { from { opacity: 0; translate: 36px 10px; } to { opacity: 1; translate: 0 0; } }
  @keyframes lp-arrive { from { opacity: 0; translate: -18px 26px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes lp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* mobile : une colonne, le texte et l'action d'abord */
@media (max-width: 900px) {
  .lp-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .lp-hero__visual { min-height: clamp(330px, 88vw, 460px); margin-top: 0.5rem; }
  .lp-hero__mascot { width: min(64vw, 330px); }
  .lp-hero__screen { width: 82%; }
  .lp-hero__phone { width: min(44vw, 230px); right: 4%; }
  .lp-bento, .lp-bento--text { grid-template-columns: 1fr; grid-template-areas: none; }
  .lp-bento > *, .lp-bento--text > * { grid-area: auto !important; }
  .lp-steps, .lp-honest__grid, .lp-trio, .lp-final__box { grid-template-columns: 1fr; grid-template-areas: none; }
  .lp-trio > * { grid-area: auto !important; }
  .lp-way--lead { min-height: 0; }
  .lp-tile--wide { display: block; }
}

/* ---------------------------------------------------------------- V3.6 : paiement en ligne, billet QR, contrôle des arrivées (smartphone d'abord, gros boutons) */
.pro-connect__status { margin: var(--s-2) 0; }
.ck { display: grid; gap: var(--s-3); max-width: 34rem; margin-inline: auto; }
.ck-date { font-size: 1.25rem; margin: 0; }
.ck-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); gap: var(--s-2); margin: 0; }
.ck-count { text-align: center; padding: var(--s-2) var(--s-1); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.ck-count dt { font-size: 1rem; color: var(--ink-soft); }
.ck-count dd { margin: 0; font-size: 1.75rem; font-weight: 800; }
.ck-count--present dd { color: var(--forest); }
.ck-count--absent dd { color: var(--brique); }
.ck-big { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.75rem; padding: 0.5rem 1rem; font-size: 1.2rem; font-weight: 800; text-align: center; border-radius: var(--r); cursor: pointer; }
.ck-big--scan { min-height: 4.5rem; font-size: 1.4rem; }
.ck-stage { position: relative; display: grid; gap: var(--s-2); }
.ck-video { width: 100%; max-height: 62vh; object-fit: cover; background: #000; border-radius: var(--r-lg); }
.ck-aim { position: absolute; inset: 12% 18% 28%; margin: 0; border: 4px solid rgba(255, 255, 255, 0.9); border-radius: 1rem; pointer-events: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35); }
.ck-hint { margin: 0; color: var(--ink-soft); }
.ck-result { display: grid; gap: var(--s-2); padding: var(--s-4); border: 4px solid; border-radius: var(--r-lg); }
.ck-result--ok { background: #e4f3e8; border-color: #1e7a3c; color: #0f4a23; }
.ck-result--warn { background: #fff3cd; border-color: #b7791f; color: #5f3b00; }
.ck-result--bad { background: #fde4e1; border-color: #b3261e; color: #6b130e; }
.ck-result p { margin: 0; }
.ck-result__title { display: flex; align-items: center; gap: var(--s-2); font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.ck-result__who { font-size: 1.25rem; }
.ck-result__pay { padding: 0.5rem 0.75rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.75); font-size: 1.3rem; font-weight: 800; }
.ck-result__pay--due { background: var(--moutarde); color: var(--ink); }
.ck-h { margin: var(--s-3) 0 0; }
.ck-search { min-height: 3.25rem; font-size: 1.1rem; }
.ck-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ck-filters .btn { min-height: 2.75rem; }
.ck-list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.ck-row { display: grid; gap: var(--s-2); padding: var(--s-3); border: 1px solid var(--line); border-left-width: 6px; border-radius: var(--r); background: var(--white); }
.ck-row--present { border-left-color: var(--forest); }
.ck-row--expected { border-left-color: var(--moutarde); }
.ck-row--absent { border-left-color: var(--brique); }
.ck-ok { color: var(--forest-deep); font-weight: 700; }
.ck-foot { margin: var(--s-2) 0 0; }
.ticket { display: grid; gap: var(--s-2); max-width: 26rem; margin: 0 auto var(--s-4); padding: var(--s-4); text-align: center; background: var(--white); border: 3px solid var(--forest); border-radius: var(--r-lg); }
.ticket p, .ticket h3 { margin: 0; }
.ticket__brand { color: var(--forest); font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.ticket__event { font-size: 1.5rem; }
.ticket__when { color: var(--ink-soft); }
.ticket__qr { width: min(100%, 18rem); margin: var(--s-2) auto; }
.ticket__qr svg { display: block; width: 100%; height: auto; }
.ticket__stand { font-size: 1.75rem; font-weight: 800; }
.ticket__stand span { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.ticket__who { font-size: 1.1rem; }
.ticket__pay { padding: 0.6rem; border-radius: var(--r-sm); font-size: 1.1rem; font-weight: 800; }
.ticket__pay--paid { background: #e4f3e8; color: #0f4a23; }
.ticket__pay--free { background: var(--forest-tint); color: var(--forest-deep); }
.ticket__pay--due { background: var(--moutarde); color: var(--ink); }
.ticket__code { color: var(--ink-soft); font-family: ui-monospace, monospace; letter-spacing: 0.12em; }
.ticket__in { color: var(--forest-deep); font-weight: 700; }
.ticket--revoked { border-color: var(--brique); }
.ticket__void { color: var(--brique); font-size: 1.2rem; font-weight: 800; }
@media print {
  body * { visibility: hidden; }
  .ticket, .ticket * { visibility: visible; }
  .ticket { position: absolute; top: 0; left: 50%; width: 18cm; border-color: #000; transform: translateX(-50%); break-inside: avoid; }
  .ticket__qr { width: 11cm; }
  .no-print { display: none !important; }
}

/* Fiabilité de l'annonce : pastille des cartes (confirmé / annoncé / à vérifier). Texte ≥ 16 px, jamais la couleur seule. */
.badge--confirmed { background: var(--forest-tint); color: var(--forest-deep); }
.badge--check { background: var(--moutarde-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--moutarde); }


/* ------------------------------------------------------------------ V3.7 : cockpit organisateur et parcours exposant (mobile d'abord, 390 px) */
.org-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.org-head h2 { margin: 0; }
.org-switch { min-width: min(100%, 18rem); margin: 0; }

/* Six rubriques : 3 x 2 sur téléphone, une ligne dès la tablette. Libellé complet toujours visible, jamais sous 16 px. */
.org-nav ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 0.4rem; margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.org-nav__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; min-height: 4.1rem; height: 100%; padding: 0.35rem 0.05rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.12; text-align: center; text-decoration: none; overflow-wrap: normal; hyphens: manual; transition: background-color var(--ease), border-color var(--ease), transform var(--ease); }
.org-nav__item:hover { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-deep); transform: translateY(-1px); }
.org-nav__item[aria-current='page'] { border-color: var(--forest); background: var(--forest); color: var(--white); box-shadow: var(--shadow); }
.org-nav__item .icon { width: 1.5rem; height: 1.5rem; }
.org-nav__count { position: absolute; top: -0.45rem; right: -0.2rem; min-width: 1.6rem; padding: 0 0.4rem; border: 2px solid var(--surface); border-radius: 999px; background: var(--brique); color: var(--white); font-size: 1rem; font-weight: 800; line-height: 1.4; text-align: center; }
@media (min-width: 48rem) {
  .org-nav ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .org-nav__item { flex-direction: row; justify-content: flex-start; gap: var(--s-2); padding: 0.4rem var(--s-3); text-align: left; }
}
.org-sub ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.org-sub a { display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); padding: 0 var(--s-3); border-bottom: 3px solid transparent; color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.org-sub a:hover { color: var(--forest); }
.org-sub a[aria-current='page'] { border-bottom-color: var(--brique); color: var(--ink); }

/* Prochaine date */
.org-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3) var(--s-4); align-items: center; margin-bottom: var(--s-4); padding: var(--s-4); border-radius: var(--r-lg); background: var(--forest-deep); color: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.org-hero::after { content: ''; position: absolute; top: -4rem; right: -4rem; width: 11rem; height: 11rem; border: 1.5rem solid rgba(240, 185, 77, 0.16); border-radius: 50%; pointer-events: none; }
.org-hero > * { position: relative; z-index: 1; }
.org-hero .eyebrow { margin: 0 0 0.2rem; color: var(--moutarde); }
.org-hero h3 { margin: 0; color: var(--white); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.org-hero a { color: inherit; }
.org-hero__date { display: grid; place-items: center; width: 4.25rem; padding: 0.45rem 0; border-radius: var(--r); background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.16); }
.org-hero__day { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.org-hero__month { color: var(--brique); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.org-hero__meta { margin: 0.3rem 0; }
.org-hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.org-hero__cta { grid-column: 1 / -1; display: grid; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.24); }
.org-hero__next { margin: 0; }
.org-hero .btn--primary { background: var(--moutarde); color: var(--ink); }
.org-hero .btn--primary:hover { background: #f5c971; color: var(--ink); }
.org-hero--empty { grid-template-columns: minmax(0, 1fr); }
.org-hero.is-past { background: var(--ink); }
@media (min-width: 48rem) {
  .org-hero { grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 20rem); padding: var(--s-5); }
  .org-hero__cta { grid-column: auto; padding: 0 0 0 var(--s-4); border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.24); }
  .org-hero h3 { font-size: 2rem; }
}
.org-dates { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-4); }
.org-dates p { margin: 0; }
.org-dates ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.org-dates a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: var(--tap); padding: 0 var(--s-3); border: 2px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.org-dates a[aria-current='page'] { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-deep); }
.org-dates__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--forest); }

/* Chiffres réels */
.org-blocks { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (min-width: 64rem) { .org-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.org-block { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.org-block > h3 { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); font-size: 1.25rem; }
.org-block > h3 .icon { color: var(--forest); }
.org-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.org-stats > li { display: flex; }
.org-stat { display: flex; align-items: flex-start; gap: var(--s-2); width: 100%; padding: var(--s-3) var(--s-2); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; }
a.org-stat { transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
a.org-stat:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-1px); }
.org-stat__icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest-deep); }
.org-stat__icon .icon { width: 1.2rem; height: 1.2rem; }
.org-stat__text { display: grid; gap: 0.1rem; min-width: 0; }
.org-stat__label { color: var(--ink-soft); font-size: 1rem; line-height: 1.2; }
.org-stat__value { font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1; overflow-wrap: anywhere; }
.org-stat__sub { color: var(--ink-soft); font-size: 1rem; line-height: 1.2; }
.org-stat--free .org-stat__icon { background: #dcefe0; }
.org-stat--taken .org-stat__icon { background: var(--forest); color: var(--white); }
.org-stat--held .org-stat__icon { background: var(--moutarde-tint); color: var(--ink); }
.org-stat--alert { border: 2px solid var(--brique); background: #fff7f1; }
.org-stat--alert .org-stat__icon { background: var(--brique); color: var(--white); }
.org-fill__head { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-2); }
.org-fill__pct { flex: none; white-space: nowrap; color: var(--forest); font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.org-meter { display: flex; height: 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.org-meter span { display: block; height: 100%; transform-origin: left center; animation: org-grow 0.7s ease-out both; }
.org-meter .is-taken { background: var(--forest); }
.org-meter .is-held { background: var(--moutarde); }
.org-meter .is-blocked { background: var(--line-strong); }
@keyframes org-grow { from { transform: scaleX(0); } }
.org-legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-2) 0 var(--s-3); padding: 0; list-style: none; }
.org-legend i { display: inline-block; width: 0.9rem; height: 0.9rem; margin-right: 0.35rem; vertical-align: -0.1rem; border: 1px solid var(--line-strong); border-radius: 3px; }
.org-legend i.is-taken { background: var(--forest); }
.org-legend i.is-held { background: var(--moutarde); }
.org-legend i.is-free { background: var(--surface); }

/* Assistant de préparation */
.org-prep { margin-bottom: var(--s-4); }
.org-prep__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.org-prep__head h3 { margin: 0; }
.org-prep__head p { margin: 0.2rem 0 0; }
.org-steps { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
/* Date sans plan : lien discret « Faire un plan plus tard » (facultatif), zone tactile de 44 px */
.org-prep__later { margin: var(--s-3) 0 0; text-align: center; }
.org-prep__later-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3); border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.org-prep__later-link:hover, .org-prep__later-link:focus-visible { color: var(--forest); }
.org-prep__later-link svg { width: 1.1em; height: 1.1em; }
.org-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-3); align-items: start; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.org-step__cta { grid-column: 2; }
.org-step__mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 2px solid var(--line-strong); border-radius: 50%; color: var(--ink-soft); font-weight: 800; }
.org-step__mark .icon { width: 1.2rem; height: 1.2rem; }
.org-step--done .org-step__mark { border-color: var(--forest); background: var(--forest); color: var(--white); }
.org-step--wait .org-step__mark { border-color: var(--moutarde); background: var(--moutarde-tint); color: var(--ink); }
.org-step.is-next { border: 2px solid var(--brique); background: #fffaf3; box-shadow: var(--shadow); }
.org-step.is-next .org-step__mark { border-color: var(--brique); color: var(--brique); }
.org-step__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0; }
.org-step__detail, .org-step__hint { margin: 0.15rem 0 0; color: var(--ink-soft); }
@media (min-width: 48rem) {
  .org-step { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .org-step__cta { grid-column: auto; }
}

/* Futur et outils */
.org-soon { border-style: dashed; background: var(--paper-deep); margin-bottom: var(--s-4); }
.org-soon h3 { margin-top: 0; }
.org-soon__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s-3); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.org-soon__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.org-soon__list p { margin: 0 0 0.2rem; }
.org-soon__icon { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px dashed var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink-soft); }
.org-tools { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.org-tool { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: center; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.org-tool p { margin: 0; }
.org-tool .btn { grid-column: 1 / -1; }
.org-tool__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest-deep); }
@media (min-width: 48rem) { .org-tool { grid-template-columns: auto minmax(0, 1fr) auto; } .org-tool .btn { grid-column: auto; } }

/* Mes brocantes, demandes */
.org-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--s-4); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.org-event { display: grid; gap: var(--s-3); align-content: space-between; }
.org-event h3 { margin: 0 0 0.25rem; }
.org-event p { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0.25rem 0; }
.org-empty h3 { margin-top: 0; }
.org-howto { display: grid; gap: var(--s-3); margin: var(--s-3) 0; padding: 0; list-style: none; }
.org-howto li { display: flex; gap: var(--s-3); align-items: flex-start; }
.org-howto li > span { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--forest); color: var(--white); font-weight: 800; }
.org-howto p { margin: 0; }
.org-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.org-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.org-chip { min-height: var(--tap); padding: 0 var(--s-3); border: 2px solid var(--forest); border-radius: 999px; background: var(--surface); color: var(--forest); font: inherit; font-weight: 700; cursor: pointer; transition: background-color var(--ease); }
.org-chip:hover { background: var(--forest-tint); }
.org-chip[aria-pressed='true'] { background: var(--forest); color: var(--white); }
.org-chip__n { display: inline-block; min-width: 1.6rem; padding: 0 0.4rem; border-radius: 999px; background: var(--paper-deep); color: var(--ink); font-size: 1rem; font-weight: 800; text-align: center; }
.org-chip[aria-pressed='true'] .org-chip__n { background: var(--white); color: var(--forest-deep); }

/* Parcours exposant */
.xp-steps ol { display: flex; gap: 0.3rem; margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.xp-steps li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.15; text-align: center; }
.xp-steps__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); font-weight: 800; }
.xp-steps__n .icon { width: 1.1rem; height: 1.1rem; }
.xp-steps li.is-done .xp-steps__n { border-color: var(--forest); background: var(--forest); color: var(--white); }
.xp-steps li.is-current { color: var(--ink); font-weight: 700; }
@media (max-width: 47.99rem) { .xp-steps li.is-current { flex-grow: 3; } }
.xp-steps li.is-current .xp-steps__n { border-color: var(--brique); background: var(--brique); color: var(--white); box-shadow: 0 0 0 4px var(--terre-tint); }
@media (max-width: 47.99rem) {
  .xp-steps li:not(.is-current) .xp-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.xp-lead { margin-block: 0 var(--s-4); }
.xp-search { max-width: 32rem; }
.xp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: var(--s-4); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.xp-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-content: start; transition: box-shadow var(--ease), transform var(--ease); }
.xp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.xp-card .btn { grid-column: 1 / -1; }
.xp-card h3 { margin: 0 0 0.25rem; font-size: 1.3rem; }
.xp-card p { margin: 0.3rem 0; }
.xp-card__date { display: grid; align-content: center; justify-items: center; width: 4rem; height: 4.5rem; border-radius: var(--r); background: var(--terre-tint); color: var(--terre); text-align: center; }
.xp-card__day { color: var(--ink); font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.xp-card__month { font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.xp-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.xp-avail { height: 0.6rem; margin: 0.5rem 0; }
.xp-facts { display: grid; gap: var(--s-2); margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.xp-facts li { display: flex; align-items: flex-start; gap: var(--s-3); }
.xp-facts .icon { margin-top: 0.1rem; color: var(--forest); }
.xp-infos { margin-top: var(--s-2); }
.xp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); }
.xp-zoom { display: inline-flex; gap: var(--s-2); }
.xp-zoom .btn { min-width: var(--tap-cta); padding: 0; font-size: 1.6rem; line-height: 1; }
.xp-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); }
.xp-toggle input { width: 1.35rem; height: 1.35rem; accent-color: var(--forest); }
.xp-legend .plan-legend__swatch { width: 1.35rem; height: 1.35rem; }
.plan-svg--focus-free .plan-stand:not([data-state='free']):not(.is-mine):not(.is-selected) { opacity: 0.4; }
.plan-svg--focus-free .plan-stand[data-state='free'] rect { stroke-width: 2.5; }
.xp-plan .plan-scroll { max-height: 62vh; border: 1px solid var(--line); }
.xp-stand { border: 2px solid var(--forest); scroll-margin: var(--s-4); }
.xp-stand__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.xp-stand__head h3 { margin: 0; }
.xp-price { margin: 0.5rem 0; font-size: 1.35rem; }
.xp-state { display: inline-block; padding: 0.1rem 0.65rem; border: 1.5px solid currentColor; border-radius: 999px; font-size: 1rem; font-weight: 700; }
.xp-state--free { background: var(--forest-tint); color: var(--forest-deep); }
.xp-state--held { background: var(--moutarde-tint); color: var(--ink); }
.xp-state--taken, .xp-state--blocked, .xp-state--unbookable { background: var(--paper-deep); color: var(--ink-soft); }
.xp-next { display: grid; gap: var(--s-2); margin: var(--s-3) 0; padding: 0; list-style: none; }
.xp-next li { display: flex; align-items: flex-start; gap: var(--s-3); }
.xp-next li > span { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--terre-tint); color: var(--terre); font-weight: 800; }
.xp-more summary { display: flex; align-items: center; min-height: var(--tap); color: var(--forest); font-weight: 700; cursor: pointer; }
.xp-link { min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--forest); font: inherit; text-decoration: underline; cursor: pointer; }
.xp-hint p { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.xp-hint .icon { color: var(--brique); }
.xp-done { display: flex; align-items: flex-start; gap: var(--s-3); margin-bottom: var(--s-4); border: 2px solid var(--forest); background: var(--forest-tint); }
.xp-done h3 { margin: 0 0 0.25rem; }
.xp-done p { margin: 0 0 var(--s-2); }
.xp-done__icon { flex: none; color: var(--forest); }
.xp-mine { margin: 0; padding-left: var(--s-4); }
.xp-group { margin-bottom: var(--s-5); }
.xp-group > h3, .xp-group > summary { display: flex; align-items: center; gap: var(--s-2); }
.xp-next-event { margin-bottom: var(--s-5); padding: var(--s-4); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--forest), var(--forest-deep)); color: var(--white); box-shadow: var(--shadow); }
.xp-next-event .eyebrow { margin: 0 0 0.2rem; color: var(--moutarde); }
.xp-next-event h3 { margin: 0; color: var(--white); font-family: var(--font-display); font-size: 1.6rem; }
.xp-next-event__when { margin: 0.3rem 0; }
.xp-next-event .btn--primary { background: var(--moutarde); color: var(--ink); }
.xp-next-event a:not(.btn) { color: inherit; text-decoration: underline; }
.xp-arrival { display: grid; gap: var(--s-2); margin: var(--s-3) 0; padding: 0; list-style: none; }
.xp-arrival li { display: flex; align-items: flex-start; gap: var(--s-2); }
.xp-arrival .icon { margin-top: 0.15rem; }
.xp-booking__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-2); }
.xp-booking__head h3 { margin: 0; font-size: 1.3rem; }
.xp-booking__head p { margin: 0.1rem 0 0; }
.xp-booking--pay, .xp-booking--confirm { border: 2px solid var(--brique); }
.xp-booking--confirmed { border-left: 6px solid var(--forest); }
.xp-booking--closed { opacity: 0.85; }
.xp-booking__stand { margin: var(--s-2) 0; }
.xp-track { display: flex; gap: 0.3rem; margin: var(--s-3) 0; padding: 0; list-style: none; }
.xp-track li { flex: 1 1 0; display: flex; flex-direction: column; gap: 0.35rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.15; }
.xp-track li > span { display: block; height: 0.5rem; border-radius: 999px; background: var(--paper-deep); border: 1px solid var(--line); }
.xp-track li.is-done > span { background: var(--forest); border-color: var(--forest); }
.xp-track li.is-current { color: var(--ink); font-weight: 700; }
.xp-track li.is-current > span { background: var(--moutarde); border-color: var(--terre); animation: xp-pulse 1.6s ease-in-out infinite; }
@keyframes xp-pulse { 50% { opacity: 0.55; } }
.xp-help { margin: 0.25rem 0 var(--s-3); }
.xp-actions { margin-top: var(--s-3); }

.org-dates__more { flex-basis: 100%; }
.org-dates__more summary { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--forest); font-weight: 700; cursor: pointer; }
.org-dates__more ul { margin-top: var(--s-2); }
.xp-stand form + p { margin-top: var(--s-3); }


/* ------------------------------------------------------------------ COM-01 : Faire connaître ma brocante (liens, QR, affiches, publications, suivi) */
.org-promo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-4); border: 2px solid var(--moutarde); background: linear-gradient(135deg, var(--moutarde-tint), var(--surface)); }
.org-promo h3 { margin: 0 0 0.2rem; }
.org-promo p { margin: 0; }
.org-promo .btn { grid-column: 1 / -1; }
.org-promo__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brique); color: var(--white); }
@media (min-width: 48rem) { .org-promo { grid-template-columns: auto minmax(0, 1fr) auto; } .org-promo .btn { grid-column: auto; } }

.pk-lead h3 { margin: 0 0 var(--s-2); }
.pk-lead .lead { margin-top: 0; }
.pk-datebar { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pk-datebar .field { margin: 0; }
.pk-datebar p { margin: 0; }
.pk-h { margin: var(--s-5) 0 var(--s-3); }
.pk-links { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (min-width: 64rem) { .pk-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pk-link { display: grid; gap: var(--s-3); align-content: start; }
.pk-link p { margin: 0; }
.pk-link__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.pk-link__head h4 { margin: 0; font-size: 1.25rem; }
.pk-link__head p { margin: 0; }
.pk-link__head .pro-badge { margin-left: auto; }
.pk-link__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--forest); color: var(--white); }
.pk-linkbox .field { margin: 0; }
.pk-linkbox input { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 1rem; text-overflow: ellipsis; }
.pk-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-3); border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--white); }
.pk-preview__qr { padding: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.pk-preview__qr { width: min(100%, 12rem); margin-inline: auto; }
.pk-preview__qr svg { display: block; width: 100%; height: auto; }
@media (min-width: 40rem) { .pk-preview { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-4); } .pk-preview__qr { width: 100%; margin: 0; } }
.pk-preview__text p { margin: 0 0 var(--s-2); }
.pk-qrnote { display: flex; gap: var(--s-3); align-items: flex-start; }
.pk-qrnote .icon { margin-top: 0.15rem; }
.pk-shortcuts { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .pk-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pk-short { display: flex; gap: var(--s-3); align-items: center; height: 100%; padding: var(--s-3); border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.pk-short:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.pk-short__icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--terre-tint); color: var(--terre); }

/* éditeur d'affiches — studio unifié (maquette validée par soap le 15/11) : un seul aperçu toujours visible, quatre boutons,
   tiroirs du bas sur téléphone, un panneau unique sur ordinateur. Public de 60-70 ans : aucun bouton sur deux lignes, cibles >= 44 px. */
.pk-fs { margin: 0; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pk-fs legend { padding: 0 var(--s-2); font-weight: 800; }
.pk-radio { display: flex; gap: var(--s-3); align-items: flex-start; min-height: var(--tap); padding: var(--s-2) 0; cursor: pointer; }
.pk-radio input { flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--forest); }
.pk-radio.is-off { opacity: 0.65; cursor: not-allowed; }
/* hauteur de la barre du bas du téléphone (titre « Modifier l'affiche » + quatre boutons encadrés + zone sûre du bas) ;
   promo.js la remplace par la hauteur mesurée. Elle règle la marge basse de l'éditeur et de la page : « Télécharger » et le pied de page jamais cachés. */
:root { --pk-bar-h: calc(7.75rem + env(safe-area-inset-bottom, 0px)); }
.pk-ed { --pk-top: var(--site-header-height, 0px); display: grid; gap: var(--s-3); padding-bottom: calc(var(--pk-bar-h) + var(--s-2)); }
.cf-suite .pk-ed { --pk-top: 0px; }
.pk-ed .btn, .pk-ed .org-chip, .pk-ed .pk-tab, .pk-ed .pk-line, .pk-ed__edit, .pk-tabs__title { white-space: nowrap; overflow-wrap: normal; }
.pk-ed .btn { min-height: var(--tap-cta); }
.pk-ed .btn--small { min-height: var(--tap); }
.pk-ed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); }
.pk-ed__title { margin: 0; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; }
.pk-save { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); margin: 0; color: var(--forest); font-weight: 700; }
.pk-save[data-save-state='saving'] { color: var(--ink-soft); }
.pk-save[data-save-state='saving'] .pk-save__icon { visibility: hidden; }
.pk-save[data-save-state='error'] { color: var(--danger); }
.pk-save[data-save-state='error'] .pk-save__icon { display: none; }
.pk-ed__grid { display: grid; gap: var(--s-3); scroll-margin-top: var(--pk-top); }
.pk-ed__stage { position: sticky; top: var(--pk-top); z-index: 3; display: grid; gap: var(--s-2); padding: var(--s-2) 0; background: var(--paper); }
.cf-pop .pk-ed__stage { background: var(--surface); }
.pk-ed__frame { position: relative; display: grid; place-items: center; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-deep); }
/* « Modifier » (maquette validée par soap le 16/11) : pastille pleine en haut à droite du cadre, elle mord sur le coin de l'affiche ; ouvre « Textes » */
.pk-ed__edit { position: absolute; top: var(--s-2); right: var(--s-3); z-index: 2; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 3rem; padding: 0 1.15rem 0 0.95rem; border: 0; border-radius: var(--r-pill); background: var(--forest); color: var(--surface); font: inherit; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(43, 33, 24, 0.28); }
.pk-ed__edit .icon { flex: none; width: 1.35rem; height: 1.35rem; }
.pk-ed__edit:hover { background: var(--forest-deep); }
.pk-ed__edit:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pk-ed.is-sheet .pk-ed__edit { display: none; }   /* tiroir ouvert : l'aperçu est réduit, le bouton ne gêne pas */
.pk-canvas[data-edit] { cursor: pointer; }
/* svh (petite hauteur, fixe) et non dvh : sur téléphone la barre d'adresse qui se replie au défilement change dvh, l'aperçu collant changeait de taille et sautait */
.pk-canvas { display: block; width: auto; max-width: 100%; height: auto; max-height: min(42vh, 30rem); max-height: min(42svh, 30rem); border-radius: var(--r-sm); box-shadow: 0 10px 30px rgba(43, 33, 24, 0.25); background: var(--white); }
.pk-ed.is-sheet .pk-canvas { max-height: 26vh; max-height: 26svh; }
.pk-ed.is-sheet .pk-ed__meta, .pk-ed.is-sheet .pk-ed__dl, .pk-ed.is-sheet .pk-ed__status, .pk-ed.is-sheet .pk-ed__note { display: none; }
.pk-ed.is-sheet { padding-bottom: 80vh; padding-bottom: 80svh; }   /* le tiroir ouvert laisse toujours remonter l'aperçu jusqu'en haut */
.pk-ed__note, .pk-ed__status { margin: 0; }
.pk-ed__note:empty, .pk-ed__status:empty { display: none; }
.pk-ed__meta { margin: 0; color: var(--ink-soft); text-align: center; }
.pk-ed__dl { position: relative; }
.pk-dlmenu { position: absolute; left: 0; right: 0; top: calc(100% + var(--s-2)); z-index: 5; display: grid; gap: var(--s-2); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.pk-line { justify-content: flex-start; }
.pk-ed__dlbtn, .pk-undo .pk-line, .pk-panel__close, .pk-panel__foot .pk-line, [data-ai-generate] { justify-content: center; }
/* titre « Modifier l'affiche » + quatre boutons encadrés : barre fixe en bas du téléphone */
.pk-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; gap: var(--s-2); padding: var(--s-2) var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -4px 14px rgba(43, 33, 24, 0.08); }
.pk-tabs__title { margin: 0; padding-inline: var(--s-2); color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }   /* aligné sur la marge de la page (16 px) */
.pk-tabs__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
html.pk-has-bar body { padding-bottom: var(--pk-bar-h); }   /* place de la barre du bas du studio : le pied de page reste lisible */
.pk-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-width: 0; min-height: 4.25rem; padding: var(--s-1); border: 2px solid var(--forest); border-radius: var(--r); background: var(--surface); color: var(--forest); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.pk-tab .icon { width: 1.75rem; height: 1.75rem; }
.pk-tab:hover { background: var(--forest-tint); }
.pk-tab[aria-expanded='true'], .pk-tab[aria-selected='true'] { background: var(--forest); color: var(--surface); }   /* tiroir ouvert / onglet choisi */
.pk-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
/* tiroir du bas */
.pk-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; max-height: calc(100dvh - var(--pk-top) - 26dvh - 3rem); overflow-y: auto; overscroll-behavior: contain; padding: var(--s-2) var(--s-3) calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface); box-shadow: 0 -8px 24px rgba(43, 33, 24, 0.18); }
.pk-sheet__grip { width: 3rem; height: 0.3rem; margin: 0 auto var(--s-3); border-radius: var(--r-pill); background: var(--line); }
@media (prefers-reduced-motion: no-preference) { .pk-sheet:not([hidden]) { animation: pk-sheet-up 0.2s ease-out; } }
@keyframes pk-sheet-up { from { transform: translateY(1.5rem); opacity: 0; } }
.pk-panel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.pk-panel__title { margin: 0; font-family: var(--font-display); font-size: 1.625rem; line-height: 1.2; }
.pk-panel__title:focus { outline: none; }   /* titre focalisé à l'ouverture (lecteurs d'écran) */
.pk-panel__body { display: grid; gap: var(--s-3); }
.pk-panel__foot { margin-top: var(--s-4); }
.pk-label { margin: 0; font-weight: 800; }
.pk-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.pk-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pk-chip { min-height: var(--tap); padding: 0 0.85rem; font-size: 1.0625rem; }
.pk-chip:disabled { opacity: 0.55; cursor: not-allowed; }
.pk-chip:disabled:hover { background: var(--surface); }
.pk-chip:focus-visible, .pk-style:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pk-panel[data-panel='image'] .pk-panel__body > .pk-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-1); scrollbar-width: thin; }   /* une seule ligne ; avec « Flyer », la ligne défile sur un petit téléphone */
.pk-panel[data-panel='image'] .pk-panel__body > .pk-chips .pk-chip { flex: none; padding: 0 0.7rem; }
.pk-pane { display: grid; gap: var(--s-3); }
.pk-pane .field, .pk-pane .claim-consent { margin: 0; }
.pk-ai-msg { margin: 0; }
.pk-ai-closed { margin: 0; padding: var(--s-3); border-left: 4px solid var(--moutarde); border-radius: var(--r-sm); background: var(--moutarde-tint); color: var(--ink); }
.pk-ai-msg:empty { display: none; }
.pk-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.pk-style { display: grid; justify-items: center; align-content: start; gap: var(--s-1); min-width: 0; min-height: var(--tap); padding: var(--s-2); border: 3px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; }
.pk-style canvas { width: 3.5rem; height: auto; border-radius: 4px; box-shadow: 0 2px 6px rgba(43, 33, 24, 0.2); }
.pk-style[aria-pressed='true'] { border-color: var(--brique); }
/* styles IA en lignes (vignette + nom) : le nom tient toujours sur une ligne ; une colonne sur téléphone, plusieurs sur ordinateur */
.pk-styles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.pk-style { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: var(--s-3); text-align: left; }
.pk-style canvas { width: 2.5rem; }
.pk-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.pk-tpl { display: block; min-width: 0; cursor: pointer; }
.pk-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.pk-tpl__card { display: grid; gap: var(--s-1); justify-items: center; height: 100%; padding: var(--s-2); border: 3px solid var(--line); border-radius: var(--r); background: var(--white); text-align: center; font-size: 1rem; line-height: 1.15; }
.pk-tpl__card canvas { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(43, 33, 24, 0.25); }
.pk-tpl input:checked + .pk-tpl__card { border-color: var(--brique); background: #fffaf3; }
.pk-tpl input:focus-visible + .pk-tpl__card { outline: 3px solid var(--focus); outline-offset: 2px; }
.pk-undo { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pk-fields { display: grid; gap: 0 var(--s-3); }
.pk-fields .field { margin: 0 0 var(--s-3); min-width: 0; }
.pk-reset { margin: 0; }
@media (max-width: 63.99rem) { .cf-poster__bar { position: static; } }   /* l'aperçu de l'affiche est désormais l'élément collant de cet écran */
/* ordinateur : deux colonnes, aperçu collant à gauche, quatre onglets au-dessus d'un panneau unique */
@media (min-width: 64rem) {
  .pk-ed { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
  .pk-ed__grid { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
  .pk-ed__stage { top: calc(var(--pk-top) + var(--s-3)); padding: 0; background: transparent; }
  .pk-canvas { width: 100%; max-height: calc(100dvh - var(--pk-top) - 10rem); }
  .pk-ed__meta { display: none; }
  .pk-tabs { position: static; padding: 0; border: 0; background: none; box-shadow: none; }
  .pk-tabs__title { padding-inline: 0; }
  .pk-tab { flex-direction: row; gap: var(--s-2); min-height: var(--tap-cta); font-size: 1.0625rem; }
  .pk-tab .icon { width: 1.5rem; height: 1.5rem; }
  .pk-sheet { position: static; max-height: none; overflow: visible; margin-top: var(--s-3); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; animation: none; }
  .pk-sheet__grip, .pk-panel__head, .pk-panel__foot { display: none; }
  .pk-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-fields > .field:not(.pk-half) { grid-column: 1 / -1; }
  .pk-panel[data-panel='image'] .pk-panel__body > .pk-chips { flex-wrap: wrap; overflow: visible; }
}

/* publications */
.pk-posts { display: grid; gap: var(--s-5); }
@media (min-width: 64rem) { .pk-posts { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: start; } }
.pk-text { min-height: 16rem; font-size: 1.05rem; line-height: 1.45; }
.pk-posts__label { margin: 0 0 var(--s-2); font-weight: 800; }
.pk-phone { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.pk-phone header { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3); border-bottom: 1px solid var(--line); }
.pk-phone header .muted { font-size: 1rem; }
.pk-phone__avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--forest); color: var(--white); }
.pk-phone__body { padding: var(--s-3); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.pk-stats { margin-bottom: var(--s-3); }
@media (min-width: 40rem) { .pk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- DOC-01 : pack administratif (Mes documents) */
/* Navigation à 7 rubriques : la septième prend toute la largeur sur mobile ; 4 colonnes sur tablette, 7 sur grand écran. */
.org-nav ul:has(> li:nth-child(7)) > li:nth-child(7):last-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .org-nav ul:has(> li:nth-child(7)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .org-nav ul:has(> li:nth-child(7)) > li:nth-child(7):last-child { grid-column: auto; }
}
@media (min-width: 64rem) {
  .org-nav ul:has(> li:nth-child(7)) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; }
  .org-nav ul:has(> li:nth-child(7)) .org-nav__item { gap: 0.3rem; padding: 0.4rem 0.45rem; font-size: 1rem; }
  .org-nav ul:has(> li:nth-child(7)) .org-nav__item .icon { width: 1.3rem; height: 1.3rem; flex: none; }
}
.dp-disclaimer { display: flex; gap: var(--s-2); align-items: flex-start; margin-bottom: var(--s-4); }
.dp-disclaimer .icon { flex: none; margin-top: 0.2rem; }
.dp-banner { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); padding: var(--s-4); border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); }
.dp-banner h3, .dp-banner p { margin: 0; }
.dp-banner--incomplet { border-color: var(--brique); }
.dp-banner--pret_validation { border-color: var(--moutarde); background: var(--moutarde-tint); }
.dp-banner--pret_jour_j { border-color: var(--forest); background: var(--forest-tint); }
.dp-todo ul { margin: var(--s-1) 0 0; padding-left: 1.2rem; }
.dp-reg { border: 2px solid var(--moutarde); }
.dp-reg--confirmee_requise, .dp-reg--confirmee_non_requise { border-color: var(--forest); }
.dp-reg .icon { margin-right: 0.4rem; vertical-align: -0.2em; }
.dp-dl { display: grid; gap: 0.15rem var(--s-3); grid-template-columns: max-content minmax(0, 1fr); margin: var(--s-3) 0; }
.dp-dl dt { font-weight: 700; color: var(--ink-soft); }
.dp-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 36rem) { .dp-dl { grid-template-columns: 1fr; } .dp-dl dd { margin-bottom: var(--s-2); } }
.dp-fs { margin: 0 0 var(--s-3); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); }
.dp-fs legend { padding: 0 var(--s-2); font-weight: 700; }
.dp-sec { margin-bottom: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--line); }
.dp-sec h4 { margin: 0 0 var(--s-2); }
.dp-req { color: var(--brique); font-weight: 800; }
.dp-form [hidden] { display: none !important; }
.dp-q > summary, .dp-sign > summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.dp-steplist, .dp-sellers, .dp-docs, .dp-locals, .dp-reserves { display: grid; gap: var(--s-3); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.dp-step__head, .dp-seller__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-2); }
.dp-step h4, .dp-seller h4, .dp-doc h4, .dp-export h4 { margin: 0 0 0.15rem; }
.dp-step p, .dp-seller p, .dp-doc p { margin: 0 0 var(--s-2); }
.dp-step--a_corriger, .dp-step--refusee { border-left: 4px solid var(--brique); }
.dp-step--validee_organisateur { border-left: 4px solid var(--forest); }
.dp-seller__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.dp-seller.is-withdrawn { opacity: 0.7; }
.dp-issues { margin: var(--s-2) 0 0; padding-left: 1.1rem; display: grid; gap: 0.2rem; }
.dp-issue--blocking::marker { color: var(--brique); }
.dp-issue--warning::marker { color: var(--moutarde); }
.dp-check { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); }
.dp-check input { width: 1.35rem; height: 1.35rem; accent-color: var(--forest); }
.dp-correct { margin-top: var(--s-3); padding: var(--s-3); border: 2px dashed var(--line); border-radius: var(--r); background: var(--paper); }
.dp-export, .dp-doc { display: grid; gap: var(--s-2); }
.dp-reserves li { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.dp-counts { margin-bottom: var(--s-3); }
@media (min-width: 40rem) { .dp-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Parcours exposant : rappel dans « Mes réservations » et page « Mes informations » */
.xp-admin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-2) 0; padding: var(--s-2) var(--s-3); border: 1px solid var(--moutarde); border-radius: var(--r); background: var(--moutarde-tint); }
.xp-admin.is-ok { border-color: var(--forest); background: var(--forest-tint); }
.xp-admin > span { flex: 1 1 14rem; }
.xp-status { margin: 0; padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--r); }
.xf-state.is-ok { border-color: var(--forest); background: var(--forest-tint); }
.xf-steps { margin: 0 0 var(--s-3); padding-left: 1.3rem; list-style: decimal; }
@media print { .dp-correct, .dp-export .btn, .dp-doc .btn { display: none !important; } }
.dp-result { display: block; width: 100%; }
.dp-result > * + * { margin-top: var(--s-2); }

/* ---------------------------------------------------------------- PRO-02 : équipe, inscription manuelle, options, jour J partagé */
.tm-list, .mb-stands, .pro-options { display: grid; gap: var(--s-3); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.tm-member { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tm-member__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-2); }
.tm-member h4 { margin: 0 0 0.15rem; }
.tm-member p { margin: 0 0 var(--s-2); }
.mb-stands { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s-1); }
.mb-total { margin: 0; padding: var(--s-3); border: 2px solid var(--forest); border-radius: var(--r); background: var(--forest-tint); }
.pro-option { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); align-items: end; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); }
.pro-option .field { margin: 0; }
@media (min-width: 48rem) { .pro-option { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; } }
.xp-options, .xp-status { margin: 0; padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--r); }
.xp-options-line { margin: var(--s-2) 0; padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--paper-deep); }
.ck-note summary, .ck-journal summary, .ck-walkin summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; }
.ck-walkin, .ck-journal { margin-top: var(--s-3); }
.ck-row > .ck-note { flex-basis: 100%; }

/* ---- Offres V1 (Découverte / Organisation / Sérénité), tarif au mètre, Indiana Flex — classes préfixées `ofr-`, ajouts seulement */
.ofr-cards { list-style: none; margin: var(--s-3) 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
.ofr-card { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-4); border: 2px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ofr-card.is-picked { border-color: var(--forest); background: var(--forest-tint); }
.ofr-card--featured { border-color: var(--moutarde); box-shadow: var(--shadow); }
.ofr-card--featured.is-picked { border-color: var(--forest); }
.ofr-card__pick { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); cursor: pointer; font-weight: 700; }
.ofr-card__pick input { width: 1.25rem; height: 1.25rem; accent-color: var(--forest); }
.ofr-card__name { font-family: var(--font-display); font-size: 1.25rem; margin: 0; }
.ofr-card__flag { display: inline-block; margin-left: var(--s-2); padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--moutarde); color: var(--ink); font-size: 1rem; font-weight: 700; }
.ofr-card__lead, .ofr-card__fees, .ofr-card__limits { margin: 0; }
.ofr-card__label { display: block; font-size: 1rem; color: var(--ink-soft); }
.ofr-card__price { margin: 0; }
.ofr-card__price strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--forest-deep); }
.ofr-card__points { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.ofr-note { margin: var(--s-2) 0; padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--paper-deep); }
.ofr-note--wait { background: var(--moutarde-tint); }
.ofr-note--ok { background: var(--forest-tint); }
.ofr-locked { border-left: 6px solid var(--moutarde); background: var(--moutarde-tint); }
.ofr-price { display: grid; gap: 0.25rem; margin: var(--s-2) 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-deep); }
.ofr-price div { display: flex; justify-content: space-between; gap: var(--s-3); }
.ofr-price dt, .ofr-price dd { margin: 0; }
.ofr-price__total { padding-top: 0.35rem; border-top: 1px solid var(--line-strong); font-size: 1.1rem; }
.ofr-flex { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); }
.ofr-flex input { margin-top: 0.2rem; width: 1.25rem; height: 1.25rem; flex: none; accent-color: var(--forest); }
.ofr-terms { margin-top: var(--s-2); }
@media (min-width: 56rem) { .ofr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Finitions du pilote : tarif par catégorie (mixte), information des exposants DOC-01 — ajouts seulement */
.ofr-cat { display: grid; gap: var(--s-2); margin: var(--s-3) 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ofr-cat__head { margin: 0; }
.ofr-cat .field { margin: 0; }
.ofr-cat__meter { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ofr-cat__meter[hidden] { display: none; }
.dp-notice { border-left: 6px solid var(--forest); background: var(--forest-tint); }
.dp-notice h3 { display: flex; align-items: center; gap: var(--s-2); margin-top: 0; }
.dp-notice-preview { margin: var(--s-2) 0; padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-deep); }
@media (min-width: 40rem) { .ofr-cat__meter { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ IND-ORG-01 : parcours organisateur
   Accueil personnalisé, préparation guidée en premier, raccourcis, attente de modération visible, création par étapes.
   Aucun dégradé ; mouvement court (opacity / transform), coupé sous prefers-reduced-motion. Corps de texte >= 16 px. */
.org-hero__hello { grid-column: 1 / -1; margin: 0; color: var(--moutarde-tint); font-weight: 700; }
.org-hero__cta { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-2) var(--s-3); }
.org-hero__cta .btn { grid-column: 1 / -1; }
.org-ring { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; }
.org-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.org-ring circle { fill: none; stroke-width: 5; }
.org-ring__track { stroke: rgba(255, 255, 255, 0.2); }
.org-ring__value { stroke: var(--moutarde); stroke-linecap: round; stroke-dashoffset: var(--ring-off); }
.org-ring__text { position: absolute; font-size: 1rem; font-weight: 800; }

.org-prep__head { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.org-prep__head .org-meter { grid-column: 1 / -1; }
.org-prep__mascot { width: 4.5rem; height: auto; }
.org-step--done { background: var(--surface); }
.org-step--done .org-step__title strong { color: var(--forest-deep); }

.org-shortcuts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
@media (min-width: 64rem) { .org-shortcuts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.org-shortcut { display: grid; align-content: start; gap: 0.25rem; height: 100%; padding: var(--s-4) var(--s-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.org-shortcut:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-2px); }
.org-shortcut__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.25rem; border-radius: var(--r); background: var(--forest-tint); color: var(--forest-deep); }
.org-shortcut__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.org-shortcut__text { color: var(--ink-soft); font-size: 1rem; line-height: 1.3; }
.org-shortcut.is-alert { border: 2px solid var(--brique); }
.org-shortcut.is-alert .org-shortcut__icon { background: var(--brique); color: var(--white); }

/* Ce qui attend la modération */
.org-waiting { margin-bottom: var(--s-5); }
.org-waiting__title { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); font-size: 1.25rem; }
.org-waiting__list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.org-wait { border-left: 4px solid var(--moutarde); }
.org-wait__kind { margin: 0; color: var(--terre); font-size: 1rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.org-wait h3 { margin: 0.2rem 0 0; }
.org-wait__head .muted { margin: 0; }
.org-wait__text { margin: var(--s-3) 0; }
.org-waiting__after { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0 0 var(--s-5); padding: var(--s-3) var(--s-4); border-radius: var(--r); background: var(--forest-tint); }
.org-waiting__after .icon { flex: none; margin-top: 0.2rem; color: var(--forest-deep); }
.org-empty__mascot { float: right; width: 6rem; height: auto; margin: 0 0 var(--s-2) var(--s-3); }

/* Frise d'attente (création, rattachement) : verticale sur téléphone, horizontale dès la tablette */
.org-track { display: grid; margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.org-track__step { position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 2.75rem; }
.org-track__step:not(:last-child)::after { content: ''; position: absolute; top: 2.2rem; bottom: -0.45rem; left: calc(0.875rem - 1px); width: 2px; background: var(--line); }
.org-track__step.is-done:not(:last-child)::after { background: var(--forest); }
.org-track__dot { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--white); }
.org-track__dot .icon { width: 1rem; height: 1rem; }
.org-track__step.is-done .org-track__dot { border-color: var(--forest); background: var(--forest); }
.org-track__step.is-current .org-track__dot { border-color: var(--moutarde); background: var(--moutarde-tint); box-shadow: 0 0 0 4px rgba(240, 185, 77, 0.25); }
.org-track__step.is-stop .org-track__dot { border-color: var(--brique); background: var(--terre-tint); }
.org-track__step.is-current .org-track__label { font-weight: 800; }
.org-track__step.is-todo .org-track__label { color: var(--ink-soft); }
@media (min-width: 48rem) {
  .org-track { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-2); }
  .org-track__step { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .org-track__step:not(:last-child)::after { top: calc(0.875rem - 1px); right: 0.5rem; bottom: auto; left: 2.25rem; width: auto; height: 2px; }
}

/* Création par étapes */
.cf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.cf-steps__item { position: relative; }
.cf-steps__item:not(:last-child)::after { content: ''; position: absolute; top: calc(var(--s-2) + 1.125rem - 1px); right: calc(-50% + 1.5rem); left: calc(50% + 1.5rem); height: 2px; background: var(--line); }
.cf-steps__item.is-done::after { background: var(--forest); }
.cf-steps__btn { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; width: 100%; min-height: var(--tap); padding: var(--s-2) 0.2rem; border: 0; border-radius: var(--r); background: none; color: var(--ink-soft); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.15; text-align: center; cursor: pointer; }
.cf-steps__btn:disabled { cursor: default; }
.cf-steps__num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); transition: background-color var(--ease), border-color var(--ease), transform var(--ease); }
.cf-steps__num .icon { width: 1.1rem; height: 1.1rem; }
.cf-steps__item.is-current .cf-steps__btn { color: var(--ink); }
.cf-steps__item.is-current .cf-steps__num { border-color: var(--forest); background: var(--forest); color: var(--white); transform: scale(1.08); }
.cf-steps__item.is-done .cf-steps__num { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-deep); }
.cf-steps__item.is-done .cf-steps__btn:hover { color: var(--forest); }
@media (min-width: 48rem) {
  .cf-steps__btn { flex-direction: row; justify-content: center; gap: var(--s-2); }
  .cf-steps__item:not(:last-child)::after { display: none; }
}
/* EVENT-EARTH-FORM-V2 : cinq étapes sur téléphone — numéros seuls, libellé de l'étape en cours seulement (les autres restent lus par les lecteurs d'écran) */
.cf-steps--many { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
@media (max-width: 47.99rem) {
  .cf-steps--many .cf-steps__item:not(.is-current) .cf-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cf-steps--many .cf-steps__item.is-current .cf-steps__label { white-space: nowrap; }
  .cf-steps--many .cf-steps__item:first-child .cf-steps__btn { align-items: flex-start; }
  .cf-steps--many .cf-steps__item:last-child .cf-steps__btn { align-items: flex-end; }
}
.cf-save:empty { display: none; }
.cf-save { display: inline-flex; align-items: center; gap: 0.5rem; margin: var(--s-2) 0; padding: 0.35rem 0.8rem; border-radius: var(--r); background: var(--paper-deep); font-size: 1rem; font-weight: 700; }
.cf-save[data-state='saved'] { background: var(--forest-tint); color: var(--forest-deep); }
.cf-save[data-state='saved']::before { content: ''; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--forest); }
.cf-save[data-state='error'] { background: var(--danger-tint); color: var(--danger); }
.cf-save[data-state='wait'] { background: var(--moutarde-tint); color: var(--ink); }
.cf-poster-cta { display: grid; justify-items: start; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px dashed var(--line); }
.cf-poster-cta p { margin: 0; }
.cf-poster__bar { position: sticky; top: 4.75rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: var(--s-4) 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.cf-poster__bar p { flex: 1 1 14rem; margin: 0; }
.cf-wait { margin-bottom: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px dashed var(--line); }
.cf-wait .eyebrow { margin: 0; }
.cf-thanks__mascot { float: right; width: 6.5rem; height: auto; margin: 0 0 var(--s-3) var(--s-3); }
.cf-thanks .org-track { clear: both; margin: var(--s-4) 0; }
.cf-thanks__actions { margin: var(--s-4) 0; }
.cf-thanks__more { margin: var(--s-4) 0; }

@keyframes org-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes org-ring-fill { from { stroke-dashoffset: 138.2; } }
@keyframes org-pulse { 50% { box-shadow: 0 0 0 8px rgba(240, 185, 77, 0.12); } }
@media (prefers-reduced-motion: no-preference) {
  .cf-enter { animation: org-rise 0.24s ease-out both; }
  .org-step, .org-shortcut, .org-wait { animation: org-rise 0.32s ease-out both; }
  .org-steps > li:nth-child(2), .org-shortcuts li:nth-child(2) > a { animation-delay: 0.04s; }
  .org-steps > li:nth-child(3), .org-shortcuts li:nth-child(3) > a { animation-delay: 0.08s; }
  .org-steps > li:nth-child(4), .org-shortcuts li:nth-child(4) > a { animation-delay: 0.12s; }
  .org-steps > li:nth-child(5) { animation-delay: 0.16s; }
  .org-steps > li:nth-child(n + 6) { animation-delay: 0.2s; }
  .org-ring__value { animation: org-ring-fill 0.9s ease-out both; }
  .org-track__step.is-current .org-track__dot { animation: org-pulse 1.6s ease-in-out 2; }
}

/* IND-ORG-01 : dans l'espace d'UNE brocante, l'en-tête générique « Mon Indiana » se fait discret (titre gardé pour les lecteurs d'écran,
   onglets du compte sur une ligne défilante) : le nom de la brocante et sa prochaine étape remontent dans le premier écran. */
.page:has([data-org] .org-nav) > .eyebrow { display: none; }
.page:has([data-org] .org-nav) > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page:has([data-org] .org-nav) .mi-tabs ul { flex-wrap: nowrap; gap: var(--s-2); margin-bottom: var(--s-4); padding-bottom: 0.25rem; overflow-x: auto; scrollbar-width: thin; }
.page:has([data-org] .org-nav) .mi-tabs li { flex: none; }
.page:has([data-org] .org-nav) .mi-tabs a { min-height: var(--tap); font-size: 1rem; }
[data-org] .org-head h2 { font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.1; }
@media (max-width: 47.99rem) { .cf-poster__bar { top: 4.6rem; padding: var(--s-2); } .cf-poster__bar p { display: none; } .cf-poster__bar .btn { width: 100%; } }
/* IND-ORG-01 : six rubriques sur une ligne seulement quand la place suffit (à 820 px, « Mes emplacements » était tronqué). */
@media (min-width: 48rem) and (max-width: 63.99rem) { .org-nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* IND-FIABILITE-01 — indice de fiabilité /100 dans l'encadré de date de la fiche. Aplats, aucun dégradé ; l'infobulle est un bloc dans le flux (aucun débordement). */
.relscore { grid-column: 1 / -1; margin: 0; padding-top: var(--s-3); border-top: 1px solid rgba(138, 75, 42, 0.25); } /* pleine largeur de l'encadré : la pastille et l'infobulle ne sont jamais écrasées à côté du cartouche de date */
.relscore__line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); margin: 0; font-size: 1.0625rem; }
.relscore { --tone: var(--ink); }
.relscore--high { --tone: var(--forest-deep); }
.relscore--good { --tone: var(--forest); }
.relscore--check { --tone: var(--terre); }
.relscore--low { --tone: var(--danger); }
.relscore__text { color: var(--ink); }
.relscore__text strong { color: var(--tone); font-variant-numeric: tabular-nums; }
.relscore__badge { padding: 0.125rem var(--s-3); border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--tone); color: var(--tone); font-weight: 700; font-size: 1rem; line-height: 1.5; white-space: nowrap; }
.relscore__info { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.25rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.relscore__info .icon { width: 1.5rem; height: 1.5rem; }
.relscore__info:hover { background: rgba(255, 255, 255, 0.7); }
.relscore__info[aria-expanded='true'] { background: var(--white); }
.relscore__tip { margin: var(--s-3) 0 0; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
.relscore__tip p { margin: 0; }
.relscore__close { margin: var(--s-1) 0 0; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--forest-deep); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.relscore--cancelled { display: flex; align-items: center; gap: var(--s-2); color: var(--danger); border-top-color: rgba(158, 36, 24, 0.3); }
.relscore--cancelled .icon { flex: none; width: 1.25rem; height: 1.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .relscore__tip:not([hidden]) { animation: relscore-in 0.18s ease-out; }
  @keyframes relscore-in { from { opacity: 0; transform: translateY(-0.25rem); } to { opacity: 1; transform: none; } }
}

/* SOCIAL-02 — vitrine de brocanteur : papier, portrait, photos et rendez-vous. */
.brc-page { max-width: 78rem; }
.brc-back { display: inline-flex; align-items: center; min-height: var(--tap); margin-bottom: var(--s-4); font-weight: 700; color: var(--forest-deep); }
.brc-showcase { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.brc-hero { display: grid; gap: var(--s-5); align-items: center; padding: clamp(1.5rem, 5vw, 5rem); background: var(--paper-deep); }
.brc-hero__copy { min-width: 0; }
.brc-hero h1 { max-width: 15ch; margin: 0 0 var(--s-3); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.02; overflow-wrap: anywhere; }
.brc-owner-link { margin-bottom: var(--s-4); }
.brc-area { display: inline-flex; align-items: center; margin: 0 0 var(--s-4); padding: .35rem .85rem; border-radius: var(--r-pill); background: var(--white); color: var(--forest-deep); font-weight: 700; }
.brc-intro { max-width: 58ch; margin: 0 0 var(--s-5); color: var(--ink); font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.brc-portrait { display: grid; place-items: center; width: min(70vw, 17rem); aspect-ratio: 1; justify-self: center; overflow: hidden; border: .65rem solid var(--surface); border-radius: 50%; background: var(--forest-tint); box-shadow: 0 12px 32px rgba(70, 47, 28, .17); }
.brc-portrait img { width: 100%; height: 100%; object-fit: cover; }
.brc-portrait__initial { color: var(--forest-deep); font-family: var(--font-display); font-size: 8rem; line-height: 1; }
.brc-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.brc-tags li { padding: .38rem .8rem; border: 1px solid var(--terre); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 700; }
.brc-section { padding: clamp(1.5rem, 4vw, 3.5rem); }
.brc-section + .brc-section { border-top: 1px solid var(--line); }
.brc-section__heading { margin-bottom: var(--s-5); }
.brc-section__heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.brc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.brc-gallery figure { min-width: 0; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-deep); }
.brc-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.brc-gallery figcaption { padding: .55rem .8rem; color: var(--ink-soft); font-size: 1rem; }
.brc-upcoming { background: var(--forest-tint); }
.brc-upcoming ul { display: grid; gap: .75rem; padding: 0; margin: 0; list-style: none; }
.brc-upcoming li { display: grid; gap: .5rem; align-items: center; padding: var(--s-3); border-radius: var(--r); background: var(--surface); }
.brc-upcoming time { color: var(--terre); font-weight: 700; }
.brc-upcoming li strong, .brc-upcoming li span { display: block; }
.brc-upcoming li a { justify-self: start; min-height: var(--tap); display: inline-flex; align-items: center; font-weight: 700; }
.brc-disclaimer { margin: var(--s-4) 0 0; color: var(--ink-soft); font-size: 1rem; }
.brc-editor { display: grid; gap: var(--s-5); }
.brc-editor__intro { padding: var(--s-5); border-radius: var(--r-lg); background: var(--paper-deep); }
.brc-editor__intro h2 { margin: 0 0 var(--s-2); }
.brc-editor__intro p:last-child { max-width: 62ch; margin: 0; }
.brc-form, .brc-editor__photos, .brc-editor__publication, .brc-editor__presences, .brc-editor__delete, .brc-editor__empty { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.brc-form__fields { display: grid; gap: var(--s-3); }
.brc-form .field { min-width: 0; }
.brc-form textarea { width: 100%; resize: vertical; }
.brc-specialties { margin: var(--s-4) 0; padding: 0; border: 0; }
.brc-specialties legend { margin-bottom: .65rem; font-weight: 700; }
.brc-specialties > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.brc-specialties label { position: relative; display: inline-flex; align-items: center; }
.brc-specialties input { position: absolute; opacity: 0; width: 100%; height: 100%; }
.brc-specialties span { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); cursor: pointer; }
.brc-specialties input:checked + span { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-deep); font-weight: 700; }
.brc-specialties input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.brc-editor__photos h3, .brc-editor__publication h3, .brc-editor__presences h3 { margin: 0 0 var(--s-2); }
.brc-editor__uploads { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.brc-editor__uploads label { position: relative; cursor: pointer; overflow: hidden; }
.brc-editor__uploads input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.brc-editor__uploads label:focus-within { outline: 3px solid var(--forest); outline-offset: 2px; }
.brc-editor__photo-list { display: flex; flex-wrap: wrap; gap: var(--s-3); padding: 0; margin: var(--s-4) 0 0; list-style: none; }
.brc-editor__photo-list li { display: grid; gap: .4rem; width: 8rem; }
.brc-editor__photo-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.brc-editor__presences ul { padding: 0; margin: var(--s-3) 0 0; list-style: none; }
.brc-editor__presences li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.brc-editor__presences li small { display: block; color: var(--ink-soft); }
.brc-editor__presences label { display: inline-flex; gap: .5rem; align-items: center; min-height: var(--tap); }
.brc-editor__preview > .eyebrow { margin-bottom: var(--s-3); }
.brc-editor__preview .brc-showcase { max-width: 70rem; }
.brc-editor__delete summary { cursor: pointer; font-weight: 700; }
.brc-editor__delete button { margin-top: var(--s-2); }
.brc-present { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: var(--s-5); padding: .75rem 1rem; border-radius: var(--r-lg); background: var(--paper-deep); }
.brc-present h2 { margin: 0; font-size: 1.125rem; line-height: 1.4; }
.brc-present h2 span { color: var(--ink-soft); font-size: 1rem; font-weight: 400; }
.brc-present button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (min-width: 48rem) {
  .brc-hero { grid-template-columns: minmax(0, 1.4fr) minmax(13rem, .6fr); }
  .brc-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brc-upcoming li { grid-template-columns: 10rem minmax(0, 1fr) auto; }
  .brc-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brc-form__wide { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .brc-gallery img { transition: transform .18s ease, border-color .18s ease; }
  .brc-gallery img:hover { transform: scale(1.025); }
}

/* SOCIAL-03 — des suivis privés, présentés comme un carnet de découvertes. */
.brc-follow-action { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: var(--s-5); }
.brc-follow-action > span { max-width: 25ch; color: var(--ink-soft); font-size: 1rem; }
.brc-follow-action .btn[aria-pressed='true'] { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-deep); }
.brc-follow-action .btn { min-height: var(--tap); }
.brc-followed { display: grid; gap: var(--s-5); }
.brc-followed__intro { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--paper-deep); }
.brc-followed__intro h2 { margin: 0 0 var(--s-2); font-size: clamp(2rem, 4vw, 3.3rem); }
.brc-followed__intro p:last-child { margin: 0; color: var(--ink-soft); }
.brc-followed__grid { display: grid; gap: var(--s-4); padding: 0; margin: 0; list-style: none; }
.brc-followed__card { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.brc-followed__identity { display: flex; align-items: center; gap: var(--s-3); color: var(--ink); text-decoration: none; }
.brc-followed__identity > span:nth-child(2) { min-width: 0; flex: 1; }
.brc-followed__identity strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.12; overflow-wrap: anywhere; }
.brc-followed__identity small { display: block; color: var(--ink-soft); }
.brc-followed__identity > span:last-child { color: var(--forest); font-size: 1.5rem; }
.brc-followed__portrait { display: grid; flex: none; place-items: center; width: 4.8rem; height: 4.8rem; overflow: hidden; border-radius: 50%; background: var(--forest-tint); color: var(--forest-deep); font-family: var(--font-display); font-size: 2rem; }
.brc-followed__portrait img { width: 100%; height: 100%; object-fit: cover; }
.brc-followed__card .brc-tags li { font-size: 1rem; padding: .25rem .6rem; }
.brc-followed__next { flex: 1; padding: var(--s-3); border-radius: var(--r); background: var(--forest-tint); }
.brc-followed__next .eyebrow { margin: 0 0 .35rem; }
.brc-followed__next p:not(.eyebrow) { margin: 0 0 .5rem; }
.brc-followed__next time { color: var(--forest-deep); font-weight: 800; }
.brc-followed__next a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; }
.brc-followed__remove { align-self: flex-start; }
.brc-followed__empty { padding: clamp(2rem, 6vw, 5rem); border: 1px dashed var(--terre); border-radius: var(--r-lg); background: var(--surface); text-align: center; }
.brc-followed__empty > span { color: var(--terre); font-size: 2.5rem; }
.brc-followed__empty h3 { margin: var(--s-2) 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.brc-followed__empty p { max-width: 36ch; margin: 0 auto var(--s-4); color: var(--ink-soft); }
@media (min-width: 48rem) { .brc-followed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .brc-followed__grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .brc-followed__card, .brc-follow-action .btn { transition: transform .18s ease, box-shadow .18s ease; } .brc-followed__card:hover { transform: translateY(-2px); } }

/* TERRAIN-01 : une entrée légère sous les actions de la fiche. */
.terrain-entry { margin: .8rem 0 1.2rem; }
.terrain-entry__button { border: 0; padding: .4rem 0; background: transparent; color: var(--forest); font: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.terrain-entry__button span { color: var(--ink-soft); font-size: 1rem; font-weight: 400; text-decoration: none; }
.terrain-entry__button:focus-visible, .terrain-dialog button:focus-visible, .terrain-dialog input:focus-visible, .terrain-dialog textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.terrain-warning { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .5rem; padding: .7rem .85rem; border-left: 3px solid var(--brique); border-radius: .5rem; background: #fff4e7; color: var(--ink); line-height: 1.4; }
.terrain-warning .icon { flex: none; width: 1.15rem; height: 1.15rem; color: var(--brique-deep); }
.terrain-warning--priority { border-left-width: 5px; background: #ffead9; font-weight: 650; }
.terrain-dialog { width: min(34rem, calc(100% - 1.5rem)); max-height: min(90dvh, 48rem); padding: 0; border: 1px solid #c9d9c4; border-radius: 1.2rem; background: #fffcf5; color: var(--ink); box-shadow: 0 1rem 3rem #183b2840; }
.terrain-dialog::backdrop { background: #14291c99; }
.terrain-dialog__body { padding: clamp(1.2rem, 4vw, 2rem); overflow: auto; }
.terrain-dialog__body h2 { margin: .2rem 0 .6rem; color: var(--forest); }
.terrain-dialog__body p { line-height: 1.5; }
.terrain-dialog__close { position: absolute; top: .55rem; right: .7rem; width: 2.6rem; height: 2.6rem; border: 0; background: transparent; color: var(--forest); font-size: 1.8rem; cursor: pointer; }
.terrain-dialog fieldset { display: grid; gap: .55rem; margin: 1rem 0; padding: 0; border: 0; }
.terrain-dialog legend { margin-bottom: .5rem; font-weight: 750; }
.terrain-dialog fieldset label { display: flex; gap: .65rem; align-items: center; min-height: 3rem; padding: .6rem .75rem; border: 1px solid #c9d9c4; border-radius: .7rem; background: #fff; cursor: pointer; }
.terrain-dialog fieldset label:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); }
.terrain-dialog input[type=radio] { accent-color: var(--forest); width: 1.1rem; height: 1.1rem; flex: none; }
.terrain-dialog__note { display: grid; gap: .4rem; font-weight: 700; }
.terrain-dialog__note[hidden] { display: none; }
.terrain-dialog textarea { width: 100%; padding: .7rem; border: 1px solid #a7bca8; border-radius: .55rem; background: #fff; font: inherit; resize: vertical; }
.terrain-dialog__message { padding: .6rem .75rem; border-radius: .5rem; background: var(--forest-tint); color: var(--forest); }
.terrain-dialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.terrain-dialog__actions [hidden] { display: none; }
@media (max-width: 30rem) { .terrain-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 1.2rem 1.2rem 0 0; } .terrain-dialog__actions .btn { width: 100%; } }
/* IND-PLAN-EXT : bibliothèque de pictogrammes, calques, fond illustré (éditeur) */
.pe__lib-cat { margin: var(--s-3, 0.75rem) 0 var(--s-2, 0.5rem); font-size: 1rem; color: var(--forest, #1E4D3B); }
.pe__lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: 0.4rem; }
.pe__lib-btn { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-height: 4rem; padding: 0.45rem 0.3rem; border: 2px solid var(--line, #DCCFB8); border-radius: 10px; background: var(--white, #FFFCF5); color: var(--forest, #1E4D3B); font: inherit; font-size: 1rem; line-height: 1.15; text-align: center; cursor: pointer; }
.pe__lib-btn:hover { border-color: var(--forest, #1E4D3B); }
.pe__lib-btn[aria-pressed="true"] { background: var(--forest, #1E4D3B); border-color: var(--forest, #1E4D3B); color: #fff; }
.pe__lib-btn:focus-visible { outline: 3px solid var(--focus, #0B57D0); outline-offset: 2px; }
.pe__layers { width: 100%; border-collapse: collapse; font-size: 1rem; } .pe__layers th, .pe__layers td { padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--line, #DCCFB8); text-align: left; }
.pe__layers td:not(:first-child), .pe__layers th:not(:first-child) { text-align: center; width: 5.5rem; }
.plan-decor { cursor: pointer; } .plan-decor.is-selected rect, .plan-decor.is-selected polygon, .plan-decor.is-selected circle { stroke: var(--focus, #0B57D0); stroke-width: 4; }
.plan-decor.is-selected text { fill: var(--focus, #0B57D0); }
.plan-obstacle--icon text { font-weight: 700; }
.pe__svg[data-locked~="decor"] [data-layer="decor"], .pe__svg[data-locked~="equip"] [data-layer="equip"], .pe__svg[data-locked~="stands"] [data-layer="stands"] { cursor: not-allowed; opacity: 0.75; }

/* ===== UX-ENTRY-INTEGRATION-01 : Mes brocantes « Préparer / Reprendre mon plan », fenêtre « Préparer mon plan », services après envoi ===== */
.org-event__actions { display: grid; gap: var(--s-2); }
.btn--prep { background: var(--moutarde); color: var(--ink); }
.btn--prep:hover { background: #E5A93A; color: var(--ink); }
.prep-pro { display: inline-block; padding: 0 0.5rem; border-radius: var(--r-pill); background: var(--forest-deep); color: var(--moutarde); font-size: 1rem; font-weight: 700; line-height: 1.6; vertical-align: middle; }
dialog.prep-sheet { width: 100%; max-width: 100%; max-height: calc(100dvh - 3rem); margin: auto 0 0; padding: 0; border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--surface); color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 -12px 40px rgba(43, 33, 24, 0.25); }
dialog.prep-sheet:not([open]) { display: none; }
dialog.prep-sheet::backdrop { background: rgba(43, 33, 24, 0.5); }
.prep-sheet__grab { width: 2.5rem; height: 0.3rem; margin: var(--s-3) auto 0; border-radius: var(--r-pill); background: var(--line); flex: none; }
.prep-sheet__head { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-2); }
.prep-sheet__head h2 { flex: 1; margin: 0; font-size: 1.6rem; }
.prep-sheet__head h2:focus { outline: none; }
.prep-sheet__close { width: var(--tap); height: var(--tap); flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.prep-sheet__body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 var(--s-4) var(--s-4); display: grid; grid-auto-rows: max-content; gap: var(--s-4); align-content: start; }   /* rangées à leur hauteur : jamais écrasées quand la fenêtre défile */
.prep-sheet__foot { padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.prep-sheet__foot:empty { display: none; }
.prep-fill { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.prep-fill p { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-3); align-items: center; margin: 0; padding: var(--s-3); background: var(--paper); border-bottom: 1px solid var(--line); }
.prep-fill p:last-child { border-bottom: 0; }
.prep-fill svg { color: var(--forest); }
.prep-note { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-3); margin: 0; padding: var(--s-3); border-radius: var(--r); background: var(--moutarde-tint); }
.prep-start, .prep-editors { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.prep-start legend, .prep-editors legend { margin-bottom: var(--s-2); font-weight: 700; }
.prep-choice { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3); border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.prep-choice input { width: 1.375rem; height: 1.375rem; margin: 0.15rem 0 0; accent-color: var(--forest); }
.prep-choice:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); }
.prep-choice strong { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.prep-choice small { display: block; color: var(--ink-soft); font-size: 1rem; }
.prep-resume { display: grid; gap: var(--s-3); padding: var(--s-4); border: 2px solid var(--forest); border-radius: var(--r-lg); background: var(--forest-tint); }
.prep-resume .eyebrow { margin: 0; }
.prep-resume ul { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.prep-resume li { display: grid; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r); background: var(--surface); }
.prep-resume li small { display: block; color: var(--ink-soft); font-size: 1rem; }
.prep-resume p { margin: 0; }
.prep-copies summary { min-height: var(--tap); display: flex; align-items: center; color: var(--forest); font-weight: 700; cursor: pointer; }
@media (min-width: 48rem) {
  dialog.prep-sheet { width: min(36rem, calc(100vw - 3rem)); max-height: min(86dvh, 52rem); margin: auto; border-radius: var(--r-lg); }
  .prep-sheet__grab { display: none; }
  .prep-sheet__head { padding-top: var(--s-5); }
  .prep-resume li { grid-template-columns: 1fr auto; align-items: center; }
}
.svc-list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-item { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s-1) var(--s-3); align-content: start; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.svc-item__icon { grid-row: span 3; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.75rem; background: var(--forest-tint); color: var(--forest); }
.svc-item.is-off .svc-item__icon { background: var(--paper-deep); color: var(--ink-soft); }
.svc-item__top { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.svc-item__top h4 { margin: 0; font-size: 1.2rem; }
.svc-item p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.svc-item .pro-actions { margin-top: var(--s-2); }

/* ===== IND-EVENT-EARTH-FORM-V2 : formulaire « Créer un événement » (après Indiana Earth) et dates / récurrence ===== */
.ev-form fieldset.field { margin: 0; padding: 0; border: 0; }
.ev-form fieldset.field > legend { font-weight: 700; margin-bottom: var(--s-2); }
.ev-choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ev-choice { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0 var(--s-3); border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--surface); cursor: pointer; }
.ev-choice input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--forest); }
.ev-choice:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); font-weight: 700; }
.ev-place { display: grid; gap: var(--s-1); padding: var(--s-4); border: 2px solid var(--forest); border-radius: var(--r-lg); background: var(--forest-tint); }
.ev-place p { margin: 0; }
.ev-place .eyebrow { margin: 0; }
.ev-place__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.ev-place .btn { justify-self: start; margin-top: var(--s-2); }
.ev-phone { display: grid; grid-template-columns: minmax(9rem, 12rem) 1fr; gap: var(--s-2); }
.ev-price3 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.ev-price3 .field:first-child { grid-column: 1 / -1; }
@media (min-width: 48rem) { .ev-price3 { grid-template-columns: 2fr 1fr 1.4fr; } .ev-price3 .field:first-child { grid-column: auto; } }
.ev-drafts { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.ev-drafts li { display: grid; gap: 2px; }
.ed-modes { display: grid; gap: var(--s-2); }
@media (min-width: 40rem) { .ed-modes { grid-template-columns: 1fr 1fr; } }
.ed-mode { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap-cta); padding: 0 var(--s-3); border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; }
.ed-mode input { width: 1.25rem; height: 1.25rem; accent-color: var(--forest); }
.ed-mode:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); font-weight: 700; }
.ed-mode small { font-weight: 400; color: var(--ink-soft); }
.ed-help { margin: var(--s-3) 0; padding: var(--s-3); border-radius: var(--r); background: var(--terre-tint); }
.ed-cal { display: grid; gap: var(--s-2); }
.ed-nav { display: flex; justify-content: space-between; }
.ed-months { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.ed-month__title { margin: 0 0 var(--s-2); text-align: center; font-weight: 700; color: var(--brique); text-transform: capitalize; }
.ed-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ed-head { text-align: center; font-size: 1rem; font-weight: 700; color: var(--ink-soft); padding: 4px 0; }
.ed-cell { min-height: var(--tap); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.ed-cell.is-empty { border: 0; background: transparent; cursor: default; }
.ed-cell:disabled { color: var(--line-strong); background: var(--paper); cursor: not-allowed; font-weight: 400; }
.ed-cell.is-on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.ed-cell:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.ed-picked { margin: 0; font-size: 1rem; }
.btn-link { border: 0; background: none; padding: 0 var(--s-1); color: var(--brique); text-decoration: underline; font: inherit; cursor: pointer; min-height: var(--tap); }
.ed-rec { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-4); border: 1.5px solid var(--forest); border-radius: var(--r-lg); background: var(--surface); }
.ed-pats { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.ed-pats legend { font-weight: 700; margin-bottom: var(--s-2); }
.ed-pat { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); min-height: var(--tap); padding: var(--s-2) var(--s-3) var(--s-2) 2.75rem; border-radius: var(--r); cursor: pointer; }
.ed-pat input[type=radio] { position: absolute; left: var(--s-3); top: calc(var(--s-2) + 0.2rem); width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--forest); }
.ed-pat.is-on { background: var(--forest-tint); font-weight: 700; }
.ed-inline { width: auto; min-height: 2.5rem; padding: 0 var(--s-2); }
.ed-note { font-size: 1rem; margin: 0; }
.ed-preview h3 { font-size: 1.15rem; margin: var(--s-4) 0 var(--s-2); }
.ed-occ { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ed-occ li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--paper); }
.ed-occ li.is-cancelled span { text-decoration: line-through; color: var(--ink-soft); }
.ed-cancel { display: inline-flex; align-items: center; gap: var(--s-1); font-size: 1rem; min-height: 2.25rem; }
.ed-cancel input { width: 1.1rem; height: 1.1rem; accent-color: var(--brique); }

/* ===== EARTH-FORM-MODAL : « Ajouter un événement » dans la fenêtre d'Indiana Earth (html.is-earth-frame) : le formulaire seul ===== */
.is-earth-frame #app-header, .is-earth-frame #app-footer, .is-earth-frame .skip-link,
.is-earth-frame ins.adsbygoogle, .is-earth-frame .google-auto-placed, .is-earth-frame .adsbygoogle { display: none !important; }
.is-earth-frame body { background: var(--paper); padding-top: 0 !important; margin-top: 0 !important; }
.is-earth-frame #main { margin-top: 0 !important; padding-top: 0 !important; }
.is-earth-frame .wrap.page { padding-top: var(--s-4); padding-bottom: var(--s-6); }
.is-earth-frame .wrap.page > .lead { margin-top: 0; font-size: 1.05rem; }
.is-earth-frame .cf-steps { margin-top: var(--s-3); }
/* EARTH-UX-FIX : dans la fenêtre d'Earth, le formulaire seul. Message de publication gratuite, « déjà répertoriée », brouillons et « Préparer mon affiche »
   sont masqués ICI seulement (page entière, page de choix, Mon Indiana et « Vos services » inchangés) ; l'état d'enregistrement du brouillon reste affiché.
   « Modifier mon emplacement » est dans la barre d'outils d'Earth. */
.is-earth-frame .wrap.page > .lead { display: none; }
.is-earth-frame .cf-tools { padding: 0; border: 0; background: none; box-shadow: none; margin: 0; }
.is-earth-frame .cf-tools > :not([data-draft-status]) { display: none !important; }
.is-earth-frame .cf-tools .cf-save { margin: 0; font-size: 1rem; }
.is-earth-frame .ev-place [data-edit-place] { display: none; }
/* ===== EARTH-FORM-UX2 : formulaire compact — champs associés sur une ligne, prix courts, tuile d'affiche, dates dans l'étape 1 ===== */
.ev-form .panel > h2 { margin-bottom: 0; }
.ev-form .panel > * + * { margin-top: var(--s-4); }
.ev-form .ev-pair { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: var(--s-4); }
.ev-form .ev-pair--time { grid-template-columns: repeat(2, minmax(0, 12rem)); }
.ev-place:not(:has(a)) { display: none; }
.ev-place:has(a) { padding: 0; border: 0; background: none; }
.ev-sub { margin: var(--s-5) 0 0; font-size: 1.15rem; }
.ev-fee { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-3) var(--s-5); }
.ev-fee__price { display: flex; gap: var(--s-2); }
.ev-fee__price[hidden], .ev-price3[hidden] { display: none; }
.ev-form .ev-num { width: 6.5rem; }
.ev-form .ev-cur { width: 6.5rem; }
.ev-form .ev-unit { width: 13rem; max-width: 100%; }
.ev-price3 { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.ev-price3 .field { flex: 0 0 auto; }
.cf-flyer__tile { display: inline-grid; place-items: center; align-content: center; gap: var(--s-1); width: 9rem; height: 7.5rem; padding: var(--s-2); text-align: center;
  border: 1.5px dashed var(--line-strong, #7D6C58); border-radius: var(--r); background: var(--surface); color: var(--forest); font-weight: 700; font-size: 1rem; cursor: pointer; overflow: hidden; }
.cf-flyer__tile:hover { background: var(--forest-tint); }
.cf-flyer__tile:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.cf-flyer__tile [data-flyer-label] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-flyer__img { display: grid; place-items: center; }
.cf-flyer__img .icon { width: 1.75rem; height: 1.75rem; }
.cf-flyer__img img { width: 7.5rem; height: 4.5rem; object-fit: cover; border-radius: 6px; }
.cf-flyer__note { margin: var(--s-2) 0 0; font-size: 1rem; }
.cf-flyer__note:empty { display: none; }
.ev-form .panel > * + fieldset.field, .ev-form .panel > * + .ev-fee, .ev-form .panel > * + .ev-price3 { margin-top: var(--s-4); }
.cf-flyer__tile [data-flyer-label] { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
.ed-nav { align-items: center; }
.ev-tip { position: relative; display: inline-flex; vertical-align: middle; margin-inline: var(--s-2); }
.ev-tip__btn { width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--line-strong, #7D6C58); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; cursor: help; padding: 0; }
.ev-tip__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ev-tip__box { position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; width: min(20rem, 70vw); padding: var(--s-2) var(--s-3); border-radius: var(--r); background: #0C1822; color: #F8F2E6;
  font-size: 1rem; font-weight: 400; line-height: 1.45; box-shadow: var(--shadow-lg, 0 8px 24px rgba(0,0,0,.25)); visibility: hidden; opacity: 0; transition: opacity 150ms ease; }
.ev-tip:hover .ev-tip__box, .ev-tip:focus-within .ev-tip__box { visibility: visible; opacity: 1; }
.ed-nav__tip .ev-tip__box { left: 50%; transform: translateX(-50%); }

/* ===== EARTH-FORM-V3 : étapes sans titres répétés, calendrier compact, profil de l'organisateur, écran « Suite » (affiche, plan) ===== */
.ev-step1 { position: relative; }
.ev-step1 > .ev-pair:first-of-type { margin-top: 0; padding-right: 2.25rem; }
.ed-corner-tip { position: absolute; top: var(--s-3); right: var(--s-3); }
.ed-corner-tip .ev-tip { margin: 0; }
.ed-corner-tip .ev-tip__box { left: auto; right: 0; }
.ed-modes { grid-template-columns: 1fr 1fr; }
.ed-mode { padding: 0 var(--s-2); gap: var(--s-1); line-height: 1.2; }
.ed-cal { container-type: inline-size; }
.ed-months { grid-template-columns: 1fr; }
.ed-month__head { display: grid; grid-template-columns: var(--tap) 1fr var(--tap); align-items: center; margin-bottom: var(--s-2); }
.ed-month__head .ed-month__title { margin: 0; }
.ed-arrow { display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); font: inherit; font-size: 1.5rem; font-weight: 700; line-height: 1; cursor: pointer; }
.ed-arrow:disabled { opacity: .35; cursor: default; }
.ed-arrow:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ed-arrow.is-ghost { visibility: hidden; }
.ed-arrow--wide { display: none; }
@container (min-width: 36rem) {
  .ed-months { grid-template-columns: 1fr 1fr; }
  .ed-arrow--narrow { visibility: hidden; }
  .ed-arrow--wide { display: grid; }
}
.ed-picked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--forest-tint); }
.ed-preview:empty { display: none; }
.ev-form section.panel > h2 + textarea { margin-top: var(--s-2); }
.ev-form .ev-siret { max-width: 16rem; }

/* POPUP-2-TEMPS (soap, 10/11) : l'écran « Suite » devient deux fenêtres successives (Félicitations → « Et maintenant ? »), chacune tenant dans un
   téléphone 360 × 640 sans défilement : tête (retour, croix), corps, bouton principal toujours visible en bas. Au-dessus de la page hors d'Earth. */
.cf-suite { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: var(--s-4); overflow-y: auto; background: rgba(30, 40, 34, .45); }
.is-earth-frame .cf-suite { padding: 0; background: var(--paper); }
.cf-pop { display: flex; flex-direction: column; width: min(32rem, 100%); max-height: calc(100dvh - 2 * var(--s-4)); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.cf-pop--wide { width: min(56rem, 100%); }
.cf-pop[hidden] { display: none; }
.is-earth-frame .cf-pop { width: 100%; height: 100dvh; max-height: none; border-radius: 0; box-shadow: none; background: var(--paper); }
.cf-pop__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--s-2) 0 var(--s-3); }
.cf-pop__close { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin-left: auto; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.cf-pop__close:hover { background: var(--forest-tint); }
.cf-pop__back { display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); padding: 0 var(--s-2); border: 0; background: none; color: var(--forest); font: inherit; font-weight: 700; cursor: pointer; }
.cf-pop__close:focus-visible, .cf-pop__back:focus-visible, .cf-choice:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cf-pop__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 var(--s-5) var(--s-4); }
.cf-pop__body > h2 { margin: 0 0 var(--s-2); font-size: 1.375rem; line-height: 1.25; }
.cf-pop__body > p { margin: 0 0 var(--s-3); }
.cf-pop__foot { flex: none; padding: var(--s-3) var(--s-5) var(--s-4); border-top: 1px solid var(--line); background: inherit; }
.cf-pop__foot .btn { min-height: var(--tap-cta); justify-content: center; }
.is-earth-frame .cf-pop__foot { padding-bottom: max(var(--s-4), env(safe-area-inset-bottom)); }
.cf-pop [tabindex="-1"]:focus { outline: none; }   /* titre focalisé à l'ouverture (lecteurs d'écran), sans cadre de focus */
@media (min-width: 40rem) {   /* grande fenêtre d'Earth : une carte centrée à sa hauteur, pas un écran vide */
  .is-earth-frame .cf-suite { padding: var(--s-5); }
  .is-earth-frame .cf-pop { width: min(34rem, 100%); height: auto; max-height: calc(100dvh - 2 * var(--s-5)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
  .is-earth-frame .cf-pop--wide { width: min(56rem, 100%); }
}
.cf-suite__done { display: grid; justify-items: center; align-content: center; gap: var(--s-3); text-align: center; }
.cf-suite__done h1 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.cf-suite__done p { margin: 0; }
.cf-suite__ref { font-size: 1rem; }
.cf-suite__links { display: grid; justify-items: center; gap: var(--s-1); }
.cf-suite__links a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; }
.cf-suite__mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--forest); color: var(--white); }
.cf-suite__mark .icon { width: 1.5rem; height: 1.5rem; }
.cf-suite__choices { display: grid; gap: var(--s-3); }
.cf-choice { display: grid; grid-template-columns: 2.75rem 1fr; align-items: center; gap: var(--s-3); width: 100%; min-height: 5rem; padding: var(--s-3) var(--s-4); border: 2px solid var(--forest); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cf-choice:hover:not(:disabled) { background: var(--forest-tint); }
.cf-choice > .icon, .cf-choice > svg { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%; background: var(--forest); color: var(--white); }
.cf-choice b { display: block; font-size: 1.125rem; line-height: 1.25; }
.cf-choice small { display: block; margin-top: 2px; font-size: 1rem; color: var(--ink-soft); }
.cf-choice:disabled { border-color: var(--line); cursor: not-allowed; }
.cf-choice:disabled > .icon, .cf-choice:disabled > svg { background: var(--line); color: var(--ink-soft); }
.cf-suite__actions { display: grid; gap: var(--s-2); }
.cf-suite__actions .btn { width: 100%; justify-content: center; }
.cf-suite__pick { display: grid; gap: var(--s-3); }
.cf-suite__pick[hidden] { display: none; }
.cf-suite__sources { display: grid; gap: var(--s-2); }
.cf-suite__sources[hidden] { display: none; }
.cf-src { display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: var(--tap-cta, 3.25rem); padding: var(--s-2) var(--s-3); border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.cf-suite__sources .cf-flyer__tile { display: flex; height: auto; place-items: initial; }
.cf-suite__sources .cf-flyer__tile [data-flyer-label] { white-space: normal; }
.cf-suite__sources .cf-flyer__img img { width: 3.5rem; height: 3.5rem; }
.cf-src:disabled { opacity: .55; cursor: not-allowed; }
.cf-src .pro-badge { margin-left: auto; }
.cf-flyer__confirm { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.cf-flyer__confirm[hidden] { display: none; }
.cf-suite__mode:empty { display: none; }
.cf-suite__poster { display: grid; gap: var(--s-3); }
.cf-suite__poster[hidden] { display: none; }
.prep-choice.is-locked { opacity: .55; cursor: not-allowed; }
.prep-protools { display: grid; gap: var(--s-1); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.prep-protools li { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-3); border-radius: var(--r-sm); background: var(--paper); }
.prep-protools li .prep-pro { margin-left: auto; }
.prep-protools.is-locked li { color: var(--ink-soft); opacity: .6; }
.is-earth-frame .ev-place { display: none; }   /* V3 : lieu en champs cachés seulement dans la fenêtre d'Earth (aucun espace vide en tête d'étape) */

/* ===== EARTH-FORM-V4 : grands choix sur téléphone (le menu d'origine reste la source des valeurs), espacement du calendrier ===== */
.ed-cal { margin-top: var(--s-3); }
.pick-btn { display: none; }
@media (max-width: 40rem) {
  .ev-form .pick-btn { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); width: 100%; text-align: left; font-family: inherit; font-size: 1.125rem; color: var(--ink); cursor: pointer; }
  .ev-form .pick-btn.ed-inline, .ev-form .pick-btn.ev-cur, .ev-form .pick-btn.ev-unit { width: auto; }
  .ev-form .pick-btn [data-pick-value] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ev-form .pick-btn .icon { flex-shrink: 0; width: 1.1rem; height: 1.1rem; }
  .ev-form .pick-btn:disabled { opacity: .55; cursor: default; }
  .ev-form select.pick-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
}
dialog.pick-sheet { position: fixed; inset: auto 0 0 0; display: flex; flex-direction: column; width: 100%; max-width: 100%; height: 92dvh; max-height: 92dvh; margin: 0; padding: 0;
  border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -8px 32px rgba(12, 24, 34, .25); }
dialog.pick-sheet:not([open]) { display: none; }
dialog.pick-sheet::backdrop { background: rgba(12, 24, 34, .5); }
.pick-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.pick-sheet__head h2 { margin: 0; font-size: 1.25rem; }
.pick-sheet__close { display: grid; place-items: center; flex-shrink: 0; width: var(--tap); height: var(--tap); padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.pick-sheet__close:focus-visible, .pick-sheet__opt:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.pick-sheet__list { flex: 1; margin: 0; padding: var(--s-2) var(--s-3) calc(var(--s-4) + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.pick-sheet__opt { display: flex; align-items: center; min-height: 3.5rem; padding: var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); font-size: 1.125rem; line-height: 1.3; cursor: pointer; }
.pick-sheet__opt[aria-selected="true"] { border-radius: var(--r); background: var(--forest-tint); color: var(--forest-deep, var(--forest)); font-weight: 700; }
/* EARTH-PLAN-P1 : survol Earth proposé en second choix, sous « Ouvrir mon terrain » */
.prep-sheet__alt { display: flex; align-items: center; justify-content: center; min-height: var(--tap); font-size: 1rem; }

/* EDITEURS : l'ancien éditeur reste en secours, visuellement secondaire (une seule action principale par plan : « Gérer mes emplacements ») */
.pro-plan__secours { border-style: dashed; }
.pro-plan__fallback { margin-top: 12px; }
.pro-plan__fallback > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--forest, #1E4D3B); }

/* Inscription sans plan (01/11/2026) : un seul écran, gros boutons (≥ 48 px), texte lisible */
.xp-list-form { gap: 1rem; max-width: 36rem; }
.xp-list-form .input { min-height: 3rem; font-size: 1.05rem; }
.xp-stepper { display: flex; align-items: stretch; gap: .5rem; }
.xp-stepper__btn { min-width: 3.25rem; min-height: 3.25rem; font-size: 1.5rem; font-weight: 800; }
.xp-stepper__value { width: 6rem; text-align: center; font-size: 1.4rem; font-weight: 800; }
.xp-kind { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.xp-kind legend { font-weight: 700; margin-bottom: .35rem; }
.xp-choice, .xp-check { display: flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .5rem .8rem; border: 2px solid var(--paper-deep); border-radius: .6rem; background: var(--surface); cursor: pointer; }
.xp-choice { flex: 1 1 10rem; font-weight: 700; }
.xp-choice:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); }
.xp-check { align-items: flex-start; line-height: 1.4; }
.xp-choice input, .xp-check input { width: 1.4rem; height: 1.4rem; flex: none; accent-color: var(--forest); }
.xp-total { font-size: 1.2rem; margin: 0; }
.xp-send { width: 100%; min-height: 3.5rem; font-size: 1.15rem; }
.participation .participation__button.participation__button--signup { background: #FC9137; color: var(--ink); border-color: #FC9137; min-height: 3.5rem; font-size: 1.15rem; }
.pro-list-panel .pro-list-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pro-list-panel .btn { min-height: 2.75rem; }
@media print { .pro-register-print { font-size: 11pt; } }
.xp-group-box { margin: 0; padding: 1rem; border: 2px solid var(--paper-deep); border-radius: .75rem; background: var(--surface); }
.xp-group-box legend { padding: 0 .4rem; font-weight: 800; color: var(--forest); font-size: 1.05rem; }
.xp-group-box[hidden], .xp-check[hidden] { display: none; }

/* P2 : densité obtenue par la disposition, textes et commandes toujours lisibles. */
.participation__card > p, .participation__card > .btn { grid-column: 1 / -1; }
.demo-plan__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.demo-plan__heading h2 { margin: 0 0 .25rem; }
.demo-plan__heading p { margin: 0; color: var(--ink-soft); }
.demo-plan__preview { margin-top: 1rem; }
.demo-plan__preview summary { display: list-item; min-height: var(--tap); padding-block: .65rem; color: var(--forest); font-weight: 700; cursor: pointer; }
.demo-plan__preview p { max-width: 70ch; }
.demo-plan__preview svg { display: block; max-height: 32rem; }
.demo-plan :is(a, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Le lien de la fiche couvre le corps ; seuls les contrôles passent au-dessus. */
.event-card { isolation: isolate; }
.event-card__cta a::after { z-index: 1; cursor: pointer; }
.event-card__visual { z-index: 2; }
.event-card__favorite { z-index: 3; }
.event-card__participation { z-index: auto; }
.event-card__participation button { position: relative; z-index: 2; }
.event-card__meta .event-card__exhibitors { z-index: 2; margin-top: 0; justify-self: start; }
.event-card__exhibitors-label { margin-left: var(--s-2); font-size: 1rem; font-weight: 700; }
.event-card__exhibitors-stack { max-width: 100%; }
.event-card__exhibitors-stack .event-card__exhibitor-portrait,
.event-card__exhibitors-stack .event-card__exhibitors-more { flex-shrink: 0; }
@media (max-width: 22rem) {
  .event-card__exhibitors-stack .event-card__exhibitors-more,
  .event-card__exhibitors-label { margin-left: var(--s-1); }
}

/* Partage : fenêtre native, fond flouté uniquement pendant son ouverture. */
dialog.share-tools {
  position: fixed; width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--ink);
  box-shadow: 0 1rem 3rem rgba(20, 41, 28, .22);
}
.share-tools::backdrop { background: rgba(20, 41, 28, .38); backdrop-filter: blur(5px); }
body:has(dialog.share-tools[open]) { overflow: hidden; }
.share-tools__body { padding: var(--s-5); }
.share-tools__head { position: static; display: flex; align-items: start; gap: var(--s-3); }
.share-tools__head h2 { flex: 1; margin: 0; font-size: 1.5rem; }
.share-tools__close { display: grid; place-items: center; flex: none; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer; }
.share-tools__close:hover { background: var(--forest-tint); }
.share-tools__event { margin: var(--s-2) 0 var(--s-4); color: var(--ink-soft); overflow-wrap: anywhere; }
.share-tools .share-tools__options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); padding: 0; }
.share-tools__options .btn { min-height: var(--tap-cta); min-width: 0; padding-inline: var(--s-2); gap: var(--s-2); }
.share-tools__wide { grid-column: 1 / -1; }
.share-tools__platform-icon { flex: none; width: 1.5rem; height: 1.5rem; }
.share-tools__platform-icon--whatsapp { color: #1d7044; }
.share-tools__platform-icon--facebook { color: #1769c2; }
.share-tools__platform-icon--telegram { color: #176b9a; }
.share-tools__status { min-height: 1.5em; margin: var(--s-3) 0 0; font-size: 1rem; color: var(--forest); overflow-wrap: anywhere; }
.share-tools button:focus-visible, .share-tools a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 22rem) {
  .share-tools__body { padding: var(--s-4); }
  .share-tools .share-tools__options { gap: var(--s-2); }
  .share-tools__options .btn { padding-inline: var(--s-2); }
  .share-tools__options .btn:not(.share-tools__wide) { flex-direction: column; min-height: 5rem; gap: var(--s-1); }
}

/* Indice discret : cadran de 34 px dans une cible tactile de 44 px. */
.datecard:has(.relscore--compact) { position: relative; }
.datecard:has(.relscore--compact) .datecard__label { min-height: var(--tap); padding-right: 3.25rem; display: flex; align-items: center; flex-wrap: wrap; }
.relscore.relscore--compact { position: absolute; top: var(--s-3); right: var(--s-3); display: inline-flex; width: var(--tap); height: var(--tap); margin: 0; padding: 0; border: 0; }
.relscore__dial { display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--tone); cursor: pointer; }
.relscore__dial svg { display: block; width: 2.125rem; height: 2.125rem; }
.relscore__dial:hover, .relscore__dial[aria-expanded="true"] { background: var(--white); border-color: var(--tone); }
.relscore__dial:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.relscore--compact .relscore__tip { position: absolute; top: calc(100% + var(--s-2)); right: 0; z-index: 60; width: min(22rem, calc(100vw - 5rem)); max-height: 60dvh; overflow-y: auto; margin: 0; padding: var(--s-4); box-shadow: 0 .5rem 1.5rem rgba(43, 33, 24, .16); }
.relscore__tip-heading, .relscore__tip-detail { display: block; }
.relscore__tip-heading { font-weight: 700; }
.relscore__tip-score { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-block: var(--s-2) var(--s-3); }
.relscore__tip-score > strong { font-size: 1.25rem; color: var(--tone); font-variant-numeric: tabular-nums; }
.relscore--compact .relscore__close { display: block; }
/* Pont de survol entre le cadran et son explication. */
.relscore--compact:has(.relscore__tip:not([hidden]))::after { content: ''; position: absolute; top: 100%; right: 0; width: min(22rem, calc(100vw - 5rem)); height: var(--s-2); }
/* PHASE1 (soap) : calendrier compact — un seul mois quand la place manque (le 2e n'apparaît qu'en largeur), dates en pastilles */
.ed-month + .ed-month { display: none; }
@container (min-width: 36rem) { .ed-month + .ed-month { display: block; } }
.ed-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-2) 0; }
.ed-pill { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.ed-pill span { margin-left: 4px; color: var(--ink-soft); }
.ed-pill.is-cancelled { text-decoration: line-through; color: var(--ink-soft); background: var(--paper); border-style: dashed; }
.ed-pill:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ed-cal--repli { border: 1px solid var(--line); border-radius: var(--r); padding: 0 var(--s-3); }
.ed-cal--repli > summary { min-height: var(--tap); display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.ed-cal--repli[open] { padding-bottom: var(--s-3); }

/* Repères de navigation : une identité par type de fiche, retour toujours en tête. */
.page-back { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); color: inherit; font-weight: 700; text-decoration: none; }
.page-back .icon { flex: none; width: 1.25rem; height: 1.25rem; }
.page-back:hover { text-decoration: underline; }
.page-back:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.page-identity { --page-accent: var(--forest); padding: var(--s-4) clamp(1.125rem, 4vw, 2.5rem) var(--s-6); background: var(--page-accent); color: var(--white); border-radius: var(--r); }
.page-identity[data-page-family="assos"] { --page-accent: #2b557a; }
.page-identity[data-page-family="artisans"] { --page-accent: #884021; }
.page-identity > .page-back { display: flex; padding-bottom: var(--s-3); margin-bottom: var(--s-5); border-bottom: 1px solid #ffffff55; }
.page-identity h1 { max-width: 28ch; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; margin: 0 0 var(--s-4); overflow-wrap: anywhere; color: inherit; }
.page-identity p { color: inherit; }
.page-identity__place { display: flex; gap: var(--s-2); align-items: center; margin: var(--s-3) 0 0; }
.page-identity__place .icon { flex: none; }
.page-identity__kind { margin: var(--s-2) 0 0; }
.page-identity .datecard { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; }
.page-identity .datecard__label { color: inherit; font-weight: 400; text-transform: none; letter-spacing: normal; }
.page-identity .datecard__date { font-family: var(--font-body); font-size: clamp(1.125rem, 3vw, 1.5rem); }
.page-identity .datecard .date-stub { border: 1px solid #ffffff88; width: 4rem; }
.page-identity .datecard__rule { background: transparent; padding: 0; color: inherit; font-weight: 400; }
.page-identity .relscore__tip { color: var(--ink); }
.page-identity .relscore__tip p { color: var(--ink); }
.profile-page-return { position: relative; z-index: 2; height: 0; padding: var(--s-3); }
.profile-page-return .page-back { background: var(--surface); color: var(--forest); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); max-width: 100%; }
.directory-page__body { display: grid; gap: var(--s-6); padding-top: var(--s-6); }
.directory-page__body > * { min-width: 0; }
.directory-page__copy { display: grid; gap: var(--s-6); align-content: start; }
.directory-page__copy h2 { font-size: 1.75rem; margin: 0 0 var(--s-3); }
.directory-page__copy p { margin: var(--s-2) 0; }
.directory-page__story { white-space: pre-line; overflow-wrap: anywhere; }
.directory-page__visual { margin: 0; }
.directory-page__visual img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.directory-page__register { border-top: 1px solid var(--line); padding-top: var(--s-5); }
.directory-card__open { margin: 0; }
.finder-hero--results .hero-mobile-teaser, .finder-hero--results .finder-hero__mobile-mascot, .finder-hero--results .finder-hero__tagline, .finder-hero--results .bunting, .finder-hero--results .home-types { display: none; }
.finder-hero--results .finder-hero__grid { display: block; }
.finder-hero--results .finder-hero__copy h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 60rem) { .directory-page__body { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
@media (max-width: 47.99rem) {
  .fiche-page, .directory-page { padding-top: 0; }
  .page-identity { margin-inline: calc(-1 * var(--s-4)); border-radius: 0; }
  .profile-page-return { padding: var(--s-2); }
}

/* PSEUDO-UNIQUE : Mon Indiana > Connexion, de l’air entre le @pseudo et « Mot de passe » */
form[data-pseudo], form[data-city] { margin-bottom: var(--s-6); }
