/* ════════════════════════════════════════════════════════
   RESET
════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ════════════════════════════════════════════════════════
   DESIGN TOKENS — CSS CUSTOM PROPERTIES
════════════════════════════════════════════════════════ */
:root {
  /* ── Palette ivoire ── */
  --ivory:           #f4f1eb;
  --ivory-d:         #e8e4db;
  --ivory-dd:        #dfd9ce;

  /* ── Palette encre ── */
  --ink:             #111111;
  --ink-2:           #666666;
  --ink-3:           #888888;
  --ink-4:           #777777;

  /* ── Bordures ── */
  --b:               rgba(0, 0, 0, 0.07);
  --bm:              rgba(0, 0, 0, 0.13);

  /* ── Palette sombre ── */
  --dark:            #0d0d0d;
  --dark-2:          #7a7a7a;
  --dark-3:          rgb(145, 145, 145);
  --dark-subtle:     #494949;
  --dark-faint:      #868686;
  --dark-mid:        rgb(218, 218, 218);

  /* ── Couleurs olympiques ── */
  --blue:            #0085C7;
  --yellow:          #F4C300;
  --green:           #009F6B;
  --red:             #DF0024;
  --oly-black:       #1a1a1a;

  /* ── Statut ── */
  --live:            #3ddc6e;

  /* ── Terminal ── */
  --term-brace:      #7a7a7a;
  --term-key:        #a0a0a0;
  --term-line:       #7a7a7a;
  --term-prompt:     #7a7a7a;
  --term-cmd:        #ffffff;
  --term-refname:    #d6d6d6;
  --term-refyr:      #e2e2e2;

  /* ── Footer ── */
  --footer-border:   #191919;
  --footer-text:     #c0c0c0;
  --footer-heading:  #0085C7;
  --footer-hover:    #F4C300;

  /* ── Badges événements ── */
  --badge-ongoing-bg:  #e6f1fb;
  --badge-ongoing-fg:  #185FA5;
  --badge-jo-bg:       #eeedfe;
  --badge-jo-fg:       #534AB7;
  --badge-prestige-bg: #faeeda;
  --badge-prestige-fg: #854F0B;
  --badge-sport-bg:    #e1f5ee;
  --badge-sport-fg:    #0F6E56;
  --badge-cdm-bg:      #fcebeb;
  --badge-cdm-fg:      #A32D2D;
  --badge-history-bg:  #f0ede6;
  --badge-history-fg:  #999999;

  /* ── Tags formation ── */
  --tag-state-bg:    #e6f1fb;
  --tag-state-fg:    #185FA5;
  --tag-federal-bg:  #e1f5ee;
  --tag-federal-fg:  #0F6E56;
  --tag-training-bg: #f0ede6;
  --tag-training-fg: #888888;
  --tag-spec-bg:     #faeeda;
  --tag-spec-fg:     #854F0B;

  /* ── Compétences (skill bars) ── */
  --sk-1-w: 95%;
  --sk-1-c: var(--blue);
  --sk-2-w: 97%;
  --sk-2-c: var(--yellow);
  --sk-3-w: 88%;
  --sk-3-c: var(--green);
  --sk-4-w: 90%;
  --sk-4-c: var(--red);

  /* ── Typographie ── */
  --sans:            'Syne', sans-serif;
  --mono:            'JetBrains Mono', monospace;
  --serif:           'Lora', Georgia, serif;

  /* ── Espacements ── */
  --pad-h:           2.5rem;
  --pad-h-sm:        1.25rem;
}

/* ════════════════════════════════════════════════════════
   POLICES AUTO-HÉBERGÉES
════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/syne-v24-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/syne-v24-latin-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-v37-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-v37-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lora-v37-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
}

/* ════════════════════════════════════════════════════════
   BASE
════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ════════════════════════════════════════════════════════
   ACCESSIBILITÉ
════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
════════════════════════════════════════════════════════ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg,
    var(--blue)    0%  20%,
    var(--yellow)  20% 40%,
    var(--oly-black) 40% 60%,
    var(--green)   60% 80%,
    var(--red)     80% 100%
  );
  clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0);
  z-index: 200;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   BARRE OLYMPIQUE
════════════════════════════════════════════════════════ */
.oly {
  display: flex;
  height: 3px;
}
.oly span { flex: 1; }
.oly span:nth-child(1) { background: var(--blue); }
.oly span:nth-child(2) { background: var(--yellow); }
.oly span:nth-child(3) { background: var(--oly-black); }
.oly span:nth-child(4) { background: var(--green); }
.oly span:nth-child(5) { background: var(--red); }

/* ════════════════════════════════════════════════════════
   MISSION STRIP
════════════════════════════════════════════════════════ */
.strip {
  background: var(--dark);
  padding: 0.5rem var(--pad-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #222;
  overflow: hidden;
}
.strip-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--live);
  font-weight: 500;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.strip-sep { color: var(--dark-2); }
.strip-txt { color: var(--dark-3); }

/* ════════════════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 0.5px solid var(--b);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--pad-h);
}
.logo {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 10px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { width: 100%; }

.badge-avail {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink);
  padding: 6px 14px;
  border: 0.5px solid var(--bm);
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════
   BOUTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  padding: 12px 28px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-d {
  background: var(--ink);
  color: var(--ivory);
  border: none;
}
.btn-d:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-g {
  background: transparent;
  color: var(--ink-3);
  border: 0.5px solid var(--bm);
}
.btn-g:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-full { width: 100%; text-align: center; display: block; }

/* ════════════════════════════════════════════════════════
   HÉROS
════════════════════════════════════════════════════════ */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-bottom: 0.5px solid var(--b);
}
.hero-l {
  padding: 4rem var(--pad-h) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 0.5px solid var(--b);
}
.dossier {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
h1 {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.fade { color: var(--ink-4); }
.tagline {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.9;
  max-width: 360px;
  margin-top: 1.75rem;
  font-style: italic;
}
.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ── Côté terminal ── */
.hero-r {
  background: var(--dark);
  padding: 4rem var(--pad-h) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-r::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 133, 199, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Terminal ── */
.terminal {
  font-family: var(--mono);
  position: relative;
  z-index: 1;
}
.tl {
  font-size: 11px;
  line-height: 2.3;
  color: var(--term-line);
}
.tl-brace { color: var(--term-brace); }
.tl-mt    { margin-top: 6px; }
.tp  { color: var(--term-prompt); }
.tc  { color: var(--term-cmd); }
.tk  { color: var(--term-key); }
.to  { color: var(--live); }
.tv  { color: var(--yellow); }
.tn  { color: var(--blue); }
.cur {
  display: inline-block;
  width: 8px;
  height: 12px;
  background: #444;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Références mini ── */
.refs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.ref-item { display: flex; align-items: center; gap: 10px; }
.ref-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* Couleurs automatiques via nth-child */
.ref-item:nth-child(1) .ref-dot { background: var(--blue); }
.ref-item:nth-child(2) .ref-dot { background: var(--red); }
.ref-item:nth-child(3) .ref-dot { background: var(--green); }
.ref-item:nth-child(4) .ref-dot { background: var(--yellow); }
.ref-item:nth-child(5) .ref-dot { background: var(--dark-3); }

.ref-name { font-size: 11px; color: var(--term-refname); flex: 1; }
.ref-yr   { font-size: 9px; color: var(--term-refyr); font-family: var(--mono); }

/* ════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════ */
#impact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--b);
}
.stat {
  padding: 2rem;
  border-right: 0.5px solid var(--b);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
}
/* Couleurs des barres via nth-child */
.stat:nth-child(1) .stat-bar { background: var(--blue); }
.stat:nth-child(2) .stat-bar { background: var(--yellow); }
.stat:nth-child(3) .stat-bar { background: var(--green); }
.stat:nth-child(4) .stat-bar { background: var(--red); }

.stat-n {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-l {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.5;
}
.stat-s {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════
   À PROPOS
════════════════════════════════════════════════════════ */
#about {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 0.5px solid var(--b);
}
.about-side {
  padding: 2.5rem;
  border-right: 0.5px solid var(--b);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slabel {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.smeta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  line-height: 2.5;
  margin-top: auto;
}
.about-body {
  padding: 2.5rem;
  position: relative;
}
.ghost {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: clamp(70px, 12vw, 150px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.pull em { color: var(--ink-3); font-weight: 400; }
.bodytext {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.95;
  max-width: 540px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 14px;
  border: 0.5px solid var(--bm);
  border-radius: 20px;
}
.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
}

.profile-pic {
  width: 100%;
  max-width: 180px;  height: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════════════
   RÉFÉRENCES — TABLE DE TERRAIN
════════════════════════════════════════════════════════ */
#refs { border-bottom: 0.5px solid var(--b); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem var(--pad-h) 1.25rem;
  border-bottom: 0.5px solid var(--b);
}
.sec-head h2 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}
.sec-hint {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
}
.ev-list { display: flex; flex-direction: column; }
.ev {
  display: grid;
  grid-template-columns: 72px 1fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem var(--pad-h);
  border-bottom: 0.5px solid var(--b);
  transition: background 0.15s;
  cursor: default;
}
.ev:last-child { border-bottom: none; }
.ev:hover { background: var(--ivory-d); }
.ev-yr {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.ev-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.4;
}
.ev-role {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
}
.ev-data {
  font-size: 11px;
  color: var(--ink-4);
  line-height: 1.8;
}
.ev-data strong { color: var(--ink-2); font-weight: 600; }
.ev-badge {
  font-family: var(--mono);
  font-size: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}
/* Variantes de badges sémantiques */
.badge-ongoing  { background: var(--badge-ongoing-bg);  color: var(--badge-ongoing-fg); }
.badge-jo       { background: var(--badge-jo-bg);       color: var(--badge-jo-fg); }
.badge-prestige { background: var(--badge-prestige-bg); color: var(--badge-prestige-fg); }
.badge-sport    { background: var(--badge-sport-bg);    color: var(--badge-sport-fg); }
.badge-cdm      { background: var(--badge-cdm-bg);      color: var(--badge-cdm-fg); }
.badge-history  { background: var(--badge-history-bg);  color: var(--badge-history-fg); }

/* ════════════════════════════════════════════════════════
   EXPERTISES
════════════════════════════════════════════════════════ */
#expertises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--b);
}
.sk {
  padding: 2rem;
  border-right: 0.5px solid var(--b);
}
.sk:last-child { border-right: none; }
.sk-idx {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.sk h2,
.sk h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.sk-desc {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.75;
}
.sk-kpi {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.25rem;
  letter-spacing: -0.04em;
}
.sk-kpi-l {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  margin-top: 2px;
}
.sk-bar {
  height: 1.5px;
  background: var(--b);
  margin-top: 1.25rem;
  border-radius: 1px;
}
.sk-fill { height: 100%; border-radius: 1px; }
/* Largeurs et couleurs des barres de compétence */
.sk:nth-child(1) .sk-fill { width: var(--sk-1-w); background: var(--sk-1-c); }
.sk:nth-child(2) .sk-fill { width: var(--sk-2-w); background: var(--sk-2-c); }
.sk:nth-child(3) .sk-fill { width: var(--sk-3-w); background: var(--sk-3-c); }
.sk:nth-child(4) .sk-fill { width: var(--sk-4-w); background: var(--sk-4-c); }

/* ════════════════════════════════════════════════════════
   FORMATION & HOBBIES
════════════════════════════════════════════════════════ */
#fh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--b);
}
.fh-col { padding: 2.5rem; }
.fh-col:first-child { border-right: 0.5px solid var(--b); }
.col-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 1.75rem;
}

/* Formation items */
.fi {
  padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--b);
}
.fi:last-child { border-bottom: none; }
.fi-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.fi-detail {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.65;
}
.fi-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 8px;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
/* Variantes de tags sémantiques */
.tag-state   { background: var(--tag-state-bg);   color: var(--tag-state-fg); }
.tag-federal { background: var(--tag-federal-bg); color: var(--tag-federal-fg); }
.tag-training{ background: var(--tag-training-bg);color: var(--tag-training-fg); }
.tag-spec    { background: var(--tag-spec-bg);    color: var(--tag-spec-fg); }

/* Hobbies */
.hob {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--b);
}
.hob:last-child { border-bottom: none; }
.hob-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0.5px solid var(--bm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
/* Couleurs des dots via nth-child */
.hob:nth-child(1) .hob-dot { background: var(--live); }
.hob:nth-child(2) .hob-dot { background: var(--blue); }
.hob:nth-child(3) .hob-dot { background: var(--yellow); }

.hob-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.hob-desc {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.65;
}
.hob-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 8px;
  padding: 2px 8px;
  border: 0.5px solid var(--b);
  border-radius: 20px;
  color: var(--ink-4);
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════
   TÉMOIGNAGES
════════════════════════════════════════════════════════ */
#temoignages { border-bottom: 0.5px solid var(--b); }

.temo-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem var(--pad-h) 1.25rem;
  border-bottom: 0.5px solid var(--b);
}
.temo-header h2 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}
.temo-source {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.linkedin-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0A66C2;
  display: inline-block;
  flex-shrink: 0;
}
.temo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.temo-card {
  padding: 2rem var(--pad-h);
  border-right: 0.5px solid var(--b);
  border-bottom: 0.5px solid var(--b);
  position: relative;
  transition: background 0.15s;
}
.temo-card:nth-child(2n) { border-right: none; }
.temo-card:nth-child(3),
.temo-card:nth-child(4) { border-bottom: none; }
.temo-card:hover { background: var(--ivory-d); }

.temo-num {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 80px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--mono);
}
.temo-quote {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.temo-quote::before {
  content: '"';
  font-size: 48px;
  color: var(--b);
  font-family: var(--serif);
  line-height: 1;
  position: absolute;
  top: -8px;
  left: -12px;
  z-index: -1;
}
.temo-highlight {
  display: inline-block;
  background: var(--ivory-d);
  padding: 1px 6px;
  border-radius: 1px;
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}
.temo-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 0px solid var(--b);
}
.temo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.temo-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.temo-role {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-3);
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.temo-event {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  flex-shrink: 0;
}
.temo-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1rem var(--pad-h);
}
.temo-cta-link {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.temo-cta-link:hover { color: var(--ink); }
.temo-cta-sep { color: var(--ink-4); }
.temo-count {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
}

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ct-d {
  background: var(--dark);
  padding: 3rem var(--pad-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.ct-d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(223, 0, 36, 0.03) 0%, transparent 60%);
  pointer-events: none;
}
.ct-ey {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 1.25rem;
}
.ct-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.3;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.ct-links {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.cl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dark-mid);
  line-height: 2.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cl-prompt { color: var(--dark-faint); }
.cl a {
  color: var(--term-refname);
  text-decoration: none;
  transition: color 0.2s;
}
.cl a:hover { color: #777; }
cl-static { color: var(--dark-subtle); }

.ct-l {
  padding: 3rem var(--pad-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ct-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.95;
}
.softskills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.25rem;
}
.ss {
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 11px;
  border: 0.5px solid var(--b);
  border-radius: 20px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.ct-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: var(--footer-text);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  border-bottom: 0.5px solid var(--footer-border);
}
.footer-grid h3 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.footer-grid p,
.footer-grid a {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--footer-text);
  text-decoration: none;
  display: block;
  line-height: 2.2;
}
.footer-grid a:hover { color: var(--footer-hover); }
.footer-bottom {
  padding: 1rem var(--pad-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--footer-heading);
  letter-spacing: 0.06em;
}
.footer a { padding: 8px 0; }

/* ════════════════════════════════════════════════════════
   EASTER EGG
════════════════════════════════════════════════════════ */
.easter {
  padding: 0.75rem var(--pad-h);
  border-top: 0.5px solid var(--b);
}
#easter {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ivory);
  cursor: pointer;
  transition: color 0.4s;
  letter-spacing: 0.07em;
  user-select: none;
}
#easter:hover { color: var(--ink-4); }
#easter.revealed { color: var(--ink-3); }

/* ════════════════════════════════════════════════════════
   ANIMATIONS AU SCROLL
════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ════════════════════════════════════════════════════════
   IMPRESSION
════════════════════════════════════════════════════════ */
@media print {
  .progress, .strip, .easter, header { display: none; }
  .hero-r { display: none; }
  #hero { grid-template-columns: 1fr; }
  a::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #expertises { grid-template-columns: 1fr 1fr; }
  .sk:nth-child(2) { border-right: none; }
  .sk:nth-child(3) { border-top: 0.5px solid var(--b); border-right: 0.5px solid var(--b); }
  .sk:nth-child(4) { border-top: 0.5px solid var(--b); border-right: none; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --pad-h: var(--pad-h-sm);
  }

  nav { padding: 1rem var(--pad-h-sm); }
  .nav-links { display: none; }
  .strip { font-size: 8px; }

  #hero { grid-template-columns: 1fr; }
  .hero-r { display: none; }
  .hero-l { padding: 2.5rem var(--pad-h-sm) 2rem; }

  #impact { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.5rem var(--pad-h-sm); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 0.5px solid var(--b); }
  .stat:nth-child(4) { border-top: 0.5px solid var(--b); border-right: none; }

  #about { grid-template-columns: 1fr; }
  .about-side { display: none; }
  .about-body { padding: 2rem var(--pad-h-sm); }
  .ghost { display: none; }

  .sec-head { padding: 1.25rem var(--pad-h-sm) 1rem; }
  .ev { grid-template-columns: 50px 1fr auto; gap: 0.75rem; padding: 1rem var(--pad-h-sm); }
  .ev-data { display: none; }

  #expertises { grid-template-columns: 1fr 1fr; }
  .sk { padding: 1.25rem; }
  .sk:nth-child(2) { border-right: none; }
  .sk:nth-child(3) { border-right: 0.5px solid var(--b); }
  .sk:nth-child(4) { border-right: none; }

  #fh { grid-template-columns: 1fr; }
  .fh-col:first-child { border-right: none; border-bottom: 0.5px solid var(--b); }
  .fh-col { padding: 1.75rem var(--pad-h-sm); }
  

  #contact { grid-template-columns: 1fr; }
  .ct-d, .ct-l { padding: 2rem var(--pad-h-sm); }

  .temo-header { padding: 1.25rem var(--pad-h-sm) 1rem; }
  .temo-grid { grid-template-columns: 1fr; }
  .temo-card { padding: 1.75rem var(--pad-h-sm); border-right: none; }
  .temo-card:nth-child(3),
  .temo-card:nth-child(4) { border-bottom: 0.5px solid var(--b); }
  .temo-card:last-child { border-bottom: none; }
  .temo-num { display: none; }
  .temo-cta { padding: 1rem var(--pad-h-sm); }

  .footer-grid { grid-template-columns: 1fr; padding: 2rem var(--pad-h-sm); gap: 1.5rem; }
  .footer-bottom { padding: 1rem var(--pad-h-sm); flex-direction: column; gap: 0.5rem; text-align: center; }
  .easter { padding: 0.75rem var(--pad-h-sm); }
}
#fh {
  border-top: 0.5px solid var(--b);    /* Ligne grise supérieure */
  border-bottom: 0.5px solid var(--b); /* Ligne grise inférieure */
}

@media (min-width: 769px) {
  .about-body {
    display: grid;
    grid-template-columns: 1fr 600px; 
    gap: 3rem;
    align-items: center;
  }
  
  .about-body > *:not(.about-flame-img) {
    grid-column: 1;
  }
  
  .about-flame-img {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 100%;
    height: 400px; 
    object-fit: cover;
    object-position: 55% center;
    border-radius: 4px;
    border: 0.5px solid var(--bm);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  }

  .about-body .pill {
    width: max-content; 
    max-width: 100%;
  }
}

/* Version mobile */
@media (max-width: 768px) {
  .about-flame-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    margin-top: 2rem;
    border-radius: 4px;
  }
}