:root {
  --ink: #171715;
  --ink-soft: #232320;
  --paper: #f1eee7;
  --paper-soft: #e8e3da;
  --white: #fffdf8;
  --muted: #6b6861;
  --line: rgba(23, 23, 21, .17);
  --line-dark: rgba(255, 253, 248, .17);
  --red: #c52f35;
  --red-dark: #e25e5e;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(23, 23, 21, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.dark-section { color: var(--white); background: var(--ink); }
.light-section { background: var(--paper); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: var(--white); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(23, 23, 21, .94); box-shadow: 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid var(--red); color: var(--white); font-size: 13px; font-family: ui-monospace, Consolas, monospace; }
.brand-name { font-size: 15px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: #ff7777; }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line-dark); }
.nav-cta:hover { border-color: var(--red); background: var(--red); }
.menu-toggle { display: none; color: inherit; background: none; border: 0; font: inherit; }

.hero { position: relative; overflow: hidden; padding: 160px 0 58px; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 48px 48px; }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -170px; top: 130px; border: 1px solid rgba(210, 53, 53, .35); transform: rotate(17deg); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.eyebrow, .kicker { margin: 0 0 20px; color: var(--red-dark); font: 700 12px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { color: #ff7676; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #63cc80; box-shadow: 0 0 0 5px rgba(99,204,128,.1); }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(48px, 6.2vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero h1 em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 720px; margin: 32px 0 0; color: #c8c5be; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 13px 20px; border: 1px solid transparent; text-decoration: none; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); border-color: var(--red); }
.button-primary:hover { background: #b92b2f; border-color: #b92b2f; }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-secondary:hover { border-color: var(--white); }
.availability { margin: 20px 0 0; color: #8d8b85; font-size: 14px; }

.portrait-panel { position: relative; min-height: 570px; }
.portrait-frame { position: absolute; inset: 0 0 28px 30px; overflow: hidden; background: #2d2d2a; clip-path: polygon(0 0, 100% 0, 100% 89%, 86% 100%, 0 100%); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(23,23,21,.5)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.78) contrast(1.04); }
.portrait-note { position: absolute; left: 0; bottom: 0; padding: 18px 20px; background: var(--paper); color: var(--ink); border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.portrait-note span { display: block; margin-bottom: 8px; color: var(--red-dark); font: 700 10px ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.portrait-note strong { font-size: 15px; line-height: 1.45; }

.proof-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 84px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.proof-strip div { min-height: 112px; padding: 22px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: center; }
.proof-strip div:first-child { padding-left: 0; }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.proof-strip span { margin-top: 8px; color: #8d8b85; font-size: 13px; }

.intro-section, .projects-section, .experience-section, .more-section { padding: 120px 0; }
.intro-grid, .experience-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.section-heading h2, .section-top h2, .contact-section h2 { margin: 0; max-width: 760px; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.048em; }
.intro-copy { max-width: 650px; padding-top: 28px; border-top: 1px solid var(--line); color: #484640; font-size: 19px; }
.intro-copy p:first-child { margin-top: 0; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); }
.role-card { position: relative; min-height: 285px; padding: 38px 32px; background: var(--paper); }
.card-index { color: var(--red-dark); font: 700 12px ui-monospace, Consolas, monospace; }
.role-card h3 { margin: 55px 0 10px; font-size: 27px; letter-spacing: -.03em; }
.role-card p { margin: 0; color: var(--muted); }

.projects-section { padding-top: 40px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 60px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.section-top > p { max-width: 390px; margin: 0 0 8px; color: var(--muted); }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 28px; padding-top: 60px; }
.project-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.project-image { position: relative; display: block; min-height: 360px; overflow: hidden; background: var(--ink-soft); text-decoration: none; }
.project-card:not(.project-card-featured) .project-image { aspect-ratio: 4 / 3; min-height: 0; }
.project-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(23,23,21,.1); pointer-events: none; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.project-image:hover img { transform: scale(1.025); }
.project-number { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 54px; height: 54px; color: var(--white); background: var(--red); font: 700 13px ui-monospace, Consolas, monospace; }
.project-content { padding-top: 24px; }
.project-card-featured .project-content { padding-top: 0; }
.project-type { margin: 0 0 12px; color: var(--red-dark); font: 700 11px ui-monospace, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.project-content h3 { margin: 0; font-size: clamp(27px, 3vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.project-content h3 a { text-decoration: none; }
.project-content h3 a:hover { color: var(--red-dark); }
.project-content > p:not(.project-type) { color: var(--muted); }
.project-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; color: #494741; font-size: 13px; font-weight: 650; }
.project-facts li::before { content: "•"; margin-right: 8px; color: var(--red); }
.project-facts li:first-child::before { content: none; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: 14px; font-weight: 750; text-decoration-color: var(--red); }
.text-link:hover { color: var(--red-dark); }

.kicker-light { color: #ff7777; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 135px 1fr; gap: 32px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.timeline-date { margin: 4px 0 0; color: var(--red-dark); font: 700 12px ui-monospace, Consolas, monospace; }
.timeline h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.timeline-org { margin: 4px 0 12px; color: var(--ink); font-weight: 700; }
.timeline-item div > p:last-child { margin: 0; color: var(--muted); }
.experience-section .section-heading { position: sticky; top: 110px; }
.experience-section .text-link { margin-top: 30px; }

.more-section { padding-top: 20px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.mini-project { min-height: 300px; padding: 32px; background: var(--paper); }
.mini-project > span { color: var(--red-dark); font: 700 11px ui-monospace, Consolas, monospace; text-transform: uppercase; }
.mini-project h3 { margin: 64px 0 12px; font-size: 26px; }
.mini-project p { color: var(--muted); }
.mini-project a { font-size: 14px; font-weight: 750; text-decoration-color: var(--red); }

.personal-section { padding: 0 0 120px; background: var(--paper); }
.personal-card { position: relative; display: grid; grid-template-columns: .45fr 1fr .3fr; gap: 60px; align-items: start; padding: 62px; color: var(--white); background: var(--red-dark); overflow: hidden; }
.personal-card .kicker { color: #ffd3cc; }
.personal-card h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.personal-card p { margin: 0; color: #f5dedd; }

.contact-section { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; }
.contact-copy { padding: 36px 0 0; border-top: 1px solid var(--line-dark); }
.contact-copy > p { margin: 0 0 28px; color: #aaa8a1; font-size: 19px; }
.contact-links { display: flex; gap: 24px; margin-top: 22px; font-size: 14px; font-weight: 700; }
.site-footer { color: #8f8d87; background: var(--ink); border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.project-page { background: var(--paper); }
.project-page .site-header { background: var(--ink); }
.project-hero { padding: 150px 0 80px; }
.breadcrumb { margin: 0 0 38px; color: #918f89; font-size: 13px; }
.breadcrumb a { color: var(--white); }
.project-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.project-hero h1 { margin: 0; font-size: clamp(46px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.project-hero .hero-lead { font-size: 19px; }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 30px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.project-meta dt { margin-bottom: 4px; color: #82807a; font: 700 10px ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.project-meta dd { margin: 0; color: var(--white); font-size: 15px; font-weight: 650; }
.case-image-wrap { padding: 70px 0 0; background: linear-gradient(var(--ink) 50%, var(--paper) 50%); }
.case-image { max-height: 680px; width: 100%; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.case-body { padding: 100px 0 120px; }
.case-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; margin-bottom: 90px; }
.case-intro h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.case-intro div { color: #4c4943; font-size: 19px; }
.case-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-column { padding: 36px 30px; background: var(--paper); }
.case-column h3 { margin: 45px 0 14px; font-size: 24px; }
.case-column p, .case-column li { color: var(--muted); }
.case-column ul { padding-left: 19px; }
.case-result { margin-top: 90px; padding: 58px; color: var(--white); background: var(--red-dark); }
.case-result p { max-width: 850px; margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; letter-spacing: -.03em; }
.case-result .case-result-label { margin-bottom: 14px; color: var(--red); font: 700 11px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-in .6s ease both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

@media (max-width: 920px) {
  .shell { width: min(100% - 32px, var(--max)); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 1px; background: currentColor; content: ""; transition: transform .2s ease; }
  .menu-lines { position: relative; }
  .menu-lines::before { position: absolute; top: -6px; }
  .menu-lines::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; background: var(--ink); border-top: 1px solid var(--line-dark); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid, .intro-grid, .experience-grid, .contact-grid, .project-hero-grid, .case-intro { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .portrait-panel { min-height: 520px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .proof-strip div:nth-child(3) { padding-left: 0; }
  .role-cards, .more-grid, .case-columns { grid-template-columns: 1fr; }
  .role-card, .mini-project { min-height: 0; }
  .role-card h3, .mini-project h3 { margin-top: 35px; }
  .project-card-featured { grid-template-columns: 1fr; gap: 0; }
  .experience-section .section-heading { position: static; }
  .personal-card { grid-template-columns: 1fr; padding: 45px 34px; }
  .project-hero-grid { gap: 45px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { display: none; }
  .header-inner { min-height: 68px; }
  .main-nav { top: 68px; }
  .hero { padding: 112px 0 40px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .portrait-panel { min-height: 450px; margin-top: 12px; }
  .portrait-frame { left: 14px; }
  .proof-strip { margin-top: 58px; }
  .proof-strip div { min-height: 100px; padding: 16px; }
  .proof-strip div:first-child, .proof-strip div:nth-child(3) { padding-left: 0; }
  .proof-strip strong { font-size: 24px; }
  .intro-section, .projects-section, .experience-section, .more-section, .contact-section { padding: 82px 0; }
  .projects-section, .more-section { padding-top: 20px; }
  .section-heading h2, .section-top h2, .contact-section h2 { font-size: 38px; }
  .role-cards { margin-top: 50px; }
  .section-top { align-items: start; flex-direction: column; gap: 20px; }
  .project-list { grid-template-columns: 1fr; gap: 62px; }
  .project-card-featured { grid-column: auto; }
  .project-image, .project-card:not(.project-card-featured) .project-image { min-height: 0; aspect-ratio: 4 / 3; }
  .project-content h3 { font-size: 31px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .personal-section { padding-bottom: 80px; }
  .personal-card { width: 100%; padding: 42px 24px; }
  .contact-grid { gap: 40px; }
  .footer-inner { padding: 26px 0; flex-direction: column; align-items: flex-start; gap: 5px; }
  .project-hero { padding: 115px 0 60px; }
  .project-hero h1 { font-size: 48px; }
  .case-image-wrap { padding-top: 32px; }
  .case-body { padding: 72px 0 80px; }
  .case-intro { gap: 30px; margin-bottom: 55px; }
  .case-result { margin-top: 55px; padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; animation: none !important; }
}

@media print {
  .site-header, .hero-actions, .contact-section, .site-footer, .case-end { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .dark-section { color: #000; background: #fff; }
  .hero { padding: 30px 0; background: none; }
  .hero h1 { font-size: 36pt; }
  .portrait-panel { min-height: 350px; }
  .reveal { opacity: 1; transform: none; }
}

/* Direction hybride : ADN du portfolio d’origine, contenu de la refonte */
body {
  color: #eceae4;
  background-color: #101010;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 44px 44px;
}
.light-section,
.personal-section,
.more-section,
.experience-section,
.projects-section,
.intro-section,
.case-body,
.project-page { color: #eceae4; background: transparent; }
.dark-section,
.site-footer { color: #eceae4; background-color: #101010; }
.site-header.is-scrolled { background: rgba(16,16,16,.96); }
.brand-mark { display: none; }
.brand-name { font-size: 0; letter-spacing: -.045em; }
.brand-name::before,
.brand-name::after { font-size: 17px; font-weight: 850; }
.brand-name::before { content: "ALEXANDRE"; color: #f2f0ea; }
.brand-name::after { content: "DOUSSET"; color: var(--red); }
.nav-cta { border-color: rgba(255,255,255,.22); }

.hero { min-height: auto; padding-top: 135px; padding-bottom: 42px; }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr); gap: clamp(45px, 7vw, 90px); }
.hero h1 { max-width: 690px; font-size: clamp(48px, 5.5vw, 74px); line-height: .94; }
.hero h1 em { color: var(--red); font-family: inherit; font-style: normal; font-weight: inherit; }
.hero-lead { max-width: 650px; margin-top: 26px; color: #aaa8a2; font-size: 18px; }
.hero-signature { margin: 20px 0 0; color: #eceae4; font: 750 15px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.portrait-panel { min-height: 455px; }
.portrait-frame {
  inset: 0 0 18px 0;
  aspect-ratio: 1;
  width: min(100%, 440px);
  height: auto;
  margin: auto;
  border: 2px solid var(--red);
  border-radius: 50%;
  clip-path: none;
  background: #191919;
}
.portrait-frame img { object-position: center 20%; }
.portrait-note { left: auto; right: 0; bottom: 8px; padding: 14px 16px; color: #eceae4; background: #151515; border: 1px solid rgba(255,255,255,.16); border-left: 3px solid var(--red); box-shadow: none; }
.proof-strip { margin-top: 55px; }
.proof-strip div { min-height: 92px; }

.intro-section,
.experience-section,
.contact-section { padding: 86px 0; }
.projects-section,
.more-section { padding-top: 35px; padding-bottom: 86px; }
.section-heading h2,
.section-top h2,
.contact-section h2 { max-width: 650px; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; }
.intro-grid,
.experience-grid { grid-template-columns: .72fr 1.28fr; gap: clamp(42px, 7vw, 95px); }
.intro-copy { padding-top: 22px; color: #a8a69f; border-color: rgba(255,255,255,.14); font-size: 17px; }
.role-cards,
.more-grid,
.case-columns { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.role-card,
.mini-project,
.case-column { color: #eceae4; background: rgba(18,18,18,.94); }
.role-card { min-height: 230px; padding: 30px 28px; }
.role-card::after { position: absolute; top: 24px; right: 22px; color: rgba(255,255,255,.16); font: 12px Georgia, serif; writing-mode: vertical-rl; }
.role-card:nth-child(1)::after { content: "分析"; }
.role-card:nth-child(2)::after { content: "統括"; }
.role-card:nth-child(3)::after { content: "展開"; }
.role-card h3 { margin-top: 38px; font-size: 24px; }
.role-card p,
.project-content > p:not(.project-type),
.timeline-item div > p:last-child,
.mini-project p,
.case-column p,
.case-column li,
.case-intro div { color: #94928c; }

.section-top { padding-bottom: 28px; border-color: rgba(255,255,255,.13); }
.section-top > p { color: #85837d; }
.section-side { max-width: 360px; }
.section-side p { margin: 0 0 12px; color: #85837d; }
.section-side .text-link { color: #eceae4; }
.project-list { gap: 55px 22px; padding-top: 38px; }
.project-card { border: 1px solid rgba(255,255,255,.13); background: rgba(16,16,16,.78); }
.project-card,
.project-content,
.project-image { min-width: 0; max-width: 100%; }
.project-content h3 { overflow-wrap: anywhere; }
.project-card-featured { gap: 0; }
.project-content { padding: 24px; }
.project-card-featured .project-content { padding: 34px; }
.project-image { min-height: 330px; }
.project-image::after { border-color: rgba(255,255,255,.08); }
.project-content h3 { font-size: clamp(25px, 2.6vw, 36px); }
.project-content h3 a:hover,
.text-link,
.project-facts,
.timeline-org { color: #eceae4; }
.project-facts { border-color: rgba(255,255,255,.13); color: #aaa8a2; }
.project-number { width: 46px; height: 46px; }


.timeline,
.timeline-item { border-color: rgba(255,255,255,.14); }
.timeline-item { padding: 26px 0; }
.timeline h3 { font-size: 22px; }
.more-grid { margin-top: 34px; }
.more-grid-experience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-project { min-height: 250px; padding: 28px; }
.mini-project h3 { margin-top: 42px; font-size: 23px; }

.personal-section { padding-bottom: 86px; }
.personal-card { grid-template-columns: .4fr 1fr .25fr; padding: 44px; background: #151515; border: 1px solid var(--red); }
.personal-card h2 { font-size: clamp(30px, 3.4vw, 44px); }
.personal-card p { color: #aaa8a2; }

.contact-section { border-top: 1px solid rgba(255,255,255,.12); }
.contact-copy { border-color: rgba(255,255,255,.14); }
.contact-copy > p { color: #92908a; font-size: 17px; }
.site-footer { border-color: rgba(255,255,255,.12); }

.project-hero { padding-top: 125px; padding-bottom: 64px; }
.project-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.project-meta { border-color: rgba(255,255,255,.15); }
.case-image-wrap { padding-top: 45px; background: #101010; }
.case-image { box-shadow: none; border: 1px solid rgba(255,255,255,.14); }
.case-body { padding: 75px 0 85px; }
.case-intro { margin-bottom: 60px; }
.case-intro h2 { font-size: clamp(32px, 3.7vw, 48px); }
.case-result { margin-top: 60px; padding: 42px; background: #151515; border: 1px solid var(--red); }
.case-result p { font-size: clamp(22px, 2.6vw, 32px); }

/* Simplification et preuves */
.role-cards { grid-template-columns: 1fr; gap: 0; background: transparent; border-width: 1px 0 0; }
.role-card { display: grid; grid-template-columns: 70px 210px minmax(0, 1fr); gap: 24px; align-items: start; min-height: 0; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.role-card::after { content: none !important; }
.role-card h3 { margin: -4px 0 0; font-size: 24px; }
.role-card p { margin: 0; }
.project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 18px; }
.project-card-featured { grid-column: 1 / -1; }
.contact-links a:first-child { overflow-wrap: anywhere; }
.proof-strip-qualitative { grid-template-columns: repeat(3, 1fr); }
.proof-strip-qualitative div { padding-block: 24px; }
.proof-strip-qualitative strong { max-width: 260px; font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.proof-strip-qualitative span { margin-top: 8px; }
.toolkit { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 34px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.toolkit > p { margin: 3px 0 0; color: var(--red-dark); font: 700 11px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.toolkit ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: #b0aea8; font-size: 14px; }
.toolkit li::before { content: "+"; margin-right: 8px; color: var(--red-dark); font-family: ui-monospace, Consolas, monospace; }

/* Études de cas : lecture éditoriale claire */
.project-page { color: var(--ink); background: var(--paper); }
.project-page .site-header.is-scrolled { color: var(--ink); background: rgba(241,238,231,.96); box-shadow: 0 1px 0 rgba(23,23,21,.13); }
.project-page .site-header.is-scrolled .brand-name::before { color: var(--ink); }
.project-page .site-header.is-scrolled .nav-cta { border-color: rgba(23,23,21,.25); }
.project-page .case-image-wrap { padding-top: 45px; background: linear-gradient(#101010 44%, var(--paper) 44%); }
.project-page .case-image { border: 0; box-shadow: 0 24px 65px rgba(23,23,21,.14); }
.project-page .case-body { color: var(--ink); background: var(--paper); }
.project-page .case-intro div { color: #4c4943; }
.project-page .case-columns { background: var(--line); border-color: var(--line); }
.project-page .case-column { color: var(--ink); background: var(--white); }
.project-page .case-column p,
.project-page .case-column li { color: var(--muted); }
.project-page .case-result { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.case-end { padding: 34px 0 48px; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.case-end-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.case-end .text-link { color: var(--ink); font-size: 15px; }

/* Index éditorial de l’ensemble des projets */
.archive-hero { padding: 145px 0 82px; }
.archive-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 8vw, 110px); align-items: end; }
.archive-hero h1 { margin: 0; font-size: clamp(52px, 7vw, 92px); line-height: .94; letter-spacing: -.055em; }
.archive-intro { max-width: 610px; margin: 0; padding-top: 26px; color: #aaa8a2; border-top: 1px solid rgba(255,255,255,.16); font-size: 18px; }
.archive-page .site-header.is-scrolled { color: #eceae4; background: rgba(16,16,16,.96); box-shadow: 0 1px 0 rgba(255,255,255,.1); }
.archive-page .site-header.is-scrolled .brand-name::before { color: #f2f0ea; }
.archive-page .site-header.is-scrolled .nav-cta { border-color: rgba(255,255,255,.22); }
.archive-content { padding: 95px 0 120px; color: #eceae4; background: #181816; }
.archive-groups { display: grid; gap: 105px; }
.archive-group { display: grid; grid-template-columns: minmax(230px, .55fr) 1.45fr; gap: clamp(45px, 7vw, 95px); align-items: start; }
.archive-group-heading { position: sticky; top: 110px; }
.archive-group-heading h2 { margin: 0; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.03; letter-spacing: -.04em; }
.archive-items { border-top: 1px solid rgba(255,255,255,.14); }
.archive-item { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.archive-item time { padding-top: 5px; color: #8f8c84; font: 700 11px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.archive-item h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.18; letter-spacing: -.025em; }
.archive-item p { max-width: 720px; margin: 0; color: #aaa8a2; font-size: 15px; }
.archive-item-featured { position: relative; }
.archive-item-featured::before { content: ""; position: absolute; left: -18px; top: 28px; bottom: 28px; width: 3px; background: var(--red); }
.archive-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.archive-link { display: inline-flex; margin-top: 13px; color: #eceae4; font-size: 13px; font-weight: 750; text-decoration-color: var(--red); }
.archive-link:hover { color: var(--red); }
.archive-contact { padding: 72px 0; }
.archive-contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.archive-contact h2 { max-width: 650px; margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.045em; }

/* Une touche personnelle, formulée comme une pratique professionnelle */
.personal-card { grid-template-columns: minmax(180px, .42fr) 1fr; }
.personal-label span { color: #9a9891; font: 700 10px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.error-page { min-height: 100vh; background: var(--ink); color: var(--paper); }
.error-main { min-height: 100vh; display: grid; place-items: center; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.error-grid { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.error-code { margin: 0; color: transparent; -webkit-text-stroke: 2px var(--red); font: 800 clamp(120px, 21vw, 260px)/.8 Arial, sans-serif; letter-spacing: -.08em; }
.error-grid h1 { max-width: 650px; margin: 10px 0 24px; font-size: clamp(44px, 7vw, 88px); line-height: .94; }
.error-grid .hero-lead { max-width: 580px; margin-bottom: 30px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-panel { width: min(100%, 470px); margin-inline: auto; }
  .intro-grid,
  .experience-grid { grid-template-columns: 1fr; }
  .project-card-featured { grid-template-columns: 1fr; }
  .project-card-featured .project-content { padding: 24px; }
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card-featured { grid-column: 1 / -1; }
  .more-grid-experience { grid-template-columns: 1fr; }
  .archive-hero-grid,
  .archive-group { grid-template-columns: 1fr; }
  .archive-group-heading { position: static; }
}

@media (max-width: 640px) {
  .brand-name { display: inline-block; }
  .brand-name::before,
  .brand-name::after { font-size: 14px; }
  .hero h1 { font-size: 49px; }
  .hero-signature { font-size: 13px; }
  .hero-lead { font-size: 16px; }
  .portrait-panel { min-height: 320px; }
  .portrait-frame { width: 300px; max-width: calc(100% - 10px); }
  .proof-strip { margin-top: 38px; }
  .proof-strip div { min-height: 74px; padding-block: 16px; }
  .intro-section,
  .experience-section,
  .contact-section { padding: 68px 0; }
  .section-heading h2,
  .section-top h2,
  .contact-section h2 { font-size: 34px; }
  .project-card { border-left: 2px solid var(--red); }
  .personal-card { padding: 34px 24px; }
  .project-list { grid-template-columns: 1fr; }
  .project-card-featured { grid-column: auto; }
  .role-card { grid-template-columns: 44px 1fr; gap: 8px 12px; }
  .role-card p { grid-column: 2; }
  .toolkit { grid-template-columns: 1fr; gap: 14px; }
  .personal-card { grid-template-columns: 1fr; }
  .case-end-inner { flex-direction: column; align-items: flex-start; }
  .archive-hero { padding: 115px 0 58px; }
  .archive-content { padding: 72px 0 85px; }
  .archive-groups { gap: 75px; }
  .archive-item { grid-template-columns: 1fr; gap: 7px; padding: 24px 0; }
  .archive-item-featured::before { left: -9px; top: 24px; bottom: 24px; width: 2px; }
  .archive-contact-inner { align-items: stretch; flex-direction: column; }
  .error-grid { grid-template-columns: 1fr; gap: 35px; padding-block: 80px; }
  .error-code { font-size: 120px; }
}

@media (max-width: 920px) {
  .proof-strip-qualitative { grid-template-columns: 1fr; }
  .proof-strip-qualitative div,
  .proof-strip-qualitative div:first-child,
  .proof-strip-qualitative div:nth-child(3) { min-height: 72px; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .proof-strip-qualitative div:last-child { border-bottom: 0; }
  .proof-strip-qualitative strong { font-size: 16px; }
  .project-page .site-header.is-scrolled .main-nav { color: var(--white); }
  .project-page .site-header.is-scrolled .main-nav .nav-cta { border-color: var(--line-dark); }
}
