/* Pages intérieures (salons, infos utiles, exposer, société, news, album, contact) — s'ajoute à styles.css + salon.css */

/* Sous-menu « Les salons » (commun à toutes les pages, y compris l'accueil) */
.nav-sub { position: relative; display: flex; align-items: center; }
.nav-sub > a { padding-right: 0; }
.sub-toggle { display: inline-grid; place-items: center; width: 32px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.nav-sub.is-open .sub-toggle svg, .nav-sub:hover .sub-toggle svg { transform: rotate(180deg); }
.nav .sub {
  position: absolute; top: calc(100% - 2px); left: -.5rem; min-width: 15rem; z-index: 5;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-s); padding: .5rem; box-shadow: var(--shadow-lift);
  display: grid; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .25s, translate .3s var(--ease-out), visibility 0s .3s;
}
.sub::before { content: ""; position: absolute; left: 1.2rem; top: -6px; width: 12px; height: 12px; background: var(--surface); rotate: 45deg; border-radius: 2px; }
.nav .nav-sub:hover .sub, .nav .nav-sub:focus-within .sub, .nav .nav-sub.is-open .sub { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .25s, translate .3s var(--ease-out); }
.nav .sub a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .45rem .75rem; border-radius: 8px; min-height: 40px; font-weight: 600; }
.nav .sub a:hover, .nav .sub a:focus-visible { background: var(--linen); }
.nav .sub a::after { display: none; }
.nav .sub small { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.nav .sub .sub-all { margin-top: .25rem; padding-top: .6rem; border-top: 2px dashed rgb(17 0 71 / .15); border-radius: 0; color: var(--magenta-deep); }
.nav a[aria-current="page"]:not(.nav-fb)::after { transform: scaleX(1); }
.footer-sub { margin: 1.25rem 0 .25rem; font: 800 var(--step-0)/1.1 var(--font-display); letter-spacing: -.01em; color: var(--yellow); }
.footer-salons small { color: inherit; margin-left: .35rem; opacity: .7; }
@media (max-width: 920px) {
  .nav-sub { flex-wrap: wrap; }
  .sub-toggle { display: none; }
  .nav .sub { position: static; opacity: 1; visibility: visible; translate: none; background: none; color: inherit; box-shadow: none; padding: 0 0 .5rem 1rem; min-width: 0; width: 100%; border-left: 2px dashed rgb(255 255 255 / .25); margin: .25rem 0 .5rem .4rem; }
  .sub::before { display: none; }
  .nav .sub a { font: 600 var(--step-0)/1.3 var(--font-text); min-height: 44px; padding-left: .75rem; }
  .nav .sub a:hover, .nav .sub a:focus-visible { background: rgb(255 255 255 / .08); }
  .nav .sub small { color: var(--on-ink-soft); }
  .nav .sub .sub-all { color: var(--yellow); border-top: 0; margin: 0; padding-top: .45rem; }
}

.timeline .poster img { max-height: 24rem; object-fit: cover; object-position: top; }

/* En-tête de page (champ marine) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .threads { left: 38%; width: 62%; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
.page-title { font-size: var(--step-4); font-weight: 800; line-height: .98; letter-spacing: -.03em; margin-bottom: var(--space-m); max-width: 16ch; animation: up .9s var(--ease-out) .1s both; }
.page-title .hl { color: var(--yellow); }
.page-lead { font-size: var(--step-1); line-height: 1.5; color: var(--on-ink-soft); max-width: 52ch; animation: up .9s var(--ease-out) .2s both; }
.page-lead strong { color: var(--on-ink); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--space-l); align-items: center; }

/* Sections de contenu */
.section { padding: var(--space-xl) 0; }
.section--tight { padding-top: var(--space-l); }
.section .h2 { font-size: var(--step-3); margin-bottom: var(--space-m); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-l); align-items: start; }
.prose--page { max-width: 68ch; }
.prose--page h2 { margin-top: var(--space-l); }
.prose--page > h2:first-child { margin-top: 0; }
.badge--off { background: rgb(17 0 71 / .12); color: var(--ink-soft); rotate: 0deg; }

/* Infos utiles : « tout y est » en grille de chips */
.stock { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--space-m) 0; }
.stock li { font-weight: 600; font-size: var(--step--1); padding: .45rem .9rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px rgb(17 0 71 / .14); }
.stock li:nth-child(5n+1) { background: var(--yellow); box-shadow: none; }
.steps { counter-reset: step; display: grid; gap: 1rem; margin: var(--space-m) 0; }
.steps li { position: relative; padding-left: 3.2rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 800 1.1rem/2.3rem var(--font-display); text-align: center; }
.infos--page { margin-top: 0; padding-top: var(--space-xl); }
.infos--page .infos-copy > p:not(.infos-note) { color: var(--on-ink-soft); }
/* salons.html : le champ jaune de l'annonce */
.plus { background: var(--yellow); color: var(--ink); padding: var(--space-xl) 0; }
.plus .infos-grid { grid-template-columns: 1fr; }
.plus .infos-copy > p { max-width: 60ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.plus .perks svg { background: var(--ink); stroke: var(--yellow); }
.plus-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: var(--space-m); }

.exposer-more { margin-top: var(--space-m); }

/* Exposer : les trois profils avec leur contact */
.profile .contact { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .6rem; }
.profile .contact a { font-weight: 700; color: var(--magenta-deep); text-decoration-style: dashed; text-underline-offset: .22em; }

/* Société : les quatre salons de la société */
.sisters { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: var(--space-m) 0; }
.sisters li { background: var(--surface); border-radius: var(--radius-s); padding: 1.25rem 1.4rem; box-shadow: var(--shadow); font: 800 var(--step-1)/1.1 var(--font-display); letter-spacing: -.02em; position: relative; }
.sisters li:nth-child(odd) { rotate: -1deg; }
.sisters li:nth-child(even) { rotate: 1deg; }
.sisters li.is-us { background: var(--ink); color: var(--yellow); }
.sisters small { display: block; margin-top: .4rem; font: 600 var(--step--1)/1.4 var(--font-text); letter-spacing: 0; color: var(--ink-soft); }
.sisters li.is-us small { color: var(--on-ink-soft); }
.notice--page { margin-top: var(--space-xl); }
.notice--page .notice-inner { align-items: flex-start; }
.notice--page p { font-weight: 500; }
.notice--page p strong { display: block; font: 800 var(--step-1)/1.1 var(--font-display); margin-bottom: .4rem; }

/* News */
.news-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--space-l); align-items: start; }
.news-art + .news-art { margin-top: var(--space-xl); padding-top: var(--space-l); position: relative; }
.news-art + .news-art::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; color: var(--magenta-deep); background: var(--stitch); background-size: 22px 3px; opacity: .5; }
.news-art .h2 { margin-bottom: var(--space-s); }
.news-aside { display: grid; gap: 1rem; }
.heart { display: block; width: min(100%, 18rem); margin-inline: auto; rotate: 4deg; transition: rotate .4s var(--ease-out), transform .4s var(--ease-out); filter: drop-shadow(0 16px 24px rgb(17 0 71 / .25)); }
.heart:hover { rotate: 0deg; transform: scale(1.04); }

/* Album : mur de photos épinglées */
.album { columns: 4 14rem; column-gap: 1.25rem; }
.album li { break-inside: avoid; margin-bottom: 1.25rem; }
.album a { display: block; background: var(--surface); padding: 8px 8px 10px; border-radius: 4px; box-shadow: var(--shadow); transition: rotate .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s; }
.album li:nth-child(3n+1) a { rotate: -1.2deg; }
.album li:nth-child(3n+2) a { rotate: 1deg; }
.album li:nth-child(3n) a { rotate: -.6deg; }
.album a:hover, .album a:focus-visible { rotate: 0deg; transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.album img { width: 100%; border-radius: 2px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; }
.lightbox::backdrop { background: rgb(17 0 71 / .92); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox img { max-width: 96vw; max-height: 82vh; width: auto; height: auto; border-radius: 4px; background: var(--surface); padding: 8px; }
.lightbox figcaption { color: var(--on-ink); font-weight: 600; text-align: center; }
.lightbox-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.lightbox-bar .btn { color: var(--on-ink); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .4); }
.lightbox-bar .btn:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }

/* Contact */
.contact-card { background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); position: relative; rotate: -1.5deg; box-shadow: 0 2px 4px rgb(17 0 71 / .2), 0 30px 60px -24px rgb(17 0 71 / .6); }
.contact-card::before { content: ""; position: absolute; inset: 8px; border-radius: calc(var(--radius) - 6px); border: 2px dashed rgb(17 0 71 / .35); pointer-events: none; }
.contact-card address { font-style: normal; font: 700 var(--step-1)/1.4 var(--font-display); letter-spacing: -.01em; margin-bottom: 1rem; }
.contact-card address strong { display: block; font-size: var(--step-2); margin-bottom: .3rem; }
.contact-list { display: grid; gap: .5rem; position: relative; }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-style: dashed; text-underline-offset: .25em; }
.contact-list svg { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--ink); fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a.fb svg { fill: var(--yellow); stroke: none; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.legal dt { font-weight: 700; color: var(--ink-soft); }
.legal dd { margin: 0; }

@media (max-width: 860px) {
  .page-hero .threads { left: 0; width: 100%; opacity: .35; -webkit-mask: none; mask: none; }
  .page-hero-grid, .two-col, .news-art { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: .1rem 0; }
  .legal dt { margin-top: .6rem; }
  .contact-card { rotate: 0deg; }
}
