/* mYSLm — proposition 2027 (éditoriale)
   Conforme à la charte "mYSLm assets.pdf" : 8 couleurs + noir/blanc ; Effra (principal) / Arial (système) ;
   Effra Arabic / Adobe Arabic pour l'arabe. Les voiles noirs transparents ne servent qu'à la lisibilité sur photo. */
:root {
  --bleu: #00109f;
  --jaune: #fbba05;
  --orange: #fe5200;
  --rose: #e62076;
  --vert: #65b32f;
  --rouge: #e30913;
  --celadon: #7daeaa;
  --prune: #480e26;

  --ink: #000;
  --paper: #fff;
  --white: #fff;
  --muted: #000;
  --line: #000;
  --sand: #fff;

  --font: "Effra", Arial, Helvetica, sans-serif;
  --font-ar: "Effra Arabic", "Adobe Arabic", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
em { font-style: normal; font-weight: 400; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
html[lang="ar"] .btn { font-family: var(--font-ar); letter-spacing: 0; font-size: 15px; }
.btn:hover { background: var(--bleu); border-color: var(--bleu); }
.btn-sm { padding: 12px 18px; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--jaune); border-color: var(--jaune); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.arrow { display: inline-flex; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.arrow::after { content: "→"; }
[dir="rtl"] .arrow::after { content: "←"; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 15px; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-bar {
  max-width: 1600px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo { width: 52px; height: 52px; color: var(--ink); }
.logo text { font: 700 19px var(--font); fill: var(--white); }
.footer .logo text { fill: currentColor; }
.wordmark { display: flex; flex-direction: column; align-items: center; font-size: 10px; line-height: 1.15; letter-spacing: .14em; font-weight: 700; }
.wordmark strong { font-size: 12px; letter-spacing: .16em; }

.menu { flex: 1; display: flex; justify-content: center; }
.menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu ul a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 700; text-decoration: none; position: relative; }
.menu ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--bleu); transform: scaleX(0); transition: transform .2s; }
.menu ul a:hover::after, .menu ul a.active::after { transform: scaleX(1); }
.menu-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { background: none; border: 0; padding: 8px 10px; font: 700 12px var(--font); cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--bleu); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: zoom 18s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%); }
[dir="rtl"] .hero-shade { background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%); }
.hero-content { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: .95; }
.hero h1 > * { display: block; }
.hero h1 em { font-size: 1.08em; color: var(--jaune); }
.hero-lead { max-width: 52ch; font-size: clamp(17px, 1.5vw, 21px); margin: 24px 0 32px; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 18px; margin: 0; font-size: 12px; opacity: .7; max-width: 40ch; text-align: right; }
[dir="rtl"] .hero-credit { right: auto; left: var(--gutter); text-align: left; }

.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); font-size: 14px; font-weight: 700; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(101,179,47,.7); animation: pulse 2s infinite; }
.status.closed i { background: var(--rouge); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(101,179,47,0); } 100% { box-shadow: 0 0 0 0 rgba(101,179,47,0); } }

/* ---------- Barre infos ---------- */
.quick {
  position: relative; z-index: 2; max-width: var(--max); margin: -1px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white);
  border-bottom: 1px solid var(--line);
}
.quick-item { padding: 28px var(--gutter) 30px; border-inline-end: 1px solid var(--line); }
.quick-item:last-child { border: 0; }
.quick h2 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
html[lang="ar"] .quick h2 { letter-spacing: 0; font-size: 15px; }
.quick p { margin: 0 0 10px; font-size: 15px; }
.quick p a { text-decoration: none; }
.quick .arrow { font-size: 14px; }
.quick-alert { background: var(--prune); color: var(--white); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(40px, 6vw, 84px); }

/* À l'affiche */
.expos { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 3vw, 48px); }
.expo { display: flex; flex-direction: column; background: var(--white); }
.expo-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c); }
.expo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.expo:hover .expo-media img { transform: scale(1.03); }
.expo-body { padding: 28px 32px 32px; border-top: 8px solid var(--c); flex: 1; display: flex; flex-direction: column; }
.tag { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.expo h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.expo h3 em { display: block; font-size: 1.05em; }
.dates { margin: 0 0 16px; font-weight: 700; font-size: 18px; }
.expo-body > p { margin: 0 0 14px; }
.credits { font-size: 14px; color: var(--muted); }
.countdown { margin-top: auto !important; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--c); }
.countdown:empty { display: none; }

.expo-perm { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; margin-top: 32px; padding: 24px; background: var(--white); border: 2px solid var(--ink); }
.expo-perm img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.expo-perm .tag { color: var(--bleu); }
.expo-perm h3 { font-size: 24px; margin-bottom: 8px; }
.expo-perm p:last-child { margin: 0; color: var(--muted); }

/* Chiffres */
.figures {
  max-width: var(--max); margin: clamp(72px, 10vw, 140px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.figures div { border-top: 2px solid var(--ink); padding-top: 18px; }
.figures strong { display: block; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em; }
.figures span { color: var(--muted); font-size: 15px; }
.figures div:nth-child(1) strong { color: var(--bleu); }
.figures div:nth-child(2) strong { color: var(--orange); }
.figures div:nth-child(3) strong { color: var(--vert); }
.figures div:nth-child(4) strong { color: var(--rose); }

/* Split architecture */
.split { max-width: var(--max); margin: clamp(72px, 10vw, 140px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-text h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.split-text p { color: var(--muted); }
.link-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.link-list a { padding: 10px 16px; border: 1px solid var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.link-list a:hover { background: var(--ink); color: var(--white); }

/* YSL */
.ysl { margin-top: clamp(72px, 10vw, 140px); padding: clamp(64px, 8vw, 110px) var(--gutter); background: var(--bleu); color: var(--white); }
.ysl > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.ysl-head { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 56px; }
.ysl-head img { width: 100%; aspect-ratio: 495 / 280; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.ysl .kicker { color: var(--jaune); }
.ysl h2 { font-size: clamp(36px, 5vw, 72px); }
.ysl h2 em { display: block; color: var(--jaune); font-size: .7em; }
.ysl-head p:last-child { font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; margin: 20px 0 0; opacity: .92; }
.timeline { list-style: none; margin: 0 auto 40px; padding: 0 0 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.timeline li { scroll-snap-align: start; padding: 0 24px 0 0; border-top: 6px solid var(--c); padding-top: 18px; font-size: 15px; opacity: .92; }
[dir="rtl"] .timeline li { padding: 18px 0 0 24px; }
.timeline b { display: block; font-size: 32px; margin-bottom: 6px; opacity: 1; }
.ysl .arrow { color: var(--jaune); }

/* Espaces */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.space { position: relative; display: block; aspect-ratio: 495 / 280; overflow: hidden; color: var(--white); text-decoration: none; background: var(--c); }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 60%); }
.space span, .space small { position: absolute; left: 20px; right: 20px; z-index: 1; }
.space span { bottom: 34px; font-size: 21px; font-weight: 700; }
.space small { bottom: 14px; font-size: 13px; opacity: .85; }
.space:not(:has(small)) span { bottom: 18px; }
.space:hover img { transform: scale(1.05); opacity: .55; }
.space:hover::after { background: linear-gradient(to top, var(--c), transparent 80%); }

/* Auditorium */
.audi { margin-top: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: 1.3fr 1fr; background: var(--prune); color: var(--white); }
.audi img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.audi-text { padding: clamp(40px, 6vw, 90px) var(--gutter); align-self: center; }
.audi .kicker { color: var(--celadon); }
.audi h2 { font-size: clamp(32px, 3.8vw, 54px); margin-bottom: 18px; }
.audi p { opacity: .88; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: block; padding: 10px 16px; border: 1px solid rgba(255,255,255,.5); text-decoration: none; font-size: 14px; font-weight: 700; }
.chips a:hover { background: var(--white); color: var(--prune); }

/* Prolonger */
.extend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extend-card { position: relative; overflow: hidden; padding: 36px 32px 40px; min-height: 260px; background: var(--c); color: var(--white); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; }
.extend-card h3 { font-size: 26px; margin-bottom: 10px; position: relative; }
.extend-card p { margin: 0; opacity: .9; position: relative; }
.diamond { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border: 2px solid rgba(255,255,255,.4); transform: rotate(45deg); transition: transform .5s; }
[dir="rtl"] .diamond { right: auto; left: -40px; }
.extend-card:hover .diamond { transform: rotate(135deg) scale(1.1); }

/* Newsletter */
.newsletter { margin-top: clamp(72px, 10vw, 140px); padding: clamp(56px, 7vw, 100px) var(--gutter); background: var(--jaune); text-align: center; }
.newsletter h2 { font-size: clamp(32px, 4vw, 56px); }
.newsletter p { margin: 12px 0 28px; }
.newsletter form { display: flex; max-width: 540px; margin: 0 auto; }
.newsletter input { flex: 1; min-width: 0; padding: 16px 18px; border: 2px solid var(--ink); border-inline-end: 0; font: 16px var(--font); background: var(--white); }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: 72px var(--gutter) 28px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { width: 88px; height: 88px; color: var(--white); margin-bottom: 16px; }
.footer-brand p { margin: 0; font-size: 15px; }
.footer h4 { color: var(--white); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.footer nav a { display: block; padding: 4px 0; text-decoration: none; }
.footer nav a:hover { color: var(--jaune); }
.footer-colors { max-width: var(--max); margin: 56px auto 0; display: grid; grid-template-columns: repeat(8, 1fr); height: 6px; }
.footer-colors i:nth-child(1) { background: var(--bleu); } .footer-colors i:nth-child(2) { background: var(--jaune); }
.footer-colors i:nth-child(3) { background: var(--orange); } .footer-colors i:nth-child(4) { background: var(--rose); }
.footer-colors i:nth-child(5) { background: var(--vert); } .footer-colors i:nth-child(6) { background: var(--rouge); }
.footer-colors i:nth-child(7) { background: var(--celadon); } .footer-colors i:nth-child(8) { background: var(--prune); }
.footer-bottom { max-width: var(--max); margin: 56px auto 0; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--white); }
.footer-bottom p { margin: 0; } .footer-bottom a { text-decoration: none; }

.mobile-bar { display: none; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; z-index: 40;
    flex-direction: column; justify-content: flex-start; gap: 32px; padding: 32px var(--gutter);
    background: var(--paper); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  [dir="rtl"] .menu { transform: translateX(-100%); }
  .menu.open { transform: none !important; visibility: visible; }
  .menu ul { flex-direction: column; }
  .menu ul a { font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu ul a::after { display: none; }
  .menu-extra { display: flex; flex-direction: column; gap: 10px; }
  .menu-extra a { text-decoration: none; color: var(--muted); font-weight: 700; }
  .wordmark { display: none; }
}
@media (max-width: 900px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-inline-end: 0; }
  .quick-item { border-bottom: 1px solid var(--line); }
  .expos, .split, .audi, .ysl-head { grid-template-columns: minmax(0,1fr); }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .spaces, .extend { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ysl-head img { max-width: 520px; }
  .hero-credit { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .header-actions .btn-sm { display: none; }
  .lang button { padding: 8px 8px; }
  .quick, .spaces, .extend, .footer-grid { grid-template-columns: 1fr; }
  .quick-item { border-inline-end: 0; }
  .expo-perm { grid-template-columns: 1fr; }
  .expo-body { padding: 24px 20px; }
  .newsletter form { flex-direction: column; gap: 10px; }
  .newsletter input { border-inline-end: 2px solid var(--ink); }
  .footer-bottom { flex-direction: column; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--ink); border-top: 4px solid var(--jaune);
  }
  .mobile-bar a { padding: 16px 8px; text-align: center; color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; }
  .mobile-bar a:first-child { background: var(--jaune); color: var(--ink); }
}

/* =====================================================================
   PAGES INTÉRIEURES
   ===================================================================== */
/* Lisibilité sur blocs de couleur : noir sur jaune/orange/rose/vert/céladon, blanc sur bleu/prune/rouge */
[style*="--c"] { --t: var(--ink); }
[style*="var(--bleu)"], [style*="var(--prune)"], [style*="var(--rouge)"] { --t: var(--white); }
.extend-card { color: var(--t, var(--white)); }
.extend-card .diamond { border-color: currentColor; opacity: .4; }
.menu ul a[aria-current="page"]::after { transform: scaleX(1); }

/* Héros de page */
.phero { position: relative; display: flex; align-items: flex-end; min-height: min(62vh, 620px); overflow: hidden; }
.phero-photo { color: var(--white); background: var(--ink); }
.phero-color { background: var(--c); color: var(--t); min-height: min(52vh, 520px); }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.25) 60%, rgba(0,0,0,.1)); }
.phero-in { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) clamp(40px, 6vw, 72px); }
.phero h1 { font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -.03em; }
.phero .kicker { color: inherit; }
.phero-intro { max-width: 56ch; margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.phero-color::after { content: ""; position: absolute; top: 50%; inset-inline-end: -6vw; width: min(44vw, 520px); aspect-ratio: 1; border: 3px solid currentColor; transform: translateY(-50%) rotate(45deg); opacity: .35; }
.crumbs { margin: 0 0 28px; font-size: 14px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Sous-navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--ink); }
.subnav-in { max-width: var(--max); margin: 0 auto; display: flex; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.subnav a { flex-shrink: 0; padding: 16px 18px; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:first-child { padding-inline-start: 0; }
.subnav a.active, .subnav a:hover { border-bottom-color: var(--ink); }
html { scroll-padding-top: calc(var(--header-h) + 60px); }

/* Blocs de contenu */
.prose p { margin: 0 0 14px; }
.lead { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; font-weight: 700; margin: 0 0 18px; }
.two-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.figures-inner { margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; max-width: none; }
.split-page { margin-top: clamp(72px, 10vw, 140px); }
.split-page .split-media img { aspect-ratio: auto; height: auto; }
.split-rev .split-media { order: 2; }
.split-text .lead { color: var(--ink); }
.wide { width: 100%; max-height: 620px; object-fit: cover; margin-top: clamp(40px, 5vw, 72px); }
.cards { display: grid; gap: 32px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 20px; }
.card h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 12px; }
.card p { margin: 0 0 12px; }
.inner .expo-body .link-list { margin: 8px 0 12px; }
.extend-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Archives */
.filters { display: inline-flex; flex-wrap: wrap; margin-bottom: 32px; border: 2px solid var(--ink); }
.filters button { padding: 12px 18px; border: 0; background: var(--white); font: 700 14px var(--font); cursor: pointer; }
.filters button + button { border-inline-start: 2px solid var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.arch a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.arch-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c); margin-bottom: 10px; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.arch a:hover .arch-img img { transform: scale(1.05); }
.arch-noimg { position: relative; display: flex; align-items: flex-end; padding: 16px; color: var(--t); font-weight: 700; font-size: 17px; line-height: 1.15; }
.arch-noimg::before { content: ""; position: absolute; top: -30%; inset-inline-end: -12%; width: 55%; aspect-ratio: 1; border: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
.arch-venue { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.arch-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.arch-dates { font-size: 14px; }
.arch[hidden] { display: none; }

/* Chronologie */
.chrono { list-style: none; margin: 0; padding: 0; }
.chrono li { display: grid; grid-template-columns: minmax(120px, 260px) 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--ink); }
.chrono-year { position: relative; font-size: clamp(42px, 5.6vw, 88px); font-weight: 700; line-height: .85; letter-spacing: -.04em; padding-inline-start: 28px; }
.chrono-year::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; width: 14px; height: 14px; background: var(--c); transform: rotate(45deg); }
.chrono h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 8px; }
.chrono p { margin: 0; max-width: 62ch; }
.quote-band .quote-after { max-width: 62ch; margin: 0; font-size: 19px; opacity: .92; }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.info-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { padding: 28px; background: var(--white); border: 2px solid var(--ink); }
.info-card h3 { font-size: 22px; margin-bottom: 14px; }
.info-card p { margin: 0 0 10px; }
.info-card img { width: 100%; margin: 6px 0 14px; border: 1px solid var(--ink); }
.info-card-alert { background: var(--prune); color: var(--white); border-color: var(--prune); }
.big-link { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.hours th, .hours td { padding: 7px 4px; text-align: start; border-bottom: 1px solid var(--ink); font-size: 15px; }
.hours td { text-align: end; font-weight: 700; }
.hours tr.closed th, .hours tr.closed td { color: var(--rouge); }
.hours tr.today { background: var(--jaune); }

/* Auditorium */
.chips-dark a { border-color: var(--ink); }
.chips-dark a:hover { background: var(--ink); color: var(--white); }
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.agenda li { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.agenda-kind { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--prune); }
.agenda-title { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; }
.agenda-date { font-size: 14px; text-align: end; }
.talks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.talks li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.talks b { font-size: 20px; }

/* Bibliothèque */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; background: var(--vert); color: var(--ink); font-weight: 700; font-size: 18px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.steps b { font-size: 21px; }
.newsletter-inner .btn { margin-top: 8px; }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-top: 6px; border: 2px solid var(--ink); transform: rotate(45deg); }
.accordion details[open] summary::after { background: var(--ink); }
.accordion p { max-width: 70ch; margin: 0; padding-bottom: 22px; }

/* Formulaire */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: 14px; border: 2px solid var(--ink); background: var(--white); font: 16px var(--font); }
.form button { justify-self: start; }

@media (max-width: 1000px) {
  .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .two-cols, .cards-2, .talks, .info-grid-3, .extend-2 { grid-template-columns: minmax(0, 1fr); }
  .split-rev .split-media { order: 0; }
  .agenda li { grid-template-columns: 1fr; gap: 4px; }
  .agenda-date { text-align: start; }
  .chrono li { grid-template-columns: 1fr; gap: 6px; }
  .phero-color::after { width: 70vw; inset-inline-end: -35vw; opacity: .2; }
}
@media (max-width: 480px) {
  .archive, .info-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .filters button { flex: 1 1 50%; }
  .filters button + button { border-inline-start: 0; }
}
.info-card-alert .credits, .phero .credits, .ysl .credits, .audi .credits { color: inherit; }

/* =====================================================================
   OUVERTURE « PANORAMA » (accueil) — photo du patio découpée en panneaux incurvés
   ===================================================================== */
.pano { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 100px); text-align: center; background: var(--white); }
.pano > p, .pano > h1, .pano > div:not(.pano-strip) { padding-left: var(--gutter); padding-right: var(--gutter); }
.pano-address { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 15px; }
.pano-address svg { width: 18px; height: 18px; }
.pano-title { max-width: 30ch; box-sizing: content-box; margin: 0 auto clamp(36px, 5vw, 64px); font-size: clamp(30px, 4.4vw, 64px); font-weight: 400; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
html[lang="ar"] .pano-title, html[lang="ar"] .pano-statement { text-transform: none; }

.pano-strip {
  --g: 12px;   /* espace entre les panneaux */
  --a: 13%;    /* amplitude de la courbe */
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--g);
  width: 100%; aspect-ratio: 16 / 6.4;
}
.pano-panel {
  display: block;
  background-image: url("img/client/c01.png");
  background-repeat: no-repeat;
  /* une seule photo répartie sur les 5 panneaux : largeur = 5 panneaux + 4 espaces */
  background-size: calc(500% + 4 * var(--g)) auto;
  background-position: calc(var(--i) * 25%) 55%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
/* bords haut/bas en biais : grands sur les côtés, plus courts au centre (effet de paroi courbe) */
.pano-panel:nth-child(1) { clip-path: polygon(0 0, 100% calc(var(--a) * .64), 100% calc(100% - var(--a) * .64), 0 100%); }
.pano-panel:nth-child(2) { clip-path: polygon(0 calc(var(--a) * .64), 100% calc(var(--a) * .96), 100% calc(100% - var(--a) * .96), 0 calc(100% - var(--a) * .64)); }
.pano-panel:nth-child(3) { clip-path: polygon(0 calc(var(--a) * .96), 100% calc(var(--a) * .96), 100% calc(100% - var(--a) * .96), 0 calc(100% - var(--a) * .96)); }
.pano-panel:nth-child(4) { clip-path: polygon(0 calc(var(--a) * .96), 100% calc(var(--a) * .64), 100% calc(100% - var(--a) * .64), 0 calc(100% - var(--a) * .96)); }
.pano-panel:nth-child(5) { clip-path: polygon(0 calc(var(--a) * .64), 100% 0, 100% 100%, 0 calc(100% - var(--a) * .64)); }
.pano-strip:hover .pano-panel:nth-child(2), .pano-strip:hover .pano-panel:nth-child(4) { transform: scale(1.015); }

.pano-kicker { margin: clamp(48px, 6vw, 80px) 0 18px; font-size: 16px; }
.pano-statement { max-width: 42ch; box-sizing: content-box; margin: 0 auto; font-size: clamp(22px, 2.5vw, 36px); font-weight: 400; line-height: 1.3; text-transform: uppercase; }
.pano-accent { color: var(--bleu); }
.pano-diamond { display: inline-block; width: .55em; height: .55em; margin: 0 .2em; background: var(--ink); transform: rotate(45deg) translateY(-.08em); }
.pano-status { display: flex; justify-content: center; width: fit-content; margin: 32px auto 20px; background: none; color: var(--ink); border: 1px solid var(--ink); backdrop-filter: none; }
.pano-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-ghost-dark { background: transparent; color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

@media (max-width: 760px) {
  .pano-strip { --g: 6px; --a: 10%; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .pano-panel { transition: none; } }
.pano > .pano-status { padding: 8px 16px; }
.gallery-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-3 figure { margin: 0; }
.gallery-3 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 600px) { .gallery-3 { grid-template-columns: 1fr 1fr; } .gallery-3 figure:last-child { grid-column: 1 / -1; } .gallery-3 figure:last-child img { aspect-ratio: 16 / 9; } }
.split-page .split-media img { max-height: 680px; object-fit: cover; width: 100%; }

/* Ouverture : tout tient dans le premier écran, la photo au centre */
.pano { padding-top: clamp(28px, 4vh, 56px); }
.pano-address { margin-bottom: 14px; }
.pano-title { max-width: 40ch; font-size: clamp(24px, 2.7vw, 42px); margin-bottom: clamp(24px, 4vh, 44px); }
.pano-strip { aspect-ratio: auto; height: min(calc(100vw * 6.4 / 16), calc(100vh - 340px)); min-height: 280px; }
.pano-panel { background-position: calc(var(--i) * 25%) 58%; }
@media (max-width: 760px) {
  .pano-strip { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
}
/* Patio en noir et blanc, seules les fenêtres gardent leur couleur */
.pano-panel { background-image: url("img/client/patio-nb-fenetres.png"); background-position: calc(var(--i) * 25%) 60%; }

/* =====================================================================
   FRISE CHRONOLOGIQUE ALTERNÉE (accueil, section Yves Saint Laurent)
   Années alternativement au-dessus / au-dessous d'une barre de segments colorés.
   ===================================================================== */
.tl {
  --txt: 150px;
  list-style: none; margin: 72px auto 56px; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
}
.tl li {
  position: relative;
  display: grid; grid-template-rows: var(--txt) 64px 10px 64px var(--txt);
}
.tl-bar { grid-row: 3; background: var(--c); box-shadow: 0 8px 14px rgba(0,0,0,.28); }
.tl-year { padding: 0 16px; font-size: clamp(28px, 2.8vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.tl-text { padding: 0 16px; }
.tl-text h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.tl-text p { margin: 0; font-size: 14px; line-height: 1.45; opacity: .92; }
/* trait vertical + point */
.tl li::before { content: ""; position: absolute; inset-inline-start: 0; width: 1px; background: currentColor; opacity: .7; }
.tl li::after { content: ""; position: absolute; inset-inline-start: -4px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
/* 1, 3, 5, 7 : année au-dessus, texte en bas */
.tl li:nth-child(odd) .tl-year { grid-row: 2; align-self: end; padding-bottom: 12px; }
.tl li:nth-child(odd) .tl-text { grid-row: 5; align-self: start; padding-top: 22px; }
.tl li:nth-child(odd)::before { top: calc(var(--txt) + 6px); bottom: 0; }
.tl li:nth-child(odd)::after { top: calc(var(--txt) + 2px); }
/* 2, 4, 6 : année au-dessous, texte en haut */
.tl li:nth-child(even) .tl-year { grid-row: 4; align-self: start; padding-top: 12px; }
.tl li:nth-child(even) .tl-text { grid-row: 1; align-self: start; }
.tl li:nth-child(even)::before { top: 0; bottom: calc(var(--txt) + 6px); }
.tl li:nth-child(even)::after { bottom: calc(var(--txt) + 2px); }

@media (max-width: 1000px) {
  .tl { grid-template-columns: minmax(0, 1fr); margin: 48px 0 40px; gap: 0; }
  .tl li { grid-template-columns: 10px 1fr; grid-template-rows: auto auto; column-gap: 20px; padding-bottom: 28px; }
  .tl li::before, .tl li::after { display: none; }
  .tl-bar { grid-row: 1 / 3 !important; grid-column: 1; box-shadow: none; }
  .tl li .tl-year { grid-row: 1 !important; grid-column: 2; padding: 0 0 8px !important; align-self: start !important; }
  .tl li .tl-text { grid-row: 2 !important; grid-column: 2; padding: 0 !important; }
}

/* =====================================================================
   NEWSLETTER (accueil)
   ===================================================================== */
.nl2 { position: relative; overflow: hidden; margin-top: clamp(72px, 10vw, 140px); padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--jaune); color: var(--ink); }
.nl2-deco { position: absolute; top: 50%; inset-inline-end: -8vw; width: min(52vw, 640px); transform: translateY(-50%); color: var(--ink); opacity: .12; pointer-events: none; }
.nl2-deco text { font: 700 19px var(--font); fill: currentColor; }
.nl2-in { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.nl2 .kicker { color: var(--ink); }
.nl2 h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.03em; margin-bottom: 22px; }
.nl2-lead { font-size: clamp(18px, 1.5vw, 21px); margin: 0 0 28px; max-width: 40ch; }
.nl2-perks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.nl2-perks li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ink); font-weight: 700; font-size: 16px; }
.nl2-perks li::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; background: var(--ink); transform: rotate(45deg); }

.nl2-form { background: var(--white); padding: clamp(28px, 3.5vw, 48px); border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.nl2-topics { margin: 0 0 28px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nl2-topics legend { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nl2-topics label { cursor: pointer; }
.nl2-topics input { position: absolute; opacity: 0; pointer-events: none; }
.nl2-topics span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--ink); font-size: 14px; font-weight: 700; transition: background .15s, color .15s; }
.nl2-topics span::before { content: ""; width: 8px; height: 8px; border: 2px solid currentColor; transform: rotate(45deg); }
.nl2-topics input:checked + span { background: var(--ink); color: var(--white); }
.nl2-topics input:checked + span::before { background: var(--jaune); border-color: var(--jaune); }
.nl2-topics input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.nl2-field { display: grid; gap: 8px; margin-bottom: 24px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nl2-field input { width: 100%; padding: 12px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: 400 clamp(20px, 1.8vw, 26px) var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.nl2-field input::placeholder { color: var(--ink); opacity: .35; }
.nl2-field input:focus { outline: none; border-bottom-color: var(--bleu); }
.nl2-btn { width: 100%; padding: 20px; font-size: 15px; }
.nl2-btn::after { content: " →"; }
.nl2-note { margin: 14px 0 0; font-size: 13px; }

@media (max-width: 900px) {
  .nl2-in { grid-template-columns: minmax(0, 1fr); }
  .nl2-form { box-shadow: 8px 8px 0 var(--ink); }
  .nl2-deco { width: 90vw; inset-inline-end: -40vw; top: 20%; }
}
.pano-status { margin-top: clamp(36px, 5vw, 56px); }
.tl li::after { width: 11px; height: 11px; inset-inline-start: -5px; border-radius: 0; transform: rotate(45deg); }
.nl2-btn::after { content: "\00a0\00a0→"; }
.tl-text h3 { display: flex; align-items: center; gap: 8px; color: var(--white); }
.tl-text h3::before { content: ""; width: 9px; height: 9px; flex-shrink: 0; background: var(--c); transform: rotate(45deg); }
.ysl-head p:last-child { font-style: italic; }

/* =====================================================================
   BIENVENUE — texte officiel (billetterie + horaires), repris à l'identique
   ===================================================================== */
.welcome-block { max-width: 1040px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); text-align: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.welcome-block h2 { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: .01em; line-height: 1.15; margin-bottom: 28px; }
.wb-tickets { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.9; margin: 0 0 10px; }
.wb-tickets a { text-decoration: none; border-bottom: 2px solid var(--ink); }
.wb-tickets a:hover { color: var(--bleu); border-color: var(--bleu); }
.wb-disclaimer { font-size: 14px; margin: 0 0 18px; }
.wb-line { margin: 0 0 18px; font-size: 14px; letter-spacing: -.1em; }
.wb-hours-title { font-size: clamp(16px, 1.25vw, 19px); margin: 0 0 6px; }
.wb-hours { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.9; margin: 0; }
.audi { background: var(--ink); } .chips a:hover { color: var(--ink); }
.pano-title { max-width: 26ch; }

/* =====================================================================
   BIENVENUE : deux cartes billetterie (noir) + horaires (jaune)
   ===================================================================== */
.w2 { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
.w2-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.w2-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(32px, 4vw, 56px); }
.w2-card .kicker { margin-bottom: 18px; }
.w2-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 22px; }
.w2-text { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; margin: 0 0 24px; }
.w2-btn { align-self: flex-start; margin-top: auto; }

.w2-tickets { background: var(--ink); color: var(--white); }
.w2-tickets .kicker { color: var(--jaune); }
.w2-tickets .w2-text a { color: var(--jaune); text-decoration: none; border-bottom: 2px solid var(--jaune); }
.w2-tickets .w2-text a:hover { color: var(--white); border-color: var(--white); }
.w2-deco { position: absolute; top: -18%; inset-inline-end: -14%; width: 52%; color: var(--white); opacity: .14; pointer-events: none; }
.w2-alert { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 32px; padding: 16px 18px; border: 1px solid var(--white); font-size: 14px; line-height: 1.5; }
.w2-alert span { width: 10px; height: 10px; flex-shrink: 0; margin-top: 5px; background: var(--rouge); transform: rotate(45deg); }

.w2-hours { background: var(--jaune); color: var(--ink); }
.w2-hours .kicker { color: var(--ink); }
.w2-status { align-self: flex-start; margin: 0 0 26px; padding: 9px 14px; background: var(--ink); color: var(--white); backdrop-filter: none; }
.w2-status i { border-radius: 0; transform: rotate(45deg); animation: none; box-shadow: none; }
.w2-week { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 2px solid var(--ink); }
.w2-week li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px; font-size: 11px; }
.w2-week li + li { border-inline-start: 1px solid var(--ink); }
.w2-week b { font-size: 18px; }
.w2-week li.closed { color: var(--rouge); }
.w2-week li.closed b { text-decoration: line-through; }
.w2-week li.today { background: var(--ink); color: var(--white); }
.w2-week li.today.closed { color: var(--rouge); }

@media (max-width: 900px) {
  .w2-grid { grid-template-columns: minmax(0, 1fr); }
}
.pano-title { max-width: none; font-weight: 700; letter-spacing: -.01em; line-height: 1.08; }
.pano { padding-bottom: 0; } .w2 { padding-top: clamp(40px, 5vw, 64px); }
.pano-title > span { display: block; } .pano-title .pt-thin { font-weight: 400; letter-spacing: .06em; } .pano-title .pt-bold { font-weight: 700; }
.pano { padding-bottom: clamp(56px, 7vw, 100px); }

/* Newsletter simple */
.nl3 { margin-top: clamp(72px, 10vw, 140px); padding: clamp(48px, 6vw, 80px) var(--gutter); background: var(--jaune); color: var(--ink); }
.nl3-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.nl3 h2 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.02em; margin-bottom: 8px; }
.nl3 p { margin: 0; font-size: 17px; }
.nl3-form { display: flex; border-bottom: 2px solid var(--ink); }
.nl3-form input { flex: 1; min-width: 0; padding: 16px 0; border: 0; background: transparent; font: 20px var(--font); color: var(--ink); }
.nl3-form input::placeholder { color: var(--ink); opacity: .45; }
.nl3-form input:focus { outline: none; }
.nl3-form .btn { margin-bottom: 8px; }
@media (max-width: 800px) { .nl3-in { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* Titre d'ouverture façon signalétique du musée */
.pano-title { text-transform: none; line-height: 1.1; }
.pano-title .pt-thin { font-size: clamp(14px, 1.3vw, 20px); font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.pano-title .pt-bold { font-size: clamp(38px, 5vw, 76px); font-weight: 700; letter-spacing: -.01em; margin: 6px 0 10px; }
.ysl-head img { box-shadow: 18px 18px 0 var(--white); margin: 0 18px 18px 0; }
.ysl-head img { box-shadow: 8px 8px 0 var(--white); margin: 0 8px 8px 0; }
.figures strong { white-space: nowrap; } .figures-inner strong { font-size: clamp(32px, 3.6vw, 56px); }
@media (max-width: 760px) {
  .pano { padding-top: 28px; }
  .pano-title .pt-bold { font-size: 7.6vw; white-space: nowrap; margin: 4px 0 6px; }
  .pano-title .pt-thin { font-size: 12px; letter-spacing: .28em; }
  .pano-title { margin-bottom: 24px; }
  .pano-strip { --g: 5px; --a: 9%; aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}
/* Menu mobile plein écran */
@media (max-width: 1100px) {
  .header-bar { position: relative; z-index: 2; background: var(--white); }
  .menu {
    position: fixed; inset: 0; top: 0; z-index: 1; width: 100%; height: 100dvh;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--white);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  [dir="rtl"] .menu { transform: translateY(-8px); }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu ul a { font-size: 22px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
  .menu ul a::after { content: ""; position: static; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }
  .menu ul a[aria-current="page"]::after { background: var(--bleu); }
  .menu-extra { padding-top: 8px; gap: 12px; }
  .menu-extra a { font-size: 15px; }
}
@media (max-width: 1100px) { .header-bar .brand, .header-bar .header-actions { position: relative; z-index: 2; } .menu ul a::after { display: block; } }

/* =====================================================================
   CONTENU OFFICIEL (pages intérieures)
   ===================================================================== */
.off-sec { padding-top: clamp(56px, 7vw, 100px); }
.off-group { max-width: var(--max); margin: clamp(64px, 8vw, 110px) auto 0; padding: 0 var(--gutter); }
.off-group h2 { padding: 18px 0; border-top: 6px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.02em; }
.off-group + .off-sec { padding-top: 40px; }
.off-cover { width: 100%; max-height: 620px; object-fit: cover; margin-bottom: 40px; }

.official { max-width: 860px; font-size: 17px; line-height: 1.7; }
.official p { margin: 0 0 16px; }
.official h3 { margin: 40px 0 18px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.01em; }
.official > h3:first-child, .official .off-item > h3:first-child { margin-top: 0; }
.official h4 { margin: 28px 0 10px; font-size: 18px; }
.official a { text-decoration: underline; text-underline-offset: 3px; }
.official a:hover { color: var(--bleu); }
.official ul, .official ol { padding-inline-start: 22px; margin: 0 0 16px; }
.official img { max-width: 100%; height: auto; }
.official iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 12px 0 20px; }
.official hr { border: 0; border-top: 1px solid var(--ink); margin: 32px 0; }

/* galeries */
.off-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 8px 0 24px; }
.off-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.off-gallery-lg { max-width: var(--max); margin: 0 0 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* fiches (expositions passées, cycles, événements, conférences) */
.official:has(.off-item) { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.official:has(.off-item) > :not(.off-item) { grid-column: 1 / -1; max-width: 860px; }
.off-item { padding: 28px 0 32px; border-top: 1px solid var(--ink); }
.off-item .off-gallery { grid-template-columns: 1fr; }
.off-item .off-gallery img:not(:first-child) { display: none; }
.off-item > a > img, .off-item > p > a > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.off-item-title { margin: 0 0 14px !important; font-size: clamp(20px, 1.8vw, 26px) !important; text-transform: uppercase; letter-spacing: .01em !important; }
.off-item-title a { text-decoration: none !important; }
.off-season { display: inline-block; margin: 0 0 12px !important; padding: 4px 10px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .14em; }

/* formulaires officiels (contact, newsletter) */
.official form { display: grid; gap: 12px; max-width: 620px; margin: 24px 0; }
.official form label { font-size: 14px; font-weight: 700; margin-top: 6px; }
.official form input[type=text], .official form input[type=email], .official form textarea {
  width: 100%; padding: 14px; border: 2px solid var(--ink); background: var(--white); font: 16px var(--font);
}
.official form input[type=submit], .official form button {
  justify-self: start; padding: 15px 28px; border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  font: 700 14px var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.official form input[type=submit]:hover { background: var(--white); color: var(--ink); }
.official form ul { list-style: none; padding: 0; display: flex; gap: 20px; }
.official form li { display: flex; align-items: center; gap: 6px; }

@media (max-width: 760px) {
  .official:has(.off-item) { grid-template-columns: minmax(0, 1fr); }
  .official { font-size: 16px; }
}

/* Rubriques de l'accueil officiel */
.rub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.rub { display: block; text-decoration: none; }
.rub-img { display: block; aspect-ratio: 495 / 280; overflow: hidden; background: var(--ink); }
.rub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.rub:hover .rub-img img { transform: scale(1.04); opacity: .85; }
.rub-title { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.rub-title::before { content: ""; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.centenaire { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 56px; }
.centenaire img { width: min(100%, 420px); max-height: 560px; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .rub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rub-grid { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   PAGES INTÉRIEURES — MISE EN SCÈNE DU CONTENU OFFICIEL
   ===================================================================== */
:root { --page-accent: var(--ink); }
.opanels { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.opanels.is-tabbed .opanel { display: none; }
.opanels.is-tabbed .opanel.is-active { display: block; animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* onglets = sous-menu */
.subnav a { position: relative; }
.subnav a.active { border-bottom-color: var(--page-accent); }
.subnav a.active::before { content: ""; position: absolute; left: 50%; bottom: -7px; width: 9px; height: 9px; background: var(--page-accent); transform: translateX(-50%) rotate(45deg); }

.opanel-head { margin-bottom: 32px; }
.opanel-head .kicker { display: flex; align-items: center; gap: 10px; }
.opanel-head .kicker::before { content: ""; width: 10px; height: 10px; background: var(--page-accent); transform: rotate(45deg); }
.opanel-head h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -.03em; line-height: 1; }
.opanel-head h3 { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.02em; line-height: 1.05; }
.opanel-group { padding-bottom: 20px; border-bottom: 6px solid var(--page-accent); margin-bottom: 48px; }
.opanel > .osolo + .osolo, .opanel > .osplit + .osolo, .opanel > .osolo + .osplit, .opanel > .osplit + .osplit { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }

/* deux colonnes : images | texte */
.osplit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.osplit-media { position: sticky; top: calc(var(--header-h) + 76px); }
.osolo .official { max-width: 820px; }
.osolo > .oslides { margin-bottom: 40px; }

/* diaporama */
.oslides { position: relative; margin: 0; background: var(--ink); }
.oslides-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.oslides-track::-webkit-scrollbar { display: none; }
.oslides-track img, .oslides-single img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; display: block; }
.oslides-ui { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; background: var(--white); }
.oslides-ui button { width: 44px; height: 44px; border: 0; background: var(--white); font-size: 18px; cursor: pointer; }
.oslides-ui button:hover { background: var(--page-accent); color: var(--white); }
.oslides-count { padding: 0 6px; font-size: 13px; font-weight: 700; min-width: 50px; text-align: center; }
.oslides::after { content: ""; position: absolute; top: 14px; left: 14px; width: 14px; height: 14px; background: var(--page-accent); transform: rotate(45deg); }

/* texte */
.official { font-size: 17px; line-height: 1.72; }
.official .off-lead { margin: 0 0 24px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.22; letter-spacing: -.015em; text-align: start !important; }

/* lire la suite */
.oreadmore { margin: 0 0 16px; display: flex; flex-direction: column; align-items: flex-start; }
.oreadmore > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 11px 18px; border: 2px solid var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.oreadmore > summary::-webkit-details-marker { display: none; }
.oreadmore > summary::after { content: "↓"; }
.oreadmore[open] > summary::after { content: "↑"; }
.oreadmore > summary:hover { background: var(--ink); color: var(--white); }
.oreadmore .less, .oreadmore[open] .more { display: none; }
.oreadmore[open] .less { display: inline; }
.oreadmore[open] > summary { order: 2; }
.oreadmore-body { animation: panelIn .35s ease both; }

/* chapitres dépliables */
.ochap { border-top: 1px solid var(--ink); }
.ochap:last-of-type { border-bottom: 1px solid var(--ink); }
.ochap > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; cursor: pointer; }
.ochap > summary::-webkit-details-marker { display: none; }
.ochap > summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; border: 2px solid var(--ink); transform: rotate(45deg); transition: background .2s, transform .3s; }
.ochap[open] > summary::after { background: var(--page-accent); border-color: var(--page-accent); transform: rotate(225deg); }
.ochap > summary:hover { color: var(--page-accent); }
.ochap-body { padding-bottom: 24px; animation: panelIn .35s ease both; }

/* cartes en carrousel */
.ocards { margin: 8px 0 0; }
.ocards-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ocards-total { margin-inline-end: auto; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ocards-nav button { width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--white); font-size: 18px; cursor: pointer; }
.ocards-nav button:hover { background: var(--page-accent); border-color: var(--page-accent); color: var(--white); }
.ocards-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 12px 18px 0; scrollbar-width: thin; }
.ocard { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--ink); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.ocard:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--page-accent); }
.ocard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--page-accent); }
.ocard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ocard:hover .ocard-img img { transform: scale(1.05); }
.ocard-noimg { display: flex; align-items: flex-end; padding: 18px; color: var(--white); font-weight: 700; font-size: 20px; line-height: 1.15; position: relative; overflow: hidden; }
.ocard-noimg::before { content: ""; position: absolute; top: -30%; right: -15%; width: 60%; aspect-ratio: 1; border: 2px solid currentColor; transform: rotate(45deg); opacity: .4; }
.ocard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.ocard-season { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.ocard-title { margin: 0; font-size: 19px; line-height: 1.2; text-transform: uppercase; }
.ocard-date { margin: 0; font-size: 13px; font-weight: 700; }
.ocard-open, .ocard-link { align-self: flex-start; margin-top: auto; padding: 10px 0 2px; border: 0; background: none; font: 700 14px var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid currentColor; color: inherit; }

/* fiche détaillée */
.odialog { width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: var(--white); overflow: hidden; }
.odialog::backdrop { background: rgba(0,0,0,.72); }
.odialog[open] { display: flex; animation: panelIn .3s ease both; }
.odialog-body { overflow-y: auto; width: 100%; }
.odialog-body .oslides img { aspect-ratio: 16 / 9; object-fit: contain; }
.ocard-full-text { padding: clamp(24px, 4vw, 48px); }
.ocard-full-text .ocard-title { font-size: clamp(24px, 3vw, 38px); margin-bottom: 8px; }
.ocard-full-text .ocard-date { display: inline-block; margin-bottom: 20px; padding: 6px 10px; background: var(--ink); color: var(--white); }
.ocard-full-text p { margin: 0 0 14px; line-height: 1.7; }
.ocard-full-text a { text-decoration: underline; }
.odialog-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 46px; height: 46px; border: 0; background: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }
.odialog-close:hover { background: var(--ink); color: var(--white); }

/* rubrique précédente / suivante */
.opager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.opager a { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 2px solid var(--ink); text-decoration: none; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; transition: background .2s, color .2s; }
.opager a small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.opager-next { text-align: end; }
.opager a:hover { background: var(--ink); color: var(--white); }

@media (max-width: 900px) {
  .osplit { grid-template-columns: minmax(0, 1fr); }
  .osplit-media { position: static; }
  .ocards-track { grid-auto-columns: 78%; }
  .opager { grid-template-columns: 1fr; }
}
.oslides-single img { aspect-ratio: auto; height: auto; max-height: 720px; object-fit: contain; background: var(--white); } .oslides-single { background: none; }
.official:has(.ocards) { max-width: none !important; } .official .ocard, .official .ocard * { text-decoration: none; } .official .ocard-open, .official .ocard-link { text-decoration: none; }

/* Infos pratiques : cartes horaires / contact + pictogrammes */
.oinfo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.oinfo-card { padding: clamp(28px, 3.5vw, 48px); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; }
.oinfo-card p { margin: 0 0 14px; }
.oinfo-hours { background: var(--jaune); color: var(--ink); }
.oinfo-hours strong:first-child, .oinfo-hours b:first-child { display: block; margin-bottom: 8px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
.oinfo-status { margin: 0 0 24px !important; padding: 9px 14px; background: var(--ink); color: var(--white); font-size: 14px; }
.oinfo-status i { border-radius: 0; transform: rotate(45deg); animation: none; box-shadow: none; }
.oinfo-contact { background: var(--ink); color: var(--white); }
.oinfo-contact a { color: var(--jaune); text-decoration: none; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.oinfo-contact strong, .oinfo-contact b { letter-spacing: .06em; }
.oinfo-rules { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 40px); margin-top: 20px; padding: 28px; border: 2px solid var(--ink); }
.oinfo-rules p { display: contents; }
.oinfo-rules img { width: clamp(64px, 8vw, 96px); height: auto; }
@media (max-width: 800px) { .oinfo { grid-template-columns: minmax(0, 1fr); } }
.official .ocard-title { font-size: 18px; margin: 0; letter-spacing: 0; } .ocard-full-text .ocard-title { font-size: clamp(24px, 3vw, 38px) !important; } .oinfo-rules img { width: auto; height: clamp(90px, 10vw, 140px); max-width: 100%; }
.oinfo-map { position: relative; margin-top: 20px; border: 2px solid var(--ink); } .oinfo-map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 520px); border: 0; filter: grayscale(.35); } .oinfo-map .btn { position: absolute; left: 20px; bottom: 20px; } .oinfo-rules p:empty, .oinfo-rules a:empty { display: none; }

/* =====================================================================
   PAGE YVES SAINT LAURENT — mise en scène artistique
   ===================================================================== */
.ysl-hero { position: relative; overflow: hidden; min-height: min(92vh, 860px); display: flex; align-items: flex-end; background: var(--bleu); color: var(--white); }
.ysl-hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) clamp(48px, 7vw, 96px); }
.ysl-hero .crumbs a { color: var(--white); }
.ysl-name { display: flex; flex-direction: column; margin: 0; font-size: clamp(64px, 13vw, 210px); line-height: .84; letter-spacing: -.05em; }
.ysl-name span { display: block; animation: yslRise .9s cubic-bezier(.2,.7,.2,1) both; }
.ysl-name span:nth-child(2) { animation-delay: .12s; padding-inline-start: .6em; }
.ysl-name span:nth-child(3) { animation-delay: .24s; }
.ysl-outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
@keyframes yslRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.ysl-dates { display: flex; align-items: center; gap: 18px; margin: 32px 0 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; letter-spacing: .2em; color: var(--jaune); }
.ysl-dates i { width: 80px; height: 2px; background: currentColor; }
.ysl-diamond { position: absolute; z-index: 1; top: 50%; right: clamp(-120px, -4vw, 0px); width: min(46vw, 640px); aspect-ratio: 1; transform: translateY(-50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation: yslSpin 1.2s cubic-bezier(.2,.7,.2,1) both; }
.ysl-diamond img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.ysl-diamond::after { content: ""; position: absolute; inset: 0; background: var(--bleu); mix-blend-mode: screen; opacity: .35; }
@keyframes yslSpin { from { opacity: 0; transform: translateY(-50%) scale(.85) rotate(-8deg); } to { opacity: 1; transform: translateY(-50%); } }
.ysl-down { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--white); color: var(--white); text-decoration: none; transform: translateX(-50%) rotate(45deg); }
.ysl-down::first-line { line-height: 1; }
.ysl-down { font-size: 0; }
.ysl-down::before { content: "↓"; font-size: 18px; transform: rotate(-45deg); }

/* barre des années */
.ysl-scrub { position: sticky; top: var(--header-h); z-index: 20; display: flex; overflow-x: auto; background: var(--white); border-bottom: 1px solid var(--ink); scrollbar-width: none; }
.ysl-scrub a { flex: 1 0 auto; position: relative; padding: 16px 18px 14px; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--ink); }
.ysl-scrub a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ysl-scrub a.on::after { transform: scaleX(1); }
.ysl-scrub a.now { background: var(--ink); color: var(--white); }

/* scènes */
.ysl-story { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter) 0; }
.ysl-scene { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 88px) 0; border-top: 1px solid var(--ink); }
.ysl-scene.is-odd { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ysl-scene.is-odd .ysl-year { order: 2; text-align: end; }
.ysl-year { margin: 0; font-size: clamp(80px, 13vw, 210px); font-weight: 700; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--c); position: relative; }
.ysl-year::after { content: ""; position: absolute; left: .08em; bottom: -.12em; width: .18em; height: .18em; background: var(--c); transform: rotate(45deg); }
.ysl-scene.is-odd .ysl-year::after { left: auto; right: .08em; }
.ysl-text { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; }
.ysl-scene:first-child .ysl-text::first-letter { float: left; font-size: 4.2em; line-height: .82; font-weight: 700; margin: 6px 12px 0 0; color: var(--bleu); }
.ysl-scene .ysl-text { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.ysl-scene.in .ysl-text { opacity: 1; transform: none; }
.ysl-scene .ysl-year { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.ysl-scene.is-odd .ysl-year { clip-path: inset(0 0 0 100%); }
.ysl-scene.in .ysl-year { clip-path: inset(0 0 0 0); }

/* photos intercalées */
.ysl-fig { position: relative; margin: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); width: min(62%, 760px); }
.ysl-fig img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: grayscale(1); transition: filter .6s; }
.ysl-fig:hover img { filter: none; }
.ysl-fig::before { content: ""; position: absolute; inset: 0; transform: translate(22px, 22px); background: var(--tone); }
.ysl-fig-right { margin-left: auto; }
.ysl-fig-left { margin-right: auto; }
.ysl-fig-left::before { transform: translate(-22px, 22px); }
.ysl-fig-wide { width: 100%; max-width: none; }
.ysl-fig-wide img { max-height: 640px; object-fit: cover; }

/* fin */
.ysl-end { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: clamp(56px, 8vw, 110px) 0 0; border-top: 1px solid var(--ink); }
.ysl-end-mark { width: 54px; height: 54px; background: var(--ink); transform: rotate(45deg); }
.ysl-end-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (max-width: 900px) {
  .ysl-diamond { width: 78vw; right: -26vw; top: 34%; opacity: .55; }
  .ysl-scene, .ysl-scene.is-odd { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ysl-scene.is-odd .ysl-year { order: 0; text-align: start; }
  .ysl-scene.is-odd .ysl-year::after { left: .08em; right: auto; }
  .ysl-fig { width: calc(100% - 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .ysl-scene .ysl-text, .ysl-scene .ysl-year { opacity: 1; transform: none; clip-path: none; }
}
.ysl-year { padding: 0 .08em; } .ysl-scene.in .ysl-year { clip-path: inset(-15% -15% -25% -15%); }

/* Yves Saint Laurent — version simple */
.ysl-scene, .ysl-scene.is-odd { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; padding: clamp(36px, 5vw, 64px) 0; }
.ysl-scene.is-odd .ysl-year { order: 0; text-align: start; }
.ysl-year { font-size: clamp(56px, 7vw, 112px); -webkit-text-stroke: 1.5px var(--bleu); clip-path: none !important; }
.ysl-year::after, .ysl-scene.is-odd .ysl-year::after { display: none; }
.ysl-text { max-width: 62ch; }
.ysl-scene .ysl-text { transition: opacity .6s, transform .6s; }
.ysl-fig, .ysl-fig-wide { width: 100%; margin: 0 0 clamp(36px, 5vw, 64px); }
.ysl-fig::before { display: none; }
.ysl-fig img, .ysl-fig-wide img { max-height: 560px; width: 100%; object-fit: cover; filter: grayscale(1); }
.ysl-fig:hover img { filter: grayscale(1); }
.ysl-scene:first-child .ysl-text::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-weight: inherit; } .ysl-year { position: sticky; top: calc(var(--header-h) + 24px); }

/* =====================================================================
   ACCUEIL — rubriques en bandeau extensible
   ===================================================================== */
.rub-strip { display: flex; gap: 8px; height: clamp(360px, 52vh, 560px); }
.rub2 { position: relative; flex: 1; min-width: 0; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); transition: flex-grow .55s cubic-bezier(.2,.7,.2,1); }
.rub2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s, transform .8s; }
.rub2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 55%); }
.rub2:hover, .rub2:focus-visible { flex-grow: 3; }
.rub2:hover img, .rub2:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.rub2-num { position: absolute; z-index: 1; top: 18px; left: 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.rub2-title { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 20px; font-size: clamp(17px, 1.5vw, 24px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.rub2-go { position: absolute; z-index: 1; top: 14px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--white); color: var(--ink); font-weight: 700; opacity: 0; transform: rotate(-45deg); transition: opacity .3s, transform .3s; }
.rub2:hover .rub2-go { opacity: 1; transform: none; }
@media (max-width: 800px) {
  .rub-strip { flex-direction: column; height: auto; }
  .rub2 { flex: none; height: 120px; }
  .rub2:hover { flex-grow: 0; }
  .rub2 img { filter: none; opacity: .85; }
}

/* Centenaire */
.cent2 { margin-top: clamp(72px, 10vw, 140px); background: var(--bleu); color: var(--white); }
.cent2-in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cent2-in img { width: 100%; height: auto; box-shadow: 14px 14px 0 var(--jaune); }
.cent2 .kicker { color: var(--jaune); }
.cent2 h2 { font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.cent2-dates { margin: 0 0 32px; font-size: 18px; font-weight: 700; letter-spacing: .24em; color: var(--jaune); }
@media (max-width: 700px) { .cent2-in { grid-template-columns: minmax(0, 1fr); } .cent2-in img { max-width: 280px; } }

/* =====================================================================
   PAGES INTÉRIEURES — fiche détaillée affichée dans la page
   ===================================================================== */
.ocard.is-open { box-shadow: 8px 8px 0 var(--page-accent); transform: translateY(-4px); }
.ocards-detail { margin-top: 28px; border-top: 6px solid var(--page-accent); background: var(--white); animation: panelIn .45s ease both; }
.ocards-detail-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0 0; }
.ocards-detail .oslides { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.ocards-detail .oslides img { aspect-ratio: auto; height: auto; max-height: 640px; object-fit: contain; background: var(--white); }
.ocards-detail .ocard-full-text { padding: 0; }
.ocards-detail .ocard-full-text .ocard-title { font-size: clamp(26px, 3vw, 40px) !important; margin-bottom: 12px; }
.ocards-detail .ocard-full-text .ocard-date { display: inline-block; margin-bottom: 22px; padding: 6px 10px; background: var(--ink); color: var(--white); }
.ocards-detail-close { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 11px 18px; border: 2px solid var(--ink); background: var(--white); font: 700 13px var(--font); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ocards-detail-close:hover { background: var(--ink); color: var(--white); }
.ocards-detail-in.no-media { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 800px) { .ocards-detail-in { grid-template-columns: minmax(0, 1fr); } .ocards-detail .oslides { position: static; } }

/* =====================================================================
   PAGE YVES SAINT LAURENT — ouverture épurée + frise
   ===================================================================== */
.ysl-hero2 { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 100px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ysl-hero2 .crumbs { margin-bottom: clamp(32px, 5vw, 64px); }
.ysl-hero2-dates { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .32em; color: var(--bleu); }
.ysl-hero2-name { margin: 0; font-size: clamp(48px, 6.6vw, 104px); line-height: .95; letter-spacing: -.035em; }
.ysl-hero2-line { display: block; width: 96px; height: 4px; margin: 32px 0; background: var(--bleu); }
.ysl-hero2-down { display: inline-flex; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.ysl-hero2-photo { position: relative; margin: 0; }
.ysl-hero2-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); }
.ysl-hero2-mark { position: absolute; left: -22px; bottom: 40px; width: 44px; height: 44px; background: var(--bleu); transform: rotate(45deg); }

.ytl { background: var(--bleu); color: var(--white); padding: clamp(56px, 7vw, 100px) var(--gutter); }
.ytl-in { max-width: var(--max); margin: 0 auto; }
.ytl-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 10), minmax(0, 1fr)); }
.ytl-bar li { position: relative; display: grid; grid-template-rows: 56px 10px 56px; }
.ytl-seg { grid-row: 2; background: var(--c); box-shadow: 0 8px 14px rgba(0,0,0,.28); transition: transform .3s; }
.ytl-btn { grid-row: 1; align-self: end; justify-self: start; padding: 0 0 12px 10px; border: 0; background: none; color: var(--white); font: 700 clamp(15px, 1.6vw, 24px) var(--font); letter-spacing: -.01em; cursor: pointer; opacity: .65; transition: opacity .2s; position: relative; }
.ytl-bar li:nth-child(even) .ytl-btn { grid-row: 3; align-self: start; padding: 12px 0 0 10px; }
.ytl-btn::before { content: ""; position: absolute; left: 0; width: 1px; background: currentColor; }
.ytl-bar li:nth-child(odd) .ytl-btn::before { bottom: -2px; height: 30px; }
.ytl-bar li:nth-child(even) .ytl-btn::before { top: -2px; height: 30px; }
.ytl-btn::after { content: ""; position: absolute; left: -4px; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.ytl-bar li:nth-child(odd) .ytl-btn::after { bottom: 26px; }
.ytl-bar li:nth-child(even) .ytl-btn::after { top: 26px; }
.ytl-btn:hover, .ytl-btn[aria-selected="true"] { opacity: 1; }
.ytl-btn[aria-selected="true"] .ytl-year { border-bottom: 3px solid var(--jaune); }
.ytl-bar li:has([aria-selected="true"]) .ytl-seg { transform: scaleY(1.9); }

.ytl-nav { display: flex; justify-content: flex-end; gap: 8px; margin: 32px 0 0; }
.ytl-nav button { width: 48px; height: 48px; border: 2px solid var(--white); background: transparent; color: var(--white); font-size: 18px; cursor: pointer; }
.ytl-nav button:hover { background: var(--white); color: var(--bleu); }
.ytl-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(28px, 4vw, 48px); animation: panelIn .45s ease both; }
.ytl-panel[hidden] { display: none; }
.ytl-num { grid-column: 1; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--jaune); }
.ytl-big { grid-column: 1; margin: -8px 0 0; font-size: clamp(64px, 9vw, 140px); font-weight: 700; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.ytl-text { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; max-width: 62ch; }
.ytl-photo { grid-column: 2; margin: 8px 0 0; }
.ytl-photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; filter: grayscale(1); box-shadow: 14px 14px 0 var(--white); }

@media (max-width: 900px) {
  .ysl-hero2 { grid-template-columns: minmax(0, 1fr); }
  .ysl-hero2-photo img { aspect-ratio: 1; }
  .ytl-bar { overflow-x: auto; grid-template-columns: repeat(var(--n, 10), minmax(84px, 1fr)); padding-bottom: 6px; }
  .ytl-panel { grid-template-columns: minmax(0, 1fr); }
  .ytl-text, .ytl-photo { grid-column: 1; grid-row: auto; }
}

/* =====================================================================
   PRESSE · PRIVATISATION · CONTACT
   ===================================================================== */
.pg-hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pg-hero h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.035em; margin: 24px 0 24px; }
.pg-lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.65; margin: 0 0 28px; max-width: 56ch; }
.pg-hero .kicker { margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.pg-hero .kicker::before { content: ""; width: 10px; height: 10px; background: var(--page-accent); transform: rotate(45deg); }

/* presse */
.pg-contact-card { display: inline-block; padding: 22px 26px; background: var(--ink); color: var(--white); }
.pg-contact-card .kicker { margin: 0 0 8px; color: var(--jaune); }
.pg-contact-card .kicker::before { display: none; }
.pg-contact-card p:last-child { margin: 0; font-size: 18px; line-height: 1.6; }
.pg-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.pg-mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pg-mosaic img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pg-releases { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.pg-years { border-top: 2px solid var(--ink); }
.pg-year { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.pg-year-label { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--bleu); }
.pg-year ul { list-style: none; margin: 0; padding: 0; }
.pg-year li a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 17px; text-decoration: none; border-bottom: 1px dashed transparent; transition: padding .2s, color .2s; }
.pg-year li + li a { border-top: 1px solid rgba(0,0,0,.12); }
.pg-year li a:hover { color: var(--bleu); padding-inline-start: 10px; }
.pg-year li a b { flex-shrink: 0; }

/* privatisation */
.pg-private h1 { font-size: clamp(34px, 4vw, 60px); }
.pg-ask { margin: 0 0 18px; font-weight: 700; }
.pg-hero-photo { position: relative; margin: 0; }
.pg-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pg-hero-photo::after { content: ""; position: absolute; left: -24px; bottom: 48px; width: 48px; height: 48px; background: var(--rouge); transform: rotate(45deg); }
.pg-spaces { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pg-space { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.pg-space img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); opacity: .85; transition: filter .5s, opacity .5s, transform .7s; }
.pg-space:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.pg-space figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; background: var(--white); font-weight: 700; font-size: 17px; text-transform: capitalize; }
.pg-space figcaption span { font-size: 12px; letter-spacing: .14em; color: var(--rouge); }

/* contact */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.pg-contact-photo { position: relative; margin: 0; }
.pg-contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-contact-mark { position: absolute; right: -26px; top: 50%; z-index: 2; width: 52px; height: 52px; background: var(--rose); transform: translateY(-50%) rotate(45deg); }
.pg-contact-body { padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.pg-contact-body h1 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 24px 0 24px; }
.pg-address { margin: 0 0 32px; padding-inline-start: 18px; border-inline-start: 4px solid var(--rose); font-size: 18px; line-height: 1.6; }
.pg-form form { display: grid; gap: 14px; max-width: 560px; }
.pg-form input[type=text], .pg-form input[type=email], .pg-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: 18px var(--font); }
.pg-form textarea { min-height: 140px; resize: vertical; }
.pg-form input:focus, .pg-form textarea:focus { outline: none; border-bottom-color: var(--rose); }
.pg-form p { margin: 8px 0 0; }
.pg-form input[type=submit] { padding: 16px 32px; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font: 700 14px var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.pg-form input[type=submit]:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }

@media (max-width: 900px) {
  .pg-hero, .pg-contact { grid-template-columns: minmax(0, 1fr); }
  .pg-contact-photo { height: 280px; }
  .pg-contact-mark { right: 24px; top: auto; bottom: -26px; transform: rotate(45deg); }
  .pg-spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-year { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.pg-space figcaption { text-transform: none; } .pg-space figcaption::first-letter { text-transform: uppercase; }

/* =====================================================================
   YSL — biographie en défilement horizontal
   ===================================================================== */
.yh { position: relative; height: calc(var(--n) * 55vh + 100vh); background: var(--ink); color: var(--white); }
.yh-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; overflow: hidden; padding: clamp(28px, 4vh, 48px) 0 clamp(24px, 4vh, 40px); }
.yh-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--gutter); max-width: 100%; }
.yh-head .kicker { color: var(--jaune); margin: 0; }
.yh-count { margin: 0; font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.yh-cur { color: var(--jaune); }
.yh-track { flex: 1; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); will-change: transform; }
.yh-card { flex: 0 0 clamp(300px, 34vw, 500px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-inline-start: 28px; border-inline-start: 2px solid var(--c, var(--white)); opacity: .35; transition: opacity .4s; }
.yh-card.is-near { opacity: 1; }
.yh-card.has-photo { flex-basis: clamp(340px, 44vw, 640px); }
.yh-year { margin: 0; font-size: clamp(64px, 8vw, 128px); font-weight: 700; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--c, var(--white)); }
.yh-text { margin: 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; }
.yh-photo { margin: 0; }
.yh-photo img { display: block; width: 100%; max-height: 34vh; object-fit: cover; filter: grayscale(1); }
.yh-end { align-items: flex-start; border: 0; }
.yh-end-mark { width: 48px; height: 48px; background: var(--white); transform: rotate(45deg); }
.yh-progress { margin: 0 var(--gutter); height: 2px; background: rgba(255,255,255,.2); }
.yh-progress span { display: block; height: 100%; width: 0; background: var(--jaune); }

@media (max-width: 800px), (prefers-reduced-motion: reduce) {
  .yh { height: auto; }
  .yh-sticky { position: static; height: auto; }
  .yh-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 28px; transform: none !important; }
  .yh-card { flex-basis: 82vw; scroll-snap-align: start; opacity: 1; }
  .yh-progress { display: none; }
}
/* Privatisation : espaces cliquables */
.pg-space { display: block; text-decoration: none; color: var(--ink); }
.pg-space-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; background: var(--white); font-weight: 700; font-size: 17px; }
.pg-space-cap > span { font-size: 12px; letter-spacing: .14em; color: var(--rouge); }
.pg-space-cap b { margin-inline-start: auto; transition: transform .25s; }
.pg-space:hover .pg-space-cap { background: var(--rouge); color: var(--white); }
.pg-space:hover .pg-space-cap > span { color: var(--white); }
.pg-space:hover .pg-space-cap b { transform: translateX(4px); }
/* Newsletter */
.pg-news .pg-contact-mark { background: var(--jaune); }
.pg-news-kicker { margin: 24px 0 0; color: var(--ink); }
.pg-news h1 { margin-top: 10px; }
.pg-news-form label { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pg-news-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.pg-news-form ul { list-style: none; display: flex; gap: 24px; padding: 0; margin: 6px 0 0; }
.pg-news-form li { display: flex; align-items: center; gap: 8px; }
.pg-news-form li label { margin: 0; }
.pg-news-form input[type=submit] { justify-self: start; margin-top: 18px; padding: 16px 32px; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font: 700 14px var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.pg-news-form input[type=submit]:hover { background: var(--jaune); border-color: var(--jaune); color: var(--ink); }
/* Autour du musée : cartes avec image */
.extend-card { justify-content: flex-start; padding: 0 0 32px; min-height: 0; }
.extend-card .diamond { z-index: 2; }
.extend-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 28px; background: var(--white); }
.extend-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.extend-card:hover .extend-img img { transform: scale(1.05); }
.extend-img.is-poster img { object-position: 50% 42%; }
.extend-img.is-logo img { object-fit: contain; padding: 12% 10%; }
.extend-card h3, .extend-card p { padding: 0 32px; }

/* =====================================================================
   COMPATIBILITÉ MAC / WINDOWS (Safari, Chrome, Edge, Firefox)
   Même rendu des polices, formulaires, boutons et barres de défilement.
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* Safari ne fait pas hériter la police aux champs et boutons */
button, input, select, textarea { font-family: inherit; color: inherit; }
/* Safari (Mac/iOS) arrondit et ombre les champs : on retire le style natif */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=submit], textarea, select, button {
  -webkit-appearance: none; appearance: none; border-radius: 0; box-shadow: none;
}
input::placeholder, textarea::placeholder { opacity: .55; color: inherit; }
/* cases à cocher : même dessin partout */
input[type=checkbox] {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0;
  border: 2px solid var(--ink); border-radius: 0; background: var(--white); display: inline-grid; place-content: center; cursor: pointer;
}
input[type=checkbox]::before { content: ""; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg) scale(0); transition: transform .15s; }
input[type=checkbox]:checked::before { transform: rotate(45deg) scale(1); }
/* flou d'arrière-plan : préfixe Safari */
.status { -webkit-backdrop-filter: blur(6px); }
.w2-status, .pano-status, .oinfo-status { -webkit-backdrop-filter: none; }
/* barres de défilement masquées : Safari/Chrome (WebKit) en plus de Firefox */
.subnav-in::-webkit-scrollbar, .subnav::-webkit-scrollbar, .ysl-scrub::-webkit-scrollbar, .timeline::-webkit-scrollbar { display: none; }
.ocards-track::-webkit-scrollbar { height: 6px; }
.ocards-track::-webkit-scrollbar-thumb { background: var(--ink); }
.ocards-track::-webkit-scrollbar-track { background: transparent; }
/* summary : flèche native masquée partout */
summary { list-style: none; }
summary::-webkit-details-marker, summary::marker { display: none; content: ""; }
/* images : pas de liseré ni de décalage selon le navigateur */
img { border: 0; -webkit-user-drag: none; }
/* iPhone : pas de surlignage gris au toucher, hauteur d'écran fiable */
a, button, summary { -webkit-tap-highlight-color: transparent; }
@supports not (height: 100dvh) { .menu { height: 100vh; } }
/* repli si overflow: clip n'existe pas (anciens Safari) */
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
