/* JEFIE Paris 2026 — Composants de l'Espace Partenaire dans le gabarit commun des espaces.
   Couleurs et typographies de la charte (variables définies dans jefie-espace.css). */
.ps-card { border-radius: var(--jx-radius); box-shadow: var(--jx-shadow); }
.ps-card-title { font-family: var(--jx-font-title); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.ps-stat { border-radius: var(--jx-radius); box-shadow: var(--jx-shadow); }
.ps-stat-num { font-family: var(--jx-font-title); }
.btn-navy, .btn-gold, .btn-outline, .btn-full-navy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--jx-radius-sm); font-family: var(--jx-font-body); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; line-height: 1.2; }
.btn-navy, .btn-full-navy { background: var(--jx-navy); color: #fff; }
.btn-navy:hover, .btn-full-navy:hover { background: var(--jx-navy-80); }
.btn-full-navy { width: 100%; }
.btn-gold { background: var(--jx-yellow); color: var(--jx-navy); }
.btn-gold:hover { background: #f2c00a; }
.btn-outline { background: #fff; color: var(--jx-navy); border-color: var(--jx-line); }
.btn-outline:hover { border-color: var(--jx-navy); }
.btn-navy svg, .btn-gold svg, .btn-outline svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.rs-title { font-family: var(--jx-font-title); font-size: 15px; color: var(--jx-navy); margin: 0 0 .5rem; }
.ps-aside { display: grid; gap: 18px; align-content: start; }
.ps-aside > div { background: #fff; border: 1px solid var(--jx-line); border-radius: var(--jx-radius); box-shadow: var(--jx-shadow); padding: 18px 20px; }

/* ══════════════════════════════════════════════════════════════
   COMPOSANTS DES PAGES DE L'ESPACE PARTENAIRE (préfixe ps-)
══════════════════════════════════════════════════════════════ */
.ps-hero { min-height: 170px; }
.ps-hero .hero-left { max-width: 620px; }
.ps-hero h1 { font-size: 1.9rem; }
.ps-crumbs { font-size: 11.5px; color: rgba(255,255,255,.55); margin-bottom: .6rem; letter-spacing: .02em; }
.ps-crumbs a { color: var(--jx-yellow); text-decoration: none; font-weight: 600; }
.ps-card { background: #fff; border: 1px solid var(--jx-line); border-radius: 10px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.ps-card-title { font-size: 12px; font-weight: 900; color: var(--jx-navy); letter-spacing: .08em; text-transform: uppercase; border-left: 3px solid var(--jx-yellow); padding-left: 10px; margin-bottom: 1rem; }
.ps-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ps-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ps-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ps-dl { display: grid; grid-template-columns: 170px 1fr; gap: .55rem 1rem; font-size: 13px; }
.ps-dl dt { color: var(--jx-muted); font-weight: 600; }
.ps-dl dd { color: var(--jx-navy); word-break: break-word; }
.ps-muted { color: var(--jx-muted); font-size: 13px; line-height: 1.6; }
.ps-empty { text-align: center; padding: 2rem 1rem; color: var(--jx-muted); font-size: 13px; line-height: 1.6; }
.ps-empty svg { width: 36px; height: 36px; stroke: #cbd5e0; fill: none; stroke-width: 1.5; display: block; margin: 0 auto .75rem; }
.ps-empty .btn-navy, .ps-empty .btn-gold { margin-top: 1rem; display: inline-flex; }
.ps-alert { border-radius: 8px; padding: .8rem 1rem; font-size: 13px; margin-bottom: 1.25rem; }
.ps-alert.ok { background: #e8f5e9; border: 1px solid #a5d6a7; color: var(--jx-green); }
.ps-alert.ko { background: #fdecea; border: 1px solid #f5c6cb; color: #c62828; }
.ps-alert.info { background: #fff8e6; border: 1px solid #f5d98b; color: #7a5a00; }
.ps-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ps-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--jx-muted); padding: 8px 10px; border-bottom: 1px solid var(--jx-line); }
.ps-table td { padding: 10px; border-bottom: 1px solid #f0f4f8; vertical-align: middle; }
.ps-table tr:last-child td { border-bottom: none; }
.ps-badge { display: inline-block; font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 2px 9px; background: #eef1f6; color: #4a5568; }
.ps-badge.ok { background: #e8f5e9; color: var(--jx-green); }
.ps-badge.wait { background: #fff4d6; color: #a76b00; }
.ps-badge.ko { background: #fdecea; color: #c62828; }
.ps-stat { background: #fff; border: 1px solid var(--jx-line); border-radius: 10px; padding: 1rem 1.1rem; }
.ps-stat-num { display: block; font-size: 1.6rem; font-weight: 900; color: var(--jx-navy); line-height: 1.1; }
.ps-stat-lbl { font-size: 12px; color: var(--jx-muted); margin-top: 3px; }
.ps-bar { height: 8px; background: #edf2f7; border-radius: 6px; overflow: hidden; }
.ps-bar > span { display: block; height: 100%; background: var(--jx-yellow); border-radius: 6px; }
.ps-check { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f4f8; font-size: 13px; }
.ps-check:last-child { border-bottom: none; }
.ps-check-ico { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 900; }
.ps-check-ico.ok { background: #e8f5e9; color: var(--jx-green); }
.ps-check-ico.ko { background: #fdecea; color: #c62828; }
.ps-check a { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--jx-navy); text-decoration: none; }
.ps-level { border: 1px solid var(--jx-line); border-radius: 10px; padding: 1.1rem; background: #fff; position: relative; display: flex; flex-direction: column; }
.ps-level.current { border: 2px solid var(--jx-yellow); box-shadow: 0 6px 18px rgba(253,204,24,.15); }
.ps-level-name { font-size: 15px; font-weight: 900; margin-bottom: .2rem; }
.ps-level-price { font-size: 12px; color: var(--jx-muted); margin-bottom: .75rem; }
.ps-level ul { list-style: none; font-size: 12.5px; color: #2d3748; line-height: 1.5; flex: 1; }
.ps-level li { padding: 4px 0 4px 18px; position: relative; }
.ps-level li::before { content: '✓'; position: absolute; left: 0; color: var(--jx-green); font-weight: 900; }
.ps-level .btn-navy { margin-top: .9rem; justify-content: center; }
.ps-tag { position: absolute; top: -10px; right: 12px; background: var(--jx-yellow); color: var(--jx-navy); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 10px; }
.ps-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: .9rem; }
.ps-label { font-size: 12px; font-weight: 700; color: var(--jx-navy); }
.ps-label span { color: #e53935; }
.ps-input, .ps-select, .ps-textarea { width: 100%; padding: 9px 12px; border: 1px solid #d1d9e6; border-radius: 6px; font-size: 13px; color: var(--jx-navy); font-family: inherit; background: #fff; outline: none; }
.ps-input:focus, .ps-select:focus, .ps-textarea:focus { border-color: var(--jx-navy); box-shadow: 0 0 0 3px rgba(15,40,78,.07); }
.ps-textarea { min-height: 110px; resize: vertical; }
.ps-err { font-size: 12px; color: #c62828; }
.ps-check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #4a5568; margin-bottom: 1rem; }
.ps-doc { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f4f8; }
.ps-doc:last-child { border-bottom: none; }
.ps-doc-ico { width: 38px; height: 38px; border-radius: 8px; background: #f4f6fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-doc-ico svg { width: 18px; height: 18px; stroke: var(--jx-navy); fill: none; stroke-width: 2; }
.ps-doc-title { font-size: 13.5px; font-weight: 700; color: var(--jx-navy); }
.ps-doc .btn-navy { margin-left: auto; padding: 7px 12px; font-size: 12px; }
.ps-media { border-radius: 10px; overflow: hidden; background: var(--jx-navy); color: #fff; display: flex; flex-direction: column; text-decoration: none; }
.ps-media-thumb { aspect-ratio: 16/10; background: #1b3a66 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.ps-media-thumb svg { width: 30px; height: 30px; stroke: rgba(255,255,255,.4); fill: none; stroke-width: 1.5; }
.ps-media-body { padding: .7rem .85rem; font-size: 12.5px; font-weight: 700; }
.ps-media-body small { display: block; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 2px; }
.ps-zone { border: 1px dashed #cbd5e0; border-radius: 10px; padding: 1rem; background: #fbfcfe; }
.ps-zone strong { display: block; color: var(--jx-navy); font-size: 13.5px; margin-bottom: .3rem; }
.ps-badge-card { border: 1px solid var(--jx-line); border-radius: 10px; padding: 1rem; display: flex; gap: 12px; align-items: center; background: #fff; }
.ps-badge-card img { width: 74px; height: 74px; border-radius: 6px; border: 1px solid var(--jx-line); }
.ps-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 1100px) { .ps-grid-4 { grid-template-columns: repeat(2, 1fr); } .ps-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .ps-grid-2, .ps-grid-3, .ps-grid-4 { grid-template-columns: 1fr; } .ps-dl { grid-template-columns: 1fr; } }
.ps-actions .btn-navy, .ps-empty .btn-navy, .ps-doc .btn-navy, .ps-badge-card .btn-navy { width: auto; display: inline-flex; padding-left: 16px; padding-right: 16px; }
