/* =========================================================
   Madame Miettes — concept-store & fleuriste, Dijon
   Design éditorial joyeux · crème, prune, framboise, soleil
   (base d'animations partagée ; seules les valeurs changent)
   ========================================================= */

:root {
  /* Palette joyeuse — noms conservés, rôles réassignés :
     --sage-deep = prune structurel (nav, footer, boutons, annonce)
     --sage      = framboise (emphase, em des titres, hover)
     --honey     = corail (accents, points, soulignages)
     --honey-soft= soleil clair (texte/accents sur fond prune) */
  --paper:        #fbf3e9;
  --paper-soft:   #fff9f1;
  --paper-edge:   #f1e6d6;
  --ink:          #2c2230;
  --ink-soft:     #58495a;
  --muted:        #8a7c86;
  --sage-deep:    #5a2552;
  --sage:         #c32e6a;
  --sage-soft:    #f6c9d9;
  --honey:        #f2754b;
  --honey-soft:   #fbe3a8;
  --line:         rgba(44, 34, 48, .12);
  --line-strong:  rgba(44, 34, 48, .24);

  /* Typo */
  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --hand:  "Caveat", "Bradley Hand", cursive;

  /* Mesures */
  --container: 1240px;
  --reading:   720px;
  --radius:    18px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "calt";
}
/* overflow:clip ne crée pas de scroll container → ne casse pas position:sticky */
@supports (overflow-x: clip) {
  body { overflow-x: clip; overflow-y: visible; }
}
section[id] { scroll-margin-top: 110px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--sage-deep); color: var(--paper); }
:focus-visible { outline: 2.5px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* Icônes Lucide */
.lucide, [data-lucide] { width: 1.05em; height: 1.05em; stroke-width: 1.6; vertical-align: -.16em; }

/* ---------- Typographie réutilisable ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--sage-deep);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: var(--sage); }

.hand { font-family: var(--hand); font-weight: 400; }

.chapter {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--sage);
  margin-bottom: 1.2rem;
}
.chapter--inline { margin-bottom: .8rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
}
.kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--honey); flex-shrink: 0; }

.lede { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 1.2rem; }

.link-soft {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  color: var(--sage-deep);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s, gap .25s var(--ease);
}
.link-soft svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-soft:hover { color: var(--honey); border-color: var(--honey); gap: .6rem; }
.link-soft:hover svg { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn--solid {
  background: var(--sage-deep); color: var(--paper);
}
.btn--solid:hover {
  background: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(52, 64, 40, .65);
}
.btn--line {
  background: transparent; color: var(--sage-deep); border-color: var(--line-strong);
}
.btn--line:hover {
  border-color: var(--sage-deep); transform: translateY(-2px);
}
.btn svg { width: 1em; height: 1em; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 210;
  background: var(--sage-deep); color: var(--paper);
  padding: .6rem 1rem; border-radius: 8px; font-size: .9rem; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Annonce ---------- */
.announce {
  background: var(--sage-deep);
  color: rgba(246, 241, 227, .85);
  font-size: .78rem;
  letter-spacing: .04em;
}
.announce__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: .55rem; gap: 1rem;
}
.announce__pretitle { font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--honey-soft); }
.announce__socials { display: flex; gap: .6rem; }
.announce__socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background .25s, color .25s; }
.announce__socials a:hover { background: rgba(246, 241, 227, .12); color: var(--honey-soft); }
.announce__socials svg { width: 14px; height: 14px; }

/* ---------- Navigation, logo centré ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 227, .88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 1.3rem;
  gap: 1rem;
  transition: padding-block .3s var(--ease);
}
.nav.is-scrolled .nav__inner { padding-block: .85rem; }

.nav__side {
  display: flex; align-items: center; gap: 1.7rem;
  font-family: var(--sans); font-size: .88rem; font-weight: 500; color: var(--ink);
}
.nav__side--left { justify-content: flex-end; }
.nav__side--right { justify-content: flex-start; }
.nav__side a {
  position: relative; padding-bottom: 4px;
  transition: color .25s;
}
.nav__side a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 1.5px; background: var(--honey);
  transition: width .3s var(--ease);
}
.nav__side a:hover { color: var(--sage-deep); }
.nav__side a:hover::after, .nav__side a.is-active::after { width: 110%; }
.nav__side a.is-active { color: var(--sage-deep); }

.brand {
  display: inline-flex; align-items: center; gap: .9rem;
  justify-self: center;
}
.brand__line {
  width: 28px; height: 1px; background: var(--line-strong);
  transition: width .3s var(--ease);
}
.brand:hover .brand__line { width: 36px; background: var(--sage); }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__small {
  font-family: var(--sans); font-size: .62rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .25rem;
}
.brand__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: var(--sage-deep); letter-spacing: -.005em;
}
.brand__title em { font-style: italic; color: var(--honey); font-weight: 500; padding-inline: .15em; }

.nav__phone, .nav__toggle {
  display: none;
}

/* ---------- Drawer mobile ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  display: grid; place-items: center;
  padding: 5rem 1.5rem 2rem;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open { opacity: 1; pointer-events: auto; transform: none; }

.drawer__inner {
  width: 100%; max-width: 320px;
  display: flex; flex-direction: column;
  gap: 1.8rem;
}

.drawer__title {
  font-family: var(--serif); font-style: italic;
  font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage);
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: .8rem;
}
.drawer__title::before, .drawer__title::after {
  content: ""; width: 28px; height: 1px;
  background: currentColor; opacity: .35;
}

.drawer__list {
  display: flex; flex-direction: column;
  gap: .15rem;
  text-align: center;
}
.drawer__list a {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem;
  color: var(--sage-deep);
  padding: .55rem 0;        /* zone touch ≥ 44px avec line-height */
  transition: color .25s, transform .25s var(--ease);
}
.drawer__list a:hover, .drawer__list a:focus-visible { color: var(--honey); }
.drawer__list a:active { transform: scale(.98); }

.drawer__foot {
  display: flex; flex-direction: column; gap: .55rem; align-items: center;
  padding-top: 1.4rem;
  margin-top: .4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.drawer__foot a {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 500;
  color: var(--sage-deep);
  padding: .25rem 0;
}
.drawer__foot a:hover { color: var(--honey); }
.drawer__foot svg { width: 14px; height: 14px; color: var(--honey); }
.drawer__hours {
  margin-top: .3rem;
  font-family: var(--serif); font-style: italic;
  font-size: .82rem; color: var(--muted);
  line-height: 1.4;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero__col--text { padding-right: clamp(0px, 3vw, 40px); }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--sage-deep);
  margin: .6rem 0 1.6rem;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--honey); font-weight: 500; }

.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero__sign {
  display: flex; align-items: baseline; gap: 1rem;
  margin: 1.2rem 0 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  max-width: 26ch;
}
.hero__sign .hand { font-size: 2.1rem; color: var(--sage-deep); line-height: 1; }
.hero__sign-cap { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.hero__actions { display: flex; gap: 1.4rem 2rem; flex-wrap: wrap; }

.hero__col--media { position: relative; }
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -36px rgba(43, 44, 37, .45);
  transform: translateY(0);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  display: flex; align-items: baseline; gap: .6rem;
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted);
}
.hero__caption-num {
  font-family: var(--sans); font-style: normal; font-size: .68rem;
  letter-spacing: .2em; color: var(--honey); font-weight: 600;
}
.hero__badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(246, 241, 227, .92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.6);
  padding: .42rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 500; color: var(--sage-deep);
}
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6b9b58;
  box-shadow: 0 0 0 0 rgba(107, 155, 88, .5);
  animation: pulseDot 2.2s infinite;
}
.hero__dot.is-closed { background: #c47657; animation: none; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(107, 155, 88, .55); }
  70% { box-shadow: 0 0 0 9px rgba(107, 155, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 155, 88, 0); }
}

.hero__rule {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex; justify-content: center; gap: 4rem;
  color: var(--sage); opacity: .6;
}
.hero__rule span {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.hero__rule svg { width: 16px; height: 16px; }

/* ---------- MANIFESTE ---------- */
.manifesto {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--paper-soft);
  text-align: center;
}
.manifesto .kicker { display: inline-flex; margin-bottom: 2rem; }
.manifesto__text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.32;
  color: var(--ink);
  max-width: 30ch;
  margin-inline: auto;
  text-wrap: balance;
}
.manifesto__text em {
  font-style: italic;
  color: var(--sage);
  display: block;
  margin: .8rem auto;
}
.manifesto__line {
  width: 50px; height: 1px;
  background: var(--honey);
  margin: 2.4rem auto 0;
}

/* ---------- PORTRAIT ---------- */
.portrait {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--paper);
}
.portrait__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.portrait__text p { color: var(--ink-soft); margin-top: 1rem; max-width: 52ch; }
.portrait__keys {
  margin-top: 2.4rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.portrait__keys > div { display: flex; flex-direction: column; }
.portrait__keys strong {
  font-family: var(--serif); font-weight: 600;
  font-size: 2.2rem; line-height: 1; color: var(--sage-deep);
}
.portrait__keys strong i { font-style: normal; font-size: .65em; color: var(--honey); }
.portrait__keys span { font-size: .8rem; color: var(--muted); margin-top: .35rem; letter-spacing: .04em; }

.portrait__visual { position: relative; }
.portrait__photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 26px 70px -34px rgba(43, 44, 37, .45);
}
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait__photo--main {
  aspect-ratio: 4 / 5;
}
.portrait__photo--accent {
  position: absolute; right: -6%; bottom: -10%;
  width: 48%; aspect-ratio: 1;
  border: 6px solid var(--paper);
}
.portrait__hand {
  position: absolute;
  left: -2%; top: -6%;
  font-size: 1.7rem;
  color: var(--sage-deep);
  transform: rotate(-4deg);
  background: var(--paper);
  padding: .35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px -12px rgba(0,0,0,.2);
}

/* ---------- JOURNAL (carnet de saison) ---------- */
.journal {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--paper-soft);
  position: relative;
}
.journal__head { max-width: 600px; margin-bottom: 3rem; }
.journal__sub { color: var(--muted); margin-top: .8rem; font-size: 1.02rem; max-width: 50ch; }

.journal__page {
  position: relative;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--sage-deep);
  border-radius: 6px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow:
    0 1px 0 var(--paper-edge),
    0 30px 60px -32px rgba(43, 44, 37, .25);
  max-width: 980px;
  margin-inline: auto;
}
.journal__page::before {
  /* faux scotch en haut */
  content: "";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 110px; height: 24px;
  background: rgba(234, 214, 162, .55);
  border: 1px solid rgba(199, 156, 58, .25);
  border-radius: 2px;
}

.journal__top {
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}
.journal__monogram {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--sage-deep);
}
.journal__year { font-size: 1.3rem; color: var(--muted); }

.journal__body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.journal__hand { color: var(--honey); font-size: 1.45rem; margin-bottom: .3rem; }
.journal__name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.journal__story {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1.1rem; line-height: 1.55;
  max-width: 45ch;
}
.journal__list {
  display: grid; gap: .6rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}
.journal__list li {
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  position: relative;
}
.journal__list li::before {
  content: "·"; position: absolute; left: -1.1rem;
  color: var(--honey); font-size: 1.6rem; line-height: 1;
}

.journal__foot {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.journal__foot .hand { font-size: 1.8rem; color: var(--sage-deep); }

/* ---------- WORKS / Panneaux créations (sticky stacking type Zenchef) ---------- */
.works {
  background: var(--paper);
  /* Sécurise le sticky des panneaux : pas d'overflow:hidden ni de transform sur les ancêtres */
}
.works__head {
  padding-block: clamp(4rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}
.works__sub { color: var(--muted); margin-top: .8rem; font-size: 1.02rem; max-width: 50ch; }

.works__list {
  display: block;
  position: relative;
}

/* ---- LE STACK ----
   Chaque panneau est sticky en haut, fait 100vh.
   Le suivant a un z-index plus grand → il glisse par-dessus pour couvrir le précédent.
   Effet d'empilement de cartes (Zenchef / Apple / Airbnb).
*/
.panel {
  background: var(--panel-bg);
  color: var(--panel-fg);
  position: sticky;
  top: 0;
  min-height: 80vh;
  display: flex; align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -14px 50px -22px rgba(0, 0, 0, .28);
  will-change: transform;
}
.panel:nth-child(1) { z-index: 1; }
.panel:nth-child(2) { z-index: 2; }
.panel:nth-child(3) { z-index: 3; }
.panel:nth-child(4) { z-index: 4; }
.panel:nth-child(5) { z-index: 5; }
.panel:nth-child(6) { z-index: 6; }
.panel:last-child {
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.panel__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.panel__inner--flip { grid-template-columns: 1fr 1.15fr; }
.panel__inner--flip .panel__media { order: 2; }

/* ---- État initial des éléments du panneau (avant reveal) ---- */
.panel__media,
.panel__num,
.panel__kicker,
.panel__title,
.panel__desc,
.panel__foot {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1);
}
.panel__media { transform: translateX(-32px) scale(.96); transform-origin: center; }
.panel__inner--flip .panel__media { transform: translateX(32px) scale(.96); }

.panel__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, .35);
}
.panel__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 2s var(--ease);
}
.panel:hover .panel__media img { transform: scale(1.05); }

.panel__body { padding-block: 1rem; }

.panel__num {
  display: block;
  font-family: var(--serif); font-style: italic;
  font-size: .95rem;
  color: var(--panel-accent);
  opacity: 0;        /* sera animé en .8 par .is-revealed */
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}

.panel__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--panel-accent);
  margin-bottom: 1rem;
}
.panel__kicker::before {
  content: ""; height: 1px; background: currentColor; opacity: .6; flex-shrink: 0;
  width: 0;                  /* sera étiré par .is-revealed */
  transition: width .9s cubic-bezier(.22, 1, .36, 1) .55s;
}

/* Titre avec soulignage qui se trace */
.panel__title {
  display: inline-block;
  position: relative;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: 1.3rem;
  text-wrap: balance;
  color: var(--panel-fg);
  padding-bottom: 10px;
}
.panel__title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--panel-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.panel__desc {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  opacity: .9;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.panel__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem 1.4rem; flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, var(--panel-fg) 22%, transparent);
}
.panel__price {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; opacity: .75;
}
.panel__price b {
  font-style: normal; font-weight: 600;
  font-size: 1.2rem; opacity: 1;
  font-variant-numeric: tabular-nums;
  padding-inline: .1em;
}
.panel__cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  color: var(--panel-accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap .3s var(--ease), opacity .3s;
}
.panel__cta:hover { gap: .8rem; opacity: .75; }
.panel__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.panel__cta:hover svg { transform: translateX(4px); }

/* Signature manuscrite décorative dans le coin */
.panel__sign {
  position: absolute;
  right: clamp(.5rem, 3vw, 2rem);
  bottom: -.4rem;
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: var(--panel-accent);
  opacity: 0;          /* sera animée à .14 par .is-revealed */
  pointer-events: none;
  line-height: 1;
  transform: rotate(-4deg) translateY(20px);
  user-select: none;
  z-index: 1;
  transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1);
}

/* ---- État révélé (déclenché par IntersectionObserver) ---- */
.panel.is-revealed .panel__media   { opacity: 1; transform: none;                transition-delay: .05s; }
.panel.is-revealed .panel__num     { opacity: .8; transform: none;               transition-delay: .25s; }
.panel.is-revealed .panel__kicker  { opacity: 1; transform: none;                transition-delay: .35s; }
.panel.is-revealed .panel__kicker::before { width: 26px; }
.panel.is-revealed .panel__title   { opacity: 1; transform: none;                transition-delay: .45s; }
.panel.is-revealed .panel__title::after { transform: scaleX(1);                  transition-delay: .85s; }
.panel.is-revealed .panel__desc    { opacity: .9; transform: none;               transition-delay: .65s; }
.panel.is-revealed .panel__foot    { opacity: 1; transform: none;                transition-delay: .8s; }
.panel.is-revealed .panel__sign    { opacity: .14; transform: rotate(-4deg);     transition-delay: 1s; }

/* Si motion réduit : on bypasse les animations */
@media (prefers-reduced-motion: reduce) {
  .panel__media, .panel__num, .panel__kicker, .panel__title, .panel__desc, .panel__foot, .panel__sign,
  .panel__title::after, .panel__kicker::before {
    opacity: 1 !important;
    transform: none !important;
    width: auto !important;
  }
  .panel__title::after { transform: scaleX(1) !important; }
  .panel__kicker::before { width: 26px !important; }
  .panel__sign { opacity: .14 !important; }
}

/* ---------- BOARD (la carte en tuiles) ---------- */
.board {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.board__head { max-width: 600px; margin-bottom: 3rem; }
.board__sub { color: var(--muted); margin-top: .8rem; max-width: 50ch; }

.board__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.board__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: border-color .3s, transform .3s var(--ease);
}
.board__card:hover { border-color: var(--sage); transform: translateY(-4px); }
.board__card > header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.board__roman {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.45rem; color: var(--honey);
}
.board__card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.45rem; color: var(--sage-deep);
}
.board__card ul { display: grid; gap: .85rem; }
.board__card li {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: .96rem;
}
.board__card li span { color: var(--ink); flex: 1; }
.board__card li span em { color: var(--muted); font-style: italic; font-size: .88em; display: block; margin-top: .1rem; }
.board__card li b { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--sage-deep); font-variant-numeric: tabular-nums; }

.board__note {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--ink-soft);
}
.board__note .link-soft { margin-left: .6rem; }

/* ---------- ATELIER (scroll horizontal) ---------- */
.atelier {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--paper);
  overflow: hidden;
}
.atelier__head { max-width: 640px; margin-bottom: 2.4rem; }
.atelier__sub { color: var(--muted); margin-top: .8rem; max-width: 50ch; font-size: 1.02rem; }

/* Viewer éditorial : grande photo à gauche, vignettes à droite */
.viewer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.viewer__stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -36px rgba(43, 44, 37, .45);
  background: var(--paper-edge);
}
.viewer__stage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: opacity .45s var(--ease), transform 1.2s var(--ease);
  will-change: opacity;
}
.viewer.is-changing .viewer__stage img { opacity: 0; }
.viewer__index {
  position: absolute; top: 1rem; left: 1.2rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: .9rem;
  color: var(--paper); opacity: .85;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  letter-spacing: .04em;
}
.viewer__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.4rem 1.1rem;
  background: linear-gradient(to top, rgba(20, 24, 18, .82), transparent);
  color: var(--paper);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  text-wrap: balance;
  transition: opacity .35s var(--ease);
}
.viewer.is-changing .viewer__cap { opacity: 0; }

.viewer__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.viewer__thumb {
  position: relative;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
  font: inherit; color: inherit;
  transition: transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.viewer__thumb img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease), filter .35s var(--ease);
  filter: saturate(.92);
}
.viewer__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(43, 44, 37, .25);
  transition: background .35s var(--ease);
  pointer-events: none;
}
.viewer__thumb span {
  position: absolute; left: .7rem; bottom: .55rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: .9rem;
  color: var(--paper);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  letter-spacing: .01em;
  transition: opacity .25s, transform .25s var(--ease);
  opacity: 0; transform: translateY(4px);
}
.viewer__thumb:hover::after { background: rgba(43, 44, 37, .05); }
.viewer__thumb:hover img { transform: scale(1.05); filter: saturate(1); }
.viewer__thumb:hover span,
.viewer__thumb:focus-visible span { opacity: 1; transform: none; }
.viewer__thumb.is-active::after { background: transparent; box-shadow: inset 0 0 0 3px var(--honey); }
.viewer__thumb.is-active img { filter: saturate(1.05); }
.viewer__thumb.is-active span { opacity: 1; transform: none; color: var(--honey-soft); }

/* ---------- CITATION ---------- */
.quote {
  padding-block: clamp(5rem, 11vw, 9rem);
  background: var(--paper-soft);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote__mark {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px;
  color: var(--honey); margin-bottom: 1.6rem; opacity: .55;
}
.quote__mark svg { width: 36px; height: 36px; fill: currentColor; stroke-width: 0; }
.quote__text {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.45; color: var(--ink);
  max-width: 28ch; margin-inline: auto;
  text-wrap: balance;
  transition: opacity .3s var(--ease);
}
.quote.is-changing .quote__text,
.quote.is-changing .quote__foot { opacity: 0; }
.quote__foot {
  margin-top: 2rem;
  transition: opacity .3s var(--ease);
}
.quote__foot .hand { font-size: 2rem; color: var(--sage-deep); display: block; line-height: 1; margin-bottom: .4rem; }
.quote__sub { font-size: .82rem; color: var(--muted); letter-spacing: .08em; }
.quote__pager {
  margin-top: 2.2rem;
  display: inline-flex; align-items: center; gap: 1.4rem;
  font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted);
}
.quote__pager button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer; color: var(--sage-deep); font-size: 1rem;
  transition: background .25s, color .25s;
}
.quote__pager button:hover { background: var(--sage-deep); color: var(--paper); }

/* ---------- VISIT (contact + carte fond) ---------- */
.visit {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6rem) clamp(4rem, 8vw, 6rem);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.visit__map {
  position: absolute; inset: 0; z-index: -1;
  background: var(--paper-edge);
}
.visit__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(.4) contrast(.96) sepia(.05);
}
.visit__map::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(246, 241, 227, .85) 40%, rgba(246, 241, 227, .1) 75%, transparent);
}
.visit__wrap { display: grid; grid-template-columns: minmax(0, 520px) 1fr; }
.visit__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 30px 80px -36px rgba(43, 44, 37, .45);
}
.visit__title { margin: .4rem 0 1rem; }
.visit__intro { color: var(--ink-soft); margin-bottom: 1.8rem; }

.visit__list { display: grid; gap: 1.2rem; margin-bottom: 1.6rem; }
.visit__list li { display: grid; grid-template-columns: 28px 1fr auto; gap: .9rem; align-items: start; }
.visit__list li svg { width: 18px; height: 18px; color: var(--sage); margin-top: 4px; }
.visit__list strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--sage-deep); margin-bottom: .15rem; }
.visit__list div { color: var(--muted); font-size: .92rem; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.visit__list div em { font-style: italic; color: var(--muted); display: block; font-size: .85em; }
.visit__list a:hover { color: var(--honey); }
.copy {
  align-self: center;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: transparent; color: var(--sage-deep);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .35rem .75rem; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.copy:hover { background: var(--sage-deep); color: var(--paper); border-color: transparent; }
.copy.is-copied { background: var(--honey); color: var(--ink); border-color: transparent; }

.visit__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.visit__tip {
  margin-top: 1.6rem; padding: 1rem 1.2rem;
  background: var(--paper-soft); border-left: 3px solid var(--honey);
  border-radius: 4px;
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  color: var(--ink-soft);
  display: flex; gap: .7rem; align-items: flex-start;
}
.visit__tip svg { width: 18px; height: 18px; color: var(--honey); flex-shrink: 0; margin-top: 3px; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--sage-deep);
  color: rgba(246, 241, 227, .8);
  padding-top: 4rem;
}
.foot__top {
  display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 241, 227, .12);
}
.foot__sign { display: block; font-size: 2.4rem; color: var(--honey-soft); margin-bottom: .8rem; line-height: 1; }
.foot__top p { font-size: .95rem; max-width: 38ch; color: rgba(246, 241, 227, .68); }
.foot__cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.foot__cols ul { display: grid; gap: .55rem; font-size: .92rem; }
.foot__cols a:hover { color: var(--honey-soft); }
.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 1.5rem; font-size: .8rem; color: rgba(246, 241, 227, .55);
  gap: 1rem; flex-wrap: wrap;
}
.foot__credit { font-style: italic; }
.foot__top-link { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.foot__top-link:hover { color: var(--honey-soft); }
.foot__top-link svg { width: 14px; height: 14px; }

/* ---------- Lightbox simple ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 24, 18, .95);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb figure { max-width: 92vw; max-height: 88vh; text-align: center; }
.lb img { max-width: 92vw; max-height: 78vh; border-radius: var(--radius-sm); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.lb figcaption {
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic;
  color: rgba(246, 241, 227, .85); font-size: .95rem;
}
.lb__close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(246, 241, 227, .08); color: var(--paper);
  border: 1px solid rgba(246, 241, 227, .25);
  border-radius: 50%; cursor: pointer;
  transition: background .25s, transform .3s var(--ease);
}
.lb__close:hover { background: var(--honey); color: var(--ink); transform: rotate(90deg); }
.lb__close svg { width: 22px; height: 22px; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Scrollbar discrète ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-soft); }
::-webkit-scrollbar-thumb { background: var(--sage-soft); border-radius: 6px; border: 3px solid var(--paper-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .nav__side { gap: 1.2rem; font-size: .82rem; }
}

/* ========================================================================
   Tablette + mobile (< 900px)
   ======================================================================== */
@media (max-width: 900px) {
  /* ---- Mises en page : tout passe en colonne ---- */
  .hero__grid,
  .portrait__grid,
  .panel__inner, .panel__inner--flip,
  .visit__wrap,
  .journal__body,
  .foot__top, .foot__cols,
  .viewer { grid-template-columns: 1fr; }
  .panel__inner--flip .panel__media { order: 0; }
  .board__grid { grid-template-columns: 1fr; }

  /* ---- Nav : liens dans le drawer, logo centré, hamburger + téléphone ---- */
  .nav__inner { grid-template-columns: auto 1fr auto; padding-inline: 0; }
  .nav__side { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer;
    padding: 12px;            /* zone touch 44×44 */
    justify-self: start;
    position: relative; z-index: 80;   /* reste au-dessus du drawer */
  }
  .nav__toggle span { width: 22px; height: 1.5px; background: var(--sage-deep); transition: transform .3s var(--ease), opacity .3s; }
  .nav__toggle.is-open span { background: var(--sage-deep); }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .nav__phone {
    display: grid; place-items: center;
    width: 44px; height: 44px;             /* a11y touch */
    background: var(--sage-deep); color: var(--paper);
    border-radius: 50%; justify-self: end;
  }
  .nav__phone svg { width: 16px; height: 16px; }

  .brand__small { display: none; }
  .brand__title { font-size: 1.1rem; }
  .brand__line { width: 16px; }

  /* ---- Annonce : socials toujours visibles, texte trimmé proprement ---- */
  .announce__inner { gap: .6rem; }
  .announce__pretitle { font-size: .78rem; line-height: 1.2; }
  .announce__socials a { width: 32px; height: 32px; }

  /* ---- Hero : carré au lieu de portrait haut, badge plus petit ---- */
  .hero { padding-block: clamp(2rem, 5vw, 3rem) clamp(2rem, 5vw, 3rem); }
  .hero__col--text { padding-right: 0; }
  .hero__col--media { margin-top: 1.6rem; }
  .hero__photo { aspect-ratio: 1 / 1; max-height: 65vh; }
  .hero__sign { max-width: none; padding-top: 1rem; }
  .hero__sign .hand { font-size: 1.85rem; }
  .hero__badge {
    top: .8rem; left: .8rem;
    font-size: .72rem; padding: .35rem .7rem;
  }
  .hero__rule { display: none; }
  .hero__actions { gap: 1rem 1.6rem; }

  /* ---- Manifeste : moins large ---- */
  .manifesto__text { font-size: clamp(1.4rem, 5vw, 1.9rem); }

  /* ---- Portrait : accent et annotation manuscrite repassent en flux ---- */
  .portrait__grid { gap: 2.4rem; }
  .portrait__visual {
    display: grid; gap: 1rem;
    grid-template-columns: 1fr;
  }
  .portrait__photo--main { aspect-ratio: 5 / 4; }
  .portrait__photo--accent {
    position: static;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    right: auto; bottom: auto;
  }
  .portrait__hand {
    position: static;
    transform: none;
    background: none;
    box-shadow: none;
    padding: 0;
    font-size: 1.5rem;
    text-align: left;
    margin-top: -.3rem;
  }
  .portrait__keys { gap: 1.2rem; }
  .portrait__keys strong { font-size: 1.8rem; }

  /* ---- Journal ---- */
  .journal__page { padding: 1.8rem 1.5rem; }
  .journal__page::before { width: 80px; height: 18px; top: -10px; }
  .journal__top { gap: .8rem; align-items: baseline; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.4rem; }
  .journal__monogram { font-size: clamp(2.6rem, 9vw, 3.4rem); }
  .journal__year { font-size: 1.05rem; }
  .journal__body { gap: 1.6rem; }
  .journal__name { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  .journal__story { font-size: 1rem; }
  .journal__list { padding-left: 1rem; border-left: 1px solid var(--line); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: .4rem; }
  .journal__list li { font-size: 1.05rem; }
  .journal__foot { gap: .8rem; }
  .journal__foot .hand { font-size: 1.6rem; }

  /* ---- Panels (créations) : on garde le sticky stacking, juste réajusté ---- */
  .panel {
    /* position: sticky + top: 0 viennent de la base, on conserve */
    min-height: 80vh;
    padding-block: clamp(2.4rem, 6vw, 3.8rem);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 -10px 36px -20px rgba(0, 0, 0, .22);
  }
  .panel:last-child {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }
  .panel__inner { gap: 1.4rem; }
  .panel__body { padding-block: 0; }
  .panel__media { aspect-ratio: 4 / 3; }
  .panel__num { font-size: .82rem; margin-bottom: .6rem; }
  .panel__kicker { font-size: .68rem; letter-spacing: .22em; margin-bottom: .6rem; }
  .panel__kicker::before { width: 22px !important; }
  .panel__title { font-size: clamp(1.55rem, 5.8vw, 2rem); margin-bottom: .8rem; padding-bottom: 8px; }
  .panel__desc { font-size: .98rem; line-height: 1.5; margin-bottom: 1.3rem; }
  .panel__foot { padding-top: .9rem; gap: .7rem 1.1rem; }
  .panel__price { font-size: .9rem; }
  .panel__price b { font-size: 1.02rem; }
  .panel__sign { font-size: 3rem; right: 1rem; bottom: -.2rem; opacity: .1; }
  .panel.is-revealed .panel__sign { opacity: .1; }

  /* ---- Board : tuiles compactes, lignes longues qui s'enroulent proprement ---- */
  .board__card { padding: 1.5rem 1.4rem; }
  .board__card li { flex-wrap: wrap; row-gap: .15rem; column-gap: .6rem; }
  .board__card li span { flex: 1 1 100%; }
  .board__card li b { flex: 0 0 auto; }

  /* ---- Viewer atelier : photo capée, vignettes plus petites mais visibles ---- */
  .viewer { gap: 1.2rem; }
  .viewer__stage img { aspect-ratio: 4 / 5; max-height: 75vh; }
  .viewer__index { font-size: .78rem; top: .7rem; left: .9rem; }
  .viewer__cap { font-size: .95rem; padding: 1.3rem 1.1rem .9rem; }
  .viewer__thumbs { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .viewer__thumb { min-height: 80px; }
  .viewer__thumb span { font-size: .78rem; left: .55rem; bottom: .45rem; opacity: 1; transform: none; }

  /* ---- Quote ---- */
  .quote__text { font-size: clamp(1.3rem, 4.5vw, 1.7rem); }
  .quote__pager { gap: 1.1rem; }
  .quote__pager button {
    width: 42px; height: 42px;       /* a11y touch */
    font-size: 1.1rem;
  }

  /* ---- Visit : la carte fond devient un bandeau au-dessus du card ---- */
  .visit { padding-block: 0 clamp(3rem, 6vw, 4.5rem); }
  .visit__map {
    position: relative;
    inset: auto;
    height: 220px;
    margin-bottom: -56px;
    z-index: 0;
    opacity: 1;
  }
  .visit__map::after {
    background: linear-gradient(to bottom, transparent 0%, transparent 55%, var(--paper) 100%);
  }
  .visit__map iframe { pointer-events: none; }   /* évite que la carte capte le scroll */
  .visit__wrap { display: block; position: relative; z-index: 1; padding-top: 1rem; }
  .visit__card { padding: 1.8rem 1.5rem; max-width: 100%; }
  .visit__title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .visit__list li { grid-template-columns: 22px 1fr; row-gap: .35rem; }
  .visit__list li svg { margin-top: 5px; }
  .copy {
    grid-column: 2; justify-self: start;
    min-height: 36px; padding: .5rem .85rem;
  }
  .visit__cta { gap: .6rem; }
  .btn { padding: .85rem 1.4rem; }

  /* ---- Footer ---- */
  .foot { padding-top: 3rem; }
  .foot__top { gap: 1.8rem; padding-bottom: 2rem; }
  .foot__cols { gap: 1.4rem; }
  .foot__sign { font-size: 2.1rem; }
  .foot__bottom { padding-block: 1.2rem; gap: .8rem; font-size: .78rem; }
}

/* ========================================================================
   Petits écrans (< 580px)
   ======================================================================== */
@media (max-width: 580px) {
  /* ---- Annonce ---- */
  .announce__inner { padding-block: .5rem; }
  .announce__pretitle { font-size: .72rem; }
  .announce__pretitle .hide-md { display: none; }   /* on garde "Atelier de pâtisserie · Depuis 2022" */
  .announce__socials { gap: .3rem; }
  .announce__socials a { width: 30px; height: 30px; }
  .announce__socials svg { width: 13px; height: 13px; }

  /* ---- Hero ---- */
  .hero__title { font-size: clamp(2.2rem, 11vw, 3rem); margin-bottom: 1.2rem; }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__sign { margin: 1rem 0 1.4rem; }
  .hero__sign .hand { font-size: 1.6rem; }
  .hero__photo { aspect-ratio: 5 / 6; }

  /* ---- Portrait ---- */
  .portrait { padding-block: 3.5rem; }
  .portrait__keys { grid-template-columns: 1fr 1fr; }
  .portrait__keys strong { font-size: 1.6rem; }
  .lede { font-size: 1.1rem; }

  /* ---- Journal ---- */
  .journal__page { padding: 1.6rem 1.2rem; }
  .journal__top { padding-bottom: .8rem; margin-bottom: 1.2rem; }

  /* ---- Works ---- */
  .works__head { margin-bottom: 2rem; }

  /* ---- Board ---- */
  .board__card { padding: 1.3rem 1.2rem; }

  /* ---- Viewer atelier ---- */
  .viewer__stage img { aspect-ratio: 4 / 5; max-height: 78vh; }
  .viewer__thumbs { gap: .45rem; }
  .viewer__thumb span { font-size: .72rem; }

  /* ---- Quote ---- */
  .quote { padding-block: 4rem; }
  .quote__mark { width: 40px; height: 40px; margin-bottom: 1rem; }
  .quote__mark svg { width: 28px; height: 28px; }

  /* ---- Visit ---- */
  .visit__map { height: 180px; margin-bottom: -46px; }
  .visit__card { padding: 1.6rem 1.3rem; }
  .visit__intro { font-size: .95rem; margin-bottom: 1.4rem; }

  /* ---- Footer ---- */
  .foot__bottom { font-size: .72rem; padding-block: 1rem; }
  .foot__top-link { font-size: .78rem; }
}

/* ========================================================================
   Très petits écrans (< 380px) — derniers ajustements
   ======================================================================== */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .announce__inner { padding-inline: 16px; }
  .announce__pretitle .hide-sm { display: none; }   /* on tombe à "Atelier de pâtisserie" */
  .hero__title { font-size: 2rem; }
  .visit__list li { grid-template-columns: 18px 1fr; }
  .visit__list li svg { width: 16px; height: 16px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ========================================================================
   SHOPS — les deux boutiques (section propre à Madame Miettes)
   ======================================================================== */
.shops {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--paper);
}
.shops__head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.shops__sub { color: var(--muted); margin-top: .8rem; font-size: 1.02rem; max-width: 52ch; }

.shops__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 1.8rem);
}
.shop-card {
  display: flex; flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px -34px rgba(44, 34, 48, .45);
  border-color: transparent;
}
.shop-card__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
}
.shop-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.shop-card:hover .shop-card__media img { transform: scale(1.05); }
.shop-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--paper); color: var(--sage-deep);
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(44, 34, 48, .4);
}
.shop-card__body {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex; flex-direction: column; gap: 1rem; flex: 1;
}
.shop-card__body h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--sage-deep); line-height: 1.05;
}
.shop-card__body p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.shop-card__list {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.shop-card__list li {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  color: var(--sage-deep);
  background: color-mix(in srgb, var(--sage-soft) 55%, var(--paper));
  padding: .35rem .8rem; border-radius: 999px;
}
.shop-card .link-soft { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) {
  .shops__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   IDENTITÉ PROPRE MADAME MIETTES (override, après la base Ninon)
   stickers · motif miettes · sections teintées · diptyque · mur · commande
   ======================================================================== */

/* ---------- Étiquettes / stickers (remplacent les « ·Chapitre· ») ---------- */
.chapter, .sticker {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-style: normal;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--honey-soft);
  padding: .42rem .9rem; border-radius: 999px;
  border: 1.5px dashed color-mix(in srgb, var(--sage-deep) 22%, transparent);
  transform: rotate(-1.6deg);
  box-shadow: 0 6px 16px -12px rgba(44, 34, 48, .55);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.sticker { margin-bottom: 0; }
.sticker--pop { background: var(--sage); color: #fff; border-color: rgba(255, 255, 255, .55); transform: rotate(-2.4deg); }

/* ---------- Motif « miettes » (éclats colorés) ---------- */
.crumbs { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.3rem; }
.crumbs i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); }
.crumbs i:nth-child(1) { background: var(--sage); width: 6px; height: 6px; transform: translateY(-5px); }
.crumbs i:nth-child(2) { background: #f4b83e; width: 10px; height: 10px; }
.crumbs i:nth-child(3) { background: #4e9fd0; width: 6px; height: 6px; transform: translateY(4px); }
.crumbs i:nth-child(4) { background: var(--sage); width: 8px; height: 8px; transform: translateY(-3px); }
.crumbs i:nth-child(5) { background: var(--honey); width: 5px; height: 5px; transform: translateY(5px); }
.crumbs i:nth-child(6) { background: #3e9b6e; width: 9px; height: 9px; }
.crumbs--corner { position: absolute; top: .8rem; right: .8rem; z-index: 3; }

/* ---------- Parcours coloré : quelques sections teintées ---------- */
.manifesto { background: #fbe9d2; }
.shops     { background: #fdeef3; }
.journal   { background: #e7f3ec; }
.quote     { background: #fdeef3; }

/* ---------- Nav : logo centré + CTA corail JUSTE SOUS le logo ---------- */
.nav__center { display: flex; flex-direction: column; align-items: center; gap: .5rem; justify-self: center; }
.nav__cta {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  background: var(--honey); color: #fff;
  padding: .42rem 1rem; border-radius: 999px;
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  text-transform: none; border: 0; transform: none; margin: 0; white-space: nowrap;
  box-shadow: 0 12px 24px -12px var(--honey);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.nav__cta:hover { transform: translateY(-2px); background: #e0653c; box-shadow: 0 16px 30px -12px var(--honey); }
.nav__cta svg { width: 16px; height: 16px; }

/* Compteur du panier (badge), partagé accueil + boutique */
.cart-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--sage-deep); color: #fff; border-radius: 999px;
  font-size: .7rem; font-weight: 700; line-height: 1;
  transition: transform .25s var(--ease);
}
.cart-count.is-empty { display: none; }
.cart-count.has { animation: cartPop .3s var(--ease); }
@keyframes cartPop { 50% { transform: scale(1.4); } }

/* CTA Boutique dans le hero */
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.7rem; }
.hero__shop { font-size: 1rem; padding: .95rem 1.7rem; gap: .55rem; }
.hero__shop svg { width: 18px; height: 18px; }

/* ---------- HERO diptyque ---------- */
.hero--dip { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.hero__intro { max-width: 780px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.hero__intro .hero__title { margin: .6rem auto 1.2rem; }
.hero__intro .hero__lead { margin-inline: auto; }
.hero__intro .crumbs { justify-content: center; margin-top: 1rem; }

.diptych { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
.dip {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 5 / 6;
  box-shadow: 0 30px 70px -34px rgba(44, 34, 48, .5);
  transition: transform .4s var(--ease);
}
.dip:hover { transform: translateY(-6px); }
.dip__photo { position: absolute; inset: 0; }
.dip__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dip:hover .dip__photo img { transform: scale(1.06); }
.dip::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transition: opacity .4s;
}
.dip--fleurs::after { background: linear-gradient(165deg, rgba(195, 46, 106, .12) 0%, rgba(90, 37, 82, .12) 35%, rgba(40, 16, 34, .62) 100%); }
.dip--store::after  { background: linear-gradient(165deg, rgba(78, 159, 208, .14) 0%, rgba(90, 37, 82, .12) 35%, rgba(40, 16, 34, .62) 100%); }
.dip__label { position: absolute; top: 1rem; left: 1rem; z-index: 2; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.1; }
.dip__label small { font-size: .68em; font-weight: 600; opacity: .8; letter-spacing: .04em; }
.dip__go {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  color: #fff; font-weight: 500; font-size: .95rem;
  transition: gap .3s var(--ease);
}
.dip__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.dip:hover .dip__go { gap: .65rem; }
.dip:hover .dip__go svg { transform: translateX(3px); }

.hero--dip .hero__badge {
  position: absolute; top: 1rem; right: 1rem; left: auto; bottom: auto; transform: none;
  z-index: 5; margin: 0;
  box-shadow: 0 14px 30px -14px rgba(44, 34, 48, .5);
}

/* ---------- MUR DES TROUVAILLES (scroll immersif, façon Histoire de Cuirs) ----------
   Titre sticky au centre de l'écran + mix-blend-exclusion (s'inverse sur les visuels) ;
   la grille défile à travers grâce aux marges 50vh. */
.mwall { position: relative; width: 100%; background: #fff9f1; padding: 0; }
.mwall__title {
  position: sticky; top: 50%; transform: translateY(-50%); z-index: 20;
  text-align: center; color: #fff; mix-blend-mode: exclusion; pointer-events: none; padding: 0 16px;
}
.mwall__title h2 {
  color: #fff; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 8rem); line-height: .92; letter-spacing: -.02em; margin: 0;
}
.mwall__title h2 em { color: #fff; font-style: italic; }
.mwall__title p {
  margin-top: 14px; font-family: var(--sans);
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.mwall__grid {
  position: relative; z-index: 0; margin: 32vh 0;
  display: flex; flex-direction: column; gap: clamp(.7rem, 1.6vw, 1.1rem);
}
.mwall__row { display: grid; gap: clamp(.7rem, 1.6vw, 1.1rem); }
.mwall__cell { aspect-ratio: 1; }
.mwall-item {
  width: 100%; height: 100%; margin: 0; border-radius: 14px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 22px 46px -26px rgba(44, 34, 48, .55);
  will-change: transform, opacity;
  opacity: 0; transform: scale(.86) translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.mwall-item.mw-in { opacity: 1; transform: none; }
.mwall-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.mwall-item:hover img { transform: scale(1.06); }

/* ---------- COMMANDER (configurateur) ---------- */
.order { padding-block: clamp(4rem, 9vw, 7rem); background: #eaf3fb; }
.order__head { text-align: center; max-width: 660px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.order__head .sticker { margin-bottom: 1rem; }
.order__sub { color: var(--ink-soft); margin-top: .6rem; }
.order__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.order__media { position: sticky; top: 100px; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px -34px rgba(44, 34, 48, .5); }
.order__media img { width: 100%; height: 100%; object-fit: cover; }
.order__cap { position: absolute; top: 1rem; left: 1rem; z-index: 3; }

.config { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: 0 30px 70px -40px rgba(44, 34, 48, .45); }
.config__block { border: 0; padding: 0; margin: 0 0 1.7rem; }
.config__block legend { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--sage-deep); margin-bottom: 1rem; padding: 0; }
.config__step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; flex-shrink: 0; }

.size-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.size-card { position: relative; cursor: pointer; }
.size-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.size-card__in { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; padding: 1rem .5rem; border: 1.5px solid var(--line-strong); border-radius: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.size-card__ic { color: var(--sage); font-size: 1rem; letter-spacing: 1px; }
.size-card__name { font-weight: 600; color: var(--ink); }
.size-card__price { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--sage-deep); }
.size-card input:checked + .size-card__in { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 22%, transparent); }
.size-card input:focus-visible + .size-card__in { outline: 2px solid var(--sage); outline-offset: 2px; }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.addon { position: relative; cursor: pointer; }
.addon input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.addon span { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem .95rem; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .92rem; transition: border-color .2s, background .2s; }
.addon b { color: var(--sage-deep); white-space: nowrap; }
.addon input:checked + span { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 10%, #fff); }
.addon input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.config__note { display: flex; flex-direction: column; gap: .35rem; margin-top: .9rem; font-size: .9rem; color: var(--ink-soft); }
.config__note em { color: var(--muted); font-style: italic; }
.config__note input, .deliv__field input, .deliv__field select { font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }

.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .9rem; }
.deliv__opt { position: relative; cursor: pointer; }
.deliv__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.deliv__opt span { display: flex; justify-content: space-between; gap: .4rem; padding: .7rem .95rem; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: .92rem; transition: border-color .2s, background .2s; }
.deliv__opt b { color: var(--sage-deep); }
.deliv__opt input:checked + span { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 10%, #fff); }
.deliv__when { display: flex; gap: .8rem; flex-wrap: wrap; }
.deliv__field { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: var(--muted); flex: 1 1 140px; }

.config__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.config__total { display: flex; flex-direction: column; }
.config__total span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.config__total strong { font-family: var(--serif); font-size: 2rem; color: var(--sage-deep); line-height: 1; }
.order__cta { font-size: 1rem; }
.config__reassure { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.config__reassure svg { width: 14px; height: 14px; color: var(--sage); vertical-align: -2px; margin-right: .2rem; }

/* ---------- SI BESOIN (note honnête) ---------- */
.ifneed { padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 6rem); background: #eaf3fb; }
.ifneed__card { position: relative; max-width: 760px; margin: 0 auto; background: var(--sage-deep); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.5rem, 4vw, 3rem); text-align: center; box-shadow: 0 36px 80px -40px rgba(44, 34, 48, .7); border: 2px dashed rgba(255, 255, 255, .25); }
.ifneed__badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2.5deg); }
.ifneed__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin: .4rem 0 1rem; }
.ifneed__lead { max-width: 56ch; margin: 0 auto 1rem; }
.ifneed strong { color: var(--honey-soft); font-weight: 600; }
.ifneed__small { font-size: .92rem; color: rgba(255, 255, 255, .62); max-width: 50ch; margin: 0 auto 1.6rem; }
.ifneed__cta { display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap; }
.ifneed__cta .btn--solid { background: var(--honey); color: #fff; }
.ifneed__cta .btn--solid:hover { background: #fff; color: var(--sage-deep); }
.ifneed__price { color: var(--honey-soft); font-size: 1.35rem; }
.ifneed.is-flash .ifneed__card { animation: ifneedPulse 1.1s var(--ease); }
@keyframes ifneedPulse { 0%, 100% { box-shadow: 0 36px 80px -40px rgba(44, 34, 48, .7); } 35% { box-shadow: 0 0 0 5px var(--honey), 0 36px 80px -40px rgba(44, 34, 48, .7); } }

/* ---------- Responsive des nouveaux blocs ---------- */
@media (max-width: 900px) {
  .order__grid { grid-template-columns: 1fr; }
  .order__media { position: relative; top: 0; aspect-ratio: 16 / 10; max-height: 320px; }
}
@media (max-width: 700px) {
  .diptych { grid-template-columns: 1fr; }
  .dip { aspect-ratio: 16 / 11; }
  .hero--dip .hero__badge { top: .8rem; right: .8rem; }
}
@media (max-width: 560px) {
  .size-cards { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .deliv { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit : le mur reste lisible ---------- */
@media (prefers-reduced-motion: reduce) {
  .mwall-item { transform: none !important; opacity: 1 !important; }
}

/* ========================================================================
   UI fonctionnelle partagée : toasts · retour-haut · formulaire contact
   ======================================================================== */
.mm-toasts {
  position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: .6rem; align-items: center;
  pointer-events: none; width: max-content; max-width: 92vw;
}
.mm-toast {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--sage-deep); color: #fff; padding: .7rem 1.1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; box-shadow: 0 16px 36px -16px rgba(44, 22, 40, .7);
  opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mm-toast.show { opacity: 1; transform: none; }
.mm-toast__ic { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3e9b6e; color: #fff; font-size: .72rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sage-deep); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .25s;
  box-shadow: 0 14px 30px -14px rgba(44, 22, 40, .7);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sage); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

.cform { display: grid; gap: .9rem; margin-top: 1.7rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.cform__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--sage-deep); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cform label { display: flex; flex-direction: column; gap: .35rem; font-size: .8rem; letter-spacing: .02em; color: var(--muted); }
.cform input, .cform textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 18%, transparent); }
.cform textarea { resize: vertical; min-height: 110px; }
.cform input.is-invalid, .cform textarea.is-invalid { border-color: #d6455f; }
.cform__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cform__status { font-size: .9rem; font-weight: 500; }
.cform__status.ok { color: #3e9b6e; }
.cform__status.ko { color: #d6455f; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }

/* ========================================================================
   FINITIONS des contrôles de formulaire (select custom, date, recherche)
   ======================================================================== */
/* Selects : on retire le style natif et on pose un chevron maison */
select.bshop__sort,
.config select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%235a2552' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 13px;
  padding-right: 2.1rem; cursor: pointer;
}
select.bshop__sort:focus, .config select:focus,
.cform input:focus, .cform textarea:focus,
.config__note input:focus, .deliv__field input:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 18%, transparent);
}

/* Champs date : curseur + icône calendrier teintée */
input[type="date"] { cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .55; cursor: pointer; transition: opacity .2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: .9; }

/* Recherche : on enlève les décorations natives WebKit */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button { -webkit-appearance: none; }
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; cursor: pointer; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/10px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.6px 10px no-repeat;
  color: var(--muted); transform: rotate(45deg); opacity: .6;
}
input[type="search"]::-webkit-search-cancel-button:hover { opacity: 1; }

/* ========================================================================
   Contact : 2 colonnes (infos | formulaire) — tout visible sans scroller
   ======================================================================== */
.visit__wrap { grid-template-columns: 1.05fr .95fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.visit__form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem); box-shadow: 0 30px 80px -36px rgba(44, 34, 48, .42);
}
.visit__form .cform { margin-top: 0; padding-top: 0; border-top: 0; gap: .85rem; }
.cform__sub { color: var(--muted); font-size: .92rem; margin: -.2rem 0 .5rem; }
@media (max-width: 900px) { .visit__form { margin-top: 1rem; } }

/* ---------- Croix de fermeture du menu mobile (dans le drawer) ---------- */
.drawer__close {
  position: absolute; top: 1rem; right: 1.1rem; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: none; border: 1.5px solid var(--line-strong); color: var(--sage-deep);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease);
}
.drawer__close:hover, .drawer__close:focus-visible {
  background: var(--sage-deep); color: var(--paper); border-color: transparent; transform: rotate(90deg);
}
