/* ==========================================================
   paultondereau.fr · feuille de style commune
   Monde : l'annuaire professionnel. Pages jaunes, pages blanches,
   deuxième couleur d'impression bleue, quatrième de couverture noire.
   Police : Bricolage Grotesque (SIL Open Font License), auto-hébergée.
   ========================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* Secours calé sur les métriques de la police : pas de saut au chargement */
@font-face {
  font-family: "Bricolage-fallback";
  src: local("Arial"), local("Helvetica Neue");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  /* Les quatre encres de l'annuaire */
  --yellow: #ffd60a;
  --yellow-deep: #f2c400;
  --ink: #121212;
  --paper: #ffffff;
  --blue: #1b416b;          /* le bleu du fond de la photo de portrait */
  --blue-deep: #142f4e;

  /* Textes secondaires teintés par la page qui les porte */
  --on-yellow-muted: #4f4300;
  --on-paper-muted: #575b63;
  --on-blue-muted: #c7d5e6;
  --on-blue-rule: #3a6493;
  --on-ink-muted: #a9adb4;

  --rule: #121212;
  --rule-soft: #d9dbe0;

  --sans: "Bricolage", "Bricolage-fallback", "Helvetica Neue", Arial, sans-serif;

  /* Échelle : 17 px sur mobile, 19 px sur grand écran */
  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0: clamp(1.0625rem, 0.99rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.08rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.45rem + 2.5vw, 3.75rem);
  --step-4: clamp(3rem, 1.6rem + 5.4vw, 6rem);

  /* Module : tout se cale sur la ligne d'annuaire de 8 px */
  --u: 8px;
  --gutter: clamp(18px, 4vw, 56px);
  --band: clamp(72px, 9vw, 136px);
  --tab-w: 9.5rem;
  --leader: radial-gradient(circle at 50% 50%, currentColor 0 1.1px, transparent 1.6px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--ink) var(--yellow);
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--blue);
}

img { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; text-wrap: balance; }
p, li, dd, blockquote { text-wrap: pretty; }
b, strong { font-weight: 650; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.page-blue :focus-visible, .page-ink :focus-visible { outline-color: var(--yellow); }

::selection { background: var(--ink); color: var(--yellow); }
.page-ink ::selection, .page-blue ::selection { background: var(--yellow); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 30; background: var(--ink); color: var(--yellow); padding: 10px 16px; font-weight: 650; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ── Pages de l'annuaire ─────────────────────────────── */

.page-yellow { background: var(--yellow); }
.page-paper { background: var(--paper); }
.page-blue { background: var(--blue); color: var(--paper); }
.page-ink { background: var(--ink); color: var(--paper); }

.band { padding: var(--band) 0; }

.page-yellow .muted { color: var(--on-yellow-muted); }
.page-paper .muted { color: var(--on-paper-muted); }
.page-blue .muted { color: var(--on-blue-muted); }
.page-ink .muted { color: var(--on-ink-muted); }

/* Titre de section : gros caractère posé sur un filet de colonne épais */
.band-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.band-head h2 {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--yellow);
  font-size: var(--step-3);
  font-stretch: 92%;
  letter-spacing: -0.03em;
  padding: 0.28em 0.4em 0.24em;
}
.page-blue .band-head h2, .page-ink .band-head h2 { background: var(--yellow); color: var(--ink); }
.band-head p { grid-column: 1 / 9; max-width: 36em; margin-top: 18px; }

/* Ligne de conduite : un nom, des points, une valeur */
.leader {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.leader::after {
  content: "";
  order: 1;
  flex: 1 1 1.5em;
  min-width: 1.5em;
  height: 6px;
  margin: 0 0.5em;
  background: var(--leader) 0 50% / 7px 6px repeat-x;
  opacity: 0.6;
}
.leader > :first-child { flex: 0 1 auto; min-width: 0; }
.leader > :last-child { order: 2; text-align: right; min-width: 0; overflow-wrap: anywhere; }

/* Le surligneur : un trait de marqueur dessiné à la main, un seul par bloc */
.hl {
  color: var(--ink);
  padding: 0 0.18em;
  margin: 0 -0.06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 22 5, 48 7, 70 6 S 108 4, 117 8 L 118 31 C 96 35, 70 33, 45 34 S 12 36, 2 33 Z' fill='%23ffd60a'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-weight: 650;
}

/* ── Tête de page : mots-guides ─────────────────────── */

.running-head {
  background: var(--yellow);
  border-bottom: 1px solid var(--ink);
  font-size: var(--step--1);
}
.running-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 56px;
}
.guide { font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.guide-right { color: var(--on-yellow-muted); white-space: nowrap; }
.quick { display: flex; gap: 20px; }
.quick a { font-weight: 600; text-decoration: none; }
.quick a:hover { text-decoration: underline; }

/* ── Onglets d'index sur la tranche (navigation) ─────── */

.thumb-index { display: none; }

@media (min-width: 1180px) {
  .has-index .wrap { padding-right: calc(var(--gutter) + var(--tab-w)); max-width: calc(1240px + var(--tab-w)); }
  .quick { display: none; }

  .thumb-index {
    display: block;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: var(--tab-w);
  }
  .thumb-index ol { display: grid; gap: 3px; }
  .thumb-index a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 2.75rem;
    padding: 0 14px 0 16px;
    background: var(--ink);
    color: var(--paper);
    font-size: var(--step--1);
    font-weight: 600;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  }
  .thumb-index a::after {
    content: attr(data-letter);
    font-weight: 750;
    font-size: 0.95em;
    opacity: 0.6;
  }
  .thumb-index a:hover { transform: translateX(-6px); }
  .thumb-index .tab-cv { background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
}

/* L'onglet de la section lue se détache de la tranche (CSS seul, navigateurs récents) */
@supports (animation-timeline: view()) {
  body { timeline-scope: --t-parcours, --t-avis, --t-experiences, --t-projets, --t-savoir-faire, --t-formation, --t-recommandations, --t-contact; }
  #parcours { view-timeline-name: --t-parcours; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #avis { view-timeline-name: --t-avis; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #experiences { view-timeline-name: --t-experiences; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #projets { view-timeline-name: --t-projets; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #savoir-faire { view-timeline-name: --t-savoir-faire; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #formation { view-timeline-name: --t-formation; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #recommandations { view-timeline-name: --t-recommandations; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }
  #contact { view-timeline-name: --t-contact; view-timeline-axis: block; view-timeline-inset: 49.5% 50%; }

  @keyframes tab-on {
    from, to { background: var(--yellow); color: var(--ink); transform: translateX(-10px); box-shadow: inset 0 0 0 2px var(--ink); }
  }
  .thumb-index [data-t] { animation: tab-on linear none; animation-range: cover 0% cover 100%; }
  .thumb-index [data-t="parcours"] { animation-timeline: --t-parcours; }
  .thumb-index [data-t="avis"] { animation-timeline: --t-avis; }
  .thumb-index [data-t="experiences"] { animation-timeline: --t-experiences; }
  .thumb-index [data-t="projets"] { animation-timeline: --t-projets; }
  .thumb-index [data-t="savoir-faire"] { animation-timeline: --t-savoir-faire; }
  .thumb-index [data-t="formation"] { animation-timeline: --t-formation; }
  .thumb-index [data-t="recommandations"] { animation-timeline: --t-recommandations; }
  .thumb-index [data-t="contact"] { animation-timeline: --t-contact; }
}

/* ── Ouverture : l'encart ────────────────────────────── */

.opening { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 104px); }

.encart {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--paper);
  border: 3px solid var(--ink);
}
.encart-photo { background: var(--blue); border-right: 3px solid var(--ink); }
.encart-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.encart-body { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 52px); }

.encart-rubrique {
  align-self: flex-start;
  background: var(--ink);
  color: var(--yellow);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px 5px;
  margin-top: clamp(16px, 2vw, 24px);
}
.encart h1 {
  font-size: var(--step-4);
  font-weight: 680;
  font-stretch: 94%;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.encart .lede {
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 30em;
  margin-top: clamp(18px, 2vw, 28px);
}
.encart-lines {
  margin-top: auto;
  padding-top: clamp(28px, 3.4vw, 48px);
  display: grid;
  border-top: 0;
}
.encart-lines li { border-top: 1px solid var(--ink); }
.encart-lines li:last-child { border-bottom: 1px solid var(--ink); }
.encart-lines a {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
}
.encart-lines a > span:first-child { font-weight: 700; }
.encart-lines a:hover { background: var(--yellow); }
.encart-lines .first a { font-size: var(--step-1); }
.encart-lines .first a > span:first-child::before { content: ""; display: inline-block; width: 0.95em; height: 0.95em; margin-right: 0.4em; vertical-align: -0.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

.opening-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px clamp(20px, 3vw, 48px);
  margin-top: clamp(24px, 3vw, 40px);
  font-size: var(--step--1);
}
.opening-facts div { border-top: 1px solid var(--ink); padding-top: 10px; }
.opening-facts dt { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.opening-facts dd { margin-top: 2px; }

/* ── D'où je pars (pages blanches) ───────────────────── */

.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.story { grid-column: 1 / 8; display: grid; gap: 1.05em; font-size: var(--step-1); line-height: 1.5; letter-spacing: -0.01em; }
.story p:first-child::first-line { font-weight: 650; }
.story-aside { grid-column: 9 / 13; align-self: start; }

.story-aside dl > div { border-top: 1px solid var(--ink); padding: 12px 0; font-size: var(--step--1); }
.story-aside dl > div:last-child { border-bottom: 1px solid var(--ink); }
.story-aside dt { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Avis (deuxième couleur) ─────────────────────────── */

.lead-quote { max-width: 58rem; margin-bottom: clamp(48px, 6vw, 88px); }
.lead-quote blockquote {
  font-size: var(--step-2);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.source { margin-top: 1.1em; font-size: var(--step--1); }
.source b { font-weight: 700; }
.page-blue .source a { color: var(--on-blue-muted); }
.page-blue .source a:hover { color: var(--paper); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 0;
}
.quotes li { border-top: 2px solid var(--paper); padding: 22px 0 40px; display: flex; flex-direction: column; }
.quotes blockquote { font-size: 1.02em; line-height: 1.5; }
.quotes .source { margin-top: auto; padding-top: 18px; }

/* ── Entrées d'annuaire (expériences) ────────────────── */

.entries { border-bottom: 2px solid var(--ink); }
.entry {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(24px, 2.8vw, 36px) 0;
  border-top: 2px solid var(--ink);
}
.entry-head { grid-column: 1 / 6; }
.entry-name { font-size: var(--step-2); font-weight: 720; font-stretch: 90%; letter-spacing: -0.025em; }
.entry-name .leader { font-size: 1em; }
.entry-role { margin-top: 6px; font-weight: 600; }
.entry-where { font-size: var(--step--1); margin-top: 2px; }
.entry-when { grid-column: 6 / 8; font-size: var(--step--1); font-weight: 700; padding-top: 0.55em; }
.entry-body { grid-column: 8 / 13; display: grid; gap: 0.7em; }
.ticks { display: grid; gap: 0.4em; }
.ticks li { position: relative; padding-left: 1.2em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5em; height: 0.5em; background: currentColor; }

/* ── Deux situations (pages blanches) ────────────────── */

.case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 28px;
  padding: clamp(36px, 4.4vw, 64px) 0;
  border-top: 2px solid var(--ink);
}
.case-head { grid-column: 1 / 5; }
.case-head .muted { font-size: var(--step--1); font-weight: 600; margin-top: 10px; }
.case-head h3 { font-size: var(--step-2); font-stretch: 92%; letter-spacing: -0.025em; line-height: 1.08; }
.case-body { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); }
.case-body .lessons h4 { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7em; }
.case-body b { font-weight: 700; }
.lessons { grid-column: 1 / -1; border: 3px solid var(--ink); background: var(--yellow); padding: clamp(20px, 2.6vw, 32px); }
.lessons ol { display: grid; gap: 0.85em; counter-reset: l; }
.lessons li { counter-increment: l; display: grid; grid-template-columns: 2em minmax(0, 1fr); }
.lessons li::before { content: counter(l); font-weight: 760; font-size: 1.15em; line-height: 1.3; }

.more-work {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-top: clamp(36px, 4.4vw, 64px);
  border-top: 6px solid var(--ink);
}
.more-work h3 { grid-column: 1 / 5; font-size: var(--step-2); font-stretch: 92%; letter-spacing: -0.025em; }
.more-work ul { grid-column: 5 / 13; }
.more-work li { padding: 16px 0; border-top: 1px solid var(--ink); }
.more-work li:last-child { border-bottom: 1px solid var(--ink); }
.more-work .leader b { font-weight: 700; }
.more-work .leader span { font-size: var(--step--1); font-weight: 600; white-space: nowrap; }
.more-work p { margin-top: 4px; font-size: 0.95em; }

/* ── Savoir-faire : trois rubriques ──────────────────── */

.rubriques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: clamp(24px, 3vw, 44px); }
.rubrique { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.rubrique-entry { display: contents; }
.rubrique-entry > p { padding-top: 16px; margin-top: 0 !important; }
.rubrique dl { align-self: end; }
.rubrique h3 {
  background: var(--ink);
  color: var(--yellow);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px 9px;
}
.rubrique-entry { padding: 16px 0 0; }
.rubrique-entry .leader { font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
.rubrique-entry .leader span:last-child { font-size: var(--step--1); font-weight: 600; }
.rubrique-entry > p { margin-top: 10px; }
.rubrique dl { margin-top: 16px; font-size: var(--step--1); }
.rubrique dl div { border-top: 1px solid var(--ink); padding: 10px 0; }
.rubrique dt { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.tools-lines { margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.tools-lines li { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.tools-lines b { text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--step--1); padding-top: 0.2em; }

/* ── Formation (pages blanches) ──────────────────────── */

.edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.edu h3 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.edu li { border-top: 1px solid var(--ink); padding: 16px 0 18px; }
.edu li:last-child { border-bottom: 1px solid var(--ink); }
.edu .leader b { font-size: 1.05em; font-weight: 700; }
.edu .leader span:last-child { font-size: var(--step--1); font-weight: 600; white-space: nowrap; }
.edu p { margin-top: 4px; font-size: 0.95em; }

/* ── Recommandations (deuxième couleur) ──────────────── */

.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.doc-sheet { display: block; background: var(--paper); padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) 0; overflow: hidden; text-decoration: none; }
.doc-sheet img {
  width: 100%;
  aspect-ratio: 636 / 900;
  box-shadow: 0 2px 4px rgba(18, 18, 18, 0.12), 0 18px 34px -18px rgba(18, 18, 18, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.doc-sheet:hover img { transform: translateY(-8px) rotate(-0.6deg); }
.doc h3 { font-size: var(--step-1); letter-spacing: -0.01em; margin-top: 18px; }
.doc .muted { font-size: var(--step--1); margin-top: 4px; }
.doc blockquote { margin-top: 12px; }
.doc .open { display: inline-block; margin-top: 12px; font-weight: 650; }

/* ── À côté ──────────────────────────────────────────── */

.aside-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.aside-lines li { border-top: 2px solid var(--ink); padding-top: 12px; }
.aside-lines b { display: block; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }

/* ── Quatrième de couverture : contact ───────────────── */

.contact .lede { font-size: var(--step-1); line-height: 1.45; max-width: 34em; color: var(--on-ink-muted); }
.mail {
  display: inline-block;
  margin-top: clamp(28px, 3vw, 44px);
  color: var(--yellow);
  font-size: clamp(1.7rem, 0.8rem + 4.6vw, 5.4rem);
  font-weight: 700;
  font-stretch: 86%;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
}
.mail:hover { color: var(--paper); }
.contact-lines { margin-top: clamp(36px, 4vw, 64px); max-width: 44rem; border-top: 1px solid #3a3d42; }
.contact-lines a { display: flex; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #3a3d42; text-decoration: none; }
.contact-lines a > span:first-child { font-weight: 700; }
.contact-lines a:hover { color: var(--yellow); }

.colophon { background: var(--ink); color: var(--on-ink-muted); font-size: var(--step--1); }
.colophon .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid #3a3d42; }
.colophon a { color: inherit; }

/* ── Tablette ────────────────────────────────────────── */

@media (max-width: 1060px) {
  .case-head, .case-body { grid-column: 1 / 13; }
  .rubriques { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 44rem; row-gap: 40px; }
  .rubrique { grid-row: auto; grid-template-rows: none; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Mobile ──────────────────────────────────────────── */

@media (max-width: 860px) {
  .guide-right { display: none; }
  .encart { grid-template-columns: minmax(0, 1fr); }
  .encart-photo { border-right: 0; border-bottom: 3px solid var(--ink); }
  .encart-photo img { aspect-ratio: 5 / 4; object-position: 50% 18%; }
  .band-head h2, .band-head p { grid-column: 1 / 13; }
  .band-head p { margin-top: 14px; }
  .story, .story-aside { grid-column: 1 / 13; }
  .story-aside { margin-top: 36px; }
  .entry-head, .entry-when, .entry-body { grid-column: 1 / 13; }
  .entry-when { padding-top: 6px; }
  .entry-body { margin-top: 12px; }
  .more-work h3, .more-work ul { grid-column: 1 / 13; }
  .more-work h3 { margin-bottom: 20px; }
  .edu { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside-lines { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .quick { gap: 14px; }
  .opening-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .opening-facts div { padding: 10px 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .case-body { grid-template-columns: minmax(0, 1fr); }
  .tools-lines li { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); max-width: 380px; }
  .encart-lines .first a { font-size: var(--step-0); }
  .encart-lines a { display: block; }
  .encart-lines a::after { display: none; }
  .encart-lines a > span:last-child { display: block; text-align: left; margin-top: 2px; }
  .more-work .leader, .edu .leader, .cv-item .leader { display: block; }
  .more-work .leader::after, .edu .leader::after, .cv-item .leader::after { display: none; }
  .more-work .leader > :last-child, .edu .leader > :last-child, .cv-item .leader > :last-child { display: block; text-align: left; margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ── Impression de l'accueil ─────────────────────────── */

@media print {
  .running-head, .thumb-index, .skip { display: none; }
  .page-yellow, .page-blue, .page-ink, .colophon { background: none; color: #000; }
  .page-blue .muted, .page-ink .muted, .contact .lede, .mail { color: #333; }
  .band { padding: 24px 0; }
}
