/* mYSLm — maquette XD « Home page » (1920 px ; 1rem = 16 px à 1920 px).
   En-tête blanc et pied de page « tissus et croquis » sur tout le site, puis la page d'accueil. */
/* Effra (charte) : utilisée si elle est installée sur le poste, ou dès que les fichiers web sous licence
   sont déposés dans assets/fonts/ (ajouter alors url("fonts/Effra-….woff2") à chaque src). En attendant : Figtree, la plus proche. */
@font-face { font-family: "Effra"; src: local("Effra"), local("Effra-Regular"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Effra"; src: local("Effra Medium"), local("Effra-Medium"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Effra"; src: local("Effra Bold"), local("Effra-Bold"); font-weight: 600 800; font-display: swap; }
html { font-size: max(11px, .8333vw); }
:root {
  --hf: "Effra", "Figtree", Arial, Helvetica, sans-serif;
  --w2: 97.5rem; /* 1560 px */
  --y2: #fbba05;
}

/* ---------- En-tête ---------- */
.hd { position: sticky; top: 0; z-index: 1000; background: #fff; color: #000; font-family: var(--hf); }
.hd-in { display: flex; align-items: center; gap: 1.25rem; width: min(var(--w2), 92vw); height: 7.5rem; margin: 0 auto; }
.hd-logo { margin-right: auto; display: block; width: 5.1rem; height: 5.1rem; }
.hd-logo svg { display: block; width: 100%; height: 100%; stroke: none; }
.hd-logo { color: #000; }
.hd-menu { display: flex; gap: 3.3rem; margin: 0 2.4rem 0 0; padding: 0; list-style: none; }
.hd-menu a { display: block; padding: .4rem 0; font-size: .95rem; color: #000; }
/* gras au survol sans décaler le menu : la largeur en gras est réservée par ::after */
.hd-menu > li > a { display: inline-flex; flex-direction: column; align-items: center; transition: font-weight .2s; }
.hd-menu > li > a::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
.hd-menu > li:hover > a, .hd-menu > li:focus-within > a, .hd-menu a[aria-current="page"] { font-weight: 700; }
/* soulignement unique qui glisse de l'onglet actif vers l'onglet survolé (auto-animate du prototype) */
.hd-menu { position: relative; }
.hd-ul { position: absolute; z-index: 6; left: 0; top: 0; width: 100px; height: .3rem; background: currentColor; color: #000; pointer-events: none; opacity: 0; transform-origin: 0 0; will-change: transform; transition: transform .6s ease-in-out, opacity .3s; }
.hd-ul.on { opacity: 1; }
.hd-menu:hover > li:not(:hover) > a[aria-current="page"] { font-weight: 400; }
.inner .hd-ul { color: #fff; }
.hd-lang { position: relative; }
.hd-lang summary { display: flex; align-items: center; gap: .3rem; height: 2.35rem; padding: 0 .7rem; background: #000; color: #fff; font-size: .75rem; font-weight: 700; cursor: pointer; list-style: none; }
.hd-lang summary::-webkit-details-marker { display: none; }
.hd-lang summary::after { content: ""; border: .25rem solid transparent; border-top-color: currentColor; margin-top: .25rem; }
.hd-lang ul { position: absolute; right: 0; top: 100%; min-width: 8rem; margin: .3rem 0 0; padding: .4rem 0; list-style: none; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.hd-lang ul a { display: block; padding: .5rem 1rem; font-size: .9rem; }
.hd-lang ul a:hover, .hd-lang ul a[aria-current] { background: #f2f2f2; }
.hd-tickets { display: inline-flex; align-items: center; justify-content: center; width: 8.3rem; height: 2.4rem; background: #000; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hd-tickets:hover { background: var(--pink, #e62076); }
.hd .burger { display: none; }
body.menu-open { overflow: hidden; }

/* ---------- Pied de page ---------- */
.ft { padding-top: 7rem; font-family: var(--hf); color: #000; }
.home .ft { padding-top: 0; }
.ft-art { background: #fff var(--ft-bg) 50% 0 / cover no-repeat; }
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; width: min(var(--w2), 92vw); margin: 0 auto; padding-top: 21.5rem; min-height: 42rem; }
.ft-col { display: flex; flex-direction: column; align-items: center; }
.ft-col h2 { margin: 0 0 2.6rem; font: 400 2.1rem/1 var(--hf); letter-spacing: .62em; margin-right: -.62em; }
.ft-row { display: flex; gap: .5rem; }
.ft-row input, .ft-row button, .ft-btn { height: 3.1rem; border: 0; background: #000; color: #fff; font: 400 .95rem var(--hf); text-align: center; }
.ft-row input { width: 10rem; width: 16.5rem; padding: 0 1rem; }
.ft-row input::placeholder { color: #fff; opacity: 1; }
.ft-row input:focus::placeholder { opacity: .5; }
.ft-row button { width: 9.4rem; cursor: pointer; }
.ft-btn { display: inline-flex; align-items: center; justify-content: center; width: 24.5rem; }
.ft-row button:hover, .ft-btn:hover { background: var(--pink, #e62076); }
.ft-band { padding: 1.4rem 1rem 1.6rem; background: #000; color: #fff; text-align: center; }
.ft-band h2 { margin: 0 0 .7rem; font: 400 1.95rem/1.2 var(--hf); }
.ft-band p { margin: 0; font-size: .85rem; line-height: 1.75; }
.ft-band .ft-follow { margin-top: 1.1rem; font-size: 1.15rem; letter-spacing: .1em; }
.ft-social { display: flex; justify-content: center; gap: 2.6rem; margin-top: .3rem !important; }
.ft-social svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ft-bottom { padding: 2.5rem 1rem 2.4rem; text-align: center; font-size: .8rem; line-height: 1.6; }
.ft-bottom p { margin: 0; }
.ft-links { margin-bottom: 2.2rem !important; }
.ft-links a + a::before { content: "|"; display: inline-block; margin: 0 2.2rem; color: #000; }
.ft-links a:hover { text-decoration: underline; }

/* ---------- Accueil ---------- */
.hm { font-family: var(--hf); color: #000; }
.hm-hero, .hm-sec, .hm-world-in { width: min(var(--w2), 92vw); margin: 0 auto; }
.hm-hero { position: relative; margin-top: 0; aspect-ratio: 1560 / 916; overflow: hidden; background: #111; }
.hm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero-title { position: absolute; right: 8.6rem; bottom: 5.4rem; width: 57.2rem; margin: 0; color: #fff; line-height: 0; filter: drop-shadow(0 2px 14px rgba(0,0,0,.25)); }
.hm-hero-title .logo-text { display: block; width: 100%; height: auto; }
.hm-resa { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 31.6rem; height: 4.7rem; background: var(--y2); color: #000; font-size: .95rem; font-weight: 700; letter-spacing: .62em; text-transform: uppercase; transition: background .2s; }
.hm-resa:hover { background: #fff; }

.hm-title { margin: 0 0 2.5rem; text-align: center; font: 700 2.65rem/1.15 var(--hf); letter-spacing: .36em; margin-right: -.36em; text-transform: uppercase; }
.hm-sec { padding-top: 7.4rem; }

.hm-hl { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 1.4rem; }
.hm-hl a { display: block; overflow: hidden; background: #eee; }
.hm-hl a:nth-child(5) { grid-column: 3; grid-row: 1 / 3; }
.hm-hl img { display: block; width: 100%; height: 100%; aspect-ratio: 505 / 368; object-fit: cover; transition: transform .5s ease; }
.hm-hl a:nth-child(5) img { aspect-ratio: auto; }
.hm-hl a:hover img, .hm-disc a:hover img { transform: scale(1.03); }
.hm-more { display: table; margin: 1.5rem auto 0; font-size: 1.55rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; }
.hm-more svg { width: .6em; height: .7em; margin-left: .5em; fill: currentColor; }
.hm-more:hover { color: var(--pink, #e62076); }

.hm-world { margin-top: 7.9rem; background: #f7f7f7; }
.hm-world-in { display: grid; grid-template-columns: 45.5rem 1fr; gap: 3.25rem; align-items: center; padding: 1.15rem 0; }
.hm-world-in > img { display: block; width: 100%; aspect-ratio: 728 / 746; object-fit: cover; }
.hm-world-text { min-width: 0; }
.hm-world .hm-title { margin: 0 0 3.6rem; text-align: left; font-weight: 600; font-size: 2.55rem; letter-spacing: .34em; }
.hm-world .hm-title span { display: block; white-space: nowrap; }
.hm-world-text p { max-width: 41rem; margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.85; }
.hm-link { display: inline-flex; align-items: center; gap: .2rem; margin-top: 3.2rem; color: var(--y2); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; }
.hm-link svg { width: 1.7rem; height: .8rem; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .2s; }
.hm-link:hover svg { transform: translateX(.3rem); }

.hm-museum { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.hm-museum > img { display: block; width: 100%; height: 43rem; object-fit: cover; }
.hm-museum-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 4.1rem 3.3rem 3rem; background: #000; color: #fff; min-height: 43rem; }
.hm-museum-panel ul { margin: 0 0 3.1rem; padding: 0; list-style: none; }
.hm-museum-panel li a { display: inline-block; padding: .65rem 0; font-size: 1.12rem; line-height: 1.15; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #fff; }
.hm-museum-panel li a:hover { color: var(--y2); }
.hm-museum-panel p { max-width: 34rem; margin: 0; font-size: .95rem; font-weight: 500; line-height: 2.2; letter-spacing: .03em; }
.hm-museum-panel .hm-link { margin-top: 2.6rem; font-size: 1.45rem; font-weight: 700; }

.hm-disc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.85rem 1.75rem; }
.hm-disc a { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; }
.hm-disc a:nth-child(-n+2) { grid-column: span 3; }
.hm-disc img { display: block; width: 100%; aspect-ratio: 504 / 440; object-fit: cover; transition: transform .5s ease; }
.hm-disc a:nth-child(-n+2) img { aspect-ratio: 767 / 529; }
.hm-disc span { position: relative; display: flex; align-items: center; justify-content: center; height: 5.7rem; background: var(--c); color: #fff; font-size: 1.45rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.hm-map { height: 27.7rem; background: #eee; }
.hm-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ft-infos { display: grid; grid-template-columns: repeat(3, 1fr); width: min(var(--w2), 92vw); margin: 0 auto; border: 1px solid #000; background: #fff; }
.ft-infos > div { display: flex; flex-direction: column; align-items: center; padding: 1.2rem 1rem 1.3rem; text-align: center; }
.ft-infos > div + div { border-left: 1px solid #000; }
.ft-infos svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: #000; stroke-width: 1.3; }
.ft-infos h3 { margin: .9rem 0 1.1rem; font: 500 1.05rem/1 var(--hf); letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; }
.ft-infos p { margin: 0; font-size: .95rem; line-height: 1.7; letter-spacing: .06em; }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 1100px) {
  .hd-menu { gap: 2rem; margin-right: 1rem; }
}
@media (max-width: 900px) {
  html { font-size: 16px; }
  .hd-in { height: 4rem; gap: .6rem; }
  .hd-logo { width: 3.4rem; height: 3.4rem; }
  .hd .burger { display: block; position: relative; width: 2.6rem; height: 2.6rem; border: 0; background: none; cursor: pointer; }
  .hd .burger span { position: absolute; left: .55rem; right: .55rem; height: 2px; background: #000; transition: transform .2s; }
  .hd .burger span:first-child { top: 1rem; } .hd .burger span:last-child { top: 1.5rem; }
  .hd .burger[aria-expanded="true"] span:first-child { transform: translateY(.25rem) rotate(45deg); }
  .hd .burger[aria-expanded="true"] span:last-child { transform: translateY(-.25rem) rotate(-45deg); }
  .hd-menu { position: fixed; left: 0; right: 0; top: 4rem; bottom: 0; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem; margin: 0; background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .hd-menu.open { opacity: 1; visibility: visible; }
  .hd-menu a { font-size: 1.5rem; }
  .hd-tickets { width: auto; padding: 0 .9rem; }

  .hm-hero { aspect-ratio: 4 / 5; margin-top: 0; }
  .hm-hero > img { object-position: 40% 50%; }
  .hm-hero-title { left: 6%; right: auto; bottom: 5.6rem; width: 88%; }
  .hm-resa { width: 100%; height: 3.6rem; font-size: .85rem; letter-spacing: .45em; }
  .hm-title { font-size: 1.55rem; letter-spacing: .22em; margin-right: -.22em; margin-bottom: 1.6rem; }
  .hm-sec { padding-top: 4rem; }
  .hm-hl { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .hm-hl a:nth-child(5) { grid-column: 1 / -1; grid-row: auto; }
  .hm-more { font-size: 1rem; letter-spacing: .26em; }
  .hm-world { margin-top: 4rem; }
  .hm-world-in { grid-template-columns: 1fr; gap: 2rem; padding: 0 0 3rem; width: 100%; }
  .hm-world-text { padding: 0 4vw; }
  .hm-world .hm-title { margin-bottom: 1.6rem; font-size: 1.4rem; letter-spacing: .22em; }
  .hm-world .hm-title span { white-space: normal; }
  .hm-world-text p { font-size: 1.05rem; }
  .hm-link { margin-top: 1.8rem; font-size: 1.05rem; }
  .hm-museum { grid-template-columns: 1fr; gap: .8rem; }
  .hm-museum > img { height: auto; aspect-ratio: 4 / 3; }
  .hm-museum-panel { min-height: 0; padding: 2.2rem 1.5rem; }
  .hm-museum-panel li a { font-size: .85rem; letter-spacing: .18em; }
  .hm-disc { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .hm-disc a, .hm-disc a:nth-child(-n+2) { grid-column: auto; }
  .hm-disc a:first-child { grid-column: 1 / -1; }
  .hm-disc img, .hm-disc a:nth-child(-n+2) img { aspect-ratio: 1; }
  .hm-disc a:first-child img { aspect-ratio: 767 / 529; }
  .hm-disc span { height: 3.4rem; font-size: .9rem; letter-spacing: .08em; text-align: center; padding: 0 .4rem; }
  .hm-map { height: 18rem; }
  .ft-infos { grid-template-columns: 1fr; }
  .ft-infos > div + div { border-left: 0; border-top: 1px solid #000; }

  .ft { padding-top: 4rem; }
  .ft-art { background-size: 260% auto; background-position: 50% 0; }
  .ft-cols { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 9rem; min-height: 0; padding-bottom: 3rem; }
  .ft-col h2 { font-size: 1.4rem; letter-spacing: .4em; margin-right: -.4em; margin-bottom: 1.2rem; }
  .ft-row { flex-direction: column; width: min(100%, 20rem); }
  .ft-row input, .ft-row button, .ft-btn { width: 100%; }
  .ft-btn { width: min(100%, 20rem); }
  .ft-band h2 { font-size: 1.35rem; }
  .ft-links a + a::before { margin: 0 .8rem; }
}

/* ---------- Pages internes (maquette XD « Internal page ») ---------- */
/* toute la typographie des pages internes en Effra / Arial, comme la maquette */
.inner { --serif: var(--hf); }
/* en-tête noir posé sur le bandeau */
.inner .hd { background: #000; color: #fff; }
.inner .hd-logo { color: #fff; }
.inner .hd-menu a { color: #fff; }
.inner .hd-lang summary, .inner .hd-tickets { background: #fff; color: #000; }
.inner .hd-tickets:hover { background: var(--pink, #e62076); color: #fff; }
.inner .hd .burger span { background: #fff; }

/* bandeau : photo à gauche fondue dans le noir, titre espacé au centre */
.inner .ihero { min-height: 22rem; justify-content: center; background: #000; }
.inner .ihero-bg { width: 62%; right: auto; mask-image: linear-gradient(to right, #000 45%, transparent); -webkit-mask-image: linear-gradient(to right, #000 45%, transparent); animation: none; }
.inner .ihero-shade { background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,.35)); }
.inner .ihero-content { margin: 0 auto; padding: 2rem 0; }
.inner .ihero .crumbs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner .ihero h1 { font: 700 3.3rem/1.15 var(--hf); letter-spacing: .36em; margin-right: -.36em; text-transform: uppercase; }
.inner .ihero-kicker { font: 500 .85rem/1.4 var(--hf); letter-spacing: .3em; text-transform: uppercase; color: #fff; opacity: .85; }
.inner .ihero-meta { font-family: var(--hf); letter-spacing: .2em; }
.ivisit { display: none; }

/* onglets : petits cadres, onglet actif en rose */
.inner .itabs { position: static; border: 0; background: none; }
.inner .itabs .pills { gap: 1.1rem; padding: 2.2rem 4vw 1rem; }
.inner .pill { min-width: 0; padding: .45rem 1rem; border: 1px solid #000; border-radius: 0; background: #fff; color: #000; font: 500 .75rem/1.2 var(--hf); letter-spacing: .12em; text-transform: uppercase; }
.inner .pill:hover { background: #000; color: #fff; }
.inner .pill[aria-selected="true"], .inner .pill[aria-current="page"], .inner .pill[aria-current="true"] { background: var(--pink, #e62076); border-color: var(--pink, #e62076); color: #fff; }

/* titres et textes */
.inner .ipanel { padding-top: 3rem; font-family: var(--hf); }
.inner .opanel-head .kicker { font: 500 .8rem/1.3 var(--hf); letter-spacing: .22em; text-transform: uppercase; color: #000; margin-bottom: .9rem; }
.inner .opanel-head h2, .inner .opanel-head h3 { font: 700 2.15rem/1.2 var(--hf); letter-spacing: .1em; color: #000; }
.inner .osolo > .opanel-head h2, .inner .osolo > .opanel-head h3, .inner .ofaq-title, .inner .orelated-title { font-weight: 700; font-size: 2.65rem; letter-spacing: .36em; margin-right: -.36em; text-transform: uppercase; }
.inner .official { font-family: var(--hf); font-size: 1rem; line-height: 1.95; }
.inner .official h3, .inner .official h4 { font-family: var(--hf); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; }
.inner .official .off-lead { font-family: var(--hf); font-weight: 700; font-size: 1.05rem; line-height: 1.9; }

/* blocs image + panneau gris, en alternance */
.inner .osplit { width: min(97.5%, 85rem); margin-left: auto; margin-right: auto; gap: 1.1rem; }
.inner .osplit-media, .inner .ipanel > .osplit:nth-of-type(even) .osplit-media { border: 0; background: none; }
.inner .osplit-media .oslides { position: sticky; top: 8.5rem; }
.inner .osplit-media .oslides-single img { width: 100%; height: auto; aspect-ratio: auto; }
.inner .osplit-text, .inner .ipanel > .osplit:nth-of-type(even) .osplit-text { padding: 3.2rem 4.2rem 3.4rem; border: 0; background: #ebebeb; color: #000; }
.inner .osplit .opanel-head .kicker, .inner .ipanel > .osplit:nth-of-type(even) .opanel-head .kicker { color: #000; }
.inner .osplit .opanel-head h2 { font-size: 2.15rem; }
.inner .osplit-text .official a { color: var(--pink, #e62076); }
.inner .osplit-text .oreadmore > summary, .inner .ipanel > .osplit:nth-of-type(even) .oreadmore > summary { color: var(--pink, #e62076); font: 400 1.35rem var(--hf); letter-spacing: .14em; }
.inner .oreadmore > summary { display: inline-flex; align-items: baseline; flex-wrap: nowrap; font: 400 1.25rem/1.3 var(--hf); letter-spacing: .14em; color: var(--pink, #e62076); }
.inner .oreadmore > summary span { line-height: 1.3; }
.inner .orelated a { border-color: #bbb; }
.inner .orelated a span { font: 700 1.25rem/1.25 var(--hf); letter-spacing: .06em; }
.inner .orelated a small { font-family: var(--hf); }
.inner .ipanel > .osolo + .osolo, .inner .ipanel > .osplit + .osplit, .inner .ipanel > .osolo + .osplit, .inner .ipanel > .osplit + .osolo { margin-top: 5rem; }

/* listes d'expositions */
.xfeature, .xfeature:nth-child(even) { gap: 1.1rem; background: none; color: #000; }
.xfeature-img { border: 0; }
.xfeature-text { background: #ebebeb; padding: 3.2rem 4.2rem; }
.xfeature-text .pe-tag, .xfeature:nth-child(even) .xfeature-text .pe-tag { background: none; padding: 0; color: #000; font: 500 .8rem var(--hf); letter-spacing: .22em; }
.xfeature-text strong { font: 700 2.15rem/1.2 var(--hf); letter-spacing: .1em; }
.inner .pe-card h3 { font-family: var(--hf); font-weight: 700; letter-spacing: .06em; font-size: 1.45rem; }
.inner .pe-tag { background: var(--pink, #e62076); font-family: var(--hf); }

/* page suivante / précédente */
.inner .ipager { display: flex; justify-content: space-between; gap: 1.6rem; width: min(97.5%, 85rem); margin: 4.5rem auto 0; }
.inner .ipager a { position: relative; min-width: 25.6rem; padding: 1rem 1.5rem 1.1rem 4rem; border: 1px solid #bbb; font: 400 1.15rem/1.3 var(--hf); letter-spacing: .05em; }
.inner .ipager a::before { content: ""; position: absolute; left: 1.6rem; top: 50%; width: .9rem; height: .9rem; border: solid #000; border-width: 0 0 1.5px 1.5px; transform: translateY(-50%) rotate(45deg); }
.inner .ipager a.ipager-next { margin-left: auto; padding: 1rem 4rem 1.1rem 1.5rem; text-align: right; }
.inner .ipager a.ipager-next::before { left: auto; right: 1.6rem; transform: translateY(-50%) rotate(-135deg); }
.inner .ipager a small { font-size: .65rem; letter-spacing: .14em; color: #888; }
.inner .ipager a:hover { background: #000; color: #fff; }
.inner .ipager a:hover::before { border-color: #fff; }

/* page Expositions : cartes affiche + panneau gris (texte coupé, « Read more ») */
.xhub { padding-top: 2.2rem !important; }
.xh { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; width: min(97.5%, 92.5rem); margin: 0 auto; }
.xh + .xh { margin-top: 5.6rem; }
.xh-rev .xh-img { order: 2; }
.xh-img { display: block; overflow: hidden; }
.xh-img img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.xh-img:hover img { transform: scale(1.02); }
.xh-text { display: flex; flex-direction: column; padding: 3.6rem 5.3rem 3.6rem; background: #ebebeb; color: #000; }
.xh-kicker { margin: 0 0 .8rem; font: 500 .72rem/1.3 var(--hf); letter-spacing: .22em; text-transform: uppercase; }
.xh-text h2 { margin: 0 0 2.4rem; font: 700 2.5rem/1.2 var(--hf); letter-spacing: .1em; }
.xh-body { position: relative; flex: 1; min-height: 8rem; }
.xh-clip { position: absolute; inset: 0; overflow: hidden; font: 400 1rem/2 var(--hf); }
.xh-clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; background: linear-gradient(rgba(235,235,235,0), #ebebeb); }
.xh-clip p { margin: 0 0 1rem; text-align: left !important; }
.xh-clip img, .xh-clip figure, .xh-clip iframe, .xh-clip .oslides { display: none; }
.xh-more { align-self: flex-start; margin-top: 2.2rem; color: var(--pink, #e62076); font: 400 1.25rem var(--hf); letter-spacing: .14em; text-transform: uppercase; }
.xh-more:hover { text-decoration: underline; text-underline-offset: .3rem; }
.xhub .ipager { width: min(97.5%, 92.5rem); }
@media (max-width: 900px) {
  .xh { grid-template-columns: 1fr; gap: 0; width: 100%; }
  .xh-rev .xh-img { order: 0; }
  .xh + .xh { margin-top: 3rem; }
  .xh-text { padding: 2rem 1.4rem; }
  .xh-text h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
  .xh-body { flex: none; height: 16rem; }
}

@media (max-width: 900px) {
  .inner .ihero { min-height: 13rem; }
  .inner .ihero-bg { width: 100%; mask-image: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.25)); -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.25)); }
  .inner .ihero h1 { font-size: 1.7rem; letter-spacing: .22em; margin-right: -.22em; }
  .inner .hd-menu { background: #000; }
  .inner .osolo > .opanel-head h2, .inner .osolo > .opanel-head h3, .inner .ofaq-title, .inner .orelated-title { font-size: 1.55rem; letter-spacing: .22em; margin-right: -.22em; }
  .inner .opanel-head h2, .inner .opanel-head h3, .inner .osplit .opanel-head h2, .xfeature-text strong { font-size: 1.5rem; }
  .inner .osplit { width: 100%; gap: 0; }
  .inner .osplit-media .oslides { position: static; }
  .inner .osplit-text, .inner .ipanel > .osplit:nth-of-type(even) .osplit-text { border: 0; }
  .inner .osplit-text, .inner .ipanel > .osplit:nth-of-type(even) .osplit-text, .xfeature-text { padding: 2rem 1.4rem; }
  .xfeature { gap: 0; }
  .inner .ipager { flex-direction: column; width: 100%; }
  .inner .ipager a { min-width: 0; }
}

/* ---------- Animations (prototype XD) ---------- */
/* fondu entre les pages (transition « dissolve ») */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .6s; animation-timing-function: ease-in-out; }

/* sous-menus déroulants de l'en-tête, en fondu */
.hd-menu > li { position: relative; }
/* comme le prototype : le cadre, replié sous le lien (33 px sur 295), se déroule vers le bas en 0,6 s ; les intitulés apparaissent en fondu */
.hd-sub { position: absolute; left: -.65rem; top: 100%; z-index: 5; min-width: 10.5rem; margin: 0; padding: .9rem .65rem 1rem; list-style: none; background: #fff; box-shadow: none; opacity: 0; visibility: hidden; clip-path: inset(0 0 89% 0); transition: clip-path .6s ease-in-out, opacity .6s ease-in-out, visibility 0s .6s; }
.hd-sub li { opacity: 0; transition: opacity .6s ease-in-out; }
.has-sub:hover > .hd-sub, .has-sub:focus-within > .hd-sub { opacity: 1; visibility: visible; clip-path: inset(0); transition: clip-path .6s ease-in-out, opacity .2s ease-in-out, visibility 0s; }
.has-sub:hover > .hd-sub li, .has-sub:focus-within > .hd-sub li { opacity: 1; }
.hd-menu .hd-sub a { padding: .35rem 0; font-size: .8rem; font-weight: 600; white-space: nowrap; color: #000; text-decoration: none; }
.hd-menu .hd-sub a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.inner .hd-sub { background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.inner .hd-menu .hd-sub a { color: #fff; }

/* ouverture de l'accueil : la photo passe du plan large au cadrage final, le titre glisse depuis la gauche (3 s) */
.hm-hero-anim > img { inset: auto; left: -39.17%; top: -11.05%; width: 143.7%; height: auto; max-width: none; object-fit: fill; transform-origin: 0 0; animation: hmZoom 3s ease-in-out .2s both; }
@keyframes hmZoom { from { transform: translate(27.26%, .23%) scale(.6959); } to { transform: none; } }
.hm-hero-title { animation: hmTitle 3s ease-in-out .2s both; }
@keyframes hmTitle { from { opacity: 0; transform: translate(-24.9rem, -5.2rem); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hd-sub { position: static; min-width: 0; padding: .3rem 0 .6rem; background: none !important; box-shadow: none; opacity: 1; visibility: visible; transform: none; clip-path: none; text-align: center; }
  .hd-sub li { opacity: 1; }
  .hd-menu .hd-sub a { font-size: .95rem; color: inherit !important; }
  .hm-hero-anim > img { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 30%; animation-name: hmZoomM; }
  @keyframes hmZoomM { from { transform: scale(1); } to { transform: scale(1.12); } }
  @keyframes hmTitle { from { opacity: 0; transform: translateX(-3rem); } to { opacity: 1; transform: none; } }
}
/* intro du prototype (« Plan de travail 1 » → accueil, 3 s) : seule la photo est visible au départ ; le logo arrive de la gauche,
   le menu, la langue et « Billets » de la droite (hors champ dans l'intro), le bandeau « Réservation » monte depuis le bas */
@media (min-width: 901px) {
  .home .hd-logo { animation: hdFromLeft 3s ease-in-out .2s both; }
  .home .hd-menu, .home .hd-lang, .home .hd-tickets { animation: hdFromRight 3s ease-in-out .2s both; }
  .home .hm-resa { animation: hmResaUp 3s ease-in-out .2s both; }
  @keyframes hdFromLeft { from { transform: translateX(-16.4rem); } to { transform: none; } }
  @keyframes hdFromRight { from { transform: translateX(68rem); } to { transform: none; } }
  @keyframes hmResaUp { from { transform: translateY(100%); } to { transform: none; } }
  .home .hd { overflow-x: clip; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero-anim > img, .hm-hero-title, .home .hd-logo, .home .hd-menu, .home .hd-lang, .home .hd-tickets, .home .hm-resa { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (max-width: 900px) { .hd-ul { display: none; } .hd-menu { justify-content: flex-start; gap: .6rem; padding: 2rem 0 3rem; overflow-y: auto; } }

/* ---------- Corrections du musée (PDF octobre 2026) ---------- */
/* bandeaux fournis (photo à gauche déjà fondue dans le noir) : pleine largeur, sans retouche */
.inner .ihero-banner .ihero-bg { width: 100%; object-fit: cover; object-position: 0 50%; mask-image: none; -webkit-mask-image: none; }
.inner .ihero-banner .ihero-shade { display: none; }
/* onglets : ils passent à la ligne au lieu d'être coupés */
.inner .itabs .pills { flex-wrap: wrap; justify-content: center; overflow: visible; row-gap: .8rem; }
.inner .isubs { flex-wrap: wrap; justify-content: center; }
/* logos officiels : remplis (la règle globale « svg { fill: none } » de l'ancien gabarit ne s'applique pas) */
.logo-mark, .logo-text { fill: currentColor; stroke: none; }
/* boutons dans les textes : texte blanc */
.official a.btn, .inner .osplit-text .official a.btn { color: #fff; text-decoration: none; }

/* ---------- Page Newsletter : formulaire Mailchimp centré, au style du site ---------- */
.page-newsletter .official { max-width: 40rem; margin: 0 auto; text-align: center; }
.page-newsletter .official > h2 { display: none; margin: 0; font: 500 .85rem/1.4 var(--hf) !important; letter-spacing: .3em; text-transform: uppercase; }
.page-newsletter .official > h2 + h2 { margin: .6rem 0 2.6rem; font: 700 2.4rem/1.2 var(--hf) !important; letter-spacing: .3em; margin-right: -.3em; }
.page-newsletter #mc_embed_signup { width: 100% !important; max-width: 34rem; margin: 0 auto; background: none !important; font: 400 1rem/1.5 var(--hf) !important; text-align: left; }
.page-newsletter #mc_embed_signup form { padding: 0 !important; }
.page-newsletter #mc_embed_signup .indicates-required { margin: 0 0 1rem; text-align: right; font-size: .8rem; color: #666; }
.page-newsletter #mc_embed_signup .asterisk { color: var(--pink, #e62076); }
.page-newsletter #mc_embed_signup .mc-field-group { width: 100% !important; min-height: 0; padding-bottom: 1.4rem; }
.page-newsletter #mc_embed_signup .mc-field-group label, .page-newsletter #mc_embed_signup .mc-field-group > strong { display: block; margin-bottom: .45rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.page-newsletter #mc_embed_signup .mc-field-group input[type=email], .page-newsletter #mc_embed_signup .mc-field-group input[type=text] { width: 100%; height: 3.1rem; padding: 0 1rem; border: 1px solid #000; border-radius: 0; background: #fff; font: inherit; }
.page-newsletter #mc_embed_signup .mc-field-group input:focus { outline: 2px solid var(--pink, #e62076); outline-offset: 1px; }
.page-newsletter #mc_embed_signup .input-group ul { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.page-newsletter #mc_embed_signup .input-group li { display: flex; align-items: center; gap: .5rem; padding: 0; }
.page-newsletter #mc_embed_signup .input-group li label { display: inline; margin: 0; font-weight: 400; letter-spacing: .1em; }
.page-newsletter #mc_embed_signup .input-group input[type=checkbox] { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #000; }
.page-newsletter #mc_embed_signup .clear { text-align: center; }
.page-newsletter #mc_embed_signup .button { width: 100% !important; max-width: 18rem; height: 3.1rem !important; margin: .8rem auto 0 !important; border: 0; border-radius: 0 !important; background: #000 !important; color: #fff; font: 600 .85rem var(--hf) !important; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.page-newsletter #mc_embed_signup .button:hover { background: var(--pink, #e62076) !important; }

/* ---------- Menu mobile : accordéon (rubriques alignées, sous-menus repliés) ---------- */
.hd-toggle { display: none; }
@media (max-width: 900px) {
  .hd-menu { align-items: stretch; gap: 0; padding: 1.5rem 0 3rem; }
  .hd-menu > li { width: 100%; padding: 0 1.5rem; border-bottom: 1px solid rgba(0,0,0,.1); display: flex; flex-wrap: wrap; align-items: center; }
  .inner .hd-menu > li { border-color: rgba(255,255,255,.15); }
  .hd-menu > li > a { flex: 1; display: block; padding: 1.05rem 0; font-size: 1.35rem; font-weight: 500; text-align: left; }
  .hd-menu > li > a::after { display: none; }
  .hd-menu > li:hover > a, .hd-menu > li:focus-within > a { font-weight: 500; }
  .hd-menu > li > a[aria-current="page"], .hd-menu:hover > li:not(:hover) > a[aria-current="page"] { font-weight: 700; }
  .hd-toggle { display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; margin-right: -.6rem; border: 0; background: none; color: inherit; cursor: pointer; }
  .hd-toggle::before { content: "+"; font: 300 1.9rem/1 var(--hf); transition: transform .3s; }
  .hd-menu > li.open > .hd-toggle::before { transform: rotate(45deg); }
  .hd-menu .hd-sub { flex-basis: 100%; display: none; padding: 0 0 1rem .2rem; text-align: left; }
  .hd-menu > li.open > .hd-sub { display: block; }
  .hd-menu .hd-sub a { padding: .55rem 0; font-size: 1.05rem; font-weight: 400; }
  .hd .burger:focus { outline: none; }
  .hd .burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
}
/* fenêtre peu haute (4K, 2560 × 1440, fenêtre non maximisée) : l'ouverture garde les proportions et l'animation de la maquette,
   elle est seulement réduite pour tenir dans la fenêtre (photo, titre et bouton « Réservation » réduits ensemble) */
@media (min-width: 901px) {
  .hm-hero, .home .hd-in { width: min(var(--w2), 92vw, calc((100svh - 7.5rem) * 1560 / 916)); }
  .hm-hero-title { right: 8.82%; bottom: 9.43%; width: 58.67%; }
  .hm-resa { width: 32.4%; height: 8.2%; min-height: 2.6rem; }
}

