/* =============================================
   3DVue_Mobilier — WPCode
   CSS spécifique page secteur Mobilier
   Le CSS global (variables, .dv-section, grilles,
   boutons, FAQ, CTA, .dv-icon, .dv-pills…)
   est dans 3DVue_Global_CSS
   ============================================= */

/* ── 1. HERO ── */
.dv-mob-hero {
  background: var(--dv-violet-bg);
  overflow: hidden;
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dv-mob-hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dv-mob-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.dv-mob-hero__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,6,24,0.2) 0%,
    rgba(13,6,24,0.55) 45%,
    rgba(13,6,24,0.9) 80%,
    rgba(13,6,24,1) 100%
  );
  pointer-events: none;
}

.dv-mob-hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.dv-mob-hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: var(--dv-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--dv-section-px) 48px;
  position: relative;
  z-index: 1;
}

.dv-mob-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.16);
  border: 1px solid rgba(196,181,253,0.2);
  border-radius: var(--dv-radius-full);
  padding: 6px 14px;
  width: fit-content;
  margin-bottom: 24px;
}

.dv-mob-hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dv-violet-light);
  flex-shrink: 0;
}

.dv-mob-hero__pill span {
  font-size: 11px;
  font-weight: 700;
  color: var(--dv-violet-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Barre de bullets en bas */
.dv-mob-hero__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(13,6,24,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dv-mob-hero__bar-inner {
  max-width: var(--dv-max-width);
  margin: 0 auto;
  padding: 0 var(--dv-section-px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: stretch;
}

.dv-mob-hero__bar-sep {
  background: rgba(255,255,255,0.1);
  width: 1px;
}

.dv-mob-hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 32px;
}

.dv-mob-hero__bullet-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(196,181,253,0.1);
  border-radius: var(--dv-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dv-violet-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.dv-mob-hero__bullet-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: white !important;
  margin-bottom: 4px;
}

.dv-mob-hero__bullet-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45) !important;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .dv-mob-hero { min-height: 520px; }
  .dv-mob-hero__inner { padding: 80px var(--dv-section-px) 40px; }
  .dv-mob-hero__bar-inner { grid-template-columns: 1fr; padding: 0 var(--dv-section-px); }
  .dv-mob-hero__bar-sep { display: none; }
  .dv-mob-hero__bullet { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .dv-mob-hero__bullet:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .dv-mob-hero { min-height: 480px; }
  .dv-mob-hero__inner { padding: 64px 16px 32px; }
}


/* ── 3. DÉMO ── */
.dv-mob-demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Frame iframe */
.dv-mob-demo__frame {
  position: relative;
  border-radius: var(--dv-radius-xl);
  overflow: hidden !important; /* Elementor override */
  aspect-ratio: 1/1;
  border: 1px solid rgba(196,181,253,0.15);
  box-shadow: 0 0 60px rgba(124,58,237,0.2);
}

.dv-mob-demo__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,6,24,0.82);
  border: 1px solid rgba(196,181,253,0.3);
  border-radius: var(--dv-radius-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dv-violet-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dv-mob-demo__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dv-violet-light);
  animation: dv-mob-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dv-mob-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.dv-mob-demo__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Points clés droite */
.dv-mob-demo__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.dv-mob-demo__point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--dv-border-dark);
}

.dv-mob-demo__point:first-child {
  border-top: 1px solid var(--dv-border-dark);
}

.dv-mob-demo__point-num {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: rgba(196,181,253,0.18);
  flex-shrink: 0;
  min-width: 52px;
  transition: color 0.3s;
}

.dv-mob-demo__point:hover .dv-mob-demo__point-num {
  color: var(--dv-violet-light);
}

.dv-mob-demo__point-title {
  color: white !important;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .dv-mob-demo__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ── 4. CHIFFRES ── */
.dv-mob-stat {
  padding: 28px 20px;
  border-radius: var(--dv-radius-lg);
  background: var(--dv-bg-soft);
  border: 1px solid var(--dv-border);
  text-align: center;
  transition: transform var(--dv-duration) var(--dv-ease),
              box-shadow var(--dv-duration) var(--dv-ease),
              border-color var(--dv-duration);
}

.dv-mob-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--dv-shadow-lg);
  border-color: rgba(124,58,237,0.2);
}

.dv-mob-stat__num {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--dv-violet);
  margin-bottom: 10px;
}

.dv-mob-stat__desc {
  font-size: 14px;
  color: var(--dv-grey);
  line-height: 1.55;
  margin-bottom: 8px;
}

.dv-mob-stat__src {
  font-size: 10px;
  font-weight: 600;
  color: var(--dv-grey-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ── 5. CAS D'USAGE ── */
.dv-mob-cas {
  background: white;
  border-radius: var(--dv-radius-xl);
  overflow: hidden;
  border: 1px solid var(--dv-border);
  transition: transform var(--dv-duration) var(--dv-ease),
              box-shadow var(--dv-duration) var(--dv-ease),
              border-color var(--dv-duration);
}

.dv-mob-cas:hover {
  transform: translateY(-6px);
  box-shadow: var(--dv-shadow-lg);
  border-color: rgba(124,58,237,0.2);
}

.dv-mob-cas__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dv-bg-soft);
  border-bottom: 1px solid var(--dv-border);
}

.dv-mob-cas__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--dv-ease);
}

.dv-mob-cas:hover .dv-mob-cas__img-wrap img {
  transform: scale(1.04);
}

.dv-mob-cas__body {
  padding: 28px;
}

.dv-mob-cas__title {
  color: var(--dv-violet) !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  letter-spacing: -0.5px !important;
  line-height: 1.25 !important;
}

/* Checklist interne */
.dv-mob-cas__checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.dv-mob-cas__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dv-grey-dark);
}

.dv-mob-cas__checks li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: #EDE9FE url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%237C3AED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .dv-mob-cas__body { padding: 20px; }
}


/* ── 6. FEATURES (fond sombre — .dv-grid-4 global) ── */
.dv-mob-feature {
  background: var(--dv-violet-surface);
  border: 1px solid var(--dv-border-dark);
  border-radius: var(--dv-radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dv-duration) var(--dv-ease),
              border-color var(--dv-duration),
              box-shadow var(--dv-duration) var(--dv-ease);
}

.dv-mob-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(196,181,253,0.25);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.dv-mob-feature__title {
  color: white !important;
  margin-bottom: 10px;
}

.dv-mob-feature__body {
  color: rgba(255,255,255,0.45) !important;
  flex: 1;
}
/* =============================================
   FAUTEUIL BUTTERFLY — CONFIGURATEUR BOUTIQUE
   WPCode : butterfly-cfg-CSS
   ============================================= */

#butterfly-cfg {
  --bf-black:  #111;
  --bf-grey:   #666;
  --bf-border: #e8e8e8;
  --bf-bg:     #fafaf9;
  --bf-accent: #111;
  --bf-radius: 12px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  font-family: 'DM Sans', sans-serif;
  background: white;
  border: 1px solid var(--bf-border);
  border-radius: 16px;
  overflow: hidden;
}

/* ── VIEWER ── */
#butterfly-cfg .bf-viewer-col {
  background: var(--bf-bg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--bf-border);
  min-height: 560px;
}

#butterfly-cfg .bf-viewer-wrap {
  flex: 1;
  position: relative;
  min-height: 500px;
}

#butterfly-cfg viewer-3dvue {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
  aspect-ratio: unset !important;
}

#butterfly-cfg viewer-3dvue iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border: none !important;
}

#butterfly-cfg .bf-viewer-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 500;
  color: #aaa;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--bf-border);
  background: white;
}

#butterfly-cfg .bf-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: bf-pulse 2s ease-in-out infinite;
}

@keyframes bf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── PRODUCT COL ── */
#butterfly-cfg .bf-product-col {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 0;
}

#butterfly-cfg .bf-product-header {
  margin-bottom: 20px;
}

#butterfly-cfg .bf-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}

#butterfly-cfg .bf-product-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--bf-black);
  line-height: 1.1;
  margin: 0 0 10px;
}

#butterfly-cfg .bf-badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
}

#butterfly-cfg .bf-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

#butterfly-cfg .bf-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--bf-black);
}

#butterfly-cfg .bf-price-note {
  font-size: 12px;
  color: #aaa;
}

#butterfly-cfg .bf-divider {
  height: 1px;
  background: var(--bf-border);
  margin: 16px 0;
}

/* ── SECTIONS ── */
#butterfly-cfg .bf-section {
  margin-bottom: 14px;
}

#butterfly-cfg .bf-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

#butterfly-cfg .bf-section-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--bf-black);
  text-transform: none;
  letter-spacing: 0;
}

/* ── ONGLETS MATIÈRE (vignette + label) ── */
#butterfly-cfg .bf-mat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

#butterfly-cfg .bf-mat-tabs::-webkit-scrollbar { display: none; }

#butterfly-cfg .bf-mat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 6px 8px;
  border: 2px solid var(--bf-border);
  border-radius: 10px;
  background: white;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
  min-width: 62px;
}

#butterfly-cfg .bf-mat-tab img {
  width: 52px;
  height: 44px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  display: block;
}

#butterfly-cfg .bf-mat-tab span {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
  line-height: 1.2;
}

#butterfly-cfg .bf-mat-tab:hover {
  border-color: #bbb;
}

#butterfly-cfg .bf-mat-tab.active {
  border-color: var(--bf-black);
}

#butterfly-cfg .bf-mat-tab.active span {
  color: var(--bf-black);
}


/* Couleurs */
#butterfly-cfg .bf-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#butterfly-cfg .bf-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s;
  position: relative;
}

#butterfly-cfg .bf-color-swatch:hover {
  transform: scale(1.15);
}

#butterfly-cfg .bf-color-swatch.active {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--bf-black);
  transform: scale(1.1);
}

/* Pieds */
#butterfly-cfg .bf-feet-grid {
  display: flex;
  gap: 8px;
}

#butterfly-cfg .bf-feet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 2px solid var(--bf-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  background: white;
}

#butterfly-cfg .bf-feet-item:hover { border-color: #bbb; }
#butterfly-cfg .bf-feet-item.active { border-color: var(--bf-black); }

#butterfly-cfg .bf-feet-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

#butterfly-cfg .bf-feet-item span {
  font-size: 10px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

#butterfly-cfg .bf-feet-item.active span { color: var(--bf-black); }

/* CTA */
#butterfly-cfg .bf-cta-wrap {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#butterfly-cfg .bf-btn-cart {
  width: 100%;
  padding: 12px;
  background: var(--bf-black);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

#butterfly-cfg .bf-btn-brand {
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--bf-black);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--bf-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, color .15s;
  box-sizing: border-box;
}

#butterfly-cfg .bf-btn-brand:hover {
  background: var(--bf-black);
  color: white;
  text-decoration: none;
}

#butterfly-cfg .bf-cta-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #aaa;
  justify-content: center;
}

/* Specs */
#butterfly-cfg .bf-specs {
  border-top: 1px solid var(--bf-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#butterfly-cfg .bf-spec {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

#butterfly-cfg .bf-spec span:first-child {
  color: #aaa;
  font-weight: 500;
}

#butterfly-cfg .bf-spec span:last-child {
  color: var(--bf-black);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #butterfly-cfg {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  #butterfly-cfg .bf-viewer-col {
    border-right: none;
    border-bottom: 1px solid var(--bf-border);
    min-height: 340px;
  }
  #butterfly-cfg .bf-viewer-wrap {
    min-height: 300px;
  }
  #butterfly-cfg .bf-product-col {
    padding: 18px 20px 14px;
  }
  #butterfly-cfg .bf-product-name { font-size: 18px; }
}

@media (max-width: 600px) {
  #butterfly-cfg .bf-viewer-col { min-height: 260px; }
  #butterfly-cfg .bf-viewer-wrap { min-height: 240px; }
  #butterfly-cfg .bf-product-col { padding: 14px 14px 10px; }
  #butterfly-cfg .bf-product-header { margin-bottom: 10px; }
  #butterfly-cfg .bf-price { font-size: 20px; }
  #butterfly-cfg .bf-mat-tab { min-width: 56px; }
  #butterfly-cfg .bf-mat-tab img { width: 46px; height: 38px; }
  #butterfly-cfg .bf-section { margin-bottom: 10px; }
}