:root {
  --fond: #f7f4ed;
  --panneau: #e9e3d6;
  --bloc: #fffdf8;
  --encre: #20242a;
  --encre-douce: #5b5347;
  --accent: #1a4f7a;
  --accent-fonce: #0f3a5c;
  --lisere: #d6cfc0;
  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --max: 76rem;
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--sans); line-height: 1.65; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-fonce); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cm-passe { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.cm-corniche { border-bottom: 1px solid var(--lisere); background: rgba(247,244,237,.96); }
.cm-corniche__rang { display: flex; align-items: center; gap: 1.5rem 2.5rem; min-height: 5.35rem; padding-block: 1rem; }
.cm-enseigne { color: var(--encre); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.05; text-decoration: none; white-space: nowrap; }
.cm-enseigne span { display: block; margin-top: .35rem; color: var(--encre-douce); font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.cm-visite { margin-left: auto; }
.cm-visite ul, .cm-socle ul { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; list-style: none; margin: 0; padding: 0; }
.cm-visite a { color: var(--encre); font-size: .9rem; text-decoration: none; }
.cm-visite a:hover, .cm-visite a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .35rem; }
.cm-scene { min-height: 28rem; }
.cm-accroche { position: relative; min-height: 20rem; overflow: hidden; background: var(--accent-fonce); }
.cm-accroche__vue { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.cm-accroche::after { position: absolute; inset: 0; content: ""; background: rgba(15,58,92,.78); }
.cm-accroche > .cm-passe { position: relative; z-index: 1; display: flex; align-items: end; min-height: 20rem; padding-block: 2.5rem; }
.cm-cartel-flottant { max-width: 45rem; color: #fffdf8; }
.cm-cartel-flottant .cm-inventaire { color: #dceaf4; }
.cm-cartel-flottant h1 { max-width: 15ch; margin: .5rem 0 .55rem; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.03em; }
.cm-cartel-flottant p { max-width: 55ch; margin: 0; color: #f1ece1; font-size: 1.08rem; }
.cm-inventaire { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.cm-accroche__stats { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.2rem 0 0; color: #f1ece1; font-size: .83rem; text-transform: uppercase; letter-spacing: .08em; }
.cm-accroche__stats strong { color: #fff; font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0; }
.cm-salle { padding-block: 2.6rem; }
.cm-salle + .cm-salle { border-top: 1px solid var(--lisere); }
.cm-salle__bandeau { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.cm-salle__titre h1, .cm-salle__titre h2 { margin: .15rem 0 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.05; }
.cm-salle__note { max-width: 30ch; margin: 0; color: var(--encre-douce); font-size: .86rem; text-align: right; }
.cm-cimaise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.cm-tirage { min-width: 0; border-top: 3px solid var(--accent); background: var(--bloc); }
.cm-tirage:first-child { grid-column: span 2; }
.cm-tirage__cadrage { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panneau); }
.cm-tirage__vue { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.cm-tirage:hover .cm-tirage__vue { transform: scale(1.025); }
.cm-tirage__cartel { padding: 1rem 1rem 1.1rem; }
.cm-tirage__titre { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.15; }
.cm-tirage__lien { color: var(--encre); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.cm-tirage__lien:hover { color: var(--accent); }
.cm-tirage__mot { margin: .55rem 0 .75rem; color: var(--encre-douce); font-size: .92rem; line-height: 1.5; }
.cm-tirage__indication { margin: 0; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cm-repertoire { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cm-repertoire__entree { position: relative; min-height: 11rem; overflow: hidden; background: var(--accent-fonce); }
.cm-repertoire__vue { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; opacity: .65; }
.cm-repertoire__entree::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(15,58,92,.92), rgba(15,58,92,.1)); }
.cm-repertoire__nom { position: absolute; right: 1rem; bottom: .9rem; left: 1rem; z-index: 1; color: #fffdf8; font-family: var(--serif); font-size: 1.35rem; line-height: 1.05; text-decoration: none; }
.cm-repertoire__nom:hover { color: #fff; }
.cm-repertoire__compte { display: block; margin-top: .35rem; color: #dceaf4; font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.cm-fil { margin: 1.8rem 0 0; color: var(--encre-douce); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.cm-fil ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.cm-fil li + li::before { content: "›"; padding-right: .3rem; color: var(--accent); }
.cm-fil a { color: var(--encre-douce); }
.cm-ouverture { padding-block: 2.2rem 1.5rem; border-bottom: 1px solid var(--lisere); }
.cm-ouverture h1 { max-width: 20ch; margin: .45rem 0 .7rem; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.03em; }
.cm-ouverture__chapo { max-width: 62ch; margin: 0; color: var(--encre-douce); font-size: 1.13rem; }
.cm-indications { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--encre-douce); font-size: .82rem; }
.cm-indications li + li::before { content: "·"; padding-right: 1.2rem; color: var(--accent); }
.cm-planche { margin: 1.6rem 0 2.3rem; }
.cm-planche img { width: 100%; max-height: 36rem; object-fit: cover; border: 1px solid var(--lisere); }
.cm-planche figcaption, .cm-diptyque figcaption { margin-top: .55rem; color: var(--encre-douce); font-size: .83rem; }
.cm-colonne { max-width: var(--measure); margin-inline: auto; }
.cm-colonne p, .cm-colonne li { font-size: 1.05rem; }
.cm-colonne h2 { margin: 2.2rem 0 .65rem; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.cm-colonne h3 { margin: 1.8rem 0 .45rem; font-family: var(--serif); font-size: 1.35rem; }
.cm-byline { margin: 1.1rem 0 0; color: var(--encre-douce); font-size: .86rem; }
.cm-diptyque { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.cm-diptyque div { aspect-ratio: 1 / 1; overflow: hidden; background: var(--panneau); }
.cm-diptyque img { width: 100%; height: 100%; object-fit: cover; }
.cm-diptyque figcaption { grid-column: 1 / -1; }
.cm-exergue { margin: 2rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--panneau); color: var(--accent-fonce); font-family: var(--serif); font-size: 1.35rem; }
.cm-lien-suite { display: inline-block; margin-top: 1rem; font-weight: 700; text-underline-offset: .2em; }
.cm-index-intro { max-width: var(--measure); margin: 0 auto 1.5rem; color: var(--encre-douce); font-size: 1.05rem; }
.cm-section-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
.cm-section-list .cm-tirage:first-child { grid-column: auto; }
.cm-trust-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); gap: 2.5rem; align-items: start; }
.cm-trust-grid figure { margin: 0; }
.cm-trust-grid figure img { width: 100%; border: 1px solid var(--lisere); }
.cm-trust-grid figcaption { margin-top: .55rem; color: var(--encre-douce); font-size: .82rem; }
.cm-socle { margin-top: 3rem; padding-block: 2.4rem 1.4rem; background: var(--panneau); border-top: 1px solid var(--lisere); }
.cm-socle__rang { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.cm-socle h2 { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.3rem; }
.cm-socle p { max-width: 34ch; margin: .35rem 0; color: var(--encre-douce); font-size: .9rem; }
.cm-socle ul { display: block; }
.cm-socle li { margin: .25rem 0; font-size: .88rem; }
.cm-socle__bas { padding-top: 1.4rem; border-top: 1px solid var(--lisere); }
@media (max-width: 58rem) {
  .cm-corniche__rang { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .cm-visite { margin-left: 0; }
  .cm-visite ul { gap: .35rem .9rem; }
  .cm-cimaise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-tirage:first-child { grid-column: span 2; }
  .cm-repertoire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 38rem) {
  .cm-passe { width: min(100% - 1.25rem, var(--max)); }
  .cm-enseigne { white-space: normal; }
  .cm-visite ul { gap: .25rem .65rem; }
  .cm-visite a { font-size: .82rem; }
  .cm-accroche, .cm-accroche > .cm-passe { min-height: 18rem; }
  .cm-accroche > .cm-passe { padding-block: 1.75rem; }
  .cm-cartel-flottant h1 { font-size: 2.8rem; }
  .cm-cartel-flottant p { font-size: .98rem; }
  .cm-accroche__stats { gap: .4rem .8rem; font-size: .69rem; }
  .cm-salle { padding-block: 1.8rem; }
  .cm-salle__bandeau { align-items: flex-start; flex-direction: column; }
  .cm-salle__note { text-align: left; }
  .cm-cimaise, .cm-section-list, .cm-repertoire, .cm-diptyque, .cm-trust-grid { grid-template-columns: 1fr; }
  .cm-tirage:first-child { grid-column: auto; }
  .cm-diptyque figcaption { grid-column: auto; }
  .cm-ouverture h1 { font-size: 2.75rem; }
  .cm-socle__rang { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { .cm-corniche, .cm-socle { background: transparent; } .cm-accroche::after { background: transparent; } a { color: inherit; } }
