/* =========================================================
   Fleuriste May Flower — feuille de style
   Palette : blanc cassé, crème, vert sauge, olive, rose poudré
   ========================================================= */

:root {
  --paper: #F8F5EF;
  --cream: #EFE8DC;
  --cream-deep: #E4D9C7;
  --sage: #A4AE96;
  --sage-deep: #6F7B60;
  --olive: #434A39;
  --olive-deep: #30352A;
  --blush: #EBD3CB;
  --blush-deep: #B9877A;
  --ink: #2B2E26;
  --ink-soft: #5D5F55;
  --line: rgba(43, 46, 38, 0.14);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1rem, 4.5vw, 4.5rem);
  --max: 1320px;
  --section-y: clamp(5rem, 11vw, 10rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
em { font-style: italic; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--olive); color: var(--paper); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .82rem; }

/* ---------- Typographie ---------- */
h2 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin-bottom: 1.6rem;
}
h2 em, .hero-title em { color: var(--sage-deep); font-style: italic; }

.section-index {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.6rem;
}
.section-index span {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--blush-deep);
  font-style: italic;
}
.section-index::after {
  content: ""; width: 3rem; height: 1px; background: currentColor; opacity: .5;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .85rem 1.7rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--olive-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--olive-deep); }
.btn-light:hover { background: var(--blush); }
.btn-outline-light { border-color: rgba(248, 245, 239, .35); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); }

.link-arrow {
  display: inline-flex; gap: .5rem; align-items: center;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .3rem;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: .8rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 239, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--sage-deep); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-style: italic; letter-spacing: .01em; }
.brand-sub { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }

.main-nav ul { display: flex; gap: 2.1rem; }
.main-nav a {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  position: relative; padding: .4rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-footer { display: none; }

.header-call {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-decoration: none;
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header-call svg { width: 15px; height: 15px; fill: var(--sage-deep); }
.header-call:hover { border-color: var(--ink); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem)) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  min-height: min(100svh, 980px);
}
.hero h1 { display: block; }
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: .8rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 2rem;
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blush-deep); }
.hero-title {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.1rem, 7.4vw, 6.9rem);
  line-height: .98; letter-spacing: -0.02em;
}
.hero-lead { max-width: 30rem; margin: 2.2rem 0 2.6rem; font-size: 1.05rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rating {
  display: inline-flex; align-items: center; gap: .8rem; margin-top: 3rem;
  font-size: .85rem; color: var(--ink-soft); text-decoration: none;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.hero-rating strong { color: var(--ink); font-weight: 600; }
.stars { color: var(--blush-deep); letter-spacing: .12em; font-size: .9rem; }

.hero-visual { position: relative; padding: 0 0 4rem 3.5rem; }
.hero-main {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--cream);
}
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-inset {
  position: absolute; left: 0; bottom: 0; width: 42%;
  aspect-ratio: 4 / 5; overflow: hidden;
  border: 10px solid var(--paper); background: var(--cream);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; right: 0; bottom: .6rem;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.3;
  margin: 0;
}
.hero-caption span:last-child { font-size: .9rem; opacity: .75; }

/* ---------- Bandeau services ---------- */
.services-strip {
  max-width: var(--max); margin: 0 auto; padding: 1.4rem var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-style: italic; color: var(--ink-soft);
}
.services-strip li { display: flex; align-items: center; gap: 2rem; }
.services-strip li + li::before { content: "✿"; font-style: normal; font-size: .7rem; color: var(--sage); margin-left: -1rem; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-intro { color: var(--ink-soft); max-width: 34rem; }
.prose p { color: var(--ink-soft); font-size: 1.02rem; max-width: 34rem; }

/* ---------- Univers ---------- */
.univers {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.univers-media { position: relative; padding-bottom: 6rem; }
.univers-shop { width: 78%; aspect-ratio: 3 / 5; overflow: hidden; background: var(--cream); }
.univers-shop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.univers-shop figcaption, .hero-caption { pointer-events: none; }
.univers-shop figcaption {
  position: absolute; left: 0; bottom: 1.4rem;
  font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1rem;
}
.univers-detail {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4; overflow: hidden;
  border: 10px solid var(--paper); background: var(--cream);
}
.univers-detail img { width: 100%; height: 100%; object-fit: cover; }
.univers-text { padding-top: clamp(0rem, 4vw, 4rem); }

.pull-quote {
  margin: 3rem 0; padding-left: 1.6rem; border-left: 1px solid var(--blush-deep);
}
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; margin-bottom: .6rem; }
.pull-quote cite { font-style: normal; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.savoir-faire { background: var(--cream); padding: clamp(1.6rem, 3vw, 2.4rem); }
.savoir-faire h3 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--sage-deep); margin-bottom: 1.2rem; }
.savoir-faire ul { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.savoir-faire li {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.35;
  padding: .65rem 0; border-bottom: 1px solid var(--line);
}

/* ---------- Créations ---------- */
.creations { padding-top: calc(var(--section-y) * .6); }
.creations-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.creations-preview { position: sticky; top: calc(var(--header-h) + 2rem); }
.preview-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.preview-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.preview-img.is-active { opacity: 1; transform: scale(1); }
.preview-caption { margin-top: 1rem; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }

.creations-list { border-top: 1px solid var(--line); counter-reset: c; }
.creations-list li { border-bottom: 1px solid var(--line); }
.creation {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: 1.4rem; align-items: start;
  padding: clamp(1.5rem, 2.6vw, 2.2rem) .2rem;
  transition: padding .5s var(--ease), background-color .5s var(--ease);
}
.creation-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--blush-deep); padding-top: .55rem; }
.creation-title { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; transition: color .4s var(--ease); }
.creation-desc { display: block; margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; max-width: 30rem; line-height: 1.6; }
.creation-thumb { display: none; }
.creation-more {
  align-self: center; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.creation:hover, .creation:focus-visible, .creation.is-active { padding-left: 1rem; }
.creation:hover .creation-title, .creation.is-active .creation-title { color: var(--sage-deep); }
.creation:hover .creation-more, .creation:focus-visible .creation-more, .creation.is-active .creation-more { opacity: 1; transform: none; }

/* ---------- Galerie ---------- */
.galerie { max-width: 1440px; padding-top: calc(var(--section-y) * .5); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); align-items: start; }
.g-col { display: flex; flex-direction: column; gap: clamp(1rem, 2.2vw, 2rem); }
.g-col:nth-child(2) { padding-top: clamp(2rem, 5vw, 5rem); }
.g-col:nth-child(3) { padding-top: clamp(4rem, 8vw, 8rem); }
.g-intro { padding: 0 0 clamp(1rem, 3vw, 2.5rem); }
.g-intro h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.g-intro p:not(.section-index) { color: var(--ink-soft); font-size: .95rem; max-width: 22rem; }

.g-item figcaption {
  margin-top: .7rem; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-soft);
}
.g-open {
  display: block; width: 100%; padding: 0; border: 0; background: var(--cream);
  cursor: zoom-in; overflow: hidden; position: relative;
}
.g-open img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.g-item--shop .g-open { aspect-ratio: 9 / 15; }
.g-item--shop .g-open img { height: 100%; object-fit: cover; object-position: 50% 80%; }
.g-open::after {
  content: "+"; position: absolute; right: .9rem; bottom: .9rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(248, 245, 239, .92); color: var(--ink); font-size: 1.3rem; line-height: 1;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-open:hover img { transform: scale(1.035); }
.g-open:hover::after, .g-open:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Livraison ---------- */
.livraison { background: var(--olive); color: var(--paper); }
.livraison-inner {
  max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center;
}
.livraison-media { aspect-ratio: 4 / 5; overflow: hidden; }
.livraison-media img { width: 100%; height: 100%; object-fit: cover; }
.livraison .section-index { color: rgba(248, 245, 239, .7); }
.livraison .section-index span { color: var(--blush); }
.livraison h2 em { color: var(--blush); }
.livraison-text > p { color: rgba(248, 245, 239, .8); max-width: 32rem; font-size: 1.02rem; }
.steps { margin: 2.4rem 0 2.8rem; border-top: 1px solid rgba(248, 245, 239, .18); max-width: 32rem; }
.steps li {
  display: flex; gap: 1.2rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid rgba(248, 245, 239, .18);
  font-size: .98rem; color: rgba(248, 245, 239, .9);
}
.steps span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--blush); min-width: 1rem; }
.livraison-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Avis ---------- */
.avis { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.score { display: flex; align-items: baseline; margin: 0; font-family: var(--serif); line-height: .85; }
.score-num { font-size: clamp(6rem, 13vw, 10.5rem); letter-spacing: -0.03em; }
.score-max { font-size: 2rem; color: var(--ink-soft); margin-left: .3rem; }
.score-stars { color: var(--blush-deep); letter-spacing: .3em; margin: 1.4rem 0 .3rem; font-size: 1.1rem; }
.score-count { color: var(--ink-soft); margin-bottom: 2rem; }
.avis-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 3rem; padding-top: 1rem; }
.quote { margin: 0; }
.quote p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.32; margin-bottom: 1rem; }
.quote--lead { grid-column: 1 / -1; }
.quote--lead p { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; font-style: italic; }
.quote cite { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.quote cite span { font-weight: 400; color: var(--ink-soft); }
.avis-note { grid-column: 2; font-size: .8rem; color: var(--ink-soft); margin-top: -1rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}
.contact-list { margin: 0 0 2.6rem; }
.contact-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list div:first-child { border-top: 1px solid var(--line); }
.contact-list dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.contact-list dd { margin: 0; font-size: 1.02rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; word-break: break-word; }
.contact-list a:hover { border-color: var(--ink); }

.hours { background: var(--cream); padding: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 2rem; }
.hours-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hours h3 { font-family: var(--serif); font-size: 1.7rem; }
.open-status { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em; display: inline-flex; align-items: center; gap: .5rem; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--sage-deep); }
.open-status.is-closed { color: var(--blush-deep); }
.hours table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours th, .hours td { padding: .45rem 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--ink); }
.hours tr.is-today th::after { content: " · aujourd’hui"; font-weight: 400; color: var(--sage-deep); font-size: .82rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.contact-map { position: relative; min-height: 420px; display: flex; flex-direction: column; }
.contact-map iframe {
  flex: 1; width: 100%; min-height: 420px; border: 0; background: var(--cream);
  filter: grayscale(.35) sepia(.12) contrast(.96);
}
.map-link { margin-top: 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; align-self: flex-start; }
.map-link:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--olive-deep); color: rgba(248, 245, 239, .78); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2rem; }
.footer-mark {
  font-family: var(--serif); font-style: italic; color: var(--paper);
  font-size: clamp(4rem, 15vw, 12rem); line-height: .9; letter-spacing: -0.02em; margin-bottom: 3rem;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; font-size: .92rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(248, 245, 239, .15); }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--paper); text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: .3rem; }
.footer-legal { margin: 1.6rem 0 0; font-size: .76rem; opacity: .7; }

/* ---------- Barre d'action mobile ---------- */
.action-bar { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 33, 27, .96); color: var(--paper);
}
.lightbox::backdrop { background: rgba(30, 33, 27, .6); }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4.5rem 5.5rem 4rem; }
.lb-figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-img {
  max-width: 100%; max-height: calc(100vh - 10rem); width: auto; height: auto; object-fit: contain;
  transition: opacity .35s var(--ease);
}
.lb-img.is-loading { opacity: 0; }
.lb-caption { display: flex; gap: 1.5rem; margin-top: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.lb-count { font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .16em; opacity: .6; align-self: center; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  border: 1px solid rgba(248, 245, 239, .3); background: transparent; color: var(--paper);
  font-size: 1.2rem; cursor: pointer; transition: background-color .3s, border-color .3s;
}
.lb-btn:hover { background: rgba(248, 245, 239, .1); border-color: var(--paper); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-btn[hidden] { display: none; }
.lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: 0; color: var(--paper); cursor: pointer;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem;
}
.lb-close span { font-size: 1.6rem; line-height: 1; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav ul { gap: 1.4rem; }
  .header-call span { display: none; }
  .header-call { padding: .6rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  /* Menu mobile */
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle-lines, .menu-toggle-lines::before {
    display: block; width: 22px; height: 1px; background: var(--ink); position: relative;
    transition: transform .4s var(--ease);
  }
  .menu-toggle-lines::before { content: ""; position: absolute; top: -7px; left: 0; }
  .menu-toggle-lines { transform: translateY(3.5px); }
  .menu-open .menu-toggle-lines { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-toggle-lines::before { transform: translateY(7px) rotate(-90deg); }

  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--paper);
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a {
    display: block; padding: .9rem 0;
    font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0; text-transform: none;
  }
  .main-nav a::after { display: none; }
  .nav-mobile-footer { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; color: var(--ink-soft); padding-bottom: 4.5rem; }
  .nav-mobile-footer a { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; }
  .brand { position: relative; z-index: 2; }
  .header-call { position: relative; z-index: 2; }
  /* backdrop-filter créerait un bloc conteneur pour le menu fixe : on le retire quand le menu est ouvert */
  .menu-open .site-header { background: var(--paper); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; min-height: 0; gap: 3rem; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-visual { padding: 0 0 3rem 2rem; }
  .hero-main { aspect-ratio: 4 / 4.6; }
  .hero-inset { width: 38%; border-width: 7px; }

  .services-strip { justify-content: flex-start; }

  .univers { grid-template-columns: 1fr; }
  .univers-media { max-width: 560px; }
  .univers-text { padding-top: 0; }

  .creations-layout { grid-template-columns: 1fr; }
  .creations-preview { display: none; }
  .creation { grid-template-columns: 2.2rem minmax(0, 1fr) 5.2rem; gap: 1rem; }
  .creation:hover, .creation.is-active { padding-left: .2rem; }
  .creation-thumb { display: block; width: 5.2rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
  .creation-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .creation-more { display: none; }

  .livraison-inner { grid-template-columns: 1fr; }
  .livraison-media { aspect-ratio: 4 / 3.4; }

  .avis { grid-template-columns: 1fr; }
  .avis-note { grid-column: 1; margin-top: 0; }

  .contact { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: .4rem 1.4rem; }

  /* Barre d'actions mobile */
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(248, 245, 239, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%); transition: transform .45s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
    padding: .7rem .5rem .75rem; text-decoration: none;
    font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
  .action-bar a + a { border-left: 1px solid var(--line); }
  .action-bar svg { width: 19px; height: 19px; fill: var(--sage-deep); }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 4.5rem; }

  .lb-stage { padding: 4rem 1rem 6rem; }
  .lb-img { max-height: calc(100vh - 12rem); }
  .lb-btn { top: auto; bottom: 1.4rem; transform: none; }
  .lb-prev { left: calc(50% - 4rem); }
  .lb-next { right: calc(50% - 4rem); }
}

@media (max-width: 700px) {
  .gallery { display: block; columns: 2; column-gap: .9rem; }
  .g-col { display: contents; }
  .g-col:nth-child(n) { padding-top: 0; }
  .g-item, .g-intro { break-inside: avoid; margin-bottom: 1.2rem; }
  .g-intro { column-span: all; }
  .g-item figcaption { font-size: .9rem; margin-top: .4rem; }
  .g-open::after { opacity: 1; transform: none; width: 2rem; height: 2rem; font-size: 1.1rem; right: .5rem; bottom: .5rem; }

  .savoir-faire ul { grid-template-columns: 1fr; }
  .avis-quotes { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-list div { grid-template-columns: 1fr; gap: .2rem; }
  .contact-map, .contact-map iframe { min-height: 340px; }
  .hero-caption { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2.85rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .18em; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Dynamisme : diaporama, bandeau photo, révélations, parallaxe
   ========================================================= */

/* ---------- Diaporama du hero ---------- */
.hero-main { position: relative; }
.hero-slide, .inset-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero-slide { object-position: 50% 60%; }
.hero-slide.is-active, .inset-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active { animation: kenburns 7.5s linear both; }
@keyframes kenburns { from { scale: 1.09; } to { scale: 1; } }

.hero-progress {
  position: absolute; z-index: 2; left: 1.1rem; bottom: 1.1rem;
  display: flex; align-items: center; gap: .9rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(248, 245, 239, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums;
}
.hero-bar { width: 4.5rem; height: 1px; background: var(--line); overflow: hidden; }
.hero-bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hero-bar span.is-running { animation: bar var(--slide-ms, 5500ms) linear forwards; }
.is-paused .hero-bar span.is-running { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-pause {
  position: absolute; z-index: 2; right: 1.1rem; bottom: 1.1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(248, 245, 239, .88); font-size: .6rem; letter-spacing: -.1em; color: var(--ink);
}
.is-paused .hero-pause { font-size: .8rem; letter-spacing: 0; }
.hero-caption [data-hero-caption] { transition: opacity .6s var(--ease); }
.hero-caption .is-changing { opacity: 0; }

/* ---------- Bandeau photo défilant ---------- */
.ribbon { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.ribbon-label {
  max-width: var(--max); margin: 0 auto 1.4rem; padding: 0 var(--gutter);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft);
}
.ribbon-label span { color: var(--sage-deep); }
.ribbon-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ribbon-track {
  display: flex; gap: clamp(.8rem, 1.6vw, 1.4rem); width: max-content;
  animation: ribbon var(--ribbon-s, 70s) linear infinite;
}
.ribbon-viewport:hover .ribbon-track, .ribbon-track:focus-within { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(calc(-50% - var(--ribbon-gap, .7rem))); } }
.ribbon-track li { flex: none; height: clamp(220px, 26vw, 360px); }
.ribbon-track li:nth-child(even) { margin-top: clamp(1.5rem, 3vw, 2.8rem); }
.ribbon-track li.is-tall { height: clamp(260px, 32vw, 440px); margin-top: 0; }
.ribbon-track button {
  display: block; height: 100%; padding: 0; border: 0; background: var(--cream); cursor: zoom-in; overflow: hidden;
}
.ribbon-track img { height: 100%; width: auto; transition: transform 1s var(--ease), filter .6s var(--ease); }
.ribbon-track button:hover img { transform: scale(1.05); }
.ribbon-viewport:hover img { filter: saturate(.85); }
.ribbon-viewport:hover button:hover img { filter: none; }

/* ---------- Révélation des images (rideau) ---------- */
.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .img-reveal img { scale: 1.14; transition: scale 1.8s var(--ease), transform 1.1s var(--ease); }
.js .img-reveal[data-delay] { transition-delay: .25s; }
.js .img-reveal[data-delay] img { transition-delay: .25s, 0s; }
.js .img-reveal.is-visible { clip-path: inset(0 0 0 0); }
.js .img-reveal.is-visible img { scale: 1; }

/* ---------- Parallaxe ---------- */
.has-parallax img { height: calc(100% + 70px) !important; margin-top: -35px; will-change: translate; }

@media (max-width: 900px) {
  .hero-progress { left: .7rem; bottom: .7rem; }
  .hero-pause { right: .7rem; bottom: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  .ribbon-track { animation: none; }
  .ribbon-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .js .img-reveal { clip-path: none; }
  .js .img-reveal img { scale: 1; }
  .has-parallax img { height: 100% !important; margin-top: 0; }
}
.univers { padding-bottom: calc(var(--section-y) * .45); }
.hero-progress { left: auto; bottom: auto; top: 1.1rem; right: 1.1rem; }
@media (max-width: 900px) { .hero-progress { top: .7rem; right: .7rem; } }

/* =========================================================
   Coins arrondis
   ========================================================= */
:root { --radius: 18px; --radius-sm: 12px; }
@media (max-width: 700px) { :root { --radius: 14px; --radius-sm: 10px; } }

.hero-main, .hero-inset, .univers-shop, .univers-detail, .preview-frame,
.livraison-media, .g-open, .ribbon-track button, .savoir-faire, .hours,
.contact-map iframe, .creation-thumb, .lb-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-inset, .univers-detail { border-radius: calc(var(--radius) + 6px); }  /* inclut le liseré clair */
.creation-thumb, .ribbon-track button { border-radius: var(--radius-sm); }
.hero-inset img, .univers-detail img { border-radius: var(--radius); }

/* Le rideau de révélation garde les coins arrondis */
.js .img-reveal { clip-path: inset(0 0 100% 0 round var(--radius)); }
.js .img-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .ribbon-track .img-reveal, .js .creation-thumb.img-reveal { clip-path: inset(0 0 100% 0 round var(--radius-sm)); }
.contact-map iframe { clip-path: inset(0 round var(--radius)); }
