/* ============================================
   BOIS ET COULEURS — Styles principaux
   Police: Poppins | Charte: Bois & Couleurs
   ============================================ */

:root {
  --black:      #f0f0f0;
  --dark:       #e8e8e8;
  --dark-card:  #ffffff;
  --dark-border:#d0d0d0;
  --gold:       #c9922a;
  --gold-light: #e8b84b;
  --gold-pale:  #f5e6c8;
  --white:      #1a1a1a;
  --off-white:  #2a2a2a;
  --gray-100:   #333333;
  --gray-200:   #444444;
  --gray-500:   #666666;
  --gray-700:   #888888;
  --accent-red: #c0392b;
  --accent-green:#27ae60;
  --wood-brown: #8B5E3C;
  --wood-dark:  #4a2e0f;

  --font:       'Poppins', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.12);

  --header-h:   72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Container --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,146,42,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--black); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-danger { background: var(--accent-red); color: var(--white); border-color: var(--accent-red); }

/* --- Section --- */
.section { padding: 100px 0; }
.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-tag {
  display: inline-block;
  background: rgba(201,146,42,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,146,42,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  flex: 1;
}
.section-link {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.section-link:hover { letter-spacing: 0.04em; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(240,240,240,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(240,240,240,0.99);
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 32px;
}
.logo { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; object-fit: contain; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #444444;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: #1a1a1a;
  background: rgba(0,0,0,0.06);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.main-nav .arrow { font-size: 0.7rem; opacity: 0.6; }

/* Mega dropdown */
.has-dropdown { position: relative; }
.mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 480px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mega-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
  background: rgba(255,255,255,0.03);
}
.mega-link:hover { background: rgba(201,146,42,0.1); color: var(--gold); }
.mega-icon { font-size: 1.5rem; }
.mega-all { background: rgba(201,146,42,0.08); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  color: var(--gray-200);
  transition: var(--transition);
}
.header-btn:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.btn-label { font-size: 0.8rem; font-weight: 500; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-badge.hidden { opacity: 0; transform: scale(0); }

/* Search bar */
.search-bar {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.search-bar.open { max-height: 140px; padding: 20px 0; }
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}
.search-bar-inner input {
  flex: 1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.search-bar-inner input:focus { border-color: var(--gold); }
.search-bar-inner button {
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-close { background: none; color: var(--gray-500); padding: 8px; border-radius: 6px; }
.search-close:hover { color: var(--white); }
.search-suggestions {
  max-width: 600px;
  margin: 10px auto 0;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--gray-500);
}
.search-suggestions a {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 10px;
  background: var(--dark-card);
  border-radius: 20px;
  color: var(--gold);
  transition: var(--transition);
}
.search-suggestions a:hover { background: rgba(201,146,42,0.15); }

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--dark);
  border-left: 1px solid var(--dark-border);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--dark-border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 600; }
.cart-header button { color: var(--gray-500); font-size: 1.2rem; }
.cart-header button:hover { color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
}
.cart-item-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { color: var(--gold); font-size: 0.9rem; font-weight: 700; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--dark-card);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.qty-btn:hover { background: var(--gold); color: var(--black); }
.cart-item-remove { color: var(--gray-500); font-size: 0.8rem; margin-left: auto; }
.cart-item-remove:hover { color: var(--accent-red); }
.cart-footer { padding: 24px; border-top: 1px solid var(--dark-border); }
.cart-empty { text-align: center; padding: 48px 0; color: var(--gray-500); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* ============================================
   MODAL QUICK VIEW
   ============================================ */
/* ── MODAL OVERLAY ─────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.modal-close:hover { background: #e53935; color: #fff; border-color: transparent; }

/* ── QUICK VIEW LAYOUT ─────────────────────── */
.quick-view-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.qv-images {
  background: #111;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.qv-main-img {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.qv-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.qv-main-img img:hover { transform: scale(1.04); }
.qv-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  overflow-x: auto;
}
.qv-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.qv-thumb:hover, .qv-thumb.active { opacity: 1; border-color: var(--gold); }

/* ── QUICK VIEW INFO ───────────────────────── */
.qv-info {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.qv-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(183,141,70,0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}
.qv-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 18px;
}
.qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.qv-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}
.qv-price-old {
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
}
.qv-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}
.qv-stock.ok { background: rgba(34,197,94,0.12); color: #4ade80; }
.qv-stock.out { background: rgba(239,68,68,0.12); color: #f87171; }
.qv-stock .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.qv-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.qv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.qv-actions .btn-primary {
  flex: 1;
  min-width: 140px;
  padding: 13px 20px;
  font-size: 0.88rem;
  border-radius: 12px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.qv-actions .btn-primary:hover { background: #c9a84c; transform: translateY(-1px); }
.qv-actions .btn-outline {
  flex: 1;
  min-width: 120px;
  padding: 13px 20px;
  font-size: 0.88rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.qv-actions .btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(183,141,70,0.07); }
.qv-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qv-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.4;
}
.qv-feat .icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.qv-feat strong { color: rgba(255,255,255,0.75); display: block; font-size: 0.72rem; margin-bottom: 2px; }

@media (max-width: 680px) {
  .quick-view-layout { grid-template-columns: 1fr; }
  .qv-images { border-radius: 20px 20px 0 0; min-height: 240px; }
  .qv-main-img { min-height: 240px; }
  .qv-info { padding: 24px 20px 24px; }
  .qv-title { font-size: 1.15rem; }
  .qv-price { font-size: 1.35rem; }
  .qv-features { grid-template-columns: 1fr; }
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(201,146,42,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.04em;
}
.badge-promo { background: var(--accent-red); color: var(--white); }
.badge-new { background: var(--gold); color: var(--black); }
.product-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.quick-view-btn {
  background: var(--white);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--font);
  transform: translateY(8px);
  transition: var(--transition);
}
.product-card:hover .quick-view-btn { transform: translateY(0); }
.quick-view-btn:hover { background: var(--gold); }
.product-info { padding: 20px; }
.product-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.product-name {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.price-old { color: var(--gray-500); font-size: 0.85rem; text-decoration: line-through; }
.price-current { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.product-actions { display: flex; gap: 10px; }
.btn-add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--font);
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-detail {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
}
.btn-detail:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}
.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 10px;
  padding: 14px 16px;
  color: #1a1a1a;
  font-size: 0.92rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,42,0.15); }
.form-control::placeholder { color: #999999; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-error { color: var(--accent-red); font-size: 0.78rem; margin-top: 6px; }
.form-success { color: var(--accent-green); font-size: 0.78rem; margin-top: 6px; }

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid;
}
.alert-success { background: rgba(39,174,96,0.1); border-color: rgba(39,174,96,0.3); color: #2ecc71; }
.alert-error   { background: rgba(192,57,43,0.1); border-color: rgba(192,57,43,0.3); color: #e74c3c; }
.alert-info    { background: rgba(201,146,42,0.1); border-color: rgba(201,146,42,0.3); color: var(--gold); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  color: var(--gray-200);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #e0e0e0;
  border-top: 1px solid #cccccc;
  margin-top: auto;
}
.footer-top { padding: 80px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-logo { height: 50px; margin-bottom: 20px; }
.footer-brand p { color: #555555; font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,146,42,0.1); }
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #555555; font-size: 0.88rem; transition: var(--transition); }
.footer-col ul a:hover { color: #1a1a1a; padding-left: 4px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.contact-list a { color: var(--gray-500); }
.contact-list a:hover { color: var(--gold); }
.newsletter { margin-top: 24px; }
.newsletter p { color: var(--gray-500); font-size: 0.82rem; margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--gray-700); }
.newsletter-form button {
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 1rem;
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom { padding: 24px 0; border-top: 1px solid var(--dark-border); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-inner > p { color: var(--gray-700); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--gray-700); font-size: 0.82rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }
.payment-badges { display: flex; gap: 8px; align-items: center; }
.payment-badges img { height: 24px; width: auto; filter: grayscale(1) brightness(0.7); transition: var(--transition); }
.payment-badges img:hover { filter: none; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.whatsapp-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.back-to-top {
  position: fixed;
  bottom: 90px; right: 24px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: var(--gold);
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ============================================
   UTILITIES
   ============================================ */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }
.accent { color: var(--gold); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-stock-ok { background: rgba(39,174,96,0.15); color: #2ecc71; border: 1px solid rgba(39,174,96,0.3); }
.badge-stock-low { background: rgba(201,146,42,0.15); color: var(--gold); border: 1px solid rgba(201,146,42,0.3); }
.badge-stock-out { background: rgba(192,57,43,0.15); color: #e74c3c; border: 1px solid rgba(192,57,43,0.3); }

/* ============================================
   PAGE BANNER — voir bas du fichier
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--gray-700); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .main-nav { display: none; }
  .burger-btn { display: flex; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cart-sidebar { width: 100%; right: -100%; }
  .btn { padding: 12px 22px; font-size: 0.85rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  /* Section header responsive */
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .section-title { font-size: 1.5rem; flex: none; width: 100%; }
  .section-link { margin-left: 0; }
  .testimonials-section .section-header { padding-top: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-img-wrap { height: 180px; }
}

/* Mobile nav overlay — styles déplacés plus bas (version correcte) */
/* Burger animé — visible sur fond clair */
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #1a1a1a;
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.burger-btn:hover span { background: var(--gold); }
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE BANNER — Bannière image en haut de page
   Utilisée sur toutes les pages secondaires
   ============================================ */
.page-banner {
  margin-top: var(--header-h);
  position: relative;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* ← Remplace src="..." par votre vraie image */
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.1) 100%
  );
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.page-banner-content .section-tag {
  margin-bottom: 12px;
  display: inline-block;
}
.page-banner-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.page-banner-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.6;
}
/* Breadcrumb dans la bannière */
.page-banner-breadcrumb {
  position: absolute;
  bottom: 16px;
  left: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.page-banner-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.page-banner-breadcrumb a:hover { color: var(--gold); }
.page-banner-breadcrumb span { color: var(--gold); font-weight: 600; }
.page-banner-breadcrumb .sep { opacity: 0.4; }

/* Les sections qui suivent la bannière */
.page-content {
  padding: 60px 0 100px;
}

@media (max-width: 768px) {
  .page-banner { height: 200px; }
  .page-banner-content { padding: 0 20px; }
  .page-banner-breadcrumb { left: 20px; }
}

/* ============================================
   MENU MOBILE — VERSION PROFESSIONNELLE
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 100vw);
  height: 100dvh;
  background: #ffffff;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

/* Overlay sombre derrière */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* Header du menu mobile */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0ede6;
  background: #fafaf8;
  flex-shrink: 0;
}
.mobile-nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.mobile-nav-logo span { color: #c9922a; }
.mobile-nav-close {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #f0ede6;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
  flex-shrink: 0;
}
.mobile-nav-close:hover { background: #e63946; color: #fff; }

/* Scroll area */
.mobile-nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0 8px;
}
.mobile-nav-scroll::-webkit-scrollbar { width: 0; }

/* Items de navigation */
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li { border-bottom: 1px solid #f4f1ec; }
.mobile-nav li:last-child { border-bottom: none; }

.mobile-nav > .mobile-nav-scroll > ul > li > a,
.mobile-nav-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  text-align: left;
}
.mobile-nav > .mobile-nav-scroll > ul > li > a:hover,
.mobile-nav-item-btn:hover { color: #c9922a; background: #fdf8f0; }
.mobile-nav > .mobile-nav-scroll > ul > li > a .mn-icon { font-size: 1.1rem; }

/* Badge flèche accordion */
.mn-chevron {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f4f1ec;
  color: #888;
  transition: transform 0.28s ease, background 0.2s, color 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
.mobile-nav-item-btn.open .mn-chevron { transform: rotate(180deg); background: #fdf3e0; color: #c9922a; }

/* Sous-menu */
.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  background: #f9f7f4;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-subnav.open { max-height: 600px; }
.mobile-subnav a {
  display: flex;
  align-items: center;
  padding: 12px 24px 12px 36px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  border-top: 1px solid #eeeae3;
  position: relative;
}
.mobile-subnav a::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4b896;
  flex-shrink: 0;
}
.mobile-subnav a:first-child { border-top: none; }
.mobile-subnav a:hover { color: #c9922a; background: #fdf8f0; padding-left: 40px; }

/* Footer du menu mobile */
.mobile-nav-footer {
  flex-shrink: 0;
  padding: 16px 24px 24px;
  border-top: 1px solid #f0ede6;
  background: #fafaf8;
}
.mobile-nav-devis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: #c9922a;
  color: #fff !important;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
  margin-bottom: 14px;
}
.mobile-nav-devis:hover { background: #b07d3a; transform: translateY(-1px); }
.mobile-nav-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
}
.mobile-nav-contact-row a { color: #555; text-decoration: none; font-weight: 500; }
.mobile-nav-contact-row a:hover { color: #c9922a; }

/* Burger button amélioré */
.burger-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201,146,42,0.1);
  border: 1px solid rgba(201,146,42,0.2);
  cursor: pointer;
  transition: 0.25s ease;
  padding: 0;
  gap: 0;
}
.burger-btn:hover { background: rgba(201,146,42,0.18); }
.burger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  margin: 2.5px 0;
}
.burger-btn.active { background: rgba(230,57,70,0.1); border-color: rgba(230,57,70,0.25); }
.burger-btn.active span { background: #e63946; }
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   MOBILE HEADER FIX — corrections menu mobile
   ============================================ */
@media (max-width: 1100px) {
  /* Cacher le bouton Devis dans le header (accessible dans le menu burger) */
  .header-actions .btn.btn-primary.btn-sm { display: none !important; }
  /* Cacher le label nom utilisateur pour gagner de la place */
  .header-btn .btn-label { display: none !important; }
  /* Réduire padding des icônes */
  .header-btn { padding: 6px !important; }
  /* Garantir visibilité du burger */
  .burger-btn {
    display: flex !important;
    flex-shrink: 0 !important;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(201,146,42,0.08);
    margin-left: 4px;
    align-items: center;
    justify-content: center;
  }
  .logo-img { height: 36px !important; }
  .header-inner { padding: 0 16px !important; gap: 6px !important; overflow: visible !important; }
}

/* ==========================================================================
   PARTENAIRES — cartes "articles" (accueil + page listing) & badges
   ========================================================================== */
.partners-section { padding: 90px 0; background: #f8f5f0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,146,42,0.3);
}
.partner-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 8px;
}
.partner-card-logo img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f8f5f0;
}
.partner-card-body {
  padding: 8px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.partner-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wood-dark);
  margin-bottom: 10px;
}
.partner-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.partner-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.partner-card:hover .partner-card-link { gap: 10px; }

@media (max-width: 992px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .partners-section { padding: 60px 0; }
  .partners-grid { grid-template-columns: 1fr; gap: 20px; }
}
