/* Literie Store — démo v3 : clair, doux, raffiné.
   Inspiré des codes des grandes marques de literie (fond clair, cartes arrondies, titres en serif).
   Les jetons « night / cream » gardent leur nom mais deviennent : fond de scène clair / encre foncée.
   Les thèmes de saison (Black November, Soldes) les repassent en sombre ou en rouge. */

:root {
  --ivory: #f8f4ee;
  --sand: #efe6da;
  --sand-2: #e5d9c9;
  --paper: #fffdf9;
  --ink: #241d18;

  --night: var(--ivory);          /* fond des grandes scènes */
  --night-2: #f1e9de;             /* un ton plus bas */
  --cream: var(--ink);            /* texte des scènes */
  --cream-soft: #6e6258;
  --linen: #f4ede3;

  --stage-panel: var(--sand);     /* plateau arrondi où pose le matelas */
  --map-land: #e7dccd;
  --map-water: #b7cad6;
  --ghost-bg: var(--sand-2);
  --on-tile: var(--sand-2);

  /* Titres : serif élégant. Pour revenir à la charte (Helvetica partout), remplacer cette ligne par var(--font). */
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
}

/* ---------- Titres raffinés ---------- */
.intro__title, .lc__name, .guide__title, .q__title, .res__name, .well__title, .brands__title, .best__title,
.shops__title, .buy__name, .inside__title, .cn__title, .demo__title, .card__name, .drawer__nav a, .shop__name, .next h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
}
.intro__title { font-size: clamp(48px, 13vw, 140px); line-height: .96; }
@media (min-width: 1000px) { .intro__title { font-size: clamp(64px, 6.4vw, 124px); } }
.lc__name { font-size: clamp(34px, 8.4vw, 64px); line-height: 1; }
.guide__title, .well__title, .brands__title, .best__title, .shops__title, .inside__title { line-height: .98; }
.buy__name { font-size: clamp(44px, 11vw, 84px); }
.res__name { font-size: clamp(40px, 10vw, 72px); }
.q__title { font-size: clamp(34px, 8.6vw, 60px); }
.card__name { font-size: 28px; }
.shop__name { font-size: 28px; }
.demo__title { font-size: 32px; }
.cn__title { font-size: 40px; }
.drawer__nav a { font-size: 42px; }

/* ---------- Doux : arrondis partout (le logo reste carré, comme la charte) ---------- */
.btn, .themer__btn, .themer__opt, .arrow, .item__add, .gallery__layers button, .search input,
.buy__off, .card__price em, .firm__gauge span { border-radius: 999px; }
.buy__off, .card__price em { padding: 4px 10px; }
.opt, .size, .view, .deliv__opt, .item, .alt, .inside__item, .shop, .marquee li, .cn__pack, .deliv__shop select, .themer__panel { border-radius: var(--r-md); }
.anatomy__visual, .gallery__stage, .card__img, .demo__svg, .guide__visual, .shops__map, .cn__sheet { border-radius: var(--r-lg); }
.facts { border-radius: var(--r-md); overflow: hidden; }
.facts div { border-radius: 0; }
.logo { border-radius: 0; }
.cn__sheet { overflow: hidden; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (min-width: 800px) { .cn__sheet { border-radius: var(--r-lg) 0 0 var(--r-lg); } }
.card__img { overflow: hidden; }
.res__why li::before, .points li::before { border-radius: 999px; }
.cn__check { border-radius: 999px; }

/* Le texte sur les pavés sombres reste clair */
.opt[aria-pressed="true"], .size[aria-pressed="true"], .view[aria-pressed="true"], .btn--add.is-added,
.cn__pack, .btn--ink, .btn.is-done, .arrow:hover { color: var(--paper); }
.size[aria-pressed="true"] small, .opt[aria-pressed="true"] small { color: #d9cfc3; }

/* ---------- Clair : les scènes passent sur des plateaux de sable ---------- */
.anatomy__visual { background: var(--stage-panel); }
.is-scene .anatomy__visual { margin: 8px 0 12px; padding: 4%; }
@media (min-width: 1000px) { .is-scene .anatomy__visual { margin: 32px 0; height: calc(100% - 64px); } }
.gallery__stage, .card__img, .demo__svg, .shops__map { background: var(--stage-panel); }
.map__paris { fill: var(--map-land); }
.map__seine { stroke: var(--map-water); }
.map__road { stroke: #b9ab99; }
.shop.is-on { background: var(--on-tile); }
.btn--ghost { background: var(--ghost-bg); color: var(--cream); }
.gallery__layers button { background: var(--paper); color: var(--ink); }
.header { box-shadow: none; }
.header.is-scrolled, .header { background: var(--ground); }
.icon-btn:hover { background: var(--night-2); }

/* Les cartes se soulèvent un peu au survol */
.card a { transition: transform .45s var(--ease-out); }
.card a:hover { transform: translateY(-4px); }

/* Sections : un rythme plus aéré */
.well { background: var(--ivory); }
.brands { background: var(--paper); }
.marquee li { background: var(--ivory); }
.trust { background: var(--sand); }

/* ---------- Pied de page : brun chaud, la seule section sombre ---------- */
.footer {
  --cream: #f3ede4; --cream-soft: #b8ab9d;
  background: #2a211b; color: var(--cream);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.shop__name::before { border-radius: 999px; }
