/*
 * vitrine.css — Élevage Prometteur
 * Design premium avec effets parallax, 3D, glassmorphisme
 * Palette : Vert forêt #1a4731 | Or #c9891a | Crème #faf7f0 | Blanc cassé #f5f0e8
 */

/* ═══════════════════════════════════════════════════════════════
   0. IMPORTS & RESET
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500&display=swap');

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

/* ═══════════════════════════════════════════════════════════════
   1. VARIABLES CSS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Couleurs */
  --ep-forest:       #1a4731;
  --ep-forest-dark:  #0f2d1f;
  --ep-forest-light: #2d6b4a;
  /* Couleurs de marque */
  --ep-red:          #fa3048;
  --ep-red-dark:     #ea2330;
  --ep-green-brand:  #30c77a;
  --ep-green-brand-dark: #55b047;
  /* Or → rouge primaire pour les CTA */
  --ep-gold:         #fa3048;
  --ep-gold-light:   #ea2330;
  --ep-gold-pale:    #ffd5da;
  --ep-cream:        #faf7f0;
  --ep-cream-dark:   #f0ebe0;
  --ep-white:        #ffffff;
  --ep-text:         #1a1a1a;
  --ep-text-muted:   #5a6472;
  --ep-text-light:   #8a95a1;
  --ep-border:       rgba(26, 71, 49, 0.12);

  /* Badge couleurs */
  --badge-green:   #16a34a;
  --badge-orange:  #d97706;
  --badge-blue:    #2563eb;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.07);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.16);
  --shadow-glow:0 0 40px rgba(250,48,72,.25);

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 60px;
  --container: 1200px;

  /* Transitions */
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: 200ms;
  --dur-normal: 350ms;
  --dur-slow: 600ms;

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;
}

/* ═══════════════════════════════════════════════════════════════
   2. BASE
   ═══════════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
  color: var(--ep-text);
  background: var(--ep-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ep-forest);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}
a:hover { color: var(--ep-gold); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Typography */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ep-gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ep-forest-dark);
  margin-bottom: 20px;
}

.section-title--light {
  color: var(--ep-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ep-text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   3. NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26,71,49,.08);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.navbar.scrolled {
  height: 60px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ep-forest);
  text-decoration: none;
}

.navbar__logo-badge {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--ep-forest), var(--ep-forest-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar__links a {
  padding: 8px 16px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ep-text);
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-smooth);
}
.navbar__links a:hover {
  background: var(--ep-cream);
  color: var(--ep-forest);
}
.navbar__links a.active {
  background: var(--ep-forest);
  color: white;
}

.navbar__cta {
  background: linear-gradient(135deg, var(--ep-red), var(--ep-red-dark)) !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(250,48,72,.35) !important;
}
.navbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(250,48,72,.45) !important;
}

.navbar__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.navbar__mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ep-forest);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.navbar__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--ep-border);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
}
.navbar__lang:hover { background: var(--ep-cream); }

/* ═══════════════════════════════════════════════════════════════
   4. HERO SECTION — Parallax + 3D
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--ep-forest-dark) 0%,
    var(--ep-forest) 50%,
    #1e5c3a 100%
  );
  padding-top: 72px;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: radial-gradient(circle, var(--ep-gold-light), transparent);
  animation: float-shape 8s ease-in-out infinite;
}
.hero__shape--1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  animation-duration: 10s;
}
.hero__shape--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  animation-duration: 12s;
  animation-delay: -4s;
}
.hero__shape--3 {
  width: 200px; height: 200px;
  top: 40%; right: 20%;
  opacity: .05;
  animation-duration: 7s;
  animation-delay: -2s;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(.95); }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,137,26,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,137,26,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__container {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero__content { z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201,137,26,.15);
  border: 1px solid rgba(201,137,26,.3);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ep-gold-light);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ep-gold-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: white;
  margin-bottom: 24px;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--ep-green-brand), var(--ep-green-brand-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero__stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ep-gold-light);
  line-height: 1;
}

.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Hero Visual — Carte 3D flottante */
.hero__visual {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-3d {
  position: relative;
  width: 100%;
  max-width: 460px;
  transform-style: preserve-3d;
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
  50%       { transform: rotateY(5deg) rotateX(-3deg) translateY(-20px); }
}

.hero__card-main {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
}

.hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(201,137,26,.2);
  border: 1px solid rgba(201,137,26,.35);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ep-gold-light);
  margin-bottom: 16px;
}

.hero__card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__card-subtitle {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
}

.hero__card-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__card-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
}

.hero__card-service-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ep-gold), var(--ep-gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero__card-service-name {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

/* Floating badges */
.hero__float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: badge-float 5s ease-in-out infinite;
}
.hero__float-badge--1 {
  top: -20px; right: -30px;
  animation-delay: -1s;
}
.hero__float-badge--2 {
  bottom: 20px; left: -40px;
  animation-delay: -2.5s;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}

.hero__float-badge-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero__float-badge-icon--gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.hero__float-badge-icon--green {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.hero__float-badge-text { line-height: 1.2; }
.hero__float-badge-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ep-text);
}
.hero__float-badge-sub {
  font-size: .7rem;
  color: var(--ep-text-muted);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════════
   5. BOUTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast) var(--ease-smooth);
}

.btn:hover::after {
  background: rgba(255,255,255,.1);
}

.btn--primary {
  background: linear-gradient(135deg, var(--ep-red), var(--ep-red-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(250,48,72,.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(250,48,72,.5);
  color: white;
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: rgba(255,255,255,.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover {
  background: rgba(255,255,255,.2);
  color: white;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ep-forest);
  border: 2px solid var(--ep-forest);
}
.btn--outline:hover {
  background: var(--ep-forest);
  color: white;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ep-text-muted);
  padding-inline: 16px;
}
.btn--ghost:hover {
  color: var(--ep-forest);
  background: var(--ep-cream);
}

.btn--sm {
  padding: 9px 20px;
  font-size: .85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   6. SECTION PILIERS — Glassmorphism cards
   ═══════════════════════════════════════════════════════════════ */
.section-piliers {
  padding: var(--section-py) 0;
  background: var(--ep-cream);
  position: relative;
  overflow: hidden;
}

.section-piliers::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ep-gold), transparent);
}

.piliers-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 72px;
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.pilier-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--ep-border);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-smooth);
  transform-style: preserve-3d;
  cursor: default;
}

.pilier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ep-forest), var(--ep-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.pilier-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26,71,49,.08);
}

.pilier-card:hover::before { transform: scaleX(1); }

.pilier-card__number {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--ep-cream-dark);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color var(--dur-normal) var(--ease-smooth);
}

.pilier-card:hover .pilier-card__number { color: rgba(201,137,26,.12); }

.pilier-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26,71,49,.08), rgba(26,71,49,.04));
  border: 1px solid rgba(26,71,49,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.pilier-card:hover .pilier-icon {
  background: linear-gradient(135deg, var(--ep-forest), var(--ep-forest-light));
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
}

.pilier-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ep-forest-dark);
  margin-bottom: 12px;
}

.pilier-card__desc {
  font-size: .92rem;
  color: var(--ep-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pilier-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pilier-tag {
  padding: 4px 10px;
  background: var(--ep-cream);
  border: 1px solid var(--ep-border);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 500;
  color: var(--ep-text-muted);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.pilier-card:hover .pilier-tag {
  background: rgba(26,71,49,.06);
  border-color: rgba(26,71,49,.15);
  color: var(--ep-forest);
}

/* ═══════════════════════════════════════════════════════════════
   7. SECTION CATALOGUE APERÇU
   ═══════════════════════════════════════════════════════════════ */
.section-catalogue {
  padding: var(--section-py) 0;
  background: white;
}

.catalogue-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.catalogue-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 500;
  border: 1.5px solid var(--ep-border);
  background: white;
  color: var(--ep-text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--ep-forest);
  border-color: var(--ep-forest);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   8. PRODUCT CARD — 3D hover
   ═══════════════════════════════════════════════════════════════ */
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-smooth);
  transform-style: preserve-3d;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,71,49,.15);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ep-cream);
}

.product-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ep-cream), var(--ep-cream-dark));
  color: var(--ep-text-muted);
  font-size: 2.5rem;
}

.product-card__category-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ep-forest);
  border: 1px solid rgba(26,71,49,.12);
}

.product-card__badges {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge--green  { background: #dcfce7; color: #15803d; }
.badge--orange { background: #fef3c7; color: #92400e; }
.badge--blue   { background: #dbeafe; color: #1d4ed8; }
.badge--forest { background: rgba(26,71,49,.08); color: var(--ep-forest); }

.product-card__body {
  padding: 20px;
}

.product-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ep-forest-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card__desc {
  font-size: .85rem;
  color: var(--ep-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ep-border);
}

.product-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ep-gold);
}

.product-card__price-label {
  font-size: .72rem;
  font-weight: 400;
  color: var(--ep-text-light);
  display: block;
  line-height: 1;
}

.product-card__btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ep-forest);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}
.product-card__btn:hover {
  background: var(--ep-gold);
  transform: scale(1.1);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════
   9. SECTION STATS — Parallax Counter
   ═══════════════════════════════════════════════════════════════ */
.section-stats {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--ep-forest-dark), var(--ep-forest));
  position: relative;
  overflow: hidden;
}

.section-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,137,26,.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(201,137,26,.08) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.stat-item:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ep-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ═══════════════════════════════════════════════════════════════
   10. SECTION CTA FINALE
   ═══════════════════════════════════════════════════════════════ */
.section-cta {
  padding: var(--section-py) 0;
  background: var(--ep-cream);
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, var(--ep-forest-dark), var(--ep-forest));
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,137,26,.15), transparent);
  pointer-events: none;
}

.cta-content .section-subtitle { color: rgba(255,255,255,.7); }

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Contact rapide dans CTA */
.cta-form {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.cta-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   11. FORMULAIRES
   ═══════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 8px;
}

.form-label--dark {
  color: var(--ep-text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: white;
  outline: none;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.form-control::placeholder { color: rgba(255,255,255,.4); }

.form-control:focus {
  border-color: rgba(201,137,26,.6);
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(201,137,26,.15);
}

.form-control--dark {
  background: white;
  border-color: var(--ep-border);
  color: var(--ep-text);
}

.form-control--dark::placeholder { color: var(--ep-text-light); }

.form-control--dark:focus {
  border-color: var(--ep-forest);
  box-shadow: 0 0 0 3px rgba(26,71,49,.1);
}

.form-error {
  font-size: .8rem;
  color: #f87171;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   12. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ep-forest-dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand { }
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand-logo-badge {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--ep-gold), var(--ep-gold-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: white;
}

.footer-brand-desc {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: rgba(255,255,255,.55);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
}

.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ep-gold-light);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast) var(--ease-smooth);
}
.footer-links a:hover { color: var(--ep-gold-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════════════════════════
   13. PAGE CATALOGUE (liste produits)
   ═══════════════════════════════════════════════════════════════ */
.page-catalogue {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--ep-cream);
}

.catalogue-hero {
  background: linear-gradient(135deg, var(--ep-forest-dark), var(--ep-forest));
  padding: 60px 0 80px;
  margin-bottom: -40px;
  position: relative;
}

.catalogue-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: white;
  font-weight: 700;
}

.catalogue-hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-top: 8px;
}

.catalogue-body {
  position: relative;
  padding: 60px 0;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar filtres */
.catalogue-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--ep-border);
  position: sticky;
  top: 90px;
}

.sidebar-section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ep-text-muted);
  margin-bottom: 12px;
}

.cat-filter-list { list-style: none; }

.cat-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-filter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ep-text-muted);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-smooth);
  flex: 1;
}

.cat-filter-link:hover, .cat-filter-link.active {
  background: rgba(26,71,49,.06);
  color: var(--ep-forest);
}

.cat-filter-link.active { font-weight: 600; }

.cat-filter-count {
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--ep-cream);
  border-radius: var(--radius-full);
  color: var(--ep-text-muted);
}

/* Empty state */
.catalogue-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--ep-text-muted);
}
.catalogue-empty-icon { font-size: 4rem; margin-bottom: 16px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ep-text-muted);
  background: white;
  border: 1.5px solid var(--ep-border);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.page-item .page-link:hover {
  border-color: var(--ep-forest);
  color: var(--ep-forest);
}

.page-item.active .page-link {
  background: var(--ep-forest);
  border-color: var(--ep-forest);
  color: white;
}

.page-item.disabled .page-link {
  opacity: .4;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   14. PAGE PRODUIT DÉTAIL
   ═══════════════════════════════════════════════════════════════ */
.page-product-detail {
  padding-top: 100px;
  min-height: 100vh;
  background: white;
}

.product-detail-body {
  padding: 56px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Image gallery */
.product-gallery {
  position: sticky;
  top: 90px;
}

.product-gallery__main {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ep-cream);
  margin-bottom: 16px;
  border: 1px solid var(--ep-border);
  position: relative;
}

.product-gallery__main-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-gallery__main-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ep-text-muted);
  font-size: 5rem;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
}

.product-gallery__thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  background: var(--ep-cream);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--ep-forest);
}

.product-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Product info */
.product-info__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ep-gold);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.product-info__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ep-forest-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.product-info__price-box {
  background: var(--ep-cream);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--ep-border);
}

.product-info__price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ep-gold);
  line-height: 1;
}

.product-info__price-detail {
  font-size: .85rem;
  color: var(--ep-text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.product-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.product-info__desc {
  font-size: .97rem;
  color: var(--ep-text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ep-border);
}

.product-info__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-info__note {
  margin-top: 20px;
  font-size: .82rem;
  color: var(--ep-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section produits similaires */
.similar-products {
  padding: 64px 0;
  background: var(--ep-cream);
  border-top: 1px solid var(--ep-border);
}

/* ═══════════════════════════════════════════════════════════════
   15. PAGE CONTACT
   ═══════════════════════════════════════════════════════════════ */
.page-contact {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--ep-cream);
}

.contact-hero {
  background: linear-gradient(135deg, var(--ep-forest-dark), var(--ep-forest));
  padding: 72px 0;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 520px;
}

.contact-body {
  padding: 72px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--ep-border);
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ep-forest-dark);
  margin-bottom: 32px;
}

.contact-sidebar { }

.contact-info-card {
  background: linear-gradient(135deg, var(--ep-forest-dark), var(--ep-forest));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  margin-bottom: 24px;
}

.contact-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text { }
.contact-info-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}

/* ═══════════════════════════════════════════════════════════════
   16. ANIMATIONS GLOBALES
   ═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-smooth);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }
.fade-up-delay-5 { transition-delay: .5s; }

.scale-in {
  opacity: 0;
  transform: scale(.9);
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-spring);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   17. MESSAGES FLASH
   ═══════════════════════════════════════════════════════════════ */
.messages {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  animation: slide-in-right .4s var(--ease-spring) forwards;
  box-shadow: var(--shadow-lg);
}

.alert--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}
.alert--error {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.alert--warning {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.alert--info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════
   18. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__container { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalogue-layout { grid-template-columns: 1fr; }
  .catalogue-sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .navbar__links { display: none; }
  .navbar__mobile-toggle { display: flex; }
  .piliers-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .catalogue-header { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 40px 24px; }
  .contact-form-card { padding: 28px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   19. PANIER & TUNNEL DE COMMANDE (MODULE 3)
   ═══════════════════════════════════════════════════════════════ */

/* Stepper Horizontal */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  box-shadow: var(--shadow-sm);
  gap: 16px;
}

.checkout-stepper__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ep-text-light);
}

.checkout-stepper__step.active {
  color: var(--ep-forest-dark);
}

.checkout-stepper__step.done {
  color: var(--ep-forest);
}

.checkout-stepper__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-cream-dark);
  color: var(--ep-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.checkout-stepper__step.active .checkout-stepper__dot {
  background: var(--ep-forest-dark);
  color: white;
  border-color: var(--ep-forest-dark);
  box-shadow: 0 0 0 4px rgba(26, 71, 49, 0.15);
}

.checkout-stepper__step.done .checkout-stepper__dot {
  background: var(--ep-forest);
  color: white;
  border-color: var(--ep-forest);
}

.checkout-stepper__line {
  flex: 1;
  max-width: 120px;
  height: 2.5px;
  background: var(--ep-cream-dark);
  border-radius: 2px;
}

.checkout-stepper__line.checkout-stepper__line--done {
  background: var(--ep-forest);
}

/* Grille Panier */
.panier-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.panier-items {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panier-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1.5px solid var(--ep-border);
}

.panier-item:last-child {
  border-bottom: none;
}

.panier-item__img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ep-cream);
  border: 1px solid var(--ep-border);
  flex-shrink: 0;
}

.panier-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panier-item__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.panier-item__details {
  flex: 1;
  min-width: 0;
}

.panier-item__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ep-forest-dark);
  margin-bottom: 4px;
  display: block;
}

.panier-item__name:hover {
  color: var(--ep-gold);
}

.panier-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.panier-item__category {
  font-size: 0.78rem;
  color: var(--ep-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panier-item__price-unit {
  font-size: 0.85rem;
  color: var(--ep-text-muted);
}

.panier-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ep-cream);
  border-radius: 30px;
  padding: 4px 12px;
  border: 1px solid var(--ep-border);
}

.panier-item__qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  color: var(--ep-forest-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.panier-item__qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.panier-item__qty-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ep-forest-dark);
  min-width: 20px;
  text-align: center;
}

.panier-item__subtotal {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ep-forest-dark);
  min-width: 120px;
  text-align: right;
}

.panier-item__remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ep-text-light);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.panier-item__remove-btn:hover {
  background: #FFEBEE;
  color: #C62828;
}

/* Sidebar Résumé */
.panier-summary {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.panier-summary__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ep-forest-dark);
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ep-border);
}

.panier-summary__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.panier-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ep-text-muted);
}

.panier-summary__divider {
  height: 1.5px;
  background: var(--ep-border);
  margin: 20px 0;
}

.panier-summary__reglement {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panier-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ep-forest-dark);
}

.panier-summary__total-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ep-forest);
}

.panier-summary__trust {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ep-border);
}

.panier-summary__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ep-text-light);
  font-weight: 500;
}

/* Empty State */
.panier-empty {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 64px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.panier-empty__icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Badge Panier Navbar */
.navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: var(--ep-cream);
  color: var(--ep-forest-dark);
  transition: all 0.25s ease;
}

.navbar__cart:hover {
  background: var(--ep-forest-dark);
  color: white;
}

.navbar__cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ep-gold);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar__cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Tunnel de commande */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-form-col {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.checkout-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ep-forest-dark);
  margin-bottom: 6px;
}

.checkout-error {
  color: #C62828;
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 500;
}

/* Confirmation */
.confirmation-hero {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ep-border);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.confirmation-check {
  display: inline-flex;
  margin-bottom: 24px;
}

.confirmation-check__path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: dash 1s ease forwards 0.2s;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

.confirmation-number-card {
  display: inline-flex;
  flex-direction: column;
  background: var(--ep-cream);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--ep-forest);
  margin-top: 8px;
}

.confirmation-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ep-forest-dark);
  margin-top: 4px;
}

/* Tracking Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 2px;
  background: var(--ep-border);
}

.timeline__step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ep-border);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--ep-border);
  position: absolute;
  left: -20px;
  top: 6px;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline__step.done .timeline__dot {
  background: var(--ep-forest);
  box-shadow: 0 0 0 2px var(--ep-forest);
}

.timeline__step.active .timeline__dot {
  background: var(--ep-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline__content {
  flex: 1;
}

.timeline__status {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ep-forest-dark);
}

.timeline__date {
  font-size: 0.78rem;
  color: var(--ep-text-light);
  margin-top: 2px;
}

.timeline__note {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ep-text-muted);
  background: var(--ep-cream);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .panier-grid, .checkout-grid, .confirmation-grid {
    grid-template-columns: 1fr !important;
  }
  .panier-summary, .checkout-sidebar {
    position: static !important;
  }
}

