/* ==========================================================================
   « Floraison » — design system
   Design system : organique & botanique précieux
   Mobile-first · CSS custom properties · aucune dépendance
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  color-scheme: light;

  /* Palette issue du logo historique + verts de la marque */
  --pearl: #fbf6f1;          /* nacre — fond principal */
  --cream: #f6eee4;
  --blush: #f5dcd8;
  --lilac: #d1b0d5;          /* pétale lilas du logo */
  --peony: #c83a86;          /* pétale magenta du logo (décoratif) */
  --peony-ink: #a8296c;      /* version texte : 6:1 sur nacre */
  --apricot: #ec6500;        /* pétale orange du logo (décoratif) */
  --saffron: #ffc710;        /* pétale jaune du logo (décoratif) */
  --chartreuse: #cdc900;     /* pétale vert-jaune du logo (décoratif) */
  --gold: #c9973f;
  --gold-soft: #e8c98a;
  --sage: #a3bfb9;           /* vert sauge de la marque */
  --moss: #3d625b;           /* vert mousse de la marque — 6.6:1 sur nacre */
  --moss-deep: #24403a;
  --ink: #1d2a25;            /* texte principal — 14:1 sur nacre */
  --ink-soft: #4b5a53;       /* texte secondaire — 6.7:1 sur nacre */
  --night: #121c18;
  --night-2: #1c2a25;
  --on-night: #f4ede4;       /* texte sur nuit — 15:1 */
  --on-night-soft: #c9c2b8;  /* 9.6:1 sur nuit */

  /* Température de couleur pilotée au scroll (main.js) */
  --bg: var(--pearl);
  --blob-1: #f6c9d6;
  --blob-2: #ffe1a8;
  --blob-3: #cfe3d8;
  --blob-4: #e4d2ef;

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.12vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.18rem, 1.08rem + 0.45vw, 1.42rem);
  --step-2: clamp(1.42rem, 1.22rem + 0.95vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.42rem + 1.9vw, 3rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);
  --step-5: clamp(2.9rem, 1.7rem + 6vw, 7.4rem);
  --step-mega: clamp(4.2rem, 0.8rem + 16vw, 17rem);

  /* Espacements */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.6rem + 2vw, 3rem);
  --space-xl: clamp(3rem, 2.2rem + 4vw, 5.5rem);
  --space-2xl: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1rem, 0.6rem + 2.4vw, 2.5rem);
  --container: 82rem;

  /* Formes & matières */
  --radius-s: 0.6rem;
  --radius-m: 1.1rem;
  --radius-l: 1.8rem;
  --arch: 999px 999px var(--radius-l) var(--radius-l);
  --glass: color-mix(in srgb, #fffaf5 62%, transparent);
  --glass-border: color-mix(in srgb, #ffffff 70%, transparent);
  --shadow-soft: 0 1px 1px rgb(40 30 30 / 0.04), 0 8px 24px -8px rgb(70 40 50 / 0.14), 0 30px 60px -30px rgb(70 40 50 / 0.18);
  --shadow-glow: 0 0 0 1px rgb(255 255 255 / 0.4) inset, 0 10px 40px -10px color-mix(in srgb, var(--peony) 55%, transparent);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 4.5rem;
}

/* ---------- 2. Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.6s linear;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 400; line-height: 1.05; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

/* ---------- 3. Accessibilité ------------------------------------------- */
.skip-link {
  position: fixed; left: var(--space-s); top: var(--space-s); z-index: 1000;
  padding: 0.85rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--on-night); font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }
:focus-visible {
  outline: 3px solid var(--peony-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-night :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: var(--saffron); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. Atmosphère : gradient mesh, grain, papier ---------------- */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos__blob {
  position: absolute; width: 60vmax; aspect-ratio: 1; border-radius: 50%;
  filter: blur(70px); opacity: 0.55; mix-blend-mode: multiply;
  transition: background-color 1.2s linear;
  will-change: transform;
}
.atmos__blob:nth-child(1) { background: var(--blob-1); top: -20vmax; left: -15vmax; animation: drift-1 46s var(--ease-in-out) infinite alternate; }
.atmos__blob:nth-child(2) { background: var(--blob-2); top: 10vmax; right: -25vmax; animation: drift-2 58s var(--ease-in-out) infinite alternate; }
.atmos__blob:nth-child(3) { background: var(--blob-3); bottom: -30vmax; left: 10vmax; animation: drift-3 52s var(--ease-in-out) infinite alternate; }
.atmos__blob:nth-child(4) { background: var(--blob-4); bottom: -10vmax; right: 5vmax; width: 45vmax; animation: drift-1 64s var(--ease-in-out) infinite alternate-reverse; }
@keyframes drift-1 { to { transform: translate3d(18vmax, 12vmax, 0) scale(1.15) rotate(25deg); } }
@keyframes drift-2 { to { transform: translate3d(-22vmax, 18vmax, 0) scale(0.9) rotate(-20deg); } }
@keyframes drift-3 { to { transform: translate3d(14vmax, -20vmax, 0) scale(1.2); } }

/* Texture papier (fibres) — chaleur visuelle */
.atmos::before {
  content: ""; position: absolute; inset: 0; opacity: 0.38; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.09' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
/* Grain de film cinématographique */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(-1%, 1%); }
}

/* ---------- 5. Typographie --------------------------------------------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -0.01em; }
.h-mega { font-size: var(--step-mega); line-height: 0.86; letter-spacing: -0.045em; font-weight: 300; }
.h-xl { font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.03em; font-weight: 300; }
.h-l { font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; font-weight: 350; }
.h-m { font-size: var(--step-3); line-height: 1.05; font-weight: 400; }
.h-s { font-size: var(--step-2); line-height: 1.15; font-weight: 450; }
.h-xs { font-size: var(--step-1); line-height: 1.25; font-weight: 500; }
em, .ital { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss);
}
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 38ch; }
.muted { color: var(--ink-soft); }
.chapter-num { font-family: var(--font-display); font-style: italic; color: var(--peony-ink); font-size: var(--step-1); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--peony-ink); }
.prose blockquote {
  border-left: 2px solid var(--peony); padding-left: var(--space-m);
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.3;
}

/* Kinetic typography (états initiaux posés par JS : .split-ready) */
.split-word { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: top; padding-bottom: 0.06em; }
.split-word > span { display: inline-block; will-change: transform; }
.split-ready .split-word > span { transform: translateY(110%) rotate(4deg); }
.reveal-words .rw { opacity: 0.16; transition: opacity 0.4s linear; }
.reveal-words .rw.is-lit { opacity: 1; }

/* ---------- 6. Layout --------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto; }
.section { padding-block: var(--space-2xl); position: relative; }
.section--tight { padding-block: var(--space-xl); }
.stack > * + * { margin-top: var(--space-m); }
.stack-s > * + * { margin-top: var(--space-s); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }
.grid-2 { display: grid; gap: var(--space-l); }
.section-head { display: grid; gap: var(--space-s); margin-bottom: var(--space-l); max-width: 50rem; }
.section-head--split { max-width: none; }
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--space-l); }
}

/* ---------- 7. Boutons -------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-night);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; min-width: 44px; padding: 0.8rem 1.5rem;
  border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--step--1); letter-spacing: 0.04em; text-decoration: none;
  transition: transform 0.4s var(--ease-out), background-color 0.3s, box-shadow 0.4s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--light { --btn-bg: var(--pearl); --btn-fg: var(--ink); }
.btn--peony { --btn-bg: var(--peony-ink); --btn-fg: #fff; }

/* Halo lumineux + bordure conique animée sur les CTA clés */
.btn--glow { --btn-bg: var(--moss-deep); box-shadow: var(--shadow-glow); }
.btn--glow::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--angle), var(--saffron), var(--peony), var(--lilac), var(--sage), var(--saffron));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-angle 6s linear infinite;
}
.btn--glow::after {
  content: ""; position: absolute; inset: -40% -12%; z-index: -2; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 45%, transparent), color-mix(in srgb, var(--peony) 25%, transparent) 55%, transparent);
  filter: blur(14px); opacity: 0.55; animation: halo 4.5s ease-in-out infinite;
}
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes halo { 50% { opacity: 0.9; transform: scale(1.08); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--moss);
}
.link-arrow::after { content: "→"; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(6px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 0; background: transparent; color: inherit; text-decoration: none;
  transition: background-color 0.3s;
}
.icon-btn:hover { background: rgb(255 255 255 / 0.12); }
.icon-btn svg { width: 1.35rem; height: 1.35rem; }

/* ---------- 8. En-tête -------------------------------------------------- */
.site-header {
  position: fixed; inset: var(--space-xs) var(--space-xs) auto; z-index: 500;
  transition: transform 0.6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 1.5rem)); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-s);
  min-height: var(--header-h); padding: 0.45rem 0.55rem 0.45rem 1.1rem;
  border-radius: 999px; color: var(--on-night);
  background: color-mix(in srgb, var(--moss-deep) 86%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 20px 50px -25px rgb(20 40 35 / 0.6);
  max-width: var(--container); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; min-height: 44px; }
.brand img { width: 6.4rem; height: auto; }
.brand__place {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gold-soft);
  padding-left: 0.7rem; border-left: 1px solid rgb(255 255 255 / 0.25); line-height: 1;
}
.nav__toggle {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 0.9rem;
  border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: inherit; font-weight: 600; font-size: var(--step--1);
}
.nav__toggle-lines { position: relative; width: 1.1rem; height: 0.7rem; }
.nav__toggle-lines::before, .nav__toggle-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__toggle-lines::before { top: 0; }
.nav__toggle-lines::after { top: calc(100% - 1.5px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { top: 45%; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::after { top: 45%; transform: rotate(-45deg); }
.nav__list {
  list-style: none; padding: 0;
  position: fixed; inset: calc(var(--header-h) + 1.6rem) var(--space-xs) auto; z-index: 400;
  display: grid; gap: 0.25rem; padding: var(--space-m);
  border-radius: var(--radius-l); background: color-mix(in srgb, var(--moss-deep) 95%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgb(10 25 20 / 0.5);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98); transform-origin: top center;
  transition: opacity 0.35s, transform 0.5s var(--ease-out), visibility 0s 0.5s;
}
.nav__list.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.nav__list a {
  display: flex; align-items: center; min-height: 3.2rem; padding: 0 0.9rem; border-radius: var(--radius-m);
  font-family: var(--font-display); font-size: var(--step-2); text-decoration: none;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { background: rgb(255 255 255 / 0.08); color: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: 0.35rem; }
.header-actions .btn--glow { display: none; }
@media (min-width: 30rem) { .header-actions .btn--glow { display: inline-flex; } }
@media (min-width: 64rem) {
  .nav__toggle { display: none; }
  .nav__list {
    position: static; display: flex; gap: 0.15rem; padding: 0; background: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__list a {
    min-height: 44px; padding: 0 0.85rem; border-radius: 999px;
    font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em;
  }
  .site-header { inset: var(--space-s) var(--gutter) auto; }
}

/* ---------- 9. Hero cinématique ---------------------------------------- */
.hero { position: relative; height: 420svh; }
.hero__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-areas: "stack"; grid-template-rows: 100%; grid-template-columns: 100%;
}
.hero__stage > * { grid-area: stack; min-height: 0; min-width: 0; }
.hero__fallback { position: relative; z-index: 0; display: grid; place-items: center; }
.hero__fallback picture {
  width: min(78vw, 34rem); aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  box-shadow: var(--shadow-soft); transform: translateY(4vh);
}
.hero__fallback img { width: 100%; height: 100%; object-fit: cover; }
.has-webgl .hero__fallback picture { opacity: 0; transition: opacity 1.2s; }
.no-webgl .hero__fallback picture, .webgl-failed .hero__fallback picture { opacity: 1; }
.hero__canvas { position: relative; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease-out); touch-action: pan-y; }
.hero__canvas.is-ready { opacity: 1; }
.hero__sprig {
  position: relative; z-index: 1; align-self: center; justify-self: center; width: min(46vw, 22rem);
  color: var(--moss); opacity: 0.8; transition: opacity 1.4s;
}
.hero__sprig path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s var(--ease-out) 0.2s forwards; }
.hero__sprig path:nth-child(2) { animation-delay: 0.7s; }
.hero__sprig path:nth-child(3) { animation-delay: 1.1s; }
.hero__sprig path:nth-child(4) { animation-delay: 1.5s; }
.scene-ready .hero__sprig, .no-webgl .hero__sprig { opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__intro {
  position: relative; z-index: 2; align-self: end; pointer-events: none;
  padding: 0 var(--gutter) calc(var(--space-l) + env(safe-area-inset-bottom));
  display: grid; gap: var(--space-s); max-width: 46rem;
}
.hero__intro a, .hero__intro button { pointer-events: auto; }
.hero__intro::before {
  content: ""; position: absolute; z-index: -1; inset: -35% -8% 0 -10vw; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pearl) 82%, transparent) 42%, color-mix(in srgb, var(--pearl) 92%, transparent));
}
.hero__title > span, .hero__intro > .lede, .hero__cta { animation: hero-in 1.4s var(--ease-out) both; }
.hero__line { animation-delay: 0.12s !important; }
.hero__intro > .lede { animation-delay: 0.3s; }
.hero__cta { animation-delay: 0.45s; }
@keyframes hero-in { from { opacity: 0.01; transform: translateY(0.5em); filter: blur(6px); } }
.hero__title { display: grid; gap: 0.6rem; }
.hero__kicker {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--moss);
}
.hero__line { font-size: var(--step-4); font-weight: 300; line-height: 1; letter-spacing: -0.025em; color: var(--ink); }
.hero__line em { color: var(--peony-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-2xs); }
.hero__scrollhint {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 500;
}
.hero__scrollhint span { width: 1px; height: 2.4rem; background: linear-gradient(var(--ink-soft), transparent); animation: hint 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__beats { position: relative; z-index: 2; align-self: center; justify-self: end; margin-right: var(--gutter); list-style: none; padding: 0; width: min(19rem, 70vw); pointer-events: none; }
.hero__beat {
  position: absolute; right: 0; top: 50%; translate: 0 -50%;
  padding: var(--space-m); border-radius: var(--radius-l);
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.9s var(--ease-out);
}
.hero__beat.is-active { opacity: 1; transform: none; }
.hero__beat .chapter-num { display: block; margin-bottom: 0.3rem; }
.hero__beat p { font-size: var(--step--1); color: var(--ink-soft); }
.hero__beat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); color: var(--ink); line-height: 1.1; margin-bottom: 0.4rem; }

.hero__halo {
  position: relative; z-index: 3; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgb(255 255 255 / 0.95), transparent 70%),
    conic-gradient(from 200deg at 50% 50%, #fde8ef, #f2e6fb, #e3f3ee, #fff5dd, #fde8ef);
  filter: saturate(115%);
}
.hero__monument {
  position: relative; z-index: 4; align-self: center; justify-self: center; text-align: center;
  font-family: var(--font-display); color: var(--ink); pointer-events: none; opacity: 0;
}
.hero__monument .h-mega { display: block; }
.hero__monument em { color: var(--peony-ink); font-weight: 300; }
.hero__monument small { display: block; margin-top: var(--space-s); font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.3em; text-transform: uppercase; color: var(--moss); }
.hero__progress {
  position: absolute; z-index: 5; left: var(--gutter); top: 50%; translate: 0 -50%;
  width: 2px; height: 22vh; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 2px; overflow: hidden;
}
.hero__progress span { display: block; width: 100%; height: 100%; background: var(--peony); transform-origin: top; transform: scaleY(var(--p, 0)); }
.hero__3dtoggle { pointer-events: auto; }
@media (max-width: 47.99rem) {
  .hero__beats { justify-self: center; align-self: start; margin: calc(var(--header-h) + 2rem) 0 0; }
  .hero__beat { top: 0; translate: 0 0; }
  .hero__progress { display: none; }
  .hero { height: 330svh; }
}

/* ---------- 10. Manifeste ---------------------------------------------- */
.manifesto { padding-block: var(--space-2xl); }
.manifesto__text { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.18; font-weight: 300; letter-spacing: -0.015em; max-width: 24ch; }
@media (min-width: 64rem) { .manifesto__text { max-width: 28ch; } }
.manifesto__text em { color: var(--peony-ink); }
.manifesto__sign { display: flex; align-items: center; gap: var(--space-s); margin-top: var(--space-l); }
.signature {
  font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: var(--step-3);
  color: var(--moss); line-height: 1; clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-out);
}
.signature.is-drawn, .no-js .signature { clip-path: inset(0 0 0 0); }
.signature[data-replace]::after { content: ""; }

/* ---------- 11. Collection : rail horizontal --------------------------- */
.rail { position: relative; }
.rail__viewport {
  display: flex; gap: var(--space-m); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: var(--space-s) var(--gutter) var(--space-l); scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.rail__viewport > * { scroll-snap-align: start; }
.rail__controls { display: flex; gap: 0.5rem; }
.rail__controls button {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  background: var(--glass); display: grid; place-items: center; color: var(--ink);
}
.rail__controls button:hover { background: var(--ink); color: var(--pearl); }
.rail--pinned { height: var(--rail-h, auto); }
.rail--pinned .rail__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.rail--pinned .rail__viewport { overflow: visible; scroll-snap-type: none; will-change: transform; }
.rail--pinned .rail__controls { display: none; }

.product {
  position: relative; flex: 0 0 min(78vw, 21rem);
  display: grid; gap: var(--space-s); align-content: start;
}
.product__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  background: linear-gradient(160deg, #fff, var(--blush));
  box-shadow: var(--shadow-soft);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.product:hover .product__media img { transform: scale(1.1); }
.product__badge {
  position: absolute; left: 50%; top: 1.1rem; translate: -50% 0;
  padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.product__body { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: baseline; padding-inline: 0.3rem; }
.product__name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.product__name a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.product__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-l); }
.product__price { font-weight: 700; color: var(--moss); font-variant-numeric: tabular-nums; }
.product__meta { grid-column: 1 / -1; font-size: var(--step--1); color: var(--ink-soft); }
.product__actions { position: relative; z-index: 2; display: flex; gap: 0.5rem; flex-wrap: wrap; padding-inline: 0.3rem; }
.product__actions .btn { min-height: 2.75rem; }

/* ---------- 12. Interlude macro ---------------------------------------- */
.macro { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: clip; padding-block: var(--space-xl); }
.macro__frame {
  width: min(88vw, 44rem); aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; position: relative;
  clip-path: inset(18% 18% 18% 18% round 999px 999px 40px 40px);
  box-shadow: var(--shadow-soft);
}
.macro__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transform-origin: 50% 35%; }
.macro__caption {
  position: absolute; left: var(--gutter); bottom: var(--space-l); max-width: 22rem;
  padding: var(--space-m); border-radius: var(--radius-l); background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.macro__word {
  position: absolute; inset: auto 0 50% 0; translate: 0 50%; z-index: -1; text-align: center;
  font-family: var(--font-display); font-size: var(--step-mega); font-weight: 300; font-style: italic;
  color: color-mix(in srgb, var(--peony) 22%, transparent); white-space: nowrap; letter-spacing: -0.05em;
}

/* ---------- 13. Atelier 3D (inspection) -------------------------------- */
.atelier { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 64rem) { .atelier { grid-template-columns: 1fr 1.25fr; } }
.viewer {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-l); overflow: hidden;
  background: radial-gradient(70% 60% at 50% 40%, #fff, #f3e7ec 60%, #e7ddeb);
  box-shadow: var(--shadow-soft); isolation: isolate;
}
.viewer canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer__poster { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; }
.viewer__poster img { width: 70%; border-radius: var(--arch); opacity: 0.9; }
.viewer__hud {
  position: absolute; left: 50%; bottom: var(--space-s); translate: -50% 0; z-index: 2;
  display: flex; gap: 0.35rem; padding: 0.35rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.viewer__hud button {
  min-width: 44px; height: 44px; padding: 0 0.7rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink);
  font-size: var(--step--1); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem;
}
.viewer__hud button:hover { background: rgb(255 255 255 / 0.7); }
.viewer__hud svg { width: 1.2rem; height: 1.2rem; }
.viewer__status { position: absolute; top: var(--space-s); left: var(--space-s); z-index: 2; font-size: var(--step--1); color: var(--ink-soft); padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--glass); }
.palette-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.palette-picker button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--glass); font-weight: 600; font-size: var(--step--1);
}
.palette-picker button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--pearl); }
.palette-picker .dots { display: inline-flex; }
.palette-picker .dots i { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid #fff; margin-left: -0.35rem; }
.palette-picker .dots i:first-child { margin-left: 0; }

.dialog-3d { width: min(96vw, 60rem); max-height: 94svh; padding: 0; border: 0; border-radius: var(--radius-l); background: var(--pearl); color: var(--ink); box-shadow: 0 40px 120px -20px rgb(20 10 20 / 0.5); }
.dialog-3d::backdrop { background: rgb(29 42 37 / 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialog-3d__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: var(--space-s) var(--space-s) var(--space-s) var(--space-m); }
.dialog-3d .viewer { border-radius: 0; aspect-ratio: auto; height: min(70svh, 40rem); }
.dialog-3d__foot { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: space-between; align-items: center; padding: var(--space-s) var(--space-m); }
.ar-note { font-size: var(--step--1); color: var(--ink-soft); max-width: 40ch; }

/* ---------- 14. Promesses & icônes animées ----------------------------- */
.promises { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.promise {
  padding: var(--space-m); border-radius: var(--radius-l); background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: var(--space-xs); align-content: start;
}
.promise h3 { font-size: var(--step-1); font-weight: 500; }
.promise p { font-size: var(--step--1); color: var(--ink-soft); }
.draw-icon { width: 3.2rem; height: 3.2rem; color: var(--moss); }
.draw-icon * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.draw-icon .accent { stroke: var(--peony); }
.js .draw-icon [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out); }
.js .is-inview .draw-icon [pathLength] { stroke-dashoffset: 0; }

/* ---------- 15. Occasions ---------------------------------------------- */
.occasions { display: grid; gap: var(--space-m); }
@media (min-width: 48rem) { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .occasions { grid-template-columns: repeat(4, 1fr); } }
.occasion {
  position: relative; min-height: 26rem; border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-m); color: #fff; text-decoration: none;
}
.occasion img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.occasion::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(18 28 24 / 0.05) 15%, rgb(18 28 24 / 0.62) 50%, rgb(18 28 24 / 0.9) 100%); }
.occasion:hover img { transform: scale(1.07); }
.occasion h3 { font-size: var(--step-3); font-weight: 300; }
.occasion p { font-size: var(--step--1); color: rgb(255 255 255 / 0.92); max-width: 30ch; margin-top: 0.4rem; }
.occasion .link-arrow { color: var(--gold-soft); margin-top: 0.4rem; }

/* ---------- 16. Maison : photos de famille & citation ------------------ */
.family { display: grid; gap: var(--space-m); grid-template-columns: repeat(6, 1fr); align-items: end; }
.family figure { position: relative; margin: 0; }
.family figure:nth-child(1) { grid-column: 1 / -1; }
.family figure:nth-child(2) { grid-column: 1 / 4; }
.family figure:nth-child(3) { grid-column: 4 / 7; margin-bottom: 18%; }
.frame--wide { aspect-ratio: 2.2 / 1; border-radius: var(--radius-l); }
.frame {
  border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); box-shadow: var(--shadow-soft);
  outline: 8px solid #fffdf9; outline-offset: -1px;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--placeholder {
  display: grid; place-items: center; text-align: center; padding: var(--space-m);
  background: repeating-linear-gradient(135deg, var(--cream) 0 14px, #f1e6d8 14px 15px);
  color: var(--ink-soft); font-size: var(--step--1);
}
.frame--placeholder strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); color: var(--ink); }
figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--ink-soft); font-style: italic; }
.quote { font-family: var(--font-display); font-size: var(--step-3); font-weight: 300; line-height: 1.15; }
.quote::before { content: "“"; display: block; font-size: 2.2em; line-height: 0.6; color: var(--peony); }

.timeline { list-style: none; padding: 0; display: grid; gap: var(--space-m); counter-reset: none; }
.timeline li { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-s); padding-top: var(--space-s); border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.timeline b { font-family: var(--font-display); font-weight: 300; font-size: var(--step-3); color: var(--peony-ink); line-height: 1; }

/* ---------- 17. Boutique ------------------------------------------------ */
.store { display: grid; gap: var(--space-l); }
@media (min-width: 64rem) { .store { grid-template-columns: 1fr 1fr; } }
.store__card {
  padding: var(--space-l); border-radius: var(--radius-l); background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-soft);
}
.status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-weight: 700; font-size: var(--step--1); background: #e9f2ee; color: #1f5a46; }
.status::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.status.is-closed { background: #f7e7ea; color: #8f2346; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--peony-ink); font-weight: 700; }
.map-facade {
  position: relative; min-height: 22rem; border-radius: var(--radius-l); overflow: hidden; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 52% 48%, var(--peony) 0 7px, transparent 8px),
    radial-gradient(circle at 52% 48%, color-mix(in srgb, var(--peony) 25%, transparent) 0 26px, transparent 27px),
    repeating-linear-gradient(28deg, transparent 0 46px, rgb(61 98 91 / 0.12) 46px 48px),
    repeating-linear-gradient(-62deg, transparent 0 70px, rgb(61 98 91 / 0.1) 70px 73px),
    linear-gradient(160deg, #eef3ee, #f6efe6);
  box-shadow: var(--shadow-soft);
}
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade__inner { display: grid; gap: var(--space-xs); justify-items: center; padding: var(--space-m); margin-top: 6rem; }

/* ---------- 18. Journal ------------------------------------------------- */
.posts { display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post { position: relative; display: grid; gap: var(--space-xs); align-content: start; }
.post__media { aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; background: var(--cream); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.06); }
.post__cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--peony-ink); }
.post h3 { font-size: var(--step-2); }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { font-size: var(--step--1); color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); background: var(--glass); text-decoration: none; font-weight: 600; font-size: var(--step--1);
}
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: var(--pearl); border-color: var(--ink); }

/* ---------- 19. FAQ ----------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); min-height: 4rem; padding-block: var(--space-s);
  cursor: pointer; list-style: none; font-family: var(--font-display); font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; transition: transform 0.4s var(--ease-out); color: var(--peony-ink); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding-bottom: var(--space-m); color: var(--ink-soft); max-width: 65ch; }

/* ---------- 20. Formulaires -------------------------------------------- */
.form { display: grid; gap: var(--space-s); }
.form > *, .form-row > * { min-width: 0; }
.form > .btn { justify-self: start; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--step--1); }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; max-width: 100%; min-width: 0; min-height: 3.1rem; padding: 0.75rem 1rem; border-radius: var(--radius-m);
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: rgb(255 255 255 / 0.75);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 8rem; resize: vertical; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 30%, transparent); }
.input[aria-invalid="true"] { border-color: #a3123a; }
.field-error { color: #a3123a; font-size: 0.85rem; font-weight: 600; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step--1); min-height: 44px; }
.check input { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; flex: none; accent-color: var(--moss); cursor: pointer; }
.check label { cursor: pointer; padding-block: 0.1rem; }
.form-row { display: grid; gap: var(--space-s); }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-status { min-height: 1.5em; font-weight: 600; color: var(--moss); }
fieldset { border: 0; padding: 0; }

/* ---------- 21. Nuit : newsletter & pied de page ----------------------- */
.on-night { background: var(--night); color: var(--on-night); }
.on-night .muted, .on-night .lede { color: var(--on-night-soft); }
.on-night .eyebrow { color: var(--gold-soft); }
.on-night .input { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.3); color: var(--on-night); }
.on-night .input::placeholder { color: rgb(244 237 228 / 0.6); }
.on-night .check input { accent-color: var(--saffron); }
.night-sky {
  position: relative; overflow: hidden; border-radius: var(--radius-l) var(--radius-l) 0 0; margin-top: var(--space-xl);
  background:
    radial-gradient(120% 80% at 80% -10%, rgb(200 58 134 / 0.28), transparent 55%),
    radial-gradient(90% 70% at 10% 0%, rgb(255 199 16 / 0.12), transparent 60%),
    var(--night);
}
.night-sky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff8, transparent), radial-gradient(1px 1px at 72% 12%, #fff9, transparent),
    radial-gradient(1.5px 1.5px at 42% 32%, #ffe8a6, transparent), radial-gradient(1px 1px at 88% 44%, #fff7, transparent),
    radial-gradient(1px 1px at 22% 62%, #fff6, transparent), radial-gradient(1.5px 1.5px at 62% 70%, #f6c9d6, transparent);
}
.newsletter { display: grid; gap: var(--space-l); padding-block: var(--space-xl); }
@media (min-width: 64rem) { .newsletter { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.newsletter__form { display: grid; gap: var(--space-s); }
.newsletter__inline { display: grid; gap: var(--space-xs); }
@media (min-width: 30rem) { .newsletter__inline { grid-template-columns: 1fr auto; } }

.site-footer { padding-block: var(--space-xl) var(--space-l); border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-grid { display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: var(--space-xs); }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.1rem; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--on-night-soft); }
.footer-grid a:hover { color: var(--on-night); text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--on-night-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid rgb(255 255 255 / 0.1); font-size: var(--step--1); color: var(--on-night-soft); }
.footer-bottom button { background: none; border: 0; color: inherit; text-decoration: underline; min-height: 44px; padding: 0; }
.footer-mega { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 14vw, 13rem); line-height: 0.85; letter-spacing: -0.05em; color: rgb(244 237 228 / 0.08); white-space: nowrap; margin-top: var(--space-l); user-select: none; }
.socials { display: flex; gap: 0.3rem; }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.2); }
.socials svg { width: 1.1rem; height: 1.1rem; }

/* ---------- 22. Bandeau cookies (RGPD) --------------------------------- */
.consent {
  position: fixed; z-index: 950; left: var(--space-xs); right: var(--space-xs); bottom: var(--space-xs);
  max-width: 30rem; padding: var(--space-m); border-radius: var(--radius-l);
  background: color-mix(in srgb, #fffaf5 88%, transparent); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgb(40 20 30 / 0.35);
  transform: translateY(130%); transition: transform 0.8s var(--ease-out);
}
.consent.is-visible { transform: none; }
.consent h2 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.consent p { font-size: var(--step--1); color: var(--ink-soft); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: var(--space-s); }
.consent__actions .btn { width: 100%; }
.consent__actions .btn:last-child { grid-column: 1 / -1; }
.consent__prefs { display: grid; gap: 0.4rem; margin-top: var(--space-s); }
.consent__prefs label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; font-size: var(--step--1); font-weight: 600; }
.consent__prefs input { width: 2.6rem; height: 1.4rem; accent-color: var(--moss); }
@media (min-width: 48rem) { .consent { left: var(--space-m); bottom: var(--space-m); } }

/* ---------- 23. Ambiance sonore ---------------------------------------- */
.sound {
  position: fixed; z-index: 600; right: var(--space-s); bottom: var(--space-s);
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1rem 0 0.8rem;
  border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: var(--step--1); font-weight: 600;
  box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(12px); transition: opacity 0.6s, transform 0.6s var(--ease-out);
}
.sound.is-visible { opacity: 1; transform: none; }
.sound__bars { display: inline-flex; align-items: end; gap: 2px; height: 14px; }
.sound__bars i { width: 2px; height: 30%; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .sound__bars i { animation: bars 1.1s ease-in-out infinite; }
.sound__bars i:nth-child(2) { animation-delay: -0.3s !important; }
.sound__bars i:nth-child(3) { animation-delay: -0.6s !important; }
.sound__bars i:nth-child(4) { animation-delay: -0.9s !important; }
@keyframes bars { 50% { height: 100%; } }

/* ---------- 24. Pages intérieures -------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + var(--space-2xl)); padding-bottom: var(--space-xl); }
.page-hero .h-xl em { color: var(--peony-ink); }
.breadcrumb { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: var(--space-m); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.article-layout { display: grid; gap: var(--space-l); }
@media (min-width: 64rem) { .article-layout { grid-template-columns: 1fr 16rem; } }
.answer-box {
  padding: var(--space-m); border-radius: var(--radius-l); background: color-mix(in srgb, var(--sage) 22%, #fff);
  border: 1px solid color-mix(in srgb, var(--moss) 25%, transparent);
}
.answer-box strong { color: var(--moss-deep); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-l); }
.product-grid { display: grid; gap: var(--space-l) var(--space-m); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.product-grid .product { flex: initial; }
.product-grid .product__name { font-size: var(--step-1); }
.split-panel { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 64rem) { .split-panel { grid-template-columns: 1fr 1fr; } .split-panel--rev > :first-child { order: 2; } }
.arch-img { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 25. Révélations au scroll ---------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); }
.js [data-reveal].is-inview { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="scale"].is-inview { transform: none; }

/* ---------- 26. Mouvement réduit --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .atmos__blob { animation: none; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 100svh; }
  .hero__canvas { display: none; }
  .hero__fallback picture { opacity: 1 !important; }
  .hero__beats, .hero__halo, .hero__progress, .hero__sprig { display: none; }
  .hero__monument { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-ready .split-word > span { transform: none; }
  .reveal-words .rw { opacity: 1; }
  .signature { clip-path: none; }
  .macro__frame { clip-path: none; }
  .macro__frame img { transform: none; }
  .js .draw-icon [pathLength] { stroke-dashoffset: 0; }
}
/* L'utilisateur peut forcer la 3D malgré prefers-reduced-motion */
.force-3d .hero__canvas { display: block; }

/* ---------- 27. Desktop ------------------------------------------------- */
@media (min-width: 48rem) {
  .hero__intro { padding-left: calc(var(--gutter) + 2.5rem); }
  .product { flex-basis: 22rem; }
}
@media (min-width: 64rem) {
  .hero__line { font-size: var(--step-5); }
  .hero__intro { max-width: 58rem; }
}

/* ---------- 28. Impression ---------------------------------------------- */
@media print {
  .atmos, .grain, .site-header, .consent, .sound, .hero__canvas, .hero__beats, .hero__halo { display: none !important; }
  .hero { height: auto; }
  .hero__stage { position: static; height: auto; }
  body { background: #fff; }
}
