/* =====================================================================
   KAEL'INK  -  by.makima  -  tatouage fine-line, Dordogne
   Design system : editorial botanique + contrepoint dark romantic.
   1 accent verrouille = rose poudre. Sage reserve a l eco.
   Typo : Cormorant Garamond (display) + Hanken Grotesk (corps).
   ===================================================================== */

/* -------------------------------------------------- 1. TOKENS */
:root {
  /* palette */
  --paper:      #f6f0e7;
  --paper-2:    #fbf7f0;
  --paper-3:    #efe7da;
  --ink:        #1c1a22;
  --ink-soft:   #4a4550;
  --ink-faint:  #5a5563;
  --rose:       #c4748a;
  --rose-deep:  #9e4f66;
  --rose-wash:  #f3e2e4;
  --blush:      #ebd3d6;
  --sage:       #8a9a7b;
  --sage-deep:  #56664a;
  --sage-wash:  #e6eadd;
  --atelier:    #16151a;
  --atelier-2:  #211f28;
  --line:       rgba(28, 26, 34, .12);
  --line-soft:  rgba(28, 26, 34, .07);
  --line-light: rgba(246, 240, 231, .16);

  /* typographie */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-hero:    clamp(3.1rem, 4.2vw + 1.9rem, 8.2rem);
  --fs-display: clamp(2.6rem, 3.6vw + 1.4rem, 5.4rem);
  --fs-h2:      clamp(2.05rem, 3.2vw + 0.6rem, 4rem);
  --fs-h3:      clamp(1.45rem, 1.4vw + 0.85rem, 2.1rem);
  --fs-lead:    clamp(1.14rem, 0.6vw + 1rem, 1.42rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.82rem;
  --fs-eyebrow: 0.72rem;

  /* rythme */
  --space-section: clamp(5rem, 9vw, 10rem);
  --container: 1180px;
  --container-wide: 1480px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* forme (radius lock) */
  --r-card: 14px;
  --r-input: 10px;
  --r-pill: 999px;

  /* ombres teintees encre, tres diffuses */
  --shadow-sm: 0 1px 2px rgba(28,26,34,.04), 0 6px 18px rgba(28,26,34,.05);
  --shadow-md: 0 2px 6px rgba(28,26,34,.05), 0 24px 60px -22px rgba(28,26,34,.22);
  --shadow-lg: 0 40px 90px -40px rgba(28,26,34,.4);

  /* mouvement */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --ease-snap: cubic-bezier(.22, 1, .36, 1);
  --dur: .8s;

  /* z-index */
  --z-grain: 4;
  --z-nav: 60;
  --z-overlay: 80;
  --z-lightbox: 90;
}

/* -------------------------------------------------- 2. RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01";
}
body.lb-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--rose); color: var(--paper-2); }

.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-160%); background: var(--ink); color: var(--paper-2); padding: .7rem 1.2rem; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; transition: transform .3s var(--ease); }
.skip-link:focus { transform: translateY(0); }

.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: var(--rose-deep); transform: scaleX(0); transform-origin: 0 50%; z-index: 65; pointer-events: none; opacity: .85; }

/* film grain papier (fixe, non interactif) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------- 3. TYPO HELPERS */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
.serif-i { font-style: italic; }
.ttl-em { font-style: italic; color: var(--rose-deep); }   /* accent rose sur un mot de titre (echo de la signature du hero) */
.display { font-family: var(--serif); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--rose-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5;
}
.eyebrow.is-center::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--ink-faint); }
.measure { max-width: 64ch; }

/* -------------------------------------------------- 4. LAYOUT */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: 1.2rem; }

/* -------------------------------------------------- 5. BOUTONS */
.btn {
  --bg: var(--ink); --fg: var(--paper-2);
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: .92rem 1.05rem .92rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
}
.btn:hover { box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.97); }
.btn__ic {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: var(--r-pill); background: rgba(246,240,231,.16);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.btn:hover .btn__ic { transform: translate(3px, -2px); }
.btn__ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.btn--rose { --bg: var(--rose-deep); --fg: #fff; }
.btn--rose:hover { --bg: #8c3f56; }
.btn--rose .btn__ic { background: rgba(255,255,255,.2); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1px solid var(--line); padding-left: 1.3rem;
}
.btn--ghost .btn__ic { background: rgba(28,26,34,.06); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.btn--ghost:hover .btn__ic { background: rgba(246,240,231,.16); }
.btn--block { width: 100%; justify-content: center; padding-left: 1.5rem; }

.link-quiet {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.link-quiet:hover { color: var(--rose-deep); border-color: var(--rose); gap: .8rem; }

/* -------------------------------------------------- 6. NAV */
.nav {
  position: fixed; top: clamp(.8rem, 2vw, 1.4rem); left: 50%; transform: translateX(-50%);
  z-index: var(--z-nav);
  width: min(var(--container-wide), calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .65rem .55rem 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(251,247,240,.9);
  border: 1px solid var(--line-soft);
  transition: box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(251,247,240,.97); }
.nav__brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.nav__brand span { color: var(--rose-deep); }
.nav__links { display: flex; gap: .35rem; align-items: center; }
.nav__links a {
  padding: .5rem .85rem; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(28,26,34,.05); }
.nav__cta { display: inline-flex; }
.nav__cta .btn { padding: .6rem .7rem .6rem 1.15rem; font-size: .88rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); align-items: center; justify-content: center; }
.nav__burger span { position: relative; width: 20px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* menu mobile plein ecran */
.navmenu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(246,240,231,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.navmenu.is-open { opacity: 1; visibility: visible; }
.navmenu a { font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 4rem); color: var(--ink); line-height: 1.15; opacity: 0; transform: translateY(20px); }
.navmenu.is-open a { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.navmenu.is-open a:nth-child(1){transition-delay:.08s} .navmenu.is-open a:nth-child(2){transition-delay:.14s}
.navmenu.is-open a:nth-child(3){transition-delay:.2s} .navmenu.is-open a:nth-child(4){transition-delay:.26s}
.navmenu.is-open a:nth-child(5){transition-delay:.32s} .navmenu.is-open a:nth-child(6){transition-delay:.38s}

/* -------------------------------------------------- 7. REVEAL
   Etat cache uniquement si JS present (html.js) : sans JS, tout reste visible. */
[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
html.js [data-reveal] { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(7px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal-stagger] > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px) scale(.99); }
html.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* -------------------------------------------------- 8. HERO */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: clamp(7rem, 14vh, 10rem); padding-bottom: clamp(3rem, 8vh, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.02em; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; transition: transform 1.1s var(--ease); }
html.js .hero__title .ln > span { transform: translateY(105%); }
.hero.is-ready .hero__title .ln > span { transform: none; }
.hero__title .accent { font-style: italic; color: var(--rose-deep); }
.hero__lead { margin-top: 1.8rem; max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__meta { display: flex; gap: 1.8rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; gap: .1rem; }
.hero__meta dt { font-size: var(--fs-small); color: var(--ink-faint); letter-spacing: .04em; }
.hero__meta dd { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: 220px 220px var(--r-card) var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-3);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.02); }
.hero__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(125% 90% at 50% 32%, transparent 56%, rgba(28,26,34,.2)), linear-gradient(180deg, transparent 54%, rgba(28,26,34,.3)); }
.hero__chip {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  background: rgba(251,247,240,.92); border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  padding: .65rem 1rem .65rem .8rem; display: flex; align-items: center; gap: .65rem; box-shadow: var(--shadow-md);
  color: var(--ink); text-decoration: none; transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.hero__chip:hover { box-shadow: var(--shadow-lg); border-color: var(--rose); }
.hero__chip svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--rose-deep); fill: none; stroke-width: 1.4; }
.hero__chip b { font-weight: 600; font-size: .92rem; }
.hero__chip span { font-size: .82rem; color: var(--ink-faint); }
.hero__chip svg.hero__chip-go { width: 15px; height: 15px; margin-left: .1rem; stroke: var(--ink-faint); transition: transform .35s var(--ease); }
.hero__chip:hover svg.hero__chip-go { transform: translateX(3px); stroke: var(--rose-deep); }

.hero__ornament { position: absolute; z-index: 1; pointer-events: none; }
.hero__ornament--tl { top: 14vh; right: 42%; width: clamp(90px, 12vw, 180px); opacity: .7; }

/* -------------------------------------------------- 9. ORNEMENTS LINE-DRAW */
.ornament path, .ornament line, .ornament circle, .ornament ellipse { fill: none; stroke: var(--rose-deep); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ornament.sage path, .ornament.sage line, .ornament.sage circle, .ornament.sage ellipse { stroke: var(--sage-deep); }
.ornament.ink path, .ornament.ink line, .ornament.ink circle, .ornament.ink ellipse { stroke: var(--ink); }
.ornament [data-draw] { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 1.8s var(--ease); }
.ornament.is-drawn [data-draw] { stroke-dashoffset: 0; }

.divider-bloom { display: grid; place-items: center; padding-block: clamp(2rem, 6vw, 4.5rem); }
.divider-bloom svg { width: clamp(120px, 16vw, 200px); }

/* -------------------------------------------------- 10. ABOUT */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.about__media { position: sticky; top: 96px; }   /* haut aligne sur le texte + accompagne la lecture (jamais de vide mort) */
.about__media .gingham { position: absolute; inset: -1.4rem -1.4rem auto auto; width: 62%; aspect-ratio: 1; border-radius: var(--r-card); z-index: 0;
  background-image: repeating-linear-gradient(0deg, var(--rose-wash) 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, var(--rose-wash) 0 14px, transparent 14px 28px);
  background-color: var(--paper-2); opacity: .45; }
.about__portrait { position: relative; z-index: 1; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; background: var(--paper-3); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.about__portrait:hover img { transform: scale(1.045); }
.about__body h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.about__body p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 56ch; }
.about__quote { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.32; color: var(--ink); margin: 1.8rem 0; padding-left: 2.7rem; }
.about__quote::before { content: "\201C"; position: absolute; left: -.1rem; top: .12em; font-family: var(--serif); font-style: normal; font-size: 3.4em; line-height: 0; color: var(--rose); opacity: .8; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.8rem; }
.about__facts li { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.about__facts li:hover { transform: translateY(-3px); border-color: rgba(196,116,138,.45); box-shadow: var(--shadow-sm); }
.about__facts dt, .about__facts .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.about__facts .v { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }

/* -------------------------------------------------- 11. GALERIE */
.gallery__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.filter {
  padding: .55rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--ink-soft); background: var(--paper-2);
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink-faint); }
.filter.is-active { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.filter .count { opacity: .55; margin-left: .35em; font-variant-numeric: tabular-nums; }

.masonry { columns: 3; column-gap: clamp(.8rem, 1.6vw, 1.3rem); transition: opacity .18s var(--ease); }   /* < 200ms du setTimeout filtre : fondu sortant termine avant le swap, pas de flash */
.gcard {
  position: relative; break-inside: avoid; margin-bottom: clamp(.8rem, 1.6vw, 1.3rem);
  border-radius: var(--r-card); overflow: hidden; background: var(--paper-3); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s var(--ease);
}
.gcard img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gcard:hover img { transform: scale(1.05); }
.gcard__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.1rem .9rem; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(22,21,26,.78));
  color: var(--paper-2); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gcard:hover .gcard__cap, .gcard:focus-visible .gcard__cap { opacity: 1; transform: none; }
.gcard__cap b { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.15; }
.gcard__cap span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blush); }
.gcard.is-hidden { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(20,19,24,.92); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { position: relative; max-width: 1100px; width: 100%; display: grid; grid-template-columns: 1.4fr .8fr; gap: 0; background: var(--paper); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); max-height: 88dvh; }
.lightbox__img { background: var(--atelier); display: grid; place-items: center; }
.lightbox__img img { max-height: 88dvh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox__meta { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: .9rem; overflow-y: auto; }
.lightbox__meta .eyebrow { color: var(--rose-deep); }
.lightbox__meta h3 { font-size: var(--fs-h3); }
.lightbox__meta p { color: var(--ink-soft); }
.lightbox__meta .meta-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(246,240,231,.92); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), background-color .3s; }
.lightbox__nav:hover { background: var(--paper-2); }
.lightbox__nav svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.2rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.2rem); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(20,19,24,.5); display: grid; place-items: center; }
.lightbox__close svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }

/* -------------------------------------------------- 12. IMMERSIF SOMBRE (atelier, mise en page editoriale) */
.atelier { position: relative; background: var(--atelier); color: var(--paper); overflow: hidden; }
/* colonnes de hauteur egale, contenu centre : pas de grand vide, lecture symetrique */
.atelier__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: stretch; padding-block: var(--space-section); }
.atelier__copy { display: flex; flex-direction: column; justify-content: center; }
.atelier .eyebrow { color: var(--blush); }
.atelier__quote { font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2.4rem); line-height: 1.18; font-weight: 400; max-width: 24ch; margin: 1rem 0 1.3rem; }
.atelier__quote em { color: var(--rose); font-style: italic; }
.atelier__text { color: rgba(246,240,231,.82); font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; margin-bottom: 1.6rem; }
.atelier__list { list-style: none; display: grid; gap: 0; margin: 0; max-width: 44ch; }
.atelier__list li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(246,240,231,.84); font-size: .98rem; line-height: 1.45; padding: .8rem 0; border-bottom: 1px solid rgba(246,240,231,.1); }
.atelier__list li:first-child { padding-top: 0; }
.atelier__list li:last-child { border-bottom: 0; }
.atelier__mark { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; stroke: var(--rose); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.atelier .signature { margin-top: 1.6rem; }
.atelier__photo { position: relative; margin: 0; height: 100%; min-height: 440px; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 32px 70px -34px rgba(0,0,0,.75); }
.atelier__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.atelier__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem .95rem; font-size: var(--fs-small); letter-spacing: .14em; text-transform: uppercase; color: rgba(246,240,231,.88); background: linear-gradient(to top, rgba(20,19,24,.72), transparent); }
@media (max-width: 1024px) {
  .atelier__grid { grid-template-columns: 1fr; gap: 2.2rem; align-items: stretch; }
  .atelier__photo { order: -1; height: auto; min-height: 0; }
  .atelier__photo img { height: auto; aspect-ratio: 3 / 2; }
}

/* -------------------------------------------------- 13. PRESTATIONS */
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.8vw, 1.4rem); }
.svc { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); padding: clamp(1.5rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; gap: .7rem; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc__n { font-family: var(--serif); font-size: 1.05rem; color: var(--rose-deep); font-weight: 600; }
.svc h3 { font-size: var(--fs-h3); }
.svc p { color: var(--ink-soft); font-size: .98rem; }
.svc__ic { width: 40px; height: 40px; margin-bottom: .3rem; }
.svc__ic svg { width: 100%; height: 100%; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.svc--lg { grid-column: span 3; }
.svc--md { grid-column: span 3; }
.svc--sm { grid-column: span 2; }
.svc--feature { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; background: var(--ink); color: var(--paper-2); }
.svc--feature h3 { font-size: var(--fs-display); }
.svc--feature p { color: rgba(246,240,231,.74); max-width: 46ch; }
.svc--feature .svc__n { color: var(--blush); }
.svc--feature .svc__art { aspect-ratio: 4/3; border-radius: var(--r-card); overflow: hidden; background: var(--atelier-2); }
.svc--feature .svc__art img { width: 100%; height: 100%; object-fit: cover; }

/* bande de mots-cles (1 seul marquee sur la page) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; margin-top: clamp(2.5rem, 5vw, 4rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-style: italic; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee__track span::after { content: "\273B"; font-style: normal; font-size: .7em; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* -------------------------------------------------- 14. TARIFS */
.pricing__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
.ptable { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); overflow: hidden; }
.ptable__head { padding: 1.4rem 1.6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.ptable__head h3 { font-size: var(--fs-h3); }
.ptable__head span { font-size: .82rem; color: var(--ink-faint); }
.ptable__rows { display: flex; flex-direction: column; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.6rem; transition: background-color .3s var(--ease); }
.prow + .prow { border-top: 1px solid var(--line-soft); }
.prow:hover { background: var(--rose-wash); }
.prow__fmt { display: flex; flex-direction: column; }
.prow__fmt b { font-weight: 600; }
.prow__fmt span { font-size: .8rem; color: var(--ink-faint); }
.prow__price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.prow__price small { font-size: .9rem; color: var(--ink-faint); }
.pside { display: flex; flex-direction: column; gap: 1.2rem; }
.pcard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem; background: var(--paper-2); }
.pcard--ink { background: var(--ink); color: var(--paper-2); border-color: transparent; }
.pcard--ink h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.pcard--ink p { color: rgba(246,240,231,.74); margin-bottom: 1.2rem; }
.pcard h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .8rem; }
.pcard ul { display: flex; flex-direction: column; gap: .6rem; }
.pcard li { display: flex; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.pcard li svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .25rem; stroke: var(--rose-deep); fill: none; stroke-width: 1.8; }
.pcard--ink li { color: rgba(246,240,231,.82); } .pcard--ink li svg { stroke: var(--rose); }

/* commande dessin */
.commission { margin-top: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); padding: clamp(1.4rem, 2.6vw, 2rem); }
.commission__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); }
.seg button { padding: .5rem .95rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--ink-soft); transition: background-color .3s var(--ease), color .3s var(--ease); }
.seg button.is-active { background: var(--ink); color: var(--paper-2); }
.commission__price { text-align: right; }
.commission__price .v { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.commission__price .k { font-size: .78rem; color: var(--ink-faint); }
.field-label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; letter-spacing: .02em; }

/* -------------------------------------------------- 15. ECO */
.eco { background: var(--sage-wash); }
.eco__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.eco .eyebrow { color: var(--sage-deep); }
.eco h2 { font-size: var(--fs-h2); }
.eco__lead { color: var(--ink-soft); margin: 1.2rem 0 2rem; max-width: 50ch; }
.eco__points { display: grid; gap: 1.1rem; }
.eco__pt { display: flex; gap: 1rem; padding: 1.2rem 1.4rem; background: rgba(251,247,240,.6); border: 1px solid rgba(86,102,74,.18); border-radius: var(--r-card); }
.eco__pt svg { flex: 0 0 auto; width: 26px; height: 26px; stroke: var(--sage-deep); fill: none; stroke-width: 1.3; }
.eco__pt b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; display: block; margin-bottom: .15rem; }
.eco__pt span { font-size: .92rem; color: var(--ink-soft); }

/* -------------------------------------------------- 16. PROCESS */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.step { position: relative; padding-top: 2rem; }
/* repere = noeud rose sur le fil (timeline editoriale), plus de numero 01/02/03 (tell IA) */
.step::before { content: ""; position: absolute; top: .65rem; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--rose-deep); box-shadow: 0 0 0 4px var(--paper); transition: transform .5s var(--ease-snap); }
.step::after { content: ""; position: absolute; top: 1rem; left: 1.5rem; right: -.8rem; height: 1px; background: var(--line); }
.process__grid .step:last-child::after { display: none; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* -------------------------------------------------- 17. CONTACT */
.contact { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.contact__sprig { position: absolute; top: -6px; right: clamp(-32px, -1vw, -12px); width: clamp(108px, 13vw, 190px); opacity: .42; z-index: 0; }
.contact__sprig path, .contact__sprig circle { stroke: var(--rose); }
.contact__grid { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact .eyebrow { color: var(--blush); }
.contact h2 { font-size: var(--fs-display); color: var(--paper); }
.contact__body { color: rgba(246,240,231,.74); margin: 1.2rem 0 2rem; max-width: 42ch; }
.contact__channels { display: flex; flex-direction: column; gap: .8rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line-light); border-radius: var(--r-card); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.channel:hover { background: rgba(246,240,231,.05); border-color: rgba(246,240,231,.3); }
.channel svg { flex: 0 0 auto; width: 22px; height: 22px; stroke: var(--rose); fill: none; stroke-width: 1.5; }
.channel b { display: block; font-weight: 600; }
.channel span { font-size: .85rem; color: rgba(246,240,231,.6); }
.channel .arr { margin-left: auto; opacity: .5; transition: transform .4s var(--ease); }
.channel:hover .arr { transform: translateX(4px); opacity: 1; }

.form { background: var(--paper-2); color: var(--ink); border-radius: var(--r-card); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-input);
  background: var(--paper); color: var(--ink); font: inherit; font-size: .96rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-faint); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-wash); }
.form__note { font-size: .82rem; color: var(--ink-faint); margin-top: .9rem; }
.form__status { font-size: .9rem; margin-top: .8rem; min-height: 1.2em; }
.form__status.ok { color: var(--rose-deep); } .form__status.warn { color: var(--rose-deep); }

/* -------------------------------------------------- 18. FOOTER */
.footer { background: var(--atelier); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem) 2.2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer__brand { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; }
.footer__brand span { color: var(--rose); }
.footer__tag { color: rgba(246,240,231,.62); margin-top: .6rem; max-width: 34ch; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(246,240,231,.6); margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; color: rgba(246,240,231,.82); padding: .25rem 0; transition: color .3s var(--ease); }
.footer__col a { width: max-content; max-width: 100%; }
.footer__col a:hover { color: var(--rose); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; flex-wrap: wrap; }
.footer__bottom p { font-size: .82rem; color: rgba(246,240,231,.5); }
.footer__bottom .made { font-size: .82rem; color: rgba(246,240,231,.5); }
.footer__bottom .made b { color: rgba(246,240,231,.75); font-weight: 600; }
.footer__bottom .credit { flex-basis: 100%; text-align: center; font-size: .78rem; opacity: .5; margin-top: .3rem; }
.footer__bottom .credit a { color: var(--rose); border-bottom: 1px solid rgba(196,116,138,.3); padding-bottom: 1px; }
.footer__bottom .credit a:hover { color: var(--blush); }

/* ================================================== CINEMATIQUE ================== */

/* --- intro / curtain reveal (rideau d'ouverture) --- */
.intro-curtain { display: none; }
html.js .intro-curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 70;
  background: radial-gradient(120% 120% at 50% 40%, var(--paper-2), var(--paper) 70%);
}
.intro-curtain__mark { width: clamp(96px, 14vw, 168px); height: auto; }
.intro-curtain__mark path, .intro-curtain__mark circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.intro-curtain__mark .ink { stroke: var(--ink); stroke-width: 2; }
.intro-curtain__mark .ros { stroke: var(--rose-deep); stroke-width: 2; }
.intro-curtain__mark [data-draw] { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.3s var(--ease); }
.intro-curtain.is-drawn [data-draw] { stroke-dashoffset: 0; }
.intro-curtain__word { margin-top: 1.1rem; font-family: "Sacramento", var(--serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--rose-deep); opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s; }
.intro-curtain.is-drawn .intro-curtain__word { opacity: 1; transform: none; }
.intro-curtain.is-done { transform: translateY(-101%); transition: transform 1s var(--ease-soft); pointer-events: none; }
body.is-intro { overflow: hidden; }

/* --- signature manuscrite --- */
.signature { font-family: "Sacramento", var(--serif); font-weight: 400; line-height: 1; color: var(--rose-deep); }
html.js .signature { clip-path: inset(0 102% 0 0); transition: clip-path 1.5s var(--ease); }
html.js .signature.is-drawn { clip-path: inset(0 -3% 0 0); }
.about__signature { display: inline-block; font-size: clamp(2.6rem, 4.4vw, 3.6rem); margin-top: .4rem; }
.about__sigline { display: flex; align-items: baseline; gap: .9rem; margin-top: 1.6rem; }
.about__sigline span { font-size: var(--fs-small); color: var(--ink-faint); letter-spacing: .04em; }
.about__aside { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-faint); display: flex; align-items: center; gap: .6rem; }
.about__aside svg { flex: 0 0 auto; width: 16px; height: 16px; stroke: var(--rose); fill: none; stroke-width: 1.4; }
.atelier .signature { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--blush); }

/* --- divider botanique entre sections : padding minimal, il vit dans l'ecart deja menage par les sections --- */
/* le separateur n'ajoute AUCUNE hauteur (margins negatives) : il flotte, centre, dans l'ecart standard entre 2 sections -> espacement identique partout */
.divider { display: grid; place-items: center; height: 26px; margin-block: -13px; padding: 0; pointer-events: none; position: relative; z-index: 2; }
.divider svg { width: clamp(116px, 15vw, 178px); overflow: visible; }

/* --- micro-interactions : soulignement des liens --- */
.nav__links a, .footer__col a { position: relative; }
.nav__links a::after, .footer__col a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); opacity: .55; }
.footer__col a::after { left: 0; right: 0; bottom: .15rem; }
.nav__links a:hover::after, .footer__col a:hover::after { transform: scaleX(1); }

/* gcard : liseret rose au survol/focus + ombre teintee */
.gcard { outline: 1px solid transparent; outline-offset: -1px; }
.gcard:hover, .gcard:focus-visible { outline-color: rgba(196,116,138,.5); box-shadow: 0 18px 40px -22px rgba(158,79,102,.5), var(--shadow-md); }

/* champ de formulaire : label teinte au focus */
.form__grid > div:focus-within label { color: var(--rose-deep); }

/* filtre : micro-rebond a la selection */
@keyframes filterPress { 0% { transform: scale(1); } 45% { transform: scale(.94); } 100% { transform: scale(1); } }

/* lightbox : fondu d'image entre les pieces */
.lightbox__img img { transition: opacity .25s var(--ease); }

/* --- affinage typographique editorial --- */
h1, h2, h3, h4 { font-optical-sizing: auto; text-wrap: balance; }
.hero__title { text-wrap: balance; }
.lead, .about__body p, .eco__lead, .contact__body, .svc p, .step p { text-wrap: pretty; }
.prow__price, .commission__price .v { font-variant-numeric: lining-nums proportional-nums; }

@media (prefers-reduced-motion: reduce) {
  html.js .signature { clip-path: none !important; }
  .intro-curtain__word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav__links a::after, .footer__col a::after { transition: none; }
}

/* ================================================== GOOD VIBES (vie organique + chaleur) ============ */
@media (prefers-reduced-motion: no-preference) {
  /* respiration des plantes une fois tracees */
  svg.ornament.is-drawn { transform-box: fill-box; transform-origin: 50% 100%; animation: leafSway 10s cubic-bezier(.37,0,.63,1) 2s infinite alternate; }
  .hero__ornament.is-drawn { animation-duration: 11s; animation-delay: 2.4s; }
  .divider:nth-of-type(2) svg.ornament.is-drawn { animation-duration: 8.5s; animation-delay: 1.6s; }
  .ornament.sage.is-drawn { animation-duration: 9.5s; animation-delay: 1.2s; }
  /* chip : leger flottement organique (seul mouvement perpetuel du hero avec le sway botanique) */
  .hero__chip { animation: chipFloat 5s ease-in-out infinite alternate; }
}
@keyframes leafSway { from { transform: rotate(-1.4deg) translateY(0); } to { transform: rotate(1.4deg) translateY(-4px); } }
@keyframes chipFloat { 0% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-2px,-7px) rotate(-.6deg); } 100% { transform: translate(0,0) rotate(0); } }

/* entrees plus organiques : leger overshoot sur le transform, opacite/flou amortis */
[data-reveal] { transition: opacity 1s var(--ease), transform 1.05s var(--ease-snap), filter 1s var(--ease); }
[data-reveal-stagger] > * { transition: opacity .8s var(--ease), transform .85s var(--ease-snap); }

/* filtres : pop joyeux a la selection + survol */
.filter { transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-snap); }
.filter.is-bounce { animation: filterPress .34s var(--ease); }
.filter:hover { transform: translateY(-1px); }

/* segments commande + prix qui pulse */
.seg button { transition: background-color .3s var(--ease), color .3s var(--ease), transform .25s var(--ease-snap); }
@keyframes pricePop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.commission__price .v.bump { display: inline-block; animation: pricePop .4s var(--ease-snap); }

/* cartes galerie : survol plus delicat */
.gcard { transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .5s var(--ease); }
.gcard:hover, .gcard:focus-visible { box-shadow: 0 18px 40px -22px rgba(158,79,102,.5), var(--shadow-md); transform: translateY(-4px) scale(1.012); }
.gcard:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }   /* anneau clavier net sur vignette sombre */
.gcard__cap { transition: opacity .5s var(--ease), transform .35s var(--ease-snap); }

/* liens : soulignement "trace au feutre" + fleche du lien quiet */
.nav__links a::after, .footer__col a::after { transition: transform .45s var(--ease-snap); }
.link-quiet svg { transition: transform .3s var(--ease-snap); }
.link-quiet:hover svg { transform: translateX(2px); }

/* lignes tarifs + canaux : reaction douce au survol */
.prow { transition: background-color .3s var(--ease), transform .3s var(--ease-snap); }
.prow:hover { transform: translateX(3px); }
.channel { transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .35s var(--ease); }
.channel:hover { transform: translateX(3px); }

/* boutons : clic elastique court (sans casser le magnetique) + fleche */
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn__ic { transition: transform .35s var(--ease-snap), background-color .4s var(--ease); }

/* petales qui derivent (hero uniquement, injectes en JS) */
.hero__grid { position: relative; z-index: 1; }
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.petal { position: absolute; top: -6%; left: calc(var(--x) * 1%); width: var(--s, 10px); height: var(--s, 10px); border-radius: 60% 0 60% 0; background: var(--blush); opacity: 0; filter: blur(.3px); animation: petalFall var(--d, 18s) linear var(--delay, 0s) infinite; }
.petal:nth-child(even) { background: var(--rose-wash); }
@keyframes petalFall {
  0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0); }
  12% { opacity: .4; }
  50% { transform: translateY(44vh) translateX(16px) rotate(180deg); }
  88% { opacity: .3; }
  100% { opacity: 0; transform: translateY(86vh) translateX(-10px) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
  .link-quiet svg, .prow, .channel, .filter { transition: none; }
}

/* cadre fin "tirage" sur les images : detail premium coherent */
.gcard, .about__portrait, .svc__art { position: relative; }
.gcard::after, .about__portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(28,26,34,.08); pointer-events: none; z-index: 3; }
.svc__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(246,240,231,.16); pointer-events: none; z-index: 3; }   /* filet clair : la carte vitrine est sur fond sombre */

/* ================================================== ELEVATION (beaute pro) ========== */
:root { --space-section: clamp(2.25rem, 3vw, 3.75rem); }
/* espacement vertical STRICTEMENT identique entre toutes les sections : chacune a padding-block = --space-section, et le separateur n'ajoute pas de hauteur (cf .divider) */

/* hero : ombre teintee rose + filet passe-partout clair */
.hero__frame { box-shadow: 0 50px 120px -50px rgba(158,79,102,.45), 0 12px 32px -20px rgba(28,26,34,.32); }
.hero__frame::after { box-shadow: inset 0 0 0 1px rgba(246,240,231,.25); }

/* typographie : creuser display vs corps */
.section-head { margin-bottom: clamp(2rem, 3.5vw, 3.25rem); }
.section-head h2 { line-height: 1.02; }
.eyebrow::before { content: "\273B"; width: auto; height: auto; background: none; font-size: .9em; opacity: .85; }
.eyebrow.is-center::before { display: none; }
.lead { color: var(--ink-faint); max-width: 56ch; }
.hero__title { letter-spacing: -.03em; }

/* galerie : cadre "tirage" permanent + 4 colonnes en tres grand ecran */
.gcard { box-shadow: var(--shadow-sm); }   /* le filet ::after suffit : pas de double liseré */
@media (min-width: 1481px) { .masonry { columns: 4; } }

/* micro-reponses au survol (hover uniquement -> zero cout au scroll) */
.eco__pt svg { transition: transform .45s var(--ease-snap); transform-origin: 50% 70%; }
.eco__pt:hover svg { transform: rotate(-6deg) scale(1.08); }
.step:hover::before { transform: scale(1.35); }
.svc__ic svg { transition: transform .45s var(--ease-snap), stroke .4s var(--ease); }
.svc:hover .svc__ic svg { transform: translateY(-3px); stroke: var(--rose-deep); }
.channel svg:first-of-type { transition: transform .4s var(--ease-snap); }
.channel:hover svg:first-of-type { transform: scale(1.12) rotate(-4deg); }

/* gel des animations decoratives hors-ecran (economie compositor au scroll) */
.hero.anim-off .petal, .hero.anim-off .hero__chip, .hero.anim-off .hero__media::before { animation-play-state: paused; }
.marquee.anim-off .marquee__track { animation-play-state: paused; }

/* ================================================== RESERVATIONS + SON ============== */
.cal { margin-top: 1.8rem; border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 1.2rem 1.3rem; background: rgba(246,240,231,.04); }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.cal__title { font-family: var(--serif); font-size: 1.18rem; color: var(--paper); }
.cal__year { font-size: .85rem; color: rgba(246,240,231,.55); letter-spacing: .12em; }
.cal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.cal__m { text-align: center; font-size: .72rem; padding: .5rem .2rem; border-radius: 9px; background: rgba(246,240,231,.05); color: rgba(246,240,231,.58); transition: transform .35s var(--ease-snap); }
.cal__m.is-open { background: var(--rose-deep); color: #fff; font-weight: 600; }
.cal__m.is-past { opacity: .32; text-decoration: line-through; }
.cal__m.is-open:hover { transform: translateY(-2px); }
.cal__legend { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .78rem; color: rgba(246,240,231,.6); }
.cal__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--rose-deep); flex: 0 0 auto; }

/* Dock audio : musique (lecture/pause) + sons d'interface */
.audio-dock { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; display: flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: 999px; background: rgba(251,247,240,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.audio-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--ink-soft); transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.audio-btn:hover { transform: translateY(-1px); background: var(--paper-2); color: var(--ink); }
.audio-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.audio-btn--music svg { fill: currentColor; stroke: none; }
.audio-btn[aria-pressed="true"] { color: var(--rose-deep); }
/* sur les sections sombres (atelier, contact, footer) le dock s'assombrit pour ne pas trancher */
.audio-dock.is-on-dark { background: rgba(28,26,34,.62); border-color: rgba(246,240,231,.16); }
.audio-dock.is-on-dark .audio-btn { color: rgba(246,240,231,.78); }
.audio-dock.is-on-dark .audio-btn:hover { background: rgba(246,240,231,.12); color: #fff; }
.audio-dock.is-on-dark .audio-btn[aria-pressed="true"] { color: var(--rose); }
/* curseur de volume precis (mini-lecteur) */
.audio-vol { -webkit-appearance: none; appearance: none; width: 92px; height: 26px; background: transparent; cursor: pointer; margin: 0; }
.audio-pct { font-size: .72rem; color: var(--ink-faint); min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.audio-dock.is-on-dark .audio-pct { color: rgba(246,240,231,.72); }
.audio-vol::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--rose-deep) var(--p,30%), rgba(28,26,34,.22) var(--p,30%)); }
.audio-vol::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 11px; height: 11px; border-radius: 50%; background: var(--rose-deep); margin-top: -4px; border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s var(--ease); }
.audio-vol:hover::-webkit-slider-thumb { transform: scale(1.18); }
.audio-vol::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(28,26,34,.22); }
.audio-vol::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--rose-deep); }
.audio-vol::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: var(--rose-deep); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.audio-vol:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.audio-dock.is-on-dark .audio-vol::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--rose) var(--p,30%), rgba(246,240,231,.28) var(--p,30%)); }
.audio-dock.is-on-dark .audio-vol::-webkit-slider-thumb { background: var(--rose); }
.audio-dock.is-on-dark .audio-vol::-moz-range-track { background: rgba(246,240,231,.28); }
.audio-dock.is-on-dark .audio-vol::-moz-range-progress { background: var(--rose); }
.audio-dock.is-on-dark .audio-vol::-moz-range-thumb { background: var(--rose); }
/* indicateur "en lecture" : 3 barres animees */
.audio-eq { display: flex; align-items: flex-end; gap: 2px; height: 15px; width: 13px; opacity: 0; transition: opacity .35s var(--ease); }
.audio-eq.is-live { opacity: 1; }
.audio-eq i { width: 2.5px; height: 14px; border-radius: 2px; background: var(--rose-deep); transform-origin: bottom; transform: scaleY(.22); animation: eqBar .95s var(--ease-soft) infinite; animation-play-state: paused; }
.audio-eq.is-live i { animation-play-state: running; }
.audio-eq i:nth-child(2) { animation-delay: .18s; }
.audio-eq i:nth-child(3) { animation-delay: .36s; }
.audio-dock.is-on-dark .audio-eq i { background: var(--rose); }
@keyframes eqBar { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .audio-eq i { animation: none; transform: scaleY(.6); } }
@media (max-width: 680px) { .cal__grid { grid-template-columns: repeat(4, 1fr); } .audio-btn { width: 34px; height: 34px; } }

/* ================================================== CURSEUR PERSONNALISE ============ */
.cursor, .cursor__ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 95; border-radius: 50%; will-change: transform; }
.cursor { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--rose-deep); }
.cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(158,79,102,.5);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), opacity .3s var(--ease); }
.cursor__ring.is-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(196,116,138,.1); border-color: var(--rose); }
.cursor.is-hover { background: var(--rose); }
html.has-cursor { cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor .gcard, html.has-cursor [data-magnetic], html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* ================================================== PAGE CREDITS ===================== */
.credits-page { max-width: 760px; padding-block: clamp(3.5rem, 9vh, 7rem); min-height: 100vh; }
.credits-back { margin-bottom: 1.4rem; }
.credits-page h1 { font-size: var(--fs-h2); margin: 1rem 0 .5rem; }
.credits-list { margin: 2.6rem 0; display: grid; gap: 1.4rem; }
.credits-list > div { display: grid; gap: .35rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.credits-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.credits-list dt { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.credits-list dd { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.credits-list a { color: var(--rose-deep); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.credits-list a:hover { color: var(--rose); border-color: var(--rose); }
.credits-sign { display: inline-block; font-size: clamp(2.4rem, 5vw, 3.2rem); margin: 1.2rem 0 .5rem; }
.credits-foot { font-size: .82rem; color: var(--ink-faint); }
.credits-foot a { color: var(--rose-deep); }

/* -------------------------------------------------- 19. RESPONSIVE */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .hero__ornament--tl { display: none; }
  .about__grid, .eco__grid, .pricing__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { position: static; }   /* pas de sticky en colonne unique */
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .step::after { display: none; }
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .svc--lg { grid-column: span 4; }
  .svc--md { grid-column: span 2; }
  .svc--sm { grid-column: span 2; }
  .svc--feature { grid-column: span 4; grid-template-columns: 1fr; }
  .lightbox__inner { grid-template-columns: 1fr; max-height: 92dvh; }
  .lightbox__img img { max-height: 54dvh; }
}
/* bascule nav : burger des que la nav horizontale serait a l etroit */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: .55rem .55rem .55rem 1.2rem; }
}
@media (max-width: 680px) {
  :root { --fs-body: 1rem; }
  .masonry { columns: 1; }
  .hero { padding-top: 7.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .svc--lg, .svc--md, .svc--sm, .svc--feature { grid-column: span 1; }
  .process__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .commission__row { grid-template-columns: 1fr; }
  .commission__price { text-align: left; }
  .about__facts { display: grid; grid-template-columns: repeat(2, 1fr); }
  .about__media .gingham { display: none; }
}
/* cibles tactiles : minimum 44px sur ecrans tactiles */
@media (pointer: coarse) {
  .filter, .seg button { min-height: 44px; }
  .seg button { display: inline-flex; align-items: center; }
  .nav__links a { padding-block: .7rem; }
  .link-quiet { padding-block: .6rem; }
}
/* focus visible a fort contraste sur les surfaces sombres */
.lightbox :focus-visible, .atelier :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--paper-2); }

/* -------------------------------------------------- 20. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__title .ln > span { transform: none !important; }
  .ornament [data-draw] { stroke-dashoffset: 0 !important; }
  .atelier__bg img { transform: none !important; }
}
