/* Maquette de démonstration Overtek — Poterie de la Genevraye */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --porcelain: #f3eee4;
  --paper: #faf7f1;
  --biscuit: #e6dccb;
  --ink: #1a1d2e;
  --cobalt: #26368a;
  --cobalt-deep: #141c4a;
  --clay: #b5835c;
  --fire: #d4572a;
  --ember: #ff8a3d;
  --muted: #5f5d66;
  --line: rgba(26, 29, 46, 0.15);
  --line-light: rgba(243, 238, 228, 0.22);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --demo-h: 36px;
  --head-h: 72px;
  --top-h: calc(var(--demo-h) + var(--head-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cobalt-deep); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  font-variation-settings: normal;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--paper); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: calc(var(--demo-h) + 8px); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Bandeau de démonstration ---------- */
.demo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: #0f0d0b; color: #fff; text-align: center;
  font-size: 0.875rem; font-weight: 600; line-height: 1.35; padding: 8px 16px;
}

/* ---------- Ouverture : le tampon ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
  background: var(--porcelain);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.18, 1) 0.15s, visibility 0s 1.1s;
  clip-path: circle(150% at 50% 50%);
}
.loader__clay {
  width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #d9c3a6, #b5835c 70%);
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, 0.18), 0 20px 40px rgba(26, 29, 46, 0.15);
  animation: clay-in 0.6s var(--ease) both;
}
.loader__clay img { width: 92px; mix-blend-mode: multiply; animation: press 0.9s cubic-bezier(0.5, 0, 0.2, 1) 0.35s both; }
@keyframes clay-in { from { transform: scale(0.6); opacity: 0; } }
@keyframes press {
  0% { transform: scale(1.9) translateY(-30px); opacity: 0; filter: blur(4px); }
  55% { transform: scale(0.94); opacity: 1; filter: blur(0); }
  70% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 0.88; }
}
.is-ready .loader { clip-path: circle(0% at 50% 50%); visibility: hidden; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: var(--demo-h); left: 0; right: 0; z-index: 100; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--cobalt-deep);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-solid { background: rgba(250, 247, 241, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; mix-blend-mode: multiply; }
.brand--light img { filter: invert(1); mix-blend-mode: screen; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a { position: relative; text-decoration: none; font-size: 0.975rem; padding: 6px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav a:not(.nav__cta):hover::after, .nav a:not(.nav__cta):focus-visible::after { transform: scaleX(1); }
.nav__cta { background: var(--cobalt); color: var(--paper); border-radius: 999px; padding: 10px 20px !important; font-weight: 600; transition: background-color 0.2s; }
.nav__cta:hover { background: var(--cobalt-deep); }
.menu-btn { display: none; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; font-weight: 600; padding: 9px 16px; cursor: pointer; }
.menu-btn__bars { width: 18px; height: 10px; border-block: 2px solid currentColor; transition: height 0.2s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { height: 2px; border-bottom-width: 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn--ink { background: var(--cobalt); color: var(--paper); }
.btn--ink:hover { background: var(--cobalt-deep); }
.btn--line { border-color: var(--cobalt); color: var(--cobalt); }
.btn--line:hover { background: var(--cobalt); color: var(--paper); }

/* ---------- Accueil : le tour ---------- */
.hero { position: relative; z-index: 1; height: 100svh; background: var(--porcelain); }
.hero__stage {
  --D: min(54svh, 34vw);
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse 55% 60% at 68% 54%, #fbf8f2 0%, rgba(251, 248, 242, 0) 70%), var(--porcelain);
}
.wheel, .disc { position: absolute; left: 70%; top: 54%; will-change: transform; }
.wheel { width: calc(var(--D) * 1.3); height: calc(var(--D) * 1.3); margin: calc(var(--D) * -0.65) 0 0 calc(var(--D) * -0.65); }
.wheel__head {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.05) 2px 5px),
    radial-gradient(circle at 42% 38%, #8d8a86, #55524f 62%, #3b3836);
  box-shadow: 0 40px 80px rgba(20, 28, 74, 0.25), inset 0 0 0 8px rgba(0, 0, 0, 0.12);
}
.wheel__head::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.16); }
.wheel__ring { position: absolute; inset: -12%; width: 124%; height: 124%; overflow: visible; opacity: 0; }
.wheel__ring text { font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; fill: var(--cobalt); text-transform: uppercase; }
.disc {
  width: var(--D); height: var(--D); margin: calc(var(--D) / -2) 0 0 calc(var(--D) / -2);
  border-radius: 50%; object-fit: cover; z-index: 2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}
.orbit { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.orbit li { position: absolute; left: 0; top: 0; width: calc(var(--D) * 0.36); height: calc(var(--D) * 0.36); opacity: 0; will-change: transform, opacity; }
.orbit img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 16px 30px rgba(20, 28, 74, 0.22); }

.hero__intro { position: absolute; z-index: 4; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: calc(50% + var(--top-h) / 2); transform: translateY(-50%); width: min(600px, 44vw); will-change: transform, opacity; }
.kicker { font-size: 0.95rem; font-weight: 600; color: var(--fire); letter-spacing: 0.01em; }
.hero__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; color: var(--cobalt-deep); letter-spacing: -0.035em; line-height: 0.9; font-variation-settings: "opsz" 144; }
.hero__l1, .hero__l2 { display: block; white-space: nowrap; will-change: transform, opacity; }
.hero__l1 > span, .hero__l2 > span { display: inline-block; }
.hero__l1 { font-size: clamp(3rem, 6.2vw, 7rem); }
.hero__l2 { font-size: clamp(3.4rem, 8vw, 9rem); font-style: italic; font-weight: 300; color: var(--cobalt); }
.hero__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; margin-top: 22px; max-width: 22em; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__hours { margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--fire); font-size: 0.92rem; color: var(--muted); max-width: 34em; }
.hero__hours b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.hero__caption { position: absolute; z-index: 6; left: 50%; bottom: 7svh; transform: translateX(-50%); text-align: center; opacity: 0; width: min(90vw, 640px); will-change: opacity; }
.hero__caption span { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.2; color: var(--cobalt-deep); }
.hero__caption small { display: block; margin-top: 8px; font-size: 0.95rem; color: var(--muted); letter-spacing: 0.02em; }
.hero__hint, .hero__bar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero { height: 360svh; }
  .js .hero__hint { display: flex; align-items: center; gap: 10px; position: absolute; right: var(--gutter); bottom: 3svh; z-index: 4; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
  .hero__hint i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 1.4s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .js .hero__bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(26, 29, 46, 0.08); z-index: 5; }
  .hero__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt), var(--fire)); transform-origin: left; transform: scaleX(var(--p, 0)); }
  /* entrée après le tampon : on anime les enfants, le défilement pilote les parents */
  .js .kicker > span, .js .hero__l1 > span, .js .hero__l2 > span, .js .hero__foot > * { opacity: 0; }
  .js .kicker > span { display: inline-block; }
  .js.is-ready .kicker > span { animation: rise-in 0.8s var(--ease) 0.6s both; }
  .js.is-ready .hero__l1 > span { animation: rise-in 1s var(--ease) 0.7s both; }
  .js.is-ready .hero__l2 > span { animation: rise-in 1s var(--ease) 0.85s both; }
  .js.is-ready .hero__foot > * { animation: rise-in 0.8s var(--ease) both; }
  .js.is-ready .hero__foot > :nth-child(1) { animation-delay: 1.05s; }
  .js.is-ready .hero__foot > :nth-child(2) { animation-delay: 1.15s; }
  .js.is-ready .hero__foot > :nth-child(3) { animation-delay: 1.25s; }
  .js .disc, .js .wheel__head { opacity: 0; }
  .js.is-ready .disc, .js.is-ready .wheel__head { animation: throw 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both; }
  @keyframes throw { from { opacity: 0; scale: 0.4; rotate: -200deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
  @keyframes rise-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .js .sheet { margin-top: -100svh; border-radius: 32px 32px 0 0; }
}

/* ---------- La feuille ---------- */
.sheet { position: relative; z-index: 3; background: var(--paper); overflow: clip; border-radius: 0 0 32px 32px; box-shadow: 0 -30px 80px rgba(20, 28, 74, 0.18); }
.section { padding-block: clamp(72px, 11vw, 150px); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--cobalt-deep); font-variation-settings: "opsz" 144; }
h2.label { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--fire); }
.label--light { color: var(--ember) !important; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--cobalt-deep); }
.lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.36; }

/* Le parcours */
.manifesto {
  --p: 1; margin-top: 22px; max-width: 23em; text-wrap: pretty;
  font-family: var(--serif); font-weight: 400; color: var(--cobalt-deep);
  font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.02em;
}
.manifesto .w { opacity: clamp(0.13, calc((var(--p) * var(--n) - var(--i)) * 0.34 + 0.13), 1); }
.parcours__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: start; margin-top: clamp(56px, 8vw, 104px); }
.portrait { position: relative; max-width: 360px; }
.portrait > img { width: 100%; border-radius: 50% 50% 8px 8px / 36% 36% 8px 8px; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.portrait__stamp { width: 54px; mix-blend-mode: multiply; transform: rotate(-8deg); }
.parcours__text p { max-width: 58ch; color: #34343d; }
.parcours__text p + p { margin-top: 20px; }
.parcours__text p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.38; color: var(--ink); }

.timeline { position: relative; margin-top: clamp(64px, 9vw, 120px); padding-left: clamp(36px, 6vw, 80px); --fill: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(var(--cobalt), var(--fire)); transform-origin: top; transform: scaleY(var(--fill)); }
.timeline li { position: relative; display: grid; grid-template-columns: 7ch minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity 0.4s; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * clamp(36px, 6vw, 80px) + 3px); top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.timeline li.is-on::before { background: var(--fire); border-color: var(--fire); transform: scale(1.2); }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; color: var(--cobalt); font-variant-numeric: lining-nums; }
.timeline span { font-size: 1.02rem; color: #34343d; max-width: 62ch; }
.js .timeline li { opacity: 0.35; }
.js .timeline li.is-on { opacity: 1; }

/* ---------- La cuisson ---------- */
.kiln { position: relative; background: #120b08; color: var(--porcelain); --t: 0; }
.kiln__pin { position: relative; min-height: 100svh; padding: calc(var(--top-h) + 4svh) var(--gutter) 8svh; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; }
.kiln__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(255, 138, 61, calc(0.08 + 0.62 * var(--t))), transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 92%, rgba(255, 210, 120, calc(0.5 * var(--t) * var(--t))), transparent 70%);
  animation: flicker 2.6s ease-in-out infinite alternate;
}
@keyframes flicker { 0% { opacity: 0.86; } 40% { opacity: 1; } 70% { opacity: 0.9; } 100% { opacity: 0.97; } }
.kiln__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; max-width: var(--wrap); width: 100%; margin-inline: auto; }
.kiln__lede { margin-top: 18px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.16; letter-spacing: -0.015em; max-width: 20em; }
.kiln__more { margin-top: 18px; max-width: 52ch; color: rgba(243, 238, 228, 0.78); }
.kiln__gauge { text-align: right; }
.kiln__temp { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 14vw, 13rem); line-height: 0.85; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--porcelain), var(--ember) calc(var(--t) * 100%)); }
.kiln__temp sup { font-size: 0.4em; vertical-align: 0.9em; }
.kiln__hours { margin-top: 10px; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.kiln__hours em { font-style: normal; font-weight: 400; color: rgba(243, 238, 228, 0.6); }
.kiln__state { margin-top: 6px; font-size: 0.95rem; color: var(--ember); letter-spacing: 0.02em; }
.kiln__shelf { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 4vw, 64px); padding-bottom: 18px; }
.kiln__shelf::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 10px; border-radius: 3px; background: linear-gradient(#6b5a50, #3a2f29); box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.06) inset; }
.kiln__shelf img { width: clamp(110px, 17vw, 230px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; will-change: filter, transform; }
.kiln__shelf img:nth-child(2) { width: clamp(130px, 21vw, 280px); }
.kiln__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, 0.08); }
.kiln__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--fire), var(--ember), #ffd27a); transform-origin: left; transform: scaleX(var(--t)); }
@media (prefers-reduced-motion: no-preference) {
  .js .kiln { height: 280svh; }
  .js .kiln__pin { position: sticky; top: 0; height: 100svh; }
}

/* ---------- Créations ---------- */
.creations { background: var(--porcelain); padding-bottom: clamp(40px, 6vw, 90px); overflow: hidden; }
.creations__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.creations__head p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--muted); }
.shelves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding: clamp(40px, 6vw, 72px) var(--gutter) 0; align-items: start; }
.col { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); will-change: transform; }
.piece { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 6px; overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 0 rgba(26, 29, 46, 0.06), 0 14px 30px rgba(26, 29, 46, 0.06); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.piece img { width: 100%; transition: transform 0.7s var(--ease); }
.piece:hover, .piece:focus-visible { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 1px 0 rgba(26, 29, 46, 0.06), 0 26px 44px rgba(26, 29, 46, 0.14); }
.piece:hover img { transform: scale(1.04); }

/* ---------- La poterie (le lieu) ---------- */
.lieu__title { max-width: 16em; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.lieu__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.lieu__media { position: sticky; top: calc(var(--top-h) + 32px); height: min(66svh, 620px); border-radius: 18px; overflow: hidden; background: var(--biscuit); }
.frame { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(1.06); transition: opacity 0.6s ease, transform 1.1s var(--ease); }
.frame.is-on { opacity: 1; transform: none; }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame--poster { background: #e9e5df; }
.frame--poster > img { width: auto; height: 92%; object-fit: contain; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.frame--clay { background: radial-gradient(circle at 40% 35%, #e3cdb1, #b5835c 75%); align-content: center; gap: 18px; }
.frame--clay > img { width: 140px; height: auto; mix-blend-mode: multiply; opacity: 0.85; }
.frame span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--cobalt-deep); text-align: center; padding: 0 24px; }
.frame--rings { background: repeating-radial-gradient(circle at 50% 120%, #c9a07a 0 10px, #b5835c 10px 22px, #a6754f 22px 26px); }
.frame--rings span { background: rgba(250, 247, 241, 0.92); border-radius: 999px; padding: 10px 22px; font-size: 1.15rem; }
.frame--soft { background: repeating-radial-gradient(circle at 50% -20%, #e6dccb 0 12px, #ddd0bb 12px 26px, #d3c4ab 26px 30px); }
.lieu__items { display: flex; flex-direction: column; }
.item { padding: clamp(28px, 5vh, 56px) 0; border-top: 1px solid var(--line); min-height: 46svh; transition: opacity 0.4s; }
.js .item { opacity: 0.38; }
.js .item.is-on { opacity: 1; }
.item__n { font-size: 0.9rem; font-weight: 600; color: var(--fire); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.item h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.item p + p { margin-top: 12px; }
.item__info { font-weight: 600; color: var(--cobalt); }
.item__small { font-size: 0.92rem; color: var(--muted); }
.item__img { display: none; }

/* ---------- Fête céramique ---------- */
.fete { background: var(--cobalt-deep); color: var(--porcelain); padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.fete__t { padding: 0 var(--gutter); font-weight: 600; color: var(--ember); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__row { display: flex; flex: none; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1.25; letter-spacing: -0.02em; animation: slide 46s linear infinite; }
.marquee[data-dir="right"] .marquee__row { animation-direction: reverse; font-style: italic; font-weight: 300; color: #c7cdf0; }
.marquee__row li::after { content: "✳"; margin-inline: 0.5em; font-size: 0.5em; vertical-align: 0.3em; color: var(--ember); }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Agenda ---------- */
.agenda { background: var(--paper); }
.events { margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) auto; gap: 16px clamp(20px, 4vw, 56px); align-items: start; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); transition: background-color 0.3s, padding 0.4s var(--ease); }
.ev:hover { background: var(--porcelain); padding-inline: 16px; }
.ev__date { font-size: 0.95rem; color: var(--muted); line-height: 1.3; }
.ev__date b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--cobalt-deep); }
.ev h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.ev p { margin-top: 6px; color: #34343d; max-width: 62ch; }
.ev__tag { margin: 0 !important; justify-self: end; font-size: 0.85rem; font-weight: 600; border-radius: 999px; padding: 6px 14px; background: var(--cobalt); color: var(--paper) !important; white-space: nowrap; }
.ev--past { opacity: 0.55; }
.ev--past .ev__tag { background: var(--biscuit); color: var(--ink) !important; }

/* ---------- Venir ---------- */
.contact { background: var(--porcelain); }
.contact__title { font-size: clamp(3rem, 9vw, 8rem); line-height: 0.92; }
.contact__title em { font-style: italic; font-weight: 300; color: var(--cobalt); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.dist { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 28px; }
.dist b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--cobalt); }
.dist span { color: var(--muted); }
.contact__actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); margin-top: 40px; flex-wrap: wrap; }
.stamp-btn { display: grid; place-items: center; flex: none; width: 148px; height: 148px; border-radius: 50%; background: var(--fire); color: #fff; text-decoration: none; text-align: center; font-weight: 600; line-height: 1.2; transition: background-color 0.25s, transform 0.5s var(--ease); will-change: transform; }
.stamp-btn:hover { background: #b9451d; }
.big-link { display: block; width: fit-content; text-decoration: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.5; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.big-link:hover, .big-link:focus-visible { background-size: 100% 1px; }
.route h3 { margin-bottom: 16px; }
.route ol { counter-reset: r; }
.route li { counter-increment: r; position: relative; padding: 0 0 14px 40px; font-size: 0.98rem; color: #34343d; }
.route li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; background: var(--cobalt); color: var(--paper); }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 2px; border-left: 2px dotted var(--clay); }
.route img { margin-top: 18px; width: 100%; max-width: 340px; border-radius: 8px; mix-blend-mode: multiply; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px; line-height: 1.7; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.link { display: block; margin-top: 12px; font-weight: 600; color: var(--fire); text-underline-offset: 4px; }

/* ---------- Pied de page ---------- */
.footer { position: relative; z-index: 0; background: var(--cobalt-deep); color: rgba(243, 238, 228, 0.86); padding-block: 40px 36px; font-size: 0.95rem; overflow: hidden; }
.footer__word { font-family: var(--serif); font-weight: 300; font-style: italic; color: var(--porcelain); font-size: clamp(4rem, 21vw, 21rem); line-height: 0.82; letter-spacing: -0.05em; white-space: nowrap; margin: 0 0 32px -0.03em; }
.footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: flex-end; }
.footer__nav a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__demo { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line-light); color: rgba(243, 238, 228, 0.62); font-size: 0.875rem; max-width: 90ch; }
@media (min-width: 821px) and (min-height: 640px) { .footer { position: sticky; bottom: 0; } }

.callbar { display: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 86px; height: 86px; margin: -43px 0 0 -43px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalt); color: var(--paper); font-weight: 600; font-size: 0.9rem; pointer-events: none; opacity: 0; scale: 0.3; transition: opacity 0.25s, scale 0.35s var(--ease); }
.cursor.is-on { opacity: 1; scale: 1; }
.lightbox { border: 0; padding: 0; background: transparent; color: var(--paper); max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 28, 74, 0.9); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 6px; }
.lightbox__cap { text-align: center; margin-top: 12px; }
.lightbox form { text-align: center; margin-top: 12px; }
.lightbox__close { font-weight: 600; color: var(--cobalt-deep); background: var(--paper); border: 0; border-radius: 999px; padding: 10px 22px; min-height: 44px; cursor: pointer; }

/* ---------- Révélations (CSS natif) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .loader { display: none; }
  .wheel__ring { opacity: 1; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__row { animation: none; flex-wrap: wrap; white-space: normal; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__main { grid-column: 1 / -1; }
  .hero__hours { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  :root { --head-h: 60px; }
  body { font-size: 1rem; padding-bottom: 68px; }
  .demo { font-size: 0.78rem; padding: 7px 12px; }
  .brand { font-size: 1rem; white-space: nowrap; gap: 8px; }
  .brand img { width: 32px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; top: var(--top-h); left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 22px; background: var(--paper); box-shadow: 0 20px 40px rgba(20, 28, 74, 0.12); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s cubic-bezier(0.76, 0, 0.18, 1), visibility 0s 0.45s; }
  .nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.45s cubic-bezier(0.76, 0, 0.18, 1); }
  .nav a { padding: 14px 0; font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: 18px; text-align: center; font-family: var(--sans) !important; font-size: 1.05rem !important; padding: 14px 18px !important; }

  .hero__stage { --D: min(66vw, 33svh); background: var(--porcelain); }
  .wheel, .disc { left: 50%; top: calc(var(--top-h) + 14svh + var(--D) * 0.62); }
  .hero__intro { inset: 0; top: 0; width: auto; transform: none; pointer-events: none; }
  .kicker { display: none; }
  .hero__title { margin: 0; }
  .hero__l1, .hero__l2 { position: absolute; }
  .hero__l1 { left: var(--gutter); top: calc(var(--top-h) + 2svh); font-size: clamp(2.6rem, 12.5vw, 4.2rem); }
  .hero__l2 { left: var(--gutter); top: calc(var(--top-h) + 14svh + var(--D) * 1.28); font-size: clamp(3rem, 16vw, 5.2rem); }
  .hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(72px + 2svh); pointer-events: auto; }
  .hero__lead { font-size: 1.1rem; margin-top: 0; }
  .hero__actions { margin-top: 14px; }
  .hero__actions .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 0.95rem; }
  .hero__hours { display: none; }
  .js .hero__hint { display: none; }
  .hero__caption { bottom: calc(72px + 4svh); }
  .js .sheet { border-radius: 22px 22px 0 0; }
  .sheet { border-radius: 0 0 22px 22px; }

  .parcours__grid, .lieu__grid, .kiln__inner { grid-template-columns: 1fr; }
  .portrait { max-width: 240px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .kiln__gauge { text-align: left; }
  .kiln__inner { gap: 20px; }
  .kiln__more { display: none; }
  .shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col { transform: none !important; }
  .lieu__media { display: none; }
  .item { min-height: 0; }
  .js .item { opacity: 1; }
  .item__img { display: block; width: 100%; border-radius: 12px; margin: 4px 0 16px; }
  .item__img--poster { width: 62%; }
  .ev { grid-template-columns: 1fr; gap: 6px; }
  .ev__tag { justify-self: start; }
  .ev:hover { padding-inline: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .stamp-btn { width: 124px; height: 124px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .cursor { display: none; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--paper); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--cobalt); color: var(--cobalt); }
  .callbar a:first-child { background: var(--cobalt); color: var(--paper); }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
