/* ==========================================================================
   ARTEMS — Fonds de dotation
   Feuille de style principale
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { text-wrap: balance; }

p { text-wrap: pretty; }

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

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

/* --------------------------------------------------------------------------
   2. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --ink:        #1f274b;
  --ink-deep:   #141a33;
  --ink-mid:    #2b3560;
  --ink-soft:   #5b6488;
  --ink-faint:  #8a91ab;

  --paper:      #fbf9f5;
  --paper-2:    #f4f0e8;
  --paper-3:    #ece6da;
  --white:      #ffffff;

  --gold:       #b0854a;
  --gold-light: #cba46b;
  --gold-wash:  #f1e7d6;

  --line:       rgba(31, 39, 75, .13);
  --line-soft:  rgba(31, 39, 75, .07);
  --line-light: rgba(255, 255, 255, .16);

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rythme */
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --wrap: 1320px;
  --wrap-narrow: 780px;
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Effets */
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(20, 26, 51, .05), 0 4px 14px rgba(20, 26, 51, .05);
  --shadow-md: 0 4px 12px rgba(20, 26, 51, .06), 0 18px 44px rgba(20, 26, 51, .09);
  --shadow-lg: 0 10px 30px rgba(20, 26, 51, .1), 0 40px 90px rgba(20, 26, 51, .14);

  --header-h: 82px;
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 100, "SOFT" 0, "WONK" 0;
  letter-spacing: -.018em;
  line-height: 1.06;
  color: var(--ink);
}

.d-xxl { font-size: clamp(2.9rem, 8.2vw, 6.5rem); }
.d-xl  { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; }
.d-l   { font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.12; }
.d-m   { font-size: clamp(1.45rem, 2.4vw, 2rem);  line-height: 1.2; letter-spacing: -.012em; }
.d-s   { font-size: clamp(1.18rem, 1.6vw, 1.4rem); line-height: 1.28; letter-spacing: -.008em; }

.italic { font-style: italic; }

/* Étiquette de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-light); }

/* Corps de texte */
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-mid);
  font-weight: 350;
}

.body-text { color: var(--ink-soft); }

.body-text p + p { margin-top: 1.1em; }

.body-text strong,
.lede strong { font-weight: 600; color: var(--ink); }

.muted { color: var(--ink-faint); }

.text-center { text-align: center; }

.measure { max-width: 62ch; }
.measure-tight { max-width: 48ch; }

/* Lien souligné animé */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}

.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   4. Mise en page
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head.is-centered { text-align: center; }
.section-head.is-centered .measure { margin-inline: auto; }
.section-head .lede { margin-top: 1.5rem; }

.on-paper-2 { background: var(--paper-2); }

.on-ink {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
}

.on-ink h1, .on-ink h2, .on-ink h3, .on-ink .display { color: var(--white); }
.on-ink .lede { color: rgba(255, 255, 255, .8); }
.on-ink .body-text { color: rgba(255, 255, 255, .68); }
.on-ink .muted { color: rgba(255, 255, 255, .5); }

/* Filet horizontal */
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* Grilles utilitaires */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .015em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .35s var(--ease);
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31, 39, 75, .22);
}

.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }

.btn .arrow {
  transition: transform .45s var(--ease);
  flex: none;
}

.btn:hover .arrow { transform: translateX(4px); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible { color: var(--white); }

.btn-light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}

.btn-light:hover, .btn-light:focus-visible { color: var(--white); }

.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-light);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.2rem;
}

/* Lien fléché discret */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: gap .4s var(--ease), color .3s var(--ease);
}

.arrow-link .arrow { transition: transform .45s var(--ease); }
.arrow-link:hover { color: var(--gold); gap: .85rem; }
.on-ink .arrow-link { color: var(--white); }
.on-ink .arrow-link:hover { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 249, 245, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.site-header.is-stuck { height: 68px; }
.site-header.is-stuck::after { opacity: 1; }

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  transition: opacity .3s var(--ease);
}

.brand img {
  height: 42px;
  width: auto;
  transition: height .5s var(--ease), filter .45s var(--ease);
}

.site-header.is-stuck .brand img { height: 36px; }

.brand:hover { opacity: .72; }

/* Variante claire (au-dessus d'un visuel sombre) */
.site-header.is-over-hero:not(.is-stuck) .brand img {
  filter: brightness(0) invert(1);
}

.site-header.is-over-hero:not(.is-stuck) .nav-link { color: rgba(255, 255, 255, .88); }
.site-header.is-over-hero:not(.is-stuck) .nav-link:hover { color: var(--white); }
.site-header.is-over-hero:not(.is-stuck) .nav-link.is-active { color: var(--white); }
.site-header.is-over-hero:not(.is-stuck) .burger span { background: var(--white); }
.site-header.is-over-hero:not(.is-stuck) .header-cta {
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-light);
}

/* Navigation principale */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.3rem);
}

.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 450;
  letter-spacing: .005em;
  color: var(--ink-mid);
  padding-block: .4rem;
  transition: color .3s var(--ease);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-link.is-active { color: var(--ink); font-weight: 550; }
.nav-link.is-active::after { transform: scaleX(1); background: var(--gold); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}

.header-cta:hover,
.header-cta.is-active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.site-header.is-over-hero:not(.is-stuck) .header-cta.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--white);
}

/* Bouton menu mobile */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  position: relative;
  flex: none;
}

.burger span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }

body.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
}

/* Panneau mobile */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  overflow-y: auto;
}

body.nav-open { overflow: hidden; }

body.nav-open .nav-mobile {
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.nav-open .site-header.is-over-hero .brand img { filter: none; }
body.nav-open .site-header.is-over-hero .burger span { background: var(--ink); }

.nav-mobile ul { display: flex; flex-direction: column; }

.nav-mobile li { border-bottom: 1px solid var(--line-soft); }

.nav-mobile a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -.015em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}

.nav-mobile a .idx {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--gold);
}

body.nav-open .nav-mobile a { opacity: 1; transform: none; }

.nav-mobile li:nth-child(1) a { transition-delay: .08s; }
.nav-mobile li:nth-child(2) a { transition-delay: .13s; }
.nav-mobile li:nth-child(3) a { transition-delay: .18s; }
.nav-mobile li:nth-child(4) a { transition-delay: .23s; }
.nav-mobile li:nth-child(5) a { transition-delay: .28s; }
.nav-mobile li:nth-child(6) a { transition-delay: .33s; }
.nav-mobile li:nth-child(7) a { transition-delay: .38s; }

.nav-mobile-foot {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .45rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

.nav-mobile-foot a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   7. Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--ink-deep);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  animation: heroZoom 2.4s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 26, 51, .93) 0%, rgba(20, 26, 51, .68) 34%, rgba(20, 26, 51, .3) 62%, rgba(20, 26, 51, .5) 100%),
    linear-gradient(to right, rgba(20, 26, 51, .6) 0%, rgba(20, 26, 51, 0) 60%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  max-width: 15ch;
}

.hero .lede {
  color: rgba(255, 255, 255, .8);
  max-width: 46ch;
  margin-top: 1.7rem;
}

.hero .eyebrow { color: var(--gold-light); }

/* Logo mis en avant dans le héros */
.hero-logo {
  display: block;
  width: clamp(200px, 24vw, 330px);
  height: auto;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  filter: brightness(0) invert(1);
}

/* Bandeau d'information sous le héros */
.hero-bar {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-bar-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.hero-bar-item .k {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.hero-bar-item .v {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
}

/* Réserve la place de l'indicateur « Défiler », à droite */
@media (min-width: 821px) {
  .hero-bar { padding-right: 7rem; }
}

/* Indicateur de défilement */
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.scroll-cue .line {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 16px;
  background: var(--gold-light);
  animation: cue 2.1s var(--ease) infinite;
}

@keyframes cue {
  0%   { transform: translateY(-16px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

@media (max-width: 820px) {
  .scroll-cue { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 3.5rem; }
}

/* Héros de page intérieure */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 7.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 110% at 82% 0%, rgba(176, 133, 74, .22), transparent 62%),
    radial-gradient(70% 100% at 6% 100%, rgba(88, 106, 178, .22), transparent 60%);
}

.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255, 255, 255, .78); margin-top: 1.5rem; }

.page-hero.has-media { background: var(--ink-deep); }

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
}

.page-hero.has-media::before {
  background: linear-gradient(to top, rgba(20,26,51,.96), rgba(20,26,51,.55));
}

/* Fil d'Ariane */
.crumbs {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1.6rem;
}

.crumbs a:hover { color: var(--white); }
.crumbs .sep { opacity: .45; }

/* --------------------------------------------------------------------------
   8. Cartes & vignettes
   -------------------------------------------------------------------------- */
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-3);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

/* Cadrage : décale la zone visible quand la photo est recadrée */
.thumb img.pos-left    { object-position: 0% center; }
.thumb img.pos-right   { object-position: 100% center; }
.thumb img.pos-right-a { object-position: 80% center; }
.thumb img.pos-top     { object-position: center top; }
.thumb img.pos-bottom  { object-position: center bottom; }

.thumb.r-4-3  { aspect-ratio: 4 / 3; }
.thumb.r-3-2  { aspect-ratio: 3 / 2; }
.thumb.r-1-1  { aspect-ratio: 1 / 1; }
.thumb.r-4-5  { aspect-ratio: 4 / 5; }
.thumb.r-3-4  { aspect-ratio: 3 / 4; }
.thumb.r-16-9 { aspect-ratio: 16 / 9; }

a:hover > .thumb img,
.card:hover .thumb img,
.thumb:hover img { transform: scale(1.055); }

/* Carte artiste */
.artist-card { display: block; }

.artist-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 26, 51, .45), transparent 55%);
  opacity: 0;
  transition: opacity .55s var(--ease);
}

.artist-card:hover .thumb::after { opacity: 1; }

.artist-card-body { padding-top: 1.15rem; }

.artist-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  transition: color .3s var(--ease);
}

.artist-card:hover h3 { color: var(--gold); }

.artist-role {
  display: block;
  margin-top: .35rem;
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.artist-card p {
  margin-top: .85rem;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.artist-card .arrow-link { margin-top: 1rem; font-size: .78rem; }

/* Carte générique */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.card-body h3 { font-size: 1.35rem; }

.card-body p { font-size: .95rem; color: var(--ink-soft); }

.card-body .arrow-link { margin-top: auto; padding-top: .6rem; }

.on-ink .card { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-light); }
.on-ink .card:hover { background: rgba(255, 255, 255, .08); }
.on-ink .card-body p { color: rgba(255, 255, 255, .68); }

/* Carte « parcours » */
.parcours .card-body { gap: .85rem; }

.parcours-num {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
}

.parcours-num::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.parcours h4 { margin-top: -.15rem; }

.parcours .tick-list li { font-size: .93rem; }

.parcours-key {
  margin-top: .3rem;
  padding: .85rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.parcours .arrow-link { margin-top: auto; padding-top: .5rem; }

/* Point de convergence : l'exposition annuelle */
.converge {
  position: relative;
  max-width: 68ch;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.converge-mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--gold);
}

.on-paper-2 .converge-mark { background: var(--paper-2); }

.converge-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.38;
  letter-spacing: -.012em;
  color: var(--ink);
}

.converge .arrow-link { margin-top: 1.6rem; }

/* Carte exposition */
.expo-card { display: flex; flex-direction: column; }

.expo-card .thumb { border-radius: var(--radius-lg); }

.expo-card .year {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  z-index: 2;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
}

.expo-card-body { padding-top: 1.3rem; }
.expo-card-body h3 { font-size: 1.5rem; }
.expo-card-body .place {
  margin-top: .5rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.expo-card-body p { margin-top: .8rem; font-size: .95rem; color: var(--ink-soft); }
.expo-card-body .arrow-link { margin-top: 1.1rem; font-size: .78rem; }

/* --------------------------------------------------------------------------
   9. Blocs éditoriaux
   -------------------------------------------------------------------------- */
/* Deux colonnes texte + image */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.split.is-top { align-items: start; }
.split.ratio-5-7 { grid-template-columns: 5fr 7fr; }
.split.ratio-7-5 { grid-template-columns: 7fr 5fr; }

@media (max-width: 940px) {
  .split,
  .split.ratio-5-7,
  .split.ratio-7-5 { grid-template-columns: minmax(0, 1fr); }
  .split .media-col { order: -1; }
  .split.media-last .media-col { order: 0; }
}

/* Liste numérotée d'actions */
.actions { display: grid; gap: 0; }

.action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding-block: clamp(1.8rem, 3.2vw, 2.6rem);
  border-top: 1px solid var(--line);
  align-items: start;
}

.actions .action:last-child { border-bottom: 1px solid var(--line); }

.action-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
  opacity: .38;
  font-variation-settings: "opsz" 144;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  min-width: 2.2ch;
}

.action:hover .action-num { opacity: .85; transform: translateY(-2px); }

.action h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .7rem; }
.action p { color: var(--ink-soft); max-width: 68ch; }

@media (max-width: 560px) {
  .action { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
}

/* Convictions / points clés */
.beliefs { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); }

.belief {
  position: relative;
  padding-left: 2.6rem;
}

.belief::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.belief p { font-size: 1.02rem; line-height: 1.62; }

/* Liste à puces raffinée */
.tick-list { display: grid; gap: .9rem; }

.tick-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink-soft);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.on-ink .tick-list li { color: rgba(255, 255, 255, .74); }

/* Citation */
.pull-quote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.35;
  letter-spacing: -.012em;
  font-style: italic;
  color: var(--ink);
  padding-left: clamp(1.6rem, 3vw, 2.6rem);
  border-left: 2px solid var(--gold);
}

.pull-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.on-ink .pull-quote { color: var(--white); }

/* Statistiques */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.stat { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.on-ink .stat { border-color: var(--line-light); }

.stat .n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}

.on-ink .stat .n { color: var(--white); }

.stat .l {
  display: block;
  margin-top: .6rem;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

.on-ink .stat .l { color: rgba(255, 255, 255, .55); }

/* Image légendée */
figure.framed { margin: 0; }

figure.framed figcaption {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

.on-ink figure.framed figcaption { color: rgba(255, 255, 255, .5); }

/* Deux images côte à côte, y compris sur mobile */
.duo-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.6rem);
}

@media (min-width: 941px) {
  .duo-media > *:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
}

@media (max-width: 480px) {
  .duo-media figcaption { font-size: .74rem; }
}

/* Encart d'invitation en fin de bloc éditorial */
.invite-note {
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.4vw, 1.7rem);
  background: var(--gold-wash);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.invite-note p { font-size: .95rem; color: var(--ink); }
.invite-note .btn-row { margin-top: 1.1rem; }

/* Image décalée décorative */
.stack-media { position: relative; }

.stack-media .back {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 48%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}

@media (max-width: 620px) {
  .stack-media .back { position: static; width: 60%; margin: -18% 0 0 auto; border-width: 5px; }
}

/* Bureau : les deux images se suivent au lieu de se superposer,
   ce qui évite de masquer la grande et comble le vide sous la colonne. */
@media (min-width: 941px) {
  .stack-media .back {
    position: static;
    width: 86%;
    margin: 1.2rem 0 0 auto;
    border-width: 0;
    box-shadow: var(--shadow-md);
  }
}

/* --------------------------------------------------------------------------
   10. Agenda
   -------------------------------------------------------------------------- */
.agenda { display: grid; gap: 0; }

.agenda-item {
  display: grid;
  grid-template-columns: minmax(130px, 200px) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.35rem, 2.4vw, 1.9rem);
  border-top: 1px solid var(--line);
  transition: padding-left .5s var(--ease);
}

.agenda-item:last-child { border-bottom: 1px solid var(--line); }

.agenda-item:hover { padding-left: .8rem; }

.on-ink .agenda-item { border-color: var(--line-light); }

.agenda-date {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.005em;
  color: var(--gold);
  white-space: nowrap;
}

.on-ink .agenda-date { color: var(--gold-light); }

.agenda-title { font-family: var(--font-display); font-size: clamp(1.1rem, 1.9vw, 1.45rem); }
.on-ink .agenda-title { color: var(--white); }

.agenda-meta { font-size: .88rem; color: var(--ink-faint); margin-top: .2rem; }
.on-ink .agenda-meta { color: rgba(255, 255, 255, .55); }

.agenda-tag {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .38rem .8rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.on-ink .agenda-tag { box-shadow: inset 0 0 0 1px var(--line-light); color: rgba(255,255,255,.7); }

/* Visites déjà réalisées, listées sans photo */
.archive-heading {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .4rem;
}

.agenda.is-past .agenda-date {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-faint);
}

.agenda.is-past .agenda-date .done {
  flex: none;
  color: var(--gold);
  opacity: .85;
}

.agenda.is-past .agenda-item:hover { padding-left: .5rem; }

/* Message affiché lorsqu'aucune visite à venir n'est programmée */
.agenda-empty {
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.on-ink .agenda-empty {
  border-color: var(--line-light);
  color: rgba(255, 255, 255, .7);
}

/* Sans cette règle, display:grid l'emporterait sur l'attribut hidden */
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .agenda-item { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .agenda-tag { justify-self: start; }
}

/* --------------------------------------------------------------------------
   11. Logos partenaires
   -------------------------------------------------------------------------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.logo-strip img {
  height: clamp(38px, 5vw, 54px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease);
}

.logo-strip a:hover img,
.logo-strip img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* Défilement infini */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee img {
  height: clamp(36px, 4.5vw, 50px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}

.marquee img:hover { filter: grayscale(0); opacity: 1; }

/* Pastille blanche pour logo (lisible sur tous les fonds) */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: .6rem .9rem;
  background: var(--white);
  border-radius: var(--radius);
  align-self: flex-start;
}

.logo-chip img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Schéma : les trois pôles reliés par le fonds
   -------------------------------------------------------------------------- */
.triad { text-align: center; }

.triad-hub {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.6rem .85rem .85rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.triad-hub img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex: none;
}

.triad-hub .t {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.triad-hub .s {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: .15rem;
}

.triad-links {
  position: relative;
  height: 68px;
}

.triad-links::before,
.triad-links::after,
.triad-links i {
  content: "";
  position: absolute;
  background: var(--line);
}

.triad-links::before { left: 50%; top: 0; width: 1px; height: 34px; }
.triad-links::after  { left: 16.666%; right: 16.666%; top: 34px; height: 1px; }
.triad-links i { top: 34px; width: 1px; height: 34px; }
.triad-links i:nth-of-type(1) { left: 16.666%; }
.triad-links i:nth-of-type(2) { left: 50%; }
.triad-links i:nth-of-type(3) { left: 83.333%; }

.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  text-align: left;
}

.triad-node {
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}

.triad-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.triad-node h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.triad-node p { font-size: .93rem; color: var(--ink-soft); }

.triad-node .k {
  display: block;
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}

@media (max-width: 900px) {
  .triad-links { height: 34px; }
  .triad-links::after, .triad-links i { display: none; }
  .triad-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Carte association */
.asso-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  height: 100%;
}

.asso-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.asso-logo {
  height: 62px;
  display: flex;
  align-items: center;
}

.asso-logo img { max-height: 100%; width: auto; object-fit: contain; }

.asso-card h3 { font-size: 1.22rem; }
.asso-card p { font-size: .94rem; color: var(--ink-soft); }

/* Document partenaire (flyer) */
.doc-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.doc-band h3 { font-size: clamp(1.3rem, 2.4vw, 1.72rem); margin-top: .45rem; }
.doc-band p { margin-top: .9rem; font-size: .94rem; color: var(--ink-soft); }

.doc-band .doc-meta {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  font-size: .78rem;
  line-height: 1.65;
  color: var(--ink-faint);
}

.doc-pages {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}

.doc-page {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.doc-page:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-page img { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .doc-band { grid-template-columns: minmax(0, 1fr); }
  .doc-pages { max-width: 340px; }
}

/* --------------------------------------------------------------------------
   12. Galerie & visionneuse
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(.8rem, 1.6vw, 1.3rem);
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-3);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-item.tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }

@media (max-width: 620px) {
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 51, .22);
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* Visionneuse plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 21, 41, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 86svh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(.97);
  transition: transform .5s var(--ease);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.lightbox.is-open img { transform: scale(1); }

.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.lb-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev  { left: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

.lb-count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------------------------
   13. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.8rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 130% at 88% 8%, rgba(176, 133, 74, .3), transparent 60%),
    radial-gradient(60% 100% at 4% 96%, rgba(96, 116, 196, .25), transparent 62%);
}

.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, .74); max-width: 54ch; margin-top: 1.2rem; }

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band .btn-row { margin-top: 0; }

@media (max-width: 780px) {
  .cta-band-inner { align-items: start; }
  .cta-band .btn-row { margin-top: .5rem; }
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.contact-list { display: grid; gap: 1.6rem; }

.contact-item { display: grid; gap: .3rem; }

.contact-item .k {
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item .v {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  color: var(--ink);
}

.contact-item a.v:hover { color: var(--gold); }

/* Formulaire */
.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: .45rem; }

.field label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: .96rem;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 133, 74, .13);
}

.field textarea { resize: vertical; min-height: 140px; }

.form .btn { justify-self: start; }

.form-note { font-size: .8rem; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   15. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; } }

.footer-brand img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-brand p {
  margin-top: 1.3rem;
  font-size: .93rem;
  line-height: 1.6;
  max-width: 34ch;
  color: rgba(255, 255, 255, .58);
}

.footer-col h4,
.footer-col .footer-h {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: 1.15rem;
}

.footer-col ul { display: grid; gap: .65rem; }

.footer-col a {
  font-size: .93rem;
  color: rgba(255, 255, 255, .68);
  transition: color .3s var(--ease);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-contact { display: grid; gap: .55rem; font-size: .93rem; }

.footer-contact address {
  font-style: normal;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
  margin-bottom: .3rem;
}
.footer-contact a { color: rgba(255, 255, 255, .82); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: rgba(255, 255, 255, .42);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer-bottom a:hover { color: rgba(255, 255, 255, .8); }

/* Retour en haut */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

/* --------------------------------------------------------------------------
   16. Contenu légal
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }

.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: 2.8rem;
  margin-bottom: .9rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 1.8rem;
  margin-bottom: .5rem;
}

.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

.prose ul { display: grid; gap: .6rem; margin-top: .9rem; }

.prose ul li {
  position: relative;
  padding-left: 1.4rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.prose a:hover { color: var(--gold); }

.prose table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.prose td { color: var(--ink-soft); }

.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   16 bis. Bandeau « Les actualités »
   -------------------------------------------------------------------------- */
.news-band {
  background: var(--gold-wash);
  border-bottom: 1px solid rgba(176, 133, 74, .22);
  padding-block: clamp(1.1rem, 2.4vw, 1.7rem);
}

.news-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.news-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
}

.news-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  animation: newsPulse 2.6s var(--ease) infinite;
}

@keyframes newsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(176, 133, 74, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(176, 133, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 133, 74, 0); }
}

.news-item {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.5rem);
  color: var(--ink);
}

.news-thumb {
  display: block;
  width: clamp(70px, 9vw, 108px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.news-item:hover .news-thumb img { transform: scale(1.06); }

.news-text {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.news-date {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.news-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--ink);
  transition: color .4s var(--ease);
}

.news-item:hover .news-title { color: var(--gold); }

.news-desc { font-size: .88rem; color: var(--ink-soft); }

.news-item .arrow { color: var(--gold); transition: transform .45s var(--ease); }
.news-item:hover .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .news-item { grid-template-columns: auto minmax(0, 1fr); }
  .news-item .arrow { display: none; }
}

/* --------------------------------------------------------------------------
   16 ter. Cartes « parcours » de la page d'accueil
   -------------------------------------------------------------------------- */
.path-card .card-body { gap: .8rem; }
.path-card .card-body h3 { margin-top: -.15rem; }
.path-card .card-body p { font-size: .94rem; }
.path-card .parcours-key { font-size: 1rem; }
.path-card .badge-soon { margin-top: auto; }

.badge-soon {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--paper-3);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.badge-soon::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-faint);
}

/* Citation d'un dirigeant, à l'intérieur d'une carte de visite */
.visit-quote {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.visit-quote blockquote {
  font-family: var(--font-display);
  text-wrap: pretty;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.42;
  letter-spacing: -.008em;
  color: var(--ink);
}

.visit-quote cite {
  display: block;
  margin-top: .55rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Note « à suivre » */
.soon-note {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
  padding: .9rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--ink-soft);
}

.soon-note svg { flex: 0 0 auto; color: var(--gold); }

.on-ink .soon-note { border-color: var(--line-light); color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------------------------
   17. Animations d'apparition
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }

[data-reveal="mask"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transform: none;
  transition: clip-path 1.1s var(--ease-out);
}

[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-media img { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Utilitaires
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: .8rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .88rem;
  transition: top .3s var(--ease);
}

.skip-link:focus { top: 0; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.mt-4 { margin-top: 3.2rem; }
.mt-5 { margin-top: clamp(3rem, 6vw, 5rem); }
