/* Planche de direction artistique : complète site.css */
.da-sec { padding: clamp(96px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.da-sec:first-of-type { border-top: 0; }
.da-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-bottom: 56px; }
.da-num { font-size: 14px; font-weight: 600; color: var(--fg-2); padding-top: .9em; }
.da-head .t-lead { margin-top: 16px; max-width: 34em; }
.da-cover { padding: 180px 0 120px; }
.da-cover .t-lead { max-width: 30em; margin-top: 26px; }
.da-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; font-size: 14px; color: var(--fg-2); }
.da-meta b { color: var(--fg); font-weight: 600; }

.da-grid { display: grid; gap: 16px; }
.da-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.da-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.da-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.da-card { border-radius: 22px; padding: 28px; background: var(--graphite-800); }
.is-light .da-card { background: var(--white); }
.da-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.da-card p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.da-card .k { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 26px; color: var(--fg-2); }

/* Couleurs */
.sw { border-radius: 22px; overflow: hidden; background: var(--graphite-800); }
.is-light .sw { background: var(--white); }
.sw__chip { height: 150px; border-bottom: 1px solid var(--line); }
.sw__txt { padding: 18px 20px 22px; font-size: 14px; color: var(--fg-2); }
.sw__txt b { display: block; color: var(--fg); font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.sw__txt code { font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--fg); }
.ratio { display: flex; height: 64px; border-radius: 16px; overflow: hidden; margin-top: 40px; font-size: 13px; font-weight: 600; }
.ratio span { display: flex; align-items: center; padding: 0 18px; }

/* Typographie */
.type-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); }
.type-row:first-child { border-top: 0; padding-top: 0; }
.type-spec { font-size: 13px; color: var(--fg-2); line-height: 1.6; }
.type-spec b { display: block; color: var(--fg); font-size: 15px; }
.glyphs { font-size: clamp(64px, 10vw, 150px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }

/* Composants */
.demo-pane { border-radius: 22px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.demo-pane--dark { background: #000; border: 1px solid rgba(255, 255, 255, .12); --btn-bg: #f5f5f7; --btn-fg: #1d1d1f; --fg: #f5f5f7; color: #f5f5f7; }
.demo-pane--light { background: #f5f5f7; --btn-bg: #1d1d1f; --btn-fg: #fff; --fg: #1d1d1f; color: #1d1d1f; }
.demo-label { width: 100%; font-size: 13px; color: #86868b; }

/* Mouvement */
.motion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.motion .da-card { display: flex; flex-direction: column; gap: 14px; }
.motion__stage { height: 190px; border-radius: 16px; background: #000; border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; overflow: hidden; position: relative; }
.motion__stage .demo-title { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; text-align: center; }
.motion__stage .demo-num { font-size: 120px; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.motion__replay { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--fg); }
.motion__replay:hover { text-decoration: underline; }
.tokens { margin-top: 32px; border-radius: 22px; overflow: hidden; background: var(--graphite-800); }
.tokens table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tokens td { padding: 14px 22px; border-top: 1px solid var(--line); color: var(--fg-2); }
.tokens tr:first-child td { border-top: 0; }
.tokens td:first-child { color: var(--fg); font-weight: 600; width: 30%; }
.tokens code { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--fg); }

/* Images */
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grade figure { border-radius: 18px; overflow: hidden; background: #111; position: relative; aspect-ratio: 4 / 5; }
.grade img { width: 100%; height: 100%; object-fit: cover; }
.grade figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.grade--raw img { filter: none; }
.grade--bw img { filter: grayscale(1) contrast(1.15) brightness(.95); }
.grade--warm img { filter: saturate(.45) sepia(.12) contrast(1.08) brightness(.92); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rules ul { display: grid; gap: 10px; font-size: 15px; color: var(--fg-2); }
.rules li { display: flex; gap: 10px; }
.rules li::before { content: "✓"; color: var(--fg); font-weight: 600; }
.rules .no li::before { content: "×"; }

/* Prompts */
.prompt { position: relative; border-radius: 18px; padding: 22px 24px 22px; background: var(--graphite-800); }
.is-light .prompt { background: var(--white); }
.prompt h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.prompt pre { margin: 0; white-space: pre-wrap; font: 400 13px/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: var(--fg-2); }
.prompt button { position: absolute; right: 16px; top: 16px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--graphite-700); color: #fff; }
.is-light .prompt button { background: var(--graphite-100); color: var(--graphite-700); }

/* Production */
.prod li { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 16px; }
.prod li:first-child { border-top: 0; }
.prod b { font-weight: 600; }
.prod span { color: var(--fg-2); }
.prod em { font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; align-self: start; background: var(--graphite-800); color: var(--fg-2); white-space: nowrap; }
.prod em.ok { background: #fff; color: #000; }

@media (max-width: 900px) {
  .da-head { grid-template-columns: 1fr; gap: 8px; }
  .da-grid--4, .da-grid--3 { grid-template-columns: 1fr 1fr; }
  .motion, .grade, .rules { grid-template-columns: 1fr; }
  .type-row { grid-template-columns: 1fr; gap: 10px; }
  .prod li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) { .da-grid--4, .da-grid--3, .da-grid--2 { grid-template-columns: 1fr; } }
