/* ===========================================================
   LUCITELLE — Maison du soin par la lumière
   Direction artistique : « lumière du soir »
   Ivoire chaud, sable (la couleur du masque), nuit brune,
   et une seule lumière vive : le rouge braise des LED.
   =========================================================== */

:root {
  --ivory: #F7F2EC;
  --linen: #EFE6DA;
  --sand: #E4D4BF;
  --clay: #A8755A;
  --ember: #D2452F;
  --ember-soft: #F06A4A;
  --violet: #6F6BD8;      /* 415 nm */
  --infra: #8E3B6E;       /* 830 nm, rendu visuel */
  --night: #1C1411;
  --night-2: #2A1E19;
  --ink: #231A16;
  --muted: #6E5F55;
  --line: rgba(35, 26, 22, .12);
  --line-light: rgba(247, 242, 236, .16);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: 20px;
  --max: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--clay); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--ember-soft); }
p { margin: 0 0 1em; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--clay); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 40ch; }
.dark .lead { color: rgba(247,242,236,.72); }
.small { font-size: .82rem; color: var(--muted); }
.dark .small { color: rgba(247,242,236,.6); }
sup.fn { font-size: .62em; vertical-align: super; line-height: 0; }
sup.fn a { text-decoration: none; color: var(--clay); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(201,86,28,.6); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #b93926; box-shadow: 0 12px 34px -10px rgba(201,86,28,.7); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(35,26,22,.06); }
.dark .btn-ghost:hover { background: rgba(247,242,236,.08); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn .price-tag { font-weight: 500; opacity: .8; padding-left: 10px; border-left: 1px solid currentColor; }
.link { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Barre d'annonce ---------- */
.announce {
  background: var(--night); color: var(--sand); font-size: .76rem; letter-spacing: .04em;
  text-align: center; padding: 9px var(--gutter); overflow: hidden;
}
.announce ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 28px; }
.announce li { white-space: nowrap; display: none; }
.announce li:first-child { display: block; }
.announce strong { color: #fff; font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: var(--header-h);
  background: rgba(247,242,236,.95); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 30px; width: auto; }
.nav { display: none; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; display: inline-grid; place-items: center; position: relative; text-decoration: none; }
.icon-btn:hover { background: rgba(35,26,22,.06); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ember); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--ivory);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .top .icon-btn:hover { background: rgba(255,255,255,.08); }
.mobile-menu nav { margin-top: 40px; display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.4rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu .foot { margin-top: auto; font-size: .85rem; color: rgba(247,242,236,.6); }

/* ---------- Tiroir panier ---------- */
.scrim { position: fixed; inset: 0; background: rgba(28,20,17,.45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.drawer-foot { padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--linen); }
.ship-note { display: flex; gap: 10px; align-items: center; font-size: .84rem; margin-bottom: 14px; color: var(--muted); }
.ship-note svg { width: 18px; flex: none; color: var(--clay); }

.line-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); }
.line-item .name { font-weight: 700; font-size: .95rem; line-height: 1.3; text-decoration: none; }
.line-item .ref { font-size: .78rem; color: var(--muted); }
.line-item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.line-item .remove { background: none; border: 0; padding: 4px 0; font-size: .78rem; color: var(--muted); text-decoration: underline; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 40px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: rgba(35,26,22,.06); }
.qty output, .qty input { width: 30px; text-align: center; font-weight: 700; border: 0; background: none; font: inherit; font-weight: 700; }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.1rem; font-weight: 800; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.empty { text-align: center; padding: 56px 10px; }
.empty p { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--ivory); }
.hero-media { position: relative; height: 62vh; min-height: 380px; max-height: 620px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,20,17,0) 45%, rgba(28,20,17,.92) 92%, var(--night)); }
.hero-copy { position: relative; padding: 0 var(--gutter) 40px; margin-top: -120px; z-index: 2; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lead { margin-top: 18px; color: rgba(247,242,236,.78); }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .8rem; color: rgba(247,242,236,.7); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; color: var(--ember-soft); }
.authorized {
  display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-light); border-radius: 999px; padding: 7px 14px 7px 10px; margin-bottom: 18px; color: var(--sand);
}
.authorized i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; position: relative; }
.section.tight { padding: 52px 0; }
.dark { background: var(--night); color: var(--ivory); }
.linen { background: var(--linen); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Réassurance */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.trust > div { background: var(--ivory); padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; }
.trust svg { width: 24px; height: 24px; color: var(--clay); }
.trust strong { font-size: .9rem; line-height: 1.3; }
.trust span { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* Trois zones */
.zones { display: grid; gap: 14px; }
.zone-card { background: #fff; border-radius: var(--radius); overflow: hidden; }
.zone-card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.zone-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.zone-card:hover .img img { transform: scale(1.04); }
.zone-card .txt { padding: 20px; }
.zone-card .num { font-family: var(--serif); font-size: 1rem; color: var(--clay); font-style: italic; }
.zone-card h3 { margin: 4px 0 8px; }
.zone-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Modes (onglets) */
.modes-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 26px; padding: 0 var(--gutter); }
.modes-tabs::-webkit-scrollbar { display: none; }
.modes-tabs button {
  flex: none; border: 1px solid var(--line-light); background: transparent; color: var(--ivory);
  border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: .88rem; min-height: 46px;
  transition: background .25s, color .25s, border-color .25s;
}
.modes-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.mode-panel { display: grid; gap: 26px; }
.mode-panel[hidden] { display: none; }
.mode-panel .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.mode-panel .media img { width: 100%; height: 100%; object-fit: cover; }
.mode-panel .media .glow { position: absolute; inset: 0; mix-blend-mode: soft-light; pointer-events: none; }
.mode-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border-radius: var(--radius-sm); overflow: hidden; margin: 22px 0; }
.mode-facts div { background: var(--night-2); padding: 14px 12px; }
.mode-facts dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(247,242,236,.55); }
.mode-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 4.6vw, 1.5rem); line-height: 1.1; }
.mode-panel h3 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.mode-panel p { color: rgba(247,242,236,.75); }

/* Spectre */
.spectrum { margin-top: 6px; }
.spectrum-bar { position: relative; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #3b2f9e 0%, #6f6bd8 9%, #3fa0c9 20%, #5bbf7a 30%, #e9cf55 40%, #e98a3b 48%, #d2452f 56%, #8e2632 66%, #4a1626 82%, #2a0e18 100%); opacity: .9; }
.spectrum-bar .dot { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%) scale(.6); border: 2px solid var(--ivory); background: var(--c); opacity: .25; transition: transform .45s var(--ease), opacity .45s, box-shadow .45s; }
.spectrum-bar .dot.on { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 22px var(--c); }
.spectrum-labels { position: relative; height: 36px; margin-top: 10px; font-size: .74rem; color: rgba(247,242,236,.55); }
.spectrum-labels span { position: absolute; transform: translateX(-50%); text-align: center; line-height: 1.25; transition: color .3s; white-space: nowrap; }
.spectrum-labels span.on { color: var(--ivory); font-weight: 700; }
.spectrum-legend { display: flex; justify-content: space-between; font-size: .68rem; color: rgba(247,242,236,.4); text-transform: uppercase; letter-spacing: .12em; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--clay); font-style: italic; }
.steps h3 { font-size: 1.45rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.how-grid { display: grid; gap: 40px; }
.how-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.how-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.note-box { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--linen); font-size: .86rem; display: flex; gap: 12px; }
.note-box svg { width: 20px; flex: none; color: var(--clay); margin-top: 2px; }

/* Preuve / étude */
.study { display: grid; gap: 30px; align-items: center; }
.study blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 5.4vw, 3rem); line-height: 1.12; }
.study .figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.study .fig { border-top: 1px solid var(--line-light); padding-top: 14px; }
.study .fig b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; color: var(--ember-soft); }
.study .fig span { font-size: .8rem; color: rgba(247,242,236,.65); }

/* Pourquoi Lucitelle */
.why { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.why > div { background: var(--ivory); padding: 26px 22px; }
.why .k { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.1rem; }
.why h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.why p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Est-ce pour moi */
.fit { display: grid; gap: 14px; }
.fit-card { border-radius: var(--radius); padding: 26px 22px; }
.fit-card.yes { background: #fff; }
.fit-card.no { background: var(--night); color: var(--ivory); }
.fit-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.fit-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.fit-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.fit-card li svg { width: 18px; margin-top: 3px; }
.fit-card.yes li svg { color: var(--clay); }
.fit-card.no li svg { color: var(--ember-soft); }
.fit-card .small { margin-top: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }
.dark .faq, .dark .faq details { border-color: var(--line-light); }
.dark .faq .ans { color: rgba(247,242,236,.72); }

/* CTA final */
.final { text-align: center; overflow: hidden; }
.final .halo { position: absolute; left: 50%; top: 40%; width: 760px; height: 760px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201,86,28,.45), rgba(201,86,28,.08) 45%, transparent 68%); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.06); } }
.final .packshot { position: relative; width: min(340px, 78%); margin: 0 auto 30px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.final .packshot img { border-radius: var(--radius); }
.final h2 { position: relative; max-width: 14ch; margin: 0 auto; }
.final .lead { position: relative; margin: 18px auto 28px; }
.final .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(247,242,236,.75); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer .brand p { max-width: 34ch; margin-top: 16px; }
.footer-grid { display: grid; gap: 34px; }
.footer h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 10px; font-size: .76rem; color: rgba(247,242,236,.5); }
.footer .logo svg { height: 34px; }

/* ---------- Fiche produit ---------- */
.breadcrumb { font-size: .78rem; color: var(--muted); padding: 14px 0; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 28px; padding-bottom: 60px; }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; scroll-snap-align: center; margin: 0; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.gallery-track figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track figure.contain img { object-fit: contain; padding: 6%; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 0; }
.gallery-dots button { width: 8px; height: 8px; padding: 0; border-radius: 4px; border: 0; background: var(--line); transition: width .3s var(--ease), background .3s; }
.gallery-dots button[aria-current="true"] { width: 22px; background: var(--ink); }
.gallery-thumbs { display: none; }
.gallery-arrows { display: none; }

.buybox .brand-line { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.buybox .brand-line .tag { background: var(--linen); color: var(--ink); border-radius: 999px; padding: 4px 10px; letter-spacing: .08em; }
.buybox h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); margin: 12px 0 10px; }
.buybox .sub { color: var(--muted); margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.price-compare { text-decoration: line-through; color: var(--muted); }
.price-note { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.early-bird {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 10px;
  padding: 5px 12px;
  border: 1px solid rgba(184, 76, 25, .28);
  border-radius: 999px;
  background: rgba(184, 76, 25, .08);
  color: #B84C19;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.early-bird b { font-weight: 800; }
.option-group { margin-bottom: 22px; }
.option-group > .label { font-size: .8rem; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .86rem; background: #fff; display: inline-flex; align-items: center; gap: 8px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.atc-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 16px; }
.atc-row .qty { height: 54px; }
.atc-row .qty button { width: 44px; height: 52px; }
.assure { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: .88rem; }
.assure li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.assure svg { width: 20px; color: var(--clay); margin-top: 1px; }
.assure b { font-weight: 700; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; transition: transform .3s; }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .ans { padding-bottom: 20px; color: var(--muted); font-size: .94rem; }
.accordion .ans ul { padding-left: 18px; margin: 0; }

.specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 600; color: var(--muted); width: 44%; padding-right: 12px; }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(247,242,236,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-atc.on { transform: none; }
.sticky-atc .meta { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-atc .meta b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .meta span { font-size: .84rem; color: var(--muted); }
.sticky-atc .btn { min-height: 50px; padding: 0 22px; }

.box-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 0; }
.box-list li { background: #fff; border-radius: var(--radius-sm); padding: 14px; font-size: .86rem; font-weight: 600; }
.box-list li span { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }

/* ---------- Pages simples ---------- */
.page-hero { padding: 56px 0 30px; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); }
.page-hero .lead { margin-top: 14px; }
.prose { max-width: 720px; padding-bottom: 80px; }
.prose h2 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); margin: 44px 0 14px; }
.prose h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 800; margin: 26px 0 8px; letter-spacing: 0; line-height: 1.4; }
.prose p, .prose li { color: #4d4038; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.todo { background: #FCE9DF; color: #7a2a17; border-radius: 6px; padding: 1px 6px; font-weight: 700; font-size: .92em; }
.callout { background: var(--linen); border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0; }
.callout p:last-child { margin: 0; }

.about-img { border-radius: var(--radius); overflow: hidden; margin: 10px 0 30px; aspect-ratio: 16/9; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* Formulaire contact */
.form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(35,26,22,.08); }

/* Panier / commande */
.cart-page { display: grid; gap: 30px; padding-bottom: 80px; }
.summary { background: #fff; border-radius: var(--radius); padding: 22px; align-self: start; }
.summary h2 { font-size: 1.8rem; margin-bottom: 16px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .76rem; color: var(--muted); align-items: center; }
.preview-banner { background: #FCE9DF; color: #7a2a17; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .86rem; margin-bottom: 16px; }
.preview-banner b { display: block; margin-bottom: 2px; }
.checkout-steps { display: flex; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.checkout-steps span { display: inline-flex; align-items: center; gap: 6px; }
.checkout-steps span.on { color: var(--ink); font-weight: 700; }
.checkout-steps i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: .7rem; }
.checkout-steps span.on i { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; background: var(--ink); color: var(--ivory); padding: 14px 20px; border-radius: 999px; font-size: .88rem; font-weight: 600; z-index: 90; max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Animations d'apparition ---------- */
.reveal { transform: translateY(22px); transition: transform 1s var(--ease); }
.reveal.in { transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   Tablette
   =========================================================== */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .announce li { display: block; }
  .announce li + li::before { content: "·"; margin-right: 28px; color: var(--clay); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .zones { grid-template-columns: repeat(3, 1fr); }
  .hero-ctas { flex-direction: row; }
  .why { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer .legal { flex-direction: row; justify-content: space-between; }
  .box-list { grid-template-columns: repeat(3, 1fr); }
  .gallery { margin: 0; }
  .gallery-track figure { border-radius: var(--radius); }
}

/* ===========================================================
   Desktop
   =========================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 76px; --gutter: 48px; }
  .nav { display: flex; gap: 34px; }
  .menu-toggle { display: none !important; }
  .section { padding: 120px 0; }
  .section.tight { padding: 72px 0; }

  .hero { min-height: 680px; display: flex; align-items: flex-end; }
  .hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: 42%; height: auto; max-height: none; }
  .hero-media img { object-position: 78% 35%; }
  .hero-media::after { background: linear-gradient(90deg, var(--night) 0%, rgba(28,20,17,.55) 18%, rgba(28,20,17,0) 45%), linear-gradient(0deg, rgba(28,20,17,.45), transparent 30%); }
  .hero-copy h1 { font-size: clamp(3.4rem, 5.2vw, 5.4rem); }
  .hero-copy { align-self: center; }
  .trust > div { padding: 28px 32px; }
  .hero-copy { margin: 0 auto; width: 100%; max-width: var(--max); padding: 70px var(--gutter); }
  .hero-copy .lead { font-size: 1.15rem; }

  .mode-panel { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .how-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .study { grid-template-columns: 1.3fr 1fr; gap: 80px; }
  .why { grid-template-columns: repeat(4, 1fr); }
  .why > div { padding: 34px 28px; }
  .faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }

  .pdp { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
  .buybox { position: sticky; top: calc(var(--header-h) + 20px); }
  .gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
  .gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
  .gallery-thumbs button { padding: 0; border: 1px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 1; transition: border-color .25s; }
  .gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
  .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-dots { display: none; }
  .gallery-main { position: relative; }
  .gallery-arrows { display: flex; position: absolute; right: 14px; bottom: 14px; gap: 8px; }
  .gallery-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
  .sticky-atc { display: none; }

  .cart-page { grid-template-columns: 1.5fr 1fr; gap: 60px; }
  .summary { position: sticky; top: calc(var(--header-h) + 20px); }
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
}
.zone-card .img.contain { background: #fff; }
.zone-card .img.contain img { object-fit: contain; padding: 5% 0; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 1024px) { .gallery-main { align-self: start; } .gallery-thumbs { max-height: 100%; } }

/* ===========================================================
   V2 — FINITIONS PREMIUM
   =========================================================== */
:root {
  --r-card: 20px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(60, 35, 20, .05), 0 4px 14px -6px rgba(60, 35, 20, .10);
  --shadow-md: 0 2px 4px rgba(60, 35, 20, .04), 0 18px 40px -18px rgba(60, 35, 20, .28);
  --shadow-lg: 0 30px 70px -30px rgba(40, 20, 10, .45);
  --ember-grad: linear-gradient(180deg, #DE563E 0%, #CB3F29 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.locked, html.locked body { overflow: hidden; }
::selection { background: rgba(201, 86, 28, .22); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.price, .totals, .li-price, .mode-facts dd, .fig b { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Matière : grain + lever de lumière sur les sections nuit ---------- */
.dark { position: relative; isolation: isolate; }
.dark::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.section.dark:not(.final)::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 140%); height: 420px; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(201, 86, 28, .16), rgba(201, 86, 28, 0)); pointer-events: none; z-index: -1;
}
/* Ligne d'horizon (motif du logo) en tête des sections nuit */
.section.dark { background-color: var(--night); background-image: linear-gradient(90deg, transparent, rgba(240, 106, 74, .55), transparent); background-size: min(560px, 80%) 1px; background-repeat: no-repeat; background-position: top center; }
.linen { background: linear-gradient(180deg, var(--linen), #F2EBE1); }

/* ---------- Photos : étalonnage doux, cadrage ---------- */
.zone-card .img img, .mode-panel .media img, .how-media img, .about-img img, .gallery-track figure:not(.contain) img { filter: saturate(1.04) contrast(1.02); }
.mode-panel .media, .how-media, .about-img { box-shadow: var(--shadow-lg); }
.mode-panel .media::after, .how-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.how-media { position: relative; }

/* ---------- Scène produit : packshot posé sur une lumière ---------- */
.stage, .gallery-track figure.contain, .zone-card .img.contain {
  position: relative; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 38%, #FBF8F4 0%, #F1E8DC 58%, #E8DCCB 100%);
}
.stage::before, .gallery-track figure.contain::before, .zone-card .img.contain::before {
  content: ""; position: absolute; left: 50%; bottom: 13%; width: 62%; height: 14%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 86, 28, .28), rgba(201, 86, 28, 0)); filter: blur(10px); z-index: -1;
}
.stage img, .gallery-track figure.contain img, .zone-card .img.contain img { mix-blend-mode: multiply; }
.zone-card .img.contain img { padding: 7% 0 5%; }

/* ---------- Cartes ---------- */
.zone-card { border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } }
.zone-card .txt { padding: 22px 22px 24px; }
.zone-card .num { font-size: .95rem; }
.trust > div { gap: 10px; }
.trust svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--linen); color: var(--clay); }
.why { border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.fit-card { border-radius: var(--r-card); }
.fit-card.yes { box-shadow: var(--shadow-sm); }
.fit-card.no { background: linear-gradient(160deg, var(--night-2), var(--night)); }
.summary { border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.note-box, .callout { border-radius: var(--r-sm); }

/* ---------- Boutons : système unifié ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate; min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: .94rem; letter-spacing: .005em; line-height: 1.1; user-select: none; touch-action: manipulation;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.btn > svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover > svg:last-child { transform: translateX(3px); }
.btn:active:not([disabled]) { transform: scale(.97); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.btn-ember { background: var(--ember-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(120,30,15,.25), 0 10px 24px -12px rgba(201,86,28,.75); }
.btn-ember::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
@media (hover: hover) {
  .btn-ember:hover:not([disabled]) { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(120,30,15,.25), 0 16px 32px -12px rgba(201,86,28,.85); background: var(--ember-grad); }
  .btn-ember:hover:not([disabled])::before { transform: translateX(120%); }
  .btn-primary:hover:not([disabled]) { background: #000; transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(0,0,0,.55); }
  .btn-ghost:hover:not([disabled]) { background: rgba(35,26,22,.06); }
  .dark .btn-ghost:hover:not([disabled]) { background: rgba(247,242,236,.1); border-color: var(--ivory); }
}
.btn-primary { background: var(--ink); color: var(--ivory); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.btn-ghost { border: 1px solid rgba(35,26,22,.35); color: var(--ink); background: transparent; }
.dark .btn-ghost { border-color: rgba(247,242,236,.4); color: var(--ivory); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; background: #E3D6C6; color: #8A7A6E; box-shadow: none; cursor: not-allowed; transform: none; }
.btn[disabled]::before { display: none; }
.btn .price-tag { font-weight: 600; opacity: .85; padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.4); }
.btn.is-loading { pointer-events: none; }
.btn.is-done { background: var(--night); color: var(--ivory); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.btn.is-done svg { width: 18px; animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-btn { background: none; border: 0; padding: 10px 4px; font-weight: 600; font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(110,95,85,.4); transition: color .2s; }
.text-btn:hover { color: var(--ink); text-decoration-color: currentColor; }
.icon-btn { transition: background .2s, transform .15s; }
.icon-btn:active { transform: scale(.92); }
.link { transition: color .2s, border-color .2s; }
.link:hover { color: var(--ember); }

.fly-dot { position: fixed; z-index: 95; width: 14px; height: 14px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(201,86,28,.2), 0 0 18px rgba(201,86,28,.8); pointer-events: none; }

/* ---------- Tiroir panier v2 ---------- */
.scrim { background: rgba(28,20,17,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer { width: min(460px, 100%); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); transition: transform .5s cubic-bezier(.32,.72,0,1), visibility .5s; background: var(--ivory); }
.drawer.open { transition: transform .5s cubic-bezier(.32,.72,0,1); }
@media (min-width: 700px) { .drawer { border-radius: 22px 0 0 22px; } }
.drawer-head { padding: 12px 12px 12px var(--gutter); padding-top: calc(12px + env(safe-area-inset-top)); }
.drawer-head h2 { font-size: 1.85rem; }
.drawer-count { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 600; vertical-align: middle; }
.drawer-added { display: flex; gap: 12px; align-items: center; margin: 12px var(--gutter) 0; padding: 12px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); font-size: .84rem; color: var(--muted); }
.drawer-added b { color: var(--ink); }
.drawer-added .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; }
.drawer-added .tick svg { width: 16px; }
.drawer-added.show { animation: slideIn .5s var(--ease) both; }
.drawer-added.show .tick svg { animation: pop .45s .15s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer-body { padding: 4px var(--gutter) 12px; overscroll-behavior: contain; }
.drawer-foot { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(60,35,20,.25); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.drawer-links { display: flex; justify-content: space-between; margin-top: 6px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }
.secure-note svg { width: 14px; flex: none; }
.ship-note { background: var(--linen); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 14px; }

/* Lignes article */
.line-item { grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; transition: opacity .25s, transform .25s; }
.line-item.leaving { opacity: 0; transform: translateX(24px); }
.li-img { display: block; border-radius: var(--r-sm); overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #FBF8F4, #EDE2D3); }
.line-item img { width: 88px; height: 88px; background: none; mix-blend-mode: multiply; padding: 6px; border-radius: 0; }
.li-body { min-width: 0; }
.li-top { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; }
.line-item .name { font-size: .94rem; line-height: 1.35; }
.line-item .name:hover { text-decoration: underline; text-underline-offset: 3px; }
.li-remove { flex: none; width: 36px; height: 36px; margin: -8px -8px 0 0; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.li-remove:hover { background: rgba(201,86,28,.08); color: var(--ember); }
.li-remove svg { width: 18px; }
.line-item .ref { margin-top: 2px; }
.line-item .row { margin-top: 12px; align-items: flex-end; }
.li-price { text-align: right; line-height: 1.2; }
.li-price strong { font-size: 1rem; }
.li-price span { display: block; font-size: .74rem; color: var(--muted); margin-top: 3px; }
.li-max { font-size: .74rem; color: var(--clay); margin: 8px 0 0; }
.qty { height: 42px; background: #fff; border-color: rgba(35,26,22,.16); }
.qty button { width: 42px; height: 40px; display: grid; place-items: center; transition: background .2s, color .2s; }
.qty button svg { width: 16px; }
.qty button:disabled { color: rgba(35,26,22,.25); cursor: not-allowed; background: none; }
.qty output { min-width: 26px; font-variant-numeric: tabular-nums; }
.totals { gap: 8px; font-size: .9rem; }
.totals div > span:first-child { color: var(--muted); }
.totals .free { color: var(--ember); font-weight: 700; }
.totals .grand { font-size: 1.15rem; padding-top: 12px; margin-top: 4px; }
.totals .grand span:first-child { color: var(--ink); }
.totals .grand small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; }

/* Panier vide */
.empty { padding: 40px 6px 30px; }
.empty-stage { width: 168px; height: 168px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #FBF8F4, #EADFCF); box-shadow: inset 0 -12px 30px -16px rgba(201,86,28,.35); }
.empty-stage img { width: 120px; height: auto; mix-blend-mode: multiply; opacity: .9; }
.empty-title { font-family: var(--serif); font-size: 1.9rem; color: var(--ink) !important; margin-bottom: 6px; }
.empty .btn { margin-top: 10px; }

/* ---------- Toast v2 ---------- */
.toast { display: flex; align-items: center; gap: 14px; border-radius: 14px; padding: 12px 14px 12px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); width: max-content; }
.toast button { background: none; border: 0; color: var(--ember-soft); font-weight: 800; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
html.has-sticky .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---------- Header & navigation ---------- */
.header { box-shadow: 0 1px 0 transparent; transition: box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: 0 8px 24px -18px rgba(60,35,20,.35); }
.logo { transition: opacity .2s; }
.logo:hover { opacity: .8; }
.cart-count { box-shadow: 0 0 0 2px var(--ivory); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; transition: color .2s, padding .3s var(--ease); }
.mobile-menu nav a::after { content: "→"; font-family: var(--sans); font-size: 1.1rem; opacity: .4; }
.mobile-menu nav a:active { color: var(--ember-soft); padding-left: 6px; }
.mobile-menu .cta { margin-top: 26px; }

/* ---------- Accordéons ---------- */
details .ans { overflow: hidden; }
.faq summary, .accordion summary { transition: color .2s; -webkit-tap-highlight-color: transparent; }
.faq summary:hover, .accordion summary:hover { color: var(--clay); }
.dark .faq summary:hover { color: var(--ember-soft); }
.accordion summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.accordion details[open]:not(.closing) summary::after, .faq details[open]:not(.closing) summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); }
.faq details.closing summary::after { transform: none; }
.accordion details.closing summary::after { transform: translateY(-50%); }

/* ---------- Onglets des modes ---------- */
.modes-tabs button { transition: background .3s var(--ease), color .3s, border-color .3s, transform .15s; }
.modes-tabs button:hover:not([aria-selected="true"]) { border-color: rgba(247,242,236,.45); background: rgba(247,242,236,.05); }
.modes-tabs button:active { transform: scale(.97); }
.mode-panel.fade-in { animation: fadeUp .55s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mode-facts { border: 1px solid var(--line-light); }

/* ---------- Galerie ---------- */
.gallery-main { position: relative; }
.gallery-count { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-size: .74rem; font-weight: 700; letter-spacing: .06em; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 11px; color: var(--ink); font-variant-numeric: tabular-nums; }
.gallery-track { cursor: grab; }
.gallery-track figure img { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .gallery-track figure:hover img { transform: scale(1.03); } }
.gallery-thumbs button { transition: border-color .25s, opacity .25s, transform .25s; opacity: .7; }
.gallery-thumbs button[aria-current="true"], .gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button:hover { transform: translateY(-1px); }
.gallery-arrows button { transition: transform .2s, background .2s; }
.gallery-arrows button:hover { transform: scale(1.06); background: #fff; }
@media (min-width: 700px) { .gallery-track figure { border-radius: var(--r-card); } }

/* ---------- Fiche produit ---------- */
.buybox h1 { letter-spacing: -.015em; }
.price { font-size: 1.85rem; }
.chip { border-radius: 999px; padding: 9px 14px; box-shadow: var(--shadow-sm); border-color: transparent; }
.atc-row .btn { min-height: 56px; }
.atc-row .qty { height: 56px; border-radius: 999px; }
.atc-row .qty button { height: 54px; }
.assure { padding: 18px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.sticky-atc { box-shadow: 0 -14px 30px -20px rgba(60,35,20,.35); }
.sticky-atc .thumb { width: 44px; height: 44px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #FBF8F4, #EADFCF); flex: none; display: grid; place-items: center; }
.sticky-atc .thumb img { width: 38px; mix-blend-mode: multiply; }
.sticky-atc .btn { min-height: 50px; padding: 0 20px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero-ctas .btn { min-width: 220px; }
.authorized { background: rgba(28,20,17,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- CTA final ---------- */
.final .packshot { width: min(380px, 82%); filter: none; }
.final .packshot .stage { border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
.final .packshot .stage img { width: 84%; border-radius: 0; }

/* ---------- Pages simples ---------- */
.page-hero { padding: 48px 0 28px; }
.empty .btn, .summary .btn { width: auto; }
.summary .btn-block { width: 100%; }
.field input, .field textarea, .field select { transition: border-color .2s, box-shadow .2s; min-height: 52px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(35,26,22,.3); }

/* ---------- Mobile : confort tactile ---------- */
@media (max-width: 699px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-copy { padding-bottom: 36px; }
  .trust > div { padding: 18px 16px; }
  .trust svg { width: 34px; height: 34px; padding: 8px; }
  .mode-panel .media { aspect-ratio: 5/4; }
  .steps li { grid-template-columns: 46px 1fr; }
  .steps li::before { font-size: 1.9rem; }
  .study .figs { gap: 10px; }
  .faq summary { padding: 20px 40px 20px 0; font-size: .98rem; }
  .atc-row { grid-template-columns: 128px 1fr; }
  .drawer-head h2 { font-size: 1.65rem; }
  .line-item { grid-template-columns: 76px 1fr; gap: 14px; }
  .line-item img, .li-img { width: 76px; height: 76px; }
  .toast { left: 16px; right: 16px; transform: translate(0, 30px); width: auto; max-width: none; }
  .toast.on { transform: none; }
}

/* ===========================================================
   V3 — LOGO LUCITELLE + ACCENT AMBRE
   =========================================================== */
:root {
  --ember: #B04A12;          /* ambre brûlé : accent principal (texte blanc 5,5:1, sur ivoire 4,9:1) */
  --ember-soft: #F07C1E;     /* orange du logo : italiques et lumières sur fond nuit */
  --ember-grad: linear-gradient(180deg, #C2561E 0%, #A8440F 100%);
}
.logo-img { height: 40px; width: auto; display: block; }
@media (min-width: 1024px) { .logo-img { height: 46px; } }
.footer .logo-img { height: 54px; }
.mobile-menu .logo-img { height: 40px; }
.eyebrow::before { background: var(--ember-soft); box-shadow: 0 0 12px var(--ember-soft); }
.authorized i { background: var(--ember-soft); box-shadow: 0 0 10px var(--ember-soft); }
.fly-dot { background: var(--ember-soft); box-shadow: 0 0 0 4px rgba(240,124,30,.22), 0 0 18px rgba(240,124,30,.8); }
.section.dark { background-image: linear-gradient(90deg, transparent, rgba(240, 124, 30, .6), transparent); }
::selection { background: rgba(240, 124, 30, .25); }

/* ===========================================================
   V4 — FICHE PRODUIT ALLÉGÉE, HERO PLUS COMPACT
   =========================================================== */
/* Galerie compacte : le titre, le prix et le bouton remontent */
.gallery-track figure { aspect-ratio: 5 / 4; }
.gallery-track figure.contain img { padding: 4% 10%; }
.pdp { gap: 22px; padding-bottom: 40px; }
.buybox h1 { font-size: clamp(2rem, 6.4vw, 3rem); margin: 8px 0 6px; }
.buybox .sub { margin-bottom: 14px; font-size: 1rem; }
.price-note { margin-bottom: 16px; }
.option-group { margin-bottom: 18px; }
.assure-row { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.assure-row li { background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .76rem; font-weight: 600; line-height: 1.3; }
.assure-row svg { width: 22px; height: 22px; color: var(--clay); }
.authorized-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .76rem; color: var(--muted); margin: 0 0 20px; text-align: center; }
.authorized-line svg { width: 16px; flex: none; color: var(--clay); }
.ritual-band { background: var(--night); color: var(--ivory); padding: 34px 0; }
.ritual-band .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; text-align: center; }
.ritual-band b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--ember-soft); }
.ritual-band span { font-size: .8rem; color: rgba(247,242,236,.65); }
@media (min-width: 700px) {
  .ritual-band .wrap { grid-template-columns: repeat(4, 1fr); }
  .gallery-track figure { aspect-ratio: 1; }
}
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-top: 6px; }
  .gallery { grid-template-columns: 64px minmax(0, 1fr); max-width: 600px; }
  .gallery-thumbs { gap: 8px; }
  .gallery-track figure { aspect-ratio: 1; }
  .buybox { padding-top: 10px; }
  .buybox h1 { font-size: 3rem; }
}
/* Accueil mobile : hero moins haut, texte plus tôt */
@media (max-width: 699px) {
  .hero-media { height: 46vh; min-height: 300px; max-height: 430px; }
  .hero-copy { margin-top: -84px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-copy .lead { margin-top: 12px; font-size: 1rem; }
  .hero-ctas { margin-top: 20px; }
  .authorized { margin-bottom: 12px; }
}

/* V5 : fiche produit encore plus compacte sur mobile (titre, prix et bouton dans le premier écran) */
.buybox .option-group { margin: 18px 0 0; }
@media (max-width: 699px) {
  .breadcrumb { display: none; }
  .gallery { position: relative; }
  .gallery-track figure { aspect-ratio: 4 / 3; }
  .gallery-track figure.contain img { padding: 3% 14%; }
  .gallery-dots { position: absolute; left: 0; right: 0; bottom: 12px; padding: 0; pointer-events: none; }
  .gallery-dots button { pointer-events: auto; background: rgba(35,26,22,.22); }
  .gallery-count { display: none; }
  .pdp { gap: 16px; padding-top: 0; }
  .buybox .brand-line { margin: 0; }
  .buybox h1 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); margin: 4px 0 2px; }
  .buybox .sub { font-size: .95rem; margin: 0 0 10px; }
  .buybox .price-row { margin: 0; }
  .buybox .price-note { margin: 2px 0 12px; }
  .buybox .atc-row { margin-top: 0; }
}
@media (max-width: 699px) {
  .hero-media { height: 40vh; min-height: 260px; max-height: 360px; }
  .hero-copy { margin-top: -64px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero-copy .authorized { margin-bottom: 10px; }
  .hero-ctas { margin-top: 18px; }
}
@media (min-width: 1024px) { .buybox .option-group + .assure-row, .buybox .option-group { margin-bottom: 14px; } }
.buybox .option-group { margin-bottom: 14px; }

/* ===========================================================
   V6 : corrections et fiche produit enrichie
   =========================================================== */
html, body { overflow-x: clip; }
.final { position: relative; isolation: isolate; }
/* Bandeau : 2 messages sur tablette, 3 seulement sur grand écran */
@media (min-width: 700px) and (max-width: 1099px) { .announce li:nth-child(3) { display: none; } }
/* Zones tactiles confortables */
sup.fn a { display: inline-block; min-width: 24px; min-height: 24px; text-align: center; line-height: 24px; }
.gallery-dots button { position: relative; }
.gallery-dots button::after { content: ""; position: absolute; inset: -9px -4px; }
/* Étapes de commande sur une ligne en mobile */
@media (max-width: 699px) {
  .checkout-steps { flex-wrap: nowrap; gap: 6px; font-size: .74rem; }
  .checkout-steps span:not(.on) b, .checkout-steps span:not(.on) .lbl { display: none; }
}
/* Soins cliquables */
.opt-label { font-size: .8rem; font-weight: 700; margin: 0 0 8px; }
.opt-label span { font-weight: 400; color: var(--muted); }
button.chip { font: inherit; font-size: .86rem; color: var(--ink); cursor: pointer; min-height: 42px; transition: border-color .2s, box-shadow .2s, background .2s; }
button.chip:hover { border-color: rgba(35,26,22,.35); }
button.chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
button.chip:focus-visible { outline: 2px solid var(--ember-soft, #F07C1E); outline-offset: 2px; }
.mode-hint { margin: 10px 0 0; font-size: .84rem; color: var(--muted); min-height: 1.3em; }
.mode-hint.in { animation: hintIn .35s var(--ease, ease) both; }
@keyframes hintIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Date d'expédition */
.ship-eta { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: .84rem; color: var(--ink); }
.ship-eta i { width: 8px; height: 8px; border-radius: 50%; background: #3E9B5F; box-shadow: 0 0 0 4px rgba(62,155,95,.16); flex: none; animation: etaPulse 2.4s ease-in-out infinite; }
@keyframes etaPulse { 50% { box-shadow: 0 0 0 7px rgba(62,155,95,.06); } }
/* Photo en grand */
.gallery-track figure.zoomable { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #140E0C; color: var(--ivory); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .25s ease both; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80dvh; width: auto; height: auto; object-fit: contain; border-radius: 14px; background: #F7F2EC; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247,242,236,.25); background: rgba(247,242,236,.08); color: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox button:hover { background: rgba(247,242,236,.18); }
.lb-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lb-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: .84rem; color: rgba(247,242,236,.7); margin: 0; }
@media (max-width: 699px) { .lb-nav { top: auto !important; bottom: max(10px, env(safe-area-inset-bottom)); transform: none !important; } }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
/* Sections ajoutées à la fiche */
.pdp-zones { padding-top: 56px; }
.box-grid { display: grid; gap: 28px; align-items: center; }
.box-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.box-media img { width: 100%; height: 100%; object-fit: cover; }
.box-grid h2 { margin: 8px 0 20px; }
@media (min-width: 1024px) { .box-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .box-media { aspect-ratio: 5 / 4; } }
.pdp-final .packshot { width: min(260px, 64%); }
@media (prefers-reduced-motion: reduce) { .ship-eta i, .mode-hint.in, .lightbox[open] { animation: none; } }
.lb-count { pointer-events: none; }
@media (max-width: 699px) { .lb-count { bottom: max(10px, env(safe-area-inset-bottom)); line-height: 48px; } }
