/* Page d'un salon (salon.html) — s'ajoute à styles.css */
.hero--salon { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero--salon .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; }
.salon-statut { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--step--1); background: var(--magenta); color: var(--ink); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.25rem; animation: up .9s var(--ease-out) both; }
.salon-statut[data-kind="passé"] { background: var(--on-ink-soft); }
.salon-statut[data-kind="reporté"] { background: var(--yellow); }
.salon-statut::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .6; }
.salon-title { font-size: var(--step-4); font-weight: 800; line-height: .98; letter-spacing: -.03em; margin-bottom: .6rem; animation: up .9s var(--ease-out) .1s both; }
.salon-dates { font: 800 var(--step-3)/1 var(--font-display); color: var(--yellow); letter-spacing: -.03em; margin-bottom: .6rem; font-variant-numeric: tabular-nums; animation: up .9s var(--ease-out) .2s both; }
.salon-lieu { font-size: var(--step-1); font-weight: 600; margin-bottom: 1rem; animation: up .9s var(--ease-out) .3s both; }
.salon-accroche { font-size: var(--step-1); line-height: 1.5; color: var(--on-ink-soft); max-width: 40ch; margin-bottom: var(--space-m); animation: up .9s var(--ease-out) .4s both; }
.salon-actions { display: flex; flex-wrap: wrap; gap: .6rem; animation: up .9s var(--ease-out) .5s both; }
.btn--light { color: var(--on-ink); background: var(--ink); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5); }
.btn--light:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
.poster--hero { justify-self: center; width: min(100%, 380px); rotate: 3deg; animation: drop 1.3s var(--ease-out) .2s both; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); box-shadow: none; }
.poster--hero img { aspect-ratio: auto; }
.poster--hero[hidden] { display: none; }

.salon-body { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: var(--space-l) var(--space-xl); padding: var(--space-xl) 0; align-items: start; }
.fiche { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); rotate: -1deg; }
.fiche::before { content: ""; position: absolute; inset: 8px; border-radius: calc(var(--radius) - 6px); border: 2px dashed rgb(17 0 71 / .2); pointer-events: none; }
.fiche dl { margin: 0; display: grid; gap: .9rem; }
.fiche dt { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
.fiche dd { margin: 0; font-weight: 600; }
.fiche .tarifs { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.fiche .tarifs li { padding-left: 1.1rem; position: relative; line-height: 1.35; }
.fiche .tarifs li::before { content: ""; position: absolute; left: 0; top: .5em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--magenta); }
.fiche .compte { font: 800 var(--step-2)/1 var(--font-display); color: var(--magenta-deep); letter-spacing: -.02em; }
.fiche .fiche-links { margin-top: 1.25rem; display: grid; gap: .6rem; }
.fiche .fiche-links a { justify-content: center; }
.fiche .link { justify-self: start; }

/* Prose — rendu du markdown, aussi utilisé par l'aperçu de l'éditeur */
.prose { max-width: 72ch; font-size: var(--step-0); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--step-3); font-weight: 800; margin: var(--space-xl) 0 var(--space-m); padding-bottom: .5rem; position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 6rem; height: 3px; color: var(--magenta-deep); background: var(--stitch); background-size: 18px 3px; }
.prose h3 { font-size: var(--step-2); font-weight: 800; margin: var(--space-l) 0 var(--space-s); color: var(--ink); }
.prose h4 { font-size: var(--step-1); font-weight: 700; margin: var(--space-m) 0 .5rem; color: var(--magenta-deep); }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--magenta-deep); font-weight: 600; text-decoration-style: dashed; text-decoration-thickness: 1.5px; text-underline-offset: .22em; overflow-wrap: anywhere; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; display: grid; gap: .35rem; }
.prose ul { list-style: none; padding: 0; }
.prose ul > li { position: relative; padding-left: 1.4rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2px rgb(17 0 71 / .35); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { font-weight: 800; color: var(--magenta-deep); }
.prose ul.grid { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .7rem .9rem; margin-block: var(--space-m) var(--space-l); }
.prose ul.grid > li { padding: .55rem 0 .6rem 1.4rem; font-size: var(--step--1); line-height: 1.45; }
.prose ul.grid > li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; color: rgb(17 0 71 / .15); background: var(--stitch); background-size: 18px 2px; }
.prose ul.grid > li::before { top: .95em; }
.prose ul.grid > li strong { display: block; color: var(--ink); font-size: var(--step-0); }
.prose blockquote { margin: var(--space-m) 0; padding: 1.25rem 1.5rem; background: var(--surface); border-radius: var(--radius-s); box-shadow: var(--shadow); rotate: -.6deg; font-size: var(--step-1); line-height: 1.45; position: relative; }
.prose blockquote::before { content: "“"; position: absolute; left: .4rem; top: -.4rem; font: 800 3.5rem/1 var(--font-display); color: var(--magenta); opacity: .5; }
.prose blockquote p { margin: 0 0 .6em; }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; height: 3px; color: var(--ink); background: var(--stitch); background-size: 18px 3px; opacity: .3; margin: var(--space-l) 0; }
.prose img { width: 100%; height: auto; border-radius: 4px; }
.prose img[role=button], .poster { cursor: zoom-in; }
.prose p img { display: block; max-width: min(100%, 28rem); margin: .5rem 0 1rem; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; margin: var(--space-m) 0; }
.prose .gallery figure { margin: 0; background: var(--surface); padding: 8px 8px 10px; box-shadow: var(--shadow); border-radius: 4px; rotate: -1.2deg; transition: rotate .4s var(--ease-out), transform .4s var(--ease-out); }
.prose .gallery figure:nth-child(even) { rotate: 1.4deg; }
.prose .gallery figure:hover { rotate: 0deg; transform: translateY(-4px); }
.prose .gallery img { aspect-ratio: 1; object-fit: cover; }
.prose .gallery figure:only-child { max-width: 28rem; }
.prose .gallery figure:only-child img { aspect-ratio: auto; }

.autres { background: var(--ink); color: var(--on-ink); padding: var(--space-xl) 0; }
.autres[hidden] { display: none; }
.autres .h2 { color: var(--yellow); font-size: var(--step-3); margin-bottom: var(--space-m); }
.autres ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.autres a { display: block; padding: 1.25rem 1.4rem; border-radius: var(--radius-s); background: rgb(255 255 255 / .06); text-decoration: none; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .15); transition: transform .4s var(--ease-out), background-color .2s; }
.autres a:hover { background: var(--magenta-deep); transform: translateY(-3px); }
.autres strong { display: block; font: 800 var(--step-1)/1.1 var(--font-display); letter-spacing: -.02em; margin-bottom: .3rem; }
.autres span { color: var(--on-ink-soft); font-weight: 600; }

.not-found { padding: var(--space-xl) 0; text-align: center; }
.not-found .h2 { margin-bottom: var(--space-m); }

@media (max-width: 860px) {
  .hero--salon .hero-grid { grid-template-columns: 1fr; }
  .poster--hero { width: min(60%, 260px); justify-self: end; order: -1; margin-bottom: -1rem; }
  .salon-body { grid-template-columns: 1fr; gap: var(--space-l); }
  .fiche { position: static; rotate: 0deg; }
}
