/* ============================================================
   CARAT — Univers par senteur + composants de conversion
   Charger APRÈS product-elixir.css.

   Remplace les fichiers d'override product-elixir-{velours,azur,
   iles}.css : le thème tient dans un bloc de variables sur
   [data-scent], tout le reste de la feuille ne lit que --sc-*.
   ============================================================ */

/* ── Velours Sucré · gourmand, crémeux, enveloppant ────────── */
[data-scent="velours-sucre"] {
  --sc-accent:      #C08B7A;   /* or rosé              */
  --sc-accent-dk:   #A56E5D;
  --sc-accent-lt:   #E0BFB2;
  --sc-tint:        #F7EFE9;   /* fond doux            */
  --sc-tint-2:      #EFE1D8;   /* fond alterné         */
  --sc-ink:         #2E241F;
  --sc-ink-soft:    #6F5C51;
  --sc-line:        rgba(192,139,122,.26);
  --sc-btn:         linear-gradient(135deg, #D3A18E 0%, #B07C69 100%);
  --sc-btn-shadow:  rgba(176,124,105,.40);
}

/* ── Perle d'Azur · propre, frais, cristallin ─────────────── */
[data-scent="perle-azur"] {
  --sc-accent:      #6F8FA6;
  --sc-accent-dk:   #537F9C;
  --sc-accent-lt:   #AEC6D6;
  --sc-tint:        #F1F5F8;
  --sc-tint-2:      #E3EBF1;
  --sc-ink:         #1F2B33;
  --sc-ink-soft:    #5B6C78;
  --sc-line:        rgba(111,143,166,.26);
  --sc-btn:         linear-gradient(135deg, #7FAEC5 0%, #537F9C 100%);
  --sc-btn-shadow:  rgba(83,127,156,.40);
}

/* ── Nectar Doré · solaire, opulent, lumineux ─────────────── */
[data-scent="nectar-dore"] {
  --sc-accent:      #C4A051;
  --sc-accent-dk:   #A8873A;
  --sc-accent-lt:   #E0C88A;
  --sc-tint:        #F9F3E7;
  --sc-tint-2:      #F0E5D0;
  --sc-ink:         #2E2617;
  --sc-ink-soft:    #6F6247;
  --sc-line:        rgba(196,160,81,.28);
  --sc-btn:         linear-gradient(135deg, #D8BA7A 0%, #A8873A 100%);
  --sc-btn-shadow:  rgba(168,135,58,.40);
}

/* ── Cerisier Poudré · floral, végétal, apaisant ───────────── */
[data-scent="cerisier-poudre"] {
  /* Rouge cerise clair — aligné sur l'étiquette Cerisier Poudré.
     Volontairement plus froid et plus soutenu que le rose chaud de
     Velours Sucré, pour que les deux fiches ne se confondent pas. */
  --sc-accent:      #B46975;
  --sc-accent-dk:   #8E4A55;
  --sc-accent-lt:   #E3B9BF;
  --sc-tint:        #FBF2F3;
  --sc-tint-2:      #F4E2E4;
  --sc-ink:         #2E2124;
  --sc-ink-soft:    #6E555A;
  --sc-line:        rgba(180,105,117,.26);
  --sc-btn:         linear-gradient(135deg, #C98089 0%, #8E4A55 100%);
  --sc-btn-shadow:  rgba(142,74,85,.40);
}

/* ── Musc de Soie · floral, doux, élégant ───────────────────── */
[data-scent="musc-de-soie"] {
  /* Lilas relevé sur l'étiquette Musc de Soie (encre prune, filets
     lilas). Plus froid que le rose de Velours Sucré, plus chaud que
     le bleu de Perle d'Azur : aucune fiche ne se confond. */
  --sc-accent:      #8A6F9E;
  --sc-accent-dk:   #6B4F80;
  --sc-accent-lt:   #CDBBDB;
  --sc-tint:        #F6F2F8;
  --sc-tint-2:      #ECE4F1;
  --sc-ink:         #2A2230;
  --sc-ink-soft:    #685C70;
  --sc-line:        rgba(138,111,158,.26);
  --sc-btn:         linear-gradient(135deg, #A38BB5 0%, #6B4F80 100%);
  --sc-btn-shadow:  rgba(107,79,128,.40);
}

/* ── Reprise des accents existants par variable ───────────── */
[data-scent] .pd-btn-add {
  background: var(--sc-btn);
  box-shadow: 0 4px 24px var(--sc-btn-shadow), 0 1px 4px rgba(0,0,0,.08);
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1);
}
/* Micro-animation discrète — jamais un rebond */
[data-scent] .pd-btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--sc-btn-shadow), 0 1px 4px rgba(0,0,0,.10);
}
[data-scent] .pd-btn-add:active { transform: translateY(0); }

[data-scent] .pd-price-row  { border-bottom-color: var(--sc-line); }
[data-scent] .pd-breadcrumb a:hover { color: var(--sc-accent); }
[data-scent] .nav--light,
[data-scent] .nav--light:not(.nav--scrolled) { border-bottom-color: var(--sc-line); }

/* ============================================================
   PREUVE SOCIALE COURTE — sous le CTA du hero
   ============================================================ */
.sc-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--sc-ink-soft);
}
.sc-proof__stars { color: var(--sc-accent); font-size: 11px; letter-spacing: 2px; }

/* ── Bénéfices courts — 3 max, sous la preuve ─────────────── */
.sc-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--sc-ink-soft);
}
.sc-bullets span { display: inline-flex; align-items: center; gap: 7px; }
.sc-bullets span::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--sc-accent);
  flex: 0 0 auto;
}

/* ── Réassurance e-commerce — discrète, près du bouton ────── */
.sc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sc-line);
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--sc-ink-soft);
}
.sc-trust span { display: inline-flex; align-items: center; gap: 6px; }
.sc-trust svg {
  width: 13px; height: 13px; flex: 0 0 auto;
  fill: none; stroke: var(--sc-accent); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   NOTES OLFACTIVES — rangée horizontale
   Remplace les trois colonnes Tête / Cœur / Fond.
   ============================================================ */
.sc-notes {
  background: var(--sc-tint);
  padding: clamp(44px,9vw,68px) 0;
  text-align: center;
}
.sc-notes__label {
  display: block;
  font-family: var(--f-sans);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--sc-accent);
  margin-bottom: clamp(22px,4.5vw,30px);
}
/* Mobile : une rangée qui glisse sous le pouce */
.sc-notes__row {
  display: flex;
  align-items: center;
  gap: clamp(14px,4vw,26px);
  padding: 0 clamp(22px,6vw,64px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sc-notes__row::-webkit-scrollbar { display: none; }
.sc-notes__note {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--f-serif);
  font-size: clamp(13.5px,3.6vw,16px);
  color: var(--sc-ink);
  white-space: nowrap;
}
.sc-notes__ico {
  width: 20px; height: 20px;
  fill: none; stroke: var(--sc-accent); stroke-width: 1.15;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .9;
}

@media (min-width: 900px) {
  .sc-notes__row { justify-content: center; flex-wrap: wrap; overflow-x: visible; }
}

/* ============================================================
   POURQUOI VOUS ALLEZ L'AIMER
   ============================================================ */
.sc-why {
  background: var(--sc-tint-2);
  padding: clamp(52px,11vw,84px) clamp(24px,6vw,64px);
}
.sc-why__inner { max-width: 640px; margin: 0 auto; }
.sc-why__title {
  font-family: var(--f-serif);
  font-size: clamp(22px,5.6vw,32px);
  font-weight: 400;
  color: var(--sc-ink);
  margin: 0 0 clamp(24px,5vw,34px);
  text-align: center;
}
.sc-why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sc-why__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--f-sans);
  font-size: clamp(13px,3.4vw,15px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--sc-ink);
}
.sc-why__list svg {
  width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px;
  fill: none; stroke: var(--sc-accent); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   DUO & COFFRET — panier moyen
   ============================================================ */
.sc-bundle {
  background: var(--sc-tint);
  padding: clamp(52px,11vw,84px) clamp(24px,6vw,64px);
  text-align: center;
}
.sc-bundle__inner { max-width: 680px; margin: 0 auto; }
.sc-bundle__q {
  font-family: var(--f-serif);
  font-size: clamp(19px,5vw,26px);
  color: var(--sc-ink);
  margin: 0 0 clamp(22px,5vw,30px);
}
.sc-bundle__grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.sc-bundle__card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--sc-line);
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  text-align: left;
  transition: border-color .35s, transform .35s;
}
.sc-bundle__card:hover { border-color: var(--sc-accent); transform: translateY(-2px); }
.sc-bundle__card img {
  width: 46px; height: 46px; flex: 0 0 auto;
  object-fit: contain;
}
.sc-bundle__txt { flex: 1; }
.sc-bundle__name {
  display: block;
  font-family: var(--f-serif);
  font-size: 15px; color: var(--sc-ink); margin-bottom: 3px;
}
.sc-bundle__meta {
  display: block;
  font-family: var(--f-sans);
  font-size: 11px; color: var(--sc-ink-soft);
}
.sc-bundle__price {
  font-family: var(--f-serif);
  font-size: 16px; color: var(--sc-accent-dk); white-space: nowrap;
}

@media (min-width: 700px) { .sc-bundle__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAQ COURTE
   ============================================================ */
.sc-faq {
  background: var(--sc-tint-2);
  padding: clamp(52px,11vw,84px) clamp(24px,6vw,64px);
}
.sc-faq__inner { max-width: 640px; margin: 0 auto; }
.sc-faq__title {
  font-family: var(--f-serif);
  font-size: clamp(22px,5.6vw,32px);
  font-weight: 400;
  color: var(--sc-ink);
  margin: 0 0 clamp(22px,5vw,30px);
  text-align: center;
}
.sc-faq__item { border-bottom: 1px solid var(--sc-line); }
.sc-faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  background: none; border: 0;
  font-family: var(--f-sans);
  font-size: clamp(13px,3.4vw,14.5px);
  font-weight: 500;
  color: var(--sc-ink);
  text-align: left;
  cursor: pointer;
}
.sc-faq__q::after {
  content: '+';
  font-size: 18px; font-weight: 300;
  color: var(--sc-accent);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.sc-faq__item.is-open .sc-faq__q::after { transform: rotate(45deg); }
.sc-faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.22,.61,.36,1);
}
.sc-faq__item.is-open .sc-faq__a { max-height: 320px; }
.sc-faq__a p {
  margin: 0 0 18px;
  font-family: var(--f-sans);
  font-size: clamp(12.5px,3.2vw,14px);
  font-weight: 300; line-height: 1.8;
  color: var(--sc-ink-soft);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.sc-final {
  background: var(--sc-tint);
  padding: clamp(58px,12vw,96px) clamp(24px,6vw,64px)
           calc(clamp(58px,12vw,96px) + 76px);   /* place pour la barre fixe */
  text-align: center;
}
.sc-final__inner { max-width: 520px; margin: 0 auto; }
.sc-final__title {
  font-family: var(--f-serif);
  font-size: clamp(24px,6vw,36px);
  font-weight: 400;
  color: var(--sc-ink);
  margin: 0 0 10px;
}
.sc-final__sub {
  font-family: var(--f-sans);
  font-size: clamp(12px,3.2vw,14px);
  font-weight: 300;
  color: var(--sc-ink-soft);
  margin: 0 0 clamp(26px,5.5vw,34px);
}
.sc-final .pd-btn-add { width: 100%; max-width: 340px; }

@media (min-width: 900px) {
  .sc-final { padding-bottom: clamp(58px,12vw,96px); }
}

/* ============================================================
   BARRE D'ACHAT FIXE — mobile, après le premier scroll
   ============================================================ */
/* Barre d'achat des fiches — même langage que la barre sticky du reste
   du site (noir CARAT, champagne) : l'achat ne change pas de marque en
   changeant de page. Aucune ombre portée, aucune pulsation. */
.sc-buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(14px,4vw,20px)
           calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14,12,11,.92);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(201,162,77,.22);
  transform: translateY(110%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.sc-buybar.is-on { transform: translateY(0); }
/* Jamais par-dessus le mini-panier, le menu ou la recherche. */
body.cart-open .sc-buybar,
body.drawer-open .sc-buybar,
body.search-open .sc-buybar { transform: translateY(110%); }

.sc-buybar__txt { flex: 1; min-width: 0; }
.sc-buybar__name {
  display: block;
  font-family: var(--f-serif);
  font-size: 15px; color: #F0EBE2;
  line-height: 1.15;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-buybar__price {
  display: block;
  font-family: var(--f-sans);
  font-size: 12px; letter-spacing: .04em; color: rgba(240,235,226,.62);
  margin-top: 3px;
}
.sc-buybar__btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #C9A24D, #B58F3D);
  color: #1A1206;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.sc-buybar__btn:active { transform: scale(.97); }
.sc-buybar__btn:focus-visible { outline: 1px solid #F0EBE2; outline-offset: 2px; }

@media (min-width: 900px) { .sc-buybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .sc-buybar, .sc-buybar__btn { transition: none; } }

/* ============================================================
   HERO MOBILE — le CTA doit rester au-dessus de la ligne
   de flottaison. L'image cède les pixels, jamais le bouton.
   ============================================================ */
@media (max-width: 899px) {
  [data-scent] .pd-hero__visual-img {
    height: 420px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 48%;
  }
}

/* ── V21 — L'économie chiffrée sur les packs ──────────────────
   Le duo était affiché à 49,80 € (plein tarif) alors que le panier
   facture 44,90 €. Un pack dont la valeur n'est pas démontrée n'est
   pas un pack : c'est un produit cher. */
.sc-bundle__price {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  line-height: 1.25;
}
.sc-bundle__price-old {
  font-size: .72em; opacity: .45; text-decoration: line-through;
}
.sc-bundle__save {
  font-family: var(--f-sans); font-style: normal;
  font-size: 9px; letter-spacing: .10em; text-transform: uppercase;
  color: var(--sc-accent-dk, #8E4A55); white-space: nowrap;
}

/* La sensation, lue avant les notes détaillées. Même style que le
   sous-titre de la fiche (.pd-sub) : seule la mise en place change. */
.sc-notes__sensation {
  max-width: 40em; text-wrap: balance;
  margin: calc(-1 * clamp(8px, 2vw, 14px)) auto clamp(22px, 4.5vw, 30px);
  padding: 0 24px;
}
