:root {
  --primary: #c2410c;
  --primary-light: rgba(194, 65, 12, 0.1);
  --background: #faf9f7;
  --foreground: #1c1410;
  --secondary: #f3f0eb;
  --muted: #6b5c4c;
  --border: #e5ddd3;
  --white: #ffffff;
  --black: #0A0806;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

/* NAVBAR / MENU HEADER – bloc unique avec forme (barre + demi-cercle) */
/* Safe area (encoche / barre de statut mobile) : le header reste bien au-dessus du contenu */
.navbar.menu-header {
  --logo-rotation: 0deg;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: calc(108px + env(safe-area-inset-top, 0px));
  min-height: calc(108px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 24px 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  box-sizing: border-box;
}

.navbar.menu-header .navbar-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.navbar.menu-header .navbar-shape-path {
  fill: transparent;
  stroke: none;
  transition: fill 0.5s ease;
}

/* Au scroll : petit fond (forme courbe du SVG remplie) */
.navbar.menu-header.scrolled .navbar-shape-path {
  fill: rgba(10, 8, 6, 0.85);
}

.navbar.menu-header .navbar-content {
  position: relative;
  z-index: 1;
  height: 84px;
  min-height: 84px;
  align-items: center;
}

.navbar-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  transition: color 0.3s;
}

/* Logo centré en responsive uniquement (visible < 768px) */
.nav-logo-center {
  display: none;
}

.nav-logo-center-img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  transform: rotate(var(--logo-rotation, 0deg));
  transition: transform 0.4s ease;
}

.navbar.scrolled.logo-rotated .nav-logo-center-img {
  transform: rotate(180deg);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-logo-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
  margin: 0 -10px;
}

.nav-logo-link {
  display: block;
  line-height: 0;
  position: relative;
}

.nav-logo-img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
  transform: translateY(12px) rotate(var(--logo-rotation, 0deg));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-logo-link:hover .nav-logo-img {
  transform: translateY(10px) rotate(var(--logo-rotation, 0deg)) scale(1.05);
}

.navbar.logo-rotated .nav-logo-img {
  transform: translateY(12px) rotate(var(--logo-rotation, 0deg));
}

.navbar.logo-rotated .nav-logo-link:hover .nav-logo-img {
  transform: translateY(10px) rotate(var(--logo-rotation, 0deg)) scale(1.05);
}

.navbar.scrolled.logo-rotated .nav-logo-img {
  transform: translateY(12px) rotate(var(--logo-rotation, 180deg));
}

.navbar.scrolled.logo-rotated .nav-logo-link:hover .nav-logo-img {
  transform: translateY(10px) rotate(var(--logo-rotation, 180deg)) scale(1.05);
}

.nav-links li:not(.nav-logo-item) a {
  display: inline-block;
  transform: translateY(10px);
}

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Toujours sur 2 lignes : icône + badge au-dessus, texte « Panier » en dessous (même en haut et au scroll) */
.cart-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s;
}

.cart-btn .cart-btn-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cart-btn:hover {
  color: var(--primary);
}

.cart-badge {
  background: var(--primary);
  color: var(--white) !important;
  font-size: 11px;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.4);
}

/* Décalage contenu sous la navbar fixe + safe area (mobile encoche) */
.page-header {
  padding-top: calc(160px + env(safe-area-inset-top, 0px)) !important;
}
.page-content,
.checkout-page {
  padding-top: calc(160px + env(safe-area-inset-top, 0px)) !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(108px + env(safe-area-inset-top, 0px)) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(40%);
}

.hero-bg-video {
  display: block;
  transform: scaleX(-1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black), transparent, transparent),
              linear-gradient(to right, var(--black), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-light);
  border: 1px solid rgba(194, 65, 12, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 48px;
}

.hero h1 span {
  color: var(--primary);
  font-style: italic;
}

.hero-text {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(194, 65, 12, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: color 0.3s;
}

.btn-secondary:hover {
  color: var(--white);
}

.btn-circle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-secondary:hover .btn-circle {
  border-color: var(--white);
}

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  margin-right: -200px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.hero-video-wrap:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(194, 65, 12, 0.15);
  border-color: rgba(194, 65, 12, 0.4);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-video-wrap:hover .hero-video {
  transform: scale(1.05);
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  max-width: 450px;
  filter: drop-shadow(0 0 30px rgba(194, 65, 12, 0.2));
  transition: transform 1s ease;
}

.hero-logo:hover img {
  transform: scale(1.05) rotate(2deg);
}

/* NOS PRODUITS */
.nos-produits {
  padding: 80px 0 100px;
  background: var(--background);
}

.nos-produits .section-header {
  margin-bottom: 48px;
}

.nos-produits-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin-bottom: 56px;
}

.nos-produits-tab {
  padding: 14px 28px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nos-produits-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nos-produits-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Carrousel type Takalidna (Suivez-nous sur Instagram) */
.nos-produits-carousel {
  margin-bottom: 56px;
}

.nos-produits-viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nos-produits-viewport::-webkit-scrollbar {
  display: none;
}

.nos-produits-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 8px 0 16px;
  min-width: min-content;
}

.nos-produits-grid .product-card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
}

.nos-produits-grid .product-card[data-category].hidden {
  display: none;
}

/* Cartes style carousel (Découvrez Nos Produits) */
.product-card-carousel .product-image {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.product-card-carousel .product-badge {
  top: 12px;
  right: 12px;
  left: auto;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  padding: 6px 12px;
}

.product-card-carousel .product-info {
  display: flex;
  flex-direction: column;
  padding: 0 4px;
}

.product-card-carousel .product-info h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--foreground);
  max-width: 100%;
  margin-bottom: 6px;
}

.product-card-carousel .product-ref {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.product-card-carousel .product-price {
  font-size: 16px;
  margin-bottom: 16px;
}

.product-card-carousel .product-add-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--foreground);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.product-card-carousel .product-add-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
}

.product-card-carousel:hover {
  transform: none;
}

.nos-produits-cta .btn-primary {
  padding: 18px 40px;
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nos-produits-cta .btn-primary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
}

.nos-produits-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .nos-produits-grid .product-card {
    width: 260px;
    min-width: 260px;
  }
}

@media (max-width: 600px) {
  .nos-produits-grid .product-card {
    width: 240px;
    min-width: 240px;
  }
  .nos-produits-tabs {
    gap: 8px;
  }
  .nos-produits-tab {
    padding: 10px 18px;
    font-size: 11px;
  }
}

/* MODE SECTION */
.mode-section {
  padding: 80px 0 120px;
  background: var(--background);
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mode-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.mode-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 24px;
  line-height: 1.15;
}

.mode-text {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.mode-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 320px;
}

.mode-article {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--secondary);
  aspect-ratio: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mode-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.mode-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mode-video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.mode-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mode-video-wrap {
    order: -1;
    max-height: 360px;
    aspect-ratio: 16/9;
  }
}

/* VALUES */
.values {
  padding: 128px 0;
  background: var(--white);
  position: relative;
  z-index: 10;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 40px 32px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 32px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

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

.value-card:hover {
  background: var(--white);
  box-shadow: 0 30px 60px rgba(194, 65, 12, 0.15);
  transform: translateY(-12px);
  border-color: var(--primary);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, #f59e0b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--white);
  transition: all 0.5s;
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.4);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 16px 32px rgba(194, 65, 12, 0.5);
}

.value-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.value-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: var(--foreground);
  transition: color 0.3s;
}

.value-card:hover h3 {
  color: var(--primary);
}

.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* CATEGORIES */
.categories {
  padding: 96px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
}

.section-line {
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 24px auto 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.category-card:hover::after {
  opacity: 1;
}

.category-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  color: var(--white);
  transform: translateY(0);
  transition: transform 0.5s;
}

.category-card:hover .category-content {
  transform: translateY(-8px);
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}

.category-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.3s;
}

.category-card:hover .category-link {
  gap: 16px;
}

/* PRODUCTS */
.products {
  padding: 160px 0;
  background: var(--white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 96px;
  gap: 48px;
}

.products-header-left {
  max-width: 640px;
}

.products-header h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
}

.products-header h2 span {
  font-style: italic;
}

.products-nav {
  display: flex;
  gap: 16px;
}

.products-nav button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.products-nav button:hover {
  background: var(--secondary);
}

.products-nav button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 40px;
  overflow: hidden;
  background: var(--secondary);
  margin-bottom: 24px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.product-card:hover .product-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-overlay button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(16px);
  transition: all 0.3s;
}

.product-card:hover .product-overlay button {
  transform: translateY(0);
}

.product-overlay .add-btn {
  background: var(--white);
  color: var(--primary);
}

.product-overlay .view-btn {
  background: rgba(0,0,0,0.6);
  color: var(--white);
  transition-delay: 0.05s;
}

.product-info {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--foreground);
  transition: color 0.3s;
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-card:hover .product-info h3 {
  color: var(--primary);
}

.product-ref {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.product-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.product-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
}

.product-meta .category {
  color: rgba(194, 65, 12, 0.6);
}

.products-cta {
  text-align: center;
  margin-top: 96px;
}

.btn-outline {
  display: inline-block;
  padding: 20px 48px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.5s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(194, 65, 12, 0.2);
}

/* ARTISANS */
.artisans {
  padding: 160px 0;
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.artisans::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(194, 65, 12, 0.15), transparent 70%);
  pointer-events: none;
}

.artisans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.artisan-image-wrapper {
  position: relative;
}

.artisan-image {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.artisan-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  pointer-events: none;
}

.artisan-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.7s, filter 0.7s;
  filter: grayscale(20%);
}

.artisan-image:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.artisan-overlay {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  z-index: 10;
  color: var(--white);
}

.artisan-overlay h4 {
  font-size: 28px;
  font-style: italic;
  margin-bottom: 8px;
}

.artisan-overlay p {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
}

.artisan-quote {
  position: absolute;
  bottom: -40px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, #f59e0b 100%);
  padding: 32px;
  border-radius: 24px;
  max-width: 300px;
  box-shadow: 0 24px 48px rgba(194, 65, 12, 0.4);
  z-index: 20;
  transform: rotate(2deg);
  transition: transform 0.5s;
}

.artisan-quote:hover {
  transform: rotate(0deg) scale(1.02);
}

.artisan-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--white);
}

.artisan-stars {
  display: flex;
  gap: 4px;
  color: var(--white);
}

.artisans-content {
  color: var(--white);
}

.artisans-content .section-tag {
  color: var(--primary);
  margin-bottom: 24px;
  display: block;
}

.artisans-content h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 40px;
  color: var(--white);
}

.artisans-content h2 span {
  font-style: italic;
  color: var(--primary);
}

.artisans-content > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 56px;
}

.skills {
  margin-bottom: 56px;
}

.skill {
  margin-bottom: 28px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.skill-header span:last-child {
  color: var(--primary);
  font-weight: 900;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #f59e0b);
  border-radius: 4px;
  transition: width 1.5s ease-out;
  box-shadow: 0 0 20px rgba(194, 65, 12, 0.5);
}

.artisans-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  padding: 20px 32px 20px 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  transition: all 0.4s;
}

.artisans-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(194, 65, 12, 0.4);
  transform: translateY(-4px);
}

.artisans-link .btn-circle {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: none;
  color: var(--white);
  transition: all 0.3s;
}

.artisans-link:hover .btn-circle {
  background: var(--white);
  color: var(--primary);
  transform: translateX(4px);
}

/* HISTORY */
.history {
  padding: 160px 0;
  background: var(--background);
}

.history-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 96px;
}

.history-header h2 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.9;
  margin-bottom: 48px;
}

.history-header p {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.history-image {
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.history-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 1s;
}

.history-image:hover img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 96px;
  height: 96px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0;
  transition: all 0.5s;
}

.history-image:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.history-content h3 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 32px;
}

.history-content > p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.commitment-list {
  list-style: none;
}

.commitment-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.commitment-list .check {
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* NEWSLETTER */
.newsletter {
  padding: 128px 0;
}

.newsletter-card {
  background: var(--black);
  border-radius: 64px;
  padding: 96px;
  position: relative;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.2), transparent);
  filter: blur(80px);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.newsletter-content h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.newsletter-content h2 span {
  color: var(--primary);
  font-style: italic;
}

.newsletter-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 24px 180px 24px 32px;
  color: var(--white);
  font-size: 18px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.1);
}

.newsletter-form button {
  position: absolute;
  right: 12px;
  top: 12px;
  bottom: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0 40px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #a83609;
}

.newsletter-form small {
  display: block;
  margin-top: 16px;
  padding-left: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* FOOTER */
.footer {
  padding: 128px 0 0;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 3fr;
  gap: 64px;
  margin-bottom: 96px;
}

.footer-brand h2 {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 40px;
}

.footer-brand .tagline {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  cursor: pointer;
}

.footer-contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-contact-item:hover .icon {
  background: var(--primary);
  color: var(--white);
}

.footer-contact-item span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.footer-nav h3 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 24px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-social h3 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-logo-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-logo-link {
  display: block;
  line-height: 0;
}

.footer-logo-img {
  display: block;
  height: 252px;
  width: auto;
  object-fit: contain;
  transition: transform 2.2s ease;
}

/* Rotation 180° quand le footer entre dans la vue */
.footer.inview .footer-logo-img {
  transform: rotate(180deg);
}

/* Au survol : rotation à 360° (toujours visible) */
.footer-social .footer-logo-wrap:hover .footer-logo-img {
  transform: rotate(360deg);
}

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 8, 6, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.footer .container > .footer-bottom {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50% + 24px);
  padding-right: calc(50vw - 50% + 24px);
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Overlay et popups légales (Politique, Termes, Cookies) */
.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.legal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.legal-popup-body {
  max-height: 60vh;
  overflow-y: auto;
}

.legal-popup-body p {
  margin-bottom: 1em;
}

.legal-popup-body p:last-child {
  margin-bottom: 0;
}

/* CONTACT POPUP */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.contact-overlay.open {
  opacity: 1;
  visibility: visible;
}

.contact-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 560px;
  z-index: 301;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-popup.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.contact-popup-inner {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.contact-popup-header {
  background: linear-gradient(135deg, var(--black) 0%, #1a1512 100%);
  padding: 40px 40px 32px;
  text-align: center;
  position: relative;
}

.contact-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.contact-popup-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.contact-popup-header h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.contact-popup-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.contact-popup-body {
  padding: 40px;
}

.contact-popup-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

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

.contact-popup-item:hover {
  background: var(--secondary);
  margin: 0 -40px;
  padding: 24px 40px;
}

.contact-popup-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-popup-icon svg {
  width: 24px;
  height: 24px;
}

.contact-popup-content strong {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-popup-content a,
.contact-popup-content span {
  font-size: 17px;
  font-weight: 700;
  color: var(--foreground);
}

.contact-popup-content a:hover {
  color: var(--primary);
}

.contact-popup-cta {
  margin-top: 32px;
  text-align: center;
}

.contact-popup-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--foreground);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 18px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

/* CART DRAWER */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: var(--white);
  color: var(--foreground);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--foreground);
}

.cart-close-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.cart-close-btn:hover {
  background: var(--secondary);
  border-color: transparent;
}

.cart-drawer-body {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  padding: 64px 0;
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.cart-empty h4 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--foreground);
}

.cart-empty p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.cart-empty .btn-primary {
  display: inline-flex;
}

.cart-drawer-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--secondary);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-total span:first-child {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--foreground);
}

.cart-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}

.cart-checkout-btn {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.cart-checkout-btn:hover {
  background: #a83609;
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.3);
  transform: translateY(-2px);
}

/* Cart items in drawer */
.cart-items-list {
  padding: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}


.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 13px;
  color: var(--muted);
}

.cart-item-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: var(--primary);
  color: var(--white);
}

/* Quick view modal */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1474;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.quick-view-overlay.open {
  opacity: 1;
  visibility: visible;
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 1475;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.quick-view-modal.open {
  opacity: 1;
  visibility: visible;
}

/* Clics uniquement sur le contenu : cliquer à l’extérieur (sur l’overlay) ferme la popup */
.quick-view-modal.open .quick-view-inner {
  pointer-events: auto;
}

.quick-view-inner {
  background: var(--white);
  border-radius: 22px;
  max-width: 920px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.18);
  transform: scale(0.96);
  transition: transform 0.3s;
}

.quick-view-modal.open .quick-view-inner {
  transform: scale(1);
}

.quick-view-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all 0.2s;
  z-index: 2;
}

.quick-view-close:hover {
  background: var(--white);
  color: var(--foreground);
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.quick-view-content {
  display: contents;
}

.quick-view-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(247, 246, 244, 1) 0%, rgba(255, 255, 255, 1) 70%);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.quick-view-local-msg {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.04);
  border-radius: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.quick-view-local-msg p { margin: 0 0 8px; }
.quick-view-local-msg p:last-child { margin-bottom: 0; }
.quick-view-local-msg code {
  font-size: 12px;
  background: rgba(0,0,0,0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.quick-view-image {
  flex: none;
  height: clamp(320px, 48vh, 460px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.quick-view-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  z-index: 2;
}

.quick-view-nav:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-50%) scale(1.04);
}

.quick-view-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.quick-view-nav-prev { left: 12px; }
.quick-view-nav-next { right: 12px; }

/* Visible uniquement quand on a plusieurs images */
.quick-view-modal.has-gallery .quick-view-nav {
  display: inline-flex;
}

@media (max-width: 768px) {
  .quick-view-nav {
    width: 40px;
    height: 40px;
  }
  .quick-view-nav-prev { left: 10px; }
  .quick-view-nav-next { right: 10px; }
}

.quick-view-gallery {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex: none;
  min-width: 0;
  min-height: 0;
}

.quick-view-gallery img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.quick-view-gallery img:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.quick-view-gallery img.active-thumb {
  box-shadow:
    0 0 0 2px var(--primary),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.quick-view-gallery img[style*="display: none"] {
  display: none !important;
}

.quick-view-video-wrap {
  flex: none;
  height: clamp(320px, 48vh, 460px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--black);
  min-width: 0;
}

.quick-view-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}

.quick-view-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 28px 28px 24px;
  min-width: 0;
  line-height: 1.2;
}

.quick-view-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.quick-view-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.quick-view-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: auto;
  order: 4;
}

#quickViewDesc {
  order: 3;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(28, 20, 16, 0.86);
}

/* Aère les paragraphes (dans le HTML on a des \n\n → <br><br>) */
#quickViewDesc br {
  display: block;
  content: "";
  margin-top: 0;
}

#quickViewDesc br + br {
  margin-top: 10px;
}

@media (min-width: 769px) {
  /* Quand il y a une galerie de miniatures à gauche,
     on remonte le bas de la colonne de droite pour aligner le bouton
     avec le bas de la grande photo (et non avec le bas des miniatures). */
  .quick-view-modal.has-gallery .quick-view-info {
    padding-bottom: calc(24px + 64px + 14px);
  }
}

/* Zoom au clic sur une image de l'aperçu */
.quick-view-zoom {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.quick-view-zoom.open {
  display: flex;
  opacity: 1;
}

.quick-view-zoom-inner {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 90vh;
  line-height: 0;
  cursor: default;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.12),
    0 32px 64px rgba(0, 0, 0, 0.18);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-view-zoom.open .quick-view-zoom-inner {
  transform: scale(1);
}

.quick-view-zoom-inner img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  vertical-align: middle;
  display: block;
  pointer-events: none;
}

.quick-view-zoom-caption {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: #fafafa;
}

.quick-view-zoom-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.quick-view-zoom-title .title-suffix {
  font-weight: 400;
  color: #888;
  font-size: 0.95em;
}

.quick-view-zoom-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.quick-view-zoom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  color: #111;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.quick-view-zoom-close:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.quick-view-zoom-prev,
.quick-view-zoom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.quick-view-zoom-prev { left: 12px; }
.quick-view-zoom-next { right: 12px; }

.quick-view-zoom-prev:hover,
.quick-view-zoom-next:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .quick-view-image,
  .quick-view-video-wrap {
    height: clamp(240px, 38vh, 320px);
  }
  .quick-view-inner {
    grid-template-columns: 1fr;
    max-width: 560px;
    max-height: 90vh;
  }
  .quick-view-media {
    padding: 18px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .quick-view-image {
    padding: 14px;
  }
  .quick-view-image img {
    max-height: 320px;
  }
  .quick-view-info {
    padding: 18px 18px 20px;
  }
  .quick-view-close {
    top: 10px;
    right: 10px;
  }
  .quick-view-info h3 { font-size: 18px; }
  .quick-view-price { font-size: 16px; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right {
    order: 2;
  }

  .hero-video-wrap {
    max-height: 65vh;
    margin: 0 auto;
    width: min(100%, 320px);
  }

  .hero-video-wrap .hero-video {
    object-fit: cover;
    object-position: 28% 50%;
  }

  .hero-logo {
    display: none;
  }
  
  .hero-text {
    margin: 0 auto 48px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .artisans-grid,
  .history-grid,
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
  
  .artisan-quote {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Menu mobile : bouton hamburger (visible uniquement < 768px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-toggle:hover {
  color: var(--primary);
  border-color: rgba(194, 65, 12, 0.5);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.mobile-menu-open .nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.mobile-menu-open .nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.mobile-menu-open .nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Panneau menu mobile (overlay plein écran) */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 8, 6, 0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

body.mobile-menu-open .nav-mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 24px;
}

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.nav-mobile-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.nav-mobile-inner > a {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  transition: color 0.3s;
}

.nav-mobile-inner > a:hover,
.nav-mobile-inner > a.active {
  color: var(--primary);
}

.nav-mobile-logo-link {
  padding: 16px 0;
}

.nav-mobile-logo-img {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-logo-center {
    display: flex;
    position: absolute;
    left: 50%;
    top: 64%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
  }

  .nav-logo-center-img {
    height: 97px;
  }

  .nav-links {
    display: none;
  }
  
  .values-grid,
  .products-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .newsletter-card {
    padding: 48px 24px;
    border-radius: 32px;
  }
  
  .newsletter-form input {
    padding: 20px;
  }
  
  .newsletter-form button {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
    padding: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .section-header h2 {
    font-size: clamp(28px, 6vw, 48px);
  }

  .page-content {
    padding: 100px 16px 80px !important;
  }

  .page-content h1 {
    font-size: clamp(28px, 8vw, 48px) !important;
  }

  /* Mise en page mobile plus compacte et soignée */
  .hero {
    padding: calc(72px + env(safe-area-inset-top, 0px)) 0 48px;
    min-height: auto;
  }
  .hero-content {
    gap: 28px;
  }
  .hero h1 {
    margin-bottom: 24px;
  }
  .hero-text {
    margin-bottom: 28px;
    font-size: 17px;
  }
  .hero-badge {
    margin-bottom: 20px;
  }
  .hero-buttons {
    gap: 16px;
  }
  .btn-primary {
    padding: 16px 32px;
  }

  .nos-produits {
    padding: 48px 0 56px;
  }
  .nos-produits .section-header {
    margin-bottom: 32px;
  }
  .nos-produits-tabs {
    margin-bottom: 32px;
    gap: 8px;
  }
  .nos-produits-tab {
    padding: 10px 18px;
    font-size: 11px;
  }
  .nos-produits-carousel {
    margin-bottom: 32px;
  }
  .nos-produits-cta {
    margin-top: 28px;
  }

  .mode-section {
    padding: 48px 0 64px;
  }
  .mode-grid {
    gap: 32px;
  }
  .mode-badge {
    margin-bottom: 12px;
  }
  .mode-title {
    margin-bottom: 16px;
  }
  .mode-text {
    margin-bottom: 18px;
    font-size: 16px;
  }
  .mode-articles {
    margin-bottom: 20px;
    gap: 12px;
  }

  .values {
    padding: 56px 0;
  }
  .values-grid {
    gap: 16px;
  }
  .value-card {
    padding: 28px 24px;
  }
  .value-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  .value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .value-number {
    margin-bottom: 8px;
  }

  .section-header {
    margin-bottom: 40px;
  }
  .section-tag {
    margin-bottom: 10px;
  }
  .section-line {
    margin-top: 16px;
  }

  .categories {
    padding: 48px 0;
  }
  .categories-grid {
    gap: 20px;
  }
  .category-card {
    height: 380px;
  }
  .category-content {
    bottom: 24px;
    left: 24px;
  }
  .category-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .category-count {
    margin-bottom: 8px;
  }

  .products {
    padding: 64px 0;
  }
  .products-header {
    margin-bottom: 40px;
    gap: 24px;
  }
  .products-cta {
    margin-top: 48px;
  }
  .product-image {
    margin-bottom: 16px;
  }

  .artisans {
    padding: 64px 0;
  }
  .artisans-grid {
    gap: 40px;
  }
  .artisan-overlay {
    bottom: 24px;
    left: 24px;
    right: 24px;
  }
  .artisan-overlay h4 {
    font-size: 22px;
  }
  .artisan-quote {
    margin-top: 20px;
  }

  .newsletter {
    padding: 64px 0;
  }
  .newsletter-card {
    padding: 36px 20px;
    border-radius: 24px;
  }
  .newsletter-content h2 {
    margin-bottom: 20px;
  }
  .newsletter-form button {
    margin-top: 12px;
    padding: 16px;
  }

  .footer {
    padding: 64px 0 0;
  }
  .footer-grid {
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer-brand h2 {
    margin-bottom: 24px;
    font-size: 36px;
  }
  .footer-brand .tagline {
    margin-bottom: 28px;
    font-size: 17px;
  }
  .footer-nav h3 {
    margin-bottom: 16px;
  }
  .footer-nav li {
    margin-bottom: 8px;
  }
  .footer-social h3 {
    margin-bottom: 16px;
  }
  .footer-bottom {
    gap: 16px;
  }
}
