/* M3Ltalys LAB — feuille de styles
   Palette : ivoire / blanc, anthracite, bleu électrique. */

:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --surface-2: #f2f1ec;
  --ink: #15181c;
  --ink-2: #353b43;
  --ink-3: #4d545e;
  --line: #dddbd3;
  --line-strong: #c4c1b7;
  --blue: #0a4dff;
  --blue-hover: #003ad6;
  --blue-ink: #0036c4;
  --blue-soft: #e9efff;
  --blue-line: #b9cbff;
  --green: #0b6b3f;
  --green-soft: #e3f3ea;
  --red: #b42318;
  --red-soft: #fdecea;
  --amber: #8a4b00;
  --amber-soft: #fdf0e1;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(21, 24, 28, .05), 0 8px 28px rgba(21, 24, 28, .06);
  --shadow-lg: 0 2px 4px rgba(21, 24, 28, .05), 0 22px 60px rgba(21, 24, 28, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }
[data-icon] { display: inline-flex; flex: none; }
[data-icon] > svg { width: 100%; height: 100%; }
.btn [data-icon], .link-arrow [data-icon] { width: 18px; height: 18px; }
.marker__value [data-icon] { width: 18px; height: 18px; color: var(--green); }
.coa-points [data-icon], .pack__list [data-icon] { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.trust__icon > svg, .card__icon > svg { width: 22px; height: 22px; }
.float-card--temp [data-icon] { width: 22px; height: 22px; color: var(--blue); }
.float-card--temp strong { font-size: .86rem; }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head p { color: var(--ink-2); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }

/* ------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10, 77, 255, .22); }
.btn--primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue-soft); color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); box-shadow: none; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.badge svg { width: 14px; height: 14px; }
.badge--pure { background: var(--green-soft); color: var(--green); border-color: #b9e0c9; }
.badge--blue { background: var(--blue-soft); color: var(--blue-ink); border-color: var(--blue-line); }
.badge--warn { background: var(--amber-soft); color: var(--amber); border-color: #f1d1a8; }
.badge--danger { background: var(--red-soft); color: var(--red); border-color: #f5c2bd; }
.badge--dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------------------- bannière + en-tête */
.promo { background: var(--ink); color: #fff; font-size: .86rem; }
.promo .container { display: flex; align-items: center; justify-content: center; gap: 10px 18px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.promo strong { color: #fff; }
.promo__sep { color: #8ea9ff; }
.promo a { color: #fff; font-weight: 600; }
.promo a:hover { color: #c9d7ff; }
.promo__tag { background: var(--blue); color: #fff; font-family: var(--font-mono); font-size: .72rem; padding: 2px 8px; border-radius: 4px; letter-spacing: .06em; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { height: 40px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo__name b { color: var(--blue); font-weight: 800; }
.logo__sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; color: var(--ink-3); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--blue-ink); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[data-empty="true"] { background: var(--ink-3); }
.burger { display: none; }
.nav__mobile-extra { display: none; }

@media (max-width: 960px) {
  .burger { display: inline-grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; color: var(--ink); }
  .nav a:hover { background: transparent; }
  .nav__mobile-extra { display: block; padding-top: 16px; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 560px) {
  .header__inner { gap: 10px; }
  .header__actions { gap: 0; }
  .icon-btn { width: 42px; height: 42px; }
  .logo__sub { display: none; }
  .logo__mark { height: 32px; width: auto; }
  .promo__long, .promo__sep { display: none; }
  .promo .container { gap: 8px 12px; }
}

/* ------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.markers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.marker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.marker__value { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.marker__value svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.marker__label { font-size: .84rem; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }

.lab-scene {
  position: relative; aspect-ratio: 1 / 0.92; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 65% 30%, rgba(10, 77, 255, .16), transparent 70%),
    radial-gradient(40% 35% at 20% 80%, rgba(10, 77, 255, .08), transparent 70%),
    linear-gradient(180deg, #f4f7fd 0%, #ffffff 58%, #eceae3 58.2%, #f6f5f0 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.lab-scene::before {
  content: ""; position: absolute; inset: 0 0 42% 0;
  background-image: linear-gradient(rgba(10, 77, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 77, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.lab-scene__shelf { position: absolute; left: 0; right: 0; top: 58%; height: 2px; background: linear-gradient(90deg, transparent, rgba(21, 24, 28, .18), transparent); }
.lab-scene__vials { position: absolute; left: 0; right: 0; bottom: 24%; display: flex; justify-content: center; align-items: flex-end; gap: 2%; }
.lab-scene__vials .vial-svg { filter: drop-shadow(0 18px 18px rgba(21, 24, 28, .12)); }
.lab-scene__vials .v-sm { width: 26%; }
.lab-scene__vials .v-lg { width: 35%; }
.lab-scene__vials .v-md { width: 24%; }
.lab-scene__reflection { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6)); }
.float-card {
  position: absolute; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: .8rem; color: var(--ink-2); backdrop-filter: blur(6px);
}
.float-card strong { color: var(--ink); display: block; font-size: .92rem; }
.float-card .mono { font-size: .72rem; color: var(--ink-3); }
.float-card--coa { top: 7%; left: 6%; width: min(52%, 270px); }
.float-card--coa .bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin: 8px 0 4px; }
.float-card--coa .bar span { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.float-card--hplc { top: 9%; right: 6%; width: min(40%, 200px); padding: 10px 12px 8px; }
.float-card--hplc svg { width: 100%; height: auto; margin-top: 6px; }
.float-card--temp { bottom: 6%; right: 6%; display: flex; align-items: center; gap: 8px; }
.float-card--temp svg { width: 20px; height: 20px; color: var(--blue); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .lab-scene { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .markers { grid-template-columns: 1fr; }
  .marker { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
  .marker__label { margin: 0; }
  .float-card--hplc { display: none; }
  .float-card--coa { width: 62%; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------- bandeau confiance */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 22px 16px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; }
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; font-size: .93rem; line-height: 1.3; }
.trust__item span { display: block; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 1080px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid var(--line); }
  .trust__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item, .trust__item:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item:first-child { border-top: 0; }
  .trust__item:nth-child(2) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------- cartes produit */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pcard:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.4; text-decoration: none;
  background: radial-gradient(70% 60% at 50% 35%, #eef3ff 0%, #f7f7f3 70%), var(--surface-2); border-bottom: 1px solid var(--line); }
.pcard__media .vial-svg { width: 40%; height: auto; filter: drop-shadow(0 12px 12px rgba(21, 24, 28, .12)); transition: transform .3s; }
.pcard:hover .pcard__media .vial-svg { transform: translateY(-4px); }
.pcard__cat { position: absolute; top: 12px; left: 12px; }
.pcard__stock { position: absolute; top: 12px; right: 12px; }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.pcard__title { margin: 0; font-size: 1.2rem; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--blue-ink); }
.pcard__sub { margin: -6px 0 0; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.specs-mini { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .82rem; }
.specs-mini dt { color: var(--ink-3); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.specs-mini dd { margin: 0; color: var(--ink); font-family: var(--font-mono); font-size: .8rem; overflow-wrap: anywhere; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.price small { display: block; font-family: var(--font); font-weight: 500; font-size: .74rem; color: var(--ink-3); }
.pcard__coa { font-size: .85rem; font-weight: 600; }

/* ------------------------------------------------------------- COA */
.coa-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.coa-points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.coa-points li { display: flex; gap: 12px; }
.coa-points svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.coa-points strong { display: block; }
.coa-points span { color: var(--ink-2); font-size: .95rem; }
.coa-doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); position: relative; }
.coa-doc__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.coa-doc__title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.coa-doc__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 16px; margin: 0 0 16px; }
.coa-doc__meta div { min-width: 0; }
.coa-doc__meta dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.coa-doc__meta dd { margin: 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.chromato { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px 6px; margin-bottom: 16px; background: #fcfcfa; }
.chromato__label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.chromato svg { width: 100%; height: auto; }
.stamp { position: absolute; right: 18px; bottom: 18px; width: 92px; height: 92px; border: 2px solid var(--green); color: var(--green); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .06em; line-height: 1.3; transform: rotate(-10deg); background: rgba(255, 255, 255, .85); }
.stamp b { display: block; font-size: 1rem; font-family: var(--font-display); }
@media (max-width: 900px) { .coa-layout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 500; background: var(--surface-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td.num { font-family: var(--font-mono); white-space: nowrap; }
.table .ok { color: var(--green); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  .table--stack td::before { content: attr(data-label); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--ink-3); text-align: left; padding-top: 2px; }
}

/* ------------------------------------------------------------- cartes génériques */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; }
.card__kicker { font-family: var(--font-mono); font-size: .74rem; color: var(--blue-ink); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
a.card { text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
a.card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
a.card .link-arrow { margin-top: 16px; }

/* conditionnement */
.pack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pack__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.pack__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.pack__list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.pack__list li:first-child { border-top: 0; padding-top: 4px; }
.pack__list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.pack__list strong { display: block; }
.pack__list span { color: var(--ink-2); font-size: .94rem; }
.ship-figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.ship-figure b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 860px) { .pack { grid-template-columns: 1fr; } }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step__num { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: #fff; background: var(--ink); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.step:last-child .step__num { background: var(--blue); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq details[open] { border-color: var(--blue-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.4rem; scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* bandeau CTA */
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 77, 255, .55), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #d5d9df; margin: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* avertissement recherche */
.ruo { display: flex; gap: 14px; align-items: flex-start; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); font-size: .93rem; }
.ruo svg { width: 22px; height: 22px; color: var(--blue-ink); flex: none; margin-top: 1px; }
.ruo p { margin: 0; }
.notice { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .94rem; border: 1px solid; }
.notice--info { background: var(--blue-soft); border-color: var(--blue-line); }
.notice--ok { background: var(--green-soft); border-color: #b9e0c9; color: #063d24; }
.notice--warn { background: var(--amber-soft); border-color: #f1d1a8; color: #5a3100; }
.notice--error { background: var(--red-soft); border-color: #f5c2bd; color: #7a1610; }
.notice p { margin: 0; }

/* ------------------------------------------------------------- pages internes */
.page-hero { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f3f6fd, var(--bg)); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 12px; }
.page-hero .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; font-size: .92rem; }
.toc strong { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--blue-ink); border-color: var(--blue); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .toc { position: static; } }

/* catalogue */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 320px; justify-content: flex-end; }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { padding-left: 42px; }
.results-count { font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--ink-3); }
.empty p { color: var(--ink-2); }
@media (max-width: 640px) { .search { max-width: none; } .toolbar__right { justify-content: stretch; } .toolbar__right > * { flex: 1 1 100%; max-width: none; } }

/* ------------------------------------------------------------- formulaires */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input, .select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.select, .field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315181c' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 77, 255, .14); }
.field input::placeholder { color: #6b727c; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: .84rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.fieldset legend { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; padding: 0; display: flex; align-items: center; gap: 10px; }
.fieldset legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-family: var(--font-mono); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-size: .94rem; color: var(--ink); line-height: 1.45; }
.check + .check { margin-top: 10px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.check[aria-invalid="true"] { border-color: var(--red); }

/* ------------------------------------------------------------- page produit */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product__media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 22px; border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 35%, #e8efff 0%, #f8f8f4 70%), var(--surface-2); }
.product__vial { width: 100%; height: 100%; display: grid; place-items: center; }
.product__media .vial-svg { width: 42%; height: auto; filter: drop-shadow(0 24px 22px rgba(21, 24, 28, .14)); }
.product__media .badge { position: absolute; }
.product__media .b-tl { top: 16px; left: 16px; }
.product__media .b-tr { top: 16px; right: 16px; }
.product__media .b-bl { bottom: 16px; left: 16px; }
.product__info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.product__sub { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 16px; }
.product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.purity-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.purity-panel__value { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--green); line-height: 1; letter-spacing: -0.03em; }
.purity-panel__label { font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.purity-panel__label strong { color: var(--ink); display: block; }
@media (max-width: 480px) { .purity-panel { grid-template-columns: auto 1fr; } .purity-panel .btn { grid-column: 1 / -1; } }
.variants { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.variant { min-height: 48px; padding: 8px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface); text-align: left; line-height: 1.25; }
.variant b { display: block; font-size: .98rem; }
.variant span { font-size: .84rem; color: var(--ink-2); }
.variant:hover { border-color: var(--ink); }
.variant[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 1px var(--blue) inset; }
.variant[data-out="true"] { opacity: 1; background: var(--surface-2); }
.variant[data-out="true"] span { color: var(--red); }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.buy__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; margin-right: auto; }
.buy__price small { display: block; font-family: var(--font); font-size: .8rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; border-radius: 999px; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 32px; }
.perks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--ink-2); font-weight: 500; padding-right: 16px; }
.spec-table td { font-family: var(--font-mono); font-size: .86rem; overflow-wrap: anywhere; }
.product-section { margin-top: 36px; }
.product-section h2 { font-size: 1.35rem; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.product-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.product-tabs a { font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); text-decoration: none; }
.product-tabs a:hover { color: var(--ink); background: var(--line); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product__media { position: relative; top: 0; max-width: 520px; width: 100%; margin: 0 auto; } }

/* ------------------------------------------------------------- panier & commande */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } }
.cart-lines { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line__thumb { width: 84px; height: 84px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 35%, #eef3ff, #f4f3ee); border: 1px solid var(--line); }
.cart-line__thumb .vial-svg { height: 76px; width: 44px; }
.cart-line__name { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.cart-line__name:hover { color: var(--blue-ink); }
.cart-line__meta { font-size: .86rem; color: var(--ink-2); margin: 2px 0 10px; }
.cart-line__controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-line__total { font-weight: 700; font-family: var(--font-display); font-size: 1.08rem; text-align: right; white-space: nowrap; }
.cart-line__unit { display: block; font-family: var(--font); font-weight: 400; font-size: .8rem; color: var(--ink-3); }
.btn-text { background: none; border: 0; padding: 4px 0; color: var(--ink-2); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--red); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr; padding: 14px; gap: 12px; }
  .cart-line__thumb { width: 64px; height: 64px; }
  .cart-line__thumb .vial-svg { height: 58px; width: 34px; }
  .cart-line__total { grid-column: 2; text-align: left; }
}
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.25rem; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .96rem; color: var(--ink-2); }
.summary__row b { color: var(--ink); font-weight: 600; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.1rem; color: var(--ink); }
.summary__row--total b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.summary__items { list-style: none; padding: 0; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.summary__items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .92rem; }
.summary__items li span:first-child { color: var(--ink); }
.summary__items small { display: block; color: var(--ink-3); font-size: .8rem; }
.summary .btn { margin-top: 16px; }
.summary__note { font-size: .84rem; color: var(--ink-2); margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.summary__note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--blue-ink); }
.free-ship { margin: 4px 0 14px; font-size: .88rem; color: var(--ink-2); }
.free-ship__bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin-top: 8px; border: 1px solid var(--line); }
.free-ship__bar span { display: block; height: 100%; background: var(--blue); border-radius: 8px; transition: width .3s; }
.free-ship--ok { color: var(--green); font-weight: 600; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-methods span { font-size: .74rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); background: var(--bg); }

.progress { display: flex; list-style: none; padding: 0; margin: 0 0 28px; gap: 6px; counter-reset: p; flex-wrap: wrap; }
.progress li { flex: 1 1 0; min-width: 110px; font-size: .84rem; font-weight: 600; color: var(--ink-3); padding-top: 10px; border-top: 3px solid var(--line); }
.progress li[data-state="done"] { color: var(--ink-2); border-color: var(--ink); }
.progress li[data-state="current"] { color: var(--blue-ink); border-color: var(--blue); }
@media (max-width: 560px) { .progress { flex-wrap: nowrap; } .progress li { min-width: 0; font-size: .74rem; } }

/* suivi */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 24px 40px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; }
.timeline__dot svg { width: 14px; height: 14px; }
.timeline li[data-state="done"] .timeline__dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.timeline li[data-state="done"]::before { background: var(--ink); }
.timeline li[data-state="current"] .timeline__dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(10, 77, 255, .16); }
.timeline li[data-state="error"] .timeline__dot { background: var(--red); border-color: var(--red); color: #fff; }
.timeline strong { display: block; }
.timeline span { font-size: .88rem; color: var(--ink-2); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.order-head h2 { margin: 0; font-size: 1.4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.panel + .panel { margin-top: 18px; }
.panel h2, .panel h3 { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2 > .panel + .panel { margin-top: 0; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.address strong { color: var(--ink); }
.big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.big-check svg { width: 36px; height: 36px; }
.big-check--wait { background: var(--blue-soft); color: var(--blue-ink); }
.big-check--error { background: var(--red-soft); color: var(--red); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--blue-line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #fbfbf8, var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; min-height: 340px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* calculateur */
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.calc__result { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc__result div { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius-sm); padding: 14px; }
.calc__result dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-ink); }
.calc__result dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
@media (max-width: 680px) { .calc { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border-top: 2px solid var(--ink); padding-top: 14px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------- pied de page */
.footer { background: #111317; color: #e4e6ea; margin-top: 0; }
.footer a { color: #e4e6ea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 32px; padding: 56px 0 40px; }
.footer .logo, .footer .logo:hover { color: #fff; }
.footer .logo__sub { color: #aab1bb; }
.footer .logo__name b { color: #6f95ff; }
.footer__about { font-size: .92rem; color: #c3c8cf; margin: 16px 0 0; max-width: 34ch; }
.footer h3 { color: #fff; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer address { font-style: normal; font-size: .94rem; color: #c3c8cf; line-height: 1.7; }
.footer address a { color: #fff; }
.footer__ruo { border-top: 1px solid #2a2e35; border-bottom: 1px solid #2a2e35; padding: 18px 0; font-size: .86rem; color: #c3c8cf; display: flex; gap: 12px; align-items: flex-start; }
.footer__ruo svg { width: 20px; height: 20px; color: #6f95ff; flex: none; margin-top: 1px; }
.footer__ruo strong { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font-size: .84rem; color: #aab1bb; }
.footer__pay { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer__pay span { border: 1px solid #3a3f47; border-radius: 6px; padding: 3px 8px; font-size: .74rem; font-weight: 600; color: #dfe2e6; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__contact { grid-column: 1 / -1; } }

/* logo pied de page + Telegram */
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 14px 18px; }
.footer__logo img { height: 74px; width: auto; }
.footer__logo:hover { text-decoration: none; }
.footer__tg { margin-top: 18px; }
.footer .footer__tg, .footer .footer__tg:hover { color: #fff; text-decoration: none; }
.tg-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(10, 77, 255, .35); transition: transform .18s, background .18s; }
.tg-float:hover { background: var(--blue-hover); color: #fff; transform: translateY(-2px); }
.tg-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .tg-float { width: 52px; height: 52px; padding: 0; justify-content: center; right: 14px; bottom: 14px; } .tg-float span { display: none; } }
@media print { .tg-float { display: none; } }

/* photos produit (repli sur l'illustration si absente) */
.pvis { position: absolute; inset: 0; display: grid; place-items: center; }
.pvis__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pvis > .vial-svg { display: none; }
.pvis--fallback .pvis__img { display: none; }
.pvis--fallback > .vial-svg { display: block; }
.pcard__media .badge, .product__media .badge { z-index: 2; }
.pcard__media { overflow: hidden; }
.pcard__body { position: relative; z-index: 1; background: var(--surface); }
.product__media .pvis > .vial-svg { width: 42%; height: auto; }
.pcard__media .pvis > .vial-svg { width: 40%; height: auto; }
.cart-line__thumb { position: relative; overflow: hidden; }
.cart-line__thumb .pvis > .vial-svg { height: 76%; width: auto; }
.lab-scene__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.lab-scene .float-card { z-index: 2; }

/* rapport d'analyse */
.coa-verify { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.coa-verify span { display: block; font-size: .86rem; color: var(--ink-2); }
.coa-verify .mono.muted { font-size: .7rem; letter-spacing: .06em; }
.coa-verify strong { font-size: 1.05rem; letter-spacing: .04em; }
.coa-scan { margin: 18px 0 0; }
.coa-scan img { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 0 auto; }
.coa-scan figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 10px; text-align: center; }

/* administration */
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.admin-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.admin-stat span { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.admin-stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0; }
.admin-stat small { color: var(--ink-3); font-size: .82rem; }
@media (max-width: 760px) { .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-table td { vertical-align: top; }
.admin-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 0; border-radius: 18px; padding: 0; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); }
.admin-dialog::backdrop { background: rgba(21, 24, 28, .55); }
.admin-dialog__inner { padding: clamp(16px, 3vw, 28px); }
.inline-ico { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--blue-ink); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 80; background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; font-size: .94rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; width: max-content; max-width: calc(100vw - 32px); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; background: var(--blue); padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.toast a:hover { background: var(--blue-hover); color: #fff; }

/* COA page (impression) */
.coa-page { max-width: 900px; margin: 0 auto; }
@media print {
  .promo, .header, .footer, .no-print, .toast { display: none !important; }
  body { background: #fff; }
  .coa-doc { box-shadow: none; border: 1px solid #999; }
  .section { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
