/* ============================================================
   Fatima · v3-récit · Storytelling scroll-driven
   Palette « Côte d'Azur lumineuse » (juin 2026, demande Fatima) :
     ivoire #FBF8F2 · champagne #F4EBDA · rose poudré #B07468
     champagne-or #B89A5E · bleu Riviera #5E8A9A · vert olive #8A946F
   Direction : plus de lumière et de chaleur, ambiance méditerranéenne,
   romantique et élégante. Une seule clôture profonde (bleu Riviera).
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FBF3E6;            /* crème chaude (golden hour) — base */
  --off-white: #F4E6CD;        /* champagne chaud — sections douces */
  --champagne-deep: #E9D3AE;   /* champagne soutenu — filets/fonds */
  --sea-pine: #8E9466;         /* vert olive chaud */
  --olive-tint: #EDEAD6;       /* olive doré très clair — fond Lieux */
  --terracotta: #B16A56;       /* rose terracotta chaud — accents émotionnels */
  --rose-soft: #E7C3B4;        /* rose poudré chaud — filets/scrims */
  --gold: #BD9748;             /* or chaud, profond — décor (numéraux, filets) */
  --gold-text: #735A2B;        /* or bronze accessible (AA 4.5:1 sur champagne) — petits labels sur clair */
  --riviera: #3E7C92;          /* bleu azur méditerranéen — accent vif */
  --riviera-deep: #2C4E5C;     /* bleu azur profond — clôture */
  --ink: #36281C;              /* brun chaud profond — texte */
  --ink-muted: #6E5B45;
  --cream-on-deep: #F8EEDC;    /* texte sur bleu profond */
  /* Texture papier vélin — intégrée AUX FONDS via background-blend-mode
     (pas une couche par-dessus : les photos restent nettes). */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.1' intercept='-0.55'/%3E%3CfeFuncG type='linear' slope='2.1' intercept='-0.55'/%3E%3CfeFuncB type='linear' slope='2.1' intercept='-0.55'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Newsreader', 'Times New Roman', serif;
  --font-label: 'Cormorant Garamond', Georgia, serif;

  --measure: 62ch;
  --side-pad: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(3.25rem, 6vw, 5.5rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.55vw, 1.3125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "onum" 1, "pnum" 1;
  overflow-x: hidden;
}

/* Optical sizing: hairline serifs on big display type, sturdy small text */
.chapter__title,
.chapter__subtitle,
.service-item__title,
.pull-quote__text,
.footer-wordmark,
.contact-intro {
  font-optical-sizing: auto;
}
.chapter__title,
.pull-quote__text,
.footer-wordmark {
  font-variation-settings: "opsz" 144;
}

/* ── Visually hidden (lecteurs d'écran / SEO sémantique) ──── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus {
  left: 1rem;
}

/* ── Progress bar ──────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── Top navigation ─────────────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(20, 14, 8, 0.62) 0%, rgba(20, 14, 8, 0.26) 52%, rgba(20, 14, 8, 0) 100%);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.topnav__brand {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(1.9rem, 1.6rem + 0.8vw, 2.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
  transition: color 0.3s ease;
}
.topnav__links {
  display: flex;
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
}
.topnav__links a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--font-label);
  font-size: clamp(0.875rem, 0.84rem + 0.18vw, 0.975rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.18;
}
.topnav__links a > span {
  display: block;
  transition: transform 0.55s var(--ease-out-quint);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.35);
}
.topnav__links a::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 0;
  color: #EBD8AC;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.4);
  transform: translateY(115%);
  transition: transform 0.55s var(--ease-out-quint);
}
.topnav__links a:hover > span,
.topnav__links a:focus-visible > span { transform: translateY(-120%); }
.topnav__links a:hover::after,
.topnav__links a:focus-visible::after { transform: translateY(0); }
.topnav.is-solid {
  background: rgba(251, 243, 230, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(54, 40, 28, 0.1), 0 8px 30px -22px rgba(54, 40, 28, 0.5);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.topnav.is-solid .topnav__brand { color: var(--ink); text-shadow: none; }
.topnav.is-solid .topnav__links a { color: var(--ink-muted); }
.topnav.is-solid .topnav__links a > span { text-shadow: none; }
.topnav.is-solid .topnav__links a::after { color: var(--gold-text); }
/* Brand + burger turn dark while the full-screen menu is open (over cream) */
.topnav:has(.topnav__links.is-open) .topnav__brand { color: var(--ink); text-shadow: none; }
.topnav__toggle { display: none; }

/* Décalage d'ancre pour la barre fixe */
#hero, #apropos, #services, #inspirations, #contact { scroll-margin-top: 4.5rem; }

@media (max-width: 768px) {
  .topnav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 44px;
    height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 890;
  }
  .topnav.is-solid .topnav__toggle,
  .topnav:has(.topnav__links.is-open) .topnav__toggle { color: var(--ink); }
  /* When the full-screen menu is open, drop the nav's backdrop-filter:
     otherwise it becomes the containing block for the fixed menu and the
     menu only covers the bar height once scrolled (is-solid). */
  .topnav:has(.topnav__links.is-open) {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .topnav__toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.45s var(--ease-out-quint), opacity 0.3s ease, width 0.45s var(--ease-out-quint);
  }
  .topnav__toggle span:nth-child(2) { width: 18px; }
  .topnav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .topnav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .topnav__toggle[aria-expanded="true"] span:nth-child(3) { width: 26px; transform: translateY(-8px) rotate(-45deg); }

  .topnav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(165deg, var(--cream) 0%, var(--off-white) 55%, #EAD9BB 100%);
    clip-path: circle(0% at calc(100% - 2.7rem) 2.5rem);
    transition: clip-path 0.75s var(--ease-out-expo);
    pointer-events: none;
  }
  .topnav__links.is-open { clip-path: circle(150% at calc(100% - 2.7rem) 2.5rem); pointer-events: auto; }
  .topnav__links::before {
    content: "";
    position: absolute;
    top: calc(50% - clamp(8.5rem, 33vw, 11rem));
    width: 44px;
    height: 1px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.5s ease 0.15s;
  }
  .topnav__links.is-open::before { opacity: 1; }
  .topnav__links a {
    overflow: visible;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1;
    padding: 0.55rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out-quint), transform 0.5s var(--ease-out-quint), color 0.25s ease;
  }
  .topnav__links a > span { transition: none; text-shadow: none; }
  .topnav__links a::after { display: none; }
  .topnav__links a:hover,
  .topnav__links a:active { color: var(--terracotta); }
  .topnav__links.is-open a { opacity: 1; transform: none; }
  .topnav__links.is-open a:nth-child(1) { transition-delay: 0.20s; }
  .topnav__links.is-open a:nth-child(2) { transition-delay: 0.27s; }
  .topnav__links.is-open a:nth-child(3) { transition-delay: 0.34s; }
  .topnav__links.is-open a:nth-child(4) { transition-delay: 0.41s; }
  .topnav__links.is-open a:nth-child(5) { transition-delay: 0.48s; }
}
body.nav-open { overflow: hidden; }

/* Note services */
.services-note {
  margin-top: 2.25rem;
  font-family: var(--font-label);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 52ch;
  line-height: 1.6;
}

/* ── Chapter nav (top-right) ────────────────────────────────── */
.chapter-nav {
  position: fixed;
  top: 1.5rem;
  right: var(--side-pad);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  z-index: 100;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.chapter-nav__numeral {
  font-family: var(--font-label);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.05em;
}
.chapter-nav__label {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -14%;
  z-index: 0;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 2.4s var(--ease-out-quint);
}
.hero__slide.is-active {
  z-index: 2;
  opacity: 1;
}
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 42%;
  /* incoming arrives softly out of focus, then resolves sharp */
  filter: blur(10px) saturate(1.05) brightness(1.03);
  transition: filter 2.4s var(--ease-out-quint);
  will-change: filter, transform;
}
.hero__slide.is-active .hero__slide-bg {
  filter: blur(0) saturate(1.05) brightness(1.03);
  animation: heroKenburns 11s ease-out both;
}
@keyframes heroKenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12) translateY(-1.3%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity 0.4s ease; }
  .hero__slide:not(.is-active) { display: none; }
  .hero__slide-bg {
    filter: blur(0) saturate(1.05) brightness(1.03) !important;
    transform: none !important;
    animation: none !important;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  /* Voile allégé + teinte méditerranéenne : on laisse respirer la lumière,
     un scrim doux concentré derrière le texte assure la lisibilité. */
  background:
    radial-gradient(85% 65% at 50% 56%, rgba(40, 29, 20, 0.20) 0%, rgba(40, 29, 20, 0) 60%),
    linear-gradient(to bottom, rgba(40, 29, 20, 0) 0%, rgba(40, 29, 20, 0.06) 55%, rgba(40, 29, 20, 0.32) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--side-pad);
  max-width: 56rem;
  text-shadow: 0 2px 30px rgba(16, 24, 28, 0.6), 0 1px 4px rgba(16, 24, 28, 0.5);
}
/* Halo doux localisé derrière le texte — lisibilité sans assombrir la photo */
.hero__content::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(26, 19, 12, 0.5) 0%, rgba(26, 19, 12, 0.28) 44%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__kicker {
  font-family: var(--font-label);
  font-size: clamp(0.8125rem, 0.78rem + 0.16vw, 0.9375rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #F6EEDE;
  text-shadow: 0 1px 10px rgba(16, 24, 28, 0.7);
  margin-bottom: 1.25rem;
  opacity: 1;
  transform: translateY(12px);
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 1;
  transform: translateY(16px);
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 246, 238, 0.9);
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  opacity: 1;
  transform: translateY(12px);
  animation: fadeUp 1s ease 0.75s forwards;
}

.hero__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border: 1px solid rgba(201, 168, 107, 0.7);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.45s var(--ease-out-quint), border-color 0.45s ease;
  opacity: 1;
  transform: translateY(12px);
  animation: fadeUp 1s ease 1s forwards;
}
.hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out-quint);
}
.hero__cta:hover,
.hero__cta:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
  outline: none;
}
.hero__cta:hover::before,
.hero__cta:focus-visible::before { transform: scaleX(1); }
.hero__cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 1;
  animation: fadeUp 1s ease 1.4s forwards;
}
.hero__scroll-label {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.6);
}
.hero__scroll-arrow {
  color: var(--gold);
  font-size: 1.25rem;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Chapter base ──────────────────────────────────────────── */
.chapter {
  position: relative;
  padding: var(--section-gap) var(--side-pad);
  overflow: hidden;
}

.chapter--light  { background: var(--cream); }
.chapter--cream  { background: var(--off-white); }
/* Chapitre « La promesse » : autrefois bloc vert sombre, désormais
   un champagne lumineux et chaleureux (texte sombre sur fond clair). */
.chapter--dark   {
  background: linear-gradient(160deg, var(--off-white) 0%, #EBD8B4 100%);
  color: var(--ink);
}
.chapter--dark .chapter__numeral { color: var(--gold); }
.chapter--dark .chapter__title { color: var(--ink); }
.chapter--dark .chapter__body { color: var(--ink); }
.chapter--dark .chapter__body p { color: var(--ink); }

/* Two-column chapter layout */
.chapter--light .chapter__inner,
.chapter--cream .chapter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}

/* Chapters with explicit image + text cols */
.chapter:has(.chapter__image-wrap) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

.chapter--dark:has(.chapter__image-wrap) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

.chapter__image-wrap {
  position: relative;
  order: -1;
}
.chapter__image-wrap--right {
  order: 1;
}

.chapter__image-frame {
  overflow: hidden;
  border-radius: 2px;
  will-change: transform;
}
.chapter__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.chapter__text-wrap {
  max-width: var(--measure);
  padding-top: 2rem;
}

/* Chapters with only text (lieux, contact) */
.chapter--lieux,
.chapter--contact {
  display: block;
  max-width: 90rem;
  margin: 0 auto;
}

/* ── Chapter typography ────────────────────────────────────── */
.chapter__numeral {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

.chapter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.chapter__title--centered { text-align: center; }
.chapter--dark .chapter__title { color: var(--ink); }

.chapter__subtitle {
  font-family: var(--font-label);
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.4rem);
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 3rem;
  max-width: 50ch;
}

.chapter__body p {
  max-width: var(--measure);
  margin-bottom: 1.25em;
  color: var(--ink);
}
.chapter--dark .chapter__body p {
  color: var(--ink);
}

/* Drop caps */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  float: left;
  line-height: 0.82;
  margin-right: 0.08em;
  margin-top: 0.1em;
}
.chapter--dark .drop-cap::first-letter {
  color: var(--terracotta);
}

/* ── Pull quote ─────────────────────────────────────────────── */
.pull-quote {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--side-pad);
  border-top: 1px solid rgba(201, 168, 107, 0.25);
  border-bottom: 1px solid rgba(201, 168, 107, 0.25);
  margin-top: 3rem;
}
.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto 1.25rem;
  quotes: none;
}
.pull-quote__attr {
  font-family: var(--font-label);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-style: normal;
}

/* ── Services grid (ch3) ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  margin-top: 2.5rem;
}

.service-item {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}
.service-item__num {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  display: block;
  margin-bottom: 0.35rem;
}
.service-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.service-item__desc {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ── Lieux mosaic (ch4) ─────────────────────────────────────── */
.chapter--lieux {
  padding: var(--section-gap) var(--side-pad);
  background: linear-gradient(180deg, var(--olive-tint) 0%, #E3E0C4 100%);
  color: var(--ink);
}
.chapter--lieux .chapter__numeral { color: var(--gold); }
.chapter--lieux .chapter__title { color: var(--ink); }
.chapter--lieux .chapter__subtitle { color: var(--ink-muted); }

.chapter__lieux-header {
  max-width: 50rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.lieux-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 90rem;
  margin: 0 auto 3rem;
}

.lieu-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1 / 1;
}
.lieu-card--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.lieu-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lieu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.lieu-card:hover .lieu-card__img {
  transform: scale(1.04);
}

.lieu-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(28, 38, 42, 0.82) 0%, rgba(28, 38, 42, 0.3) 55%, transparent 100%);
}
.lieu-card__name {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.15rem;
}
.lieu-card__loc {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8CF92;
}

.lieux-note {
  font-family: var(--font-label);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-muted);
  text-align: center;
  max-width: 48ch;
  margin: 0 auto;
  letter-spacing: 0.03em;
}

/* ── Day images (ch5) ────────────────────────────────────────── */
.day-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.day-img-wrap {
  overflow: hidden;
  border-radius: 2px;
  will-change: transform;
}
.day-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

/* ── Savoir-faire trio (ch6) ────────────────────────────────── */
.savoir-faire-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.sf-item {
  overflow: hidden;
  border-radius: 2px;
}
.sf-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.sf-item:hover .sf-img {
  transform: scale(1.04);
}
.sf-label {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: 0.6rem;
  display: block;
  text-align: center;
}

.inspiration-note {
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-muted);
  margin-top: 2rem;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ── Contact form (ch7) ─────────────────────────────────────── */
.chapter--contact {
  position: relative;
  max-width: none;
  overflow: hidden;
  background: linear-gradient(170deg, #386576 0%, var(--riviera-deep) 100%);
  color: var(--cream-on-deep);
  padding: var(--section-gap) var(--side-pad);
}
.chapter--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(170deg, rgba(56, 101, 118, 0.82) 0%, rgba(24, 46, 56, 0.93) 100%),
    url('/assets/gen/gallery/sunset-dinner.webp') center/cover no-repeat;
}
.chapter--contact > * { position: relative; z-index: 1; }
.chapter--contact .chapter__numeral { color: rgba(201, 168, 107, 0.7); }
.chapter--contact .chapter__title { color: var(--cream-on-deep); }

.contact-inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  font-style: italic;
  color: rgba(246, 238, 224, 0.88);
  max-width: 44ch;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.contact-form {
  text-align: left;
  margin-top: 2rem;
}

.form-row { margin-bottom: 1.25rem; }
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-optional {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: rgba(246, 238, 224, 0.55);
  text-transform: none;
}

.form-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(18, 38, 46, 0.42);
  border: 1px solid rgba(246, 238, 224, 0.4);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: var(--cream-on-deep);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder {
  color: rgba(246, 238, 224, 0.5);
  font-style: italic;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}
.form-input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-submit {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 1.15rem 2rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--riviera-deep);
  font-family: var(--font-label);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.form-submit:hover,
.form-submit:focus-visible {
  background: #CDB179;
  border-color: #CDB179;
  color: var(--riviera-deep);
  outline: none;
}
.form-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--riviera-deep);
  border-top: 1px solid rgba(201, 168, 107, 0.2);
  padding: 3rem var(--side-pad) 2.5rem;
  text-align: center;
}
.footer-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream-on-deep);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DCC07F;                  /* or clair — AA 4.5:1 sur le bleu profond */
  margin-bottom: 0.875rem;
}
.footer-note {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(246, 238, 224, 0.78);  /* AA 4.5:1 sur le bleu profond */
  letter-spacing: 0.04em;
}
.footer-credit {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 168, 107, 0.18);
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 238, 224, 0.55);
}
.footer-credit a {
  color: #DCC07F;
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 192, 127, 0.4);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #EBD8AC;
  border-color: #EBD8AC;
}

/* ── Parallax containers ────────────────────────────────────── */
.parallax-img {
  will-change: transform;
}

/* Photos servies au plus près de l'original (pas de saturation/contraste
   ajoutés qui accentuaient les artefacts de compression webp). Les vraies
   photos du shooting remplaceront ces visuels. */
.chapter__img,
.lieu-card__img,
.day-img,
.sf-img,
.gallery img {
  /* No uniform sepia grade — keep each photo's own colours so the set
     doesn't read as one flat AI-tinted batch. */
  filter: saturate(1.03) brightness(1.01);
}

/* ── Inspirations gallery (masonry) ─────────────────────────── */
.gallery {
  columns: 4 250px;
  column-gap: 0.9rem;
  max-width: 92rem;
  margin: 3.5rem auto 0;
}
.gallery figure {
  position: relative;
  break-inside: avoid;
  margin: 0 0 0.9rem;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
/* "Voir" cue on hover (no gimmicky custom cursor) */
.gallery figure::after {
  content: "Voir";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-on-deep);
  background: linear-gradient(0deg, rgba(28, 40, 46, 0.5), rgba(28, 40, 46, 0.15));
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-quint);
}
@media (hover: hover) {
  .gallery figure:hover::after { opacity: 1; }
}

/* ── Couture hairline frame ─────────────────────────────────── */
@media (min-width: 769px) {
  body::after {
    content: "";
    position: fixed;
    inset: 22px;
    z-index: 700;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--gold) 36%, transparent);
  }
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: rgba(24, 38, 44, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-quint), visibility 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  margin: 0;
  max-width: min(86vw, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: scale(0.96);
  transition: transform 0.5s var(--ease-out-expo);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.lightbox__cap {
  font-family: var(--font-display);
  font-style: italic;
  font-optical-sizing: auto;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  color: rgba(248, 238, 220, 0.82);
  text-align: center;
  max-width: 60ch;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  line-height: 1;
}
.lightbox__close {
  top: clamp(1.2rem, 3vw, 2.4rem);
  right: clamp(1.2rem, 3vw, 2.4rem);
  font-size: 2.4rem;
  font-family: var(--font-body);
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  padding: 0.5rem 1rem;
}
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); }
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--cream-on-deep); }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(4px); }
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; font-size: 2.6rem; }
  .lightbox__prev:hover { transform: translateX(-4px); }
  .lightbox__next:hover { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__stage { transition: opacity 0.2s ease, visibility 0.2s; }
  .lightbox__stage { transform: none !important; }
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
  .gallery { columns: 2 150px; column-gap: 0.6rem; }
  .gallery figure { margin-bottom: 0.6rem; }
}

/* ── L'Univers The Promise — parts ─────────────────────────── */
.upart {
  max-width: 92rem;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}
.upart__head {
  max-width: 62ch;
  margin: 0 auto clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}
.upart__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.upart__text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  color: var(--ink-muted);
  line-height: 1.65;
}
.ugrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ugrid .lieu-card { aspect-ratio: 4 / 3; }
.ugrid--duo {
  grid-template-columns: 1fr 1fr;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
.ugrid--duo .lieu-card { aspect-ratio: 3 / 4; }
@media (max-width: 900px) {
  .ugrid:not(.ugrid--duo) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ugrid { grid-template-columns: 1fr; }
}

/* ── Reveal animations ───────────────────────────────────────
   `.r-hidden` is added by JS only; without JS elements stay visible.
   `.r-in` (added by IntersectionObserver) plays the reveal. */
.r-hidden {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.r-hidden.r-in {
  opacity: 1;
  transform: none;
}

/* Image unveil — like a veil lifting, clip from the bottom up */
.r-hidden--img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-out-expo);
}
.r-hidden--img.r-in {
  clip-path: inset(0 0 0 0);
}

/* ── Tablette (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-gap: clamp(4rem, 8vw, 6.5rem);
  }
  /* Resserrer la gouttière des chapitres deux-colonnes */
  .chapter:has(.chapter__image-wrap),
  .chapter--dark:has(.chapter__image-wrap) {
    gap: clamp(1.5rem, 4vw, 3rem);
  }
  /* Mosaïque des lieux : 2 colonnes, la grande carte occupe toute la largeur */
  .lieux-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .lieu-card--large {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

/* ── Mobile responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --side-pad: 1.25rem;
    --section-gap: 4rem;
  }

  /* Chapter layout: stack on mobile */
  .chapter:has(.chapter__image-wrap) {
    display: block;
  }
  .chapter--dark:has(.chapter__image-wrap) {
    display: block;
  }
  .chapter__image-wrap,
  .chapter__image-wrap--right {
    order: 0;
    margin-bottom: 2rem;
  }
  .chapter__text-wrap {
    padding-top: 0;
    max-width: 100%;
  }

  /* Pull quote full width on mobile */
  .pull-quote {
    grid-column: auto;
    margin-top: 2rem;
  }

  /* Services 1 col */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Lieux mosaic: single column on mobile */
  .lieux-mosaic {
    grid-template-columns: 1fr;
  }
  .lieu-card,
  .lieu-card--large {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  /* Day images: 1 col */
  .day-images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .day-img {
    aspect-ratio: 4/3;
  }

  /* Savoir-faire: 1 col */
  .savoir-faire-trio {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sf-img {
    aspect-ratio: 4/3;
  }

  /* Form: 1 col */
  .form-row--two {
    grid-template-columns: 1fr;
  }

  /* Chapter nav: hide label on very small */
  .chapter-nav__label {
    display: none;
  }

  /* Hero */
  .hero__wordmark {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  /* Drop cap smaller */
  .drop-cap::first-letter {
    font-size: clamp(2.8rem, 10vw, 3.5rem);
  }

  /* Lisibilité corps sur mobile : pas de descente sous 1rem */
  body { font-size: 1rem; line-height: 1.7; }
  .chapter__body p { font-size: 1.02rem; }
}

/* ── Petit mobile (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  :root { --side-pad: 1.1rem; }

  .hero__tagline { font-size: 1.02rem; }
  .hero__cta { padding: 0.8rem 1.6rem; letter-spacing: 0.15em; }

  .chapter__numeral { font-size: clamp(3rem, 16vw, 4rem); }
  .chapter__title { margin-bottom: 1.25rem; }

  /* Le repère de chapitre flottant gêne sur très petit écran */
  .chapter-nav { display: none; }

  .pull-quote { padding: 2.25rem 0; }
  .savoir-faire-trio,
  .day-images { gap: 0.85rem; }
}

/* ============================================================
   IDENTITÉ & MATIÈRE (juin 2026)
   Monogramme, grain argentique, signature, ouverture, détails couture.
   ============================================================ */

/* ── Grain papier vélin INTÉGRÉ AUX FONDS ───────────────────
   Chaque surface colorée mélange la texture à sa propre couleur
   (background-blend-mode). Les photos, posées par-dessus, restent nettes. */
.chapter--light {
  background-color: var(--cream);
  background-image: var(--paper-grain), var(--paper-grain), var(--paper-grain);
  background-size: 150px 150px;
  background-blend-mode: soft-light, soft-light, soft-light;
}
.chapter--cream {
  background-color: var(--off-white);
  background-image: var(--paper-grain), var(--paper-grain), var(--paper-grain);
  background-size: 150px 150px;
  background-blend-mode: soft-light, soft-light, soft-light;
}
.chapter--dark {
  background-color: #EBD8B4;
  background-image: var(--paper-grain), var(--paper-grain), linear-gradient(160deg, var(--off-white) 0%, #EBD8B4 100%);
  background-size: 150px 150px, 150px 150px, cover;
  background-blend-mode: soft-light, soft-light, normal;
}
.chapter--lieux {
  background-color: #E3E0C4;
  background-image: var(--paper-grain), var(--paper-grain), linear-gradient(180deg, var(--olive-tint) 0%, #E3E0C4 100%);
  background-size: 150px 150px, 150px 150px, cover;
  background-blend-mode: soft-light, soft-light, normal;
}
.site-footer {
  background-color: var(--riviera-deep);
  background-image: var(--paper-grain);
  background-size: 150px 150px;
  background-blend-mode: soft-light;
}

/* ── Papier vivant : micro-shimmer du grain (fonds clairs) ───
   Les 3 calques de grain dérivent très lentement et de façon
   différentielle → le papier semble capter la lumière. */
@keyframes paperShimmer {
  0%, 100% { background-position: 0 0, 0 0, 0 0; }
  50%      { background-position: 16px -12px, -13px 15px, 8px 9px; }
}
.chapter--light,
.chapter--cream {
  animation: paperShimmer 10s ease-in-out infinite;
}

/* ── Titre À CÔTÉ du chiffre romain (pas en dessous) ────────── */
.chapter__head {
  display: flex;
  align-items: baseline;
  gap: clamp(0.7rem, 1.8vw, 1.4rem);
  margin-bottom: 1.75rem;
}
.chapter__head--center { justify-content: center; }
.chapter__head .chapter__numeral { margin-bottom: 0; }
.chapter__head .chapter__title { margin-bottom: 0; }

/* ── Contact : plus compact sur desktop, tient en 1 écran sur mobile ── */
.contact-inner { max-width: 40rem; }
.contact-intro { margin-bottom: 1.9rem; }
.contact-form .form-input { padding: 0.7rem 0.9rem; }
.contact-form .form-group,
.contact-form .form-row { margin-bottom: 0.85rem; }
.contact-form .form-textarea { min-height: 5.5rem; }
.contact-form .form-submit { margin-top: 0.5rem; padding: 0.95rem 2rem; }
@media (max-width: 768px) {
  .chapter--contact {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 4.25rem var(--side-pad) 1.75rem;
  }
  .chapter--contact .chapter__head { margin-bottom: 0.7rem; }
  .contact-intro { margin-bottom: 1rem; font-size: 0.98rem; line-height: 1.5; }
  /* on garde 2 colonnes pour les champs courts → gagne de la hauteur */
  .contact-form .form-row--two { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .contact-form .form-group,
  .contact-form .form-row { margin-bottom: 0.7rem; }
  .contact-form .form-label { margin-bottom: 0.22rem; font-size: 0.7rem; letter-spacing: 0.13em; }
  .contact-form .form-input { padding: 0.58rem 0.75rem; font-size: 0.95rem; }
  .contact-form .form-textarea { min-height: 3.75rem; }
  .contact-form .form-submit { padding: 0.78rem 1.4rem; margin-top: 0.3rem; letter-spacing: 0.18em; }
}

/* ── Liseré couture sur les cadres photo ───────────────────── */
.chapter__image-frame,
.day-img-wrap,
.sf-item,
.lieu-card {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent);
}

/* ── Monogramme (sceau / crest TP) ─────────────────────────── */
.monogram {
  display: inline-block;
  line-height: 0;
  color: var(--gold);
}
.monogram svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  color: #CDB179;
}

/* ── Ouverture (loader « sceau qui se trace ») ──────────────── */
html.ouv-lock { overflow: hidden; }
.ouverture {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(130% 130% at 50% 40%, #FDF8EE 0%, var(--cream) 60%, #F2E6CE 100%);
  animation: ouvLift 1.5s var(--ease-out-quint) 4.2s forwards;
}
.ouverture.is-skip { display: none; }
.ouverture__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
  padding: 0 2rem;
  animation: ouvInner 1.5s var(--ease-out-quint) 4.2s forwards;
}
.ouverture .monogram {
  width: clamp(96px, 12vw, 132px);
  height: clamp(96px, 12vw, 132px);
  opacity: 0;
  transform: scale(0.94);
  animation: ouvMark 2s var(--ease-out-expo) 0.45s forwards;
}
/* the seal rings draw themselves */
.ouverture .monogram circle {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: ouvRing 2.4s var(--ease-out-quint) 0.55s forwards;
}
.ouverture__word {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 5rem);
  line-height: 1;
  color: var(--ink);
  clip-path: inset(0 100% 0 0);
  animation: ouvWord 2.2s var(--ease-out-expo) 1.7s forwards;
}
.ouverture__rule {
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  animation: ouvRule 1.3s var(--ease-out-quint) 3.2s forwards;
}
@keyframes ouvMark { to { opacity: 1; transform: none; } }
@keyframes ouvRing { to { stroke-dashoffset: 0; } }
@keyframes ouvWord { to { clip-path: inset(0 0 0 0); } }
@keyframes ouvRule { to { width: clamp(110px, 17vw, 168px); } }
@keyframes ouvInner { to { transform: translateY(-14px); opacity: 0; } }
@keyframes ouvLift { to { opacity: 0; visibility: hidden; } }

/* ── Signature manuscrite (sous la citation) ───────────────── */
.pull-quote__sign {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.pull-quote__sign-name {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 0.9;
  color: var(--gold-text);
}
.pull-quote__sign-role {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ── Indice de scroll : filet doré qui se dessine ──────────── */
.hero__scroll-arrow {
  position: relative;
  width: 1px;
  height: 38px;
  font-size: 0;
  color: transparent;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--gold) 55%, transparent), transparent);
  overflow: hidden;
  animation: none;
}
.hero__scroll-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 45%;
  background: var(--gold);
  animation: scrollDraw 2s var(--ease-out-quint) infinite;
}
@keyframes scrollDraw {
  0%   { transform: translateY(-110%); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(230%); opacity: 0; }
}

/* ── Galerie : légendes curatées au survol ─────────────────── */
.gallery figure::after {
  content: attr(data-cap);
  inset: auto 0 0 0;
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 1.5rem 1rem 0.95rem;
  text-align: left;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream-on-deep);
  background: linear-gradient(to top, rgba(26, 38, 44, 0.8) 0%, rgba(26, 38, 44, 0.22) 60%, transparent 100%);
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out-quint), transform 0.5s var(--ease-out-quint);
}
@media (hover: hover) {
  .gallery figure:hover::after { opacity: 1; transform: none; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ouverture { display: none !important; }
  .hero__kicker,
  .hero__wordmark,
  .hero__tagline,
  .hero__cta,
  .hero__scroll-hint {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .r-hidden {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .r-hidden--img {
    clip-path: none !important;
    transition: none !important;
  }
  .topnav__links a > span,
  .topnav__links a::after { transition: none !important; }
  .parallax-img {
    transform: none !important;
  }
  .hero__scroll-arrow {
    animation: none !important;
  }
}
