/* Les Weppes v4 · Pratique et territoire (maquettes 11d, 11f) */

/* ---------- 11d · Nouveaux arrivants ---------- */

.wpna { max-width: 1080px; padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.wpna-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.wpna-head > div { display: flex; flex-direction: column; gap: 6px; }
.wpna-h1 { font-size: 38px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.wpna-head p { font-size: 15px; color: var(--wp-ink-2); }
.wpna-switch .wp-select { min-width: 220px; border-color: var(--wp-ink); border-radius: 999px; font-weight: 700; font-size: 13px; padding-top: 9px; padding-bottom: 9px; background-color: var(--wp-paper); }
.wpna-progress { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.wpna-progress__bar { flex: 1; height: 10px; border-radius: 5px; background: var(--wp-sand-2); overflow: hidden; }
.wpna-progress__bar span { display: block; height: 100%; background: var(--wp-acc); border-radius: 5px; transition: width .3s; }
.wpna-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wpna-item { background: var(--wp-paper); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.wpna-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--wp-ink); background: transparent; color: var(--wp-paper); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; padding: 0; font-size: 12px; line-height: 1; }
.wpna-check:hover { background: var(--wp-sand); }
.wpna-item.is-done .wpna-check { background: var(--wp-ink); }
.wpna-item.is-done .wpna-check::before { content: '✓'; }
.wpna-item__l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wpna-item__t { font-size: 15px; font-weight: 700; }
.wpna-item__l:hover .wpna-item__t { text-decoration: underline; }
.wpna-item__s { font-size: 12px; color: var(--wp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpna-item.is-done .wpna-item__t { color: var(--wp-muted); }
.wpna-item__go { font-size: 13px; font-weight: 700; }
.wpna-host { background: var(--wp-dark); color: var(--wp-bg); border-radius: var(--wp-r-lg); padding: 20px; display: flex; gap: 16px; align-items: center; }
.wpna-host__c { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.wpna-host__c strong { font-size: 19px; font-weight: 900; line-height: 1.25; }
.wpna-host__c > span:last-child { font-size: 13px; color: rgba(255, 255, 255, .65); }
.wpna-more { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 8px; }
.wpna-more__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wpna-side { display: flex; flex-direction: column; gap: 14px; }
.wpna-side .wp-btn { align-self: flex-start; }
.wpna-h2 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 10px; }
.wpna-people { list-style: none; display: flex; flex-direction: column; }
.wpna-people li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--wp-line); }
.wpna-people img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--wp-sand); flex-shrink: 0; }
.wpna-people__c { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.wpna-people__c b { color: var(--wp-ink); font-size: 14px; }
.wpna-groups__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wpna-group { background: var(--wp-paper); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.wpna-group:hover b { text-decoration: underline; }
.wpna-group img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--wp-sand); flex-shrink: 0; }
.wpna-group span { display: flex; flex-direction: column; min-width: 0; }
.wpna-group b { font-size: 14px; line-height: 1.25; }
.wpna-group small { font-size: 12px; color: var(--wp-muted); }
.wpna-events { list-style: none; display: flex; flex-direction: column; }
.wpna-events a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--wp-line); }
.wpna-events span { font: 500 11px var(--wp-mono); text-transform: uppercase; color: var(--wp-acc-2); width: 52px; flex-shrink: 0; }
.wpna-events b { font-size: 13px; color: var(--wp-ink); line-height: 1.3; }
.wpna-events a:hover b { text-decoration: underline; }

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

@media (max-width: 760px) {
  .wpna { padding-top: 16px; gap: 12px; }
  .wpna-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .wpna-h1 { font-size: 28px; }
  .wpna-switch .wp-select { width: 100%; }
  .wpna-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wpna-host { flex-direction: column; align-items: stretch; padding: 16px; }
  .wpna-host .wp-btn { justify-content: center; }
  .wpna-host__c strong { font-size: 17px; }
  .wpna-groups__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11f · L’argot du coin ---------- */

.wpag { max-width: 1080px; padding-top: 20px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.wpag-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wpag-h1 { font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.wpag-meta { font-size: 13px; color: var(--wp-muted); }
.wpag-lead { font-size: 15px; line-height: 1.55; color: var(--wp-ink-2); max-width: 720px; margin-top: -4px; }
.wpag-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.wpag-letters button { width: 30px; height: 30px; border-radius: 6px; border: 0; background: var(--wp-paper); font: 500 13px var(--wp-mono); color: var(--wp-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.wpag-letters button:hover { background: var(--wp-sand-2); }
.wpag-letters button.is-on { background: var(--wp-ink); color: var(--wp-paper); }
.wpag-day { background: var(--wp-dark); color: var(--wp-bg); border-radius: var(--wp-r-lg); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.wpag-day__t { font-size: 34px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.wpag-day__t small { font: 400 14px var(--wp-mono); color: rgba(255, 255, 255, .6); letter-spacing: 0; margin-left: 6px; }
.wpag-day__d { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 760px; }
.wpag-day__ex { font-size: 14px; font-style: italic; color: rgba(255, 255, 255, .62); }
.wpag-day__act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.wpag-pill { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: var(--wp-bg); border-radius: 999px; padding: 7px 12px; font: 700 13px var(--wp-sans); cursor: pointer; }
.wpag-pill:hover { border-color: var(--wp-bg); color: var(--wp-bg); }
.wpag-pill[hidden] { display: none; }
.wpag-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.wpag-search { flex: 0 1 340px; }
.wpag-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.wpag-sec { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 90px; }
.wpag-sec__l { font-size: 26px; font-weight: 900; border-bottom: 1px solid var(--wp-line-2); padding-bottom: 4px; }
.wpag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wpag-word { background: var(--wp-paper); border-radius: var(--wp-r); padding: 14px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.5; color: var(--wp-ink-2); scroll-margin-top: 90px; }
.wpag-word:target { box-shadow: 0 0 0 3px var(--wp-acc); }
.wpag-word[hidden], .wpag-sec[hidden] { display: none; }
.wpag-word__t { font-size: 17px; font-weight: 800; color: var(--wp-ink); line-height: 1.2; }
.wpag-word__t small { font: 400 11px var(--wp-mono); color: var(--wp-muted); }
.wpag-word__ex { font-style: italic; color: var(--wp-muted); }
.wpag-word__c { margin-top: auto; font: 500 10px var(--wp-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--wp-acc-2); }
.wpag-play { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.wpag-card { background: var(--wp-paper); border-radius: var(--wp-r-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--wp-ink-2); }
.wpag-card__t { font-size: 22px; font-weight: 900; line-height: 1.15; color: var(--wp-ink); }
.wpag-card__act { display: flex; gap: 6px; flex-wrap: wrap; }
.wpag-card .wp-btn { align-self: flex-start; }
.wpag-card--acc { background: var(--wp-acc); color: var(--wp-ink); }
.wpag-card--acc .wp-kick { color: var(--wp-ink); }
.wpag-about { font-size: 13px; color: var(--wp-muted); line-height: 1.55; max-width: 720px; }

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

@media (max-width: 760px) {
  .wpag { padding-top: 14px; gap: 12px; }
  .wpag-h1 { font-size: 30px; }
  .wpag-day { padding: 16px; }
  .wpag-day__t { font-size: 28px; }
  .wpag-day__t small { display: block; margin: 4px 0 0; }
  .wpag-search { flex: 1 1 100%; }
  .wpag-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--wp-gut) * -1); padding: 0 var(--wp-gut); scrollbar-width: none; }
  .wpag-cats .wp-chip { flex-shrink: 0; }
  .wpag-grid, .wpag-play { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- 11f · Le jeu Mandat ---------- */

.wpmd { max-width: 1080px; padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.wpmd-head { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.wpmd-h1 { font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.wpmd-head p { font-size: 16px; line-height: 1.55; color: var(--wp-ink-2); }
.wpmd-head__act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.wpmd-h2 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.wpmd-band { background: var(--wp-dark); color: var(--wp-bg); border-radius: var(--wp-r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.wpmd-band__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wpmd-band__stats span { background: rgba(255, 255, 255, .07); border-radius: var(--wp-r-sm); padding: 12px 14px; display: flex; flex-direction: column; font: 400 11px var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .65); }
.wpmd-band__stats b { font: 900 30px var(--wp-sans); letter-spacing: -.02em; color: var(--wp-bg); text-transform: none; line-height: 1.1; }
.wpmd-band p { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.wpmd-band p b { color: var(--wp-acc); }
.wpmd-mine { background: var(--wp-paper); border: 2px solid var(--wp-acc); border-radius: var(--wp-r-lg); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wpmd-mine__c { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--wp-ink-2); }
.wpmd-mine__c strong { font-size: 22px; font-weight: 900; color: var(--wp-ink); }
.wpmd-mine__act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wpmd-textbtn { background: none; border: 0; padding: 0 4px; font: 600 13px var(--wp-sans); color: var(--wp-muted); text-decoration: underline; cursor: pointer; }
.wpmd-textbtn:hover { color: var(--wp-ink); }
.wpmd-hall { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.wpmd-hall__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.wpmd-hall__head p { font-size: 13px; color: var(--wp-ink-2); margin-top: 3px; }
.wpmd-vues { display: flex; gap: 6px; flex-wrap: wrap; }
.wpmd-group { background: var(--wp-sand); border-radius: var(--wp-r); padding: 10px 14px; font-size: 13px; }
.wpmd-group:hover b { text-decoration: underline; }
.wpmd-list { list-style: none; background: var(--wp-paper); border-radius: var(--wp-r-lg); padding: 4px 16px; }
.wpmd-list li + li { border-top: 1px solid var(--wp-line); }
.wpmd-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
a.wpmd-row:hover .wpmd-row__who b { text-decoration: underline; }
.wpmd-row.is-mine { background: var(--wp-sand); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.wpmd-row__r { width: 30px; font-size: 20px; font-weight: 900; flex-shrink: 0; }
.wpmd-row__who { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.wpmd-row__who b { font-size: 15px; font-weight: 800; }
.wpmd-row__who small { flex-basis: 100%; font-size: 12px; color: var(--wp-muted); }
.wpmd-flag { font: 500 10px var(--wp-mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--wp-line-2); border-radius: 999px; padding: 1px 7px; color: var(--wp-muted); }
.wpmd-flag--me { border-color: var(--wp-acc); color: var(--wp-acc-2); }
.wpmd-gauges { display: flex; flex-direction: column; gap: 3px; width: 190px; flex-shrink: 0; }
.wpmd-gauge { display: grid; grid-template-columns: 78px 1fr 24px; gap: 6px; align-items: center; font-size: 11px; color: var(--wp-muted); }
.wpmd-gauge > span { height: 5px; border-radius: 3px; background: var(--wp-sand-2); overflow: hidden; }
.wpmd-gauge i { display: block; height: 100%; background: var(--wp-dark); border-radius: 3px; }
.wpmd-gauge b { font: 500 11px var(--wp-mono); color: var(--wp-ink); text-align: right; }
.wpmd-row__act { width: 180px; flex-shrink: 0; display: flex; flex-direction: column; font-size: 12px; font-weight: 700; line-height: 1.3; }
.wpmd-row__act small { font: 400 10px var(--wp-mono); text-transform: uppercase; color: var(--wp-muted); }
.wpmd-row__s { width: 64px; flex-shrink: 0; text-align: right; display: flex; flex-direction: column; }
.wpmd-row__s b { font-size: 22px; font-weight: 900; line-height: 1.1; }
.wpmd-row__s small { font: 400 10px var(--wp-mono); text-transform: uppercase; color: var(--wp-muted); }
.wpmd-rules { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 90px; }
.wpmd-rules > p { font-size: 14px; color: var(--wp-ink-2); max-width: 720px; }
.wpmd-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.wpmd-steps li { background: var(--wp-paper); border-radius: var(--wp-r-lg); padding: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.5; color: var(--wp-ink-2); }
.wpmd-steps span { font: 500 12px var(--wp-mono); color: var(--wp-acc-2); }
.wpmd-steps b { font-size: 17px; font-weight: 800; color: var(--wp-ink); }
.wpmd-cta { background: var(--wp-acc); border-radius: var(--wp-r-lg); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wpmd-cta > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.wpmd-cta strong { font-size: 20px; font-weight: 900; }

@media (max-width: 1023px) {
  .wpmd-row__act { display: none; }
}

@media (max-width: 760px) {
  .wpmd { padding-top: 16px; gap: 14px; }
  .wpmd-h1 { font-size: 30px; }
  .wpmd-head__act .wp-btn { flex: 1; justify-content: center; }
  .wpmd-band { padding: 16px; }
  .wpmd-band__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .wpmd-band__stats b { font-size: 24px; }
  .wpmd-list { padding: 4px 12px; }
  .wpmd-row { flex-wrap: wrap; gap: 8px 12px; }
  .wpmd-row.is-mine { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .wpmd-row__who { flex: 1 1 calc(100% - 120px); }
  .wpmd-gauges { order: 3; width: 100%; padding-left: 42px; }
  .wpmd-steps { grid-template-columns: minmax(0, 1fr); }
  .wpmd-cta { flex-direction: column; align-items: stretch; }
  .wpmd-cta .wp-btn { justify-content: center; }
}
/* ---------- 11f · Enquête ---------- */

.wpsv { max-width: 820px; padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.wpsv-head { display: flex; flex-direction: column; gap: 6px; }
.wpsv-h1 { font-size: 38px; font-weight: 900; letter-spacing: -.03em; line-height: 1.06; }
.wpsv-head p { font-size: 15px; color: var(--wp-ink-2); }
.wpsv-h2 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
.wpsv-card { background: var(--wp-paper); border-radius: var(--wp-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 90px; }
.wpsv-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.wpsv-progress__bar { flex: 1; height: 8px; border-radius: 4px; background: var(--wp-sand-2); overflow: hidden; }
.wpsv-progress__bar span { display: block; height: 100%; width: 25%; background: var(--wp-acc); border-radius: 4px; transition: width .3s; }
.wpsv-step { display: flex; flex-direction: column; gap: 20px; }
.wpsv-step[hidden] { display: none; }
.wpsv-lead { font-size: 14px; color: var(--wp-ink-2); margin-top: -14px; }
.wpsv-q { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.wpsv-q legend, .wpsv-q__l { font-size: 15px; font-weight: 800; padding: 0; margin-bottom: 10px; }
.wpsv-q__l { margin-bottom: 0; }
.wpsv-q legend small, .wpsv-q__l small, .wpsv-opt { font-size: 12px; font-weight: 400; color: var(--wp-muted); margin-left: 4px; }
.wpsv-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.wpsv-choices--list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wpsv-choice { position: relative; cursor: pointer; }
.wpsv-choice input { position: absolute; opacity: 0; pointer-events: none; }
.wpsv-choice span { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--wp-line-2); background: var(--wp-bg); font-size: 14px; font-weight: 600; line-height: 1.3; transition: background .15s, border-color .15s; }
.wpsv-choices--list .wpsv-choice span { border-radius: var(--wp-r-sm); height: 100%; }
.wpsv-choice:hover span { border-color: var(--wp-ink); }
.wpsv-choice input:checked + span { background: var(--wp-ink); border-color: var(--wp-ink); color: var(--wp-paper); }
.wpsv-choice input:focus-visible + span { outline: 3px solid rgba(236, 122, 36, .45); outline-offset: 2px; }
.wpsv-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.wpsv-scale label { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: var(--wp-r-sm); border: 1px solid var(--wp-line-2); background: var(--wp-bg); text-align: center; }
.wpsv-scale input { position: absolute; opacity: 0; pointer-events: none; }
.wpsv-scale b { font-size: 22px; font-weight: 900; }
.wpsv-scale small { font-size: 11px; color: var(--wp-muted); line-height: 1.25; }
.wpsv-scale label:hover { border-color: var(--wp-ink); }
.wpsv-scale label:has(input:checked) { background: var(--wp-acc); border-color: var(--wp-acc); }
.wpsv-scale label:has(input:checked) small { color: var(--wp-ink); }
.wpsv-scale label:has(input:focus-visible) { outline: 3px solid rgba(236, 122, 36, .45); outline-offset: 2px; }
.wpsv-scale__ends { display: flex; justify-content: space-between; font: 400 11px var(--wp-mono); text-transform: uppercase; color: var(--wp-muted); }
.wpsv-err { background: #fbe4dc; border-radius: var(--wp-r-sm); padding: 10px 12px; font-size: 13px; font-weight: 600; }
.wpsv-err[hidden] { display: none; }
.wpsv-nav { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--wp-line); padding-top: 16px; }
.wpsv-nav [hidden] { display: none; }
.wpsv-done { align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--wp-ink-2); }
.wpsv-done__ok { width: 44px; height: 44px; border-radius: 50%; background: var(--wp-acc); color: var(--wp-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; }
.wpsv-done .wpsv-nav { border: 0; padding-top: 6px; justify-content: flex-start; }

@media (max-width: 760px) {
  .wpsv { padding-top: 16px; }
  .wpsv-h1 { font-size: 28px; }
  .wpsv-card { padding: 16px; margin: 0 calc(var(--wp-gut) * -1); border-radius: 0; }
  .wpsv-choices--list { grid-template-columns: minmax(0, 1fr); }
  .wpsv-scale small { display: none; }
  .wpsv-nav .wp-btn { flex: 1; justify-content: center; }
  .wpsv .wp-form-grid { grid-template-columns: minmax(0, 1fr); }
}