/* ============================================================
   Objectif21 — Design System 2026
   Aesthetic: Islamic Garden Luxury — Clair, Premium, Moderne
   Fonts: Playfair Display (display) · DM Sans (body) · DM Mono (numbers)
   Palette: Vert #0F3D2E · Or #C8A951 · Beige #F5E6C8 · Crème #FAFAF5
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Verts */
  --c-forest:   #0F3D2E;
  --c-pine:     #153D2A;
  --c-sage:     #1F6F54;
  --c-moss:     #1B5440;
  --c-emerald:  #2A8F6C;

  /* Or */
  --c-gold:     #C8A951;
  --c-gold-lt:  #D4BA6A;
  --c-gold-pale:#F5E8C0;
  --c-gold-glow:rgba(200,169,81,.22);

  /* Neutres clairs */
  --c-cream:    #FAFAF5;
  --c-parchment:#F5E6C8;
  --c-ivory:    #F0EBE0;
  --c-white:    #FFFFFF;
  --c-border:   #E2D9CA;

  /* Texte */
  --c-ink:      #0F3D2E;
  --c-ink-2:    #1C3D2C;
  --c-muted:    #4A6355;
  --c-placeholder: #8FA898;

  /* Statuts */
  --c-red:      #B83232;
  --c-green-ok: #1A7A52;

  /* Typo */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Rayons */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  40px;

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(15,61,46,.05);
  --shadow-sm: 0 2px 8px rgba(15,61,46,.07), 0 1px 3px rgba(15,61,46,.04);
  --shadow-md: 0 8px 24px rgba(15,61,46,.10), 0 2px 8px rgba(15,61,46,.05);
  --shadow-lg: 0 16px 48px rgba(15,61,46,.12), 0 4px 16px rgba(15,61,46,.06);
  --shadow-xl: 0 32px 80px rgba(15,61,46,.15), 0 8px 24px rgba(15,61,46,.08);
  --shadow-gold: 0 8px 32px rgba(200,169,81,.28);

  /* Tints adaptatifs — primary */
  --c-tint-xs:  rgba(15,61,46,.06);
  --c-tint-sm:  rgba(15,61,46,.12);
  --c-tint-md:  rgba(15,61,46,.40);
  /* Tints adaptatifs — or */
  --c-gold-a10: rgba(200,169,81,.10);
  --c-gold-a12: rgba(200,169,81,.12);
  --c-gold-a18: rgba(200,169,81,.18);
  --c-gold-a30: rgba(200,169,81,.30);
  --c-gold-a40: rgba(200,169,81,.40);
  /* Tints adaptatifs — sage */
  --c-sage-a12: rgba(31,111,84,.12);
  --c-sage-a30: rgba(31,111,84,.30);
  --c-sage-a35: rgba(31,111,84,.35);

  --nav-h: 72px;
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.45,0,.55,1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, select, textarea { font-family: var(--font-body); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1240px;
  margin: 0 auto; padding: 0 40px;
}
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.display-1 { font-family: var(--font-display); font-size: clamp(2.8rem,5vw,5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.display-2 { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.display-3 { font-family: var(--font-display); font-size: clamp(1.5rem,2.5vw,2.2rem); font-weight: 500; line-height: 1.2; }
.heading-1  { font-family: var(--font-display); font-size: clamp(1.2rem,2vw,1.8rem); font-weight: 600; line-height: 1.3; }
.label      { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.body-sm    { font-size: 14px; line-height: 1.75; }
.body-xs    { font-size: 12px; line-height: 1.6; }

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; margin: 0 0 60px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--c-gold); opacity: .6;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem,3vw,2.8rem);
  font-weight: 700; color: var(--c-forest); line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 14px;
}
.section-title--light { color: #fff; }
.section-desc { font-size: 16px; color: var(--c-muted); line-height: 1.8; max-width: 540px; margin: 0 auto; }

/* ── GRIDS ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: var(--r-2xl);
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease-out-expo), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; letter-spacing: .01em;
  cursor: pointer; text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }

.btn-gold {
  background: var(--c-gold); color: var(--c-forest);
  box-shadow: var(--shadow-gold), 0 0 0 3px rgba(201,148,26,.25), 0 8px 32px rgba(0,0,0,.35);
  font-weight: 700; letter-spacing: .02em;
}
.btn-gold:hover {
  background: var(--c-gold-lt);
  box-shadow: 0 12px 40px var(--c-gold-a40), 0 0 0 4px rgba(201,148,26,.35), 0 8px 40px rgba(0,0,0,.4);
}

.btn-forest {
  background: var(--c-forest); color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-forest:hover { background: var(--c-pine); box-shadow: var(--shadow-lg); }

.btn-primary {
  background: var(--c-sage); color: #fff;
  box-shadow: 0 4px 20px var(--c-sage-a30);
}
.btn-primary:hover { background: var(--c-forest); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent; color: var(--c-forest);
  border-color: var(--c-forest);
}
.btn-outline:hover { background: var(--c-forest); color: #fff; }

.btn-outline-gold {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(14px) saturate(1.6) brightness(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.6) brightness(1.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 20px rgba(0,0,0,.25);
  font-weight: 600;
}
.btn-outline-gold:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  border-color: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 32px rgba(0,0,0,.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent; color: var(--c-muted);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-parchment); color: var(--c-forest); }

.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 15px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── PRELOADER ───────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { text-align: center; }
.pl-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 700; color: var(--c-forest);
  letter-spacing: .01em;
  animation: plFadeIn .8s ease both;
}
.pl-bar {
  width: 140px; height: 2px;
  background: var(--c-border);
  border-radius: 2px; margin: 20px auto 0; overflow: hidden;
}
.pl-bar-fill {
  height: 100%; background: var(--c-gold);
  animation: plBar 2500ms ease forwards;
  transform-origin: left;
}
.pl-crescent {
  font-size: 1.2rem; color: var(--c-gold);
  margin-top: 14px; animation: plPulse 1.4s ease infinite;
}
.pl-img { max-height: 140px; max-width: 220px; object-fit: contain; animation: plFadeIn .8s ease both; margin: 0 auto; }
@keyframes plFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes plBar    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes plPulse  { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(250,250,245,.97);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 20px var(--c-tint-xs);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1240px; margin: 0 auto;
  padding: 0 40px; gap: 32px;
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 700;
  color: var(--c-forest);
  display: flex; flex-direction: column;
  line-height: 1; letter-spacing: -.01em;
  text-decoration: none; flex-shrink: 0;
}
.navbar-logo span { color: var(--c-gold); }
.navbar-logo em {
  font-style: normal; font-family: var(--font-body);
  font-size: 10px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-muted); margin-top: 3px;
}
.navbar-logo-img {
  max-height: 52px; max-width: 180px;
  width: auto; object-fit: contain; display: block;
}
.navbar-nav {
  display: flex; align-items: center; gap: 2px;
  list-style: none; flex: 1; justify-content: center;
}
.navbar-nav a {
  display: block; padding: 7px 15px;
  font-size: 14px; font-weight: 500;
  color: var(--c-muted); border-radius: var(--r-md);
  transition: color .2s, background .2s;
  position: relative;
}
.navbar-nav a:hover { color: var(--c-forest); background: var(--c-tint-xs); }
.navbar-nav a.active { color: var(--c-forest); background: var(--c-tint-xs); }
.navbar-nav a.active::after {
  content: '';
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px; background: var(--c-gold);
}
.navbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.account-icon { font-size: 15px; }
.account-label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--r-2xl);
  font-size: 13px; font-weight: 600; color: var(--c-forest);
  background: var(--c-tint-xs); border: 1.5px solid transparent;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.account-btn:hover { background: var(--c-tint-sm); border-color: var(--c-tint-sm); }
.account-btn.active { background: var(--c-forest); color: #fff; }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--r-2xl);
  font-size: 14px; font-weight: 600;
  color: #fff; background: var(--c-forest);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.cart-btn:hover { background: var(--c-pine); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-icon { font-size: 16px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--c-gold); color: var(--c-forest);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  box-shadow: 0 2px 8px var(--c-gold-a40);
}

.mobile-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent; border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); color: var(--c-forest);
  font-size: 18px; cursor: pointer;
  transition: background .2s;
}
.mobile-menu-btn:hover { background: var(--c-tint-xs); }

/* ── MOBILE NAV ──────────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
  z-index: 600; background: var(--c-white);
  transform: translateX(100%);
  transition: transform .35s var(--ease-out-expo);
  padding: 80px 24px 40px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-xl);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 18px; right: 18px;
  background: transparent; border: none; font-size: 18px;
  color: var(--c-muted); cursor: pointer; padding: 8px;
  border-radius: var(--r-md); transition: background .2s;
}
.mobile-nav-close:hover { background: var(--c-tint-xs); }
.mobile-nav a {
  display: block; padding: 12px 16px;
  font-size: 16px; font-weight: 500; color: var(--c-ink);
  border-radius: var(--r-md); transition: background .2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--c-tint-xs); color: var(--c-forest);
}

/* ── CART DRAWER ─────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100%; z-index: 550;
  background: #fff; transform: translateX(100%);
  transition: transform .35s var(--ease-out-expo);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-overlay {
  position: fixed; inset: 0; z-index: 540;
  background: var(--c-tint-md); opacity: 0; pointer-events: none;
  transition: opacity .3s; backdrop-filter: blur(3px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.drawer-head {
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
}
.drawer-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--c-forest); }
.drawer-close {
  background: transparent; border: none;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--c-muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.drawer-close:hover { background: var(--c-tint-xs); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer-empty { text-align: center; padding: 56px 20px; }
.drawer-empty-icon { font-size: 44px; margin-bottom: 14px; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--c-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-icon { font-size: 26px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 13px; color: var(--c-sage); font-weight: 600; margin-top: 2px; }
.cart-item-qty { display: flex; align-items: center; gap: 4px; }
.qty-form { display: flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-tint-xs); border: none;
  color: var(--c-forest); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
}
.qty-btn:hover { background: var(--c-tint-sm); }
.qty-val { font-weight: 600; font-size: 14px; min-width: 22px; text-align: center; }
.cart-item-del {
  background: transparent; border: none; color: var(--c-placeholder);
  font-size: 14px; cursor: pointer; padding: 4px;
  transition: color .2s;
}
.cart-item-del:hover { color: var(--c-red); }

.drawer-footer { padding: 16px; border-top: 1px solid var(--c-border); }
.drawer-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-total-label { font-weight: 600; font-size: 15px; color: var(--c-ink); }
.drawer-total-note  { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.drawer-total-val { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--c-forest); }
.summary-trust { font-size: 12px; color: var(--c-muted); line-height: 1.65; text-align: center; margin-top: 10px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: var(--c-cream);
  position: relative; overflow: hidden;
  color: var(--c-ink);
  display: flex; align-items: center; padding: 0;
}

/* Texture subtile sur fond clair */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Orbes dorées lumineuses */
.hero-orb-1 {
  position: absolute; z-index: 0;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-gold-a10) 0%, transparent 70%);
  top: -180px; right: -80px;
}
.hero-orb-2 {
  position: absolute; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-tint-xs) 0%, transparent 70%);
  bottom: -120px; left: 0;
}

/* Géométrie islamique */
.hero-geo {
  position: absolute; inset: 0; z-index: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230F3D2E' stroke-width='1'%3E%3Cpolygon points='70,8 132,40 132,100 70,132 8,100 8,40'/%3E%3Cpolygon points='70,24 116,48 116,92 70,116 24,92 24,48'/%3E%3Ccircle cx='70' cy='70' r='24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* Hero avec image (slideshow / video) : fonce le fond pour lisibilité */
.hero-slideshow,
.hero-video {
  background: var(--c-forest);
  color: #fff;
}
.hero-slideshow .hero-orb-1,
.hero-video .hero-orb-1 {
  background: radial-gradient(circle, rgba(44,100,65,.4) 0%, transparent 70%);
}
.hero-slideshow .hero-title,
.hero-video .hero-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-slideshow .hero-subtitle,
.hero-video .hero-subtitle { color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-slideshow .hero-stat-val,
.hero-video .hero-stat-val { color: #fff; -webkit-text-fill-color: #fff; }
.hero-slideshow .hero-stats,
.hero-video .hero-stats { border-top-color: rgba(255,255,255,.22); }
.hero-slideshow .hero-stat-label,
.hero-video .hero-stat-label { color: rgba(255,255,255,.82); }
.hero-slideshow .hero-eyebrow,
.hero-video .hero-eyebrow { color: var(--c-gold-lt); filter: brightness(1.25); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-slideshow .hero-eyebrow::before,
.hero-video .hero-eyebrow::before { background: var(--c-gold-lt); }
.hero-slideshow .hero-scroll-hint,
.hero-video .hero-scroll-hint { color: rgba(255,255,255,.75); }
.hero-slideshow .hero-scroll-line,
.hero-video .hero-scroll-line { background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); }

/* Layout héro */
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 120px 40px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px; align-items: center;
}

/* Texte héro */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-sage); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--c-sage); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem,4.5vw,4.5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -.03em; color: var(--c-forest); margin-bottom: 20px;
}
.hero-title em {
  font-style: italic; display: block;
  background: linear-gradient(135deg, var(--c-gold), #C49020);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 17px; color: var(--c-muted);
  line-height: 1.8; margin-bottom: 36px;
  max-width: 520px; font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; gap: 40px;
  padding-top: 32px; border-top: 1px solid var(--c-border);
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--c-forest); line-height: 1; display: block;
}
.hero-stat-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--c-muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px;
}

/* Countdown card */
.countdown-card {
  background: var(--c-forest); border-radius: var(--r-xl);
  padding: 36px 28px; color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.countdown-card::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='45' cy='45' r='38' fill='none' stroke='rgba(200,169,81,.1)' stroke-width='.8'/%3E%3Cpolygon points='45,7 83,25 83,65 45,83 7,65 7,25' fill='none' stroke='rgba(200,169,81,.06)' stroke-width='.7'/%3E%3C/svg%3E");
  background-size: 90px;
}
.cd-flags {
  position: absolute; top: 24px; right: 24px;
  display: flex; align-items: center; gap: 6px;
}
.cd-flag {
  width: 32px; height: 21px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  display: block;
}
.cd-flags-sep {
  font-size: 14px; color: rgba(255,255,255,.60);
  font-family: serif; line-height: 1;
}
.countdown-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.80);
  margin-bottom: 8px; position: relative;
}
.countdown-title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: #fff; margin-bottom: 28px; position: relative; line-height: 1.2;
}
.countdown-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-bottom: 22px; position: relative;
}
.cd-unit {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-md); padding: 14px 6px; text-align: center;
}
.cd-val {
  font-family: var(--font-mono); font-size: 1.85rem; font-weight: 500;
  color: #fff; text-shadow: 0 2px 12px var(--c-gold-glow); display: block; line-height: 1;
}
.cd-label { font-size: 9px; color: rgba(255,255,255,.75); letter-spacing: .1em; text-transform: uppercase; margin-top: 5px; }
@keyframes cdFlip { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.cd-val.flip { animation: cdFlip .2s ease-out; }
.countdown-date {
  font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 20px; position: relative;
  font-family: var(--font-mono);
}
.quran-card {
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md); padding: 14px; margin-top: 14px; position: relative;
}

/* Bouton dans la carte countdown — blanc fixe, jamais ton sur ton */
.countdown-card .btn-gold {
  background: #fff !important;
  color: var(--c-forest) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.25) !important;
}
.countdown-card .btn-gold:hover {
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.35) !important;
}
.quran-arabic { font-size: 1.05rem; color: rgba(255,255,255,.80); text-align: right; direction: rtl; line-height: 1.8; font-family: serif; }

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--c-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--c-sage), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ── TRUST BAND ──────────────────────────────────────────── */
.trust-band {
  background: var(--c-parchment);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0; overflow: hidden; position: relative;
}
.trust-band::before, .trust-band::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.trust-band::before { left: 0; background: linear-gradient(to right, var(--c-parchment), transparent); }
.trust-band::after  { right: 0; background: linear-gradient(to left, var(--c-parchment), transparent); }
.trust-track {
  display: flex; align-items: center;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px; border-right: 1px solid var(--c-border); white-space: nowrap;
}
.trust-icon { font-size: 18px; }
.trust-text-title { font-size: 13px; font-weight: 600; color: var(--c-forest); }
.trust-text-sub   { font-size: 11px; color: var(--c-muted); }

/* ── PRODUCT BENTO GRID ──────────────────────────────────── */
.product-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── PRODUCT CARD ────────────────────────────────────────── */
.product-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s, border-color .3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold-a30);
}

.product-card-visual {
  position: relative; display: block;
  background: var(--c-ivory);
  height: 220px; overflow: hidden;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.product-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-emoji {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 72px; opacity: .7;
}

.product-card-badges {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.product-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-2xl);
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
}
.badge-halal { background: var(--c-forest); color: #fff; backdrop-filter: blur(4px); }
.badge-don   { background: var(--c-gold); color: var(--c-forest); }
.badge-video { background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(4px); }

.product-card-photos-count {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,.5); color: #fff;
  font-size: 11px; padding: 3px 9px; border-radius: var(--r-2xl);
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; flex: 1;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; color: var(--c-forest);
  line-height: 1.2; margin-bottom: 7px;
  transition: color .2s;
}
.product-card:hover .product-card-name { color: var(--c-sage); }
.product-card-desc {
  font-size: 13px; color: var(--c-muted); line-height: 1.65; margin-bottom: 12px;
}
.product-card-meta {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px;
}
.product-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-2xl);
  font-size: 11px; font-weight: 500; color: var(--c-muted);
  background: var(--c-cream); border: 1px solid var(--c-border);
}

.product-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
  padding-top: 14px; border-top: 1px solid var(--c-border); margin-bottom: 14px;
}
.product-price {
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 500;
  color: var(--c-forest); letter-spacing: -.01em;
}
.product-price-barre {
  font-size: 13px; color: var(--c-placeholder); text-decoration: line-through; margin-left: 5px;
}
.product-discount {
  display: inline-block; padding: 2px 8px;
  background: rgba(184,50,50,.1); color: var(--c-red);
  border-radius: var(--r-2xl); font-size: 11px; font-weight: 700;
}
.stock-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-2xl);
  font-size: 11px; font-weight: 600;
}
.stock-ok    { background: rgba(26,122,82,.1); color: var(--c-green-ok); }
.stock-low   { background: var(--c-gold-a12); color: var(--c-ink); }
.stock-empty { background: rgba(184,50,50,.1); color: var(--c-red); }

/* CTA carte produit */
.product-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px;
  background: var(--c-forest); color: #fff;
  border-radius: var(--r-2xl); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  transition: background .2s var(--ease-out-expo), transform .2s, box-shadow .2s;
  margin-top: auto;
}
.product-card-cta:hover {
  background: var(--c-pine); transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.product-card-cta:active { transform: scale(.98); }
.product-card-cta:disabled {
  background: var(--c-border); color: var(--c-placeholder);
  cursor: not-allowed; transform: none; box-shadow: none;
}

.product-card-detail-link {
  display: block; text-align: center;
  font-size: 12px; color: var(--c-placeholder); margin-top: 8px; padding: 3px;
  transition: color .2s;
}
.product-card-detail-link:hover { color: var(--c-sage); }

/* Spinner */
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FEATURE CARDS (Comment ça marche) ───────────────────── */
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-gold-a30);
}
.feature-card:hover .feature-num { opacity: .18; }
.feature-icon { display: block; font-size: 36px; margin-bottom: 12px; position: relative; z-index: 1; }
.feature-num {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 800;
  color: var(--c-gold);
  opacity: .10;
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
  transition: opacity .3s;
}
.feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--c-forest); margin-bottom: 8px; position: relative; z-index: 1; }
.feature-desc  { font-size: 14px; color: var(--c-muted); line-height: 1.7; position: relative; z-index: 1; }

/* ── SECTION IMMERSIVE (Garanties) ───────────────────────── */
.section-immersive {
  padding: 96px 0;
  background: var(--c-forest); color: #fff;
  position: relative; overflow: hidden;
}
.section-immersive::before {
  content: ''; position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='42' fill='none' stroke='%23C8A951' stroke-width='.8'/%3E%3Cpolygon points='50,8 92,30 92,70 50,92 8,70 8,30' fill='none' stroke='%23C8A951' stroke-width='.5'/%3E%3C/svg%3E");
  background-size: 100px;
}
.garantie-card {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl); padding: 36px 28px; text-align: center;
  transition: background .3s, transform .3s var(--ease-out-expo), border-color .3s;
  backdrop-filter: blur(6px);
}
.garantie-card:hover {
  background: rgba(0,0,0,.38);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-4px);
}
.garantie-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.garantie-card p  { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.8; }

/* ── Description produit (HTML riche) ───────────────────────────── */
.produit-description h1,.produit-description h2,.produit-description h3 {
  font-family: var(--font-display); color: var(--c-ink); margin: 18px 0 8px;
}
.produit-description h1 { font-size: 1.4rem; }
.produit-description h2 { font-size: 1.2rem; }
.produit-description h3 { font-size: 1.05rem; }
.produit-description p  { margin: 0 0 10px; }
.produit-description ul,.produit-description ol {
  padding-left: 22px; margin: 8px 0 12px;
}
.produit-description li { margin-bottom: 4px; }
.produit-description a  { color: var(--c-gold); text-decoration: underline; }
.produit-description strong { color: var(--c-ink); font-weight: 700; }
.produit-description blockquote {
  border-left: 3px solid var(--c-gold); padding-left: 14px;
  margin: 12px 0; color: var(--c-muted); font-style: italic;
}
.produit-description img {
  max-width: 100%; border-radius: var(--r-md); margin: 10px 0; display: block;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  gap: 20px; position: relative;
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display); font-size: 96px; font-weight: 700;
  color: var(--c-gold); opacity: .1; line-height: 1;
  position: absolute; top: 10px; left: 18px;
}
.testimonial-text {
  font-family: var(--font-display); font-size: 1rem; font-style: italic;
  color: var(--c-ink-2); line-height: 1.8; flex: 1; position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-forest); color: var(--c-gold-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--c-forest); }
.testimonial-meta { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.stars { color: var(--c-gold); font-size: 12px; letter-spacing: 2px; margin-top: 3px; }

/* ── FOOTER — fond noir fixe, indépendant du thème ──────── */
.footer {
  background: #111 !important; color: rgba(255,255,255,.60);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--c-gold), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-logo { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.footer-tagline {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-gold); opacity: .65; margin-bottom: 16px;
}
.footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 260px; margin-bottom: 20px; }
.footer-certifs { display: flex; flex-direction: column; gap: 8px; }
.certif-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-2xl);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 12px; color: rgba(255,255,255,.75); align-self: flex-start;
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.90); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s, padding-left .2s; display: inline-block; }
.footer-col a:hover { color: var(--c-gold-lt); padding-left: 3px; }
.footer-divider { height: 1px; background: rgba(255,255,255,.08); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 22px 0;
}
.footer-copy  { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.85); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.85); transition: color .2s; }
.footer-legal a:hover { color: #fff; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.60); transition: all .25s;
}
.footer-social-btn:hover { background: var(--c-gold-a10); border-color: var(--c-gold-a40); color: var(--c-gold-lt); }

/* ── PAGE HEADER (pages internes) ────────────────────────── */
.page-header {
  background: var(--c-forest);
  padding: calc(var(--nav-h) + 32px) 0 44px;
  color: #fff; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 50%, var(--c-sage-a35) 0%, transparent 65%);
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 48px; background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; margin-top: 8px; }
.page-header-subtitle { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 6px; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--c-gold-lt); }
.breadcrumb-sep { color: rgba(255,255,255,.2); }
.breadcrumb span:last-child { color: rgba(255,255,255,.7); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--c-white); border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); font-size: 14px; color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control:focus {
  border-color: var(--c-sage); box-shadow: 0 0 0 3px var(--c-sage-a12);
}
select.form-control { appearance: none; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── CARD générique ──────────────────────────────────────── */
.card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.card-padded { padding: 28px; }

/* ── FLASH / ALERTES ─────────────────────────────────────── */
.flash {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 20px; border-radius: var(--r-md);
  font-size: 14px; line-height: 1.6; border: 1px solid;
}
.flash-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.flash-success { background: #F0FDF4; color: #065F46; border-color: #A7F3D0; }
.flash-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.flash-info    { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.flash-warning { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }

/* ── TAGS / BADGES ───────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-2xl); letter-spacing: .04em;
}
.tag-green  { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.tag-gold   { background: var(--c-gold-pale); color: var(--c-forest); border: 1px solid var(--c-gold-a30); }
.tag-grey   { background: var(--c-parchment); color: var(--c-muted); border: 1px solid var(--c-border); }
.tag-red    { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ── QTY CONTROL ─────────────────────────────────────────── */
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--r-2xl); overflow: hidden; }
.qty-control-btn {
  background: none; border: none; width: 40px; height: 40px;
  font-size: 18px; color: var(--c-forest); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
}
.qty-control-btn:hover { background: var(--c-parchment); }
.qty-control-val { font-family: var(--font-mono); font-size: 14px; font-weight: 500; min-width: 36px; text-align: center; }

/* ── ANIMATIONS REVEAL AU SCROLL ─────────────────────────── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-scale { transform: scale(.95); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
.reveal-d4 { transition-delay: .24s; }
.reveal-d5 { transition-delay: .30s; }
.reveal-d6 { transition-delay: .36s; }

/* ── ANIMATIONS ENTRÉE HÉRO ──────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ── Icône flottante orbite ──────────────────────────────── */
@keyframes orbFloat {
  0%   { transform: translate(0,    0)    rotate(0deg)   scale(1);    }
  20%  { transform: translate(6px,  -9px) rotate(4deg)   scale(1.05); }
  40%  { transform: translate(10px, 2px)  rotate(-2deg)  scale(1.03); }
  60%  { transform: translate(2px,  10px) rotate(5deg)   scale(1.06); }
  80%  { transform: translate(-8px, 3px)  rotate(-3deg)  scale(1.02); }
  100% { transform: translate(0,    0)    rotate(0deg)   scale(1);    }
}

.animate-fade-up  { animation: heroFadeUp .7s var(--ease-out-expo) both; }
.animate-fade     { animation: fadeIn .5s ease both; }
.animate-scale    { animation: heroScale .65s var(--ease-out-expo) both; }
.animate-delay-1  { animation-delay: .08s; }
.animate-delay-2  { animation-delay: .18s; }
.animate-delay-3  { animation-delay: .28s; }
.animate-delay-4  { animation-delay: .38s; }
.animate-delay-5  { animation-delay: .48s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container, .navbar-inner, .hero-inner { padding-left: 24px !important; padding-right: 24px !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid > div:last-child { max-width: 480px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .product-bento { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .hero-inner {
    padding-top: 72px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
  .container, .navbar-inner, .hero-inner { padding-left: 16px !important; padding-right: 16px !important; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-bento { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .hero-title { font-size: clamp(2.2rem,8vw,3rem); }
  .countdown-grid { gap: 6px; }
  .cd-val { font-size: 1.4rem; }
  /* Navbar on small screens */
  .navbar-logo-img { max-height: 40px; max-width: 130px; }
  .account-label { display: none; }
  .cart-btn span:not(.cart-badge):not(.cart-icon) { display: none; }
  /* Cart drawer full-width */
  .cart-drawer { width: 100% !important; max-width: 100% !important; right: 0 !important; }
  /* Produit page */
  .product-gallery-main { min-height: 240px; }
}

/* ══════════════════════════════════════════════════════════════
   ESPACE CLIENT (mon-compte)
══════════════════════════════════════════════════════════════ */
.client-wrapper {
  background: var(--c-cream);
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.client-layout {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.client-sidebar {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.client-sidebar-user {
  padding: 22px 20px;
  background: var(--c-forest);
}
.client-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 12px;
  border: 2px solid var(--c-gold-a30);
  flex-shrink: 0;
}
.client-sidebar-name  { font-weight: 700; color: #fff; font-size: 14px; line-height: 1.3; }
.client-sidebar-email { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; word-break: break-all; }
.client-sidebar-since { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 5px; letter-spacing: .04em; }

.client-nav { padding: 10px; }
.client-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--c-muted);
  transition: all .15s;
  text-decoration: none;
  margin-bottom: 2px;
}
.client-nav-link:hover { background: var(--c-cream); color: var(--c-ink); }
.client-nav-link.active { background: var(--c-tint-xs); color: var(--c-forest); font-weight: 600; }
.client-nav-link.danger:hover { background: #FEF2F2; color: #991B1B; }
.cn-icon { font-size: 15px; flex-shrink: 0; width: 20px; text-align: center; }
.client-sidebar-sep { height: 1px; background: var(--c-border); margin: 8px 10px; }

/* ── Main content ────────────────────────────────────────────── */
.client-main { min-width: 0; }
.client-main-title {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 700;
  color: var(--c-forest); margin-bottom: 6px;
}
.client-main-sub { font-size: 14px; color: var(--c-muted); margin-bottom: 24px; }
.client-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--c-muted);
  text-decoration: none; margin-bottom: 20px;
  transition: color .15s;
}
.client-back-link:hover { color: var(--c-forest); }

/* ── Sections ────────────────────────────────────────────────── */
.client-section { margin-bottom: 28px; }
.client-section-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--c-forest); margin-bottom: 14px;
}

/* ── Stat cards ──────────────────────────────────────────────── */
.client-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 24px;
}
.client-stat {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  transition: box-shadow .2s;
}
.client-stat:hover { box-shadow: var(--shadow-sm); }
.client-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-bottom: 8px; }
.client-stat-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--c-forest); line-height: 1; }
.client-stat-sub   { font-size: 11px; color: var(--c-muted); margin-top: 5px; }

/* ── Shortcuts ───────────────────────────────────────────────── */
.client-shortcuts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.client-shortcut {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 12px;
  text-align: center; text-decoration: none;
  color: var(--c-ink);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out-expo);
}
.client-shortcut:hover { border-color: var(--c-sage); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.client-shortcut-icon  { font-size: 22px; }
.client-shortcut-label { font-size: 12px; font-weight: 600; color: var(--c-muted); }

/* ── Notification banners ────────────────────────────────────── */
.client-notif {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 13px 16px;
  border-radius: var(--r-md); font-size: 13px; line-height: 1.6;
  margin-bottom: 10px; border: 1px solid transparent;
}

/* ── Order rows ──────────────────────────────────────────────── */
.client-order-list { display: flex; flex-direction: column; gap: 8px; }
.client-order-row {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  transition: border-color .2s, box-shadow .2s;
}
.client-order-row:hover { border-color: var(--c-tint-md); box-shadow: var(--shadow-sm); }
.client-order-ref   { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.client-order-info  { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.client-order-price { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--c-forest); white-space: nowrap; }
.client-order-link  {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-tint-xs); color: var(--c-forest);
  font-size: 16px; text-decoration: none;
  transition: background .15s, transform .15s;
}
.client-order-link:hover { background: var(--c-forest); color: #fff; transform: translateX(2px); }

/* ── Status badge ────────────────────────────────────────────── */
.client-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.client-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ── Empty state ─────────────────────────────────────────────── */
.client-empty { text-align: center; padding: 52px 24px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-xl); }
.client-empty-icon { font-size: 52px; opacity: .35; margin-bottom: 16px; }
.client-empty-text { color: var(--c-muted); margin-bottom: 20px; font-size: 14px; }

/* ── Form sections ───────────────────────────────────────────── */
.client-form-section {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 24px; margin-bottom: 20px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Order detail ────────────────────────────────────────────── */
.client-order-header { margin-bottom: 24px; }

/* Timeline */
.order-timeline {
  display: flex; align-items: flex-start;
  position: relative; padding: 8px 0 4px;
  margin-bottom: 8px;
}
.order-timeline::before {
  content: ''; position: absolute;
  top: 24px; left: 16px; right: 16px; height: 2px;
  background: var(--c-border); z-index: 0;
}
.timeline-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.timeline-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid var(--c-border);
  background: var(--c-white); color: var(--c-muted);
  margin-bottom: 8px; transition: all .3s;
}
.timeline-dot.done   { background: var(--c-sage); border-color: var(--c-sage); color: #fff; }
.timeline-dot.active { background: var(--c-forest); border-color: var(--c-forest); color: #fff; box-shadow: 0 0 0 4px var(--c-tint-sm); }
.timeline-label       { font-size: 10px; text-align: center; color: var(--c-muted); font-weight: 500; line-height: 1.3; max-width: 72px; }
.timeline-label.active { color: var(--c-forest); font-weight: 700; }
.timeline-line-fill {
  position: absolute;
  top: 15px; left: -50%; right: 50%; height: 2px; z-index: -1;
}
.timeline-line-fill.done   { background: var(--c-sage); }
.timeline-line-fill.active { background: var(--c-sage); }
.timeline-line-fill.pending { background: var(--c-border); }

/* Products table */
.client-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); margin-bottom: 0; }
.client-table { width: 100%; border-collapse: collapse; min-width: 360px; }
.client-table thead { background: #F9FAFB; }
.client-table th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding: 12px 16px; text-align: left; }
.client-table td { padding: 13px 16px; font-size: 13.5px; border-top: 1px solid var(--c-border); }
.client-table tbody tr:hover td { background: #FAFBFC; }

/* Order summary */
.client-summary { border: 1px solid var(--c-border); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.client-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 14px; border-top: 1px solid var(--c-border); }
.client-summary-row:first-child { border-top: none; }
.client-summary-total { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--c-forest); background: #FAFBFC; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .client-layout { grid-template-columns: 1fr; }
  .client-sidebar { position: static; }
  .client-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .client-wrapper  { padding-top: calc(var(--nav-h) + 12px); padding-bottom: 40px; }
  .client-stats    { grid-template-columns: 1fr 1fr; }
  .client-shortcuts{ grid-template-columns: repeat(3, 1fr); }
  .form-grid-2     { grid-template-columns: 1fr; }
  .order-timeline::before { left: 12px; right: 12px; }
  .client-main-title { font-size: 1.3rem; }
}

/* ============================================================
   CHECKOUT — Steps, Layout, Mode Cards, Summary
   ============================================================ */

/* ── Checkout Steps Bar ──────────────────────────────────────── */
.checkout-steps {
  display: flex; align-items: center; justify-content: center;
  max-width: 560px; margin: 0 auto;
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 72px;
}
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  border: 2px solid var(--c-border);
  background: var(--c-white); color: var(--c-muted);
  transition: all .3s;
}
.step.done .step-dot   { background: var(--c-sage); border-color: var(--c-sage); color: #fff; }
.step.active .step-dot {
  background: var(--c-forest); border-color: var(--c-forest); color: #fff;
  box-shadow: 0 0 0 4px var(--c-tint-sm);
}
.step-label {
  font-size: 11px; font-weight: 500; color: var(--c-muted);
  white-space: nowrap; text-align: center;
}
.step.active .step-label { color: var(--c-forest); font-weight: 700; }
.step.done  .step-label  { color: var(--c-sage); }
.step-line {
  flex: 1; height: 2px; background: var(--c-border);
  margin-bottom: 20px; min-width: 20px;
}
.step-line.done { background: var(--c-sage); }

/* ── Checkout Layout ─────────────────────────────────────────── */
.checkout-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start;
}
.checkout-block {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 28px; margin-bottom: 20px;
}
.checkout-block-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--c-forest); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--c-muted); margin-top: 4px; }

/* ── Mode Cards (retrait / livraison) ────────────────────────── */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-card {
  padding: 16px; border: 2px solid var(--c-border);
  border-radius: var(--r-lg); cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex; align-items: flex-start; gap: 12px;
}
.mode-card:hover { border-color: var(--c-sage); background: #FAFAF5; }
.mode-card.selected { border-color: var(--c-forest); background: var(--c-tint-xs); }
.mode-card-icon  { font-size: 28px; flex-shrink: 0; }
.mode-card-title { font-weight: 700; font-size: 14px; color: var(--c-ink); margin-bottom: 4px; }
.mode-card-desc  { font-size: 12px; color: var(--c-muted); line-height: 1.5; }

/* ── Order Summary Sidebar ───────────────────────────────────── */
.order-summary {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 24px;
  position: sticky; top: calc(var(--nav-h) + 16px);
}
.order-summary-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--c-forest); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.summary-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-border);
}
.summary-item-name  { font-size: 13.5px; font-weight: 600; color: var(--c-ink); }
.summary-item-qty   { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.summary-item-price { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.summary-divider    { height: 1px; background: var(--c-border); margin: 8px 0; }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 5px 0;
}
.summary-row-label { color: var(--c-muted); }
.summary-row-val   { font-family: var(--font-mono); font-weight: 500; }
.summary-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--c-border);
}
.summary-total-label { font-size: 15px; font-weight: 700; }
.summary-total-val   { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700; color: var(--c-gold); }
.summary-trust {
  font-size: 12px; color: var(--c-muted); line-height: 1.6; margin-top: 12px;
}
.summary-halal-note {
  margin-top: 12px; padding: 10px 14px; background: var(--c-gold-a10);
  border-radius: var(--r-md); font-size: 12px; color: var(--c-muted);
}

/* ── Checkout Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary   { position: static; }
}
@media (max-width: 640px) {
  .checkout-block { padding: 18px; }
  .mode-grid      { grid-template-columns: 1fr; }
  .grid-2         { grid-template-columns: 1fr; }
  .checkout-steps { max-width: 100%; }
  .step-dot       { width: 30px; height: 30px; font-size: 11px; }
  .step-label     { font-size: 10px; }
  .step-line      { min-width: 12px; margin-bottom: 16px; }
}

/* ── MEDIA SECTIONS ───────────────────────────────────────── */

/* Carousel (moutons - vertical 9:16) */
.media-carousel-wrap {
  position: relative;
  overflow: hidden;
}
.media-carousel {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 8px 4px 16px; scroll-behavior: smooth;
}
.media-carousel::-webkit-scrollbar { display: none; }

.media-card {
  position: relative; flex-shrink: 0;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--c-ink);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
  scroll-snap-align: start;
  cursor: pointer;
}
.media-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }

/* Vertical (9:16) */
.media-card-vertical {
  width: 220px; aspect-ratio: 9/16;
}
/* Horizontal (16:9) */
.media-card-horizontal {
  aspect-ratio: 16/9;
}

.media-thumb {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--ease-out-expo);
}
.media-card:hover .media-thumb { transform: scale(1.04); }

.media-type-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; padding: 3px 9px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.media-card-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff; font-size: 12px; padding: 20px 12px 10px;
  font-weight: 500;
}

/* Grid abattage */
.media-grid-abattage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-card-featured {
  grid-column: span 2; grid-row: span 2;
  aspect-ratio: auto; /* s'étire pour remplir les 2 rangées */
}

/* Carousel nav buttons */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 10;
  color: var(--c-forest); transition: all .2s;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: -16px; }
.carousel-next { right: -16px; }

/* Gallery pages */
.gallery-grid-vertical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  cursor: pointer; background: var(--c-ink);
}
.gallery-item-vertical { aspect-ratio: 9/16; }
.gallery-item-horizontal { aspect-ratio: 16/9; }
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--ease-out-expo);
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,.25); }
.gallery-fullscreen-btn {
  opacity: 0; color: #fff; font-size: 28px;
  transition: opacity .2s; background: rgba(0,0,0,.4);
  border: none; border-radius: 50%; width: 48px; height: 48px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-fullscreen-btn { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  border-radius: var(--r-xl); overflow: hidden;
}
.lightbox-inner img, .lightbox-inner video {
  max-width: 90vw; max-height: 90vh; object-fit: contain; display: block;
}
.lightbox-close {
  position: absolute; top: -48px; right: 0;
  color: #fff; font-size: 32px; background: none; border: none;
  cursor: pointer; padding: 8px; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 36px; background: rgba(255,255,255,.15);
  border: none; border-radius: 50%; width: 50px; height: 50px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* Responsive media sections */
@media (max-width: 768px) {
  .media-card-vertical { width: 160px; }
  .media-grid-abattage { grid-template-columns: 1fr; }
  .media-card-featured { grid-column: span 1; }
  .gallery-grid-vertical { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-horizontal { grid-template-columns: 1fr; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .gallery-grid-vertical { grid-template-columns: repeat(2, 1fr); }
  .carousel-btn { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   CORRECTIFS RESPONSIVE MOBILE
   (n'affecte que ≤768px — desktop inchangé)
══════════════════════════════════════════════════════════════ */

/* Tablette : footer gap plus compact */
@media (max-width: 768px) {
  .footer-grid { gap: 28px; }
  .page-header h1 { font-size: clamp(1.5rem, 6vw, 2.4rem); }
}

/* Mobile : corrections générales */
@media (max-width: 640px) {
  /* Countdown : 2×2 au lieu de 4 en ligne */
  .countdown-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Page header : moins de padding */
  .page-header { padding: calc(var(--nav-h) + 14px) 0 28px; }

  /* Breadcrumb : wrapping si titre long */
  .breadcrumb { flex-wrap: wrap; }

  /* Section title : lisible sur petit écran */
  .section-title { font-size: clamp(1.4rem, 5.5vw, 2.5rem); }

  /* About page grids (déclaration inline backup) */
  .about-grid, .about-wakala-grid { grid-template-columns: 1fr !important; }
}

/* Très petit mobile */
@media (max-width: 480px) {
  /* Newsletter form : email + bouton en colonne */
  #newsletterForm > div { flex-direction: column !important; }
  #newsletterForm > div button { width: 100% !important; }
  #nlPrenom, #nlEmail { font-size: 16px; } /* évite le zoom iOS */

  /* Footer bottom : liens sur plusieurs lignes */
  .footer-legal { flex-wrap: wrap; gap: 10px; }

  /* Scroll hint : inutile sur mobile */
  .hero-scroll-hint { display: none; }

  /* Produit : titre et prix lisibles */
  .produit-prix { font-size: clamp(1.4rem, 7vw, 2rem); }
}
