/* ============================================================
   R3Peptides — Design System
   Police: Inter (Google Fonts)
   Palette: Navy profond / Bleu scientifique / Blanc pur
   ============================================================ */

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

/* ── Variables ──────────────────────────────────────────── */
:root {
  --navy:        #0b1120;
  --navy-2:      #111827;
  --navy-3:      #1e2d45;
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-pale:   #dbeafe;
  --cyan:        #06b6d4;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --green:       #10b981;
  --red:         #ef4444;
  --orange:      #f59e0b;

  --font:        'Inter', system-ui, sans-serif;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 4px 24px rgba(37,99,235,.30);

  --transition:  all .18s ease;
  --nav-h:       68px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ── Typography ─────────────────────────────────────────── */
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem);   font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { color: var(--gray-600); }
.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.text-lg  { font-size: 1.125rem; }
.text-muted { color: var(--gray-500); }
.font-mono { font-family: 'SF Mono', 'Fira Code', monospace; }

/* ── Layout helpers ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius); font-size: .9rem;
  font-weight: 600; transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(37,99,235,.40); }
.btn-secondary {
  background: var(--white); color: var(--blue); border: 1.5px solid var(--blue-light);
}
.btn-secondary:hover { background: var(--blue-pale); }
.btn-ghost {
  background: transparent; color: var(--gray-600); border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }
.btn-dark {
  background: var(--navy); color: var(--white);
}
.btn-dark:hover { background: var(--navy-3); }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 99px; font-size: .72rem; font-weight: 600; letter-spacing: .03em;
}
.badge-blue   { background: var(--blue-pale); color: var(--blue); }
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-gray   { background: var(--gray-100); color: var(--gray-600); }
.badge-orange { background: #fef3c7; color: #92400e; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-h);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em;
}
.nav-logo-icon {
  width: 34px; height: 34px; background: var(--blue);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { color: white; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-pale); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius);
  background: var(--navy); color: white; font-size: .88rem; font-weight: 600;
  transition: var(--transition);
}
.cart-btn:hover { background: var(--navy-3); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; background: var(--blue); color: white;
  border-radius: 50%; font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.cart-count.hidden { display: none; }
.nav-menu-toggle { display: none; padding: 8px; border-radius: var(--radius-sm); }
.nav-mobile { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2347 50%, var(--navy-3) 100%);
  color: white; padding: 90px 0 80px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(37,99,235,.18); border: 1px solid rgba(37,99,235,.35);
  color: #93c5fd; border-radius: 99px; padding: 5px 14px;
  font-size: .8rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: white; margin-bottom: 18px; }
.hero h1 span { color: #60a5fa; }
.hero p { color: #94a3b8; font-size: 1.05rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: white; }
.hero-stat span { font-size: .8rem; color: #94a3b8; }
.hero-visual {
  display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-card-stack { position: relative; width: 320px; }
.molecule-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(12px);
}
.molecule-card + .molecule-card {
  position: absolute; top: -16px; right: -16px; z-index: -1;
  opacity: .5;
}
.molecule-formula {
  font-family: 'SF Mono', monospace; font-size: .82rem; color: #60a5fa;
  background: rgba(37,99,235,.18); padding: 4px 10px;
  border-radius: var(--radius-sm); display: inline-block; margin-bottom: 12px;
}
.molecule-name { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 4px; }
.molecule-desc { font-size: .8rem; color: #94a3b8; }
.molecule-price { font-size: 1.4rem; font-weight: 800; color: #60a5fa; margin-top: 14px; }
.purity-bar { margin-top: 14px; }
.purity-bar span { font-size: .75rem; color: #94a3b8; }
.purity-track { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; margin-top: 5px; }
.purity-fill  { height: 100%; background: var(--cyan); border-radius: 2px; width: 98%; }

/* ── Section headers ────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { font-size: 1rem; max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── Category cards ─────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px 20px;
  text-align: center; transition: var(--transition); cursor: pointer;
}
.cat-card:hover {
  border-color: var(--blue-light); box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}
.cat-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.4rem;
}
.cat-card h3 { font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.cat-card .count { font-size: .78rem; color: var(--gray-400); }

/* ── Product cards ──────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--blue-light); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card-img svg { transition: transform .3s ease, filter .3s ease; filter: drop-shadow(0 4px 16px rgba(0,0,0,.10)); }
.product-card:hover .product-card-img svg { transform: scale(1.06) translateY(-3px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.product-card-img .ref-tag {
  position: absolute; top: 10px; left: 10px;
  background: white; color: var(--blue); border: 1px solid var(--blue-pale);
  font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  font-family: monospace;
}
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat { font-size: .72rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.product-card-name { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.product-card-cond { font-size: .78rem; color: var(--gray-500); margin-bottom: 12px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.product-price .unit { font-size: .72rem; font-weight: 400; color: var(--gray-400); }
.add-to-cart-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1.1rem; font-weight: 700;
}
.add-to-cart-btn:hover { background: #1d4ed8; transform: scale(1.08); }

/* ── Filter bar ─────────────────────────────────────────── */
.filter-bar {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin-bottom: 28px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.search-input-wrap { position: relative; flex: 1; min-width: 220px; }
.search-input-wrap svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none;
}
.search-input {
  width: 100%; padding: 10px 12px 10px 38px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .9rem; color: var(--gray-800); outline: none;
  transition: var(--transition);
}
.search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.filter-select {
  padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: .88rem; color: var(--gray-700);
  background: white; outline: none; cursor: pointer; transition: var(--transition);
}
.filter-select:focus { border-color: var(--blue); }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pill {
  padding: 7px 14px; border-radius: 99px; font-size: .82rem; font-weight: 500;
  border: 1.5px solid var(--gray-200); color: var(--gray-600);
  cursor: pointer; transition: var(--transition); background: white;
}
.cat-pill:hover { border-color: var(--blue-light); color: var(--blue); background: var(--blue-pale); }
.cat-pill.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ── Product page ───────────────────────────────────────── */
.produit-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.produit-visual {
  border-radius: var(--radius-xl); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  position: sticky; top: calc(var(--nav-h) + 20px); overflow: hidden;
}
.produit-visual svg { filter: drop-shadow(0 16px 40px rgba(0,0,0,.18)); }
.produit-ref-big {
  font-family: monospace; font-size: 1.1rem; font-weight: 700;
  color: var(--blue); background: white; padding: 6px 16px;
  border-radius: var(--radius); border: 1px solid var(--blue-pale);
}
.produit-info { padding: 8px 0; }
.produit-cat-label { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.produit-title { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.produit-cond { font-size: 1rem; color: var(--gray-500); margin-bottom: 20px; }

/* ── Sélecteur de dosage ────────────────────────────────── */
.dosage-selector { margin-bottom: 20px; }
.dosage-label { display: block; font-size: .82rem; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.dosage-select {
  width: 100%; padding: 12px 16px; font-size: .95rem; font-weight: 600;
  color: var(--navy); background: white; border: 2px solid var(--blue-light);
  border-radius: var(--radius); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232563eb' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .2s, box-shadow .2s;
}
.dosage-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* Prix "à partir de" dans les cartes catalogue */
.from-label { font-size: .72rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .04em; display: block; line-height: 1; margin-bottom: 2px; }
.product-price { display: flex; flex-direction: column; }

.produit-price-block {
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 24px;
}
.produit-price-label { font-size: .8rem; color: var(--gray-500); margin-bottom: 4px; }
.produit-price-val { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.produit-disclaimer {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px;
  font-size: .78rem; color: #92400e; line-height: 1.6;
}
.produit-disclaimer strong { display: block; margin-bottom: 4px; }
.quantity-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-ctrl {
  display: flex; align-items: center; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 600; color: var(--gray-600);
  background: var(--gray-100); transition: var(--transition);
}
.qty-btn:hover { background: var(--gray-200); }
.qty-val { width: 48px; text-align: center; font-weight: 700; font-size: 1rem; padding: 8px; }
.produit-desc { margin-top: 32px; }
.produit-desc h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.produit-desc p { font-size: .92rem; color: var(--gray-600); line-height: 1.75; }
.produit-specs { margin-top: 24px; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--gray-500); }
.spec-val { font-weight: 600; color: var(--gray-800); }

/* ── Cart ───────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-items-wrap { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-bottom: 1px solid var(--gray-100);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 64px; height: 64px; border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .95rem; font-weight: 700; color: var(--navy); }
.cart-item-cond { font-size: .78rem; color: var(--gray-500); }
.cart-item-price { font-size: 1rem; font-weight: 800; color: var(--navy); min-width: 90px; text-align: right; }
.cart-item-remove {
  color: var(--gray-400); padding: 6px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cart-item-remove:hover { color: var(--red); background: #fee2e2; }
.cart-summary {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--nav-h) + 20px);
}
.cart-summary h3 { margin-bottom: 20px; color: var(--navy); }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--gray-100);
}
.summary-row:last-of-type { border-bottom: 2px solid var(--gray-200); }
.summary-row.total { font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.summary-row.total { border-bottom: none; padding-top: 14px; }
.shipping-note { font-size: .75rem; color: var(--green); margin-top: 6px; }
.cart-empty {
  text-align: center; padding: 60px 20px; color: var(--gray-400);
}
.cart-empty svg { margin: 0 auto 16px; opacity: .4; }
.cart-empty h3 { color: var(--gray-500); margin-bottom: 8px; }

/* ── Checkout ───────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-form {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.form-section { padding: 28px; border-bottom: 1px solid var(--gray-100); }
.form-section:last-child { border-bottom: none; }
.form-section-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.form-section-title .step-num {
  width: 24px; height: 24px; background: var(--blue); color: white;
  border-radius: 50%; font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--gray-700); }
.form-input {
  padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: .9rem; color: var(--gray-800); outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-select {
  padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: .9rem; color: var(--gray-700);
  background: white; outline: none; cursor: pointer; transition: var(--transition);
}
.form-select:focus { border-color: var(--blue); }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 14px;
}
.payment-option:hover { border-color: var(--blue-light); }
.payment-option.selected { border-color: var(--blue); background: var(--blue-pale); }
.payment-option input[type="radio"] { accent-color: var(--blue); }
.payment-option-icon { font-size: 1.4rem; }
.payment-option-info strong { display: block; font-size: .9rem; color: var(--navy); }
.payment-option-info span { font-size: .78rem; color: var(--gray-500); }

/* ── About page ─────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy), #0f2347);
  color: white; padding: 72px 0; text-align: center;
}
.about-hero h1 { color: white; margin-bottom: 16px; }
.about-hero p { color: #94a3b8; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.value-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
}
.value-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.value-card h3 { color: var(--navy); margin-bottom: 8px; }
.team-section { background: white; }

/* ── Legal page ─────────────────────────────────────────── */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.legal-nav {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 8px;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.legal-nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--gray-600); font-weight: 500; transition: var(--transition);
}
.legal-nav a:hover { background: var(--gray-100); color: var(--gray-800); }
.legal-nav a.active { background: var(--blue-pale); color: var(--blue); font-weight: 600; }
.legal-content { }
.legal-section {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 20px;
}
.legal-section h2 { color: var(--navy); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.legal-section h3 { color: var(--gray-800); margin: 20px 0 10px; font-size: 1rem; }
.legal-section p { font-size: .9rem; line-height: 1.8; margin-bottom: 12px; }
.legal-section ul { padding-left: 20px; margin-bottom: 12px; }
.legal-section ul li { font-size: .9rem; color: var(--gray-600); line-height: 1.8; list-style: disc; }
.disclaimer-box {
  background: #fffbeb; border: 2px solid #f59e0b;
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 28px;
}
.disclaimer-box strong { color: #92400e; display: block; margin-bottom: 8px; font-size: 1rem; }
.disclaimer-box p { color: #78350f; font-size: .88rem; }

/* ── Confirmation ───────────────────────────────────────── */
.confirm-card {
  max-width: 600px; margin: 80px auto; text-align: center;
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 56px 40px;
  box-shadow: var(--shadow-lg);
}
.confirm-icon {
  width: 72px; height: 72px; background: #d1fae5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem;
}
.confirm-card h1 { font-size: 1.75rem; color: var(--navy); margin-bottom: 12px; }
.confirm-card p { color: var(--gray-500); max-width: 420px; margin: 0 auto 28px; }
.order-ref {
  background: var(--gray-100); border-radius: var(--radius);
  padding: 12px 20px; font-family: monospace; font-size: 1rem;
  color: var(--navy); font-weight: 700; display: inline-block; margin-bottom: 28px;
}

/* ── Info banners ───────────────────────────────────────── */
.info-banner {
  background: var(--navy); color: white;
  padding: 12px 0; font-size: .82rem; text-align: center;
}
.info-banner span { color: #93c5fd; margin: 0 20px; }

/* ── Trust bar ──────────────────────────────────────────── */
.trust-bar {
  background: white; border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200); padding: 20px 0;
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--gray-600); font-weight: 500;
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: #94a3b8; padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo-icon { background: rgba(37,99,235,.4); }
.footer-brand p { font-size: .85rem; line-height: 1.75; max-width: 280px; }
.footer-col h4 { color: white; font-size: .9rem; margin-bottom: 16px; }
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul li a {
  font-size: .85rem; color: #94a3b8; transition: var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; }
.footer-disclaimer {
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius); padding: 16px 20px; margin-top: 32px;
  font-size: .76rem; color: #fbbf24; line-height: 1.7;
}

/* ── Toasts ─────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--navy); color: white;
  padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); font-size: .88rem;
  display: flex; align-items: center; gap: 10px;
  animation: slideIn .25s ease; max-width: 320px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--gray-500); margin-bottom: 24px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2347 100%);
  color: white; padding: 48px 0; margin-bottom: 40px;
}
.page-hero h1 { color: white; font-size: 2rem; margin-bottom: 8px; }
.page-hero p { color: #94a3b8; }
.page-hero .breadcrumb a { color: #93c5fd; }
.page-hero .breadcrumb { color: #94a3b8; margin-bottom: 16px; }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── Misc ───────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: 24px 0; }
.no-results { text-align: center; padding: 60px 20px; color: var(--gray-400); }
.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.results-count { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-grid { gap: 32px; }
  .hero-card-stack { width: 260px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-menu-toggle { display: flex; }
  .nav-mobile {
    display: flex; flex-direction: column;
    background: white; border-bottom: 1px solid var(--gray-200);
    padding: 12px 24px 16px;
  }
  .nav-mobile a { padding: 10px 0; font-size: .95rem; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 56px 0 48px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .produit-layout { grid-template-columns: 1fr; }
  .produit-visual { position: static; aspect-ratio: auto; height: 200px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .hero-stats { gap: 20px; }
  .trust-items { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-actions { flex-direction: column; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
