/* ──────────────────────────────────────────────────────────────
   TriDar Pharma — Stylesheet
   Sections:
     1. Tokens & resets
     2. Utilities & primitives
     3. Navigation
     4. Hero
     5. Proof bar & trust strips
     6. Shop / product grid
     7. Science & formulation blocks
     8. Laboratoire
     9. Certifications
    10. Testimonials
    11. CTA & footer
    12. Product detail page
    13. Order form & orders page
    14. Responsive breakpoints (1180 → 480)
    15. Reduced-motion safety
   ────────────────────────────────────────────────────────────── */

/* ── 1. TOKENS & RESETS ───────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:           oklch(98.8% 0.005 200);
  --bg-warm:      oklch(97.5% 0.012 80);
  --stone:        oklch(95.5% 0.01 90);
  --surface:      #ffffff;
  --surface-2:    oklch(96.5% 0.008 220);

  /* Brand */
  --navy:         oklch(20% 0.045 245);
  --navy-2:       oklch(26% 0.045 245);
  --navy-3:       oklch(32% 0.04 245);

  --green:        oklch(48% 0.16 148);
  --green-deep:   oklch(38% 0.15 148);
  --green-mid:    oklch(58% 0.15 148);
  --green-bright: oklch(72% 0.18 142);
  --sage:         oklch(72% 0.08 148);
  --sage-light:   oklch(94% 0.045 148);
  --sage-tint:    oklch(96.5% 0.025 148);

  /* Accents */
  --gold:         oklch(74% 0.14 78);
  --gold-deep:    oklch(58% 0.13 65);
  --rose:         oklch(70% 0.12 22);

  /* Text */
  --text:         oklch(20% 0.025 245);
  --muted:        oklch(52% 0.025 245);
  --muted-soft:   oklch(68% 0.018 220);
  --border:       oklch(89% 0.012 220);
  --border-soft:  oklch(93% 0.008 220);

  /* Per-product accents (homepage tiles + detail page) */
  --calm-h:    300;
  --prebio-h:  200;
  --veino-h:   240;
  --digest-h:  148;
  --transit-h: 32;
  --vitd-h:    72;

  /* Typography */
  --serif:        'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);   /* smooth deceleration */
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);   /* continuous */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);/* light overshoot */
  --t-fast:    0.18s;
  --t-base:    0.32s;
  --t-slow:    0.55s;
  --t-reveal:  0.85s;

  /* Elevation */
  --shadow-sm: 0 2px 8px oklch(22% 0.04 240 / 0.06);
  --shadow:    0 8px 28px oklch(22% 0.04 240 / 0.08);
  --shadow-lg: 0 24px 64px oklch(22% 0.04 240 / 0.12);
  --shadow-green: 0 12px 36px oklch(48% 0.16 148 / 0.28);

  /* Layout */
  --container:   1180px;
  --gutter:      32px;
  --proof-h:     56px;
  --radius-sm:   10px;
  --radius:      18px;
  --radius-lg:   24px;
  --radius-xl:   32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  font: 600 14px/1 var(--sans);
  padding: 12px 20px;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ── 2. UTILITIES & PRIMITIVES ────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section-label {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-green);
  transition:
    background var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-base) var(--ease-out);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px oklch(48% 0.16 148 / 0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: gap var(--t-fast) var(--ease-out), color var(--t-fast);
}
.btn-ghost:hover { gap: 14px; color: var(--green); }
.btn-ghost svg { width: 18px; height: 18px; }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--green-deep);
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-base);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22); }

.btn-outline-white {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ── 3. NAVIGATION ────────────────────────────────────────────── */
nav#mainNav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: oklch(98.8% 0.005 200 / 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
nav#mainNav.scrolled {
  border-color: var(--border);
  background: oklch(98.8% 0.005 200 / 0.96);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img {
  display: block;
  width: 132px;
  height: 40px;
  object-fit: cover;        /* the source PNG has whitespace around the lockup; */
  object-position: center;  /* cover + smaller frame visually trims it.          */
  flex-shrink: 0;
}
/* Same lockup as the header, whitened so the navy wordmark reads on the navy footer. */
.footer-brand .logo-img {
  width: 160px;
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--green);
  transition: right var(--t-base) var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring) !important;
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); color: #fff !important; }
.nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}

/* Mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px;
}
.mobile-nav.open {
  display: flex;
  animation: fade-in var(--t-base) var(--ease-out);
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(24px, 6vw, 32px);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.mobile-nav a.btn-primary {
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
}
.mobile-close {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background var(--t-fast);
}
.mobile-close:hover { background: var(--stone); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── 4. HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--proof-h));
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  position: relative;
}
.hero > .container {
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 75% 45%, oklch(86% 0.09 148 / 0.25) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 15% 85%, oklch(82% 0.06 220 / 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 10%, oklch(84% 0.07 200 / 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-deco-ring {
  position: absolute;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid oklch(80% 0.08 148 / 0.4);
  pointer-events: none;
  z-index: 1;
  animation: ring-rotate 60s linear infinite;
}
.hero-deco-ring::before,
.hero-deco-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.hero-deco-ring::before { inset: 48px;  border: 1px solid oklch(80% 0.08 148 / 0.22); }
.hero-deco-ring::after  { inset: 110px; border: 1px solid oklch(80% 0.08 148 / 0.13); }
@keyframes ring-rotate { to { transform: translateY(-50%) rotate(360deg); } }

.hero-ripple {
  position: absolute;
  right: -5%; top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  pointer-events: none;
  opacity: 0.28;
  z-index: 1;
}
.hero-ripple circle {
  fill: none;
  stroke: var(--sage);
  stroke-width: 1;
  transform-origin: center;
}
.hero-ripple circle:nth-child(1) { r: 120; opacity: 0.6;  animation: ripple 4.5s var(--ease-out) infinite; }
.hero-ripple circle:nth-child(2) { r: 200; opacity: 0.45; animation: ripple 4.5s var(--ease-out) 0.7s infinite; }
.hero-ripple circle:nth-child(3) { r: 280; opacity: 0.3;  animation: ripple 4.5s var(--ease-out) 1.4s infinite; }
.hero-ripple circle:nth-child(4) { r: 340; opacity: 0.15; animation: ripple 4.5s var(--ease-out) 2.1s infinite; }
@keyframes ripple {
  0% { opacity: 0.65; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.18); }
}

.hero-left {
  padding: 80px 48px 80px 0;
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  border: 1px solid oklch(85% 0.07 148);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2.4s var(--ease-smooth) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.65; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.012em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust-item { display: flex; flex-direction: column; gap: 3px; }
.hero-trust-item strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}
.hero-trust-item span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.trust-divider { width: 1px; height: 40px; background: var(--border); }

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 560px;
  min-width: 0;
}
.hero-product-previews {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(360px, 100%);
  padding: 20px 0;
}
.hero-preview-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base);
}
.hero-preview-card:nth-child(1) { animation: float-card 6s var(--ease-smooth) infinite; }
.hero-preview-card:nth-child(2) { animation: float-card 6s var(--ease-smooth) 0.8s infinite; margin-left: min(24px, 4%); }
.hero-preview-card:nth-child(3) { animation: float-card 6s var(--ease-smooth) 1.6s infinite; margin-left: min(12px, 2%); }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.hero-preview-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}
.hpc-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 20px 0 0 20px;
}
.hpc-calm   .hpc-accent { background: linear-gradient(180deg, oklch(70% 0.16 var(--calm-h)),   oklch(55% 0.14 var(--calm-h))); }
.hpc-prebio .hpc-accent { background: linear-gradient(180deg, oklch(68% 0.13 var(--prebio-h)), oklch(52% 0.12 var(--prebio-h))); }
.hpc-veino  .hpc-accent { background: linear-gradient(180deg, oklch(60% 0.11 var(--veino-h)),  oklch(45% 0.10 var(--veino-h))); }

.hpc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hpc-calm   .hpc-icon { background: oklch(93% 0.05 var(--calm-h));   color: oklch(42% 0.12 var(--calm-h)); }
.hpc-prebio .hpc-icon { background: oklch(91% 0.05 var(--prebio-h)); color: oklch(38% 0.11 var(--prebio-h)); }
.hpc-veino  .hpc-icon { background: oklch(90% 0.04 var(--veino-h));  color: oklch(35% 0.09 var(--veino-h)); }
.hpc-icon svg { width: 26px; height: 26px; }

.hpc-body { flex: 1; min-width: 0; }
.hpc-body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.hpc-body span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  font-style: italic;
}
.hpc-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--stone);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.hero-preview-card:hover .hpc-arrow {
  background: var(--sage-light);
  border-color: var(--sage);
  transform: translateX(4px);
}
.hpc-arrow svg { width: 13px; height: 13px; color: var(--muted); }

/* Floating proof chips */
.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  letter-spacing: 0.02em;
  z-index: 3;
}
.hero-chip svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }
.hero-chip-1 { top: -8px;    left: -16px;  animation: float-chip 5s var(--ease-smooth) infinite; }
.hero-chip-2 { top: 38%;     right: -20px; animation: float-chip 5s var(--ease-smooth) 1s infinite; }
.hero-chip-3 { bottom: -8px; left: 20px;   animation: float-chip 5s var(--ease-smooth) 2s infinite; }
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── 5. PROOF BAR ─────────────────────────────────────────────── */
.proof-bar {
  background: var(--navy);
  height: var(--proof-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.proof-scroll {
  display: flex;
  gap: 64px;
  animation: scroll-left 32s linear infinite;
  width: max-content;
}
.proof-bar:hover .proof-scroll { animation-play-state: paused; }
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: oklch(90% 0.02 220);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.proof-item svg { width: 16px; height: 16px; color: var(--sage); flex-shrink: 0; }
.proof-dot {
  width: 4px;
  height: 4px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 6. SHOP / PRODUCT GRID ───────────────────────────────────── */
.produits {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg);
}
.produits-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 72px;
}
.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.produit-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base);
  isolation: isolate;
}
.produit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}
.produit-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.produit-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  /* Uniform light backdrop. The product photos are studio shots on a light
     ground; mix-blend-mode: multiply (below) drops that ground onto this tile
     so every product floats on the SAME background regardless of its photo. */
  background: radial-gradient(125% 115% at 50% 8%, oklch(99.5% 0 0), var(--sage-tint));
  border-bottom: 1px solid var(--border-soft);
}
/* Subtle inner vignette to seat the floating product into the card. */
.produit-media::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -50px 60px -36px oklch(22% 0.04 240 / 0.14);
  pointer-events: none;
  z-index: 1;
}
.produit-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* show the whole product, never cropped */
  object-position: center;
  mix-blend-mode: multiply;   /* blend the studio ground into the tile */
  /* --img-scale (set per product) normalises how big the box reads across the
     whole catalogue, since each product is framed differently in its photo. */
  transform: scale(var(--img-scale, 1));
  transform-origin: center;
  transition: transform var(--t-slow) var(--ease-out);
}
.produit-card:hover .produit-media img { transform: scale(calc(var(--img-scale, 1) * 1.05)); }
.produit-card-header {
  padding: 28px 28px 22px;
  position: relative;
  background: var(--bg);
}
.produit-card-header[data-accent="calm"]    { background: linear-gradient(135deg, oklch(95% 0.04 var(--calm-h)),    oklch(92% 0.06 var(--calm-h)    / 0.5)); }
.produit-card-header[data-accent="prebio"]  { background: linear-gradient(135deg, oklch(94% 0.04 var(--prebio-h)),  oklch(91% 0.06 var(--prebio-h)  / 0.5)); }
.produit-card-header[data-accent="veino"]   { background: linear-gradient(135deg, oklch(93% 0.03 var(--veino-h)),   oklch(90% 0.05 var(--veino-h)   / 0.5)); }
.produit-card-header[data-accent="digest"]  { background: linear-gradient(135deg, oklch(94% 0.04 var(--digest-h)),  oklch(91% 0.06 var(--digest-h)  / 0.5)); }
.produit-card-header[data-accent="transit"] { background: linear-gradient(135deg, oklch(95% 0.04 var(--transit-h)), oklch(92% 0.06 var(--transit-h) / 0.5)); }
.produit-card-header[data-accent="vitd"]    { background: linear-gradient(135deg, oklch(95% 0.04 var(--vitd-h)),    oklch(92% 0.07 var(--vitd-h)    / 0.5)); }

.produit-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}
.produit-card-header h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.15;
}
.produit-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.produit-card-body {
  flex: 1;
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.produit-benefits-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.produit-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.produit-benefits-list li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.produit-ingredients { display: flex; flex-wrap: wrap; gap: 6px; }
.produit-ing-pill {
  background: var(--sage-light);
  border: 1px solid oklch(85% 0.06 148);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-deep);
  white-space: nowrap;
}
.produit-format {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0 2px;
}
.produit-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
}
.produit-cta span { display: inline-flex; align-items: center; gap: 8px; transition: gap var(--t-fast); }
.produit-card:hover .produit-cta span { gap: 12px; }
.produit-cta svg { width: 14px; height: 14px; }

/* ── 7. FORMULATION BLOCKS ────────────────────────────────────── */
.formulation-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.formulation-block + .formulation-block { margin-top: 32px; }
.formulation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  flex-wrap: wrap;
}
.formulation-header[data-accent="calm"]    { background: linear-gradient(135deg, oklch(95% 0.04 var(--calm-h)),    oklch(93% 0.05 var(--calm-h)    / 0.4)); border-bottom: 1px solid oklch(88% 0.06 var(--calm-h)    / 0.5); }
.formulation-header[data-accent="prebio"]  { background: linear-gradient(135deg, oklch(94% 0.04 var(--prebio-h)),  oklch(92% 0.05 var(--prebio-h)  / 0.4)); border-bottom: 1px solid oklch(87% 0.06 var(--prebio-h)  / 0.5); }
.formulation-header[data-accent="veino"]   { background: linear-gradient(135deg, oklch(93% 0.03 var(--veino-h)),   oklch(91% 0.04 var(--veino-h)   / 0.4)); border-bottom: 1px solid oklch(86% 0.05 var(--veino-h)   / 0.5); }
.formulation-header[data-accent="digest"]  { background: linear-gradient(135deg, oklch(94% 0.04 var(--digest-h)),  oklch(92% 0.05 var(--digest-h)  / 0.4)); border-bottom: 1px solid oklch(87% 0.06 var(--digest-h)  / 0.5); }
.formulation-header[data-accent="transit"] { background: linear-gradient(135deg, oklch(95% 0.04 var(--transit-h)), oklch(93% 0.05 var(--transit-h) / 0.4)); border-bottom: 1px solid oklch(88% 0.06 var(--transit-h) / 0.5); }
.formulation-header[data-accent="vitd"]    { background: linear-gradient(135deg, oklch(95% 0.04 var(--vitd-h)),    oklch(93% 0.06 var(--vitd-h)    / 0.4)); border-bottom: 1px solid oklch(88% 0.07 var(--vitd-h)    / 0.5); }
.formulation-header-left { display: flex; align-items: center; gap: 14px; }
.form-product-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.form-product-dot[data-accent="calm"]    { background: oklch(55% 0.14 var(--calm-h)); }
.form-product-dot[data-accent="prebio"]  { background: oklch(52% 0.12 var(--prebio-h)); }
.form-product-dot[data-accent="veino"]   { background: oklch(45% 0.10 var(--veino-h)); }
.form-product-dot[data-accent="digest"]  { background: oklch(48% 0.14 var(--digest-h)); }
.form-product-dot[data-accent="transit"] { background: oklch(58% 0.16 var(--transit-h)); }
.form-product-dot[data-accent="vitd"]    { background: oklch(62% 0.16 var(--vitd-h)); }
.form-product-name { font-family: var(--serif); font-size: 20px; color: var(--navy); line-height: 1.1; }
.form-product-tag  { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.06em; margin-top: 3px; }

.formulation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 32px 28px;
}

/* Science card */
.science { padding: clamp(80px, 10vw, 120px) 0; background: var(--stone); }
.science .container > .section-label,
.science .container > .section-title,
.science .container > .section-subtitle { text-align: center; }
.science .container > .section-title { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 16px; }
.science .container > .section-subtitle { max-width: 580px; margin: 0 auto 64px; }

.science-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  transition:
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base),
    transform var(--t-base) var(--ease-out);
}
.science-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sage);
  transform: translateY(-4px);
}
.sci-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sci-icon svg { width: 24px; height: 24px; color: var(--green); }
.sci-body h4 { font-family: var(--serif); font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.sci-body p { font-size: 13px; line-height: 1.65; color: var(--muted); font-weight: 300; }
.sci-source {
  font-size: 11px;
  color: var(--green-mid);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.ing-pill {
  background: var(--sage-light);
  border: 1px solid oklch(85% 0.06 148);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-deep);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.ing-pill:hover { background: oklch(88% 0.07 148); transform: translateY(-2px); }
.ingredient-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 8. LABORATOIRE ───────────────────────────────────────────── */
.labo { padding: clamp(80px, 10vw, 120px) 0; background: var(--bg); }
.labo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.labo-left { display: flex; flex-direction: column; gap: 22px; }
.labo-left h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.022em;
}
.labo-left p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}
.labo-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sage-light);
  border: 1px solid oklch(85% 0.06 148);
  border-radius: 14px;
  padding: 18px 20px;
}
.labo-address svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.labo-address span { font-size: 13px; color: var(--green-deep); font-weight: 500; line-height: 1.6; }
.labo-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.counter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base) var(--ease-out);
}
.counter-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sage);
  transform: translateY(-4px);
}
.counter-value {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 44px);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label { font-size: 12px; color: var(--muted); line-height: 1.45; }
.labo-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.labo-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

/* ── 9. CERTIFICATIONS ────────────────────────────────────────── */
.certifications { padding: clamp(80px, 9vw, 100px) 0; background: var(--navy); }
.certifications .section-label { color: var(--sage); }
.certifications .section-title { color: #fff; }
.certif-header { text-align: center; margin-bottom: 56px; }
.certif-header .section-subtitle { color: oklch(72% 0.02 220); }
.certif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.certif-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.certif-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: var(--navy-2);
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-base) var(--ease-spring);
}
.certif-circle:hover {
  border-color: oklch(88% 0.08 148);
  background: var(--navy-3);
  transform: scale(1.05);
}
.certif-circle svg { width: 32px; height: 32px; color: var(--sage); }
.certif-circle-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sage);
  text-transform: uppercase;
  line-height: 1.3;
}
.certif-text { text-align: center; max-width: 170px; }
.certif-text strong { display: block; font-size: 13px; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.certif-text span { font-size: 12px; color: oklch(62% 0.02 220); line-height: 1.45; }

/* ── 10. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: oklch(24% 0.04 245); padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.testimonials .section-label { color: var(--sage); }
.testimonials .section-title { color: #fff; }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-subtitle { color: oklch(75% 0.02 220); }
.testi-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Vertical padding gives room for the -10px hover lift and the drop shadow without clipping. */
  padding: 24px 0 40px;
  margin-top: -24px;
  scroll-padding: 0 var(--gutter);
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  position: relative;
  background: var(--navy-2);
  border: 1px solid oklch(32% 0.03 240);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: min(340px, 86vw);
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t-slow) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out);
}
/* Decorative serif quote glyph — fades in and rotates upright on hover */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -38px;
  right: -8px;
  font-family: var(--serif);
  font-size: 200px;
  line-height: 1;
  color: var(--sage);
  opacity: 0;
  transform: rotate(12deg) scale(0.9);
  transform-origin: top right;
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-spring);
  pointer-events: none;
  z-index: -1;
}
/* Soft brand-green glow rising from the bottom */
.testi-card::after {
  content: '';
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 70%;
  background: radial-gradient(ellipse at bottom, oklch(55% 0.14 148 / 0.28), transparent 65%);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.testi-card:hover {
  transform: translateY(-10px);
  background: oklch(28% 0.045 240);
  border-color: var(--sage);
  box-shadow:
    0 28px 60px oklch(0% 0 0 / 0.4),
    0 0 0 1px oklch(55% 0.14 148 / 0.18);
}
.testi-card:hover::before { opacity: 0.10; transform: rotate(0deg) scale(1); }
.testi-card:hover::after  { opacity: 1;    transform: translateY(0); }

.testi-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testi-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-spring), fill var(--t-base) var(--ease-out);
}
.testi-card:hover .testi-stars svg {
  transform: scale(1.18);
  fill: oklch(82% 0.16 80);
}
.testi-card:hover .testi-stars svg:nth-child(2) { transition-delay: 0.05s; }
.testi-card:hover .testi-stars svg:nth-child(3) { transition-delay: 0.10s; }
.testi-card:hover .testi-stars svg:nth-child(4) { transition-delay: 0.15s; }
.testi-card:hover .testi-stars svg:nth-child(5) { transition-delay: 0.20s; }

.testi-quote {
  font-size: 15px;
  line-height: 1.7;
  color: oklch(90% 0.015 220);
  font-weight: 300;
  margin-bottom: 26px;
  font-style: italic;
  transition: color var(--t-base) var(--ease-out);
}
.testi-card:hover .testi-quote { color: oklch(95% 0.015 220); }

.testi-author { display: flex; align-items: center; gap: 14px; position: relative; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--sage-light);
  font-family: var(--serif);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out);
}
.testi-card:hover .testi-avatar {
  transform: scale(1.08) rotate(-4deg);
  background: var(--green);
  box-shadow: 0 0 0 4px oklch(48% 0.16 148 / 0.22);
}
.testi-author-info strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
  transition: color var(--t-base);
}
.testi-author-info span { font-size: 12px; color: oklch(62% 0.02 220); }
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid oklch(38% 0.03 240);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.testi-btn:hover { background: oklch(32% 0.03 240); border-color: var(--sage); transform: translateY(-2px); }
.testi-btn svg { width: 18px; height: 18px; color: oklch(72% 0.02 220); }

/* ── 11. CTA / FOOTER ─────────────────────────────────────────── */
/* ── FAQ ── */
.faq { padding: clamp(80px, 10vw, 120px) 0; background: var(--bg); }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.faq-item[open] {
  border-color: var(--green-mid);
  box-shadow: 0 12px 32px oklch(48% 0.16 148 / 0.08);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.35;
  color: var(--navy);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--green);
  transition: transform var(--t-fast) var(--ease-out);
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-answer { padding: 0 28px 24px; }
.faq-answer p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}
.faq-answer a {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer a:hover { color: var(--green-mid); }

.cta-section { padding: clamp(80px, 10vw, 120px) 0; background: var(--bg); }
.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--green-deep), var(--navy-2));
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  overflow: hidden;
}
.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-card::before {
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: oklch(55% 0.13 148 / 0.16);
}
.cta-card::after {
  bottom: -30%;
  left: -5%;
  width: 360px;
  height: 360px;
  background: oklch(22% 0.06 240 / 0.22);
}
.cta-card h2 {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}
.cta-card p {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 1.4vw, 17px);
  color: oklch(86% 0.04 148);
  font-weight: 300;
  margin: 0 auto 44px;
  max-width: 480px;
  line-height: 1.65;
}
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  background: var(--navy);
  padding: 60px 0 32px;
  color: oklch(70% 0.02 220);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid oklch(30% 0.02 240);
  margin-bottom: 30px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  color: oklch(62% 0.02 220);
  margin-top: 16px;
  font-weight: 300;
  max-width: 260px;
}
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a,
.footer-col a {
  font-size: 13px;
  color: oklch(60% 0.02 220);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast);
}
.footer-contact a:hover,
.footer-col a:hover { color: oklch(92% 0.02 220); }
.footer-contact a svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(76% 0.02 220);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: oklch(50% 0.02 220);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 12. PRODUCT DETAIL PAGE ──────────────────────────────────── */
.page-shell {
  padding: 128px 0 80px;
  min-height: 100svh;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.breadcrumb:hover { gap: 12px; color: var(--green); }
.breadcrumb svg { width: 14px; height: 14px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-gallery {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: radial-gradient(125% 110% at 50% 6%, oklch(99.5% 0 0), var(--sage-tint));
  border: 1px solid var(--border-soft);
}
.product-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 80px -42px oklch(22% 0.04 240 / 0.16);
  pointer-events: none;
  z-index: 1;
}
.product-gallery img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transform: scale(var(--img-scale, 1));
  transform-origin: center;
  transition: transform 1.2s var(--ease-out);
}
.product-gallery:hover img { transform: scale(calc(var(--img-scale, 1) * 1.04)); }
.product-gallery-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.product-meta { display: flex; flex-direction: column; gap: 20px; }
.product-meta-category {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.product-meta h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--navy);
}
.product-meta-tagline {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  font-weight: 300;
}
.product-format-row {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-format-pill {
  display: inline-block;
  background: var(--sage-light);
  border: 1px solid oklch(85% 0.06 148);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.product-description { font-size: 15px; line-height: 1.75; color: var(--text); font-weight: 300; }

.product-benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.product-benefits li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.product-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-section { padding-top: 8px; }
.product-section h3 {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.product-section p { font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300; }

.product-section-warning { background: oklch(96% 0.025 22); border: 1px solid oklch(85% 0.07 22); border-radius: 14px; padding: 16px 18px; }
.product-section-warning h3 { color: var(--gold-deep); }
.product-section-warning p { color: var(--text); }

/* Related products */
.related {
  padding: 80px 0 100px;
  background: var(--stone);
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

/* ── 13. ORDER FORM & ORDERS PAGE ─────────────────────────────── */
.order-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header band ─────────────────────────────────────────────── */
.order-form-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-deep), oklch(34% 0.10 220));
  overflow: hidden;
}
.order-form-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.order-form-header-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.order-form-header-icon svg { width: 22px; height: 22px; color: #fff; }
.order-form-header-text { position: relative; z-index: 1; }
.order-form-header-text h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.order-form-header-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Body sections ───────────────────────────────────────────── */
.order-form-body {
  padding: 24px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.order-form-section { display: flex; flex-direction: column; gap: 14px; }
.order-form-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.order-form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Form fields ─────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px oklch(48% 0.16 148 / 0.12);
}
.form-field textarea { resize: vertical; min-height: 84px; font-family: inherit; }

/* Icon-prefixed inputs (wrap each input in .form-field-input-wrap) */
.form-field-input-wrap { position: relative; display: block; }
.form-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
  transition: color var(--t-fast);
}
.form-field-input-wrap--multiline .form-field-icon { top: 14px; transform: none; }
.form-field-input-wrap:focus-within .form-field-icon { color: var(--green); }
.form-field-input-wrap input,
.form-field-input-wrap textarea,
.form-field-input-wrap select { padding-left: 38px; width: 100%; }

/* Quantity stepper ────────────────────────────────────────── */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  height: 46px;
  align-self: flex-start;
}
.qty-control button {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.qty-control button:hover { background: var(--sage-light); color: var(--green); }
.qty-control input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Footer (submit + trust + feedback) ──────────────────────── */
.order-form-footer {
  padding: 4px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-submit {
  width: 100%;
  padding: 17px 28px;
  font-size: 15px;
  font-weight: 600;
}
.order-submit svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast) var(--ease-spring);
}
.order-submit:hover svg { transform: translateX(4px); }

.order-form-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 0 0;
  border-top: 1px dashed var(--border);
}
.order-form-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.order-form-trust-item .ti-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-form-trust-item svg { width: 18px; height: 18px; color: var(--green); }
.order-form-trust-item strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.order-form-trust-item span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
}

.order-feedback {
  font-size: 13px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--sage-light);
  color: var(--green-deep);
  border: 1px solid oklch(82% 0.08 148);
  display: none;
  line-height: 1.55;
}
.order-feedback.show { display: block; animation: feedback-in 0.45s var(--ease-spring); }
@keyframes feedback-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Standalone order-form section on the product page */
.order-section {
  background: var(--sage-tint);
  border-top: 1px solid var(--border);
  padding: clamp(72px, 9vw, 110px) 0;
}
.order-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.order-section-header .section-label { display: inline-block; margin-bottom: 14px; }
.order-section-header .section-title { margin: 0 0 14px; }
.order-section-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}
.order-section #orderFormSlot { max-width: 760px; margin: 0 auto; }

/* In-meta CTA that scrolls to the order section */
.product-meta-cta {
  align-self: flex-start;
  margin-top: 8px;
  gap: 10px;
}
.product-meta-cta svg { width: 16px; height: 16px; }

.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.empty-state svg { width: 56px; height: 56px; color: var(--sage); margin: 0 auto 16px; }
.empty-state h2 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--muted); max-width: 360px; margin: 0 auto 24px; line-height: 1.6; }

/* ── 14. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .product-layout { gap: 48px; }
}
@media (max-width: 1024px) {
  .produits-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }
  .certif-grid   { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  /* Hero fills the first screen (with the proof bar) so the next section
     stays below the fold, mirroring the desktop behaviour. */
  .hero { min-height: calc(100svh - var(--proof-h)); padding: 72px 0 32px; }
  .hero-left { padding: 0 0 32px; max-width: 100%; }
  .hero-deco-ring { display: none; }
  .hero-ripple { opacity: 0.12; right: -20%; }

  .labo-inner { grid-template-columns: 1fr; gap: 48px; }
  .formulation-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .formulation-grid { grid-template-columns: 1fr; padding: 22px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 11px;
    margin-right: -11px;       /* keeps the bars flush to the gutter edge */
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
  }

  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { aspect-ratio: 4 / 3; max-width: 560px; }
  .form-row { grid-template-columns: 1fr; }
  .product-meta-cta { align-self: stretch; justify-content: center; }
  /* 16px inputs stop iOS Safari from auto-zooming the page on field focus */
  .form-field input,
  .form-field textarea,
  .form-field select { font-size: 16px; }

  /* The desktop nav clearance (128px) leaves a dead band above the breadcrumb
     once the nav shrinks; trim it to sit just below the 68px fixed nav. */
  .page-shell { padding: 92px 0 64px; }

  /* Honour notch / home-indicator safe areas (product.html uses
     viewport-fit=cover). env() is 0 on non-notched devices, so spacing is
     unchanged there. */
  .container,
  .nav-inner {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .mobile-nav {
    padding-top: max(32px, env(safe-area-inset-top));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

  /* Give the full-screen menu links a comfortable >=44px tap row. */
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 24px;
  }
  .mobile-nav a.btn-primary { min-height: 48px; padding: 16px 36px; }
}
@media (max-width: 700px) {
  .produits-grid { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .breadcrumb {
    min-height: 44px;
    padding: 8px 4px;
    margin-left: -4px;
    margin-bottom: 16px;
  }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .produits, .labo, .science, .cta-section, .testimonials, .certifications, .related, .order-section, .faq { padding: 72px 0; }
  .faq-header { margin-bottom: 32px; }
  .faq-item summary { padding: 18px 20px; gap: 14px; }
  .faq-answer { padding: 0 20px 20px; }
  .hero { padding: 72px 0 28px; }
  .hero-left { padding: 0 0 24px; }
  .hero-tag { font-size: 10px; padding: 6px 14px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 48px); margin-bottom: 20px; }
  .hero h1 br { display: none; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; max-width: 100%; font-weight: 400; color: var(--text); }
  .hero-actions { gap: 14px; margin-bottom: 32px; width: 100%; }
  .hero-actions .btn-primary { width: 100%; padding: 14px 28px; }
  .hero-trust { gap: 16px; }
  .hero-trust-item strong { font-size: 22px; }
  .trust-divider { display: none; }
  .hero-ripple { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .certif-grid { gap: 20px; }
  .labo-counters { grid-template-columns: 1fr; }

  .product-meta h1 { font-size: clamp(28px, 8vw, 38px); }
  .product-meta-tagline { font-size: 15px; line-height: 1.5; }
  .order-form-header { padding: 18px 20px; }
  .order-form-header-text h3 { font-size: 19px; }
  .order-form-body { padding: 20px 20px 14px; gap: 18px; }
  .order-form-footer { padding: 4px 20px 20px; }
  /* Stack the three trust badges into full-width rows so the labels read at a
     comfortable size instead of being crushed into three tiny columns. */
  .order-form-trust { grid-template-columns: 1fr; gap: 12px; }
  .order-form-trust-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    text-align: left;
  }
  .order-form-trust-item .ti-icon { width: 32px; height: 32px; grid-row: 1 / span 2; align-self: center; }
  .order-form-trust-item svg { width: 16px; height: 16px; }
  .order-form-trust-item strong { font-size: 12px; }
  .order-form-trust-item span { font-size: 11px; }
  .order-section-header { margin-bottom: 28px; }

  /* Product-detail top clearance (tighter than the 900px step). */
  .page-shell { padding: 84px 0 56px; }

  /* Tighten section-intro and inter-card rhythm on phones. */
  .produits-header { margin-bottom: 40px; }
  .science .container > .section-subtitle { margin-bottom: 36px; }
  .produits-grid { gap: 20px; }
  .formulation-block + .formulation-block { margin-top: 20px; }
  .product-meta { gap: 16px; }

  /* Lift faint body copy a touch on small screens for readability. */
  .section-subtitle { font-weight: 400; line-height: 1.6; }
  .product-description { font-weight: 400; }
  .product-section p { font-weight: 400; }

  /* Touch-target floors for the remaining sub-44px controls. */
  .form-field-input-wrap input { min-height: 44px; }
  .hero-actions .btn-ghost { min-height: 44px; padding: 8px 0; }
  .footer-col ul a,
  .footer-contact a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
  }
  .footer-col ul,
  .footer-contact { gap: 4px; }

  /* Make the order confirmation banner read as an accented status block. */
  .order-feedback {
    padding: 16px 16px 16px 18px;
    font-size: 14px;
    border-left-width: 3px;
    border-left-color: var(--green);
  }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .hero-trust { gap: 12px; }
  .hero-trust-item strong { font-size: 19px; }
  .produits, .labo, .science, .cta-section, .testimonials, .certifications, .related, .order-section { padding-top: 56px; padding-bottom: 56px; }
}

/* ── 15. REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
