/* Charte blog Joue & Crée : crème, sauge #46563C, terre cuite #9F7055, or. */
:root {
  --bg: #F7F3EF;
  --surface: #FFFcf8;
  --ink: #3C322A;
  --muted: #8A6F5A;
  --line: #E5D9CB;
  --head: #46563C;
  --sage: #6E8264;
  --sand: #EFE6DA;
  --beige: #D4B89A;
  --terra: #9F7055;
  --gold: #CBA34E;
  --night: #46563C;
  --night-ink: #FFFcf8;
  --star: #9F7055;
  --star-ink: #FFFcf8;
  --cta-bg: #46563C;
  --cta-ink: #FFFcf8;
  --focus: #9F7055;
  --t-fruits: #B4604A;
  --t-halloween: #AD6C40;
  --t-foret: #46563C;
  --t-noel: #9C4A47;
  --t-polaire: #5F7F8C;
  --t-amour: #B0677A;
  --t-cirque: #7F6591;
  --t-paques: #6F8262;
  --t-ferme: #9C7548;
  --t-mare: #4F8277;
  --t-marins: #46738F;
  --t-gourmand: #A8873A; --t-dino:#6F8262; --t-princesse:#B0677A; --t-vehicules:#46738F; --t-anniv:#C2A04A; --t-licorne:#7F6591; --t-pirate:#8A5A3F;
  --f-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Caveat", "Segoe Script", cursive;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1D221A;
    --surface: #272E22;
    --ink: #EFE8D6;
    --muted: #B3AB97;
    --line: #3A4333;
    --head: #D4E0C6;
    --sand: #323A2B;
    --terra: #D39868;
    --night: #2F3A29;
    --star-ink: #2A2412;
    --cta-bg: #8A9A7B;
    --cta-ink: #1D221A;
    --focus: #E6D393;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1D221A;
  --surface: #272E22;
  --ink: #EFE8D6;
  --muted: #B3AB97;
  --line: #3A4333;
  --head: #D4E0C6;
  --sand: #323A2B;
  --terra: #D39868;
  --night: #2F3A29;
  --star-ink: #2A2412;
  --cta-bg: #8A9A7B;
  --cta-ink: #1D221A;
  --focus: #E6D393;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  padding-inline: 16px;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1120px; margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

header.top {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px 20px;
  padding-block: 18px; position: relative; z-index: 40;
}
.brand { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-decoration: none; display: flex; align-items: center; gap: 10px; flex: none; order: 0; }
.brand svg { width: 28px; height: 28px; flex: none; }
nav.main { order: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; order: 2; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
  padding: 10px 14px; cursor: pointer;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-count {
  min-width: 1.4em; height: 1.4em; padding: 0 5px; border-radius: 999px; background: var(--star); color: var(--star-ink);
  font-size: 12px; line-height: 1.4em; text-align: center;
}
.cart-scrim { position: fixed; inset: 0; background: rgba(40, 36, 30, 0.35); z-index: 60; border: 0; }
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); background: var(--surface); z-index: 70;
  border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(70, 86, 60, 0.12);
  display: flex; flex-direction: column; max-height: 100%;
}
.cart-drawer[hidden], .cart-scrim[hidden] { display: none !important; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-family: var(--f-display); font-size: 24px; color: var(--head); }
.cart-x { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 20px 20px; }
.cart-empty { color: var(--muted); padding: 24px 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-title { font-weight: 700; color: var(--ink); }
.cart-line-meta { font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
.cart-line-price { font-weight: 700; white-space: nowrap; }
.cart-line-actions { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.cart-qty { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.cart-qty button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--sand); cursor: pointer; font-weight: 700; }
.cart-qty output { min-width: 1.5em; text-align: center; font-weight: 700; }
.cart-remove { border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.cart-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.cart-hint { margin: 0; font-size: 13px; color: var(--muted); }
.cart-ships { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.cart-ships-title { font-weight: 600; }
.cart-ship { display: flex; gap: 8px; align-items: flex-start; }
.cart-relay { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.cart-relay input { font: inherit; width: 7.5rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
body.cart-open { overflow: hidden; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; padding: 0;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--head); border-radius: 2px; transition: transform .2s, opacity .2s; }
nav.main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  font-weight: 600; font-size: 14px; flex: 1; min-width: 0;
}
nav.main a { text-decoration: none; color: var(--muted); padding-block: 4px; white-space: nowrap; }
nav.main a:hover { color: var(--ink); }
.nav-scrim { display: none; }
.cta-row.cta-secondary { margin-top: 12px; }
.cta-row.cta-secondary .btn { font-size: 14px; padding: 10px 18px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  nav.main {
    display: none; position: fixed; inset: 0 0 0 auto; width: min(86vw, 320px); max-width: 100%;
    background: var(--surface); border-left: 1px solid var(--line); padding: 88px 22px 32px;
    flex-direction: column; flex-wrap: nowrap; gap: 4px; z-index: 50; flex: none;
    box-shadow: -12px 0 40px rgba(70, 86, 60, 0.12); overflow-y: auto;
  }
  nav.main.open { display: flex; }
  nav.main a { font-size: 17px; padding: 12px 8px; border-radius: 10px; white-space: normal; }
  nav.main a:active { background: var(--sand); }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(40, 36, 30, 0.35); z-index: 45; border: 0; }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding-block: 28px 48px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { font-family: var(--f-body); font-weight: 700; font-size: 16px; border-radius: 999px; padding: 13px 24px; border: 2px solid transparent; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; }
.btn.primary { background: var(--star); color: var(--star-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.soon { opacity: 0.72; cursor: default; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.sky { width: 100%; max-width: 100%; height: auto; border-radius: 28px; display: block; }

section.block { padding-block: 48px; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.sec-head p { color: var(--muted); }

/* Configurateur */
.conf { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
fieldset.step { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 18px 20px 20px; margin: 0; min-width: 0; }
fieldset.step legend { font-family: var(--f-display); font-weight: 700; font-size: 18px; padding-inline: 6px; margin-left: -6px; }
.hint { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font-size: 24px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--star); color: var(--star-ink); }
.stepper output { min-width: 3.2ch; text-align: center; font-family: var(--f-display); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.count-note { margin-left: 14px; font-size: 14px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; padding: 11px 18px; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; background: var(--bg); }
.choice input:checked + span { border-color: var(--ink); background: var(--star); color: var(--star-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice small { display: block; font-weight: 600; font-size: 12px; opacity: 0.8; }
.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.theme-pick .choice span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.theme-pick svg { width: 28px; height: 28px; flex: none; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.opt:first-of-type { border-top: 0; }
.opt label { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt .price { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.recap { position: sticky; top: 16px; background: var(--night); color: var(--night-ink); border-radius: 24px; padding: 24px; min-width: 0; }
.recap h3 { font-size: 22px; font-weight: 800; }
.recap .sub { font-size: 14px; opacity: 0.8; margin-top: 4px; }
.recap ul { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.recap ul li { display: flex; gap: 8px; }
.recap ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--star); margin-top: 8px; flex: none; }
.lines { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.lines .disc { color: var(--star); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18); }
.total strong { font-family: var(--f-display); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.perchild { font-size: 14px; opacity: 0.85; text-align: right; font-variant-numeric: tabular-nums; }
.eta { margin-top: 14px; font-size: 14px; background: rgba(255,255,255,0.08); border-radius: 12px; padding: 10px 12px; }
.recap .btn { width: 100%; margin-top: 16px; }
.status { margin-top: 10px; font-size: 13px; min-height: 1.4em; opacity: 0.9; }

/* Thèmes */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.box-complement { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.box-complement .mini { margin-bottom: 8px; }
.box-complement .hint { margin-bottom: 16px; max-width: 52rem; }
.page-hero { padding-block: 28px 12px; max-width: 40rem; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); color: var(--head); margin-top: 10px; }
.page-hero .lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0 8px; }
.explain-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; }
a.explain-card { text-decoration: none; color: inherit; display: block; }
a.explain-card:hover { border-color: var(--head); }
.explain-card h3 { font-size: 18px; color: var(--head); margin-bottom: 6px; }
.explain-card p { font-size: 14px; color: var(--muted); }
.explain-card .price-tag { display: block; margin-top: 10px; font-weight: 700; color: var(--ink); font-size: 15px; }
.teaser-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 28px 24px; max-width: 960px; }
.teaser-card .cta-row { margin-top: 18px; }
.teaser-row {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 22px 28px; align-items: center;
}
.teaser-row-rev { grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr); }
.teaser-row-rev .teaser-copy { order: 2; }
.teaser-row-rev .teaser-pic { order: 1; }
.teaser-copy h2 { margin-top: 8px; color: var(--head); }
.teaser-copy p { margin-top: 10px; color: var(--muted); max-width: 36rem; }
.teaser-pic { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.teaser-bois { aspect-ratio: 3 / 2; }
.teaser-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.teaser-portrait img { object-fit: contain; object-position: center; background: #f4efe6; }
.noel-scene {
  margin: 4px auto 22px;
  width: min(420px, 78%);
  border-radius: 22px;
  overflow: hidden;
  background: #f6f1ea;
}
.noel-scene img { display: block; width: 100%; height: auto; }
.idea-block { padding-block: 0 36px; }
.idea-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: center;
  max-width: 960px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 26px;
}
.idea-band h2 { margin-top: 6px; color: var(--head); font-size: clamp(26px, 3vw, 34px); }
.idea-band p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.idea-band .cta-row { margin-top: 16px; }
.idea-fee {
  margin: 0;
  min-width: 148px;
  text-align: center;
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 14px;
}
.idea-fee strong { display: block; font-size: 32px; line-height: 1; color: var(--head); font-family: var(--f-display, inherit); }
.idea-fee span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (max-width: 820px) {
  .idea-band { grid-template-columns: 1fr; }
  .idea-fee { justify-self: start; }
}
.etude-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 28px 36px; align-items: start; padding: 28px 0 56px; }
.etude-layout h1 { margin-top: 8px; font-size: clamp(34px, 5vw, 52px); color: var(--head); }
.etude-layout h2 { margin-top: 22px; font-size: 22px; color: var(--head); }
.etude-layout p { margin-top: 10px; color: var(--muted); max-width: 62ch; }
.etude-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.etude-form label { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.etude-form input, .etude-form textarea { width: 100%; margin-top: 6px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.etude-form textarea { min-height: 140px; resize: vertical; }
.etude-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.etude-check input { width: auto; margin-top: 4px; }
.etude-form .btn { margin-top: 16px; }
.etude-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.etude-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
@media (max-width: 820px) {
  .etude-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .teaser-row, .teaser-row-rev { grid-template-columns: 1fr; }
  .teaser-row-rev .teaser-copy, .teaser-row-rev .teaser-pic { order: unset; }
  .teaser-pic { max-height: 220px; }
  .teaser-bois { max-height: none; }
}
.filters-block { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.filter-label { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.filters-block .theme-sel { margin-top: 6px; max-width: 280px; }
.page-back { margin: 8px 0 0; font-size: 14px; }
.page-back a { color: var(--muted); }
.themes-compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); max-width: 520px; }
.themes-compact .tile { min-height: 120px; padding: 16px; font-size: 17px; }
.tile { border: 0; border-radius: 22px; padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; cursor: pointer; background: var(--tc); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.tile svg { width: 56px; height: 56px; opacity: 0.95; }
.tile small { font-family: var(--f-body); font-weight: 600; font-size: 13px; opacity: 0.9; }
.tile:hover { transform: translateY(-2px); }

/* Kits */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font-family: var(--f-body); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.kit { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.kit .pic { background: var(--tc); color: #fff; height: 130px; display: flex; align-items: center; justify-content: center; position: relative; }
.kit .pic svg { width: 64px; height: 64px; }
.kit .badge { position: absolute; top: 10px; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; color: #fff; z-index: 1; }
.kit .badge.mat { left: 10px; background: rgba(60,58,50,.78); }
.kit .badge.stock { right: 10px; left: auto; }
.kit .badge.stock.ok { background: rgba(46, 125, 74, 0.88); }
.kit .badge.stock.sold { background: rgba(139, 58, 42, 0.92); }
.kit .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kit h3 { font-size: 18px; font-weight: 700; }
.kit .meta { font-size: 14px; color: var(--muted); }
.kit .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.kit .p { font-family: var(--f-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.kit .link { font-size: 14px; font-weight: 700; background: none; border: 0; padding: 6px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: var(--f-body); }

/* Comment ça marche */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: s; }
.how li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--star); color: var(--star-ink); font-family: var(--f-display); font-weight: 800; margin-bottom: 12px; }
.how h3 { font-size: 18px; margin-bottom: 6px; }
.how p { font-size: 15px; color: var(--muted); }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; background: var(--night); color: var(--night-ink); border-radius: 28px; padding: 28px; }
.trust h3 { font-size: 18px; margin-bottom: 4px; }
.trust p { font-size: 14px; opacity: 0.85; }
.secu-copy { max-width: 62ch; margin-top: 28px; }
.secu-copy h3 { font-size: 22px; margin: 22px 0 10px; color: var(--head); }
.secu-copy h3:first-child { margin-top: 0; }
.secu-copy p { color: var(--muted); margin: 0 0 12px; }
.secu-copy ul { margin: 0 0 12px; padding-left: 1.2rem; color: var(--muted); }
.secu-copy li { margin-bottom: 6px; }
.blog-list { display: grid; gap: 18px; max-width: 760px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px; text-align: left; }
.blog-card h2 { margin: 6px 0 10px; font-size: 24px; }
.blog-card h2 a { color: var(--head); text-decoration: none; }
.blog-card h2 a:hover { color: var(--terra); }
.blog-card p { color: var(--muted); margin: 0 0 14px; }
.blog-article h1 { margin: 8px 0 18px; color: var(--head); }
.about-copy { max-width: 62ch; }
.about-copy h3 { font-size: 22px; margin: 22px 0 10px; color: var(--head); }
.about-copy p { color: var(--muted); margin: 0 0 12px; }
.about-copy ul { margin: 0 0 12px; padding-left: 1.2rem; color: var(--muted); }
.about-copy li { margin-bottom: 6px; }
.about-sign { margin-top: 18px; color: var(--head); font-weight: 600; }
.about-koalas { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-koalas .btn { margin-top: 8px; }

footer { padding-block: 40px 28px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Pages légales */
.legal-page .legal-back { margin: 8px 0 12px; }
.legal-disclaimer {
  font-size: 13.5px; color: var(--muted); background: var(--sand); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; margin-bottom: 28px; max-width: 72ch;
}
.legal-doc { padding: 28px 0 40px; border-top: 1px solid var(--line); max-width: 72ch; }
.legal-doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal-doc h2 { font-size: 22px; margin: 22px 0 8px; }
.legal-doc h3 { font-size: 18px; margin: 16px 0 6px; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: 15.5px; }
.legal-doc ul { padding-left: 1.2em; margin: 8px 0; }
.legal-doc a { color: var(--head); }
.legal-nav { gap: 6px 14px; font-size: 14px; }
@media (max-width: 860px) {
  .legal-nav { display: none; }
}

/* Bannière cookies RGPD */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 12px 40px rgba(60, 50, 40, .18);
  display: flex; flex-direction: column; gap: 12px;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { font-size: 14px; color: var(--muted); }
.cookie-bar .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-bar .btn { font-size: 14px; padding: 10px 16px; }

/* Boutique et abonnement */
.filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.filters-row .filters { margin-bottom: 0; }
.sel { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.sel select { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); max-width: 100%; }
.empty { color: var(--muted); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.combo { display: inline-block; width: fit-content; margin-top: 2px; font-size: 12px; font-weight: 700; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.tile.now { box-shadow: 0 0 0 4px var(--star); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.months li.now { background: var(--star); color: var(--star-ink); border-radius: 10px; padding-inline: 10px; border-bottom-color: transparent; }
.months li.now span:last-child { color: var(--star-ink); }
/* Atelier sur mesure et aperçu de la box */
.pref { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.pref:first-child { border-top: 0; padding-top: 0; }
.pref-t small { display: block; color: var(--muted); font-size: 13px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg .choice span { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.recap .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.peek { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.pk { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 18px; background: var(--tc); color: #fff; display: grid; place-items: center; overflow: hidden; }
.pk svg { width: 46%; height: 46%; }
.pk .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 12px; font-weight: 700; text-align: center; background: rgba(0,0,0,0.3); }
.pk.blur svg { filter: blur(8px); }
.pk.blur::after { content: "?"; position: absolute; font-family: var(--f-display); font-weight: 800; font-size: 30px; color: #fff; }
/* Abonnement */
.sub { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mini { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.mini small { font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--muted); }
.contents { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ci { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; min-width: 0; }
.ci h4 { font-family: var(--f-display); font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.ci p { font-size: 14px; color: var(--muted); }
.months { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.months li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.months li span:first-child { font-weight: 700; }
.months li span:last-child { color: var(--muted); text-align: right; }
.plancard { position: sticky; top: 16px; background: var(--night); color: var(--night-ink); border-radius: 24px; padding: 24px; min-width: 0; }
.plancard h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plans .choice span { color: var(--ink); }
.plancard .total strong { font-size: 30px; }
.plancard .btn { width: 100%; margin-top: 16px; }

@media (max-width: 820px) {
  .sub { grid-template-columns: 1fr; }
  .plancard { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero-frames { gap: 8px; padding: 12px 8px; }
  .hero-frames figure { padding: 5px; border-radius: 14px; }
  .conf { grid-template-columns: 1fr; }
  .recap { position: static; }
}
@media (prefers-reduced-motion: reduce) { .tile:hover { transform: none; } }

/* Charte du blog : habillage et fiche produit */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 600; color: var(--head); }
.brand { font-size: 28px; font-weight: 600; color: var(--head); }
.brand svg { width: 32px; height: 32px; }
.script { font-family: var(--f-script); color: var(--terra); font-size: clamp(24px, 4vw, 32px); font-weight: 600; margin-top: 8px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; }
fieldset.step legend { font-size: 22px; color: var(--head); }
.mini { font-size: 22px; }
.tile { font-size: 22px; color: #fff; }
.kit h3, .how h3, .trust h3 { font-size: 22px; }
.ci h4 { font-size: 19px; font-weight: 600; color: var(--head); }
.recap h3, .plancard h3, .trust h3 { color: var(--night-ink); }
.recap h3, .plancard h3 { font-size: 28px; }
.btn { font-weight: 500; letter-spacing: 0.02em; }
.btn.primary { background: var(--cta-bg); color: var(--cta-ink); }
.recap .btn.primary, .plancard .btn.primary { background: #F6F0E4; color: #46563C; }
.btn.ghost { border-color: var(--head); color: var(--head); }
.total strong, .kit .p, .stepper output, .pdp-price { font-family: var(--f-body); font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.eyebrow { color: var(--head); font-weight: 500; }
.chips li { background: var(--surface); }
.titlebtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.titlebtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.kit .pic { cursor: pointer; }
.back { margin: 8px 0 18px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 20px; }
.pdp-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pdp-pic { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 24px; background: var(--tc); color: #fff; display: grid; place-items: center; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--sand); cursor: pointer; width: 64px; height: 64px; }
.pdp-thumb.on { border-color: var(--terra); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-pic svg { width: 38%; height: 38%; }
.pdp-pic .badge { position: absolute; top: 16px; left: 16px; font-size: 13px; font-weight: 500; background: rgba(0,0,0,0.28); border-radius: 999px; padding: 4px 12px; }
.pdp-buy { display: flex; flex-direction: column; gap: 12px; min-width: 0; align-items: flex-start; }
.pdp-buy h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.05; }
.pdp-price { font-size: 26px; }
.tax, .qlab { font-size: 14px; color: var(--muted); }
.pdp-buy .btn { width: 100%; max-width: 420px; }
.pdp-buy .btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.pdp-buy .status { font-size: 13px; color: var(--muted); min-height: 1.4em; margin: 0; }
.ship { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--surface); }
.ship strong { font-weight: 500; }
.ship .bar { height: 8px; border-radius: 999px; background: var(--sand); margin-top: 10px; overflow: hidden; }
.ship .bar i { display: block; height: 100%; width: 0; background: var(--terra); border-radius: 999px; transition: width 0.3s; }
.ship p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.fiche { max-width: 760px; margin: 0 auto; padding-bottom: 20px; }

/* Fiches produit HTML — CSS unique (pas de <style> dans chaque fiche). Scope .f-html pour ne pas toucher la page .fiche */
.f-html .fiche {
  --creme: #FBF7F1;
  --sable: #EFE5D8;
  --ligne: #E3D3C0;
  --terracotta: #B07A5B;
  --vert: #A9745A;
  --vf: #8A5A3F;
  --or: #C9A24B;
  --tx: #4A3B30;
  --doux: #6E5B4C;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px 12px;
  font-family: Jost, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--tx);
}
.f-html .fiche * { box-sizing: border-box; }
.f-html .fiche h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  color: var(--vf);
  text-align: center;
  margin: 30px 0 16px;
}
.f-html .fiche h1 em,
.f-html .fiche h1 .accent {
  display: block;
  font-size: 26px;
  font-style: italic;
  color: var(--vert);
}
.f-html .fiche h2 {
  font-family: Marcellus, serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--vf);
  text-align: center;
  margin: 38px 0 16px;
}
.f-html .fiche h2 small,
.f-html .fiche h2 .pre {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
}
.f-html .fiche .intro { text-align: center; color: var(--doux); font-size: 17px; }
.f-html .fiche .entete { text-align: center; padding: 36px 0 8px; }
.f-html .fiche .papillon { font-size: 28px; color: var(--or); letter-spacing: 4px; text-align: center; line-height: 1; margin-bottom: 8px; }
.f-html .fiche .filet { width: 64px; height: 1px; background: var(--or); margin: 22px auto; position: relative; }
.f-html .fiche .filet::before,
.f-html .fiche .filet::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--or); }
.f-html .fiche .filet::before { left: -9px; }
.f-html .fiche .filet::after { right: -9px; }
.f-html .fiche .intro strong { font-weight: 500; color: var(--tx); }
.f-html .fiche section { padding: 22px 0; }
.f-html .fiche .specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  padding: 18px 0;
  margin: 8px 0 0;
}
.f-html .fiche .specs > div:not(.spec) {
  flex: 1 1 22%;
  min-width: 120px;
  padding: 0 10px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--vf);
}
.f-html .fiche .specs > div:not(.spec) > span {
  display: block;
  font: 10px Jost, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--doux);
  margin-top: 3px;
}
.f-html .fiche .spec {
  flex: 1 1 22%;
  min-width: 120px;
  text-align: center;
  padding: 0 10px;
}
.f-html .fiche .spec + .spec { border-left: 1px solid var(--ligne); }
.f-html .fiche .spec .val {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--vf);
  letter-spacing: 0;
  text-transform: none;
}
.f-html .fiche .spec .lib {
  display: block;
  margin-top: 4px;
  font-family: Jost, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--doux);
}
.f-html .fiche .faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 600px; margin: 0 auto; }
.f-html .fiche .face { flex: 1 1 45%; min-width: 220px; background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 20px; text-align: center; }
.f-html .fiche .face .tag { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; color: var(--or); margin-bottom: 8px; }
.f-html .fiche .face h3 { font-family: Marcellus, serif; font-weight: 400; font-size: 18px; color: var(--vf); margin: 0 0 6px; }
.f-html .fiche .face p { font-size: 13.5px; color: var(--doux); margin: 0; }
.f-html .fiche .bienfaits { display: flex; flex-direction: column; gap: 12px; }
.f-html .fiche .bf {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 15px 20px 15px 42px;
  font-size: 15px;
  color: var(--doux);
  position: relative;
}
.f-html .fiche .bf::before { content: "✷"; position: absolute; left: 18px; top: 14px; color: var(--or); }
.f-html .fiche .rituel { background: var(--vert); color: var(--creme); border-radius: 20px; padding: 32px 28px; }
.f-html .fiche .rituel h2,
.f-html .fiche .rituel h2 .pre { color: var(--creme); }
.f-html .fiche .rituel h2 .pre { color: #f0d7b8; }
.f-html .fiche .step { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(251,247,241,.28); }
.f-html .fiche .step:first-of-type { border-top: none; }
.f-html .fiche .step .num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 26px; color: var(--or); line-height: 1.1; min-width: 26px; }
.f-html .fiche .step p { margin: 0; font-size: 15px; color: rgba(251,247,241,.94); }
.f-html .fiche .pied { text-align: center; padding: 12px 0 36px; }
.f-html .fiche .pied p { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 17px; color: var(--vert); margin: 0; }
.f-html .fiche .etapes {
  background: var(--vert);
  color: #FBF7EE;
  border-radius: 20px;
  padding: 28px 26px;
  margin-top: 38px;
}
.f-html .fiche .etapes h2 { color: #FBF7EE; margin-top: 0; }
.f-html .fiche .etapes ol { padding-left: 22px; }
.f-html .fiche .etapes li { padding: 8px 0; font-size: 15px; }
.f-html .fiche .bienfaits,
.f-html .fiche .details,
.f-html .fiche .pieces {
  list-style: none;
  max-width: 580px;
  margin: 0 auto;
  padding: 0;
}
.f-html .fiche .bienfaits li {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--doux);
}
.f-html .fiche .details li,
.f-html .fiche .pieces li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--ligne);
  font-size: 15px;
}
.f-html .fiche .details b,
.f-html .fiche .details .k,
.f-html .fiche .pieces .nom {
  font-weight: 300;
  color: var(--doux);
}
.f-html .fiche .details span,
.f-html .fiche .details .v,
.f-html .fiche .pieces .dim {
  text-align: right;
}
.f-html .fiche .precautions,
.f-html .fiche .care {
  background: var(--sable);
  border-radius: 16px;
  padding: 20px 26px;
  max-width: 600px;
  margin: 30px auto;
  font-size: 14px;
  color: var(--doux);
}
.f-html .fiche .precautions h3,
.f-html .fiche .care h2,
.f-html .fiche .care h3 {
  font-family: Marcellus, serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--vf);
  text-align: center;
  margin: 0 0 8px;
  border: 0;
  padding: 0;
}
.f-html .fiche .details .k { text-align: left; }
.f-html .fiche .precautions ul,
.f-html .fiche .care ul { padding-left: 0; margin: 0; list-style: none; }
.f-html .fiche .precautions li,
.f-html .fiche .care li { list-style: none; position: relative; padding-left: 22px; margin-bottom: 7px; }
.f-html .fiche .precautions li::before,
.f-html .fiche .care li::before { content: "⚠"; position: absolute; left: 0; top: 0; font-size: 12px; }
.f-html .fiche .note {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--doux);
  padding-bottom: 40px;
}
@media (max-width: 560px) {
  .f-html .fiche h1 { font-size: 30px; }
  .f-html .fiche h1 em,
  .f-html .fiche h1 .accent { font-size: 22px; }
  .f-html .fiche .spec { flex: 1 1 50%; }
  .f-html .fiche .spec:nth-child(odd) { border-left: none; }
}
.f-plain { max-width: 40rem; padding: 8px 0 28px; text-align: left; }
.f-plain .f-intro { margin: 0 0 18px; color: var(--muted); }
.f-plain .f-h { font-size: 20px; text-align: left; margin: 22px 0 10px; color: var(--head); }
.f-plain .f-details { list-style: none; padding: 0; margin: 0; }
.f-plain .f-details li { display: grid; grid-template-columns: 7rem 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.f-plain .f-details .k { color: var(--muted); font-weight: 600; }
.f-plain .f-steps-plain, .f-plain .f-care { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.f-plain .f-steps-plain li, .f-plain .f-care li { margin-bottom: 6px; }
.f-head { text-align: left; padding: 24px 0 8px; }
.f-mark { display: none; }
.f-title { font-size: clamp(34px, 5.4vw, 46px); line-height: 1.12; }
.f-script { display: block; font-family: var(--f-script); color: var(--terra); font-size: 28px; margin-top: 6px; font-weight: 600; }
.f-rule { width: 64px; height: 1px; background: var(--gold); margin: 24px auto; position: relative; }
.f-rule::before, .f-rule::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.f-rule::before { left: -9px; } .f-rule::after { right: -9px; }
.f-intro { font-size: 18px; color: var(--muted); max-width: 630px; margin: 0 auto; }
.f-intro strong { color: var(--ink); font-weight: 500; }
.f-sec { padding: 28px 0; }
.f-h { font-size: 22px; text-align: left; margin-bottom: 12px; }
.f-pre { display: block; font-family: var(--f-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.f-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.f-spec { flex: 1 1 25%; min-width: 120px; text-align: left; padding: 0 10px; }
.f-spec + .f-spec { border-left: 1px solid var(--line); }
.f-val { display: block; font-family: var(--f-body); font-size: 22px; font-weight: 500; color: var(--head); line-height: 1.2; }
.f-lib { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--muted); margin-top: 3px; }
.f-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 600px; margin: 0 auto; }
.f-face { flex: 1 1 45%; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: left; }
.f-tag { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.f-face h4 { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--head); margin: 0 0 6px; }
.f-face p { font-size: 14.5px; color: var(--muted); }
.f-bfs { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; }
.f-bf { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 20px 15px 44px; font-size: 15.5px; color: var(--muted); }
.f-bf::before { content: "\2727"; position: absolute; left: 18px; top: 14px; color: var(--gold); }
.f-ritual { background: var(--night); color: #FDFBF6; border-radius: 22px; padding: 34px 30px; }
.f-ritual .f-h { color: #FDFBF6; }
.f-ritual .f-pre { color: #E6D393; }
.f-sous { text-align: left; font-size: 15px; opacity: 0.88; margin-bottom: 20px; }
.f-step { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(253,251,246,0.28); }
.f-sous + .f-step { border-top: 0; }
.f-num { font-family: var(--f-display); font-style: italic; font-size: 30px; color: #E6D393; flex-shrink: 0; line-height: 1.1; min-width: 26px; }
.f-step p { font-size: 15px; }
.f-att { display: block; margin-top: 4px; font-size: 13.5px; font-style: italic; color: #E8D9C2; }
.f-details { max-width: 560px; margin: 0 auto; list-style: none; padding: 0; }
.f-details li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.f-details li:last-child { border-bottom: 0; }
.f-details .k { color: var(--muted); }
.f-details .v { text-align: right; min-width: 0; }
.f-prec { background: var(--sand); border-radius: 16px; padding: 22px 26px; max-width: 600px; margin: 0 auto; }
.f-prec h4 { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--head); text-align: left; margin: 0 0 10px; }
.f-prec ul { list-style: none; padding: 0; margin: 0; }
.f-prec li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); margin-bottom: 7px; }
.f-prec li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.f-note { text-align: left; font-size: 14px; color: var(--muted); max-width: 620px; margin: 24px 0 6px; }
.f-foot { text-align: left; padding: 24px 0 36px; }
.f-foot p { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--terra); }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } }

.ideas { background: var(--sand); border: 1px solid var(--line); border-radius: 20px; padding: 28px; text-align: left; }
.ideas p { max-width: 56ch; margin: 0 0 16px; }

.news { padding-block: 24px 48px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; text-align: left;
  max-width: 640px;
}
.news-card h2 { margin: 8px 0 10px; color: var(--head); }
.news-card > p { color: var(--muted); max-width: 46ch; margin: 0 auto 18px; }
.news-form {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: stretch;
}
.news-form input {
  flex: 1 1 180px; min-width: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 16px; font: inherit; color: var(--ink);
}
.news-form .btn { flex: 0 0 auto; }
.news-card .status { margin-top: 12px; min-height: 1.4em; color: var(--head); font-size: 14.5px; }
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gift { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.gift h3 { font-size: 22px; }
.gift p { color: var(--muted); flex: 1; }
.gprice { font-weight: 600; color: var(--terra); }
.recipe { margin-top: 20px; background: var(--sand); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.recipe h3 { margin-bottom: 6px; }
.f-html-host { display: block; max-width: 760px; margin: 0 auto; padding: 0 0 28px; }
.f-html { max-width: 40rem; padding: 8px 0 28px; text-align: left; color: var(--ink); }
.f-html .f-plain { padding: 0; }
.f-html a, .f-html a.link { color: var(--terra); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.f-html a:hover { color: var(--head); }
.f-html h2, .f-html h3, .f-html .f-h { font-size: 20px; margin: 22px 0 10px; color: var(--head); font-family: var(--f-display); font-weight: 600; }
.f-html p, .f-html .f-intro { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.f-html ul, .f-html ol { margin: 0 0 14px; padding-left: 1.2rem; color: var(--muted); }
.f-html li { margin-bottom: 6px; }
.f-html strong, .f-html b { color: var(--ink); font-weight: 600; }
.f-pate-note { margin: 18px 0 0; padding: 14px 16px; background: var(--sand); border: 1px solid var(--line); border-radius: 14px; }
.f-pate-note p { margin: 0 0 8px; color: var(--muted); }
.f-pate-note p:last-child { margin-bottom: 0; }
.recipe-page { max-width: 44rem; }
.recipe-sheet { margin-top: 8px; }
.recipe-sheet h2 { font-size: 22px; margin: 22px 0 10px; color: var(--head); }
.recipe-sheet h2:first-child { margin-top: 0; }
.recipe-sheet p, .recipe-sheet li { color: var(--muted); }
.recipe-sheet ul, .recipe-sheet ol { margin: 0 0 12px; padding-left: 1.2rem; }
.recipe-sheet li { margin-bottom: 6px; }
@media print {
  .top, .footer, footer, .page-back, .cart-btn, .nav-toggle, .no-print, .cart-drawer, .cart-scrim, .nav-scrim { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .recipe-sheet { border: none; background: transparent; padding: 0; }
  .page-hero .lead { color: #000; }
}
.free { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.free label { font-size: 14px; color: var(--muted); }
.free input, .free textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.picks { border: 0; padding: 0; margin: 4px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.picks legend { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.picks label { font-size: 15px; display: flex; gap: 8px; align-items: center; }
.surprise { margin-top: 16px; color: var(--muted); font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand .logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / 1; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.collage .c1 { grid-row: 1 / 3; }
.hero-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 12px;
  padding: 18px 14px 16px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 214, 150, 0.55), transparent 42%),
    radial-gradient(ellipse at 88% 8%, rgba(255, 196, 120, 0.35), transparent 36%),
    #f6eadc;
}
.hero-frames figure {
  margin: 0;
  background: #fff;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 10px 22px rgba(120, 78, 40, 0.14);
  aspect-ratio: 4 / 3.15;
}
.hero-frames img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}
.hero-frames figure:nth-child(1) { transform: rotate(-2.2deg); }
.hero-frames figure:nth-child(2) { transform: rotate(1.4deg); }
.hero-frames figure:nth-child(3) { transform: rotate(-1deg); }
.hero-frames figure:nth-child(4) { transform: rotate(1.6deg); }
.hero-frames figure:nth-child(5) { transform: rotate(-1.2deg); }
.hero-frames figure:nth-child(6) { transform: rotate(2deg); }
.kit .pic.photo { height: 200px; background: var(--sand); }
.kit .pic.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit .pic.photo .badge.mat { background: rgba(60,58,50,.78); }
.pdp-pic.photo { background: var(--sand); overflow: hidden; display: block; }
.pdp-pic.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.flogo { display: inline-flex; align-items: center; gap: 10px; }
.flogo img { width: 40px; height: 40px; border-radius: 50%; }
#backShop { font: inherit; font-weight: 500; background: transparent; color: var(--head); border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.brand .logo { width: 72px; height: 72px; }

.brand .logo, .flogo img { background: var(--beige); }
.pdp-opts { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; margin: 4px 0 8px; }
.pdp-hint { font-size: 14px; color: var(--muted); margin: 0; }
.stock-badge { font-size: 13px; font-weight: 600; margin: 0; padding: 6px 12px; border-radius: 999px; display: inline-block; }
.stock-badge.ok { background: #E8F0E4; color: #3D5A34; }
.stock-badge.out { background: #F5E6E2; color: #8B3A2A; }
.kit.soldout .pic { opacity: .78; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.review-top { display: flex; flex-direction: column; gap: 4px; }
.stars { color: var(--terra); letter-spacing: .06em; font-size: 15px; }
.review-who { font-weight: 600; font-size: 15px; color: var(--head); }
.review p { font-size: 15px; color: var(--muted); }
.review-prod { font-size: 13px; color: var(--head); font-weight: 500; margin-top: auto !important; }
.pdp-reviews { padding-top: 12px; }
@media (max-width: 820px) {
  .reviews { grid-template-columns: 1fr; }
}
.pdp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.pdp-field span { letter-spacing: .02em; }
.pdp-field select, .pdp-field input {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; color: var(--ink); font-weight: 400;
}
.pdp-perso { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.pdp-hint { font-size: 14px; color: var(--muted); margin: 0; }

.announcement {
  position: relative;
  background: var(--night);
  color: var(--night-ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0;
  margin-inline: -16px;
  overflow: hidden;
}
.announcement[hidden] { display: none !important; }
.ann-inner { padding: 9px 40px 9px 16px; overflow: hidden; }
.ann-track { display: flex; width: max-content; white-space: nowrap; }
.ann-msg { display: inline-block; padding-inline: 2.5em; }
.announcement.static .ann-track { width: 100%; justify-content: center; }
.announcement.static .ann-msg { padding-inline: 0; white-space: normal; text-align: center; }
.announcement.scroll .ann-track { animation: annmarquee 22s linear infinite; }
@keyframes annmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .announcement.scroll .ann-track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
  .announcement.scroll .ann-msg:nth-child(2) { display: none; }
  .announcement.scroll .ann-msg { white-space: normal; text-align: center; padding-inline: 0; }
}
.ann-x {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: rgba(246, 240, 228, .18); color: var(--night-ink); font-size: 18px; line-height: 1;
}
.ann-x:hover { background: rgba(246, 240, 228, .3); }

.gacha-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 8px;
  filter: drop-shadow(0 12px 22px rgba(60,50,40,.32));
}
.gacha-fab[hidden] { display: none !important; }
.gacha-fab-orb {
  width: 96px; height: 96px; border-radius: 22px; object-fit: cover; object-position: center;
  background: #f4ebe4; border: 3px solid var(--head); animation: gachafloat 3.2s ease-in-out infinite;
}
.gacha-fab-label {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--head); color: var(--cta-ink); border-radius: 999px; padding: 5px 12px;
}
@keyframes gachafloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.gacha-scrim {
  position: fixed; inset: 0; background: rgba(40, 34, 28, .62); z-index: 50;
  display: grid; place-items: center; padding: 12px; overflow-y: auto;
}
.gacha-modal {
  width: min(560px, 100%); max-height: calc(100vh - 24px); overflow-y: auto;
  background: var(--surface); color: var(--ink); border-radius: 26px;
  border: 1px solid var(--line); padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 28px 60px rgba(40,34,28,.35); position: relative; margin: auto;
}
.gacha-modal h2 { font-size: clamp(28px, 5vw, 36px); color: var(--head); padding-right: 48px; }
.gacha-modal .lead { color: var(--muted); font-size: 16px; text-align: center; }
.gacha-x {
  position: absolute; right: 14px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--sand); color: var(--ink); font-size: 30px; line-height: 1; display: grid; place-items: center;
}
.gacha-x:hover { background: var(--line); }
.gacha-closebig {
  width: 100%; margin-top: 4px; padding: 14px 18px; border-radius: 999px;
  border: 2px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
.gacha-closebig:hover { border-color: var(--head); }

/* Machine à boules : corps beige, grille hexagonale, bouton blanc, plateau */
.gacha-machine {
  --gm: #C19A83;
  --gm-dark: #A87F68;
  --gm-light: #D4B09A;
  position: relative;
  height: min(420px, 52vh);
  min-height: 340px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
  background: radial-gradient(ellipse at 50% 90%, rgba(193,154,131,.22), transparent 55%);
}
.gm-body {
  position: relative;
  width: 230px;
  height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1.08);
  transform-origin: top center;
}
@media (min-width: 520px) {
  .gm-body { transform: scale(1.18); }
  .gacha-machine { height: min(460px, 56vh); }
}
.gm-hopper {
  position: relative;
  width: 204px;
  height: 232px;
  background: linear-gradient(160deg, var(--gm-light) 0%, var(--gm) 45%, var(--gm-dark) 100%);
  border-radius: 48px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -6px 14px rgba(80,50,35,.18),
    0 10px 20px rgba(80,50,35,.2);
  z-index: 2;
}
.gm-window {
  position: absolute;
  inset: 18px 20px 56px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8eef2 0%, #d5dde4 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), inset 0 8px 16px rgba(60,70,80,.12);
}
.gm-balls { position: absolute; inset: 0; z-index: 1; }
.gacha-ball {
  position: absolute;
  width: 38px; height: 38px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.25) 36%, rgba(210,220,230,.2) 62%, rgba(170,185,200,.35) 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 4px rgba(60,70,80,.12), inset -2px -3px 5px rgba(120,140,160,.18);
}
.gm-honeycomb {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.04));
}
.gm-dial {
  position: absolute;
  left: 50%; top: 190px;
  transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f2f2f2 55%, #e4e4e4 100%);
  box-shadow:
    0 2px 0 #ddd,
    0 8px 14px rgba(80,50,35,.24),
    inset 0 2px 0 #fff;
  z-index: 4;
  border: 2px solid rgba(255,255,255,.9);
}
.gm-dial::after {
  content: "";
  position: absolute; inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(193,154,131,.35);
}
.gacha-machine.spinning .gm-dial { animation: gmdial .8s ease-in-out 2; }
@keyframes gmdial {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  40% { transform: translateX(-50%) rotate(28deg); }
  70% { transform: translateX(-50%) rotate(-12deg); }
}
.gm-base {
  position: relative;
  width: 160px;
  height: 130px;
  margin-top: -24px;
  background: linear-gradient(180deg, var(--gm-light) 0%, var(--gm) 40%, var(--gm-dark) 100%);
  border-radius: 0 0 70px 70px;
  box-shadow:
    inset 0 8px 12px rgba(255,255,255,.12),
    inset 0 -8px 14px rgba(80,50,35,.2),
    0 12px 22px rgba(80,50,35,.18);
  z-index: 1;
}
.gm-arch {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  width: 70px; height: 50px;
  background: #2a241f;
  border-radius: 34px 34px 12px 12px;
  box-shadow: inset 0 4px 8px rgba(0,0,0,.45);
}
.gm-tray {
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  width: 78px; height: 28px;
  background: linear-gradient(180deg, var(--gm-light), var(--gm-dark));
  border-radius: 0 0 20px 20px;
  box-shadow: inset 0 3px 4px rgba(80,50,35,.25), 0 3px 6px rgba(80,50,35,.15);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}
.gacha-machine.shake .gm-balls { animation: gachashake .55s ease-in-out 3; }
@keyframes gachashake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-2px, -2px); }
}
.gacha-drop {
  position: absolute;
  left: 50%; bottom: 12px;
  width: 44px; height: 44px;
  margin-left: -22px;
  z-index: 5;
  opacity: 0;
  transform: translateY(-140px) scale(.55);
  pointer-events: none;
}
.gacha-drop .cap {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.2) 40%, rgba(210,220,230,.25) 70%, rgba(170,185,200,.4));
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 3px 8px rgba(60,50,40,.2), inset -2px -3px 6px rgba(120,140,160,.2);
}
.gacha-drop .cap-l, .gacha-drop .cap-r {
  position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; opacity: 0;
}
.gacha-drop .cap-l { left: 0; border-radius: 44px 0 0 44px; }
.gacha-drop .cap-r { right: 0; border-radius: 0 44px 44px 0; }
.gacha-drop .cap-l::before, .gacha-drop .cap-r::before {
  content: ""; position: absolute; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(210,220,230,.35));
  border: 1.5px solid rgba(255,255,255,.85);
}
.gacha-drop .cap-l::before { left: 0; }
.gacha-drop .cap-r::before { right: 0; }
.gacha-machine.dropping .gacha-drop { animation: gachadrop 1.15s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes gachadrop {
  0% { opacity: 0; transform: translateY(-140px) scale(.5); }
  25% { opacity: 1; }
  55% { transform: translateY(8px) scale(1); }
  72% { transform: translateY(-4px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.gacha-machine.opened .gacha-drop { opacity: 1; transform: translateY(0) scale(1); }
.gacha-machine.opened .gacha-drop .cap { animation: caphide .35s ease forwards; }
.gacha-machine.opened .gacha-drop .cap-l,
.gacha-machine.opened .gacha-drop .cap-r { opacity: 1; }
.gacha-machine.opened .gacha-drop .cap-l { animation: capleft .55s ease forwards; }
.gacha-machine.opened .gacha-drop .cap-r { animation: capright .55s ease forwards; }
@keyframes caphide { to { opacity: 0; transform: scale(.8); } }
@keyframes capleft { from { transform: translateX(0); } to { transform: translateX(-22px) rotate(-18deg); opacity: .9; } }
@keyframes capright { from { transform: translateX(0); } to { transform: translateX(22px) rotate(18deg); opacity: .9; } }
.gacha-form { display: flex; flex-direction: column; gap: 10px; }
.gacha-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.gacha-form input[type="email"] {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; color: var(--ink);
}
.gacha-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--ink) !important; cursor: pointer; }
.gacha-check input { width: auto; margin-top: 3px; }
.gacha-form .hint, .gacha-modal .hint { font-size: 13px; color: var(--muted); }
.gacha-prize {
  text-align: center; padding: 12px 10px; border-radius: 14px; background: var(--sand); border: 1px solid var(--line);
}
.gacha-prize .eyebrow { margin-bottom: 6px; }
.gacha-prize b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--head); margin-bottom: 4px; }
.gacha-prize .code {
  display: inline-block; margin-top: 8px; font-family: ui-monospace, Consolas, monospace; font-weight: 700;
  letter-spacing: .06em; background: var(--surface); border: 1px dashed var(--gold); border-radius: 8px; padding: 6px 12px;
}
.gacha-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gacha-actions .btn { flex: 1; min-width: 140px; text-align: center; }
.brand .logo {
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}
.script, .tagline {
  font-family: var(--f-script);
  color: var(--terra);
}

/* Charte La Magie du Papillon / L’Atelier : taupe, crème, beige, marron, doré.
   Joue et Crée garde la charte sauge ci-dessus (:root). */
body[data-univers="papillon"] {
  --bg: #F7F1EA;
  --surface: #FFFCF7;
  --ink: #4A3B30;
  --muted: #8A7360;
  --line: #E4D5C4;
  --head: #6B5344;
  --sage: #8A7360;
  --sand: #EFE4D6;
  --beige: #D4B89A;
  --terra: #A07860;
  --gold: #C9A24B;
  --night: #6B5344;
  --night-ink: #FFFCF7;
  --star: #A07860;
  --star-ink: #FFFCF7;
  --cta-bg: #6B5344;
  --cta-ink: #FFFCF7;
  --focus: #C9A24B;
  --t-noel: #8B5A4A;
  --t-paques: #9A8A6A;
  --t-amour: #A67C78;
  --t-cirque: #8A7A6A;
  --t-anniv: #C9A24B;
  --t-foret: #6B5344;
  --t-ferme: #A07860;
}
body[data-univers="papillon"] .announcement {
  background: #6B5344;
  color: #FFFCF7;
}
body[data-univers="papillon"] .btn.primary {
  background: var(--cta-bg);
  color: var(--cta-ink);
}
body[data-univers="papillon"] .cart-btn {
  background: var(--terra);
  color: #FFFCF7;
}
body[data-univers="papillon"] .eyebrow {
  color: var(--terra);
}
body[data-univers="papillon"] a[aria-current="page"] {
  color: var(--terra);
}

/* Habillage de Noël : aperçu avec ?noel=1 */
html.noel #noel-sky,
html.noel #noel-garland { pointer-events: none; }
html.noel #noel-sky {
  position: fixed;
  inset: 0;
  z-index: 25;
  overflow: hidden;
}
html.noel #noel-sky .glow {
  position: absolute;
  left: -12%;
  top: -18%;
  width: 58%;
  height: 48%;
  background: radial-gradient(circle, rgba(255, 228, 170, 0.42), transparent 68%);
}
html.noel #noel-sky .flake,
html.noel #noel-sky .dot {
  position: absolute;
  top: -24px;
  left: var(--x);
  animation: noel-fall var(--d) linear var(--delay) infinite;
}
html.noel #noel-sky .flake {
  width: calc(18px * var(--s));
  height: calc(18px * var(--s));
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
  opacity: 0.9;
}
html.noel #noel-sky .flake svg { width: 100%; height: 100%; display: block; }
html.noel #noel-sky .dot {
  width: calc(7px * var(--s));
  height: calc(7px * var(--s));
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.82);
  box-shadow: 0 0 8px rgba(255, 244, 214, 0.9);
}
html.noel #noel-garland {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: clamp(124px, 18vw, 188px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2px;
  margin-bottom: -36px;
  object-fit: cover;
  object-position: center 47%;
  position: relative;
  z-index: 36;
}
@keyframes noel-fall {
  0% { transform: translate3d(0, -20px, 0); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translate3d(16px, 105vh, 0); opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  html.noel #noel-sky { display: none; }
}
