/* Éléments communs à toutes les pages : menu, boutons, Carnet d'atelier, visionneuse.
   Fonctionne aussi sur index.php et article.php (variables avec valeurs de secours). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--body, 'Outfit', sans-serif); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--orange, #FF4B00); color: #fff; border: 1px solid var(--orange, #FF4B00); padding: 1rem 2rem; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; line-height: 1.2; }
.sh-btn:hover { background: var(--ink, #0A0908); border-color: var(--ink, #0A0908); color: #fff; }
.sh-btn.ghost { background: transparent; color: var(--ink, #0A0908); border-color: rgba(10,9,8,.3); }
.sh-btn.ghost:hover { background: var(--ink, #0A0908); color: #fff; }
.sh-btn:disabled { opacity: .6; cursor: wait; }

/* ── MENU ── */
.mn { display: flex; align-items: center; gap: 1.7rem; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); padding: .55rem 1.5rem; font-family: var(--body, 'Outfit', sans-serif); }
.mn a, .mn button { font-family: inherit; }
.mn > a, .mn-dd > a { font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--stone, #6b6762); text-decoration: none; padding: .6rem 0; transition: color .2s; white-space: nowrap; }
.mn > a:hover, .mn-dd > a:hover, .mn a.on { color: var(--orange, #FF4B00); }
.mn-dd { position: relative; display: flex; align-items: center; }
.mn-tg { background: none; border: 0; color: var(--stone, #6b6762); cursor: pointer; font-size: .7rem; padding: .6rem .3rem; line-height: 1; }
.mn-dd ul { list-style: none; position: absolute; top: 100%; left: -1rem; min-width: 15rem; background: #fff; border: 1px solid rgba(10,9,8,.08); box-shadow: 0 14px 30px rgba(10,9,8,.08); padding: .5rem 0; display: none; z-index: 5; }
.mn-dd:hover ul, .mn-dd:focus-within ul, .mn-dd.open ul { display: block; }
.mn-dd ul a { display: block; padding: .6rem 1.2rem; font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, #0A0908); text-decoration: none; }
.mn-dd ul a:hover { color: var(--orange, #FF4B00); background: var(--grey, #F4F4F2); }
.mn .mn-cta { background: var(--orange, #FF4B00); color: #fff; padding: .65rem 1.1rem; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s; }
.mn .mn-cta:hover { background: var(--ink, #0A0908); color: #fff; }
.mn-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(10,9,8,.2); background: rgba(255,255,255,.94); cursor: pointer; position: relative; }
.mn-burger i, .mn-burger i::before, .mn-burger i::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink, #0A0908); content: ''; transition: transform .25s, top .25s; }
.mn-burger i { top: 21px; }
.mn-burger i::before { left: 0; right: 0; top: -6px; }
.mn-burger i::after { left: 0; right: 0; top: 6px; }
.mn-burger[aria-expanded="true"] i { background: transparent; }
.mn-burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.mn-burger[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .mn-burger { display: block; z-index: 130; }
  .mn { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.4rem 1.4rem; background: #fff; border-bottom: 1px solid rgba(10,9,8,.1); max-height: calc(100vh - 70px); overflow-y: auto; }
  .mn.open { display: flex; }
  .mn > a, .mn-dd > a { padding: .95rem 0; font-size: .78rem; border-bottom: 1px solid rgba(10,9,8,.07); }
  .mn-dd { display: block; }
  .mn-tg { display: none; }
  .mn-dd ul { display: block; position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 .4rem .9rem; }
  .mn-dd ul a { padding: .6rem 0; font-size: .72rem; color: var(--stone, #6b6762); }
  .mn .mn-cta { margin-top: 1rem; text-align: center; padding: 1rem; }
}

/* ── BANDEAU + BLOC CARNET D'ATELIER ── */
.sh-band { background: var(--ink, #0A0908); color: #fff; padding: 1.4rem 3.5rem 1.4rem 5.5rem; }
.sh-band-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.sh-band p { font-family: var(--body, 'Outfit', sans-serif); font-weight: 300; font-size: .98rem; max-width: 560px; }
.sh-band strong { font-weight: 600; }
.sh-nl-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: stretch; }
.sh-band .sh-nl-form { flex: 0 1 460px; }
.sh-nl-email { flex: 1 1 220px; font: inherit; font-family: var(--body, 'Outfit', sans-serif); padding: .95rem 1.1rem; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 0; min-width: 0; }
.sh-nl-email::placeholder { color: rgba(255,255,255,.6); }
.sh-nl-msg { flex-basis: 100%; font-size: .85rem; min-height: 0; color: #ffb59a; margin: 0; }
.sh-nl-note { flex-basis: 100%; font-size: .74rem; color: rgba(255,255,255,.6); margin: .2rem 0 0; }
.sh-nl-note a { color: inherit; }
.sh-nl-ok { font-weight: 500; }
.sh-nl { padding: 4rem 0; background: var(--ink, #0A0908); color: #fff; }
.sh-nl-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sh-nl h2 { font-family: var(--display, 'Bebas Neue', sans-serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: .03em; margin-bottom: .8rem; line-height: 1.05; }
.sh-nl h2 em { font-family: var(--cond, 'Barlow Condensed', sans-serif); font-style: italic; font-weight: 300; color: var(--orange, #FF4B00); }
.sh-nl p { font-weight: 300; color: rgba(255,255,255,.78); }
.sh-nl .sh-nl-note, .sh-nl .sh-nl-msg { color: rgba(255,255,255,.6); }
.sh-nl .sh-nl-msg { color: #ffb59a; }
@media (max-width: 960px) { .sh-nl-in { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (max-width: 700px) { .sh-band { padding: 1.4rem 1.4rem; } }

/* ── VISIONNEUSE PHOTO ── */
.sh-lb { position: fixed; inset: 0; background: rgba(10,9,8,.93); z-index: 500; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 1.2rem; }
.sh-lb.open { display: flex; }
.sh-lb img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.sh-lb p { color: #fff; font-size: .9rem; margin-top: .9rem; text-align: center; max-width: 640px; font-weight: 300; }
.sh-lb button { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; width: 44px; height: 44px; }
