/* Fond : pierre fissurée, braises qui s'allument et s'éteignent dans les failles */
.bg-stone { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #0b0a0a url(/img/fond-pierre.webp) center / cover no-repeat; }
.bg-stone span { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; will-change: opacity; animation: braise var(--d) ease-in-out var(--delay) infinite; }
.bg-stone span:nth-child(1) { background-image: url(/img/fond-braise-1.webp); --d: 7s; --delay: 0s; }
.bg-stone span:nth-child(2) { background-image: url(/img/fond-braise-2.webp); --d: 9.5s; --delay: -3.2s; }
.bg-stone span:nth-child(3) { background-image: url(/img/fond-braise-3.webp); --d: 12s; --delay: -7s; }
@keyframes braise {
  0%, 100% { opacity: 0.08; }
  16% { opacity: 0.9; }
  21% { opacity: 0.62; }
  26% { opacity: 1; }
  48% { opacity: 0.35; }
  62% { opacity: 0.08; }
}
@media (prefers-reduced-motion: reduce) { .bg-stone span { animation: none; opacity: 0.6; } }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
main, .footer { position: relative; z-index: 2; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  transition: background 0.35s, border-color 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled {
  border-bottom-color: var(--line);
  padding-top: 0.55rem; padding-bottom: 0.55rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav-brand span { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.02em; color: var(--bone-bright); }
.nav-brand em { font-style: normal; font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.4em; color: var(--stone-400); margin-left: 0.2rem; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav-links a:not(.btn) {
  font-family: var(--font-caps); font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  text-decoration: none; color: var(--stone-300); position: relative; padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--ember-hot); box-shadow: var(--glow); transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:not(.btn):hover { color: var(--bone-bright); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-insta svg, .insta-card svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-insta svg .fill, .insta-card svg .fill { fill: currentColor; stroke: none; }
.nav-insta { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--bone); transition: color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.nav-insta:hover { color: var(--ember-hot); border-color: var(--ember); box-shadow: 0 0 16px rgba(255, 59, 47, 0.3); }
.nav-burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--bone); transition: transform 0.3s, top 0.3s; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 26px; }
.nav-burger[aria-expanded=true] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded=true] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 6rem 1rem 5.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 50% 42%, rgba(92, 10, 12, 0.32), transparent 70%),
    radial-gradient(ellipse at 50% 120%, rgba(30, 28, 26, 0.9), transparent 60%);
}
.hero-ring {
  position: absolute; top: 42%; left: 50%;
  width: min(118vw, 940px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.45;
  animation: spin 160s linear infinite;
}
.hero-ring svg { width: 100%; height: 100%; overflow: visible; }
.hero-ring text { font-family: var(--font-rune); font-size: 21px; letter-spacing: 9px; fill: var(--stone-400); }
.ring-line { fill: none; stroke: var(--stone-700); stroke-width: 1; }
.ring-line.thin { stroke-dasharray: 2 7; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-logo {
  position: relative;
  width: min(82vw, 560px, 58svh);
  aspect-ratio: 1;
  margin-top: 1rem;
  animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-logo img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 71%);
  mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 71%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.9));
}
.hero-glow {
  position: absolute; left: 50%; top: 42%;
  width: 26%; height: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 40, 30, 0.55), rgba(179, 20, 27, 0.15) 45%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(14px);
  animation: pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero-copy { text-align: center; position: relative; animation: rise 1.6s 0.4s cubic-bezier(.2, .7, .2, 1) both; }
.hero-tagline { font-family: var(--font-body); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--bone); margin: 0 0 1.8rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--line-strong); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--ember-hot); box-shadow: var(--glow); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Bandeau runique */
.rune-band { border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--void), var(--stone-900), var(--void)); overflow: hidden; padding: 1rem 0; position: relative; z-index: 2; }
.rune-band-track { display: flex; gap: 2.4rem; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.rune-band span { font-family: var(--font-caps); font-size: 0.85rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--stone-400); white-space: nowrap; }
.rune-band i { font-family: var(--font-rune); font-style: normal; color: var(--ember-hot); text-shadow: var(--glow); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(5rem, 11vw, 9rem) clamp(1rem, 5vw, 4rem); max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head .lead { max-width: 620px; margin: 1.2rem auto 0; color: var(--stone-300); font-size: 1.25rem; font-style: italic; }
.section-head::after {
  content: '᛫ ᛉ ᛫'; display: block; margin-top: 1.6rem;
  font-family: var(--font-rune); color: var(--stone-500); letter-spacing: 0.6em;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Grimoire des œuvres */
.grimoire {
  --pw: min(500px, calc((100vw - 5rem) / 2), calc((100svh - 200px) / 1.38));
  --ph: calc(var(--pw) * 1.38);
  --ink: #241912;
  position: relative; margin-bottom: 2rem;
}
.grim-sticky {
  position: sticky; top: 64px; height: calc(100svh - 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
}
.grim-stage {
  position: relative; width: 100%; height: calc(var(--ph) + 1.6rem); display: flex; align-items: center; justify-content: center;
  perspective: 2800px; perspective-origin: 50% 40%; user-select: none; -webkit-user-select: none;
}
.grim-stage::before {
  content: ''; position: absolute; left: 50%; bottom: 0; width: calc(var(--pw) * 2.1); height: 3rem; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85), transparent 70%); filter: blur(6px); pointer-events: none;
}
.tome { position: relative; width: calc(var(--pw) * 2); height: var(--ph); transform-style: preserve-3d; transform: translateX(-25%); will-change: transform; }
.tome.single { width: var(--pw); transform: none; }

.leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; will-change: transform; }
.leaf.pg { top: 1.6%; height: 96.8%; width: 48.6%; }
.tome.single .leaf { left: 0; width: 100%; }
.tome.single .leaf.pg { width: 97%; }
.board { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform: translateZ(-3px); transform-style: preserve-3d; }
.tome:not(.at-end) .board .garde-in { visibility: hidden; }
.tome.single .board { left: 0; width: 100%; }

.face {
  position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--tex) center / 100% 100% no-repeat;
}
.face.back { transform: rotateY(180deg); }
.face::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0); z-index: 5;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
  -webkit-mask: var(--tex) center / 100% 100% no-repeat; mask: var(--tex) center / 100% 100% no-repeat;
}
.face.back::after { background: linear-gradient(270deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75)); }
.face.page::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.1;
  background: url(/img/grimoire/filigrane-sombre.webp) center 56% / 82% no-repeat;
}
.tome.single::before {
  content: ''; position: absolute; top: -0.5%; bottom: -0.5%; left: -12px; width: 16px; border-radius: 6px 0 0 6px;
  background: url(/img/grimoire/couverture.webp) left center / 900% 100%; box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.8);
}

/* Couverture */
.couv-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.couv-logo {
  position: absolute; top: calc(43% - var(--pw) * 0.2); left: 30%; width: 40%; aspect-ratio: 1; border-radius: 50%;
  mix-blend-mode: screen; opacity: 0.92; filter: contrast(1.15) brightness(0.95);
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 70%); mask-image: radial-gradient(circle, #000 58%, transparent 70%);
}
.couv-title {
  position: absolute; top: 64%; left: 0; right: 0; margin: 0;
  font-family: var(--font-display); font-weight: 700; font-size: calc(var(--pw) * 0.15); line-height: 1;
  background: var(--stone-tex), linear-gradient(175deg, #f2ece2 10%, #a29b91 55%, #5f5a54 100%);
  background-size: 300px, 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 1px #000);
}
.couv-sub {
  position: absolute; top: 79%; left: 0; right: 0; margin: 0;
  font-family: var(--font-caps); font-size: calc(var(--pw) * 0.042); letter-spacing: 0.55em; color: #b9b2a8; text-shadow: 0 1px 0 #000;
}
.couv-sub::before, .couv-sub::after { content: '—'; margin: 0 0.6em; color: #6d6862; letter-spacing: 0; }
.couv-runes { position: absolute; top: 86%; left: 0; right: 0; font-family: var(--font-rune); font-size: calc(var(--pw) * 0.035); letter-spacing: 0.6em; color: #ff3b2f; text-shadow: var(--glow); opacity: 0.8; }

/* Gardes et fin */
.garde-in { position: absolute; inset: 12% 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.8em; font-family: 'MedievalSharp', var(--font-body); color: #cfc7bb; font-size: calc(var(--pw) * 0.038); }
.garde-in img { width: 42%; border-radius: 50%; mix-blend-mode: screen; opacity: 0.8; -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 70%); mask-image: radial-gradient(circle, #000 58%, transparent 70%); }
.garde-in h4 { margin: 0; font-family: var(--font-display); font-size: 1.9em; color: #ece5da; font-weight: 600; }
.garde-in p { margin: 0; line-height: 1.35; }
.garde-in small { font-family: var(--font-caps); font-size: 0.62em; letter-spacing: 0.25em; text-transform: uppercase; color: #8f887f; }
.garde-in a { color: #ff6b5e; text-decoration: none; border-bottom: 1px solid rgba(255, 107, 94, 0.5); }
.garde-in .btn { font-size: 0.6em; color: var(--bone-bright); border-bottom: 0; margin-top: 0.4em; }

/* Pages */
.pg-in {
  position: absolute; inset: 8% 11% 7% 13%; display: flex; flex-direction: column; align-items: center; text-align: center;
  font-family: 'MedievalSharp', var(--font-body); color: var(--ink); font-size: calc(var(--pw) * 0.034);
}
.back .pg-in { inset: 8% 13% 7% 11%; }
.pg-rune { font-family: var(--font-rune); font-size: 1.4em; color: #6e1010; line-height: 1; opacity: 0.85; }
.pg-title { margin: 0.15em 0 0; font-family: 'MedievalSharp', var(--font-body); font-weight: 400; font-size: 2em; line-height: 1.05; color: var(--ink); text-shadow: 0 0 1px rgba(36, 25, 18, 0.4); }
.pg-style { margin: 0.2em 0 0.7em; font-size: 0.9em; font-style: italic; opacity: 0.75; }
.pg-art { position: relative; width: 86%; aspect-ratio: 4 / 5; margin: 0; flex: none; }
.pg-art img, .pg-art svg { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.pg-art img { object-fit: contain; filter: drop-shadow(0 6px 10px rgba(20, 12, 6, 0.55)); }
.wm {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: url(/img/grimoire/filigrane-clair.webp) center / 64% no-repeat, url(/img/grimoire/filigrane-sombre.webp) center / 64% no-repeat;
  opacity: 0.3;
}
.wm::after {
  content: '© Rune Noir'; position: absolute; right: 5%; bottom: 3%;
  font-family: var(--font-caps); font-size: max(9px, calc(var(--pw) * 0.022)); letter-spacing: 0.2em; text-transform: uppercase;
  color: #efe9df; text-shadow: 0 0 3px #000; opacity: 0.9;
}
.pg-zoom {
  position: absolute; top: 4%; right: 4%; z-index: 6; width: 34px; height: 34px; border-radius: 50%; cursor: zoom-in;
  border: 1px solid rgba(36, 25, 18, 0.5); background: rgba(236, 228, 214, 0.75); color: var(--ink); font-size: 1rem; line-height: 1;
}
.pg-note { margin: auto 0 0; font-family: var(--font-rune); letter-spacing: 0.35em; font-size: 0.85em; opacity: 0.6; }
.pg-num { margin-top: 0.3em; font-size: 1em; opacity: 0.8; }
.pg-deco { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 0.6em; }
.pg-deco .rune { font-size: 6em; color: var(--ink); opacity: 0.75; line-height: 1; }
.pg-deco p { margin: 0; font-size: 1.1em; line-height: 1.35; }

.grim-ui { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.grim-bar { display: block; width: min(260px, 60vw); height: 2px; background: var(--line); overflow: hidden; }
.grim-bar i { display: block; height: 100%; background: var(--ember-hot); box-shadow: var(--glow); transform-origin: left; transform: scaleX(0); }
.grim-folio { min-width: 170px; text-align: center; font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-300); }
.grim-hint { margin: 0.3rem 0 0; text-align: center; font-family: var(--font-caps); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone-500); }
.grim-hint .rune { color: var(--ember-hot); letter-spacing: 0; }

@media (max-width: 760px) {
  .grimoire { --pw: min(calc(100vw - 3rem), 430px, calc((100svh - 190px) / 1.38)); margin-bottom: 1rem; }
  .grim-sticky { top: 60px; height: calc(100svh - 60px); }
  .grim-stage { perspective: 1700px; height: calc(var(--ph) + 1rem); }
  .grim-stage::before { width: calc(var(--pw) * 1.1); }
  .pg-in { inset: 7% 10% 6% 12%; font-size: calc(var(--pw) * 0.038); }
  .grim-hint { font-size: 0.6rem; letter-spacing: 0.18em; padding: 0 1rem; }
}

/* Galerie */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.4rem; }
.filters button {
  font-family: var(--font-caps); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--stone-300); cursor: pointer;
  transition: all 0.2s;
}
.filters button:hover { color: var(--bone-bright); border-color: var(--line-strong); }
.filters button[aria-selected=true] { color: var(--bone-bright); border-color: var(--ember); background: rgba(179, 20, 27, 0.15); box-shadow: 0 0 14px rgba(255, 59, 47, 0.18); }

.gallery { columns: 3 300px; column-gap: 1.2rem; }
.piece {
  break-inside: avoid; margin: 0 0 1.2rem; position: relative; cursor: zoom-in;
  border: 1px solid var(--line); background: var(--stone-900); overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(.2, .7, .2, 1) both;
}
.piece img, .piece svg { width: 100%; height: auto; display: block; transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter 0.6s; filter: grayscale(0.25) contrast(1.05); }
.piece:hover img, .piece:hover svg { transform: scale(1.04); filter: grayscale(0) contrast(1.1); }
.piece figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.92));
  display: flex; justify-content: space-between; align-items: end; gap: 0.6rem;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s;
}
.piece:hover figcaption, .piece:focus-visible figcaption { opacity: 1; transform: none; }
.piece figcaption strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--bone-bright); }
.piece figcaption small { font-family: var(--font-caps); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-hot); white-space: nowrap; }
.piece::before { content: ''; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color 0.4s, box-shadow 0.4s; pointer-events: none; z-index: 1; }
.piece:hover::before { border-color: rgba(179, 20, 27, 0.6); box-shadow: inset 0 0 40px rgba(179, 20, 27, 0.18); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.gallery-foot { text-align: center; margin-top: 2.4rem; }
.insta-link { font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--stone-300); }
.insta-link strong { color: var(--bone-bright); border-bottom: 1px solid var(--ember); }
.insta-link:hover strong { color: var(--ember-hot); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3, 3, 3, 0.95); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; }
.lightbox-media { position: relative; width: fit-content; margin: 0 auto; max-width: min(90vw, 1000px); }
.piece .wm { opacity: 0.22; z-index: 1; }
.lightbox-media img, .lightbox-media svg { max-height: 80svh; width: auto; max-width: 100%; margin: auto; border: 1px solid var(--line); }
.lightbox-media svg { width: min(80svh, 90vw); height: auto; }
.lightbox figcaption { font-family: var(--font-display); font-size: 1.7rem; color: var(--bone-bright); text-align: center; }
.lightbox figcaption small { display: block; font-family: var(--font-caps); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember-hot); margin-top: 0.3rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.4rem; background: none; border: 0; cursor: pointer; color: var(--bone); line-height: 1; }
.lightbox-nav { font-size: 2.4rem; background: none; border: 1px solid var(--line); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; color: var(--bone); }
.lightbox-nav:hover, .lightbox-close:hover { color: var(--ember-hot); border-color: var(--ember); }

/* Artiste */
.artist-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stone-frame {
  aspect-ratio: 4 / 5; position: relative; display: grid; place-items: center; overflow: hidden;
  background: var(--stone-tex), radial-gradient(circle at 50% 40%, #2a2826, #0d0c0c 75%);
  background-size: 420px, 100%;
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 4%, 6% 0, 94% 0, 100% 4%, 100% 96%, 94% 100%, 6% 100%, 0 96%);
}
.stone-frame::after { content: ''; position: absolute; inset: 14px; border: 1px solid var(--line); clip-path: inherit; pointer-events: none; }
.artist-rune {
  font-family: var(--font-rune); font-size: clamp(9rem, 22vw, 17rem); line-height: 1;
  background: var(--stone-tex), linear-gradient(170deg, #eae4da, #8b857d 70%);
  background-size: 260px, 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 #000) drop-shadow(0 0 24px rgba(255, 40, 30, 0.25));
}
.artist-crack {
  position: absolute; left: 50%; top: 22%; width: 3px; height: 56%;
  background: linear-gradient(transparent, var(--ember-hot) 30%, var(--ember) 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 40, 30, 0.45);
  transform: translateX(-50%) rotate(4deg); opacity: 0.65; mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 60% 20%, 100% 38%, 20% 55%, 100% 75%, 40% 100%, 0 100%);
  animation: pulse 4.5s ease-in-out infinite;
}
.stone-frame.has-photo { place-items: stretch; }
.stone-frame.has-photo .artist-rune, .stone-frame.has-photo .artist-crack { display: none; }
.artist-photo { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: cover; object-position: 30% 20%; clip-path: inherit; filter: grayscale(1) contrast(1.12) brightness(0.92); }
.stone-frame.has-photo::before {
  content: ''; position: absolute; inset: 14px; z-index: 1; pointer-events: none; clip-path: inherit;
  background: radial-gradient(ellipse at 50% 35%, transparent 45%, rgba(5, 5, 5, 0.75) 100%), linear-gradient(transparent 60%, rgba(92, 10, 12, 0.35));
}
.stone-frame::after { z-index: 2; }
.artist-role { margin: 0.6rem 0 0; font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ember-hot); text-shadow: var(--glow); }
.artist-caption { font-family: var(--font-caps); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-400); text-align: center; margin-top: 1rem; }
.artist-bio p { color: var(--stone-300); margin: 1.2rem 0; }
.artist-bio p:first-child::first-letter {
  font-family: var(--font-display); font-size: 4.4rem; float: left; line-height: 0.8; padding: 0.4rem 0.6rem 0 0; color: var(--ember-hot); text-shadow: var(--glow);
}
.pillars { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillars li { border-top: 1px solid var(--line-strong); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.pillars .rune { color: var(--ember-hot); font-size: 1.5rem; text-shadow: var(--glow); }
.pillars strong { font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-bright); }
.pillars small { color: var(--stone-400); font-size: 1rem; line-height: 1.4; }

/* Prestations */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.service {
  position: relative; padding: 2.2rem 1.6rem 1.8rem; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 29, 28, 0.6), rgba(10, 9, 9, 0.6));
  transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s;
}
.service:hover { border-color: rgba(179, 20, 27, 0.55); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(179, 20, 27, 0.12); }
.service .num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-rune); color: var(--stone-500); font-size: 1.2rem; }
.service h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--bone-bright); line-height: 1; }
.service .price { font-family: var(--font-caps); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-hot); margin: 0 0 1rem; }
.service p:last-child { color: var(--stone-300); margin: 0; font-size: 1.08rem; }
.deposit { text-align: center; max-width: 720px; margin: 2.6rem auto 0; color: var(--stone-400); font-style: italic; }
.deposit::before { content: 'ᛜ '; font-family: var(--font-rune); font-style: normal; color: var(--ember-hot); }

/* Rituel */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--ember), transparent); opacity: 0.5; }
.steps li { text-align: center; padding: 0 0.6rem; position: relative; counter-increment: s; }
.step-rune {
  width: 76px; height: 76px; margin: 0 auto 1.3rem; display: grid; place-items: center;
  font-family: var(--font-rune); font-size: 2rem; color: var(--bone-bright);
  background: radial-gradient(circle, #1f1d1c, #0a0909); border: 1px solid var(--line-strong); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--void), 0 0 0 7px var(--line);
  transition: box-shadow 0.4s, color 0.4s;
}
.steps li:hover .step-rune { color: var(--ember-hot); box-shadow: 0 0 0 6px var(--void), 0 0 0 7px var(--ember), 0 0 30px rgba(255, 59, 47, 0.35); }
.steps h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--bone-bright); }
.steps h3::before { content: counter(s, upper-roman) ' · '; font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--stone-500); vertical-align: middle; }
.steps p { color: var(--stone-300); margin: 0; font-size: 1.08rem; }

/* Réservation */
.wizard {
  max-width: 920px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 22, 21, 0.85), rgba(8, 8, 8, 0.9));
  position: relative;
}
.wizard::before, .wizard::after { content: 'ᛉ'; position: absolute; top: -0.8em; font-family: var(--font-rune); color: var(--ember-hot); text-shadow: var(--glow); background: var(--void); padding: 0 0.6rem; font-size: 1.2rem; }
.wizard::before { left: 2rem; }
.wizard::after { right: 2rem; }
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard-steps { list-style: none; padding: 0; margin: 0 0 2.4rem; display: flex; justify-content: center; gap: clamp(1rem, 5vw, 3.5rem); }
.wizard-steps li { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-caps); font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-500); transition: color 0.3s; }
.wizard-steps span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--font-rune); font-size: 1rem; letter-spacing: 0; }
.wizard-steps li.is-active { color: var(--bone-bright); }
.wizard-steps li.is-active span { border-color: var(--ember); color: var(--ember-hot); box-shadow: 0 0 14px rgba(255, 59, 47, 0.35); }
.wizard-steps li.is-done { color: var(--stone-300); }
.wizard-panel { display: none; animation: fadeUp 0.5s both; }
.wizard-panel.is-active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.wizard-nav .btn:last-child, .wizard-nav #nextStep { margin-left: auto; }
.wizard-success { text-align: center; padding: 2rem 0; animation: fadeUp 0.6s both; }
.wizard-success p { color: var(--stone-300); max-width: 520px; margin: 1rem auto 1.8rem; }
.success-rune { font-family: var(--font-rune); font-size: 5rem; color: var(--ember-hot); text-shadow: var(--glow); display: block; line-height: 1; margin-bottom: 1rem; }

.dropzone {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 1.4rem;
  border: 1px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; color: var(--stone-300);
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--ember); background: rgba(179, 20, 27, 0.07); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone .rune { font-size: 1.5rem; color: var(--ember-hot); }
.ref-previews { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.7rem; }
.ref-previews figure { margin: 0; position: relative; width: 92px; height: 92px; border: 1px solid var(--line-strong); }
.ref-previews img { width: 100%; height: 100%; object-fit: cover; }
.ref-previews button { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ember); background: var(--void); cursor: pointer; line-height: 1; font-size: 1rem; }

.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--bone-bright); text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { font-family: var(--font-caps); font-size: 0.66rem; letter-spacing: 0.15em; color: var(--stone-500); text-align: center; padding-bottom: 0.4rem; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius);
  background: transparent; color: var(--stone-500); font-family: var(--font-caps); font-size: 0.95rem; cursor: default; position: relative;
}
.cal-day.is-open { color: var(--bone-bright); border-color: var(--line); background: rgba(217, 211, 200, 0.04); cursor: pointer; }
.cal-day.is-open::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--ember-hot); box-shadow: var(--glow); }
.cal-day.is-open:hover { border-color: var(--ember); }
.cal-day.is-selected { background: linear-gradient(180deg, #c3191f, #7e0d11); border-color: transparent; color: #fff; }
.cal-day.is-selected::after { background: #fff; }
.cal-day.is-today { text-decoration: underline; text-underline-offset: 4px; }
.cal-legend { font-size: 0.95rem; color: var(--stone-400); margin: 1rem 0 0; display: flex; align-items: center; gap: 0.5rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--stone-700); margin-left: 0.6rem; }
.dot.on { background: var(--ember-hot); box-shadow: var(--glow); margin-left: 0; }
.slots { border-left: 1px solid var(--line); padding-left: 2rem; }
.slots-title { font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-300); margin-top: 0.6rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; }
.slot {
  padding: 0.8rem 0.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(217, 211, 200, 0.03);
  font-family: var(--font-caps); font-size: 1rem; letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s;
}
.slot:hover { border-color: var(--bone); }
.slot[aria-pressed=true] { background: linear-gradient(180deg, #c3191f, #7e0d11); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(255, 59, 47, 0.35); }
.slots-note { color: var(--stone-400); font-style: italic; font-size: 1rem; }

.recap { border: 1px solid var(--line); padding: 1rem 1.2rem; margin-top: 0.6rem; background: rgba(5, 5, 5, 0.5); }
.recap dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; margin: 0; }
.recap dt { font-family: var(--font-caps); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-400); padding-top: 0.25rem; }
.recap dd { margin: 0; color: var(--bone-bright); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.insta-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem 1.6rem; text-decoration: none;
  border: 1px solid rgba(179, 20, 27, 0.5);
  background: radial-gradient(circle at 0% 50%, rgba(179, 20, 27, 0.25), transparent 60%), var(--stone-900);
  transition: box-shadow 0.3s, transform 0.3s;
}
.insta-card:hover { box-shadow: 0 0 40px rgba(255, 59, 47, 0.25); transform: translateY(-2px); }
.insta-card svg { width: 44px; height: 44px; color: var(--ember-hot); filter: drop-shadow(0 0 8px rgba(255, 59, 47, 0.6)); flex: none; }
.insta-card span { display: flex; flex-direction: column; }
.insta-card small { font-family: var(--font-caps); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-400); }
.insta-card strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1.1; color: var(--bone-bright); }
.insta-card em { margin-left: auto; font-style: normal; font-size: 1.6rem; color: var(--ember-hot); transition: transform 0.3s; }
.insta-card:hover em { transform: translateX(6px); }
.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0 0; }
.socials a { font-family: var(--font-caps); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--stone-300); }
.socials a:hover { color: var(--bone-bright); border-color: var(--ember); }
.infos { margin: 1.8rem 0 0; display: grid; gap: 0.9rem; }
.infos div { display: grid; grid-template-columns: 26px 1fr; gap: 0.8rem; align-items: baseline; }
.infos dt { font-family: var(--font-rune); color: var(--ember-hot); }
.infos dd { margin: 0; color: var(--bone); }
.infos a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.infos a:hover { border-color: var(--ember-hot); }
.hours { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hours h3 { font-family: var(--font-caps); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-300); margin: 0 0 0.8rem; font-weight: 600; }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dotted var(--line); }
.hours li.closed span:last-child { color: var(--stone-500); font-style: italic; }
.hours li.today { color: var(--bone-bright); }
.hours li.today span:first-child::before { content: 'ᛉ '; font-family: var(--font-rune); color: var(--ember-hot); }
.hours .muted { font-style: italic; font-size: 1rem; margin-top: 0.8rem; }
.contact-form { border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); background: linear-gradient(180deg, rgba(23, 22, 21, 0.75), rgba(8, 8, 8, 0.85)); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.4rem 1.3rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--bone-bright);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: 'ᚷ'; font-family: var(--font-rune); position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); color: var(--stone-500); transition: transform 0.3s, color 0.3s; font-size: 1.1rem; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ember-hot); }
.faq details p { margin: 0 0 1.4rem; color: var(--stone-300); max-width: 680px; }

/* Footer */
.footer { text-align: center; padding: 5rem 1rem 3rem; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(92, 10, 12, 0.2), transparent 60%); }
.footer img { margin: 0 auto; width: 88px; height: 88px; border-radius: 50%; }
.footer-runes { font-family: var(--font-rune); letter-spacing: 0.5em; color: var(--stone-500); margin: 1.2rem 0; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-links a { font-family: var(--font-caps); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: var(--stone-300); }
.footer-links a:hover { color: var(--ember-hot); }
.footer-owner { opacity: 0.55; }
.footer .muted { font-size: 0.95rem; }

/* Bouton réserver flottant (téléphone) */
.m-cta {
  display: none; position: fixed; left: 1rem; right: 1rem; bottom: calc(0.9rem + env(safe-area-inset-bottom)); z-index: 45;
  align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px;
  font-family: var(--font-caps); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  color: var(--bone-bright); background: linear-gradient(180deg, #c3191f, #7e0d11);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transform: translateY(150%); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1);
}
.m-cta.is-shown { transform: none; }
.m-cta .rune { font-size: 1.1rem; }

/* Responsive */
@media (max-width: 980px) {
  .nav-burger { display: block; margin-left: auto; }
  .nav-insta { order: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem;
    background: rgba(5, 5, 5, 0.97); transform: translateY(-100%); z-index: -1;
    visibility: hidden; transition: transform 0.45s cubic-bezier(.2, .7, .2, 1), visibility 0s 0.45s;
  }
  .nav-links.is-open { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(.2, .7, .2, 1); }
  .nav-links a:not(.btn) { font-size: 1rem; }
  .nav-burger { order: 3; margin-left: 0; }
  .nav-insta { margin-left: auto; }
  .artist-grid, .contact-grid { grid-template-columns: 1fr; }
  .artist-visual { max-width: 380px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1.1rem; }
  .m-cta { display: flex; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .wizard-nav .btn { flex: 1; }
  .field-row { gap: 0 1.1rem; }
  .cal-wrap { grid-template-columns: 1fr; }
  .slots { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
  .pillars { grid-template-columns: 1fr; }
  .wizard-steps li { font-size: 0; gap: 0; }
  .wizard-steps span { font-size: 1rem; }
  .lightbox { grid-template-columns: 1fr; padding: 1rem; }
  .lightbox-nav { position: absolute; bottom: 1.2rem; }
  .lightbox-nav.prev { left: 30%; }
  .lightbox-nav.next { right: 30%; }
  .nav-brand em { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .insta-card strong { font-size: 1.6rem; }
}

.powered { margin: 1.4rem 0 0; font-family: var(--font-caps); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-500); }
.powered a { font-family: var(--font-body); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: none; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--ember); padding-bottom: 1px; transition: color 0.2s, text-shadow 0.2s; }
.powered a:hover { color: var(--ember-hot); text-shadow: var(--glow); }
