/* =====================================================================
   Émilie Cozette — boutique
   Palette et typographie tirées du logo : crème papier, vert sapin,
   rose bonbon, orange coquelicot, jaune moutarde.
   ===================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2-variations"), url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"), url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FDFAEE;
  --paper-card: #FFFDF6;
  --paper-deep: #F6EDD3;
  --sapin: #0E422E;
  --sapin-deep: #0A3123;
  --feuille: #1E7845;
  --moutarde: #EEA31A;
  --moutarde-l: #FBE3A6;
  --coquelicot: #FA591A;
  --peche: #FFD2B5;
  --bonbon: #FC5C82;
  --rose-l: #FFD8E1;
  --menthe: #D5ECD7;
  --line: rgba(14, 66, 46, .22);

  --font-display: "Fraunces", "Cooper Black", "Georgia", serif;
  --font-body: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 84px;
  --ease-pop: cubic-bezier(.2, 1.45, .35, 1);
  --ease-out: cubic-bezier(.2, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--sapin);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; font-weight: 800; line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
h3 { font-size: 1.35rem; }
::selection { background: var(--bonbon); color: var(--sapin); }

:focus-visible { outline: 3px solid var(--moutarde); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sapin); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.fl { width: 100%; height: 100%; overflow: visible; }
.icon { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------- boutons */

.btn {
  --btn-shadow: var(--sapin);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border: 2.5px solid var(--sapin); border-radius: 999px;
  background: var(--paper); color: var(--sapin);
  font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--sapin); color: var(--paper); --btn-shadow: var(--bonbon); }
.btn-pink { background: var(--bonbon); color: var(--sapin); --btn-shadow: var(--moutarde); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding-bottom: 2px; border-bottom: 2.5px solid currentColor; transition: gap .2s; }
.link-more:hover { gap: 14px; }
.link-more .icon { width: 20px; height: 20px; }

/* tuiles de couleur */
.tile-rose { background: var(--rose-l); }
.tile-moutarde { background: var(--moutarde-l); }
.tile-menthe { background: var(--menthe); }
.tile-peche { background: var(--peche); }
.tile-sapin { background: var(--sapin); }
.tile-creme { background: #F7EED6; }

/* ------------------------------------------------------------- bandeau & en-tête */

.announce { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px var(--gutter); background: var(--sapin); color: var(--paper); font-size: .95rem; font-weight: 600; text-align: center; }
.announce.is-closed { background: var(--moutarde); color: var(--sapin); }
.announce-fl { width: 18px; height: 18px; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h); padding: 0 var(--gutter);
  background: rgba(253, 250, 238, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 0 var(--line); }
.brand { flex: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: 6px 0; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline wavy var(--bonbon); text-decoration-thickness: 2px; }
.menu-flowers { display: none; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--sapin); color: var(--paper);
  font-weight: 700; text-decoration: none; transition: transform .2s var(--ease-pop);
}
.cart-link:hover { transform: rotate(-3deg) scale(1.04); }
.cart-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--bonbon); color: var(--sapin); font-size: .9rem; font-weight: 800;
}
.cart-count.is-empty { background: rgba(253, 250, 238, .2); color: var(--paper); }
.cart-count.is-bumped { animation: bump .6s var(--ease-pop); }
.menu-toggle { display: none; }

@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.6) rotate(-12deg); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------- toasts */

.toasts { position: fixed; z-index: 90; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 10px; width: min(560px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 22px;
  background: var(--sapin); color: var(--paper); font-weight: 600; box-shadow: 6px 6px 0 var(--bonbon);
  pointer-events: auto; animation: toast-in .5s var(--ease-pop) both;
}
.toast a { color: var(--moutarde); font-weight: 800; margin-left: auto; white-space: nowrap; }
.toast-error { background: var(--paper-card); color: var(--sapin); border: 2.5px solid var(--coquelicot); box-shadow: 6px 6px 0 var(--coquelicot); }
.toast-info { background: var(--moutarde-l); color: var(--sapin); border: 2.5px solid var(--sapin); box-shadow: 6px 6px 0 var(--sapin); }
.toast.is-leaving { animation: toast-out .35s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(30px) scale(.9) rotate(-2deg); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px) scale(.95); } }

/* ------------------------------------------------------------- héros */

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(56px, 7vw, 96px);
  min-height: min(calc(100svh - var(--header-h)), 860px);
}
.hero-title {
  font-size: clamp(3.1rem, 7.6vw, 6.9rem); font-weight: 900; line-height: .92; letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; margin-bottom: 28px;
}
.hero-title .w { display: inline-block; animation: rise .9s var(--ease-pop) both; animation-delay: calc(var(--i) * 85ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(.45em) rotate(5deg); } }
.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; margin-bottom: 34px; animation: fade-up .8s var(--ease-out) .5s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; animation: fade-up .8s var(--ease-out) .65s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

.hero-visual { position: relative; width: 100%; max-width: 540px; justify-self: center; aspect-ratio: 4 / 5; margin-top: 48px; --px: 0; --py: 0; }
.hero-blob {
  position: absolute; inset: 4% -6% -2% 2%; background: var(--moutarde-l);
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  animation: morph 14s ease-in-out infinite alternate, scale-in 1s var(--ease-out) .2s both;
}
@keyframes morph { to { border-radius: 42% 58% 40% 60% / 58% 40% 60% 42%; } }
@keyframes scale-in { from { transform: scale(.6); opacity: 0; } }
.hero-arch {
  position: absolute; inset: 9% 11% 2% 11%; overflow: hidden;
  border: 3px solid var(--sapin); border-radius: 999px 999px 32px 32px;
  background: var(--rose-l); box-shadow: 10px 10px 0 var(--sapin);
  animation: arch-in 1s var(--ease-pop) .25s both;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes arch-in { from { transform: translateY(40px) scale(.92); opacity: 0; } }
.hero-bloom { position: absolute; inset: 0; pointer-events: none; }
.bloom {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * clamp(54px, 7.6vw, 106px)); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--r));
  translate: calc(var(--px) * var(--d) * 5px) calc(var(--py) * var(--d) * 5px);
  transition: translate .8s var(--ease-out);
  animation: bloom-in .85s var(--ease-pop) both; animation-delay: calc(.6s + var(--i) * 70ms);
}
.bloom .fl { animation: sway calc(3.6s + var(--d) * .7s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.4s); }
@keyframes bloom-in { from { transform: translate(-50%, -50%) rotate(calc(var(--r) - 120deg)) scale(0); } }
@keyframes sway { from { transform: rotate(-9deg); } to { transform: rotate(9deg) translateY(-5%); } }
.hero-sticker {
  position: absolute; right: -3%; bottom: 3%; width: clamp(108px, 12vw, 152px); aspect-ratio: 1;
  animation: bloom-in-simple .9s var(--ease-pop) 1.5s both;
}
.sticker-ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.sticker-ring text { font-family: var(--font-body); font-weight: 800; font-size: 19px; fill: var(--sapin); letter-spacing: .5px; }
.sticker-core { position: absolute; inset: 27%; width: 46%; height: 46%; animation: spin 9s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bloom-in-simple { from { transform: scale(0) rotate(-90deg); } }

/* ------------------------------------------------------------- bandeau défilant */

.marquee {
  position: relative; z-index: 2; overflow: hidden; margin: 0 -2%;
  background: var(--coquelicot); color: var(--paper);
  border-block: 3px solid var(--sapin); transform: rotate(-1.6deg);
}
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1; }
.mq-fl { width: 38px; height: 38px; flex: none; animation: spin 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- sections */

.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head h2 { max-width: 16ch; }
.empty-note { font-size: 1.15rem; }

/* catégories */
.cats { background: var(--rose-l); padding-top: clamp(84px, 11vw, 140px); margin-top: -24px; }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.cat-card { display: flex; flex-direction: column; text-decoration: none; }
.cat-arch {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border: 3px solid var(--sapin); border-radius: 999px 999px 26px 26px; box-shadow: 7px 7px 0 var(--sapin);
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease-pop);
}
.cat-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-pop { position: absolute; top: 12%; right: 10%; width: 70px; height: 70px; transform: scale(0) rotate(-120deg); transition: transform .5s var(--ease-pop); }
.cat-card:hover .cat-arch, .cat-card:focus-visible .cat-arch { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 12px 12px 0 var(--sapin); }
.cat-card:hover .cat-arch img { transform: scale(1.06); }
.cat-card:hover .cat-pop, .cat-card:focus-visible .cat-pop { transform: scale(1) rotate(0); }
.cat-name { margin-top: 22px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cat-desc { margin-top: 8px; max-width: 34ch; }
.cat-count { align-self: flex-start; margin-top: 14px; padding: 5px 14px; border: 2px solid var(--sapin); border-radius: 999px; font-size: .9rem; font-weight: 700; background: var(--paper); }

/* grille de créations */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.pcard { position: relative; min-width: 0; }
.pcard-media {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border: 2.5px solid var(--sapin); border-radius: 28px;
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease-pop);
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), opacity .45s; }
.pcard-alt { position: absolute; inset: 0; opacity: 0; }
.pcard-ph { position: absolute; inset: 30%; width: 40%; height: 40%; }
.pcard:hover .pcard-media { transform: translateY(-5px) rotate(-1deg); box-shadow: 7px 7px 0 var(--sapin); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard:hover .pcard-alt { opacity: 1; }
.pcard.is-out .pcard-media img { filter: saturate(.35); opacity: .75; }
.sticker {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 13px; border: 2px solid var(--sapin); border-radius: 999px;
  background: var(--bonbon); color: var(--sapin); font-size: .88rem; font-weight: 800;
  transform: rotate(-7deg); box-shadow: 2px 2px 0 var(--sapin);
}
.sticker-out { background: var(--paper); }
.pcard-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 16px; }
.pcard-title { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1.12; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; }
.pcard-title a { text-decoration: none; }
.pcard-title a:hover { text-decoration: underline wavy var(--bonbon); text-underline-offset: 5px; }
.pcard-price { margin: 6px 0 0; font-weight: 700; }
.pcard-price s { margin-left: 6px; opacity: .55; font-weight: 500; }
.add-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 0; border-radius: 50%; background: var(--sapin); color: var(--paper); cursor: pointer;
  transition: transform .35s var(--ease-pop), background-color .2s, color .2s;
}
.add-btn:hover { transform: rotate(90deg) scale(1.08); background: var(--bonbon); color: var(--sapin); }
.add-btn:disabled { opacity: .3; cursor: not-allowed; transform: none; background: var(--sapin); color: var(--paper); }
.add-btn.is-added { animation: bump .6s var(--ease-pop); background: var(--feuille); }

/* sur-mesure (section sapin, bord festonné) */
.scallop { position: relative; }
.scallop::before {
  content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px;
  background: radial-gradient(circle at 50% 100%, var(--scallop-color) 23px, transparent 24px) 0 0 / 48px 24px repeat-x;
}
.custom { --scallop-color: var(--sapin); background: var(--sapin); color: var(--paper); margin-top: 24px; }
.custom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.custom h2 { margin-bottom: 22px; }
.custom-copy p { font-size: 1.18rem; max-width: 46ch; opacity: .92; margin-bottom: 32px; }
.custom .btn-pink { border-color: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex; align-items: center; gap: 20px; padding: 14px 22px 14px 16px;
  border: 2px dashed rgba(253, 250, 238, .32); border-radius: 22px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-variation-settings: "SOFT" 100;
}
.steps li:nth-child(even) { margin-left: clamp(0px, 4vw, 48px); }
.step-n { position: relative; display: grid; place-items: center; width: 62px; height: 62px; flex: none; }
.step-n .fl { position: absolute; inset: 0; }
.step-n b { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--sapin); font-family: var(--font-body); font-size: 1rem; font-weight: 800; }

/* atelier */
.about-teaser { background: var(--moutarde-l); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-teaser > * { margin: 0; max-width: none; }
.about-media { position: relative; width: 100%; max-width: 500px; justify-self: end; }
.wobble-frame {
  aspect-ratio: 1; overflow: hidden; background: var(--peche);
  border: 3px solid var(--sapin); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: wobble 16s ease-in-out infinite alternate;
}
.wobble-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes wobble { 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; } 100% { border-radius: 45% 55% 52% 48% / 38% 60% 40% 62%; } }
.burst { position: absolute; right: -4%; bottom: -2%; display: grid; place-items: center; width: clamp(120px, 13vw, 160px); aspect-ratio: 1; }
.burst::before {
  content: ""; position: absolute; inset: 0; background: var(--bonbon);
  clip-path: polygon(50% 0%, 59% 13%, 75% 7%, 77% 23%, 93% 25%, 87% 41%, 100% 50%, 87% 59%, 93% 75%, 77% 77%, 75% 93%, 59% 87%, 50% 100%, 41% 87%, 25% 93%, 23% 77%, 7% 75%, 13% 59%, 0% 50%, 13% 41%, 7% 25%, 23% 23%, 25% 7%, 41% 13%);
  animation: spin 30s linear infinite;
}
.burst span { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.1; text-align: center; transform: rotate(-8deg); }
.about-copy { max-width: 560px; }
.about-copy h2 { margin-bottom: 24px; }
.prose { font-size: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.about-copy .btn { margin-top: 30px; }

/* engagements */
.promises { padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(24px, 4vw, 40px); }
.promises ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.promises li { display: flex; align-items: center; gap: 14px; font-weight: 700; line-height: 1.3; }
.promise-fl { width: 50px; height: 50px; flex: none; }
.promises li:hover .promise-fl { animation: spin 1.2s var(--ease-pop); }

/* apparition au défilement (uniquement si JS actif) */
.js [data-reveal] { opacity: 0; transform: translateY(22px) rotate(-1.5deg) scale(.97); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .8s var(--ease-pop); transition-delay: calc(var(--i, 0) * 90ms); }

/* ------------------------------------------------------------- pied de page */

.site-footer { position: relative; margin-top: 64px; padding: 92px var(--gutter) 0; background: var(--sapin); color: var(--paper); }
.footer-flowers { position: absolute; left: 0; right: 0; top: -1px; height: 0; }
.ff { position: absolute; top: -44px; width: 88px; height: 88px; animation: sway 5s ease-in-out infinite alternate; }
.ff-1 { left: 3%; transform: rotate(-30deg); } .ff-2 { left: 9%; top: -30px; animation-delay: -1s; }
.ff-3 { left: 46%; top: -38px; width: 70px; animation-delay: -2s; } .ff-4 { right: 18%; top: -50px; transform: rotate(40deg); }
.ff-5 { right: 12%; top: -26px; width: 70px; animation-delay: -3s; } .ff-6 { right: 5%; top: -40px; width: 64px; } .ff-7 { left: 28%; top: -24px; width: 56px; animation-delay: -1.6s; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; max-width: var(--maxw); margin: 0 auto; }
.footer-grid h2 { font-size: 1.2rem; font-weight: 700; color: var(--moutarde); margin-bottom: 14px; font-variation-settings: "SOFT" 100, "opsz" 24; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: var(--paper); opacity: .88; text-decoration: none; }
.footer-grid a:hover { opacity: 1; color: var(--bonbon); }
.footer-brand img { width: 210px; height: auto; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--paper); border-radius: 50%; opacity: 1; }
.socials a:hover { background: var(--bonbon); color: var(--sapin); border-color: var(--bonbon); }
.footer-giant {
  margin: 56px -2% -.16em; text-align: center; white-space: nowrap; overflow: hidden;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 14.8vw, 15rem); line-height: .9; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; color: var(--moutarde);
}
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 22px 0 26px; margin: 0 calc(-1 * var(--gutter)); background: var(--sapin-deep); font-size: .9rem; color: rgba(253, 250, 238, .78); }

/* ------------------------------------------------------------- pages intérieures */

.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(44px, 6vw, 72px); text-align: center; }
.page-hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.025em; position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; max-width: 52ch; margin: 18px auto 0; font-size: 1.15rem; }
.page-hero.small { padding-block: clamp(36px, 5vw, 56px); }
.ph-fl { position: absolute; width: clamp(70px, 10vw, 130px); height: clamp(70px, 10vw, 130px); animation: sway 5s ease-in-out infinite alternate; }
.ph-fl.a { left: 4%; top: 18%; } .ph-fl.b { right: 6%; top: 10%; animation-delay: -2s; } .ph-fl.c { right: 18%; bottom: -24px; width: 70px; animation-delay: -1s; } .ph-fl.d { left: 15%; bottom: -14px; width: 60px; }

.filters { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pill { padding: 9px 18px; border: 2px solid var(--sapin); border-radius: 999px; background: var(--paper); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease-pop); }
.pill:hover { transform: rotate(-3deg); }
.pill[aria-current] { background: var(--sapin); color: var(--paper); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; font-weight: 600; }
.toolbar select { padding: 9px 38px 9px 16px; border: 2px solid var(--sapin); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230E422E' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; cursor: pointer; }

.empty { text-align: center; padding: 40px 0 20px; }
.empty .empty-fl { width: 120px; height: 120px; margin: 0 auto 18px; animation: sway 4s ease-in-out infinite alternate; }
.empty h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.empty p { margin-bottom: 26px; }

/* fiche produit */
.product { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(48px, 6vw, 80px); }
.gallery { min-width: 0; }
.g-main {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border: 3px solid var(--sapin); border-radius: 34px; aspect-ratio: 1; box-shadow: 10px 10px 0 var(--sapin);
}
.g-main::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.g-thumbs button { width: 78px; height: 78px; padding: 0; overflow: hidden; border: 2.5px solid transparent; border-radius: 18px; background: none; cursor: pointer; transition: transform .2s var(--ease-pop); }
.g-thumbs button:hover { transform: rotate(-4deg); }
.g-thumbs button[aria-current="true"] { border-color: var(--sapin); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .95rem; font-weight: 600; }
.crumbs a { text-underline-offset: 4px; }
.crumbs span[aria-hidden] { opacity: .5; }
.product-info h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.02em; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0 20px; }
.price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; font-variation-settings: "SOFT" 100; }
.price s { font-size: 1.3rem; opacity: .5; margin-left: 8px; font-weight: 500; }
.stock-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border: 2px solid var(--sapin); border-radius: 999px; font-weight: 700; font-size: .95rem; }
.stock-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock-chip.is-ok { background: var(--menthe); }
.stock-chip.is-low { background: var(--moutarde-l); }
.stock-chip.is-last { background: var(--rose-l); }
.stock-chip.is-out { background: #ECE7D8; }
.product-lead { font-size: 1.2rem; margin-bottom: 26px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.buy-row .btn { flex: 1 1 220px; }
.qty { display: inline-flex; align-items: center; border: 2.5px solid var(--sapin); border-radius: 999px; background: var(--paper); height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--rose-l); }
.qty button .icon { width: 18px; height: 18px; }
.qty input { width: 40px; border: 0; background: none; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.small { height: 42px; }
.qty.small button { width: 38px; }
.in-cart-note { font-size: .95rem; font-weight: 600; }
.in-cart-note a { color: var(--feuille); }
.accordion { margin-top: 26px; border-top: 2.5px solid var(--sapin); }
.accordion details { border-bottom: 2px dashed var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; font-variation-settings: "SOFT" 100; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .3s var(--ease-pop); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .prose { padding-bottom: 20px; font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--bonbon); }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose a { color: var(--feuille); font-weight: 600; text-underline-offset: 3px; }
.related { background: var(--menthe); }

/* panier */
.cart-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) 40px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 2px dashed var(--line); }
.cart-line:first-child { border-top: 2.5px solid var(--sapin); }
.cart-thumb { width: 104px; height: 104px; overflow: hidden; border: 2.5px solid var(--sapin); border-radius: 22px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; text-decoration: none; font-variation-settings: "SOFT" 100; }
.line-meta { margin: 4px 0 10px; font-size: .95rem; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.link-btn { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .95rem; font-weight: 600; }
.line-total { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.cart-summary {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: clamp(22px, 3vw, 32px); background: var(--paper-card);
  border: 2.5px solid var(--sapin); border-radius: 30px; box-shadow: 9px 9px 0 var(--sapin);
}
.cart-summary h2 { font-size: 1.8rem; margin-bottom: 16px; }
.option { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px; margin-bottom: 10px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.option:hover { border-color: var(--sapin); }
.option:has(input:checked) { border-color: var(--sapin); background: var(--rose-l); }
.option input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--sapin); }
.option-label { font-weight: 700; }
.option-price { font-weight: 800; white-space: nowrap; }
.option-info { grid-column: 2 / 4; font-size: .92rem; }
.option-hint { grid-column: 2 / 4; font-size: .88rem; font-weight: 700; color: var(--feuille); }
.field-inline { margin: 4px 0 14px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 22px 0 18px; padding-top: 18px; border-top: 2px dashed var(--line); }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; font-weight: 700; }
.totals .grand { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; font-variation-settings: "SOFT" 100; padding-top: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--sapin); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .9rem; opacity: .8; }
.secure-note .icon { width: 18px; height: 18px; }

/* formulaires publics */
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; margin-bottom: 7px; font-weight: 700; }
.field .hint { display: block; margin-top: 6px; font-size: .9rem; opacity: .8; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 2px solid rgba(14, 66, 46, .35); border-radius: 16px;
  background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sapin); box-shadow: 0 0 0 4px var(--moutarde-l); }
.field textarea { min-height: 160px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; padding: 26px; text-align: center; border: 2.5px dashed rgba(14, 66, 46, .4); border-radius: 20px; background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--sapin); background: var(--rose-l); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon { width: 30px; height: 30px; }
.drop-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.drop-previews img { width: 74px; height: 74px; object-fit: cover; border-radius: 14px; border: 2px solid var(--sapin); }

/* sur-mesure */
.custom-hero { --scallop-color: var(--sapin); background: var(--sapin); color: var(--paper); padding-bottom: clamp(110px, 12vw, 150px); }
.custom-hero .steps { max-width: 980px; margin: 44px auto 0; grid-template-columns: repeat(4, 1fr); text-align: left; }
.custom-hero .steps li { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; font-size: 1.15rem; }
.form-card {
  position: relative; max-width: 780px; margin: clamp(-90px, -8vw, -60px) auto 40px;
  padding: clamp(24px, 4vw, 44px); background: var(--paper-card);
  border: 2.5px solid var(--sapin); border-radius: 34px; box-shadow: 10px 10px 0 var(--bonbon);
}
.form-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.form-card > p { margin-bottom: 26px; }
.form-fl { position: absolute; width: 96px; height: 96px; top: -48px; right: 28px; animation: sway 4s ease-in-out infinite alternate; }
.sent { text-align: center; padding: 20px 0; }
.sent .fl-row { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.sent .fl-row svg { width: 64px; height: 64px; animation: bloom-in-simple .8s var(--ease-pop) both; }
.sent .fl-row svg:nth-child(2) { animation-delay: .12s; } .sent .fl-row svg:nth-child(3) { animation-delay: .24s; }

/* devis */
.quote-card { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(26px, 4vw, 48px); background: var(--paper-card); border: 2.5px solid var(--sapin); border-radius: 30px; box-shadow: 10px 10px 0 var(--moutarde); }
.quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 2px dashed var(--line); }
.quote-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.quote-amount { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.2rem); font-variation-settings: "SOFT" 100; }
.quote-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 24px 0; padding: 18px; border-radius: 20px; background: var(--rose-l); }
.quote-meta dt { font-size: .88rem; font-weight: 700; opacity: .75; }
.quote-meta dd { margin: 2px 0 0; font-weight: 700; }
.quote-message p:last-child { margin-bottom: 0; }
.quote-message { padding: 18px 22px; margin-bottom: 24px; border-left: 5px solid var(--bonbon); background: var(--paper); border-radius: 0 18px 18px 0; font-style: italic; }
.quote-state { padding: 18px 22px; border-radius: 18px; font-weight: 700; text-align: center; }
.quote-state.paid { background: var(--menthe); }
.quote-state.off { background: #ECE7D8; }

/* merci */
.thanks { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) var(--gutter) 60px; text-align: center; background: var(--rose-l); }
.thanks h1 { position: relative; z-index: 1; font-size: clamp(4rem, 13vw, 10rem); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; line-height: .9; letter-spacing: -.04em; }
.thanks h1 .w { display: inline-block; animation: rise .9s var(--ease-pop) both; animation-delay: calc(var(--i) * 90ms); }
.thanks .lead { position: relative; z-index: 1; max-width: 46ch; margin: 22px auto 0; font-size: 1.2rem; }
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -12%; left: var(--x); width: var(--s); height: var(--s); animation: fall var(--t) linear var(--delay) both; }
.petal svg { width: 100%; height: 100%; animation: spin calc(var(--t) / 2) linear infinite; }
@keyframes fall { from { transform: translate(0, 0); } to { transform: translate(var(--drift), 125vh); } }
.recap { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.recap-card { margin-top: -30px; position: relative; padding: clamp(22px, 4vw, 36px); background: var(--paper-card); border: 2.5px solid var(--sapin); border-radius: 28px; box-shadow: 9px 9px 0 var(--sapin); }
.recap-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.recap-items { list-style: none; padding: 0; margin: 18px 0; }
.recap-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px dashed var(--line); }
.next-steps { margin-top: 20px; padding: 16px 20px; border-radius: 18px; background: var(--moutarde-l); }

/* atelier & pages */
.about-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.about-page .about-media { justify-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.text-page { max-width: 760px; margin: 0 auto; }
.text-page .prose { font-size: 1.1rem; }

/* erreur */
.error-page { position: relative; overflow: hidden; min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.error-page h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; margin-bottom: 16px; }
.error-page p { font-size: 1.15rem; margin-bottom: 28px; }

/* animation « ajout au panier » */
.fly { position: fixed; z-index: 100; width: 54px; height: 54px; pointer-events: none; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promises ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand img { height: 40px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 40; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
    padding: 36px var(--gutter); background: var(--rose-l); overflow: hidden;
    transform: translateY(-110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s;
  }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .main-nav a { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 11vw, 3.4rem); font-variation-settings: "SOFT" 100, "WONK" 1; }
  .menu-flowers { display: flex; position: absolute; right: -20px; bottom: 40px; gap: 0; }
  .menu-flowers svg { width: 120px; height: 120px; animation: sway 4s ease-in-out infinite alternate; }
  .menu-flowers svg:nth-child(2) { margin-top: -50px; animation-delay: -1s; }
  .menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2.5px solid var(--sapin); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .menu-toggle .i-close { display: none; }
  .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: block; }
  .site-header { gap: 12px; }
  .cart-label { display: none; }
  .cart-link { padding: 10px 14px; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 18px; text-align: left; }
  .hero-visual { max-width: 330px; width: 74%; order: -1; margin-top: 18px; }
  .hero-title { margin-bottom: 18px; }
  .custom-inner, .about-teaser, .about-page, .product, .cart-layout { grid-template-columns: 1fr; }
  .about-media { justify-self: center; max-width: 420px; }
  .about-page .about-media { position: relative; top: 0; justify-self: center; }
  .product-info, .cart-summary { position: static; }
  .custom-hero .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .pcard-media { border-radius: 20px; }
  .pcard-body { flex-direction: column; gap: 8px; padding-top: 10px; }
  .pcard-title { font-size: 1.08rem; }
  .pcard-add { position: absolute; top: 8px; right: 8px; }
  .add-btn { width: 42px; height: 42px; border: 2px solid var(--paper); }
  .sticker { top: 10px; left: 8px; font-size: .78rem; padding: 4px 10px; }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card { display: grid; grid-template-columns: 38% 1fr; gap: 0 18px; align-items: center; }
  .cat-arch { grid-row: span 3; }
  .cat-count { justify-self: start; }
  .cat-name { margin-top: 0; }
  .cat-desc { font-size: .95rem; }
  .steps li:nth-child(even) { margin-left: 0; }
  .promises ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-thumb { width: 80px; height: 80px; border-radius: 18px; }
  .line-total { grid-column: 2; }
  .custom-hero .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .g-main { box-shadow: 6px 6px 0 var(--sapin); }
  .ph-fl { width: 52px; height: 52px; }
  .ph-fl.a { left: -12px; top: 10px; } .ph-fl.b { right: -10px; top: 6px; }
  .ph-fl.c, .ph-fl.d { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .toasts, .announce, .marquee { display: none !important; }
}
