/* ═══════════════════════════════════════════════════════════════
   LES FOLIES DE NATH — design system v2
   « L'Atelier des idées » — crème, violet, mauve, corail
   ═══════════════════════════════════════════════════════════════ */

:root {
  --violet: #5B3F7A;
  --violet-deep: #41295c;
  --violet-ink: #2A2138;
  --mauve: #9D7BC0;
  --mauve-light: #C9B3DF;
  --lavande: #F3EDF9;
  --lavande-line: #E6DAF2;
  --creme: #faf7f2;
  --corail: #E8705F;
  --corail-dark: #d65a49;
  --corail-soft: #FBE3DE;
  --blanc: #ffffff;
  --encre-soft: #6f5f85;
  --ok: #4a9d6e;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  --font-script: 'Pinyon Script', cursive;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 6px 30px rgba(91, 63, 122, 0.10);
  --shadow-lift: 0 16px 50px rgba(91, 63, 122, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ─── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--violet-ink);
  background: var(--creme);
  overflow-x: hidden;
  animation: pageIn 0.5s var(--ease-out);
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* grain photographique subtil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--mauve-light); color: var(--violet-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 10000;
  background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ─── Titres de section ────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--corail);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--corail); border-radius: 2px; }
.script-accent { font-family: var(--font-script); font-weight: 400; color: var(--mauve); font-size: 1.18em; letter-spacing: 0; }

/* souligné « tracé à la main » */
.hand-underline { position: relative; white-space: nowrap; }
.hand-underline::after {
  content: '';
  position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 25 3, 60 2, 80 5 S 112 10, 118 6' fill='none' stroke='%23E8705F' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

/* ─── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--corail); color: #fff; box-shadow: 0 8px 24px rgba(232, 112, 95, 0.38); }
.btn-primary:hover { background: var(--corail-dark); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(232, 112, 95, 0.45); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 8px 24px rgba(91, 63, 122, 0.30); }
.btn-violet:hover { background: var(--violet-deep); transform: translateY(-3px); }
.btn-ghost { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-ghost:hover { background: var(--violet); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--violet); box-shadow: var(--shadow-soft); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

/* ─── Barre d'annonce ──────────────────────────────────────── */
.announce {
  background: var(--violet-deep); color: var(--mauve-light);
  font-size: 0.84rem; letter-spacing: 0.06em; text-align: center;
  padding: 9px 16px; font-weight: 600;
}
.announce strong { color: #fff; }

/* ─── Header ───────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled { border-bottom-color: var(--lavande-line); box-shadow: 0 4px 24px rgba(91, 63, 122, 0.07); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }

/* couronne aquarelle — badge rond qui « respire » */
.logo-wreath {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  mix-blend-mode: multiply;
  animation: wreathIn 0.8s var(--ease-out) backwards;
  transition: transform 0.7s var(--ease-out);
}
.logo:hover .logo-wreath { transform: rotate(16deg) scale(1.08); }
@keyframes wreathIn { from { opacity: 0; transform: scale(0.4) rotate(-40deg); } }

/* le nom s'écrit à la plume au chargement */
.logo-write { position: relative; display: inline-block; margin-right: 26px; }
.logo-script {
  font-family: var(--font-script); font-size: 2rem; color: var(--violet);
  white-space: nowrap; display: inline-block;
  clip-path: inset(-25% 100% -25% -2%);
  animation: writeIn 1.15s cubic-bezier(0.45, 0, 0.3, 1) 0.35s forwards;
}
@keyframes writeIn { to { clip-path: inset(-25% -8% -25% -2%); } }
.logo-plume {
  position: absolute; left: 100%; top: -12px;
  width: 26px; height: 26px; color: var(--violet-ink); pointer-events: none;
  animation:
    plumeWrite 1.15s cubic-bezier(0.45, 0, 0.3, 1) 0.35s backwards,
    plumeFloat 3.6s ease-in-out 1.6s infinite;
}
@keyframes plumeWrite {
  from { left: 0; transform: rotate(38deg) translateY(6px); }
  50%  { transform: rotate(14deg) translateY(-2px); }
  to   { left: 100%; transform: rotate(24deg) translateY(0); }
}
@keyframes plumeFloat {
  0%, 100% { transform: rotate(24deg) translateY(0); }
  50% { transform: rotate(16deg) translateY(-4px); }
}

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  font-weight: 600; font-size: 0.98rem; color: var(--violet-ink);
  padding: 9px 15px; border-radius: 100px; position: relative;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.nav a:hover { background: var(--lavande); }
.nav a.active { color: var(--corail); }
.nav a.nav-cta { background: var(--violet); color: #fff; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--corail); }

.header-icons { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: transparent; color: var(--violet-ink);
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.icon-btn:hover { background: var(--lavande); transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-badge {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 100px; background: var(--corail); color: #fff;
  font-size: 0.68rem; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform 0.3s var(--ease-out);
}
.icon-badge.on { transform: scale(1); }
.icon-badge.pulse { animation: badgePulse 0.5s var(--ease-out); }
@keyframes badgePulse { 50% { transform: scale(1.45); } }

.burger { display: none; }

/* menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--violet-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff;
  padding: 10px 26px; border-radius: 100px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), background 0.25s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-menu .mm-script { font-family: var(--font-script); font-size: 1.6rem; color: var(--mauve-light); margin-bottom: 18px; }
.mobile-menu-close {
  position: absolute; top: 18px; right: 18px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: none; color: #fff; font-size: 1.4rem;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 90px); }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none;
}
.hero-blob.b1 { width: 480px; height: 480px; background: var(--mauve-light); top: -160px; right: -120px; }
.hero-blob.b2 { width: 380px; height: 380px; background: var(--corail-soft); bottom: -140px; left: -100px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 70px); align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--lavande-line); border-radius: 100px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 700; color: var(--violet);
  box-shadow: var(--shadow-soft); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 50% { opacity: 0.4; } }

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: lineUp 0.9s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: none; } }

.hero-sub { font-size: 1.14rem; color: var(--encre-soft); max-width: 50ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: clamp(22px, 4vw, 48px); }
.hero-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--violet); }
.hero-stat .l { font-size: 0.85rem; color: var(--encre-soft); }

/* collage de photos flottantes */
.hero-collage { position: relative; aspect-ratio: 0.95; }
.hero-wreath {
  position: absolute; inset: -7%; width: 114%; height: auto;
  opacity: 0.14; mix-blend-mode: multiply; pointer-events: none;
  animation: spinSlow 90s linear infinite;
}
@keyframes spinSlow { to { rotate: 360deg; } }
.hero-photo {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lift); background: var(--lavande);
  border: 6px solid #fff;
  opacity: 0; animation: photoIn 1s var(--ease-out) forwards;
  will-change: transform;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.p1 { width: 62%; aspect-ratio: 0.85; top: 4%; left: 2%; rotate: -4deg; z-index: 2; animation-delay: 0.15s; }
.hero-photo.p2 { width: 46%; aspect-ratio: 0.9; top: 0; right: 0; rotate: 5deg; z-index: 1; animation-delay: 0.32s; }
.hero-photo.p3 { width: 48%; aspect-ratio: 1.05; bottom: 2%; right: 8%; rotate: -2deg; z-index: 3; animation-delay: 0.5s; }
@keyframes photoIn { from { opacity: 0; transform: translateY(36px) scale(0.94); } to { opacity: 1; transform: none; } }

.hero-sticker {
  position: absolute; z-index: 4; left: 50%; bottom: 16%;
  background: var(--corail); color: #fff; font-family: var(--font-script);
  font-size: 1.5rem; padding: 10px 24px; border-radius: 100px; rotate: -6deg;
  box-shadow: 0 10px 30px rgba(232, 112, 95, 0.4);
  opacity: 0; animation: photoIn 0.8s var(--ease-out) 0.7s forwards;
}

/* ─── Marquee ──────────────────────────────────────────────── */
.marquee {
  background: var(--violet); color: var(--mauve-light);
  overflow: hidden; padding: 16px 0; white-space: nowrap;
  transform: rotate(-1.2deg) scale(1.02); margin: 10px 0;
}
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; padding-right: 48px; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 48px; }
.marquee .star { color: var(--corail); font-size: 1.2em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Reveal au scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ─── Cartes univers ───────────────────────────────────────── */
.universe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.universe-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 0.78; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.universe-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.universe-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.universe-card:hover img { transform: scale(1.07); }
.universe-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42, 33, 56, 0.86) 0%, rgba(42, 33, 56, 0.25) 45%, transparent 70%);
}
.universe-body { position: relative; z-index: 2; padding: 22px; color: #fff; width: 100%; }
.universe-body h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.universe-body p { font-size: 0.86rem; color: var(--mauve-light); margin: 0 0 10px; }
.universe-link { font-weight: 700; font-size: 0.9rem; color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.universe-link .arrow { transition: transform 0.3s var(--ease-out); }
.universe-card:hover .universe-link .arrow { transform: translateX(5px); }

/* ─── Cartes produit ───────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); position: relative;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.product-thumb { position: relative; aspect-ratio: 0.92; overflow: hidden; background: var(--lavande); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--corail); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.product-badge.devis { background: var(--violet); }
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.92); color: var(--violet);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease-out), background 0.25s;
}
.wish-btn:hover { transform: scale(1.12); }
.wish-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; transition: fill 0.25s, stroke 0.25s; }
.wish-btn.on svg { fill: var(--corail); stroke: var(--corail); }
.wish-btn.pop svg { animation: heartPop 0.45s var(--ease-out); }
@keyframes heartPop { 40% { transform: scale(1.5); } }

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve); }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--violet-ink); }
.product-name a { color: inherit; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--violet); }
.product-price .from { font-size: 0.72rem; font-weight: 600; color: var(--encre-soft); display: block; line-height: 1; }
.product-cta {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--lavande); color: var(--violet); display: grid; place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.product-cta:hover { background: var(--corail); color: #fff; transform: scale(1.1) rotate(-8deg); }
.product-cta svg { width: 19px; height: 19px; }

/* ─── Bande personnalisation (CTA configurateur) ───────────── */
.custom-banner {
  position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: linear-gradient(120deg, var(--violet-deep), var(--violet) 55%, var(--mauve));
  color: #fff; padding: clamp(40px, 6vw, 80px); text-align: center;
}
.custom-banner h2 { color: #fff; }
.custom-banner .script-accent { color: var(--corail-soft); }
.custom-banner p { color: var(--mauve-light); max-width: 56ch; margin: 0 auto 28px; }
.custom-banner::before, .custom-banner::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45;
}
.custom-banner::before { width: 320px; height: 320px; background: var(--corail); top: -120px; left: -80px; }
.custom-banner::after { width: 280px; height: 280px; background: var(--mauve-light); bottom: -110px; right: -60px; }
.custom-banner > * { position: relative; z-index: 1; }

/* ─── Atelier / histoire ───────────────────────────────────── */
.atelier-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.atelier-photo { position: relative; }
.atelier-photo img {
  border-radius: var(--radius); aspect-ratio: 0.85; width: 100%; object-fit: cover;
  border: 8px solid #fff; box-shadow: var(--shadow-lift); rotate: -2deg;
}
.atelier-photo .tape {
  position: absolute; top: -14px; left: 50%; translate: -50% 0; rotate: -3deg;
  width: 120px; height: 32px; background: rgba(232, 112, 95, 0.75); border-radius: 4px;
}
.atelier-quote {
  font-family: var(--font-script); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--mauve);
  margin: 18px 0 0; rotate: -2deg; text-align: center;
}
.atelier-text p { color: var(--encre-soft); }
.atelier-text .lead { font-size: 1.16rem; color: var(--violet-ink); font-weight: 600; }

/* ─── Réassurance ──────────────────────────────────────────── */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-soft); text-align: center;
  transition: transform 0.4s var(--ease-out);
}
.usp:hover { transform: translateY(-6px); }
.usp-icon {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--lavande); color: var(--violet);
  display: grid; place-items: center;
}
.usp-icon svg { width: 26px; height: 26px; }
.usp h3 { font-size: 1.05rem; margin-bottom: 4px; }
.usp p { font-size: 0.88rem; color: var(--encre-soft); margin: 0; }

/* ─── Avis ─────────────────────────────────────────────────── */
.reviews-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 80vw); gap: 20px; overflow-x: auto; padding: 6px 6px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--mauve-light) transparent; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-soft); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
}
.review-stars { color: var(--corail); letter-spacing: 3px; font-size: 1rem; }
.review-text { font-size: 0.96rem; color: var(--violet-ink); font-style: italic; flex: 1; }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--violet); }
.review-author .for { display: block; font-weight: 500; font-size: 0.78rem; color: var(--encre-soft); }

/* ─── Footer ───────────────────────────────────────────────── */
.footer { background: var(--violet-deep); color: var(--mauve-light); margin-top: 40px; }
.footer-stamp {
  width: 88px; height: 88px; border-radius: 50%;
  background: #fff; padding: 5px; rotate: -5deg;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  transition: rotate 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.footer-stamp img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.footer-stamp:hover { rotate: 6deg; transform: scale(1.06); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: clamp(48px, 6vw, 72px) 0 36px; }
.footer .logo-script { color: #fff; font-size: 2.2rem; }
.footer p { font-size: 0.92rem; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--mauve-light); transition: color 0.2s; font-size: 0.95rem; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.82rem; color: #8d77a8;
}
.footer-heart { color: var(--corail); }

/* ─── Drawer panier ────────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 980; background: rgba(42, 33, 56, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 990;
  width: min(440px, 100vw); background: var(--creme);
  transform: translateX(105%); transition: transform 0.45s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(42, 33, 56, 0.25);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--lavande-line);
}
.drawer-head h3 { margin: 0; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--lavande); color: var(--violet); font-size: 1.1rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: grid; gap: 16px; align-content: start; }
.drawer-empty { text-align: center; color: var(--encre-soft); padding: 50px 20px; }
.drawer-empty .big { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; background: #fff; border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow-soft); }
.cart-line img { width: 74px; height: 74px; object-fit: cover; border-radius: 9px; background: var(--lavande); }
.cart-line .t { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.cart-line .m { font-size: 0.8rem; color: var(--encre-soft); }
.cart-line .m .perso { color: var(--corail); font-weight: 600; }
.cart-line .p { font-weight: 800; color: var(--violet); font-family: var(--font-display); }
.cart-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lavande-line);
  background: #fff; color: var(--violet); font-weight: 700; line-height: 1;
}
.cart-qty button:hover { background: var(--lavande); }
.cart-remove { border: none; background: none; color: var(--encre-soft); font-size: 0.78rem; text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-remove:hover { color: var(--corail); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--lavande-line); background: #fff; }
.drawer-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.drawer-ship { font-size: 0.82rem; color: var(--encre-soft); margin-bottom: 14px; }
.drawer-ship .ok { color: var(--ok); font-weight: 700; }
.drawer-foot .btn { width: 100%; }

/* barre de progression livraison offerte */
.ship-progress { height: 6px; border-radius: 6px; background: var(--lavande); overflow: hidden; margin: 8px 0 4px; }
.ship-progress > div { height: 100%; background: linear-gradient(90deg, var(--mauve), var(--corail)); border-radius: 6px; transition: width 0.5s var(--ease-out); }

/* ─── Toast ────────────────────────────────────────────────── */
.toast-zone { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 1100; display: grid; gap: 10px; width: min(420px, 92vw); }
.toast {
  background: var(--violet-ink); color: #fff; border-radius: 14px;
  padding: 14px 20px; font-size: 0.95rem; font-weight: 600;
  box-shadow: var(--shadow-lift); display: flex; gap: 10px; align-items: center;
  animation: toastIn 0.4s var(--ease-out);
}
.toast.ok::before { content: '✓'; color: #7fd6a4; font-weight: 800; }
.toast.err { background: var(--corail-dark); }
.toast.err::before { content: '!'; font-weight: 800; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
.toast.out { opacity: 0; transform: translateY(10px); transition: 0.3s; }

/* ─── Formulaires ──────────────────────────────────────────── */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field .hint { font-size: 0.8rem; color: var(--encre-soft); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; border: 2px solid var(--lavande-line); border-radius: var(--radius-sm);
  background: #fff; padding: 13px 16px; font-family: inherit; font-size: 1rem; color: var(--violet-ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 4px rgba(157, 123, 192, 0.15); }
textarea.input { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Page boutique ────────────────────────────────────────── */
.page-head { padding: clamp(40px, 6vw, 70px) 0 clamp(20px, 3vw, 34px); }
.page-head p { color: var(--encre-soft); max-width: 60ch; }
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding: 10px 0 30px; position: relative; z-index: 5;
}
.chip {
  border: 2px solid var(--lavande-line); background: #fff; color: var(--violet-ink);
  font-weight: 700; font-size: 0.92rem; padding: 9px 19px; border-radius: 100px;
  transition: all 0.25s;
}
.chip:hover { border-color: var(--mauve); }
.chip.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.filter-spacer { flex: 1; }
.search-wrap { position: relative; }
.search-wrap input { padding-left: 42px; min-width: 230px; }
.search-wrap svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--encre-soft); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--encre-soft); }
.empty-state .big { font-size: 3rem; display: block; margin-bottom: 12px; }

/* skeleton */
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, var(--lavande) 40%, #fff 50%, var(--lavande) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; aspect-ratio: 0.78; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── Fiche produit ────────────────────────────────────────── */
.pp-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: start; padding-top: 30px; }
.pp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pp-main-img {
  border-radius: var(--radius); overflow: hidden; background: var(--lavande);
  aspect-ratio: 0.95; cursor: zoom-in; position: relative; box-shadow: var(--shadow-soft);
}
.pp-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pp-thumbs button {
  width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--lavande); padding: 0;
  transition: border-color 0.25s;
}
.pp-thumbs button.on { border-color: var(--violet); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pp-info .product-cat { margin-bottom: 6px; }
.pp-price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--violet); margin: 10px 0 4px; }
.pp-price .from { font-size: 0.95rem; color: var(--encre-soft); font-weight: 600; }
.pp-desc { color: var(--encre-soft); margin: 14px 0 22px; white-space: pre-line; }
.pp-block { margin-bottom: 22px; }
.pp-block > .lbl { font-weight: 800; font-size: 0.88rem; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.pp-block .lbl a, .pp-block .lbl button { font-size: 0.8rem; color: var(--mauve); font-weight: 600; background: none; border: none; text-decoration: underline; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--lavande-line); cursor: pointer; padding: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.swatch.on { box-shadow: 0 0 0 3px var(--violet); transform: scale(1.1); }
.size-pills { display: flex; gap: 9px; flex-wrap: wrap; }
.size-pill {
  min-width: 52px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--lavande-line); background: #fff; font-weight: 700; font-size: 0.92rem;
  transition: all 0.2s;
}
.size-pill:hover { border-color: var(--mauve); }
.size-pill.on { background: var(--violet); border-color: var(--violet); color: #fff; }

.qty-stepper { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--lavande-line); border-radius: 100px; background: #fff; }
.qty-stepper button { width: 42px; height: 44px; border: none; background: none; font-size: 1.15rem; font-weight: 700; color: var(--violet); }
.qty-stepper input { width: 40px; text-align: center; border: none; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; background: none; }

.pp-actions { display: grid; gap: 12px; margin: 26px 0 18px; }
.pp-actions-row { display: flex; gap: 12px; align-items: center; }
.pp-actions-row .btn { flex: 1; }
.pp-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.84rem; color: var(--encre-soft); }
.pp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.pp-trust svg { width: 16px; height: 16px; color: var(--mauve); }

/* lightbox zoom */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; background: rgba(42, 33, 56, 0.92);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.3rem; }

/* galerie « déjà réalisés par Nathalie » */
.gal-pro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.gal-pro-item {
  border: none; padding: 0; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: var(--lavande); aspect-ratio: 1;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.gal-pro-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.gal-pro-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gal-pro-item:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gal-pro { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 540px) { .gal-pro { grid-template-columns: repeat(2, 1fr); } }

/* avis produit */
.pp-reviews { display: grid; gap: 14px; }
.review-row { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.review-row .review-stars { font-size: 0.85rem; }

/* guide des tailles (modal) */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1150; background: rgba(42, 33, 56, 0.55);
  display: grid; place-items: center; padding: 18px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--creme); border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 84vh; overflow-y: auto; padding: 30px;
  transform: translateY(20px); transition: transform 0.35s var(--ease-out);
  position: relative;
}
.modal-overlay.open .modal { transform: none; }
.modal h3 { padding-right: 40px; }
.modal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.modal th, .modal td { padding: 9px 12px; border-bottom: 1px solid var(--lavande-line); text-align: left; }
.modal th { font-family: var(--font-display); color: var(--violet); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--lavande); color: var(--violet); font-size: 1rem; }

/* ─── Panier page & checkout ───────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(26px, 4vw, 50px); align-items: start; }
.cart-panel, .checkout-panel { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-soft); }
.checkout-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.98rem; }
.sum-row.total { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; border-top: 2px solid var(--lavande-line); margin-top: 8px; padding-top: 14px; }
.pay-choice { display: grid; gap: 10px; margin: 16px 0; }
.pay-choice label {
  display: flex; gap: 12px; align-items: center; border: 2px solid var(--lavande-line);
  border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.pay-choice label:has(input:checked) { border-color: var(--violet); background: var(--lavande); }
.pay-choice input { accent-color: var(--violet); }
.pay-choice .sub { display: block; font-size: 0.8rem; color: var(--encre-soft); font-weight: 500; }

/* ─── Success ──────────────────────────────────────────────── */
.success-hero { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.success-check {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--lavande); color: var(--ok); display: grid; place-items: center;
  animation: photoIn 0.7s var(--ease-out);
}
.success-check svg { width: 44px; height: 44px; }

/* ─── Cookie banner ────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; z-index: 1050;
  width: min(380px, calc(100vw - 36px));
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-lift); border: 1px solid var(--lavande-line);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: 0.45s var(--ease-out);
}
.cookie-banner.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie-banner h4 { margin: 0 0 6px; font-size: 1rem; }
.cookie-banner p { font-size: 0.84rem; color: var(--encre-soft); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.88rem; flex: 1; }

/* ─── Pages légales ────────────────────────────────────────── */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.4rem; margin-top: 2em; }
.legal-body p, .legal-body li { color: var(--encre-soft); font-size: 0.97rem; }

/* ═══════════════════════════════════════════════════════════
   LE CONFIGURATEUR — « L'Atelier »
   ═══════════════════════════════════════════════════════════ */
.config-layout {
  display: grid; grid-template-columns: 340px 1fr 300px; gap: 22px;
  align-items: start; padding: 26px 0 60px;
}
.config-panel {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 22px; display: grid; gap: 18px; align-content: start;
}
.config-panel h3 { font-size: 1rem; margin: 0; display: flex; align-items: center; gap: 9px; }
.config-panel h3 .num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff;
  display: inline-grid; place-items: center; font-size: 0.8rem;
}
.config-sep { height: 1px; background: var(--lavande-line); margin: 2px 0; }

.tool-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-btn {
  border: 2px dashed var(--mauve-light); background: var(--lavande); color: var(--violet);
  border-radius: var(--radius-sm); padding: 16px 10px; font-weight: 700; font-size: 0.92rem;
  display: grid; gap: 6px; justify-items: center;
  transition: all 0.25s;
}
.tool-btn:hover { border-color: var(--corail); color: var(--corail); background: var(--corail-soft); transform: translateY(-2px); }
.tool-btn svg { width: 24px; height: 24px; }

/* scène d'aperçu */
.config-stage-wrap { display: grid; gap: 14px; justify-items: center; }
.stage-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.stage-toolbar .chip { padding: 7px 15px; font-size: 0.85rem; }
.config-stage {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 0.92;
  border-radius: var(--radius); overflow: hidden; background: var(--lavande);
  box-shadow: var(--shadow-lift); user-select: none; touch-action: none;
}
.config-stage img.product-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.print-zone {
  position: absolute; border: 2px dashed rgba(91, 63, 122, 0.55); border-radius: 8px;
  background: rgba(157, 123, 192, 0.05); pointer-events: none;
  transition: opacity 0.3s;
}
.print-zone .pz-label {
  position: absolute; top: -24px; left: 0; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet);
  background: rgba(250, 247, 242, 0.9); border-radius: 5px; padding: 2px 8px; white-space: nowrap;
}
.config-stage.clean .print-zone { opacity: 0; }

.cfg-el { position: absolute; cursor: grab; transform-origin: center; }
.cfg-el:active { cursor: grabbing; }
.cfg-el .el-inner { width: 100%; height: 100%; display: grid; place-items: center; pointer-events: none; }
.cfg-el .el-inner span { white-space: pre; line-height: 1.15; }
.cfg-el .el-inner img { width: 100%; height: 100%; object-fit: contain; }
.cfg-el.selected { outline: 2px solid var(--corail); outline-offset: 2px; border-radius: 4px; }
.cfg-el.editing { outline: 2px dashed var(--mauve); outline-offset: 2px; cursor: text; }
.cfg-el.editing .el-inner, .cfg-el.editing .el-inner span { pointer-events: auto; }
.cfg-el.editing .el-inner span { outline: none; caret-color: var(--corail); }
.cfg-el.editing .cfg-handle { display: none; }
.layer-item .li { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cfg-el .el-inner svg { width: 100%; height: 100%; }

/* bibliothèque de motifs */
.motif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motif-card {
  aspect-ratio: 1; border: 2px solid var(--lavande-line); border-radius: var(--radius-sm);
  background: #fff; color: var(--violet); padding: 9px; cursor: pointer;
  transition: border-color 0.2s, transform 0.25s var(--ease-out), color 0.2s;
}
.motif-card svg { width: 100%; height: 100%; }
.motif-card:hover { border-color: var(--corail); color: var(--corail); transform: translateY(-2px); }
.cfg-handle {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: var(--violet); border: 2px solid var(--violet);
  display: grid; place-items: center; z-index: 5; touch-action: none;
}
.cfg-handle svg { width: 13px; height: 13px; pointer-events: none; }
.cfg-handle.h-scale { right: -13px; bottom: -13px; cursor: nwse-resize; }
.cfg-handle.h-rotate { left: -13px; top: -13px; cursor: grab; }
.cfg-handle.h-del { right: -13px; top: -13px; background: var(--corail); border-color: var(--corail); color: #fff; cursor: pointer; }

/* panneau propriétés élément */
.el-props { display: grid; gap: 12px; }
.font-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 210px; overflow-y: auto; padding-right: 4px; }
.font-card {
  border: 2px solid var(--lavande-line); border-radius: var(--radius-sm); background: #fff;
  padding: 9px 10px; font-size: 1.02rem; text-align: center; color: var(--violet-ink);
  transition: border-color 0.2s; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.font-card.on { border-color: var(--violet); background: var(--lavande); }
.color-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot {
  width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--lavande-line); padding: 0; cursor: pointer; transition: transform 0.2s;
}
.color-dot.on { box-shadow: 0 0 0 3px var(--corail); transform: scale(1.12); }

/* panneau prix */
.price-panel { position: sticky; top: calc(var(--header-h) + 18px); }
.price-live {
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--violet);
  transition: transform 0.2s var(--ease-out);
}
.price-live.bump { animation: priceBump 0.4s var(--ease-out); }
@keyframes priceBump { 40% { transform: scale(1.12); color: var(--corail); } }
.price-lines { display: grid; gap: 7px; font-size: 0.9rem; color: var(--encre-soft); }
.price-lines .row { display: flex; justify-content: space-between; gap: 10px; }
.price-lines .row b { color: var(--violet-ink); }
.layer-list { display: grid; gap: 8px; }
.layer-item {
  display: flex; align-items: center; gap: 10px; background: var(--lavande);
  border-radius: 10px; padding: 9px 12px; font-size: 0.88rem; font-weight: 600;
  border: 2px solid transparent; cursor: pointer;
}
.layer-item.on { border-color: var(--mauve); background: #fff; }
.layer-item .x { margin-left: auto; border: none; background: none; color: var(--encre-soft); font-size: 1rem; padding: 2px 6px; }
.layer-item .x:hover { color: var(--corail); }

/* sélecteur produit (configurateur) */
.cfg-product-select { display: grid; gap: 10px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.cfg-product-card {
  display: flex; gap: 12px; align-items: center; border: 2px solid var(--lavande-line);
  border-radius: var(--radius-sm); background: #fff; padding: 9px; text-align: left;
  transition: border-color 0.2s;
}
.cfg-product-card img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: var(--lavande); }
.cfg-product-card.on { border-color: var(--violet); background: var(--lavande); }
.cfg-product-card .nm { font-weight: 700; font-size: 0.92rem; line-height: 1.25; }
.cfg-product-card .pr { font-size: 0.82rem; color: var(--encre-soft); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .config-layout { grid-template-columns: 1fr; }
  .price-panel { position: static; }
  .universe-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 480px; margin: 0 auto; width: 100%; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-gallery { position: static; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-panel { position: static; }
  .atelier-grid { grid-template-columns: 1fr; }
  .atelier-photo { max-width: 380px; margin: 0 auto; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  body { font-size: 15.5px; }
  .header-inner { gap: 8px; }
  .logo { gap: 7px; }
  .logo-wreath { width: 34px; height: 34px; }
  .logo-write { margin-right: 10px; }
  .logo-script { font-size: 1.45rem; }
  .logo-plume { width: 17px; height: 17px; top: -8px; }
  .icon-btn { width: 40px; height: 40px; }
  .announce { font-size: 0.74rem; }
  .universe-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 13px; }
  .product-body { padding: 13px 14px 15px; }
  .product-name { font-size: 0.95rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .universe-body { padding: 14px; }
  .universe-body h3 { font-size: 1.05rem; }
  .universe-body p { display: none; }
  .tool-btns { grid-template-columns: 1fr 1fr; }
  .drawer { width: 100vw; }
}
