/* ================================================================
   BELUXARA — Atelier de Haute Création Sur-Mesure
   Custom Creation & Bespoke Atelier Stylesheet
   Theme: Dark Luxury Haute Couture (Gold, Noir, Champagne, Velvet)
   ================================================================ */

:root {
  --gold-primary: #D4AF37;
  --gold-light: #F5DEB3;
  --gold-dark: #997A15;
  --gold-gradient: linear-gradient(135deg, #ECC86A 0%, #D4AF37 50%, #B8860B 100%);
  --gold-glow: 0 0 30px rgba(212, 175, 55, 0.25);
  --dark-luxury-bg: var(--bg-deep);
  --card-luxury-bg: rgba(18, 18, 20, 0.75);
  --card-luxury-border: 1px solid rgba(212, 175, 55, 0.22);
}

/* ----------------------------------------------------------------
   LIGHT MODE OVERRIDES FOR CUSTOM VARIABLES
   ---------------------------------------------------------------- */
[data-theme="light"] {
  --gold-primary: #B38600; /* Richer antique gold for contrast on white */
  --gold-light: #CC9900; 
  --gold-dark: #806000;
  --gold-gradient: linear-gradient(135deg, #CC9900 0%, #B38600 50%, #997300 100%);
  --gold-glow: 0 0 15px rgba(179, 134, 0, 0.15);
  --card-luxury-bg: var(--surface);
  --card-luxury-border: 1px solid var(--border);
}


/* ----------------------------------------------------------------
   1. HERO ATELIER
   ---------------------------------------------------------------- */
.atelier-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(183, 110, 121, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

.atelier-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.atelier-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.atelier-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 22px;
}

.atelier-hero-title .gold-text {
  background: linear-gradient(135deg, #FAF7F2 0%, #F5DEB3 30%, #D4AF37 70%, #ECC86A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.atelier-hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.atelier-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.btn-atelier-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  background: var(--gold-gradient);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-atelier-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
  color: var(--text);
}

.btn-atelier-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  background: var(--surface-hover);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-atelier-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.atelier-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.atelier-stat-item {
  display: flex;
  flex-direction: column;
}

.atelier-stat-num {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.atelier-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual Box */
.atelier-hero-visual {
  position: relative;
}

.atelier-hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.45), rgba(30, 30, 30, 0.2), rgba(212, 175, 55, 0.3));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.2);
}

.atelier-hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

.atelier-hero-float-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  animation: floatSlow 5s ease-in-out infinite alternate;
}

.atelier-hero-float-card .icon-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.atelier-hero-float-card .float-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.atelier-hero-float-card .float-sub {
  font-size: 0.78rem;
  color: var(--gold-light);
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ----------------------------------------------------------------
   2. COMMENT ÇA MARCHE (4 ÉTAPES LUXE)
   ---------------------------------------------------------------- */
.atelier-section {
  padding: 100px 0;
  position: relative;
}

.atelier-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.atelier-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.atelier-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.atelier-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.steps-luxury-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-luxury-card {
  background: var(--card-luxury-bg);
  border: var(--card-luxury-border);
  border-radius: 16px;
  padding: 34px 24px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-luxury-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.2);
}

.step-number-badge {
  position: absolute;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.step-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.02) 70%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-primary);
  transition: all 0.3s ease;
}

.step-luxury-card:hover .step-icon-wrapper {
  transform: scale(1.08);
  border-color: var(--gold-primary);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.05) 70%);
}

.step-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.step-card-highlight {
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed rgba(212, 175, 55, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* ----------------------------------------------------------------
   3. GALERIE PRODUITS PERSONNALISABLES (8 CATÉGORIES)
   ---------------------------------------------------------------- */
.gallery-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.gallery-custom-card {
  background: var(--card-luxury-bg);
  border: var(--card-luxury-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.gallery-custom-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.18);
}

.gallery-card-img-box {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg-mid);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-custom-card:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold-light);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gallery-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.gallery-card-options {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.gallery-card-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gallery-card-btn:hover {
  background: var(--gold-gradient);
  color: var(--text);
  border-color: transparent;
}

/* ----------------------------------------------------------------
   4. CE QUE VOUS POUVEZ PERSONNALISER (SHOWCASE INTERACTIF)
   ---------------------------------------------------------------- */
.custom-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.custom-option-card {
  background: var(--card-luxury-bg);
  border: var(--card-luxury-border);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-option-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  background: var(--glass-bg);
}

.custom-option-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.custom-option-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.custom-option-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   5. SYSTÈME DE REMISES GROUPÉES (10% À 30%)
   ---------------------------------------------------------------- */
.discounts-container {
  background: linear-gradient(145deg, rgba(20, 20, 24, 0.95), rgba(12, 12, 14, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.15);
}

.discounts-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.discount-tier-card {
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.discount-tier-card.active, .discount-tier-card:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.18);
}

.tier-qty-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--surface-hover);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.tier-discount-val {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.tier-discount-val.highlight {
  color: var(--gold-primary);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.tier-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive Quantity Simulator */
.discount-simulator {
  background: var(--glass-bg);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.sim-slider-box {
  flex: 1;
  min-width: 260px;
}

.sim-slider-box label {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.sim-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  cursor: pointer;
}

.sim-result-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
}

.sim-result-qty {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.sim-result-discount {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* ----------------------------------------------------------------
   6. FORMULAIRE DE COMMANDE ATELIER (OPTION B CONFIRMÉE)
   ---------------------------------------------------------------- */
.atelier-form-wrapper {
  background: var(--card-luxury-bg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  padding: 50px 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
  max-width: 960px;
  margin: 0 auto;
}

.atelier-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.atelier-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.atelier-label .required {
  color: var(--gold-primary);
  margin-left: 4px;
}

.atelier-input, .atelier-select, .atelier-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  outline: none;
}

.atelier-input:focus, .atelier-select:focus, .atelier-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  background: var(--glass-bg);
}

.atelier-select option {
  background: var(--surface);
  color: var(--text);
}

/* Upload Image Stylisé */
.file-dropzone {
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  background: var(--glass-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.file-dropzone-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--gold-primary);
}

.file-dropzone-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.file-dropzone-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.file-preview-box {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  align-items: center;
  justify-content: space-between;
}

.file-preview-box.active {
  display: flex;
}

.file-preview-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-preview-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gold-primary);
}

.file-preview-name {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.file-remove-btn {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 8px;
}

/* Color Swatches Selection */
.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.color-swatch-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.color-swatch-item.selected {
  border-color: var(--gold-light);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Style Pill Radio Buttons */
.style-pill-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.style-pill-btn {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.style-pill-btn.selected, .style-pill-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
}

/* Form Live Discount Notice */
.form-discount-live-badge {
  display: none;
  margin: 10px 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  align-items: center;
  gap: 10px;
  animation: pulseGold 2s infinite;
}

.form-discount-live-badge.visible {
  display: flex;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ----------------------------------------------------------------
   7. GARANTIES & CONFIANCE (3 CARTES ARTISANAT LUXE)
   ---------------------------------------------------------------- */
.trust-luxury-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-luxury-card {
  background: var(--card-luxury-bg);
  border: var(--card-luxury-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.trust-luxury-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.trust-card-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.trust-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trust-luxury-card:hover .trust-card-img {
  transform: scale(1.05);
}

.trust-card-body {
  padding: 26px 22px;
}

.trust-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.trust-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   8. FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-accordion-box {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-luxury-bg);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  max-height: 200px;
  padding: 0 24px 22px;
}

/* ----------------------------------------------------------------
   MODAL SUCCÈS COMMANDE
   ---------------------------------------------------------------- */
.atelier-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.atelier-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.atelier-modal-content {
  background: var(--bg-mid);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 45px 36px;
  max-width: 540px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.25);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.atelier-modal-overlay.active .atelier-modal-content {
  transform: scale(1);
}

.modal-seal-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* ----------------------------------------------------------------
   RTL SUPPORT (ARABIC)
   ---------------------------------------------------------------- */
[dir="rtl"] .atelier-hero-actions,
[dir="rtl"] .atelier-stats-bar,
[dir="rtl"] .atelier-hero-float-card {
  direction: rtl;
}

[dir="rtl"] .atelier-hero-float-card {
  left: auto;
  right: -24px;
}

[dir="rtl"] .gallery-card-tag {
  left: auto;
  right: 14px;
}

/* ----------------------------------------------------------------
   RESPONSIVE DESIGN
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .atelier-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .atelier-hero-img {
    height: 420px;
  }
  .steps-luxury-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discounts-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-luxury-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .atelier-hero {
    padding: 100px 0 60px;
  }
  .atelier-hero-img {
    height: 320px;
  }
  .atelier-hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 14px;
  }
  .steps-luxury-grid,
  .gallery-custom-grid,
  .custom-options-grid,
  .discounts-tiers-grid {
    grid-template-columns: 1fr;
  }
  .atelier-form-grid {
    grid-template-columns: 1fr;
  }
  .atelier-form-wrapper {
    padding: 30px 20px;
  }
  .discounts-container {
    padding: 30px 18px;
  }
}

/* ================================================================
   ELITE MASTER UX: PROCESSUS CRÉATIF
   ================================================================ */
.process-glow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.process-elite-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .process-elite-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.process-timeline-wrapper {
  position: relative;
  padding: 20px 0;
}

.process-line-track {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 24px;
  width: 2px;
  background: var(--surface-hover);
  border-radius: 2px;
  z-index: 1;
}

.process-line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%; /* updated via JS */
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-primary));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: height 0.4s ease-out;
}

.process-step-item {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  opacity: 0.5;
  transition: all 0.4s ease;
  cursor: pointer;
  z-index: 2;
}
.process-step-item:last-child { margin-bottom: 0; }

.process-step-item:hover,
.process-step-item.active {
  opacity: 1;
}

.process-step-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 2px solid rgba(250, 247, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
}

.process-step-item.active .process-step-node {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-deep));
}

.process-step-num {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.4s ease;
}
.process-step-item.active .process-step-num {
  color: var(--gold-primary);
}

.process-step-content {
  padding-top: 5px;
}

.process-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.process-step-item.active .process-step-title {
  color: var(--gold-primary);
  transform: translateX(5px);
}

.process-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step-highlight {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--glass-border);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
}
.process-step-item.active .process-step-highlight {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--glass-border);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
}

.process-visual-wrapper {
  position: relative;
  perspective: 1000px;
}

.process-visual-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: var(--bg-mid);
}
.process-visual-frame:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(212,175,55,0.15);
  transform: scale(1.02);
}

.process-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.process-visual-img.fade-out {
  opacity: 0;
  filter: blur(10px);
}

.process-visual-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transform: translateY(10px);
  opacity: 0.8;
  transition: all 0.4s ease;
}
.process-visual-frame:hover .process-visual-caption {
  transform: translateY(0);
  opacity: 1;
}


/* ================================================================
   ELITE MASTER — RESPONSIVE MOBILE (about.html + luxe-club.html)
   about.html / luxe-club.html — phone-first dropshipping
================================================================ */

/* ── Tablet (max-width: 900px) ── */
@media (max-width: 900px) {

  /* Atelier hero : 2 colonnes -> 1 colonne */
  .atelier-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  /* Image héro en tête sur mobile */
  .atelier-hero-visual {
    order: -1;
  }
  .atelier-hero-img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    width: 100%;
  }
  .atelier-hero-title {
    font-size: 2rem !important;
  }
  .atelier-hero-subtitle {
    font-size: 1rem;
  }

  /* CTA buttons stack */
  .atelier-hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .btn-atelier-primary,
  .btn-atelier-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Stats bar wraps */
  .atelier-stats-bar {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  /* Trust cards : colonnes -> colonne unique */
  .trust-luxury-cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .trust-luxury-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .trust-card-img-box {
    width: 120px;
    flex-shrink: 0;
  }
  .trust-card-img {
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Gallery : 3 cols -> 2 cols */
  .gallery-custom-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* Process elite grid already handled at 900px */
  .atelier-title {
    font-size: 1.9rem !important;
  }
  .atelier-section-header {
    text-align: center;
  }

  /* Showcase grid tablets */
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .showcase-item-main {
    grid-column: span 2;
  }
}

/* ── Mobile (max-width: 640px) ── */
@media (max-width: 640px) {

  /* Gallery 2 -> 1 colonne */
  .gallery-custom-grid {
    grid-template-columns: 1fr !important;
  }

  /* Showcase 1 colonne */
  .showcase-grid {
    grid-template-columns: 1fr !important;
  }
  .showcase-item-main {
    grid-column: span 1;
  }

  /* Trust card: image full-width en haut */
  .trust-luxury-card {
    flex-direction: column;
  }
  .trust-card-img-box {
    width: 100%;
  }
  .trust-card-img {
    height: 200px;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  /* Hero */
  .atelier-hero {
    padding-top: calc(var(--navbar-h) + 24px);
    padding-bottom: 48px;
  }
  .atelier-hero-title {
    font-size: 1.7rem !important;
    line-height: 1.2;
  }
  .atelier-hero-float-card {
    flex-direction: column;
    text-align: center;
  }

  /* Stats */
  .atelier-stat-num {
    font-size: 1.1rem;
  }
  .atelier-stat-item {
    min-width: 90px;
  }

  /* Section titles */
  .atelier-title {
    font-size: 1.5rem !important;
  }

  /* Mission section */
  .section-title.serif {
    font-size: 1.6rem !important;
  }

  /* Process steps */
  .process-elite-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* Options grid */
  .custom-options-grid {
    grid-template-columns: 1fr !important;
  }

  /* Form inputs full width */
  .atelier-form-grid {
    grid-template-columns: 1fr !important;
  }
  .atelier-form-wrapper {
    padding: 24px 16px;
  }

  /* Discounts */
  .discounts-container {
    padding: 24px 14px;
  }
  .discounts-tiers-grid {
    grid-template-columns: 1fr !important;
  }

  /* Buttons */
  .btn-atelier-primary,
  .btn-atelier-secondary {
    font-size: 0.9rem;
    padding: 14px 20px;
  }
}

/* ── Extra small (max-width: 380px) ── */
@media (max-width: 380px) {
  .atelier-hero-title {
    font-size: 1.4rem !important;
  }
  .atelier-stats-bar {
    gap: 10px;
  }
  .atelier-stat-item {
    min-width: 80px;
  }
}


/* ================================================================
   ELITE OPTIMAL PROCESS BAR (luxe-club.html — Compact Master Edition)
================================================================ */
.elite-process-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1040px;
  box-sizing: border-box;
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 8px 16px;
  margin: 0 auto 6px auto;
  box-shadow: 0 4px 20px var(--shadow, rgba(0, 0, 0, 0.2));
  gap: 8px;
  overflow: hidden;
}

.epb-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.epb-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f3e5ab);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.epb-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  flex: 1 1 auto;
}

[dir="rtl"] .epb-text {
  text-align: right;
}

.epb-title {
  color: var(--gold-light, #FAF0D7);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.epb-desc {
  color: var(--text-faint, rgba(240, 235, 225, 0.6));
  font-size: 0.68rem;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: normal;
  overflow-wrap: break-word;
}

.epb-divider {
  height: 20px;
  width: 1px;
  min-width: 1px;
  flex: 0 0 1px;
  margin: 0 4px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

/* Responsive Process Bar: 2x2 Clean Grid on Mobile, Complete Visibility Without Truncation */
@media (max-width: 768px) {
  .elite-process-bar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
    padding: 12px 14px !important;
    margin: 0 auto 4px auto !important;
    overflow: visible !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
  }

  .luxe-hero-banner {
    padding-bottom: 4px !important;
  }

  [data-theme="light"] .elite-process-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(183, 110, 121, 0.28) !important;
    box-shadow: 0 4px 16px rgba(183, 110, 121, 0.12) !important;
  }

  .epb-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .epb-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
  }

  .epb-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .epb-title {
    font-size: 0.77rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    margin-bottom: 2px !important;
  }

  [data-theme="light"] .epb-title {
    color: #3B242C !important;
  }

  .epb-desc {
    font-size: 0.68rem !important;
    line-height: 1.32 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    opacity: 0.88 !important;
  }

  [data-theme="light"] .epb-desc {
    color: #725D65 !important;
  }

  .epb-divider {
    display: none !important;
  }
}

@media (max-width: 375px) {
  .elite-process-bar {
    gap: 10px 8px !important;
    padding: 10px 8px !important;
  }
  .epb-icon {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    font-size: 0.7rem !important;
    margin-top: 1px !important;
  }
  .epb-title {
    font-size: 0.72rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .epb-desc {
    font-size: 0.63rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .elite-process-bar {
    padding: 8px 10px;
    gap: 6px;
  }
  .epb-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 0.72rem;
  }
  .epb-title {
    font-size: 0.72rem;
    white-space: normal;
    overflow: visible;
  }
  .epb-desc {
    font-size: 0.64rem;
    white-space: normal;
    overflow: visible;
  }
}


/* ── LUXE HERO TITLE (Light & Dark Theme Visibility) ───────────── */
.luxe-hero-banner h1,
.luxe-hero-title {
  color: var(--text) !important;
}

[data-theme="light"] .luxe-hero-banner h1,
[data-theme="light"] .luxe-hero-title {
  color: var(--text, #0C0A0E) !important;
}

.luxe-hero-gold-text {
  background: linear-gradient(135deg, #FAF0D7 0%, #D4AF37 50%, #C9956C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  display: inline-block;
}

[data-theme="light"] .luxe-hero-gold-text {
  background: linear-gradient(135deg, #8B6508 0%, #D4AF37 50%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ── VOLUME DISCOUNTS SECTION (Light & Dark Theme Harmonization) ── */
.sim-hint {
  font-size: 0.78rem;
  color: var(--text-faint, rgba(250,247,242,0.5));
  margin-top: 6px;
}

.sim-label-tag {
  font-size: 0.75rem;
  color: var(--gold-light, #F5DEB3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sim-divider {
  height: 32px;
  width: 1px;
  background: rgba(212, 175, 55, 0.3);
}

/* Light Mode Overrides for Discounts Section */
[data-theme="light"] .discounts-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 237, 0.96));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 0 25px rgba(212, 175, 55, 0.12);
}

[data-theme="light"] .discounts-container .atelier-title {
  color: var(--text, #0C0A0E) !important;
}

[data-theme="light"] .discounts-container .atelier-desc {
  color: var(--text-muted, #5a5260) !important;
}

[data-theme="light"] .discounts-container .atelier-tag {
  color: var(--gold-dark, #997A15);
}

[data-theme="light"] .discount-tier-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .discount-tier-card.active,
[data-theme="light"] .discount-tier-card:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.95));
  border-color: var(--gold-primary, #B38600);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .tier-qty-badge {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark, #806000);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

[data-theme="light"] .tier-discount-val {
  color: var(--text, #0C0A0E);
}

[data-theme="light"] .tier-discount-val.highlight {
  color: var(--gold-primary, #B38600);
  text-shadow: none;
}

[data-theme="light"] .tier-label {
  color: var(--text-muted, #5a5260);
}

[data-theme="light"] .discount-simulator {
  background: #FFFFFF;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .sim-slider-box label {
  color: var(--text, #0C0A0E);
}

[data-theme="light"] .sim-hint {
  color: var(--text-faint, #8b8491) !important;
}

[data-theme="light"] .sim-label-tag {
  color: var(--gold-dark, #806000) !important;
}

[data-theme="light"] .sim-result-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(248, 244, 237, 0.9));
  border-color: var(--gold-primary, #B38600);
}

[data-theme="light"] .sim-result-qty {
  color: var(--text, #0C0A0E);
}

[data-theme="light"] .sim-result-discount {
  color: var(--gold-primary, #B38600);
}

[data-theme="light"] .atelier-form-wrapper {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 0 0 30px rgba(212, 175, 55, 0.12);
}
