/* Polices hébergées sur le site (aucun appel à Google Fonts) */
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-display-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-display-latin-wght-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0b0d;
  --bg-2: #141417;
  --line: rgba(237, 235, 230, .14);
  --text: #edebe6;
  --muted: #94918a;
  --accent: #b9e06a;
  --accent-ink: #10130b;
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: var(--accent-ink); border: 0; text-decoration: none;
  padding: .85em 1.3em; font: 600 15px/1 var(--display); cursor: pointer; transition: background .2s;
}
.btn:hover { background: #cdee8a; }
.btn-small { padding: .7em 1.05em; font-size: 14px; }
.eyebrow { font: 400 13px/1.4 var(--mono); color: #c9c6be; margin: 0 0 22px; letter-spacing: .02em; }
.btn .muted { opacity: .55; font: 400 13px/1 var(--mono); }
.link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--accent); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .25s;
}
.nav.scrolled { background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { font: 700 17px/1 var(--display); font-stretch: 115%; text-decoration: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { background: none; border: 0; cursor: pointer; font: 500 13px/1 var(--mono); color: var(--muted); padding: 4px; }
.lang:hover { color: var(--text); }

/* Accueil */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.35) 0%, rgba(11,11,13,.15) 40%, rgba(11,11,13,.85) 100%); }
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 56px; }
.hero-title { font: 800 clamp(46px, 8vw, 128px)/.92 var(--display); font-stretch: 122%; letter-spacing: -.03em; margin: 0 0 28px; max-width: 13ch; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #dedbd3; margin: 0 0 32px; }
.hero-sign { font: 400 14px/1 var(--mono); color: var(--accent); margin: 28px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* Bandeau clients */
.strip { border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; height: 34px; white-space: nowrap; color: #c9c6be; background: none; border: 0; padding: 0; }
button.marquee-item { cursor: pointer; }
.marquee-item .wm { font: 700 17px/1 var(--display); font-stretch: 115%; text-transform: uppercase; }
.marquee-item img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .75; }
button.marquee-item:hover img { opacity: 1; }

/* Sections */
.section { padding-top: clamp(80px, 11vw, 150px); }
.section-head { margin-bottom: 40px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
h2 { font: 700 clamp(34px, 4.6vw, 64px)/1 var(--display); font-stretch: 115%; letter-spacing: -.025em; margin: 0; }
.intro { color: var(--muted); max-width: 46ch; margin: 0; }
.section-head h2 + .intro { margin-top: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.filter { background: none; border: 0; padding: 4px 0; cursor: pointer; font: 400 14px/1.4 var(--mono); color: var(--muted); border-bottom: 1px solid transparent; }
.filter:hover { color: var(--text); }
.filter[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }

/* Grille de projets */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 20px; }
.card { grid-column: span 4; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.card.wide { grid-column: span 6; }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card.wide .card-media { aspect-ratio: 4 / 3.4; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media video { opacity: 0; transition: opacity .3s; }
.card.playing .card-media video { opacity: 1; }
.card-body { padding-top: 12px; }
.card-title { font: 700 20px/1.2 var(--display); font-stretch: 108%; margin: 0 0 2px; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card-sub { color: var(--muted); font-size: 15px; margin: 0; }

/* Événements corporatifs */
.corpo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.corpo-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-2); }
.corpo-text h2 { margin-bottom: 24px; max-width: 16ch; }
.corpo-text > p:not(.eyebrow) { color: #cfccc4; max-width: 52ch; margin: 0 0 32px; }
.corpo-text h3 { font: 400 13px/1 var(--mono); color: var(--muted); margin: 0 0 10px; }
.corpo-refs { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.corpo-refs li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.corpo-refs span { color: var(--muted); }

/* Ce que je fais */
.services { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line); }
.services div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.services dt { font: 700 21px/1.2 var(--display); font-stretch: 108%; margin-bottom: 8px; }
.services dd { margin: 0; color: #c9c6be; max-width: 50ch; }
.tools { margin: 32px 0 0; color: #c9c6be; }
.tools-label { font: 400 13px/1 var(--mono); color: var(--muted); margin-right: 12px; }

/* Mur de clients */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.logo-wall li > * { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 18px; color: #bdbab2; background: none; border: 0; }
.logo-wall button { cursor: pointer; }
.logo-wall button:hover { background: var(--bg-2); color: var(--text); }
.logo-wall .wm { overflow-wrap: anywhere; hyphens: auto; font: 700 clamp(14px, 1.3vw, 18px)/1.1 var(--display); font-stretch: 112%; text-transform: uppercase; }
.logo-wall .wm small { display: block; font: 400 11px/1.3 var(--mono); text-transform: none; color: var(--muted); margin-top: 6px; font-stretch: 100%; }
.logo-wall img { max-height: 46px; max-width: 75%; width: auto; filter: brightness(0) invert(1); opacity: .7; }
.logo-wall button:hover img { opacity: 1; }

/* À propos */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-media { margin: 0; }
.about-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-media figcaption { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-top: 10px; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { color: #cfccc4; max-width: 60ch; }
.about-text .lead { font-size: 22px; line-height: 1.45; color: var(--text); }
.about-text a { text-underline-offset: 3px; }
.press { margin-top: 44px; }
.press h3 { font: 400 13px/1 var(--mono); color: var(--muted); margin: 0 0 12px; }
.press ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.press li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.press a { text-decoration: none; }
.press a:hover { text-decoration: underline; }

/* Parcours */
.cv { border-top: 1px solid var(--line); }
.cv-row { display: grid; grid-template-columns: 80px 1.3fr 1.2fr 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cv-row[hidden] { display: none; }
.cv-year { font: 400 14px/1.7 var(--mono); color: var(--muted); }
.cv-work { font-weight: 600; }
.cv-role, .cv-client { color: var(--muted); }
.cv-more { margin-top: 24px; }

/* Contact */
.contact { margin-top: clamp(100px, 14vw, 180px); background: var(--accent); color: var(--accent-ink); padding-block: clamp(64px, 9vw, 120px); max-width: none; padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); }
.contact .eyebrow { color: var(--accent-ink); opacity: .7; }
.contact-title { font-size: clamp(40px, 6.4vw, 96px); font-stretch: 122%; max-width: 15ch; margin-bottom: 20px; }
.contact-sub { font-size: 19px; max-width: 46ch; margin: 0 0 36px; }
.mail { display: inline-block; font: 700 clamp(24px, 3vw, 40px)/1.1 var(--display); font-stretch: 112%; color: var(--accent-ink); text-decoration: none; border-bottom: 2px solid currentColor; }
.socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-size: 15px; }
.socials a { color: var(--accent-ink); opacity: .75; text-decoration: none; }
.socials a:hover { opacity: 1; text-decoration: underline; }

.footer { display: flex; justify-content: space-between; padding-block: 24px; font: 400 13px/1 var(--mono); color: var(--muted); }
.footer a { text-decoration: none; }

/* Fenêtres */
.modal { border: 0; padding: 0; background: var(--bg-2); color: var(--text); width: min(1180px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; }
.modal::backdrop { background: rgba(5,5,7,.88); }
.modal-close { position: sticky; top: 0; float: right; z-index: 3; background: var(--bg-2); border: 0; padding: 14px 18px; cursor: pointer; font: 400 13px/1 var(--mono); color: var(--muted); }
.modal-close:hover { color: var(--text); }
.modal-body { display: grid; grid-template-columns: 1.35fr 1fr; }
.m-media { display: grid; gap: 4px; }
.m-media img, .m-media video { width: 100%; object-fit: cover; background: #000; }
.m-media video { aspect-ratio: 4 / 5; max-height: 72svh; }
.m-info { padding: 44px 36px; align-self: start; position: sticky; top: 0; }
.m-meta { font: 400 13px/1.5 var(--mono); color: var(--muted); margin: 0 0 12px; }
.m-info h3 { font: 800 clamp(28px, 3.2vw, 42px)/1.02 var(--display); font-stretch: 115%; letter-spacing: -.02em; margin: 0 0 24px; }
.m-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 24px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.m-facts dt { color: var(--muted); }
.m-facts dd { margin: 0; }
.m-info p { color: #cfccc4; margin: 0; white-space: pre-line; }
.modal-reel { background: #000; width: min(1400px, calc(100vw - 32px)); overflow: visible; }
.modal-reel video { width: 100%; }
.modal-reel .modal-close { position: absolute; top: -42px; right: 0; background: none; }

/* Adaptation aux écrans */
@media (max-width: 1100px) {
  .card, .card.wide { grid-column: span 6; }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .corpo { grid-template-columns: 1fr; }
  .corpo-media video { aspect-ratio: 16 / 10; }
  .nav-links { display: none; }
  .services { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16 / 10; }
  .cv-row { grid-template-columns: 64px 1fr; gap: 2px 16px; }
  .cv-role, .cv-client { grid-column: 2; font-size: 14px; }
  .modal-body { grid-template-columns: 1fr; }
  .m-info { position: static; padding: 28px 22px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nav .btn-small { display: none; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .card, .card.wide { grid-column: 1 / -1; }
  .card.wide .card-media { aspect-ratio: 4 / 5; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall .wm { font-size: 13px; font-stretch: 105%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.hero .eyebrow, .hero-sub, .hero-sign { text-shadow: 0 1px 12px rgba(0,0,0,.75); }

/* Accroches */
.hero-proof { font: 400 14px/1.5 var(--mono); color: #cfccc4; margin: 28px 0 0; max-width: 60ch; text-shadow: 0 1px 12px rgba(0,0,0,.75); }
.card-title { font-size: 22px; }
.card-hook { font-size: 17px; line-height: 1.35; color: #e4e1d9; margin: 4px 0 6px; max-width: 34ch; }
.card-sub { font-size: 14px; }
.card .card-media img, .card .card-media video { transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.035); }
.m-hook { font-size: 20px !important; line-height: 1.35; color: var(--accent) !important; margin: -12px 0 22px !important; }

/* Bandeau */
.band { margin-top: clamp(80px, 11vw, 150px); background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 18px 0; }
.band-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.band span { font: 800 clamp(34px, 5vw, 72px)/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; white-space: nowrap; }
.band span::after { content: ""; display: inline-block; width: .38em; height: .38em; border: .07em solid currentColor; border-radius: 50%; margin-left: 48px; vertical-align: .16em; }

/* Identifiants temporaires pour choisir les images */
.dbg-id { position: absolute; top: 8px; left: 8px; z-index: 5; background: #ff2d55; color: #fff; font: 600 13px/1 var(--mono); padding: 6px 8px; pointer-events: none; }
.m-item { position: relative; }
.about-media, .corpo-media { position: relative; }

/* ---- Proposition vendeuse ---- */
.link .muted { opacity: .6; font: 400 13px/1 var(--mono); margin-left: 6px; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer { border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; }
.offer.featured { border-color: var(--accent); background: var(--bg-2); }
.offer h3 { font: 700 26px/1.1 var(--display); font-stretch: 112%; margin: 0 0 10px; }
.offer-who { color: #cfccc4; margin: 0 0 24px; }
.offer-label { font: 400 13px/1 var(--mono); color: var(--muted); margin: 0 0 10px; }
.offer ul { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); flex: 1; }
.offer li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.offer .btn { align-self: flex-start; }
.btn-ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-dark { background: var(--accent-ink); color: var(--accent); }
.btn-dark:hover { background: #000; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.quote blockquote { margin: 0 0 16px; font: 500 21px/1.4 var(--display); }
.quote figcaption { color: var(--muted); font-size: 14px; }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font: 600 19px/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 20px; color: #cfccc4; max-width: 62ch; }

.m-case { display: grid; gap: 4px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.m-case dt { font: 400 13px/1 var(--mono); color: var(--accent); margin-top: 12px; }
.m-case dd { margin: 0; color: #cfccc4; }

.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; }

.sticky-cta { display: none; }
@media (max-width: 820px) {
  .offers, .quotes { grid-template-columns: 1fr; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; background: var(--accent); color: var(--accent-ink); font: 600 16px/1 var(--display); padding: 16px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.45); }
  .footer { padding-bottom: 90px; }
}

/* Marqueurs temporaires : contenus à compléter ou à valider */
.todo { outline: 1px dashed #ff9f43; outline-offset: 6px; color: #ffb870 !important; }
.todo-validate { outline: 1px dashed #ff9f43; outline-offset: 4px; position: relative; }
.faq-item summary .tag { margin-left: auto; font: 400 11px/1 var(--mono); font-style: normal; color: #ff9f43; align-self: center; }

.hero-proof .facts { display: block; font: 500 clamp(16px, 1.5vw, 19px)/1.45 var(--display); color: var(--text); margin-bottom: 8px; }
.hero-proof .facts strong { color: var(--accent); font-weight: 700; margin-right: 10px; }

/* Lisibilité des lignes de preuve sur la vidéo */
.hero-proof { display: inline-block; background: rgba(11, 11, 13, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 14px 18px; text-shadow: none; }

/* Accueil allégé : une seule ligne de preuve */
.hero-proof .facts { margin-bottom: 0; }

.hero-sub { max-width: 60ch; }
.hero-proof { max-width: min(78ch, 100%); }

.corpo-media { margin: 0; }
.corpo-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; display: block; }
.corpo-media figcaption { font: 400 12px/1.4 var(--mono); color: var(--muted); margin-top: 10px; }
@media (max-width: 820px) { .corpo-media img { aspect-ratio: 16 / 10; } }

.about-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #111; }
@media (max-width: 820px) { .about-media video { aspect-ratio: 4 / 5; max-width: 420px; } }

/* Trois rôles : DA, DC, DEV */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); }
.role { padding: 30px 28px 32px 0; border-right: 1px solid var(--line); }
.role + .role { padding-left: 28px; }
.role:last-child { border-right: 0; }
.role-tag { font: 700 clamp(40px, 4.4vw, 64px)/1 var(--display); font-stretch: 125%; color: var(--accent); letter-spacing: -.02em; }
.role h3 { font: 700 22px/1.2 var(--display); font-stretch: 108%; margin: 14px 0 10px; }
.role p { color: #cfccc4; margin: 0 0 22px; max-width: 40ch; }
.role .role-label { font: 400 12px/1 var(--mono); color: var(--muted); margin: 0 0 10px; }
.role-work { display: flex; flex-wrap: wrap; gap: 8px; }
.role-work button { background: none; border: 1px solid var(--line); color: var(--text); padding: 7px 11px; font: 500 13px/1.2 var(--display); cursor: pointer; }
.role-work button:hover { border-color: var(--accent); color: var(--accent); }
.offers-title { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--display); font-stretch: 112%; margin: 0 0 24px; }
@media (max-width: 820px) {
  .roles { grid-template-columns: 1fr; }
  .role, .role + .role { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---- Cycle des rôles : formes organiques en triangle ---- */
.roles-map { position: relative; max-width: 1100px; margin: clamp(16px, 3vw, 40px) auto 0; }
.cycle { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 1000 / 600; }
.cycle-arrows { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--muted); overflow: visible; }
.cycle-arrows .arc { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 9; animation: flow 1.6s linear infinite; transition: color .3s, stroke-width .3s; }
.cycle-arrows .arc.is-on { color: var(--accent); stroke: var(--accent); stroke-width: 2.4; }
.cycle-arrows marker path { stroke: var(--muted); }
@keyframes flow { to { stroke-dashoffset: -26; } }
.blob {
  position: absolute; display: grid; place-content: center; gap: 6px; text-align: center; padding: 18px;
  background: radial-gradient(circle at 45% 35%, rgba(185,224,106,.10), transparent 70%), var(--bg-2);
  border: 1px solid var(--line); color: var(--text); cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s, color .3s;
  animation: morph 12s ease-in-out infinite alternate;
}
.blob-0 { width: 23%; aspect-ratio: 1.05; border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; }
.blob-1 { width: 27%; aspect-ratio: 1.15; border-radius: 60% 40% 45% 55% / 58% 42% 58% 42%; animation-delay: -4s; }
.blob-2 { width: 17%; aspect-ratio: 1.1; border-radius: 45% 55% 52% 48% / 55% 45% 60% 40%; animation-delay: -8s; }
@keyframes morph {
  50% { border-radius: 42% 58% 48% 52% / 55% 45% 55% 45%; }
  to  { border-radius: 58% 42% 55% 45% / 42% 58% 46% 54%; }
}
.blob:hover { transform: scale(1.04); border-color: var(--accent); }
.blob.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.blob-tag { font: 800 clamp(30px, 3.6vw, 54px)/1 var(--display); font-stretch: 125%; color: var(--accent); letter-spacing: -.02em; transition: color .3s; }
.blob.is-active .blob-tag { color: var(--accent-ink); }
.blob-name { font: 500 clamp(12px, 1.1vw, 15px)/1.25 var(--display); max-width: 14ch; margin: 0 auto; }
.role-panel { position: absolute; left: 37%; top: 30%; width: 30%; text-align: left; }
.role-panel.swap { animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.role-name { font: 700 clamp(18px, 1.8vw, 24px)/1.2 var(--display); font-stretch: 108%; margin: 0 0 10px; color: var(--accent); }
.role-desc { font: 400 clamp(14px, 1.25vw, 17px)/1.55 var(--display); color: var(--text); margin: 0 0 18px; }
.role-panel .role-label { font: 400 12px/1 var(--mono); color: var(--muted); margin: 0 0 10px; }
.role-panel .role-work { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) {
  .blob { padding: 8px; }
  .blob-name { display: none; }
  .blob-tag { font-size: clamp(20px, 6vw, 30px); }
  .cycle { margin-bottom: 8px; }
  .role-panel { position: static; width: auto; margin-top: 24px; }
}

/* ---- Mise en page plus aérée ---- */
body { line-height: 1.7; }
.section { padding-top: clamp(110px, 14vw, 200px); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.grid { gap: 80px 28px; }
.card-body { padding-top: 18px; }
.hero-inner { padding-bottom: 80px; }
.hero-title { margin-bottom: 36px; }
.hero-sub { margin-bottom: 40px; }
.strip { padding: 32px 0; }
.corpo { gap: clamp(40px, 8vw, 128px); }
.about { gap: clamp(40px, 8vw, 128px); }
.cv-row { padding: 16px 0; }
.band { margin-top: clamp(110px, 14vw, 200px); }
.contact { margin-top: clamp(110px, 14vw, 200px); }

/* Graphe déplaçable */
.blob { translate: -50% -50%; touch-action: none; cursor: grab; user-select: none; z-index: 2; }
.blob.is-dragging { cursor: grabbing; transition: background .3s, border-color .3s, color .3s; z-index: 3; }
.blob-name u, .role-name u { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.role-name u { text-decoration-color: var(--accent); }
.cycle-arrows { pointer-events: none; }
.cycle-arrows marker path { stroke: currentColor; }
.cycle-arrows .arc.is-on { color: var(--accent); }
.role-panel { z-index: 1; }


/* Mur de logos déplaçable */
.logo-wall li { position: relative; cursor: grab; touch-action: none; user-select: none; background: var(--bg); will-change: transform; }
.logo-wall li img { pointer-events: none; -webkit-user-drag: none; }
.logo-wall li.is-lifted { z-index: 5; cursor: grabbing; box-shadow: 0 18px 40px rgba(0,0,0,.55); outline: 1px solid var(--accent); }
.logo-wall li.is-target { outline: 1px dashed var(--accent); outline-offset: -6px; }
body.wall-dragging, body.wall-dragging * { cursor: grabbing !important; }

/* ---- Effets ludiques (fun.js) ---- */
.fx-trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; mix-blend-mode: screen; }
.hero-inner { z-index: 2; }
.fx-word { display: inline-block; white-space: nowrap; }
.fx-char { display: inline-block; transition: transform .45s cubic-bezier(.34,1.56,.64,1); will-change: transform; }
.contact { position: relative; overflow: hidden; }
.contact > :not(.fx-field) { position: relative; z-index: 1; }
.fx-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Lettres réactives dans le bandeau : garder le défilement fluide */
.band .fx-word { display: inline; }

/* Logos réactifs */
.logo-wall li > * > img, .logo-wall li > * > .wm, .marquee-item { transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s; will-change: transform; }

/* Bandeau de logos : marge pour que les logos réactifs restent dans le cadre */
.strip .marquee { padding-block: 12px; margin-block: -12px; }

/* Défilement piloté par fun.js (ralentissement doux au survol) */
.marquee-track.fx-marquee { animation: none; will-change: transform; }

/* =====================================================================
   Nuit douce : gris chaud profond, texte crème, vert sauge atténué.
   Titres en serif fine, texte en sans neutre. Sobre, doux pour les yeux.
   ===================================================================== */
:root {
  --bg: #1f1e1b;
  --bg-2: #282723;
  --line: rgba(235, 229, 217, .12);
  --text: #ebe5d9;
  --muted: #8f897d;
  --accent: #c5d99a;
  --accent-ink: #1f1e1b;
  --display: "Inter", system-ui, sans-serif;
  --mono: "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
body { font-size: 17px; line-height: 1.7; }
.hero-title, h2, .contact-title, .card-title, .band span, .blob-tag {
  font-family: var(--serif); font-weight: 400; font-stretch: normal; letter-spacing: -.01em;
}
.hero-title { font-size: clamp(52px, 8.4vw, 132px); line-height: .95; }
.hero-title em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; }
.card-title { font-size: 26px; line-height: 1.15; }
.eyebrow, .filter, .cv-year, .corpo-text h3, .footer { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.filter { font-size: 12px; }
p, .card-sub, .cv-role, .cv-client { color: inherit; }
.intro, .card-hook, .corpo-text > p:not(.eyebrow), .about-text p { color: #b3ac9f; }
.card-sub, .cv-role, .cv-client, .corpo-refs span { color: var(--muted); }

/* Boutons : contour fin arrondi, le vert reste discret */
.btn { background: none; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; font-weight: 500; }
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-dark { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

/* Images : légèrement adoucies */
.card-media img, .card-media video, .corpo-media img { filter: saturate(.88); }

/* Bandeau : plus de bloc vert, une phrase en serif italique */
.band { background: none; color: var(--accent); border-block: 1px solid var(--line); padding: 28px 0; }
.band span { font-style: italic; font-size: clamp(36px, 4.6vw, 64px); }
.band span::after { width: .22em; height: .22em; border: 0; background: currentColor; opacity: .5; vertical-align: .2em; }

/* Bulles des rôles : plus douces */
.blob { background: var(--bg-2); border-color: var(--line); }
.blob-tag { font-size: clamp(34px, 3.8vw, 58px); }

/* Contact : même fond, une carte claire au lieu du grand aplat vert */
.contact { background: var(--bg-2); color: var(--text); border-top: 1px solid var(--line); }
.contact .eyebrow { color: var(--muted); opacity: 1; }
.contact-title { color: var(--text); }
.contact-title em { color: var(--accent); }

.nav.scrolled { background: rgba(31, 30, 27, .9); }
.sticky-cta { border-radius: 999px; }
.contact .mail { color: var(--text); font-family: var(--serif); font-weight: 400; font-stretch: normal; border-bottom: 1px solid var(--accent); }
.contact .socials a { color: var(--muted); }
.contact .socials a:hover { color: var(--text); }
.contact .btn-dark { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.contact .btn-dark:hover { background: #d4e4ad; }

/* =====================================================================
   Brume : gris chaud plus clair, contraste réduit, cartes arrondies,
   bouton plein vert pâle. Même mise en page et mêmes effets.
   ===================================================================== */
:root {
  --bg: #2b2a27;
  --bg-2: #33322e;
  --line: rgba(238, 232, 220, .11);
  --text: #eee8dc;
  --muted: #9a9487;
  --accent: #d0e2b2;
  --accent-ink: #2b2a27;
}
.intro, .card-hook, .corpo-text > p:not(.eyebrow), .about-text p { color: #bdb6a9; }

/* Boutons pleins, arrondis */
.btn { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
.btn:hover { background: #e0edc9; color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 10px 28px -10px var(--accent); }
.btn { transition: background .2s, transform .25s, box-shadow .25s; }
.btn-ghost { background: none; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); color: var(--text); box-shadow: none; }

/* Fiches projets en cartes douces */
.card { background: var(--bg-2); border-radius: 12px; overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .55); }
.card-media { border-radius: 12px 12px 0 0; }
.card-body { padding: 18px 20px 22px; }
.card:hover .card-title { text-decoration: none; }
.card-media img, .card-media video { filter: saturate(.82); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s, opacity .3s; }
.card:hover .card-media img, .card:hover .card-media video { filter: saturate(1.02); }

/* Grandes images arrondies */
.corpo-media img, .corpo-media video, .about-media video, .about-media img { border-radius: 12px; }

/* Rôles, logos, parcours : surfaces douces */
.blob { background: var(--bg-2); border-color: transparent; }
.logo-wall li { background: var(--bg); }
.cv-row { border-radius: 8px; transition: background .25s; padding-inline: 10px; margin-inline: -10px; }
.cv-row:hover { background: var(--bg-2); }

/* Contact : carte arrondie dans la page */
.contact { width: auto; background: var(--bg-2); border-top: 0; border-radius: 20px; margin-inline: var(--gutter); max-width: calc(1440px - 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-inline: clamp(24px, 5vw, 72px); }
@media (max-width: 1500px) { .contact { margin-inline: var(--gutter); } }
.contact .btn-dark { background: var(--accent); color: var(--accent-ink); }

.nav.scrolled { background: rgba(43, 42, 39, .9); }

/* =====================================================================
   Brume + : typo Roboto Flex, brillance (bloom) sur les éléments clés
   ===================================================================== */
:root {
  --display: "Roboto Flex", system-ui, sans-serif;
  --mono: "Roboto Flex", system-ui, sans-serif;
  --serif: "Roboto Flex", system-ui, sans-serif;
  --glow: 208, 226, 178;
}
body { font-variation-settings: "opsz" 16; }
.hero-title, h2, .contact-title, .card-title, .band span, .blob-tag {
  font-weight: 300; letter-spacing: -.025em; font-variation-settings: "opsz" 144;
}
.card-title { font-weight: 400; letter-spacing: -.01em; font-variation-settings: "opsz" 32; }
.hero-title em, .contact-title em { font-style: normal; font-variation-settings: "opsz" 144, "slnt" -10; }
.band span { font-style: normal; font-weight: 200; }
.eyebrow, .filter, .cv-year, .corpo-text h3, .footer { letter-spacing: .12em; }

/* Bloom : seulement sur les éléments clés, mais franc */
.hero-title em { color: #e6f3cf; text-shadow: 0 0 8px rgba(var(--glow), .9), 0 0 28px rgba(var(--glow), .75), 0 0 70px rgba(var(--glow), .45); }
.btn { box-shadow: none; }
.btn:not(.btn-ghost):hover { box-shadow: 0 0 14px rgba(var(--glow), .8), 0 0 44px rgba(var(--glow), .5); background: #e4f1cf; }
.blob.is-active { box-shadow: 0 0 22px rgba(var(--glow), .7), 0 0 70px rgba(var(--glow), .4); }

/* Bandeau : sans séparateurs */
.band span::after { content: none; }
.band-track { gap: 72px; }

/* Logos plus lumineux */
.marquee-item img, .logo-wall img { filter: brightness(0) invert(1); opacity: .95; }
.marquee-item .wm, .logo-wall .wm { color: #fbf8f1; }
button.marquee-item:hover img, .logo-wall button:hover img { opacity: 1; }

/* =====================================================================
   Vue d'ensemble : sections plus compactes pour voir plus d'un coup d'œil
   ===================================================================== */
.section { padding-top: clamp(64px, 7vw, 104px); }
.section-head { margin-bottom: clamp(28px, 3vw, 44px); }
h2 { font-size: clamp(32px, 3.6vw, 54px); }
.hero { min-height: 78svh; }
.hero-title { font-size: clamp(44px, 6.4vw, 104px); margin-bottom: 24px; }
.hero-inner { padding-bottom: 56px; }
.grid { gap: 28px 20px; }
.card-body { padding: 14px 16px 18px; }
.card-title { font-size: 20px; }
.card-hook { font-size: 15px; margin: 2px 0 4px; }
.band { margin-top: clamp(64px, 7vw, 104px); padding: 16px 0; }
.band span { font-size: clamp(28px, 3.2vw, 46px); }
.corpo, .about { gap: clamp(32px, 5vw, 72px); }
.corpo-media img, .corpo-media video, .about-media video, .about-media img { max-height: 72vh; width: 100%; object-fit: cover; }
.corpo-text h2 { max-width: 18ch; }
.cycle { max-width: 860px; }
.roles-map { max-width: 860px; margin-top: 0; }
.logo-wall li { aspect-ratio: 2 / 1; }
.cv-row { padding-block: 10px; font-size: 15px; }
.contact { margin-top: clamp(64px, 7vw, 104px); padding-block: clamp(44px, 5vw, 72px); }
.contact-title { font-size: clamp(36px, 4.6vw, 68px); }
.contact-sub { margin-bottom: 26px; }
@media (min-width: 1001px) {
  .card { grid-column: span 3; }
  .card.wide { grid-column: span 6; }
  .card.wide .card-media { aspect-ratio: 16 / 10; }
  .card:not(.wide) .card-media { aspect-ratio: 4 / 4.4; }
  .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Boucles continues : pas d'écart flex (il fausserait le -50 %), l'espace est dans chaque élément */
.band-track, .loop-track { gap: 0 !important; display: flex; width: max-content; animation: scroll 40s linear infinite; will-change: transform; }
.band-track > span { padding-right: 72px; }

/* Bandeau de transition entre les rôles et le corporatif */
.band-corpo { margin-top: clamp(64px, 7vw, 104px); border-block: 1px solid var(--line); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.loop-track > span { font: 300 clamp(18px, 1.7vw, 24px)/1 var(--display); color: var(--muted); letter-spacing: -.005em; }
.loop-track > span::after { content: "·"; color: var(--accent); margin: 0 26px; }
.band-corpo + .corpo { padding-top: clamp(48px, 5vw, 80px); }
@media (prefers-reduced-motion: reduce) { .band-track, .loop-track { animation: none; } }

/* Plus d'air entre les sections */
.section { padding-top: clamp(96px, 10vw, 160px); }
.band, .band-corpo, .contact { margin-top: clamp(96px, 10vw, 160px); }
.band-corpo + .corpo { padding-top: clamp(72px, 7vw, 112px); }

/* Accueil : sous-titre clair et trois repères chiffrés */
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 4vw, 56px); margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(238, 232, 220, .18); max-width: 640px; }
.hero-stats div { margin: 0; }
.hero-stats dt { font: 300 clamp(28px, 2.8vw, 40px)/1 var(--display); letter-spacing: -.02em; color: var(--text); margin-bottom: 6px; }
.hero-stats dd { margin: 0; font-size: 13px; color: #cfc8bb; }

/* Logos clients : rouleaux qui défilent en continu sur toute la largeur libre de l'accueil */
.hero-stats { max-width: none; align-items: center; flex-wrap: nowrap; }
.hero-stats > div:not(.slot-stat) { flex: none; }
.slot-stat { flex: 1; min-width: 0; padding-left: clamp(28px, 4vw, 56px); border-left: 1px solid rgba(238, 232, 220, .18); }
.slot { height: 130px; display: flex; justify-content: space-between; gap: 24px; overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 28%, #000 72%, transparent); mask: linear-gradient(transparent, #000 28%, #000 72%, transparent); }
.slot-col { display: flex; flex-direction: column; flex: 1; min-width: 0; animation: reel-up 40s linear infinite; will-change: transform; }
@keyframes reel-up { to { transform: translateY(-50%); } }
.slot-item { display: flex; align-items: center; justify-content: center; height: 52px; flex: none; }
.slot-item img { max-height: 32px; max-width: 150px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
@media (max-width: 700px) {
  .hero-stats { flex-wrap: wrap; }
  .slot-stat { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .slot { height: 104px; }
}
@media (prefers-reduced-motion: reduce) { .slot-col { animation: none; } }

/* Ligne « événements » sous la grille des projets */
.event-line { margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.event-line p { margin: 0; font: 300 clamp(20px, 2vw, 26px)/1.3 var(--display); color: var(--text); max-width: 46ch; }
.event-line p span { color: #bdb6a9; }
.event-link { color: var(--accent); font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; white-space: nowrap; }
.event-link:hover { color: #e6f3cf; }
/* Ligne corporative : plus d'air, encadrée de deux filets avec un point lumineux au centre */
.event-line { position: relative; margin-top: clamp(80px, 9vw, 140px); padding-block: clamp(44px, 5vw, 72px); border-block: 1px solid var(--line); scroll-margin-top: 120px; }
.event-line::before, .event-line::after { content: ""; position: absolute; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow), .9), 0 0 24px rgba(var(--glow), .5); }
.event-line::before { top: -4px; } .event-line::after { bottom: -4px; }
/* La ligne événements sur deux lignes ; lien LinkedIn sous À propos */
.event-line p span { display: block; }
.about-cv { display: inline-block; margin-top: 28px; }

/* À propos : pratique personnelle (smooth_isfast) */
.practice { margin: 32px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.practice h3 { font: 400 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.practice-grid img, .practice-grid video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; filter: saturate(.85); transition: filter .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.practice-grid:hover img, .practice-grid:hover video { filter: saturate(1.05); }
.practice-grid img:hover, .practice-grid video:hover { transform: translateY(-3px); }

/* Style Minuit (retenu parmi les concepts le 2026-11-10)
   Bleu nuit profond au lieu du noir, texte crème, accent corail chaud et sauge en second.
   Serif italique pour les mots clés. Élégant comme une soirée de gala, doux pour les yeux. */

:root {
  --bg: #111a2b; --bg-2: #18233a; --line: rgba(244, 236, 222, .12); --text: #f4ecde; --muted: #98a2b8;
  --accent: #ff9f7a; --accent-ink: #111a2b; --display: "Inter", system-ui, sans-serif; --mono: "Inter", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif; --glow: 255, 159, 122;
}
body { background: radial-gradient(80% 50% at 50% 0%, #1b2945, #111a2b 70%) fixed; }
.hero-title, h2, .contact-title, .card-title, .blob-tag, .hero-stats dt {
  font-family: var(--display); font-weight: 300; letter-spacing: -.035em; font-variation-settings: normal;
}
.hero-title em, .contact-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent);
  text-shadow: 0 0 24px rgba(255,159,122,.45); }
h2 { font-size: clamp(44px, 5.6vw, 92px); }
h2::first-letter { font-family: var(--serif); font-style: italic; color: var(--accent); }
.intro, .card-hook, .about-text p, .event-line p span, .hero-stats dd { color: #b8bfcf !important; }
.hero-shade { background: linear-gradient(180deg, rgba(17,26,43,.25), rgba(17,26,43,.35) 50%, #111a2b); }

.btn { background: var(--accent); color: var(--accent-ink); border: 0; }
.btn:hover { box-shadow: 0 0 30px rgba(255,159,122,.55) !important; }
.card { background: var(--bg-2); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,159,122,.35) !important; }
.filter[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); text-shadow: none; }
.blob { background: var(--bg-2); }
.blob.is-active { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 40px rgba(255,159,122,.4); }
.event-line::before, .event-line::after { background: var(--accent); box-shadow: 0 0 12px rgba(255,159,122,.8); }
.event-link { color: var(--accent); border-color: var(--accent); }
.logo-wall li { background: #111a2b; }
.contact { background: var(--bg-2); }
.contact .btn-dark { background: var(--accent); color: var(--accent-ink); }
.nav.scrolled { background: rgba(17, 26, 43, .9); }

/* Accueil : nom en signature + métier concret ; le nom du menu n'apparaît qu'une fois défilé (pas de doublon) */
.hero-name { font: 400 clamp(28px, 2.8vw, 40px)/1 var(--serif); color: var(--text); margin: 0 0 10px; }
.hero-role { font: 500 12px/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 clamp(22px, 2.6vw, 34px); max-width: none; }
.nav .brand { transition: opacity .3s; }
.nav:not(.scrolled) .brand { opacity: 0; pointer-events: none; }

/* Graphe des rôles : le texte du rôle sort du cercle et se place à droite, plus de chevauchement */
@media (min-width: 901px) {
  .roles-map { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
  .roles-map .cycle { max-width: none; margin: 0; }
  .role-panel { position: static; width: auto; left: auto; top: auto; max-width: 40ch; }
}

/* Rouleaux de logos plus fluides : déplacement sur le GPU, sans arrondi au pixel ni rechargement d'images */
@keyframes reel-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
.slot-col { will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.slot-item img { transform: translateZ(0); }
.slot { contain: paint; isolation: isolate; }

/* Rouleaux de logos : fondu transparent (masque), mouvement piloté en JavaScript (main.js) */
.slot-col { animation: none !important; }

/* Fiche projet : un seul résumé au lieu de défi / réponse / résultat */
.m-credit { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.m-credit:empty { display: none; }
/* Fiche projet : le résumé seul, directement sous Rôle / Client */
.m-summary { display: grid; gap: 14px; }
.m-summary p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.m-summary p:first-child { color: var(--text); font-size: 17px; line-height: 1.55; }
.m-summary + .m-credit { margin-top: 26px; }

/* À propos : trois points (version D) */
.about-points { list-style: none; margin: 8px 0 32px; padding: 0; }
.about-points li { padding: 18px 0; border-top: 1px solid var(--line); }
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points h3 { margin: 0 0 6px; font: 400 19px/1.3 var(--display); color: var(--text); letter-spacing: 0; text-transform: none; }
.about-points p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 56ch; }
.about .lead em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* À propos : citation de presse sous les trois points */
.about-quote { margin: 0 0 36px; padding-left: 20px; border-left: 2px solid var(--accent); }
.about-quote .q { margin: 0; font: italic 400 22px/1.4 var(--serif); color: var(--text); }
.about-quote .q-tr { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.about-quote .q-tr:empty { display: none; }
.about-quote footer { margin-top: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-quote footer a { color: inherit; text-decoration: none; }
.about-quote footer b { color: var(--accent); font-weight: 500; }

/* Hero : métier puis domaines, sur deux lignes */
.hero-role:has(+ .hero-domains) { margin-bottom: 2px; }
.hero-domains { color: #dedbd3; }
.hero-role { text-shadow: 0 1px 12px rgba(0,0,0,.75); }

/* Mobile : bouton Menu + panneau de liens ; bouton fixe qui s'efface */
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); font: 500 14px/1 var(--display); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav.open { background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .brand { opacity: 1; pointer-events: auto; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open .nav-links a { font-size: 20px; color: var(--text); padding: 14px 0; border-top: 1px solid var(--line); }
  .sticky-cta { transition: transform .3s, opacity .3s; }
  .sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* À propos : portrait photo, même format sur mobile (pas de recadrage en paysage) */
.about-media img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 30%; display: block; }
@media (max-width: 820px) { .about-media img { aspect-ratio: 4 / 5; max-width: 420px; } }

/* Le bouton de langue est un lien vers l'autre page. */
a.lang { text-decoration: none; display: inline-block; }
