/* DrFit — feuille de style du prototype
   Scène noire, un seul violet d'action, étincelles ambrées, typographie qui tient par la taille. */

:root {
  --void: #000;
  --bone: #fff;
  --ash: #9a9a9a;
  --mist: #bdbdbd;
  --text-soft: #e6e6e6;
  --iris: #8052ff;
  --iris-hi: #9673ff;
  --saffron: #ffb829;
  --verdant: #15846e;
  --veil: rgba(255, 255, 255, .06);
  --veil-2: rgba(255, 255, 255, .1);

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-display: clamp(52px, 8.6vw, 113px);
  --t-lg: clamp(42px, 6vw, 78px);
  --t-h: clamp(34px, 4vw, 48px);
  --t-sm: clamp(28px, 3.2vw, 42px);
  --t-sub: clamp(24px, 2.6vw, 36px);

  --r: 24px;
  --pill: 9999px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 120px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--void); color: var(--bone);
  font-family: var(--font); font-size: 18px; line-height: 1.5; font-weight: 200;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--iris); color: #fff; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--iris); padding: 10px 16px; border-radius: var(--pill); font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- scène 3D ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
html:not(.has-scene) body::before {
  /* repli sans WebGL : un halo, le contenu reste intact */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40vw 40vw at 75% 35%, rgba(128, 82, 255, .22), transparent 70%),
              radial-gradient(30vw 30vw at 85% 60%, rgba(255, 184, 41, .08), transparent 70%);
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- typographie ---------- */
.display, .h-lg, .h, .h-sm, .h-sub, h1, h2, h3 { font-weight: 400; margin: 0; }
.display { font-size: var(--t-display); line-height: .94; letter-spacing: -.04em; }
.h-lg { font-size: var(--t-lg); line-height: 1; letter-spacing: -.04em; }
.h { font-size: var(--t-h); line-height: 1.08; letter-spacing: -.035em; }
.h-sm { font-size: var(--t-sm); line-height: 1.15; letter-spacing: -.04em; }
.h-sub { font-size: var(--t-sub); line-height: 1.2; letter-spacing: -.02em; }
.label {
  display: inline-block; font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .025em; color: var(--saffron); line-height: 1.2;
}
.label--iris { color: var(--iris-hi); }
.label--ash { color: var(--ash); }
.lead { font-size: 18px; font-weight: 200; line-height: 1.5; color: var(--bone); max-width: 520px; }
.muted { color: var(--mist); }
.caption { font-size: 12px; line-height: 1.5; color: var(--ash); }
.accent { color: var(--saffron); }

/* ---------- boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--iris); color: #fff;
  border: 0; border-radius: 22.5px; padding: 14.4px 18px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .025em; line-height: 1.15; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--iris-hi); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ash); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .025em; transition: color .2s;
}
.ghost:hover { color: var(--bone); }
.ghost .arrow { transition: transform .3s var(--ease); }
.ghost:hover .arrow { transform: translateX(4px); }
.prose-link, .article-body a { color: var(--saffron); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose-link:hover, .article-body a:hover { color: var(--bone); }

/* ---------- conteneurs ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- en-tête ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s; }
.site-header.is-scrolled { background: linear-gradient(#000 0%, rgba(0, 0, 0, .86) 70%, rgba(0, 0, 0, 0)); }
.bar { display: flex; align-items: center; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.logo svg { width: 30px; height: 30px; }
.logo b { font-weight: 600; color: var(--iris-hi); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--ash); transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--bone); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pill); color: var(--ash); transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--bone); background: var(--veil); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: #fff; margin: 6px auto; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55; background: #000; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 22px; padding: 100px var(--gutter) 40px; margin: 0;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a:not(.btn) { font-size: 34px; font-weight: 400; text-transform: none; letter-spacing: -.03em; color: var(--bone); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .icon-btn { width: auto; height: auto; }
  .icon-btn::after { content: attr(aria-label); font-size: 34px; font-weight: 400; letter-spacing: -.03em; color: var(--bone); }
  .icon-btn svg { display: none; }
}

/* ---------- héro ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-text > * + * { margin-top: 24px; }
.hero-text .display { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px !important; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px !important; }
.hero-stats strong { display: block; font-size: 42px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ash); font-weight: 600; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--ash); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--ash), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 820px) {
  .hero { align-items: flex-end; padding-top: 52vh; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 32px; }
  .scroll-hint { display: none; }
}

/* ---------- tracé ECG ---------- */
.ecg { width: 100%; height: 80px; display: block; overflow: visible; }
.ecg path { fill: none; stroke: url(#ecg-grad); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg 4.2s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 1600; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1600; } }

/* ---------- rubriques en zigzag ---------- */
.zig { min-height: 92vh; display: flex; align-items: center; }
.zig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: 100%; align-items: center; }
.zig[data-side="left"] .zig-text { grid-column: 2; }
.zig-text > * + * { margin-top: 22px; }
.zig-num { font-size: 12px; color: var(--ash); letter-spacing: .1em; font-weight: 600; }
.mini-list { list-style: none; margin: 30px 0 0; padding: 0; }
.mini-list li + li { margin-top: 14px; }
.mini-list a { display: flex; gap: 14px; font-size: 18px; font-weight: 300; color: var(--mist); line-height: 1.35; transition: color .2s, transform .3s var(--ease); }
.mini-list a::before { content: "△"; color: var(--iris-hi); font-size: 12px; margin-top: 5px; transition: transform .4s var(--ease), color .2s; }
.mini-list a:hover { color: var(--bone); transform: translateX(4px); }
.mini-list a:hover::before { transform: rotate(180deg); color: var(--saffron); }
@media (max-width: 820px) {
  .zig { min-height: auto; padding: 46vh 0 64px; }
  .zig-grid { grid-template-columns: 1fr; }
  .zig[data-side="left"] .zig-text { grid-column: 1; }
}

/* ---------- grille d'articles ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 60px; flex-wrap: wrap; }
.section-head > div > * + * { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 36px; list-style: none; margin: 0; padding: 0; }
.card a { display: block; }
.card-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #0d0d10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.card a:hover .card-img img { transform: scale(1.04); filter: saturate(1); }
.card .label { margin-top: 22px; font-size: 12px; }
.card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; margin-top: 10px; transition: color .2s; }
.card a:hover h3 { color: var(--saffron); }
.card p { color: var(--ash); font-size: 15px; font-weight: 300; margin: 12px 0 0; }
.byline-mini { font-size: 13px; color: var(--ash); margin-top: 14px; font-weight: 400; }
.byline-mini a { color: var(--mist); }
.byline-mini a:hover { color: var(--bone); }
.cards--feature { grid-template-columns: 1.4fr 1fr 1fr; }
.cards--feature .card:first-child { grid-row: span 2; }
.cards--feature .card:first-child .card-img { aspect-ratio: 4 / 5; }
.cards--feature .card:first-child h3 { font-size: 36px; letter-spacing: -.035em; line-height: 1.1; }
@media (max-width: 1024px) { .cards, .cards--feature { grid-template-columns: 1fr 1fr; } .cards--feature .card:first-child { grid-column: span 2; grid-row: auto; } .cards--feature .card:first-child .card-img { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .cards, .cards--feature { grid-template-columns: 1fr; gap: 48px; } .cards--feature .card:first-child { grid-column: auto; } .cards--feature .card:first-child h3 { font-size: 28px; } }

/* ---------- listes en lignes ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.row a {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) 200px; gap: 30px; align-items: baseline;
  padding: 26px 0; transition: padding .4s var(--ease);
}
.row + .row a { box-shadow: 0 -1px 0 var(--veil); }
.row-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--saffron); }
.row-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.025em; font-weight: 400; transition: color .2s; }
.row-meta { font-size: 13px; color: var(--ash); text-align: right; font-weight: 400; }
.row-thumb { display: none; }
.row a:hover { padding-left: 14px; }
.row a:hover .row-title { color: var(--saffron); }
.rows .empty { padding: 40px 0; color: var(--mist); }
@media (max-width: 820px) {
  .row a { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; padding: 20px 0; }
  .row-thumb { display: block; grid-row: span 3; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
  .row-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .row-meta { text-align: left; }
  .row-title { font-size: 19px; }
  .row a:hover { padding-left: 0; }
}
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 260px; aspect-ratio: 4 / 3; border-radius: var(--r);
  overflow: hidden; pointer-events: none; opacity: 0; scale: .9; transition: opacity .3s, scale .4s var(--ease);
}
.hover-preview.is-on { opacity: 1; scale: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 60px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--ash); }
.pager a:hover { color: var(--bone); background: var(--veil); }
.pager [aria-current="page"] { background: var(--bone); color: #000; }

/* ---------- en-têtes de page ---------- */
.page-hero { padding: 180px 0 80px; min-height: 72vh; display: flex; align-items: flex-end; }
.page-hero--short { min-height: auto; padding-bottom: 40px; }
.page-hero .wrap > * + * { margin-top: 24px; }
.page-hero .lead { max-width: 600px; }
.page-hero h1 { max-width: 62%; }
@media (max-width: 820px) { .page-hero h1 { max-width: none; } }
.hero-by { font-size: 14px; color: var(--ash); font-weight: 400; }
.crumbs { font-size: 13px; color: var(--ash); display: flex; flex-wrap: wrap; gap: 8px; font-weight: 400; }
.crumbs a:hover { color: var(--bone); }
.crumbs span[aria-hidden] { opacity: .5; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ash); font-weight: 400; }
.meta-line strong { color: var(--bone); font-weight: 600; }
@media (max-width: 820px) { .page-hero { padding-top: 46vh; min-height: auto; } .page-hero--short { padding-top: 140px; } }

/* ---------- article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--iris), var(--saffron)); transform-origin: left; transform: scaleX(0); }
.article-hero { padding: 170px 0 60px; }
.article-hero .wrap { max-width: 1440px; }
.article-hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.04em; max-width: 1060px; margin-top: 22px; }
.byline { margin-top: 30px; font-size: 16px; font-weight: 300; color: var(--mist); display: flex; align-items: center; gap: 14px; }
.byline-avatar { flex: none; width: 48px; height: 48px; text-decoration: none !important; }
.byline-avatar .portrait { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--iris); }
.byline-avatar:hover .portrait { box-shadow: 0 0 0 2px var(--saffron); }
.byline a { color: var(--bone); font-weight: 400; text-decoration: underline; text-decoration-color: var(--iris); text-underline-offset: 4px; }
.byline a:hover { color: var(--saffron); }
.byline p { margin: 0; }
.dates { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: 14px; color: var(--ash); font-weight: 400; }
.dates .updated { color: var(--saffron); }
.featured { margin: 50px 0 0; border-radius: var(--r); overflow: hidden; max-width: 1340px; aspect-ratio: 21 / 9; background: #0d0d10; }
.featured img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { max-width: 1440px; margin: 0 auto; padding: 30px var(--gutter) 0; display: grid; grid-template-columns: 280px minmax(0, 1060px); gap: 60px; }
.toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.toc .label { font-size: 12px; margin-bottom: 18px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 8px 0; font-size: 14px; line-height: 1.4; color: var(--ash); font-weight: 400; transition: color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-size: 11px; padding-top: 2px; color: rgba(255, 255, 255, .3); }
.toc a:hover, .toc a.is-active { color: var(--bone); }
.toc a.is-active::before { color: var(--saffron); }
.toc-mobile { display: none; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 40px; border-radius: 18px; background: var(--veil); padding: 4px 20px; }
  .toc-mobile summary { cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--saffron); }
  .toc-mobile ol { margin: 0 0 14px; padding-left: 20px; }
  .toc-mobile a { display: block; padding: 6px 0; font-size: 15px; color: var(--mist); font-weight: 400; }
  .featured { aspect-ratio: 16 / 10; }
}

.article-body { max-width: 1060px; font-size: 18px; line-height: 1.65; font-weight: 300; color: var(--text-soft); }
.article-body > * { margin: 0 0 1.15em; }
.article-body h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.035em; color: var(--bone); margin: 2.2em 0 .7em; }
.article-body h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; color: var(--bone); margin: 1.8em 0 .6em; }
.article-body h2 strong, .article-body h3 strong { font-weight: inherit; }
.article-body strong { font-weight: 600; color: var(--bone); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: .4em 0; }
.article-body ul li::marker { color: var(--iris-hi); }
.article-body img, .article-body figure { border-radius: var(--r); overflow: hidden; }
.article-body figure { margin: 2em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body .wp-block-table { overflow-x: auto; }
.article-body th, .article-body td { text-align: left; padding: 14px 16px; vertical-align: top; }
.article-body th { font-weight: 600; color: var(--bone); background: rgba(128, 82, 255, .14); }
.article-body tr:nth-child(even) td { background: var(--veil); }
.article-body blockquote { margin: 2em 0; padding: 0 0 0 24px; font-size: 22px; color: var(--bone); box-shadow: inset 2px 0 0 var(--saffron); }

/* Résumé de l'article : chapô en 22 px */
.resume { margin: 0 0 2.4em !important; }
.resume .label { display: block; margin-bottom: 14px; }
.resume p { font-size: 22px; line-height: 1.5; font-weight: 300; color: var(--bone); margin: 0; }

/* Conseil de coach / Conseil de pro */
.tip {
  position: relative; border-radius: var(--r); padding: 28px 32px 28px 84px; margin: 2.2em 0 !important;
  background: linear-gradient(135deg, rgba(128, 82, 255, .16), rgba(128, 82, 255, .05)); color: var(--bone);
}
.tip::before {
  content: ""; position: absolute; left: 30px; top: 30px; width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 3 28 26H2Z' fill='none' stroke='%23ffb829' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15 12v6M15 21.5v.5' stroke='%23ffb829' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tip-title { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--saffron); margin-bottom: 8px; }
@media (max-width: 640px) { .tip { padding: 70px 22px 24px; } .tip::before { left: 22px; top: 24px; } }

/* FAQ dépliable */
.faq { margin: 0 0 2em !important; }
.faq details { border-radius: 18px; transition: background .3s; }
.faq details + details { margin-top: 6px; }
.faq details[open] { background: var(--veil); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center;
  padding: 20px 22px; font-size: 20px; line-height: 1.35; font-weight: 400; color: var(--bone); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 200; color: var(--saffron); text-align: center; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--saffron); }
.faq .faq-a { padding: 0 22px 22px; color: var(--text-soft); }
.faq .faq-a p { margin: 0; }

/* Avertissement santé */
.disclaimer { font-size: 14px; color: var(--ash); margin-top: 3em !important; font-weight: 400; }

/* Encadré auteur */
.author-box { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: start; margin-top: 80px; max-width: 1060px; }
.author-box .portrait { border-radius: 20px; }
.author-box h2 { font-size: 27px; letter-spacing: -.02em; margin-top: 8px; }
.author-box p { color: var(--mist); font-size: 16px; font-weight: 300; margin: 12px 0 0; }
.author-box .ghost { margin-top: 18px; }
@media (max-width: 640px) { .author-box { grid-template-columns: 84px 1fr; gap: 18px; } }

/* ---------- portraits & équipe ---------- */
.portrait { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #1a1a1f, #0b0b0d); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 60px; list-style: none; margin: 0; padding: 0; }
/* Carte auteur compacte : petit portrait à gauche, texte à droite */
.member { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 28px; align-items: start; }
.member > a { display: contents; }
.member > a > *, .member > p, .member > .tags { grid-column: 2; }
.member .portrait { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: 1; border-radius: 20px; }
.member .portrait img { transition: transform .9s var(--ease); }
.member > a:hover .portrait img { transform: scale(1.05); }
.member > a:hover h3 { color: var(--saffron); }
.member .role { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; color: var(--iris-hi); }
.member h3 { font-size: 27px; line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; transition: color .2s; }
.member p { color: var(--mist); font-size: 16px; font-weight: 300; margin: 12px 0 0; max-width: 460px; }
.member .tags { margin-top: 16px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .member { grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; } .member .portrait { border-radius: 14px; } .member h3 { font-size: 23px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li, .tags a { font-size: 13px; padding: 7px 14px; border-radius: var(--pill); background: var(--veil); color: var(--mist); font-weight: 400; }
.tags a:hover { background: var(--veil-2); color: var(--bone); }

/* Page auteur */
.author-hero { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: end; }
.author-hero .portrait { aspect-ratio: 4 / 5; }
.author-hero .facts { display: grid; grid-template-columns: 160px 1fr; gap: 14px 24px; margin-top: 36px; font-size: 16px; }
.author-hero .facts dt { color: var(--ash); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding-top: 4px; }
.author-hero .facts dd { margin: 0; color: var(--text-soft); font-weight: 300; }
.updated-list { list-style: none; margin: 0; padding: 0; }
.updated-list li a { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 16px 0; font-size: 18px; font-weight: 300; color: var(--mist); transition: color .2s; }
.updated-list li + li a { box-shadow: 0 -1px 0 var(--veil); }
.updated-list time { color: var(--saffron); font-size: 14px; font-weight: 400; white-space: nowrap; }
.updated-list a:hover { color: var(--bone); }
@media (max-width: 820px) {
  .author-hero { grid-template-columns: 1fr; gap: 36px; }
  .author-hero .portrait { max-width: 300px; }
  .author-hero .facts { grid-template-columns: 1fr; gap: 4px; }
  .author-hero .facts dd { margin-bottom: 12px; }
  .updated-list li a { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- pages éditoriales ---------- */
.prose { max-width: 1060px; font-size: 18px; line-height: 1.65; font-weight: 300; color: var(--text-soft); }
.prose h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.15; color: var(--bone); margin: 2em 0 .6em; font-weight: 400; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose strong { color: var(--bone); font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.sitemap h2 { margin-top: 1.4em; }
.sitemap ul { list-style: none; padding: 0; }
.sitemap li { padding: 6px 0; }
.sitemap li a { color: var(--mist); }
.sitemap li a:hover { color: var(--saffron); }

/* ---------- formulaires ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ash); }
.form input, .form textarea, .search-field input {
  width: 100%; background: #111114; border: 0; border-radius: 16px; padding: 16px 18px; font-size: 17px;
  font-weight: 300; color: var(--bone); text-transform: none; letter-spacing: 0; transition: background .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .search-field input:focus { outline: none; background: #18181d; box-shadow: 0 0 0 1px var(--iris); }
.form textarea { min-height: 180px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.form-status { min-height: 1.5em; color: var(--saffron); font-size: 15px; }
.search-field { display: flex; gap: 12px; max-width: 760px; }
.search-field input { font-size: 24px; padding: 18px 24px; border-radius: var(--pill); }
.search-count { margin-top: 30px; color: var(--ash); font-size: 14px; }

/* ---------- pied de page ---------- */
.site-footer { padding: 120px 0 40px; margin-top: 60px; }
.footer-statement { font-size: var(--t-lg); line-height: 1; letter-spacing: -.04em; font-weight: 400; max-width: 900px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-top: 96px; }
.footer-grid h2 a { font-size: inherit; font-weight: inherit; color: inherit; }
.footer-grid h2 a:hover { color: var(--bone); }
.footer-grid h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ash); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { font-size: 15px; font-weight: 300; color: var(--mist); transition: color .2s; }
.footer-grid a:hover { color: var(--bone); }
.footer-team li a { display: flex; align-items: center; gap: 12px; }
.footer-team .portrait { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.footer-team small { display: block; font-size: 12px; color: var(--ash); }
.footer-about p { font-size: 15px; color: var(--mist); font-weight: 300; margin: 18px 0 0; max-width: 340px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 80px; font-size: 13px; color: var(--ash); font-weight: 400; }
.footer-bottom a:hover { color: var(--bone); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.err { font-size: clamp(120px, 26vw, 340px); line-height: .8; letter-spacing: -.06em; font-weight: 400; background: linear-gradient(120deg, var(--iris), var(--saffron)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ecg path { stroke-dashoffset: 0; }
}

.mentions-img { max-width: 100%; height: auto; margin: 6px 0 4px; user-select: none; -webkit-user-drag: none; }
