
<style>
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #0D1B2A; --navy-mid: #1A2E42; --gold: #C9A84C; --gold-light: #E8C97A;
    --cream: #F7F4EE; --text-dark: #1A1A2E; --text-mid: #4A5568; --text-light: #718096;
    --white: #FFFFFF; --border: #E2DDD5;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.7; font-size: 16px; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(247,244,238,0.93); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: 60px; padding: 0 3rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-brand { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; color: var(--navy); }
  .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
  .nav-links a { font-size: 12px; font-weight: 400; color: var(--text-mid); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
  .nav-links a:hover { color: var(--navy); }

  /* LANG TOGGLE */
  .lang-toggle {
    display: flex; align-items: center; gap: 0;
    border: 1px solid var(--border); border-radius: 3px; overflow: hidden;
    margin-left: 0.5rem;
  }
  .lang-btn {
    font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
    padding: 5px 10px; cursor: pointer; border: none;
    background: transparent; color: var(--text-light);
    transition: background 0.15s, color 0.15s;
    font-family: 'DM Sans', sans-serif;
  }
  .lang-btn.active { background: var(--navy); color: var(--white); }
  .lang-btn:not(.active):hover { background: rgba(13,27,42,0.06); color: var(--navy); }
  .lang-sep { width: 1px; background: var(--border); height: 24px; }

  /* i18n: hide/show by lang */
  [data-lang="en"] { display: none !important; }
  body.lang-en [data-lang="fr"] { display: none !important; }
  body.lang-en [data-lang="en"] { display: block !important; }
  body.lang-en span[data-lang="en"],
  body.lang-en a[data-lang="en"] { display: inline !important; }

  .hero {
    min-height: 100vh; background: var(--navy);
    display: flex; align-items: center;
    padding: 100px 4rem 5rem; position: relative; overflow: hidden;
  }
  .hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.1); }
  .hero::after { content: ''; position: absolute; top: -40px; right: -40px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.07); }
  .hero-content { max-width: 780px; }
  .hero-label { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,168,76,0.4); padding: 6px 16px; border-radius: 2px; margin-bottom: 2rem; animation: fadeUp 0.6s ease both; }
  .hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem; animation: fadeUp 0.6s 0.1s ease both; }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero-desc { font-size: 17px; color: rgba(255,255,255,0.62); max-width: 560px; line-height: 1.8; margin-bottom: 2.5rem; font-weight: 300; animation: fadeUp 0.6s 0.2s ease both; }
  .cta-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--navy); font-weight: 500; font-size: 14px; padding: 12px 28px; border-radius: 2px; text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s; animation: fadeUp 0.6s 0.3s ease both; }
  .cta-btn:hover { background: var(--gold-light); }
  .hero-stats { display: flex; gap: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; animation: fadeUp 0.6s 0.4s ease both; }
  .stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 500; color: var(--gold); display: block; line-height: 1.1; }
  .stat-label { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; display: block; }

  section { padding: 6rem 4rem; }
  .section-inner { max-width: 1000px; margin: 0 auto; }
  .section-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; color: var(--navy); margin-bottom: 3rem; line-height: 1.25; }
  .section-title > span:not([data-lang]) { display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 0.9rem; }
  .section-title > span[data-lang] { display: block; }

  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .about-text p { color: var(--text-mid); margin-bottom: 1.25rem; font-size: 15.5px; line-height: 1.8; }
  .about-text p strong { color: var(--navy); font-weight: 500; }
  .about-text a { color: var(--gold); text-decoration: none; }
  .about-text a:hover { text-decoration: underline; }
  .about-card { background: var(--navy); border-radius: 4px; padding: 2.5rem; }
  .about-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 500; color: var(--gold); margin-bottom: 1.5rem; }
  .about-list { list-style: none; }
  .about-list li { padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 13.5px; color: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 10px; }
  .about-list li:last-child { border-bottom: none; }
  .about-list li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

  #competences { background: var(--white); }
  .skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .skill-card { border: 1px solid var(--border); border-radius: 4px; padding: 1.75rem; transition: border-color 0.2s, transform 0.2s; }
  .skill-card:hover { border-color: rgba(201,168,76,0.6); transform: translateY(-2px); }
  .skill-icon { width: 38px; height: 38px; background: rgba(201,168,76,0.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
  .skill-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .skill-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
  .skill-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

  .timeline { position: relative; }
  .timeline::before { content: ''; position: absolute; left: 132px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
  .timeline-item { display: grid; grid-template-columns: 132px 1fr; gap: 0 2.5rem; margin-bottom: 3rem; position: relative; }
  .timeline-year { text-align: right; padding-top: 2px; }
  .timeline-year .year { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 500; color: var(--navy); display: block; }
  .timeline-year .duration { font-size: 11px; color: var(--text-light); letter-spacing: 0.05em; }
  .timeline-dot { position: absolute; left: 126px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold); z-index: 1; }
  .timeline-item.current .timeline-dot { background: var(--gold); }
  .timeline-body { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 1.4rem 1.6rem; transition: border-color 0.2s; }
  .timeline-body:hover { border-color: rgba(201,168,76,0.45); }
  .timeline-body .role { font-weight: 500; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
  .timeline-body .org { font-size: 12.5px; color: var(--gold); margin-bottom: 0.65rem; letter-spacing: 0.03em; }
  .timeline-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.8rem; }
  .tag { font-size: 11px; padding: 3px 10px; border-radius: 2px; background: rgba(13,27,42,0.06); color: var(--navy); letter-spacing: 0.02em; }

  #projets { background: var(--navy); }
  #projets .section-title { color: var(--white); }
  .projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .project-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 4px; padding: 2rem; transition: border-color 0.2s; }
  .project-card:hover { border-color: rgba(201,168,76,0.4); }
  .project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
  .project-type { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,168,76,0.35); padding: 4px 10px; border-radius: 2px; }
  .project-year { font-size: 12px; color: rgba(255,255,255,0.3); }
  .project-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 500; color: var(--white); margin-bottom: 0.6rem; line-height: 1.3; }
  .project-card p { font-size: 13.5px; color: rgba(255,255,255,0.52); line-height: 1.7; margin-bottom: 1rem; }
  .project-kpis { display: flex; gap: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .kpi-val { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); display: block; line-height: 1.1; }
  .kpi-lbl { font-size: 11px; color: rgba(255,255,255,0.32); }

  footer { background: #0A1520; padding: 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  footer .brand { font-family: 'Playfair Display', serif; color: rgba(255,255,255,0.55); font-size: 14px; }
  footer .copy { font-size: 12px; color: rgba(255,255,255,0.22); }
  footer a.li-link { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:rgba(255,255,255,0.4); text-decoration:none; transition:color 0.2s; }
  footer a.li-link:hover { color: rgba(201,168,76,0.9); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

  @media (max-width: 768px) {
    section { padding: 4rem 1.5rem; }
    .hero { padding: 90px 1.5rem 3rem; }
    nav { padding: 0 1.5rem; }
    .nav-links { gap: 1rem; }
    .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
    .about-grid, .skills-grid, .projects-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 2rem; flex-wrap: wrap; }
    .timeline::before { left: 0; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 1.75rem; }
    .timeline-year { text-align: left; margin-bottom: 0.25rem; }
    .timeline-dot { left: -7px; }
    footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  }
</style>
