
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg-base:      #FFFFFF;
      --bg-card:      #FFFFFF;
      --bg-card-h:    #F5F7FA;
      --bg-modal:     #FFFFFF;
      --bg-input:     #F0F4FA;
      --gold:         #1A50A0;
      --gold-light:   #2E6ABF;
      --gold-dim:     rgba(26,80,160,0.15);
      --gold-glow:    rgba(26,80,160,0.08);
      --amber:        #0E3A80;
      --forest:       #3D7A42;
      --text-primary: #0A1830;
      --text-sec:     #3A5070;
      --text-muted:   #7090A8;
      --border:       rgba(26,80,160,0.15);
      --border-h:     rgba(26,80,160,0.38);
      --radius:       14px;
      --radius-sm:    8px;
      --ease:         cubic-bezier(0.16,1,0.3,1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-base);
      color: var(--text-primary);
      min-height: 100vh;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── SCROLLBAR ─────────────────────────────── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-base); }
    ::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

    /* ─── NAV ───────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5%;
      height: 64px;
      overflow: visible;
      background: rgba(255,255,255,0.93);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      display: flex; align-items: center;
      text-decoration: none;
    }
    .nav-logo img {
      height: 100px;
      width: auto;
      display: block;
      mix-blend-mode: multiply;
    }

    .nav-center {
      display: flex; align-items: center; gap: 4px;
    }
    .nav-link {
      font-size: 14px; font-weight: 500; color: var(--text-sec);
      text-decoration: none; padding: 7px 16px; border-radius: var(--radius-sm);
      transition: color 150ms, background 150ms;
      white-space: nowrap;
    }
    .nav-link:hover { color: var(--gold); background: var(--gold-glow); }
    .nav-link.active { color: var(--gold); font-weight: 600; }

    .nav-right { display: flex; align-items: center; gap: 12px; }

    /* Burger mobile */
    .nav-burger {
      display: none; flex-direction: column; justify-content: center; gap: 5px;
      width: 36px; height: 36px; cursor: pointer; padding: 4px;
      background: none; border: none;
    }
    .nav-burger span {
      display: block; height: 2px; border-radius: 2px;
      background: var(--text-sec); transition: all 200ms;
    }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Menu mobile dropdown */
    .nav-mobile-menu {
      display: none; position: fixed;
      top: 0; left: 0; right: 0;
      background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 0 5% 20px; z-index: 99;
      flex-direction: column; gap: 4px;
    }
    .nav-mobile-menu.open { display: flex; }
    .nav-mobile-top {
      display: flex; align-items: center; justify-content: space-between;
      height: 64px;
    }
    .nav-mobile-menu .nav-link {
      font-size: 16px; padding: 12px 8px;
      border-bottom: 1px solid var(--border);
    }
    .nav-mobile-menu .nav-link:last-child { border-bottom: none; }

    .btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 9px 18px;
      border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 500;
      cursor: pointer; border: none;
      transition: all 200ms var(--ease);
      text-decoration: none;
      touch-action: manipulation;
    }
    .btn-gold {
      background: linear-gradient(135deg, var(--gold), var(--amber));
      color: #fff;
    }
    .btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--border-h);
      color: var(--text-primary);
    }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

    /* ─── HERO ──────────────────────────────────── */
    #hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 80px 6% 60px;
      gap: 60px;
      position: relative; overflow: hidden;
    }

    .hero-orb {
      position: absolute; border-radius: 50%;
      pointer-events: none; filter: blur(90px); z-index: 0;
    }
    .hero-orb-1 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(212,175,55,0.09) 0%, transparent 70%);
      top: -80px; left: -100px;
    }
    .hero-orb-2 {
      width: 350px; height: 350px;
      background: radial-gradient(circle, rgba(217,119,6,0.07) 0%, transparent 70%);
      bottom: 60px; left: 35%;
    }

    .hero-left {
      position: relative; z-index: 1;
      display: flex; flex-direction: column;
      align-items: flex-start;
    }

    .hero-tag {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 14px; border-radius: 20px;
      border: 1px solid var(--border-h);
      background: var(--gold-glow);
      font-size: 12px; font-weight: 500; color: var(--gold);
      letter-spacing: 0.05em; text-transform: uppercase;
      margin-bottom: 28px;
    }
    .hero-tag-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--forest);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.8); }
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(38px, 5vw, 68px);
      font-weight: 800; line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
      text-align: left;
    }
    .hero-title-line2 {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--amber) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: clamp(15px, 1.4vw, 17px);
      color: var(--text-sec);
      max-width: 420px;
      margin: 0 0 36px;
      line-height: 1.75;
    }

    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    /* ─── HERO CAROUSEL ─────────────────────────── */
    .hero-right {
      position: relative; z-index: 1;
      height: 420px; overflow: hidden;
      mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
    }

    .hero-cards-track {
      display: flex; flex-direction: column; gap: 14px;
      animation: scrollCards 32s linear infinite;
      will-change: transform;
    }
    .hero-cards-track:hover { animation-play-state: paused; }

    @keyframes scrollCards {
      0%   { transform: translateY(0); }
      100% { transform: translateY(-50%); }
    }

    .hero-alumni-card {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 18px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      transition: border-color 200ms;
      cursor: default;
    }
    .hero-alumni-card:nth-child(odd)  { transform: rotate(-0.7deg); margin-right: 32px; }
    .hero-alumni-card:nth-child(even) { transform: rotate(0.4deg);  margin-left:  24px; }
    .hero-alumni-card:hover { border-color: var(--gold-dim); }

    .hac-photo {
      width: 48px; height: 48px; border-radius: 50%;
      object-fit: cover; flex-shrink: 0;
      border: 2px solid var(--border-h);
    }
    .hac-avatar {
      width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; font-weight: 700; color: var(--gold);
      background: var(--gold-glow); border: 2px solid var(--border-h);
    }
    .hac-info { flex: 1; min-width: 0; }
    .hac-name {
      font-weight: 600; font-size: 14px; color: var(--text-primary);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hac-role {
      font-size: 12px; color: var(--text-sec); margin-top: 2px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hac-promo {
      flex-shrink: 0;
      font-size: 11px; font-weight: 600; color: var(--gold);
      background: var(--gold-glow); border: 1px solid var(--border-h);
      padding: 3px 9px; border-radius: 20px;
    }

    @media (max-width: 860px) {
      #hero {
        grid-template-columns: 1fr;
        padding: 70px 5% 40px;
        gap: 40px;
      }
      .hero-left { align-items: center; text-align: center; }
      .hero-title { text-align: center; }
      .hero-actions { justify-content: center; }
      .hero-right { height: 220px; }
    }

    /* ─── STATS ─────────────────────────────────── */
    #stats {
      display: flex; justify-content: center; flex-wrap: wrap;
      gap: 1px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--border);
    }
    .stat-item {
      flex: 1; min-width: 160px;
      padding: 36px 20px; text-align: center;
      background: var(--bg-base);
    }
    .stat-number {
      font-family: 'Playfair Display', serif;
      font-size: 42px; font-weight: 700;
      color: var(--gold); line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label { font-size: 13px; color: var(--text-sec); text-transform: uppercase; letter-spacing: 0.08em; }

    /* ─── SECTION ───────────────────────────────── */
    .section { padding: 60px 5%; }
    .section-header {
      display: flex; align-items: flex-end; justify-content: space-between;
      flex-wrap: wrap; gap: 16px;
      margin-bottom: 50px;
    }
    .section-eyebrow {
      font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 8px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 700; line-height: 1.15;
    }

    /* ─── MAGAZINE SECTION ──────────────────────── */
    .mag-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .mag-inner {
      display: flex; align-items: center; gap: 64px;
      max-width: 1100px; margin: 0 auto;
    }
    .mag-mockup { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
    .mag-cover {
      width: 160px; height: 220px;
      background: linear-gradient(145deg, #0d1b2a 0%, #1a2f4a 50%, #0f2339 100%);
      border-radius: 4px 10px 10px 4px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 20px 16px; position: relative;
      box-shadow: -3px 0 0 #0a1628, 4px 8px 32px rgba(0,0,0,.35);
    }
    .mag-cover::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
      background: linear-gradient(to right, #0a1525, #1a2f4a);
      border-radius: 4px 0 0 4px;
    }
    .mag-cover-num { font-size: 42px; font-weight: 900; color: #C9A84C; letter-spacing: -2px; line-height: 1; }
    .mag-cover-label { font-size: 7px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 2px; margin-bottom: 10px; }
    .mag-cover-rule { width: 32px; height: 1px; background: #C9A84C; opacity: .5; margin-bottom: 10px; }
    .mag-cover-title { font-size: 13px; font-weight: 800; color: #fff; text-align: center; line-height: 1.3; margin-bottom: 8px; }
    .mag-cover-year { font-size: 9px; color: #C9A84C; font-weight: 500; margin-bottom: 12px; }
    .mag-cover-dots { display: flex; gap: 4px; }
    .mag-cover-dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(201,168,76,.35); }
    .mag-shadow { width: 140px; height: 10px; background: radial-gradient(ellipse, rgba(0,0,0,.25) 0%, transparent 70%); margin-top: 4px; }
    .mag-content { flex: 1; }
    .mag-content .section-eyebrow { margin-bottom: 6px; }
    .mag-content .section-title { margin-bottom: 16px; }
    .mag-desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; max-width: 520px; }
    .mag-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
    .mag-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
    .mag-features svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
    .mag-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 12px 28px; }
    .mag-hint { margin-top: 12px; font-size: 12px; color: var(--text-muted); opacity: .7; }
    @media (max-width: 768px) {
      .mag-inner { flex-direction: column; gap: 36px; text-align: center; }
      .mag-features li { justify-content: center; }
      .mag-btn { width: 100%; justify-content: center; }
    }

    /* ─── SEARCH / FILTER ───────────────────────── */
    /* ─── SEARCH ENGINE ─────────────────────────── */
    #search-engine { margin-bottom: 40px; }

    .search-top {
      display: flex; gap: 10px; align-items: center;
      margin-bottom: 14px;
    }
    .search-wrap {
      position: relative; flex: 1;
    }
    .search-wrap > svg {
      position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
      color: var(--text-muted); pointer-events: none;
    }
    .search-input {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border);
      color: var(--text-primary);
      border-radius: var(--radius-sm);
      padding: 11px 42px;
      font-size: 15px; font-family: inherit;
      transition: border-color 200ms;
      outline: none;
    }
    .search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
    .search-input::placeholder { color: var(--text-muted); }
    .search-clear {
      position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
      background: none; border: none; cursor: pointer;
      color: var(--text-muted); display: none; padding: 4px; line-height: 1;
    }
    .search-clear:hover { color: var(--text-primary); }

    .btn-reset-all {
      display: none; align-items: center; gap: 6px;
      padding: 9px 16px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-h);
      background: transparent;
      color: var(--text-sec);
      font-size: 13px; font-family: inherit;
      cursor: pointer; white-space: nowrap;
      transition: all 150ms;
    }
    .btn-reset-all:hover { border-color: var(--gold); color: var(--gold); }

    #filter-panel {
      padding: 18px 20px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      display: flex; flex-direction: column; gap: 13px;
      margin-bottom: 14px;
    }
    .filter-row {
      display: flex; align-items: flex-start; gap: 14px;
    }
    .filter-label {
      width: 86px; flex-shrink: 0;
      font-size: 11px; font-weight: 600; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 0.07em;
      padding-top: 5px;
    }
    .chips-group { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
    .chip {
      display: inline-flex; align-items: center;
      padding: 4px 13px; border-radius: 20px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-sec);
      font-size: 13px; font-weight: 500; font-family: inherit;
      cursor: pointer; white-space: nowrap; user-select: none;
      transition: border-color 150ms, color 150ms, background 150ms;
      touch-action: manipulation;
    }
    .chip:hover { border-color: var(--gold); color: var(--gold); }
    .chip-active {
      background: var(--gold-glow); border-color: var(--gold);
      color: var(--gold); font-weight: 600;
    }
    /* ─── Vue toggle ─── */
    .results-bar {
      display: flex; align-items: center; justify-content: space-between;
      min-height: 20px; margin-bottom: 8px; gap: 8px;
    }
    .view-toggle { display: flex; gap: 4px; margin-left: auto; }
    .view-btn {
      display: flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; border-radius: 8px;
      border: 1px solid var(--border); background: var(--bg-card);
      color: var(--text-muted); cursor: pointer; transition: all 150ms;
    }
    .view-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
    .view-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold); }
    .btn-magazine {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 0 12px; height: 32px; border-radius: 8px;
      border: 1px solid var(--gold); background: transparent;
      color: var(--gold); font-size: 12px; font-weight: 600;
      cursor: pointer; transition: all 150ms; font-family: inherit;
    }
    .btn-magazine:hover { background: var(--gold); color: #fff; }

    /* ─── Vue liste ─── */
    #alumni-grid.list-view {
      display: flex; flex-direction: column; gap: 8px;
    }
    #alumni-grid.list-view .alumni-card {
      display: flex; flex-direction: row; align-items: center;
      overflow: hidden; min-height: 72px;
    }
    #alumni-grid.list-view .alumni-card .card-photo {
      width: 70px; height: 70px; object-fit: cover; flex-shrink: 0; border-radius: 0;
    }
    #alumni-grid.list-view .alumni-card .card-photo-placeholder {
      width: 70px; height: 70px; flex-shrink: 0; border-radius: 0;
    }
    #alumni-grid.list-view .alumni-card .card-body {
      flex: 1; padding: 10px 14px; min-width: 0;
    }
    #alumni-grid.list-view .alumni-card .card-promo { font-size: 10px; margin-bottom: 2px; }
    #alumni-grid.list-view .alumni-card .card-name { font-size: 14px; margin-bottom: 1px; }
    #alumni-grid.list-view .alumni-card .card-role { font-size: 12px; }
    #alumni-grid.list-view .alumni-card .card-company { font-size: 11px; }
    #alumni-grid.list-view .alumni-card .card-skills { margin-top: 4px; }
    #alumni-grid.list-view .alumni-card .card-footer { display: none; }
    #alumni-grid.list-view .alumni-card .card-back-overlay { display: none; }
    #alumni-grid.list-view .alumni-card .list-arrow {
      display: flex; align-items: center; padding: 0 14px;
      color: var(--text-muted); flex-shrink: 0;
    }
    #alumni-grid.grid-view .list-arrow { display: none; }

    /* ─── Badge Nouveau ─── */
    .card-new-badge {
      position: absolute; top: 10px; right: 10px; z-index: 2;
      background: var(--gold); color: #fff;
      font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      padding: 3px 7px; border-radius: 20px;
      box-shadow: 0 2px 8px rgba(212,175,55,0.4);
    }
    #alumni-grid.list-view .card-new-badge { top: 6px; right: 6px; font-size: 8px; padding: 2px 6px; }

    /* ─── Skill filter active chip ─── */
    .skill-active-bar {
      display: none; align-items: center; gap: 8px;
      margin-bottom: 10px; font-size: 13px; color: var(--text-muted);
    }
    .skill-active-bar.visible { display: flex; }
    .skill-active-chip {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--gold); color: #fff;
      border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 600;
    }
    .skill-active-chip button {
      background: none; border: none; color: #fff; cursor: pointer;
      padding: 0; line-height: 1; font-size: 14px; opacity: 0.8;
    }
    .skill-active-chip button:hover { opacity: 1; }
    .skill-tag { cursor: pointer; }
    .skill-tag:hover { background: var(--gold-dim); color: var(--gold); border-color: var(--gold); }

    /* ─── BADGE OPPORTUNITÉ ─ */
    .card-opp-badge {
      position: absolute; top: 10px; left: 10px; z-index: 3;
      font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
      border-radius: 20px; padding: 3px 8px; pointer-events: none;
    }
    .card-opp-recrute { background: #16a34a; color: #fff; }
    .card-opp-mission { background: #d97706; color: #fff; }

    /* ─── SKILL SUGGEST SECTION ─── */
    .sug-section-title {
      font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
      color: var(--text-muted); padding: 8px 14px 4px;
    }
    .sug-skill-item {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 14px; cursor: pointer; font-size: 13px;
    }
    .sug-skill-item:hover { background: var(--gold-dim); }
    .sug-skill-dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
    }

    .results-bar-bottom {
      margin-top: 32px; margin-bottom: 0;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    #results-count, #results-count-bottom { font-size: 13px; color: var(--text-muted); }

    /* ─── ALUMNI GRID ───────────────────────────── */
    #alumni-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
      gap: 24px;
    }

    .alumni-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      transition: transform 250ms var(--ease), border-color 250ms, box-shadow 250ms;
      position: relative;
    }
    .alumni-card::after {
      content: '';
      position: absolute; inset: 0;
      border-radius: var(--radius);
      background: linear-gradient(135deg, rgba(212,175,55,0.04), transparent);
      opacity: 0; transition: opacity 250ms;
    }
    .alumni-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-h);
      box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 0 0 1px var(--border-h);
    }
    .alumni-card:hover::after { opacity: 1; }

    .card-photo {
      width: 100%; height: 280px; object-fit: contain;
      display: block;
      background: #FFFFFF;
    }
    .card-photo-placeholder {
      width: 100%; height: 280px;
      background: var(--bg-card-h);
      display: flex; align-items: center; justify-content: center;
      font-size: 52px; color: var(--text-muted);
    }

    .card-body { padding: 22px 22px 18px; }

    .card-promo {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 3px 10px; border-radius: 20px;
      background: var(--gold-dim); color: var(--gold);
      font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase; margin-bottom: 12px;
    }

    .card-name {
      font-size: 19px; font-weight: 700;
      line-height: 1.25; margin-bottom: 4px;
      color: var(--text-primary);
    }

    .card-role {
      font-size: 13px; color: var(--gold);
      font-weight: 500; margin-bottom: 8px;
    }

    .card-company {
      font-size: 13px; color: var(--text-sec);
      margin-bottom: 14px;
    }

    .card-skills {
      display: flex; flex-wrap: wrap; gap: 6px;
      margin-bottom: 18px;
    }
    .skill-tag {
      padding: 3px 10px; border-radius: 20px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      font-size: 11px; color: var(--text-sec);
    }

    .card-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }
    .card-action {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 500; color: var(--gold);
    }

    /* ─── EMPTY STATE ───────────────────────────── */
    .empty-state {
      grid-column: 1/-1;
      text-align: center;
      padding: 80px 20px;
      color: var(--text-sec);
    }
    .empty-icon { font-size: 48px; margin-bottom: 16px; }
    .empty-state h3 { font-size: 20px; color: var(--text-primary); margin-bottom: 8px; }
    .empty-state p { font-size: 14px; }

    /* ─── MODALS ─────────────────────────────────── */
    .modal-overlay {
      position: fixed; inset: 0; z-index: 200;
      background: rgba(28,18,8,0.65);
      backdrop-filter: blur(12px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px;
      opacity: 0; pointer-events: none;
      transition: opacity 250ms;
    }
    .modal-overlay.open { opacity: 1; pointer-events: all; }

    .modal {
      background: var(--bg-modal);
      border: 1px solid var(--border-h);
      border-radius: 20px;
      width: 100%; max-width: 960px;
      max-height: 90vh;
      overflow: hidden;
      display: flex; flex-direction: column;
      transform: translateY(24px) scale(0.97);
      transition: transform 300ms var(--ease);
      position: relative;
    }
    .modal-overlay.open .modal { transform: translateY(0) scale(1); }

    .modal-topbar { display: none; }
    .modal-topbar-row { display: flex; }
    .modal-topbar-body { flex: 1; min-width: 0; }
    .modal-drag-handle {
      width: 40px; height: 4px; border-radius: 2px;
      background: var(--border-h);
      margin: 0 auto;
    }
    .modal-close {
      position: absolute; top: 18px; right: 18px;
      width: 34px; height: 34px;
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; font-size: 18px; color: var(--text-sec);
      transition: all 200ms; z-index: 10;
    }
    .modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
    .modal-close-desktop { display: flex; }

    /* Mini-avatar dans la topbar mobile */
    .modal-mini-avatar {
      width: 44px; height: 44px; border-radius: 50%;
      object-fit: cover; border: 2px solid var(--border-h);
      flex-shrink: 0;
    }
    .modal-mini-initials {
      width: 44px; height: 44px; border-radius: 50%;
      background: var(--gold-dim); color: var(--gold);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; font-weight: 700; flex-shrink: 0;
    }
    .modal-mini-name {
      font-size: 15px; font-weight: 700;
      color: var(--text-primary);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .modal-mini-sub {
      font-size: 11px; color: var(--gold); font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.06em;
    }

    /* Médaillon photo dans la topbar (mobile uniquement) */
    .profile-medallion,
    .profile-medallion-initials { display: none; }
    .profile-medallion {
      width: 52px; height: 52px; border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--border-h);
      box-shadow: 0 2px 8px rgba(0,0,0,0.18);
      flex-shrink: 0;
    }
    .profile-medallion-initials {
      width: 52px; height: 52px; border-radius: 50%;
      background: var(--gold-dim); color: var(--gold);
      align-items: center; justify-content: center;
      font-size: 22px; font-weight: 700;
      border: 2px solid var(--border-h);
      flex-shrink: 0;
    }

    /* ─── PROFILE MODAL ─────────────────────────── */
    #profile-content {
      display: flex; flex-direction: column;
      flex: 1; min-height: 0;
    }
    .profile-layout {
      display: flex;
      flex: 1;
      min-height: 0;
    }

    /* LEFT — photo column */
    .profile-left {
      width: 42%;
      flex-shrink: 0;
      position: relative;
      background: #FFFFFF;
      border-right: 1px solid var(--border);
      display: flex; flex-direction: column;
    }
    .profile-photo-banner {
      width: 100%; height: 100%;
      object-fit: contain;
      object-position: center top;
      display: block;
      min-height: 460px;
    }
    .profile-photo-placeholder {
      width: 100%; height: 100%; min-height: 460px;
      display: flex; align-items: center; justify-content: center;
      font-size: 80px;
    }
    .profile-left-badge {
      position: absolute; top: 18px; left: 18px;
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 12px; border-radius: 20px;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-h);
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      color: var(--gold); text-transform: uppercase;
    }

    /* RIGHT — content column */
    .profile-right {
      flex: 1;
      overflow-y: auto;
      padding: 36px 32px 36px;
      display: flex; flex-direction: column; gap: 0;
    }
    .profile-series {
      font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 10px;
    }
    .profile-name {
      font-family: 'Playfair Display', serif;
      font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.2;
      margin-bottom: 6px;
    }
    .profile-role { font-size: 14px; color: var(--gold); font-weight: 500; margin-bottom: 3px; }
    .profile-company { font-size: 13px; color: var(--text-sec); margin-bottom: 16px; }
    .profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
    .profile-tag {
      padding: 4px 12px; border-radius: 20px;
      background: var(--gold-dim); color: var(--gold);
      font-size: 11px; font-weight: 500;
    }
    .profile-divider {
      height: 1px; background: var(--border);
      margin-bottom: 24px;
    }

    .profile-contact {
      display: flex; gap: 10px; flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .btn-contact {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 10px 20px; border-radius: var(--radius-sm);
      font-size: 13px; font-weight: 600;
      text-decoration: none; border: none; cursor: pointer;
      transition: all 200ms var(--ease);
      white-space: nowrap;
    }
    .btn-contact:hover { transform: translateY(-2px); filter: brightness(1.1); }
    .btn-whatsapp  { background: #25D366; color: #fff; }
    .btn-linkedin  { background: #0A66C2; color: #fff; }
    .btn-facebook  { background: #1877F2; color: #fff; }
    .btn-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff; }
    .btn-twitter   { background: #000; color: #fff; }
    .btn-github    { background: #24292e; color: #fff; }
    .btn-website   { background: var(--gold); color: #fff; }

    .profile-body { }

    .profile-bio {
      font-size: 14px; line-height: 1.85;
      color: var(--text-sec);
    }
    .profile-bio p { margin-bottom: 14px; }
    .profile-bio .bio-quote {
      padding: 16px 20px;
      border-left: 3px solid var(--gold);
      background: var(--gold-glow);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-style: italic; color: var(--text-primary);
      margin: 24px 0;
      line-height: 1.75;
    }
    .profile-bio ul { padding-left: 20px; }
    .profile-bio ul li { margin-bottom: 6px; }

    .profile-skills-section { margin-top: 28px; }
    .profile-skills-title {
      font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 12px;
    }
    .profile-skills-grid {
      display: flex; flex-wrap: wrap; gap: 8px;
    }
    .profile-skill {
      padding: 5px 14px; border-radius: 20px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border-h);
      font-size: 12px; color: var(--text-sec);
    }

    .profile-final-quote {
      margin-top: 32px;
      padding: 24px 28px;
      background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(217,119,6,0.04));
      border: 1px solid var(--border-h);
      border-radius: var(--radius);
      text-align: center;
    }
    .profile-final-quote blockquote {
      font-style: italic; font-size: 15px;
      color: var(--text-primary); line-height: 1.7;
      margin-bottom: 10px;
    }
    .profile-final-quote cite {
      font-size: 12px; color: var(--gold);
      font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ─── ADD ALUMNI MODAL ──────────────────────── */
    .add-modal { max-width: 640px; }

    .add-modal-header {
      padding: 28px 28px 0;
      margin-bottom: 24px;
    }
    .add-modal-title {
      font-family: 'Playfair Display', serif;
      font-size: 24px; font-weight: 700;
    }
    .add-modal-sub { font-size: 14px; color: var(--text-sec); margin-top: 6px; }

    .add-modal-body { padding: 0 28px 28px; }

    .form-group { margin-bottom: 18px; }
    .form-label {
      display: block; font-size: 13px; font-weight: 500;
      color: var(--text-sec); margin-bottom: 7px;
    }
    .form-label span { color: var(--gold); }
    .form-input, .form-select, .form-textarea {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border);
      color: var(--text-primary);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      font-size: 14px; font-family: inherit;
      transition: border-color 200ms;
      outline: none;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
    .form-select option { background: var(--bg-card); }
    .form-textarea { resize: vertical; min-height: 180px; line-height: 1.6; }
    .photo-upload-zone {
      width: 120px; height: 120px; border-radius: 50%;
      border: 2px dashed var(--gold); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden; margin: 0 auto 20px;
      background: var(--bg-card); transition: border-color .2s;
    }
    .photo-upload-zone:hover { border-color: var(--text-primary); }
    .photo-upload-zone img { width: 100%; height: 100%; object-fit: cover; display: none; }
    .photo-upload-placeholder {
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      color: var(--text-muted); font-size: 12px; text-align: center; padding: 14px;
    }
    .photo-upload-placeholder svg { opacity: .5; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-hint { font-size: 11px; color: var(--text-muted); margin-top: 5px; }
    .form-actions {
      display: flex; gap: 10px; justify-content: flex-end;
      margin-top: 24px;
    }

    /* ─── SECTION : COMPETENCES ─────────────────── */
    .comp-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
    }
    .comp-card {
      padding: 28px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--bg-base);
      transition: border-color 250ms, box-shadow 250ms;
    }
    .comp-card:hover {
      border-color: var(--border-h);
      box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    .comp-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--gold-dim);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 16px;
    }
    .comp-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
    .comp-desc { font-size: 14px; color: var(--text-sec); line-height: 1.65; }

    /* ─── FOOTER ─────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 50px 5% 36px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand p {
      font-size: 14px; color: var(--text-sec);
      line-height: 1.7; margin-top: 14px;
      max-width: 300px;
    }
    .footer-col-title {
      font-size: 13px; font-weight: 600;
      color: var(--text-primary); letter-spacing: 0.06em;
      text-transform: uppercase; margin-bottom: 16px;
    }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 9px; }
    .footer-links a {
      color: var(--text-sec); text-decoration: none;
      font-size: 14px; transition: color 200ms;
    }
    .footer-links a:hover { color: var(--gold); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px;
      padding-top: 28px; border-top: 1px solid var(--border);
      font-size: 13px; color: var(--text-muted);
    }
    .footer-bottom-logo { display: flex; align-items: center; gap: 8px; }

    /* ─── NOTIFICATION ───────────────────────────── */
    .notif {
      position: fixed; bottom: 24px; right: 24px; z-index: 300;
      background: var(--bg-card);
      border: 1px solid var(--gold-dim);
      border-radius: var(--radius);
      padding: 14px 20px;
      font-size: 14px; color: var(--text-primary);
      box-shadow: 0 8px 30px rgba(0,0,0,0.10);
      transform: translateY(80px); opacity: 0;
      transition: all 300ms var(--ease);
    }
    .notif.show { transform: translateY(0); opacity: 1; }

    /* ─── BIO EDITOR ─────────────────────────────── */
    .bio-editor-overlay {
      position: fixed; inset: 0; z-index: 300;
      background: rgba(28,18,8,.6);
      backdrop-filter: blur(10px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px;
      opacity: 0; pointer-events: none;
      transition: opacity 220ms;
    }
    .bio-editor-overlay.open { opacity: 1; pointer-events: all; }
    .bio-editor-box {
      background: var(--bg-card);
      border: 1px solid var(--border-h);
      border-radius: 18px;
      width: 100%; max-width: 620px;
      box-shadow: 0 24px 64px rgba(0,0,0,.18);
      display: flex; flex-direction: column;
      overflow: hidden;
      transform: translateY(16px) scale(.98);
      transition: transform 250ms var(--ease);
    }
    .bio-editor-overlay.open .bio-editor-box { transform: none; }
    .bio-editor-header {
      display: flex; align-items: flex-start; justify-content: space-between;
      padding: 24px 24px 16px; border-bottom: 1px solid var(--border);
    }
    .bio-editor-eyebrow {
      font-size: 10px; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
    }
    .bio-editor-name { font-size: 17px; font-weight: 700; color: var(--text-primary); }
    .bio-editor-close {
      width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
      background: transparent; cursor: pointer; font-size: 16px;
      color: var(--text-muted); display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: all 150ms;
    }
    .bio-editor-close:hover { background: var(--bg-input); color: var(--text-primary); }
    .bio-editor-textarea {
      flex: 1; min-height: 280px; max-height: 50vh;
      padding: 18px 22px; font-family: 'Inter', sans-serif;
      font-size: 14px; line-height: 1.7; color: var(--text-primary);
      background: var(--bg-base); border: none; resize: none;
      outline: none;
    }
    .bio-editor-textarea::placeholder { color: var(--text-muted); }
    .bio-editor-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 22px; border-top: 1px solid var(--border);
      gap: 12px;
    }
    .bio-editor-hint { font-size: 11px; color: var(--text-muted); flex: 1; }
    .bio-editor-btn {
      padding: 9px 20px; border-radius: 9px; font-size: 13px; font-weight: 600;
      font-family: inherit; cursor: pointer; border: none; transition: all 150ms;
    }
    .bio-editor-btn-cancel {
      background: transparent; border: 1px solid var(--border-h); color: var(--text-sec);
    }
    .bio-editor-btn-cancel:hover { border-color: var(--gold); color: var(--gold); }
    .bio-editor-btn-save { background: var(--gold); color: #fff; }
    .bio-editor-btn-save:hover { filter: brightness(1.1); }
    /* Bouton sur la carte */
    .card-bio-btn {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 11px; font-weight: 600; color: var(--text-muted);
      background: var(--bg-input); border: 1px solid var(--border);
      border-radius: 20px; padding: 4px 10px; cursor: pointer;
      transition: all 150ms; font-family: inherit;
      white-space: nowrap;
    }
    .card-bio-btn:hover { border-color: var(--gold); color: var(--gold); }
    /* Bouton "Modifier la bio" dans la modale profil */
    /* ── Barre de partage ── */
    .profile-share-bar {
      display: flex; gap: 8px; margin-bottom: 18px;
    }
    .profile-share-btn {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 600; color: var(--text-sec);
      background: var(--bg-input); border: 1px solid var(--border);
      border-radius: 20px; padding: 6px 14px; cursor: pointer;
      transition: all 150ms; font-family: inherit; flex-shrink: 0;
    }
    .profile-share-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
    .profile-share-btn.copied { border-color: #2E8B7A; color: #2E8B7A; }

    .profile-bio-edit-btn {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 600; color: var(--text-muted);
      background: var(--bg-input); border: 1px solid var(--border);
      border-radius: 20px; padding: 5px 12px; cursor: pointer;
      transition: all 150ms; font-family: inherit; margin-bottom: 20px;
    }
    .profile-bio-edit-btn:hover { border-color: var(--gold); color: var(--gold); }
    /* Bloc vide quand pas de bio */
    .profile-bio-empty {
      padding: 28px 24px; border: 1.5px dashed var(--border-h);
      border-radius: var(--radius); text-align: center; margin-bottom: 20px;
    }
    .profile-bio-empty p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
    @media (max-width: 600px) {
      .bio-editor-box { border-radius: 18px 18px 0 0; }
      .bio-editor-overlay { align-items: flex-end; padding: 0; }
      .bio-editor-textarea { min-height: 220px; }
    }

    /* ─── ANALYTICS ──────────────────────────────── */
    /* ── Parcours Alumni ── */
    .profile-parcours {
      padding: 20px 28px 18px;
      border-bottom: 1px solid var(--border);
    }
    .profile-parcours-title {
      font-size: 10px; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 18px;
    }
    .parcours-timeline {
      display: flex;
      align-items: flex-start;
      position: relative;
    }
    .parcours-timeline::before {
      content: '';
      position: absolute;
      top: 7px;
      left: 7%;
      right: 7%;
      height: 2px;
      background: var(--border);
      z-index: 0;
    }
    .parcours-step {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 9px;
      position: relative;
      z-index: 1;
    }
    .parcours-dot {
      width: 14px; height: 14px; border-radius: 50%;
      background: var(--bg-modal);
      border: 2px solid var(--border-h);
      flex-shrink: 0;
    }
    .parcours-step.step-school .parcours-dot {
      border-color: var(--gold);
      background: var(--gold);
    }
    .parcours-step.step-now .parcours-dot {
      border-color: #2E8B7A;
      background: #2E8B7A;
    }
    .parcours-step-label {
      font-size: 9px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .07em;
      color: var(--text-muted); text-align: center;
    }
    .parcours-step.step-school .parcours-step-label { color: var(--gold); }
    .parcours-step.step-now .parcours-step-label { color: #2E8B7A; }
    .parcours-step-text {
      font-size: 11.5px; color: var(--text-sec); text-align: center;
      line-height: 1.45; padding: 0 4px;
    }
    .parcours-step-text strong { color: var(--text-primary); font-weight: 600; }

    .analytics-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .analytics-card {
      background: #F5F8FF;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 28px 24px;
    }
    .analytics-card-title {
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.09em;
      color: var(--gold); margin-bottom: 24px;
    }
    /* Donut */
    .donut-wrap {
      position: relative; width: 148px; height: 148px;
      margin: 0 auto 22px;
    }
    .donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
    .donut-center {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 2px;
    }
    .donut-total { font-size: 30px; font-weight: 800; color: var(--text-primary); line-height: 1; }
    .donut-sub { font-size: 11px; color: var(--text-muted); }
    .donut-legend { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
    .donut-legend li {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px;
    }
    .legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
    .legend-label { flex: 1; color: var(--text-sec); }
    .legend-pct { font-weight: 700; color: var(--text-primary); }
    /* Genre */
    .gender-numbers { display: flex; gap: 0; justify-content: space-around; margin-bottom: 22px; }
    .gender-num-block { text-align: center; }
    .gender-num { font-size: 36px; font-weight: 800; line-height: 1; }
    .gender-num-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
    .gender-split-bar {
      height: 10px; border-radius: 8px; overflow: hidden;
      display: flex; margin-bottom: 10px;
    }
    .gender-h { background: #4F46E5; }
    .gender-f { background: #DB2777; }
    .gender-split-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
    /* Barres horizontales */
    .hbar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
    .hbar-label { width: 128px; flex-shrink: 0; font-size: 12px; color: var(--text-sec); white-space: nowrap; }
    .hbar-track { flex: 1; height: 6px; background: #E0EAF8; border-radius: 4px; overflow: hidden; }
    .hbar-fill { height: 100%; background: #2563EB; border-radius: 4px; width: 0; transition: width .9s cubic-bezier(.22,1,.36,1); }
    .hbar-count { width: 22px; text-align: right; font-size: 12px; font-weight: 700; color: #2563EB; }
    /* Barres promos */
    .promo-bars-wrap { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding-top: 8px; }
    .promo-col { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; }
    .promo-bar-count { font-size: 10px; font-weight: 700; color: #7C3AED; margin-bottom: 3px; }
    .promo-bar-fill {
      width: 100%; background: linear-gradient(180deg, #7C3AED, #4F46E5); border-radius: 4px 4px 0 0;
      margin-top: auto; min-height: 4px;
      width: 0; transition: height .9s cubic-bezier(.22,1,.36,1);
    }
    .promo-bar-label { font-size: 10px; color: var(--text-muted); margin-top: 5px; }
    /* Responsive analytics */
    @media (max-width: 600px) {
      .analytics-grid { grid-template-columns: 1fr; }
      .analytics-card { padding: 22px 18px 20px; }
    }

    /* ─── RESPONSIVE ─────────────────────────────── */

    /* Tablette (≤ 860px) : hero 1 colonne, grille 2 colonnes */
    @media (max-width: 860px) {
      nav { height: 80px; }
      .nav-logo img { height: 64px; }
      .nav-center { display: none; }
      .nav-burger { display: flex; }

      #hero {
        grid-template-columns: 1fr;
        padding: 100px 5% 56px;
        gap: 32px;
        min-height: auto;
      }
      .hero-left { align-items: center; text-align: center; }
      .hero-title { text-align: center; }
      .hero-subtitle { text-align: center; max-width: 100%; }
      .hero-actions { justify-content: center; }
      .hero-right { height: 220px; }

      #alumni-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .card-photo, .card-photo-placeholder { height: 200px; }
      .card-name { font-size: 16px; }
    }

    /* Mobile (≤ 768px) */
    @media (max-width: 768px) {
      nav { padding: 0 16px; height: 64px; }
      .nav-logo img { height: 46px; }

      .section { padding: 48px 16px; }
      .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
      .section-title { font-size: 26px; }

      .stat-item { min-width: calc(50% - 1px); flex: 0 0 calc(50% - 1px); padding: 28px 16px; }
      .stat-number { font-size: 32px; }
      .stat-label { font-size: 11px; }

      .search-top { flex-wrap: wrap; gap: 8px; }
      .search-input { font-size: 16px; padding: 13px 42px; }
      .btn-reset-all { width: 100%; justify-content: center; }

      #filter-panel { padding: 12px 14px; gap: 10px; }
      .filter-row { flex-direction: column; align-items: stretch; gap: 4px; }
      .filter-label { width: auto; padding-top: 0; font-size: 10px; }
      .chips-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 3px;
        gap: 7px;
        min-width: 0;
        width: 100%;
      }
      .chips-group::-webkit-scrollbar { display: none; }
      .chip { padding: 8px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }

      #alumni-grid { grid-template-columns: 1fr; gap: 12px; }
      .card-photo, .card-photo-placeholder { height: 220px; }
      .card-body { padding: 14px 14px 12px; }
      .card-name { font-size: 17px; }
      .card-role { font-size: 12px; }

      /* ── Bottom sheet ── */
      .modal-overlay { padding: 0; align-items: flex-end; }
      .modal {
        max-width: 100%; max-height: 96svh;
        border-radius: 22px 22px 0 0;
        border-left: none; border-right: none; border-bottom: none;
        display: flex; flex-direction: column;
      }
      /* ✕ desktop caché, ✕ dans la topbar affiché */
      .modal-close-desktop { display: none; }

      /* Topbar en colonne */
      .modal-topbar {
        display: flex; flex-direction: column;
        flex-shrink: 0;
        background: var(--bg-modal);
        border-bottom: 1px solid var(--border);
        border-radius: 22px 22px 0 0;
        padding: 10px 14px 14px;
        gap: 10px;
      }
      .modal-drag-handle { margin: 0 auto; }
      /* Row : médaillon à gauche, ✕ à droite */
      .modal-topbar-row {
        display: flex; align-items: center; gap: 12px;
      }
      .modal-topbar-body { flex: 1; min-width: 0; }
      /* ✕ dans le row */
      .modal-topbar-row .modal-close {
        position: static;
        width: 44px; height: 44px; font-size: 20px; flex-shrink: 0;
        background: var(--bg-input);
        border: 1.5px solid var(--border-h);
        color: var(--text-primary);
      }

      /* Photo compacte en haut */
      .profile-layout { flex-direction: column; }
      .profile-left {
        width: 100%; min-height: auto;
        border-right: none; border-bottom: 1px solid var(--border);
        position: relative;
      }
      .profile-photo-banner,
      .profile-photo-placeholder { min-height: 220px; max-height: 260px; }

      /* Médaillon actif dans la topbar */
      .profile-medallion { display: block; }
      .profile-medallion-initials { display: flex; }

      .profile-right {
        flex: 1; min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px 18px 48px;
      }
      .profile-series { display: none; }
      .profile-name { font-size: 20px; margin-bottom: 4px; }
      .profile-role { font-size: 13px; }
      .profile-contact { gap: 8px; flex-wrap: wrap; }
      .btn-contact { padding: 12px 16px; font-size: 13px; flex: 1 1 auto; justify-content: center; min-width: 120px; }
      .profile-bio { font-size: 14px; line-height: 1.8; }
      .profile-final-quote { padding: 16px 18px; margin-top: 20px; }
      .profile-tags { gap: 5px; margin-bottom: 16px; }

      .comp-grid { grid-template-columns: 1fr; gap: 12px; }
      .comp-card { padding: 20px; }

      footer { padding: 36px 16px 24px; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }

      .notif { bottom: 12px; left: 12px; right: 12px; font-size: 13px; padding: 12px 16px; }
    }

    /* Téléphone (≤ 480px) */
    @media (max-width: 480px) {
      nav { height: 58px; }
      .nav-logo img { height: 40px; }

      .hero-right { display: none; }
      #hero { padding: 74px 16px 44px; }
      .hero-title { font-size: clamp(30px, 8vw, 38px); }
      .hero-subtitle { font-size: 14px; }
      .hero-actions { flex-direction: column; width: 100%; }
      .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }

      .stat-item { min-width: 100%; padding: 24px 20px; }

      .card-photo, .card-photo-placeholder { height: 200px; }

      .btn-contact { width: 100%; flex: 1 1 100%; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    }

    /* ─── DARK MODE (F8) ──────────────────────────── */
    [data-theme="dark"] {
      --bg-base:      #0D1117;
      --bg-card:      #161B22;
      --bg-card-h:    #21262D;
      --bg-modal:     #161B22;
      --bg-input:     #21262D;
      --gold:         #58A6FF;
      --gold-light:   #79B8FF;
      --gold-dim:     rgba(88,166,255,0.15);
      --gold-glow:    rgba(88,166,255,0.08);
      --text-primary: #E6EDF3;
      --text-sec:     #8B949E;
      --text-muted:   #6E7681;
      --border:       rgba(48,54,61,0.9);
      --border-h:     rgba(88,166,255,0.4);
    }
    [data-theme="dark"] nav { background: rgba(13,17,23,0.95); }
    [data-theme="dark"] .nav-logo { background: #fff; border-radius: 8px; padding: 4px 10px; }
    [data-theme="dark"] .nav-logo img { mix-blend-mode: multiply; }
    [data-theme="dark"] .analytics-card { background: #161B22; }
    [data-theme="dark"] .card-back-overlay { background: linear-gradient(145deg,rgba(14,25,50,0.97),rgba(8,16,36,0.97)); }

    .theme-toggle {
      width: 36px; height: 36px; border-radius: 50%;
      border: 1.5px solid var(--border-h);
      background: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-sec); transition: color 150ms, background 150ms;
      flex-shrink: 0;
    }
    .theme-toggle:hover { color: var(--gold); background: var(--gold-glow); }
    .icon-sun { display: none; }
    .icon-moon { display: block; }
    [data-theme="dark"] .icon-sun { display: block; }
    [data-theme="dark"] .icon-moon { display: none; }

    /* ─── CARD BACK OVERLAY (F2) ─────────────────── */
    .card-back-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(145deg, rgba(20,50,130,0.96), rgba(10,30,80,0.98));
      border-radius: var(--radius);
      padding: 22px 20px 16px;
      opacity: 0; transform: translateY(10px);
      transition: opacity 280ms var(--ease), transform 280ms var(--ease);
      display: flex; flex-direction: column; gap: 10px;
      pointer-events: none;
      overflow: hidden;
    }
    .alumni-card:hover .card-back-overlay {
      opacity: 1; transform: translateY(0); pointer-events: auto;
    }
    .cbo-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 3px; }
    .cbo-promo { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
    .cbo-section { margin-bottom: 13px; }
    .cbo-label {
      font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
      color: rgba(255,255,255,.45); margin-bottom: 5px;
    }
    .cbo-text { font-size: 12px; color: rgba(255,255,255,.88); line-height: 1.5; }
    .cbo-skills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
    .cbo-skill {
      padding: 3px 8px; border-radius: 12px;
      background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
      font-size: 10px; color: rgba(255,255,255,.8);
    }
    .cbo-cta {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
      border-radius: 8px; padding: 9px 14px;
      font-size: 12px; font-weight: 600; color: #fff;
      transition: background 150ms;
    }
    .cbo-cta:hover { background: rgba(255,255,255,.24); }
    .cbo-top { flex-shrink: 0; }
    .cbo-full-photo {
      width: 100%; display: block; flex: 1; min-height: 0;
      object-fit: contain; object-position: center;
    }
    .cbo-bottom {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
      flex-shrink: 0; padding-top: 10px;
      border-top: 1px solid rgba(255,255,255,.12);
    }
    .card-back-overlay .btn-contact { padding: 8px 12px; font-size: 11px; pointer-events: auto; }
    .card-back-overlay .cbo-cta { pointer-events: auto; }

    /* ─── ALUMNI À LA UNE (F4) ───────────────────── */
    #une-section { padding: 0 5% 48px; }
    .une-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    @media (max-width: 700px) { .une-grid { grid-template-columns: 1fr; } }
    .une-card {
      border-radius: 18px; overflow: hidden; cursor: pointer;
      background: var(--bg-card); border: 1px solid var(--border);
      box-shadow: 0 4px 24px rgba(0,0,0,.06);
      transition: transform 220ms var(--ease), box-shadow 220ms;
      display: flex; min-height: 190px;
    }
    .une-card:hover { transform: translateY(-4px); box-shadow: 0 14px 48px rgba(0,0,0,.12); }
    .une-photo { width: 150px; flex-shrink: 0; object-fit: cover; display: block; }
    .une-placeholder {
      width: 150px; flex-shrink: 0;
      background: linear-gradient(135deg, #1A50A0, #0E3A80);
      display: flex; align-items: center; justify-content: center;
      font-size: 42px;
    }
    .une-body { padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; }
    .une-badge {
      font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
      color: var(--gold); margin-bottom: 8px;
    }
    .une-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
    .une-role { font-size: 12px; color: var(--text-sec); margin-bottom: 10px; }
    .une-excerpt {
      font-size: 12px; color: var(--text-muted); line-height: 1.55;
      display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    }
    .une-link {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 600; color: var(--gold); margin-top: 12px;
    }

    /* ─── SEARCH SUGGESTIONS (F10) ──────────────── */
    .search-wrap { position: relative; }
    #search-suggestions {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0;
      background: var(--bg-card); border: 1px solid var(--border-h);
      border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.14);
      z-index: 200; overflow: hidden; display: none; max-height: 340px; overflow-y: auto;
    }
    #search-suggestions.open { display: block; }
    .sug-item {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 16px; cursor: pointer; transition: background 100ms;
    }
    .sug-item:hover { background: var(--bg-input); }
    .sug-thumb {
      width: 36px; height: 36px; border-radius: 50%;
      flex-shrink: 0; overflow: hidden;
      background: var(--gold-dim);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
    }
    .sug-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .sug-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
    .sug-meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
    .sug-empty { padding: 14px 16px; font-size: 13px; color: var(--text-muted); text-align: center; }

    /* ─── CHIP COUNT ─────────────────────────────── */
    .chip-count { font-weight: 400; opacity: .6; font-size: 10px; }
  