/* =========================================================
   CV Cécile Missol — direction « Éditorial patiné »
   Papier crème, serif éditorial, filets laiton, patine.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --paper:        #f6f1e7;
  --paper-raised: #fcfaf5;
  --paper-deep:   #eee6d7;
  --paper-ink:    #1c1915;

  --ink:    #241f1a;
  --ink-2:  #4c443a;
  --ink-3:  #7d7365;

  --rule:      #ddd3c0;
  --rule-soft: #e8e0d1;

  --brass:      #9a7a45;
  --brass-deep: #6f5628;
  --brass-tint: #f0e7d3;
  --patina:     #4e6357;

  --shadow-soft: 0 1px 2px rgba(70, 56, 32, .05), 0 8px 24px -14px rgba(70, 56, 32, .28);
  --shadow-lift: 0 2px 4px rgba(70, 56, 32, .07), 0 18px 38px -18px rgba(70, 56, 32, .34);

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --rail: 224px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 66ch;

  --step--1: clamp(.82rem, .79rem + .12vw, .9rem);
  --step-0:  clamp(1.02rem, .98rem + .18vw, 1.14rem);
  --step-1:  clamp(1.16rem, 1.08rem + .34vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + .9vw, 2.15rem);
  --step-3:  clamp(1.95rem, 1.55rem + 1.8vw, 3.1rem);
  --step-4:  clamp(2.9rem, 1.9rem + 4.6vw, 6.2rem);

  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  /* grain de papier — texture procédurale, aucun asset externe */
  background-image:
    radial-gradient(ellipse 120% 80% at 12% -10%, rgba(154, 122, 69, .07), transparent 62%),
    radial-gradient(ellipse 90% 70% at 96% 8%, rgba(78, 99, 87, .055), transparent 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.68;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--brass); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; font-family: var(--sans); font-size: .85rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- 3. Primitives typographiques ---------- */
.label {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  line-height: 1.4;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: var(--measure);
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; color: var(--ink); }
.prose ul {
  list-style: none;
  margin: .4em 0 0;
  padding-left: 1.1em;
}
.prose li {
  position: relative;
  margin-bottom: .45em;
  line-height: 1.55;
}
.prose li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: .72em;
  width: .5em;
  border-top: 1px solid var(--brass);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ---------- 4. Structure ---------- */
.wrap {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.layout {
  display: block;
}

@media (min-width: 1080px) {
  .layout {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }
}

/* ---------- 5. Barre mobile ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--gutter);
  background: rgba(246, 241, 231, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.topbar__name {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar__name span { color: var(--brass-deep); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .38rem .85rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.menu-btn:hover { background: var(--brass-tint); border-color: var(--brass); }
.menu-btn__bars { display: inline-block; width: 14px; height: 9px; position: relative; }
.menu-btn__bars::before,
.menu-btn__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; transition: transform .25s ease;
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after  { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(3.7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after  { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 1080px) {
  .topbar { display: none; }
}

/* ---------- 6. Sommaire / rail ---------- */
.rail {
  display: none;
}

@media (min-width: 1080px) {
  .rail {
    display: block;
    position: sticky;
    top: 2.5rem;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding-block: .25rem 1rem;
    padding-right: .5rem;
    scrollbar-width: thin;
  }
}

.rail__title {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 .85rem;
}
.rail__group + .rail__group { margin-top: 1.8rem; }

.rail__list { list-style: none; margin: 0; padding: 0; }
.rail__list li { margin-bottom: .1rem; }

.rail__link {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .3rem 0 .3rem .7rem;
  border-left: 1.5px solid var(--rule);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.rail__link:hover {
  color: var(--brass-deep);
  border-left-color: var(--brass);
  padding-left: .95rem;
}
.rail__link.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--brass);
}
.rail__num {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brass);
  min-width: 1.15rem;
}

/* Panneau mobile */
.rail--sheet {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
  padding: 5.5rem var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.rail--sheet.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1080px) { .rail--sheet { display: none; } }
.rail--sheet .rail__link { font-size: 1rem; padding-block: .5rem; }

/* ---------- 7. Hero ---------- */
.hero {
  padding-top: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .85fr); }
}

.hero__kicker {
  margin: 0 0 1.1rem;
}

.hero__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-4);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
.hero__name em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--brass-deep);
}

.hero__role {
  margin: 1.5rem 0 0;
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.hero__role span {
  display: block;
  text-wrap: balance;
}
.hero__role::before {
  content: "";
  display: block;
  width: 3.2rem;
  border-top: 2px solid var(--brass);
  margin-bottom: 1.2rem;
}

.hero__intro { margin-top: 1.4rem; }

.hero__portrait {
  position: relative;
  margin: 0;
}
.hero__portrait img {
  width: 100%;
  border-radius: 2px;
  filter: saturate(.94) contrast(1.02);
  box-shadow: var(--shadow-soft);
}
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: .55rem -.55rem -.55rem .55rem;
  border: 1px solid var(--brass);
  border-radius: 2px;
  z-index: -1;
}
@media (max-width: 859px) {
  .hero__portrait { max-width: 300px; }
}

/* ---------- 8. Bandeau contact ---------- */
.contactbar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.35rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.contactbar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem clamp(1.5rem, 4vw, 3.5rem);
}
.contactbar a, .contactbar span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .84rem;
  letter-spacing: .01em;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.contactbar a:hover { color: var(--brass-deep); border-bottom-color: var(--brass); }
.contactbar svg { width: 15px; height: 15px; flex: none; stroke: var(--brass); }

/* ---------- 9. Actes ---------- */
.act {
  padding-top: clamp(3.5rem, 8vw, 7rem);
}
.act__head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.act__num {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: .9rem;
}
.act__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.act__title span { color: var(--ink-3); }

/* ---------- 10. Domaine ---------- */
.domain {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule-soft);
  scroll-margin-top: 5.5rem;
}
.domain:first-of-type { border-top: 0; padding-top: 0; }

.domain__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.domain__index {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brass);
  padding-top: .45rem;
  flex: none;
}
.domain__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

.subhead {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: clamp(2rem, 4vw, 3rem) 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.subhead::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule-soft);
}

/* ---------- 11. Cartes de compétence ---------- */
.cards {
  display: grid;
  gap: 1px;
  /* fond papier + contour par carte : les cases vides du dernier rang
     restent du papier au lieu d'un trou gris */
  background: var(--paper-raised);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper-raised);
  outline: 1px solid var(--rule-soft);
  padding: 1.5rem 1.5rem 1.6rem;
  position: relative;
  transition: background .25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.2rem;
  border-top: 2px solid var(--brass);
  opacity: .55;
  transition: width .35s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.card:hover { background: #fff; }
.card:hover::before { width: 100%; opacity: 1; }

.card__title {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 .6rem;
}
.card__body {
  margin: 0;
  font-size: .96rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.card__body p { margin: 0 0 .7em; }
.card__body p:last-child { margin-bottom: 0; }
.card__body ul {
  margin: .55em 0 0;
  padding-left: 1.05em;
  list-style: none;
}
.card__body li {
  position: relative;
  margin-bottom: .3em;
}
.card__body li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: .68em;
  width: .45em;
  border-top: 1px solid var(--brass);
}

/* ---------- 12. Pastilles (soft skills, plateformes) ---------- */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chips li {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .02em;
  padding: .4rem .85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-raised);
  color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.chips li:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
  background: var(--brass-tint);
}

/* ---------- 13. Blocs annexes ---------- */
.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
  padding: 1.1rem 1.3rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--brass);
  border-radius: 2px;
  margin-top: 1.5rem;
}
.note__label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.note img { max-height: 62px; width: auto; mix-blend-mode: multiply; }

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { margin-bottom: .55rem; }
.linklist a, .exlink {
  /* inline (et non inline-flex) pour que les libellés longs se coupent
     proprement en fin de ligne sur mobile */
  display: inline;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--rule);
  transition: box-shadow .2s ease, color .2s ease;
}
.linklist a:hover, .exlink:hover { color: var(--brass-deep); box-shadow: inset 0 -1px 0 var(--brass); }
.exlink::after {
  content: "\00a0↗";
  font-family: var(--sans);
  font-size: .72em;
  color: var(--brass);
}

.formations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.formations li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.formations li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .62em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- 14. Galeries ---------- */
.gallery {
  columns: 2;
  column-gap: 10px;
  margin-top: 1.6rem;
}
@media (min-width: 700px)  { .gallery { columns: 3; column-gap: 12px; } }
@media (min-width: 1000px) { .gallery { columns: 4; column-gap: 12px; } }
.gallery--wide { columns: 2; }
@media (min-width: 700px) { .gallery--wide { columns: 3; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  width: 100%;
  cursor: zoom-in;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
}
@media (min-width: 700px) { .gallery__item { margin-bottom: 12px; } }
.gallery__item img {
  width: 100%;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .4s ease;
  filter: saturate(.93);
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gallery__item:hover img { transform: scale(1.035); filter: saturate(1.02); }

/* Certificats & documents */
.docs {
  display: grid;
  gap: 1rem;
  /* auto-fill + largeur plafonnée : un certificat seul garde la taille
     d'une vignette au lieu de s'étirer sur toute la colonne */
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  max-width: 640px;
  margin-top: 1.5rem;
}
.doc {
  display: block;
  width: 100%;
  padding: .6rem;
  border: 1px solid var(--rule-soft);
  background: var(--paper-raised);
  border-radius: 2px;
  cursor: zoom-in;
  text-align: left;
  transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}
.doc:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.doc img { border-radius: 1px; }
.doc__caption {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-top: .55rem;
}

.figure-narrow { margin: 1.6rem 0 0; max-width: 420px; }
.figure-narrow img { border-radius: 2px; }
.figure-narrow figcaption {
  font-family: var(--sans);
  font-size: .74rem;
  color: var(--ink-3);
  margin-top: .5rem;
  letter-spacing: .04em;
}

/* Aperçu long (newsletter) */
.longshot {
  margin: 1.5rem 0 0;
  max-width: 380px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper-raised);
  padding: .55rem;
}
.longshot__frame {
  height: 320px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border-radius: 1px;
}
.longshot__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--paper-raised));
  pointer-events: none;
}
.longshot figcaption {
  font-family: var(--sans);
  font-size: .74rem;
  color: var(--ink-3);
  margin-top: .5rem;
  letter-spacing: .04em;
}

/* ---------- 14 bis. Bandes fleuries (parallaxe) ---------- */
/* Reprises du CV WordPress : deux peintures florales en fond parallaxe,
   l'une avant l'acte I, l'autre avant l'acte II. */
.plate {
  position: relative;
  overflow: hidden;
  /* bandeau étroit : un liseré décoratif, pas une image de section */
  height: clamp(88px, 12vh, 140px);
  margin-top: clamp(3rem, 7vw, 6rem);
  border-radius: 2px;
  background: #14110d;
  box-shadow: var(--shadow-soft);
}
/* L'image fait la hauteur de la fenêtre et est recalée par JS sur la position
   du bandeau : elle reste visuellement immobile pendant que le bandeau glisse
   dessus. C'est le comportement de `background-attachment: fixed`, reproduit
   en transform pour marcher aussi sur iOS. */
.plate__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
/* liseré laiton, comme sur les cartes */
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 2px solid var(--brass);
  box-shadow: inset 0 0 40px rgba(20, 17, 13, .4);
}

@media (prefers-reduced-motion: reduce) {
  .plate__img { height: 100%; transform: none !important; }
}

/* ---------- 15. Timeline parcours ---------- */
.timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: .8rem;
  bottom: .8rem;
  border-left: 1px solid var(--rule);
}
@media (min-width: 780px) {
  .timeline::before { left: calc(11rem + 5px); }
}

.tl {
  position: relative;
  padding-left: 2rem;
  padding-block: .85rem;
}
@media (min-width: 780px) {
  .tl {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 2rem;
    padding-left: 0;
  }
  .tl__body { padding-left: 2rem; }
}

.tl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--brass);
}
@media (min-width: 780px) {
  .tl::before { left: 11rem; }
}
.tl--now::before { background: var(--brass); box-shadow: 0 0 0 4px var(--brass-tint); }

.tl__date {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: .3rem;
}
@media (min-width: 780px) {
  .tl__date { margin-bottom: 0; padding-top: .95rem; text-align: right; }
}
.tl--now .tl__date { color: var(--brass-deep); font-weight: 600; }

.tl__role {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.tl__org {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: .35rem 0 0;
}
.tl__org span { color: var(--ink-3); font-weight: 400; letter-spacing: .04em; text-transform: none; }
.tl__note {
  margin: .5rem 0 0;
  font-size: .95rem;
  color: var(--ink-2);
  max-width: 52ch;
}
.tl__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--patina);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .12rem .55rem;
  margin-left: .55rem;
  vertical-align: .18em;
}

/* ---------- 16. Contact final ---------- */
.outro {
  margin-top: clamp(4rem, 9vw, 8rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper-raised);
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--brass);
  border-radius: 3px;
  scroll-margin-top: 5.5rem;
}
.outro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-3);
  line-height: 1.05;
  margin: .8rem 0 0;
  letter-spacing: -.015em;
}
.outro__title em { font-style: italic; color: var(--brass-deep); }
.outro__grid {
  display: grid;
  gap: 2rem clamp(2rem, 5vw, 4rem);
  margin-top: 2.4rem;
}
@media (min-width: 720px) { .outro__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contact-line {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding-block: .55rem;
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
  transition: border-color .25s ease;
}
.contact-line:hover { border-bottom-color: var(--brass); }
.contact-line__k {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-width: 5.5rem;
  flex: none;
}
.contact-line__v { font-size: 1.02rem; color: var(--ink); }
a.contact-line:hover .contact-line__v { color: var(--brass-deep); }

.footer {
  padding-block: 2.5rem 3.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: .76rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
}
.footer a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.footer a:hover { color: var(--brass-deep); border-bottom-color: var(--brass); }

/* ---------- 17. Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(28, 25, 21, .93);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage {
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  border-radius: 2px;
  scrollbar-width: thin;
}
.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px -20px rgba(0,0,0,.7);
}
.lb__img--tall { max-height: none; }
.lb__cap {
  position: absolute;
  left: 0; right: 0; bottom: 1.1rem;
  text-align: center;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(246, 241, 231, .78);
  padding-inline: 4rem;
}
.lb__close, .lb__nav {
  position: absolute;
  background: rgba(246, 241, 231, .1);
  border: 1px solid rgba(246, 241, 231, .28);
  color: var(--paper);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}
.lb__close:hover, .lb__nav:hover { background: rgba(246, 241, 231, .22); border-color: var(--paper); }
.lb__close { top: 1.1rem; right: 1.1rem; }
.lb__nav--prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 1.1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb__nav { width: 38px; height: 38px; }
  .lb__nav--prev { left: .5rem; }
  .lb__nav--next { right: .5rem; }
}
body.lb-open { overflow: hidden; }

/* ---------- 18. Révélation au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 19. Impression ---------- */
@media print {
  :root { --paper: #fff; }
  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
    line-height: 1.45;
  }
  .topbar, .rail, .rail--sheet, .lb, .skip, .menu-btn { display: none !important; }
  .layout { display: block; }
  .wrap { width: 100%; padding-inline: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .act, .domain { padding-block: .8rem; break-inside: avoid; }
  .domain { border-top: 1px solid #ccc; }
  .cards { border-color: #ccc; background: #ccc; }
  .card { background: #fff; padding: .5rem .7rem; break-inside: avoid; }
  .card::before { display: none; }
  .gallery, .docs, .longshot, .hero__portrait::after { display: none; }
  .outro { border: 1px solid #ccc; break-inside: avoid; }
  .tl { break-inside: avoid; }
  a { text-decoration: none; }
  .exlink::after { content: ""; }
}
