/* =========================================================================
   brindestef-public.css — Brin de Stef
   UN seul fichier CSS custom — tout le reste via Tailwind
   =========================================================================
   SOMMAIRE :
   1. VARIABLES & RESET
   2. TYPOGRAPHIE & BASE
   3. LAYOUT
   4. NAVIGATION & HEADER
   5. COMPOSANTS GLOBAUX (boutons, formulaires, toasts, modales)
   6. PWA INSTALL BANNER
   7. BOUTIQUE & PRODUITS
   8. TUNNEL D'ACHAT (panier, checkout)
   9. ESPACE CLIENT & AUTH
  10. PAGES STATIQUES (hero, à-propos, contact, légal)
  11. FOOTER
  12. RESPONSIVE
   ========================================================================= */


/* =========================================================================
   1. VARIABLES & RESET
   ========================================================================= */
:root {
  --gold:        #D4AF37;
  --gold-light:  #E8D5A3;
  --gold-dark:   #8b680d;
  --white:       #F5F5F5;
  --black:       #1A1A1A;
  --gray:        #6B6B6B;
  --gray-light:  #E0E0E0;
  --transition:  opacity 0.3s cubic-bezier(0.4,0,0.2,1),
                 transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

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


/* =========================================================================
   2. TYPOGRAPHIE & BASE
   ========================================================================= */
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

a { text-decoration: none; color: inherit; }

button { cursor: pointer; border: none; font-family: inherit; background: none; }

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

.sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  background: var(--gold);
  color: var(--black);
  padding: 8px 16px;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; }


/* =========================================================================
   3. LAYOUT
   ========================================================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--black); }
.section-title .divider { width: 60px; height: 2px; background: var(--gold); margin: 15px auto; }
.section-title p { color: var(--gray); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* Fond pointillé — pages principales */
.hero-pattern {
  background-color: var(--white);
  background-image: radial-gradient(rgba(196,160,52,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* GEO : bloc de faits chiffrés */
.geo-facts {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-light);
}
.geo-facts p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  padding: 0 20px;
}


/* =========================================================================
   4. NAVIGATION & HEADER
   ========================================================================= */
/* Bandeau promo */
.offer-banner {
  background: var(--black);
  color: var(--gold);
  text-align: center;
  padding: 10px 40px;
  font-size: 0.88rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 1001;
}
.offer-banner span { font-weight: 700; }
.offer-banner .close-banner {
  position: absolute; right: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light); font-size: 1.2rem; padding: 0 5px;
}

/* Navbar principale */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245,245,245,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
}
.nav-logo em { color: var(--gold-dark); font-style: italic; }

/* Nav desktop */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: 5px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-search-btn,
.nav-account-link,
.nav-cart {
  background: none;
  color: var(--black);
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
  transition: color 0.2s;
}
.nav-search-btn:hover,
.nav-account-link:hover,
.nav-cart:hover { color: var(--gold); }

/* Point de statut connecté */
.status-dot {
  position: absolute; top: 2px; right: -2px;
  width: 9px; height: 9px;
  background: #ccc;
  border-radius: 50%;
  border: 2px solid var(--white);
  transition: background 0.3s;
}
.online .status-dot { background: #2ecc71; box-shadow: 0 0 5px rgba(46,204,113,0.4); }

/* Badge panier */
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--gold); color: white;
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.cart-count.bump { animation: cartBump 0.3s ease; }
@keyframes cartBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Burger mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile (liste déroulante) */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px; left: 0; right: 0;
  background: white;
  padding: 20px;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 1010;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-nav a:hover { color: var(--gold); }

/* Barre de recherche */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}
.search-overlay.open { opacity: 1; visibility: visible; }

.search-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1501;
  background: white;
  padding: 20px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.search-bar.open { transform: translateY(0); }

.search-bar-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.search-bar-inner input {
  flex: 1; padding: 12px 16px;
  border: 2px solid var(--gray-light);
  font-size: 1rem; border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.search-bar-inner input:focus { outline: none; border-color: var(--gold); }
.search-close-btn {
  background: var(--black); color: white;
  padding: 12px 18px; font-size: 0.85rem;
  font-weight: 700; text-transform: uppercase;
  border-radius: 4px; white-space: nowrap;
  transition: background 0.2s;
}
.search-close-btn:hover { background: var(--gold); color: var(--black); }

.search-results {
  max-width: 600px; margin: 15px auto 0;
  max-height: 350px; overflow-y: auto;
  display: none; background: white; border-radius: 4px;
}
.search-results.active { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 15px;
  padding: 12px; border-bottom: 1px solid rgba(0,0,0,0.04);
  cursor: pointer; transition: background 0.15s;
}
.search-result-item:hover { background: var(--white); }
.search-result-img { width: 55px; height: 55px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info h4 { font-size: 0.95rem; margin-bottom: 3px; font-weight: 600; }
.search-result-info .sr-price { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; }


/* =========================================================================
   5. COMPOSANTS GLOBAUX
   ========================================================================= */
/* Boutons */
.btn-black {
  background: var(--black); color: white;
  padding: 14px 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px; width: 100%;
  font-size: 0.85rem; transition: background 0.2s;
}
.btn-black:hover { background: var(--gold); color: var(--black); }

.btn-gold {
  background: var(--gold); color: var(--black);
  padding: 14px 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px; width: 100%;
  font-size: 0.85rem; transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold-dark); color: white; }

.btn-outline {
  background: transparent; color: var(--black);
  border: 1.5px solid var(--black);
  padding: 13px 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px; width: 100%;
  font-size: 0.85rem; transition: all 0.2s;
}
.btn-outline:hover { background: var(--black); color: white; }

/* Formulaires */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-family: inherit; font-size: 0.95rem;
  width: 100%; transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.form-group input[readonly] { background: #f5f5f5; color: var(--gray); cursor: not-allowed; }

/* Toast notification */
.notification {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--black); color: white;
  padding: 15px 25px; border-radius: 6px;
  font-size: 0.9rem; z-index: 9000;
  transform: translateY(120px); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 90vw;
}
.notification.show { transform: translateY(0); opacity: 1; }
.notification .notif-icon { color: var(--gold); font-size: 1.1rem; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 30px; left: 30px;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; z-index: 900;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

/* Zoom modal */
.zoom-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: none; align-items: center; justify-content: center;
  cursor: zoom-out;
}
.zoom-modal.active { display: flex; }
.zoom-modal img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 4px; }

/* Badges */
.badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gold);
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--gold-dark); text-transform: uppercase;
}


/* =========================================================================
   6. PWA INSTALL BANNER
   ========================================================================= */
.pwa-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--black); color: white;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  z-index: 8000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}
.pwa-banner--visible { transform: translateY(0); }
.pwa-banner span { font-size: 0.9rem; }
.pwa-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.pwa-banner-actions button { padding: 8px 18px; border-radius: 4px; font-weight: 700; font-size: 0.82rem; cursor: pointer; }
#pwa-install-btn { background: var(--gold); color: var(--black); border: none; }
#pwa-install-btn:hover { background: var(--gold-light); }
#pwa-dismiss-btn { background: none; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }


/* =========================================================================
   7. BOUTIQUE & PRODUITS
   ========================================================================= */
.shop-header {
  background: var(--black); color: white;
  padding: 60px 0; text-align: center;
}
.section-header {
  background: var(--black); color: white;
  padding: 60px 0; text-align: center;
}
.section-header h1 { font-size: 2.5rem; color: white; margin-bottom: 10px; }
.section-header p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* Filtres */
.shop-filters {
  display: flex; justify-content: center; gap: 12px;
  padding: 28px 20px; flex-wrap: wrap;
  background: white;
  border-bottom: 1px solid var(--gray-light);
  position: sticky; top: 70px; z-index: 100;
}
.filter-btn {
  padding: 8px 22px;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: white;
}
.shop-results { text-align: center; color: var(--gray); font-size: 0.9rem; padding: 12px 0; }

/* Grilles */
.bestsellers-grid,
.products-grid,
#shopGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 28px !important;
  width: 100%;
  margin-top: 20px;
  padding: 20px 0;
}

/* Carte produit */
.product-card {
  display: flex; flex-direction: column;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: #f0f0f0;
}
.product-card-img img {
  width: 100% !important; height: 280px !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
  display: block;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--black);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; text-transform: uppercase; letter-spacing: 1px;
}
.product-card-quick {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,26,26,0.88); color: white;
  padding: 12px; text-align: center;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.2s ease;
}
.product-card:hover .product-card-quick { transform: translateY(0); }

.product-info { padding: 18px; }
.product-info h3 { font-size: 1rem; margin-bottom: 5px; font-weight: 600; line-height: 1.4; }
.product-cat { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-dark); font-weight: 600; }

/* Page produit détaillée */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0; }
.product-gallery {}
.product-main-img {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; border-radius: 4px;
  cursor: zoom-in;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 14px; }
.thumb-box {
  width: 70px; height: 70px;
  cursor: pointer; border-radius: 4px;
  overflow: hidden; background: white;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.thumb-box:hover { border-color: var(--gold); }
.thumb-box img { width: 100%; height: 100%; object-fit: cover; }

.product-details h1 { font-size: 1.8rem; margin-bottom: 8px; }
.product-price-tag {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.9rem; font-weight: 600;
  color: var(--gold-dark); margin-bottom: 20px;
  letter-spacing: 1px;
}
.product-desc { color: var(--gray); line-height: 1.8; margin-bottom: 22px; font-size: 0.95rem; }
.materials-list { list-style: none; margin-bottom: 24px; }
.materials-list li {
  padding: 6px 0; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  color: var(--gray);
}
.materials-list li::before { content: '◆'; color: var(--gold); font-size: 0.55rem; }

/* Quantité */
.qty-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--gray-light);
  background: white; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }
.qty-value {
  width: 50px; height: 40px;
  border: 1px solid var(--gray-light);
  border-left: none; border-right: none;
  text-align: center; font-size: 1rem; font-weight: 600;
}
.add-to-cart-btn {
  flex: 1; padding: 14px;
  background: var(--black); color: white;
  font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  border-radius: 4px; transition: background 0.2s;
}
.add-to-cart-btn:hover { background: var(--gold); color: var(--black); }

/* Avis produits */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; margin-bottom: 14px; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.8rem; color: var(--gray-light); cursor: pointer; transition: color 0.15s; line-height: 1; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }

.product-inline-reviews { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-light); }
.mini-review-item { margin-bottom: 12px; padding: 10px; background: #fafafa; border-radius: 4px; }
.reviews-scroll-container { max-height: 200px; overflow-y: auto; margin-bottom: 16px; padding-right: 8px; }
.reviews-scroll-container::-webkit-scrollbar { width: 4px; }
.reviews-scroll-container::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }


/* =========================================================================
   8. TUNNEL D'ACHAT
   ========================================================================= */
/* Panier latéral */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px;
  width: 400px; max-width: 90vw;
  height: 100vh; background: white;
  z-index: 2001;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid var(--gray-light);
}
.cart-header h2 { font-size: 1.2rem; }
.cart-close { font-size: 1.2rem; color: var(--gray); }
.cart-close:hover { color: var(--black); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item {
  display: flex; gap: 15px;
  padding: 15px 0; border-bottom: 1px solid var(--gray-light);
  align-items: flex-start;
}
.cart-item-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.88rem; margin-bottom: 4px; font-weight: 600; }
.cart-item-info p { font-size: 0.82rem; color: var(--gray); }
.cart-item-remove {
  background: none; color: var(--gray);
  font-size: 0.78rem; margin-top: 6px;
  cursor: pointer; text-decoration: underline;
}
.cart-item-remove:hover { color: #e74c3c; }

.cart-footer {
  padding: 20px; border-top: 1px solid var(--gray-light);
  background: var(--white);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 15px;
}
.cart-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--gold-dark);
}
.checkout-btn {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--black);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; border-radius: 4px;
  transition: background 0.2s;
}
.checkout-btn:hover { background: var(--gold-dark); color: white; }

.payment-placeholders { display: flex; gap: 10px; margin-top: 12px; }
.payment-placeholder {
  flex: 1; padding: 8px;
  border: 1px solid var(--gray-light);
  text-align: center; font-size: 0.72rem;
  color: var(--gray); background: white;
}

/* Page Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; padding: 40px 0 80px;
}
.checkout-form { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.checkout-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light); margin-bottom: 22px;
}
.order-summary {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px; padding: 28px;
  position: sticky; top: 90px;
}
.order-summary h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; }
.order-summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.88rem; }
.total-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.9rem; color: var(--gray); }
.total-row.grand-total { border-top: 2px solid var(--black); margin-top: 10px; padding-top: 14px; font-weight: 700; font-size: 1.1rem; color: var(--black); }
.total-row.grand-total span:last-child { color: var(--gold-dark); font-family: 'Playfair Display', serif; }

/* Code promo */
.coupon-row { display: flex; gap: 10px; margin-top: 12px; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--gray-light); border-radius: 4px; font-size: 0.9rem; font-family: inherit; }
.coupon-row button { padding: 10px 16px; background: var(--black); color: white; border-radius: 4px; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.coupon-row button:hover { background: var(--gold-dark); }

/* Bouton finaliser */
#btnFinalizeOrder {
  width: 100%; padding: 16px;
  background: var(--black); color: white;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px; margin-top: 20px;
  transition: background 0.2s;
}
#btnFinalizeOrder:hover:not(:disabled) { background: var(--gold); color: var(--black); }
#btnFinalizeOrder:disabled { opacity: 0.6; cursor: not-allowed; }

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


/* =========================================================================
   9. ESPACE CLIENT & AUTH
   ========================================================================= */
.account-container { max-width: 960px; margin: 30px auto 60px; padding: 0 20px; flex: 1; }
.account-title { font-family: 'Playfair Display', serif; text-align: center; margin-bottom: 30px; font-size: 2.2rem; }
.account-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }

.account-card {
  background: white; padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid var(--gray-light);
}
.account-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 12px;
}
.account-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

.auth-box {
  max-width: 440px; margin: 20px auto 50px;
  background: white; padding: 35px;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 25px rgba(0,0,0,0.04);
}
.auth-box h1 { font-size: 1.5rem; text-align: center; margin-bottom: 6px; }
.auth-box .auth-subtitle { color: var(--gray); text-align: center; font-size: 0.85rem; margin-bottom: 25px; }

.auth-tabs { display: flex; border-bottom: 2px solid var(--gray-light); margin-bottom: 24px; }
.auth-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray); background: none; border: none;
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.2s;
}
.auth-tab.active { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }

.btn-logout {
  background: none; border: 1px solid #ddd;
  color: var(--gray); padding: 10px 20px;
  cursor: pointer; border-radius: 4px;
  font-size: 0.8rem; margin-top: 25px;
  text-transform: uppercase; letter-spacing: 1px;
  transition: all 0.2s;
}
.btn-logout:hover { color: var(--black); border-color: var(--black); }

/* Historique commandes */
.order-history-list { display: flex; flex-direction: column; gap: 14px; }
.order-history-item {
  background: #fafafa; padding: 15px;
  border-radius: 4px; border-left: 3px solid var(--gold);
  font-size: 0.88rem;
}

/* Page simple header (compte/auth) */
.header-simple {
  background: white;
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-light);
}
.header-simple .nav-logo { display: inline-block; }


/* =========================================================================
  10. PAGES STATIQUES
   ========================================================================= */
/* Hero accueil */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../../images/logo.webp') center/cover no-repeat;
  opacity: 0.8; filter: blur(2px);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.3), rgba(26,26,26,0.7));
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: white;
  padding: 40px 20px; max-width: 700px;
}
.hero-content h1 { font-size: 3.4rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.hero-content h1 em { color: var(--gold); }
.hero-content p { font-size: 1.15rem; font-weight: 300; margin-bottom: 30px; opacity: 0.9; }
.hero-btn {
  display: inline-block; padding: 14px 42px;
  background: var(--gold); color: var(--black);
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.22s;
}
.hero-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

/* Réassurance */
.trust-section { background: white; padding: 50px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.trust-item h2 { font-size: 0.95rem; font-weight: 600; font-family: 'Lato', sans-serif; }
.trust-item p { font-size: 0.82rem; color: var(--gray); max-width: 160px; }

/* Témoignages */
.testimonials-section { background: var(--black); color: white; }
.testimonials-section .section-title h2 { color: white; }
.testimonials-section .section-title p { color: rgba(255,255,255,0.6); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 28px;
  transition: background 0.2s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); }
.testimonial-stars { color: var(--gold); margin-bottom: 14px; font-size: 1.05rem; }
.testimonial-text { font-style: italic; font-size: 0.93rem; line-height: 1.7; margin-bottom: 18px; opacity: 0.9; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.testimonial-author-info h3 { font-family: 'Lato', sans-serif; font-size: 0.9rem; font-weight: 700; }
.testimonial-author-info p { font-size: 0.78rem; opacity: 0.6; }

/* Bannière promo accueil */
.special-offer {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 60px 0; text-align: center; color: var(--black);
}
.special-offer h2 { font-size: 2.2rem; margin-bottom: 10px; }
.special-offer p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.85; }
.offer-code {
  display: inline-block; background: var(--black); color: var(--gold);
  padding: 12px 30px; font-weight: 700; letter-spacing: 3px;
  border-radius: 4px; cursor: pointer; transition: transform 0.2s;
}
.offer-code:hover { transform: scale(1.05); }

/* À propos */
.about-header { background: var(--black); color: white; padding: 60px 0; text-align: center; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-story-text h2 { font-size: 1.8rem; margin-bottom: 20px; }
.about-story-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-story-img img { border-radius: 4px; box-shadow: 0 4px 25px rgba(0,0,0,0.08); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; background: var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-dark); }
.contact-form {}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* Pages légales */
.legal-header { background: var(--black); color: white; padding: 50px 0; text-align: center; }
.legal-header h1 { font-size: 2rem; color: white; }
.legal-header p { color: rgba(255,255,255,0.6); }
.legal-content { max-width: 800px; margin: 0 auto; padding: 50px 20px; }
.legal-content h2 { font-size: 1.5rem; margin: 30px 0 14px; color: var(--black); border-bottom: 1px solid var(--gray-light); padding-bottom: 8px; }
.legal-content h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--gold-dark); }
.legal-content p { color: var(--gray); margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { color: var(--gray); padding-left: 20px; margin-bottom: 16px; line-height: 2; }

/* Commande validée */
.success-card {
  max-width: 600px; margin: 60px auto;
  text-align: center; background: white;
  padding: 50px 40px;
  border-radius: 10px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 25px rgba(0,0,0,0.04);
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(46,204,113,0.1); color: #2ecc71;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 25px;
}
.success-details {
  background: var(--white); border-radius: 6px;
  padding: 20px; margin-bottom: 30px;
  font-size: 0.9rem; text-align: left;
  border-left: 3px solid var(--gold);
}
.success-details strong { color: var(--gold-dark); }


/* =========================================================================
  11. FOOTER
   ========================================================================= */
.footer { background: var(--black); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; opacity: 0.6; line-height: 1.7; }
.footer-logo-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: white; margin-bottom: 15px; }
.footer-logo-title em { color: var(--gold); font-style: italic; }
.footer-col .footer-heading { font-size: 0.82rem; text-transform: uppercase; margin-bottom: 18px; color: var(--gold); letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; opacity: 0.6; transition: all 0.2s; }
.footer-col ul li a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; opacity: 0.5; }
.footer-credit { font-size: 0.82rem; color: #888; }
.credit-link { font-weight: 600; color: #c9a078; transition: opacity 0.2s; }
.credit-link:hover { opacity: 0.7; }


/* =========================================================================
  12. RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .mobile-toggle { display: flex !important; }
  .nav-links { display: none !important; }
  .mobile-nav.open { display: flex; }

  .hero-content h1 { font-size: 2.2rem; }
  .about-story,
  .contact-layout,
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-container { height: 60px; }
  .nav-logo { font-size: 1.25rem; }
  .mobile-nav { top: 60px; }

  .cart-sidebar { width: 100%; right: -105%; }
  .cart-sidebar.open { right: 0; }

  .hero-content h1 { font-size: 1.7rem; line-height: 1.3; }
  .section { padding: 45px 0; }

  .bestsellers-grid,
  .products-grid,
  #shopGrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 16px !important; }

  .testimonials-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .notification { bottom: 16px; right: 16px; left: 16px; }
  .back-to-top { bottom: 16px; left: 16px; }

  .form-row { grid-template-columns: 1fr; }
}
