/* ═══════════════════════════════════════════════════════════
   KYMA — espace-membre.css
   Design : bleu nuit premium, sidebar épurée
═══════════════════════════════════════════════════════════ */

:root {
  --em-bg:        #f4f7fd;
  --em-surface:   #ffffff;
  --em-sidebar:   #0D2757;
  --em-sidebar2:  #091d42;
  --em-blue:      #1A56DB;
  --em-sky:       #60A5FA;
  --em-pale:      #EBF2FF;
  --em-text:      #0D2757;
  --em-soft:      #4a6fa5;
  --em-muted:     #8faed4;
  --em-border:    rgba(26,86,219,0.1);
  --em-radius:    12px;
  --em-sidebar-w: 240px;
  --font-title:   'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.em-body { font-family: var(--font-body); background: var(--em-bg); min-height: 100vh; }

/* ─────────────────────────────────────
   LOGIN
───────────────────────────────────── */
.em-login-page {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 100vh;
}

.em-login-card {
  background: var(--em-surface);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.em-login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--em-soft);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 40px;
  align-self: flex-start;
}
.em-login-back:hover { color: var(--em-blue); }
.em-login-back svg { width: 16px; height: 16px; }

.em-login-logo {
  width: 48px; height: 48px;
  margin-bottom: 24px;
}
.em-login-logo img { width: 100%; height: 100%; object-fit: contain; }

.em-login-card h1 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--em-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.em-login-sub {
  font-size: 0.9rem;
  color: var(--em-soft);
  margin-bottom: 36px;
  line-height: 1.55;
}

.em-login-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.em-field { display: flex; flex-direction: column; gap: 6px; }
.em-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--em-text);
  letter-spacing: 0.04em;
}
.em-field input,
.em-field textarea,
.em-field select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 14px;
  border: 1.5px solid var(--em-border);
  border-radius: 8px;
  background: var(--em-surface);
  color: var(--em-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.em-field input:focus,
.em-field textarea:focus,
.em-field select:focus {
  border-color: var(--em-blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.08);
}
.em-field textarea { resize: vertical; min-height: 100px; }

.em-login-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: var(--em-blue);
  color: white;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}
.em-login-btn:hover { background: #1344b5; box-shadow: 0 6px 20px rgba(26,86,219,0.3); }

.em-login-note {
  font-size: 0.75rem;
  color: var(--em-muted);
  text-align: center;
  line-height: 1.5;
}
.em-login-cta {
  font-size: 0.85rem;
  color: var(--em-blue);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
  transition: color 0.2s;
}
.em-login-cta:hover { color: var(--em-text); }

/* Visuel login (droite) */
.em-login-visual {
  background: var(--em-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.em-login-visual::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(96,165,250,0.06);
  pointer-events: none;
}

.em-login-visual-content { position: relative; z-index: 1; max-width: 380px; }

.em-lv-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-sky);
  border: 1px solid rgba(96,165,250,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.em-login-visual-content h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.em-lv-list { display: flex; flex-direction: column; gap: 14px; }
.em-lv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.em-lv-list svg { width: 16px; height: 16px; color: var(--em-sky); flex-shrink: 0; }

/* ─────────────────────────────────────
   DASHBOARD LAYOUT
───────────────────────────────────── */
.em-dashboard {
  display: grid;
  grid-template-columns: var(--em-sidebar-w) 1fr;
  min-height: 100vh;
}

/* Sidebar */
.em-sidebar {
  background: var(--em-sidebar);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.em-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.em-sidebar-brand span {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
}
.em-sidebar-logo { width: 32px; height: 32px; object-fit: contain; }

.em-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.em-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.em-nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.em-nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.em-nav-item.active {
  background: rgba(96,165,250,0.15);
  color: white;
}

.em-sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.em-member-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.em-member-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(96,165,250,0.2);
  color: var(--em-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: opacity 0.15s;
}
.em-member-avatar:hover { opacity: 0.85; }
.em-member-name { font-size: 0.82rem; font-weight: 600; color: white; }
.em-member-status { font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-top: 1px; }

.em-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.em-logout:hover { background: rgba(255,0,0,0.08); color: #f87171; }
.em-logout svg { width: 14px; height: 14px; }

/* Main */
.em-main {
  padding: 40px 48px;
  max-width: 900px;
}

.em-tab { display: none; }
.em-tab.active { display: block; }

.em-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.em-tab-header h1 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--em-text);
}
.em-member-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--em-soft);
  background: var(--em-pale);
  padding: 5px 14px;
  border-radius: 100px;
}

.em-section { margin-bottom: 40px; }
.em-section-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--em-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--em-border);
}
.em-section-sub {
  font-size: 0.875rem;
  color: var(--em-soft);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 640px;
}

/* ─────────────────────────────────────
   PROFIL — IMPACT
───────────────────────────────────── */
.em-impact-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}

.em-impact-main {
  background: var(--em-sidebar);
  border-radius: var(--em-radius);
  padding: 24px 20px;
  text-align: center;
}
.em-impact-amount {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--em-sky);
  line-height: 1;
}
.em-impact-amount span { font-size: 1.3rem; color: rgba(255,255,255,0.5); }
.em-impact-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 6px; }
.em-impact-detail { font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 4px; }

.em-impact-example {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 20px;
}
.em-impact-ex-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--em-soft);
  margin-bottom: 14px;
}
.em-impact-ex-list { display: flex; flex-direction: column; gap: 12px; }
.em-impact-ex-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
}
.em-impact-ex-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: -1px; }
.em-impact-ex-item strong { display: block; color: var(--em-text); font-size: 0.875rem; }
.em-impact-ex-item span { color: var(--em-soft); font-size: 0.78rem; }

/* ─────────────────────────────────────
   HISTORIQUE INITIATIVES
───────────────────────────────────── */
.em-hist-list { display: flex; flex-direction: column; gap: 10px; }
.em-hist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 14px 18px;
}
.em-hist-icon {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}
.em-hist-accepted { background: rgba(34,197,94,0.1); color: #16a34a; }
.em-hist-pending  { background: rgba(26,86,219,0.1); color: var(--em-blue); font-size: 1.1rem; }
.em-hist-vote     { background: rgba(239,68,68,0.08); color: #ef4444; }
.em-hist-rejected { background: rgba(239,68,68,0.08); color: #ef4444; }

.em-hist-name { font-size: 0.875rem; font-weight: 600; color: var(--em-text); }
.em-hist-meta { font-size: 0.75rem; color: var(--em-soft); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.em-hist-votes { font-family: var(--font-title); font-size: 1rem; font-weight: 700; color: var(--em-soft); margin-left: auto; white-space: nowrap; flex-shrink: 0; }

.em-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px; font-family: var(--font-body);
}
.em-badge-green { background: rgba(34,197,94,0.1); color: #16a34a; }
.em-badge-blue  { background: rgba(26,86,219,0.1); color: var(--em-blue); }
.em-badge-red   { background: rgba(239,68,68,0.08); color: #ef4444; }

/* ─────────────────────────────────────
   INITIATIVES LIST
───────────────────────────────────── */
.em-init-list { display: flex; flex-direction: column; gap: 14px; }

.em-init-card {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  transition: box-shadow 0.2s;
}
.em-init-card:hover { box-shadow: 0 4px 16px rgba(26,86,219,0.07); }

.em-init-img {
  width: 60px; height: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--em-pale);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--em-soft);
  font-size: 1.5rem;
}
.em-init-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.em-init-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--em-text);
  margin-bottom: 4px;
}
.em-init-desc { font-size: 0.82rem; color: var(--em-soft); line-height: 1.5; }
.em-init-author { font-size: 0.72rem; color: var(--em-muted); margin-top: 6px; }

.em-init-vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
.em-vote-count {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--em-text);
  line-height: 1;
}
.em-vote-label { font-size: 0.68rem; color: var(--em-soft); }

.em-vote-bar-wrap {
  width: 100%;
  background: var(--em-pale);
  border-radius: 4px;
  height: 4px;
  overflow: hidden;
}
.em-vote-bar {
  height: 100%;
  background: var(--em-blue);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.em-vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--em-border);
  background: var(--em-surface);
  color: var(--em-blue);
  cursor: pointer;
  transition: all 0.2s;
}
.em-vote-btn:hover { background: var(--em-pale); border-color: var(--em-blue); }
.em-vote-btn.voted { background: var(--em-blue); color: white; border-color: var(--em-blue); }
.em-vote-btn svg { width: 13px; height: 13px; }

/* ─────────────────────────────────────
   DOCUMENTS
───────────────────────────────────── */
.em-doc-list { display: flex; flex-direction: column; gap: 8px; }
.em-doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 14px 18px;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.em-doc-item:not(.em-doc-soon):hover { box-shadow: 0 4px 14px rgba(26,86,219,0.08); border-color: rgba(26,86,219,0.2); }

.em-doc-icon { width: 36px; height: 36px; background: var(--em-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--em-blue); flex-shrink: 0; }
.em-doc-icon svg { width: 18px; height: 18px; }
.em-doc-name { font-size: 0.875rem; font-weight: 600; color: var(--em-text); }
.em-doc-date { font-size: 0.75rem; color: var(--em-soft); margin-top: 2px; }
.em-doc-dl { margin-left: auto; color: var(--em-soft); flex-shrink: 0; }
.em-doc-dl svg { width: 18px; height: 18px; }
.em-doc-soon { opacity: 0.6; cursor: default; }
.em-doc-badge {
  margin-left: auto;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--em-pale); color: var(--em-soft);
  padding: 3px 10px; border-radius: 100px;
}

/* ─────────────────────────────────────
   AVANTAGES PARTENAIRES
───────────────────────────────────── */
.em-partner-cards { display: flex; flex-direction: column; gap: 16px; }

.em-partner-card {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  overflow: hidden;
}
.em-partner-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--em-border);
}
.em-partner-logo-wrap {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--em-pale);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.em-partner-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }


.em-partner-card-head h3 { font-size: 0.95rem; font-weight: 700; color: var(--em-text); }
.em-partner-card-head p { font-size: 0.78rem; color: var(--em-soft); }
.em-partner-link { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--em-blue); text-decoration: none; flex-shrink: 0; }

.em-partner-avantages {
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.em-partner-avantages li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--em-soft);
}
.em-partner-avantages li div { display: flex; flex-direction: column; gap: 3px; }
.em-partner-avantages li strong { font-size: 0.875rem; color: var(--em-text); font-weight: 600; }
.em-partner-avantages li span { font-size: 0.78rem; color: var(--em-muted); line-height: 1.5; }
.em-partner-avantages svg { width: 15px; height: 15px; color: var(--em-blue); flex-shrink: 0; margin-top: 3px; }
.em-partner-cta-note {
  margin: 0 20px 16px;
  padding: 10px 14px;
  background: rgba(96,165,250,0.08);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--em-soft);
  border: 1px solid rgba(96,165,250,0.15);
}
.em-partner-cta-note strong { color: var(--em-sky); }
/* Fix Makorya logo in partner card */
.em-partner-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* ─────────────────────────────────────
   MODAL INITIATIVE
───────────────────────────────────── */
.em-modal {
  position: fixed;
  inset: 0;
  background: rgba(9,29,66,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.em-modal-box {
  background: var(--em-surface);
  border-radius: 18px;
  padding: 32px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(9,29,66,0.3);
}
.em-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.em-modal-header h2 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 800; color: var(--em-text); }
.em-modal-close { border: none; background: transparent; cursor: pointer; color: var(--em-soft); padding: 6px; border-radius: 6px; transition: background 0.15s; }
.em-modal-close:hover { background: var(--em-pale); }
.em-modal-close svg { width: 20px; height: 20px; }

.em-modal-form { display: flex; flex-direction: column; gap: 16px; }

.req { color: var(--em-blue); }

.em-file-drop {
  border: 1.5px dashed rgba(26,86,219,0.25);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: var(--em-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.em-file-drop:hover { border-color: var(--em-blue); background: var(--em-pale); }
.em-file-drop svg { width: 20px; height: 20px; flex-shrink: 0; }
.em-file-label { color: var(--em-blue); font-weight: 600; cursor: pointer; }

.em-img-preview img { max-height: 120px; border-radius: 8px; }

.em-modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 4px; }

/* Buttons */
.em-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--em-blue);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.em-btn-primary:hover { background: #1344b5; box-shadow: 0 4px 14px rgba(26,86,219,0.3); }
.em-btn-primary svg { width: 16px; height: 16px; }

.em-btn-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  background: transparent;
  color: var(--em-soft);
  border: 1.5px solid var(--em-border);
  cursor: pointer;
  transition: background 0.2s;
}
.em-btn-secondary:hover { background: var(--em-pale); }

/* ─────────────────────────────────────
   NAV LOGIN BUTTON
───────────────────────────────────── */
.nav-login {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-weight: 600 !important;
  border: 1.5px solid rgba(26,86,219,0.25) !important;
  border-radius: 6px;
  padding: 5px 12px !important;
  color: var(--blue, #1A56DB) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-login svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-login:hover { background: var(--blue-pale, #EBF2FF) !important; border-color: var(--blue, #1A56DB) !important; }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 900px) {
  .em-login-page { grid-template-columns: 1fr; }
  .em-login-visual { display: none; }
  .em-login-card { padding: 32px 24px; }
  .em-dashboard { grid-template-columns: 1fr; }
  .em-sidebar { display: none; }
  .em-main { padding: 24px 16px; }
  .em-impact-grid { grid-template-columns: 1fr; }
  .em-init-card { grid-template-columns: 1fr; }
}

/* ── SIMULATEUR D'IMPACT ────────────────── */
.em-impact-sim {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.em-impact-input-wrap {
  background: var(--em-sidebar);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.em-impact-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.em-impact-input {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--em-sky);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  outline: none;
  width: 140px;
  padding: 4px 0;
  transition: border-color 0.2s;
}
.em-impact-input:focus { border-color: var(--em-sky); }
.em-impact-chf {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.em-impact-slider {
  width: 100%;
  accent-color: var(--em-sky);
  cursor: pointer;
}

.em-impact-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.em-preset {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.15s;
}
.em-preset:hover, .em-preset.active {
  background: rgba(96,165,250,0.2);
  border-color: var(--em-sky);
  color: white;
}

.em-impact-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.em-impact-item {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.em-impact-item-icon { font-size: 1.6rem; flex-shrink: 0; }
.em-impact-item-body strong { display: block; font-size: 0.875rem; color: var(--em-text); }
.em-impact-item-body span { font-size: 0.78rem; color: var(--em-soft); }
.em-impact-item-qty {
  margin-left: auto;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--em-blue);
  white-space: nowrap;
  flex-shrink: 0;
}
.em-impact-empty {
  text-align: center;
  padding: 32px;
  color: var(--em-muted);
  font-size: 0.875rem;
}

@media (max-width: 700px) {
  .em-impact-sim { grid-template-columns: 1fr; }
}

/* ── CARTE MEMBRE ─────────────────────── */
.em-member-card {
  background: linear-gradient(135deg, var(--em-blue) 0%, #1344b5 100%);
  border-radius: 16px;
  padding: 28px;
  color: white;
  box-shadow: 0 8px 32px rgba(26,86,219,0.25);
  max-width: 480px;
}
.em-mc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
/* Avatar cliquable dans la carte membre */
.em-mc-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, transform 0.2s;
}
.em-mc-avatar-wrap:hover {
  border-color: rgba(255,255,255,0.7);
  transform: scale(1.05);
}
.em-mc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.em-mc-avatar-edit {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.em-mc-avatar-edit svg {
  width: 14px;
  height: 14px;
  stroke: white;
}
.em-mc-avatar-wrap:hover .em-mc-avatar-edit { opacity: 1; }
.em-mc-assoc {
  flex: 1;
}
.em-mc-assoc-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.em-mc-assoc-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.em-mc-year {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.em-mc-body {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.em-mc-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 5px;
}
.em-mc-fullname {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.em-mc-num {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.em-mc-type {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.em-mc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.em-mc-valid {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}
.em-mc-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.em-mc-copy:hover { background: rgba(255,255,255,0.22); }
.em-mc-copy svg { width: 13px; height: 13px; }

@media (max-width: 540px) {
  .em-mc-body { grid-template-columns: 1fr 1fr; }
  .em-mc-type-wrap { display: none; }
}

/* ── AVATAR CURSOR ─────────────────────── */
.em-member-avatar {
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  position: relative;
}
.em-member-avatar:hover { opacity: 0.8; transform: scale(1.08); }


/* ── AVATAR MODAL ──────────────────────── */
.em-avatar-modal-box {
  max-width: 440px !important;
}
.em-avatar-modal-sub {
  font-size: 0.82rem;
  color: var(--em-soft);
  margin: -8px 0 20px;
  line-height: 1.5;
}
.em-avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.em-avatar-option {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--em-border);
  background: var(--em-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.em-avatar-option:hover { border-color: var(--em-sky); transform: scale(1.04); }
.em-avatar-option.selected {
  border-color: var(--em-blue);
  box-shadow: 0 0 0 4px rgba(96,165,250,0.3);
}
.em-avatar-option.selected::after {
  content: '✓';
  position: absolute;
  bottom: 6px; right: 6px;
  font-size: 0.7rem;
  background: var(--em-blue);
  color: white;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.em-avatar-option img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.em-avatar-option-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 4px 5px;
  border-radius: 0 0 50% 50%;
  letter-spacing: 0.03em;
}
.em-avatar-option.locked { opacity: 0.35; cursor: not-allowed; }
.em-avatar-option.locked:hover { transform: none; border-color: var(--em-border); }
.em-avatar-locked-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.5rem;
  text-align: center;
  padding: 2px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.em-avatar-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--em-border);
  padding-top: 16px;
}
.em-btn-ghost {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--em-border);
  background: transparent;
  color: var(--em-soft);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.em-btn-ghost:hover { background: var(--em-pale); }

/* Avatar : crayon permanent petit en bas à droite */
.em-member-avatar::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--em-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E");
  background-size: 8px 8px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1.5px solid var(--em-bg);
  pointer-events: none;
}
.em-member-avatar.has-avatar {
  border-radius: 50% !important;
  overflow: hidden;
}
.em-member-avatar.has-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ═══════════════════════════════════════
   MES DEMANDES D'AIDE
═══════════════════════════════════════ */
.em-demandes-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(96,165,250,0.08);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: var(--em-radius);
  padding: 14px 16px;
  margin-bottom: 28px;
  color: var(--em-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}
.em-demandes-info svg {
  width: 18px; height: 18px;
  color: var(--em-sky);
  flex-shrink: 0;
  margin-top: 1px;
}
.em-demandes-info p { margin: 0; }
.em-demandes-info strong { color: var(--em-text); }

.em-demandes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.em-demande-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 16px 18px;
  transition: border-color 0.15s;
}
.em-demande-item:hover { border-color: rgba(96,165,250,0.3); }

.em-demande-status {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-demande-status svg { width: 16px; height: 16px; }
.em-demande-ok   { background: rgba(34,197,94,0.12); color: #22c55e; }
.em-demande-pending { background: rgba(96,165,250,0.12); color: var(--em-sky); }
.em-demande-refused { background: rgba(239,68,68,0.1); color: #ef4444; }

.em-demande-body { flex: 1; min-width: 0; }
.em-demande-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--em-text);
  margin-bottom: 6px;
}
.em-demande-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--em-muted);
  margin-bottom: 8px;
}
.em-demande-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
}
.em-demande-badge-green  { background: rgba(34,197,94,0.12);  color: #16a34a; }
.em-demande-badge-blue   { background: rgba(96,165,250,0.15); color: var(--em-sky); }
.em-demande-badge-red    { background: rgba(239,68,68,0.1);   color: #dc2626; }

.em-demande-detail {
  font-size: 0.82rem;
  color: var(--em-soft);
  line-height: 1.5;
}
.em-demande-detail strong { color: var(--em-text); }
.em-demande-refused-reason { color: var(--em-muted); font-style: italic; }

/* CTA nouvelle demande */
.em-demandes-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.em-demandes-cta h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--em-text);
  margin-bottom: 4px;
}
.em-demandes-cta p {
  font-size: 0.82rem;
  color: var(--em-soft);
  margin: 0;
  line-height: 1.5;
}
.em-btn-disabled {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--em-pale);
  color: var(--em-muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: not-allowed;
  border: 1px solid var(--em-border);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .em-demande-item { flex-direction: column; }
  .em-demandes-cta { flex-direction: column; align-items: flex-start; }
}

/* ── BANNIÈRE KYMA CLUB (onglet Avantages) ─────────────── */
.em-kyma-club-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--em-blue) 0%, #1344b5 100%);
  border-radius: var(--em-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.em-kyma-club-banner-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.em-kyma-club-banner-icon svg { width: 18px; height: 18px; }
.em-kyma-club-banner-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.em-kyma-club-banner-body strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
}
.em-kyma-club-banner-body span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.em-kyma-club-banner-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.em-kyma-club-banner-link:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 560px) {
  .em-kyma-club-banner { flex-wrap: wrap; }
  .em-kyma-club-banner-link { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   TAB : KYMA CLUB
═══════════════════════════════════════════════════════════ */

/* Résumé K-Points */
.em-club-summary {
  background: linear-gradient(135deg, var(--em-blue) 0%, #1344b5 100%);
  border-radius: var(--em-radius);
  padding: 28px;
  color: white;
}
.em-club-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.em-club-summary-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.em-club-summary-pts {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.em-club-summary-pts-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.em-club-summary-top .em-badge { background: rgba(255,255,255,0.15); color: white; flex-shrink: 0; }

.em-club-progress-wrap { max-width: 440px; }
.em-club-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.em-club-progress-track {
  height: 7px;
  background: rgba(255,255,255,0.18);
  border-radius: 100px;
  overflow: hidden;
}
.em-club-progress-fill {
  height: 100%;
  width: 0%;
  background: white;
  border-radius: 100px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.em-club-progress-goal { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 10px; }

/* Mini stats */
.em-club-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.em-club-mini-card {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 16px 18px;
}
.em-club-mini-wide { grid-column: 1 / -1; }
.em-club-mini-label { font-size: 0.72rem; color: var(--em-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 6px; }
.em-club-mini-val { font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: var(--em-blue); }
.em-club-mini-val-sm { font-size: 1.05rem; color: var(--em-text); }
.em-club-mini-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.em-club-mini-sub { font-size: 0.8rem; color: var(--em-soft); }
.em-club-mini-sub strong { color: var(--em-blue); font-weight: 700; }

@media (max-width: 700px) {
  .em-club-mini-grid { grid-template-columns: 1fr 1fr; }
}

/* Récompenses */
.em-club-rewards { display: flex; flex-direction: column; gap: 10px; }
.em-club-reward-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 14px 18px;
}
.em-club-reward-item.is-unlocked { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.04); }
.em-club-reward-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--em-pale);
  color: var(--em-blue);
}
.em-club-reward-item.is-unlocked .em-club-reward-icon { background: rgba(34,197,94,0.15); color: #16a34a; }
.em-club-reward-body { flex: 1; min-width: 0; }
.em-club-reward-pts { font-size: 0.78rem; font-weight: 700; color: var(--em-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.em-club-reward-name { font-size: 0.92rem; font-weight: 600; color: var(--em-text); margin-top: 2px; }
.em-club-reward-note { font-size: 0.78rem; color: var(--em-muted); margin-top: 2px; }
.em-club-reward-item.is-unlocked .em-club-reward-note { color: #16a34a; font-weight: 600; }

/* Layout deux colonnes */
.em-club-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.em-club-main { display: flex; flex-direction: column; gap: 24px; }
.em-club-side { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 900px) {
  .em-club-grid { grid-template-columns: 1fr; }
}

/* Cartes formulaire */
.em-club-card {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 22px 24px;
}
.em-club-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.em-club-card-head h3 { font-size: 1rem; font-weight: 700; color: var(--em-text); }
.em-club-card-note { font-size: 0.8rem; color: var(--em-soft); margin-bottom: 16px; line-height: 1.5; }
.em-club-kpill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34,197,94,0.1);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.em-club-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 560px) { .em-club-form-grid { grid-template-columns: 1fr; } }
.em-field-optional { font-weight: 400; color: var(--em-muted); text-transform: none; letter-spacing: 0; }
.em-club-card > .em-field { margin-bottom: 16px; }
.em-club-form-result {
  display: none;
  font-size: 0.8rem;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}
.em-club-form-result.show { display: block; }
.em-club-form-result.ok { background: rgba(34,197,94,0.1); color: #16a34a; }
.em-club-form-result.error { background: rgba(239,68,68,0.08); color: #dc2626; }

.em-club-soutien-form { display: none; flex-direction: column; }
.em-club-soutien-form.show { display: flex; }
.em-club-locked-msg {
  font-size: 0.82rem;
  color: var(--em-muted);
  background: var(--em-pale);
  padding: 12px 16px;
  border-radius: 8px;
}

/* Mes demandes / historique */
.em-club-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.em-club-requests { display: flex; flex-direction: column; gap: 10px; }
.em-club-request-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 14px 18px;
}
.em-club-request-body { flex: 1; min-width: 0; }
.em-club-request-title { font-size: 0.88rem; font-weight: 600; color: var(--em-text); margin-bottom: 4px; }
.em-club-request-meta { font-size: 0.76rem; color: var(--em-muted); }
.em-club-empty { font-size: 0.85rem; color: var(--em-muted); text-align: center; padding: 24px; background: var(--em-surface); border: 1px dashed var(--em-border); border-radius: var(--em-radius); }

.em-club-table-wrap {
  background: var(--em-surface);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  overflow: hidden;
  overflow-x: auto;
}
.em-club-table { width: 100%; border-collapse: collapse; min-width: 440px; }
.em-club-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--em-muted);
  padding: 12px 18px;
  background: var(--em-bg);
  border-bottom: 1px solid var(--em-border);
}
.em-club-table td {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--em-text);
  border-bottom: 1px solid var(--em-border);
}
.em-club-table tr:last-child td { border-bottom: none; }
.em-club-pts-pos { color: #16a34a; font-weight: 700; }

/* Sidebar */
.em-club-referral-code {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--em-blue);
  letter-spacing: 0.08em;
}
.em-club-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.em-club-rules li {
  font-size: 0.78rem;
  color: var(--em-soft);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.em-club-rules li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--em-blue);
  font-weight: 700;
}

/* ── Renvoi vers la boutique dédiée ─────────────────────── */
.em-club-boutique-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--em-blue) 0%, #1344b5 100%);
  border-radius: var(--em-radius);
  padding: 22px 26px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.em-club-boutique-cta-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.em-club-boutique-cta-icon svg { width: 24px; height: 24px; }
.em-club-boutique-cta-body { flex: 1; min-width: 200px; }
.em-club-boutique-cta-body h3 { color: white; font-size: 1.05rem; margin-bottom: 4px; }
.em-club-boutique-cta-body p { color: rgba(255,255,255,0.7); font-size: 0.83rem; line-height: 1.5; margin: 0; }
.em-club-boutique-cta .em-btn-primary {
  background: white;
  color: var(--em-blue);
  flex-shrink: 0;
}
.em-club-boutique-cta .em-btn-primary:hover { background: rgba(255,255,255,0.9); box-shadow: none; }

/* ── Lien Administration (visible uniquement pour les admins) ── */
.em-nav-item-admin {
  text-decoration: none;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  color: #fbbf24;
}
.em-nav-item-admin:hover { background: rgba(251,191,36,0.1); color: #fbbf24; }

/* ── Bandeau de statut de compte (préparé pour la future connexion) */
.em-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #92400e;
}
.em-status-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.em-status-banner strong { font-size: 0.88rem; }
.em-status-banner span { font-size: 0.85rem; line-height: 1.5; display: block; margin-top: 2px; opacity: 0.9; }
