/* ==========================================================
   PALM EVENTS — V4 · système de design commun
   Couleurs d'interface : brun #472B12 et crème #EDE8D3 uniquement.
   Typographies : Libre Baskerville (titres) · Montserrat (texte).
   Sommaire
     1. Fondations          9. Événements (chapitres)
     2. Boutons            10. Prestations (lames)
     3. En-tête & menu     11. Fiche technique
     4. Hero intérieur     12. Contact
     5. Sections           13. Imaginer un événement
     6. Lieu : intro       14. Visionneuse photo
     7. Pellicule photos   15. Accueil : ajustements
     8. Autres lieux, CTA  16. Responsive
   ========================================================== */

/* ---------- 1. Fondations ---------- */
:root {
  --brown: #472B12;
  --cream: #EDE8D3;
  --b-08: rgba(71, 43, 18, .08);
  --b-14: rgba(71, 43, 18, .14);
  --b-22: rgba(71, 43, 18, .22);
  --b-60: rgba(71, 43, 18, .6);
  --b-75: rgba(71, 43, 18, .75);
  --c-12: rgba(237, 232, 211, .12);
  --c-20: rgba(237, 232, 211, .2);
  --c-35: rgba(237, 232, 211, .35);
  --c-70: rgba(237, 232, 211, .7);
  --c-82: rgba(237, 232, 211, .82);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(22px, 6vw, 96px);
  --wrap: 1280px;
}
.pe { color: var(--brown); }
.pe h1, .pe h2, .pe h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.pe-wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.pe-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 22px;
  opacity: .8;
}
.pe-lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.8; }
.pe-body { font-size: 15px; line-height: 1.95; }
.pe-body p { margin: 0 0 1.1em; }
.pe-cream { background: var(--cream); color: var(--brown); }
.pe-brown { background: var(--brown); color: var(--cream); }
.pe-brown h1, .pe-brown h2, .pe-brown h3 { color: var(--cream); }
.pe-cream h1, .pe-cream h2, .pe-cream h3 { color: var(--brown); }
.pe-section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.pe-section + .pe-section.pe-cream:not(.pe-flush) { border-top: 1px solid var(--b-14); }

/* ---------- 2. Boutons ----------
   Cadre fin, remplissage qui monte au survol et léger second cadre décalé.
   .pe-btn            brun sur crème
   .pe-btn--solid     plein brun
   .pe-btn--light     crème sur fond sombre
   .pe-btn--cream     plein crème sur fond sombre
   .pe-btn--sm        version compacte */
.pe-btn {
  --fg: var(--brown);
  --bd: var(--brown);
  --fill: var(--brown);
  --fg-h: var(--cream);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid var(--bd);
  background: transparent;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: visible;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.pe-btn::before { /* remplissage */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease);
}
.pe-btn::after { /* second cadre */
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--bd);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.pe-btn:hover, .pe-btn:focus-visible { color: var(--fg-h); }
.pe-btn:hover::before, .pe-btn:focus-visible::before { transform: scaleY(1); }
.pe-btn:hover::after, .pe-btn:focus-visible::after { opacity: .45; transform: none; }
.pe-btn:focus-visible { outline: none; }
.pe-btn .pe-dot { /* petit losange discret, remplace toute flèche */
  width: 5px; height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  transition: transform .45s var(--ease);
}
.pe-btn:hover .pe-dot { transform: rotate(225deg) scale(1.2); }
.pe-btn--solid { --fg: var(--cream); --bd: var(--brown); --fill: var(--cream); --fg-h: var(--brown); background: var(--brown); }
.pe-btn--light { --fg: var(--cream); --bd: var(--c-70); --fill: var(--cream); --fg-h: var(--brown); }
.pe-btn--cream { --fg: var(--brown); --bd: var(--cream); --fill: var(--brown); --fg-h: var(--cream); background: var(--cream); }
.pe-btn--cream:hover::before { background: var(--brown); }
.pe-btn--sm { min-height: 44px; padding: 0 22px; font-size: 10px; letter-spacing: .2em; }
.pe-btn[disabled] { opacity: .35; pointer-events: none; }
.pe-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* contextes sombres : les boutons de base passent en clair */
.pe-brown .pe-btn:not(.pe-btn--solid):not(.pe-btn--cream),
.places .pe-btn:not(.pe-btn--cream),
.experiences .pe-btn,
.interlude .pe-btn:not(.pe-btn--cream),
.closing-cinema .pe-btn:not(.pe-btn--cream),
.footer-grand .pe-btn:not(.pe-btn--cream),
.masthead .pe-btn:not(.pe-btn--cream),
.pe-hero .pe-btn:not(.pe-btn--cream),
.pe-cta .pe-btn:not(.pe-btn--cream) { --fg: var(--cream); --bd: var(--c-70); --fill: var(--cream); --fg-h: var(--brown); }

/* ---------- 3. En-tête & menu ---------- */
.masthead .topnav { gap: clamp(18px, 2.2vw, 34px); }
.masthead .topnav a { position: relative; padding: 8px 0; }
.masthead .topnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--cream); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.masthead .topnav a:hover::after, .masthead .topnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.masthead .header-cta { margin-left: clamp(16px, 2vw, 28px); }
body.pe-page .masthead {
  position: sticky; top: 0;
  transition: box-shadow .4s var(--ease), height .4s var(--ease);
}
body.pe-page.is-scrolled .masthead { box-shadow: 0 1px 0 var(--c-12); }
.mobile-menu .pe-btn { margin-top: 18px; align-self: flex-start; }

/* ---------- 4. Hero intérieur ---------- */
.pe-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: min(88svh, 900px);
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
}
.pe-hero-text {
  align-self: end;
  padding: 60px clamp(28px, 4.6vw, 72px) clamp(52px, 7vw, 96px) var(--pad);
  position: relative; z-index: 2;
}
.pe-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pe-crumbs li { display: flex; gap: 10px; align-items: center; color: var(--c-70); }
.pe-crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--c-35); }
.pe-crumbs a { color: var(--c-82); text-decoration: none; }
.pe-crumbs a:hover { color: var(--cream); }
.pe-hero h1 {
  font-size: clamp(40px, 5.2vw, 82px);
  line-height: 1.04;
  margin: 0 0 26px;
  color: var(--cream);
}
.pe-hero h1 i { font-style: italic; }
.pe-hero .pe-tag { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-82); margin: 0 0 22px; }
.pe-hero .pe-lead { color: var(--c-82); max-width: 480px; margin: 0 0 38px; }
.pe-hero-media { position: relative; overflow: hidden; }
.pe-hero-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: pe-settle 2.4s var(--ease) .1s forwards;
}
.pe-hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(71, 43, 18, .55), rgba(71, 43, 18, 0) 32%), linear-gradient(0deg, rgba(36, 21, 8, .35), transparent 40%);
}
@keyframes pe-settle { to { transform: scale(1); } }
.pe-hero-inset {
  position: absolute; z-index: 3;
  left: calc(42% - clamp(90px, 9vw, 150px));
  bottom: clamp(40px, 6vw, 80px);
  width: clamp(150px, 15vw, 240px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--brown);
  opacity: 0;
  transform: translateY(30px);
  animation: pe-rise 1.6s var(--ease) .7s forwards;
}
@keyframes pe-rise { to { opacity: 1; transform: none; } }
.pe-hero-note {
  position: absolute; z-index: 3; right: var(--pad); bottom: 28px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-82);
}

/* ---------- 5. Sections ---------- */
.pe-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.pe-statement { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.18; margin: 0; letter-spacing: -.02em; }
.pe-statement i { font-style: italic; }
.pe-note { font-size: 13px; line-height: 1.85; padding: 22px 0 0; border-top: 1px solid var(--b-22); max-width: 520px; opacity: .85; }
.pe-brown .pe-note { border-color: var(--c-20); }

/* ---------- 6. Lieu : intro + faits ---------- */
.pe-facts { margin: 46px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--b-22); }
.pe-facts li {
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--b-22);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
  transition: padding .45s var(--ease), background .45s var(--ease);
}
.pe-facts li:nth-child(odd) { padding-right: 26px; }
.pe-facts li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--b-22); }
.pe-facts li:hover { background: var(--b-08); }
.pe-intro-media { position: relative; margin-top: clamp(70px, 9vw, 120px); }
.pe-intro-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pe-intro-media figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .08em; opacity: .7; }

/* ---------- 7. Pellicule photos (glisser) ---------- */
.pe-strip-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.pe-strip-head h2 { font-size: clamp(30px, 3.2vw, 48px); margin: 0; line-height: 1.15; }
.pe-strip-head p { max-width: 360px; margin: 0; font-size: 13px; line-height: 1.85; color: var(--c-82); }
.pe-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 var(--pad);
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
}
.pe-strip::-webkit-scrollbar { display: none; }
.pe-strip.is-grabbing { scroll-snap-type: none; }
.pe-strip figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; position: relative; overflow: hidden; }
.pe-strip figure:nth-child(3n+1) { width: clamp(280px, 38vw, 560px); height: clamp(300px, 36vw, 520px); }
.pe-strip figure:nth-child(3n+2) { width: clamp(220px, 24vw, 360px); height: clamp(260px, 28vw, 420px); align-self: end; }
.pe-strip figure:nth-child(3n) { width: clamp(260px, 30vw, 460px); height: clamp(280px, 32vw, 470px); align-self: center; }
.pe-strip img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease), filter .6s; }
.pe-strip figure:hover img { transform: scale(1.05); }
.pe-strip figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); text-shadow: 0 1px 12px rgba(36, 21, 8, .6); }
.pe-strip figure:hover figcaption { opacity: 1; transform: none; }
.pe-cursor { /* curseur personnalisé « Glisser » */
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--cream); color: var(--brown);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  pointer-events: none;
  transform: scale(0);
  transition: transform .35s var(--ease), width .3s, height .3s;
}
.pe-cursor.is-on { transform: scale(1); }
.pe-cursor.is-down { transform: scale(.82); }
@media (hover: none) { .pe-strip { cursor: auto; } .pe-cursor { display: none; } }

/* ---------- 8. Autres lieux & CTA ---------- */
.pe-others { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.pe-other { position: relative; display: block; text-decoration: none; color: var(--cream); overflow: hidden; aspect-ratio: 3 / 4; }
.pe-other img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pe-other::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(36, 21, 8, .78)); transition: opacity .5s; }
.pe-other-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.pe-other-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.2; }
.pe-other-text span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-82); max-height: 0; opacity: 0; overflow: hidden; transition: all .5s var(--ease); }
.pe-other:hover img, .pe-other:focus-visible img { transform: scale(1.07); }
.pe-other:hover .pe-other-text span, .pe-other:focus-visible .pe-other-text span { max-height: 40px; opacity: 1; }
.pe-other:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; }

.pe-cta { position: relative; min-height: min(78svh, 720px); display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; }
.pe-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.pe-cta.is-in > img { transform: scale(1); }
.pe-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(36, 21, 8, .42), rgba(36, 21, 8, .72)); }
.pe-cta-inner { position: relative; z-index: 2; padding: 90px 24px; max-width: 760px; }
.pe-cta h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.1; margin: 0 0 22px; color: var(--cream); }
.pe-cta h2 i { font-style: italic; }
.pe-cta p { color: var(--c-82); font-size: 15px; line-height: 1.85; margin: 0 auto 40px; max-width: 520px; }
.pe-cta .pe-actions { justify-content: center; }

/* ---------- 9. Événements : chapitres à image fixe ---------- */
.pe-occasions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pe-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--b-22); border-radius: 999px;
  background: transparent; color: var(--brown);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.pe-chip:hover, .pe-chip[aria-pressed="true"], .pe-chip.is-on { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.pe-brown .pe-chip { border-color: var(--c-35); color: var(--cream); }
.pe-brown .pe-chip:hover, .pe-brown .pe-chip[aria-pressed="true"], .pe-brown .pe-chip.is-on { background: var(--cream); color: var(--brown); border-color: var(--cream); }

.pe-chapters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.pe-chapters-visual { position: sticky; top: 110px; height: calc(100svh - 150px); max-height: 760px; }
.pe-chapters-visual figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.pe-chapters-visual figure.is-on { opacity: 1; }
.pe-chapters-visual figure > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease); }
.pe-chapters-visual figure.is-on > img { transform: scale(1); }
.pe-chapters-visual .pe-detail { position: absolute; right: -28px; bottom: -28px; width: 38%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--cream); }
.pe-chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .7s var(--ease); }
.pe-chapter.is-on { opacity: 1; }
.pe-chapter h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.15; margin: 0 0 24px; }
.pe-chapter .pe-body { max-width: 470px; margin-bottom: 34px; }
.pe-chapter-media { display: none; }

.pe-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 60px; border-top: 1px solid var(--c-20); }
.pe-step { padding: 38px 34px 10px 0; }
.pe-step + .pe-step { padding-left: 34px; border-left: 1px solid var(--c-20); }
.pe-step h3 { font-size: 24px; margin: 0 0 16px; }
.pe-step p { color: var(--c-82); font-size: 14px; line-height: 1.9; margin: 0; }

/* ---------- 10. Prestations : lames qui s'ouvrent ---------- */
.pe-slats { display: flex; gap: 10px; height: clamp(520px, 44vw, 640px); margin-top: 56px; }
.pe-slat {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  border: 0; padding: 0; margin: 0;
  background: var(--brown); color: var(--cream); text-align: left;
  cursor: pointer;
  transition: flex-grow .9s var(--ease);
}
.pe-slat.is-open { flex-grow: 4.2; }
.pe-slat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.85); transition: filter .9s var(--ease), transform 1.4s var(--ease); transform: scale(1.08); }
.pe-slat.is-open img { filter: brightness(.68); transform: scale(1); }
.pe-slat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36, 21, 8, .85), transparent 65%); }
.pe-slat-title {
  position: absolute; z-index: 2; left: 22px; bottom: 26px;
  font-family: var(--serif); font-size: 20px; line-height: 1.2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  transition: opacity .4s;
  white-space: nowrap;
}
.pe-slat.is-open .pe-slat-title { opacity: 0; }
.pe-slat-body {
  position: absolute; z-index: 2; left: clamp(24px, 3vw, 44px); right: clamp(24px, 3vw, 44px); bottom: clamp(26px, 3vw, 44px);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
  max-width: 460px;
}
.pe-slat.is-open .pe-slat-body { opacity: 1; transform: none; transition-delay: .35s; }
.pe-slat-body h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 14px; color: var(--cream); }
.pe-slat-body p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--c-82); }
.pe-slat:focus-visible { outline: 2px solid var(--cream); outline-offset: -6px; }

/* ---------- 11. Fiche technique ---------- */
.pe-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--b-22); margin-top: 56px; }
.pe-stat { padding: 40px 30px 40px 0; border-bottom: 1px solid var(--b-22); }
.pe-stat:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--b-22); }
.pe-stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pe-stat strong small { font-size: .38em; letter-spacing: 0; margin-left: 6px; }
.pe-stat span { display: block; margin-top: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }

.pe-tabs-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 50px; }
.pe-tab-panel[hidden] { display: none; }
.pe-tab-panel { animation: pe-fade .6s var(--ease); }
@keyframes pe-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pe-dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 90px); margin: 0; }
.pe-dl div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--c-20); }
.pe-dl dt { font-family: var(--serif); font-size: 17px; }
.pe-dl dd { margin: 0; font-size: 14px; line-height: 1.75; color: var(--c-82); }

.pe-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
.pe-plans figure { margin: 0; background: #fff; padding: 22px; cursor: zoom-in; border: 1px solid var(--b-14); transition: border-color .4s, transform .6s var(--ease); }
.pe-plans figure:hover { border-color: var(--brown); transform: translateY(-4px); }
.pe-plans img { width: 100%; aspect-ratio: 16 / 7; object-fit: contain; }
.pe-plans figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--brown); }

/* ---------- 12. Contact ---------- */
.pe-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 130px); }
.pe-coords { display: grid; gap: 0; margin: 40px 0; border-top: 1px solid var(--b-22); }
.pe-coord { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--b-22); font-size: 15px; line-height: 1.7; }
.pe-coord dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .7; padding-top: 3px; }
.pe-coord dd { margin: 0; }
.pe-coord a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.pe-coord a:hover { background-size: 100% 1px; }
.pe-map { aspect-ratio: 16 / 10; background: var(--b-08); border: 1px solid var(--b-14); }
.pe-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.25) saturate(.8); }
.pe-planner-invite { margin-top: 40px; padding: 34px; background: var(--brown); color: var(--cream); }
.pe-planner-invite h3 { font-size: 24px; margin: 0 0 12px; color: var(--cream); }
.pe-planner-invite p { font-size: 14px; line-height: 1.8; margin: 0 0 26px; color: var(--c-82); }

/* champs */
.pe-form { display: grid; gap: 26px; }
.pe-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pe-field { display: flex; flex-direction: column; gap: 10px; }
.pe-field > span, .pe-legend { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.pe-field input, .pe-field select, .pe-field textarea {
  font: 400 16px/1.5 var(--sans);
  color: var(--brown);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--b-60);
  border-radius: 0;
  padding: 12px 0;
  transition: border-color .3s;
  width: 100%;
}
.pe-field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23472B12' stroke-width='1.3'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 26px; }
.pe-field textarea { resize: vertical; min-height: 120px; }
.pe-field input:focus, .pe-field select:focus, .pe-field textarea:focus { outline: none; border-bottom-color: var(--brown); box-shadow: 0 1px 0 var(--brown); }
.pe-field input::placeholder, .pe-field textarea::placeholder { color: var(--b-60); }
.pe-form-note { font-size: 13px; line-height: 1.7; min-height: 1.7em; margin: 0; }
.pe-fine { font-size: 12px; line-height: 1.7; opacity: .75; margin: 0; }

/* ---------- 13. Imaginer un événement ---------- */
.pe-planner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.pe-stepnav { display: flex; flex-wrap: wrap; gap: 8px 6px; margin: 0 0 56px; padding: 0; list-style: none; }
.pe-stepnav button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--b-60);
  font: 500 12px/1 var(--sans); letter-spacing: .03em;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.pe-stepnav button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: background .35s; }
.pe-stepnav button.is-done { color: var(--brown); }
.pe-stepnav button.is-done::before { background: currentColor; }
.pe-stepnav button[aria-current="step"] { color: var(--cream); background: var(--brown); border-color: var(--brown); }
.pe-stepnav button[aria-current="step"]::before { background: var(--cream); border-color: var(--cream); }
.pe-stepnav button:disabled { cursor: default; }
.pe-pane[hidden] { display: none; }
.pe-pane { animation: pe-fade .6s var(--ease); }
.pe-pane h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; margin: 0 0 16px; }
.pe-pane > p { font-size: 15px; line-height: 1.85; max-width: 560px; margin: 0 0 40px; opacity: .85; }
.pe-pane-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--b-22); }

.pe-options { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; }
.pe-option { position: relative; display: block; cursor: pointer; }
.pe-option input { position: absolute; opacity: 0; pointer-events: none; }
.pe-option-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--b-22);
  transition: border-color .35s, box-shadow .35s, transform .5s var(--ease);
  overflow: hidden;
  background: rgba(255, 255, 255, .0);
}
.pe-option-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease), filter .5s; }
.pe-option-card b { display: block; padding: 18px 18px 4px; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.25; }
.pe-option-card small { display: block; padding: 0 18px 18px; font-size: 12px; line-height: 1.6; opacity: .75; }
.pe-option:hover .pe-option-card { border-color: var(--brown); transform: translateY(-3px); }
.pe-option:hover .pe-option-card img { transform: scale(1.05); filter: none; }
.pe-option input:checked + .pe-option-card { border-color: var(--brown); box-shadow: inset 0 0 0 1px var(--brown); background: var(--brown); color: var(--cream); }
.pe-option input:checked + .pe-option-card img { filter: none; }
.pe-option input:focus-visible + .pe-option-card { outline: 2px solid var(--brown); outline-offset: 3px; }
.pe-option-card.is-text { padding: 22px 20px; justify-content: center; min-height: 92px; }
.pe-option-card.is-text b { padding: 0 0 6px; font-size: 17px; }
.pe-option-card.is-text small { padding: 0; }
.pe-option--chip .pe-option-card { flex-direction: row; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: 13px; }
.pe-options--chips { display: flex; flex-wrap: wrap; gap: 10px; }

.pe-range { display: grid; gap: 18px; }
.pe-range output { font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.03em; }
.pe-range output small { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-left: 10px; opacity: .7; }
.pe-range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
.pe-range input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--brown); }
.pe-range input[type=range]::-moz-range-track { height: 1px; background: var(--brown); }
.pe-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--brown); border: 6px solid var(--cream); box-shadow: 0 0 0 1px var(--brown); cursor: grab; }
.pe-range input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brown); border: 6px solid var(--cream); box-shadow: 0 0 0 1px var(--brown); cursor: grab; }
.pe-range-scale { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; opacity: .65; }
.pe-switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-size: 14px; }
.pe-switch input { position: absolute; opacity: 0; }
.pe-switch i { width: 46px; height: 26px; border-radius: 99px; border: 1px solid var(--brown); position: relative; transition: background .35s; flex-shrink: 0; }
.pe-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--brown); transition: transform .45s var(--ease), background .35s; }
.pe-switch input:checked + i { background: var(--brown); }
.pe-switch input:checked + i::after { transform: translateX(20px); background: var(--cream); }
.pe-switch input:focus-visible + i { outline: 2px solid var(--brown); outline-offset: 3px; }
.pe-group { margin-bottom: 46px; }
.pe-group:last-child { margin-bottom: 0; }
.pe-group .pe-legend { display: block; margin-bottom: 18px; }

.pe-summary { position: sticky; top: 110px; background: var(--brown); color: var(--cream); padding: 34px 30px; }
.pe-summary h3 { font-size: 22px; margin: 0 0 6px; color: var(--cream); }
.pe-summary > p { font-size: 12px; line-height: 1.7; color: var(--c-70); margin: 0 0 24px; }
.pe-summary dl { margin: 0; }
.pe-summary dl div { padding: 14px 0; border-top: 1px solid var(--c-20); display: grid; gap: 4px; }
.pe-summary dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-70); }
.pe-summary dd { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.45; }
.pe-summary dd.is-empty { font-family: var(--sans); font-size: 12px; color: var(--c-35); }
.pe-recap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-bottom: 30px; border-top: 1px solid var(--b-22); }
.pe-recap div { padding: 18px 0; border-bottom: 1px solid var(--b-22); }
.pe-recap dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.pe-recap dd { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.5; }

/* ---------- 14. Visionneuse photo ---------- */
.pe-lb { position: fixed; inset: 0; z-index: 200; background: rgba(36, 21, 8, .96); display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.pe-lb.is-open { opacity: 1; visibility: visible; }
.pe-lb-stage { position: relative; display: grid; place-items: center; padding: 70px clamp(16px, 6vw, 90px) 20px; min-height: 0; }
.pe-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .35s; }
.pe-lb-stage button.pe-lb-zone { position: absolute; top: 0; bottom: 0; width: 30%; background: transparent; border: 0; cursor: pointer; }
.pe-lb-zone--prev { left: 0; cursor: w-resize !important; }
.pe-lb-zone--next { right: 0; cursor: e-resize !important; }
.pe-lb-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.pe-lb-caption { position: absolute; left: clamp(16px, 6vw, 90px); top: 26px; color: var(--c-82); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.pe-lb-thumbs { display: flex; justify-content: center; gap: 8px; padding: 14px 16px 22px; overflow-x: auto; scrollbar-width: none; }
.pe-lb-thumbs button { flex: 0 0 auto; width: 64px; height: 46px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .45; transition: opacity .3s, border-color .3s; }
.pe-lb-thumbs button.is-on, .pe-lb-thumbs button:hover { opacity: 1; border-color: var(--cream); }
.pe-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-zoom { cursor: zoom-in; }

/* ---------- 15. Accueil : ajustements ---------- */
.home-v2 .story-copy .pe-actions, .home-v2 .gallery-tail .pe-actions { margin-top: 30px; }
.experience-tab span[aria-hidden="true"] { display: none; }
.experience-tab { position: relative; }
.experience-tab::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1px solid currentColor; opacity: .5; transition: all .4s var(--ease); }
.experience-tab.active::after { background: currentColor; opacity: 1; }
.closing-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-head .pe-btn { flex-shrink: 0; }
.footer-location .pe-btn { margin-top: 18px; }
.footer-bottom a { text-decoration: none; }

/* carrousel : onglets des lieux à la place des flèches et du compteur */
.venue-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: min(1100px, 100% - 10vw); margin: 22px auto 26px; padding: 0; list-style: none; }
.venue-tabs button {
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--c-35); border-radius: 999px;
  background: transparent; color: var(--cream);
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.venue-tabs button:hover { border-color: var(--cream); }
.venue-tabs button[aria-selected="true"] { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.places .venue-card { perspective: 1200px; }
.places .venue-card .venue-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.places .venue-card.active .venue-tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.places .venue-card .venue-tilt img { transform: scale(1.08) translate(var(--px, 0px), var(--py, 0px)); transition: transform .6s var(--ease), filter .6s ease; }
.places .venue-card .venue-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(237, 232, 211, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.places .venue-card.active:hover .venue-shine { opacity: 1; }
.places .venue-card:not(.active) .card-label { opacity: 0; }
.places .venue-card:not(.active):hover .card-label { opacity: 1; }
.places .venue-card:not(.active):hover { --s-boost: 1.04; }
.places .venue-card .card-label .card-tag { display: block; margin-top: 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-82); }
.places .venue-description .pe-actions { margin-top: 4px; }
.places .venue-description p#venue-copy { margin-bottom: 22px; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
  .pe-planner { grid-template-columns: 1fr; }
  .pe-summary { position: static; order: -1; }
  .pe-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pe-options { --cols: 2; }
  .masthead .topnav { gap: 16px; }
}
@media (max-width: 900px) {
  .pe-hero { grid-template-columns: 1fr; min-height: 0; }
  .pe-hero-media { order: -1; height: 62svh; min-height: 340px; }
  .pe-hero-text { padding: 46px var(--pad) 60px; }
  .pe-hero-inset { display: none; }
  .pe-hero-note { display: none; }
  .pe-split, .pe-contact { grid-template-columns: 1fr; }
  .pe-chapters { grid-template-columns: 1fr; }
  .pe-chapters-visual { display: none; }
  .pe-chapter { min-height: 0; opacity: 1; padding: 0 0 70px; }
  .pe-chapter-media { display: block; position: relative; margin: 0 0 30px; }
  .pe-chapter-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .pe-steps { grid-template-columns: 1fr; }
  .pe-step, .pe-step + .pe-step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--c-20); }
  .pe-slats { flex-direction: column; height: auto; }
  .pe-slat { flex: none; height: 92px; transition: height .8s var(--ease); }
  .pe-slat.is-open { height: 420px; }
  .pe-slat-title { writing-mode: horizontal-tb; transform: none; left: 22px; bottom: 30px; }
  .pe-stats { grid-template-columns: 1fr 1fr; }
  .pe-stat, .pe-stat:not(:nth-child(3n+1)) { padding: 30px 18px 30px 0; border-left: 0; }
  .pe-stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--b-22); }
  .pe-dl { grid-template-columns: 1fr; }
  .pe-strip-head { flex-direction: column; align-items: start; }
}
@media (max-width: 780px) {
  .masthead .header-cta { display: none; }
  .pe-facts { grid-template-columns: 1fr; }
  .pe-facts li:nth-child(even) { padding-left: 0; border-left: 0; }
  .pe-plans { grid-template-columns: 1fr; }
  .pe-form-row { grid-template-columns: 1fr; }
  .pe-recap { grid-template-columns: 1fr; }
  .pe-options { --cols: 2; gap: 10px; }
  .pe-option-card b { font-size: 16px; padding: 14px 14px 2px; }
  .pe-option-card small { padding: 0 14px 14px; }
  .pe-pane-nav { flex-direction: column-reverse; }
  .pe-pane-nav .pe-btn { width: 100%; }
  .pe-stepnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .pe-stepnav::-webkit-scrollbar { display: none; }
  .pe-stepnav button { white-space: nowrap; }
  .pe-coord { grid-template-columns: 1fr; gap: 6px; }
  .pe-dl div { grid-template-columns: 1fr; gap: 6px; }
  .footer-head .pe-btn { width: 100%; }
  .venue-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: 100%; padding: 0 23px; }
  .venue-tabs::-webkit-scrollbar { display: none; }
  .venue-tabs button { white-space: nowrap; flex: 0 0 auto; }
  .places .venue-description .pe-actions .pe-btn { width: 100%; }
  .pe-cta .pe-actions .pe-btn { width: 100%; }
}
@media (max-width: 420px) {
  .pe-btn { padding: 0 22px; letter-spacing: .18em; white-space: normal; text-align: center; line-height: 1.4; }
  .pe-others { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pe-other-text { left: 12px; right: 12px; bottom: 12px; }
  .pe-options { --cols: 1; }
  .pe-stats { grid-template-columns: 1fr; }
  .pe-stat:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pe-hero-media > img, .pe-hero-inset { animation: none; transform: none; opacity: 1; }
  .pe-btn::before, .pe-btn::after, .pe-slat, .pe-slat img, .pe-chapters-visual figure, .pe-cta > img { transition: none !important; }
}

/* menu mobile : les boutons gardent leur style */
.mobile-menu a.pe-btn, .mobile-menu a.pe-btn:last-child { font-family: var(--sans); font-size: 11px; color: var(--brown); padding: 0 28px; margin-top: 26px; }
.skip-opener.pe-btn { position: absolute; right: 28px; bottom: 26px; border-bottom: 1px solid var(--c-70); }
.pe-chapters-visual figure > img.pe-detail { height: auto; }
.pe-cta::before { background: radial-gradient(ellipse at center, rgba(36, 21, 8, .58), rgba(36, 21, 8, .78)); }
.pe-stepnav { gap: 6px 4px; }
.pe-stepnav button { padding: 0 13px; font-size: 11.5px; }
.pe-planner > div { min-width: 0; }
/* carrousel : la photo reste dans la carte, ombre portée par la carte */
.places .venue-card .venue-tilt { overflow: hidden; box-shadow: 0 28px 60px -22px rgba(12, 6, 2, .65); }
.places .venue-card img { box-shadow: none !important; }
/* boutons du panneau crème sous le carrousel : variante foncée */
.places .venue-description .pe-btn { --fg: var(--brown); --bd: var(--brown); --fill: var(--brown); --fg-h: var(--cream); color: var(--fg); }
.places .venue-description .pe-btn--solid { --fg: var(--cream); --fill: var(--cream); --fg-h: var(--brown); background: var(--brown); }
.places .venue-description .pe-btn:hover, .places .venue-description .pe-btn:focus-visible { color: var(--fg-h); }
