/* =========================================================================
   Incell™ — Peptides de recherche
   Aesthetic: futuristic-minimal scientific / clinical lab
   Palette:  #ffffff  #000000  #004aad  #4985ff  #f0f5f8
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --white:      #ffffff;
  --ink:        #05070d;          /* tinted near-black, not pure #000 */
  --ink-soft:   #3a4356;
  --ink-faint:  #8a93a6;
  --blue:       #004aad;
  --blue-bright:#4985ff;
  --surface:    #f0f5f8;
  --surface-2:  #e6eef4;
  --line:       #d7e2ec;
  --line-soft:  #e9f0f5;

  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1180px;
  --section-y:  4.8rem;           /* uniform vertical gap between sections */

  --shadow-sm:  0 1px 2px rgba(5, 30, 70, 0.05);
  --shadow-md:  0 18px 40px -24px rgba(0, 74, 173, 0.35);
  --shadow-lg:  0 40px 90px -40px rgba(0, 74, 173, 0.45);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- atmospheric background: faint molecular grid ---------------------- */
.field-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(73, 133, 255, 0.10), transparent 60%),
    radial-gradient(900px 620px at -6% 12%, rgba(0, 74, 173, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}
.field-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 74, 173, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 173, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }

/* ====================== ANNOUNCEMENT BAR =============================== */
.announcement {
  position: relative;
  z-index: 60;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(73, 133, 255, 0.45);
}
.announcement__track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 24s linear infinite;
  will-change: transform;
}
.announcement__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100vw;
}
.announcement__group span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  padding: 0.58rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.announcement__group span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--blue-bright);
  transform: translate(50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(73, 133, 255, 0.85);
}
@keyframes announcement-scroll {
  to { transform: translateX(-50%); }
}

/* ============================ NAV ====================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 68px; width: auto; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: var(--white);
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--blue); }

/* buttons ---------------------------------------------------------------- */
.btn {
  --bg: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: var(--shadow-md);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn--bright { --bg: var(--blue-bright); }
.btn--ghost {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--blue-bright); background: var(--surface); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }

/* eyebrow / section headings -------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--blue-bright);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }

/* ============================ HERO ===================================== */
.hero { position: relative; padding: 4.6rem 0 var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
}
.hero h1 .accent { color: var(--blue); }
.hero__lead {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
  font-weight: 300;
}
.hero__cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero__stats {
  margin-top: 2.8rem;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.45rem;
}

/* hero visual: holographic molecular analyser --------------------------- */
@property --viz-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.hero__viz {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(85% 85% at 50% 46%, rgba(73, 133, 255, 0.10), transparent 70%),
    radial-gradient(120% 120% at 20% 10%, #ffffff, var(--surface) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
/* conic sheen travelling along the card edge */
.hero__viz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--viz-ang),
    transparent 0 40%,
    rgba(73, 133, 255, 0.55) 48%,
    rgba(0, 74, 173, 0.85) 52%,
    transparent 60% 100%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
          mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: viz-sheen 9s linear infinite;
}
@keyframes viz-sheen { to { --viz-ang: 360deg; } }

/* parallax stage (tilt driven by pointer, see home.js) */
.viz__stage {
  position: absolute;
  inset: 0;
  transform: perspective(820px)
             rotateX(calc(var(--vy, 0) * -5deg))
             rotateY(calc(var(--vx, 0) * 5deg));
  transition: transform 0.6s var(--ease);
}

/* drifting measurement grid */
.viz__grid {
  position: absolute;
  inset: -12%;
  background-image:
    linear-gradient(rgba(0, 74, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 173, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 72%);
  animation: viz-drift 7s linear infinite;
}
@keyframes viz-drift { to { background-position: -22px -22px, -22px -22px; } }

/* rotating acquisition sweep */
.viz__scan {
  position: absolute;
  top: 50%; left: 50%;
  width: 155%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(73, 133, 255, 0.24),
    rgba(73, 133, 255, 0.05) 13%,
    transparent 28%);
  -webkit-mask-image: radial-gradient(circle, #000 6%, rgba(0, 0, 0, 0.55) 42%, transparent 68%);
          mask-image: radial-gradient(circle, #000 6%, rgba(0, 0, 0, 0.55) 42%, transparent 68%);
  animation: viz-radar 7.5s linear infinite;
}
@keyframes viz-radar { to { rotate: 360deg; } }

/* expanding acquisition waves */
.viz__waves span {
  position: absolute;
  top: 50%; left: 50%;
  width: 34%;
  aspect-ratio: 1;
  margin: -17% 0 0 -17%;
  border: 1px solid rgba(0, 74, 173, 0.32);
  border-radius: 50%;
  opacity: 0;
  animation: viz-wave 5.1s var(--ease) infinite;
}
.viz__waves span:nth-child(2) { animation-delay: 1.7s; }
.viz__waves span:nth-child(3) { animation-delay: 3.4s; }
@keyframes viz-wave {
  0%   { transform: scale(0.4); opacity: 0; }
  16%  { opacity: 0.75; }
  100% { transform: scale(2.45); opacity: 0; }
}

/* scanline sweeping the frame */
.viz__line {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(90deg, transparent, rgba(73, 133, 255, 0.95), transparent),
    radial-gradient(closest-side, rgba(73, 133, 255, 0.28), transparent);
  background-size: 86% 2px, 74% 10px;
  background-position: 50% 0%, 50% 0%;
  background-repeat: no-repeat;
  animation: viz-scanline 5.6s var(--ease) infinite;
}
@keyframes viz-scanline {
  0%   { background-position: 50% 0%, 50% 0%; opacity: 0; }
  14%  { opacity: 0.9; }
  86%  { opacity: 0.9; }
  100% { background-position: 50% 100%, 50% 100%; opacity: 0; }
}

/* HUD corner brackets */
.viz__hud span {
  position: absolute;
  width: 15px; height: 15px;
  border: 1px solid rgba(0, 74, 173, 0.32);
  animation: viz-hud 4.4s var(--ease) infinite;
}
.viz__hud span:nth-child(1) { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.viz__hud span:nth-child(2) { bottom: 16px; left: 16px; border-right: 0; border-top: 0; animation-delay: 2.2s; }
@keyframes viz-hud { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* svg scene ------------------------------------------------------------- */
.viz__svg {
  position: absolute;
  inset: 11%;
  width: 78%;
  height: 78%;
  overflow: visible;
}

.viz__halo,
.viz__ticks,
.viz__reticle,
.viz__orbits,
.viz__lattice,
.viz__electron {
  transform-box: view-box;
  transform-origin: 150px 150px;
}
.viz__halo { animation: viz-breathe 6.4s ease-in-out infinite; }
@keyframes viz-breathe {
  0%, 100% { transform: scale(0.9);  opacity: 0.6; }
  50%      { transform: scale(1.07); opacity: 1; }
}
.viz__ticks   { animation: viz-spin 60s linear infinite; }
.viz__reticle { animation: viz-spin-rev 26s linear infinite; }
.viz__orbits  { animation: viz-spin 90s linear infinite; }
.viz__lattice { animation: viz-spin 48s linear infinite; }
.viz__electron { animation: viz-spin 9s linear infinite; }
@keyframes viz-spin     { to { transform: rotate(360deg); } }
@keyframes viz-spin-rev { to { transform: rotate(-360deg); } }

/* energy flowing around the orbital shells */
.orbit {
  stroke-dasharray: 5 9;
  animation: viz-flow 3.2s linear infinite;
  animation-delay: calc(var(--d, 0) * -1s);
}
@keyframes viz-flow { to { stroke-dashoffset: -28; } }

/* signal pulses propagating from the core along each bond */
.spark {
  stroke-dasharray: 13 200;
  stroke-dashoffset: 13;
  animation: viz-spark 2.9s cubic-bezier(0.4, 0, 0.5, 1) infinite;
  animation-delay: calc(var(--d, 0) * -1s);
}
@keyframes viz-spark {
  0%      { stroke-dashoffset: 13; opacity: 0; }
  12%     { opacity: 1; }
  72%     { opacity: 0.9; }
  80%,
  100%    { stroke-dashoffset: -78; opacity: 0; }
}

/* node pulse */
.viz__node {
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-node 3.6s var(--ease) infinite;
  animation-delay: calc(var(--d, 0) * -1s);
}
@keyframes viz-node {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50%      { transform: scale(1.16); opacity: 1; }
}
.viz__core {
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-core 3.6s var(--ease) infinite;
}
@keyframes viz-core {
  0%, 100% { transform: scale(0.94); }
  50%      { transform: scale(1.06); }
}
.viz__corering {
  transform-box: view-box;
  transform-origin: 150px 150px;
  animation: viz-spin-rev 14s linear infinite;
}
.hero__viz .badge {
  position: absolute;
  z-index: 6;
  top: 1.1rem; left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.hero__viz .badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(73, 133, 255, 0.22);
  animation: viz-live 2.2s ease-in-out infinite;
}
@keyframes viz-live {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 0 2px rgba(73, 133, 255, 0.12); }
  50%      { opacity: 1;   box-shadow: 0 0 0 4px rgba(73, 133, 255, 0.24); }
}
.hero__viz .readout {
  position: absolute;
  z-index: 6;
  bottom: 1.1rem; right: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.5;
}
.hero__viz .readout b { color: var(--blue); font-weight: 600; }

/* ============================ TRUST STRIP ============================== */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(240, 245, 248, 0.6);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.strip__cell {
  background: var(--white);
  padding: 1.5rem 1.4rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.strip__cell svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.strip__cell h4 { font-size: 0.95rem; font-weight: 600; }
.strip__cell p { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.2rem; }

/* ============================ SECTION ================================= */
.section { padding: var(--section-y) 0; }
/* two adjacent sections would otherwise stack both paddings — collapse to one */
.section + .section { padding-top: 0; }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-top: 1rem; }
.section__head p { margin-top: 1rem; color: var(--ink-soft); font-weight: 300; }

/* ============================ PRODUCTS ================================= */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-bright); }
.card:hover::before { transform: scaleX(1); }

.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.card__mol {
  width: 68px; height: 68px; flex: none;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.card__mol svg { width: 60%; height: 60%; color: var(--blue); }
.card__purity {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(73, 133, 255, 0.1);
  border: 1px solid rgba(73, 133, 255, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.card h3 { font-size: 1.5rem; margin-top: 1.4rem; }
.card__sub { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.35rem; }
.card__desc { font-size: 0.92rem; color: var(--ink-soft); margin-top: 1rem; font-weight: 300; }

.card__specs {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.3rem;
}
.spec { display: flex; flex-direction: column; gap: 0.15rem; }
.spec dt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.spec dd { font-size: 0.86rem; font-weight: 500; color: var(--ink); }

.card__foot {
  margin-top: auto;
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price { display: flex; align-items: baseline; gap: 0.35rem; }
.price b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }

/* qty stepper ------------------------------------------------------------ */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}
.stepper button {
  width: 38px; height: 40px;
  background: var(--white);
  border: none;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 600;
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
}
.stepper button:hover { background: var(--surface); }
.stepper button:disabled { color: var(--ink-faint); cursor: not-allowed; }
.stepper input {
  width: 40px; height: 40px;
  text-align: center;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* pack options (multi-dose offer) — one option per slide ------------------ */
.packs {
  margin-top: auto;
  padding-top: 1.5rem;
}
.packs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.packs__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.packs__nav { display: flex; gap: 0.4rem; flex: none; }
.packs__arrow {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.packs__arrow svg { width: 1rem; height: 1rem; }
.packs__arrow:hover { color: var(--blue-bright); border-color: var(--blue-bright); transform: scale(1.06); }
.packs__arrow:disabled { opacity: 0.32; cursor: default; pointer-events: none; }
.packs__track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 0.3rem;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.packs__track::-webkit-scrollbar { display: none; }
.packs__track:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.pack {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pack:hover { border-color: var(--blue-bright); background: var(--white); }
.pack--best { background: var(--white); border-color: rgba(73, 133, 255, 0.45); }
.pack--active { background: var(--white); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pack__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; }
.pack__dose {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.pack__dose span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.pack__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(73, 133, 255, 0.1);
  border: 1px solid rgba(73, 133, 255, 0.25);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  white-space: nowrap;
}
.pack__note { font-size: 0.78rem; color: var(--ink-soft); font-weight: 300; margin-top: 0.3rem; }
.pack__foot {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pack__price { white-space: nowrap; }
.pack__price b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.pack__price small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.packs__dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.7rem; }
.packs__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.packs__dots button[aria-current="true"] { width: 20px; background: var(--blue); }

/* CoA (certificat d'analyse) trigger on product card */
.card__coa {
  margin-top: 1.3rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.card__coa:hover { border-color: var(--blue-bright); background: var(--white); transform: translateY(-1px); }
.card__coa > svg:first-child { width: 22px; height: 22px; color: var(--blue); flex: none; }
.card__coa-txt { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 0; }
.card__coa-txt b { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; }
.card__coa-txt small { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.card__coa-arrow { width: 16px; height: 16px; color: var(--blue); flex: none; transition: transform 0.25s var(--ease); }
.card__coa:hover .card__coa-arrow { transform: translateX(3px); }

/* CoA lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.show { opacity: 1; }
.lightbox__fig {
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.lightbox.show .lightbox__fig { transform: none; }
.lightbox__fig img { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.lightbox__fig figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  padding: 1rem 1.4rem 1.2rem;
  line-height: 1.5;
}
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ============================ DISCLAIMER =============================== */
.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.notice svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.notice h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.notice p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; }

/* ============================ PROCESS ================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.step__no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  background: var(--surface);
}
.step h4 { font-size: 1.1rem; }
.step p { font-size: 0.87rem; color: var(--ink-soft); margin-top: 0.5rem; font-weight: 300; }

/* ============================ ÉTUDES / RESEARCH ======================= */
.studies { position: relative; }
.studies::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 420px at 88% 4%, rgba(73, 133, 255, 0.09), transparent 62%),
    radial-gradient(620px 380px at 4% 96%, rgba(0, 74, 173, 0.06), transparent 60%);
}

.studies__hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.6rem;
  align-items: center;
  margin-bottom: 3.4rem;
}

/* --- animated molecular signature — mass spectrum (retatrutide) -------- */
.sig {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 30% 12%, #ffffff, var(--surface) 74%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sig__plot { width: 86%; height: auto; overflow: visible; }
.sig__base { stroke: var(--line); stroke-width: 1.5; }
.sig__peaks .peak {
  fill: var(--blue);
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
  animation: sig-rise 4.4s var(--ease) infinite;
  animation-delay: calc(var(--d) * 1s);
}
.peak--base { fill: var(--blue-bright); }
@keyframes sig-rise {
  0%       { transform: scaleY(0); }
  22%      { transform: scaleY(1.04); }
  30%      { transform: scaleY(1); }
  78%      { transform: scaleY(1); }
  100%     { transform: scaleY(0); }
}
/* base peak gets an extra glow pulse */
.peak--base { animation: sig-rise 4.4s var(--ease) infinite, sig-glow 4.4s var(--ease) infinite; }
@keyframes sig-glow {
  0%, 30%, 100% { opacity: 0.65; }
  40%, 70%      { opacity: 1; }
}
/* sweeping acquisition cursor, synced to the rise sequence */
.sig__cursor {
  stroke: var(--blue-bright);
  stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(73, 133, 255, 0.9));
  animation: sig-sweep 4.4s var(--ease) infinite;
}
@keyframes sig-sweep {
  0%       { transform: translateX(0);     opacity: 0; }
  6%       { opacity: 0.9; }
  75%      { transform: translateX(226px); opacity: 0.9; }
  86%      { transform: translateX(226px); opacity: 0; }
  100%     { transform: translateX(226px); opacity: 0; }
}
.sig__peaklabel {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--blue);
  opacity: 0;
  animation: sig-label 4.4s var(--ease) infinite;
}
@keyframes sig-label {
  0%, 40% { opacity: 0; }
  55%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
.sig__axis text { font-family: var(--font-mono); }
.sig__tag, .sig__seq {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 0.32rem 0.66rem;
  border-radius: 999px;
  z-index: 2;
}
.sig__tag { top: 1.1rem; left: 1.1rem; }
.sig__seq { bottom: 1.1rem; right: 1.1rem; color: var(--ink-faint); }

/* --- narrative lead ---------------------------------------------------- */
.studies__lead h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.studies__lead > p { margin-top: 1rem; color: var(--ink-soft); font-weight: 300; }
.studies__kpis {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
}
.kpi__num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.kpi__lab { font-size: 0.72rem; color: var(--ink-faint); margin-top: 0.6rem; line-height: 1.4; }

/* --- charts ------------------------------------------------------------- */
.studies__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.chart figcaption { margin-bottom: 1.2rem; }
.chart__eyebrow { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.chart h4 { font-size: 1.02rem; margin-top: 0.5rem; line-height: 1.25; }
.chart__plot svg { width: 100%; height: auto; overflow: visible; }
.chart__src { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-faint); margin-top: 1.1rem; }
.chart__src i { font-style: italic; }

/* line chart draw-in on reveal */
.chart__area { fill: rgba(73, 133, 255, 0.12); opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
.chart__line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.chart__dots circle { fill: var(--white); stroke: var(--blue); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.chart__dots circle:nth-child(1){ transition-delay: 0.5s; } .chart__dots circle:nth-child(2){ transition-delay: 0.8s; }
.chart__dots circle:nth-child(3){ transition-delay: 1.1s; } .chart__dots circle:nth-child(4){ transition-delay: 1.4s; }
.chart__dots circle:nth-child(5){ transition-delay: 1.7s; }
.reveal.in .chart__line { stroke-dashoffset: 0; }
.reveal.in .chart__area { opacity: 1; }
.reveal.in .chart__dots circle { opacity: 1; transform: scale(1); }

/* bar chart */
.bars { display: grid; gap: 1.25rem; }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.bar__head span { font-size: 0.83rem; color: var(--ink-soft); }
.bar__head b { font-family: var(--font-mono); font-size: 0.9rem; color: var(--blue); }
.bar__track { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transition: width 1.3s var(--ease) 0.3s;
}
.reveal.in .bar__fill { width: var(--w); }

/* --- clinical timeline -------------------------------------------------- */
.timeline { margin-top: 2.6rem; }
.timeline__head { margin-bottom: 1.8rem; }
.timeline__head h4 { font-size: 1.15rem; margin-top: 0.5rem; }
.timeline__track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}
.timeline__track::before {
  content: "";
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 2px;
  background: var(--line);
}
.tl { position: relative; padding-top: 2rem; }
.tl__dot {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
}
.tl--done .tl__dot { background: var(--blue); border-color: var(--blue); }
.tl--active .tl__dot { background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: 0 0 0 0 rgba(73, 133, 255, 0.5); animation: tl-pulse 2.4s var(--ease) infinite; }
@keyframes tl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(73, 133, 255, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(73, 133, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(73, 133, 255, 0); }
}
.tl__phase { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.tl p { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.4rem; font-weight: 300; }
.tl__badge {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.tl--done .tl__badge { color: var(--blue); border-color: rgba(0, 74, 173, 0.3); background: rgba(0, 74, 173, 0.06); }
.tl--active .tl__badge { color: var(--white); background: var(--blue-bright); border-color: var(--blue-bright); }

.studies__disclaimer {
  margin-top: 2.6rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
  max-width: 74ch;
}

/* ============================ ACTUALITÉS / NEWS ======================= */
.news__carousel {
  position: relative;
}
.news__track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding: 0 4px;
  padding: 4px 4px 1.4rem;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news__track::-webkit-scrollbar { display: none; }
.news__track:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}
.post {
  position: relative;
  flex: 0 0 clamp(230px, 70%, 290px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.post:hover,
.post:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-bright); }
.post:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
/* featured preview is a touch wider */
.post--feature {
  flex: 0 0 clamp(260px, 82%, 360px);
  background: linear-gradient(135deg, var(--surface) 0%, var(--white) 60%);
}
/* preview text is clamped to keep cards compact */
.post p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__more {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.post__more svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.post:hover .post__more svg,
.post:focus-visible .post__more svg { transform: translateX(3px); }
.news__all {
  display: flex;
  justify-content: center;
  margin-top: 0.6rem;
}

/* carousel navigation */
.news__nav {
  position: absolute;
  top: calc(50% - 1.2rem);
  transform: translateY(-50%);
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.news__nav svg { width: 1.3rem; height: 1.3rem; }
.news__nav:hover { color: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-50%) scale(1.06); }
.news__nav:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.news__nav--prev { left: -1.1rem; }
.news__nav--next { right: -1.1rem; }

/* carousel dots */
.news__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.news__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.news__dots button[aria-current="true"] {
  width: 22px;
  background: var(--blue);
}
.post__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.post__cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(73, 133, 255, 0.1);
  border: 1px solid rgba(73, 133, 255, 0.25);
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
}
.post__meta time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.post h3 { font-size: 1.02rem; line-height: 1.22; margin-top: 0.2rem; }
.post--feature h3 { font-size: clamp(1.12rem, 2vw, 1.32rem); }
.post p { margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-soft); font-weight: 300; }
.post--feature p { font-size: 0.9rem; }
.post__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.post__tags li {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: var(--white);
}
.news__disclaimer {
  margin-top: 2.4rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
  max-width: 74ch;
}

/* ==================== ACTUALITÉS — PAGE DÉDIÉE ======================= */
.article-hero { padding-bottom: 0.5rem; }
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  margin-top: 0.4rem;
}
.articles__wrap { max-width: 760px; }
.article {
  padding-block: 2.6rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.article:first-of-type { border-top: none; padding-top: 0.6rem; }
.article h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.14;
  margin-top: 0.7rem;
  letter-spacing: -0.01em;
}
.article h3 {
  font-size: 1.16rem;
  margin-top: 1.7rem;
  color: var(--blue);
}
.article p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.72;
}
.article__lead {
  font-size: 1.06rem;
  color: var(--ink);
  font-weight: 400;
  margin-top: 1rem !important;
}
.article ul:not(.post__tags) {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.7;
}
.article ul:not(.post__tags) li { margin-top: 0.35rem; }
.article .post__tags { margin-top: 1.8rem; }
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.article__back svg { width: 1rem; height: 1rem; }
.article__back:hover { color: var(--blue-bright); }

/* ============================ FAQ ==================================== */
.faq__list { display: grid; gap: 0.9rem; max-width: 820px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq__item[open] { border-color: var(--blue-bright); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 1.5rem 1.4rem; }
.faq__body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; font-weight: 300; }
.faq__body a { color: var(--blue); font-weight: 600; }

/* ============================ FOOTER ================================== */
.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 3rem 0 2rem;
}
.footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__brand img { height: 52px; margin-bottom: 0.9rem; }
.footer__brand p { font-size: 0.82rem; color: var(--ink-faint); max-width: 34ch; font-weight: 300; }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem; }
.footer__col a, .footer__col p { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ============================ CART BAR ================================ */
.cartbar {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 200%);
  z-index: 60;
  width: min(100% - 2rem, 560px);
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 0.8rem 0.7rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 30px 60px -20px rgba(5, 7, 13, 0.6);
  transition: transform 0.45s var(--ease);
}
.cartbar.show { transform: translate(-50%, 0); }
.cartbar__info { display: flex; flex-direction: column; }
.cartbar__info small { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); }
.cartbar__info b { font-size: 1rem; font-weight: 600; }
.cartbar .btn { background: var(--blue-bright); box-shadow: none; }
.cartbar .btn:hover { background: #6a9bff; transform: none; }

/* ============================ PAYMENT PAGE ============================ */
.pay { padding: 3.4rem 0 4rem; }
.pay__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 2.4rem; align-items: start; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 1.6rem; }
.panel__title {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 1.4rem;
}
.panel__title .n {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--white);
  background: var(--blue); width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; flex: none;
}

/* order lines */
.order__line {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}
.order__line:first-of-type { padding-top: 0; }
.order__mol { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.order__mol svg { width: 58%; color: var(--blue); }
.order__meta { flex: 1; min-width: 0; }
.order__meta h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; }
.order__meta h4 small { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; color: var(--ink-faint); }
.order__meta span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }
.order__price { font-family: var(--font-display); font-weight: 600; font-size: 1rem; white-space: nowrap; }

.order__totals { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.order__row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.order__row.free b { color: var(--blue); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; }
.order__grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.order__grand span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.order__grand b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--ink); }

.order__empty { text-align: center; padding: 2rem 1rem; color: var(--ink-faint); }
.order__empty svg { width: 40px; height: 40px; color: var(--line); margin: 0 auto 0.8rem; }
.order__empty a { color: var(--blue); font-weight: 600; }

/* form fields */
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 3.4rem; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--blue-bright); background: var(--white); box-shadow: 0 0 0 4px rgba(73, 133, 255, 0.14); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field__hint { font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row .field { margin-bottom: 0; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* bank details */
.bank { display: grid; gap: 0.9rem; }
.bank__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.bank__item .k { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.bank__item .v { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500; color: var(--ink); word-break: break-word; text-align: right; }
.bank__item.stack { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.bank__item.stack .v { text-align: left; }
.copy {
  border: 1px solid var(--line); background: var(--white); color: var(--blue);
  border-radius: 8px; padding: 0.35rem 0.6rem; font-family: var(--font-mono); font-size: 0.66rem;
  display: inline-flex; align-items: center; gap: 0.35rem; flex: none;
  transition: all 0.2s var(--ease);
}
.copy:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.copy.done { background: var(--blue-bright); color: var(--white); border-color: var(--blue-bright); }
.copy svg { width: 13px; height: 13px; }

.pay__note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 1.3rem; line-height: 1.6; }

/* sticky summary column */
.pay__aside { position: sticky; top: 96px; }

/* thank-you page */
.thanks { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.thanks__mark { width: 84px; height: 84px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 1.8rem; }
.thanks__mark svg { width: 44px; height: 44px; color: var(--blue); }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.thanks p { color: var(--ink-soft); max-width: 52ch; margin: 1.1rem auto 0; font-weight: 300; }
.thanks__box { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.8rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); text-align: left; }
.thanks .btn { margin-top: 2.2rem; }

/* reveal on load / scroll */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* ============================ RESPONSIVE ============================== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__viz { max-width: 420px; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .studies__hero { grid-template-columns: 1fr; gap: 2rem; }
  .sig { max-width: 360px; margin-inline: auto; width: 100%; }
  .studies__grid { grid-template-columns: 1fr; }
  .news__nav--prev { left: 0.2rem; }
  .news__nav--next { right: 0.2rem; }
  .timeline__track { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .timeline__track::before { display: none; }
  .pay__grid { grid-template-columns: 1fr; }
  .pay__aside { position: static; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 2rem, var(--maxw)); }
  .announcement__group span { padding-inline: 1.4rem; }
  .strip__inner { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .panel { padding: 1.5rem; }
  .studies__kpis { grid-template-columns: 1fr; }
  .timeline__track { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  /* class-level scroll-behavior would otherwise beat the universal rule */
  .news__track, .packs__track { scroll-behavior: auto; }
  .announcement__track { width: 100%; }
  .announcement__group { width: 100%; justify-content: center; flex-wrap: wrap; }
  .announcement__group[aria-hidden="true"] { display: none; }
  .announcement__group span { padding-block: 0.55rem; }
  .reveal { opacity: 1; transform: none; }
  /* hero analyser: keep a clean static composition */
  .viz__stage { transform: none; transition: none; }
  .viz__waves, .viz__line, .viz__scan { display: none; }
  .viz__halo { opacity: 0.85; }
  .hero__viz .badge::before { opacity: 0.9; }
}
