/* ================================================================
   MÊMES CHANCES JEUNES CI — Mobile Design System
   Version: 1.0 Mobile
   Viewport cible : 375px (iPhone SE) → 430px (iPhone Pro Max)
   Stack : PWA HTML/CSS/JS → Flutter / React Native
   ================================================================ */

/* ── 1. DESIGN TOKENS ── */
:root {
  --mc-green:        #1E7D4B;
  --mc-green-mid:    #2A9D5C;
  --mc-green-light:  #E8F5EE;
  --mc-orange:       #F47920;
  --mc-orange-light: #FEF3EB;
  --mc-blue:         #1A3C5E;
  --mc-blue-light:   #E8EFF6;
  --mc-cream:        #F9F7F2;
  --mc-red:          #DC2626;
  --mc-red-light:    #FEE2E2;
  --mc-muted:        #6B7280;
  --mc-border:       rgba(0, 0, 0, 0.09);
  --mc-white:        #FFFFFF;
  --mc-text:         #1A1A1A;

  --font:     'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --r-sm:     8px;
  --r-md:     12px;
  --r-lg:     16px;
  --r-xl:     20px;
  --r-full:   9999px;

  --bottom-nav-height: 60px;
  --status-bar-height: 44px;
  --home-indicator-height: 24px;
  --safe-bottom: calc(var(--bottom-nav-height) + var(--home-indicator-height));
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: var(--mc-cream);
  color: var(--mc-text);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior: none;
}

button, input, select, textarea {
  font-family: var(--font);
  font-size: 16px;
}

button { cursor: pointer; border: none; background: none; }
input, select { outline: none; }

img { max-width: 100%; }

/* ── 3. APP ROOT ── */
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--mc-white);
  position: relative;
  overflow: hidden;
}

/* ── 4. STATUS BAR ── */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 6px;
  background: var(--mc-white);
  flex-shrink: 0;
  height: var(--status-bar-height);
}

.status-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--mc-text);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons i {
  font-size: 14px;
  color: var(--mc-text);
}

/* ── 5. SCREEN CONTAINER ── */
.screen-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  background: var(--mc-cream);
}

.screen-container::-webkit-scrollbar { display: none; }

/* ── 6. SCREENS ── */
.screen { display: none; }
.screen.active { display: block; }

.page-pad {
  padding: 0 16px calc(var(--safe-bottom) + 16px);
}

/* ── 7. BOTTOM NAVIGATION ── */
.bottom-nav {
  display: flex;
  align-items: center;
  background: var(--mc-white);
  border-top: 0.5px solid var(--mc-border);
  height: var(--bottom-nav-height);
  flex-shrink: 0;
  padding: 0 8px;
}

.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s;
}

.bn-item:active { opacity: 0.7; }

.bn-icon {
  font-size: 22px;
  color: var(--mc-muted);
  transition: color 0.15s;
}

.bn-lbl {
  font-size: 10px;
  color: var(--mc-muted);
  transition: color 0.15s;
}

.bn-item.active .bn-icon,
.bn-item.active .bn-lbl {
  color: var(--mc-green);
  font-weight: 500;
}

.bn-badge {
  position: absolute;
  top: 2px;
  right: 20%;
  background: var(--mc-orange);
  color: white;
  font-size: 9px;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bn-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bn-fab {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--mc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  border: 3px solid var(--mc-white);
  cursor: pointer;
  transition: background 0.15s;
}

.bn-fab:active { background: var(--mc-green-mid); }
.bn-fab i { font-size: 22px; color: white; }

/* ── 8. HOME INDICATOR ── */
.home-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--home-indicator-height);
  background: var(--mc-white);
  flex-shrink: 0;
}

.home-bar {
  width: 120px; height: 4px;
  background: #d1d5db;
  border-radius: var(--r-full);
}

/* ── 9. SPLASH SCREEN ── */
.splash-bg {
  background: var(--mc-blue);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
}

.splash-logo {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--mc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 20px;
}

.splash-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 8px;
}

.splash-slogan {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 4px;
}

.splash-ministry {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 36px;
}

.splash-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mc-orange);
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--r-md);
  margin-bottom: 16px;
  transition: opacity 0.15s;
}

.splash-cta:active { opacity: 0.85; }

.splash-login {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.splash-login span {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  cursor: pointer;
}

/* ── 10. ONBOARDING ── */
.onb-center { text-align: center; padding: 16px 0; }

.onb-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--mc-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--mc-green);
  margin: 0 auto 14px;
}

.onb-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--mc-blue);
  margin-bottom: 8px;
}

.onb-sub {
  font-size: 14px;
  color: var(--mc-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-lbl {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mc-muted);
  margin-bottom: 6px;
}

.form-lbl-hint { font-weight: 400; font-size: 12px; }

.form-inp,
.form-sel {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  background: var(--mc-cream);
  color: var(--mc-text);
  margin-bottom: 12px;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-inp:focus,
.form-sel:focus { border-color: var(--mc-green); }

.int-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.int-tog {
  padding: 10px 8px;
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  color: var(--mc-muted);
  transition: all 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.int-tog i {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.int-tog.selected {
  background: var(--mc-green-light);
  border-color: var(--mc-green);
  color: var(--mc-green);
  font-weight: 600;
}

.btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--mc-green);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  margin-bottom: 8px;
  transition: background 0.15s;
  min-height: 52px;
}

.btn-main:active { background: var(--mc-green-mid); }

.btn-sec {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  background: transparent;
  color: var(--mc-muted);
  font-size: 14px;
  border-radius: var(--r-md);
  border: 0.5px solid var(--mc-border);
  min-height: 52px;
}

/* ── 11. TOP BAR ── */
.top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 10px;
}

.top-bar-greeting {
  font-size: 12px;
  color: var(--mc-muted);
  line-height: 1;
  margin-bottom: 2px;
}

.top-bar-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--mc-text);
  flex: 1;
  line-height: 1.2;
}

.top-icon {
  font-size: 22px;
  color: var(--mc-muted);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mc-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--mc-green);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── 12. SEARCH BOX ── */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--mc-muted);
  cursor: pointer;
  min-height: 48px;
}

.search-box i { font-size: 16px; }

/* ── 13. HERO BANNER ── */
.hero {
  background: var(--mc-blue);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 110px; height: 110px;
  background: var(--mc-green);
  border-radius: 50%;
  opacity: 0.15;
}

.hero-eyebrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hero-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mc-orange);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: opacity 0.15s;
  min-height: 44px;
}

.hero-btn:active { opacity: 0.85; }

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.hero-stat-n {
  font-size: 20px;
  font-weight: 600;
  color: var(--mc-orange);
}

.hero-stat-l {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1px;
}

/* ── 14. SECTION HEADERS ── */
.sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--mc-text);
}

.sec-link {
  font-size: 12px;
  color: var(--mc-green);
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  min-height: 44px;
  align-items: center;
}

.sec-link i { font-size: 12px; }

/* ── 15. CATEGORY GRID (2 col max) ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.cat-card {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cat-card:active {
  background: var(--mc-green-light);
  border-color: var(--mc-green);
}

.cat-card i {
  font-size: 24px;
  color: var(--mc-green);
  display: block;
  margin-bottom: 6px;
}

.cat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--mc-text);
  line-height: 1.3;
}

/* ── 16. PROGRAMME CARDS ── */
.prog-card {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.prog-card:active { border-color: var(--mc-green); }

.pc-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.pc-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.pci-g { background: var(--mc-green-light);  color: var(--mc-green);  }
.pci-o { background: var(--mc-orange-light); color: var(--mc-orange); }
.pci-b { background: var(--mc-blue-light);   color: var(--mc-blue);   }

.pc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mc-text);
  line-height: 1.35;
  margin-bottom: 2px;
}

.pc-org {
  font-size: 11px;
  color: var(--mc-muted);
}

.pc-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-weight: 500;
}

.tg { background: var(--mc-green-light);  color: var(--mc-green-mid); }
.to { background: var(--mc-orange-light); color: #b05a0a;             }
.tb { background: var(--mc-blue-light);   color: var(--mc-blue);      }
.tr { background: var(--mc-red-light);    color: var(--mc-red);       }

.pc-dl {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--mc-muted);
}

.pc-dl i { font-size: 12px; }
.pc-dl.urgent, .urgent { color: var(--mc-red); }

/* ── 17. FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 0.5px solid var(--mc-border);
  background: var(--mc-white);
  color: var(--mc-muted);
  cursor: pointer;
  white-space: nowrap;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.chip.active {
  background: var(--mc-green-light);
  border-color: var(--mc-green);
  color: var(--mc-green);
  font-weight: 600;
}

.chip-badge {
  background: var(--mc-orange);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: var(--r-full);
}

/* ── 18. STAT GRID (2 col) ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.stat-card {
  background: var(--mc-cream);
  border-radius: var(--r-sm);
  padding: 12px;
  text-align: center;
}

.stat-n {
  font-size: 22px;
  font-weight: 600;
  color: var(--mc-text);
}

.stat-l {
  font-size: 11px;
  color: var(--mc-muted);
  margin-top: 2px;
}

/* ── 19. PARCOURS GUIDÉS ── */
.parc-card {
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
  min-height: 72px;
}

.parc-card:active { opacity: 0.9; }
.parc-card.blue   { background: var(--mc-blue);   }
.parc-card.orange { background: var(--mc-orange); }
.parc-card.green  { background: var(--mc-green);  }

.parc-emoji { font-size: 28px; flex-shrink: 0; }

.parc-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.parc-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

.parc-arrow {
  margin-left: auto;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.badge-new {
  background: var(--mc-orange);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--r-full);
  vertical-align: middle;
  margin-left: 4px;
}

/* ── 20. DETAIL PROGRAMME ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mc-muted);
  cursor: pointer;
  padding: 14px 0 8px;
  min-height: 44px;
}

.back-btn i { font-size: 16px; }

.detail-hdr {
  background: var(--mc-green);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 12px;
}

.dh-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
}

.dh-title {
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
  line-height: 1.35;
}

.dh-org {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.dh-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.dh-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.dh-meta-item i { font-size: 12px; }

.card-sec {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.cs-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--mc-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.cs-title i { font-size: 15px; }

.cs-body {
  font-size: 13px;
  color: var(--mc-muted);
  line-height: 1.7;
}

.doc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 0.5px solid var(--mc-border);
  font-size: 13px;
  color: var(--mc-muted);
}

.doc-row.last { border-bottom: none; }
.doc-row i { font-size: 14px; color: var(--mc-orange); }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--mc-border);
  font-size: 13px;
}

.info-row.last { border-bottom: none; }
.info-lbl  { color: var(--mc-muted); }
.info-val  { font-weight: 600; color: var(--mc-text); }
.info-link { color: var(--mc-green); font-weight: 500; }

.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--mc-orange);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  margin-bottom: 8px;
  min-height: 52px;
  transition: opacity 0.15s;
}

.apply-btn:active { opacity: 0.85; }

.fav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--mc-green);
  font-size: 14px;
  border-radius: var(--r-md);
  border: 0.5px solid var(--mc-green);
  margin-bottom: 10px;
  min-height: 48px;
}

.share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.share-btn {
  flex: 1;
  padding: 10px;
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 12px;
  color: var(--mc-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
}

/* ── 21. INTERNATIONAL ── */
.intl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--mc-border);
  min-height: 48px;
}

.intl-row.last { border-bottom: none; }
.intl-flag { font-size: 20px; width: 28px; text-align: center; }
.intl-name { font-size: 14px; font-weight: 500; color: var(--mc-text); flex: 1; }
.intl-cnt  { font-size: 11px; background: var(--mc-blue-light); color: var(--mc-blue); padding: 3px 8px; border-radius: var(--r-full); font-weight: 600; }
.intl-arrow { font-size: 14px; color: var(--mc-muted); }

/* ── 22. RESSOURCES ── */
.persons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.person-card { margin-bottom: 0; cursor: pointer; }

.person-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.person-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.person-av.green  { background: var(--mc-green-light);  color: var(--mc-green);  }
.person-av.orange { background: var(--mc-orange-light); color: var(--mc-orange); }

.person-name { font-size: 13px; font-weight: 600; color: var(--mc-text); }
.person-role { font-size: 10px; color: var(--mc-muted); margin-top: 1px; }

.res-card {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.res-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.res-title { font-size: 13px; font-weight: 600; color: var(--mc-text); }
.res-desc  { font-size: 11px; color: var(--mc-muted); margin-top: 3px; line-height: 1.4; }

.res-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--mc-green);
  font-weight: 600;
  margin-top: 6px;
}

/* ── 23. LOIS & DROITS ── */
.loi-card {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-left: 3px solid var(--mc-blue);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
}

.loi-date  { font-size: 10px; color: var(--mc-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.loi-title { font-size: 14px; font-weight: 600; color: var(--mc-text); margin-bottom: 6px; line-height: 1.4; }
.loi-sum   { font-size: 12px; color: var(--mc-muted); line-height: 1.6; margin-bottom: 10px; }

.loi-impact {
  background: var(--mc-green-light);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font-size: 12px;
  color: var(--mc-green-mid);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.loi-impact i { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.loi-footer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.loi-share {
  margin-left: auto;
  font-size: 12px;
  color: var(--mc-green);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* ── 24. NOTIFICATIONS ── */
.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--mc-border);
  cursor: pointer;
  min-height: 60px;
}

.notif-item.last { border-bottom: none; }

.nd {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.ni-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ni-title { font-size: 13px; font-weight: 500; color: var(--mc-text); }
.ni-body  { font-size: 12px; color: var(--mc-muted); margin-top: 2px; line-height: 1.4; }
.ni-time  { font-size: 11px; color: var(--mc-muted); margin-top: 3px; }

.notif-item.unread .ni-title {
  color: var(--mc-green);
  font-weight: 600;
}

.tout-lire {
  font-size: 12px;
  color: var(--mc-green);
  cursor: pointer;
  margin-left: auto;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--mc-border);
  font-size: 13px;
}

.pref-row.last { border-bottom: none; }
.pref-lbl  { color: var(--mc-muted); }
.pref-on   { font-size: 12px; font-weight: 600; color: var(--mc-green); }
.pref-off  { font-size: 12px; color: var(--mc-muted); }

/* ── 25. FAVORIS ── */
.info-alert {
  background: var(--mc-green-light);
  border: 0.5px solid var(--mc-green);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--mc-green-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.info-alert i { font-size: 14px; flex-shrink: 0; }

.fav-card {
  background: var(--mc-white);
  border: 0.5px solid var(--mc-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
}

.fav-content  { flex: 1; min-width: 0; }
.fav-title    { font-size: 13px; font-weight: 600; color: var(--mc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-meta     { font-size: 11px; color: var(--mc-muted); margin-top: 2px; }

.fav-dl {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-weight: 600;
  flex-shrink: 0;
}

.fav-dl.urgent { background: var(--mc-red-light);   color: var(--mc-red);      }
.fav-dl.ok     { background: var(--mc-green-light); color: var(--mc-green-mid); }

.hrt {
  font-size: 20px;
  color: var(--mc-red);
  cursor: pointer;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 26. PROFIL ── */
.prof-hdr {
  background: var(--mc-blue);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  margin-top: 10px;
}

.prof-av {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--mc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.prof-name  { font-size: 18px; font-weight: 600; color: white; }
.prof-meta  { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-top: 3px; }

.prof-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-top: 8px;
}

.interest-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ichip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--mc-green-light);
  color: var(--mc-green-mid);
  font-weight: 600;
}

/* ── 27. ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid var(--mc-green);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── 28. SAFE AREA (notch / Dynamic Island) ── */
@supports (padding: max(0px)) {
  .status-bar {
    padding-top: max(8px, env(safe-area-inset-top));
    height: auto;
    min-height: var(--status-bar-height);
  }
  .home-indicator {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    height: auto;
  }
  .page-pad {
    padding-left:  max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}
