@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy:        #1B2360;
  --navy-dark:   #10173F;
  --navy-mid:    #2E3A85;
  --yellow:      #FFDD15;
  --yellow-dark: #E8C600;
  --green:       #00B585;
  --green-text:  #00795A;
  --cream:       #FFFCF1;
  --tint:        #FBF6E3;
  --paper:       #FFFFFF;
  --line:        #E4E2D4;
  --line-soft:   #D2D5E2;
  --hover-bg:    #EEF0F7;
  --text:        #0E1130;
  --muted:       #4A5072;
  --muted-2:     #5F6690;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max:         1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
site-header, site-footer { display: block; }
site-header { min-height: 76px; }
@media (max-width: 760px) { site-header { min-height: 66px; } }

body {
  margin: 0;
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; overflow-wrap: anywhere; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-mid); }
::selection { background: var(--yellow); color: var(--navy-dark); }

main { animation: vzIn 0.4s ease both; }
@keyframes vzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vzReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -0.1em 0 0); } }
@keyframes vzBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, main { animation: none !important; } }

.reveal { display: inline-block; animation: vzReveal 0.9s steps(13) 0.15s both; }
.reveal-2 { animation: vzReveal 1s steps(14) 1.05s both; }
.caret { display: inline-block; width: 4px; height: 0.72em; margin-left: 8px; background: var(--yellow); animation: vzBlink 0.85s step-end 2.05s infinite both; }

.container { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: 12px; background: var(--navy); color: var(--cream); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,241,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transform: translateZ(0); will-change: transform; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 0; }

.brand-mark { display: flex; align-items: center; gap: 14px; color: var(--text); flex: none; }
.brand-symbol {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--navy); color: var(--yellow); font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 17px; letter-spacing: -0.03em; flex-shrink: 0;
}
.brand-mark strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.brand-mark small { display: block; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }

#nav-links { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
#nav-links a {
  position: relative; display: block; padding: 9px 11px; white-space: nowrap; border-radius: 8px;
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); transition: color var(--transition), background var(--transition);
}
#nav-links a:hover { background: var(--hover-bg); color: var(--navy); text-decoration: none; }
#nav-links a.active { color: var(--navy); }
#nav-links a.active::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px; border-radius: 2px; background: var(--yellow);
}

.nav-cta { flex: none; min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; }

/* ============================================ */
/* BUTTONS                                       */
/* ============================================ */

.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 13px; font-family: 'Geist', sans-serif;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.button.primary { background: var(--navy); color: var(--cream); }
.button.primary:hover { background: var(--navy-dark); text-decoration: none; }
.button.secondary { background: var(--paper); color: var(--navy); border-color: var(--line-soft); }
.button.secondary:hover { border-color: var(--navy); text-decoration: none; }
.button.accent { background: var(--yellow); color: var(--navy-dark); }
.button.accent:hover { background: var(--yellow-dark); text-decoration: none; }
.button:hover { transform: translateY(-1px); }

/* ============================================ */
/* TYPOGRAPHY HELPERS                            */
/* ============================================ */

.eyebrow, .section-label { display: block; color: var(--muted-2); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 500; margin: 0 0 12px; font-family: 'Geist Mono', monospace; }
h1 { color: var(--text); font-size: 76px; line-height: 0.98; letter-spacing: -0.04em; }
h2 { color: var(--text); font-size: 46px; line-height: 1; letter-spacing: -0.035em; }
h3 { color: var(--text); line-height: 1.15; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.hero-role { display: block; margin-bottom: 8px; color: var(--text); font-weight: 600; }
.page-intro { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 0 52px; }
.page-main { padding: 80px 0 100px; }

/* ============================================ */
/* HERO (Accueil)                                */
/* ============================================ */

.hero { background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 72px; align-items: stretch; padding: 88px 0 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 30px; justify-content: space-between; }

.disponible-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  background: rgba(0, 181, 133, 0.12); border: 1px solid rgba(0, 181, 133, 0.3);
  color: var(--green-text); border-radius: 999px; padding: 5px 14px; min-height: 32px;
  font-size: 11.5px; font-weight: 500; font-family: 'Geist Mono', monospace; letter-spacing: 0.09em; text-transform: uppercase;
}
.disponible-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.75); } }

.hero h1 span.accent { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-size: 40px; letter-spacing: -0.035em; line-height: 1.05; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; }
.stats span { font-size: 11px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); font-family: 'Geist Mono', monospace; }

/* ---- Identity panel (photo + réseaux) ---- */
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.identity-panel { position: relative; border-radius: 22px; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 5; }
.identity-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.identity-panel .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(to top, rgba(16,23,63,0.92), rgba(16,23,63,0)); }
.identity-panel .caption strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--cream); }
.identity-panel .caption span { display: block; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--yellow); margin-top: 5px; }

.social-list { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 8px; }
.social-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text); transition: background var(--transition); }
.social-list a:hover { background: var(--hover-bg); text-decoration: none; }
.social-list a .handle { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted-2); }

/* ============================================ */
/* AXES (2 cartes, accueil)                      */
/* ============================================ */

.axis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.axis-card { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; }
.axis-card.navy { background: var(--navy); color: var(--cream); }
.axis-card.navy .eyebrow { color: var(--yellow); }
.axis-card.navy p { color: #B9BEDB; }
.axis-card.yellow { background: var(--yellow); color: var(--navy-dark); }
.axis-card.yellow .eyebrow { color: #6B5A00; }
.axis-card.yellow p { color: #4A4000; }
.axis-card h3 { font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; }
.axis-card p { font-size: 16px; line-height: 1.6; }
.axis-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.axis-card.navy .axis-tags span { border-color: rgba(255,252,241,0.22); }
.axis-card.yellow .axis-tags span { border-color: rgba(16,23,63,0.2); }
.axis-tags span { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid; display: flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============================================ */
/* CARTES GÉNÉRIQUES (projets, compétences...)   */
/* ============================================ */

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-4px); border-color: var(--navy); text-decoration: none; }

.card-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-professionnel { background: #1B2360; }
.dot-data { background: #4A90E2; }
.dot-innovation { background: #00C896; }
.dot-academique { background: #FF6B5C; }
.card-cat { font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.card h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.card-meta-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--hover-bg); font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
  mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
}
.marquee-track { display: flex; width: max-content; gap: 18px; animation: marqueeScroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .card { flex: none; width: 360px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 760px) { .marquee-track .card { width: 78vw; } }

/* ============================================ */
/* TRAVAUX RÉCENTS (bandeau accueil)             */
/* ============================================ */

.section.tinted { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding: 72px 0; }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.text-link { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--yellow); padding-bottom: 4px; color: var(--text); background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.text-link:hover { text-decoration: none; }

/* ============================================ */
/* EXPERTISE (page)                              */
/* ============================================ */

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 64px; }
.skill-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.skill-num { font-family: 'Geist Mono', monospace; font-size: 26px; font-weight: 500; color: var(--line-soft); letter-spacing: -0.02em; }
.skill-card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.skill-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.service-band { border-radius: 24px; background: var(--navy); color: var(--cream); padding: 40px; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 32px; }
.service-intro { display: flex; flex-direction: column; gap: 12px; }
.service-band .eyebrow { color: var(--yellow); }
.service-band h3 { font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; }
.service-band .service-lead { font-size: 15px; line-height: 1.6; color: #B9BEDB; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.service-list li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255,252,241,0.14); font-size: 15.5px; line-height: 1.45; }
.service-list li .slash { color: var(--yellow); font-family: 'Geist Mono', monospace; font-size: 12px; }

/* ============================================ */
/* PROJETS (page)                                */
/* ============================================ */

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.filter-chip {
  position: relative; cursor: pointer; min-height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--paper); display: flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text);
  transition: border-color var(--transition);
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); display: none; flex-shrink: 0; }
.filter-chip.active .chip-dot { display: block; }

.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--transition), border-color var(--transition); }
.project-card:hover { transform: translateY(-4px); border-color: var(--navy); }
.project-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.project-card .period { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); }
.project-card h3 { font-size: 24px; line-height: 1.13; letter-spacing: -0.025em; }
.project-card .org { font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }
.project-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.project-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px; }
.project-link { align-self: flex-start; font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; color: var(--text); }
.project-link:hover { text-decoration: none; color: var(--navy-mid); }
.project-card[hidden] { display: none; }

/* ============================================ */
/* PUBLICATIONS (page)                           */
/* ============================================ */

.publication-list { display: flex; flex-direction: column; }
.publication-list article { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
time { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 30px; letter-spacing: -0.03em; color: var(--muted-2); }
.pub-body { display: flex; flex-direction: column; gap: 14px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tag { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--hover-bg); display: flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.publication-list h3 { font-size: 27px; line-height: 1.16; letter-spacing: -0.025em; max-width: 860px; }
.pub-source { font-size: 15px; color: var(--muted); line-height: 1.55; }
.card-abstract { font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 860px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.card-abstract.open { max-height: 600px; padding: 20px 24px; background: var(--tint); border-left: 3px solid var(--yellow); border-radius: 0 14px 14px 0; }
.pub-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.toggle-abstract { cursor: pointer; font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: none; border: none; border-bottom: 2px solid var(--yellow); padding: 0 0 3px; }
.toggle-abstract:hover { text-decoration: none; }
.pub-links > a { font-size: 14px; font-weight: 600; color: var(--navy); }

/* ============================================ */
/* PARCOURS (page)                               */
/* ============================================ */

.parcours-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.diplomes-list { display: flex; flex-direction: column; }
.diplome-item { display: grid; grid-template-columns: 108px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.diplome-item .year { font-family: 'Geist Mono', monospace; font-size: 12.5px; letter-spacing: 0.05em; color: var(--muted-2); padding-top: 5px; }
.diplome-item .body { display: flex; flex-direction: column; gap: 7px; }
.diplome-item h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.diplome-item p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.parcours-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.side-card h3 { font-size: 26px; letter-spacing: -0.025em; line-height: 1.1; }
.certif-list { display: flex; flex-wrap: wrap; gap: 7px; }
.certif-pill { height: 30px; padding: 0 12px; border-radius: 8px; background: var(--hover-bg); display: flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }

.orgs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; align-items: center; }
.org-logo { display: grid; place-items: center; height: 56px; min-width: 0; padding: 4px; overflow: hidden; }
.org-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 48px; object-fit: contain; }

/* ============================================ */
/* CONTACT (page)                                */
/* ============================================ */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 22px; }
.contact-intro .lead { font-size: 19px; max-width: 520px; }
.contact-section-title { font-size: 22px; margin-top: 4px; }
.contact-intro .social-list { max-width: 520px; }
.contact-intro .social-list a .handle { font-size: 11px; }

.accompagnement-panel { max-width: 520px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.accompagnement-panel h2 { margin-bottom: 20px; font-size: 25px; line-height: 1.15; }
.accompagnement-list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.accompagnement-list li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.accompagnement-list li > span { grid-row: 1 / 3; padding-top: 2px; color: var(--navy-mid); font-family: 'Geist Mono', monospace; font-size: 11px; }
.accompagnement-list strong { color: var(--text); font-size: 15px; line-height: 1.35; }
.accompagnement-list small { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.accompagnement-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-form-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.contact-form-header h2 { font-size: 30px; }
.contact-form-header p, .form-privacy { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { display: flex; align-items: baseline; gap: 5px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.required-mark { color: #A51D3E; font-weight: 700; }
.optional-mark { margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 10px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.form-group input, .form-group textarea {
  border-radius: 13px; border: 1.5px solid var(--line-soft); background: var(--cream);
  padding: 0 16px; height: 52px; font-family: 'Geist', sans-serif; font-size: 15px; color: var(--text);
  transition: border-color var(--transition);
}
.form-group textarea { height: auto; padding: 14px 16px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--navy); }
.contact-form :focus-visible, .contact-intro .social-list a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin-top: -2px; }
.contact-form .button { margin-top: 4px; width: 100%; justify-content: center; }
.contact-form .button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.form-status { min-height: 0; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.form-status:not(:empty) { min-height: 44px; padding: 11px 14px; }
.form-status.success { color: #006C50; background: #E0F3E4; border: 1px solid rgba(0, 108, 80, 0.25); }
.form-status.error { color: #8B1E3F; background: #FCE8ED; border: 1px solid rgba(139, 30, 63, 0.25); }

/* ============================================ */
/* FOOTER                                        */
/* ============================================ */

.site-footer { border-top: 1px solid var(--line); background: var(--tint); }
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 28px 20px; font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--muted-2); font-size: 11.5px; }
.footer-nav a:hover { color: var(--navy); }

/* ============================================ */
/* REDIRECTION (anciennes pages)                 */
/* ============================================ */

.redirect-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); padding: 40px; text-align: center; }
.redirect-screen p { font-size: 16px; color: var(--muted); }
.redirect-screen a { font-weight: 600; }

/* ============================================ */
/* RESPONSIVE                                    */
/* ============================================ */

@media (max-width: 1040px) {
  .card-grid-3, .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid, .axis-grid, .card-grid-2, .parcours-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .service-band { grid-template-columns: 1fr; }
  .parcours-grid { gap: 32px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, var(--max)); }

  .nav-inner { flex-wrap: wrap; row-gap: 12px; padding: 14px 0; min-height: 0; }
  #nav-links { order: 3; flex: 1 1 100%; justify-content: flex-start; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 0; }
  .nav-cta::after { content: 'Contact'; font-size: 13px; }

  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .page-main { padding: 40px 0 56px; }

  .hero-grid { padding: 36px 0 40px; }
  .hero-copy, .hero-side { min-width: 0; }
  .axis-card, .service-band, .contact-form { padding: 26px; }
  .accompagnement-panel { padding: 22px; }
  .axis-card h3, .service-band h3 { font-size: 26px; }

  .card-grid-3, .card-grid-2, .skills-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .publication-list article { grid-template-columns: 1fr; gap: 12px; }
  time { font-size: 20px; }
  .publication-list h3 { font-size: 21px; }

  .diplome-item { grid-template-columns: 1fr; gap: 8px; }
  .service-list { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 10px; padding: 24px 20px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { justify-content: center; }
  .contact-form-header h2 { font-size: 26px; }
}
