/* =====================================================================
   Le Stère d’Or — feuille de style
   ===================================================================== */
:root {
  /* Couleurs du logo : brun foncé, or, crème */
  --ember: #7a530e;        /* or foncé : liens, accents sur fond clair */
  --ember-dark: #6e4b0c;
  --ember-soft: #f7ecd2;
  --flame: #e0b04a;
  --gold: #d9a640;
  --gold-light: #f3d27a;
  --charcoal: #241913;
  --charcoal-2: #3a2a20;
  --ink: #241a14;
  --muted: #6b5d52;
  --line: #e7ddd0;
  --bg: #fdf9f2;
  --bg-alt: #f6efe4;
  --cream: #f4ecdf;
  --forest: #2f5d3a;
  --forest-soft: #e3efe4;
  --red: #b42318;
  --green: #23784a;
  --green-soft: #e3f3e9;
  --amber: #9a5b00;
  --amber-soft: #fff3dc;
  --revolut: #0a0a0a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(36, 25, 19, .10);
  --font-display: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --art-bg: #f4ecdf;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ember); }
a:hover { color: var(--ember-dark); }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.05rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
/* Sur fond sombre, contour doré clair pour garder un contraste suffisant */
.hero :focus-visible, .footer :focus-visible, .topbar :focus-visible, .result-card :focus-visible, .toast :focus-visible { outline-color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.ok { color: var(--green); font-weight: 600; }
.error { color: var(--red); font-weight: 600; }
.selectable { user-select: all; }
.todo { background: var(--amber-soft); color: var(--amber); font-weight: 600; padding: 0 4px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--charcoal); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 70ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 11px 20px;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: linear-gradient(180deg, #e8bf5c, #cf9a35); color: var(--charcoal); box-shadow: 0 4px 14px rgba(185, 134, 44, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary:hover:not(:disabled) { background: linear-gradient(180deg, #dcae45, #b9862c); color: var(--charcoal); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); }
.btn--revolut { background: var(--revolut); color: #fff; }
.btn--revolut:hover { background: #2a2a2a; color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .875rem; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--ember); text-decoration: underline; font-weight: 500; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* ---------- Formulaires ---------- */
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ember); outline-offset: 0; border-color: var(--ember); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ember); flex: none; margin: 0; }
input[type="range"] { padding: 0; accent-color: var(--ember); border: 0; background: none; height: 28px; }
.invalid { border-color: var(--red); background: #fff6f5; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label { font-size: .875rem; font-weight: 600; }
.field__error { margin: 0; color: var(--red); font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.span-2 { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; padding: 4px 0; cursor: pointer; }
.check a { font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .opt-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; padding: 0; }
.opt-group { margin-bottom: 18px; }
.opt-group > .small { margin: 8px 0 0; }

/* Boutons segmentés */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.seg__btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 8px;
  font-size: .9rem; font-weight: 600; display: grid; gap: 1px; justify-items: center; line-height: 1.2;
  transition: border-color .15s, background .15s, color .15s;
}
.seg__btn small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.seg__btn:hover { border-color: var(--ember); }
.seg__btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold-light); }
.seg__btn[aria-pressed="true"] small { color: #e6d3b8; }
.seg--sm { display: flex; flex-wrap: wrap; }
.seg--sm .seg__btn { padding: 6px 12px; font-size: .84rem; }

/* ---------- En-tête ---------- */
.topbar { background: var(--charcoal); color: #e9d6c3; text-align: center; font-size: .8rem; padding: 7px 16px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; flex: none; }
.logo:hover { color: var(--ink); }
.logo__text em { font-style: italic; color: #b07a1c; font-weight: 700; }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--gold); }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__text em { color: var(--gold-light); }
.logo--light .logo__mark { background: var(--charcoal-2); }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; border-radius: 999px; }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ember-soft); color: var(--ember-dark); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cp-chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px dashed #cdbba6; background: #fff;
  border-radius: 999px; padding: 8px 14px; font-size: .86rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.cp-chip:hover { border-color: var(--ember); color: var(--ember); }
.cp-chip--set { border-style: solid; border-color: var(--forest); background: var(--forest-soft); color: var(--forest); }
.icon-link {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 6px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; font-size: .72rem; font-weight: 600;
}
.icon-link:hover { background: var(--bg-alt); color: var(--ink); }
.badge {
  position: absolute; top: 0; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: var(--charcoal); font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 420px at 20% 110%, rgba(217, 166, 64, .28), transparent 70%), radial-gradient(900px 500px at 85% 30%, #3d2a1c 0%, var(--charcoal) 70%); }
.hero[style*="background-image"] { background-size: cover; background-position: center; }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: 56px 64px; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--flame); margin: 0 0 12px; }
.eyebrow--dark { color: var(--ember); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.02; max-width: 15ch; }
.hero__lead { font-size: 1.08rem; color: #ead9c8; max-width: 54ch; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: #d9c3ad; font-size: .9rem; }
.hero__facts strong { color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-right: 4px; }

.cp-check { margin-top: 24px; max-width: 480px; }
.cp-check label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e9d6c3; margin-bottom: 8px; }
.cp-check--light label { color: var(--muted); }
.cp-check__row { display: flex; gap: 8px; }
.cp-check__row input { border-radius: 999px; padding-inline: 18px; }
.cp-result { margin-top: 12px; font-size: .92rem; }
.cp-result p { margin: 0 0 6px; }
.cp-result__ok { background: var(--forest-soft); color: #1b3d24; border-radius: 12px; padding: 12px 14px; }
.cp-result__ok--far { background: var(--amber-soft); color: #5c3a00; }
.cp-result__bad { background: #fdecea; color: #7a1a12; border-radius: 12px; padding: 12px 14px; }
.cp-result--hero .muted { color: #50614f; }
.date-pill { display: inline-block; background: #fff; border-radius: 999px; padding: 1px 9px; font-weight: 600; font-size: .8rem; margin: 2px 2px 0 0; }

/* Commande express */
.quick { background: var(--bg); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.quick__art svg { width: 100%; height: 170px; object-fit: cover; }
.quick__art { background: var(--cream); }
.quick__art svg { aspect-ratio: auto; }
.quick__body { padding: 18px 20px 20px; }
.quick__title { font-size: 1.35rem; margin-bottom: 12px; }
.quick fieldset { margin-bottom: 12px; }
.quick legend { margin-bottom: 6px; font-size: .72rem; }
.quick .seg--wrap { grid-template-columns: repeat(3, 1fr); }
.quick__qty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.quick__qty label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.quick__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; flex-wrap: wrap; }
.quick__foot p { margin: 0; }
.quick__total { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { background: var(--bg-alt); border: 0; width: 42px; height: 44px; font-size: 1.2rem; }
.qty button:hover:not(:disabled) { background: var(--ember-soft); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 56px; border: 0; border-radius: 0; text-align: center; padding: 8px 2px; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 36px; font-size: 1rem; }
.qty--sm span { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.art-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--cream); }
.addon-note { margin: 0; font-size: .76rem; font-weight: 600; color: var(--forest); }
.cart-issue { background: var(--amber-soft); border: 1px solid #efd3a0; color: #5c3a00; border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.cart-issue a { font-weight: 600; }
.pay-alt { border: 1px dashed #cdbba6; border-radius: 16px; padding: 18px 20px; }
.pay-alt summary { cursor: pointer; font-weight: 700; color: var(--ember); }
.pay-alt[open] summary { margin-bottom: 14px; }
.pay-logo--card { background: var(--charcoal); }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section--tight { padding-block: 32px; }
.section--alt { background: var(--bg-alt); }
.section--flush { padding-block: 48px 0; }
.section--flush-top { padding-top: 0; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.season { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; background: #fff; }
.season p { margin: 0; }
.season h2 { margin-bottom: 4px; }
.season__bar { height: 18px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.season__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--flame), var(--ember)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  display: grid; gap: 4px; padding: 10px 10px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-card:hover { border-color: var(--ember); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.cat-card__art svg { border-radius: 8px; margin-bottom: 8px; }
.cat-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.15; padding-inline: 4px; }
.cat-card__text { font-size: .8rem; color: var(--muted); padding-inline: 4px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card-product:hover { box-shadow: var(--shadow); border-color: #d8c6b1; transform: translateY(-2px); }
.card-product__media { position: relative; display: block; background: var(--cream); overflow: hidden; }
.card-product__media svg { width: 100%; transition: transform .4s; }
.card-product:hover .card-product__media svg { transform: scale(1.04); }
.card-product__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-product__brand { margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ember); }
.card-product__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.2; margin: 0; }
.card-product__name a { color: var(--ink); text-decoration: none; }
.card-product__name a:hover { color: var(--ember); }
.card-product__meta { margin: 0; font-size: .82rem; color: var(--muted); }
.card-product__meters { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 10px; font-size: .78rem; color: var(--muted); align-items: center; }
.card-product__meters--lg { grid-template-columns: repeat(3, auto auto); gap: 4px 12px; margin-bottom: 20px; font-size: .85rem; }
.card-product__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.meter i.on { background: var(--ember); }
.tag { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--charcoal); color: #fff; }
.price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price strong { font-size: 1.2rem; font-weight: 700; }
.price__from, .price__unit { font-size: .8rem; color: var(--muted); }
.price--lg strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }

.calc-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--cream); border-radius: 24px; padding: 40px; }
.calc-teaser .btn { margin-top: 12px; }
.range-label { display: block; font-weight: 600; margin-top: 8px; }
.calc-teaser__result { background: #fff; border-radius: 18px; padding: 28px; text-align: center; box-shadow: var(--shadow); }
.calc-teaser__big { font-family: var(--font-display); font-size: 4.2rem; font-weight: 800; line-height: 1; margin: 0 0 10px; color: var(--ember); }
.calc-teaser__big small { display: block; font-size: 1rem; font-family: var(--font-body); color: var(--muted); font-weight: 500; margin-top: 6px; }
.cube-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; min-height: 30px; }
.cube { width: 26px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, #c89a62, #8a5a2b); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); animation: pop .35s both; }
.cube--half { clip-path: inset(50% 0 0 0); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--charcoal); color: var(--flame); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

.essence-picker { display: grid; grid-template-columns: 240px 1fr; gap: 28px; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; }
.essence-picker__tabs { display: grid; gap: 4px; align-content: start; }
.essence-picker__tabs button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.essence-picker__tabs button:hover { background: var(--bg-alt); }
.essence-picker__tabs button[aria-selected="true"] { background: var(--ember-soft); color: var(--ember-dark); }
.essence-picker__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.essence-picker__art svg { border-radius: 14px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; flex: none; display: inline-block; vertical-align: middle; }
.swatch--sm { width: 14px; height: 14px; }
.ess-stats { display: grid; gap: 8px; margin: 0 0 20px; }
.ess-stats div { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
.ess-stats dt { color: var(--muted); font-size: .9rem; }
.ess-stats dd { margin: 0; font-weight: 600; }

.promo-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--ember-soft); border-radius: 24px; padding: 36px 40px; }
.promo-band h2 { margin-bottom: .3em; }
.promo-band p:last-child { margin: 0; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: #fff; border: 1px dashed var(--ember); padding: 2px 10px; border-radius: 6px; color: var(--ember-dark); font-size: .85em; }

.reassurance { border-top: 1px solid var(--line); background: var(--bg); }
.reassurance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 28px; }
.reassurance__grid div { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--flame); }
.reassurance__grid strong { font-size: .95rem; }
.reassurance__grid span { font-size: .82rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { background: var(--charcoal); color: #d6c2ae; padding-block: 48px 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #d6c2ae; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__brand p { margin: 8px 0 0; max-width: 36ch; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__pay span { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 600; color: #fff; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .76rem; opacity: .75; }

/* ---------- Pages ---------- */
.page { padding-block: 24px 64px; }
.page--narrow { max-width: 860px; }
.page__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb > * + *::before { content: "/"; margin-right: 6px; color: #cdbba6; }
.empty { text-align: center; padding: 56px 16px; max-width: 560px; margin-inline: auto; }
.empty p { color: var(--muted); }
.notice { background: var(--amber-soft); border: 1px solid #efd3a0; color: #5c3a00; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- Boutique ---------- */
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.cat-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cat-tabs button:hover { border-color: var(--ember); }
.cat-tabs button[aria-selected="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filters summary { list-style: none; padding: 14px 16px; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; cursor: pointer; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "−"; color: var(--muted); }
.filters:not([open]) summary::after { content: "+"; }
.filters__form { padding: 0 16px 16px; display: grid; gap: 16px; }
.filter-group { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.filter-group__title { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; padding: 0; }
.catalog__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--ember); background: var(--ember-soft); color: var(--ember-dark); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); white-space: nowrap; margin-left: auto; }
.sort select { width: auto; padding: 8px 10px; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp__media { position: sticky; top: 96px; display: grid; gap: 18px; }
.pdp__art svg { border-radius: 20px; width: 100%; }
.pdp__info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.pdp__buy { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 14px; background: #fff; box-shadow: var(--shadow); }
.pdp__buy p { margin: 0; }
.pdp__qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pdp__qty label { font-weight: 600; font-size: .9rem; }
.pdp__qty input[type="range"] { flex: 1; min-width: 140px; }
.pdp__perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .92rem; }
.pdp__perks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 10px; }
.price-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.price-facts div { background: var(--bg-alt); border-radius: 10px; padding: 8px 12px; }
.price-facts dt { font-size: .74rem; color: var(--muted); }
.price-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.volume { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.volume .h4 { margin-top: 0; }
.vcubes { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.vcube { width: 40px; height: 40px; border: 2px dashed #cdbba6; border-radius: 6px; position: relative; overflow: hidden; }
.vcube i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: linear-gradient(180deg, #c89a62, #8a5a2b); transition: height .4s; }
.volume__pile { border-top: 1px solid var(--line); padding-top: 12px; }
.volume__pile p { margin: 4px 0 0; }
.options { display: grid; gap: 10px; margin-bottom: 18px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; }
.option:hover { border-color: #cdbba6; }
.option:has(input:checked) { border-color: var(--ember); background: var(--ember-soft); box-shadow: inset 0 0 0 1px var(--ember); }
.option--card { align-items: flex-start; flex-wrap: wrap; }
.option--card .option__body { flex: 1 1 calc(100% - 40px); }
.option--card .option__price { margin-left: 32px; font-size: .85rem; }
.option__body { display: grid; flex: 1; gap: 2px; min-width: 0; }
.option__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hum { display: inline-block; font-size: .72rem; background: var(--forest-soft); color: var(--forest); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 48px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ember); }
.tab-panel { padding-top: 20px; max-width: 760px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 12px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tbody th { font-weight: 600; color: var(--muted); }
.table tr.is-current td { background: var(--ember-soft); font-weight: 600; }

/* ---------- Panier et commande ---------- */
.progress { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; counter-reset: p; font-size: .85rem; flex-wrap: wrap; }
.progress li { counter-increment: p; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.progress li::before { content: counter(p); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-weight: 700; font-size: .78rem; }
.progress li + li::after { order: -1; content: ""; width: 24px; height: 1px; background: var(--line); }
.progress .is-current { color: var(--ink); font-weight: 600; }
.progress .is-current::before { background: var(--gold); color: var(--charcoal); }
.progress .is-done::before { content: "✓"; background: var(--green-soft); color: var(--green); }
.progress a { color: inherit; }

.cart-layout, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-list { display: grid; margin-bottom: 12px; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { border-top: 1px solid var(--line); }
.cart-row__img svg { border-radius: 10px; }
.cart-row h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.cart-row h3 a { color: var(--ink); text-decoration: none; }
.cart-row__info p { margin: 0; }
.cart-row__price { display: grid; justify-items: end; gap: 4px; min-width: 90px; font-variant-numeric: tabular-nums; }
.summary { background: var(--bg-alt); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.summary h2 { font-size: 1.4rem; margin: 0; }
.summary--sticky { position: sticky; top: 96px; }
.summary p { margin: 0; }
.vol-meter { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; }
.vol-meter span { display: block; height: 100%; background: var(--forest); border-radius: 999px; transition: width .4s; }
.totals { margin: 0; display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt, .totals dd { margin: 0; }
.totals__discount { color: var(--green); font-weight: 600; }
.totals__grand { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; font-size: 1.25rem; }
.totals__vat { font-size: .8rem; color: var(--muted); margin-top: -4px; }
.promo label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.promo__row { display: flex; gap: 8px; }
.promo__row input { text-transform: uppercase; }
.promo p { margin-top: 6px; }
.mini-cart { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-cart li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: .88rem; font-variant-numeric: tabular-nums; }
.mini-cart__art svg { border-radius: 8px; }
.mini-cart li > span:nth-child(2) { display: grid; line-height: 1.3; }

.panel { border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 18px; background: #fff; }
.panel--soft { background: var(--bg-alt); border-color: transparent; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.panel__num { width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: var(--flame); display: grid; place-items: center; font-size: 1rem; flex: none; font-family: var(--font-body); }
.date-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-bottom: 14px; }
.date-card { display: grid; justify-items: center; gap: 0; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 4px; line-height: 1.15; font-size: .78rem; color: var(--muted); text-transform: capitalize; }
.date-card strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.date-card:hover { border-color: var(--ember); }
.date-card[aria-checked="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #e6d3b8; }
.date-card[aria-checked="true"] strong { color: #fff; }
#slotSeg { margin-bottom: 8px; }
.pay-logo { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff; flex: none; font-family: var(--font-body); }
.pay-logo--revolut { background: var(--revolut); }
.pay-logo--virement { background: var(--forest); }
.pay-logo--livraison { background: var(--ember); }

/* ---------- Confirmation ---------- */
.confirm-head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.confirm-head__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; flex: none; }
.confirm-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.confirm-head p { margin: 0; }
.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.status--pending { background: var(--amber-soft); color: var(--amber); }
.alert { border: 2px solid #e2a63a; background: var(--amber-soft); border-radius: 16px; padding: 20px 22px; margin-bottom: 24px; }
.alert h2 { font-size: 1.3rem; }
.alert--sm { padding: 14px 16px; margin: 16px 0 0; border-width: 1px; }
.alert--sm p:last-child { margin: 0; }
.alert__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.confirm-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.pay-box { border: 2px solid var(--ink); border-radius: 18px; padding: 24px; display: grid; gap: 14px; margin-bottom: 12px; }
.pay-box h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin: 0; }
.pay-box p { margin: 0; }
.pay-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.copy-list { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.copy-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 10px 14px; }
.copy-row + .copy-row { border-top: 1px solid var(--line); }
.copy-row dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.copy-row dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.copy-row__value { font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 10px; font-size: .78rem; font-weight: 600; flex: none; }
.copy-btn:hover { border-color: var(--ember); color: var(--ember); }
.deadline { margin: 16px 0 6px; font-size: .92rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 18px 30px; display: grid; gap: 2px; font-size: .92rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .is-current::before { border-color: var(--ember); background: var(--ember); }
.timeline span { color: var(--muted); }
.confirm-pay .h3 { margin-top: 28px; }

.order-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 20px; }
.order-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; background: #fff; }
.order-list a:hover { border-color: var(--ember); }
.order-list a > span { display: grid; }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 12px; }
.calc__form .form-grid { margin-bottom: 0; }
.calc__form > .field { margin-bottom: 18px; }
.calc__result { display: grid; gap: 18px; position: sticky; top: 96px; }
.result-card { background: var(--charcoal); color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 14px; }
.result-card p { margin: 0; }
.result-card .muted { color: #cbb7a3; }
.result-card__label { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: var(--flame); }
.result-card__big { font-family: var(--font-display); font-size: 4rem; font-weight: 800; line-height: 1; }
.result-card__big small { font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; color: #e9d6c3; }
.result-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.result-card__facts div { background: var(--charcoal-2); border-radius: 12px; padding: 10px 12px; }
.result-card__facts dt { font-size: .75rem; color: #cbb7a3; }
.result-card__facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
#rWarning { background: #4a3418; border-radius: 10px; padding: 10px 12px; }
.bars { display: grid; gap: 10px; margin: 16px 0; }
.bar { position: relative; display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; gap: 12px; align-items: center; font-size: .88rem; padding: 4px 0; outline-offset: 4px; border-radius: 6px; }
.bar__label { color: var(--ink); }
.bar__track { height: 22px; display: block; }
.bar__fill { display: block; height: 100%; background: #b9ab9c; border-radius: 0 4px 4px 0; transition: width .5s cubic-bezier(.2, .8, .2, 1); min-width: 4px; }
.bar--wood .bar__label { font-weight: 700; }
.bar--wood .bar__fill { background: var(--ember); }
.bar__value { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.bar__tip {
  position: absolute; left: 34%; bottom: calc(100% + 4px); z-index: 5; background: var(--charcoal); color: #fff; font-size: .8rem;
  padding: 8px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
}
.bar:hover .bar__tip, .bar:focus .bar__tip { opacity: 1; transform: none; }
.bar:hover .bar__fill, .bar:focus .bar__fill { filter: brightness(.9); }
.table-toggle { margin: 6px 0 12px; font-size: .9rem; }
.table-toggle summary { cursor: pointer; color: var(--ember); font-weight: 600; }

.humid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.humid label { font-weight: 600; display: block; margin-top: 8px; }
.humid__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.gauge { height: 24px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; margin-bottom: 14px; }
.gauge span { display: block; height: 100%; border-radius: 999px; transition: width .3s, background .3s; }
.gauge--excellent span { background: var(--forest); }
.gauge--bon span { background: #4f8a3c; }
.gauge--moyen span { background: #d18b1f; }
.gauge--mauvais span { background: var(--red); }

.convert { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.convert__in { display: grid; gap: 14px; }
.convert__st { font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 8px; }
.convert__st strong { color: var(--ember); }

/* ---------- Guide des essences ---------- */
.finder__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.finder__result { margin-top: 8px; }
.finder__card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; background: var(--ember-soft); border-radius: 16px; padding: 18px; animation: pop .35s both; }
.finder__card h3 { font-size: 1.5rem; }
.finder__art svg { border-radius: 12px; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; font-weight: 700; white-space: nowrap; }
.th-sort:hover { color: var(--ember); }
.table--compare th[aria-sort="ascending"], .table--compare th[aria-sort="descending"] { color: var(--ember); }
.table--compare tbody th { color: var(--ink); white-space: nowrap; }
.ess-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ess-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ess-card__body { padding: 16px 18px 20px; display: grid; gap: 4px; justify-items: start; flex: 1; align-content: start; }
.ess-card__body p { color: var(--muted); font-size: .92rem; }

/* ---------- Livraison ---------- */
.delivery-check { max-width: 640px; }
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zone-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.zone-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.zone-card p { margin: 0 0 4px; }
.zone-card__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ember); }
.zone-card__price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.zone-card.is-current { border-color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.zone-card--far { background: var(--bg-alt); }
.zone-card--pickup { background: var(--forest-soft); border-color: transparent; }
.cal th, .cal td { text-align: center; padding: 8px 6px; }
.cal th:first-child { text-align: left; }
.cal thead th span { display: block; text-transform: capitalize; }
.cal .is-sunday { opacity: .45; }
.cal tr.is-current { background: var(--forest-soft); }
.cal__dot { color: var(--ember); font-size: 1.1rem; }
.cal__dot--full { color: #b9ab9c; }

/* ---------- Contact, FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.info-list { margin: 0 0 20px; display: grid; gap: 10px; }
.info-list div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.info-list dt { color: var(--muted); font-size: .9rem; }
.info-list dd { margin: 0; font-weight: 500; }
.faq-search { margin-bottom: 24px; }
.faq-search p { margin: 0; }
.faq { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 32px 16px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--ember); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 8px; max-width: 70ch; }

/* ---------- Dialogue et toast ---------- */
.modal { border: 0; border-radius: 20px; padding: 28px; width: min(500px, calc(100% - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); color: var(--ink); background: var(--bg); }
.modal::backdrop { background: rgba(36, 25, 19, .6); }
.cp-form { display: grid; gap: 10px; }
.cp-form label { font-weight: 600; font-size: .9rem; }
.cp-form p { margin: 0; }
.cp-form__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow);
  transition: transform .25s, opacity .25s, visibility .25s; max-width: calc(100% - 32px); font-size: .92rem;
}
.toast a { color: var(--flame); font-weight: 600; margin-left: 8px; }
.toast--show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .88rem; }
  .icon-link__label { display: none; }
}
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid--3, .ess-grid { grid-template-columns: repeat(2, 1fr); }
  .essence-picker { grid-template-columns: 1fr; }
  .essence-picker__tabs { display: flex; overflow-x: auto; }
  .essence-picker__tabs button { white-space: nowrap; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav--open { display: flex; }
  .nav a { padding: 12px; border-radius: 10px; font-size: 1rem; }
  .header__row { position: relative; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; padding-block: 40px 48px; }
  .catalog, .cart-layout, .checkout, .confirm-grid, .contact-grid, .pdp, .calc, .calc-teaser, .humid, .convert, .season { grid-template-columns: 1fr; }
  .pdp { gap: 24px; }
  .pdp__media, .filters, .summary--sticky, .calc__result { position: static; }
  .steps, .finder__grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .reassurance__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .essence-picker__panel, .finder__card { grid-template-columns: 1fr; }
  .calc-teaser { padding: 28px; gap: 24px; }
  html { scroll-padding-top: 80px; }
}
@media (max-width: 600px) {
  .header__row { gap: 8px; height: 64px; }
  .logo { font-size: 1.2rem; gap: 8px; }
  .logo__mark { width: 32px; height: 32px; }
  .cp-chip { padding: 7px 10px; }
  .cp-chip span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
  .icon-link { padding: 6px; }
  .header__actions { gap: 2px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ess-grid, .zone-grid { grid-template-columns: 1fr; }
  .card-product__body { padding: 10px 12px 12px; }
  .card-product__name { font-size: 1rem; }
  .card-product__foot { flex-direction: column; align-items: stretch; }
  .card-product__meters--lg { grid-template-columns: auto auto; }
  .form-grid, .options--2 { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 80px 1fr; gap: 10px 14px; }
  .cart-row .qty { grid-column: 2; justify-self: start; }
  .cart-row__price { grid-column: 2; justify-items: start; grid-row: 3; }
  .copy-row { grid-template-columns: 1fr; gap: 2px; }
  .info-list div { grid-template-columns: 1fr; gap: 0; }
  .reassurance__grid, .footer__grid { grid-template-columns: 1fr; }
  .promo-band { padding: 24px; }
  .panel { padding: 18px; }
  .section { padding-block: 44px; }
  .sort { margin-left: 0; }
  .seg { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); }
  .quick .seg--wrap { grid-template-columns: repeat(2, 1fr); }
  .quick__foot .btn { width: 100%; }
  .cp-check__row { flex-direction: column; }
  .bar { grid-template-columns: 1fr auto; }
  .bar__track { grid-column: 1 / -1; grid-row: 2; }
  .bar__tip { left: 0; }
  .result-card__big { font-size: 3.2rem; }
  .season { padding: 20px; }
}
.btn.is-disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.option--static { cursor: default; border-color: var(--ember); background: var(--ember-soft); }
.pallet-sim label { font-weight: 600; display: block; }
.pallet-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.pal { width: 54px; height: 54px; border: 2px dashed #cdbba6; border-radius: 6px 6px 0 0; position: relative; overflow: hidden; border-bottom: 8px solid #c9a26b; }
.pal i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #c89a62, #8a5a2b); transition: height .3s; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 8px; }
.photo-duo figure { margin: 0; }
.photo-duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.photo-duo figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { .photo-duo { grid-template-columns: 1fr; } .photo-duo img { aspect-ratio: 4 / 3; } }
.photo-wide { margin: 24px 0 8px; }
.photo-wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.photo-wide figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.essence-picker__art img, .finder__art img { border-radius: 14px; }

/* ---------- Accessibilité et confort tactile ---------- */
.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; }
html { -webkit-tap-highlight-color: transparent; }
button, a, input, select, label { touch-action: manipulation; }
@media (pointer: coarse) {
  .seg__btn, .cat-tabs button, .chip, .copy-btn, .date-card, .cp-chip, .tabs button { min-height: 44px; }
  .icon-link, .menu-btn { min-width: 44px; min-height: 44px; justify-content: center; }
  .qty--sm button { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  .cp-chip { padding: 8px 10px; }
  .cp-chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cp-chip--set span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.toast__action { background: none; border: 0; padding: 4px 6px; margin-left: 8px; color: var(--gold-light); font-weight: 700; text-decoration: underline; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.pay-logo svg { display: block; }
.cart-row__price .link { padding: 6px 0; min-height: 32px; }
.th-sort { padding: 8px 0; min-height: 32px; }
@media (pointer: coarse) { .cart-row__price .link, .th-sort { min-height: 44px; } }
.error-summary { grid-column: 1 / -1; border: 2px solid var(--red); background: #fff6f5; border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; }
.error-summary h2 { font-size: 1.15rem; margin-bottom: 8px; color: var(--red); }
.error-summary ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.error-summary a { color: var(--red); font-weight: 600; }
.quick__art .art-photo { aspect-ratio: auto; height: 200px; object-fit: cover; }
