    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    :root {
      --bg0: #06060D; --bg1: #0A0A14; --bg2: #0D0E1C; --bg3: #101120;
      --bgJ: #070F0B;
      --paper: #F5F2EC; --white: #FDFCFA;
      --text: #1A1916; --muted: #8A8070;
      --blue: #4A7FFF; --orange: #FF6B3D; --green: #2EAD6B;
      --purple: #9B6DFF; --or-brand: #FF6600;
      --bd: rgba(255,255,255,.07);
      --r: 14px; --rs: 8px;
      --t: .3s cubic-bezier(.25,.46,.45,.94);

      /* tokens thématiques — défaut sombre */
      --fg:          white;
      --fg-soft:     rgba(255,255,255,.55);
      --fg-mute:     rgba(255,255,255,.4);
      --fg-dim:      rgba(255,255,255,.3);
      --fg-ghost:    rgba(255,255,255,.18);
      --surface:     rgba(255,255,255,.04);
      --surface-2:   rgba(255,255,255,.07);
      --surface-3:   rgba(255,255,255,.1);
      --border:      rgba(255,255,255,.09);
      --border-soft: rgba(255,255,255,.06);
      --scroll-thumb:rgba(255,255,255,.18);
      --scroll-track:rgba(255,255,255,.04);
    }

    /* ═══ THÈME CLAIR ═════════════════════ */
    [data-theme="light"] {
      --bg0: #F5F2EC; --bg1: #FAF7F0; --bg2: #FDFCF7; --bg3: #FFFFFF;
      --bgJ: #ECF5EE;
      --blue: #1B4FCC; --orange: #E04A1A; --green: #1A6B3C; --purple: #6E3EE0;

      --fg:          #1A1916;
      --fg-soft:     rgba(26,25,22,.6);
      --fg-mute:     rgba(26,25,22,.5);
      --fg-dim:      rgba(26,25,22,.4);
      --fg-ghost:    rgba(26,25,22,.18);
      --surface:     rgba(26,25,22,.035);
      --surface-2:   rgba(26,25,22,.06);
      --surface-3:   rgba(26,25,22,.08);
      --border:      rgba(26,25,22,.1);
      --border-soft: rgba(26,25,22,.06);
      --bd:          rgba(26,25,22,.08);
      --scroll-thumb:rgba(26,25,22,.18);
      --scroll-track:rgba(26,25,22,.04);
    }

    /* ── CUSTOM SCROLLBAR ───────────────── */
    html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: var(--scroll-track); }
    ::-webkit-scrollbar-thumb {
      background: var(--scroll-thumb); border-radius: 100px;
      border: 2px solid transparent; background-clip: padding-box;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, var(--blue), var(--orange));
      background-clip: padding-box; border: 2px solid transparent;
    }

    body {
      font-family: 'Syne', sans-serif;
      background: var(--bg0); color: white;
      overflow-x: hidden;
    }

    /* ── LOADER ─────────────────────────── */
    #loader {
      position: fixed; inset: 0; z-index: 10000;
      background: var(--bg0);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
    }
    .ld-letters {
      display: flex; align-items: baseline;
      gap: .02em; line-height: 1;
    }
    .ld-m {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(80px, 17vw, 200px);
      font-weight: 900; color: white;
      letter-spacing: -.04em; opacity: 0;
    }
    .ld-b {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(80px, 17vw, 200px);
      font-weight: 900; color: transparent;
      -webkit-text-stroke: 2.5px rgba(255,255,255,.65);
      letter-spacing: -.04em; opacity: 0;
    }
    .ld-line {
      width: clamp(100px, 18vw, 210px); height: 2px;
      background: linear-gradient(90deg, var(--blue), var(--orange));
      transform: scaleX(0); transform-origin: center;
      margin-top: 1.75rem;
    }
    .ld-sub {
      font-size: .72rem; font-weight: 700;
      letter-spacing: .22em; text-transform: uppercase;
      color: rgba(255,255,255,.3);
      margin-top: 1.125rem; opacity: 0;
    }
    .ld-prog {
      position: absolute; bottom: 0; left: 0;
      height: 3px; width: 0;
      background: linear-gradient(90deg, var(--blue), var(--orange));
    }

    /* ── AMBIENT LAYERS ─────────────────── */
    .amb {
      position: fixed; inset: 0; z-index: -1;
      pointer-events: none; opacity: 0;
      transition: opacity 1.4s ease;
    }
    .amb.on { opacity: 1; }
    #amb-blue   { background: radial-gradient(ellipse 70% 70% at 65% 40%, rgba(74,127,255,.052) 0%, transparent 70%); }
    #amb-orange { background: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(255,107,61,.06)  0%, transparent 65%); }
    #amb-green  { background: radial-gradient(ellipse 65% 65% at 60% 50%, rgba(46,173,107,.056) 0%, transparent 65%); }
    #amb-purple { background: radial-gradient(ellipse 65% 65% at 55% 55%, rgba(155,109,255,.048) 0%, transparent 65%); }

    /* ── PROGRESS BAR ───────────────────── */
    #progress-bar {
      position: fixed; top: 0; left: 0;
      height: 3px; width: 0;
      z-index: 600; pointer-events: none;
      background: linear-gradient(90deg, var(--blue), var(--orange), var(--green));
    }

    /* ── CURSOR ─────────────────────────── */
    #cur, #cur-ring {
      position: fixed; border-radius: 50%;
      pointer-events: none; z-index: 9999;
      transform: translate(-50%,-50%);
    }
    #cur {
      width: 10px; height: 10px;
      background: white;
      mix-blend-mode: difference;
      box-shadow: 0 0 0 1.5px rgba(0,0,0,.4), 0 0 12px rgba(255,255,255,.3);
      transition: width .2s, height .2s, background .3s, mix-blend-mode .15s;
    }
    #cur-ring {
      width: 38px; height: 38px;
      border: 1.8px solid rgba(255,255,255,.55);
      box-shadow: 0 0 0 .5px rgba(0,0,0,.25), inset 0 0 0 .5px rgba(0,0,0,.18);
      z-index: 9998;
      transition: width .25s var(--t), height .25s var(--t), border-color .25s ease, background .25s ease;
    }
    body:has(a:hover, button:hover) #cur {
      width: 18px; height: 18px;
      background: var(--orange);
      mix-blend-mode: normal;
      box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 20px rgba(255,107,61,.55);
    }
    body:has(a:hover, button:hover) #cur-ring {
      width: 52px; height: 52px;
      border-color: var(--orange);
      background: rgba(255,107,61,.05);
    }
    @media (pointer: coarse) { body { cursor: auto; } #cur, #cur-ring { display: none; } }

    /* ── NAV ────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 400;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.5rem 3rem; transition: var(--t);
    }
    nav.on {
      background: rgba(6,6,13,.9); backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--bd); padding: 1rem 3rem;
    }
    .nav-logo { font-family: 'Unbounded', sans-serif; font-size: .82rem; font-weight: 900; color: white; text-decoration: none; letter-spacing: -.02em; }
    .nav-links { display: flex; gap: 2.25rem; list-style: none; }
    .nav-links a { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--t); }
    .nav-links a:hover, .nav-links a.act { color: white; }
    .nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
    .nav-burger span { display: block; width: 22px; height: 1.5px; background: white; border-radius: 2px; transition: var(--t); }
    .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .nav-mobile { display: none; position: fixed; inset: 0; background: var(--bg0); z-index: 399; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
    .nav-mobile.open { display: flex; }
    .nav-mobile a { font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: white; text-decoration: none; }

    /* ── HERO ───────────────────────────── */
    #hero {
      position: relative; height: 100vh; min-height: 600px;
      display: flex; align-items: center; overflow: hidden;
    }
    #canvas3d { position: absolute; inset: 0; width: 100%; height: 100%; }
    #hero::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(108deg, rgba(6,6,13,.96) 0%, rgba(6,6,13,.72) 38%, rgba(6,6,13,.12) 65%, transparent 100%);
      pointer-events: none; z-index: 1;
    }
    .hero-inner {
      position: relative; z-index: 2;
      padding: 0 3rem; max-width: 1200px; width: 100%; margin: 0 auto;
    }
    .hero-eyebrow {
      display: flex; align-items: center; gap: .8rem;
      font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
      color: rgba(255,255,255,.35); margin-bottom: 2rem;
    }
    .hero-eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--orange); }
    .hero-name { font-family: 'Unbounded', sans-serif; font-weight: 900; line-height: .88; letter-spacing: -.04em; margin-bottom: 2.5rem; }
    .hero-name .ln1 { font-size: clamp(62px, 10vw, 145px); display: block; color: white; }
    .hero-name .ln2 { font-size: clamp(62px, 10vw, 145px); display: block; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); }
    .char { display: inline-block; }
    .hero-tagline {
      font-family: 'Cormorant Garamond', serif; font-style: italic;
      font-size: clamp(18px, 2.4vw, 28px); color: rgba(255,255,255,.5); margin-bottom: 1.5rem;
    }
    .hero-tagline strong { color: var(--blue); font-style: normal; font-weight: 600; }
    /* Bloc synthèse profil (lecture ultra-rapide) */
    .hero-facts {
      font-family: 'Syne', sans-serif; font-style: normal;
      list-style: none; margin: 0 0 1.6rem; padding: 0;
      display: flex; flex-direction: column; gap: .5rem; max-width: 560px;
    }
    .hero-facts li {
      position: relative; padding-left: 1.35rem;
      font-size: 1rem; line-height: 1.4; color: rgba(255,255,255,.72);
    }
    .hero-facts li::before {
      content: ''; position: absolute; left: 0; top: .5em;
      width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
    }
    .hero-facts strong { color: #fff; font-weight: 700; }
    .hero-facts .hf-main { color: #fff; font-weight: 600; }
    .hero-facts .hf-main::before { background: var(--orange); }
    .hero-facts .hf-main strong { color: var(--orange); }
    .hero-geo {
      display: flex; align-items: center; gap: .5rem;
      font-size: .82rem; font-weight: 700; letter-spacing: .05em;
      color: rgba(255,255,255,.3); margin-bottom: 3rem; flex-wrap: wrap;
    }
    .hero-geo .sep { color: var(--orange); }
    .hero-geo .dest { color: var(--blue); font-weight: 800; }
    .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
    /* Lien CV discret (CTA secondaire, moins dominant) */
    .btn-cvlink {
      display: inline-flex; align-items: center; gap: .35rem;
      font-size: .82rem; font-weight: 600; letter-spacing: .02em;
      color: rgba(255,255,255,.6); text-decoration: none;
      padding: .55rem .3rem; border-bottom: 1px solid transparent;
      transition: color var(--t), border-color var(--t);
    }
    .btn-cvlink:hover { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
    .btn {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .9rem 2.25rem;
      font-family: 'Syne', sans-serif; font-size: .78rem; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      text-decoration: none; border-radius: var(--rs); transition: var(--t);
      position: relative; overflow: hidden;
    }
    .btn-solid { background: white; color: var(--bg0); border: 2px solid white; }
    .btn-solid:hover { background: transparent; color: white; }
    .btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,.25); }
    .btn-ghost:hover { border-color: white; }
    .hero-scroll {
      position: absolute; bottom: 2.5rem; left: 3rem; z-index: 2;
      display: flex; align-items: center; gap: .875rem;
      font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
      color: rgba(255,255,255,.2);
    }
    .scroll-track { width: 44px; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
    .scroll-fill { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--orange); animation: sAnim 2.2s ease-in-out infinite; }
    @keyframes sAnim { 0% { left: -100%; } 50% { left: 0; } 100% { left: 100%; } }

    /* ── MARQUEE ────────────────────────── */
    .marquee { overflow: hidden; background: var(--bg1); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); padding: .85rem 0; }
    .mq-track { display: flex; white-space: nowrap; animation: mq 30s linear infinite; }
    .mq-item { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; flex-shrink: 0; font-family: 'Unbounded', sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); }
    .mq-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
    @keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ── SECTIONS ───────────────────────── */
    .sec { padding: 9rem 3rem; position: relative; overflow: hidden; }
    .sec-in { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
    .kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
    .kicker::before { content: ''; width: 20px; height: 2px; background: var(--blue); }
    .kicker.dim { color: rgba(255,255,255,.35); }
    .kicker.dim::before { background: rgba(255,255,255,.25); }
    .sec-title { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }

    /* ── REVEALS ────────────────────────── */
    .r  { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s ease; }
    .r.v { opacity: 1; transform: none; }
    .rx { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
    .rx.v { opacity: 1; transform: none; }
    .d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.45s}

    /* ── ABOUT (light) ──────────────────── */
    #about { background: var(--paper); color: var(--text); }
    #about .kicker { color: var(--blue); }
    #about .kicker::before { background: var(--blue); }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start; }
    .about-text { font-size: 1.0625rem; line-height: 1.82; color: var(--muted); }
    .about-text strong { color: var(--text); font-weight: 700; }
    .about-text + .about-text { margin-top: 1.25rem; }
    .j-list { display: flex; flex-direction: column; }
    .j-item { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid rgba(26,25,22,.08); }
    .j-item:last-child { border-bottom: none; }
    .j-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(26,25,22,.2); flex-shrink: 0; margin-top: .35rem; }
    .j-dot.c { background: var(--or-brand); border-color: var(--or-brand); box-shadow: 0 0 0 4px rgba(255,102,0,.15); }
    .j-dot.n { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,127,255,.15); }
    .j-title { font-size: .9375rem; font-weight: 700; margin-bottom: .25rem; color: var(--text); }
    .j-place { font-size: .8rem; color: var(--muted); }

    /* ── HACKMALO ───────────────────────── */
    #hackmalo { background: var(--bg0); }
    #hackmalo::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 55% 65% at 55% 50%, rgba(255,107,61,.1) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    .hm-badge {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .42rem 1rem; background: rgba(255,107,61,.1); border: 1px solid rgba(255,107,61,.22);
      border-radius: 100px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
      color: var(--orange); margin-bottom: 2rem;
    }
    .hm-badge::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
      animation: glowPulse 2s ease-in-out infinite;
    }
    @keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,61,.45); } 50% { box-shadow: 0 0 0 6px rgba(255,107,61,0); } }

    .hm-title {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(50px, 8.5vw, 112px); font-weight: 900;
      color: white; line-height: .9; letter-spacing: -.04em; margin-bottom: 2rem;
      position: relative; display: inline-block;
    }
    .hm-title .acc { color: var(--orange); }
    .hm-title-char { display: inline-block; }

    /* Glitch animation */
    @keyframes hmGlitch {
      0%,100% { text-shadow: none; transform: none; filter: none; }
      8%  { transform: translate(-3px,0) skewX(-3deg); text-shadow: 4px 0 rgba(74,127,255,.9), -4px 0 rgba(255,107,61,.9); }
      16% { transform: translate(4px,0) skewX(2deg);   text-shadow: -4px 0 rgba(74,127,255,.9), 4px 0 rgba(255,107,61,.9); }
      24% { transform: translate(-2px,0); text-shadow: 3px 0 rgba(74,127,255,.6); filter: blur(.3px); }
      32% { transform: none; text-shadow: none; filter: none; }
      42% { transform: translate(3px,-1px); text-shadow: -3px 0 rgba(255,107,61,.7); }
      52% { transform: translate(-1px,0) skewX(-1deg); text-shadow: 2px 0 rgba(74,127,255,.5); }
      62% { transform: none; text-shadow: none; }
      72% { transform: translate(2px,0); text-shadow: -2px 0 rgba(255,107,61,.45); }
      82% { transform: none; text-shadow: none; }
    }
    .hm-title.glitch { animation: hmGlitch .85s steps(1) 1; }

    .hm-desc { font-size: 1.125rem; color: rgba(255,255,255,.45); line-height: 1.78; max-width: 560px; margin-bottom: 4rem; }
    .hm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
    .hm-stat { padding: 1.75rem; background: rgba(255,255,255,.04); border: 1px solid var(--bd); border-radius: var(--r); }
    .hm-n { font-family: 'Unbounded', sans-serif; font-size: 2.75rem; font-weight: 900; color: white; line-height: 1; margin-bottom: .5rem; }
    .hm-n em { color: var(--orange); font-style: normal; }
    .hm-l { font-size: .78rem; color: rgba(255,255,255,.32); letter-spacing: .04em; }

    /* ── EXPERIENCE ─────────────────────── */
    #experience { background: var(--bg2); }
    .exp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; }
    .or-badge { padding: .875rem 1.5rem; background: var(--or-brand); border-radius: var(--rs); font-family: 'Unbounded', sans-serif; font-size: .875rem; font-weight: 900; color: white; letter-spacing: -.02em; flex-shrink: 0; }
    .exp-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; }
    .exp-meta { position: sticky; top: 8rem; }
    .exp-co { font-size: 1.625rem; font-weight: 800; margin-bottom: .4rem; }
    .exp-role-name { font-size: .9375rem; color: rgba(255,255,255,.45); margin-bottom: .25rem; }
    .exp-period { font-size: .8rem; color: rgba(255,255,255,.3); }
    .exp-cards { display: flex; flex-direction: column; gap: 1rem; }
    .exp-card { padding: 1.625rem; background: rgba(255,255,255,.04); border: 1px solid var(--bd); border-left: 3px solid var(--orange); border-radius: var(--r); transition: transform var(--t), background var(--t); }
    .exp-card:hover { transform: translateX(4px); background: rgba(255,255,255,.06); }
    .exp-card-t { font-size: .9375rem; font-weight: 700; margin-bottom: .4rem; }
    .exp-card-d { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.65; }

    /* ── PROJECTS — carousel 3D ─────────── */
    #projets { background: var(--bg1); padding: 7rem 0 5rem; }
    .proj-hd { max-width: 1200px; margin: 0 auto; padding: 0 3rem 3rem; }

    .car-scene {
      position: relative; height: 520px;
      display: flex; align-items: center;
      max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    }
    .car-mask {
      flex: 1; height: 100%;
      position: relative; overflow: hidden;
      display: flex; align-items: center;
      mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    .car {
      display: flex; align-items: center; gap: 30px;
      will-change: transform;
      transform: translate3d(0,0,0);
    }
    .c-card {
      position: relative;
      flex: 0 0 310px;
      width: 310px; height: 450px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.09);
      border-radius: var(--r); overflow: hidden;
      display: flex; flex-direction: column;
      opacity: .4; cursor: pointer;
      transform: scale(.86);
      transition: opacity .5s var(--t), transform .5s var(--t), border-color .3s ease, box-shadow .3s ease;
    }
    .c-card.vis    { opacity: .62; transform: scale(.9); }
    .c-card.active { opacity: 1; transform: scale(1); border-color: rgba(255,255,255,.22); box-shadow: 0 28px 70px rgba(0,0,0,.55); }

    .cv-vis { height: 165px; position: relative; overflow: hidden; flex-shrink: 0; }
    .cv-bg  { position: absolute; inset: 0; transition: filter .4s; }
    .c-card.active .cv-bg { filter: brightness(1.1) saturate(1.1); }
    .cv-num {
      position: absolute; bottom: -.15em; left: .06em;
      font-family: 'Unbounded', sans-serif; font-size: 7rem; font-weight: 900;
      color: rgba(255,255,255,.1); line-height: 1;
      pointer-events: none; user-select: none; letter-spacing: -.04em;
    }
    .cv-badge {
      position: absolute; top: .875rem; right: .875rem;
      font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
      padding: .22rem .65rem; border-radius: 100px;
      background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
      color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.14);
    }
    .cv-chain { position: absolute; bottom: .875rem; left: 1rem; display: flex; align-items: center; gap: .28rem; flex-wrap: wrap; }
    .cc-step { font-size: .58rem; font-weight: 700; padding: .15rem .48rem; border-radius: 3px; background: rgba(255,255,255,.17); color: white; }
    .cc-arr  { color: rgba(255,255,255,.35); font-size: .72rem; }

    .cv-cnt  { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
    .cv-name { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .4rem; line-height: 1.2; }
    .cv-desc { font-size: .825rem; color: rgba(255,255,255,.42); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
    .cv-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; }
    .ptag    { padding: .2rem .62rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; font-size: .67rem; font-weight: 600; color: rgba(255,255,255,.38); }

    .car-btn {
      flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      color: white; font-size: 1.05rem;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background var(--t), transform var(--t);
      position: relative; z-index: 10; margin: 0 1.5rem;
    }
    .car-btn:hover { background: rgba(255,255,255,.14); transform: scale(1.08); }

    .car-dots { display: flex; justify-content: center; gap: .625rem; padding: 2.25rem 0 0; }
    .car-dot {
      height: 8px; width: 8px; border-radius: 4px;
      background: rgba(255,255,255,.2); border: none;
      cursor: pointer; transition: width .35s var(--t), background .3s;
    }
    .car-dot.act { width: 28px; background: white; }

    /* ── SKILLS ─────────────────────────── */
    #competences { background: var(--bg3); }
    .comp-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 3rem; }
    .comp-group { padding: 2rem; background: rgba(255,255,255,.04); border: 1px solid var(--bd); border-radius: var(--r); }
    .comp-t { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; padding-bottom: .875rem; border-bottom: 1px solid rgba(255,255,255,.07); }
    .comp-t.b { color: var(--blue); } .comp-t.o { color: var(--orange); } .comp-t.g { color: var(--green); } .comp-t.p { color: var(--purple); }
    .comp-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
    .ctag { padding: .32rem .825rem; background: rgba(255,255,255,.05); border: 1px solid var(--bd); border-radius: 100px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55); transition: var(--t); cursor: default; }
    .ctag:hover { background: rgba(74,127,255,.15); border-color: rgba(74,127,255,.3); color: var(--blue); }

    /* ── JUDO ───────────────────────────── */
    #judo { background: var(--bgJ); }
    #judo::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 70% at 80% 20%, rgba(46,173,107,.1) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    .judo-bg-word {
      position: absolute;
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(110px, 22vw, 290px); font-weight: 900;
      color: rgba(255,255,255,.022);
      top: 50%; right: -3%;
      transform: translateY(-50%);
      pointer-events: none; user-select: none;
      white-space: nowrap; letter-spacing: -.04em;
      z-index: 0; will-change: transform;
    }
    /* ── JUDO — refonte storytelling ────── */
    .judo-hero {
      display: grid; grid-template-columns: 1.1fr 1fr;
      gap: 5rem; align-items: center;
      margin-bottom: 5rem;
    }
    .judo-title {
      font-size: clamp(34px, 5vw, 64px); font-weight: 800;
      line-height: 1.02; letter-spacing: -.04em;
      margin-bottom: 1.5rem; color: white;
    }
    .judo-title em {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic; font-weight: 400;
      color: rgba(255,255,255,.55);
    }
    .judo-lead {
      font-size: 1rem; color: rgba(255,255,255,.55);
      line-height: 1.78; max-width: 480px;
      margin-bottom: 2.25rem;
    }
    .judo-lead strong { color: white; font-weight: 700; }

    .judo-mini {
      display: flex; gap: 2rem; padding-top: 1.5rem;
      border-top: 1px solid rgba(255,255,255,.1);
    }
    .jm-item {}
    .jm-n {
      font-family: 'Unbounded', sans-serif;
      font-size: 1.75rem; font-weight: 900;
      color: white; line-height: 1; margin-bottom: .35rem;
      letter-spacing: -.02em;
    }
    .jm-l {
      font-size: .68rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: rgba(255,255,255,.4);
    }

    /* Big belt visual + label */
    .judo-belt-wrap {
      position: relative;
      padding: 2.5rem;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 20px;
      will-change: transform;
    }
    .belt-large {
      position: relative; height: 110px;
      background: linear-gradient(180deg, #0F0F0F 0%, #060606 100%);
      border-radius: 12px;
      box-shadow: 0 16px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
      overflow: hidden;
      margin-bottom: 1.5rem;
      display: flex; align-items: center; justify-content: center;
    }
    .belt-large::before {
      content: ''; position: absolute; inset: 28% 0; background: #131313;
    }
    .belt-large::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%);
    }
    .belt-large-txt {
      font-family: 'Unbounded', sans-serif;
      font-size: 1rem; font-weight: 900;
      color: white; letter-spacing: .14em;
      position: relative; z-index: 2;
    }
    .belt-tip {
      position: absolute; top: 50%; right: 1.5rem;
      transform: translateY(-50%);
      width: 18px; height: 56px;
      background: #1A1A1A;
      border-radius: 2px;
      box-shadow: 0 2px 8px rgba(0,0,0,.4);
      z-index: 2;
    }
    .belt-meta {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }
    .belt-meta-i {}
    .belt-meta-l {
      font-size: .62rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: rgba(255,255,255,.35); margin-bottom: .35rem;
    }
    .belt-meta-v {
      font-size: .9rem; font-weight: 700; color: white;
    }

    /* Quote pivot */
    .judo-quote {
      max-width: 780px; margin: 0 auto 5rem;
      text-align: center;
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: clamp(20px, 2.4vw, 30px);
      line-height: 1.45;
      color: rgba(255,255,255,.7);
      position: relative;
      padding: 0 1rem;
    }
    .judo-quote::before, .judo-quote::after {
      content: '"';
      font-family: 'Cormorant Garamond', serif;
      font-style: normal; font-size: 4rem; font-weight: 700;
      color: var(--green);
      opacity: .35; line-height: 1;
      position: absolute;
    }
    .judo-quote::before { top: -.5em; left: -.2em; }
    .judo-quote::after  { bottom: -1em; right: -.2em; }
    .judo-quote-author {
      display: block; margin-top: 1.25rem;
      font-family: 'Syne', sans-serif;
      font-style: normal; font-size: .72rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: rgba(255,255,255,.4);
    }

    /* Parallèles Judo ↔ Cyber */
    .judo-parallels-label {
      text-align: center;
      font-size: .72rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: rgba(255,255,255,.4); margin-bottom: 2rem;
    }
    .judo-parallels {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem; margin-bottom: 5rem;
    }
    .jpar {
      padding: 1.75rem;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 14px;
      position: relative; overflow: hidden;
      transition: border-color var(--t), transform var(--t);
    }
    .jpar:hover { border-color: rgba(46,173,107,.4); transform: translateY(-4px); }
    .jpar-pair {
      display: flex; align-items: center; gap: .75rem;
      font-family: 'Unbounded', sans-serif;
      font-size: .65rem; font-weight: 900;
      letter-spacing: .08em; text-transform: uppercase;
      margin-bottom: 1rem;
    }
    .jpar-judo { color: rgba(46,173,107,.9); }
    .jpar-cyber { color: var(--purple); }
    .jpar-arr  { color: rgba(255,255,255,.3); font-size: .7rem; }
    .jpar-title {
      font-size: 1.0625rem; font-weight: 800;
      color: white; letter-spacing: -.01em; margin-bottom: .6rem;
      line-height: 1.25;
    }
    .jpar-desc {
      font-size: .84rem; color: rgba(255,255,255,.5);
      line-height: 1.65;
    }

    /* Rôles officiels — bandeau */
    .judo-roles-label {
      display: flex; align-items: center; gap: 1rem;
      font-size: .72rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: rgba(255,255,255,.4); margin-bottom: 1.5rem;
    }
    .judo-roles-label::before, .judo-roles-label::after {
      content: ''; flex: 1; height: 1px;
      background: rgba(255,255,255,.1);
    }
    .judo-roles {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .jrole {
      padding: 1.25rem 1.375rem;
      background: rgba(46,173,107,.06);
      border: 1px solid rgba(46,173,107,.15);
      border-radius: 12px;
    }
    .jrole-tag {
      display: inline-block;
      font-size: .6rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      padding: .2rem .55rem;
      background: rgba(46,173,107,.15);
      color: var(--green);
      border-radius: 100px;
      margin-bottom: .8rem;
    }
    .jrole-name {
      font-size: .95rem; font-weight: 700;
      color: white; margin-bottom: .35rem;
      line-height: 1.25;
    }
    .jrole-desc {
      font-size: .78rem; color: rgba(255,255,255,.45);
      line-height: 1.55;
    }

    @media (max-width: 960px) {
      .judo-hero { grid-template-columns: 1fr; gap: 3rem; }
      .judo-belt-wrap { padding: 1.75rem; }
      .judo-parallels, .judo-roles { grid-template-columns: 1fr; }
      .judo-mini { flex-wrap: wrap; gap: 1.25rem; }
      .judo-quote { margin-bottom: 3rem; padding: 0 1rem; font-size: 1.15rem; }
      .judo-quote::before { font-size: 2.5rem; top: -.3em; }
      .judo-quote::after  { font-size: 2.5rem; bottom: -.6em; }
    }

    /* ── CONTACT ────────────────────────── */
    #contact { background: var(--bg0); }
    #contact::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 55% 65% at 85% 50%, rgba(74,127,255,.09) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
    .contact-title { font-size: clamp(34px, 5.5vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 1.5rem; }
    .contact-title span { color: var(--orange); }
    .contact-sub { font-size: 1rem; color: rgba(255,255,255,.38); line-height: 1.78; margin-bottom: 2.75rem; }
    .contact-cta { display: inline-flex; align-items: center; gap: .75rem; padding: 1.125rem 2.25rem; background: var(--orange); color: white; border-radius: var(--r); font-family: 'Syne', sans-serif; font-size: .9375rem; font-weight: 700; text-decoration: none; transition: transform var(--t), box-shadow var(--t); }
    .contact-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,107,61,.35); }
    .clinks { display: flex; flex-direction: column; gap: .875rem; }
    .clink { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: rgba(255,255,255,.05); border: 1px solid var(--bd); border-radius: var(--r); color: white; text-decoration: none; transition: background var(--t), transform var(--t); }
    .clink:hover { background: rgba(255,255,255,.08); transform: translateX(5px); }
    .clink-ico { width: 42px; height: 42px; background: rgba(255,255,255,.07); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; }
    .clink-meta { flex: 1; }
    .clink-l { font-size: .67rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
    .clink-v { font-size: .9375rem; font-weight: 700; }
    .clink-email:hover { transform: none; background: rgba(255,255,255,.05); }
    .clink-act {
      flex-shrink: 0; font-family: 'Syne', sans-serif;
      font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
      padding: .42rem .8rem; border-radius: 100px;
      border: 1px solid var(--bd); background: rgba(255,255,255,.05);
      color: #fff; text-decoration: none; cursor: pointer;
      transition: background var(--t), border-color var(--t), color var(--t);
    }
    .clink-act:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
    .clink-act.copied { color: var(--green); border-color: var(--green); }

    /* ── FOOTER ─────────────────────────── */
    footer { background: var(--bg0); border-top: 1px solid var(--bd); padding: 1.75rem 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
    .foot-l { font-family: 'Unbounded', sans-serif; font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.2); }
    .foot-r { font-size: .73rem; color: rgba(255,255,255,.16); }

    /* ── RESPONSIVE ─────────────────────── */
    @media (max-width: 960px) {
      nav { padding: 1.25rem 1.5rem; }
      nav.on { padding: .9rem 1.5rem; }
      .nav-links { display: none; }
      .nav-burger { display: flex; }
      .sec { padding: 7rem 1.5rem; }
      .hero-inner, .proj-header, .proj-meta { padding-left: 1.5rem; padding-right: 1.5rem; }
      .proj-track { padding: 1rem 1.5rem 5rem; }
      footer { padding: 1.5rem; }
      .about-grid, .exp-grid, .judo-grid, .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
      .exp-meta { position: static; }
      .exp-top { flex-direction: column; align-items: flex-start; }
      .hm-stats { grid-template-columns: 1fr; }
      .comp-grid { grid-template-columns: 1fr; }
      .judo-side { order: -1; }
      .judo-bg-word { display: none; }
      .c-card { flex-basis: 260px; width: 260px; height: 400px; }
      .car { gap: 20px; }
      .car-scene { height: 460px; }
      .car-btn { margin: 0 .75rem; width: 40px; height: 40px; font-size: .9rem; }
    }
    @media (max-width: 520px) {
      .hero-name .ln1, .hero-name .ln2 { font-size: clamp(52px, 14vw, 90px); }
      .form-row { grid-template-columns: 1fr; }
      /* Hero mobile : extensible (jamais coupé) + CTA pleine largeur tactile */
      #hero { height: auto; min-height: 100vh; padding: 6.5rem 0 3.5rem; }
      .hero-eyebrow { margin-bottom: 1.25rem; }
      .hero-facts { margin-bottom: 1.25rem; }
      .hero-geo { margin-bottom: 2rem; }
      .hero-cta { width: 100%; gap: .75rem; }
      .hero-cta .btn { flex: 1 1 100%; justify-content: center; padding: 1rem 1.5rem; }
      .btn-cvlink { width: 100%; justify-content: center; padding: .4rem 0 0; }
    }

    /* ── GRAIN ──────────────────────────── */
    #grain {
      position: fixed; inset: 0; z-index: 9997;
      pointer-events: none; opacity: .03;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 300px 300px;
    }

    /* ── NAV PILL ───────────────────────── */
    .nav-links { position: relative; }
    #navPill {
      position: absolute;
      height: 30px; border-radius: 100px;
      background: rgba(255,255,255,.1);
      pointer-events: none;
      top: 50%; transform: translateY(-50%);
      transition: left .38s cubic-bezier(.25,.46,.45,.94),
                  width .38s cubic-bezier(.25,.46,.45,.94),
                  opacity .25s ease;
      opacity: 0;
    }

    /* ── FORM ───────────────────────────── */
    .contact-form { margin-top: .25rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; margin-bottom: .875rem; }
    .form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .875rem; }
    .form-group:last-of-type { margin-bottom: 0; }
    .form-group label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.32); }
    .form-group input,
    .form-group textarea {
      background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--rs); padding: .85rem 1rem;
      color: white; font-family: 'Syne', sans-serif; font-size: .9rem;
      transition: border-color .2s, background .2s; resize: none; width: 100%;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,.2); }
    .form-group input:focus, .form-group textarea:focus {
      outline: none; border-color: rgba(255,255,255,.25);
      background: rgba(255,255,255,.08);
    }
    .form-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
    .form-btn {
      display: inline-flex; align-items: center; gap: .625rem;
      padding: .875rem 1.75rem; background: white; color: var(--bg0);
      border: none; border-radius: var(--rs);
      font-family: 'Syne', sans-serif; font-size: .8rem; font-weight: 700;
      letter-spacing: .06em; text-transform: uppercase;
      cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s;
    }
    .form-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.12); }
    .form-btn:disabled { opacity: .5; pointer-events: none; }
    .form-status { font-size: .82rem; font-weight: 600; }
    .form-status.ok  { color: var(--green); }
    .form-status.err { color: var(--orange); }

    /* ── SKILLS — case study cards ──────── */
    .comp-intro {
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 3rem; flex-wrap: wrap;
      padding-top: 1rem;
    }
    .comp-intro-line {
      flex: 1; min-width: 80px;
      height: 1px; background: var(--border);
    }
    .comp-intro-text {
      font-size: .82rem; color: var(--fg-soft);
      font-style: italic;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem; line-height: 1.5;
    }
    .comp-intro-text strong { color: var(--fg); font-style: normal; font-weight: 700; font-family: 'Syne', sans-serif; font-size: .82rem; }

    .comp-grid {
      display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }

    .skill-card {
      position: relative;
      padding: 2rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      transition: border-color var(--t), transform var(--t), box-shadow var(--t);
      display: flex; flex-direction: column;
    }
    .skill-card::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 80% at 100% 0%, var(--accent-glow, transparent) 0%, transparent 60%);
      opacity: 0; transition: opacity .5s ease;
      pointer-events: none;
    }
    .skill-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 18px 50px rgba(0,0,0,.25);
    }
    .skill-card:hover::before { opacity: 1; }

    .skill-card.cat-net  { --accent: var(--blue);   --accent-glow: rgba(74,127,255,.16); }
    .skill-card.cat-sys  { --accent: var(--orange); --accent-glow: rgba(255,107,61,.16); }
    .skill-card.cat-sec  { --accent: var(--purple); --accent-glow: rgba(155,109,255,.16); }
    .skill-card.cat-dev  { --accent: var(--green);  --accent-glow: rgba(46,173,107,.16); }

    .skill-head {
      display: flex; align-items: flex-start; gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .skill-ico {
      width: 46px; height: 46px;
      border-radius: 12px;
      background: var(--accent-glow);
      border: 1px solid var(--accent);
      color: var(--accent);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .skill-ico svg { width: 22px; height: 22px; }
    .skill-meta { flex: 1; min-width: 0; }
    .skill-n {
      font-family: 'Unbounded', sans-serif;
      font-size: .62rem; font-weight: 900;
      letter-spacing: .1em;
      color: var(--accent); margin-bottom: .2rem;
    }
    .skill-name {
      font-size: 1.25rem; font-weight: 800;
      letter-spacing: -.02em; line-height: 1.1;
      color: var(--fg);
    }

    .skill-tagline {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic; font-size: 1.05rem;
      color: var(--fg-soft); line-height: 1.5;
      margin-bottom: 1.5rem;
      padding-left: 1rem;
      border-left: 2px solid var(--accent);
    }

    .skill-signature {
      font-size: .65rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: .6rem;
    }
    .skill-sig-tags {
      display: flex; flex-wrap: wrap; gap: .4rem;
      margin-bottom: 1.5rem;
    }
    .sig-tag {
      padding: .35rem .8rem;
      background: var(--accent-glow);
      border: 1px solid var(--accent);
      border-radius: 100px;
      font-size: .78rem; font-weight: 700;
      color: var(--accent);
    }

    .skill-stack-l {
      font-size: .65rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: .6rem;
    }
    .skill-stack {
      display: flex; flex-wrap: wrap; gap: .35rem;
      margin-bottom: 1.5rem;
    }
    .skill-stack .ctag {
      padding: .25rem .65rem; font-size: .72rem;
    }

    .skill-proof {
      margin-top: auto;
      padding-top: 1.25rem;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      gap: 1rem; text-decoration: none;
      color: var(--fg-soft); transition: color var(--t);
    }
    .skill-proof:hover { color: var(--accent); }
    .skill-proof-l {
      font-size: .68rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--fg-dim);
    }
    .skill-proof-v {
      font-size: .85rem; font-weight: 700;
    }
    .skill-proof-arr {
      font-size: 1.1rem; color: var(--accent);
      transition: transform var(--t);
    }
    .skill-proof:hover .skill-proof-arr { transform: translateX(4px); }

    @media (max-width: 720px) {
      .comp-grid { grid-template-columns: 1fr; }
      .skill-card { padding: 1.625rem; }
      .skill-tagline { font-size: .95rem; }
    }

    /* ── FOOTER SOCIALS ─────────────────── */
    footer { justify-content: space-between; }
    .foot-socials { display: flex; gap: .625rem; }
    .foot-soc {
      width: 30px; height: 30px; border-radius: var(--rs);
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
      color: rgba(255,255,255,.38); text-decoration: none;
      display: flex; align-items: center; justify-content: center;
      font-size: .75rem; font-weight: 700;
      font-family: 'Unbounded', sans-serif;
      transition: background var(--t), color var(--t), border-color var(--t);
    }
    .foot-soc:hover { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.2); }

    /* ── PROJECT DETAIL PANEL ───────────── */
    .proj-detail {
      max-width: 1200px; margin: 0 auto;
      padding: 2.25rem 3rem 5rem;
      display: grid; grid-template-columns: 1fr auto;
      gap: 3rem; align-items: start;
      border-top: 1px solid var(--bd);
      transition: opacity .35s ease;
    }
    .proj-detail.fading { opacity: 0; }
    .pd-badge {
      display: inline-block; font-size: .67rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: rgba(255,255,255,.38); margin-bottom: .875rem;
    }
    .pd-name {
      font-size: clamp(22px, 3vw, 34px); font-weight: 800;
      letter-spacing: -.02em; margin-bottom: .875rem;
    }
    .pd-desc {
      font-size: .9375rem; color: rgba(255,255,255,.48); line-height: 1.78;
      max-width: 620px; margin-bottom: 1.25rem;
    }
    /* Bloc preuve : Problème / Construit / Impact */
    .pd-proof {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
      max-width: 760px; margin: 0 0 1.5rem;
      padding: 1.25rem 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
    }
    .pd-proof-label {
      font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      margin-bottom: .5rem;
    }
    .pd-proof-label.b { color: var(--blue); } .pd-proof-label.p { color: var(--purple); } .pd-proof-label.o { color: var(--orange); }
    .pd-proof-val { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.62); }
    @media (max-width: 720px) {
      .pd-proof { grid-template-columns: 1fr; gap: 1.1rem; }
    }
    [data-theme="light"] .pd-proof-val { color: var(--fg-soft); }
    .pd-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
    .pd-actions { display: flex; flex-direction: column; gap: .625rem; min-width: 170px; }
    .pd-link {
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      padding: .8rem 1.125rem;
      background: rgba(255,255,255,.05); border: 1px solid var(--bd);
      border-radius: var(--rs); color: white; text-decoration: none;
      font-size: .8rem; font-weight: 600; white-space: nowrap;
      transition: background var(--t), border-color var(--t), transform var(--t);
    }
    .pd-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: translateX(3px); }
    .pd-arr { opacity: .45; }
    @media (max-width: 960px) {
      .proj-detail { grid-template-columns: 1fr; gap: 1.5rem; }
      .pd-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
      .proj-detail { padding: 1.75rem 1.5rem 4rem; }
    }

    /* ── DISPO PILL (hero) ──────────────── */
    .dispo {
      display: inline-flex; align-items: center; gap: .65rem;
      padding: .42rem 1rem .42rem .85rem;
      background: rgba(46,173,107,.1);
      border: 1px solid rgba(46,173,107,.3);
      border-radius: 100px;
      font-size: .72rem; font-weight: 700;
      letter-spacing: .04em;
      color: var(--green);
      margin-bottom: 1.75rem;
    }
    .dispo-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--green); flex-shrink: 0;
      animation: dispoP 2s ease-in-out infinite;
    }
    @keyframes dispoP {
      0%,100% { box-shadow: 0 0 0 0 rgba(46,173,107,.55); }
      50%      { box-shadow: 0 0 0 7px rgba(46,173,107,0); }
    }
    .dispo strong { color: var(--green); font-weight: 800; }

    /* ── NAV ACTIONS (theme toggle + burger groupés) ── */
    .nav-actions {
      display: flex; align-items: center; gap: .5rem;
      flex-shrink: 0;
    }
    @media (max-width: 960px) { .nav-actions { margin-left: auto; } }

    /* ── THEME TOGGLE ───────────────────── */
    .theme-toggle {
      width: 38px; height: 38px; border-radius: 50%;
      background: var(--surface-2); border: 1px solid var(--border);
      color: var(--fg); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background var(--t), border-color var(--t), transform var(--t);
      flex-shrink: 0;
      position: relative; overflow: hidden;
    }
    .theme-toggle:hover { background: var(--surface-3); border-color: var(--fg-ghost); transform: scale(1.06); }
    @media (max-width: 960px) {
      .theme-toggle { width: 34px; height: 34px; }
      .theme-toggle svg { width: 14px; height: 14px; }
    }
    .theme-toggle svg {
      width: 16px; height: 16px;
      transition: transform .5s cubic-bezier(.25,.46,.45,.94), opacity .3s ease;
    }
    .theme-toggle .icon-sun  { position: absolute; }
    .theme-toggle .icon-moon { position: absolute; }
    [data-theme="light"] .theme-toggle .icon-sun  { opacity: 0; transform: rotate(180deg) scale(.5); }
    [data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0)        scale(1); }
    .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0)        scale(1); }
    .theme-toggle .icon-moon { opacity: 0; transform: rotate(-180deg) scale(.5); }

    /* ═══════════════════════════════════════
       THÈME CLAIR — overrides
       ═══════════════════════════════════════ */
    [data-theme="light"] body { color: var(--fg); }

    /* Hero — masquer canvas 3D + lettres outline plus contrastées */
    [data-theme="light"] #hero::after {
      background: linear-gradient(108deg, rgba(245,242,236,.96) 0%, rgba(245,242,236,.72) 38%, rgba(245,242,236,.12) 65%, transparent 100%);
    }
    [data-theme="light"] .hero-name .ln1 { color: var(--fg); }
    [data-theme="light"] .hero-name .ln2 { -webkit-text-stroke: 2px rgba(26,25,22,.55); }
    [data-theme="light"] .hero-eyebrow,
    [data-theme="light"] .hero-geo { color: var(--fg-dim); }
    [data-theme="light"] .hero-tagline { color: var(--fg-soft); }
    [data-theme="light"] .hero-facts li { color: var(--fg-soft); }
    [data-theme="light"] .hero-facts strong, [data-theme="light"] .hero-facts .hf-main { color: var(--fg); }
    [data-theme="light"] .btn-cvlink { color: var(--fg-soft); }
    [data-theme="light"] .btn-cvlink:hover { color: var(--fg); border-bottom-color: var(--fg-ghost); }
    [data-theme="light"] .hero-scroll { color: var(--fg-ghost); }
    [data-theme="light"] .scroll-track { background: rgba(26,25,22,.15); }

    /* Buttons */
    [data-theme="light"] .btn-solid { background: var(--fg); color: var(--bg0); border-color: var(--fg); }
    [data-theme="light"] .btn-solid:hover { background: transparent; color: var(--fg); }
    [data-theme="light"] .btn-ghost { color: var(--fg); border-color: rgba(26,25,22,.25); }
    [data-theme="light"] .btn-ghost:hover { border-color: var(--fg); }

    /* Nav */
    [data-theme="light"] nav.on {
      background: rgba(245,242,236,.92);
      border-bottom-color: var(--border);
    }
    [data-theme="light"] .nav-logo { color: var(--fg); }
    [data-theme="light"] .nav-links a { color: var(--fg-dim); }
    [data-theme="light"] .nav-links a:hover,
    [data-theme="light"] .nav-links a.act { color: var(--fg); }
    [data-theme="light"] #navPill { background: rgba(26,25,22,.08); }
    [data-theme="light"] .nav-burger span { background: var(--fg); }
    [data-theme="light"] .nav-mobile { background: var(--bg0); }
    [data-theme="light"] .nav-mobile a { color: var(--fg); }

    /* Marquee */
    [data-theme="light"] .marquee { background: var(--bg1); border-color: var(--border); }
    [data-theme="light"] .mq-item { color: var(--fg-dim); }

    /* About — déjà clair en sombre, en mode clair on inverse */
    [data-theme="light"] #about { background: var(--bg3); color: var(--fg); }
    [data-theme="light"] .about-text { color: var(--fg-soft); }
    [data-theme="light"] .j-item { border-bottom-color: var(--border); }
    [data-theme="light"] .j-title { color: var(--fg); }
    [data-theme="light"] .j-place { color: var(--fg-dim); }

    /* HackMalo en clair */
    [data-theme="light"] #hackmalo { background: var(--bg2); }
    [data-theme="light"] #hackmalo::before {
      background: radial-gradient(ellipse 55% 65% at 55% 50%, rgba(224,74,26,.1) 0%, transparent 65%);
    }
    [data-theme="light"] .hm-title { color: var(--fg); }
    [data-theme="light"] .hm-desc  { color: var(--fg-soft); }
    [data-theme="light"] .hm-stat  { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .hm-n     { color: var(--fg); }
    [data-theme="light"] .hm-l     { color: var(--fg-dim); }

    /* Experience */
    [data-theme="light"] #experience { background: var(--bg1); }
    [data-theme="light"] .exp-co       { color: var(--fg); }
    [data-theme="light"] .exp-role-name { color: var(--fg-soft); }
    [data-theme="light"] .exp-period   { color: var(--fg-dim); }
    [data-theme="light"] .exp-card     { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .exp-card:hover { background: var(--surface-2); }
    [data-theme="light"] .exp-card-t   { color: var(--fg); }
    [data-theme="light"] .exp-card-d   { color: var(--fg-soft); }

    /* Projets */
    [data-theme="light"] #projets { background: var(--bg2); }
    [data-theme="light"] .c-card  { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .c-card.active { border-color: rgba(26,25,22,.28); box-shadow: 0 28px 70px rgba(26,25,22,.18); }
    [data-theme="light"] .cv-name { color: var(--fg); }
    [data-theme="light"] .cv-desc { color: var(--fg-soft); }
    [data-theme="light"] .ptag    { background: var(--surface-2); border-color: var(--border); color: var(--fg-soft); }
    [data-theme="light"] .car-btn { background: var(--surface-2); border-color: var(--border); color: var(--fg); }
    [data-theme="light"] .car-btn:hover { background: var(--surface-3); }
    [data-theme="light"] .car-dot { background: rgba(26,25,22,.25); }
    [data-theme="light"] .car-dot.act { background: var(--fg); }
    [data-theme="light"] .proj-detail { border-top-color: var(--border); }
    [data-theme="light"] .pd-badge { color: var(--fg-dim); }
    [data-theme="light"] .pd-name  { color: var(--fg); }
    [data-theme="light"] .pd-desc  { color: var(--fg-soft); }
    [data-theme="light"] .pd-link  { background: var(--surface); border-color: var(--border); color: var(--fg); }
    [data-theme="light"] .pd-link:hover { background: var(--surface-2); border-color: var(--fg-ghost); }

    /* Compétences */
    [data-theme="light"] #competences { background: var(--bg3); }
    [data-theme="light"] .now-banner   { background: var(--bg2); border-color: var(--border); }
    [data-theme="light"] .hm-panel     { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .hm-panel h3, [data-theme="light"] .hm-list-num li strong { color: var(--fg); }
    [data-theme="light"] .hm-panel p, [data-theme="light"] .hm-list li, [data-theme="light"] .hm-list-num li { color: var(--fg-soft); }
    [data-theme="light"] .hm-panel strong { color: var(--fg); }
    [data-theme="light"] .lc-card      { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .lc-card:hover { background: var(--surface-2); }
    [data-theme="light"] .reco-wrap    { border-top-color: var(--border); }
    [data-theme="light"] .reco-quote   { color: var(--fg-soft); }
    [data-theme="light"] .comp-intro-line { background: var(--border); }
    [data-theme="light"] .skill-card  { background: var(--surface); border-color: var(--border); }
    [data-theme="light"] .skill-name  { color: var(--fg); }
    [data-theme="light"] .skill-tagline { color: var(--fg-soft); }
    [data-theme="light"] .skill-proof { border-top-color: var(--border); color: var(--fg-soft); }
    [data-theme="light"] .skill-proof-l { color: var(--fg-dim); }
    [data-theme="light"] .ctag { background: var(--surface); border-color: var(--border); color: var(--fg-soft); }
    [data-theme="light"] .ctag:hover { background: rgba(27,79,204,.1); border-color: rgba(27,79,204,.3); color: var(--blue); }

    /* Judo — reste foncé même en thème clair (intentionnel, contraste) */
    [data-theme="light"] #judo { background: #143020; }
    /* (laissé sombre — c'est une touche cinéma) */

    /* Contact */
    [data-theme="light"] #contact { background: var(--bg1); }
    [data-theme="light"] .contact-title { color: var(--fg); }
    [data-theme="light"] .contact-sub   { color: var(--fg-soft); }
    [data-theme="light"] .clink         { background: var(--surface); border-color: var(--border); color: var(--fg); }
    [data-theme="light"] .clink:hover   { background: var(--surface-2); }
    [data-theme="light"] .clink-ico     { background: var(--surface-2); }
    [data-theme="light"] .clink-l       { color: var(--fg-dim); }
    [data-theme="light"] .clink-act     { color: var(--fg); border-color: var(--border); background: var(--surface-2); }
    [data-theme="light"] .clink-act:hover { background: var(--surface-3); border-color: var(--fg-ghost); }

    /* Form */
    [data-theme="light"] .form-group label { color: var(--fg-dim); }
    [data-theme="light"] .form-group input,
    [data-theme="light"] .form-group textarea {
      background: var(--surface); border-color: var(--border); color: var(--fg);
    }
    [data-theme="light"] .form-group input::placeholder,
    [data-theme="light"] .form-group textarea::placeholder { color: var(--fg-ghost); }
    [data-theme="light"] .form-group input:focus,
    [data-theme="light"] .form-group textarea:focus {
      border-color: rgba(26,25,22,.3); background: var(--surface-2);
    }
    [data-theme="light"] .form-btn { background: var(--fg); color: white; }

    /* Footer */
    [data-theme="light"] footer { background: var(--bg1); border-top-color: var(--border); }
    [data-theme="light"] .foot-l { color: var(--fg-dim); }
    [data-theme="light"] .foot-r { color: var(--fg-ghost); }
    [data-theme="light"] .foot-soc { background: var(--surface); border-color: var(--border); color: var(--fg-soft); }
    [data-theme="light"] .foot-soc:hover { background: var(--surface-2); color: var(--fg); border-color: var(--fg-ghost); }

    /* Loader / progress / cursor en clair */
    [data-theme="light"] #loader { background: var(--bg0); }
    [data-theme="light"] .ld-m { color: var(--fg); }
    [data-theme="light"] .ld-b { -webkit-text-stroke-color: rgba(26,25,22,.65); }
    [data-theme="light"] .ld-sub { color: var(--fg-dim); }
    [data-theme="light"] #cur {
      background: white;
      box-shadow: 0 0 0 1.5px rgba(255,255,255,.45), 0 0 12px rgba(0,0,0,.25);
    }
    [data-theme="light"] #cur-ring {
      border-color: rgba(26,25,22,.55);
      box-shadow: 0 0 0 .5px rgba(255,255,255,.4), inset 0 0 0 .5px rgba(255,255,255,.3);
    }

    /* Cursor on cards — keep readable */
    [data-theme="light"] body:has(a:hover, button:hover) #cur {
      background: var(--orange);
      box-shadow: 0 0 0 2px rgba(255,255,255,.6), 0 0 20px rgba(224,74,26,.45);
    }
    [data-theme="light"] body:has(a:hover, button:hover) #cur-ring {
      border-color: var(--orange);
      background: rgba(224,74,26,.06);
    }

    /* Grain — atténué en thème clair (sinon trop visible) */
    [data-theme="light"] #grain { opacity: .025; }

    /* Ambient layers en clair — tonalités plus douces */
    [data-theme="light"] #amb-blue   { background: radial-gradient(ellipse 70% 70% at 65% 40%, rgba(27,79,204,.07) 0%, transparent 70%); }
    [data-theme="light"] #amb-orange { background: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(224,74,26,.06) 0%, transparent 65%); }
    [data-theme="light"] #amb-green  { background: radial-gradient(ellipse 65% 65% at 60% 50%, rgba(26,107,60,.07) 0%, transparent 65%); }
    [data-theme="light"] #amb-purple { background: radial-gradient(ellipse 65% 65% at 55% 55%, rgba(110,62,224,.05) 0%, transparent 65%); }

    /* Disable transitions during theme switch */
    .theme-switching, .theme-switching *,
    .theme-switching *::before, .theme-switching *::after { transition: none !important; }

    /* ═══════════════════════════════════════
       SECTION TRAJET — carte interactive
       ═══════════════════════════════════════ */
    #trajet {
      background: var(--bg2);
      position: relative; overflow: hidden;
    }
    #trajet::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 70% at 50% 35%, rgba(74,127,255,.06) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    [data-theme="light"] #trajet { background: var(--bg1); }

    .trajet-head {
      display: grid; grid-template-columns: 1fr auto;
      gap: 2rem; margin-bottom: 3rem; align-items: end;
    }
    .trajet-stats {
      display: flex; gap: 2rem;
      padding: 1.25rem 1.5rem;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--r);
    }
    .ts-item { display: flex; flex-direction: column; gap: .2rem; }
    .ts-n {
      font-family: 'Unbounded', sans-serif;
      font-size: 1.4rem; font-weight: 900;
      color: var(--fg); line-height: 1;
    }
    .ts-l { font-size: .7rem; font-weight: 600; color: var(--fg-dim); letter-spacing: .04em; }

    .map-wrap {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 2rem;
      overflow: hidden;
    }
    .map-svg { width: 100%; height: auto; display: block; }

    /* Ghost continent labels */
    .map-label {
      font-family: 'Unbounded', sans-serif;
      font-weight: 900;
      letter-spacing: -.04em;
      fill: var(--fg);
      opacity: .045;
    }

    /* Continents (paths) */
    .map-cont {
      fill: var(--surface-2);
      stroke: var(--border);
      stroke-width: 1.5;
    }

    /* Trait pointillé statique (background) */
    .map-route-bg {
      fill: none;
      stroke: var(--fg);
      stroke-width: 1.5;
      stroke-dasharray: 4 6;
      stroke-linecap: round;
      opacity: .18;
    }

    /* Trait de progression coloré */
    .map-route {
      fill: none;
      stroke: url(#routeGrad);
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-dasharray: var(--len);
      stroke-dashoffset: var(--len);
      transition: stroke-dashoffset 2s cubic-bezier(.7,0,.3,1);
      filter: drop-shadow(0 0 6px rgba(74,127,255,.3));
    }
    .map-wrap.drawn .map-route { stroke-dashoffset: 0; }

    /* City points */
    .map-city {
      cursor: pointer;
      transition: transform .25s ease;
    }
    .map-city:hover { transform: scale(1.1); transform-origin: var(--cx) var(--cy); }
    .map-city-dot {
      fill: var(--blue);
      filter: drop-shadow(0 0 4px rgba(74,127,255,.5));
    }
    .map-city-pulse {
      fill: var(--blue); opacity: .35;
      transform-origin: var(--cx) var(--cy);
      animation: cityPulse 2.4s ease-in-out infinite;
    }
    .map-city-ring {
      fill: none; stroke: var(--blue);
      stroke-width: 1.5; opacity: .35;
    }
    @keyframes cityPulse {
      0%   { transform: scale(1); opacity: .55; }
      80%  { transform: scale(3.6); opacity: 0; }
      100% { transform: scale(3.6); opacity: 0; }
    }
    /* Couleur spécifique pour chaque ville */
    .map-city.current .map-city-dot,
    .map-city.current .map-city-ring,
    .map-city.current .map-city-pulse { fill: var(--orange); stroke: var(--orange); }
    .map-city.future  .map-city-dot,
    .map-city.future  .map-city-ring,
    .map-city.future  .map-city-pulse { fill: var(--blue);   stroke: var(--blue); }

    .map-city-label {
      font-family: 'Syne', sans-serif;
      font-size: 11px; font-weight: 700;
      fill: var(--fg);
      letter-spacing: .03em;
    }
    .map-city-sub {
      font-family: 'Syne', sans-serif;
      font-size: 8.5px; font-weight: 600;
      fill: var(--fg-dim);
    }

    /* Trajet city cards */
    .trajet-cards {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1rem; margin-top: 1.5rem;
    }
    .tcard {
      padding: 1.25rem 1.375rem;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--r);
      transition: background var(--t), border-color var(--t);
    }
    .tcard:hover { background: var(--surface-2); border-color: var(--fg-ghost); }
    .tcard-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .35rem; gap: .5rem; }
    .tcard-n {
      font-family: 'Unbounded', sans-serif;
      font-size: .68rem; font-weight: 900; color: var(--fg-dim);
    }
    .tcard-flag { font-size: 1rem; }
    .tcard-city { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .25rem; }
    .tcard-role { font-size: .78rem; color: var(--fg-soft); margin-bottom: .65rem; }
    .tcard-meta {
      font-size: .67rem; letter-spacing: .08em; text-transform: uppercase;
      color: var(--fg-dim); font-weight: 700;
    }
    .tcard.cur .tcard-n { color: var(--orange); }
    .tcard.nxt .tcard-n { color: var(--blue); }

    @media (max-width: 960px) {
      .trajet-head { grid-template-columns: 1fr; }
      .trajet-stats { width: fit-content; }
      .trajet-cards { grid-template-columns: 1fr; }
      .map-wrap { padding: 1rem; }
    }

    /* ═══════════════════════════════════════
       MODAL DÉTAIL PROJET
       ═══════════════════════════════════════ */
    #projModal {
      position: fixed; inset: 0; z-index: 9000;
      display: none;
      align-items: center; justify-content: center;
      padding: 2rem;
    }
    #projModal.open { display: flex; }
    .pm-backdrop {
      position: absolute; inset: 0;
      background: rgba(6,6,13,.78);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      opacity: 0;
      transition: opacity .4s ease;
    }
    [data-theme="light"] .pm-backdrop { background: rgba(20,20,28,.72); }
    #projModal.shown .pm-backdrop { opacity: 1; }

    .pm-panel {
      position: relative;
      width: 100%; max-width: 920px;
      max-height: 90vh;
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      display: flex; flex-direction: column;
      opacity: 0; transform: scale(.96) translateY(20px);
      transition: opacity .45s cubic-bezier(.25,.46,.45,.94),
                  transform .55s cubic-bezier(.25,.46,.45,.94);
      box-shadow: 0 40px 100px rgba(0,0,0,.55);
    }
    #projModal.shown .pm-panel { opacity: 1; transform: scale(1) translateY(0); }

    .pm-close {
      position: absolute; top: 1.25rem; right: 1.25rem;
      z-index: 5;
      width: 38px; height: 38px;
      background: rgba(0,0,0,.35); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.15);
      color: white; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.05rem; cursor: pointer;
      transition: background var(--t), transform var(--t);
    }
    .pm-close:hover { background: rgba(0,0,0,.6); transform: scale(1.08); }

    .pm-banner {
      height: 220px; position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    .pm-banner-bg { position: absolute; inset: 0; }
    .pm-banner-num {
      position: absolute; bottom: -.18em; left: .04em;
      font-family: 'Unbounded', sans-serif;
      font-size: 14rem; font-weight: 900;
      color: rgba(255,255,255,.08);
      line-height: 1; letter-spacing: -.05em;
      pointer-events: none; user-select: none;
    }
    .pm-banner-badge {
      position: absolute; top: 1.25rem; left: 1.5rem;
      padding: .35rem .85rem;
      background: rgba(0,0,0,.4); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 100px;
      font-size: .68rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: white;
    }

    .pm-body {
      padding: 2rem 2.25rem 2.25rem;
      overflow-y: auto;
      flex: 1;
    }
    .pm-name {
      font-size: clamp(24px, 3.5vw, 38px);
      font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
      margin-bottom: .5rem; color: var(--fg);
    }
    .pm-tagline {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic; font-size: 1.05rem;
      color: var(--fg-soft); margin-bottom: 1.5rem;
    }
    .pm-desc {
      font-size: .95rem; color: var(--fg-soft);
      line-height: 1.75; margin-bottom: 2rem;
    }

    .pm-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem; margin-bottom: 2rem;
    }
    .pm-cell {
      padding: 1.125rem 1.25rem;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--rs);
    }
    .pm-cell-label {
      font-size: .65rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: .5rem;
    }
    .pm-cell-text { font-size: .82rem; color: var(--fg-soft); line-height: 1.65; }

    /* KPIs en haut du modal */
    .pm-kpis {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: .75rem; margin-bottom: 2rem;
      padding: 1.25rem; border-radius: 12px;
      background: linear-gradient(135deg, rgba(74,127,255,.07), rgba(255,107,61,.05));
      border: 1px solid var(--border);
    }
    .pm-kpi {}
    .pm-kpi-n {
      font-family: 'Unbounded', sans-serif;
      font-size: 1.5rem; font-weight: 900;
      color: var(--fg); line-height: 1; margin-bottom: .35rem;
      letter-spacing: -.02em;
    }
    .pm-kpi-n em { font-style: normal; color: var(--orange); font-size: .75em; margin-left: .15em; }
    .pm-kpi-l {
      font-size: .68rem; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--fg-dim);
    }

    .pm-section-label {
      display: flex; align-items: center; gap: .6rem;
      font-size: .68rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--blue); margin-bottom: 1rem;
    }
    .pm-section-label::before { content: ''; width: 18px; height: 2px; background: var(--blue); }

    .pm-snippet {
      background: #06070D;
      border: 1px solid rgba(255,255,255,.07);
      border-radius: var(--rs);
      padding: 1.25rem 1.5rem;
      margin-bottom: 2rem;
      overflow-x: auto;
      position: relative;
    }
    [data-theme="light"] .pm-snippet { background: #0D0E1C; border-color: rgba(255,255,255,.08); }
    .pm-snippet pre {
      margin: 0;
      font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
      font-size: .8rem; line-height: 1.7;
      color: #B8C5E0; white-space: pre;
    }
    .pm-snippet .kw   { color: #FF6B3D; font-weight: 600; }
    .pm-snippet .str  { color: #2EAD6B; }
    .pm-snippet .num  { color: #9B6DFF; }
    .pm-snippet .com  { color: #5A6280; font-style: italic; }
    .pm-snippet .fn   { color: #4A7FFF; }
    .pm-snippet-lang {
      position: absolute; top: .75rem; right: 1rem;
      font-size: .62rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: rgba(255,255,255,.3);
    }

    .pm-stack {
      display: flex; flex-wrap: wrap; gap: .4rem;
      margin-bottom: 2rem;
    }

    .pm-links {
      display: flex; flex-wrap: wrap; gap: .625rem;
      padding-top: 1.5rem; border-top: 1px solid var(--border);
    }
    .pm-link {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .7rem 1.125rem;
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: var(--rs);
      font-size: .8rem; font-weight: 600;
      color: var(--fg); text-decoration: none;
      transition: background var(--t), transform var(--t);
    }
    .pm-link:hover { background: var(--surface-3); transform: translateY(-2px); }
    .pm-link.primary { background: var(--orange); color: white; border-color: var(--orange); }
    .pm-link.primary:hover { background: var(--orange); opacity: .92; }

    @media (max-width: 720px) {
      #projModal { padding: 0; }
      .pm-panel { max-height: 100vh; border-radius: 0; }
      .pm-banner { height: 160px; }
      .pm-body { padding: 1.5rem; }
      .pm-grid { grid-template-columns: 1fr; }
    }

    body.modal-open { overflow: hidden; }

    /* Hint sur les cartes : double-clic / clic carte active */
    .c-card.active::after {
      content: 'Cliquer pour voir le détail →';
      position: absolute; bottom: -28px; left: 50%;
      transform: translateX(-50%);
      font-size: .62rem; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--fg-dim); white-space: nowrap;
      opacity: 0; transition: opacity .4s ease;
      pointer-events: none;
    }
    .c-card.active:hover::after { opacity: 1; }

    /* ═══════════════════════════════════════
       NOW BANNER — En ce moment
       ═══════════════════════════════════════ */
    .now-banner {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 1.25rem 3rem;
    }
    .now-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: auto 1fr;
      gap: 2rem; align-items: center;
    }
    .now-label {
      display: flex; align-items: center; gap: .6rem;
      font-size: .68rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--orange);
      white-space: nowrap;
    }
    .now-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--orange);
      animation: nowPulse 2.2s ease-in-out infinite;
    }
    @keyframes nowPulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(255,107,61,.55); }
      50%      { box-shadow: 0 0 0 7px rgba(255,107,61,0); }
    }
    .now-items {
      display: flex; flex-wrap: wrap; gap: .25rem 1.75rem;
      font-size: .82rem; color: var(--fg-soft);
    }
    .now-item { display: inline-flex; align-items: center; gap: .55rem; }
    .now-item::before {
      content: ''; width: 4px; height: 4px; border-radius: 50%;
      background: var(--fg-ghost);
    }
    .now-item:first-child::before { display: none; }
    .now-item strong { color: var(--fg); font-weight: 700; margin-right: .3rem; }

    @media (max-width: 720px) {
      .now-banner { padding: 1rem 1.5rem; }
      .now-inner { grid-template-columns: 1fr; gap: .75rem; }
      .now-items { flex-direction: column; gap: .5rem; }
      .now-item::before { display: none; }
    }

    /* ═══════════════════════════════════════
       HACKMALO ÉTENDU
       ═══════════════════════════════════════ */
    .hm-extended {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem; margin-top: 4rem;
    }
    .hm-panel {
      padding: 2rem;
      background: rgba(255,255,255,.04);
      border: 1px solid var(--bd);
      border-radius: 14px;
      display: flex; flex-direction: column;
    }
    .hm-panel-label {
      display: flex; align-items: center; gap: .6rem;
      font-size: .65rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--orange); margin-bottom: 1.25rem;
    }
    .hm-panel-label::before {
      content: ''; width: 16px; height: 2px; background: var(--orange);
    }
    .hm-panel h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.1rem; font-weight: 800;
      color: white; letter-spacing: -.01em;
      margin-bottom: 1rem; line-height: 1.25;
    }
    .hm-panel p {
      font-size: .85rem; color: rgba(255,255,255,.5);
      line-height: 1.7; margin-bottom: 1rem;
    }
    .hm-panel p:last-child { margin-bottom: 0; }
    .hm-panel strong { color: rgba(255,255,255,.85); font-weight: 700; }

    .hm-list {
      list-style: none; padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: .75rem;
    }
    .hm-list li {
      display: flex; gap: .75rem;
      font-size: .83rem; color: rgba(255,255,255,.55);
      line-height: 1.55;
    }
    .hm-list li::before {
      content: '›';
      color: var(--orange); font-weight: 900;
      flex-shrink: 0; line-height: 1.4;
    }
    .hm-list-num {
      list-style: none; padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: 1.25rem;
    }
    .hm-list-num li {
      position: relative;
      padding-left: 1.1rem;
      border-left: 2px solid rgba(255,107,61,.28);
      font-size: .85rem; color: rgba(255,255,255,.55);
      line-height: 1.5;
    }
    .hm-list-num li::before {
      content: '';
      position: absolute; left: -5px; top: .2rem;
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--orange);
      box-shadow: 0 0 0 3px rgba(255,107,61,.15);
    }
    .hm-list-num .hm-step-date {
      display: block;
      font-size: .62rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--orange); margin-bottom: .15rem;
    }
    .hm-list-num li strong { display: block; color: white; font-weight: 700; margin-bottom: .2rem; font-size: .92rem; }

    @media (max-width: 960px) {
      .hm-extended { grid-template-columns: 1fr; }
    }

    /* ═══════════════════════════════════════
       LOOKING FOR — Ce que je cherche
       ═══════════════════════════════════════ */
    #looking {
      background: var(--bg2);
      position: relative; overflow: hidden;
    }
    #looking::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 55% 60% at 70% 50%, rgba(46,173,107,.07) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    [data-theme="light"] #looking { background: var(--bg3); }

    .look-grid {
      display: grid; grid-template-columns: 1.1fr 1fr;
      gap: 5rem; align-items: start;
    }

    .look-pill-big {
      display: inline-flex; align-items: center; gap: .8rem;
      padding: .55rem 1.15rem .55rem 1rem;
      background: rgba(46,173,107,.13);
      border: 1px solid rgba(46,173,107,.35);
      border-radius: 100px;
      font-size: .78rem; font-weight: 700;
      color: var(--green); margin-bottom: 1.75rem;
    }
    .look-pill-big strong { color: var(--green); font-weight: 800; }
    .look-pill-big .now-dot { background: var(--green); animation-name: lookPulse; }
    @keyframes lookPulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(46,173,107,.55); }
      50%      { box-shadow: 0 0 0 7px rgba(46,173,107,0); }
    }

    .look-title {
      font-size: clamp(30px, 4.2vw, 52px); font-weight: 800;
      line-height: 1.06; letter-spacing: -.03em;
      margin-bottom: 1.5rem; color: var(--fg);
    }
    .look-lead {
      font-size: 1rem; color: var(--fg-soft);
      line-height: 1.78; margin-bottom: 2rem;
    }
    .look-lead strong { color: var(--fg); font-weight: 700; }

    .look-cta {
      display: flex; gap: .75rem; flex-wrap: wrap;
      margin-top: 1rem;
    }
    .look-btn {
      display: inline-flex; align-items: center; gap: .65rem;
      padding: .9rem 1.5rem;
      border-radius: 10px;
      font-family: 'Syne', sans-serif;
      font-size: .82rem; font-weight: 700;
      letter-spacing: .04em;
      text-decoration: none;
      transition: transform var(--t), box-shadow var(--t), background var(--t);
    }
    .look-btn.primary {
      background: var(--fg); color: var(--bg0);
      border: 2px solid var(--fg);
    }
    .look-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
    .look-btn.ghost {
      background: transparent; color: var(--fg);
      border: 2px solid var(--border);
    }
    .look-btn.ghost:hover { border-color: var(--fg); transform: translateY(-3px); }

    /* Right side — criteria grid */
    .look-criteria {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: .875rem;
    }
    .lc-card {
      padding: 1.25rem 1.375rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      transition: border-color var(--t), background var(--t);
    }
    .lc-card:hover { border-color: var(--fg-ghost); background: var(--surface-2); }
    .lc-label {
      font-size: .62rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: .65rem;
      display: flex; align-items: center; gap: .5rem;
    }
    .lc-label svg { width: 12px; height: 12px; color: var(--fg-dim); }
    .lc-value {
      font-size: .98rem; font-weight: 700; color: var(--fg);
      line-height: 1.3; margin-bottom: .35rem;
    }
    .lc-sub {
      font-size: .76rem; color: var(--fg-soft);
      line-height: 1.5;
    }

    /* Recommendation */
    .reco-wrap {
      max-width: 1200px; margin: 4rem auto 0;
      padding-top: 3rem;
      border-top: 1px solid var(--border);
    }
    .reco-label {
      font-size: .68rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: 1.5rem;
      display: flex; align-items: center; gap: .6rem;
    }
    .reco-label::before { content: ''; width: 18px; height: 2px; background: var(--fg-dim); }
    .reco {
      display: grid; grid-template-columns: 56px 1fr;
      gap: 1.5rem; align-items: start;
    }
    .reco-avatar {
      width: 56px; height: 56px; border-radius: 50%;
      background: linear-gradient(135deg, var(--orange), #FFB48A);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Unbounded', sans-serif;
      font-size: 1rem; font-weight: 900;
      color: white; letter-spacing: -.02em;
      flex-shrink: 0;
    }
    .reco-quote {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: clamp(18px, 2vw, 22px);
      color: var(--fg-soft);
      line-height: 1.55;
      margin-bottom: 1rem;
      max-width: 720px;
    }
    .reco-author {
      font-size: .82rem; font-weight: 700; color: var(--fg);
    }
    .reco-author span {
      font-weight: 400; color: var(--fg-dim);
      margin-left: .35rem;
    }
    .reco-placeholder {
      font-size: .68rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--orange);
      background: rgba(255,107,61,.08);
      border: 1px dashed rgba(255,107,61,.35);
      padding: .25rem .6rem; border-radius: 4px;
      display: inline-block; margin-top: .5rem;
    }

    @media (max-width: 960px) {
      .look-grid     { grid-template-columns: 1fr; gap: 3rem; }
      .look-criteria { grid-template-columns: 1fr; }
      .reco          { grid-template-columns: 1fr; gap: 1rem; }
    }

/* ===================================== */

  /* Focus clavier visible partout */
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

  /* Tactile / pointeur grossier : on rend le vrai curseur et on masque le curseur custom */
  @media (hover: none), (pointer: coarse) {
    * { cursor: auto !important; }
    a, button, [role="button"], .btn, summary { cursor: pointer !important; }
    #cur, #cur-ring { display: none !important; }
  }

  /* Skip link (accessibilité clavier) */
  .skip-link {
    position: fixed; top: 0; left: 0; z-index: 10000;
    transform: translateY(-120%);
    background: var(--blue, #4A7FFF); color: #fff;
    padding: .7rem 1.2rem; font-weight: 700; font-size: .85rem;
    text-decoration: none; border-radius: 0 0 8px 0;
    transition: transform .2s ease;
  }
  .skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }

  /* Respect de prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
    #cur, #cur-ring { display: none !important; }
    body { cursor: auto !important; }
    a, button, [role="button"], .btn { cursor: pointer !important; }
  }

/* ===================================== */

  /* Visibilité bilingue : non-traduit => reste en FR */
  .en { display: none; }
  html[data-lang="en"] .fr { display: none; }
  html[data-lang="en"] .en { display: inline; }
  .en.blk { display: none; }
  html[data-lang="en"] .en.blk { display: block; }
  html[data-lang="en"] .fr.blk { display: none; }

  /* Switch de langue dans le nav */
  .lang-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    height: 38px; min-width: 42px; padding: 0 .7rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rs);
    color: var(--fg); font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: .78rem; letter-spacing: .06em;
    cursor: pointer; transition: var(--t);
  }
  .lang-toggle:hover { background: var(--surface-2); border-color: var(--blue); }

  /* ── PORTAIL ─────────────────────────── */
  #portal {
    /* Toujours sombre, quel que soit le thème du site */
    --fg-soft:   rgba(255,255,255,.6);
    --fg-mute:   rgba(255,255,255,.42);
    --surface:   rgba(255,255,255,.05);
    --surface-2: rgba(255,255,255,.09);
    --border:    rgba(255,255,255,.12);
    --blue:   #4A7FFF; --orange: #FF6B3D; --green: #2EAD6B; --purple: #9B6DFF;
    position: fixed; inset: 0; z-index: 12000;
    background: #06060D; color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    font-family: 'Syne', sans-serif; cursor: auto;
  }
  #portal.closing { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
  #portal::before, #portal::after {
    content: ''; position: absolute; width: 70vw; height: 70vw;
    border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .55;
  }
  #portal::before { top: -25%; left: -15%; background: radial-gradient(circle, rgba(74,127,255,.4), transparent 65%); }
  #portal::after  { bottom: -25%; right: -15%; background: radial-gradient(circle, rgba(255,107,61,.32), transparent 65%); }

  .pt-step {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.1rem; padding: 2rem;
    opacity: 0; visibility: hidden; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease, visibility .6s;
  }
  .pt-step.active { opacity: 1; visibility: visible; transform: none; }

  .pt-mb {
    font-family: 'Unbounded', sans-serif; font-weight: 900;
    font-size: 1.6rem; letter-spacing: -.04em; margin-bottom: .25rem;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .pt-hello {
    font-family: 'Unbounded', sans-serif; font-weight: 900;
    font-size: clamp(2.6rem, 8vw, 5rem); line-height: .95; letter-spacing: -.04em;
  }
  .pt-hello .stroke {
    display: block; color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.45);
  }
  .pt-eyebrow {
    font-size: .72rem; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--blue);
  }
  .pt-q {
    font-family: 'Unbounded', sans-serif; font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3.2rem); letter-spacing: -.03em; line-height: 1.05;
  }
  .pt-sub { color: var(--fg-soft); max-width: 560px; font-size: 1rem; line-height: 1.6; }

  .pt-langs { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
  .pt-lang-btn {
    display: flex; flex-direction: column; align-items: center; gap: .45rem;
    padding: 1.5rem 2.4rem; min-width: 180px;
    border: 1px solid var(--border); border-radius: var(--r);
    background: var(--surface); color: #fff; cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
  }
  .pt-lang-btn:hover { transform: translateY(-5px); border-color: var(--blue); background: var(--surface-2); }
  .pt-flag { font-size: 2.1rem; line-height: 1; }
  .pt-lang-name { font-weight: 800; font-size: 1.1rem; }
  .pt-lang-go { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute); }

  .pt-cards {
    display: grid; grid-template-columns: repeat(2, minmax(220px, 300px));
    gap: 1rem; margin-top: 1.25rem;
  }
  .pt-card {
    position: relative; overflow: hidden; text-align: left;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border); border-radius: var(--r);
    background: var(--surface); color: #fff; cursor: pointer;
    display: flex; flex-direction: column; gap: .55rem;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
  }
  .pt-card:hover { transform: translateY(-5px); background: var(--surface-2); }
  .pt-card[data-accent="blue"]:hover   { border-color: var(--blue); }
  .pt-card[data-accent="purple"]:hover { border-color: var(--purple); }
  .pt-card[data-accent="orange"]:hover { border-color: var(--orange); }
  .pt-card[data-accent="green"]:hover  { border-color: var(--green); }
  .pt-card-ico {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2); color: var(--blue);
  }
  .pt-card[data-accent="purple"] .pt-card-ico { color: var(--purple); }
  .pt-card[data-accent="orange"] .pt-card-ico { color: var(--orange); }
  .pt-card[data-accent="green"]  .pt-card-ico { color: var(--green); }
  .pt-card-ico svg { width: 22px; height: 22px; }
  .pt-card-t { font-weight: 800; font-size: 1.05rem; }
  .pt-card-d { font-size: .85rem; color: var(--fg-soft); line-height: 1.5; }
  .pt-card-arr { position: absolute; top: 1.3rem; right: 1.4rem; color: var(--fg-mute); transition: .25s ease; }
  .pt-card:hover .pt-card-arr { transform: translateX(4px); color: #fff; }

  .pt-skip {
    margin-top: .75rem; background: none; border: none; color: var(--fg-mute);
    cursor: pointer; font-family: 'Syne', sans-serif; font-size: .85rem;
    text-decoration: underline; text-underline-offset: 3px;
  }
  .pt-skip:hover { color: #fff; }

  .pt-transition .pt-line {
    width: 1px; height: 64px;
    background: linear-gradient(180deg, var(--blue), transparent);
  }
  .pt-narr {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: clamp(1.4rem, 4vw, 2.3rem); line-height: 1.4;
    max-width: 620px; color: #fff;
  }

  @media (max-width: 680px) {
    .pt-cards { grid-template-columns: 1fr; max-width: 340px; }
  }

/* ===================================== */

  /* Terminal */
  .console-hint { color: var(--fg-soft); margin-bottom: 1.5rem; }
  .console-hint code {
    font-family: 'JetBrains Mono', monospace; background: var(--surface-2);
    padding: .1rem .4rem; border-radius: 4px; color: var(--green);
  }
  .term {
    max-width: 760px; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; background: #06070E; box-shadow: 0 24px 60px rgba(0,0,0,.4);
  }
  .term-bar {
    display: flex; align-items: center; gap: .5rem;
    padding: .7rem 1rem; background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .term-dot { width: 12px; height: 12px; border-radius: 50%; }
  .term-dot.red { background: #FF5F56; } .term-dot.yellow { background: #FFBD2E; } .term-dot.green { background: #27C93F; }
  .term-title { margin-left: .5rem; font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: rgba(255,255,255,.4); }
  .term-body {
    padding: 1.1rem 1.2rem; min-height: 300px; max-height: 420px; overflow-y: auto;
    font-family: 'JetBrains Mono', monospace; font-size: .85rem; line-height: 1.6; cursor: text;
  }
  .term-out { color: #C7D2E5; white-space: pre-wrap; word-break: break-word; }
  .term-out .ln { margin-bottom: .1rem; }
  .term-out .cmd { color: #fff; }
  .term-out .accent { color: #4A7FFF; }
  .term-out .ok { color: #27C93F; }
  .term-out .warn { color: #FFBD2E; }
  .term-out .muted { color: rgba(255,255,255,.4); }
  .term-out a { color: #4A7FFF; }
  .term-line { display: flex; align-items: center; gap: .5rem; }
  .term-prompt { color: #27C93F; flex-shrink: 0; }
  .term-input {
    flex: 1; background: none; border: none; outline: none; color: #fff;
    font-family: inherit; font-size: inherit; caret-color: #4A7FFF;
  }

  /* Horloges + compte à rebours */
  .trajet-live {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center;
    margin-top: 2.5rem; padding: 1.75rem;
    border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  }
  .tlive-clock { text-align: center; }
  .tlive-flag { font-size: 1.5rem; }
  .tlive-city { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-mute); font-weight: 700; margin-top: .25rem; }
  .tlive-time { font-family: 'JetBrains Mono', monospace; font-size: 1.7rem; font-weight: 600; color: var(--fg); margin-top: .3rem; }
  .tlive-sub { font-size: .7rem; color: var(--fg-dim); margin-top: .15rem; }
  .tlive-count { text-align: center; padding: 0 1.5rem; border-left: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); }
  .tlive-count-l { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-mute); font-weight: 700; }
  .tlive-count-v {
    font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 1.6rem; margin: .3rem 0;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .tlive-count-s { font-size: .68rem; color: var(--fg-dim); }
  @media (max-width: 680px) {
    .trajet-live { grid-template-columns: 1fr; gap: 1rem; }
    .tlive-count { border: none; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 1rem 0; }
  }

/* ===================================== */

  /* Bouton TL;DR dans le nav */
  .tldr-nav-btn {
    height: 38px; padding: 0 .9rem; border-radius: var(--rs);
    border: 1px solid var(--border); background: var(--surface); color: var(--fg);
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .08em;
    cursor: pointer; transition: var(--t);
  }
  .tldr-nav-btn:hover { background: var(--surface-2); border-color: var(--blue); }
  @media (max-width: 600px) { .tldr-nav-btn { display: none; } }

  /* Infra live */
  .infra-panel {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border-soft); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; margin-top: 1.5rem;
  }
  .infra-item { background: var(--bg1); padding: 1.6rem 1.25rem; text-align: center; }
  .infra-status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--green); font-size: .95rem; }
  .infra-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--green);
    animation: infraPulse 2s infinite;
  }
  @keyframes infraPulse {
    0%   { box-shadow: 0 0 0 0 rgba(46,173,107,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(46,173,107,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,173,107,0); }
  }
  .infra-host { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--fg-mute); margin-top: .4rem; }
  .infra-n { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 1.8rem; color: var(--fg); letter-spacing: -.02em; }
  .infra-l { font-size: .72rem; color: var(--fg-mute); margin-top: .3rem; }
  .infra-note { margin-top: 1rem; font-size: .75rem; color: var(--fg-dim); max-width: 660px; }
  @media (max-width: 680px) { .infra-panel { grid-template-columns: repeat(2, 1fr); } }

  /* vCard + QR (dans contact) */
  .vcard-qr {
    display: flex; align-items: center; gap: 1rem; margin-top: 1rem;
    padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  }
  .vcard-qr img { border-radius: 8px; background: #fff; padding: 6px; flex-shrink: 0; }
  .vcard-qr-l { font-size: .78rem; color: var(--fg-soft); line-height: 1.5; }

  /* TL;DR overlay */
  .tldr { position: fixed; inset: 0; z-index: 11000; display: none; align-items: center; justify-content: center; padding: 1.5rem; cursor: auto; }
  .tldr.open { display: flex; }
  .tldr-backdrop { position: absolute; inset: 0; background: rgba(3,4,12,.7); backdrop-filter: blur(8px); }
  /* Carte de visite */
  .tldr-panel {
    position: relative; max-width: 560px; width: 100%;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 18px;
    overflow: hidden; display: grid; grid-template-columns: 96px 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    animation: tldrIn .35s cubic-bezier(.2,.8,.2,1);
  }
  @keyframes tldrIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
  .tldr-side {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
  }
  .tldr-side::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 18%, rgba(255,255,255,.28), transparent 60%);
  }
  .tldr-mono {
    position: relative; z-index: 1;
    font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 2.1rem;
    color: #fff; letter-spacing: -.04em;
  }
  .tldr-main { padding: 1.7rem 1.85rem; }
  .tldr-close { position: absolute; top: .85rem; right: .85rem; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; z-index: 2; }
  .tldr-eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
  .tldr-name { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; }
  .tldr-role { color: var(--fg-soft); margin: .45rem 0 .9rem; line-height: 1.45; font-size: .88rem; }
  .tldr-avail { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: 1rem; }
  .tldr-contact { list-style: none; display: grid; gap: .5rem; margin: 0 0 1rem; padding: 0; }
  .tldr-contact li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--fg-soft); }
  .tldr-contact svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
  .tldr-contact a { color: var(--fg-soft); text-decoration: none; }
  .tldr-contact a:hover { color: var(--fg); }
  .tldr-seek { font-size: .84rem; color: var(--fg-soft); padding: .7rem .85rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 10px; margin-bottom: 1.1rem; line-height: 1.45; }
  .tldr-seek strong { color: var(--fg); }
  .tldr-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
  .tldr-btn { display: inline-flex; align-items: center; padding: .7rem 1.2rem; border-radius: 9px; border: 1px solid var(--border); color: var(--fg); text-decoration: none; font-weight: 700; font-size: .85rem; }
  .tldr-btn.primary { background: linear-gradient(135deg, var(--blue), var(--purple)); border-color: transparent; color: #fff; }
  @media (max-width: 540px) {
    .tldr-panel { grid-template-columns: 1fr; }
    .tldr-side { height: 64px; }
    .tldr-mono { font-size: 1.6rem; }
  }
