/* =========================================================
   Les Pâtisseries de Ninon
   Design éditorial · palette crème, sauge, miel
   ========================================================= */

:root {
  /* Palette */
  --paper:        #f6f1e3;
  --paper-soft:   #fbf7ea;
  --paper-edge:   #ede5d0;
  --ink:          #2b2c25;
  --ink-soft:     #4a4c41;
  --muted:        #7a7c6f;
  --sage-deep:    #344028;
  --sage:         #6b7e4b;
  --sage-soft:    #c7d3a8;
  --honey:        #c79c3a;
  --honey-soft:   #ead6a2;
  --line:         rgba(43, 44, 37, .12);
  --line-strong:  rgba(43, 44, 37, .25);

  /* Typo */
  --serif: "Cormorant Garamond", "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; }
}
